diff --git a/common/config/rush/pnpm-lock.yaml b/common/config/rush/pnpm-lock.yaml index 00427b818f7f..82f197d04a49 100644 --- a/common/config/rush/pnpm-lock.yaml +++ b/common/config/rush/pnpm-lock.yaml @@ -629,6 +629,21 @@ packages: - supports-color dev: false + /@azure/arm-compute/17.3.0: + resolution: {integrity: sha512-HPU9hEKB2s3qS2kvnEu+rg/ysC/oSTxZ9NugIcAbulSSmU6g0OxsWKhGWp7m6lxjmw3070bQlGDZSPGV3j4J/w==} + engines: {node: '>=12.0.0'} + dependencies: + '@azure/abort-controller': 1.0.4 + '@azure/core-auth': 1.3.2 + '@azure/core-client': 1.5.0 + '@azure/core-lro': 2.2.4 + '@azure/core-paging': 1.2.1 + '@azure/core-rest-pipeline': 1.8.0 + tslib: 2.3.1 + transitivePeerDependencies: + - supports-color + dev: false + /@azure/arm-msi/2.0.0: resolution: {integrity: sha512-yBprEoMQRNLyHtR/RuJh8ehQCcF6rO5049Pfped79uRd/Y8EW+pNpbW0EjqWC5lVllC1VG4B89aC5PwE3XeISA==} engines: {node: '>=12.0.0'} @@ -9772,28 +9787,27 @@ packages: dev: false file:projects/arm-compute.tgz: - resolution: {integrity: sha512-SXG1OOPxmuDjfmHhCOcG31GII1K7GgOEgaWBJ1ljPTcUIHkI9dVHelhX9hgUh5GOlGLpQlC6UYp6PKlJE4JVXA==, tarball: file:projects/arm-compute.tgz} + resolution: {integrity: sha512-CkJMDR3d+f00GcPgkTOQG1FbkqKiPDJoPakHKYohtZRQoPHP98UIcpTmJT6MG4KZm6dCrywUQQG66cL/QfKTxg==, tarball: file:projects/arm-compute.tgz} name: '@rush-temp/arm-compute' version: 0.0.0 dependencies: '@azure-tools/test-recorder': 1.0.2 '@azure/identity': 2.0.4 '@microsoft/api-extractor': 7.20.0 - '@rollup/plugin-commonjs': 21.0.3_rollup@2.70.1 - '@rollup/plugin-json': 4.1.0_rollup@2.70.1 - '@rollup/plugin-multi-entry': 4.1.0_rollup@2.70.1 - '@rollup/plugin-node-resolve': 13.1.3_rollup@2.70.1 + '@rollup/plugin-commonjs': 11.0.2_rollup@1.32.1 + '@rollup/plugin-json': 4.1.0_rollup@1.32.1 + '@rollup/plugin-multi-entry': 3.0.1_rollup@1.32.1 + '@rollup/plugin-node-resolve': 8.4.0_rollup@1.32.1 cross-env: 7.0.3 mkdirp: 1.0.4 mocha: 7.2.0 rimraf: 3.0.2 - rollup: 2.70.1 - rollup-plugin-sourcemaps: 0.6.3_rollup@2.70.1 + rollup: 1.32.1 + rollup-plugin-sourcemaps: 0.4.2_rollup@1.32.1 tslib: 2.3.1 typescript: 4.2.4 uglify-js: 3.15.3 transitivePeerDependencies: - - '@types/node' - debug - encoding - supports-color @@ -10863,11 +10877,12 @@ packages: dev: false file:projects/arm-imagebuilder.tgz: - resolution: {integrity: sha512-MIdrvaZ9seOdk3YVV0q3O5yR20B6LAAJLBt40WwqFCgPfpQTLKZjbJYQ8TjrZ+JWxVppXOAjFmPPOwO/b/xvLA==, tarball: file:projects/arm-imagebuilder.tgz} + resolution: {integrity: sha512-wzBB4rCCpMO8ATuhIZrgSN/IJqkl1CqiWbZGxTJGRfi8E1QPqs4dbFl6bf2xYabiJ8gs6NxjwRy/qiqG+gw4AA==, tarball: file:projects/arm-imagebuilder.tgz} name: '@rush-temp/arm-imagebuilder' version: 0.0.0 dependencies: '@azure-tools/test-recorder': 1.0.2 + '@azure/arm-compute': 17.3.0 '@azure/arm-msi': 2.0.0 '@azure/identity': 2.0.4 '@microsoft/api-extractor': 7.20.0 diff --git a/sdk/compute/arm-compute/CHANGELOG.md b/sdk/compute/arm-compute/CHANGELOG.md index 546c79cf597a..ab152784aa7a 100644 --- a/sdk/compute/arm-compute/CHANGELOG.md +++ b/sdk/compute/arm-compute/CHANGELOG.md @@ -1,15 +1,32 @@ # Release History + +## 18.0.0 (2022-04-06) + +**Features** -## 17.3.1 (Unreleased) - -### Features Added - -### Breaking Changes - -### Bugs Fixed + - Added Interface DedicatedHostGroupPropertiesAdditionalCapabilities + - Added Interface UserArtifactSettings + - Interface VMGalleryApplication has a new optional parameter enableAutomaticUpgrade + - Interface VMGalleryApplication has a new optional parameter treatFailureAsDeploymentFailure + - Type Alias DedicatedHostGroup has a new parameter additionalCapabilities + - Type Alias DedicatedHostGroupUpdate has a new parameter additionalCapabilities + - Type Alias GalleryApplicationVersionPublishingProfile has a new parameter settings -### Other Changes +**Breaking Changes** + - Interface DiskUpdate no longer has parameter dataAccessAuthMode + - Interface SnapshotUpdate no longer has parameter dataAccessAuthMode + - Interface SupportedCapabilities no longer has parameter architecture + - Type Alias Disk no longer has parameter dataAccessAuthMode + - Type Alias GalleryImage no longer has parameter architecture + - Type Alias GalleryImageUpdate no longer has parameter architecture + - Type Alias Snapshot no longer has parameter dataAccessAuthMode + - Type Alias VirtualMachineImage no longer has parameter architecture + - Removed Enum KnownArchitecture + - Removed Enum KnownArchitectureTypes + - Removed Enum KnownDataAccessAuthMode + + ## 17.3.0 (2022-03-02) **Features** diff --git a/sdk/compute/arm-compute/README.md b/sdk/compute/arm-compute/README.md index 9a5b8e7c17fc..cb9f06fd0eac 100644 --- a/sdk/compute/arm-compute/README.md +++ b/sdk/compute/arm-compute/README.md @@ -16,8 +16,6 @@ Compute Client - [LTS versions of Node.js](https://nodejs.org/about/releases/) - Latest versions of Safari, Chrome, Edge and Firefox. -See our [support policy](https://github.com/Azure/azure-sdk-for-js/blob/main/SUPPORT.md) for more details. - ### Prerequisites - An [Azure subscription][azure_sub]. @@ -51,17 +49,8 @@ For more information about how to create an Azure AD Application check out [this ```javascript const { ComputeManagementClient } = require("@azure/arm-compute"); const { DefaultAzureCredential } = require("@azure/identity"); -// For client-side applications running in the browser, use InteractiveBrowserCredential instead of DefaultAzureCredential. See https://aka.ms/azsdk/js/identity/examples for more details. - const subscriptionId = "00000000-0000-0000-0000-000000000000"; const client = new ComputeManagementClient(new DefaultAzureCredential(), subscriptionId); - -// For client-side applications running in the browser, use this code instead: -// const credential = new InteractiveBrowserCredential({ -// tenantId: "", -// clientId: "" -// }); -// const client = new ComputeManagementClient(credential, subscriptionId); ``` diff --git a/sdk/compute/arm-compute/_meta.json b/sdk/compute/arm-compute/_meta.json index 8f1be21afd12..6654342f0dba 100644 --- a/sdk/compute/arm-compute/_meta.json +++ b/sdk/compute/arm-compute/_meta.json @@ -1,7 +1,8 @@ { - "commit": "4042a47cff72c950d35dd72149895b044ed79713", + "commit": "e5dfb499199a803ab1a098325b3cd64a43aeeb62", "readme": "specification/compute/resource-manager/readme.md", - "autorest_command": "autorest --version=3.7.3 --typescript --modelerfour.lenient-model-deduplication --head-as-boolean=true --license-header=MICROSOFT_MIT_NO_VERSION --generate-test --typescript-sdks-folder=D:\\mydev\\azure-sdk-for-js ..\\azure-rest-api-specs\\specification\\compute\\resource-manager\\readme.md --use=@autorest/typescript@6.0.0-alpha.16.20220225.1 --generate-sample=true", + "autorest_command": "autorest --version=3.7.3 --typescript --modelerfour.lenient-model-deduplication --head-as-boolean=true --license-header=MICROSOFT_MIT_NO_VERSION --generate-test --typescript-sdks-folder=/mnt/vss/_work/1/s/azure-sdk-for-js ../azure-rest-api-specs/specification/compute/resource-manager/readme.md --use=@autorest/typescript@6.0.0-alpha.16.20220105.1", "repository_url": "https://github.com/Azure/azure-rest-api-specs.git", - "use": "@autorest/typescript@6.0.0-alpha.16.20220225.1" + "release_tool": "@azure-tools/js-sdk-release-tools@2.2.3", + "use": "@autorest/typescript@6.0.0-alpha.16.20220105.1" } \ No newline at end of file diff --git a/sdk/compute/arm-compute/package.json b/sdk/compute/arm-compute/package.json index 75fba3649d45..c2a7712149f1 100644 --- a/sdk/compute/arm-compute/package.json +++ b/sdk/compute/arm-compute/package.json @@ -3,7 +3,7 @@ "sdk-type": "mgmt", "author": "Microsoft Corporation", "description": "A generated SDK for ComputeManagementClient.", - "version": "17.3.1", + "version": "18.0.0", "engines": { "node": ">=12.0.0" }, @@ -29,21 +29,20 @@ "types": "./types/arm-compute.d.ts", "devDependencies": { "@microsoft/api-extractor": "^7.18.11", - "@rollup/plugin-commonjs": "^21.0.1", - "@rollup/plugin-json": "^4.1.0", - "@rollup/plugin-multi-entry": "^4.1.0", - "@rollup/plugin-node-resolve": "^13.1.3", + "@rollup/plugin-commonjs": "11.0.2", + "@rollup/plugin-json": "^4.0.0", + "@rollup/plugin-multi-entry": "^3.0.0", + "@rollup/plugin-node-resolve": "^8.0.0", "mkdirp": "^1.0.4", - "rollup": "^2.66.1", - "rollup-plugin-sourcemaps": "^0.6.3", + "rollup": "^1.16.3", + "rollup-plugin-sourcemaps": "^0.4.2", "typescript": "~4.2.0", "uglify-js": "^3.4.9", "rimraf": "^3.0.0", "@azure/identity": "^2.0.1", "@azure-tools/test-recorder": "^1.0.0", "mocha": "^7.1.1", - "cross-env": "^7.0.2", - "@azure/arm-network": "^26.0.0" + "cross-env": "^7.0.2" }, "homepage": "https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/compute/arm-compute", "repository": { @@ -99,21 +98,5 @@ "docs": "echo skipped" }, "sideEffects": false, - "//metadata": { - "constantPaths": [ - { - "path": "src/computeManagementClient.ts", - "prefix": "packageDetails" - } - ] - }, - "autoPublish": true, - "//sampleConfiguration": { - "productName": "", - "productSlugs": [ - "azure" - ], - "disableDocsMs": true, - "apiRefLink": "https://docs.microsoft.com/javascript/api/@azure/arm-compute?view=azure-node-preview" - } -} + "autoPublish": true +} \ No newline at end of file diff --git a/sdk/compute/arm-compute/review/arm-compute.api.md b/sdk/compute/arm-compute/review/arm-compute.api.md index 53ef7aaacaf7..b9eab01e63a9 100644 --- a/sdk/compute/arm-compute/review/arm-compute.api.md +++ b/sdk/compute/arm-compute/review/arm-compute.api.md @@ -64,12 +64,6 @@ export interface ApplicationProfile { galleryApplications?: VMGalleryApplication[]; } -// @public -export type Architecture = string; - -// @public -export type ArchitectureTypes = string; - // @public export interface AutomaticOSUpgradePolicy { disableAutomaticRollback?: boolean; @@ -1126,9 +1120,6 @@ export interface CreationData { uploadSizeBytes?: number; } -// @public -export type DataAccessAuthMode = string; - // @public export interface DataDisk { caching?: CachingTypes; @@ -1189,6 +1180,7 @@ export type DedicatedHostGroup = Resource & { readonly hosts?: SubResourceReadOnly[]; readonly instanceView?: DedicatedHostGroupInstanceView; supportAutomaticPlacement?: boolean; + additionalCapabilities?: DedicatedHostGroupPropertiesAdditionalCapabilities; }; // @public (undocumented) @@ -1202,6 +1194,11 @@ export interface DedicatedHostGroupListResult { value: DedicatedHostGroup[]; } +// @public +export interface DedicatedHostGroupPropertiesAdditionalCapabilities { + ultraSSDEnabled?: boolean; +} + // @public export interface DedicatedHostGroups { createOrUpdate(resourceGroupName: string, hostGroupName: string, parameters: DedicatedHostGroup, options?: DedicatedHostGroupsCreateOrUpdateOptionalParams): Promise; @@ -1273,6 +1270,7 @@ export type DedicatedHostGroupUpdate = UpdateResource & { readonly hosts?: SubResourceReadOnly[]; readonly instanceView?: DedicatedHostGroupInstanceView; supportAutomaticPlacement?: boolean; + additionalCapabilities?: DedicatedHostGroupPropertiesAdditionalCapabilities; }; // @public @@ -1440,7 +1438,6 @@ export type Disk = Resource & { securityProfile?: DiskSecurityProfile; completionPercent?: number; publicNetworkAccess?: PublicNetworkAccess; - dataAccessAuthMode?: DataAccessAuthMode; }; // @public @@ -1946,7 +1943,6 @@ export type DisksUpdateResponse = Disk; // @public export interface DiskUpdate { burstingEnabled?: boolean; - dataAccessAuthMode?: DataAccessAuthMode; diskAccessId?: string; diskIopsReadOnly?: number; diskIopsReadWrite?: number; @@ -2219,6 +2215,10 @@ export type GalleryApplicationVersionPropertiesProvisioningState = string; export type GalleryApplicationVersionPublishingProfile = GalleryArtifactPublishingProfileBase & { source: UserArtifactSource; manageActions?: UserArtifactManage; + settings?: UserArtifactSettings; + advancedSettings?: { + [propertyName: string]: string; + }; enableHealthCheck?: boolean; }; @@ -2356,7 +2356,6 @@ export type GalleryImage = Resource & { purchasePlan?: ImagePurchasePlan; readonly provisioningState?: GalleryImagePropertiesProvisioningState; features?: GalleryImageFeature[]; - architecture?: Architecture; }; // @public @@ -2454,7 +2453,6 @@ export type GalleryImageUpdate = UpdateResourceDefinition & { purchasePlan?: ImagePurchasePlan; readonly provisioningState?: GalleryImagePropertiesProvisioningState; features?: GalleryImageFeature[]; - architecture?: Architecture; }; // @public @@ -2865,22 +2863,6 @@ export enum KnownAggregatedReplicationState { Unknown = "Unknown" } -// @public -export enum KnownArchitecture { - // (undocumented) - Arm64 = "Arm64", - // (undocumented) - X64 = "x64" -} - -// @public -export enum KnownArchitectureTypes { - // (undocumented) - Arm64 = "Arm64", - // (undocumented) - X64 = "x64" -} - // @public export enum KnownAvailabilitySetSkuTypes { // (undocumented) @@ -2931,12 +2913,6 @@ export enum KnownConsistencyModeTypes { FileSystemConsistent = "FileSystemConsistent" } -// @public -export enum KnownDataAccessAuthMode { - AzureActiveDirectory = "AzureActiveDirectory", - None = "None" -} - // @public export enum KnownDeleteOptions { // (undocumented) @@ -5304,7 +5280,6 @@ export type Snapshot = Resource & { supportsHibernation?: boolean; publicNetworkAccess?: PublicNetworkAccess; completionPercent?: number; - dataAccessAuthMode?: DataAccessAuthMode; }; // @public @@ -5415,7 +5390,6 @@ export type SnapshotsUpdateResponse = Snapshot; // @public export interface SnapshotUpdate { - dataAccessAuthMode?: DataAccessAuthMode; diskAccessId?: string; diskSizeGB?: number; encryption?: Encryption; @@ -5592,7 +5566,6 @@ export type SubResourceWithColocationStatus = SubResource & { // @public export interface SupportedCapabilities { acceleratedNetwork?: boolean; - architecture?: Architecture; } // @public @@ -5729,6 +5702,12 @@ export interface UserArtifactManage { update?: string; } +// @public (undocumented) +export interface UserArtifactSettings { + configFileName?: string; + packageFileName?: string; +} + // @public export interface UserArtifactSource { defaultConfigurationLink?: string; @@ -5999,7 +5978,6 @@ export type VirtualMachineImage = VirtualMachineImageResource & { hyperVGeneration?: HyperVGenerationTypes; disallowed?: DisallowedConfiguration; features?: VirtualMachineImageFeature[]; - architecture?: ArchitectureTypes; }; // @public @@ -7821,9 +7799,11 @@ export type VmDiskTypes = string; // @public export interface VMGalleryApplication { configurationReference?: string; + enableAutomaticUpgrade?: boolean; order?: number; packageReferenceId: string; tags?: string; + treatFailureAsDeploymentFailure?: boolean; } // @public diff --git a/sdk/compute/arm-compute/rollup.config.js b/sdk/compute/arm-compute/rollup.config.js index 3f89d7309da5..9be1955eb7f1 100644 --- a/sdk/compute/arm-compute/rollup.config.js +++ b/sdk/compute/arm-compute/rollup.config.js @@ -14,14 +14,62 @@ import json from "@rollup/plugin-json"; import nodeBuiltins from "builtin-modules"; +/** + * Gets the proper configuration needed for rollup's commonJS plugin for @opentelemetry/api. + * + * NOTE: this manual configuration is only needed because OpenTelemetry uses an + * __exportStar downleveled helper function to declare its exports which confuses + * rollup's automatic discovery mechanism. + * + * @returns an object reference that can be `...`'d into your cjs() configuration. + */ +export function openTelemetryCommonJs() { + const namedExports = {}; + + for (const key of [ + "@opentelemetry/api", + "@azure/core-tracing/node_modules/@opentelemetry/api" + ]) { + namedExports[key] = [ + "SpanKind", + "TraceFlags", + "getSpan", + "setSpan", + "SpanStatusCode", + "getSpanContext", + "setSpanContext" + ]; + } + + const releasedOpenTelemetryVersions = ["0.10.2", "1.0.0-rc.0"]; + + for (const version of releasedOpenTelemetryVersions) { + namedExports[ + // working around a limitation in the rollup common.js plugin - it's not able to resolve these modules so the named exports listed above will not get applied. We have to drill down to the actual path. + `../../../common/temp/node_modules/.pnpm/@opentelemetry/api@${version}/node_modules/@opentelemetry/api/build/src/index.js` + ] = [ + "SpanKind", + "TraceFlags", + "getSpan", + "setSpan", + "StatusCode", + "CanonicalCode", + "getSpanContext", + "setSpanContext" + ]; + } + + return namedExports; +} + // #region Warning Handler /** - * A function that can determine whether a rollup warning should be ignored. If + * A function that can determine whether a rollupwarning should be ignored. If * the function returns `true`, then the warning will not be displayed. */ -function ignoreNiseSinonEval(warning) { +function ignoreNiseSinonEvalWarnings(warning) { return ( warning.code === "EVAL" && warning.id && @@ -30,14 +78,17 @@ function ignoreNiseSinonEval(warning) { ); } -function ignoreChaiCircularDependency(warning) { +function ignoreChaiCircularDependencyWarnings(warning) { return ( warning.code === "CIRCULAR_DEPENDENCY" && warning.importer && warning.importer.includes("node_modules/chai") === true ); } -const warningInhibitors = [ignoreChaiCircularDependency, ignoreNiseSinonEval]; +const warningInhibitors = [ + ignoreChaiCircularDependencyWarnings, + ignoreNiseSinonEvalWarnings +]; /** * Construct a warning handler for the shared rollup configuration @@ -71,7 +122,22 @@ function makeBrowserTestConfig() { nodeResolve({ mainFields: ["module", "browser"] }), - cjs(), + cjs({ + namedExports: { + // Chai's strange internal architecture makes it impossible to statically + // analyze its exports. + chai: [ + "version", + "use", + "util", + "config", + "expect", + "should", + "assert" + ], + ...openTelemetryCommonJs() + } + }), json(), sourcemaps() //viz({ filename: "dist-test/browser-stats.html", sourcemap: true }) @@ -107,7 +173,7 @@ export function makeConfig(pkg, options) { ], output: { file: "dist/index.js", format: "cjs", sourcemap: true }, preserveSymlinks: false, - plugins: [sourcemaps(), nodeResolve()] + plugins: [sourcemaps(), nodeResolve(), cjs()] }; const config = [baseConfig]; diff --git a/sdk/compute/arm-compute/src/computeManagementClient.ts b/sdk/compute/arm-compute/src/computeManagementClient.ts index e8ec334e419a..ea987f78b0e6 100644 --- a/sdk/compute/arm-compute/src/computeManagementClient.ts +++ b/sdk/compute/arm-compute/src/computeManagementClient.ts @@ -10,43 +10,43 @@ import * as coreClient from "@azure/core-client"; import * as coreAuth from "@azure/core-auth"; import { OperationsImpl, + UsageOperationsImpl, + VirtualMachineSizesImpl, + VirtualMachineScaleSetsImpl, + VirtualMachineScaleSetExtensionsImpl, + VirtualMachineScaleSetRollingUpgradesImpl, + VirtualMachineScaleSetVMExtensionsImpl, + VirtualMachineScaleSetVMsImpl, + VirtualMachineExtensionsImpl, + VirtualMachinesImpl, + VirtualMachineImagesImpl, + VirtualMachineImagesEdgeZoneImpl, + VirtualMachineExtensionImagesImpl, AvailabilitySetsImpl, ProximityPlacementGroupsImpl, DedicatedHostGroupsImpl, DedicatedHostsImpl, SshPublicKeysImpl, - VirtualMachineExtensionImagesImpl, - VirtualMachineExtensionsImpl, - VirtualMachineImagesImpl, - VirtualMachineImagesEdgeZoneImpl, - UsageOperationsImpl, - VirtualMachinesImpl, - VirtualMachineScaleSetsImpl, - VirtualMachineSizesImpl, ImagesImpl, RestorePointCollectionsImpl, RestorePointsImpl, CapacityReservationGroupsImpl, CapacityReservationsImpl, - VirtualMachineScaleSetExtensionsImpl, - VirtualMachineScaleSetRollingUpgradesImpl, - VirtualMachineScaleSetVMExtensionsImpl, - VirtualMachineScaleSetVMsImpl, LogAnalyticsImpl, VirtualMachineRunCommandsImpl, VirtualMachineScaleSetVMRunCommandsImpl, - ResourceSkusImpl, - DisksImpl, - SnapshotsImpl, - DiskEncryptionSetsImpl, - DiskAccessesImpl, - DiskRestorePointOperationsImpl, GalleriesImpl, GalleryImagesImpl, GalleryImageVersionsImpl, GalleryApplicationsImpl, GalleryApplicationVersionsImpl, GallerySharingProfileImpl, + ResourceSkusImpl, + DisksImpl, + SnapshotsImpl, + DiskEncryptionSetsImpl, + DiskAccessesImpl, + DiskRestorePointOperationsImpl, SharedGalleriesImpl, SharedGalleryImagesImpl, SharedGalleryImageVersionsImpl, @@ -61,43 +61,43 @@ import { } from "./operations"; import { Operations, + UsageOperations, + VirtualMachineSizes, + VirtualMachineScaleSets, + VirtualMachineScaleSetExtensions, + VirtualMachineScaleSetRollingUpgrades, + VirtualMachineScaleSetVMExtensions, + VirtualMachineScaleSetVMs, + VirtualMachineExtensions, + VirtualMachines, + VirtualMachineImages, + VirtualMachineImagesEdgeZone, + VirtualMachineExtensionImages, AvailabilitySets, ProximityPlacementGroups, DedicatedHostGroups, DedicatedHosts, SshPublicKeys, - VirtualMachineExtensionImages, - VirtualMachineExtensions, - VirtualMachineImages, - VirtualMachineImagesEdgeZone, - UsageOperations, - VirtualMachines, - VirtualMachineScaleSets, - VirtualMachineSizes, Images, RestorePointCollections, RestorePoints, CapacityReservationGroups, CapacityReservations, - VirtualMachineScaleSetExtensions, - VirtualMachineScaleSetRollingUpgrades, - VirtualMachineScaleSetVMExtensions, - VirtualMachineScaleSetVMs, LogAnalytics, VirtualMachineRunCommands, VirtualMachineScaleSetVMRunCommands, - ResourceSkus, - Disks, - Snapshots, - DiskEncryptionSets, - DiskAccesses, - DiskRestorePointOperations, Galleries, GalleryImages, GalleryImageVersions, GalleryApplications, GalleryApplicationVersions, GallerySharingProfile, + ResourceSkus, + Disks, + Snapshots, + DiskEncryptionSets, + DiskAccesses, + DiskRestorePointOperations, SharedGalleries, SharedGalleryImages, SharedGalleryImageVersions, @@ -144,7 +144,7 @@ export class ComputeManagementClient extends coreClient.ServiceClient { credential: credentials }; - const packageDetails = `azsdk-js-arm-compute/17.3.1`; + const packageDetails = `azsdk-js-arm-compute/18.0.0`; const userAgentPrefix = options.userAgentOptions && options.userAgentOptions.userAgentPrefix ? `${options.userAgentOptions.userAgentPrefix} ${packageDetails}` @@ -168,28 +168,9 @@ export class ComputeManagementClient extends coreClient.ServiceClient { // Assigning values to Constant parameters this.$host = options.$host || "https://management.azure.com"; this.operations = new OperationsImpl(this); - this.availabilitySets = new AvailabilitySetsImpl(this); - this.proximityPlacementGroups = new ProximityPlacementGroupsImpl(this); - this.dedicatedHostGroups = new DedicatedHostGroupsImpl(this); - this.dedicatedHosts = new DedicatedHostsImpl(this); - this.sshPublicKeys = new SshPublicKeysImpl(this); - this.virtualMachineExtensionImages = new VirtualMachineExtensionImagesImpl( - this - ); - this.virtualMachineExtensions = new VirtualMachineExtensionsImpl(this); - this.virtualMachineImages = new VirtualMachineImagesImpl(this); - this.virtualMachineImagesEdgeZone = new VirtualMachineImagesEdgeZoneImpl( - this - ); this.usageOperations = new UsageOperationsImpl(this); - this.virtualMachines = new VirtualMachinesImpl(this); - this.virtualMachineScaleSets = new VirtualMachineScaleSetsImpl(this); this.virtualMachineSizes = new VirtualMachineSizesImpl(this); - this.images = new ImagesImpl(this); - this.restorePointCollections = new RestorePointCollectionsImpl(this); - this.restorePoints = new RestorePointsImpl(this); - this.capacityReservationGroups = new CapacityReservationGroupsImpl(this); - this.capacityReservations = new CapacityReservationsImpl(this); + this.virtualMachineScaleSets = new VirtualMachineScaleSetsImpl(this); this.virtualMachineScaleSetExtensions = new VirtualMachineScaleSetExtensionsImpl( this ); @@ -200,23 +181,42 @@ export class ComputeManagementClient extends coreClient.ServiceClient { this ); this.virtualMachineScaleSetVMs = new VirtualMachineScaleSetVMsImpl(this); + this.virtualMachineExtensions = new VirtualMachineExtensionsImpl(this); + this.virtualMachines = new VirtualMachinesImpl(this); + this.virtualMachineImages = new VirtualMachineImagesImpl(this); + this.virtualMachineImagesEdgeZone = new VirtualMachineImagesEdgeZoneImpl( + this + ); + this.virtualMachineExtensionImages = new VirtualMachineExtensionImagesImpl( + this + ); + this.availabilitySets = new AvailabilitySetsImpl(this); + this.proximityPlacementGroups = new ProximityPlacementGroupsImpl(this); + this.dedicatedHostGroups = new DedicatedHostGroupsImpl(this); + this.dedicatedHosts = new DedicatedHostsImpl(this); + this.sshPublicKeys = new SshPublicKeysImpl(this); + this.images = new ImagesImpl(this); + this.restorePointCollections = new RestorePointCollectionsImpl(this); + this.restorePoints = new RestorePointsImpl(this); + this.capacityReservationGroups = new CapacityReservationGroupsImpl(this); + this.capacityReservations = new CapacityReservationsImpl(this); this.logAnalytics = new LogAnalyticsImpl(this); this.virtualMachineRunCommands = new VirtualMachineRunCommandsImpl(this); this.virtualMachineScaleSetVMRunCommands = new VirtualMachineScaleSetVMRunCommandsImpl( this ); - this.resourceSkus = new ResourceSkusImpl(this); - this.disks = new DisksImpl(this); - this.snapshots = new SnapshotsImpl(this); - this.diskEncryptionSets = new DiskEncryptionSetsImpl(this); - this.diskAccesses = new DiskAccessesImpl(this); - this.diskRestorePointOperations = new DiskRestorePointOperationsImpl(this); this.galleries = new GalleriesImpl(this); this.galleryImages = new GalleryImagesImpl(this); this.galleryImageVersions = new GalleryImageVersionsImpl(this); this.galleryApplications = new GalleryApplicationsImpl(this); this.galleryApplicationVersions = new GalleryApplicationVersionsImpl(this); this.gallerySharingProfile = new GallerySharingProfileImpl(this); + this.resourceSkus = new ResourceSkusImpl(this); + this.disks = new DisksImpl(this); + this.snapshots = new SnapshotsImpl(this); + this.diskEncryptionSets = new DiskEncryptionSetsImpl(this); + this.diskAccesses = new DiskAccessesImpl(this); + this.diskRestorePointOperations = new DiskRestorePointOperationsImpl(this); this.sharedGalleries = new SharedGalleriesImpl(this); this.sharedGalleryImages = new SharedGalleryImagesImpl(this); this.sharedGalleryImageVersions = new SharedGalleryImageVersionsImpl(this); @@ -235,43 +235,43 @@ export class ComputeManagementClient extends coreClient.ServiceClient { } operations: Operations; + usageOperations: UsageOperations; + virtualMachineSizes: VirtualMachineSizes; + virtualMachineScaleSets: VirtualMachineScaleSets; + virtualMachineScaleSetExtensions: VirtualMachineScaleSetExtensions; + virtualMachineScaleSetRollingUpgrades: VirtualMachineScaleSetRollingUpgrades; + virtualMachineScaleSetVMExtensions: VirtualMachineScaleSetVMExtensions; + virtualMachineScaleSetVMs: VirtualMachineScaleSetVMs; + virtualMachineExtensions: VirtualMachineExtensions; + virtualMachines: VirtualMachines; + virtualMachineImages: VirtualMachineImages; + virtualMachineImagesEdgeZone: VirtualMachineImagesEdgeZone; + virtualMachineExtensionImages: VirtualMachineExtensionImages; availabilitySets: AvailabilitySets; proximityPlacementGroups: ProximityPlacementGroups; dedicatedHostGroups: DedicatedHostGroups; dedicatedHosts: DedicatedHosts; sshPublicKeys: SshPublicKeys; - virtualMachineExtensionImages: VirtualMachineExtensionImages; - virtualMachineExtensions: VirtualMachineExtensions; - virtualMachineImages: VirtualMachineImages; - virtualMachineImagesEdgeZone: VirtualMachineImagesEdgeZone; - usageOperations: UsageOperations; - virtualMachines: VirtualMachines; - virtualMachineScaleSets: VirtualMachineScaleSets; - virtualMachineSizes: VirtualMachineSizes; images: Images; restorePointCollections: RestorePointCollections; restorePoints: RestorePoints; capacityReservationGroups: CapacityReservationGroups; capacityReservations: CapacityReservations; - virtualMachineScaleSetExtensions: VirtualMachineScaleSetExtensions; - virtualMachineScaleSetRollingUpgrades: VirtualMachineScaleSetRollingUpgrades; - virtualMachineScaleSetVMExtensions: VirtualMachineScaleSetVMExtensions; - virtualMachineScaleSetVMs: VirtualMachineScaleSetVMs; logAnalytics: LogAnalytics; virtualMachineRunCommands: VirtualMachineRunCommands; virtualMachineScaleSetVMRunCommands: VirtualMachineScaleSetVMRunCommands; - resourceSkus: ResourceSkus; - disks: Disks; - snapshots: Snapshots; - diskEncryptionSets: DiskEncryptionSets; - diskAccesses: DiskAccesses; - diskRestorePointOperations: DiskRestorePointOperations; galleries: Galleries; galleryImages: GalleryImages; galleryImageVersions: GalleryImageVersions; galleryApplications: GalleryApplications; galleryApplicationVersions: GalleryApplicationVersions; gallerySharingProfile: GallerySharingProfile; + resourceSkus: ResourceSkus; + disks: Disks; + snapshots: Snapshots; + diskEncryptionSets: DiskEncryptionSets; + diskAccesses: DiskAccesses; + diskRestorePointOperations: DiskRestorePointOperations; sharedGalleries: SharedGalleries; sharedGalleryImages: SharedGalleryImages; sharedGalleryImageVersions: SharedGalleryImageVersions; diff --git a/sdk/compute/arm-compute/src/models/index.ts b/sdk/compute/arm-compute/src/models/index.ts index 4abb76fcfb79..7431b11d128f 100644 --- a/sdk/compute/arm-compute/src/models/index.ts +++ b/sdk/compute/arm-compute/src/models/index.ts @@ -89,70 +89,32 @@ export interface InnerError { errordetail?: string; } -export interface SubResource { - /** Resource Id */ - id?: string; -} - -/** Instance view status. */ -export interface InstanceViewStatus { - /** The status code. */ - code?: string; - /** The level code. */ - level?: StatusLevelTypes; - /** The short localizable label for the status. */ - displayStatus?: string; - /** The detailed status message, including for alerts and error messages. */ - message?: string; - /** The time of the status. */ - time?: Date; -} - -/** Describes a virtual machine scale set sku. NOTE: If the new VM SKU is not supported on the hardware the scale set is currently on, you need to deallocate the VMs in the scale set before you modify the SKU name. */ -export interface Sku { - /** The sku name. */ - name?: string; - /** Specifies the tier of virtual machines in a scale set.

Possible Values:

**Standard**

**Basic** */ - tier?: string; - /** Specifies the number of virtual machines in the scale set. */ - capacity?: number; -} - -/** The Resource model definition. */ -export interface Resource { - /** - * Resource Id - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly id?: string; - /** - * Resource name - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly name?: string; - /** - * Resource type - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly type?: string; - /** Resource location */ - location: string; - /** Resource tags */ - tags?: { [propertyName: string]: string }; +/** The List Usages operation response. */ +export interface ListUsagesResult { + /** The list of compute resource usages. */ + value: Usage[]; + /** The URI to fetch the next page of compute resource usage information. Call ListNext() with this to fetch the next page of compute resource usage information. */ + nextLink?: string; } -/** The Update Resource model definition. */ -export interface UpdateResource { - /** Resource tags */ - tags?: { [propertyName: string]: string }; +/** Describes Compute Resource Usage. */ +export interface Usage { + /** An enum describing the unit of usage measurement. */ + unit: "Count"; + /** The current usage of the resource. */ + currentValue: number; + /** The maximum permitted usage of the resource. */ + limit: number; + /** The name of the type of usage. */ + name: UsageName; } -/** The List Availability Set operation response. */ -export interface AvailabilitySetListResult { - /** The list of availability sets */ - value: AvailabilitySet[]; - /** The URI to fetch the next page of AvailabilitySets. Call ListNext() with this URI to fetch the next page of AvailabilitySets. */ - nextLink?: string; +/** The Usage Names. */ +export interface UsageName { + /** The name of the resource. */ + value?: string; + /** The localized name of the resource. */ + localizedValue?: string; } /** The List Virtual Machine operation response. */ @@ -177,287 +139,281 @@ export interface VirtualMachineSize { maxDataDiskCount?: number; } -/** The List Proximity Placement Group operation response. */ -export interface ProximityPlacementGroupListResult { - /** The list of proximity placement groups */ - value: ProximityPlacementGroup[]; - /** The URI to fetch the next page of proximity placement groups. */ +/** The List Virtual Machine operation response. */ +export interface VirtualMachineScaleSetListResult { + /** The list of virtual machine scale sets. */ + value: VirtualMachineScaleSet[]; + /** The uri to fetch the next page of Virtual Machine Scale Sets. Call ListNext() with this to fetch the next page of VMSS. */ nextLink?: string; } -export interface SubResourceReadOnly { - /** - * Resource Id - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly id?: string; -} - -export interface DedicatedHostGroupInstanceView { - /** List of instance view of the dedicated hosts under the dedicated host group. */ - hosts?: DedicatedHostInstanceViewWithName[]; +/** Describes a virtual machine scale set sku. NOTE: If the new VM SKU is not supported on the hardware the scale set is currently on, you need to deallocate the VMs in the scale set before you modify the SKU name. */ +export interface Sku { + /** The sku name. */ + name?: string; + /** Specifies the tier of virtual machines in a scale set.

Possible Values:

**Standard**

**Basic** */ + tier?: string; + /** Specifies the number of virtual machines in the scale set. */ + capacity?: number; } -/** The instance view of a dedicated host. */ -export interface DedicatedHostInstanceView { - /** - * Specifies the unique id of the dedicated physical machine on which the dedicated host resides. - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly assetId?: string; - /** Unutilized capacity of the dedicated host. */ - availableCapacity?: DedicatedHostAvailableCapacity; - /** The resource status information. */ - statuses?: InstanceViewStatus[]; +/** 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**. */ +export interface Plan { + /** The plan ID. */ + name?: string; + /** The publisher ID. */ + publisher?: string; + /** Specifies the product of the image from the marketplace. This is the same value as Offer under the imageReference element. */ + product?: string; + /** The promotion code. */ + promotionCode?: string; } -/** Dedicated host unutilized capacity. */ -export interface DedicatedHostAvailableCapacity { - /** The unutilized capacity of the dedicated host represented in terms of each VM size that is allowed to be deployed to the dedicated host. */ - allocatableVMs?: DedicatedHostAllocatableVM[]; +/** Describes an upgrade policy - automatic, manual, or rolling. */ +export interface UpgradePolicy { + /** Specifies the mode of an upgrade to virtual machines in the scale set.

Possible values are:

**Manual** - You control the application of updates to virtual machines in the scale set. You do this by using the manualUpgrade action.

**Automatic** - All virtual machines in the scale set are automatically updated at the same time. */ + mode?: UpgradeMode; + /** The configuration parameters used while performing a rolling upgrade. */ + rollingUpgradePolicy?: RollingUpgradePolicy; + /** Configuration parameters used for performing automatic OS Upgrade. */ + automaticOSUpgradePolicy?: AutomaticOSUpgradePolicy; } -/** Represents the dedicated host unutilized capacity in terms of a specific VM size. */ -export interface DedicatedHostAllocatableVM { - /** VM size in terms of which the unutilized capacity is represented. */ - vmSize?: string; - /** Maximum number of VMs of size vmSize that can fit in the dedicated host's remaining capacity. */ - count?: number; +/** The configuration parameters used while performing a rolling upgrade. */ +export interface RollingUpgradePolicy { + /** The maximum percent of total virtual machine instances that will be upgraded simultaneously by the rolling upgrade in one batch. As this is a maximum, unhealthy instances in previous or future batches can cause the percentage of instances in a batch to decrease to ensure higher reliability. The default value for this parameter is 20%. */ + maxBatchInstancePercent?: number; + /** The maximum percentage of the total virtual machine instances in the scale set that can be simultaneously unhealthy, either as a result of being upgraded, or by being found in an unhealthy state by the virtual machine health checks before the rolling upgrade aborts. This constraint will be checked prior to starting any batch. The default value for this parameter is 20%. */ + maxUnhealthyInstancePercent?: number; + /** The maximum percentage of upgraded virtual machine instances that can be found to be in an unhealthy state. This check will happen after each batch is upgraded. If this percentage is ever exceeded, the rolling update aborts. The default value for this parameter is 20%. */ + maxUnhealthyUpgradedInstancePercent?: number; + /** The wait time between completing the update for all virtual machines in one batch and starting the next batch. The time duration should be specified in ISO 8601 format. The default value is 0 seconds (PT0S). */ + pauseTimeBetweenBatches?: string; + /** Allow VMSS to ignore AZ boundaries when constructing upgrade batches. Take into consideration the Update Domain and maxBatchInstancePercent to determine the batch size. */ + enableCrossZoneUpgrade?: boolean; + /** Upgrade all unhealthy instances in a scale set before any healthy instances. */ + prioritizeUnhealthyInstances?: boolean; } -/** The List Dedicated Host Group with resource group response. */ -export interface DedicatedHostGroupListResult { - /** The list of dedicated host groups */ - value: DedicatedHostGroup[]; - /** The URI to fetch the next page of Dedicated Host Groups. Call ListNext() with this URI to fetch the next page of Dedicated Host Groups. */ - nextLink?: string; +/** The configuration parameters used for performing automatic OS upgrade. */ +export interface AutomaticOSUpgradePolicy { + /** Indicates whether OS upgrades should automatically be applied to scale set instances in a rolling fashion when a newer version of the OS image becomes available. Default value is false.

If this is set to true for Windows based scale sets, [enableAutomaticUpdates](https://docs.microsoft.com/dotnet/api/microsoft.azure.management.compute.models.windowsconfiguration.enableautomaticupdates?view=azure-dotnet) is automatically set to false and cannot be set to true. */ + enableAutomaticOSUpgrade?: boolean; + /** Whether OS image rollback feature should be disabled. Default value is false. */ + disableAutomaticRollback?: boolean; } -/** The list dedicated host operation response. */ -export interface DedicatedHostListResult { - /** The list of dedicated hosts */ - value: DedicatedHost[]; - /** The URI to fetch the next page of dedicated hosts. Call ListNext() with this URI to fetch the next page of dedicated hosts. */ - nextLink?: string; +/** Specifies the configuration parameters for automatic repairs on the virtual machine scale set. */ +export interface AutomaticRepairsPolicy { + /** Specifies whether automatic repairs should be enabled on the virtual machine scale set. The default value is false. */ + enabled?: boolean; + /** The amount of time for which automatic repairs are suspended due to a state change on VM. The grace time starts after the state change has completed. This helps avoid premature or accidental repairs. The time duration should be specified in ISO 8601 format. The minimum allowed grace period is 10 minutes (PT10M), which is also the default value. The maximum allowed grace period is 90 minutes (PT90M). */ + gracePeriod?: string; + /** Type of repair action (replace, restart, reimage) that will be used for repairing unhealthy virtual machines in the scale set. Default value is replace. */ + repairAction?: RepairAction; } -/** The list SSH public keys operation response. */ -export interface SshPublicKeysGroupListResult { - /** The list of SSH public keys */ - value: SshPublicKeyResource[]; - /** The URI to fetch the next page of SSH public keys. Call ListNext() with this URI to fetch the next page of SSH public keys. */ - nextLink?: string; +/** Describes a virtual machine scale set virtual machine profile. */ +export interface VirtualMachineScaleSetVMProfile { + /** Specifies the operating system settings for the virtual machines in the scale set. */ + osProfile?: VirtualMachineScaleSetOSProfile; + /** Specifies the storage settings for the virtual machine disks. */ + storageProfile?: VirtualMachineScaleSetStorageProfile; + /** Specifies properties of the network interfaces of the virtual machines in the scale set. */ + networkProfile?: VirtualMachineScaleSetNetworkProfile; + /** Specifies the Security related profile settings for the virtual machines in the scale set. */ + securityProfile?: SecurityProfile; + /** Specifies the boot diagnostic settings state.

Minimum api-version: 2015-06-15. */ + diagnosticsProfile?: DiagnosticsProfile; + /** Specifies a collection of settings for extensions installed on virtual machines in the scale set. */ + extensionProfile?: VirtualMachineScaleSetExtensionProfile; + /** Specifies that the image or disk that is being used was licensed on-premises.

Possible values for Windows Server operating system are:

Windows_Client

Windows_Server

Possible values for Linux Server operating system are:

RHEL_BYOS (for RHEL)

SLES_BYOS (for SUSE)

For more information, see [Azure Hybrid Use Benefit for Windows Server](https://docs.microsoft.com/azure/virtual-machines/windows/hybrid-use-benefit-licensing)

[Azure Hybrid Use Benefit for Linux Server](https://docs.microsoft.com/azure/virtual-machines/linux/azure-hybrid-benefit-linux)

Minimum api-version: 2015-06-15 */ + licenseType?: string; + /** Specifies the priority for the virtual machines in the scale set.

Minimum api-version: 2017-10-30-preview */ + priority?: VirtualMachinePriorityTypes; + /** Specifies the eviction policy for the Azure Spot virtual machine and Azure Spot scale set.

For Azure Spot virtual machines, both 'Deallocate' and 'Delete' are supported and the minimum api-version is 2019-03-01.

For Azure Spot scale sets, both 'Deallocate' and 'Delete' are supported and the minimum api-version is 2017-10-30-preview. */ + evictionPolicy?: VirtualMachineEvictionPolicyTypes; + /** Specifies the billing related details of a Azure Spot VMSS.

Minimum api-version: 2019-03-01. */ + billingProfile?: BillingProfile; + /** Specifies Scheduled Event related configurations. */ + scheduledEventsProfile?: ScheduledEventsProfile; + /** UserData for the virtual machines in the scale set, which must be base-64 encoded. Customer should not pass any secrets in here.

Minimum api-version: 2021-03-01 */ + userData?: string; + /** Specifies the capacity reservation related details of a scale set.

Minimum api-version: 2021-04-01. */ + capacityReservation?: CapacityReservationProfile; + /** Specifies the gallery applications that should be made available to the VM/VMSS */ + applicationProfile?: ApplicationProfile; + /** Specifies the hardware profile related details of a scale set.

Minimum api-version: 2022-03-01. */ + hardwareProfile?: VirtualMachineScaleSetHardwareProfile; } -/** Response from generation of an SSH key pair. */ -export interface SshPublicKeyGenerateKeyPairResult { - /** Private key portion of the key pair used to authenticate to a virtual machine through ssh. The private key is returned in RFC3447 format and should be treated as a secret. */ - privateKey: string; - /** Public key portion of the key pair used to authenticate to a virtual machine through ssh. The public key is in ssh-rsa format. */ - publicKey: string; - /** The ARM resource id in the form of /subscriptions/{SubscriptionId}/resourceGroups/{ResourceGroupName}/providers/Microsoft.Compute/sshPublicKeys/{SshPublicKeyName} */ - id: string; +/** Describes a virtual machine scale set OS profile. */ +export interface VirtualMachineScaleSetOSProfile { + /** Specifies the computer name prefix for all of the virtual machines in the scale set. Computer name prefixes must be 1 to 15 characters long. */ + computerNamePrefix?: string; + /** Specifies the name of the administrator account.

**Windows-only restriction:** Cannot end in "."

**Disallowed values:** "administrator", "admin", "user", "user1", "test", "user2", "test1", "user3", "admin1", "1", "123", "a", "actuser", "adm", "admin2", "aspnet", "backup", "console", "david", "guest", "john", "owner", "root", "server", "sql", "support", "support_388945a0", "sys", "test2", "test3", "user4", "user5".

**Minimum-length (Linux):** 1 character

**Max-length (Linux):** 64 characters

**Max-length (Windows):** 20 characters */ + adminUsername?: string; + /** Specifies the password of the administrator account.

**Minimum-length (Windows):** 8 characters

**Minimum-length (Linux):** 6 characters

**Max-length (Windows):** 123 characters

**Max-length (Linux):** 72 characters

**Complexity requirements:** 3 out of 4 conditions below need to be fulfilled
Has lower characters
Has upper characters
Has a digit
Has a special character (Regex match [\W_])

**Disallowed values:** "abc@123", "P@$$w0rd", "P@ssw0rd", "P@ssword123", "Pa$$word", "pass@word1", "Password!", "Password1", "Password22", "iloveyou!"

For resetting the password, see [How to reset the Remote Desktop service or its login password in a Windows VM](https://docs.microsoft.com/troubleshoot/azure/virtual-machines/reset-rdp)

For resetting root password, see [Manage users, SSH, and check or repair disks on Azure Linux VMs using the VMAccess Extension](https://docs.microsoft.com/troubleshoot/azure/virtual-machines/troubleshoot-ssh-connection) */ + adminPassword?: string; + /** Specifies a base-64 encoded string of custom data. The base-64 encoded string is decoded to a binary array that is saved as a file on the Virtual Machine. The maximum length of the binary array is 65535 bytes.

For using cloud-init for your VM, see [Using cloud-init to customize a Linux VM during creation](https://docs.microsoft.com/azure/virtual-machines/linux/using-cloud-init) */ + customData?: string; + /** Specifies Windows operating system settings on the virtual machine. */ + windowsConfiguration?: WindowsConfiguration; + /** Specifies the Linux operating system settings on the virtual machine.

For a list of supported Linux distributions, see [Linux on Azure-Endorsed Distributions](https://docs.microsoft.com/azure/virtual-machines/linux/endorsed-distros). */ + linuxConfiguration?: LinuxConfiguration; + /** Specifies set of certificates that should be installed onto the virtual machines in the scale set. To install certificates on a virtual machine it is recommended to use the [Azure Key Vault virtual machine extension for Linux](https://docs.microsoft.com/azure/virtual-machines/extensions/key-vault-linux) or the [Azure Key Vault virtual machine extension for Windows](https://docs.microsoft.com/azure/virtual-machines/extensions/key-vault-windows). */ + secrets?: VaultSecretGroup[]; + /** Specifies whether extension operations should be allowed on the virtual machine scale set.

This may only be set to False when no extensions are present on the virtual machine scale set. */ + allowExtensionOperations?: boolean; } -/** The instance view of a virtual machine extension. */ -export interface VirtualMachineExtensionInstanceView { - /** The virtual machine extension name. */ - name?: string; - /** Specifies the type of the extension; an example is "CustomScriptExtension". */ - type?: string; - /** Specifies the version of the script handler. */ - typeHandlerVersion?: string; - /** The resource status information. */ - substatuses?: InstanceViewStatus[]; - /** The resource status information. */ - statuses?: InstanceViewStatus[]; -} - -/** The List Extension operation response */ -export interface VirtualMachineExtensionsListResult { - /** The list of extensions */ - value?: VirtualMachineExtension[]; -} - -/** Used for establishing the purchase context of any 3rd Party artifact through MarketPlace. */ -export interface PurchasePlan { - /** The publisher ID. */ - publisher: string; - /** The plan ID. */ - name: string; - /** Specifies the product of the image from the marketplace. This is the same value as Offer under the imageReference element. */ - product: string; -} - -/** Contains the os disk image information. */ -export interface OSDiskImage { - /** The operating system of the osDiskImage. */ - operatingSystem: OperatingSystemTypes; -} - -/** Contains the data disk images information. */ -export interface DataDiskImage { - /** - * Specifies the logical unit number of the data disk. This value is used to identify data disks within the VM and therefore must be unique for each data disk attached to a VM. - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly lun?: number; +/** Specifies Windows operating system settings on the virtual machine. */ +export interface WindowsConfiguration { + /** Indicates whether virtual machine agent should be provisioned on the virtual machine.

When this property is not specified in the request body, default behavior is to set it to true. This will ensure that VM Agent is installed on the VM so that extensions can be added to the VM later. */ + provisionVMAgent?: boolean; + /** 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. */ + enableAutomaticUpdates?: boolean; + /** 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). */ + timeZone?: string; + /** Specifies additional base-64 encoded XML formatted information that can be included in the Unattend.xml file, which is used by Windows Setup. */ + additionalUnattendContent?: AdditionalUnattendContent[]; + /** [Preview Feature] Specifies settings related to VM Guest Patching on Windows. */ + patchSettings?: PatchSettings; + /** Specifies the Windows Remote Management listeners. This enables remote Windows PowerShell. */ + winRM?: WinRMConfiguration; } -/** Describes automatic OS upgrade properties on the image. */ -export interface AutomaticOSUpgradeProperties { - /** Specifies whether automatic OS upgrade is supported on the image. */ - automaticOSUpgradeSupported: boolean; +/** Specifies additional XML formatted information that can be included in the Unattend.xml file, which is used by Windows Setup. Contents are defined by setting name, component name, and the pass in which the content is applied. */ +export interface AdditionalUnattendContent { + /** The pass name. Currently, the only allowable value is OobeSystem. */ + passName?: "OobeSystem"; + /** The component name. Currently, the only allowable value is Microsoft-Windows-Shell-Setup. */ + componentName?: "Microsoft-Windows-Shell-Setup"; + /** Specifies the name of the setting to which the content applies. Possible values are: FirstLogonCommands and AutoLogon. */ + settingName?: SettingNames; + /** Specifies the XML formatted content that is added to the unattend.xml file for the specified path and component. The XML must be less than 4KB and must include the root element for the setting or feature that is being inserted. */ + content?: string; } -/** Specifies the disallowed configuration for a virtual machine image. */ -export interface DisallowedConfiguration { - /** VM disk types which are disallowed. */ - vmDiskType?: VmDiskTypes; +/** Specifies settings related to VM Guest Patching on Windows. */ +export interface PatchSettings { + /** Specifies the mode of VM Guest Patching to IaaS virtual machine or virtual machines associated to virtual machine scale set with OrchestrationMode as Flexible.

Possible values are:

**Manual** - You control the application of patches to a virtual machine. You do this by applying patches manually inside the VM. In this mode, automatic updates are disabled; the property WindowsConfiguration.enableAutomaticUpdates must be false

**AutomaticByOS** - The virtual machine will automatically be updated by the OS. The property WindowsConfiguration.enableAutomaticUpdates must be true.

**AutomaticByPlatform** - the virtual machine will automatically updated by the platform. The properties provisionVMAgent and WindowsConfiguration.enableAutomaticUpdates must be true */ + patchMode?: WindowsVMGuestPatchMode; + /** Enables customers to patch their Azure VMs without requiring a reboot. For enableHotpatching, the 'provisionVMAgent' must be set to true and 'patchMode' must be set to 'AutomaticByPlatform'. */ + enableHotpatching?: boolean; + /** Specifies the mode of VM Guest patch assessment for the IaaS virtual machine.

Possible values are:

**ImageDefault** - You control the timing of patch assessments on a virtual machine.

**AutomaticByPlatform** - The platform will trigger periodic patch assessments. The property provisionVMAgent must be true. */ + assessmentMode?: WindowsPatchAssessmentMode; } -/** Specifies additional capabilities supported by the image */ -export interface VirtualMachineImageFeature { - /** The name of the feature. */ - name?: string; - /** The corresponding value for the feature. */ - value?: string; +/** Describes Windows Remote Management configuration of the VM */ +export interface WinRMConfiguration { + /** The list of Windows Remote Management listeners */ + listeners?: WinRMListener[]; } -/** The complex type of the extended location. */ -export interface ExtendedLocation { - /** The name of the extended location. */ - name?: string; - /** The type of the extended location. */ - type?: ExtendedLocationTypes; +/** Describes Protocol and thumbprint of Windows Remote Management listener */ +export interface WinRMListener { + /** Specifies the protocol of WinRM listener.

Possible values are:
**http**

**https** */ + protocol?: ProtocolTypes; + /** This is the URL of a certificate that has been uploaded to Key Vault as a secret. For adding a secret to the Key Vault, see [Add a key or secret to the key vault](https://docs.microsoft.com/azure/key-vault/key-vault-get-started/#add). In this case, your certificate needs to be It is the Base64 encoding of the following JSON Object which is encoded in UTF-8:

{
"data":"",
"dataType":"pfx",
"password":""
}
To install certificates on a virtual machine it is recommended to use the [Azure Key Vault virtual machine extension for Linux](https://docs.microsoft.com/azure/virtual-machines/extensions/key-vault-linux) or the [Azure Key Vault virtual machine extension for Windows](https://docs.microsoft.com/azure/virtual-machines/extensions/key-vault-windows). */ + certificateUrl?: string; } -/** The List Usages operation response. */ -export interface ListUsagesResult { - /** The list of compute resource usages. */ - value: Usage[]; - /** The URI to fetch the next page of compute resource usage information. Call ListNext() with this to fetch the next page of compute resource usage information. */ - nextLink?: string; +/** Specifies the Linux operating system settings on the virtual machine.

For a list of supported Linux distributions, see [Linux on Azure-Endorsed Distributions](https://docs.microsoft.com/azure/virtual-machines/linux/endorsed-distros). */ +export interface LinuxConfiguration { + /** Specifies whether password authentication should be disabled. */ + disablePasswordAuthentication?: boolean; + /** Specifies the ssh key configuration for a Linux OS. */ + ssh?: SshConfiguration; + /** Indicates whether virtual machine agent should be provisioned on the virtual machine.

When this property is not specified in the request body, default behavior is to set it to true. This will ensure that VM Agent is installed on the VM so that extensions can be added to the VM later. */ + provisionVMAgent?: boolean; + /** [Preview Feature] Specifies settings related to VM Guest Patching on Linux. */ + patchSettings?: LinuxPatchSettings; } -/** Describes Compute Resource Usage. */ -export interface Usage { - /** An enum describing the unit of usage measurement. */ - unit: "Count"; - /** The current usage of the resource. */ - currentValue: number; - /** The maximum permitted usage of the resource. */ - limit: number; - /** The name of the type of usage. */ - name: UsageName; +/** SSH configuration for Linux based VMs running on Azure */ +export interface SshConfiguration { + /** The list of SSH public keys used to authenticate with linux based VMs. */ + publicKeys?: SshPublicKey[]; } -/** The Usage Names. */ -export interface UsageName { - /** The name of the resource. */ - value?: string; - /** The localized name of the resource. */ - localizedValue?: string; +/** Contains information about SSH certificate public key and the path on the Linux VM where the public key is placed. */ +export interface SshPublicKey { + /** Specifies the full path on the created VM where ssh public key is stored. If the file already exists, the specified key is appended to the file. Example: /home/user/.ssh/authorized_keys */ + path?: string; + /** SSH public key certificate used to authenticate with the VM through ssh. The key needs to be at least 2048-bit and in ssh-rsa format.

For creating ssh keys, see [Create SSH keys on Linux and Mac for Linux VMs in Azure]https://docs.microsoft.com/azure/virtual-machines/linux/create-ssh-keys-detailed). */ + keyData?: string; } -/** The List Virtual Machine operation response. */ -export interface VirtualMachineListResult { - /** The list of virtual machines. */ - value: VirtualMachine[]; - /** The URI to fetch the next page of VMs. Call ListNext() with this URI to fetch the next page of Virtual Machines. */ - nextLink?: string; +/** Specifies settings related to VM Guest Patching on Linux. */ +export interface LinuxPatchSettings { + /** Specifies the mode of VM Guest Patching to IaaS virtual machine or virtual machines associated to virtual machine scale set with OrchestrationMode as Flexible.

Possible values are:

**ImageDefault** - The virtual machine's default patching configuration is used.

**AutomaticByPlatform** - The virtual machine will be automatically updated by the platform. The property provisionVMAgent must be true */ + patchMode?: LinuxVMGuestPatchMode; + /** Specifies the mode of VM Guest Patch Assessment for the IaaS virtual machine.

Possible values are:

**ImageDefault** - You control the timing of patch assessments on a virtual machine.

**AutomaticByPlatform** - The platform will trigger periodic patch assessments. The property provisionVMAgent must be true. */ + assessmentMode?: LinuxPatchAssessmentMode; } -/** 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**. */ -export interface Plan { - /** The plan ID. */ - name?: string; - /** The publisher ID. */ - publisher?: string; - /** Specifies the product of the image from the marketplace. This is the same value as Offer under the imageReference element. */ - product?: string; - /** The promotion code. */ - promotionCode?: string; +/** Describes a set of certificates which are all in the same Key Vault. */ +export interface VaultSecretGroup { + /** The relative URL of the Key Vault containing all of the certificates in VaultCertificates. */ + sourceVault?: SubResource; + /** The list of key vault references in SourceVault which contain certificates. */ + vaultCertificates?: VaultCertificate[]; } -/** Specifies the hardware settings for the virtual machine. */ -export interface HardwareProfile { - /** Specifies the size of the virtual machine.

The enum data type is currently deprecated and will be removed by December 23rd 2023.

Recommended way to get the list of available sizes is using these APIs:

[List all available virtual machine sizes in an availability set](https://docs.microsoft.com/rest/api/compute/availabilitysets/listavailablesizes)

[List all available virtual machine sizes in a region]( https://docs.microsoft.com/rest/api/compute/resourceskus/list)

[List all available virtual machine sizes for resizing](https://docs.microsoft.com/rest/api/compute/virtualmachines/listavailablesizes). For more information about virtual machine sizes, see [Sizes for virtual machines](https://docs.microsoft.com/azure/virtual-machines/sizes).

The available VM sizes depend on region and availability set. */ - vmSize?: VirtualMachineSizeTypes; - /** Specifies the properties for customizing the size of the virtual machine. Minimum api-version: 2021-07-01.

This feature is still in preview mode and is not supported for VirtualMachineScaleSet.

Please follow the instructions in [VM Customization](https://aka.ms/vmcustomization) for more details. */ - vmSizeProperties?: VMSizeProperties; +export interface SubResource { + /** Resource Id */ + id?: string; } -/** Specifies VM Size Property settings on the virtual machine. */ -export interface VMSizeProperties { - /** Specifies the number of vCPUs available for the VM.

When this property is not specified in the request body the default behavior is to set it to the value of vCPUs available for that VM size exposed in api response of [List all available virtual machine sizes in a region](https://docs.microsoft.com/en-us/rest/api/compute/resource-skus/list) . */ - vCPUsAvailable?: number; - /** Specifies the vCPU to physical core ratio.

When this property is not specified in the request body the default behavior is set to the value of vCPUsPerCore for the VM Size exposed in api response of [List all available virtual machine sizes in a region](https://docs.microsoft.com/en-us/rest/api/compute/resource-skus/list)

Setting this property to 1 also means that hyper-threading is disabled. */ - vCPUsPerCore?: number; +/** Describes a single certificate reference in a Key Vault, and where the certificate should reside on the VM. */ +export interface VaultCertificate { + /** This is the URL of a certificate that has been uploaded to Key Vault as a secret. For adding a secret to the Key Vault, see [Add a key or secret to the key vault](https://docs.microsoft.com/azure/key-vault/key-vault-get-started/#add). In this case, your certificate needs to be It is the Base64 encoding of the following JSON Object which is encoded in UTF-8:

{
"data":"",
"dataType":"pfx",
"password":""
}
To install certificates on a virtual machine it is recommended to use the [Azure Key Vault virtual machine extension for Linux](https://docs.microsoft.com/azure/virtual-machines/extensions/key-vault-linux) or the [Azure Key Vault virtual machine extension for Windows](https://docs.microsoft.com/azure/virtual-machines/extensions/key-vault-windows). */ + certificateUrl?: string; + /** For Windows VMs, specifies the certificate store on the Virtual Machine to which the certificate should be added. The specified certificate store is implicitly in the LocalMachine account.

For Linux VMs, the certificate file is placed under the /var/lib/waagent directory, with the file name <UppercaseThumbprint>.crt for the X509 certificate file and <UppercaseThumbprint>.prv for private key. Both of these files are .pem formatted. */ + certificateStore?: string; } -/** Specifies the storage settings for the virtual machine disks. */ -export interface StorageProfile { +/** Describes a virtual machine scale set storage profile. */ +export interface VirtualMachineScaleSetStorageProfile { /** Specifies information about the image to use. You can specify information about platform images, marketplace images, or virtual machine images. This element is required when you want to use a platform image, marketplace image, or virtual machine image, but is not used in other creation operations. */ imageReference?: ImageReference; - /** Specifies information about the operating system disk used by the virtual machine.

For more information about disks, see [About disks and VHDs for Azure virtual machines](https://docs.microsoft.com/azure/virtual-machines/managed-disks-overview). */ - osDisk?: OSDisk; - /** Specifies the parameters that are used to add a data disk to a virtual machine.

For more information about disks, see [About disks and VHDs for Azure virtual machines](https://docs.microsoft.com/azure/virtual-machines/managed-disks-overview). */ - dataDisks?: DataDisk[]; + /** Specifies information about the operating system disk used by the virtual machines in the scale set.

For more information about disks, see [About disks and VHDs for Azure virtual machines](https://docs.microsoft.com/azure/virtual-machines/managed-disks-overview). */ + osDisk?: VirtualMachineScaleSetOSDisk; + /** Specifies the parameters that are used to add data disks to the virtual machines in the scale set.

For more information about disks, see [About disks and VHDs for Azure virtual machines](https://docs.microsoft.com/azure/virtual-machines/managed-disks-overview). */ + dataDisks?: VirtualMachineScaleSetDataDisk[]; } -/** Specifies information about the operating system disk used by the virtual machine.

For more information about disks, see [About disks and VHDs for Azure virtual machines](https://docs.microsoft.com/azure/virtual-machines/managed-disks-overview). */ -export interface OSDisk { - /** This property allows you to specify the type of the OS that is included in the disk if creating a VM from user-image or a specialized VHD.

Possible values are:

**Windows**

**Linux** */ - osType?: OperatingSystemTypes; - /** Specifies the encryption settings for the OS Disk.

Minimum api-version: 2015-06-15 */ - encryptionSettings?: DiskEncryptionSettings; +/** Describes a virtual machine scale set operating system disk. */ +export interface VirtualMachineScaleSetOSDisk { /** The disk name. */ name?: string; - /** The virtual hard disk. */ - vhd?: VirtualHardDisk; - /** The source user image virtual hard disk. The virtual hard disk will be copied before being attached to the virtual machine. If SourceImage is provided, the destination virtual hard drive must not exist. */ - image?: VirtualHardDisk; - /** Specifies the caching requirements.

Possible values are:

**None**

**ReadOnly**

**ReadWrite**

Default: **None** for Standard storage. **ReadOnly** for Premium storage. */ + /** Specifies the caching requirements.

Possible values are:

**None**

**ReadOnly**

**ReadWrite**

Default: **None for Standard storage. ReadOnly for Premium storage** */ caching?: CachingTypes; /** Specifies whether writeAccelerator should be enabled or disabled on the disk. */ writeAcceleratorEnabled?: boolean; - /** Specifies the ephemeral Disk Settings for the operating system disk used by the virtual machine. */ - diffDiskSettings?: DiffDiskSettings; - /** Specifies how the virtual machine should be created.

Possible values are:

**Attach** \u2013 This value is used when you are using a specialized disk to create the virtual machine.

**FromImage** \u2013 This value is used when you are using an image to create the virtual machine. If you are using a platform image, you also use the imageReference element described above. If you are using a marketplace image, you also use the plan element previously described. */ + /** Specifies how the virtual machines in the scale set should be created.

The only allowed value is: **FromImage** \u2013 This value is used when you are using an image to create the virtual machine. If you are using a platform image, you also use the imageReference element described above. If you are using a marketplace image, you also use the plan element previously described. */ createOption: DiskCreateOptionTypes; - /** Specifies the size of an empty data disk in gigabytes. This element can be used to overwrite the size of the disk in a virtual machine image.

This value cannot be larger than 1023 GB */ + /** Specifies the ephemeral disk Settings for the operating system disk used by the virtual machine scale set. */ + diffDiskSettings?: DiffDiskSettings; + /** Specifies the size of the operating system disk in gigabytes. This element can be used to overwrite the size of the disk in a virtual machine image.

This value cannot be larger than 1023 GB */ diskSizeGB?: number; + /** This property allows you to specify the type of the OS that is included in the disk if creating a VM from user-image or a specialized VHD.

Possible values are:

**Windows**

**Linux** */ + osType?: OperatingSystemTypes; + /** Specifies information about the unmanaged user image to base the scale set on. */ + image?: VirtualHardDisk; + /** Specifies the container urls that are used to store operating system disks for the scale set. */ + vhdContainers?: string[]; /** The managed disk parameters. */ - managedDisk?: ManagedDiskParameters; - /** Specifies whether OS Disk should be deleted or detached upon VM deletion.

Possible values:

**Delete** If this value is used, the OS disk is deleted when VM is deleted.

**Detach** If this value is used, the os disk is retained after VM is deleted.

The default value is set to **detach**. For an ephemeral OS Disk, the default value is set to **Delete**. User cannot change the delete option for ephemeral OS Disk. */ - deleteOption?: DiskDeleteOptionTypes; + managedDisk?: VirtualMachineScaleSetManagedDiskParameters; } -/** Describes a Encryption Settings for a Disk */ -export interface DiskEncryptionSettings { - /** Specifies the location of the disk encryption key, which is a Key Vault Secret. */ - diskEncryptionKey?: KeyVaultSecretReference; - /** Specifies the location of the key encryption key in Key Vault. */ - keyEncryptionKey?: KeyVaultKeyReference; - /** Specifies whether disk encryption should be enabled on the virtual machine. */ - enabled?: boolean; -} - -/** Describes a reference to Key Vault Secret */ -export interface KeyVaultSecretReference { - /** The URL referencing a secret in a Key Vault. */ - secretUrl: string; - /** The relative URL of the Key Vault containing the secret. */ - sourceVault: SubResource; -} - -/** Describes a reference to Key Vault Key */ -export interface KeyVaultKeyReference { - /** The URL referencing a key encryption key in Key Vault. */ - keyUrl: string; - /** The relative URL of the Key Vault containing the key. */ - sourceVault: SubResource; +/** Describes the parameters of ephemeral disk settings that can be specified for operating system disk.

NOTE: The ephemeral disk settings can only be specified for managed disk. */ +export interface DiffDiskSettings { + /** Specifies the ephemeral disk settings for operating system disk. */ + option?: DiffDiskOptions; + /** Specifies the ephemeral disk placement for operating system disk.

Possible values are:

**CacheDisk**

**ResourceDisk**

Default: **CacheDisk** if one is configured for the VM size otherwise **ResourceDisk** is used.

Refer to VM size documentation for Windows VM at https://docs.microsoft.com/azure/virtual-machines/windows/sizes and Linux VM at https://docs.microsoft.com/azure/virtual-machines/linux/sizes to check which VM sizes exposes a cache disk. */ + placement?: DiffDiskPlacement; } /** Describes the uri of a disk. */ @@ -466,12 +422,14 @@ export interface VirtualHardDisk { uri?: string; } -/** Describes the parameters of ephemeral disk settings that can be specified for operating system disk.

NOTE: The ephemeral disk settings can only be specified for managed disk. */ -export interface DiffDiskSettings { - /** Specifies the ephemeral disk settings for operating system disk. */ - option?: DiffDiskOptions; - /** Specifies the ephemeral disk placement for operating system disk.

Possible values are:

**CacheDisk**

**ResourceDisk**

Default: **CacheDisk** if one is configured for the VM size otherwise **ResourceDisk** is used.

Refer to VM size documentation for Windows VM at https://docs.microsoft.com/azure/virtual-machines/windows/sizes and Linux VM at https://docs.microsoft.com/azure/virtual-machines/linux/sizes to check which VM sizes exposes a cache disk. */ - placement?: DiffDiskPlacement; +/** Describes the parameters of a ScaleSet managed disk. */ +export interface VirtualMachineScaleSetManagedDiskParameters { + /** Specifies the storage account type for the managed disk. NOTE: UltraSSD_LRS can only be used with data disks, it cannot be used with OS Disk. */ + storageAccountType?: StorageAccountTypes; + /** Specifies the customer managed disk encryption set resource id for the managed disk. */ + diskEncryptionSet?: DiskEncryptionSetParameters; + /** Specifies the security profile for the managed disk. */ + securityProfile?: VMDiskSecurityProfile; } /** Specifies the security profile settings for the managed disk.

NOTE: It can only be set for Confidential VMs */ @@ -482,1118 +440,1102 @@ export interface VMDiskSecurityProfile { diskEncryptionSet?: DiskEncryptionSetParameters; } -/** Describes a data disk. */ -export interface DataDisk { - /** Specifies the logical unit number of the data disk. This value is used to identify data disks within the VM and therefore must be unique for each data disk attached to a VM. */ - lun: number; +/** Describes a virtual machine scale set data disk. */ +export interface VirtualMachineScaleSetDataDisk { /** The disk name. */ name?: string; - /** The virtual hard disk. */ - vhd?: VirtualHardDisk; - /** The source user image virtual hard disk. The virtual hard disk will be copied before being attached to the virtual machine. If SourceImage is provided, the destination virtual hard drive must not exist. */ - image?: VirtualHardDisk; + /** Specifies the logical unit number of the data disk. This value is used to identify data disks within the VM and therefore must be unique for each data disk attached to a VM. */ + lun: number; /** Specifies the caching requirements.

Possible values are:

**None**

**ReadOnly**

**ReadWrite**

Default: **None for Standard storage. ReadOnly for Premium storage** */ caching?: CachingTypes; /** Specifies whether writeAccelerator should be enabled or disabled on the disk. */ writeAcceleratorEnabled?: boolean; - /** Specifies how the virtual machine should be created.

Possible values are:

**Attach** \u2013 This value is used when you are using a specialized disk to create the virtual machine.

**FromImage** \u2013 This value is used when you are using an image to create the virtual machine. If you are using a platform image, you also use the imageReference element described above. If you are using a marketplace image, you also use the plan element previously described. */ + /** The create option. */ createOption: DiskCreateOptionTypes; /** Specifies the size of an empty data disk in gigabytes. This element can be used to overwrite the size of the disk in a virtual machine image.

This value cannot be larger than 1023 GB */ diskSizeGB?: number; /** The managed disk parameters. */ - managedDisk?: ManagedDiskParameters; - /** Specifies whether the data disk is in process of detachment from the VirtualMachine/VirtualMachineScaleset */ - toBeDetached?: boolean; - /** - * Specifies the Read-Write IOPS for the managed disk when StorageAccountType is UltraSSD_LRS. Returned only for VirtualMachine ScaleSet VM disks. Can be updated only via updates to the VirtualMachine Scale Set. - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly diskIopsReadWrite?: number; - /** - * Specifies the bandwidth in MB per second for the managed disk when StorageAccountType is UltraSSD_LRS. Returned only for VirtualMachine ScaleSet VM disks. Can be updated only via updates to the VirtualMachine Scale Set. - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly diskMBpsReadWrite?: number; - /** Specifies the detach behavior to be used while detaching a disk or which is already in the process of detachment from the virtual machine. Supported values: **ForceDetach**.

detachOption: **ForceDetach** is applicable only for managed data disks. If a previous detachment attempt of the data disk did not complete due to an unexpected failure from the virtual machine and the disk is still not released then use force-detach as a last resort option to detach the disk forcibly from the VM. All writes might not have been flushed when using this detach behavior.

This feature is still in preview mode and is not supported for VirtualMachineScaleSet. To force-detach a data disk update toBeDetached to 'true' along with setting detachOption: 'ForceDetach'. */ - detachOption?: DiskDetachOptionTypes; - /** Specifies whether data disk should be deleted or detached upon VM deletion.

Possible values:

**Delete** If this value is used, the data disk is deleted when VM is deleted.

**Detach** If this value is used, the data disk is retained after VM is deleted.

The default value is set to **detach** */ - deleteOption?: DiskDeleteOptionTypes; + managedDisk?: VirtualMachineScaleSetManagedDiskParameters; + /** Specifies the Read-Write IOPS for the managed disk. Should be used only when StorageAccountType is UltraSSD_LRS. If not specified, a default value would be assigned based on diskSizeGB. */ + diskIopsReadWrite?: number; + /** Specifies the bandwidth in MB per second for the managed disk. Should be used only when StorageAccountType is UltraSSD_LRS. If not specified, a default value would be assigned based on diskSizeGB. */ + diskMBpsReadWrite?: number; } -/** Enables or disables a capability on the virtual machine or virtual machine scale set. */ -export interface AdditionalCapabilities { - /** The flag that enables or disables a capability to have one or more managed data disks with UltraSSD_LRS storage account type on the VM or VMSS. Managed disks with storage account type UltraSSD_LRS can be added to a virtual machine or virtual machine scale set only if this property is enabled. */ - ultraSSDEnabled?: boolean; - /** The flag that enables or disables hibernation capability on the VM. */ - hibernationEnabled?: boolean; +/** Describes a virtual machine scale set network profile. */ +export interface VirtualMachineScaleSetNetworkProfile { + /** A reference to a load balancer probe used to determine the health of an instance in the virtual machine scale set. The reference will be in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/loadBalancers/{loadBalancerName}/probes/{probeName}'. */ + healthProbe?: ApiEntityReference; + /** The list of network configurations. */ + networkInterfaceConfigurations?: VirtualMachineScaleSetNetworkConfiguration[]; + /** specifies the Microsoft.Network API version used when creating networking resources in the Network Interface Configurations for Virtual Machine Scale Set with orchestration mode 'Flexible' */ + networkApiVersion?: NetworkApiVersion; } -/** Specifies the operating system settings for the virtual machine. Some of the settings cannot be changed once VM is provisioned. */ -export interface OSProfile { - /** Specifies the host OS name of the virtual machine.

This name cannot be updated after the VM is created.

**Max-length (Windows):** 15 characters

**Max-length (Linux):** 64 characters.

For naming conventions and restrictions see [Azure infrastructure services implementation guidelines](https://docs.microsoft.com/azure/azure-resource-manager/management/resource-name-rules). */ - computerName?: string; - /** Specifies the name of the administrator account.

This property cannot be updated after the VM is created.

**Windows-only restriction:** Cannot end in "."

**Disallowed values:** "administrator", "admin", "user", "user1", "test", "user2", "test1", "user3", "admin1", "1", "123", "a", "actuser", "adm", "admin2", "aspnet", "backup", "console", "david", "guest", "john", "owner", "root", "server", "sql", "support", "support_388945a0", "sys", "test2", "test3", "user4", "user5".

**Minimum-length (Linux):** 1 character

**Max-length (Linux):** 64 characters

**Max-length (Windows):** 20 characters. */ - adminUsername?: string; - /** Specifies the password of the administrator account.

**Minimum-length (Windows):** 8 characters

**Minimum-length (Linux):** 6 characters

**Max-length (Windows):** 123 characters

**Max-length (Linux):** 72 characters

**Complexity requirements:** 3 out of 4 conditions below need to be fulfilled
Has lower characters
Has upper characters
Has a digit
Has a special character (Regex match [\W_])

**Disallowed values:** "abc@123", "P@$$w0rd", "P@ssw0rd", "P@ssword123", "Pa$$word", "pass@word1", "Password!", "Password1", "Password22", "iloveyou!"

For resetting the password, see [How to reset the Remote Desktop service or its login password in a Windows VM](https://docs.microsoft.com/troubleshoot/azure/virtual-machines/reset-rdp)

For resetting root password, see [Manage users, SSH, and check or repair disks on Azure Linux VMs using the VMAccess Extension](https://docs.microsoft.com/troubleshoot/azure/virtual-machines/troubleshoot-ssh-connection) */ - adminPassword?: string; - /** Specifies a base-64 encoded string of custom data. The base-64 encoded string is decoded to a binary array that is saved as a file on the Virtual Machine. The maximum length of the binary array is 65535 bytes.

**Note: Do not pass any secrets or passwords in customData property**

This property cannot be updated after the VM is created.

customData is passed to the VM to be saved as a file, for more information see [Custom Data on Azure VMs](https://azure.microsoft.com/blog/custom-data-and-cloud-init-on-windows-azure/)

For using cloud-init for your Linux VM, see [Using cloud-init to customize a Linux VM during creation](https://docs.microsoft.com/azure/virtual-machines/linux/using-cloud-init) */ - customData?: string; - /** Specifies Windows operating system settings on the virtual machine. */ - windowsConfiguration?: WindowsConfiguration; - /** Specifies the Linux operating system settings on the virtual machine.

For a list of supported Linux distributions, see [Linux on Azure-Endorsed Distributions](https://docs.microsoft.com/azure/virtual-machines/linux/endorsed-distros). */ - linuxConfiguration?: LinuxConfiguration; - /** Specifies set of certificates that should be installed onto the virtual machine. To install certificates on a virtual machine it is recommended to use the [Azure Key Vault virtual machine extension for Linux](https://docs.microsoft.com/azure/virtual-machines/extensions/key-vault-linux) or the [Azure Key Vault virtual machine extension for Windows](https://docs.microsoft.com/azure/virtual-machines/extensions/key-vault-windows). */ - secrets?: VaultSecretGroup[]; - /** Specifies whether extension operations should be allowed on the virtual machine.

This may only be set to False when no extensions are present on the virtual machine. */ - allowExtensionOperations?: boolean; - /** Specifies whether the guest provision signal is required to infer provision success of the virtual machine. **Note: This property is for private testing only, and all customers must not set the property to false.** */ - requireGuestProvisionSignal?: boolean; +/** The API entity reference. */ +export interface ApiEntityReference { + /** The ARM resource id in the form of /subscriptions/{SubscriptionId}/resourceGroups/{ResourceGroupName}/... */ + id?: string; } -/** Specifies Windows operating system settings on the virtual machine. */ -export interface WindowsConfiguration { - /** Indicates whether virtual machine agent should be provisioned on the virtual machine.

When this property is not specified in the request body, default behavior is to set it to true. This will ensure that VM Agent is installed on the VM so that extensions can be added to the VM later. */ - provisionVMAgent?: boolean; - /** 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. */ - enableAutomaticUpdates?: boolean; - /** 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). */ - timeZone?: string; - /** Specifies additional base-64 encoded XML formatted information that can be included in the Unattend.xml file, which is used by Windows Setup. */ - additionalUnattendContent?: AdditionalUnattendContent[]; - /** [Preview Feature] Specifies settings related to VM Guest Patching on Windows. */ - patchSettings?: PatchSettings; - /** Specifies the Windows Remote Management listeners. This enables remote Windows PowerShell. */ - winRM?: WinRMConfiguration; +/** Describes a virtual machines scale sets network configuration's DNS settings. */ +export interface VirtualMachineScaleSetNetworkConfigurationDnsSettings { + /** List of DNS servers IP addresses */ + dnsServers?: string[]; } -/** Specifies additional XML formatted information that can be included in the Unattend.xml file, which is used by Windows Setup. Contents are defined by setting name, component name, and the pass in which the content is applied. */ -export interface AdditionalUnattendContent { - /** The pass name. Currently, the only allowable value is OobeSystem. */ - passName?: "OobeSystem"; - /** The component name. Currently, the only allowable value is Microsoft-Windows-Shell-Setup. */ - componentName?: "Microsoft-Windows-Shell-Setup"; - /** Specifies the name of the setting to which the content applies. Possible values are: FirstLogonCommands and AutoLogon. */ - settingName?: SettingNames; - /** Specifies the XML formatted content that is added to the unattend.xml file for the specified path and component. The XML must be less than 4KB and must include the root element for the setting or feature that is being inserted. */ - content?: string; +/** Describes a virtual machines scale set IP Configuration's PublicIPAddress configuration */ +export interface VirtualMachineScaleSetPublicIPAddressConfiguration { + /** The publicIP address configuration name. */ + name: string; + /** Describes the public IP Sku. It can only be set with OrchestrationMode as Flexible. */ + sku?: PublicIPAddressSku; + /** The idle timeout of the public IP address. */ + idleTimeoutInMinutes?: number; + /** The dns settings to be applied on the publicIP addresses . */ + dnsSettings?: VirtualMachineScaleSetPublicIPAddressConfigurationDnsSettings; + /** The list of IP tags associated with the public IP address. */ + ipTags?: VirtualMachineScaleSetIpTag[]; + /** The PublicIPPrefix from which to allocate publicIP addresses. */ + publicIPPrefix?: SubResource; + /** Available from Api-Version 2019-07-01 onwards, it represents whether the specific ipconfiguration is IPv4 or IPv6. Default is taken as IPv4. Possible values are: 'IPv4' and 'IPv6'. */ + publicIPAddressVersion?: IPVersion; + /** Specify what happens to the public IP when the VM is deleted */ + deleteOption?: DeleteOptions; } -/** Specifies settings related to VM Guest Patching on Windows. */ -export interface PatchSettings { - /** Specifies the mode of VM Guest Patching to IaaS virtual machine or virtual machines associated to virtual machine scale set with OrchestrationMode as Flexible.

Possible values are:

**Manual** - You control the application of patches to a virtual machine. You do this by applying patches manually inside the VM. In this mode, automatic updates are disabled; the property WindowsConfiguration.enableAutomaticUpdates must be false

**AutomaticByOS** - The virtual machine will automatically be updated by the OS. The property WindowsConfiguration.enableAutomaticUpdates must be true.

**AutomaticByPlatform** - the virtual machine will automatically updated by the platform. The properties provisionVMAgent and WindowsConfiguration.enableAutomaticUpdates must be true */ - patchMode?: WindowsVMGuestPatchMode; - /** Enables customers to patch their Azure VMs without requiring a reboot. For enableHotpatching, the 'provisionVMAgent' must be set to true and 'patchMode' must be set to 'AutomaticByPlatform'. */ - enableHotpatching?: boolean; - /** Specifies the mode of VM Guest patch assessment for the IaaS virtual machine.

Possible values are:

**ImageDefault** - You control the timing of patch assessments on a virtual machine.

**AutomaticByPlatform** - The platform will trigger periodic patch assessments. The property provisionVMAgent must be true. */ - assessmentMode?: WindowsPatchAssessmentMode; +/** Describes a virtual machines scale sets network configuration's DNS settings. */ +export interface VirtualMachineScaleSetPublicIPAddressConfigurationDnsSettings { + /** The Domain name label.The concatenation of the domain name label and vm index will be the domain name labels of the PublicIPAddress resources that will be created */ + domainNameLabel: string; } -/** Describes Windows Remote Management configuration of the VM */ -export interface WinRMConfiguration { - /** The list of Windows Remote Management listeners */ - listeners?: WinRMListener[]; +/** Contains the IP tag associated with the public IP address. */ +export interface VirtualMachineScaleSetIpTag { + /** IP tag type. Example: FirstPartyUsage. */ + ipTagType?: string; + /** IP tag associated with the public IP. Example: SQL, Storage etc. */ + tag?: string; } -/** Describes Protocol and thumbprint of Windows Remote Management listener */ -export interface WinRMListener { - /** Specifies the protocol of WinRM listener.

Possible values are:
**http**

**https** */ - protocol?: ProtocolTypes; - /** This is the URL of a certificate that has been uploaded to Key Vault as a secret. For adding a secret to the Key Vault, see [Add a key or secret to the key vault](https://docs.microsoft.com/azure/key-vault/key-vault-get-started/#add). In this case, your certificate needs to be It is the Base64 encoding of the following JSON Object which is encoded in UTF-8:

{
"data":"",
"dataType":"pfx",
"password":""
}
To install certificates on a virtual machine it is recommended to use the [Azure Key Vault virtual machine extension for Linux](https://docs.microsoft.com/azure/virtual-machines/extensions/key-vault-linux) or the [Azure Key Vault virtual machine extension for Windows](https://docs.microsoft.com/azure/virtual-machines/extensions/key-vault-windows). */ - certificateUrl?: string; +/** Describes the public IP Sku. It can only be set with OrchestrationMode as Flexible. */ +export interface PublicIPAddressSku { + /** Specify public IP sku name */ + name?: PublicIPAddressSkuName; + /** Specify public IP sku tier */ + tier?: PublicIPAddressSkuTier; } -/** Specifies the Linux operating system settings on the virtual machine.

For a list of supported Linux distributions, see [Linux on Azure-Endorsed Distributions](https://docs.microsoft.com/azure/virtual-machines/linux/endorsed-distros). */ -export interface LinuxConfiguration { - /** Specifies whether password authentication should be disabled. */ - disablePasswordAuthentication?: boolean; - /** Specifies the ssh key configuration for a Linux OS. */ - ssh?: SshConfiguration; - /** Indicates whether virtual machine agent should be provisioned on the virtual machine.

When this property is not specified in the request body, default behavior is to set it to true. This will ensure that VM Agent is installed on the VM so that extensions can be added to the VM later. */ - provisionVMAgent?: boolean; - /** [Preview Feature] Specifies settings related to VM Guest Patching on Linux. */ - patchSettings?: LinuxPatchSettings; +/** Specifies the Security profile settings for the virtual machine or virtual machine scale set. */ +export interface SecurityProfile { + /** Specifies the security settings like secure boot and vTPM used while creating the virtual machine.

Minimum api-version: 2020-12-01 */ + uefiSettings?: UefiSettings; + /** This property can be used by user in the request to enable or disable the Host Encryption for the virtual machine or virtual machine scale set. This will enable the encryption for all the disks including Resource/Temp disk at host itself.

Default: The Encryption at host will be disabled unless this property is set to true for the resource. */ + encryptionAtHost?: boolean; + /** Specifies the SecurityType of the virtual machine. It has to be set to any specified value to enable UefiSettings.

Default: UefiSettings will not be enabled unless this property is set. */ + securityType?: SecurityTypes; } -/** SSH configuration for Linux based VMs running on Azure */ -export interface SshConfiguration { - /** The list of SSH public keys used to authenticate with linux based VMs. */ - publicKeys?: SshPublicKey[]; +/** Specifies the security settings like secure boot and vTPM used while creating the virtual machine.

Minimum api-version: 2020-12-01 */ +export interface UefiSettings { + /** Specifies whether secure boot should be enabled on the virtual machine.

Minimum api-version: 2020-12-01 */ + secureBootEnabled?: boolean; + /** Specifies whether vTPM should be enabled on the virtual machine.

Minimum api-version: 2020-12-01 */ + vTpmEnabled?: boolean; } -/** Contains information about SSH certificate public key and the path on the Linux VM where the public key is placed. */ -export interface SshPublicKey { - /** Specifies the full path on the created VM where ssh public key is stored. If the file already exists, the specified key is appended to the file. Example: /home/user/.ssh/authorized_keys */ - path?: string; - /** SSH public key certificate used to authenticate with the VM through ssh. The key needs to be at least 2048-bit and in ssh-rsa format.

For creating ssh keys, see [Create SSH keys on Linux and Mac for Linux VMs in Azure]https://docs.microsoft.com/azure/virtual-machines/linux/create-ssh-keys-detailed). */ - keyData?: string; +/** Specifies the boot diagnostic settings state.

Minimum api-version: 2015-06-15. */ +export interface DiagnosticsProfile { + /** Boot Diagnostics is a debugging feature which allows you to view Console Output and Screenshot to diagnose VM status.
**NOTE**: If storageUri is being specified then ensure that the storage account is in the same region and subscription as the VM.

You can easily view the output of your console log.

Azure also enables you to see a screenshot of the VM from the hypervisor. */ + bootDiagnostics?: BootDiagnostics; } -/** Specifies settings related to VM Guest Patching on Linux. */ -export interface LinuxPatchSettings { - /** Specifies the mode of VM Guest Patching to IaaS virtual machine or virtual machines associated to virtual machine scale set with OrchestrationMode as Flexible.

Possible values are:

**ImageDefault** - The virtual machine's default patching configuration is used.

**AutomaticByPlatform** - The virtual machine will be automatically updated by the platform. The property provisionVMAgent must be true */ - patchMode?: LinuxVMGuestPatchMode; - /** Specifies the mode of VM Guest Patch Assessment for the IaaS virtual machine.

Possible values are:

**ImageDefault** - You control the timing of patch assessments on a virtual machine.

**AutomaticByPlatform** - The platform will trigger periodic patch assessments. The property provisionVMAgent must be true. */ - assessmentMode?: LinuxPatchAssessmentMode; +/** Boot Diagnostics is a debugging feature which allows you to view Console Output and Screenshot to diagnose VM status.

You can easily view the output of your console log.

Azure also enables you to see a screenshot of the VM from the hypervisor. */ +export interface BootDiagnostics { + /** Whether boot diagnostics should be enabled on the Virtual Machine. */ + enabled?: boolean; + /** Uri of the storage account to use for placing the console output and screenshot.

If storageUri is not specified while enabling boot diagnostics, managed storage will be used. */ + storageUri?: string; } -/** Describes a set of certificates which are all in the same Key Vault. */ -export interface VaultSecretGroup { - /** The relative URL of the Key Vault containing all of the certificates in VaultCertificates. */ - sourceVault?: SubResource; - /** The list of key vault references in SourceVault which contain certificates. */ - vaultCertificates?: VaultCertificate[]; +/** Describes a virtual machine scale set extension profile. */ +export interface VirtualMachineScaleSetExtensionProfile { + /** The virtual machine scale set child extension resources. */ + extensions?: VirtualMachineScaleSetExtension[]; + /** Specifies the time alloted for all extensions to start. The time duration should be between 15 minutes and 120 minutes (inclusive) and should be specified in ISO 8601 format. The default value is 90 minutes (PT1H30M).

Minimum api-version: 2020-06-01 */ + extensionsTimeBudget?: string; } -/** Describes a single certificate reference in a Key Vault, and where the certificate should reside on the VM. */ -export interface VaultCertificate { - /** This is the URL of a certificate that has been uploaded to Key Vault as a secret. For adding a secret to the Key Vault, see [Add a key or secret to the key vault](https://docs.microsoft.com/azure/key-vault/key-vault-get-started/#add). In this case, your certificate needs to be It is the Base64 encoding of the following JSON Object which is encoded in UTF-8:

{
"data":"",
"dataType":"pfx",
"password":""
}
To install certificates on a virtual machine it is recommended to use the [Azure Key Vault virtual machine extension for Linux](https://docs.microsoft.com/azure/virtual-machines/extensions/key-vault-linux) or the [Azure Key Vault virtual machine extension for Windows](https://docs.microsoft.com/azure/virtual-machines/extensions/key-vault-windows). */ - certificateUrl?: string; - /** For Windows VMs, specifies the certificate store on the Virtual Machine to which the certificate should be added. The specified certificate store is implicitly in the LocalMachine account.

For Linux VMs, the certificate file is placed under the /var/lib/waagent directory, with the file name <UppercaseThumbprint>.crt for the X509 certificate file and <UppercaseThumbprint>.prv for private key. Both of these files are .pem formatted. */ - certificateStore?: string; +export interface SubResourceReadOnly { + /** + * Resource Id + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly id?: string; } -/** Specifies the network interfaces or the networking configuration of the virtual machine. */ -export interface NetworkProfile { - /** Specifies the list of resource Ids for the network interfaces associated with the virtual machine. */ - networkInterfaces?: NetworkInterfaceReference[]; - /** specifies the Microsoft.Network API version used when creating networking resources in the Network Interface Configurations */ - networkApiVersion?: NetworkApiVersion; - /** Specifies the networking configurations that will be used to create the virtual machine networking resources. */ - networkInterfaceConfigurations?: VirtualMachineNetworkInterfaceConfiguration[]; -} - -/** Describes a virtual machine network interface configurations. */ -export interface VirtualMachineNetworkInterfaceConfiguration { - /** The network interface configuration name. */ - name: string; - /** Specifies the primary network interface in case the virtual machine has more than 1 network interface. */ - primary?: boolean; - /** Specify what happens to the network interface when the VM is deleted */ - deleteOption?: DeleteOptions; - /** Specifies whether the network interface is accelerated networking-enabled. */ - enableAcceleratedNetworking?: boolean; - /** Specifies whether the network interface is FPGA networking-enabled. */ - enableFpga?: boolean; - /** Whether IP forwarding enabled on this NIC. */ - enableIPForwarding?: boolean; - /** The network security group. */ - networkSecurityGroup?: SubResource; - /** The dns settings to be applied on the network interfaces. */ - dnsSettings?: VirtualMachineNetworkInterfaceDnsSettingsConfiguration; - /** Specifies the IP configurations of the network interface. */ - ipConfigurations?: VirtualMachineNetworkInterfaceIPConfiguration[]; - dscpConfiguration?: SubResource; +/** Specifies the billing related details of a Azure Spot VM or VMSS.

Minimum api-version: 2019-03-01. */ +export interface BillingProfile { + /** Specifies the maximum price you are willing to pay for a Azure Spot VM/VMSS. This price is in US Dollars.

This price will be compared with the current Azure Spot price for the VM size. Also, the prices are compared at the time of create/update of Azure Spot VM/VMSS and the operation will only succeed if the maxPrice is greater than the current Azure Spot price.

The maxPrice will also be used for evicting a Azure Spot VM/VMSS if the current Azure Spot price goes beyond the maxPrice after creation of VM/VMSS.

Possible values are:

- Any decimal value greater than zero. Example: 0.01538

-1 – indicates default price to be up-to on-demand.

You can set the maxPrice to -1 to indicate that the Azure Spot VM/VMSS should not be evicted for price reasons. Also, the default max price is -1 if it is not provided by you.

Minimum api-version: 2019-03-01. */ + maxPrice?: number; } -/** Describes a virtual machines network configuration's DNS settings. */ -export interface VirtualMachineNetworkInterfaceDnsSettingsConfiguration { - /** List of DNS servers IP addresses */ - dnsServers?: string[]; +export interface ScheduledEventsProfile { + /** Specifies Terminate Scheduled Event related configurations. */ + terminateNotificationProfile?: TerminateNotificationProfile; } -/** Describes a virtual machine network profile's IP configuration. */ -export interface VirtualMachineNetworkInterfaceIPConfiguration { - /** The IP configuration name. */ - name: string; - /** Specifies the identifier of the subnet. */ - subnet?: SubResource; - /** Specifies the primary network interface in case the virtual machine has more than 1 network interface. */ - primary?: boolean; - /** The publicIPAddressConfiguration. */ - publicIPAddressConfiguration?: VirtualMachinePublicIPAddressConfiguration; - /** Available from Api-Version 2017-03-30 onwards, it represents whether the specific ipconfiguration is IPv4 or IPv6. Default is taken as IPv4. Possible values are: 'IPv4' and 'IPv6'. */ - privateIPAddressVersion?: IPVersions; - /** Specifies an array of references to application security group. */ - applicationSecurityGroups?: SubResource[]; - /** Specifies an array of references to backend address pools of application gateways. A virtual machine can reference backend address pools of multiple application gateways. Multiple virtual machines cannot use the same application gateway. */ - applicationGatewayBackendAddressPools?: SubResource[]; - /** Specifies an array of references to backend address pools of load balancers. A virtual machine can reference backend address pools of one public and one internal load balancer. [Multiple virtual machines cannot use the same basic sku load balancer]. */ - loadBalancerBackendAddressPools?: SubResource[]; +export interface TerminateNotificationProfile { + /** Configurable length of time a Virtual Machine being deleted will have to potentially approve the Terminate Scheduled Event before the event is auto approved (timed out). The configuration must be specified in ISO 8601 format, the default value is 5 minutes (PT5M) */ + notBeforeTimeout?: string; + /** Specifies whether the Terminate Scheduled event is enabled or disabled. */ + enable?: boolean; } -/** Describes a virtual machines IP Configuration's PublicIPAddress configuration */ -export interface VirtualMachinePublicIPAddressConfiguration { - /** The publicIP address configuration name. */ - name: string; - /** Describes the public IP Sku. It can only be set with OrchestrationMode as Flexible. */ - sku?: PublicIPAddressSku; - /** The idle timeout of the public IP address. */ - idleTimeoutInMinutes?: number; - /** Specify what happens to the public IP address when the VM is deleted */ - deleteOption?: DeleteOptions; - /** The dns settings to be applied on the publicIP addresses . */ - dnsSettings?: VirtualMachinePublicIPAddressDnsSettingsConfiguration; - /** The list of IP tags associated with the public IP address. */ - ipTags?: VirtualMachineIpTag[]; - /** The PublicIPPrefix from which to allocate publicIP addresses. */ - publicIPPrefix?: SubResource; - /** Available from Api-Version 2019-07-01 onwards, it represents whether the specific ipconfiguration is IPv4 or IPv6. Default is taken as IPv4. Possible values are: 'IPv4' and 'IPv6'. */ - publicIPAddressVersion?: IPVersions; - /** Specify the public IP allocation type */ - publicIPAllocationMethod?: PublicIPAllocationMethod; +/** The parameters of a capacity reservation Profile. */ +export interface CapacityReservationProfile { + /** Specifies the capacity reservation group resource id that should be used for allocating the virtual machine or scaleset vm instances provided enough capacity has been reserved. Please refer to https://aka.ms/CapacityReservation for more details. */ + capacityReservationGroup?: SubResource; } -/** Describes a virtual machines network configuration's DNS settings. */ -export interface VirtualMachinePublicIPAddressDnsSettingsConfiguration { - /** The Domain name label prefix of the PublicIPAddress resources that will be created. The generated name label is the concatenation of the domain name label and vm network profile unique ID. */ - domainNameLabel: string; +/** Contains the list of gallery applications that should be made available to the VM/VMSS */ +export interface ApplicationProfile { + /** Specifies the gallery applications that should be made available to the VM/VMSS */ + galleryApplications?: VMGalleryApplication[]; } -/** Contains the IP tag associated with the public IP address. */ -export interface VirtualMachineIpTag { - /** IP tag type. Example: FirstPartyUsage. */ - ipTagType?: string; - /** IP tag associated with the public IP. Example: SQL, Storage etc. */ - tag?: string; +/** Specifies the required information to reference a compute gallery application version */ +export interface VMGalleryApplication { + /** Optional, Specifies a passthrough value for more generic context. */ + tags?: string; + /** Optional, Specifies the order in which the packages have to be installed */ + order?: number; + /** Specifies the GalleryApplicationVersion resource id on the form of /subscriptions/{SubscriptionId}/resourceGroups/{ResourceGroupName}/providers/Microsoft.Compute/galleries/{galleryName}/applications/{application}/versions/{version} */ + packageReferenceId: string; + /** Optional, Specifies the uri to an azure blob that will replace the default configuration for the package if provided */ + configurationReference?: string; + /** Optional, If true, any failure for any operation in the VmApplication will fail the deployment */ + treatFailureAsDeploymentFailure?: boolean; + /** If set to true, when a new Gallery Application version is available in PIR/SIG, it will be automatically updated for the VM/VMSS */ + enableAutomaticUpgrade?: boolean; } -/** Describes the public IP Sku. It can only be set with OrchestrationMode as Flexible. */ -export interface PublicIPAddressSku { - /** Specify public IP sku name */ - name?: PublicIPAddressSkuName; - /** Specify public IP sku tier */ - tier?: PublicIPAddressSkuTier; +/** Specifies the hardware settings for the virtual machine scale set. */ +export interface VirtualMachineScaleSetHardwareProfile { + /** Specifies the properties for customizing the size of the virtual machine. Minimum api-version: 2022-03-01.

Please follow the instructions in [VM Customization](https://aka.ms/vmcustomization) for more details. */ + vmSizeProperties?: VMSizeProperties; } -/** Specifies the Security profile settings for the virtual machine or virtual machine scale set. */ -export interface SecurityProfile { - /** Specifies the security settings like secure boot and vTPM used while creating the virtual machine.

Minimum api-version: 2020-12-01 */ - uefiSettings?: UefiSettings; - /** This property can be used by user in the request to enable or disable the Host Encryption for the virtual machine or virtual machine scale set. This will enable the encryption for all the disks including Resource/Temp disk at host itself.

Default: The Encryption at host will be disabled unless this property is set to true for the resource. */ - encryptionAtHost?: boolean; - /** Specifies the SecurityType of the virtual machine. It has to be set to any specified value to enable UefiSettings.

Default: UefiSettings will not be enabled unless this property is set. */ - securityType?: SecurityTypes; +/** Specifies VM Size Property settings on the virtual machine. */ +export interface VMSizeProperties { + /** Specifies the number of vCPUs available for the VM.

When this property is not specified in the request body the default behavior is to set it to the value of vCPUs available for that VM size exposed in api response of [List all available virtual machine sizes in a region](https://docs.microsoft.com/en-us/rest/api/compute/resource-skus/list) . */ + vCPUsAvailable?: number; + /** Specifies the vCPU to physical core ratio.

When this property is not specified in the request body the default behavior is set to the value of vCPUsPerCore for the VM Size exposed in api response of [List all available virtual machine sizes in a region](https://docs.microsoft.com/en-us/rest/api/compute/resource-skus/list)

Setting this property to 1 also means that hyper-threading is disabled. */ + vCPUsPerCore?: number; } -/** Specifies the security settings like secure boot and vTPM used while creating the virtual machine.

Minimum api-version: 2020-12-01 */ -export interface UefiSettings { - /** Specifies whether secure boot should be enabled on the virtual machine.

Minimum api-version: 2020-12-01 */ - secureBootEnabled?: boolean; - /** Specifies whether vTPM should be enabled on the virtual machine.

Minimum api-version: 2020-12-01 */ - vTpmEnabled?: boolean; +/** Enables or disables a capability on the virtual machine or virtual machine scale set. */ +export interface AdditionalCapabilities { + /** The flag that enables or disables a capability to have one or more managed data disks with UltraSSD_LRS storage account type on the VM or VMSS. Managed disks with storage account type UltraSSD_LRS can be added to a virtual machine or virtual machine scale set only if this property is enabled. */ + ultraSSDEnabled?: boolean; + /** The flag that enables or disables hibernation capability on the VM. */ + hibernationEnabled?: boolean; } -/** Specifies the boot diagnostic settings state.

Minimum api-version: 2015-06-15. */ -export interface DiagnosticsProfile { - /** Boot Diagnostics is a debugging feature which allows you to view Console Output and Screenshot to diagnose VM status.
**NOTE**: If storageUri is being specified then ensure that the storage account is in the same region and subscription as the VM.

You can easily view the output of your console log.

Azure also enables you to see a screenshot of the VM from the hypervisor. */ - bootDiagnostics?: BootDiagnostics; +/** Describes a scale-in policy for a virtual machine scale set. */ +export interface ScaleInPolicy { + /** The rules to be followed when scaling-in a virtual machine scale set.

Possible values are:

**Default** When a virtual machine scale set is scaled in, the scale set will first be balanced across zones if it is a zonal scale set. Then, it will be balanced across Fault Domains as far as possible. Within each Fault Domain, the virtual machines chosen for removal will be the newest ones that are not protected from scale-in.

**OldestVM** When a virtual machine scale set is being scaled-in, the oldest virtual machines that are not protected from scale-in will be chosen for removal. For zonal virtual machine scale sets, the scale set will first be balanced across zones. Within each zone, the oldest virtual machines that are not protected will be chosen for removal.

**NewestVM** When a virtual machine scale set is being scaled-in, the newest virtual machines that are not protected from scale-in will be chosen for removal. For zonal virtual machine scale sets, the scale set will first be balanced across zones. Within each zone, the newest virtual machines that are not protected will be chosen for removal.

*/ + rules?: VirtualMachineScaleSetScaleInRules[]; + /** This property allows you to specify if virtual machines chosen for removal have to be force deleted when a virtual machine scale set is being scaled-in.(Feature in Preview) */ + forceDeletion?: boolean; } -/** Boot Diagnostics is a debugging feature which allows you to view Console Output and Screenshot to diagnose VM status.

You can easily view the output of your console log.

Azure also enables you to see a screenshot of the VM from the hypervisor. */ -export interface BootDiagnostics { - /** Whether boot diagnostics should be enabled on the Virtual Machine. */ +/** Specifies the Spot-Try-Restore properties for the virtual machine scale set.

With this property customer can enable or disable automatic restore of the evicted Spot VMSS VM instances opportunistically based on capacity availability and pricing constraint. */ +export interface SpotRestorePolicy { + /** Enables the Spot-Try-Restore feature where evicted VMSS SPOT instances will be tried to be restored opportunistically based on capacity availability and pricing constraints */ enabled?: boolean; - /** Uri of the storage account to use for placing the console output and screenshot.

If storageUri is not specified while enabling boot diagnostics, managed storage will be used. */ - storageUri?: string; -} - -/** Specifies the billing related details of a Azure Spot VM or VMSS.

Minimum api-version: 2019-03-01. */ -export interface BillingProfile { - /** Specifies the maximum price you are willing to pay for a Azure Spot VM/VMSS. This price is in US Dollars.

This price will be compared with the current Azure Spot price for the VM size. Also, the prices are compared at the time of create/update of Azure Spot VM/VMSS and the operation will only succeed if the maxPrice is greater than the current Azure Spot price.

The maxPrice will also be used for evicting a Azure Spot VM/VMSS if the current Azure Spot price goes beyond the maxPrice after creation of VM/VMSS.

Possible values are:

- Any decimal value greater than zero. Example: 0.01538

-1 – indicates default price to be up-to on-demand.

You can set the maxPrice to -1 to indicate that the Azure Spot VM/VMSS should not be evicted for price reasons. Also, the default max price is -1 if it is not provided by you.

Minimum api-version: 2019-03-01. */ - maxPrice?: number; + /** Timeout value expressed as an ISO 8601 time duration after which the platform will not try to restore the VMSS SPOT instances */ + restoreTimeout?: string; } -/** The instance view of a virtual machine. */ -export interface VirtualMachineInstanceView { - /** Specifies the update domain of the virtual machine. */ - platformUpdateDomain?: number; - /** Specifies the fault domain of the virtual machine. */ - platformFaultDomain?: number; - /** The computer name assigned to the virtual machine. */ - computerName?: string; - /** The Operating System running on the virtual machine. */ - osName?: string; - /** The version of Operating System running on the virtual machine. */ - osVersion?: string; - /** Specifies the HyperVGeneration Type associated with a resource */ - hyperVGeneration?: HyperVGenerationType; - /** The Remote desktop certificate thumbprint. */ - rdpThumbPrint?: string; - /** The VM Agent running on the virtual machine. */ - vmAgent?: VirtualMachineAgentInstanceView; - /** The Maintenance Operation status on the virtual machine. */ - maintenanceRedeployStatus?: MaintenanceRedeployStatus; - /** The virtual machine disk information. */ - disks?: DiskInstanceView[]; - /** The extensions information. */ - extensions?: VirtualMachineExtensionInstanceView[]; +/** Identity for the virtual machine scale set. */ +export interface VirtualMachineScaleSetIdentity { /** - * The health status for the VM. + * The principal id of virtual machine scale set identity. This property will only be provided for a system assigned identity. * NOTE: This property will not be serialized. It can only be populated by the server. */ - readonly vmHealth?: VirtualMachineHealthStatus; - /** Boot Diagnostics is a debugging feature which allows you to view Console Output and Screenshot to diagnose VM status.

You can easily view the output of your console log.

Azure also enables you to see a screenshot of the VM from the hypervisor. */ - bootDiagnostics?: BootDiagnosticsInstanceView; + readonly principalId?: string; /** - * Resource id of the dedicated host, on which the virtual machine is allocated through automatic placement, when the virtual machine is associated with a dedicated host group that has automatic placement enabled.

Minimum api-version: 2020-06-01. + * The tenant id associated with the virtual machine scale set. This property will only be provided for a system assigned identity. * NOTE: This property will not be serialized. It can only be populated by the server. */ - readonly assignedHost?: string; - /** The resource status information. */ - statuses?: InstanceViewStatus[]; - /** [Preview Feature] The status of virtual machine patch operations. */ - patchStatus?: VirtualMachinePatchStatus; + readonly tenantId?: string; + /** The type of identity used for the virtual machine scale set. The type 'SystemAssigned, UserAssigned' includes both an implicitly created identity and a set of user assigned identities. The type 'None' will remove any identities from the virtual machine scale set. */ + type?: ResourceIdentityType; + /** The list of user identities associated with the virtual machine scale set. The user identity dictionary key references will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}'. */ + userAssignedIdentities?: { + [propertyName: string]: VirtualMachineScaleSetIdentityUserAssignedIdentitiesValue; + }; } -/** The instance view of the VM Agent running on the virtual machine. */ -export interface VirtualMachineAgentInstanceView { - /** The VM Agent full version. */ - vmAgentVersion?: string; - /** The virtual machine extension handler instance view. */ - extensionHandlers?: VirtualMachineExtensionHandlerInstanceView[]; - /** The resource status information. */ - statuses?: InstanceViewStatus[]; +export interface VirtualMachineScaleSetIdentityUserAssignedIdentitiesValue { + /** + * The principal id of user assigned identity. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly principalId?: string; + /** + * The client id of user assigned identity. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly clientId?: string; } -/** The instance view of a virtual machine extension handler. */ -export interface VirtualMachineExtensionHandlerInstanceView { - /** Specifies the type of the extension; an example is "CustomScriptExtension". */ - type?: string; - /** Specifies the version of the script handler. */ - typeHandlerVersion?: string; - /** The extension handler status. */ - status?: InstanceViewStatus; +/** The complex type of the extended location. */ +export interface ExtendedLocation { + /** The name of the extended location. */ + name?: string; + /** The type of the extended location. */ + type?: ExtendedLocationTypes; } -/** Maintenance Operation Status. */ -export interface MaintenanceRedeployStatus { - /** True, if customer is allowed to perform Maintenance. */ - isCustomerInitiatedMaintenanceAllowed?: boolean; - /** Start Time for the Pre Maintenance Window. */ - preMaintenanceWindowStartTime?: Date; - /** End Time for the Pre Maintenance Window. */ - preMaintenanceWindowEndTime?: Date; - /** Start Time for the Maintenance Window. */ - maintenanceWindowStartTime?: Date; - /** End Time for the Maintenance Window. */ - maintenanceWindowEndTime?: Date; - /** The Last Maintenance Operation Result Code. */ - lastOperationResultCode?: MaintenanceOperationResultCodeTypes; - /** Message returned for the last Maintenance Operation. */ - lastOperationMessage?: string; -} - -/** The instance view of the disk. */ -export interface DiskInstanceView { - /** The disk name. */ - name?: string; - /** Specifies the encryption settings for the OS Disk.

Minimum api-version: 2015-06-15 */ - encryptionSettings?: DiskEncryptionSettings[]; - /** The resource status information. */ - statuses?: InstanceViewStatus[]; -} - -/** The health status of the VM. */ -export interface VirtualMachineHealthStatus { - /** - * The health status information for the VM. - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly status?: InstanceViewStatus; -} - -/** The instance view of a virtual machine boot diagnostics. */ -export interface BootDiagnosticsInstanceView { +/** The Resource model definition. */ +export interface Resource { /** - * The console screenshot blob URI.

NOTE: This will **not** be set if boot diagnostics is currently enabled with managed storage. + * Resource Id * NOTE: This property will not be serialized. It can only be populated by the server. */ - readonly consoleScreenshotBlobUri?: string; + readonly id?: string; /** - * The serial console log blob Uri.

NOTE: This will **not** be set if boot diagnostics is currently enabled with managed storage. + * Resource name * NOTE: This property will not be serialized. It can only be populated by the server. */ - readonly serialConsoleLogBlobUri?: string; + readonly name?: string; /** - * The boot diagnostics status information for the VM.

NOTE: It will be set only if there are errors encountered in enabling boot diagnostics. + * Resource type * NOTE: This property will not be serialized. It can only be populated by the server. */ - readonly status?: InstanceViewStatus; + readonly type?: string; + /** Resource location */ + location: string; + /** Resource tags */ + tags?: { [propertyName: string]: string }; } -/** The status of virtual machine patch operations. */ -export interface VirtualMachinePatchStatus { - /** The available patch summary of the latest assessment operation for the virtual machine. */ - availablePatchSummary?: AvailablePatchSummary; - /** The installation summary of the latest installation operation for the virtual machine. */ - lastPatchInstallationSummary?: LastPatchInstallationSummary; - /** - * The enablement status of the specified patchMode - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly configurationStatuses?: InstanceViewStatus[]; +/** Describes a virtual machine scale set virtual machine profile. */ +export interface VirtualMachineScaleSetUpdateVMProfile { + /** The virtual machine scale set OS profile. */ + osProfile?: VirtualMachineScaleSetUpdateOSProfile; + /** The virtual machine scale set storage profile. */ + storageProfile?: VirtualMachineScaleSetUpdateStorageProfile; + /** The virtual machine scale set network profile. */ + networkProfile?: VirtualMachineScaleSetUpdateNetworkProfile; + /** The virtual machine scale set Security profile */ + securityProfile?: SecurityProfile; + /** The virtual machine scale set diagnostics profile. */ + diagnosticsProfile?: DiagnosticsProfile; + /** The virtual machine scale set extension profile. */ + extensionProfile?: VirtualMachineScaleSetExtensionProfile; + /** The license type, which is for bring your own license scenario. */ + licenseType?: string; + /** Specifies the billing related details of a Azure Spot VMSS.

Minimum api-version: 2019-03-01. */ + billingProfile?: BillingProfile; + /** Specifies Scheduled Event related configurations. */ + scheduledEventsProfile?: ScheduledEventsProfile; + /** UserData for the VM, which must be base-64 encoded. Customer should not pass any secrets in here.

Minimum api-version: 2021-03-01 */ + userData?: string; } -/** Describes the properties of an virtual machine instance view for available patch summary. */ -export interface AvailablePatchSummary { - /** - * The overall success or failure status of the operation. It remains "InProgress" until the operation completes. At that point it will become "Unknown", "Failed", "Succeeded", or "CompletedWithWarnings." - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly status?: PatchOperationStatus; - /** - * The activity ID of the operation that produced this result. It is used to correlate across CRP and extension logs. - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly assessmentActivityId?: string; +/** Describes a virtual machine scale set OS profile. */ +export interface VirtualMachineScaleSetUpdateOSProfile { + /** A base-64 encoded string of custom data. */ + customData?: string; + /** The Windows Configuration of the OS profile. */ + windowsConfiguration?: WindowsConfiguration; + /** The Linux Configuration of the OS profile. */ + linuxConfiguration?: LinuxConfiguration; + /** The List of certificates for addition to the VM. */ + secrets?: VaultSecretGroup[]; +} + +/** Describes a virtual machine scale set storage profile. */ +export interface VirtualMachineScaleSetUpdateStorageProfile { + /** The image reference. */ + imageReference?: ImageReference; + /** The OS disk. */ + osDisk?: VirtualMachineScaleSetUpdateOSDisk; + /** The data disks. */ + dataDisks?: VirtualMachineScaleSetDataDisk[]; +} + +/** Describes virtual machine scale set operating system disk Update Object. This should be used for Updating VMSS OS Disk. */ +export interface VirtualMachineScaleSetUpdateOSDisk { + /** The caching type. */ + caching?: CachingTypes; + /** Specifies whether writeAccelerator should be enabled or disabled on the disk. */ + writeAcceleratorEnabled?: boolean; + /** Specifies the size of the operating system disk in gigabytes. This element can be used to overwrite the size of the disk in a virtual machine image.

This value cannot be larger than 1023 GB */ + diskSizeGB?: number; + /** The Source User Image VirtualHardDisk. This VirtualHardDisk will be copied before using it to attach to the Virtual Machine. If SourceImage is provided, the destination VirtualHardDisk should not exist. */ + image?: VirtualHardDisk; + /** The list of virtual hard disk container uris. */ + vhdContainers?: string[]; + /** The managed disk parameters. */ + managedDisk?: VirtualMachineScaleSetManagedDiskParameters; +} + +/** Describes a virtual machine scale set network profile. */ +export interface VirtualMachineScaleSetUpdateNetworkProfile { + /** A reference to a load balancer probe used to determine the health of an instance in the virtual machine scale set. The reference will be in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/loadBalancers/{loadBalancerName}/probes/{probeName}'. */ + healthProbe?: ApiEntityReference; + /** The list of network configurations. */ + networkInterfaceConfigurations?: VirtualMachineScaleSetUpdateNetworkConfiguration[]; + /** specifies the Microsoft.Network API version used when creating networking resources in the Network Interface Configurations for Virtual Machine Scale Set with orchestration mode 'Flexible' */ + networkApiVersion?: NetworkApiVersion; +} + +/** Describes a virtual machines scale set IP Configuration's PublicIPAddress configuration */ +export interface VirtualMachineScaleSetUpdatePublicIPAddressConfiguration { + /** The publicIP address configuration name. */ + name?: string; + /** The idle timeout of the public IP address. */ + idleTimeoutInMinutes?: number; + /** The dns settings to be applied on the publicIP addresses . */ + dnsSettings?: VirtualMachineScaleSetPublicIPAddressConfigurationDnsSettings; + /** The PublicIPPrefix from which to allocate publicIP addresses. */ + publicIPPrefix?: SubResource; + /** Specify what happens to the public IP when the VM is deleted */ + deleteOption?: DeleteOptions; +} + +/** The Update Resource model definition. */ +export interface UpdateResource { + /** Resource tags */ + tags?: { [propertyName: string]: string }; +} + +/** Specifies a list of virtual machine instance IDs from the VM scale set. */ +export interface VirtualMachineScaleSetVMInstanceIDs { + /** The virtual machine scale set instance ids. Omitting the virtual machine scale set instance ids will result in the operation being performed on all virtual machines in the virtual machine scale set. */ + instanceIds?: string[]; +} + +/** Specifies a list of virtual machine instance IDs from the VM scale set. */ +export interface VirtualMachineScaleSetVMInstanceRequiredIDs { + /** The virtual machine scale set instance ids. */ + instanceIds: string[]; +} + +/** The instance view of a virtual machine scale set. */ +export interface VirtualMachineScaleSetInstanceView { /** - * The overall reboot status of the VM. It will be true when partially installed patches require a reboot to complete installation but the reboot has not yet occurred. + * The instance view status summary for the virtual machine scale set. * NOTE: This property will not be serialized. It can only be populated by the server. */ - readonly rebootPending?: boolean; + readonly virtualMachine?: VirtualMachineScaleSetInstanceViewStatusesSummary; /** - * The number of critical or security patches that have been detected as available and not yet installed. + * The extensions information. * NOTE: This property will not be serialized. It can only be populated by the server. */ - readonly criticalAndSecurityPatchCount?: number; + readonly extensions?: VirtualMachineScaleSetVMExtensionsSummary[]; + /** The resource status information. */ + statuses?: InstanceViewStatus[]; /** - * The number of all available patches excluding critical and security. + * The orchestration services information. * NOTE: This property will not be serialized. It can only be populated by the server. */ - readonly otherPatchCount?: number; + readonly orchestrationServices?: OrchestrationServiceSummary[]; +} + +/** Instance view statuses summary for virtual machines of a virtual machine scale set. */ +export interface VirtualMachineScaleSetInstanceViewStatusesSummary { /** - * The UTC timestamp when the operation began. + * The extensions information. * NOTE: This property will not be serialized. It can only be populated by the server. */ - readonly startTime?: Date; + readonly statusesSummary?: VirtualMachineStatusCodeCount[]; +} + +/** The status code and count of the virtual machine scale set instance view status summary. */ +export interface VirtualMachineStatusCodeCount { /** - * The UTC timestamp when the operation began. + * The instance view status code. * NOTE: This property will not be serialized. It can only be populated by the server. */ - readonly lastModifiedTime?: Date; + readonly code?: string; /** - * The errors that were encountered during execution of the operation. The details array contains the list of them. + * The number of instances having a particular status code. * NOTE: This property will not be serialized. It can only be populated by the server. */ - readonly error?: ApiError; + readonly count?: number; } -/** Describes the properties of the last installed patch summary. */ -export interface LastPatchInstallationSummary { - /** - * The overall success or failure status of the operation. It remains "InProgress" until the operation completes. At that point it will become "Unknown", "Failed", "Succeeded", or "CompletedWithWarnings." - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly status?: PatchOperationStatus; +/** Extensions summary for virtual machines of a virtual machine scale set. */ +export interface VirtualMachineScaleSetVMExtensionsSummary { /** - * The activity ID of the operation that produced this result. It is used to correlate across CRP and extension logs. + * The extension name. * NOTE: This property will not be serialized. It can only be populated by the server. */ - readonly installationActivityId?: string; + readonly name?: string; /** - * Describes whether the operation ran out of time before it completed all its intended actions + * The extensions information. * NOTE: This property will not be serialized. It can only be populated by the server. */ - readonly maintenanceWindowExceeded?: boolean; + readonly statusesSummary?: VirtualMachineStatusCodeCount[]; +} + +/** Instance view status. */ +export interface InstanceViewStatus { + /** The status code. */ + code?: string; + /** The level code. */ + level?: StatusLevelTypes; + /** The short localizable label for the status. */ + displayStatus?: string; + /** The detailed status message, including for alerts and error messages. */ + message?: string; + /** The time of the status. */ + time?: Date; +} + +/** Summary for an orchestration service of a virtual machine scale set. */ +export interface OrchestrationServiceSummary { /** - * The number of all available patches but not going to be installed because it didn't match a classification or inclusion list entry. + * The name of the service. * NOTE: This property will not be serialized. It can only be populated by the server. */ - readonly notSelectedPatchCount?: number; + readonly serviceName?: OrchestrationServiceNames; /** - * The number of all available patches but excluded explicitly by a customer-specified exclusion list match. + * The current state of the service. * NOTE: This property will not be serialized. It can only be populated by the server. */ - readonly excludedPatchCount?: number; - /** - * The number of all available patches expected to be installed over the course of the patch installation operation. + readonly serviceState?: OrchestrationServiceState; +} + +/** The List VM scale set extension operation response. */ +export interface VirtualMachineScaleSetExtensionListResult { + /** The list of VM scale set extensions. */ + value: VirtualMachineScaleSetExtension[]; + /** The uri to fetch the next page of VM scale set extensions. Call ListNext() with this to fetch the next page of VM scale set extensions. */ + nextLink?: string; +} + +/** The List Virtual Machine operation response. */ +export interface VirtualMachineScaleSetListWithLinkResult { + /** The list of virtual machine scale sets. */ + value: VirtualMachineScaleSet[]; + /** The uri to fetch the next page of Virtual Machine Scale Sets. Call ListNext() with this to fetch the next page of Virtual Machine Scale Sets. */ + nextLink?: string; +} + +/** The Virtual Machine Scale Set List Skus operation response. */ +export interface VirtualMachineScaleSetListSkusResult { + /** The list of skus available for the virtual machine scale set. */ + value: VirtualMachineScaleSetSku[]; + /** The uri to fetch the next page of Virtual Machine Scale Set Skus. Call ListNext() with this to fetch the next page of VMSS Skus. */ + nextLink?: string; +} + +/** Describes an available virtual machine scale set sku. */ +export interface VirtualMachineScaleSetSku { + /** + * The type of resource the sku applies to. * NOTE: This property will not be serialized. It can only be populated by the server. */ - readonly pendingPatchCount?: number; + readonly resourceType?: string; /** - * The count of patches that successfully installed. + * The Sku. * NOTE: This property will not be serialized. It can only be populated by the server. */ - readonly installedPatchCount?: number; + readonly sku?: Sku; /** - * The count of patches that failed installation. + * Specifies the number of virtual machines in the scale set. * NOTE: This property will not be serialized. It can only be populated by the server. */ - readonly failedPatchCount?: number; + readonly capacity?: VirtualMachineScaleSetSkuCapacity; +} + +/** Describes scaling information of a sku. */ +export interface VirtualMachineScaleSetSkuCapacity { /** - * The UTC timestamp when the operation began. + * The minimum capacity. * NOTE: This property will not be serialized. It can only be populated by the server. */ - readonly startTime?: Date; + readonly minimum?: number; /** - * The UTC timestamp when the operation began. + * The maximum capacity that can be set. * NOTE: This property will not be serialized. It can only be populated by the server. */ - readonly lastModifiedTime?: Date; + readonly maximum?: number; /** - * The errors that were encountered during execution of the operation. The details array contains the list of them. + * The default capacity. * NOTE: This property will not be serialized. It can only be populated by the server. */ - readonly error?: ApiError; -} - -export interface ScheduledEventsProfile { - /** Specifies Terminate Scheduled Event related configurations. */ - terminateNotificationProfile?: TerminateNotificationProfile; + readonly defaultCapacity?: number; + /** + * The scale type applicable to the sku. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly scaleType?: VirtualMachineScaleSetSkuScaleType; } -export interface TerminateNotificationProfile { - /** Configurable length of time a Virtual Machine being deleted will have to potentially approve the Terminate Scheduled Event before the event is auto approved (timed out). The configuration must be specified in ISO 8601 format, the default value is 5 minutes (PT5M) */ - notBeforeTimeout?: string; - /** Specifies whether the Terminate Scheduled event is enabled or disabled. */ - enable?: boolean; +/** List of Virtual Machine Scale Set OS Upgrade History operation response. */ +export interface VirtualMachineScaleSetListOSUpgradeHistory { + /** The list of OS upgrades performed on the virtual machine scale set. */ + value: UpgradeOperationHistoricalStatusInfo[]; + /** The uri to fetch the next page of OS Upgrade History. Call ListNext() with this to fetch the next page of history of upgrades. */ + nextLink?: string; } -/** The parameters of a capacity reservation Profile. */ -export interface CapacityReservationProfile { - /** Specifies the capacity reservation group resource id that should be used for allocating the virtual machine or scaleset vm instances provided enough capacity has been reserved. Please refer to https://aka.ms/CapacityReservation for more details. */ - capacityReservationGroup?: SubResource; +/** Virtual Machine Scale Set OS Upgrade History operation response. */ +export interface UpgradeOperationHistoricalStatusInfo { + /** + * Information about the properties of the upgrade operation. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly properties?: UpgradeOperationHistoricalStatusInfoProperties; + /** + * Resource type + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly type?: string; + /** + * Resource location + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly location?: string; } -/** Contains the list of gallery applications that should be made available to the VM/VMSS */ -export interface ApplicationProfile { - /** Specifies the gallery applications that should be made available to the VM/VMSS */ - galleryApplications?: VMGalleryApplication[]; +/** Describes each OS upgrade on the Virtual Machine Scale Set. */ +export interface UpgradeOperationHistoricalStatusInfoProperties { + /** + * Information about the overall status of the upgrade operation. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly runningStatus?: UpgradeOperationHistoryStatus; + /** + * Counts of the VMs in each state. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly progress?: RollingUpgradeProgressInfo; + /** + * Error Details for this upgrade if there are any. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly error?: ApiError; + /** + * Invoker of the Upgrade Operation + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly startedBy?: UpgradeOperationInvoker; + /** + * Image Reference details + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly targetImageReference?: ImageReference; + /** + * Information about OS rollback if performed + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly rollbackInfo?: RollbackStatusInfo; } -/** Specifies the required information to reference a compute gallery application version */ -export interface VMGalleryApplication { - /** Optional, Specifies a passthrough value for more generic context. */ - tags?: string; - /** Optional, Specifies the order in which the packages have to be installed */ - order?: number; - /** Specifies the GalleryApplicationVersion resource id on the form of /subscriptions/{SubscriptionId}/resourceGroups/{ResourceGroupName}/providers/Microsoft.Compute/galleries/{galleryName}/applications/{application}/versions/{version} */ - packageReferenceId: string; - /** Optional, Specifies the uri to an azure blob that will replace the default configuration for the package if provided */ - configurationReference?: string; +/** Information about the current running state of the overall upgrade. */ +export interface UpgradeOperationHistoryStatus { + /** + * Code indicating the current status of the upgrade. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly code?: UpgradeState; + /** + * Start time of the upgrade. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly startTime?: Date; + /** + * End time of the upgrade. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly endTime?: Date; } -/** Identity for the virtual machine. */ -export interface VirtualMachineIdentity { +/** Information about the number of virtual machine instances in each upgrade state. */ +export interface RollingUpgradeProgressInfo { /** - * The principal id of virtual machine identity. This property will only be provided for a system assigned identity. + * The number of instances that have been successfully upgraded. * NOTE: This property will not be serialized. It can only be populated by the server. */ - readonly principalId?: string; + readonly successfulInstanceCount?: number; /** - * The tenant id associated with the virtual machine. This property will only be provided for a system assigned identity. + * The number of instances that have failed to be upgraded successfully. * NOTE: This property will not be serialized. It can only be populated by the server. */ - readonly tenantId?: string; - /** The type of identity used for the virtual machine. The type 'SystemAssigned, UserAssigned' includes both an implicitly created identity and a set of user assigned identities. The type 'None' will remove any identities from the virtual machine. */ - type?: ResourceIdentityType; - /** The list of user identities associated with the Virtual Machine. The user identity dictionary key references will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}'. */ - userAssignedIdentities?: { - [propertyName: string]: UserAssignedIdentitiesValue; - }; + readonly failedInstanceCount?: number; + /** + * The number of instances that are currently being upgraded. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly inProgressInstanceCount?: number; + /** + * The number of instances that have not yet begun to be upgraded. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly pendingInstanceCount?: number; } -export interface UserAssignedIdentitiesValue { +/** Information about rollback on failed VM instances after a OS Upgrade operation. */ +export interface RollbackStatusInfo { /** - * The principal id of user assigned identity. + * The number of instances which have been successfully rolled back. * NOTE: This property will not be serialized. It can only be populated by the server. */ - readonly principalId?: string; + readonly successfullyRolledbackInstanceCount?: number; /** - * The client id of user assigned identity. + * The number of instances which failed to rollback. * NOTE: This property will not be serialized. It can only be populated by the server. */ - readonly clientId?: string; + readonly failedRolledbackInstanceCount?: number; + /** + * Error details if OS rollback failed. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly rollbackError?: ApiError; } -/** The List Virtual Machine operation response. */ -export interface VirtualMachineScaleSetListResult { - /** The list of virtual machine scale sets. */ - value: VirtualMachineScaleSet[]; - /** The uri to fetch the next page of Virtual Machine Scale Sets. Call ListNext() with this to fetch the next page of VMSS. */ - nextLink?: string; +/** Parameters for Reimaging Virtual Machine. NOTE: Virtual Machine OS disk will always be reimaged */ +export interface VirtualMachineReimageParameters { + /** Specifies whether to reimage temp disk. Default value: false. Note: This temp disk reimage parameter is only supported for VM/VMSS with Ephemeral OS disk. */ + tempDisk?: boolean; } -/** Describes an upgrade policy - automatic, manual, or rolling. */ -export interface UpgradePolicy { - /** Specifies the mode of an upgrade to virtual machines in the scale set.

Possible values are:

**Manual** - You control the application of updates to virtual machines in the scale set. You do this by using the manualUpgrade action.

**Automatic** - All virtual machines in the scale set are automatically updated at the same time. */ - mode?: UpgradeMode; - /** The configuration parameters used while performing a rolling upgrade. */ - rollingUpgradePolicy?: RollingUpgradePolicy; - /** Configuration parameters used for performing automatic OS Upgrade. */ - automaticOSUpgradePolicy?: AutomaticOSUpgradePolicy; +/** Information about the current running state of the overall upgrade. */ +export interface RollingUpgradeRunningStatus { + /** + * Code indicating the current status of the upgrade. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly code?: RollingUpgradeStatusCode; + /** + * Start time of the upgrade. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly startTime?: Date; + /** + * The last action performed on the rolling upgrade. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly lastAction?: RollingUpgradeActionType; + /** + * Last action time of the upgrade. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly lastActionTime?: Date; } -/** The configuration parameters used while performing a rolling upgrade. */ -export interface RollingUpgradePolicy { - /** The maximum percent of total virtual machine instances that will be upgraded simultaneously by the rolling upgrade in one batch. As this is a maximum, unhealthy instances in previous or future batches can cause the percentage of instances in a batch to decrease to ensure higher reliability. The default value for this parameter is 20%. */ - maxBatchInstancePercent?: number; - /** The maximum percentage of the total virtual machine instances in the scale set that can be simultaneously unhealthy, either as a result of being upgraded, or by being found in an unhealthy state by the virtual machine health checks before the rolling upgrade aborts. This constraint will be checked prior to starting any batch. The default value for this parameter is 20%. */ - maxUnhealthyInstancePercent?: number; - /** The maximum percentage of upgraded virtual machine instances that can be found to be in an unhealthy state. This check will happen after each batch is upgraded. If this percentage is ever exceeded, the rolling update aborts. The default value for this parameter is 20%. */ - maxUnhealthyUpgradedInstancePercent?: number; - /** The wait time between completing the update for all virtual machines in one batch and starting the next batch. The time duration should be specified in ISO 8601 format. The default value is 0 seconds (PT0S). */ - pauseTimeBetweenBatches?: string; - /** Allow VMSS to ignore AZ boundaries when constructing upgrade batches. Take into consideration the Update Domain and maxBatchInstancePercent to determine the batch size. */ - enableCrossZoneUpgrade?: boolean; - /** Upgrade all unhealthy instances in a scale set before any healthy instances. */ - prioritizeUnhealthyInstances?: boolean; +/** Response after calling a manual recovery walk */ +export interface RecoveryWalkResponse { + /** + * Whether the recovery walk was performed + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly walkPerformed?: boolean; + /** + * The next update domain that needs to be walked. Null means walk spanning all update domains has been completed + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly nextPlatformUpdateDomain?: number; } -/** The configuration parameters used for performing automatic OS upgrade. */ -export interface AutomaticOSUpgradePolicy { - /** Indicates whether OS upgrades should automatically be applied to scale set instances in a rolling fashion when a newer version of the OS image becomes available. Default value is false.

If this is set to true for Windows based scale sets, [enableAutomaticUpdates](https://docs.microsoft.com/dotnet/api/microsoft.azure.management.compute.models.windowsconfiguration.enableautomaticupdates?view=azure-dotnet) is automatically set to false and cannot be set to true. */ - enableAutomaticOSUpgrade?: boolean; - /** Whether OS image rollback feature should be disabled. Default value is false. */ - disableAutomaticRollback?: boolean; +export interface VMScaleSetConvertToSinglePlacementGroupInput { + /** Id of the placement group in which you want future virtual machine instances to be placed. To query placement group Id, please use Virtual Machine Scale Set VMs - Get API. If not provided, the platform will choose one with maximum number of virtual machine instances. */ + activePlacementGroupId?: string; } -/** Specifies the configuration parameters for automatic repairs on the virtual machine scale set. */ -export interface AutomaticRepairsPolicy { - /** Specifies whether automatic repairs should be enabled on the virtual machine scale set. The default value is false. */ - enabled?: boolean; - /** The amount of time for which automatic repairs are suspended due to a state change on VM. The grace time starts after the state change has completed. This helps avoid premature or accidental repairs. The time duration should be specified in ISO 8601 format. The minimum allowed grace period is 10 minutes (PT10M), which is also the default value. The maximum allowed grace period is 90 minutes (PT90M). */ - gracePeriod?: string; - /** Type of repair action (replace, restart, reimage) that will be used for repairing unhealthy virtual machines in the scale set. Default value is replace. */ - repairAction?: RepairAction; +/** The input for OrchestrationServiceState */ +export interface OrchestrationServiceStateInput { + /** The name of the service. */ + serviceName: OrchestrationServiceNames; + /** The action to be performed. */ + action: OrchestrationServiceStateAction; } -/** Describes a virtual machine scale set virtual machine profile. */ -export interface VirtualMachineScaleSetVMProfile { - /** Specifies the operating system settings for the virtual machines in the scale set. */ - osProfile?: VirtualMachineScaleSetOSProfile; - /** Specifies the storage settings for the virtual machine disks. */ - storageProfile?: VirtualMachineScaleSetStorageProfile; - /** Specifies properties of the network interfaces of the virtual machines in the scale set. */ - networkProfile?: VirtualMachineScaleSetNetworkProfile; - /** Specifies the Security related profile settings for the virtual machines in the scale set. */ - securityProfile?: SecurityProfile; - /** Specifies the boot diagnostic settings state.

Minimum api-version: 2015-06-15. */ - diagnosticsProfile?: DiagnosticsProfile; - /** Specifies a collection of settings for extensions installed on virtual machines in the scale set. */ - extensionProfile?: VirtualMachineScaleSetExtensionProfile; - /** Specifies that the image or disk that is being used was licensed on-premises.

Possible values for Windows Server operating system are:

Windows_Client

Windows_Server

Possible values for Linux Server operating system are:

RHEL_BYOS (for RHEL)

SLES_BYOS (for SUSE)

For more information, see [Azure Hybrid Use Benefit for Windows Server](https://docs.microsoft.com/azure/virtual-machines/windows/hybrid-use-benefit-licensing)

[Azure Hybrid Use Benefit for Linux Server](https://docs.microsoft.com/azure/virtual-machines/linux/azure-hybrid-benefit-linux)

Minimum api-version: 2015-06-15 */ - licenseType?: string; - /** Specifies the priority for the virtual machines in the scale set.

Minimum api-version: 2017-10-30-preview */ - priority?: VirtualMachinePriorityTypes; - /** Specifies the eviction policy for the Azure Spot virtual machine and Azure Spot scale set.

For Azure Spot virtual machines, both 'Deallocate' and 'Delete' are supported and the minimum api-version is 2019-03-01.

For Azure Spot scale sets, both 'Deallocate' and 'Delete' are supported and the minimum api-version is 2017-10-30-preview. */ - evictionPolicy?: VirtualMachineEvictionPolicyTypes; - /** Specifies the billing related details of a Azure Spot VMSS.

Minimum api-version: 2019-03-01. */ - billingProfile?: BillingProfile; - /** Specifies Scheduled Event related configurations. */ - scheduledEventsProfile?: ScheduledEventsProfile; - /** UserData for the virtual machines in the scale set, which must be base-64 encoded. Customer should not pass any secrets in here.

Minimum api-version: 2021-03-01 */ - userData?: string; - /** Specifies the capacity reservation related details of a scale set.

Minimum api-version: 2021-04-01. */ - capacityReservation?: CapacityReservationProfile; - /** Specifies the gallery applications that should be made available to the VM/VMSS */ - applicationProfile?: ApplicationProfile; - /** Specifies the hardware profile related details of a scale set.

Minimum api-version: 2021-11-01. */ - hardwareProfile?: VirtualMachineScaleSetHardwareProfile; +/** The instance view of a virtual machine extension. */ +export interface VirtualMachineExtensionInstanceView { + /** The virtual machine extension name. */ + name?: string; + /** Specifies the type of the extension; an example is "CustomScriptExtension". */ + type?: string; + /** Specifies the version of the script handler. */ + typeHandlerVersion?: string; + /** The resource status information. */ + substatuses?: InstanceViewStatus[]; + /** The resource status information. */ + statuses?: InstanceViewStatus[]; } -/** Describes a virtual machine scale set OS profile. */ -export interface VirtualMachineScaleSetOSProfile { - /** Specifies the computer name prefix for all of the virtual machines in the scale set. Computer name prefixes must be 1 to 15 characters long. */ - computerNamePrefix?: string; - /** Specifies the name of the administrator account.

**Windows-only restriction:** Cannot end in "."

**Disallowed values:** "administrator", "admin", "user", "user1", "test", "user2", "test1", "user3", "admin1", "1", "123", "a", "actuser", "adm", "admin2", "aspnet", "backup", "console", "david", "guest", "john", "owner", "root", "server", "sql", "support", "support_388945a0", "sys", "test2", "test3", "user4", "user5".

**Minimum-length (Linux):** 1 character

**Max-length (Linux):** 64 characters

**Max-length (Windows):** 20 characters */ - adminUsername?: string; - /** Specifies the password of the administrator account.

**Minimum-length (Windows):** 8 characters

**Minimum-length (Linux):** 6 characters

**Max-length (Windows):** 123 characters

**Max-length (Linux):** 72 characters

**Complexity requirements:** 3 out of 4 conditions below need to be fulfilled
Has lower characters
Has upper characters
Has a digit
Has a special character (Regex match [\W_])

**Disallowed values:** "abc@123", "P@$$w0rd", "P@ssw0rd", "P@ssword123", "Pa$$word", "pass@word1", "Password!", "Password1", "Password22", "iloveyou!"

For resetting the password, see [How to reset the Remote Desktop service or its login password in a Windows VM](https://docs.microsoft.com/troubleshoot/azure/virtual-machines/reset-rdp)

For resetting root password, see [Manage users, SSH, and check or repair disks on Azure Linux VMs using the VMAccess Extension](https://docs.microsoft.com/troubleshoot/azure/virtual-machines/troubleshoot-ssh-connection) */ - adminPassword?: string; - /** Specifies a base-64 encoded string of custom data. The base-64 encoded string is decoded to a binary array that is saved as a file on the Virtual Machine. The maximum length of the binary array is 65535 bytes.

For using cloud-init for your VM, see [Using cloud-init to customize a Linux VM during creation](https://docs.microsoft.com/azure/virtual-machines/linux/using-cloud-init) */ - customData?: string; - /** Specifies Windows operating system settings on the virtual machine. */ - windowsConfiguration?: WindowsConfiguration; - /** Specifies the Linux operating system settings on the virtual machine.

For a list of supported Linux distributions, see [Linux on Azure-Endorsed Distributions](https://docs.microsoft.com/azure/virtual-machines/linux/endorsed-distros). */ - linuxConfiguration?: LinuxConfiguration; - /** Specifies set of certificates that should be installed onto the virtual machines in the scale set. To install certificates on a virtual machine it is recommended to use the [Azure Key Vault virtual machine extension for Linux](https://docs.microsoft.com/azure/virtual-machines/extensions/key-vault-linux) or the [Azure Key Vault virtual machine extension for Windows](https://docs.microsoft.com/azure/virtual-machines/extensions/key-vault-windows). */ - secrets?: VaultSecretGroup[]; - /** Specifies whether extension operations should be allowed on the virtual machine scale set.

This may only be set to False when no extensions are present on the virtual machine scale set. */ - allowExtensionOperations?: boolean; +/** The List VMSS VM Extension operation response */ +export interface VirtualMachineScaleSetVMExtensionsListResult { + /** The list of VMSS VM extensions */ + value?: VirtualMachineScaleSetVMExtension[]; } -/** Describes a virtual machine scale set storage profile. */ -export interface VirtualMachineScaleSetStorageProfile { - /** Specifies information about the image to use. You can specify information about platform images, marketplace images, or virtual machine images. This element is required when you want to use a platform image, marketplace image, or virtual machine image, but is not used in other creation operations. */ - imageReference?: ImageReference; - /** Specifies information about the operating system disk used by the virtual machines in the scale set.

For more information about disks, see [About disks and VHDs for Azure virtual machines](https://docs.microsoft.com/azure/virtual-machines/managed-disks-overview). */ - osDisk?: VirtualMachineScaleSetOSDisk; - /** Specifies the parameters that are used to add data disks to the virtual machines in the scale set.

For more information about disks, see [About disks and VHDs for Azure virtual machines](https://docs.microsoft.com/azure/virtual-machines/managed-disks-overview). */ - dataDisks?: VirtualMachineScaleSetDataDisk[]; +/** The instance view of a virtual machine scale set VM. */ +export interface VirtualMachineScaleSetVMInstanceView { + /** The Update Domain count. */ + platformUpdateDomain?: number; + /** The Fault Domain count. */ + platformFaultDomain?: number; + /** The Remote desktop certificate thumbprint. */ + rdpThumbPrint?: string; + /** The VM Agent running on the virtual machine. */ + vmAgent?: VirtualMachineAgentInstanceView; + /** The Maintenance Operation status on the virtual machine. */ + maintenanceRedeployStatus?: MaintenanceRedeployStatus; + /** The disks information. */ + disks?: DiskInstanceView[]; + /** The extensions information. */ + extensions?: VirtualMachineExtensionInstanceView[]; + /** + * The health status for the VM. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly vmHealth?: VirtualMachineHealthStatus; + /** Boot Diagnostics is a debugging feature which allows you to view Console Output and Screenshot to diagnose VM status.

You can easily view the output of your console log.

Azure also enables you to see a screenshot of the VM from the hypervisor. */ + bootDiagnostics?: BootDiagnosticsInstanceView; + /** The resource status information. */ + statuses?: InstanceViewStatus[]; + /** + * Resource id of the dedicated host, on which the virtual machine is allocated through automatic placement, when the virtual machine is associated with a dedicated host group that has automatic placement enabled.

Minimum api-version: 2020-06-01. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly assignedHost?: string; + /** The placement group in which the VM is running. If the VM is deallocated it will not have a placementGroupId. */ + placementGroupId?: string; } -/** Describes a virtual machine scale set operating system disk. */ -export interface VirtualMachineScaleSetOSDisk { - /** The disk name. */ - name?: string; - /** Specifies the caching requirements.

Possible values are:

**None**

**ReadOnly**

**ReadWrite**

Default: **None for Standard storage. ReadOnly for Premium storage** */ - caching?: CachingTypes; - /** Specifies whether writeAccelerator should be enabled or disabled on the disk. */ - writeAcceleratorEnabled?: boolean; - /** Specifies how the virtual machines in the scale set should be created.

The only allowed value is: **FromImage** \u2013 This value is used when you are using an image to create the virtual machine. If you are using a platform image, you also use the imageReference element described above. If you are using a marketplace image, you also use the plan element previously described. */ - createOption: DiskCreateOptionTypes; - /** Specifies the ephemeral disk Settings for the operating system disk used by the virtual machine scale set. */ - diffDiskSettings?: DiffDiskSettings; - /** Specifies the size of the operating system disk in gigabytes. This element can be used to overwrite the size of the disk in a virtual machine image.

This value cannot be larger than 1023 GB */ - diskSizeGB?: number; - /** This property allows you to specify the type of the OS that is included in the disk if creating a VM from user-image or a specialized VHD.

Possible values are:

**Windows**

**Linux** */ - osType?: OperatingSystemTypes; - /** Specifies information about the unmanaged user image to base the scale set on. */ - image?: VirtualHardDisk; - /** Specifies the container urls that are used to store operating system disks for the scale set. */ - vhdContainers?: string[]; - /** The managed disk parameters. */ - managedDisk?: VirtualMachineScaleSetManagedDiskParameters; +/** The instance view of the VM Agent running on the virtual machine. */ +export interface VirtualMachineAgentInstanceView { + /** The VM Agent full version. */ + vmAgentVersion?: string; + /** The virtual machine extension handler instance view. */ + extensionHandlers?: VirtualMachineExtensionHandlerInstanceView[]; + /** The resource status information. */ + statuses?: InstanceViewStatus[]; } -/** Describes the parameters of a ScaleSet managed disk. */ -export interface VirtualMachineScaleSetManagedDiskParameters { - /** Specifies the storage account type for the managed disk. NOTE: UltraSSD_LRS can only be used with data disks, it cannot be used with OS Disk. */ - storageAccountType?: StorageAccountTypes; - /** Specifies the customer managed disk encryption set resource id for the managed disk. */ - diskEncryptionSet?: DiskEncryptionSetParameters; - /** Specifies the security profile for the managed disk. */ - securityProfile?: VMDiskSecurityProfile; +/** The instance view of a virtual machine extension handler. */ +export interface VirtualMachineExtensionHandlerInstanceView { + /** Specifies the type of the extension; an example is "CustomScriptExtension". */ + type?: string; + /** Specifies the version of the script handler. */ + typeHandlerVersion?: string; + /** The extension handler status. */ + status?: InstanceViewStatus; } -/** Describes a virtual machine scale set data disk. */ -export interface VirtualMachineScaleSetDataDisk { - /** The disk name. */ - name?: string; - /** Specifies the logical unit number of the data disk. This value is used to identify data disks within the VM and therefore must be unique for each data disk attached to a VM. */ - lun: number; - /** Specifies the caching requirements.

Possible values are:

**None**

**ReadOnly**

**ReadWrite**

Default: **None for Standard storage. ReadOnly for Premium storage** */ - caching?: CachingTypes; - /** Specifies whether writeAccelerator should be enabled or disabled on the disk. */ - writeAcceleratorEnabled?: boolean; - /** The create option. */ - createOption: DiskCreateOptionTypes; - /** Specifies the size of an empty data disk in gigabytes. This element can be used to overwrite the size of the disk in a virtual machine image.

This value cannot be larger than 1023 GB */ - diskSizeGB?: number; - /** The managed disk parameters. */ - managedDisk?: VirtualMachineScaleSetManagedDiskParameters; - /** Specifies the Read-Write IOPS for the managed disk. Should be used only when StorageAccountType is UltraSSD_LRS. If not specified, a default value would be assigned based on diskSizeGB. */ - diskIopsReadWrite?: number; - /** Specifies the bandwidth in MB per second for the managed disk. Should be used only when StorageAccountType is UltraSSD_LRS. If not specified, a default value would be assigned based on diskSizeGB. */ - diskMBpsReadWrite?: number; +/** Maintenance Operation Status. */ +export interface MaintenanceRedeployStatus { + /** True, if customer is allowed to perform Maintenance. */ + isCustomerInitiatedMaintenanceAllowed?: boolean; + /** Start Time for the Pre Maintenance Window. */ + preMaintenanceWindowStartTime?: Date; + /** End Time for the Pre Maintenance Window. */ + preMaintenanceWindowEndTime?: Date; + /** Start Time for the Maintenance Window. */ + maintenanceWindowStartTime?: Date; + /** End Time for the Maintenance Window. */ + maintenanceWindowEndTime?: Date; + /** The Last Maintenance Operation Result Code. */ + lastOperationResultCode?: MaintenanceOperationResultCodeTypes; + /** Message returned for the last Maintenance Operation. */ + lastOperationMessage?: string; } -/** Describes a virtual machine scale set network profile. */ -export interface VirtualMachineScaleSetNetworkProfile { - /** A reference to a load balancer probe used to determine the health of an instance in the virtual machine scale set. The reference will be in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/loadBalancers/{loadBalancerName}/probes/{probeName}'. */ - healthProbe?: ApiEntityReference; - /** The list of network configurations. */ - networkInterfaceConfigurations?: VirtualMachineScaleSetNetworkConfiguration[]; - /** specifies the Microsoft.Network API version used when creating networking resources in the Network Interface Configurations for Virtual Machine Scale Set with orchestration mode 'Flexible' */ - networkApiVersion?: NetworkApiVersion; +/** The instance view of the disk. */ +export interface DiskInstanceView { + /** The disk name. */ + name?: string; + /** Specifies the encryption settings for the OS Disk.

Minimum api-version: 2015-06-15 */ + encryptionSettings?: DiskEncryptionSettings[]; + /** The resource status information. */ + statuses?: InstanceViewStatus[]; } -/** The API entity reference. */ -export interface ApiEntityReference { - /** The ARM resource id in the form of /subscriptions/{SubscriptionId}/resourceGroups/{ResourceGroupName}/... */ - id?: string; +/** Describes a Encryption Settings for a Disk */ +export interface DiskEncryptionSettings { + /** Specifies the location of the disk encryption key, which is a Key Vault Secret. */ + diskEncryptionKey?: KeyVaultSecretReference; + /** Specifies the location of the key encryption key in Key Vault. */ + keyEncryptionKey?: KeyVaultKeyReference; + /** Specifies whether disk encryption should be enabled on the virtual machine. */ + enabled?: boolean; } -/** Describes a virtual machines scale sets network configuration's DNS settings. */ -export interface VirtualMachineScaleSetNetworkConfigurationDnsSettings { - /** List of DNS servers IP addresses */ - dnsServers?: string[]; -} - -/** Describes a virtual machines scale set IP Configuration's PublicIPAddress configuration */ -export interface VirtualMachineScaleSetPublicIPAddressConfiguration { - /** The publicIP address configuration name. */ - name: string; - /** Describes the public IP Sku. It can only be set with OrchestrationMode as Flexible. */ - sku?: PublicIPAddressSku; - /** The idle timeout of the public IP address. */ - idleTimeoutInMinutes?: number; - /** The dns settings to be applied on the publicIP addresses . */ - dnsSettings?: VirtualMachineScaleSetPublicIPAddressConfigurationDnsSettings; - /** The list of IP tags associated with the public IP address. */ - ipTags?: VirtualMachineScaleSetIpTag[]; - /** The PublicIPPrefix from which to allocate publicIP addresses. */ - publicIPPrefix?: SubResource; - /** Available from Api-Version 2019-07-01 onwards, it represents whether the specific ipconfiguration is IPv4 or IPv6. Default is taken as IPv4. Possible values are: 'IPv4' and 'IPv6'. */ - publicIPAddressVersion?: IPVersion; - /** Specify what happens to the public IP when the VM is deleted */ - deleteOption?: DeleteOptions; -} - -/** Describes a virtual machines scale sets network configuration's DNS settings. */ -export interface VirtualMachineScaleSetPublicIPAddressConfigurationDnsSettings { - /** The Domain name label.The concatenation of the domain name label and vm index will be the domain name labels of the PublicIPAddress resources that will be created */ - domainNameLabel: string; -} - -/** Contains the IP tag associated with the public IP address. */ -export interface VirtualMachineScaleSetIpTag { - /** IP tag type. Example: FirstPartyUsage. */ - ipTagType?: string; - /** IP tag associated with the public IP. Example: SQL, Storage etc. */ - tag?: string; -} - -/** Describes a virtual machine scale set extension profile. */ -export interface VirtualMachineScaleSetExtensionProfile { - /** The virtual machine scale set child extension resources. */ - extensions?: VirtualMachineScaleSetExtension[]; - /** Specifies the time alloted for all extensions to start. The time duration should be between 15 minutes and 120 minutes (inclusive) and should be specified in ISO 8601 format. The default value is 90 minutes (PT1H30M).

Minimum api-version: 2020-06-01 */ - extensionsTimeBudget?: string; -} - -/** Specifies the hardware settings for the virtual machine scale set. */ -export interface VirtualMachineScaleSetHardwareProfile { - /** Specifies the properties for customizing the size of the virtual machine. Minimum api-version: 2021-11-01.

Please follow the instructions in [VM Customization](https://aka.ms/vmcustomization) for more details. */ - vmSizeProperties?: VMSizeProperties; -} - -/** Describes a scale-in policy for a virtual machine scale set. */ -export interface ScaleInPolicy { - /** The rules to be followed when scaling-in a virtual machine scale set.

Possible values are:

**Default** When a virtual machine scale set is scaled in, the scale set will first be balanced across zones if it is a zonal scale set. Then, it will be balanced across Fault Domains as far as possible. Within each Fault Domain, the virtual machines chosen for removal will be the newest ones that are not protected from scale-in.

**OldestVM** When a virtual machine scale set is being scaled-in, the oldest virtual machines that are not protected from scale-in will be chosen for removal. For zonal virtual machine scale sets, the scale set will first be balanced across zones. Within each zone, the oldest virtual machines that are not protected will be chosen for removal.

**NewestVM** When a virtual machine scale set is being scaled-in, the newest virtual machines that are not protected from scale-in will be chosen for removal. For zonal virtual machine scale sets, the scale set will first be balanced across zones. Within each zone, the newest virtual machines that are not protected will be chosen for removal.

*/ - rules?: VirtualMachineScaleSetScaleInRules[]; - /** This property allows you to specify if virtual machines chosen for removal have to be force deleted when a virtual machine scale set is being scaled-in.(Feature in Preview) */ - forceDeletion?: boolean; +/** Describes a reference to Key Vault Secret */ +export interface KeyVaultSecretReference { + /** The URL referencing a secret in a Key Vault. */ + secretUrl: string; + /** The relative URL of the Key Vault containing the secret. */ + sourceVault: SubResource; } -/** Specifies the Spot-Try-Restore properties for the virtual machine scale set.

With this property customer can enable or disable automatic restore of the evicted Spot VMSS VM instances opportunistically based on capacity availability and pricing constraint. */ -export interface SpotRestorePolicy { - /** Enables the Spot-Try-Restore feature where evicted VMSS SPOT instances will be tried to be restored opportunistically based on capacity availability and pricing constraints */ - enabled?: boolean; - /** Timeout value expressed as an ISO 8601 time duration after which the platform will not try to restore the VMSS SPOT instances */ - restoreTimeout?: string; +/** Describes a reference to Key Vault Key */ +export interface KeyVaultKeyReference { + /** The URL referencing a key encryption key in Key Vault. */ + keyUrl: string; + /** The relative URL of the Key Vault containing the key. */ + sourceVault: SubResource; } -/** Identity for the virtual machine scale set. */ -export interface VirtualMachineScaleSetIdentity { - /** - * The principal id of virtual machine scale set identity. This property will only be provided for a system assigned identity. - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly principalId?: string; +/** The health status of the VM. */ +export interface VirtualMachineHealthStatus { /** - * The tenant id associated with the virtual machine scale set. This property will only be provided for a system assigned identity. + * The health status information for the VM. * NOTE: This property will not be serialized. It can only be populated by the server. */ - readonly tenantId?: string; - /** The type of identity used for the virtual machine scale set. The type 'SystemAssigned, UserAssigned' includes both an implicitly created identity and a set of user assigned identities. The type 'None' will remove any identities from the virtual machine scale set. */ - type?: ResourceIdentityType; - /** The list of user identities associated with the virtual machine scale set. The user identity dictionary key references will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}'. */ - userAssignedIdentities?: { - [propertyName: string]: VirtualMachineScaleSetIdentityUserAssignedIdentitiesValue; - }; + readonly status?: InstanceViewStatus; } -export interface VirtualMachineScaleSetIdentityUserAssignedIdentitiesValue { +/** The instance view of a virtual machine boot diagnostics. */ +export interface BootDiagnosticsInstanceView { /** - * The principal id of user assigned identity. + * The console screenshot blob URI.

NOTE: This will **not** be set if boot diagnostics is currently enabled with managed storage. * NOTE: This property will not be serialized. It can only be populated by the server. */ - readonly principalId?: string; + readonly consoleScreenshotBlobUri?: string; /** - * The client id of user assigned identity. + * The serial console log blob Uri.

NOTE: This will **not** be set if boot diagnostics is currently enabled with managed storage. * NOTE: This property will not be serialized. It can only be populated by the server. */ - readonly clientId?: string; -} - -/** Describes a storage profile. */ -export interface ImageStorageProfile { - /** Specifies information about the operating system disk used by the virtual machine.

For more information about disks, see [About disks and VHDs for Azure virtual machines](https://docs.microsoft.com/azure/virtual-machines/managed-disks-overview). */ - osDisk?: ImageOSDisk; - /** Specifies the parameters that are used to add a data disk to a virtual machine.

For more information about disks, see [About disks and VHDs for Azure virtual machines](https://docs.microsoft.com/azure/virtual-machines/managed-disks-overview). */ - dataDisks?: ImageDataDisk[]; - /** Specifies whether an image is zone resilient or not. Default is false. Zone resilient images can be created only in regions that provide Zone Redundant Storage (ZRS). */ - zoneResilient?: boolean; -} - -/** Describes a image disk. */ -export interface ImageDisk { - /** The snapshot. */ - snapshot?: SubResource; - /** The managedDisk. */ - managedDisk?: SubResource; - /** The Virtual Hard Disk. */ - blobUri?: string; - /** Specifies the caching requirements.

Possible values are:

**None**

**ReadOnly**

**ReadWrite**

Default: **None for Standard storage. ReadOnly for Premium storage** */ - caching?: CachingTypes; - /** Specifies the size of empty data disks in gigabytes. This element can be used to overwrite the name of the disk in a virtual machine image.

This value cannot be larger than 1023 GB */ - diskSizeGB?: number; - /** Specifies the storage account type for the managed disk. NOTE: UltraSSD_LRS can only be used with data disks, it cannot be used with OS Disk. */ - storageAccountType?: StorageAccountTypes; - /** Specifies the customer managed disk encryption set resource id for the managed image disk. */ - diskEncryptionSet?: DiskEncryptionSetParameters; -} - -/** The List Image operation response. */ -export interface ImageListResult { - /** The list of Images. */ - value: Image[]; - /** The uri to fetch the next page of Images. Call ListNext() with this to fetch the next page of Images. */ - nextLink?: string; -} - -/** Capture Virtual Machine parameters. */ -export interface VirtualMachineCaptureParameters { - /** The captured virtual hard disk's name prefix. */ - vhdPrefix: string; - /** The destination container name. */ - destinationContainerName: string; - /** Specifies whether to overwrite the destination virtual hard disk, in case of conflict. */ - overwriteVhds: boolean; -} - -/** The properties of the source resource that this restore point collection is created from. */ -export interface RestorePointCollectionSourceProperties { + readonly serialConsoleLogBlobUri?: string; /** - * Location of the source resource used to create this restore point collection. + * The boot diagnostics status information for the VM.

NOTE: It will be set only if there are errors encountered in enabling boot diagnostics. * NOTE: This property will not be serialized. It can only be populated by the server. */ - readonly location?: string; - /** Resource Id of the source resource used to create this restore point collection */ - id?: string; + readonly status?: InstanceViewStatus; } -/** Describes the properties of the Virtual Machine for which the restore point was created. The properties provided are a subset and the snapshot of the overall Virtual Machine properties captured at the time of the restore point creation. */ -export interface RestorePointSourceMetadata { - /** Gets the hardware profile. */ - hardwareProfile?: HardwareProfile; - /** Gets the storage profile. */ - storageProfile?: RestorePointSourceVMStorageProfile; - /** Gets the OS profile. */ - osProfile?: OSProfile; - /** Gets the diagnostics profile. */ - diagnosticsProfile?: DiagnosticsProfile; - /** Gets the license type, which is for bring your own license scenario. */ - licenseType?: string; - /** Gets the virtual machine unique id. */ - vmId?: string; - /** Gets the security profile. */ - securityProfile?: SecurityProfile; - /** Location of the VM from which the restore point was created. */ - location?: string; +/** Specifies the hardware settings for the virtual machine. */ +export interface HardwareProfile { + /** Specifies the size of the virtual machine.

The enum data type is currently deprecated and will be removed by December 23rd 2023.

Recommended way to get the list of available sizes is using these APIs:

[List all available virtual machine sizes in an availability set](https://docs.microsoft.com/rest/api/compute/availabilitysets/listavailablesizes)

[List all available virtual machine sizes in a region]( https://docs.microsoft.com/rest/api/compute/resourceskus/list)

[List all available virtual machine sizes for resizing](https://docs.microsoft.com/rest/api/compute/virtualmachines/listavailablesizes). For more information about virtual machine sizes, see [Sizes for virtual machines](https://docs.microsoft.com/azure/virtual-machines/sizes).

The available VM sizes depend on region and availability set. */ + vmSize?: VirtualMachineSizeTypes; + /** Specifies the properties for customizing the size of the virtual machine. Minimum api-version: 2021-07-01.

This feature is still in preview mode and is not supported for VirtualMachineScaleSet.

Please follow the instructions in [VM Customization](https://aka.ms/vmcustomization) for more details. */ + vmSizeProperties?: VMSizeProperties; } -/** Describes the storage profile. */ -export interface RestorePointSourceVMStorageProfile { - /** Gets the OS disk of the VM captured at the time of the restore point creation. */ - osDisk?: RestorePointSourceVmosDisk; - /** Gets the data disks of the VM captured at the time of the restore point creation. */ - dataDisks?: RestorePointSourceVMDataDisk[]; +/** Specifies the storage settings for the virtual machine disks. */ +export interface StorageProfile { + /** Specifies information about the image to use. You can specify information about platform images, marketplace images, or virtual machine images. This element is required when you want to use a platform image, marketplace image, or virtual machine image, but is not used in other creation operations. */ + imageReference?: ImageReference; + /** Specifies information about the operating system disk used by the virtual machine.

For more information about disks, see [About disks and VHDs for Azure virtual machines](https://docs.microsoft.com/azure/virtual-machines/managed-disks-overview). */ + osDisk?: OSDisk; + /** Specifies the parameters that are used to add a data disk to a virtual machine.

For more information about disks, see [About disks and VHDs for Azure virtual machines](https://docs.microsoft.com/azure/virtual-machines/managed-disks-overview). */ + dataDisks?: DataDisk[]; } -/** Describes an Operating System disk. */ -export interface RestorePointSourceVmosDisk { - /** Gets the Operating System type. */ - osType?: OperatingSystemType; - /** Gets the disk encryption settings. */ +/** Specifies information about the operating system disk used by the virtual machine.

For more information about disks, see [About disks and VHDs for Azure virtual machines](https://docs.microsoft.com/azure/virtual-machines/managed-disks-overview). */ +export interface OSDisk { + /** This property allows you to specify the type of the OS that is included in the disk if creating a VM from user-image or a specialized VHD.

Possible values are:

**Windows**

**Linux** */ + osType?: OperatingSystemTypes; + /** Specifies the encryption settings for the OS Disk.

Minimum api-version: 2015-06-15 */ encryptionSettings?: DiskEncryptionSettings; - /** Gets the disk name. */ + /** The disk name. */ name?: string; - /** Gets the caching type. */ + /** The virtual hard disk. */ + vhd?: VirtualHardDisk; + /** The source user image virtual hard disk. The virtual hard disk will be copied before being attached to the virtual machine. If SourceImage is provided, the destination virtual hard drive must not exist. */ + image?: VirtualHardDisk; + /** Specifies the caching requirements.

Possible values are:

**None**

**ReadOnly**

**ReadWrite**

Default: **None** for Standard storage. **ReadOnly** for Premium storage. */ caching?: CachingTypes; - /** Gets the disk size in GB. */ + /** Specifies whether writeAccelerator should be enabled or disabled on the disk. */ + writeAcceleratorEnabled?: boolean; + /** Specifies the ephemeral Disk Settings for the operating system disk used by the virtual machine. */ + diffDiskSettings?: DiffDiskSettings; + /** Specifies how the virtual machine should be created.

Possible values are:

**Attach** \u2013 This value is used when you are using a specialized disk to create the virtual machine.

**FromImage** \u2013 This value is used when you are using an image to create the virtual machine. If you are using a platform image, you also use the imageReference element described above. If you are using a marketplace image, you also use the plan element previously described. */ + createOption: DiskCreateOptionTypes; + /** Specifies the size of an empty data disk in gigabytes. This element can be used to overwrite the size of the disk in a virtual machine image.

This value cannot be larger than 1023 GB */ diskSizeGB?: number; - /** Gets the managed disk details */ + /** The managed disk parameters. */ managedDisk?: ManagedDiskParameters; - /** Gets the disk restore point Id. */ - diskRestorePoint?: ApiEntityReference; + /** Specifies whether OS Disk should be deleted or detached upon VM deletion.

Possible values:

**Delete** If this value is used, the OS disk is deleted when VM is deleted.

**Detach** If this value is used, the os disk is retained after VM is deleted.

The default value is set to **detach**. For an ephemeral OS Disk, the default value is set to **Delete**. User cannot change the delete option for ephemeral OS Disk. */ + deleteOption?: DiskDeleteOptionTypes; } /** Describes a data disk. */ -export interface RestorePointSourceVMDataDisk { - /** Gets the logical unit number. */ - lun?: number; - /** Gets the disk name. */ +export interface DataDisk { + /** Specifies the logical unit number of the data disk. This value is used to identify data disks within the VM and therefore must be unique for each data disk attached to a VM. */ + lun: number; + /** The disk name. */ name?: string; - /** Gets the caching type. */ + /** The virtual hard disk. */ + vhd?: VirtualHardDisk; + /** The source user image virtual hard disk. The virtual hard disk will be copied before being attached to the virtual machine. If SourceImage is provided, the destination virtual hard drive must not exist. */ + image?: VirtualHardDisk; + /** Specifies the caching requirements.

Possible values are:

**None**

**ReadOnly**

**ReadWrite**

Default: **None for Standard storage. ReadOnly for Premium storage** */ caching?: CachingTypes; - /** Gets the initial disk size in GB for blank data disks, and the new desired size for existing OS and Data disks. */ + /** Specifies whether writeAccelerator should be enabled or disabled on the disk. */ + writeAcceleratorEnabled?: boolean; + /** Specifies how the virtual machine should be created.

Possible values are:

**Attach** \u2013 This value is used when you are using a specialized disk to create the virtual machine.

**FromImage** \u2013 This value is used when you are using an image to create the virtual machine. If you are using a platform image, you also use the imageReference element described above. If you are using a marketplace image, you also use the plan element previously described. */ + createOption: DiskCreateOptionTypes; + /** Specifies the size of an empty data disk in gigabytes. This element can be used to overwrite the size of the disk in a virtual machine image.

This value cannot be larger than 1023 GB */ diskSizeGB?: number; - /** Gets the managed disk details */ + /** The managed disk parameters. */ managedDisk?: ManagedDiskParameters; - /** Gets the disk restore point Id. */ - diskRestorePoint?: ApiEntityReference; -} - -/** The instance view of a restore point. */ -export interface RestorePointInstanceView { - /** The disk restore points information. */ - diskRestorePoints?: DiskRestorePointInstanceView[]; - /** The resource status information. */ - statuses?: InstanceViewStatus[]; -} - -/** The instance view of a disk restore point. */ -export interface DiskRestorePointInstanceView { - /** Disk restore point Id. */ - id?: string; - /** The disk restore point replication status information. */ - replicationStatus?: Record; -} - -/** The resource model definition for an Azure Resource Manager proxy resource. It will not have tags and a location */ -export interface ProxyResource { - /** - * Resource Id - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly id?: string; + /** Specifies whether the data disk is in process of detachment from the VirtualMachine/VirtualMachineScaleset */ + toBeDetached?: boolean; /** - * Resource name + * Specifies the Read-Write IOPS for the managed disk when StorageAccountType is UltraSSD_LRS. Returned only for VirtualMachine ScaleSet VM disks. Can be updated only via updates to the VirtualMachine Scale Set. * NOTE: This property will not be serialized. It can only be populated by the server. */ - readonly name?: string; + readonly diskIopsReadWrite?: number; /** - * Resource type + * Specifies the bandwidth in MB per second for the managed disk when StorageAccountType is UltraSSD_LRS. Returned only for VirtualMachine ScaleSet VM disks. Can be updated only via updates to the VirtualMachine Scale Set. * NOTE: This property will not be serialized. It can only be populated by the server. */ - readonly type?: string; + readonly diskMBpsReadWrite?: number; + /** Specifies the detach behavior to be used while detaching a disk or which is already in the process of detachment from the virtual machine. Supported values: **ForceDetach**.

detachOption: **ForceDetach** is applicable only for managed data disks. If a previous detachment attempt of the data disk did not complete due to an unexpected failure from the virtual machine and the disk is still not released then use force-detach as a last resort option to detach the disk forcibly from the VM. All writes might not have been flushed when using this detach behavior.

This feature is still in preview mode and is not supported for VirtualMachineScaleSet. To force-detach a data disk update toBeDetached to 'true' along with setting detachOption: 'ForceDetach'. */ + detachOption?: DiskDetachOptionTypes; + /** Specifies whether data disk should be deleted or detached upon VM deletion.

Possible values:

**Delete** If this value is used, the data disk is deleted when VM is deleted.

**Detach** If this value is used, the data disk is retained after VM is deleted.

The default value is set to **detach** */ + deleteOption?: DiskDeleteOptionTypes; } -/** The List restore point collection operation response. */ -export interface RestorePointCollectionListResult { - /** Gets the list of restore point collections. */ - value?: RestorePointCollection[]; - /** The uri to fetch the next page of RestorePointCollections. Call ListNext() with this to fetch the next page of RestorePointCollections */ - nextLink?: string; +/** Specifies the operating system settings for the virtual machine. Some of the settings cannot be changed once VM is provisioned. */ +export interface OSProfile { + /** Specifies the host OS name of the virtual machine.

This name cannot be updated after the VM is created.

**Max-length (Windows):** 15 characters

**Max-length (Linux):** 64 characters.

For naming conventions and restrictions see [Azure infrastructure services implementation guidelines](https://docs.microsoft.com/azure/azure-resource-manager/management/resource-name-rules). */ + computerName?: string; + /** Specifies the name of the administrator account.

This property cannot be updated after the VM is created.

**Windows-only restriction:** Cannot end in "."

**Disallowed values:** "administrator", "admin", "user", "user1", "test", "user2", "test1", "user3", "admin1", "1", "123", "a", "actuser", "adm", "admin2", "aspnet", "backup", "console", "david", "guest", "john", "owner", "root", "server", "sql", "support", "support_388945a0", "sys", "test2", "test3", "user4", "user5".

**Minimum-length (Linux):** 1 character

**Max-length (Linux):** 64 characters

**Max-length (Windows):** 20 characters. */ + adminUsername?: string; + /** Specifies the password of the administrator account.

**Minimum-length (Windows):** 8 characters

**Minimum-length (Linux):** 6 characters

**Max-length (Windows):** 123 characters

**Max-length (Linux):** 72 characters

**Complexity requirements:** 3 out of 4 conditions below need to be fulfilled
Has lower characters
Has upper characters
Has a digit
Has a special character (Regex match [\W_])

**Disallowed values:** "abc@123", "P@$$w0rd", "P@ssw0rd", "P@ssword123", "Pa$$word", "pass@word1", "Password!", "Password1", "Password22", "iloveyou!"

For resetting the password, see [How to reset the Remote Desktop service or its login password in a Windows VM](https://docs.microsoft.com/troubleshoot/azure/virtual-machines/reset-rdp)

For resetting root password, see [Manage users, SSH, and check or repair disks on Azure Linux VMs using the VMAccess Extension](https://docs.microsoft.com/troubleshoot/azure/virtual-machines/troubleshoot-ssh-connection) */ + adminPassword?: string; + /** Specifies a base-64 encoded string of custom data. The base-64 encoded string is decoded to a binary array that is saved as a file on the Virtual Machine. The maximum length of the binary array is 65535 bytes.

**Note: Do not pass any secrets or passwords in customData property**

This property cannot be updated after the VM is created.

customData is passed to the VM to be saved as a file, for more information see [Custom Data on Azure VMs](https://azure.microsoft.com/blog/custom-data-and-cloud-init-on-windows-azure/)

For using cloud-init for your Linux VM, see [Using cloud-init to customize a Linux VM during creation](https://docs.microsoft.com/azure/virtual-machines/linux/using-cloud-init) */ + customData?: string; + /** Specifies Windows operating system settings on the virtual machine. */ + windowsConfiguration?: WindowsConfiguration; + /** Specifies the Linux operating system settings on the virtual machine.

For a list of supported Linux distributions, see [Linux on Azure-Endorsed Distributions](https://docs.microsoft.com/azure/virtual-machines/linux/endorsed-distros). */ + linuxConfiguration?: LinuxConfiguration; + /** Specifies set of certificates that should be installed onto the virtual machine. To install certificates on a virtual machine it is recommended to use the [Azure Key Vault virtual machine extension for Linux](https://docs.microsoft.com/azure/virtual-machines/extensions/key-vault-linux) or the [Azure Key Vault virtual machine extension for Windows](https://docs.microsoft.com/azure/virtual-machines/extensions/key-vault-windows). */ + secrets?: VaultSecretGroup[]; + /** Specifies whether extension operations should be allowed on the virtual machine.

This may only be set to False when no extensions are present on the virtual machine. */ + allowExtensionOperations?: boolean; + /** Specifies whether the guest provision signal is required to infer provision success of the virtual machine. **Note: This property is for private testing only, and all customers must not set the property to false.** */ + requireGuestProvisionSignal?: boolean; } -export interface CapacityReservationGroupInstanceView { - /** - * List of instance view of the capacity reservations under the capacity reservation group. - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly capacityReservations?: CapacityReservationInstanceViewWithName[]; +/** Specifies the network interfaces or the networking configuration of the virtual machine. */ +export interface NetworkProfile { + /** Specifies the list of resource Ids for the network interfaces associated with the virtual machine. */ + networkInterfaces?: NetworkInterfaceReference[]; + /** specifies the Microsoft.Network API version used when creating networking resources in the Network Interface Configurations */ + networkApiVersion?: NetworkApiVersion; + /** Specifies the networking configurations that will be used to create the virtual machine networking resources. */ + networkInterfaceConfigurations?: VirtualMachineNetworkInterfaceConfiguration[]; } -/** The instance view of a capacity reservation that provides as snapshot of the runtime properties of the capacity reservation that is managed by the platform and can change outside of control plane operations. */ -export interface CapacityReservationInstanceView { - /** Unutilized capacity of the capacity reservation. */ - utilizationInfo?: CapacityReservationUtilization; - /** The resource status information. */ - statuses?: InstanceViewStatus[]; +/** Describes a virtual machine network interface configurations. */ +export interface VirtualMachineNetworkInterfaceConfiguration { + /** The network interface configuration name. */ + name: string; + /** Specifies the primary network interface in case the virtual machine has more than 1 network interface. */ + primary?: boolean; + /** Specify what happens to the network interface when the VM is deleted */ + deleteOption?: DeleteOptions; + /** Specifies whether the network interface is accelerated networking-enabled. */ + enableAcceleratedNetworking?: boolean; + /** Specifies whether the network interface is FPGA networking-enabled. */ + enableFpga?: boolean; + /** Whether IP forwarding enabled on this NIC. */ + enableIPForwarding?: boolean; + /** The network security group. */ + networkSecurityGroup?: SubResource; + /** The dns settings to be applied on the network interfaces. */ + dnsSettings?: VirtualMachineNetworkInterfaceDnsSettingsConfiguration; + /** Specifies the IP configurations of the network interface. */ + ipConfigurations?: VirtualMachineNetworkInterfaceIPConfiguration[]; + dscpConfiguration?: SubResource; } -/** Represents the capacity reservation utilization in terms of resources allocated. */ -export interface CapacityReservationUtilization { - /** - * A list of all virtual machines resource ids allocated against the capacity reservation. - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly virtualMachinesAllocated?: SubResourceReadOnly[]; +/** Describes a virtual machines network configuration's DNS settings. */ +export interface VirtualMachineNetworkInterfaceDnsSettingsConfiguration { + /** List of DNS servers IP addresses */ + dnsServers?: string[]; } -/** The List capacity reservation group with resource group response. */ -export interface CapacityReservationGroupListResult { - /** The list of capacity reservation groups */ - value: CapacityReservationGroup[]; - /** The URI to fetch the next page of capacity reservation groups. Call ListNext() with this URI to fetch the next page of capacity reservation groups. */ - nextLink?: string; +/** Describes a virtual machine network profile's IP configuration. */ +export interface VirtualMachineNetworkInterfaceIPConfiguration { + /** The IP configuration name. */ + name: string; + /** Specifies the identifier of the subnet. */ + subnet?: SubResource; + /** Specifies the primary network interface in case the virtual machine has more than 1 network interface. */ + primary?: boolean; + /** The publicIPAddressConfiguration. */ + publicIPAddressConfiguration?: VirtualMachinePublicIPAddressConfiguration; + /** Available from Api-Version 2017-03-30 onwards, it represents whether the specific ipconfiguration is IPv4 or IPv6. Default is taken as IPv4. Possible values are: 'IPv4' and 'IPv6'. */ + privateIPAddressVersion?: IPVersions; + /** Specifies an array of references to application security group. */ + applicationSecurityGroups?: SubResource[]; + /** Specifies an array of references to backend address pools of application gateways. A virtual machine can reference backend address pools of multiple application gateways. Multiple virtual machines cannot use the same application gateway. */ + applicationGatewayBackendAddressPools?: SubResource[]; + /** Specifies an array of references to backend address pools of load balancers. A virtual machine can reference backend address pools of one public and one internal load balancer. [Multiple virtual machines cannot use the same basic sku load balancer]. */ + loadBalancerBackendAddressPools?: SubResource[]; } -/** The list capacity reservation operation response. */ -export interface CapacityReservationListResult { - /** The list of capacity reservations */ - value: CapacityReservation[]; - /** The URI to fetch the next page of capacity reservations. Call ListNext() with this URI to fetch the next page of capacity reservations. */ - nextLink?: string; +/** Describes a virtual machines IP Configuration's PublicIPAddress configuration */ +export interface VirtualMachinePublicIPAddressConfiguration { + /** The publicIP address configuration name. */ + name: string; + /** Describes the public IP Sku. It can only be set with OrchestrationMode as Flexible. */ + sku?: PublicIPAddressSku; + /** The idle timeout of the public IP address. */ + idleTimeoutInMinutes?: number; + /** Specify what happens to the public IP address when the VM is deleted */ + deleteOption?: DeleteOptions; + /** The dns settings to be applied on the publicIP addresses . */ + dnsSettings?: VirtualMachinePublicIPAddressDnsSettingsConfiguration; + /** The list of IP tags associated with the public IP address. */ + ipTags?: VirtualMachineIpTag[]; + /** The PublicIPPrefix from which to allocate publicIP addresses. */ + publicIPPrefix?: SubResource; + /** Available from Api-Version 2019-07-01 onwards, it represents whether the specific ipconfiguration is IPv4 or IPv6. Default is taken as IPv4. Possible values are: 'IPv4' and 'IPv6'. */ + publicIPAddressVersion?: IPVersions; + /** Specify the public IP allocation type */ + publicIPAllocationMethod?: PublicIPAllocationMethod; } -/** Parameters for Reimaging Virtual Machine. NOTE: Virtual Machine OS disk will always be reimaged */ -export interface VirtualMachineReimageParameters { - /** Specifies whether to reimage temp disk. Default value: false. Note: This temp disk reimage parameter is only supported for VM/VMSS with Ephemeral OS disk. */ - tempDisk?: boolean; +/** Describes a virtual machines network configuration's DNS settings. */ +export interface VirtualMachinePublicIPAddressDnsSettingsConfiguration { + /** The Domain name label prefix of the PublicIPAddress resources that will be created. The generated name label is the concatenation of the domain name label and vm network profile unique ID. */ + domainNameLabel: string; +} + +/** Contains the IP tag associated with the public IP address. */ +export interface VirtualMachineIpTag { + /** IP tag type. Example: FirstPartyUsage. */ + ipTagType?: string; + /** IP tag associated with the public IP. Example: SQL, Storage etc. */ + tag?: string; +} + +/** Describes a virtual machine scale set VM network profile. */ +export interface VirtualMachineScaleSetVMNetworkProfileConfiguration { + /** The list of network configurations. */ + networkInterfaceConfigurations?: VirtualMachineScaleSetNetworkConfiguration[]; +} + +/** The protection policy of a virtual machine scale set VM. */ +export interface VirtualMachineScaleSetVMProtectionPolicy { + /** Indicates that the virtual machine scale set VM shouldn't be considered for deletion during a scale-in operation. */ + protectFromScaleIn?: boolean; + /** Indicates that model updates or actions (including scale-in) initiated on the virtual machine scale set should not be applied to the virtual machine scale set VM. */ + protectFromScaleSetActions?: boolean; +} + +/** The List Virtual Machine Scale Set VMs operation response. */ +export interface VirtualMachineScaleSetVMListResult { + /** The list of virtual machine scale sets VMs. */ + value: VirtualMachineScaleSetVM[]; + /** The uri to fetch the next page of Virtual Machine Scale Set VMs. Call ListNext() with this to fetch the next page of VMSS VMs */ + nextLink?: string; } /** The SAS URIs of the console screenshot and serial log blobs. */ @@ -1610,20 +1552,235 @@ export interface RetrieveBootDiagnosticsDataResult { readonly serialConsoleLogBlobUri?: string; } -/** Describes the properties of an AssessPatches result. */ -export interface VirtualMachineAssessPatchesResult { +/** The List Extension operation response */ +export interface VirtualMachineExtensionsListResult { + /** The list of extensions */ + value?: VirtualMachineExtension[]; +} + +/** The List Virtual Machine operation response. */ +export interface VirtualMachineListResult { + /** The list of virtual machines. */ + value: VirtualMachine[]; + /** The URI to fetch the next page of VMs. Call ListNext() with this URI to fetch the next page of Virtual Machines. */ + nextLink?: string; +} + +/** The instance view of a virtual machine. */ +export interface VirtualMachineInstanceView { + /** Specifies the update domain of the virtual machine. */ + platformUpdateDomain?: number; + /** Specifies the fault domain of the virtual machine. */ + platformFaultDomain?: number; + /** The computer name assigned to the virtual machine. */ + computerName?: string; + /** The Operating System running on the virtual machine. */ + osName?: string; + /** The version of Operating System running on the virtual machine. */ + osVersion?: string; + /** Specifies the HyperVGeneration Type associated with a resource */ + hyperVGeneration?: HyperVGenerationType; + /** The Remote desktop certificate thumbprint. */ + rdpThumbPrint?: string; + /** The VM Agent running on the virtual machine. */ + vmAgent?: VirtualMachineAgentInstanceView; + /** The Maintenance Operation status on the virtual machine. */ + maintenanceRedeployStatus?: MaintenanceRedeployStatus; + /** The virtual machine disk information. */ + disks?: DiskInstanceView[]; + /** The extensions information. */ + extensions?: VirtualMachineExtensionInstanceView[]; /** - * The overall success or failure status of the operation. It remains "InProgress" until the operation completes. At that point it will become "Unknown", "Failed", "Succeeded", or "CompletedWithWarnings." + * The health status for the VM. * NOTE: This property will not be serialized. It can only be populated by the server. */ - readonly status?: PatchOperationStatus; + readonly vmHealth?: VirtualMachineHealthStatus; + /** Boot Diagnostics is a debugging feature which allows you to view Console Output and Screenshot to diagnose VM status.

You can easily view the output of your console log.

Azure also enables you to see a screenshot of the VM from the hypervisor. */ + bootDiagnostics?: BootDiagnosticsInstanceView; /** - * The activity ID of the operation that produced this result. It is used to correlate across CRP and extension logs. + * Resource id of the dedicated host, on which the virtual machine is allocated through automatic placement, when the virtual machine is associated with a dedicated host group that has automatic placement enabled.

Minimum api-version: 2020-06-01. * NOTE: This property will not be serialized. It can only be populated by the server. */ - readonly assessmentActivityId?: string; - /** - * The overall reboot status of the VM. It will be true when partially installed patches require a reboot to complete installation but the reboot has not yet occurred. + readonly assignedHost?: string; + /** The resource status information. */ + statuses?: InstanceViewStatus[]; + /** [Preview Feature] The status of virtual machine patch operations. */ + patchStatus?: VirtualMachinePatchStatus; +} + +/** The status of virtual machine patch operations. */ +export interface VirtualMachinePatchStatus { + /** The available patch summary of the latest assessment operation for the virtual machine. */ + availablePatchSummary?: AvailablePatchSummary; + /** The installation summary of the latest installation operation for the virtual machine. */ + lastPatchInstallationSummary?: LastPatchInstallationSummary; + /** + * The enablement status of the specified patchMode + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly configurationStatuses?: InstanceViewStatus[]; +} + +/** Describes the properties of an virtual machine instance view for available patch summary. */ +export interface AvailablePatchSummary { + /** + * The overall success or failure status of the operation. It remains "InProgress" until the operation completes. At that point it will become "Unknown", "Failed", "Succeeded", or "CompletedWithWarnings." + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly status?: PatchOperationStatus; + /** + * The activity ID of the operation that produced this result. It is used to correlate across CRP and extension logs. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly assessmentActivityId?: string; + /** + * The overall reboot status of the VM. It will be true when partially installed patches require a reboot to complete installation but the reboot has not yet occurred. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly rebootPending?: boolean; + /** + * The number of critical or security patches that have been detected as available and not yet installed. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly criticalAndSecurityPatchCount?: number; + /** + * The number of all available patches excluding critical and security. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly otherPatchCount?: number; + /** + * The UTC timestamp when the operation began. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly startTime?: Date; + /** + * The UTC timestamp when the operation began. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly lastModifiedTime?: Date; + /** + * The errors that were encountered during execution of the operation. The details array contains the list of them. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly error?: ApiError; +} + +/** Describes the properties of the last installed patch summary. */ +export interface LastPatchInstallationSummary { + /** + * The overall success or failure status of the operation. It remains "InProgress" until the operation completes. At that point it will become "Unknown", "Failed", "Succeeded", or "CompletedWithWarnings." + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly status?: PatchOperationStatus; + /** + * The activity ID of the operation that produced this result. It is used to correlate across CRP and extension logs. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly installationActivityId?: string; + /** + * Describes whether the operation ran out of time before it completed all its intended actions + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly maintenanceWindowExceeded?: boolean; + /** + * The number of all available patches but not going to be installed because it didn't match a classification or inclusion list entry. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly notSelectedPatchCount?: number; + /** + * The number of all available patches but excluded explicitly by a customer-specified exclusion list match. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly excludedPatchCount?: number; + /** + * The number of all available patches expected to be installed over the course of the patch installation operation. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly pendingPatchCount?: number; + /** + * The count of patches that successfully installed. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly installedPatchCount?: number; + /** + * The count of patches that failed installation. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly failedPatchCount?: number; + /** + * The UTC timestamp when the operation began. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly startTime?: Date; + /** + * The UTC timestamp when the operation began. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly lastModifiedTime?: Date; + /** + * The errors that were encountered during execution of the operation. The details array contains the list of them. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly error?: ApiError; +} + +/** Identity for the virtual machine. */ +export interface VirtualMachineIdentity { + /** + * The principal id of virtual machine identity. This property will only be provided for a system assigned identity. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly principalId?: string; + /** + * The tenant id associated with the virtual machine. This property will only be provided for a system assigned identity. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly tenantId?: string; + /** The type of identity used for the virtual machine. The type 'SystemAssigned, UserAssigned' includes both an implicitly created identity and a set of user assigned identities. The type 'None' will remove any identities from the virtual machine. */ + type?: ResourceIdentityType; + /** The list of user identities associated with the Virtual Machine. The user identity dictionary key references will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}'. */ + userAssignedIdentities?: { + [propertyName: string]: UserAssignedIdentitiesValue; + }; +} + +export interface UserAssignedIdentitiesValue { + /** + * The principal id of user assigned identity. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly principalId?: string; + /** + * The client id of user assigned identity. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly clientId?: string; +} + +/** Capture Virtual Machine parameters. */ +export interface VirtualMachineCaptureParameters { + /** The captured virtual hard disk's name prefix. */ + vhdPrefix: string; + /** The destination container name. */ + destinationContainerName: string; + /** Specifies whether to overwrite the destination virtual hard disk, in case of conflict. */ + overwriteVhds: boolean; +} + +/** Describes the properties of an AssessPatches result. */ +export interface VirtualMachineAssessPatchesResult { + /** + * The overall success or failure status of the operation. It remains "InProgress" until the operation completes. At that point it will become "Unknown", "Failed", "Succeeded", or "CompletedWithWarnings." + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly status?: PatchOperationStatus; + /** + * The activity ID of the operation that produced this result. It is used to correlate across CRP and extension logs. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly assessmentActivityId?: string; + /** + * The overall reboot status of the VM. It will be true when partially installed patches require a reboot to complete installation but the reboot has not yet occurred. * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly rebootPending?: boolean; @@ -1844,477 +2001,330 @@ export interface PatchInstallationDetail { readonly installationState?: PatchInstallationState; } -/** Describes a virtual machine scale set virtual machine profile. */ -export interface VirtualMachineScaleSetUpdateVMProfile { - /** The virtual machine scale set OS profile. */ - osProfile?: VirtualMachineScaleSetUpdateOSProfile; - /** The virtual machine scale set storage profile. */ - storageProfile?: VirtualMachineScaleSetUpdateStorageProfile; - /** The virtual machine scale set network profile. */ - networkProfile?: VirtualMachineScaleSetUpdateNetworkProfile; - /** The virtual machine scale set Security profile */ - securityProfile?: SecurityProfile; - /** The virtual machine scale set diagnostics profile. */ - diagnosticsProfile?: DiagnosticsProfile; - /** The virtual machine scale set extension profile. */ - extensionProfile?: VirtualMachineScaleSetExtensionProfile; - /** The license type, which is for bring your own license scenario. */ - licenseType?: string; - /** Specifies the billing related details of a Azure Spot VMSS.

Minimum api-version: 2019-03-01. */ - billingProfile?: BillingProfile; - /** Specifies Scheduled Event related configurations. */ - scheduledEventsProfile?: ScheduledEventsProfile; - /** UserData for the VM, which must be base-64 encoded. Customer should not pass any secrets in here.

Minimum api-version: 2021-03-01 */ - userData?: string; -} - -/** Describes a virtual machine scale set OS profile. */ -export interface VirtualMachineScaleSetUpdateOSProfile { - /** A base-64 encoded string of custom data. */ - customData?: string; - /** The Windows Configuration of the OS profile. */ - windowsConfiguration?: WindowsConfiguration; - /** The Linux Configuration of the OS profile. */ - linuxConfiguration?: LinuxConfiguration; - /** The List of certificates for addition to the VM. */ - secrets?: VaultSecretGroup[]; +/** Used for establishing the purchase context of any 3rd Party artifact through MarketPlace. */ +export interface PurchasePlan { + /** The publisher ID. */ + publisher: string; + /** The plan ID. */ + name: string; + /** Specifies the product of the image from the marketplace. This is the same value as Offer under the imageReference element. */ + product: string; } -/** Describes a virtual machine scale set storage profile. */ -export interface VirtualMachineScaleSetUpdateStorageProfile { - /** The image reference. */ - imageReference?: ImageReference; - /** The OS disk. */ - osDisk?: VirtualMachineScaleSetUpdateOSDisk; - /** The data disks. */ - dataDisks?: VirtualMachineScaleSetDataDisk[]; +/** Contains the os disk image information. */ +export interface OSDiskImage { + /** The operating system of the osDiskImage. */ + operatingSystem: OperatingSystemTypes; } -/** Describes virtual machine scale set operating system disk Update Object. This should be used for Updating VMSS OS Disk. */ -export interface VirtualMachineScaleSetUpdateOSDisk { - /** The caching type. */ - caching?: CachingTypes; - /** Specifies whether writeAccelerator should be enabled or disabled on the disk. */ - writeAcceleratorEnabled?: boolean; - /** Specifies the size of the operating system disk in gigabytes. This element can be used to overwrite the size of the disk in a virtual machine image.

This value cannot be larger than 1023 GB */ - diskSizeGB?: number; - /** The Source User Image VirtualHardDisk. This VirtualHardDisk will be copied before using it to attach to the Virtual Machine. If SourceImage is provided, the destination VirtualHardDisk should not exist. */ - image?: VirtualHardDisk; - /** The list of virtual hard disk container uris. */ - vhdContainers?: string[]; - /** The managed disk parameters. */ - managedDisk?: VirtualMachineScaleSetManagedDiskParameters; +/** Contains the data disk images information. */ +export interface DataDiskImage { + /** + * Specifies the logical unit number of the data disk. This value is used to identify data disks within the VM and therefore must be unique for each data disk attached to a VM. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly lun?: number; } -/** Describes a virtual machine scale set network profile. */ -export interface VirtualMachineScaleSetUpdateNetworkProfile { - /** A reference to a load balancer probe used to determine the health of an instance in the virtual machine scale set. The reference will be in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/loadBalancers/{loadBalancerName}/probes/{probeName}'. */ - healthProbe?: ApiEntityReference; - /** The list of network configurations. */ - networkInterfaceConfigurations?: VirtualMachineScaleSetUpdateNetworkConfiguration[]; - /** specifies the Microsoft.Network API version used when creating networking resources in the Network Interface Configurations for Virtual Machine Scale Set with orchestration mode 'Flexible' */ - networkApiVersion?: NetworkApiVersion; +/** Describes automatic OS upgrade properties on the image. */ +export interface AutomaticOSUpgradeProperties { + /** Specifies whether automatic OS upgrade is supported on the image. */ + automaticOSUpgradeSupported: boolean; } -/** Describes a virtual machines scale set IP Configuration's PublicIPAddress configuration */ -export interface VirtualMachineScaleSetUpdatePublicIPAddressConfiguration { - /** The publicIP address configuration name. */ +/** Specifies the disallowed configuration for a virtual machine image. */ +export interface DisallowedConfiguration { + /** VM disk types which are disallowed. */ + vmDiskType?: VmDiskTypes; +} + +/** Specifies additional capabilities supported by the image */ +export interface VirtualMachineImageFeature { + /** The name of the feature. */ name?: string; - /** The idle timeout of the public IP address. */ - idleTimeoutInMinutes?: number; - /** The dns settings to be applied on the publicIP addresses . */ - dnsSettings?: VirtualMachineScaleSetPublicIPAddressConfigurationDnsSettings; - /** The PublicIPPrefix from which to allocate publicIP addresses. */ - publicIPPrefix?: SubResource; - /** Specify what happens to the public IP when the VM is deleted */ - deleteOption?: DeleteOptions; + /** The corresponding value for the feature. */ + value?: string; } -/** Specifies a list of virtual machine instance IDs from the VM scale set. */ -export interface VirtualMachineScaleSetVMInstanceIDs { - /** The virtual machine scale set instance ids. Omitting the virtual machine scale set instance ids will result in the operation being performed on all virtual machines in the virtual machine scale set. */ - instanceIds?: string[]; +/** The List Availability Set operation response. */ +export interface AvailabilitySetListResult { + /** The list of availability sets */ + value: AvailabilitySet[]; + /** The URI to fetch the next page of AvailabilitySets. Call ListNext() with this URI to fetch the next page of AvailabilitySets. */ + nextLink?: string; } -/** Specifies a list of virtual machine instance IDs from the VM scale set. */ -export interface VirtualMachineScaleSetVMInstanceRequiredIDs { - /** The virtual machine scale set instance ids. */ - instanceIds: string[]; +/** The List Proximity Placement Group operation response. */ +export interface ProximityPlacementGroupListResult { + /** The list of proximity placement groups */ + value: ProximityPlacementGroup[]; + /** The URI to fetch the next page of proximity placement groups. */ + nextLink?: string; } -/** The instance view of a virtual machine scale set. */ -export interface VirtualMachineScaleSetInstanceView { - /** - * The instance view status summary for the virtual machine scale set. - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly virtualMachine?: VirtualMachineScaleSetInstanceViewStatusesSummary; +export interface DedicatedHostGroupInstanceView { + /** List of instance view of the dedicated hosts under the dedicated host group. */ + hosts?: DedicatedHostInstanceViewWithName[]; +} + +/** The instance view of a dedicated host. */ +export interface DedicatedHostInstanceView { /** - * The extensions information. + * Specifies the unique id of the dedicated physical machine on which the dedicated host resides. * NOTE: This property will not be serialized. It can only be populated by the server. */ - readonly extensions?: VirtualMachineScaleSetVMExtensionsSummary[]; + readonly assetId?: string; + /** Unutilized capacity of the dedicated host. */ + availableCapacity?: DedicatedHostAvailableCapacity; /** The resource status information. */ statuses?: InstanceViewStatus[]; - /** - * The orchestration services information. - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly orchestrationServices?: OrchestrationServiceSummary[]; } -/** Instance view statuses summary for virtual machines of a virtual machine scale set. */ -export interface VirtualMachineScaleSetInstanceViewStatusesSummary { - /** - * The extensions information. - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly statusesSummary?: VirtualMachineStatusCodeCount[]; +/** Dedicated host unutilized capacity. */ +export interface DedicatedHostAvailableCapacity { + /** The unutilized capacity of the dedicated host represented in terms of each VM size that is allowed to be deployed to the dedicated host. */ + allocatableVMs?: DedicatedHostAllocatableVM[]; } -/** The status code and count of the virtual machine scale set instance view status summary. */ -export interface VirtualMachineStatusCodeCount { - /** - * The instance view status code. - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly code?: string; - /** - * The number of instances having a particular status code. - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly count?: number; +/** Represents the dedicated host unutilized capacity in terms of a specific VM size. */ +export interface DedicatedHostAllocatableVM { + /** VM size in terms of which the unutilized capacity is represented. */ + vmSize?: string; + /** Maximum number of VMs of size vmSize that can fit in the dedicated host's remaining capacity. */ + count?: number; } -/** Extensions summary for virtual machines of a virtual machine scale set. */ -export interface VirtualMachineScaleSetVMExtensionsSummary { - /** - * The extension name. - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly name?: string; - /** - * The extensions information. - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly statusesSummary?: VirtualMachineStatusCodeCount[]; +/** Enables or disables a capability on the dedicated host group.

Minimum api-version: 2022-03-01. */ +export interface DedicatedHostGroupPropertiesAdditionalCapabilities { + /** The flag that enables or disables a capability to have UltraSSD Enabled Virtual Machines on Dedicated Hosts of the Dedicated Host Group. For the Virtual Machines to be UltraSSD Enabled, UltraSSDEnabled flag for the resoure needs to be set true as well. The value is defaulted to 'false' when not provided. Please refer to https://docs.microsoft.com/en-us/azure/virtual-machines/disks-enable-ultra-ssd for more details on Ultra SSD feature.

NOTE: The ultraSSDEnabled setting can only be enabled for Host Groups that are created as zonal.

Minimum api-version: 2022-03-01. */ + ultraSSDEnabled?: boolean; } -/** Summary for an orchestration service of a virtual machine scale set. */ -export interface OrchestrationServiceSummary { - /** - * The name of the service. - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly serviceName?: OrchestrationServiceNames; - /** - * The current state of the service. - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly serviceState?: OrchestrationServiceState; +/** The List Dedicated Host Group with resource group response. */ +export interface DedicatedHostGroupListResult { + /** The list of dedicated host groups */ + value: DedicatedHostGroup[]; + /** The URI to fetch the next page of Dedicated Host Groups. Call ListNext() with this URI to fetch the next page of Dedicated Host Groups. */ + nextLink?: string; } -/** The List VM scale set extension operation response. */ -export interface VirtualMachineScaleSetExtensionListResult { - /** The list of VM scale set extensions. */ - value: VirtualMachineScaleSetExtension[]; - /** The uri to fetch the next page of VM scale set extensions. Call ListNext() with this to fetch the next page of VM scale set extensions. */ +/** The list dedicated host operation response. */ +export interface DedicatedHostListResult { + /** The list of dedicated hosts */ + value: DedicatedHost[]; + /** The URI to fetch the next page of dedicated hosts. Call ListNext() with this URI to fetch the next page of dedicated hosts. */ nextLink?: string; } -/** The List Virtual Machine operation response. */ -export interface VirtualMachineScaleSetListWithLinkResult { - /** The list of virtual machine scale sets. */ - value: VirtualMachineScaleSet[]; - /** The uri to fetch the next page of Virtual Machine Scale Sets. Call ListNext() with this to fetch the next page of Virtual Machine Scale Sets. */ +/** The list SSH public keys operation response. */ +export interface SshPublicKeysGroupListResult { + /** The list of SSH public keys */ + value: SshPublicKeyResource[]; + /** The URI to fetch the next page of SSH public keys. Call ListNext() with this URI to fetch the next page of SSH public keys. */ nextLink?: string; } -/** The Virtual Machine Scale Set List Skus operation response. */ -export interface VirtualMachineScaleSetListSkusResult { - /** The list of skus available for the virtual machine scale set. */ - value: VirtualMachineScaleSetSku[]; - /** The uri to fetch the next page of Virtual Machine Scale Set Skus. Call ListNext() with this to fetch the next page of VMSS Skus. */ - nextLink?: string; +/** Response from generation of an SSH key pair. */ +export interface SshPublicKeyGenerateKeyPairResult { + /** Private key portion of the key pair used to authenticate to a virtual machine through ssh. The private key is returned in RFC3447 format and should be treated as a secret. */ + privateKey: string; + /** Public key portion of the key pair used to authenticate to a virtual machine through ssh. The public key is in ssh-rsa format. */ + publicKey: string; + /** The ARM resource id in the form of /subscriptions/{SubscriptionId}/resourceGroups/{ResourceGroupName}/providers/Microsoft.Compute/sshPublicKeys/{SshPublicKeyName} */ + id: string; } -/** Describes an available virtual machine scale set sku. */ -export interface VirtualMachineScaleSetSku { - /** - * The type of resource the sku applies to. - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly resourceType?: string; - /** - * The Sku. - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly sku?: Sku; - /** - * Specifies the number of virtual machines in the scale set. - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly capacity?: VirtualMachineScaleSetSkuCapacity; +/** Describes a storage profile. */ +export interface ImageStorageProfile { + /** Specifies information about the operating system disk used by the virtual machine.

For more information about disks, see [About disks and VHDs for Azure virtual machines](https://docs.microsoft.com/azure/virtual-machines/managed-disks-overview). */ + osDisk?: ImageOSDisk; + /** Specifies the parameters that are used to add a data disk to a virtual machine.

For more information about disks, see [About disks and VHDs for Azure virtual machines](https://docs.microsoft.com/azure/virtual-machines/managed-disks-overview). */ + dataDisks?: ImageDataDisk[]; + /** Specifies whether an image is zone resilient or not. Default is false. Zone resilient images can be created only in regions that provide Zone Redundant Storage (ZRS). */ + zoneResilient?: boolean; } -/** Describes scaling information of a sku. */ -export interface VirtualMachineScaleSetSkuCapacity { - /** - * The minimum capacity. - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly minimum?: number; - /** - * The maximum capacity that can be set. - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly maximum?: number; - /** - * The default capacity. - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly defaultCapacity?: number; - /** - * The scale type applicable to the sku. - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly scaleType?: VirtualMachineScaleSetSkuScaleType; +/** Describes a image disk. */ +export interface ImageDisk { + /** The snapshot. */ + snapshot?: SubResource; + /** The managedDisk. */ + managedDisk?: SubResource; + /** The Virtual Hard Disk. */ + blobUri?: string; + /** Specifies the caching requirements.

Possible values are:

**None**

**ReadOnly**

**ReadWrite**

Default: **None for Standard storage. ReadOnly for Premium storage** */ + caching?: CachingTypes; + /** Specifies the size of empty data disks in gigabytes. This element can be used to overwrite the name of the disk in a virtual machine image.

This value cannot be larger than 1023 GB */ + diskSizeGB?: number; + /** Specifies the storage account type for the managed disk. NOTE: UltraSSD_LRS can only be used with data disks, it cannot be used with OS Disk. */ + storageAccountType?: StorageAccountTypes; + /** Specifies the customer managed disk encryption set resource id for the managed image disk. */ + diskEncryptionSet?: DiskEncryptionSetParameters; } -/** List of Virtual Machine Scale Set OS Upgrade History operation response. */ -export interface VirtualMachineScaleSetListOSUpgradeHistory { - /** The list of OS upgrades performed on the virtual machine scale set. */ - value: UpgradeOperationHistoricalStatusInfo[]; - /** The uri to fetch the next page of OS Upgrade History. Call ListNext() with this to fetch the next page of history of upgrades. */ +/** The List Image operation response. */ +export interface ImageListResult { + /** The list of Images. */ + value: Image[]; + /** The uri to fetch the next page of Images. Call ListNext() with this to fetch the next page of Images. */ nextLink?: string; } -/** Virtual Machine Scale Set OS Upgrade History operation response. */ -export interface UpgradeOperationHistoricalStatusInfo { - /** - * Information about the properties of the upgrade operation. - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly properties?: UpgradeOperationHistoricalStatusInfoProperties; +/** The properties of the source resource that this restore point collection is created from. */ +export interface RestorePointCollectionSourceProperties { /** - * Resource type - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly type?: string; - /** - * Resource location + * Location of the source resource used to create this restore point collection. * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly location?: string; + /** Resource Id of the source resource used to create this restore point collection */ + id?: string; } -/** Describes each OS upgrade on the Virtual Machine Scale Set. */ -export interface UpgradeOperationHistoricalStatusInfoProperties { - /** - * Information about the overall status of the upgrade operation. - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly runningStatus?: UpgradeOperationHistoryStatus; - /** - * Counts of the VMs in each state. - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly progress?: RollingUpgradeProgressInfo; - /** - * Error Details for this upgrade if there are any. - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly error?: ApiError; - /** - * Invoker of the Upgrade Operation - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly startedBy?: UpgradeOperationInvoker; - /** - * Image Reference details - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly targetImageReference?: ImageReference; - /** - * Information about OS rollback if performed - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly rollbackInfo?: RollbackStatusInfo; +/** Describes the properties of the Virtual Machine for which the restore point was created. The properties provided are a subset and the snapshot of the overall Virtual Machine properties captured at the time of the restore point creation. */ +export interface RestorePointSourceMetadata { + /** Gets the hardware profile. */ + hardwareProfile?: HardwareProfile; + /** Gets the storage profile. */ + storageProfile?: RestorePointSourceVMStorageProfile; + /** Gets the OS profile. */ + osProfile?: OSProfile; + /** Gets the diagnostics profile. */ + diagnosticsProfile?: DiagnosticsProfile; + /** Gets the license type, which is for bring your own license scenario. */ + licenseType?: string; + /** Gets the virtual machine unique id. */ + vmId?: string; + /** Gets the security profile. */ + securityProfile?: SecurityProfile; + /** Location of the VM from which the restore point was created. */ + location?: string; } -/** Information about the current running state of the overall upgrade. */ -export interface UpgradeOperationHistoryStatus { - /** - * Code indicating the current status of the upgrade. - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly code?: UpgradeState; - /** - * Start time of the upgrade. - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly startTime?: Date; - /** - * End time of the upgrade. - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly endTime?: Date; +/** Describes the storage profile. */ +export interface RestorePointSourceVMStorageProfile { + /** Gets the OS disk of the VM captured at the time of the restore point creation. */ + osDisk?: RestorePointSourceVmosDisk; + /** Gets the data disks of the VM captured at the time of the restore point creation. */ + dataDisks?: RestorePointSourceVMDataDisk[]; } -/** Information about the number of virtual machine instances in each upgrade state. */ -export interface RollingUpgradeProgressInfo { - /** - * The number of instances that have been successfully upgraded. - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly successfulInstanceCount?: number; - /** - * The number of instances that have failed to be upgraded successfully. - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly failedInstanceCount?: number; - /** - * The number of instances that are currently being upgraded. - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly inProgressInstanceCount?: number; - /** - * The number of instances that have not yet begun to be upgraded. - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly pendingInstanceCount?: number; +/** Describes an Operating System disk. */ +export interface RestorePointSourceVmosDisk { + /** Gets the Operating System type. */ + osType?: OperatingSystemType; + /** Gets the disk encryption settings. */ + encryptionSettings?: DiskEncryptionSettings; + /** Gets the disk name. */ + name?: string; + /** Gets the caching type. */ + caching?: CachingTypes; + /** Gets the disk size in GB. */ + diskSizeGB?: number; + /** Gets the managed disk details */ + managedDisk?: ManagedDiskParameters; + /** Gets the disk restore point Id. */ + diskRestorePoint?: ApiEntityReference; } -/** Information about rollback on failed VM instances after a OS Upgrade operation. */ -export interface RollbackStatusInfo { - /** - * The number of instances which have been successfully rolled back. - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly successfullyRolledbackInstanceCount?: number; - /** - * The number of instances which failed to rollback. - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly failedRolledbackInstanceCount?: number; - /** - * Error details if OS rollback failed. - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly rollbackError?: ApiError; +/** Describes a data disk. */ +export interface RestorePointSourceVMDataDisk { + /** Gets the logical unit number. */ + lun?: number; + /** Gets the disk name. */ + name?: string; + /** Gets the caching type. */ + caching?: CachingTypes; + /** Gets the initial disk size in GB for blank data disks, and the new desired size for existing OS and Data disks. */ + diskSizeGB?: number; + /** Gets the managed disk details */ + managedDisk?: ManagedDiskParameters; + /** Gets the disk restore point Id. */ + diskRestorePoint?: ApiEntityReference; } -/** Information about the current running state of the overall upgrade. */ -export interface RollingUpgradeRunningStatus { - /** - * Code indicating the current status of the upgrade. - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly code?: RollingUpgradeStatusCode; +/** The instance view of a restore point. */ +export interface RestorePointInstanceView { + /** The disk restore points information. */ + diskRestorePoints?: DiskRestorePointInstanceView[]; + /** The resource status information. */ + statuses?: InstanceViewStatus[]; +} + +/** The instance view of a disk restore point. */ +export interface DiskRestorePointInstanceView { + /** Disk restore point Id. */ + id?: string; + /** The disk restore point replication status information. */ + replicationStatus?: Record; +} + +/** The resource model definition for an Azure Resource Manager proxy resource. It will not have tags and a location */ +export interface ProxyResource { /** - * Start time of the upgrade. + * Resource Id * NOTE: This property will not be serialized. It can only be populated by the server. */ - readonly startTime?: Date; + readonly id?: string; /** - * The last action performed on the rolling upgrade. + * Resource name * NOTE: This property will not be serialized. It can only be populated by the server. */ - readonly lastAction?: RollingUpgradeActionType; + readonly name?: string; /** - * Last action time of the upgrade. + * Resource type * NOTE: This property will not be serialized. It can only be populated by the server. */ - readonly lastActionTime?: Date; + readonly type?: string; } -/** Response after calling a manual recovery walk */ -export interface RecoveryWalkResponse { +/** The List restore point collection operation response. */ +export interface RestorePointCollectionListResult { + /** Gets the list of restore point collections. */ + value?: RestorePointCollection[]; + /** The uri to fetch the next page of RestorePointCollections. Call ListNext() with this to fetch the next page of RestorePointCollections */ + nextLink?: string; +} + +export interface CapacityReservationGroupInstanceView { /** - * Whether the recovery walk was performed + * List of instance view of the capacity reservations under the capacity reservation group. * NOTE: This property will not be serialized. It can only be populated by the server. */ - readonly walkPerformed?: boolean; + readonly capacityReservations?: CapacityReservationInstanceViewWithName[]; +} + +/** The instance view of a capacity reservation that provides as snapshot of the runtime properties of the capacity reservation that is managed by the platform and can change outside of control plane operations. */ +export interface CapacityReservationInstanceView { + /** Unutilized capacity of the capacity reservation. */ + utilizationInfo?: CapacityReservationUtilization; + /** The resource status information. */ + statuses?: InstanceViewStatus[]; +} + +/** Represents the capacity reservation utilization in terms of resources allocated. */ +export interface CapacityReservationUtilization { /** - * The next update domain that needs to be walked. Null means walk spanning all update domains has been completed + * A list of all virtual machines resource ids allocated against the capacity reservation. * NOTE: This property will not be serialized. It can only be populated by the server. */ - readonly nextPlatformUpdateDomain?: number; -} - -export interface VMScaleSetConvertToSinglePlacementGroupInput { - /** Id of the placement group in which you want future virtual machine instances to be placed. To query placement group Id, please use Virtual Machine Scale Set VMs - Get API. If not provided, the platform will choose one with maximum number of virtual machine instances. */ - activePlacementGroupId?: string; + readonly virtualMachinesAllocated?: SubResourceReadOnly[]; } -/** The input for OrchestrationServiceState */ -export interface OrchestrationServiceStateInput { - /** The name of the service. */ - serviceName: OrchestrationServiceNames; - /** The action to be performed. */ - action: OrchestrationServiceStateAction; +/** The List capacity reservation group with resource group response. */ +export interface CapacityReservationGroupListResult { + /** The list of capacity reservation groups */ + value: CapacityReservationGroup[]; + /** The URI to fetch the next page of capacity reservation groups. Call ListNext() with this URI to fetch the next page of capacity reservation groups. */ + nextLink?: string; } -/** The List VMSS VM Extension operation response */ -export interface VirtualMachineScaleSetVMExtensionsListResult { - /** The list of VMSS VM extensions */ - value?: VirtualMachineScaleSetVMExtension[]; -} - -/** The instance view of a virtual machine scale set VM. */ -export interface VirtualMachineScaleSetVMInstanceView { - /** The Update Domain count. */ - platformUpdateDomain?: number; - /** The Fault Domain count. */ - platformFaultDomain?: number; - /** The Remote desktop certificate thumbprint. */ - rdpThumbPrint?: string; - /** The VM Agent running on the virtual machine. */ - vmAgent?: VirtualMachineAgentInstanceView; - /** The Maintenance Operation status on the virtual machine. */ - maintenanceRedeployStatus?: MaintenanceRedeployStatus; - /** The disks information. */ - disks?: DiskInstanceView[]; - /** The extensions information. */ - extensions?: VirtualMachineExtensionInstanceView[]; - /** - * The health status for the VM. - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly vmHealth?: VirtualMachineHealthStatus; - /** Boot Diagnostics is a debugging feature which allows you to view Console Output and Screenshot to diagnose VM status.

You can easily view the output of your console log.

Azure also enables you to see a screenshot of the VM from the hypervisor. */ - bootDiagnostics?: BootDiagnosticsInstanceView; - /** The resource status information. */ - statuses?: InstanceViewStatus[]; - /** - * Resource id of the dedicated host, on which the virtual machine is allocated through automatic placement, when the virtual machine is associated with a dedicated host group that has automatic placement enabled.

Minimum api-version: 2020-06-01. - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly assignedHost?: string; - /** The placement group in which the VM is running. If the VM is deallocated it will not have a placementGroupId. */ - placementGroupId?: string; -} - -/** Describes a virtual machine scale set VM network profile. */ -export interface VirtualMachineScaleSetVMNetworkProfileConfiguration { - /** The list of network configurations. */ - networkInterfaceConfigurations?: VirtualMachineScaleSetNetworkConfiguration[]; -} - -/** The protection policy of a virtual machine scale set VM. */ -export interface VirtualMachineScaleSetVMProtectionPolicy { - /** Indicates that the virtual machine scale set VM shouldn't be considered for deletion during a scale-in operation. */ - protectFromScaleIn?: boolean; - /** Indicates that model updates or actions (including scale-in) initiated on the virtual machine scale set should not be applied to the virtual machine scale set VM. */ - protectFromScaleSetActions?: boolean; -} - -/** The List Virtual Machine Scale Set VMs operation response. */ -export interface VirtualMachineScaleSetVMListResult { - /** The list of virtual machine scale sets VMs. */ - value: VirtualMachineScaleSetVM[]; - /** The uri to fetch the next page of Virtual Machine Scale Set VMs. Call ListNext() with this to fetch the next page of VMSS VMs */ - nextLink?: string; +/** The list capacity reservation operation response. */ +export interface CapacityReservationListResult { + /** The list of capacity reservations */ + value: CapacityReservation[]; + /** The URI to fetch the next page of capacity reservations. Call ListNext() with this URI to fetch the next page of capacity reservations. */ + nextLink?: string; } /** Api input base class for LogAnalytics Api. */ @@ -2450,1105 +2460,1106 @@ export interface VirtualMachineRunCommandsListResult { nextLink?: string; } -/** The List Resource Skus operation response. */ -export interface ResourceSkusResult { - /** The list of skus available for the subscription. */ - value: ResourceSku[]; - /** The URI to fetch the next page of Resource Skus. Call ListNext() with this URI to fetch the next page of Resource Skus */ - nextLink?: string; -} - -/** Describes an available Compute SKU. */ -export interface ResourceSku { - /** - * The type of resource the SKU applies to. - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly resourceType?: string; - /** - * The name of SKU. - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly name?: string; - /** - * Specifies the tier of virtual machines in a scale set.

Possible Values:

**Standard**

**Basic** - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly tier?: string; - /** - * The Size of the SKU. - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly size?: string; - /** - * The Family of this particular SKU. - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly family?: string; - /** - * The Kind of resources that are supported in this SKU. - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly kind?: string; - /** - * Specifies the number of virtual machines in the scale set. - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly capacity?: ResourceSkuCapacity; - /** - * The set of locations that the SKU is available. - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly locations?: string[]; - /** - * A list of locations and availability zones in those locations where the SKU is available. - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly locationInfo?: ResourceSkuLocationInfo[]; - /** - * The api versions that support this SKU. - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly apiVersions?: string[]; - /** - * Metadata for retrieving price info. - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly costs?: ResourceSkuCosts[]; - /** - * A name value pair to describe the capability. - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly capabilities?: ResourceSkuCapabilities[]; +/** Describes the gallery unique name. */ +export interface GalleryIdentifier { /** - * The restrictions because of which SKU cannot be used. This is empty if there are no restrictions. + * The unique name of the Shared Image Gallery. This name is generated automatically by Azure. * NOTE: This property will not be serialized. It can only be populated by the server. */ - readonly restrictions?: ResourceSkuRestrictions[]; + readonly uniqueName?: string; } -/** Describes scaling information of a SKU. */ -export interface ResourceSkuCapacity { - /** - * The minimum capacity. - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly minimum?: number; - /** - * The maximum capacity that can be set. - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly maximum?: number; - /** - * The default capacity. - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly default?: number; +/** Profile for gallery sharing to subscription or tenant */ +export interface SharingProfile { + /** This property allows you to specify the permission of sharing gallery.

Possible values are:

**Private**

**Groups** */ + permissions?: GallerySharingPermissionTypes; /** - * The scale type applicable to the sku. + * A list of sharing profile groups. * NOTE: This property will not be serialized. It can only be populated by the server. */ - readonly scaleType?: ResourceSkuCapacityScaleType; + readonly groups?: SharingProfileGroup[]; + /** Information of community gallery if current gallery is shared to community. */ + communityGalleryInfo?: any; } -/** Describes an available Compute SKU Location Information. */ -export interface ResourceSkuLocationInfo { - /** - * Location of the SKU - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly location?: string; - /** - * List of availability zones where the SKU is supported. - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly zones?: string[]; - /** - * Details of capabilities available to a SKU in specific zones. - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly zoneDetails?: ResourceSkuZoneDetails[]; - /** - * The names of extended locations. - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly extendedLocations?: string[]; - /** - * The type of the extended location. - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly type?: ExtendedLocationType; +/** Group of the gallery sharing profile */ +export interface SharingProfileGroup { + /** This property allows you to specify the type of sharing group.

Possible values are:

**Subscriptions**

**AADTenants**

**Community** */ + type?: SharingProfileGroupTypes; + /** A list of subscription/tenant ids the gallery is aimed to be shared to. */ + ids?: string[]; } -/** Describes The zonal capabilities of a SKU. */ -export interface ResourceSkuZoneDetails { - /** - * The set of zones that the SKU is available in with the specified capabilities. - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly name?: string[]; - /** - * A list of capabilities that are available for the SKU in the specified list of zones. - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly capabilities?: ResourceSkuCapabilities[]; +/** Contains information about the soft deletion policy of the gallery. */ +export interface SoftDeletePolicy { + /** Enables soft-deletion for resources in this gallery, allowing them to be recovered within retention time. */ + isSoftDeleteEnabled?: boolean; } -/** Describes The SKU capabilities object. */ -export interface ResourceSkuCapabilities { - /** - * An invariant to describe the feature. - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly name?: string; +/** Sharing status of current gallery. */ +export interface SharingStatus { /** - * An invariant if the feature is measured by quantity. + * Aggregated sharing state of current gallery. * NOTE: This property will not be serialized. It can only be populated by the server. */ - readonly value?: string; + readonly aggregatedState?: SharingState; + /** Summary of all regional sharing status. */ + summary?: RegionalSharingStatus[]; } -/** Describes metadata for retrieving price info. */ -export interface ResourceSkuCosts { - /** - * Used for querying price from commerce. - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly meterID?: string; - /** - * The multiplier is needed to extend the base metered cost. - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly quantity?: number; +/** Gallery regional sharing status */ +export interface RegionalSharingStatus { + /** Region name */ + region?: string; /** - * An invariant to show the extended unit. + * Gallery sharing state in current region * NOTE: This property will not be serialized. It can only be populated by the server. */ - readonly extendedUnit?: string; + readonly state?: SharingState; + /** Details of gallery regional sharing failure. */ + details?: string; } -/** Describes scaling information of a SKU. */ -export interface ResourceSkuRestrictions { - /** - * The type of restrictions. - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly type?: ResourceSkuRestrictionsType; +/** The Update Resource model definition. */ +export interface UpdateResourceDefinition { /** - * The value of restrictions. If the restriction type is set to location. This would be different locations where the SKU is restricted. + * Resource Id * NOTE: This property will not be serialized. It can only be populated by the server. */ - readonly values?: string[]; + readonly id?: string; /** - * The information about the restriction where the SKU cannot be used. + * Resource name * NOTE: This property will not be serialized. It can only be populated by the server. */ - readonly restrictionInfo?: ResourceSkuRestrictionInfo; + readonly name?: string; /** - * The reason for restriction. + * Resource type * NOTE: This property will not be serialized. It can only be populated by the server. */ - readonly reasonCode?: ResourceSkuRestrictionsReasonCode; + readonly type?: string; + /** Resource tags */ + tags?: { [propertyName: string]: string }; } -/** Describes an available Compute SKU Restriction Information. */ -export interface ResourceSkuRestrictionInfo { - /** - * Locations where the SKU is restricted - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly locations?: string[]; - /** - * List of availability zones where the SKU is restricted. - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly zones?: string[]; +/** This is the gallery image definition identifier. */ +export interface GalleryImageIdentifier { + /** The name of the gallery image definition publisher. */ + publisher: string; + /** The name of the gallery image definition offer. */ + offer: string; + /** The name of the gallery image definition SKU. */ + sku: string; } -/** The disks sku name. Can be Standard_LRS, Premium_LRS, StandardSSD_LRS, UltraSSD_LRS, Premium_ZRS, or StandardSSD_ZRS. */ -export interface DiskSku { - /** The sku name. */ - name?: DiskStorageAccountTypes; - /** - * The sku tier. - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly tier?: string; +/** The properties describe the recommended machine configuration for this Image Definition. These properties are updatable. */ +export interface RecommendedMachineConfiguration { + /** Describes the resource range. */ + vCPUs?: ResourceRange; + /** Describes the resource range. */ + memory?: ResourceRange; } -/** Used for establishing the purchase context of any 3rd Party artifact through MarketPlace. */ -export interface PurchasePlanAutoGenerated { +/** Describes the resource range. */ +export interface ResourceRange { + /** The minimum number of the resource. */ + min?: number; + /** The maximum number of the resource. */ + max?: number; +} + +/** Describes the disallowed disk types. */ +export interface Disallowed { + /** A list of disk types. */ + diskTypes?: string[]; +} + +/** Describes the gallery image definition purchase plan. This is used by marketplace images. */ +export interface ImagePurchasePlan { /** The plan ID. */ - name: string; + name?: string; /** The publisher ID. */ - publisher: string; - /** Specifies the product of the image from the marketplace. This is the same value as Offer under the imageReference element. */ - product: string; - /** The Offer Promotion Code. */ - promotionCode?: string; + publisher?: string; + /** The product ID. */ + product?: string; } -/** List of supported capabilities persisted on the disk resource for VM use. */ -export interface SupportedCapabilities { - /** True if the image from which the OS disk is created supports accelerated networking. */ - acceleratedNetwork?: boolean; - /** CPU architecture supported by an OS disk. */ - architecture?: Architecture; +/** A feature for gallery image. */ +export interface GalleryImageFeature { + /** The name of the gallery image feature. */ + name?: string; + /** The value of the gallery image feature. */ + value?: string; } -/** Data used when creating a disk. */ -export interface CreationData { - /** This enumerates the possible sources of a disk's creation. */ - createOption: DiskCreateOption; - /** Required if createOption is Import. The Azure Resource Manager identifier of the storage account containing the blob to import as a disk. */ - storageAccountId?: string; - /** Disk source information. */ - imageReference?: ImageDiskReference; - /** Required if creating from a Gallery Image. The id of the ImageDiskReference will be the ARM id of the shared galley image version from which to create a disk. */ - galleryImageReference?: ImageDiskReference; - /** If createOption is Import, this is the URI of a blob to be imported into a managed disk. */ - sourceUri?: string; - /** If createOption is Copy, this is the ARM id of the source snapshot or disk. */ - sourceResourceId?: string; +/** Describes the basic gallery artifact publishing profile. */ +export interface GalleryArtifactPublishingProfileBase { + /** The target regions where the Image Version is going to be replicated to. This property is updatable. */ + targetRegions?: TargetRegion[]; + /** The number of replicas of the Image Version to be created per region. This property would take effect for a region when regionalReplicaCount is not specified. This property is updatable. */ + replicaCount?: number; + /** If set to true, Virtual Machines deployed from the latest version of the Image Definition won't use this Image Version. */ + excludeFromLatest?: boolean; /** - * If this field is set, this is the unique id identifying the source of this resource. + * The timestamp for when the gallery image version is published. * NOTE: This property will not be serialized. It can only be populated by the server. */ - readonly sourceUniqueId?: string; - /** If createOption is Upload, this is the size of the contents of the upload including the VHD footer. This value should be between 20972032 (20 MiB + 512 bytes for the VHD footer) and 35183298347520 bytes (32 TiB + 512 bytes for the VHD footer). */ - uploadSizeBytes?: number; - /** Logical sector size in bytes for Ultra disks. Supported values are 512 ad 4096. 4096 is the default. */ - logicalSectorSize?: number; - /** If createOption is ImportSecure, this is the URI of a blob to be imported into VM guest state. */ - securityDataUri?: string; + readonly publishedDate?: Date; + /** The end of life date of the gallery image version. This property can be used for decommissioning purposes. This property is updatable. */ + endOfLifeDate?: Date; + /** Specifies the storage account type to be used to store the image. This property is not updatable. */ + storageAccountType?: StorageAccountType; + /** Optional parameter which specifies the mode to be used for replication. This property is not updatable. */ + replicationMode?: ReplicationMode; + /** The target extended locations where the Image Version is going to be replicated to. This property is updatable. */ + targetExtendedLocations?: GalleryTargetExtendedLocation[]; } -/** The source image used for creating the disk. */ -export interface ImageDiskReference { - /** A relative uri containing either a Platform Image Repository or user image reference. */ - id: string; - /** If the disk is created from an image's data disk, this is an index that indicates which of the data disks in the image to use. For OS disks, this field is null. */ - lun?: number; +/** Describes the target region information. */ +export interface TargetRegion { + /** The name of the region. */ + name: string; + /** The number of replicas of the Image Version to be created per region. This property is updatable. */ + regionalReplicaCount?: number; + /** Specifies the storage account type to be used to store the image. This property is not updatable. */ + storageAccountType?: StorageAccountType; + /** Optional. Allows users to provide customer managed keys for encrypting the OS and data disks in the gallery artifact. */ + encryption?: EncryptionImages; } -/** Encryption settings for disk or snapshot */ -export interface EncryptionSettingsCollection { - /** Set this flag to true and provide DiskEncryptionKey and optional KeyEncryptionKey to enable encryption. Set this flag to false and remove DiskEncryptionKey and KeyEncryptionKey to disable encryption. If EncryptionSettings is null in the request object, the existing settings remain unchanged. */ - enabled: boolean; - /** A collection of encryption settings, one for each disk volume. */ - encryptionSettings?: EncryptionSettingsElement[]; - /** Describes what type of encryption is used for the disks. Once this field is set, it cannot be overwritten. '1.0' corresponds to Azure Disk Encryption with AAD app.'1.1' corresponds to Azure Disk Encryption. */ - encryptionSettingsVersion?: string; +/** Optional. Allows users to provide customer managed keys for encrypting the OS and data disks in the gallery artifact. */ +export interface EncryptionImages { + /** Contains encryption settings for an OS disk image. */ + osDiskImage?: OSDiskImageEncryption; + /** A list of encryption specifications for data disk images. */ + dataDiskImages?: DataDiskImageEncryption[]; } -/** Encryption settings for one disk volume. */ -export interface EncryptionSettingsElement { - /** Key Vault Secret Url and vault id of the disk encryption key */ - diskEncryptionKey?: KeyVaultAndSecretReference; - /** Key Vault Key Url and vault id of the key encryption key. KeyEncryptionKey is optional and when provided is used to unwrap the disk encryption key. */ - keyEncryptionKey?: KeyVaultAndKeyReference; +/** Contains security profile for an OS disk image. */ +export interface OSDiskImageSecurityProfile { + /** confidential VM encryption types */ + confidentialVMEncryptionType?: ConfidentialVMEncryptionType; + /** secure VM disk encryption set id */ + secureVMDiskEncryptionSetId?: string; } -/** Key Vault Secret Url and vault id of the encryption key */ -export interface KeyVaultAndSecretReference { - /** Resource id of the KeyVault containing the key or secret */ - sourceVault: SourceVault; - /** Url pointing to a key or secret in KeyVault */ - secretUrl: string; +/** This is the disk image encryption base class. */ +export interface DiskImageEncryption { + /** A relative URI containing the resource ID of the disk encryption set. */ + diskEncryptionSetId?: string; } -/** The vault id is an Azure Resource Manager Resource id in the form /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.KeyVault/vaults/{vaultName} */ -export interface SourceVault { - /** Resource Id */ - id?: string; +export interface GalleryTargetExtendedLocation { + /** The name of the region. */ + name?: string; + /** The name of the extended location. */ + extendedLocation?: GalleryExtendedLocation; + /** The number of replicas of the Image Version to be created per extended location. This property is updatable. */ + extendedLocationReplicaCount?: number; + /** Specifies the storage account type to be used to store the image. This property is not updatable. */ + storageAccountType?: StorageAccountType; + /** Optional. Allows users to provide customer managed keys for encrypting the OS and data disks in the gallery artifact. */ + encryption?: EncryptionImages; } -/** Key Vault Key Url and vault id of KeK, KeK is optional and when provided is used to unwrap the encryptionKey */ -export interface KeyVaultAndKeyReference { - /** Resource id of the KeyVault containing the key or secret */ - sourceVault: SourceVault; - /** Url pointing to a key or secret in KeyVault */ - keyUrl: string; +/** The name of the extended location. */ +export interface GalleryExtendedLocation { + name?: string; + /** It is type of the extended location. */ + type?: GalleryExtendedLocationType; } -/** Encryption at rest settings for disk or snapshot */ -export interface Encryption { - /** ResourceId of the disk encryption set to use for enabling encryption at rest. */ - diskEncryptionSetId?: string; - /** The type of key used to encrypt the data of the disk. */ - type?: EncryptionType; +/** This is the storage profile of a Gallery Image Version. */ +export interface GalleryImageVersionStorageProfile { + /** The gallery artifact version source. */ + source?: GalleryArtifactVersionSource; + /** This is the OS disk image. */ + osDiskImage?: GalleryOSDiskImage; + /** A list of data disk images. */ + dataDiskImages?: GalleryDataDiskImage[]; } -export interface ShareInfoElement { +/** The gallery artifact version source. */ +export interface GalleryArtifactVersionSource { + /** The id of the gallery artifact version source. Can specify a disk uri, snapshot uri, user image or storage account resource. */ + id?: string; + /** The uri of the gallery artifact version source. Currently used to specify vhd/blob source. */ + uri?: string; +} + +/** This is the disk image base class. */ +export interface GalleryDiskImage { /** - * A relative URI containing the ID of the VM that has the disk attached. + * This property indicates the size of the VHD to be created. * NOTE: This property will not be serialized. It can only be populated by the server. */ - readonly vmUri?: string; -} - -/** Properties of the disk for which update is pending. */ -export interface PropertyUpdatesInProgress { - /** The target performance tier of the disk if a tier change operation is in progress. */ - targetTier?: string; + readonly sizeInGB?: number; + /** The host caching of the disk. Valid values are 'None', 'ReadOnly', and 'ReadWrite' */ + hostCaching?: HostCaching; + /** The gallery artifact version source. */ + source?: GalleryArtifactVersionSource; } -/** Contains the security related information for the resource. */ -export interface DiskSecurityProfile { - /** Specifies the SecurityType of the VM. Applicable for OS disks only. */ - securityType?: DiskSecurityTypes; - /** ResourceId of the disk encryption set associated to Confidential VM supported disk encrypted with customer managed key */ - secureVMDiskEncryptionSetId?: string; +/** This is the replication status of the gallery image version. */ +export interface ReplicationStatus { + /** + * This is the aggregated replication status based on all the regional replication status flags. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly aggregatedState?: AggregatedReplicationState; + /** + * This is a summary of replication status for each region. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly summary?: RegionalReplicationStatus[]; } -/** Disk update resource. */ -export interface DiskUpdate { - /** Resource tags */ - tags?: { [propertyName: string]: string }; - /** The disks sku name. Can be Standard_LRS, Premium_LRS, StandardSSD_LRS, UltraSSD_LRS, Premium_ZRS, or StandardSSD_ZRS. */ - sku?: DiskSku; - /** the Operating System type. */ - osType?: OperatingSystemTypes; - /** If creationData.createOption is Empty, this field is mandatory and it indicates the size of the disk to create. If this field is present for updates or creation with other options, it indicates a resize. Resizes are only allowed if the disk is not attached to a running VM, and can only increase the disk's size. */ - diskSizeGB?: number; - /** Encryption settings collection used be Azure Disk Encryption, can contain multiple encryption settings per disk or snapshot. */ - encryptionSettingsCollection?: EncryptionSettingsCollection; - /** The number of IOPS allowed for this disk; only settable for UltraSSD disks. One operation can transfer between 4k and 256k bytes. */ - diskIopsReadWrite?: number; - /** The bandwidth allowed for this disk; only settable for UltraSSD disks. MBps means millions of bytes per second - MB here uses the ISO notation, of powers of 10. */ - diskMBpsReadWrite?: number; - /** The total number of IOPS that will be allowed across all VMs mounting the shared disk as ReadOnly. One operation can transfer between 4k and 256k bytes. */ - diskIopsReadOnly?: number; - /** The total throughput (MBps) that will be allowed across all VMs mounting the shared disk as ReadOnly. MBps means millions of bytes per second - MB here uses the ISO notation, of powers of 10. */ - diskMBpsReadOnly?: number; - /** The maximum number of VMs that can attach to the disk at the same time. Value greater than one indicates a disk that can be mounted on multiple VMs at the same time. */ - maxShares?: number; - /** Encryption property can be used to encrypt data at rest with customer managed keys or platform managed keys. */ - encryption?: Encryption; - /** Policy for accessing the disk via network. */ - networkAccessPolicy?: NetworkAccessPolicy; - /** ARM id of the DiskAccess resource for using private endpoints on disks. */ - diskAccessId?: string; - /** Performance tier of the disk (e.g, P4, S10) as described here: https://azure.microsoft.com/en-us/pricing/details/managed-disks/. Does not apply to Ultra disks. */ - tier?: string; - /** Set to true to enable bursting beyond the provisioned performance target of the disk. Bursting is disabled by default. Does not apply to Ultra disks. */ - burstingEnabled?: boolean; - /** Purchase plan information to be added on the OS disk */ - purchasePlan?: PurchasePlanAutoGenerated; - /** List of supported capabilities to be added on the OS disk. */ - supportedCapabilities?: SupportedCapabilities; +/** This is the regional replication status. */ +export interface RegionalReplicationStatus { /** - * Properties of the disk for which update is pending. + * The region to which the gallery image version is being replicated to. * NOTE: This property will not be serialized. It can only be populated by the server. */ - readonly propertyUpdatesInProgress?: PropertyUpdatesInProgress; - /** Indicates the OS on a disk supports hibernation. */ - supportsHibernation?: boolean; - /** Policy for controlling export on the disk. */ - publicNetworkAccess?: PublicNetworkAccess; - /** Additional authentication requirements when exporting or uploading to a disk or snapshot. */ - dataAccessAuthMode?: DataAccessAuthMode; -} - -/** The List Disks operation response. */ -export interface DiskList { - /** A list of disks. */ - value: Disk[]; - /** The uri to fetch the next page of disks. Call ListNext() with this to fetch the next page of disks. */ - nextLink?: string; -} - -/** Data used for requesting a SAS. */ -export interface GrantAccessData { - access: AccessLevel; - /** Time duration in seconds until the SAS access expires. */ - durationInSeconds: number; - /** Set this flag to true to get additional SAS for VM guest state */ - getSecureVMGuestStateSAS?: boolean; -} - -/** A disk access SAS uri. */ -export interface AccessUri { + readonly region?: string; /** - * A SAS uri for accessing a disk. + * This is the regional replication state. * NOTE: This property will not be serialized. It can only be populated by the server. */ - readonly accessSAS?: string; + readonly state?: ReplicationState; /** - * A SAS uri for accessing a VM guest state. + * The details of the replication status. * NOTE: This property will not be serialized. It can only be populated by the server. */ - readonly securityDataAccessSAS?: string; -} - -/** The snapshots sku name. Can be Standard_LRS, Premium_LRS, or Standard_ZRS. This is an optional parameter for incremental snapshot and the default behavior is the SKU will be set to the same sku as the previous snapshot */ -export interface SnapshotSku { - /** The sku name. */ - name?: SnapshotStorageAccountTypes; + readonly details?: string; /** - * The sku tier. + * It indicates progress of the replication job. * NOTE: This property will not be serialized. It can only be populated by the server. */ - readonly tier?: string; + readonly progress?: number; } -/** Snapshot update resource. */ -export interface SnapshotUpdate { - /** Resource tags */ - tags?: { [propertyName: string]: string }; - /** The snapshots sku name. Can be Standard_LRS, Premium_LRS, or Standard_ZRS. This is an optional parameter for incremental snapshot and the default behavior is the SKU will be set to the same sku as the previous snapshot */ - sku?: SnapshotSku; - /** the Operating System type. */ - osType?: OperatingSystemTypes; - /** If creationData.createOption is Empty, this field is mandatory and it indicates the size of the disk to create. If this field is present for updates or creation with other options, it indicates a resize. Resizes are only allowed if the disk is not attached to a running VM, and can only increase the disk's size. */ - diskSizeGB?: number; - /** Encryption settings collection used be Azure Disk Encryption, can contain multiple encryption settings per disk or snapshot. */ - encryptionSettingsCollection?: EncryptionSettingsCollection; - /** Encryption property can be used to encrypt data at rest with customer managed keys or platform managed keys. */ - encryption?: Encryption; - /** Policy for accessing the disk via network. */ - networkAccessPolicy?: NetworkAccessPolicy; - /** ARM id of the DiskAccess resource for using private endpoints on disks. */ - diskAccessId?: string; - /** Indicates the OS on a snapshot supports hibernation. */ - supportsHibernation?: boolean; - /** Policy for controlling export on the disk. */ - publicNetworkAccess?: PublicNetworkAccess; - /** Additional authentication requirements when exporting or uploading to a disk or snapshot. */ - dataAccessAuthMode?: DataAccessAuthMode; - /** List of supported capabilities for the image from which the OS disk was created. */ - supportedCapabilities?: SupportedCapabilities; +/** The source image from which the Image Version is going to be created. */ +export interface UserArtifactSource { + /** Required. The mediaLink of the artifact, must be a readable storage page blob. */ + mediaLink: string; + /** Optional. The defaultConfigurationLink of the artifact, must be a readable storage page blob. */ + defaultConfigurationLink?: string; } -/** The List Snapshots operation response. */ -export interface SnapshotList { - /** A list of snapshots. */ - value: Snapshot[]; - /** The uri to fetch the next page of snapshots. Call ListNext() with this to fetch the next page of snapshots. */ +export interface UserArtifactManage { + /** Required. The path and arguments to install the gallery application. This is limited to 4096 characters. */ + install: string; + /** Required. The path and arguments to remove the gallery application. This is limited to 4096 characters. */ + remove: string; + /** Optional. The path and arguments to update the gallery application. If not present, then update operation will invoke remove command on the previous version and install command on the current version of the gallery application. This is limited to 4096 characters. */ + update?: string; +} + +export interface UserArtifactSettings { + /** Optional. The name to assign the downloaded package file on the VM. If not specified, downloaded file will be named the same as the gallery application name. This is limited to 4096 characters. */ + packageFileName?: string; + /** Optional. The name to assign the downloaded config file on the VM. If not specified, the configuration file will be named `_config`. This is limited to 4096 characters. */ + configFileName?: string; +} + +/** The List Galleries operation response. */ +export interface GalleryList { + /** A list of galleries. */ + value: Gallery[]; + /** The uri to fetch the next page of galleries. Call ListNext() with this to fetch the next page of galleries. */ nextLink?: string; } -/** The managed identity for the disk encryption set. It should be given permission on the key vault before it can be used to encrypt disks. */ -export interface EncryptionSetIdentity { - /** The type of Managed Identity used by the DiskEncryptionSet. Only SystemAssigned is supported for new creations. Disk Encryption Sets can be updated with Identity type None during migration of subscription to a new Azure Active Directory tenant; it will cause the encrypted resources to lose access to the keys. */ - type?: DiskEncryptionSetIdentityType; - /** - * The object id of the Managed Identity Resource. This will be sent to the RP from ARM via the x-ms-identity-principal-id header in the PUT request if the resource has a systemAssigned(implicit) identity - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly principalId?: string; - /** - * The tenant id of the Managed Identity Resource. This will be sent to the RP from ARM via the x-ms-client-tenant-id header in the PUT request if the resource has a systemAssigned(implicit) identity - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly tenantId?: string; +/** The List Gallery Images operation response. */ +export interface GalleryImageList { + /** A list of Shared Image Gallery images. */ + value: GalleryImage[]; + /** The uri to fetch the next page of Image Definitions in the Shared Image Gallery. Call ListNext() with this to fetch the next page of gallery image definitions. */ + nextLink?: string; } -/** Key Vault Key Url to be used for server side encryption of Managed Disks and Snapshots */ -export interface KeyForDiskEncryptionSet { - /** Resource id of the KeyVault containing the key or secret. This property is optional and cannot be used if the KeyVault subscription is not the same as the Disk Encryption Set subscription. */ - sourceVault?: SourceVault; - /** Fully versioned Key Url pointing to a key in KeyVault. Version segment of the Url is required regardless of rotationToLatestKeyVersionEnabled value. */ - keyUrl: string; +/** The List Gallery Image version operation response. */ +export interface GalleryImageVersionList { + /** A list of gallery image versions. */ + value: GalleryImageVersion[]; + /** The uri to fetch the next page of gallery image versions. Call ListNext() with this to fetch the next page of gallery image versions. */ + nextLink?: string; } -/** disk encryption set update resource. */ -export interface DiskEncryptionSetUpdate { - /** Resource tags */ - tags?: { [propertyName: string]: string }; - /** The managed identity for the disk encryption set. It should be given permission on the key vault before it can be used to encrypt disks. */ - identity?: EncryptionSetIdentity; - /** The type of key used to encrypt the data of the disk. */ - encryptionType?: DiskEncryptionSetType; - /** Key Vault Key Url to be used for server side encryption of Managed Disks and Snapshots */ - activeKey?: KeyForDiskEncryptionSet; - /** Set this flag to true to enable auto-updating of this disk encryption set to the latest key version. */ - rotationToLatestKeyVersionEnabled?: boolean; +/** The List Gallery Applications operation response. */ +export interface GalleryApplicationList { + /** A list of Gallery Applications. */ + value: GalleryApplication[]; + /** The uri to fetch the next page of Application Definitions in the Application Gallery. Call ListNext() with this to fetch the next page of gallery Application Definitions. */ + nextLink?: string; } -/** The List disk encryption set operation response. */ -export interface DiskEncryptionSetList { - /** A list of disk encryption sets. */ - value: DiskEncryptionSet[]; - /** The uri to fetch the next page of disk encryption sets. Call ListNext() with this to fetch the next page of disk encryption sets. */ +/** The List Gallery Application version operation response. */ +export interface GalleryApplicationVersionList { + /** A list of gallery Application Versions. */ + value: GalleryApplicationVersion[]; + /** The uri to fetch the next page of gallery Application Versions. Call ListNext() with this to fetch the next page of gallery Application Versions. */ nextLink?: string; } -/** The List resources which are encrypted with the disk encryption set. */ -export interface ResourceUriList { - /** A list of IDs or Owner IDs of resources which are encrypted with the disk encryption set. */ - value: string[]; - /** The uri to fetch the next page of encrypted resources. Call ListNext() with this to fetch the next page of encrypted resources. */ +/** Specifies information about the gallery sharing profile update. */ +export interface SharingUpdate { + /** This property allows you to specify the operation type of gallery sharing update.

Possible values are:

**Add**

**Remove**

**Reset** */ + operationType: SharingUpdateOperationTypes; + /** A list of sharing profile groups. */ + groups?: SharingProfileGroup[]; +} + +/** The List Resource Skus operation response. */ +export interface ResourceSkusResult { + /** The list of skus available for the subscription. */ + value: ResourceSku[]; + /** The URI to fetch the next page of Resource Skus. Call ListNext() with this URI to fetch the next page of Resource Skus */ nextLink?: string; } -/** The Private Endpoint Connection resource. */ -export interface PrivateEndpointConnection { +/** Describes an available Compute SKU. */ +export interface ResourceSku { /** - * private endpoint connection Id + * The type of resource the SKU applies to. * NOTE: This property will not be serialized. It can only be populated by the server. */ - readonly id?: string; + readonly resourceType?: string; /** - * private endpoint connection name + * The name of SKU. * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly name?: string; /** - * private endpoint connection type + * Specifies the tier of virtual machines in a scale set.

Possible Values:

**Standard**

**Basic** * NOTE: This property will not be serialized. It can only be populated by the server. */ - readonly type?: string; + readonly tier?: string; /** - * The resource of private end point. + * The Size of the SKU. * NOTE: This property will not be serialized. It can only be populated by the server. */ - readonly privateEndpoint?: PrivateEndpoint; - /** A collection of information about the state of the connection between DiskAccess and Virtual Network. */ - privateLinkServiceConnectionState?: PrivateLinkServiceConnectionState; + readonly size?: string; /** - * The provisioning state of the private endpoint connection resource. + * The Family of this particular SKU. * NOTE: This property will not be serialized. It can only be populated by the server. */ - readonly provisioningState?: PrivateEndpointConnectionProvisioningState; -} - -/** The Private Endpoint resource. */ -export interface PrivateEndpoint { + readonly family?: string; /** - * The ARM identifier for Private Endpoint + * The Kind of resources that are supported in this SKU. * NOTE: This property will not be serialized. It can only be populated by the server. */ - readonly id?: string; -} - -/** A collection of information about the state of the connection between service consumer and provider. */ -export interface PrivateLinkServiceConnectionState { - /** Indicates whether the connection has been Approved/Rejected/Removed by the owner of the service. */ - status?: PrivateEndpointServiceConnectionStatus; - /** The reason for approval/rejection of the connection. */ - description?: string; - /** A message indicating if changes on the service provider require any updates on the consumer. */ - actionsRequired?: string; -} - -/** Used for updating a disk access resource. */ -export interface DiskAccessUpdate { - /** Resource tags */ - tags?: { [propertyName: string]: string }; -} - -/** The List disk access operation response. */ -export interface DiskAccessList { - /** A list of disk access resources. */ - value: DiskAccess[]; - /** The uri to fetch the next page of disk access resources. Call ListNext() with this to fetch the next page of disk access resources. */ - nextLink?: string; -} - -/** A list of private link resources */ -export interface PrivateLinkResourceListResult { - /** Array of private link resources */ - value?: PrivateLinkResource[]; -} - -/** A private link resource */ -export interface PrivateLinkResource { + readonly kind?: string; /** - * private link resource Id + * Specifies the number of virtual machines in the scale set. * NOTE: This property will not be serialized. It can only be populated by the server. */ - readonly id?: string; + readonly capacity?: ResourceSkuCapacity; /** - * private link resource name + * The set of locations that the SKU is available. * NOTE: This property will not be serialized. It can only be populated by the server. */ - readonly name?: string; + readonly locations?: string[]; /** - * private link resource type + * A list of locations and availability zones in those locations where the SKU is available. * NOTE: This property will not be serialized. It can only be populated by the server. */ - readonly type?: string; + readonly locationInfo?: ResourceSkuLocationInfo[]; /** - * The private link resource group id. + * The api versions that support this SKU. * NOTE: This property will not be serialized. It can only be populated by the server. */ - readonly groupId?: string; + readonly apiVersions?: string[]; /** - * The private link resource required member names. + * Metadata for retrieving price info. * NOTE: This property will not be serialized. It can only be populated by the server. */ - readonly requiredMembers?: string[]; - /** The private link resource DNS zone name. */ - requiredZoneNames?: string[]; -} - -/** A list of private link resources */ -export interface PrivateEndpointConnectionListResult { - /** Array of private endpoint connections */ - value?: PrivateEndpointConnection[]; - /** The uri to fetch the next page of snapshots. Call ListNext() with this to fetch the next page of snapshots. */ - nextLink?: string; + readonly costs?: ResourceSkuCosts[]; + /** + * A name value pair to describe the capability. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly capabilities?: ResourceSkuCapabilities[]; + /** + * The restrictions because of which SKU cannot be used. This is empty if there are no restrictions. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly restrictions?: ResourceSkuRestrictions[]; } -/** The ProxyOnly Resource model definition. */ -export interface ProxyOnlyResource { +/** Describes scaling information of a SKU. */ +export interface ResourceSkuCapacity { /** - * Resource Id + * The minimum capacity. * NOTE: This property will not be serialized. It can only be populated by the server. */ - readonly id?: string; + readonly minimum?: number; /** - * Resource name + * The maximum capacity that can be set. * NOTE: This property will not be serialized. It can only be populated by the server. */ - readonly name?: string; + readonly maximum?: number; /** - * Resource type + * The default capacity. * NOTE: This property will not be serialized. It can only be populated by the server. */ - readonly type?: string; -} - -/** The List Disk Restore Points operation response. */ -export interface DiskRestorePointList { - /** A list of disk restore points. */ - value: DiskRestorePoint[]; - /** The uri to fetch the next page of disk restore points. Call ListNext() with this to fetch the next page of disk restore points. */ - nextLink?: string; -} - -/** Describes the gallery unique name. */ -export interface GalleryIdentifier { + readonly default?: number; /** - * The unique name of the Shared Image Gallery. This name is generated automatically by Azure. + * The scale type applicable to the sku. * NOTE: This property will not be serialized. It can only be populated by the server. */ - readonly uniqueName?: string; + readonly scaleType?: ResourceSkuCapacityScaleType; } -/** Profile for gallery sharing to subscription or tenant */ -export interface SharingProfile { - /** This property allows you to specify the permission of sharing gallery.

Possible values are:

**Private**

**Groups** */ - permissions?: GallerySharingPermissionTypes; +/** Describes an available Compute SKU Location Information. */ +export interface ResourceSkuLocationInfo { /** - * A list of sharing profile groups. + * Location of the SKU * NOTE: This property will not be serialized. It can only be populated by the server. */ - readonly groups?: SharingProfileGroup[]; - /** Information of community gallery if current gallery is shared to community. */ - communityGalleryInfo?: any; + readonly location?: string; + /** + * List of availability zones where the SKU is supported. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly zones?: string[]; + /** + * Details of capabilities available to a SKU in specific zones. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly zoneDetails?: ResourceSkuZoneDetails[]; + /** + * The names of extended locations. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly extendedLocations?: string[]; + /** + * The type of the extended location. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly type?: ExtendedLocationType; } -/** Group of the gallery sharing profile */ -export interface SharingProfileGroup { - /** This property allows you to specify the type of sharing group.

Possible values are:

**Subscriptions**

**AADTenants**

**Community** */ - type?: SharingProfileGroupTypes; - /** A list of subscription/tenant ids the gallery is aimed to be shared to. */ - ids?: string[]; +/** Describes The zonal capabilities of a SKU. */ +export interface ResourceSkuZoneDetails { + /** + * The set of zones that the SKU is available in with the specified capabilities. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly name?: string[]; + /** + * A list of capabilities that are available for the SKU in the specified list of zones. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly capabilities?: ResourceSkuCapabilities[]; } -/** Contains information about the soft deletion policy of the gallery. */ -export interface SoftDeletePolicy { - /** Enables soft-deletion for resources in this gallery, allowing them to be recovered within retention time. */ - isSoftDeleteEnabled?: boolean; +/** Describes The SKU capabilities object. */ +export interface ResourceSkuCapabilities { + /** + * An invariant to describe the feature. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly name?: string; + /** + * An invariant if the feature is measured by quantity. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly value?: string; } -/** Sharing status of current gallery. */ -export interface SharingStatus { +/** Describes metadata for retrieving price info. */ +export interface ResourceSkuCosts { /** - * Aggregated sharing state of current gallery. + * Used for querying price from commerce. * NOTE: This property will not be serialized. It can only be populated by the server. */ - readonly aggregatedState?: SharingState; - /** Summary of all regional sharing status. */ - summary?: RegionalSharingStatus[]; + readonly meterID?: string; + /** + * The multiplier is needed to extend the base metered cost. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly quantity?: number; + /** + * An invariant to show the extended unit. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly extendedUnit?: string; } -/** Gallery regional sharing status */ -export interface RegionalSharingStatus { - /** Region name */ - region?: string; +/** Describes scaling information of a SKU. */ +export interface ResourceSkuRestrictions { /** - * Gallery sharing state in current region + * The type of restrictions. * NOTE: This property will not be serialized. It can only be populated by the server. */ - readonly state?: SharingState; - /** Details of gallery regional sharing failure. */ - details?: string; + readonly type?: ResourceSkuRestrictionsType; + /** + * The value of restrictions. If the restriction type is set to location. This would be different locations where the SKU is restricted. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly values?: string[]; + /** + * The information about the restriction where the SKU cannot be used. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly restrictionInfo?: ResourceSkuRestrictionInfo; + /** + * The reason for restriction. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly reasonCode?: ResourceSkuRestrictionsReasonCode; } -/** The Update Resource model definition. */ -export interface UpdateResourceDefinition { +/** Describes an available Compute SKU Restriction Information. */ +export interface ResourceSkuRestrictionInfo { /** - * Resource Id + * Locations where the SKU is restricted * NOTE: This property will not be serialized. It can only be populated by the server. */ - readonly id?: string; + readonly locations?: string[]; /** - * Resource name + * List of availability zones where the SKU is restricted. * NOTE: This property will not be serialized. It can only be populated by the server. */ - readonly name?: string; + readonly zones?: string[]; +} + +/** The disks sku name. Can be Standard_LRS, Premium_LRS, StandardSSD_LRS, UltraSSD_LRS, Premium_ZRS, or StandardSSD_ZRS. */ +export interface DiskSku { + /** The sku name. */ + name?: DiskStorageAccountTypes; /** - * Resource type + * The sku tier. * NOTE: This property will not be serialized. It can only be populated by the server. */ - readonly type?: string; - /** Resource tags */ - tags?: { [propertyName: string]: string }; + readonly tier?: string; } -/** This is the gallery image definition identifier. */ -export interface GalleryImageIdentifier { - /** The name of the gallery image definition publisher. */ +/** Used for establishing the purchase context of any 3rd Party artifact through MarketPlace. */ +export interface PurchasePlanAutoGenerated { + /** The plan ID. */ + name: string; + /** The publisher ID. */ publisher: string; - /** The name of the gallery image definition offer. */ - offer: string; - /** The name of the gallery image definition SKU. */ - sku: string; -} - -/** The properties describe the recommended machine configuration for this Image Definition. These properties are updatable. */ -export interface RecommendedMachineConfiguration { - /** Describes the resource range. */ - vCPUs?: ResourceRange; - /** Describes the resource range. */ - memory?: ResourceRange; + /** Specifies the product of the image from the marketplace. This is the same value as Offer under the imageReference element. */ + product: string; + /** The Offer Promotion Code. */ + promotionCode?: string; } -/** Describes the resource range. */ -export interface ResourceRange { - /** The minimum number of the resource. */ - min?: number; - /** The maximum number of the resource. */ - max?: number; +/** List of supported capabilities (like accelerated networking) persisted on the disk resource for VM use. */ +export interface SupportedCapabilities { + /** True if the image from which the OS disk is created supports accelerated networking. */ + acceleratedNetwork?: boolean; } -/** Describes the disallowed disk types. */ -export interface Disallowed { - /** A list of disk types. */ - diskTypes?: string[]; +/** Data used when creating a disk. */ +export interface CreationData { + /** This enumerates the possible sources of a disk's creation. */ + createOption: DiskCreateOption; + /** Required if createOption is Import. The Azure Resource Manager identifier of the storage account containing the blob to import as a disk. */ + storageAccountId?: string; + /** Disk source information. */ + imageReference?: ImageDiskReference; + /** Required if creating from a Gallery Image. The id of the ImageDiskReference will be the ARM id of the shared galley image version from which to create a disk. */ + galleryImageReference?: ImageDiskReference; + /** If createOption is Import, this is the URI of a blob to be imported into a managed disk. */ + sourceUri?: string; + /** If createOption is Copy, this is the ARM id of the source snapshot or disk. */ + sourceResourceId?: string; + /** + * If this field is set, this is the unique id identifying the source of this resource. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly sourceUniqueId?: string; + /** If createOption is Upload, this is the size of the contents of the upload including the VHD footer. This value should be between 20972032 (20 MiB + 512 bytes for the VHD footer) and 35183298347520 bytes (32 TiB + 512 bytes for the VHD footer). */ + uploadSizeBytes?: number; + /** Logical sector size in bytes for Ultra disks. Supported values are 512 ad 4096. 4096 is the default. */ + logicalSectorSize?: number; + /** If createOption is ImportSecure, this is the URI of a blob to be imported into VM guest state. */ + securityDataUri?: string; } -/** Describes the gallery image definition purchase plan. This is used by marketplace images. */ -export interface ImagePurchasePlan { - /** The plan ID. */ - name?: string; - /** The publisher ID. */ - publisher?: string; - /** The product ID. */ - product?: string; +/** The source image used for creating the disk. */ +export interface ImageDiskReference { + /** A relative uri containing either a Platform Image Repository or user image reference. */ + id: string; + /** If the disk is created from an image's data disk, this is an index that indicates which of the data disks in the image to use. For OS disks, this field is null. */ + lun?: number; } -/** A feature for gallery image. */ -export interface GalleryImageFeature { - /** The name of the gallery image feature. */ - name?: string; - /** The value of the gallery image feature. */ - value?: string; +/** Encryption settings for disk or snapshot */ +export interface EncryptionSettingsCollection { + /** Set this flag to true and provide DiskEncryptionKey and optional KeyEncryptionKey to enable encryption. Set this flag to false and remove DiskEncryptionKey and KeyEncryptionKey to disable encryption. If EncryptionSettings is null in the request object, the existing settings remain unchanged. */ + enabled: boolean; + /** A collection of encryption settings, one for each disk volume. */ + encryptionSettings?: EncryptionSettingsElement[]; + /** Describes what type of encryption is used for the disks. Once this field is set, it cannot be overwritten. '1.0' corresponds to Azure Disk Encryption with AAD app.'1.1' corresponds to Azure Disk Encryption. */ + encryptionSettingsVersion?: string; } -/** Describes the basic gallery artifact publishing profile. */ -export interface GalleryArtifactPublishingProfileBase { - /** The target regions where the Image Version is going to be replicated to. This property is updatable. */ - targetRegions?: TargetRegion[]; - /** The number of replicas of the Image Version to be created per region. This property would take effect for a region when regionalReplicaCount is not specified. This property is updatable. */ - replicaCount?: number; - /** If set to true, Virtual Machines deployed from the latest version of the Image Definition won't use this Image Version. */ - excludeFromLatest?: boolean; - /** - * The timestamp for when the gallery image version is published. - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly publishedDate?: Date; - /** The end of life date of the gallery image version. This property can be used for decommissioning purposes. This property is updatable. */ - endOfLifeDate?: Date; - /** Specifies the storage account type to be used to store the image. This property is not updatable. */ - storageAccountType?: StorageAccountType; - /** Optional parameter which specifies the mode to be used for replication. This property is not updatable. */ - replicationMode?: ReplicationMode; - /** The target extended locations where the Image Version is going to be replicated to. This property is updatable. */ - targetExtendedLocations?: GalleryTargetExtendedLocation[]; +/** Encryption settings for one disk volume. */ +export interface EncryptionSettingsElement { + /** Key Vault Secret Url and vault id of the disk encryption key */ + diskEncryptionKey?: KeyVaultAndSecretReference; + /** Key Vault Key Url and vault id of the key encryption key. KeyEncryptionKey is optional and when provided is used to unwrap the disk encryption key. */ + keyEncryptionKey?: KeyVaultAndKeyReference; } -/** Describes the target region information. */ -export interface TargetRegion { - /** The name of the region. */ - name: string; - /** The number of replicas of the Image Version to be created per region. This property is updatable. */ - regionalReplicaCount?: number; - /** Specifies the storage account type to be used to store the image. This property is not updatable. */ - storageAccountType?: StorageAccountType; - /** Optional. Allows users to provide customer managed keys for encrypting the OS and data disks in the gallery artifact. */ - encryption?: EncryptionImages; +/** Key Vault Secret Url and vault id of the encryption key */ +export interface KeyVaultAndSecretReference { + /** Resource id of the KeyVault containing the key or secret */ + sourceVault: SourceVault; + /** Url pointing to a key or secret in KeyVault */ + secretUrl: string; } -/** Optional. Allows users to provide customer managed keys for encrypting the OS and data disks in the gallery artifact. */ -export interface EncryptionImages { - /** Contains encryption settings for an OS disk image. */ - osDiskImage?: OSDiskImageEncryption; - /** A list of encryption specifications for data disk images. */ - dataDiskImages?: DataDiskImageEncryption[]; +/** The vault id is an Azure Resource Manager Resource id in the form /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.KeyVault/vaults/{vaultName} */ +export interface SourceVault { + /** Resource Id */ + id?: string; } -/** Contains security profile for an OS disk image. */ -export interface OSDiskImageSecurityProfile { - /** confidential VM encryption types */ - confidentialVMEncryptionType?: ConfidentialVMEncryptionType; - /** secure VM disk encryption set id */ - secureVMDiskEncryptionSetId?: string; +/** Key Vault Key Url and vault id of KeK, KeK is optional and when provided is used to unwrap the encryptionKey */ +export interface KeyVaultAndKeyReference { + /** Resource id of the KeyVault containing the key or secret */ + sourceVault: SourceVault; + /** Url pointing to a key or secret in KeyVault */ + keyUrl: string; } -/** This is the disk image encryption base class. */ -export interface DiskImageEncryption { - /** A relative URI containing the resource ID of the disk encryption set. */ +/** Encryption at rest settings for disk or snapshot */ +export interface Encryption { + /** ResourceId of the disk encryption set to use for enabling encryption at rest. */ diskEncryptionSetId?: string; + /** The type of key used to encrypt the data of the disk. */ + type?: EncryptionType; } -export interface GalleryTargetExtendedLocation { - /** The name of the region. */ - name?: string; - /** The name of the extended location. */ - extendedLocation?: GalleryExtendedLocation; - /** The number of replicas of the Image Version to be created per extended location. This property is updatable. */ - extendedLocationReplicaCount?: number; - /** Specifies the storage account type to be used to store the image. This property is not updatable. */ - storageAccountType?: StorageAccountType; - /** Optional. Allows users to provide customer managed keys for encrypting the OS and data disks in the gallery artifact. */ - encryption?: EncryptionImages; -} - -/** The name of the extended location. */ -export interface GalleryExtendedLocation { - name?: string; - /** It is type of the extended location. */ - type?: GalleryExtendedLocationType; +export interface ShareInfoElement { + /** + * A relative URI containing the ID of the VM that has the disk attached. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly vmUri?: string; } -/** This is the storage profile of a Gallery Image Version. */ -export interface GalleryImageVersionStorageProfile { - /** The gallery artifact version source. */ - source?: GalleryArtifactVersionSource; - /** This is the OS disk image. */ - osDiskImage?: GalleryOSDiskImage; - /** A list of data disk images. */ - dataDiskImages?: GalleryDataDiskImage[]; +/** Properties of the disk for which update is pending. */ +export interface PropertyUpdatesInProgress { + /** The target performance tier of the disk if a tier change operation is in progress. */ + targetTier?: string; } -/** The gallery artifact version source. */ -export interface GalleryArtifactVersionSource { - /** The id of the gallery artifact version source. Can specify a disk uri, snapshot uri, user image or storage account resource. */ - id?: string; - /** The uri of the gallery artifact version source. Currently used to specify vhd/blob source. */ - uri?: string; +/** Contains the security related information for the resource. */ +export interface DiskSecurityProfile { + /** Specifies the SecurityType of the VM. Applicable for OS disks only. */ + securityType?: DiskSecurityTypes; + /** ResourceId of the disk encryption set associated to Confidential VM supported disk encrypted with customer managed key */ + secureVMDiskEncryptionSetId?: string; } -/** This is the disk image base class. */ -export interface GalleryDiskImage { +/** Disk update resource. */ +export interface DiskUpdate { + /** Resource tags */ + tags?: { [propertyName: string]: string }; + /** The disks sku name. Can be Standard_LRS, Premium_LRS, StandardSSD_LRS, UltraSSD_LRS, Premium_ZRS, or StandardSSD_ZRS. */ + sku?: DiskSku; + /** the Operating System type. */ + osType?: OperatingSystemTypes; + /** If creationData.createOption is Empty, this field is mandatory and it indicates the size of the disk to create. If this field is present for updates or creation with other options, it indicates a resize. Resizes are only allowed if the disk is not attached to a running VM, and can only increase the disk's size. */ + diskSizeGB?: number; + /** Encryption settings collection used be Azure Disk Encryption, can contain multiple encryption settings per disk or snapshot. */ + encryptionSettingsCollection?: EncryptionSettingsCollection; + /** The number of IOPS allowed for this disk; only settable for UltraSSD disks. One operation can transfer between 4k and 256k bytes. */ + diskIopsReadWrite?: number; + /** The bandwidth allowed for this disk; only settable for UltraSSD disks. MBps means millions of bytes per second - MB here uses the ISO notation, of powers of 10. */ + diskMBpsReadWrite?: number; + /** The total number of IOPS that will be allowed across all VMs mounting the shared disk as ReadOnly. One operation can transfer between 4k and 256k bytes. */ + diskIopsReadOnly?: number; + /** The total throughput (MBps) that will be allowed across all VMs mounting the shared disk as ReadOnly. MBps means millions of bytes per second - MB here uses the ISO notation, of powers of 10. */ + diskMBpsReadOnly?: number; + /** The maximum number of VMs that can attach to the disk at the same time. Value greater than one indicates a disk that can be mounted on multiple VMs at the same time. */ + maxShares?: number; + /** Encryption property can be used to encrypt data at rest with customer managed keys or platform managed keys. */ + encryption?: Encryption; + /** Policy for accessing the disk via network. */ + networkAccessPolicy?: NetworkAccessPolicy; + /** ARM id of the DiskAccess resource for using private endpoints on disks. */ + diskAccessId?: string; + /** Performance tier of the disk (e.g, P4, S10) as described here: https://azure.microsoft.com/en-us/pricing/details/managed-disks/. Does not apply to Ultra disks. */ + tier?: string; + /** Set to true to enable bursting beyond the provisioned performance target of the disk. Bursting is disabled by default. Does not apply to Ultra disks. */ + burstingEnabled?: boolean; + /** Purchase plan information to be added on the OS disk */ + purchasePlan?: PurchasePlanAutoGenerated; + /** List of supported capabilities (like accelerated networking) to be added on the OS disk. */ + supportedCapabilities?: SupportedCapabilities; /** - * This property indicates the size of the VHD to be created. + * Properties of the disk for which update is pending. * NOTE: This property will not be serialized. It can only be populated by the server. */ - readonly sizeInGB?: number; - /** The host caching of the disk. Valid values are 'None', 'ReadOnly', and 'ReadWrite' */ - hostCaching?: HostCaching; - /** The gallery artifact version source. */ - source?: GalleryArtifactVersionSource; + readonly propertyUpdatesInProgress?: PropertyUpdatesInProgress; + /** Indicates the OS on a disk supports hibernation. */ + supportsHibernation?: boolean; + /** Policy for controlling export on the disk. */ + publicNetworkAccess?: PublicNetworkAccess; } -/** This is the replication status of the gallery image version. */ -export interface ReplicationStatus { +/** The List Disks operation response. */ +export interface DiskList { + /** A list of disks. */ + value: Disk[]; + /** The uri to fetch the next page of disks. Call ListNext() with this to fetch the next page of disks. */ + nextLink?: string; +} + +/** Data used for requesting a SAS. */ +export interface GrantAccessData { + access: AccessLevel; + /** Time duration in seconds until the SAS access expires. */ + durationInSeconds: number; + /** Set this flag to true to get additional SAS for VM guest state */ + getSecureVMGuestStateSAS?: boolean; +} + +/** A disk access SAS uri. */ +export interface AccessUri { /** - * This is the aggregated replication status based on all the regional replication status flags. + * A SAS uri for accessing a disk. * NOTE: This property will not be serialized. It can only be populated by the server. */ - readonly aggregatedState?: AggregatedReplicationState; + readonly accessSAS?: string; /** - * This is a summary of replication status for each region. + * A SAS uri for accessing a VM guest state. * NOTE: This property will not be serialized. It can only be populated by the server. */ - readonly summary?: RegionalReplicationStatus[]; + readonly securityDataAccessSAS?: string; } -/** This is the regional replication status. */ -export interface RegionalReplicationStatus { - /** - * The region to which the gallery image version is being replicated to. - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly region?: string; - /** - * This is the regional replication state. - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly state?: ReplicationState; - /** - * The details of the replication status. - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly details?: string; +/** The snapshots sku name. Can be Standard_LRS, Premium_LRS, or Standard_ZRS. This is an optional parameter for incremental snapshot and the default behavior is the SKU will be set to the same sku as the previous snapshot */ +export interface SnapshotSku { + /** The sku name. */ + name?: SnapshotStorageAccountTypes; /** - * It indicates progress of the replication job. + * The sku tier. * NOTE: This property will not be serialized. It can only be populated by the server. */ - readonly progress?: number; -} - -/** The source image from which the Image Version is going to be created. */ -export interface UserArtifactSource { - /** Required. The mediaLink of the artifact, must be a readable storage page blob. */ - mediaLink: string; - /** Optional. The defaultConfigurationLink of the artifact, must be a readable storage page blob. */ - defaultConfigurationLink?: string; + readonly tier?: string; } -export interface UserArtifactManage { - /** Required. The path and arguments to install the gallery application. This is limited to 4096 characters. */ - install: string; - /** Required. The path and arguments to remove the gallery application. This is limited to 4096 characters. */ - remove: string; - /** Optional. The path and arguments to update the gallery application. If not present, then update operation will invoke remove command on the previous version and install command on the current version of the gallery application. This is limited to 4096 characters. */ - update?: string; +/** Snapshot update resource. */ +export interface SnapshotUpdate { + /** Resource tags */ + tags?: { [propertyName: string]: string }; + /** The snapshots sku name. Can be Standard_LRS, Premium_LRS, or Standard_ZRS. This is an optional parameter for incremental snapshot and the default behavior is the SKU will be set to the same sku as the previous snapshot */ + sku?: SnapshotSku; + /** the Operating System type. */ + osType?: OperatingSystemTypes; + /** If creationData.createOption is Empty, this field is mandatory and it indicates the size of the disk to create. If this field is present for updates or creation with other options, it indicates a resize. Resizes are only allowed if the disk is not attached to a running VM, and can only increase the disk's size. */ + diskSizeGB?: number; + /** Encryption settings collection used be Azure Disk Encryption, can contain multiple encryption settings per disk or snapshot. */ + encryptionSettingsCollection?: EncryptionSettingsCollection; + /** Encryption property can be used to encrypt data at rest with customer managed keys or platform managed keys. */ + encryption?: Encryption; + /** Policy for accessing the disk via network. */ + networkAccessPolicy?: NetworkAccessPolicy; + /** ARM id of the DiskAccess resource for using private endpoints on disks. */ + diskAccessId?: string; + /** Indicates the OS on a snapshot supports hibernation. */ + supportsHibernation?: boolean; + /** Policy for controlling export on the disk. */ + publicNetworkAccess?: PublicNetworkAccess; + /** List of supported capabilities (like accelerated networking) for the image from which the OS disk was created. */ + supportedCapabilities?: SupportedCapabilities; } -/** The List Galleries operation response. */ -export interface GalleryList { - /** A list of galleries. */ - value: Gallery[]; - /** The uri to fetch the next page of galleries. Call ListNext() with this to fetch the next page of galleries. */ +/** The List Snapshots operation response. */ +export interface SnapshotList { + /** A list of snapshots. */ + value: Snapshot[]; + /** The uri to fetch the next page of snapshots. Call ListNext() with this to fetch the next page of snapshots. */ nextLink?: string; } -/** The List Gallery Images operation response. */ -export interface GalleryImageList { - /** A list of Shared Image Gallery images. */ - value: GalleryImage[]; - /** The uri to fetch the next page of Image Definitions in the Shared Image Gallery. Call ListNext() with this to fetch the next page of gallery image definitions. */ - nextLink?: string; +/** The managed identity for the disk encryption set. It should be given permission on the key vault before it can be used to encrypt disks. */ +export interface EncryptionSetIdentity { + /** The type of Managed Identity used by the DiskEncryptionSet. Only SystemAssigned is supported for new creations. Disk Encryption Sets can be updated with Identity type None during migration of subscription to a new Azure Active Directory tenant; it will cause the encrypted resources to lose access to the keys. */ + type?: DiskEncryptionSetIdentityType; + /** + * The object id of the Managed Identity Resource. This will be sent to the RP from ARM via the x-ms-identity-principal-id header in the PUT request if the resource has a systemAssigned(implicit) identity + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly principalId?: string; + /** + * The tenant id of the Managed Identity Resource. This will be sent to the RP from ARM via the x-ms-client-tenant-id header in the PUT request if the resource has a systemAssigned(implicit) identity + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly tenantId?: string; } -/** The List Gallery Image version operation response. */ -export interface GalleryImageVersionList { - /** A list of gallery image versions. */ - value: GalleryImageVersion[]; - /** The uri to fetch the next page of gallery image versions. Call ListNext() with this to fetch the next page of gallery image versions. */ - nextLink?: string; +/** Key Vault Key Url to be used for server side encryption of Managed Disks and Snapshots */ +export interface KeyForDiskEncryptionSet { + /** Resource id of the KeyVault containing the key or secret. This property is optional and cannot be used if the KeyVault subscription is not the same as the Disk Encryption Set subscription. */ + sourceVault?: SourceVault; + /** Fully versioned Key Url pointing to a key in KeyVault. Version segment of the Url is required regardless of rotationToLatestKeyVersionEnabled value. */ + keyUrl: string; } -/** The List Gallery Applications operation response. */ -export interface GalleryApplicationList { - /** A list of Gallery Applications. */ - value: GalleryApplication[]; - /** The uri to fetch the next page of Application Definitions in the Application Gallery. Call ListNext() with this to fetch the next page of gallery Application Definitions. */ - nextLink?: string; +/** disk encryption set update resource. */ +export interface DiskEncryptionSetUpdate { + /** Resource tags */ + tags?: { [propertyName: string]: string }; + /** The managed identity for the disk encryption set. It should be given permission on the key vault before it can be used to encrypt disks. */ + identity?: EncryptionSetIdentity; + /** The type of key used to encrypt the data of the disk. */ + encryptionType?: DiskEncryptionSetType; + /** Key Vault Key Url to be used for server side encryption of Managed Disks and Snapshots */ + activeKey?: KeyForDiskEncryptionSet; + /** Set this flag to true to enable auto-updating of this disk encryption set to the latest key version. */ + rotationToLatestKeyVersionEnabled?: boolean; } -/** The List Gallery Application version operation response. */ -export interface GalleryApplicationVersionList { - /** A list of gallery Application Versions. */ - value: GalleryApplicationVersion[]; - /** The uri to fetch the next page of gallery Application Versions. Call ListNext() with this to fetch the next page of gallery Application Versions. */ +/** The List disk encryption set operation response. */ +export interface DiskEncryptionSetList { + /** A list of disk encryption sets. */ + value: DiskEncryptionSet[]; + /** The uri to fetch the next page of disk encryption sets. Call ListNext() with this to fetch the next page of disk encryption sets. */ nextLink?: string; } -/** Specifies information about the gallery sharing profile update. */ -export interface SharingUpdate { - /** This property allows you to specify the operation type of gallery sharing update.

Possible values are:

**Add**

**Remove**

**Reset** */ - operationType: SharingUpdateOperationTypes; - /** A list of sharing profile groups. */ - groups?: SharingProfileGroup[]; -} - -/** The List Shared Galleries operation response. */ -export interface SharedGalleryList { - /** A list of shared galleries. */ - value: SharedGallery[]; - /** The uri to fetch the next page of shared galleries. Call ListNext() with this to fetch the next page of shared galleries. */ +/** The List resources which are encrypted with the disk encryption set. */ +export interface ResourceUriList { + /** A list of IDs or Owner IDs of resources which are encrypted with the disk encryption set. */ + value: string[]; + /** The uri to fetch the next page of encrypted resources. Call ListNext() with this to fetch the next page of encrypted resources. */ nextLink?: string; } -/** The Resource model definition. */ -export interface PirResource { +/** The Private Endpoint Connection resource. */ +export interface PrivateEndpointConnection { /** - * Resource name + * private endpoint connection Id + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly id?: string; + /** + * private endpoint connection name * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly name?: string; /** - * Resource location + * private endpoint connection type * NOTE: This property will not be serialized. It can only be populated by the server. */ - readonly location?: string; -} - -/** The List Shared Gallery Images operation response. */ -export interface SharedGalleryImageList { - /** A list of shared gallery images. */ - value: SharedGalleryImage[]; - /** The uri to fetch the next page of shared gallery images. Call ListNext() with this to fetch the next page of shared gallery images. */ - nextLink?: string; -} - -/** The List Shared Gallery Image versions operation response. */ -export interface SharedGalleryImageVersionList { - /** A list of shared gallery images versions. */ - value: SharedGalleryImageVersion[]; - /** The uri to fetch the next page of shared gallery image versions. Call ListNext() with this to fetch the next page of shared gallery image versions. */ - nextLink?: string; -} - -/** Base information about the community gallery resource in pir. */ -export interface PirCommunityGalleryResource { + readonly type?: string; /** - * Resource name + * The resource of private end point. * NOTE: This property will not be serialized. It can only be populated by the server. */ - readonly name?: string; + readonly privateEndpoint?: PrivateEndpoint; + /** A collection of information about the state of the connection between DiskAccess and Virtual Network. */ + privateLinkServiceConnectionState?: PrivateLinkServiceConnectionState; /** - * Resource location + * The provisioning state of the private endpoint connection resource. * NOTE: This property will not be serialized. It can only be populated by the server. */ - readonly location?: string; + readonly provisioningState?: PrivateEndpointConnectionProvisioningState; +} + +/** The Private Endpoint resource. */ +export interface PrivateEndpoint { /** - * Resource type + * The ARM identifier for Private Endpoint * NOTE: This property will not be serialized. It can only be populated by the server. */ - readonly type?: string; - /** The unique id of this community gallery. */ - uniqueId?: string; + readonly id?: string; } -export interface RoleInstance { +/** A collection of information about the state of the connection between service consumer and provider. */ +export interface PrivateLinkServiceConnectionState { + /** Indicates whether the connection has been Approved/Rejected/Removed by the owner of the service. */ + status?: PrivateEndpointServiceConnectionStatus; + /** The reason for approval/rejection of the connection. */ + description?: string; + /** A message indicating if changes on the service provider require any updates on the consumer. */ + actionsRequired?: string; +} + +/** Used for updating a disk access resource. */ +export interface DiskAccessUpdate { + /** Resource tags */ + tags?: { [propertyName: string]: string }; +} + +/** The List disk access operation response. */ +export interface DiskAccessList { + /** A list of disk access resources. */ + value: DiskAccess[]; + /** The uri to fetch the next page of disk access resources. Call ListNext() with this to fetch the next page of disk access resources. */ + nextLink?: string; +} + +/** A list of private link resources */ +export interface PrivateLinkResourceListResult { + /** Array of private link resources */ + value?: PrivateLinkResource[]; +} + +/** A private link resource */ +export interface PrivateLinkResource { /** - * Resource Id + * private link resource Id * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly id?: string; /** - * Resource Name. + * private link resource name * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly name?: string; /** - * Resource Type. + * private link resource type * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly type?: string; /** - * Resource Location. + * The private link resource group id. * NOTE: This property will not be serialized. It can only be populated by the server. */ - readonly location?: string; + readonly groupId?: string; /** - * Resource tags. + * The private link resource required member names. * NOTE: This property will not be serialized. It can only be populated by the server. */ - readonly tags?: { [propertyName: string]: string }; - sku?: InstanceSku; - properties?: RoleInstanceProperties; -} - + readonly requiredMembers?: string[]; + /** The private link resource DNS zone name. */ + requiredZoneNames?: string[]; +} + +/** A list of private link resources */ +export interface PrivateEndpointConnectionListResult { + /** Array of private endpoint connections */ + value?: PrivateEndpointConnection[]; + /** The uri to fetch the next page of snapshots. Call ListNext() with this to fetch the next page of snapshots. */ + nextLink?: string; +} + +/** The ProxyOnly Resource model definition. */ +export interface ProxyOnlyResource { + /** + * Resource Id + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly id?: string; + /** + * Resource name + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly name?: string; + /** + * Resource type + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly type?: string; +} + +/** The List Disk Restore Points operation response. */ +export interface DiskRestorePointList { + /** A list of disk restore points. */ + value: DiskRestorePoint[]; + /** The uri to fetch the next page of disk restore points. Call ListNext() with this to fetch the next page of disk restore points. */ + nextLink?: string; +} + +/** The List Shared Galleries operation response. */ +export interface SharedGalleryList { + /** A list of shared galleries. */ + value: SharedGallery[]; + /** The uri to fetch the next page of shared galleries. Call ListNext() with this to fetch the next page of shared galleries. */ + nextLink?: string; +} + +/** The Resource model definition. */ +export interface PirResource { + /** + * Resource name + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly name?: string; + /** + * Resource location + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly location?: string; +} + +/** The List Shared Gallery Images operation response. */ +export interface SharedGalleryImageList { + /** A list of shared gallery images. */ + value: SharedGalleryImage[]; + /** The uri to fetch the next page of shared gallery images. Call ListNext() with this to fetch the next page of shared gallery images. */ + nextLink?: string; +} + +/** The List Shared Gallery Image versions operation response. */ +export interface SharedGalleryImageVersionList { + /** A list of shared gallery images versions. */ + value: SharedGalleryImageVersion[]; + /** The uri to fetch the next page of shared gallery image versions. Call ListNext() with this to fetch the next page of shared gallery image versions. */ + nextLink?: string; +} + +/** Base information about the community gallery resource in pir. */ +export interface PirCommunityGalleryResource { + /** + * Resource name + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly name?: string; + /** + * Resource location + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly location?: string; + /** + * Resource type + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly type?: string; + /** The unique id of this community gallery. */ + uniqueId?: string; +} + +export interface RoleInstance { + /** + * Resource Id + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly id?: string; + /** + * Resource Name. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly name?: string; + /** + * Resource Type. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly type?: string; + /** + * Resource Location. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly location?: string; + /** + * Resource tags. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly tags?: { [propertyName: string]: string }; + sku?: InstanceSku; + properties?: RoleInstanceProperties; +} + export interface InstanceSku { /** * The sku name. @@ -4131,23 +4142,6 @@ export interface ManagedArtifact { id: string; } -export type SubResourceWithColocationStatus = SubResource & { - /** Describes colocation status of a resource in the Proximity Placement Group. */ - colocationStatus?: InstanceViewStatus; -}; - -/** Virtual machine image resource information. */ -export type VirtualMachineImageResource = SubResource & { - /** The name of the resource. */ - name: string; - /** The supported Azure location of the resource. */ - location: string; - /** Specifies the tags that are assigned to the virtual machine. For more information about using tags, see [Using tags to organize your Azure resources](https://docs.microsoft.com/azure/azure-resource-manager/resource-group-using-tags.md). */ - tags?: { [propertyName: string]: string }; - /** The extended location of the Virtual Machine. */ - extendedLocation?: ExtendedLocation; -}; - /** Specifies information about the image to use. You can specify information about platform images, marketplace images, or virtual machine images. This element is required when you want to use a platform image, marketplace image, or virtual machine image, but is not used in other creation operations. NOTE: Image reference publisher and offer can only be set when you create the scale set. */ export type ImageReference = SubResource & { /** The image publisher. */ @@ -4172,24 +4166,6 @@ export type ImageReference = SubResource & { /** Describes the parameter of customer managed disk encryption set resource id that can be specified for disk.

NOTE: The disk encryption set resource id can only be specified for managed disk. Please refer https://aka.ms/mdssewithcmkoverview for more details. */ export type DiskEncryptionSetParameters = SubResource & {}; -/** The parameters of a managed disk. */ -export type ManagedDiskParameters = SubResource & { - /** Specifies the storage account type for the managed disk. NOTE: UltraSSD_LRS can only be used with data disks, it cannot be used with OS Disk. */ - storageAccountType?: StorageAccountTypes; - /** Specifies the customer managed disk encryption set resource id for the managed disk. */ - diskEncryptionSet?: DiskEncryptionSetParameters; - /** Specifies the security profile for the managed disk. */ - securityProfile?: VMDiskSecurityProfile; -}; - -/** Describes a network interface reference. */ -export type NetworkInterfaceReference = SubResource & { - /** Specifies the primary network interface in case the virtual machine has more than 1 network interface. */ - primary?: boolean; - /** Specify what happens to the network interface when the VM is deleted */ - deleteOption?: DeleteOptions; -}; - /** Describes a virtual machine scale set network profile's IP configuration. */ export type VirtualMachineScaleSetIPConfiguration = SubResource & { /** The IP configuration name. */ @@ -4234,30 +4210,6 @@ export type VirtualMachineScaleSetNetworkConfiguration = SubResource & { deleteOption?: DeleteOptions; }; -/** Output of virtual machine capture operation. */ -export type VirtualMachineCaptureResult = SubResource & { - /** - * the schema of the captured virtual machine - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly schema?: string; - /** - * the version of the content - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly contentVersion?: string; - /** - * parameters of the captured virtual machine - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly parameters?: Record; - /** - * a list of resource items of the captured virtual machine - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly resources?: Record[]; -}; - /** Describes a virtual machine scale set network profile's IP configuration. NOTE: The subnet of a scale set may be modified as long as the original subnet and the new subnet are in the same virtual network */ export type VirtualMachineScaleSetUpdateIPConfiguration = SubResource & { /** The IP configuration name. */ @@ -4302,133 +4254,116 @@ export type VirtualMachineScaleSetUpdateNetworkConfiguration = SubResource & { deleteOption?: DeleteOptions; }; -/** Specifies information about the availability set that the virtual machine should be assigned to. Virtual machines specified in the same availability set are allocated to different nodes to maximize availability. For more information about availability sets, see [Availability sets overview](https://docs.microsoft.com/azure/virtual-machines/availability-set-overview).

For more information on Azure planned maintenance, see [Maintenance and updates for Virtual Machines in Azure](https://docs.microsoft.com/azure/virtual-machines/maintenance-and-updates)

Currently, a VM can only be added to availability set at creation time. An existing VM cannot be added to an availability set. */ -export type AvailabilitySet = Resource & { - /** 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'. */ - sku?: Sku; - /** Update Domain count. */ - platformUpdateDomainCount?: number; - /** Fault Domain count. */ - platformFaultDomainCount?: number; - /** A list of references to all virtual machines in the availability set. */ - virtualMachines?: SubResource[]; - /** Specifies information about the proximity placement group that the availability set should be assigned to.

Minimum api-version: 2018-04-01. */ - proximityPlacementGroup?: SubResource; - /** - * The resource status information. - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly statuses?: InstanceViewStatus[]; +/** The parameters of a managed disk. */ +export type ManagedDiskParameters = SubResource & { + /** Specifies the storage account type for the managed disk. NOTE: UltraSSD_LRS can only be used with data disks, it cannot be used with OS Disk. */ + storageAccountType?: StorageAccountTypes; + /** Specifies the customer managed disk encryption set resource id for the managed disk. */ + diskEncryptionSet?: DiskEncryptionSetParameters; + /** Specifies the security profile for the managed disk. */ + securityProfile?: VMDiskSecurityProfile; }; -/** Specifies information about the proximity placement group. */ -export type ProximityPlacementGroup = Resource & { - /** Specifies the type of the proximity placement group.

Possible values are:

**Standard** : Co-locate resources within an Azure region or Availability Zone.

**Ultra** : For future use. */ - proximityPlacementGroupType?: ProximityPlacementGroupType; - /** - * A list of references to all virtual machines in the proximity placement group. - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly virtualMachines?: SubResourceWithColocationStatus[]; +/** Describes a network interface reference. */ +export type NetworkInterfaceReference = SubResource & { + /** Specifies the primary network interface in case the virtual machine has more than 1 network interface. */ + primary?: boolean; + /** Specify what happens to the network interface when the VM is deleted */ + deleteOption?: DeleteOptions; +}; + +/** Output of virtual machine capture operation. */ +export type VirtualMachineCaptureResult = SubResource & { /** - * A list of references to all virtual machine scale sets in the proximity placement group. + * the schema of the captured virtual machine * NOTE: This property will not be serialized. It can only be populated by the server. */ - readonly virtualMachineScaleSets?: SubResourceWithColocationStatus[]; + readonly schema?: string; /** - * A list of references to all availability sets in the proximity placement group. + * the version of the content * NOTE: This property will not be serialized. It can only be populated by the server. */ - readonly availabilitySets?: SubResourceWithColocationStatus[]; - /** Describes colocation status of the Proximity Placement Group. */ - colocationStatus?: InstanceViewStatus; -}; - -/** Specifies information about the dedicated host group that the dedicated hosts should be assigned to.

Currently, a dedicated host can only be added to a dedicated host group at creation time. An existing dedicated host cannot be added to another dedicated host group. */ -export type DedicatedHostGroup = Resource & { - /** Availability Zone to use for this host group. Only single zone is supported. The zone can be assigned only during creation. If not provided, the group supports all zones in the region. If provided, enforces each host in the group to be in the same zone. */ - zones?: string[]; - /** Number of fault domains that the host group can span. */ - platformFaultDomainCount?: number; + readonly contentVersion?: string; /** - * A list of references to all dedicated hosts in the dedicated host group. + * parameters of the captured virtual machine * NOTE: This property will not be serialized. It can only be populated by the server. */ - readonly hosts?: SubResourceReadOnly[]; + readonly parameters?: Record; /** - * The dedicated host group instance view, which has the list of instance view of the dedicated hosts under the dedicated host group. + * a list of resource items of the captured virtual machine * NOTE: This property will not be serialized. It can only be populated by the server. */ - readonly instanceView?: DedicatedHostGroupInstanceView; - /** Specifies whether virtual machines or virtual machine scale sets can be placed automatically on the dedicated host group. Automatic placement means resources are allocated on dedicated hosts, that are chosen by Azure, under the dedicated host group. The value is defaulted to 'false' when not provided.

Minimum api-version: 2020-06-01. */ - supportAutomaticPlacement?: boolean; + readonly resources?: Record[]; }; -/** Specifies information about the Dedicated host. */ -export type DedicatedHost = Resource & { - /** SKU of the dedicated host for Hardware Generation and VM family. Only name is required to be set. List Microsoft.Compute SKUs for a list of possible values. */ - sku: Sku; - /** Fault domain of the dedicated host within a dedicated host group. */ - platformFaultDomain?: number; - /** Specifies whether the dedicated host should be replaced automatically in case of a failure. The value is defaulted to 'true' when not provided. */ - autoReplaceOnFailure?: boolean; - /** - * A unique id generated and assigned to the dedicated host by the platform.

Does not change throughout the lifetime of the host. - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly hostId?: string; - /** - * A list of references to all virtual machines in the Dedicated Host. - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly virtualMachines?: SubResourceReadOnly[]; - /** Specifies the software license type that will be applied to the VMs deployed on the dedicated host.

Possible values are:

**None**

**Windows_Server_Hybrid**

**Windows_Server_Perpetual**

Default: **None** */ - licenseType?: DedicatedHostLicenseTypes; +/** Virtual machine image resource information. */ +export type VirtualMachineImageResource = SubResource & { + /** The name of the resource. */ + name: string; + /** The supported Azure location of the resource. */ + location: string; + /** Specifies the tags that are assigned to the virtual machine. For more information about using tags, see [Using tags to organize your Azure resources](https://docs.microsoft.com/azure/azure-resource-manager/resource-group-using-tags.md). */ + tags?: { [propertyName: string]: string }; + /** The extended location of the Virtual Machine. */ + extendedLocation?: ExtendedLocation; +}; + +export type SubResourceWithColocationStatus = SubResource & { + /** Describes colocation status of a resource in the Proximity Placement Group. */ + colocationStatus?: InstanceViewStatus; +}; + +/** Describes a Virtual Machine Scale Set Extension. */ +export type VirtualMachineScaleSetExtension = SubResourceReadOnly & { + /** The name of the extension. */ + name?: string; /** - * The date when the host was first provisioned. + * Resource type * NOTE: This property will not be serialized. It can only be populated by the server. */ - readonly provisioningTime?: Date; + readonly type?: string; + /** If a value is provided and is different from the previous value, the extension handler will be forced to update even if the extension configuration has not changed. */ + forceUpdateTag?: string; + /** The name of the extension handler publisher. */ + publisher?: string; + /** Specifies the type of the extension; an example is "CustomScriptExtension". */ + typePropertiesType?: string; + /** Specifies the version of the script handler. */ + typeHandlerVersion?: string; + /** 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. */ + autoUpgradeMinorVersion?: boolean; + /** Indicates whether the extension should be automatically upgraded by the platform if there is a newer version of the extension available. */ + enableAutomaticUpgrade?: boolean; + /** Json formatted public settings for the extension. */ + settings?: Record; + /** The extension can contain either protectedSettings or protectedSettingsFromKeyVault or no protected settings at all. */ + protectedSettings?: Record; /** * The provisioning state, which only appears in the response. * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly provisioningState?: string; + /** Collection of extension names after which this extension needs to be provisioned. */ + provisionAfterExtensions?: string[]; + /** 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. */ + suppressFailures?: boolean; + /** The extensions protected settings that are passed by reference, and consumed from key vault */ + protectedSettingsFromKeyVault?: Record; +}; + +/** Describes a Virtual Machine Scale Set Extension. */ +export type VirtualMachineScaleSetExtensionUpdate = SubResourceReadOnly & { /** - * The dedicated host instance view. + * The name of the extension. * NOTE: This property will not be serialized. It can only be populated by the server. */ - readonly instanceView?: DedicatedHostInstanceView; + readonly name?: string; /** - * Specifies the time at which the Dedicated Host resource was created.

Minimum api-version: 2021-11-01. + * Resource type * NOTE: This property will not be serialized. It can only be populated by the server. */ - readonly timeCreated?: Date; -}; - -/** Specifies information about the SSH public key. */ -export type SshPublicKeyResource = Resource & { - /** SSH public key used to authenticate to a virtual machine through ssh. If this property is not initially provided when the resource is created, the publicKey property will be populated when generateKeyPair is called. If the public key is provided upon resource creation, the provided public key needs to be at least 2048-bit and in ssh-rsa format. */ - publicKey?: string; -}; - -/** Describes a Virtual Machine Extension Image. */ -export type VirtualMachineExtensionImage = Resource & { - /** The operating system this extension supports. */ - operatingSystem?: string; - /** The type of role (IaaS or PaaS) this extension supports. */ - computeRole?: string; - /** The schema defined by publisher, where extension consumers should provide settings in a matching schema. */ - handlerSchema?: string; - /** Whether the extension can be used on xRP VMScaleSets. By default existing extensions are usable on scalesets, but there might be cases where a publisher wants to explicitly indicate the extension is only enabled for CRP VMs but not VMSS. */ - vmScaleSetEnabled?: boolean; - /** Whether the handler can support multiple extensions. */ - supportsMultipleExtensions?: boolean; -}; - -/** Describes a Virtual Machine Extension. */ -export type VirtualMachineExtension = Resource & { - /** How the extension handler should be forced to update even if the extension configuration has not changed. */ + readonly type?: string; + /** If a value is provided and is different from the previous value, the extension handler will be forced to update even if the extension configuration has not changed. */ forceUpdateTag?: string; /** The name of the extension handler publisher. */ publisher?: string; @@ -4449,93 +4384,87 @@ export type VirtualMachineExtension = Resource & { * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly provisioningState?: string; - /** The virtual machine extension instance view. */ - instanceView?: VirtualMachineExtensionInstanceView; + /** Collection of extension names after which this extension needs to be provisioned. */ + provisionAfterExtensions?: string[]; /** 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. */ suppressFailures?: boolean; /** The extensions protected settings that are passed by reference, and consumed from key vault */ protectedSettingsFromKeyVault?: Record; }; -/** Describes a Virtual Machine. */ -export type VirtualMachine = Resource & { - /** 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**. */ - plan?: Plan; +/** Describes a VMSS VM Extension. */ +export type VirtualMachineScaleSetVMExtension = SubResourceReadOnly & { /** - * The virtual machine child extension resources. + * The name of the extension. * NOTE: This property will not be serialized. It can only be populated by the server. */ - readonly resources?: VirtualMachineExtension[]; - /** The identity of the virtual machine, if configured. */ - identity?: VirtualMachineIdentity; - /** The virtual machine zones. */ - zones?: string[]; - /** The extended location of the Virtual Machine. */ - extendedLocation?: ExtendedLocation; - /** Specifies the hardware settings for the virtual machine. */ - hardwareProfile?: HardwareProfile; - /** Specifies the storage settings for the virtual machine disks. */ - storageProfile?: StorageProfile; - /** Specifies additional capabilities enabled or disabled on the virtual machine. */ - additionalCapabilities?: AdditionalCapabilities; - /** Specifies the operating system settings used while creating the virtual machine. Some of the settings cannot be changed once VM is provisioned. */ - osProfile?: OSProfile; - /** Specifies the network interfaces of the virtual machine. */ - networkProfile?: NetworkProfile; - /** Specifies the Security related profile settings for the virtual machine. */ - securityProfile?: SecurityProfile; - /** Specifies the boot diagnostic settings state.

Minimum api-version: 2015-06-15. */ - diagnosticsProfile?: DiagnosticsProfile; - /** Specifies information about the availability set that the virtual machine should be assigned to. Virtual machines specified in the same availability set are allocated to different nodes to maximize availability. For more information about availability sets, see [Availability sets overview](https://docs.microsoft.com/azure/virtual-machines/availability-set-overview).

For more information on Azure planned maintenance, see [Maintenance and updates for Virtual Machines in Azure](https://docs.microsoft.com/azure/virtual-machines/maintenance-and-updates)

Currently, a VM can only be added to availability set at creation time. The availability set to which the VM is being added should be under the same resource group as the availability set resource. An existing VM cannot be added to an availability set.

This property cannot exist along with a non-null properties.virtualMachineScaleSet reference. */ - availabilitySet?: SubResource; - /** Specifies information about the virtual machine scale set that the virtual machine should be assigned to. Virtual machines specified in the same virtual machine scale set are allocated to different nodes to maximize availability. Currently, a VM can only be added to virtual machine scale set at creation time. An existing VM cannot be added to a virtual machine scale set.

This property cannot exist along with a non-null properties.availabilitySet reference.

Minimum api‐version: 2019‐03‐01 */ - virtualMachineScaleSet?: SubResource; - /** Specifies information about the proximity placement group that the virtual machine should be assigned to.

Minimum api-version: 2018-04-01. */ - proximityPlacementGroup?: SubResource; - /** Specifies the priority for the virtual machine.

Minimum api-version: 2019-03-01 */ - priority?: VirtualMachinePriorityTypes; - /** Specifies the eviction policy for the Azure Spot virtual machine and Azure Spot scale set.

For Azure Spot virtual machines, both 'Deallocate' and 'Delete' are supported and the minimum api-version is 2019-03-01.

For Azure Spot scale sets, both 'Deallocate' and 'Delete' are supported and the minimum api-version is 2017-10-30-preview. */ - evictionPolicy?: VirtualMachineEvictionPolicyTypes; - /** Specifies the billing related details of a Azure Spot virtual machine.

Minimum api-version: 2019-03-01. */ - billingProfile?: BillingProfile; - /** Specifies information about the dedicated host that the virtual machine resides in.

Minimum api-version: 2018-10-01. */ - host?: SubResource; - /** Specifies information about the dedicated host group that the virtual machine resides in.

Minimum api-version: 2020-06-01.

NOTE: User cannot specify both host and hostGroup properties. */ - hostGroup?: SubResource; + readonly name?: string; /** - * The provisioning state, which only appears in the response. + * Resource type * NOTE: This property will not be serialized. It can only be populated by the server. */ - readonly provisioningState?: string; + readonly type?: string; + /** How the extension handler should be forced to update even if the extension configuration has not changed. */ + forceUpdateTag?: string; + /** The name of the extension handler publisher. */ + publisher?: string; + /** Specifies the type of the extension; an example is "CustomScriptExtension". */ + typePropertiesType?: string; + /** Specifies the version of the script handler. */ + typeHandlerVersion?: string; + /** 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. */ + autoUpgradeMinorVersion?: boolean; + /** Indicates whether the extension should be automatically upgraded by the platform if there is a newer version of the extension available. */ + enableAutomaticUpgrade?: boolean; + /** Json formatted public settings for the extension. */ + settings?: Record; + /** The extension can contain either protectedSettings or protectedSettingsFromKeyVault or no protected settings at all. */ + protectedSettings?: Record; /** - * The virtual machine instance view. + * The provisioning state, which only appears in the response. * NOTE: This property will not be serialized. It can only be populated by the server. */ - readonly instanceView?: VirtualMachineInstanceView; - /** Specifies that the image or disk that is being used was licensed on-premises.

Possible values for Windows Server operating system are:

Windows_Client

Windows_Server

Possible values for Linux Server operating system are:

RHEL_BYOS (for RHEL)

SLES_BYOS (for SUSE)

For more information, see [Azure Hybrid Use Benefit for Windows Server](https://docs.microsoft.com/azure/virtual-machines/windows/hybrid-use-benefit-licensing)

[Azure Hybrid Use Benefit for Linux Server](https://docs.microsoft.com/azure/virtual-machines/linux/azure-hybrid-benefit-linux)

Minimum api-version: 2015-06-15 */ - licenseType?: string; + readonly provisioningState?: string; + /** The virtual machine extension instance view. */ + instanceView?: VirtualMachineExtensionInstanceView; + /** 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. */ + suppressFailures?: boolean; + /** The extensions protected settings that are passed by reference, and consumed from key vault */ + protectedSettingsFromKeyVault?: Record; +}; + +/** Describes a VMSS VM Extension. */ +export type VirtualMachineScaleSetVMExtensionUpdate = SubResourceReadOnly & { /** - * Specifies the VM unique ID which is a 128-bits identifier that is encoded and stored in all Azure IaaS VMs SMBIOS and can be read using platform BIOS commands. + * The name of the extension. * NOTE: This property will not be serialized. It can only be populated by the server. */ - readonly vmId?: string; - /** Specifies the time alloted for all extensions to start. The time duration should be between 15 minutes and 120 minutes (inclusive) and should be specified in ISO 8601 format. The default value is 90 minutes (PT1H30M).

Minimum api-version: 2020-06-01 */ - extensionsTimeBudget?: string; - /** Specifies the scale set logical fault domain into which the Virtual Machine will be created. By default, the Virtual Machine will by automatically assigned to a fault domain that best maintains balance across available fault domains.
  • This is applicable only if the 'virtualMachineScaleSet' property of this Virtual Machine is set.
  • The Virtual Machine Scale Set that is referenced, must have 'platformFaultDomainCount' > 1.
  • This property cannot be updated once the Virtual Machine is created.
  • Fault domain assignment can be viewed in the Virtual Machine Instance View.

    Minimum api‐version: 2020‐12‐01 */ - platformFaultDomain?: number; - /** Specifies Scheduled Event related configurations. */ - scheduledEventsProfile?: ScheduledEventsProfile; - /** UserData for the VM, which must be base-64 encoded. Customer should not pass any secrets in here.

    Minimum api-version: 2021-03-01 */ - userData?: string; - /** Specifies information about the capacity reservation that is used to allocate virtual machine.

    Minimum api-version: 2021-04-01. */ - capacityReservation?: CapacityReservationProfile; - /** Specifies the gallery applications that should be made available to the VM/VMSS */ - applicationProfile?: ApplicationProfile; + readonly name?: string; /** - * Specifies the time at which the Virtual Machine resource was created.

    Minimum api-version: 2021-11-01. + * Resource type * NOTE: This property will not be serialized. It can only be populated by the server. */ - readonly timeCreated?: Date; + readonly type?: string; + /** How the extension handler should be forced to update even if the extension configuration has not changed. */ + forceUpdateTag?: string; + /** The name of the extension handler publisher. */ + publisher?: string; + /** Specifies the type of the extension; an example is "CustomScriptExtension". */ + typePropertiesType?: string; + /** Specifies the version of the script handler. */ + typeHandlerVersion?: string; + /** 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. */ + autoUpgradeMinorVersion?: boolean; + /** Indicates whether the extension should be automatically upgraded by the platform if there is a newer version of the extension available. */ + enableAutomaticUpgrade?: boolean; + /** Json formatted public settings for the extension. */ + settings?: Record; + /** The extension can contain either protectedSettings or protectedSettingsFromKeyVault or no protected settings at all. */ + protectedSettings?: Record; + /** 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. */ + suppressFailures?: boolean; + /** The extensions protected settings that are passed by reference, and consumed from key vault */ + protectedSettingsFromKeyVault?: Record; }; /** Describes a Virtual Machine Scale Set. */ @@ -4589,131 +4518,65 @@ export type VirtualMachineScaleSet = Resource & { /** Specifies the Spot Restore properties for the virtual machine scale set. */ spotRestorePolicy?: SpotRestorePolicy; /** - * Specifies the time at which the Virtual Machine Scale Set resource was created.

    Minimum api-version: 2021-11-01. + * Specifies the time at which the Virtual Machine Scale Set resource was created.

    Minimum api-version: 2022-03-01. * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly timeCreated?: Date; }; -/** The source user image virtual hard disk. The virtual hard disk will be copied before being attached to the virtual machine. If SourceImage is provided, the destination virtual hard drive must not exist. */ -export type Image = Resource & { - /** The extended location of the Image. */ - extendedLocation?: ExtendedLocation; - /** The source virtual machine from which Image is created. */ - sourceVirtualMachine?: SubResource; - /** Specifies the storage settings for the virtual machine disks. */ - storageProfile?: ImageStorageProfile; +/** The status of the latest virtual machine scale set rolling upgrade. */ +export type RollingUpgradeStatusInfo = Resource & { /** - * The provisioning state. + * The rolling upgrade policies applied for this upgrade. * NOTE: This property will not be serialized. It can only be populated by the server. */ - readonly provisioningState?: string; - /** Specifies the HyperVGenerationType of the VirtualMachine created from the image. From API Version 2019-03-01 if the image source is a blob, then we need the user to specify the value, if the source is managed resource like disk or snapshot, we may require the user to specify the property if we cannot deduce it from the source managed resource. */ - hyperVGeneration?: HyperVGenerationTypes; -}; - -/** Create or update Restore Point collection parameters. */ -export type RestorePointCollection = Resource & { - /** The properties of the source resource that this restore point collection is created from. */ - source?: RestorePointCollectionSourceProperties; + readonly policy?: RollingUpgradePolicy; /** - * The provisioning state of the restore point collection. - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly provisioningState?: string; - /** - * The unique id of the restore point collection. - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly restorePointCollectionId?: string; - /** - * A list containing all restore points created under this restore point collection. - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly restorePoints?: RestorePoint[]; -}; - -/** Specifies information about the capacity reservation group that the capacity reservations should be assigned to.

    Currently, a capacity reservation can only be added to a capacity reservation group at creation time. An existing capacity reservation cannot be added or moved to another capacity reservation group. */ -export type CapacityReservationGroup = Resource & { - /** Availability Zones to use for this capacity reservation group. The zones can be assigned only during creation. If not provided, the group supports only regional resources in the region. If provided, enforces each capacity reservation in the group to be in one of the zones. */ - zones?: string[]; - /** - * A list of all capacity reservation resource ids that belong to capacity reservation group. + * Information about the current running state of the overall upgrade. * NOTE: This property will not be serialized. It can only be populated by the server. */ - readonly capacityReservations?: SubResourceReadOnly[]; + readonly runningStatus?: RollingUpgradeRunningStatus; /** - * A list of references to all virtual machines associated to the capacity reservation group. + * Information about the number of virtual machine instances in each upgrade state. * NOTE: This property will not be serialized. It can only be populated by the server. */ - readonly virtualMachinesAssociated?: SubResourceReadOnly[]; + readonly progress?: RollingUpgradeProgressInfo; /** - * 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. + * Error details for this upgrade, if there are any. * NOTE: This property will not be serialized. It can only be populated by the server. */ - readonly instanceView?: CapacityReservationGroupInstanceView; + readonly error?: ApiError; }; -/** Specifies information about the capacity reservation. */ -export type CapacityReservation = Resource & { - /** SKU of the resource for which capacity needs be reserved. The SKU name and capacity is required to be set. Currently VM Skus with the capability called 'CapacityReservationSupported' set to true are supported. Refer to List Microsoft.Compute SKUs in a region (https://docs.microsoft.com/rest/api/compute/resourceskus/list) for supported values. */ - sku: Sku; - /** Availability Zone to use for this capacity reservation. The zone has to be single value and also should be part for the list of zones specified during the capacity reservation group creation. The zone can be assigned only during creation. If not provided, the reservation supports only non-zonal deployments. If provided, enforces VM/VMSS using this capacity reservation to be in same zone. */ - zones?: string[]; - /** - * A unique id generated and assigned to the capacity reservation by the platform which does not change throughout the lifetime of the resource. - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly reservationId?: string; - /** - * A list of all virtual machine resource ids that are associated with the capacity reservation. - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly virtualMachinesAssociated?: SubResourceReadOnly[]; - /** - * The date time when the capacity reservation was last updated. - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly provisioningTime?: Date; +/** Describes a Virtual Machine Extension. */ +export type VirtualMachineExtension = Resource & { + /** How the extension handler should be forced to update even if the extension configuration has not changed. */ + forceUpdateTag?: string; + /** The name of the extension handler publisher. */ + publisher?: string; + /** Specifies the type of the extension; an example is "CustomScriptExtension". */ + typePropertiesType?: string; + /** Specifies the version of the script handler. */ + typeHandlerVersion?: string; + /** 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. */ + autoUpgradeMinorVersion?: boolean; + /** Indicates whether the extension should be automatically upgraded by the platform if there is a newer version of the extension available. */ + enableAutomaticUpgrade?: boolean; + /** Json formatted public settings for the extension. */ + settings?: Record; + /** The extension can contain either protectedSettings or protectedSettingsFromKeyVault or no protected settings at all. */ + protectedSettings?: Record; /** * The provisioning state, which only appears in the response. * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly provisioningState?: string; - /** - * The Capacity reservation instance view. - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly instanceView?: CapacityReservationInstanceView; - /** - * Specifies the time at which the Capacity Reservation resource was created.

    Minimum api-version: 2021-11-01. - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly timeCreated?: Date; -}; - -/** The status of the latest virtual machine scale set rolling upgrade. */ -export type RollingUpgradeStatusInfo = Resource & { - /** - * The rolling upgrade policies applied for this upgrade. - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly policy?: RollingUpgradePolicy; - /** - * Information about the current running state of the overall upgrade. - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly runningStatus?: RollingUpgradeRunningStatus; - /** - * Information about the number of virtual machine instances in each upgrade state. - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly progress?: RollingUpgradeProgressInfo; - /** - * Error details for this upgrade, if there are any. - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly error?: ApiError; + /** The virtual machine extension instance view. */ + instanceView?: VirtualMachineExtensionInstanceView; + /** 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. */ + suppressFailures?: boolean; + /** The extensions protected settings that are passed by reference, and consumed from key vault */ + protectedSettingsFromKeyVault?: Record; }; /** Describes a virtual machine scale set virtual machine. */ @@ -4791,294 +4654,376 @@ export type VirtualMachineScaleSetVM = Resource & { userData?: string; }; -/** Describes a Virtual Machine run command. */ -export type VirtualMachineRunCommand = Resource & { - /** The source of the run command script. */ - source?: VirtualMachineRunCommandScriptSource; - /** The parameters used by the script. */ - parameters?: RunCommandInputParameter[]; - /** The parameters used by the script. */ - protectedParameters?: RunCommandInputParameter[]; - /** Optional. If set to true, provisioning will complete as soon as the script starts and will not wait for script to complete. */ - asyncExecution?: boolean; - /** Specifies the user account on the VM when executing the run command. */ - runAsUser?: string; - /** Specifies the user account password on the VM when executing the run command. */ - runAsPassword?: string; - /** The timeout in seconds to execute the run command. */ - timeoutInSeconds?: number; - /** Specifies the Azure storage blob where script output stream will be uploaded. */ - outputBlobUri?: string; - /** Specifies the Azure storage blob where script error stream will be uploaded. */ - errorBlobUri?: string; +/** Describes a Virtual Machine. */ +export type VirtualMachine = Resource & { + /** 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**. */ + plan?: Plan; /** - * The provisioning state, which only appears in the response. + * The virtual machine child extension resources. * NOTE: This property will not be serialized. It can only be populated by the server. */ - readonly provisioningState?: string; + readonly resources?: VirtualMachineExtension[]; + /** The identity of the virtual machine, if configured. */ + identity?: VirtualMachineIdentity; + /** The virtual machine zones. */ + zones?: string[]; + /** The extended location of the Virtual Machine. */ + extendedLocation?: ExtendedLocation; + /** Specifies the hardware settings for the virtual machine. */ + hardwareProfile?: HardwareProfile; + /** Specifies the storage settings for the virtual machine disks. */ + storageProfile?: StorageProfile; + /** Specifies additional capabilities enabled or disabled on the virtual machine. */ + additionalCapabilities?: AdditionalCapabilities; + /** Specifies the operating system settings used while creating the virtual machine. Some of the settings cannot be changed once VM is provisioned. */ + osProfile?: OSProfile; + /** Specifies the network interfaces of the virtual machine. */ + networkProfile?: NetworkProfile; + /** Specifies the Security related profile settings for the virtual machine. */ + securityProfile?: SecurityProfile; + /** Specifies the boot diagnostic settings state.

    Minimum api-version: 2015-06-15. */ + diagnosticsProfile?: DiagnosticsProfile; + /** Specifies information about the availability set that the virtual machine should be assigned to. Virtual machines specified in the same availability set are allocated to different nodes to maximize availability. For more information about availability sets, see [Availability sets overview](https://docs.microsoft.com/azure/virtual-machines/availability-set-overview).

    For more information on Azure planned maintenance, see [Maintenance and updates for Virtual Machines in Azure](https://docs.microsoft.com/azure/virtual-machines/maintenance-and-updates)

    Currently, a VM can only be added to availability set at creation time. The availability set to which the VM is being added should be under the same resource group as the availability set resource. An existing VM cannot be added to an availability set.

    This property cannot exist along with a non-null properties.virtualMachineScaleSet reference. */ + availabilitySet?: SubResource; + /** Specifies information about the virtual machine scale set that the virtual machine should be assigned to. Virtual machines specified in the same virtual machine scale set are allocated to different nodes to maximize availability. Currently, a VM can only be added to virtual machine scale set at creation time. An existing VM cannot be added to a virtual machine scale set.

    This property cannot exist along with a non-null properties.availabilitySet reference.

    Minimum api‐version: 2019‐03‐01 */ + virtualMachineScaleSet?: SubResource; + /** Specifies information about the proximity placement group that the virtual machine should be assigned to.

    Minimum api-version: 2018-04-01. */ + proximityPlacementGroup?: SubResource; + /** Specifies the priority for the virtual machine.

    Minimum api-version: 2019-03-01 */ + priority?: VirtualMachinePriorityTypes; + /** Specifies the eviction policy for the Azure Spot virtual machine and Azure Spot scale set.

    For Azure Spot virtual machines, both 'Deallocate' and 'Delete' are supported and the minimum api-version is 2019-03-01.

    For Azure Spot scale sets, both 'Deallocate' and 'Delete' are supported and the minimum api-version is 2017-10-30-preview. */ + evictionPolicy?: VirtualMachineEvictionPolicyTypes; + /** Specifies the billing related details of a Azure Spot virtual machine.

    Minimum api-version: 2019-03-01. */ + billingProfile?: BillingProfile; + /** Specifies information about the dedicated host that the virtual machine resides in.

    Minimum api-version: 2018-10-01. */ + host?: SubResource; + /** Specifies information about the dedicated host group that the virtual machine resides in.

    Minimum api-version: 2020-06-01.

    NOTE: User cannot specify both host and hostGroup properties. */ + hostGroup?: SubResource; /** - * The virtual machine run command instance view. + * The provisioning state, which only appears in the response. * NOTE: This property will not be serialized. It can only be populated by the server. */ - readonly instanceView?: VirtualMachineRunCommandInstanceView; -}; - -/** Disk resource. */ -export type Disk = Resource & { + readonly provisioningState?: string; /** - * A relative URI containing the ID of the VM that has the disk attached. + * The virtual machine instance view. * NOTE: This property will not be serialized. It can only be populated by the server. */ - readonly managedBy?: string; + readonly instanceView?: VirtualMachineInstanceView; + /** Specifies that the image or disk that is being used was licensed on-premises.

    Possible values for Windows Server operating system are:

    Windows_Client

    Windows_Server

    Possible values for Linux Server operating system are:

    RHEL_BYOS (for RHEL)

    SLES_BYOS (for SUSE)

    For more information, see [Azure Hybrid Use Benefit for Windows Server](https://docs.microsoft.com/azure/virtual-machines/windows/hybrid-use-benefit-licensing)

    [Azure Hybrid Use Benefit for Linux Server](https://docs.microsoft.com/azure/virtual-machines/linux/azure-hybrid-benefit-linux)

    Minimum api-version: 2015-06-15 */ + licenseType?: string; /** - * List of relative URIs containing the IDs of the VMs that have the disk attached. maxShares should be set to a value greater than one for disks to allow attaching them to multiple VMs. + * Specifies the VM unique ID which is a 128-bits identifier that is encoded and stored in all Azure IaaS VMs SMBIOS and can be read using platform BIOS commands. * NOTE: This property will not be serialized. It can only be populated by the server. */ - readonly managedByExtended?: string[]; - /** The disks sku name. Can be Standard_LRS, Premium_LRS, StandardSSD_LRS, UltraSSD_LRS, Premium_ZRS, or StandardSSD_ZRS. */ - sku?: DiskSku; - /** The Logical zone list for Disk. */ - zones?: string[]; - /** The extended location where the disk will be created. Extended location cannot be changed. */ - extendedLocation?: ExtendedLocation; + readonly vmId?: string; + /** Specifies the time alloted for all extensions to start. The time duration should be between 15 minutes and 120 minutes (inclusive) and should be specified in ISO 8601 format. The default value is 90 minutes (PT1H30M).

    Minimum api-version: 2020-06-01 */ + extensionsTimeBudget?: string; + /** Specifies the scale set logical fault domain into which the Virtual Machine will be created. By default, the Virtual Machine will by automatically assigned to a fault domain that best maintains balance across available fault domains.
  • This is applicable only if the 'virtualMachineScaleSet' property of this Virtual Machine is set.
  • The Virtual Machine Scale Set that is referenced, must have 'platformFaultDomainCount' > 1.
  • This property cannot be updated once the Virtual Machine is created.
  • Fault domain assignment can be viewed in the Virtual Machine Instance View.

    Minimum api‐version: 2020‐12‐01 */ + platformFaultDomain?: number; + /** Specifies Scheduled Event related configurations. */ + scheduledEventsProfile?: ScheduledEventsProfile; + /** UserData for the VM, which must be base-64 encoded. Customer should not pass any secrets in here.

    Minimum api-version: 2021-03-01 */ + userData?: string; + /** Specifies information about the capacity reservation that is used to allocate virtual machine.

    Minimum api-version: 2021-04-01. */ + capacityReservation?: CapacityReservationProfile; + /** Specifies the gallery applications that should be made available to the VM/VMSS */ + applicationProfile?: ApplicationProfile; /** - * The time when the disk was created. + * Specifies the time at which the Virtual Machine resource was created.

    Minimum api-version: 2022-03-01. * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly timeCreated?: Date; - /** The Operating System type. */ - osType?: OperatingSystemTypes; - /** The hypervisor generation of the Virtual Machine. Applicable to OS disks only. */ - hyperVGeneration?: HyperVGeneration; - /** Purchase plan information for the the image from which the OS disk was created. E.g. - {name: 2019-Datacenter, publisher: MicrosoftWindowsServer, product: WindowsServer} */ - purchasePlan?: PurchasePlanAutoGenerated; - /** List of supported capabilities for the image from which the OS disk was created. */ - supportedCapabilities?: SupportedCapabilities; - /** Disk source information. CreationData information cannot be changed after the disk has been created. */ - creationData?: CreationData; - /** If creationData.createOption is Empty, this field is mandatory and it indicates the size of the disk to create. If this field is present for updates or creation with other options, it indicates a resize. Resizes are only allowed if the disk is not attached to a running VM, and can only increase the disk's size. */ - diskSizeGB?: number; +}; + +/** Describes a Virtual Machine Extension Image. */ +export type VirtualMachineExtensionImage = Resource & { + /** The operating system this extension supports. */ + operatingSystem?: string; + /** The type of role (IaaS or PaaS) this extension supports. */ + computeRole?: string; + /** The schema defined by publisher, where extension consumers should provide settings in a matching schema. */ + handlerSchema?: string; + /** Whether the extension can be used on xRP VMScaleSets. By default existing extensions are usable on scalesets, but there might be cases where a publisher wants to explicitly indicate the extension is only enabled for CRP VMs but not VMSS. */ + vmScaleSetEnabled?: boolean; + /** Whether the handler can support multiple extensions. */ + supportsMultipleExtensions?: boolean; +}; + +/** Specifies information about the availability set that the virtual machine should be assigned to. Virtual machines specified in the same availability set are allocated to different nodes to maximize availability. For more information about availability sets, see [Availability sets overview](https://docs.microsoft.com/azure/virtual-machines/availability-set-overview).

    For more information on Azure planned maintenance, see [Maintenance and updates for Virtual Machines in Azure](https://docs.microsoft.com/azure/virtual-machines/maintenance-and-updates)

    Currently, a VM can only be added to availability set at creation time. An existing VM cannot be added to an availability set. */ +export type AvailabilitySet = Resource & { + /** 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'. */ + sku?: Sku; + /** Update Domain count. */ + platformUpdateDomainCount?: number; + /** Fault Domain count. */ + platformFaultDomainCount?: number; + /** A list of references to all virtual machines in the availability set. */ + virtualMachines?: SubResource[]; + /** Specifies information about the proximity placement group that the availability set should be assigned to.

    Minimum api-version: 2018-04-01. */ + proximityPlacementGroup?: SubResource; /** - * The size of the disk in bytes. This field is read only. + * The resource status information. * NOTE: This property will not be serialized. It can only be populated by the server. */ - readonly diskSizeBytes?: number; - /** - * Unique Guid identifying the resource. + readonly statuses?: InstanceViewStatus[]; +}; + +/** Specifies information about the proximity placement group. */ +export type ProximityPlacementGroup = Resource & { + /** Specifies the type of the proximity placement group.

    Possible values are:

    **Standard** : Co-locate resources within an Azure region or Availability Zone.

    **Ultra** : For future use. */ + proximityPlacementGroupType?: ProximityPlacementGroupType; + /** + * A list of references to all virtual machines in the proximity placement group. * NOTE: This property will not be serialized. It can only be populated by the server. */ - readonly uniqueId?: string; - /** Encryption settings collection used for Azure Disk Encryption, can contain multiple encryption settings per disk or snapshot. */ - encryptionSettingsCollection?: EncryptionSettingsCollection; + readonly virtualMachines?: SubResourceWithColocationStatus[]; /** - * The disk provisioning state. + * A list of references to all virtual machine scale sets in the proximity placement group. * NOTE: This property will not be serialized. It can only be populated by the server. */ - readonly provisioningState?: string; - /** The number of IOPS allowed for this disk; only settable for UltraSSD disks. One operation can transfer between 4k and 256k bytes. */ - diskIopsReadWrite?: number; - /** The bandwidth allowed for this disk; only settable for UltraSSD disks. MBps means millions of bytes per second - MB here uses the ISO notation, of powers of 10. */ - diskMBpsReadWrite?: number; - /** The total number of IOPS that will be allowed across all VMs mounting the shared disk as ReadOnly. One operation can transfer between 4k and 256k bytes. */ - diskIopsReadOnly?: number; - /** The total throughput (MBps) that will be allowed across all VMs mounting the shared disk as ReadOnly. MBps means millions of bytes per second - MB here uses the ISO notation, of powers of 10. */ - diskMBpsReadOnly?: number; + readonly virtualMachineScaleSets?: SubResourceWithColocationStatus[]; /** - * The state of the disk. + * A list of references to all availability sets in the proximity placement group. * NOTE: This property will not be serialized. It can only be populated by the server. */ - readonly diskState?: DiskState; - /** Encryption property can be used to encrypt data at rest with customer managed keys or platform managed keys. */ - encryption?: Encryption; - /** The maximum number of VMs that can attach to the disk at the same time. Value greater than one indicates a disk that can be mounted on multiple VMs at the same time. */ - maxShares?: number; + readonly availabilitySets?: SubResourceWithColocationStatus[]; + /** Describes colocation status of the Proximity Placement Group. */ + colocationStatus?: InstanceViewStatus; +}; + +/** Specifies information about the dedicated host group that the dedicated hosts should be assigned to.

    Currently, a dedicated host can only be added to a dedicated host group at creation time. An existing dedicated host cannot be added to another dedicated host group. */ +export type DedicatedHostGroup = Resource & { + /** Availability Zone to use for this host group. Only single zone is supported. The zone can be assigned only during creation. If not provided, the group supports all zones in the region. If provided, enforces each host in the group to be in the same zone. */ + zones?: string[]; + /** Number of fault domains that the host group can span. */ + platformFaultDomainCount?: number; /** - * Details of the list of all VMs that have the disk attached. maxShares should be set to a value greater than one for disks to allow attaching them to multiple VMs. + * A list of references to all dedicated hosts in the dedicated host group. * NOTE: This property will not be serialized. It can only be populated by the server. */ - readonly shareInfo?: ShareInfoElement[]; - /** Policy for accessing the disk via network. */ - networkAccessPolicy?: NetworkAccessPolicy; - /** ARM id of the DiskAccess resource for using private endpoints on disks. */ - diskAccessId?: string; - /** Performance tier of the disk (e.g, P4, S10) as described here: https://azure.microsoft.com/en-us/pricing/details/managed-disks/. Does not apply to Ultra disks. */ - tier?: string; - /** Set to true to enable bursting beyond the provisioned performance target of the disk. Bursting is disabled by default. Does not apply to Ultra disks. */ - burstingEnabled?: boolean; + readonly hosts?: SubResourceReadOnly[]; /** - * Properties of the disk for which update is pending. + * The dedicated host group instance view, which has the list of instance view of the dedicated hosts under the dedicated host group. * NOTE: This property will not be serialized. It can only be populated by the server. */ - readonly propertyUpdatesInProgress?: PropertyUpdatesInProgress; - /** Indicates the OS on a disk supports hibernation. */ - supportsHibernation?: boolean; - /** Contains the security related information for the resource. */ - securityProfile?: DiskSecurityProfile; - /** Percentage complete for the background copy when a resource is created via the CopyStart operation. */ - completionPercent?: number; - /** Policy for controlling export on the disk. */ - publicNetworkAccess?: PublicNetworkAccess; - /** Additional authentication requirements when exporting or uploading to a disk or snapshot. */ - dataAccessAuthMode?: DataAccessAuthMode; + readonly instanceView?: DedicatedHostGroupInstanceView; + /** Specifies whether virtual machines or virtual machine scale sets can be placed automatically on the dedicated host group. Automatic placement means resources are allocated on dedicated hosts, that are chosen by Azure, under the dedicated host group. The value is defaulted to 'false' when not provided.

    Minimum api-version: 2020-06-01. */ + supportAutomaticPlacement?: boolean; + /** Enables or disables a capability on the dedicated host group.

    Minimum api-version: 2022-03-01. */ + additionalCapabilities?: DedicatedHostGroupPropertiesAdditionalCapabilities; }; -/** Snapshot resource. */ -export type Snapshot = Resource & { +/** Specifies information about the Dedicated host. */ +export type DedicatedHost = Resource & { + /** SKU of the dedicated host for Hardware Generation and VM family. Only name is required to be set. List Microsoft.Compute SKUs for a list of possible values. */ + sku: Sku; + /** Fault domain of the dedicated host within a dedicated host group. */ + platformFaultDomain?: number; + /** Specifies whether the dedicated host should be replaced automatically in case of a failure. The value is defaulted to 'true' when not provided. */ + autoReplaceOnFailure?: boolean; /** - * Unused. Always Null. + * A unique id generated and assigned to the dedicated host by the platform.

    Does not change throughout the lifetime of the host. * NOTE: This property will not be serialized. It can only be populated by the server. */ - readonly managedBy?: string; - /** The snapshots sku name. Can be Standard_LRS, Premium_LRS, or Standard_ZRS. This is an optional parameter for incremental snapshot and the default behavior is the SKU will be set to the same sku as the previous snapshot */ - sku?: SnapshotSku; - /** The extended location where the snapshot will be created. Extended location cannot be changed. */ - extendedLocation?: ExtendedLocation; + readonly hostId?: string; /** - * The time when the snapshot was created. + * A list of references to all virtual machines in the Dedicated Host. * NOTE: This property will not be serialized. It can only be populated by the server. */ - readonly timeCreated?: Date; - /** The Operating System type. */ - osType?: OperatingSystemTypes; - /** The hypervisor generation of the Virtual Machine. Applicable to OS disks only. */ - hyperVGeneration?: HyperVGeneration; - /** Purchase plan information for the image from which the source disk for the snapshot was originally created. */ - purchasePlan?: PurchasePlanAutoGenerated; - /** List of supported capabilities for the image from which the source disk from the snapshot was originally created. */ - supportedCapabilities?: SupportedCapabilities; - /** Disk source information. CreationData information cannot be changed after the disk has been created. */ - creationData?: CreationData; - /** If creationData.createOption is Empty, this field is mandatory and it indicates the size of the disk to create. If this field is present for updates or creation with other options, it indicates a resize. Resizes are only allowed if the disk is not attached to a running VM, and can only increase the disk's size. */ - diskSizeGB?: number; + readonly virtualMachines?: SubResourceReadOnly[]; + /** Specifies the software license type that will be applied to the VMs deployed on the dedicated host.

    Possible values are:

    **None**

    **Windows_Server_Hybrid**

    **Windows_Server_Perpetual**

    Default: **None** */ + licenseType?: DedicatedHostLicenseTypes; /** - * The size of the disk in bytes. This field is read only. + * The date when the host was first provisioned. * NOTE: This property will not be serialized. It can only be populated by the server. */ - readonly diskSizeBytes?: number; + readonly provisioningTime?: Date; /** - * The state of the snapshot. + * The provisioning state, which only appears in the response. * NOTE: This property will not be serialized. It can only be populated by the server. */ - readonly diskState?: DiskState; + readonly provisioningState?: string; /** - * Unique Guid identifying the resource. + * The dedicated host instance view. * NOTE: This property will not be serialized. It can only be populated by the server. */ - readonly uniqueId?: string; - /** Encryption settings collection used be Azure Disk Encryption, can contain multiple encryption settings per disk or snapshot. */ - encryptionSettingsCollection?: EncryptionSettingsCollection; + readonly instanceView?: DedicatedHostInstanceView; /** - * The disk provisioning state. + * Specifies the time at which the Dedicated Host resource was created.

    Minimum api-version: 2022-03-01. * NOTE: This property will not be serialized. It can only be populated by the server. */ - readonly provisioningState?: string; - /** Whether a snapshot is incremental. Incremental snapshots on the same disk occupy less space than full snapshots and can be diffed. */ - incremental?: boolean; - /** Encryption property can be used to encrypt data at rest with customer managed keys or platform managed keys. */ - encryption?: Encryption; - /** Policy for accessing the disk via network. */ - networkAccessPolicy?: NetworkAccessPolicy; - /** ARM id of the DiskAccess resource for using private endpoints on disks. */ - diskAccessId?: string; - /** Contains the security related information for the resource. */ - securityProfile?: DiskSecurityProfile; - /** Indicates the OS on a snapshot supports hibernation. */ - supportsHibernation?: boolean; - /** Policy for controlling export on the disk. */ - publicNetworkAccess?: PublicNetworkAccess; - /** Percentage complete for the background copy when a resource is created via the CopyStart operation. */ - completionPercent?: number; - /** Additional authentication requirements when exporting or uploading to a disk or snapshot. */ - dataAccessAuthMode?: DataAccessAuthMode; + readonly timeCreated?: Date; }; -/** disk encryption set resource. */ -export type DiskEncryptionSet = Resource & { - /** The managed identity for the disk encryption set. It should be given permission on the key vault before it can be used to encrypt disks. */ - identity?: EncryptionSetIdentity; - /** The type of key used to encrypt the data of the disk. */ - encryptionType?: DiskEncryptionSetType; - /** The key vault key which is currently used by this disk encryption set. */ - activeKey?: KeyForDiskEncryptionSet; +/** Specifies information about the SSH public key. */ +export type SshPublicKeyResource = Resource & { + /** SSH public key used to authenticate to a virtual machine through ssh. If this property is not initially provided when the resource is created, the publicKey property will be populated when generateKeyPair is called. If the public key is provided upon resource creation, the provided public key needs to be at least 2048-bit and in ssh-rsa format. */ + publicKey?: string; +}; + +/** The source user image virtual hard disk. The virtual hard disk will be copied before being attached to the virtual machine. If SourceImage is provided, the destination virtual hard drive must not exist. */ +export type Image = Resource & { + /** The extended location of the Image. */ + extendedLocation?: ExtendedLocation; + /** The source virtual machine from which Image is created. */ + sourceVirtualMachine?: SubResource; + /** Specifies the storage settings for the virtual machine disks. */ + storageProfile?: ImageStorageProfile; /** - * A readonly collection of key vault keys previously used by this disk encryption set while a key rotation is in progress. It will be empty if there is no ongoing key rotation. + * The provisioning state. * NOTE: This property will not be serialized. It can only be populated by the server. */ - readonly previousKeys?: KeyForDiskEncryptionSet[]; + readonly provisioningState?: string; + /** Specifies the HyperVGenerationType of the VirtualMachine created from the image. From API Version 2019-03-01 if the image source is a blob, then we need the user to specify the value, if the source is managed resource like disk or snapshot, we may require the user to specify the property if we cannot deduce it from the source managed resource. */ + hyperVGeneration?: HyperVGenerationTypes; +}; + +/** Create or update Restore Point collection parameters. */ +export type RestorePointCollection = Resource & { + /** The properties of the source resource that this restore point collection is created from. */ + source?: RestorePointCollectionSourceProperties; /** - * The disk encryption set provisioning state. + * The provisioning state of the restore point collection. * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly provisioningState?: string; - /** Set this flag to true to enable auto-updating of this disk encryption set to the latest key version. */ - rotationToLatestKeyVersionEnabled?: boolean; /** - * The time when the active key of this disk encryption set was updated. + * The unique id of the restore point collection. * NOTE: This property will not be serialized. It can only be populated by the server. */ - readonly lastKeyRotationTimestamp?: Date; + readonly restorePointCollectionId?: string; /** - * The error that was encountered during auto-key rotation. If an error is present, then auto-key rotation will not be attempted until the error on this disk encryption set is fixed. + * A list containing all restore points created under this restore point collection. * NOTE: This property will not be serialized. It can only be populated by the server. */ - readonly autoKeyRotationError?: ApiError; + readonly restorePoints?: RestorePoint[]; }; -/** disk access resource. */ -export type DiskAccess = Resource & { - /** The extended location where the disk access will be created. Extended location cannot be changed. */ - extendedLocation?: ExtendedLocation; +/** Specifies information about the capacity reservation group that the capacity reservations should be assigned to.

    Currently, a capacity reservation can only be added to a capacity reservation group at creation time. An existing capacity reservation cannot be added or moved to another capacity reservation group. */ +export type CapacityReservationGroup = Resource & { + /** Availability Zones to use for this capacity reservation group. The zones can be assigned only during creation. If not provided, the group supports only regional resources in the region. If provided, enforces each capacity reservation in the group to be in one of the zones. */ + zones?: string[]; /** - * A readonly collection of private endpoint connections created on the disk. Currently only one endpoint connection is supported. + * A list of all capacity reservation resource ids that belong to capacity reservation group. * NOTE: This property will not be serialized. It can only be populated by the server. */ - readonly privateEndpointConnections?: PrivateEndpointConnection[]; + readonly capacityReservations?: SubResourceReadOnly[]; /** - * The disk access resource provisioning state. + * A list of references to all virtual machines associated to the capacity reservation group. * NOTE: This property will not be serialized. It can only be populated by the server. */ - readonly provisioningState?: string; + readonly virtualMachinesAssociated?: SubResourceReadOnly[]; /** - * The time when the disk access was created. + * 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. * NOTE: This property will not be serialized. It can only be populated by the server. */ - readonly timeCreated?: Date; + readonly instanceView?: CapacityReservationGroupInstanceView; }; -/** Specifies information about the Shared Image Gallery that you want to create or update. */ -export type Gallery = Resource & { - /** The description of this Shared Image Gallery resource. This property is updatable. */ - description?: string; - /** Describes the gallery unique name. */ - identifier?: GalleryIdentifier; +/** Specifies information about the capacity reservation. */ +export type CapacityReservation = Resource & { + /** SKU of the resource for which capacity needs be reserved. The SKU name and capacity is required to be set. Currently VM Skus with the capability called 'CapacityReservationSupported' set to true are supported. Refer to List Microsoft.Compute SKUs in a region (https://docs.microsoft.com/rest/api/compute/resourceskus/list) for supported values. */ + sku: Sku; + /** Availability Zone to use for this capacity reservation. The zone has to be single value and also should be part for the list of zones specified during the capacity reservation group creation. The zone can be assigned only during creation. If not provided, the reservation supports only non-zonal deployments. If provided, enforces VM/VMSS using this capacity reservation to be in same zone. */ + zones?: string[]; + /** + * A unique id generated and assigned to the capacity reservation by the platform which does not change throughout the lifetime of the resource. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly reservationId?: string; + /** + * A list of all virtual machine resource ids that are associated with the capacity reservation. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly virtualMachinesAssociated?: SubResourceReadOnly[]; + /** + * The date time when the capacity reservation was last updated. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly provisioningTime?: Date; /** * The provisioning state, which only appears in the response. * NOTE: This property will not be serialized. It can only be populated by the server. */ - readonly provisioningState?: GalleryPropertiesProvisioningState; - /** Profile for gallery sharing to subscription or tenant */ - sharingProfile?: SharingProfile; - /** Contains information about the soft deletion policy of the gallery. */ - softDeletePolicy?: SoftDeletePolicy; + readonly provisioningState?: string; /** - * Sharing status of current gallery. + * The Capacity reservation instance view. * NOTE: This property will not be serialized. It can only be populated by the server. */ - readonly sharingStatus?: SharingStatus; + readonly instanceView?: CapacityReservationInstanceView; + /** + * Specifies the time at which the Capacity Reservation resource was created.

    Minimum api-version: 2022-03-01. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly timeCreated?: Date; }; -/** Specifies information about the gallery image definition that you want to create or update. */ -export type GalleryImage = Resource & { - /** The description of this gallery image definition resource. This property is updatable. */ - description?: string; - /** The Eula agreement for the gallery image definition. */ - eula?: string; - /** The privacy statement uri. */ - privacyStatementUri?: string; - /** The release note uri. */ - releaseNoteUri?: string; - /** This property allows you to specify the type of the OS that is included in the disk when creating a VM from a managed image.

    Possible values are:

    **Windows**

    **Linux** */ - osType?: OperatingSystemTypes; +/** Describes a Virtual Machine run command. */ +export type VirtualMachineRunCommand = Resource & { + /** The source of the run command script. */ + source?: VirtualMachineRunCommandScriptSource; + /** The parameters used by the script. */ + parameters?: RunCommandInputParameter[]; + /** The parameters used by the script. */ + protectedParameters?: RunCommandInputParameter[]; + /** Optional. If set to true, provisioning will complete as soon as the script starts and will not wait for script to complete. */ + asyncExecution?: boolean; + /** Specifies the user account on the VM when executing the run command. */ + runAsUser?: string; + /** Specifies the user account password on the VM when executing the run command. */ + runAsPassword?: string; + /** The timeout in seconds to execute the run command. */ + timeoutInSeconds?: number; + /** Specifies the Azure storage blob where script output stream will be uploaded. */ + outputBlobUri?: string; + /** Specifies the Azure storage blob where script error stream will be uploaded. */ + errorBlobUri?: string; + /** + * The provisioning state, which only appears in the response. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly provisioningState?: string; + /** + * The virtual machine run command instance view. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly instanceView?: VirtualMachineRunCommandInstanceView; +}; + +/** Specifies information about the Shared Image Gallery that you want to create or update. */ +export type Gallery = Resource & { + /** The description of this Shared Image Gallery resource. This property is updatable. */ + description?: string; + /** Describes the gallery unique name. */ + identifier?: GalleryIdentifier; + /** + * The provisioning state, which only appears in the response. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly provisioningState?: GalleryPropertiesProvisioningState; + /** Profile for gallery sharing to subscription or tenant */ + sharingProfile?: SharingProfile; + /** Contains information about the soft deletion policy of the gallery. */ + softDeletePolicy?: SoftDeletePolicy; + /** + * Sharing status of current gallery. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly sharingStatus?: SharingStatus; +}; + +/** Specifies information about the gallery image definition that you want to create or update. */ +export type GalleryImage = Resource & { + /** The description of this gallery image definition resource. This property is updatable. */ + description?: string; + /** The Eula agreement for the gallery image definition. */ + eula?: string; + /** The privacy statement uri. */ + privacyStatementUri?: string; + /** The release note uri. */ + releaseNoteUri?: string; + /** This property allows you to specify the type of the OS that is included in the disk when creating a VM from a managed image.

    Possible values are:

    **Windows**

    **Linux** */ + osType?: OperatingSystemTypes; /** This property allows the user to specify whether the virtual machines created under this image are 'Generalized' or 'Specialized'. */ osState?: OperatingSystemStateTypes; /** The hypervisor generation of the Virtual Machine. Applicable to OS disks only. */ @@ -5100,8 +5045,6 @@ export type GalleryImage = Resource & { readonly provisioningState?: GalleryImagePropertiesProvisioningState; /** A list of gallery image features. */ features?: GalleryImageFeature[]; - /** The architecture of the image. Applicable to OS disks only. */ - architecture?: Architecture; }; /** Specifies information about the gallery image version that you want to create or update. */ @@ -5154,278 +5097,219 @@ export type GalleryApplicationVersion = Resource & { readonly replicationStatus?: ReplicationStatus; }; -/** Specifies information about the availability set that the virtual machine should be assigned to. Only tags may be updated. */ -export type AvailabilitySetUpdate = UpdateResource & { - /** Sku of the availability set */ - sku?: Sku; - /** Update Domain count. */ - platformUpdateDomainCount?: number; - /** Fault Domain count. */ - platformFaultDomainCount?: number; - /** A list of references to all virtual machines in the availability set. */ - virtualMachines?: SubResource[]; - /** Specifies information about the proximity placement group that the availability set should be assigned to.

    Minimum api-version: 2018-04-01. */ - proximityPlacementGroup?: SubResource; +/** Disk resource. */ +export type Disk = Resource & { /** - * The resource status information. + * A relative URI containing the ID of the VM that has the disk attached. * NOTE: This property will not be serialized. It can only be populated by the server. */ - readonly statuses?: InstanceViewStatus[]; -}; - -/** Specifies information about the proximity placement group. */ -export type ProximityPlacementGroupUpdate = UpdateResource & {}; - -/** Specifies information about the dedicated host group that the dedicated host should be assigned to. Only tags may be updated. */ -export type DedicatedHostGroupUpdate = UpdateResource & { - /** Availability Zone to use for this host group. Only single zone is supported. The zone can be assigned only during creation. If not provided, the group supports all zones in the region. If provided, enforces each host in the group to be in the same zone. */ - zones?: string[]; - /** Number of fault domains that the host group can span. */ - platformFaultDomainCount?: number; + readonly managedBy?: string; /** - * A list of references to all dedicated hosts in the dedicated host group. + * List of relative URIs containing the IDs of the VMs that have the disk attached. maxShares should be set to a value greater than one for disks to allow attaching them to multiple VMs. * NOTE: This property will not be serialized. It can only be populated by the server. */ - readonly hosts?: SubResourceReadOnly[]; + readonly managedByExtended?: string[]; + /** The disks sku name. Can be Standard_LRS, Premium_LRS, StandardSSD_LRS, UltraSSD_LRS, Premium_ZRS, or StandardSSD_ZRS. */ + sku?: DiskSku; + /** The Logical zone list for Disk. */ + zones?: string[]; + /** The extended location where the disk will be created. Extended location cannot be changed. */ + extendedLocation?: ExtendedLocation; /** - * The dedicated host group instance view, which has the list of instance view of the dedicated hosts under the dedicated host group. + * The time when the disk was created. * NOTE: This property will not be serialized. It can only be populated by the server. */ - readonly instanceView?: DedicatedHostGroupInstanceView; - /** Specifies whether virtual machines or virtual machine scale sets can be placed automatically on the dedicated host group. Automatic placement means resources are allocated on dedicated hosts, that are chosen by Azure, under the dedicated host group. The value is defaulted to 'false' when not provided.

    Minimum api-version: 2020-06-01. */ - supportAutomaticPlacement?: boolean; -}; - -/** Specifies information about the dedicated host. Only tags, autoReplaceOnFailure and licenseType may be updated. */ -export type DedicatedHostUpdate = UpdateResource & { - /** Fault domain of the dedicated host within a dedicated host group. */ - platformFaultDomain?: number; - /** Specifies whether the dedicated host should be replaced automatically in case of a failure. The value is defaulted to 'true' when not provided. */ - autoReplaceOnFailure?: boolean; + readonly timeCreated?: Date; + /** The Operating System type. */ + osType?: OperatingSystemTypes; + /** The hypervisor generation of the Virtual Machine. Applicable to OS disks only. */ + hyperVGeneration?: HyperVGeneration; + /** Purchase plan information for the the image from which the OS disk was created. E.g. - {name: 2019-Datacenter, publisher: MicrosoftWindowsServer, product: WindowsServer} */ + purchasePlan?: PurchasePlanAutoGenerated; + /** List of supported capabilities for the image from which the OS disk was created. */ + supportedCapabilities?: SupportedCapabilities; + /** Disk source information. CreationData information cannot be changed after the disk has been created. */ + creationData?: CreationData; + /** If creationData.createOption is Empty, this field is mandatory and it indicates the size of the disk to create. If this field is present for updates or creation with other options, it indicates a resize. Resizes are only allowed if the disk is not attached to a running VM, and can only increase the disk's size. */ + diskSizeGB?: number; /** - * A unique id generated and assigned to the dedicated host by the platform.

    Does not change throughout the lifetime of the host. + * The size of the disk in bytes. This field is read only. * NOTE: This property will not be serialized. It can only be populated by the server. */ - readonly hostId?: string; + readonly diskSizeBytes?: number; /** - * A list of references to all virtual machines in the Dedicated Host. + * Unique Guid identifying the resource. * NOTE: This property will not be serialized. It can only be populated by the server. */ - readonly virtualMachines?: SubResourceReadOnly[]; - /** Specifies the software license type that will be applied to the VMs deployed on the dedicated host.

    Possible values are:

    **None**

    **Windows_Server_Hybrid**

    **Windows_Server_Perpetual**

    Default: **None** */ - licenseType?: DedicatedHostLicenseTypes; + readonly uniqueId?: string; + /** Encryption settings collection used for Azure Disk Encryption, can contain multiple encryption settings per disk or snapshot. */ + encryptionSettingsCollection?: EncryptionSettingsCollection; /** - * The date when the host was first provisioned. + * The disk provisioning state. * NOTE: This property will not be serialized. It can only be populated by the server. */ - readonly provisioningTime?: Date; + readonly provisioningState?: string; + /** The number of IOPS allowed for this disk; only settable for UltraSSD disks. One operation can transfer between 4k and 256k bytes. */ + diskIopsReadWrite?: number; + /** The bandwidth allowed for this disk; only settable for UltraSSD disks. MBps means millions of bytes per second - MB here uses the ISO notation, of powers of 10. */ + diskMBpsReadWrite?: number; + /** The total number of IOPS that will be allowed across all VMs mounting the shared disk as ReadOnly. One operation can transfer between 4k and 256k bytes. */ + diskIopsReadOnly?: number; + /** The total throughput (MBps) that will be allowed across all VMs mounting the shared disk as ReadOnly. MBps means millions of bytes per second - MB here uses the ISO notation, of powers of 10. */ + diskMBpsReadOnly?: number; /** - * The provisioning state, which only appears in the response. + * The state of the disk. * NOTE: This property will not be serialized. It can only be populated by the server. */ - readonly provisioningState?: string; + readonly diskState?: DiskState; + /** Encryption property can be used to encrypt data at rest with customer managed keys or platform managed keys. */ + encryption?: Encryption; + /** The maximum number of VMs that can attach to the disk at the same time. Value greater than one indicates a disk that can be mounted on multiple VMs at the same time. */ + maxShares?: number; /** - * The dedicated host instance view. + * Details of the list of all VMs that have the disk attached. maxShares should be set to a value greater than one for disks to allow attaching them to multiple VMs. * NOTE: This property will not be serialized. It can only be populated by the server. */ - readonly instanceView?: DedicatedHostInstanceView; + readonly shareInfo?: ShareInfoElement[]; + /** Policy for accessing the disk via network. */ + networkAccessPolicy?: NetworkAccessPolicy; + /** ARM id of the DiskAccess resource for using private endpoints on disks. */ + diskAccessId?: string; + /** Performance tier of the disk (e.g, P4, S10) as described here: https://azure.microsoft.com/en-us/pricing/details/managed-disks/. Does not apply to Ultra disks. */ + tier?: string; + /** Set to true to enable bursting beyond the provisioned performance target of the disk. Bursting is disabled by default. Does not apply to Ultra disks. */ + burstingEnabled?: boolean; /** - * Specifies the time at which the Dedicated Host resource was created.

    Minimum api-version: 2021-11-01. + * Properties of the disk for which update is pending. * NOTE: This property will not be serialized. It can only be populated by the server. */ - readonly timeCreated?: Date; -}; - -/** Specifies information about the SSH public key. */ -export type SshPublicKeyUpdateResource = UpdateResource & { - /** SSH public key used to authenticate to a virtual machine through ssh. If this property is not initially provided when the resource is created, the publicKey property will be populated when generateKeyPair is called. If the public key is provided upon resource creation, the provided public key needs to be at least 2048-bit and in ssh-rsa format. */ - publicKey?: string; -}; - -/** Describes a Virtual Machine Extension. */ -export type VirtualMachineExtensionUpdate = UpdateResource & { - /** How the extension handler should be forced to update even if the extension configuration has not changed. */ - forceUpdateTag?: string; - /** The name of the extension handler publisher. */ - publisher?: string; - /** Specifies the type of the extension; an example is "CustomScriptExtension". */ - type?: string; - /** Specifies the version of the script handler. */ - typeHandlerVersion?: string; - /** 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. */ - autoUpgradeMinorVersion?: boolean; - /** Indicates whether the extension should be automatically upgraded by the platform if there is a newer version of the extension available. */ - enableAutomaticUpgrade?: boolean; - /** Json formatted public settings for the extension. */ - settings?: Record; - /** The extension can contain either protectedSettings or protectedSettingsFromKeyVault or no protected settings at all. */ - protectedSettings?: Record; - /** 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. */ - suppressFailures?: boolean; - /** The extensions protected settings that are passed by reference, and consumed from key vault */ - protectedSettingsFromKeyVault?: Record; + readonly propertyUpdatesInProgress?: PropertyUpdatesInProgress; + /** Indicates the OS on a disk supports hibernation. */ + supportsHibernation?: boolean; + /** Contains the security related information for the resource. */ + securityProfile?: DiskSecurityProfile; + /** Percentage complete for the background copy when a resource is created via the CopyStart operation. */ + completionPercent?: number; + /** Policy for controlling export on the disk. */ + publicNetworkAccess?: PublicNetworkAccess; }; -/** The source user image virtual hard disk. Only tags may be updated. */ -export type ImageUpdate = UpdateResource & { - /** The source virtual machine from which Image is created. */ - sourceVirtualMachine?: SubResource; - /** Specifies the storage settings for the virtual machine disks. */ - storageProfile?: ImageStorageProfile; +/** Snapshot resource. */ +export type Snapshot = Resource & { /** - * The provisioning state. + * Unused. Always Null. * NOTE: This property will not be serialized. It can only be populated by the server. */ - readonly provisioningState?: string; - /** Specifies the HyperVGenerationType of the VirtualMachine created from the image. From API Version 2019-03-01 if the image source is a blob, then we need the user to specify the value, if the source is managed resource like disk or snapshot, we may require the user to specify the property if we cannot deduce it from the source managed resource. */ - hyperVGeneration?: HyperVGenerationTypes; -}; - -/** Describes a Virtual Machine Update. */ -export type VirtualMachineUpdate = UpdateResource & { - /** 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**. */ - plan?: Plan; - /** The identity of the virtual machine, if configured. */ - identity?: VirtualMachineIdentity; - /** The virtual machine zones. */ - zones?: string[]; - /** Specifies the hardware settings for the virtual machine. */ - hardwareProfile?: HardwareProfile; - /** Specifies the storage settings for the virtual machine disks. */ - storageProfile?: StorageProfile; - /** Specifies additional capabilities enabled or disabled on the virtual machine. */ - additionalCapabilities?: AdditionalCapabilities; - /** Specifies the operating system settings used while creating the virtual machine. Some of the settings cannot be changed once VM is provisioned. */ - osProfile?: OSProfile; - /** Specifies the network interfaces of the virtual machine. */ - networkProfile?: NetworkProfile; - /** Specifies the Security related profile settings for the virtual machine. */ - securityProfile?: SecurityProfile; - /** Specifies the boot diagnostic settings state.

    Minimum api-version: 2015-06-15. */ - diagnosticsProfile?: DiagnosticsProfile; - /** Specifies information about the availability set that the virtual machine should be assigned to. Virtual machines specified in the same availability set are allocated to different nodes to maximize availability. For more information about availability sets, see [Availability sets overview](https://docs.microsoft.com/azure/virtual-machines/availability-set-overview).

    For more information on Azure planned maintenance, see [Maintenance and updates for Virtual Machines in Azure](https://docs.microsoft.com/azure/virtual-machines/maintenance-and-updates)

    Currently, a VM can only be added to availability set at creation time. The availability set to which the VM is being added should be under the same resource group as the availability set resource. An existing VM cannot be added to an availability set.

    This property cannot exist along with a non-null properties.virtualMachineScaleSet reference. */ - availabilitySet?: SubResource; - /** Specifies information about the virtual machine scale set that the virtual machine should be assigned to. Virtual machines specified in the same virtual machine scale set are allocated to different nodes to maximize availability. Currently, a VM can only be added to virtual machine scale set at creation time. An existing VM cannot be added to a virtual machine scale set.

    This property cannot exist along with a non-null properties.availabilitySet reference.

    Minimum api‐version: 2019‐03‐01 */ - virtualMachineScaleSet?: SubResource; - /** Specifies information about the proximity placement group that the virtual machine should be assigned to.

    Minimum api-version: 2018-04-01. */ - proximityPlacementGroup?: SubResource; - /** Specifies the priority for the virtual machine.

    Minimum api-version: 2019-03-01 */ - priority?: VirtualMachinePriorityTypes; - /** Specifies the eviction policy for the Azure Spot virtual machine and Azure Spot scale set.

    For Azure Spot virtual machines, both 'Deallocate' and 'Delete' are supported and the minimum api-version is 2019-03-01.

    For Azure Spot scale sets, both 'Deallocate' and 'Delete' are supported and the minimum api-version is 2017-10-30-preview. */ - evictionPolicy?: VirtualMachineEvictionPolicyTypes; - /** Specifies the billing related details of a Azure Spot virtual machine.

    Minimum api-version: 2019-03-01. */ - billingProfile?: BillingProfile; - /** Specifies information about the dedicated host that the virtual machine resides in.

    Minimum api-version: 2018-10-01. */ - host?: SubResource; - /** Specifies information about the dedicated host group that the virtual machine resides in.

    Minimum api-version: 2020-06-01.

    NOTE: User cannot specify both host and hostGroup properties. */ - hostGroup?: SubResource; + readonly managedBy?: string; + /** The snapshots sku name. Can be Standard_LRS, Premium_LRS, or Standard_ZRS. This is an optional parameter for incremental snapshot and the default behavior is the SKU will be set to the same sku as the previous snapshot */ + sku?: SnapshotSku; + /** The extended location where the snapshot will be created. Extended location cannot be changed. */ + extendedLocation?: ExtendedLocation; /** - * The provisioning state, which only appears in the response. + * The time when the snapshot was created. * NOTE: This property will not be serialized. It can only be populated by the server. */ - readonly provisioningState?: string; + readonly timeCreated?: Date; + /** The Operating System type. */ + osType?: OperatingSystemTypes; + /** The hypervisor generation of the Virtual Machine. Applicable to OS disks only. */ + hyperVGeneration?: HyperVGeneration; + /** Purchase plan information for the image from which the source disk for the snapshot was originally created. */ + purchasePlan?: PurchasePlanAutoGenerated; + /** List of supported capabilities (like Accelerated Networking) for the image from which the source disk from the snapshot was originally created. */ + supportedCapabilities?: SupportedCapabilities; + /** Disk source information. CreationData information cannot be changed after the disk has been created. */ + creationData?: CreationData; + /** If creationData.createOption is Empty, this field is mandatory and it indicates the size of the disk to create. If this field is present for updates or creation with other options, it indicates a resize. Resizes are only allowed if the disk is not attached to a running VM, and can only increase the disk's size. */ + diskSizeGB?: number; /** - * The virtual machine instance view. + * The size of the disk in bytes. This field is read only. * NOTE: This property will not be serialized. It can only be populated by the server. */ - readonly instanceView?: VirtualMachineInstanceView; - /** Specifies that the image or disk that is being used was licensed on-premises.

    Possible values for Windows Server operating system are:

    Windows_Client

    Windows_Server

    Possible values for Linux Server operating system are:

    RHEL_BYOS (for RHEL)

    SLES_BYOS (for SUSE)

    For more information, see [Azure Hybrid Use Benefit for Windows Server](https://docs.microsoft.com/azure/virtual-machines/windows/hybrid-use-benefit-licensing)

    [Azure Hybrid Use Benefit for Linux Server](https://docs.microsoft.com/azure/virtual-machines/linux/azure-hybrid-benefit-linux)

    Minimum api-version: 2015-06-15 */ - licenseType?: string; + readonly diskSizeBytes?: number; /** - * Specifies the VM unique ID which is a 128-bits identifier that is encoded and stored in all Azure IaaS VMs SMBIOS and can be read using platform BIOS commands. + * The state of the snapshot. * NOTE: This property will not be serialized. It can only be populated by the server. */ - readonly vmId?: string; - /** Specifies the time alloted for all extensions to start. The time duration should be between 15 minutes and 120 minutes (inclusive) and should be specified in ISO 8601 format. The default value is 90 minutes (PT1H30M).

    Minimum api-version: 2020-06-01 */ - extensionsTimeBudget?: string; - /** Specifies the scale set logical fault domain into which the Virtual Machine will be created. By default, the Virtual Machine will by automatically assigned to a fault domain that best maintains balance across available fault domains.
  • This is applicable only if the 'virtualMachineScaleSet' property of this Virtual Machine is set.
  • The Virtual Machine Scale Set that is referenced, must have 'platformFaultDomainCount' > 1.
  • This property cannot be updated once the Virtual Machine is created.
  • Fault domain assignment can be viewed in the Virtual Machine Instance View.

    Minimum api‐version: 2020‐12‐01 */ - platformFaultDomain?: number; - /** Specifies Scheduled Event related configurations. */ - scheduledEventsProfile?: ScheduledEventsProfile; - /** UserData for the VM, which must be base-64 encoded. Customer should not pass any secrets in here.

    Minimum api-version: 2021-03-01 */ - userData?: string; - /** Specifies information about the capacity reservation that is used to allocate virtual machine.

    Minimum api-version: 2021-04-01. */ - capacityReservation?: CapacityReservationProfile; - /** Specifies the gallery applications that should be made available to the VM/VMSS */ - applicationProfile?: ApplicationProfile; + readonly diskState?: DiskState; /** - * Specifies the time at which the Virtual Machine resource was created.

    Minimum api-version: 2021-11-01. + * Unique Guid identifying the resource. * NOTE: This property will not be serialized. It can only be populated by the server. */ - readonly timeCreated?: Date; -}; - -/** Update Restore Point collection parameters. */ -export type RestorePointCollectionUpdate = UpdateResource & { - /** The properties of the source resource that this restore point collection is created from. */ - source?: RestorePointCollectionSourceProperties; + readonly uniqueId?: string; + /** Encryption settings collection used be Azure Disk Encryption, can contain multiple encryption settings per disk or snapshot. */ + encryptionSettingsCollection?: EncryptionSettingsCollection; /** - * The provisioning state of the restore point collection. + * The disk provisioning state. * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly provisioningState?: string; - /** - * The unique id of the restore point collection. - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly restorePointCollectionId?: string; - /** - * A list containing all restore points created under this restore point collection. - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly restorePoints?: RestorePoint[]; + /** Whether a snapshot is incremental. Incremental snapshots on the same disk occupy less space than full snapshots and can be diffed. */ + incremental?: boolean; + /** Encryption property can be used to encrypt data at rest with customer managed keys or platform managed keys. */ + encryption?: Encryption; + /** Policy for accessing the disk via network. */ + networkAccessPolicy?: NetworkAccessPolicy; + /** ARM id of the DiskAccess resource for using private endpoints on disks. */ + diskAccessId?: string; + /** Contains the security related information for the resource. */ + securityProfile?: DiskSecurityProfile; + /** Indicates the OS on a snapshot supports hibernation. */ + supportsHibernation?: boolean; + /** Policy for controlling export on the disk. */ + publicNetworkAccess?: PublicNetworkAccess; + /** Percentage complete for the background copy when a resource is created via the CopyStart operation. */ + completionPercent?: number; }; -/** Specifies information about the capacity reservation group. Only tags can be updated. */ -export type CapacityReservationGroupUpdate = UpdateResource & { - /** - * A list of all capacity reservation resource ids that belong to capacity reservation group. - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly capacityReservations?: SubResourceReadOnly[]; +/** disk encryption set resource. */ +export type DiskEncryptionSet = Resource & { + /** The managed identity for the disk encryption set. It should be given permission on the key vault before it can be used to encrypt disks. */ + identity?: EncryptionSetIdentity; + /** The type of key used to encrypt the data of the disk. */ + encryptionType?: DiskEncryptionSetType; + /** The key vault key which is currently used by this disk encryption set. */ + activeKey?: KeyForDiskEncryptionSet; /** - * A list of references to all virtual machines associated to the capacity reservation group. + * A readonly collection of key vault keys previously used by this disk encryption set while a key rotation is in progress. It will be empty if there is no ongoing key rotation. * NOTE: This property will not be serialized. It can only be populated by the server. */ - readonly virtualMachinesAssociated?: SubResourceReadOnly[]; + readonly previousKeys?: KeyForDiskEncryptionSet[]; /** - * 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. + * The disk encryption set provisioning state. * NOTE: This property will not be serialized. It can only be populated by the server. */ - readonly instanceView?: CapacityReservationGroupInstanceView; -}; - -/** Specifies information about the capacity reservation. Only tags and sku.capacity can be updated. */ -export type CapacityReservationUpdate = UpdateResource & { - /** SKU of the resource for which capacity needs be reserved. The SKU name and capacity is required to be set. Currently VM Skus with the capability called 'CapacityReservationSupported' set to true are supported. Refer to List Microsoft.Compute SKUs in a region (https://docs.microsoft.com/rest/api/compute/resourceskus/list) for supported values. */ - sku?: Sku; + readonly provisioningState?: string; + /** Set this flag to true to enable auto-updating of this disk encryption set to the latest key version. */ + rotationToLatestKeyVersionEnabled?: boolean; /** - * A unique id generated and assigned to the capacity reservation by the platform which does not change throughout the lifetime of the resource. + * The time when the active key of this disk encryption set was updated. * NOTE: This property will not be serialized. It can only be populated by the server. */ - readonly reservationId?: string; + readonly lastKeyRotationTimestamp?: Date; /** - * A list of all virtual machine resource ids that are associated with the capacity reservation. + * The error that was encountered during auto-key rotation. If an error is present, then auto-key rotation will not be attempted until the error on this disk encryption set is fixed. * NOTE: This property will not be serialized. It can only be populated by the server. */ - readonly virtualMachinesAssociated?: SubResourceReadOnly[]; + readonly autoKeyRotationError?: ApiError; +}; + +/** disk access resource. */ +export type DiskAccess = Resource & { + /** The extended location where the disk access will be created. Extended location cannot be changed. */ + extendedLocation?: ExtendedLocation; /** - * The date time when the capacity reservation was last updated. + * A readonly collection of private endpoint connections created on the disk. Currently only one endpoint connection is supported. * NOTE: This property will not be serialized. It can only be populated by the server. */ - readonly provisioningTime?: Date; + readonly privateEndpointConnections?: PrivateEndpointConnection[]; /** - * The provisioning state, which only appears in the response. + * The disk access resource provisioning state. * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly provisioningState?: string; /** - * The Capacity reservation instance view. - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly instanceView?: CapacityReservationInstanceView; - /** - * Specifies the time at which the Capacity Reservation resource was created.

    Minimum api-version: 2021-11-01. + * The time when the disk access was created. * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly timeCreated?: Date; @@ -5459,53 +5343,14 @@ export type VirtualMachineScaleSetUpdate = UpdateResource & { proximityPlacementGroup?: SubResource; }; -/** Describes a Virtual Machine run command. */ -export type VirtualMachineRunCommandUpdate = UpdateResource & { - /** The source of the run command script. */ - source?: VirtualMachineRunCommandScriptSource; - /** The parameters used by the script. */ - parameters?: RunCommandInputParameter[]; - /** The parameters used by the script. */ - protectedParameters?: RunCommandInputParameter[]; - /** Optional. If set to true, provisioning will complete as soon as the script starts and will not wait for script to complete. */ - asyncExecution?: boolean; - /** Specifies the user account on the VM when executing the run command. */ - runAsUser?: string; - /** Specifies the user account password on the VM when executing the run command. */ - runAsPassword?: string; - /** The timeout in seconds to execute the run command. */ - timeoutInSeconds?: number; - /** Specifies the Azure storage blob where script output stream will be uploaded. */ - outputBlobUri?: string; - /** Specifies the Azure storage blob where script error stream will be uploaded. */ - errorBlobUri?: string; - /** - * The provisioning state, which only appears in the response. - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly provisioningState?: string; - /** - * The virtual machine run command instance view. - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly instanceView?: VirtualMachineRunCommandInstanceView; -}; - -/** Describes a Virtual Machine Scale Set Extension. */ -export type VirtualMachineScaleSetExtension = SubResourceReadOnly & { - /** The name of the extension. */ - name?: string; - /** - * Resource type - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly type?: string; - /** If a value is provided and is different from the previous value, the extension handler will be forced to update even if the extension configuration has not changed. */ +/** Describes a Virtual Machine Extension. */ +export type VirtualMachineExtensionUpdate = UpdateResource & { + /** How the extension handler should be forced to update even if the extension configuration has not changed. */ forceUpdateTag?: string; /** The name of the extension handler publisher. */ publisher?: string; /** Specifies the type of the extension; an example is "CustomScriptExtension". */ - typePropertiesType?: string; + type?: string; /** Specifies the version of the script handler. */ typeHandlerVersion?: string; /** 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. */ @@ -5516,275 +5361,379 @@ export type VirtualMachineScaleSetExtension = SubResourceReadOnly & { settings?: Record; /** The extension can contain either protectedSettings or protectedSettingsFromKeyVault or no protected settings at all. */ protectedSettings?: Record; - /** - * The provisioning state, which only appears in the response. - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly provisioningState?: string; - /** Collection of extension names after which this extension needs to be provisioned. */ - provisionAfterExtensions?: string[]; /** 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. */ suppressFailures?: boolean; /** The extensions protected settings that are passed by reference, and consumed from key vault */ protectedSettingsFromKeyVault?: Record; }; -/** Describes a Virtual Machine Scale Set Extension. */ -export type VirtualMachineScaleSetExtensionUpdate = SubResourceReadOnly & { +/** Describes a Virtual Machine Update. */ +export type VirtualMachineUpdate = UpdateResource & { + /** 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**. */ + plan?: Plan; + /** The identity of the virtual machine, if configured. */ + identity?: VirtualMachineIdentity; + /** The virtual machine zones. */ + zones?: string[]; + /** Specifies the hardware settings for the virtual machine. */ + hardwareProfile?: HardwareProfile; + /** Specifies the storage settings for the virtual machine disks. */ + storageProfile?: StorageProfile; + /** Specifies additional capabilities enabled or disabled on the virtual machine. */ + additionalCapabilities?: AdditionalCapabilities; + /** Specifies the operating system settings used while creating the virtual machine. Some of the settings cannot be changed once VM is provisioned. */ + osProfile?: OSProfile; + /** Specifies the network interfaces of the virtual machine. */ + networkProfile?: NetworkProfile; + /** Specifies the Security related profile settings for the virtual machine. */ + securityProfile?: SecurityProfile; + /** Specifies the boot diagnostic settings state.

    Minimum api-version: 2015-06-15. */ + diagnosticsProfile?: DiagnosticsProfile; + /** Specifies information about the availability set that the virtual machine should be assigned to. Virtual machines specified in the same availability set are allocated to different nodes to maximize availability. For more information about availability sets, see [Availability sets overview](https://docs.microsoft.com/azure/virtual-machines/availability-set-overview).

    For more information on Azure planned maintenance, see [Maintenance and updates for Virtual Machines in Azure](https://docs.microsoft.com/azure/virtual-machines/maintenance-and-updates)

    Currently, a VM can only be added to availability set at creation time. The availability set to which the VM is being added should be under the same resource group as the availability set resource. An existing VM cannot be added to an availability set.

    This property cannot exist along with a non-null properties.virtualMachineScaleSet reference. */ + availabilitySet?: SubResource; + /** Specifies information about the virtual machine scale set that the virtual machine should be assigned to. Virtual machines specified in the same virtual machine scale set are allocated to different nodes to maximize availability. Currently, a VM can only be added to virtual machine scale set at creation time. An existing VM cannot be added to a virtual machine scale set.

    This property cannot exist along with a non-null properties.availabilitySet reference.

    Minimum api‐version: 2019‐03‐01 */ + virtualMachineScaleSet?: SubResource; + /** Specifies information about the proximity placement group that the virtual machine should be assigned to.

    Minimum api-version: 2018-04-01. */ + proximityPlacementGroup?: SubResource; + /** Specifies the priority for the virtual machine.

    Minimum api-version: 2019-03-01 */ + priority?: VirtualMachinePriorityTypes; + /** Specifies the eviction policy for the Azure Spot virtual machine and Azure Spot scale set.

    For Azure Spot virtual machines, both 'Deallocate' and 'Delete' are supported and the minimum api-version is 2019-03-01.

    For Azure Spot scale sets, both 'Deallocate' and 'Delete' are supported and the minimum api-version is 2017-10-30-preview. */ + evictionPolicy?: VirtualMachineEvictionPolicyTypes; + /** Specifies the billing related details of a Azure Spot virtual machine.

    Minimum api-version: 2019-03-01. */ + billingProfile?: BillingProfile; + /** Specifies information about the dedicated host that the virtual machine resides in.

    Minimum api-version: 2018-10-01. */ + host?: SubResource; + /** Specifies information about the dedicated host group that the virtual machine resides in.

    Minimum api-version: 2020-06-01.

    NOTE: User cannot specify both host and hostGroup properties. */ + hostGroup?: SubResource; /** - * The name of the extension. + * The provisioning state, which only appears in the response. * NOTE: This property will not be serialized. It can only be populated by the server. */ - readonly name?: string; + readonly provisioningState?: string; /** - * Resource type + * The virtual machine instance view. * NOTE: This property will not be serialized. It can only be populated by the server. */ - readonly type?: string; - /** If a value is provided and is different from the previous value, the extension handler will be forced to update even if the extension configuration has not changed. */ - forceUpdateTag?: string; - /** The name of the extension handler publisher. */ - publisher?: string; - /** Specifies the type of the extension; an example is "CustomScriptExtension". */ - typePropertiesType?: string; - /** Specifies the version of the script handler. */ - typeHandlerVersion?: string; - /** 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. */ - autoUpgradeMinorVersion?: boolean; - /** Indicates whether the extension should be automatically upgraded by the platform if there is a newer version of the extension available. */ - enableAutomaticUpgrade?: boolean; - /** Json formatted public settings for the extension. */ - settings?: Record; - /** The extension can contain either protectedSettings or protectedSettingsFromKeyVault or no protected settings at all. */ - protectedSettings?: Record; - /** - * The provisioning state, which only appears in the response. - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly provisioningState?: string; - /** Collection of extension names after which this extension needs to be provisioned. */ - provisionAfterExtensions?: string[]; - /** 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. */ - suppressFailures?: boolean; - /** The extensions protected settings that are passed by reference, and consumed from key vault */ - protectedSettingsFromKeyVault?: Record; -}; - -/** Describes a VMSS VM Extension. */ -export type VirtualMachineScaleSetVMExtension = SubResourceReadOnly & { + readonly instanceView?: VirtualMachineInstanceView; + /** Specifies that the image or disk that is being used was licensed on-premises.

    Possible values for Windows Server operating system are:

    Windows_Client

    Windows_Server

    Possible values for Linux Server operating system are:

    RHEL_BYOS (for RHEL)

    SLES_BYOS (for SUSE)

    For more information, see [Azure Hybrid Use Benefit for Windows Server](https://docs.microsoft.com/azure/virtual-machines/windows/hybrid-use-benefit-licensing)

    [Azure Hybrid Use Benefit for Linux Server](https://docs.microsoft.com/azure/virtual-machines/linux/azure-hybrid-benefit-linux)

    Minimum api-version: 2015-06-15 */ + licenseType?: string; /** - * The name of the extension. + * Specifies the VM unique ID which is a 128-bits identifier that is encoded and stored in all Azure IaaS VMs SMBIOS and can be read using platform BIOS commands. * NOTE: This property will not be serialized. It can only be populated by the server. */ - readonly name?: string; + readonly vmId?: string; + /** Specifies the time alloted for all extensions to start. The time duration should be between 15 minutes and 120 minutes (inclusive) and should be specified in ISO 8601 format. The default value is 90 minutes (PT1H30M).

    Minimum api-version: 2020-06-01 */ + extensionsTimeBudget?: string; + /** Specifies the scale set logical fault domain into which the Virtual Machine will be created. By default, the Virtual Machine will by automatically assigned to a fault domain that best maintains balance across available fault domains.
  • This is applicable only if the 'virtualMachineScaleSet' property of this Virtual Machine is set.
  • The Virtual Machine Scale Set that is referenced, must have 'platformFaultDomainCount' > 1.
  • This property cannot be updated once the Virtual Machine is created.
  • Fault domain assignment can be viewed in the Virtual Machine Instance View.

    Minimum api‐version: 2020‐12‐01 */ + platformFaultDomain?: number; + /** Specifies Scheduled Event related configurations. */ + scheduledEventsProfile?: ScheduledEventsProfile; + /** UserData for the VM, which must be base-64 encoded. Customer should not pass any secrets in here.

    Minimum api-version: 2021-03-01 */ + userData?: string; + /** Specifies information about the capacity reservation that is used to allocate virtual machine.

    Minimum api-version: 2021-04-01. */ + capacityReservation?: CapacityReservationProfile; + /** Specifies the gallery applications that should be made available to the VM/VMSS */ + applicationProfile?: ApplicationProfile; /** - * Resource type + * Specifies the time at which the Virtual Machine resource was created.

    Minimum api-version: 2022-03-01. * NOTE: This property will not be serialized. It can only be populated by the server. */ - readonly type?: string; - /** How the extension handler should be forced to update even if the extension configuration has not changed. */ - forceUpdateTag?: string; - /** The name of the extension handler publisher. */ - publisher?: string; - /** Specifies the type of the extension; an example is "CustomScriptExtension". */ - typePropertiesType?: string; - /** Specifies the version of the script handler. */ - typeHandlerVersion?: string; - /** 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. */ - autoUpgradeMinorVersion?: boolean; - /** Indicates whether the extension should be automatically upgraded by the platform if there is a newer version of the extension available. */ - enableAutomaticUpgrade?: boolean; - /** Json formatted public settings for the extension. */ - settings?: Record; - /** The extension can contain either protectedSettings or protectedSettingsFromKeyVault or no protected settings at all. */ - protectedSettings?: Record; + readonly timeCreated?: Date; +}; + +/** Specifies information about the availability set that the virtual machine should be assigned to. Only tags may be updated. */ +export type AvailabilitySetUpdate = UpdateResource & { + /** Sku of the availability set */ + sku?: Sku; + /** Update Domain count. */ + platformUpdateDomainCount?: number; + /** Fault Domain count. */ + platformFaultDomainCount?: number; + /** A list of references to all virtual machines in the availability set. */ + virtualMachines?: SubResource[]; + /** Specifies information about the proximity placement group that the availability set should be assigned to.

    Minimum api-version: 2018-04-01. */ + proximityPlacementGroup?: SubResource; /** - * The provisioning state, which only appears in the response. + * The resource status information. * NOTE: This property will not be serialized. It can only be populated by the server. */ - readonly provisioningState?: string; - /** The virtual machine extension instance view. */ - instanceView?: VirtualMachineExtensionInstanceView; - /** 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. */ - suppressFailures?: boolean; - /** The extensions protected settings that are passed by reference, and consumed from key vault */ - protectedSettingsFromKeyVault?: Record; + readonly statuses?: InstanceViewStatus[]; }; -/** Describes a VMSS VM Extension. */ -export type VirtualMachineScaleSetVMExtensionUpdate = SubResourceReadOnly & { +/** Specifies information about the proximity placement group. */ +export type ProximityPlacementGroupUpdate = UpdateResource & {}; + +/** Specifies information about the dedicated host group that the dedicated host should be assigned to. Only tags may be updated. */ +export type DedicatedHostGroupUpdate = UpdateResource & { + /** Availability Zone to use for this host group. Only single zone is supported. The zone can be assigned only during creation. If not provided, the group supports all zones in the region. If provided, enforces each host in the group to be in the same zone. */ + zones?: string[]; + /** Number of fault domains that the host group can span. */ + platformFaultDomainCount?: number; /** - * The name of the extension. + * A list of references to all dedicated hosts in the dedicated host group. * NOTE: This property will not be serialized. It can only be populated by the server. */ - readonly name?: string; + readonly hosts?: SubResourceReadOnly[]; /** - * Resource type + * The dedicated host group instance view, which has the list of instance view of the dedicated hosts under the dedicated host group. * NOTE: This property will not be serialized. It can only be populated by the server. */ - readonly type?: string; - /** How the extension handler should be forced to update even if the extension configuration has not changed. */ - forceUpdateTag?: string; - /** The name of the extension handler publisher. */ - publisher?: string; - /** Specifies the type of the extension; an example is "CustomScriptExtension". */ - typePropertiesType?: string; - /** Specifies the version of the script handler. */ - typeHandlerVersion?: string; - /** 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. */ - autoUpgradeMinorVersion?: boolean; - /** Indicates whether the extension should be automatically upgraded by the platform if there is a newer version of the extension available. */ - enableAutomaticUpgrade?: boolean; - /** Json formatted public settings for the extension. */ - settings?: Record; - /** The extension can contain either protectedSettings or protectedSettingsFromKeyVault or no protected settings at all. */ - protectedSettings?: Record; - /** 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. */ - suppressFailures?: boolean; - /** The extensions protected settings that are passed by reference, and consumed from key vault */ - protectedSettingsFromKeyVault?: Record; + readonly instanceView?: DedicatedHostGroupInstanceView; + /** Specifies whether virtual machines or virtual machine scale sets can be placed automatically on the dedicated host group. Automatic placement means resources are allocated on dedicated hosts, that are chosen by Azure, under the dedicated host group. The value is defaulted to 'false' when not provided.

    Minimum api-version: 2020-06-01. */ + supportAutomaticPlacement?: boolean; + /** Enables or disables a capability on the dedicated host group.

    Minimum api-version: 2022-03-01. */ + additionalCapabilities?: DedicatedHostGroupPropertiesAdditionalCapabilities; }; -/** The instance view of a dedicated host that includes the name of the dedicated host. It is used for the response to the instance view of a dedicated host group. */ -export type DedicatedHostInstanceViewWithName = DedicatedHostInstanceView & { +/** Specifies information about the dedicated host. Only tags, autoReplaceOnFailure and licenseType may be updated. */ +export type DedicatedHostUpdate = UpdateResource & { + /** Fault domain of the dedicated host within a dedicated host group. */ + platformFaultDomain?: number; + /** Specifies whether the dedicated host should be replaced automatically in case of a failure. The value is defaulted to 'true' when not provided. */ + autoReplaceOnFailure?: boolean; /** - * The name of the dedicated host. + * A unique id generated and assigned to the dedicated host by the platform.

    Does not change throughout the lifetime of the host. * NOTE: This property will not be serialized. It can only be populated by the server. */ - readonly name?: string; -}; - -/** Describes an Operating System disk. */ -export type ImageOSDisk = ImageDisk & { - /** This property allows you to specify the type of the OS that is included in the disk if creating a VM from a custom image.

    Possible values are:

    **Windows**

    **Linux** */ - osType: OperatingSystemTypes; - /** The OS State. */ - osState: OperatingSystemStateTypes; -}; - -/** Describes a data disk. */ -export type ImageDataDisk = ImageDisk & { - /** Specifies the logical unit number of the data disk. This value is used to identify data disks within the VM and therefore must be unique for each data disk attached to a VM. */ - lun: number; -}; - -/** Restore Point details. */ -export type RestorePoint = ProxyResource & { - /** List of disk resource ids that the customer wishes to exclude from the restore point. If no disks are specified, all disks will be included. */ - excludeDisks?: ApiEntityReference[]; + readonly hostId?: string; /** - * Gets the details of the VM captured at the time of the restore point creation. + * A list of references to all virtual machines in the Dedicated Host. * NOTE: This property will not be serialized. It can only be populated by the server. */ - readonly sourceMetadata?: RestorePointSourceMetadata; + readonly virtualMachines?: SubResourceReadOnly[]; + /** Specifies the software license type that will be applied to the VMs deployed on the dedicated host.

    Possible values are:

    **None**

    **Windows_Server_Hybrid**

    **Windows_Server_Perpetual**

    Default: **None** */ + licenseType?: DedicatedHostLicenseTypes; /** - * Gets the provisioning state of the restore point. + * The date when the host was first provisioned. * NOTE: This property will not be serialized. It can only be populated by the server. */ - readonly provisioningState?: string; + readonly provisioningTime?: Date; /** - * Gets the consistency mode for the restore point. Please refer to https://aka.ms/RestorePoints for more details. + * The provisioning state, which only appears in the response. * NOTE: This property will not be serialized. It can only be populated by the server. */ - readonly consistencyMode?: ConsistencyModeTypes; - /** Gets the creation time of the restore point. */ - timeCreated?: Date; - /** Resource Id of the source restore point from which a copy needs to be created. */ - sourceRestorePoint?: ApiEntityReference; + readonly provisioningState?: string; /** - * The restore point instance view. + * The dedicated host instance view. * NOTE: This property will not be serialized. It can only be populated by the server. */ - readonly instanceView?: RestorePointInstanceView; -}; - -/** The instance view of a capacity reservation that includes the name of the capacity reservation. It is used for the response to the instance view of a capacity reservation group. */ -export type CapacityReservationInstanceViewWithName = CapacityReservationInstanceView & { + readonly instanceView?: DedicatedHostInstanceView; /** - * The name of the capacity reservation. + * Specifies the time at which the Dedicated Host resource was created.

    Minimum api-version: 2022-03-01. * NOTE: This property will not be serialized. It can only be populated by the server. */ - readonly name?: string; + readonly timeCreated?: Date; }; -/** Describes a Virtual Machine Scale Set VM Reimage Parameters. */ -export type VirtualMachineScaleSetVMReimageParameters = VirtualMachineReimageParameters & {}; - -/** Api request input for LogAnalytics getRequestRateByInterval Api. */ -export type RequestRateByIntervalInput = LogAnalyticsInputBase & { - /** Interval value in minutes used to create LogAnalytics call rate logs. */ - intervalLength: IntervalInMins; +/** Specifies information about the SSH public key. */ +export type SshPublicKeyUpdateResource = UpdateResource & { + /** SSH public key used to authenticate to a virtual machine through ssh. If this property is not initially provided when the resource is created, the publicKey property will be populated when generateKeyPair is called. If the public key is provided upon resource creation, the provided public key needs to be at least 2048-bit and in ssh-rsa format. */ + publicKey?: string; }; -/** Api request input for LogAnalytics getThrottledRequests Api. */ -export type ThrottledRequestsInput = LogAnalyticsInputBase & {}; - -/** Describes the properties of a Run Command. */ -export type RunCommandDocument = RunCommandDocumentBase & { - /** The script to be executed. */ - script: string[]; - /** The parameters used by the script. */ - parameters?: RunCommandParameterDefinition[]; +/** The source user image virtual hard disk. Only tags may be updated. */ +export type ImageUpdate = UpdateResource & { + /** The source virtual machine from which Image is created. */ + sourceVirtualMachine?: SubResource; + /** Specifies the storage settings for the virtual machine disks. */ + storageProfile?: ImageStorageProfile; + /** + * The provisioning state. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly provisioningState?: string; + /** Specifies the HyperVGenerationType of the VirtualMachine created from the image. From API Version 2019-03-01 if the image source is a blob, then we need the user to specify the value, if the source is managed resource like disk or snapshot, we may require the user to specify the property if we cannot deduce it from the source managed resource. */ + hyperVGeneration?: HyperVGenerationTypes; }; -/** Properties of disk restore point */ -export type DiskRestorePoint = ProxyOnlyResource & { +/** Update Restore Point collection parameters. */ +export type RestorePointCollectionUpdate = UpdateResource & { + /** The properties of the source resource that this restore point collection is created from. */ + source?: RestorePointCollectionSourceProperties; /** - * The timestamp of restorePoint creation + * The provisioning state of the restore point collection. * NOTE: This property will not be serialized. It can only be populated by the server. */ - readonly timeCreated?: Date; + readonly provisioningState?: string; /** - * arm id of source disk or source disk restore point. + * The unique id of the restore point collection. * NOTE: This property will not be serialized. It can only be populated by the server. */ - readonly sourceResourceId?: string; + readonly restorePointCollectionId?: string; /** - * The Operating System type. + * A list containing all restore points created under this restore point collection. * NOTE: This property will not be serialized. It can only be populated by the server. */ - readonly osType?: OperatingSystemTypes; - /** The hypervisor generation of the Virtual Machine. Applicable to OS disks only. */ - hyperVGeneration?: HyperVGeneration; - /** Purchase plan information for the the image from which the OS disk was created. */ - purchasePlan?: PurchasePlanAutoGenerated; - /** List of supported capabilities for the image from which the OS disk was created. */ - supportedCapabilities?: SupportedCapabilities; + readonly restorePoints?: RestorePoint[]; +}; + +/** Specifies information about the capacity reservation group. Only tags can be updated. */ +export type CapacityReservationGroupUpdate = UpdateResource & { /** - * id of the backing snapshot's MIS family + * A list of all capacity reservation resource ids that belong to capacity reservation group. * NOTE: This property will not be serialized. It can only be populated by the server. */ - readonly familyId?: string; + readonly capacityReservations?: SubResourceReadOnly[]; /** - * unique incarnation id of the source disk + * A list of references to all virtual machines associated to the capacity reservation group. * NOTE: This property will not be serialized. It can only be populated by the server. */ - readonly sourceUniqueId?: string; + readonly virtualMachinesAssociated?: SubResourceReadOnly[]; /** - * Encryption property can be used to encrypt data at rest with customer managed keys or platform managed keys. + * 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. * NOTE: This property will not be serialized. It can only be populated by the server. */ - readonly encryption?: Encryption; - /** Indicates the OS on a disk supports hibernation. */ - supportsHibernation?: boolean; - /** Policy for accessing the disk via network. */ - networkAccessPolicy?: NetworkAccessPolicy; - /** Policy for controlling export on the disk. */ - publicNetworkAccess?: PublicNetworkAccess; - /** ARM id of the DiskAccess resource for using private endpoints on disks. */ - diskAccessId?: string; - /** Percentage complete for the background copy of disk restore point when source resource is from a different region. */ - completionPercent?: number; + readonly instanceView?: CapacityReservationGroupInstanceView; +}; + +/** Specifies information about the capacity reservation. Only tags and sku.capacity can be updated. */ +export type CapacityReservationUpdate = UpdateResource & { + /** SKU of the resource for which capacity needs be reserved. The SKU name and capacity is required to be set. Currently VM Skus with the capability called 'CapacityReservationSupported' set to true are supported. Refer to List Microsoft.Compute SKUs in a region (https://docs.microsoft.com/rest/api/compute/resourceskus/list) for supported values. */ + sku?: Sku; /** - * Replication state of disk restore point when source resource is from a different region. + * A unique id generated and assigned to the capacity reservation by the platform which does not change throughout the lifetime of the resource. * NOTE: This property will not be serialized. It can only be populated by the server. */ - readonly replicationState?: string; + readonly reservationId?: string; /** - * Location of source disk or source disk restore point when source resource is from a different region. + * A list of all virtual machine resource ids that are associated with the capacity reservation. * NOTE: This property will not be serialized. It can only be populated by the server. */ - readonly sourceResourceLocation?: string; + readonly virtualMachinesAssociated?: SubResourceReadOnly[]; + /** + * The date time when the capacity reservation was last updated. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly provisioningTime?: Date; + /** + * The provisioning state, which only appears in the response. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly provisioningState?: string; + /** + * The Capacity reservation instance view. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly instanceView?: CapacityReservationInstanceView; + /** + * Specifies the time at which the Capacity Reservation resource was created.

    Minimum api-version: 2022-03-01. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly timeCreated?: Date; +}; + +/** Describes a Virtual Machine run command. */ +export type VirtualMachineRunCommandUpdate = UpdateResource & { + /** The source of the run command script. */ + source?: VirtualMachineRunCommandScriptSource; + /** The parameters used by the script. */ + parameters?: RunCommandInputParameter[]; + /** The parameters used by the script. */ + protectedParameters?: RunCommandInputParameter[]; + /** Optional. If set to true, provisioning will complete as soon as the script starts and will not wait for script to complete. */ + asyncExecution?: boolean; + /** Specifies the user account on the VM when executing the run command. */ + runAsUser?: string; + /** Specifies the user account password on the VM when executing the run command. */ + runAsPassword?: string; + /** The timeout in seconds to execute the run command. */ + timeoutInSeconds?: number; + /** Specifies the Azure storage blob where script output stream will be uploaded. */ + outputBlobUri?: string; + /** Specifies the Azure storage blob where script error stream will be uploaded. */ + errorBlobUri?: string; + /** + * The provisioning state, which only appears in the response. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly provisioningState?: string; + /** + * The virtual machine run command instance view. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly instanceView?: VirtualMachineRunCommandInstanceView; +}; + +/** Describes a Virtual Machine Scale Set VM Reimage Parameters. */ +export type VirtualMachineScaleSetVMReimageParameters = VirtualMachineReimageParameters & {}; + +/** The instance view of a dedicated host that includes the name of the dedicated host. It is used for the response to the instance view of a dedicated host group. */ +export type DedicatedHostInstanceViewWithName = DedicatedHostInstanceView & { + /** + * The name of the dedicated host. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly name?: string; +}; + +/** Describes an Operating System disk. */ +export type ImageOSDisk = ImageDisk & { + /** This property allows you to specify the type of the OS that is included in the disk if creating a VM from a custom image.

    Possible values are:

    **Windows**

    **Linux** */ + osType: OperatingSystemTypes; + /** The OS State. */ + osState: OperatingSystemStateTypes; +}; + +/** Describes a data disk. */ +export type ImageDataDisk = ImageDisk & { + /** Specifies the logical unit number of the data disk. This value is used to identify data disks within the VM and therefore must be unique for each data disk attached to a VM. */ + lun: number; +}; + +/** Restore Point details. */ +export type RestorePoint = ProxyResource & { + /** List of disk resource ids that the customer wishes to exclude from the restore point. If no disks are specified, all disks will be included. */ + excludeDisks?: ApiEntityReference[]; + /** + * Gets the details of the VM captured at the time of the restore point creation. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly sourceMetadata?: RestorePointSourceMetadata; + /** + * Gets the provisioning state of the restore point. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly provisioningState?: string; + /** + * Gets the consistency mode for the restore point. Please refer to https://aka.ms/RestorePoints for more details. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly consistencyMode?: ConsistencyModeTypes; + /** Gets the creation time of the restore point. */ + timeCreated?: Date; + /** Resource Id of the source restore point from which a copy needs to be created. */ + sourceRestorePoint?: ApiEntityReference; + /** + * The restore point instance view. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly instanceView?: RestorePointInstanceView; +}; + +/** The instance view of a capacity reservation that includes the name of the capacity reservation. It is used for the response to the instance view of a capacity reservation group. */ +export type CapacityReservationInstanceViewWithName = CapacityReservationInstanceView & { + /** + * The name of the capacity reservation. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly name?: string; +}; + +/** Api request input for LogAnalytics getRequestRateByInterval Api. */ +export type RequestRateByIntervalInput = LogAnalyticsInputBase & { + /** Interval value in minutes used to create LogAnalytics call rate logs. */ + intervalLength: IntervalInMins; +}; + +/** Api request input for LogAnalytics getThrottledRequests Api. */ +export type ThrottledRequestsInput = LogAnalyticsInputBase & {}; + +/** Describes the properties of a Run Command. */ +export type RunCommandDocument = RunCommandDocumentBase & { + /** The script to be executed. */ + script: string[]; + /** The parameters used by the script. */ + parameters?: RunCommandParameterDefinition[]; }; /** Specifies information about the Shared Image Gallery that you want to update. */ @@ -5842,8 +5791,6 @@ export type GalleryImageUpdate = UpdateResourceDefinition & { readonly provisioningState?: GalleryImagePropertiesProvisioningState; /** A list of gallery image features. */ features?: GalleryImageFeature[]; - /** The architecture of the image. Applicable to OS disks only. */ - architecture?: Architecture; }; /** Specifies information about the gallery image version that you want to update. */ @@ -5904,6 +5851,9 @@ export type GalleryApplicationVersionPublishingProfile = GalleryArtifactPublishi /** The source image from which the Image Version is going to be created. */ source: UserArtifactSource; manageActions?: UserArtifactManage; + settings?: UserArtifactSettings; + /** Optional. Additional settings to pass to the VMApp extension. For advanced used only. */ + advancedSettings?: { [propertyName: string]: string }; /** Optional. Whether or not this application reports health. */ enableHealthCheck?: boolean; }; @@ -5929,6 +5879,66 @@ export type GalleryDataDiskImage = GalleryDiskImage & { lun: number; }; +/** Properties of disk restore point */ +export type DiskRestorePoint = ProxyOnlyResource & { + /** + * The timestamp of restorePoint creation + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly timeCreated?: Date; + /** + * arm id of source disk or source disk restore point. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly sourceResourceId?: string; + /** + * The Operating System type. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly osType?: OperatingSystemTypes; + /** The hypervisor generation of the Virtual Machine. Applicable to OS disks only. */ + hyperVGeneration?: HyperVGeneration; + /** Purchase plan information for the the image from which the OS disk was created. */ + purchasePlan?: PurchasePlanAutoGenerated; + /** List of supported capabilities (like accelerated networking) for the image from which the OS disk was created. */ + supportedCapabilities?: SupportedCapabilities; + /** + * id of the backing snapshot's MIS family + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly familyId?: string; + /** + * unique incarnation id of the source disk + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly sourceUniqueId?: string; + /** + * Encryption property can be used to encrypt data at rest with customer managed keys or platform managed keys. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly encryption?: Encryption; + /** Indicates the OS on a disk supports hibernation. */ + supportsHibernation?: boolean; + /** Policy for accessing the disk via network. */ + networkAccessPolicy?: NetworkAccessPolicy; + /** Policy for controlling export on the disk. */ + publicNetworkAccess?: PublicNetworkAccess; + /** ARM id of the DiskAccess resource for using private endpoints on disks. */ + diskAccessId?: string; + /** Percentage complete for the background copy of disk restore point when source resource is from a different region. */ + completionPercent?: number; + /** + * Replication state of disk restore point when source resource is from a different region. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly replicationState?: string; + /** + * Location of source disk or source disk restore point when source resource is from a different region. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly sourceResourceLocation?: string; +}; + /** Base information about the shared gallery resource in pir. */ export type PirSharedGalleryResource = PirResource & { /** The unique id of this shared gallery. */ @@ -5982,8 +5992,6 @@ export type VirtualMachineImage = VirtualMachineImageResource & { /** Specifies disallowed configuration for the VirtualMachine created from the image */ disallowed?: DisallowedConfiguration; features?: VirtualMachineImageFeature[]; - /** Specifies the Architecture Type */ - architecture?: ArchitectureTypes; }; /** Describes a Virtual Machine Scale Set VM Reimage Parameters. */ @@ -6025,427 +6033,107 @@ export type SharedGalleryImageVersion = PirSharedGalleryResource & { endOfLifeDate?: Date; }; -/** Known values of {@link ProximityPlacementGroupType} that the service accepts. */ -export enum KnownProximityPlacementGroupType { - Standard = "Standard", - Ultra = "Ultra" +/** Known values of {@link RepairAction} that the service accepts. */ +export enum KnownRepairAction { + Replace = "Replace", + Restart = "Restart", + Reimage = "Reimage" } /** - * Defines values for ProximityPlacementGroupType. \ - * {@link KnownProximityPlacementGroupType} can be used interchangeably with ProximityPlacementGroupType, + * Defines values for RepairAction. \ + * {@link KnownRepairAction} can be used interchangeably with RepairAction, * this enum contains the known values that the service supports. * ### Known values supported by the service - * **Standard** \ - * **Ultra** + * **Replace** \ + * **Restart** \ + * **Reimage** */ -export type ProximityPlacementGroupType = string; +export type RepairAction = string; -/** Known values of {@link HyperVGenerationTypes} that the service accepts. */ -export enum KnownHyperVGenerationTypes { - V1 = "V1", - V2 = "V2" +/** Known values of {@link WindowsVMGuestPatchMode} that the service accepts. */ +export enum KnownWindowsVMGuestPatchMode { + Manual = "Manual", + AutomaticByOS = "AutomaticByOS", + AutomaticByPlatform = "AutomaticByPlatform" } /** - * Defines values for HyperVGenerationTypes. \ - * {@link KnownHyperVGenerationTypes} can be used interchangeably with HyperVGenerationTypes, - * this enum contains the known values that the service supports. + * Defines values for WindowsVMGuestPatchMode. \ + * {@link KnownWindowsVMGuestPatchMode} can be used interchangeably with WindowsVMGuestPatchMode, + * this enum contains the known values that the service supports. * ### Known values supported by the service - * **V1** \ - * **V2** + * **Manual** \ + * **AutomaticByOS** \ + * **AutomaticByPlatform** */ -export type HyperVGenerationTypes = string; +export type WindowsVMGuestPatchMode = string; -/** Known values of {@link VmDiskTypes} that the service accepts. */ -export enum KnownVmDiskTypes { - None = "None", - Unmanaged = "Unmanaged" +/** Known values of {@link WindowsPatchAssessmentMode} that the service accepts. */ +export enum KnownWindowsPatchAssessmentMode { + ImageDefault = "ImageDefault", + AutomaticByPlatform = "AutomaticByPlatform" } /** - * Defines values for VmDiskTypes. \ - * {@link KnownVmDiskTypes} can be used interchangeably with VmDiskTypes, + * Defines values for WindowsPatchAssessmentMode. \ + * {@link KnownWindowsPatchAssessmentMode} can be used interchangeably with WindowsPatchAssessmentMode, * this enum contains the known values that the service supports. * ### Known values supported by the service - * **None** \ - * **Unmanaged** + * **ImageDefault** \ + * **AutomaticByPlatform** */ -export type VmDiskTypes = string; +export type WindowsPatchAssessmentMode = string; -/** Known values of {@link ArchitectureTypes} that the service accepts. */ -export enum KnownArchitectureTypes { - X64 = "x64", - Arm64 = "Arm64" +/** Known values of {@link LinuxVMGuestPatchMode} that the service accepts. */ +export enum KnownLinuxVMGuestPatchMode { + ImageDefault = "ImageDefault", + AutomaticByPlatform = "AutomaticByPlatform" } /** - * Defines values for ArchitectureTypes. \ - * {@link KnownArchitectureTypes} can be used interchangeably with ArchitectureTypes, + * Defines values for LinuxVMGuestPatchMode. \ + * {@link KnownLinuxVMGuestPatchMode} can be used interchangeably with LinuxVMGuestPatchMode, * this enum contains the known values that the service supports. * ### Known values supported by the service - * **x64** \ - * **Arm64** + * **ImageDefault** \ + * **AutomaticByPlatform** */ -export type ArchitectureTypes = string; +export type LinuxVMGuestPatchMode = string; -/** Known values of {@link ExtendedLocationTypes} that the service accepts. */ -export enum KnownExtendedLocationTypes { - EdgeZone = "EdgeZone" +/** Known values of {@link LinuxPatchAssessmentMode} that the service accepts. */ +export enum KnownLinuxPatchAssessmentMode { + ImageDefault = "ImageDefault", + AutomaticByPlatform = "AutomaticByPlatform" } /** - * Defines values for ExtendedLocationTypes. \ - * {@link KnownExtendedLocationTypes} can be used interchangeably with ExtendedLocationTypes, + * Defines values for LinuxPatchAssessmentMode. \ + * {@link KnownLinuxPatchAssessmentMode} can be used interchangeably with LinuxPatchAssessmentMode, * this enum contains the known values that the service supports. * ### Known values supported by the service - * **EdgeZone** + * **ImageDefault** \ + * **AutomaticByPlatform** */ -export type ExtendedLocationTypes = string; +export type LinuxPatchAssessmentMode = string; -/** Known values of {@link VirtualMachineSizeTypes} that the service accepts. */ -export enum KnownVirtualMachineSizeTypes { - BasicA0 = "Basic_A0", - BasicA1 = "Basic_A1", - BasicA2 = "Basic_A2", - BasicA3 = "Basic_A3", - BasicA4 = "Basic_A4", - StandardA0 = "Standard_A0", - StandardA1 = "Standard_A1", - StandardA2 = "Standard_A2", - StandardA3 = "Standard_A3", - StandardA4 = "Standard_A4", - StandardA5 = "Standard_A5", - StandardA6 = "Standard_A6", - StandardA7 = "Standard_A7", - StandardA8 = "Standard_A8", - StandardA9 = "Standard_A9", - StandardA10 = "Standard_A10", - StandardA11 = "Standard_A11", - StandardA1V2 = "Standard_A1_v2", - StandardA2V2 = "Standard_A2_v2", - StandardA4V2 = "Standard_A4_v2", - StandardA8V2 = "Standard_A8_v2", - StandardA2MV2 = "Standard_A2m_v2", - StandardA4MV2 = "Standard_A4m_v2", - StandardA8MV2 = "Standard_A8m_v2", - StandardB1S = "Standard_B1s", - StandardB1Ms = "Standard_B1ms", - StandardB2S = "Standard_B2s", - StandardB2Ms = "Standard_B2ms", - StandardB4Ms = "Standard_B4ms", - StandardB8Ms = "Standard_B8ms", - StandardD1 = "Standard_D1", - StandardD2 = "Standard_D2", - StandardD3 = "Standard_D3", - StandardD4 = "Standard_D4", - StandardD11 = "Standard_D11", - StandardD12 = "Standard_D12", - StandardD13 = "Standard_D13", - StandardD14 = "Standard_D14", - StandardD1V2 = "Standard_D1_v2", - StandardD2V2 = "Standard_D2_v2", - StandardD3V2 = "Standard_D3_v2", - StandardD4V2 = "Standard_D4_v2", - StandardD5V2 = "Standard_D5_v2", - StandardD2V3 = "Standard_D2_v3", - StandardD4V3 = "Standard_D4_v3", - StandardD8V3 = "Standard_D8_v3", - StandardD16V3 = "Standard_D16_v3", - StandardD32V3 = "Standard_D32_v3", - StandardD64V3 = "Standard_D64_v3", - StandardD2SV3 = "Standard_D2s_v3", - StandardD4SV3 = "Standard_D4s_v3", - StandardD8SV3 = "Standard_D8s_v3", - StandardD16SV3 = "Standard_D16s_v3", - StandardD32SV3 = "Standard_D32s_v3", - StandardD64SV3 = "Standard_D64s_v3", - StandardD11V2 = "Standard_D11_v2", - StandardD12V2 = "Standard_D12_v2", - StandardD13V2 = "Standard_D13_v2", - StandardD14V2 = "Standard_D14_v2", - StandardD15V2 = "Standard_D15_v2", - StandardDS1 = "Standard_DS1", - StandardDS2 = "Standard_DS2", - StandardDS3 = "Standard_DS3", - StandardDS4 = "Standard_DS4", - StandardDS11 = "Standard_DS11", - StandardDS12 = "Standard_DS12", - StandardDS13 = "Standard_DS13", - StandardDS14 = "Standard_DS14", - StandardDS1V2 = "Standard_DS1_v2", - StandardDS2V2 = "Standard_DS2_v2", - StandardDS3V2 = "Standard_DS3_v2", - StandardDS4V2 = "Standard_DS4_v2", - StandardDS5V2 = "Standard_DS5_v2", - StandardDS11V2 = "Standard_DS11_v2", - StandardDS12V2 = "Standard_DS12_v2", - StandardDS13V2 = "Standard_DS13_v2", - StandardDS14V2 = "Standard_DS14_v2", - StandardDS15V2 = "Standard_DS15_v2", - StandardDS134V2 = "Standard_DS13-4_v2", - StandardDS132V2 = "Standard_DS13-2_v2", - StandardDS148V2 = "Standard_DS14-8_v2", - StandardDS144V2 = "Standard_DS14-4_v2", - StandardE2V3 = "Standard_E2_v3", - StandardE4V3 = "Standard_E4_v3", - StandardE8V3 = "Standard_E8_v3", - StandardE16V3 = "Standard_E16_v3", - StandardE32V3 = "Standard_E32_v3", - StandardE64V3 = "Standard_E64_v3", - StandardE2SV3 = "Standard_E2s_v3", - StandardE4SV3 = "Standard_E4s_v3", - StandardE8SV3 = "Standard_E8s_v3", - StandardE16SV3 = "Standard_E16s_v3", - StandardE32SV3 = "Standard_E32s_v3", - StandardE64SV3 = "Standard_E64s_v3", - StandardE3216V3 = "Standard_E32-16_v3", - StandardE328SV3 = "Standard_E32-8s_v3", - StandardE6432SV3 = "Standard_E64-32s_v3", - StandardE6416SV3 = "Standard_E64-16s_v3", - StandardF1 = "Standard_F1", - StandardF2 = "Standard_F2", - StandardF4 = "Standard_F4", - StandardF8 = "Standard_F8", - StandardF16 = "Standard_F16", - StandardF1S = "Standard_F1s", - StandardF2S = "Standard_F2s", - StandardF4S = "Standard_F4s", - StandardF8S = "Standard_F8s", - StandardF16S = "Standard_F16s", - StandardF2SV2 = "Standard_F2s_v2", - StandardF4SV2 = "Standard_F4s_v2", - StandardF8SV2 = "Standard_F8s_v2", - StandardF16SV2 = "Standard_F16s_v2", - StandardF32SV2 = "Standard_F32s_v2", - StandardF64SV2 = "Standard_F64s_v2", - StandardF72SV2 = "Standard_F72s_v2", - StandardG1 = "Standard_G1", - StandardG2 = "Standard_G2", - StandardG3 = "Standard_G3", - StandardG4 = "Standard_G4", - StandardG5 = "Standard_G5", - StandardGS1 = "Standard_GS1", - StandardGS2 = "Standard_GS2", - StandardGS3 = "Standard_GS3", - StandardGS4 = "Standard_GS4", - StandardGS5 = "Standard_GS5", - StandardGS48 = "Standard_GS4-8", - StandardGS44 = "Standard_GS4-4", - StandardGS516 = "Standard_GS5-16", - StandardGS58 = "Standard_GS5-8", - StandardH8 = "Standard_H8", - StandardH16 = "Standard_H16", - StandardH8M = "Standard_H8m", - StandardH16M = "Standard_H16m", - StandardH16R = "Standard_H16r", - StandardH16Mr = "Standard_H16mr", - StandardL4S = "Standard_L4s", - StandardL8S = "Standard_L8s", - StandardL16S = "Standard_L16s", - StandardL32S = "Standard_L32s", - StandardM64S = "Standard_M64s", - StandardM64Ms = "Standard_M64ms", - StandardM128S = "Standard_M128s", - StandardM128Ms = "Standard_M128ms", - StandardM6432Ms = "Standard_M64-32ms", - StandardM6416Ms = "Standard_M64-16ms", - StandardM12864Ms = "Standard_M128-64ms", - StandardM12832Ms = "Standard_M128-32ms", - StandardNC6 = "Standard_NC6", - StandardNC12 = "Standard_NC12", - StandardNC24 = "Standard_NC24", - StandardNC24R = "Standard_NC24r", - StandardNC6SV2 = "Standard_NC6s_v2", - StandardNC12SV2 = "Standard_NC12s_v2", - StandardNC24SV2 = "Standard_NC24s_v2", - StandardNC24RsV2 = "Standard_NC24rs_v2", - StandardNC6SV3 = "Standard_NC6s_v3", - StandardNC12SV3 = "Standard_NC12s_v3", - StandardNC24SV3 = "Standard_NC24s_v3", - StandardNC24RsV3 = "Standard_NC24rs_v3", - StandardND6S = "Standard_ND6s", - StandardND12S = "Standard_ND12s", - StandardND24S = "Standard_ND24s", - StandardND24Rs = "Standard_ND24rs", - StandardNV6 = "Standard_NV6", - StandardNV12 = "Standard_NV12", - StandardNV24 = "Standard_NV24" +/** Known values of {@link DiskCreateOptionTypes} that the service accepts. */ +export enum KnownDiskCreateOptionTypes { + FromImage = "FromImage", + Empty = "Empty", + Attach = "Attach" } /** - * Defines values for VirtualMachineSizeTypes. \ - * {@link KnownVirtualMachineSizeTypes} can be used interchangeably with VirtualMachineSizeTypes, + * Defines values for DiskCreateOptionTypes. \ + * {@link KnownDiskCreateOptionTypes} can be used interchangeably with DiskCreateOptionTypes, * this enum contains the known values that the service supports. * ### Known values supported by the service - * **Basic_A0** \ - * **Basic_A1** \ - * **Basic_A2** \ - * **Basic_A3** \ - * **Basic_A4** \ - * **Standard_A0** \ - * **Standard_A1** \ - * **Standard_A2** \ - * **Standard_A3** \ - * **Standard_A4** \ - * **Standard_A5** \ - * **Standard_A6** \ - * **Standard_A7** \ - * **Standard_A8** \ - * **Standard_A9** \ - * **Standard_A10** \ - * **Standard_A11** \ - * **Standard_A1_v2** \ - * **Standard_A2_v2** \ - * **Standard_A4_v2** \ - * **Standard_A8_v2** \ - * **Standard_A2m_v2** \ - * **Standard_A4m_v2** \ - * **Standard_A8m_v2** \ - * **Standard_B1s** \ - * **Standard_B1ms** \ - * **Standard_B2s** \ - * **Standard_B2ms** \ - * **Standard_B4ms** \ - * **Standard_B8ms** \ - * **Standard_D1** \ - * **Standard_D2** \ - * **Standard_D3** \ - * **Standard_D4** \ - * **Standard_D11** \ - * **Standard_D12** \ - * **Standard_D13** \ - * **Standard_D14** \ - * **Standard_D1_v2** \ - * **Standard_D2_v2** \ - * **Standard_D3_v2** \ - * **Standard_D4_v2** \ - * **Standard_D5_v2** \ - * **Standard_D2_v3** \ - * **Standard_D4_v3** \ - * **Standard_D8_v3** \ - * **Standard_D16_v3** \ - * **Standard_D32_v3** \ - * **Standard_D64_v3** \ - * **Standard_D2s_v3** \ - * **Standard_D4s_v3** \ - * **Standard_D8s_v3** \ - * **Standard_D16s_v3** \ - * **Standard_D32s_v3** \ - * **Standard_D64s_v3** \ - * **Standard_D11_v2** \ - * **Standard_D12_v2** \ - * **Standard_D13_v2** \ - * **Standard_D14_v2** \ - * **Standard_D15_v2** \ - * **Standard_DS1** \ - * **Standard_DS2** \ - * **Standard_DS3** \ - * **Standard_DS4** \ - * **Standard_DS11** \ - * **Standard_DS12** \ - * **Standard_DS13** \ - * **Standard_DS14** \ - * **Standard_DS1_v2** \ - * **Standard_DS2_v2** \ - * **Standard_DS3_v2** \ - * **Standard_DS4_v2** \ - * **Standard_DS5_v2** \ - * **Standard_DS11_v2** \ - * **Standard_DS12_v2** \ - * **Standard_DS13_v2** \ - * **Standard_DS14_v2** \ - * **Standard_DS15_v2** \ - * **Standard_DS13-4_v2** \ - * **Standard_DS13-2_v2** \ - * **Standard_DS14-8_v2** \ - * **Standard_DS14-4_v2** \ - * **Standard_E2_v3** \ - * **Standard_E4_v3** \ - * **Standard_E8_v3** \ - * **Standard_E16_v3** \ - * **Standard_E32_v3** \ - * **Standard_E64_v3** \ - * **Standard_E2s_v3** \ - * **Standard_E4s_v3** \ - * **Standard_E8s_v3** \ - * **Standard_E16s_v3** \ - * **Standard_E32s_v3** \ - * **Standard_E64s_v3** \ - * **Standard_E32-16_v3** \ - * **Standard_E32-8s_v3** \ - * **Standard_E64-32s_v3** \ - * **Standard_E64-16s_v3** \ - * **Standard_F1** \ - * **Standard_F2** \ - * **Standard_F4** \ - * **Standard_F8** \ - * **Standard_F16** \ - * **Standard_F1s** \ - * **Standard_F2s** \ - * **Standard_F4s** \ - * **Standard_F8s** \ - * **Standard_F16s** \ - * **Standard_F2s_v2** \ - * **Standard_F4s_v2** \ - * **Standard_F8s_v2** \ - * **Standard_F16s_v2** \ - * **Standard_F32s_v2** \ - * **Standard_F64s_v2** \ - * **Standard_F72s_v2** \ - * **Standard_G1** \ - * **Standard_G2** \ - * **Standard_G3** \ - * **Standard_G4** \ - * **Standard_G5** \ - * **Standard_GS1** \ - * **Standard_GS2** \ - * **Standard_GS3** \ - * **Standard_GS4** \ - * **Standard_GS5** \ - * **Standard_GS4-8** \ - * **Standard_GS4-4** \ - * **Standard_GS5-16** \ - * **Standard_GS5-8** \ - * **Standard_H8** \ - * **Standard_H16** \ - * **Standard_H8m** \ - * **Standard_H16m** \ - * **Standard_H16r** \ - * **Standard_H16mr** \ - * **Standard_L4s** \ - * **Standard_L8s** \ - * **Standard_L16s** \ - * **Standard_L32s** \ - * **Standard_M64s** \ - * **Standard_M64ms** \ - * **Standard_M128s** \ - * **Standard_M128ms** \ - * **Standard_M64-32ms** \ - * **Standard_M64-16ms** \ - * **Standard_M128-64ms** \ - * **Standard_M128-32ms** \ - * **Standard_NC6** \ - * **Standard_NC12** \ - * **Standard_NC24** \ - * **Standard_NC24r** \ - * **Standard_NC6s_v2** \ - * **Standard_NC12s_v2** \ - * **Standard_NC24s_v2** \ - * **Standard_NC24rs_v2** \ - * **Standard_NC6s_v3** \ - * **Standard_NC12s_v3** \ - * **Standard_NC24s_v3** \ - * **Standard_NC24rs_v3** \ - * **Standard_ND6s** \ - * **Standard_ND12s** \ - * **Standard_ND24s** \ - * **Standard_ND24rs** \ - * **Standard_NV6** \ - * **Standard_NV12** \ - * **Standard_NV24** + * **FromImage** \ + * **Empty** \ + * **Attach** */ -export type VirtualMachineSizeTypes = string; +export type DiskCreateOptionTypes = string; /** Known values of {@link DiffDiskOptions} that the service accepts. */ export enum KnownDiffDiskOptions { @@ -6477,24 +6165,6 @@ export enum KnownDiffDiskPlacement { */ export type DiffDiskPlacement = string; -/** Known values of {@link DiskCreateOptionTypes} that the service accepts. */ -export enum KnownDiskCreateOptionTypes { - FromImage = "FromImage", - Empty = "Empty", - Attach = "Attach" -} - -/** - * Defines values for DiskCreateOptionTypes. \ - * {@link KnownDiskCreateOptionTypes} can be used interchangeably with DiskCreateOptionTypes, - * this enum contains the known values that the service supports. - * ### Known values supported by the service - * **FromImage** \ - * **Empty** \ - * **Attach** - */ -export type DiskCreateOptionTypes = string; - /** Known values of {@link StorageAccountTypes} that the service accepts. */ export enum KnownStorageAccountTypes { StandardLRS = "Standard_LRS", @@ -6535,205 +6205,93 @@ export enum KnownSecurityEncryptionTypes { */ export type SecurityEncryptionTypes = string; -/** Known values of {@link DiskDeleteOptionTypes} that the service accepts. */ -export enum KnownDiskDeleteOptionTypes { +/** Known values of {@link IPVersion} that the service accepts. */ +export enum KnownIPVersion { + IPv4 = "IPv4", + IPv6 = "IPv6" +} + +/** + * Defines values for IPVersion. \ + * {@link KnownIPVersion} can be used interchangeably with IPVersion, + * this enum contains the known values that the service supports. + * ### Known values supported by the service + * **IPv4** \ + * **IPv6** + */ +export type IPVersion = string; + +/** Known values of {@link DeleteOptions} that the service accepts. */ +export enum KnownDeleteOptions { Delete = "Delete", Detach = "Detach" } /** - * Defines values for DiskDeleteOptionTypes. \ - * {@link KnownDiskDeleteOptionTypes} can be used interchangeably with DiskDeleteOptionTypes, + * Defines values for DeleteOptions. \ + * {@link KnownDeleteOptions} can be used interchangeably with DeleteOptions, * this enum contains the known values that the service supports. * ### Known values supported by the service * **Delete** \ * **Detach** */ -export type DiskDeleteOptionTypes = string; +export type DeleteOptions = string; -/** Known values of {@link DiskDetachOptionTypes} that the service accepts. */ -export enum KnownDiskDetachOptionTypes { - ForceDetach = "ForceDetach" +/** Known values of {@link PublicIPAddressSkuName} that the service accepts. */ +export enum KnownPublicIPAddressSkuName { + Basic = "Basic", + Standard = "Standard" } /** - * Defines values for DiskDetachOptionTypes. \ - * {@link KnownDiskDetachOptionTypes} can be used interchangeably with DiskDetachOptionTypes, + * Defines values for PublicIPAddressSkuName. \ + * {@link KnownPublicIPAddressSkuName} can be used interchangeably with PublicIPAddressSkuName, * this enum contains the known values that the service supports. * ### Known values supported by the service - * **ForceDetach** + * **Basic** \ + * **Standard** */ -export type DiskDetachOptionTypes = string; +export type PublicIPAddressSkuName = string; -/** Known values of {@link WindowsVMGuestPatchMode} that the service accepts. */ -export enum KnownWindowsVMGuestPatchMode { - Manual = "Manual", - AutomaticByOS = "AutomaticByOS", - AutomaticByPlatform = "AutomaticByPlatform" +/** Known values of {@link PublicIPAddressSkuTier} that the service accepts. */ +export enum KnownPublicIPAddressSkuTier { + Regional = "Regional", + Global = "Global" } /** - * Defines values for WindowsVMGuestPatchMode. \ - * {@link KnownWindowsVMGuestPatchMode} can be used interchangeably with WindowsVMGuestPatchMode, + * Defines values for PublicIPAddressSkuTier. \ + * {@link KnownPublicIPAddressSkuTier} can be used interchangeably with PublicIPAddressSkuTier, * this enum contains the known values that the service supports. * ### Known values supported by the service - * **Manual** \ - * **AutomaticByOS** \ - * **AutomaticByPlatform** + * **Regional** \ + * **Global** */ -export type WindowsVMGuestPatchMode = string; +export type PublicIPAddressSkuTier = string; -/** Known values of {@link WindowsPatchAssessmentMode} that the service accepts. */ -export enum KnownWindowsPatchAssessmentMode { - ImageDefault = "ImageDefault", - AutomaticByPlatform = "AutomaticByPlatform" +/** Known values of {@link NetworkApiVersion} that the service accepts. */ +export enum KnownNetworkApiVersion { + TwoThousandTwenty1101 = "2020-11-01" } /** - * Defines values for WindowsPatchAssessmentMode. \ - * {@link KnownWindowsPatchAssessmentMode} can be used interchangeably with WindowsPatchAssessmentMode, + * Defines values for NetworkApiVersion. \ + * {@link KnownNetworkApiVersion} can be used interchangeably with NetworkApiVersion, * this enum contains the known values that the service supports. * ### Known values supported by the service - * **ImageDefault** \ - * **AutomaticByPlatform** + * **2020-11-01** */ -export type WindowsPatchAssessmentMode = string; +export type NetworkApiVersion = string; -/** Known values of {@link LinuxVMGuestPatchMode} that the service accepts. */ -export enum KnownLinuxVMGuestPatchMode { - ImageDefault = "ImageDefault", - AutomaticByPlatform = "AutomaticByPlatform" +/** Known values of {@link SecurityTypes} that the service accepts. */ +export enum KnownSecurityTypes { + TrustedLaunch = "TrustedLaunch", + ConfidentialVM = "ConfidentialVM" } /** - * Defines values for LinuxVMGuestPatchMode. \ - * {@link KnownLinuxVMGuestPatchMode} can be used interchangeably with LinuxVMGuestPatchMode, - * this enum contains the known values that the service supports. - * ### Known values supported by the service - * **ImageDefault** \ - * **AutomaticByPlatform** - */ -export type LinuxVMGuestPatchMode = string; - -/** Known values of {@link LinuxPatchAssessmentMode} that the service accepts. */ -export enum KnownLinuxPatchAssessmentMode { - ImageDefault = "ImageDefault", - AutomaticByPlatform = "AutomaticByPlatform" -} - -/** - * Defines values for LinuxPatchAssessmentMode. \ - * {@link KnownLinuxPatchAssessmentMode} can be used interchangeably with LinuxPatchAssessmentMode, - * this enum contains the known values that the service supports. - * ### Known values supported by the service - * **ImageDefault** \ - * **AutomaticByPlatform** - */ -export type LinuxPatchAssessmentMode = string; - -/** Known values of {@link DeleteOptions} that the service accepts. */ -export enum KnownDeleteOptions { - Delete = "Delete", - Detach = "Detach" -} - -/** - * Defines values for DeleteOptions. \ - * {@link KnownDeleteOptions} can be used interchangeably with DeleteOptions, - * this enum contains the known values that the service supports. - * ### Known values supported by the service - * **Delete** \ - * **Detach** - */ -export type DeleteOptions = string; - -/** Known values of {@link NetworkApiVersion} that the service accepts. */ -export enum KnownNetworkApiVersion { - TwoThousandTwenty1101 = "2020-11-01" -} - -/** - * Defines values for NetworkApiVersion. \ - * {@link KnownNetworkApiVersion} can be used interchangeably with NetworkApiVersion, - * this enum contains the known values that the service supports. - * ### Known values supported by the service - * **2020-11-01** - */ -export type NetworkApiVersion = string; - -/** Known values of {@link IPVersions} that the service accepts. */ -export enum KnownIPVersions { - IPv4 = "IPv4", - IPv6 = "IPv6" -} - -/** - * Defines values for IPVersions. \ - * {@link KnownIPVersions} can be used interchangeably with IPVersions, - * this enum contains the known values that the service supports. - * ### Known values supported by the service - * **IPv4** \ - * **IPv6** - */ -export type IPVersions = string; - -/** Known values of {@link PublicIPAllocationMethod} that the service accepts. */ -export enum KnownPublicIPAllocationMethod { - Dynamic = "Dynamic", - Static = "Static" -} - -/** - * Defines values for PublicIPAllocationMethod. \ - * {@link KnownPublicIPAllocationMethod} can be used interchangeably with PublicIPAllocationMethod, - * this enum contains the known values that the service supports. - * ### Known values supported by the service - * **Dynamic** \ - * **Static** - */ -export type PublicIPAllocationMethod = string; - -/** Known values of {@link PublicIPAddressSkuName} that the service accepts. */ -export enum KnownPublicIPAddressSkuName { - Basic = "Basic", - Standard = "Standard" -} - -/** - * Defines values for PublicIPAddressSkuName. \ - * {@link KnownPublicIPAddressSkuName} can be used interchangeably with PublicIPAddressSkuName, - * this enum contains the known values that the service supports. - * ### Known values supported by the service - * **Basic** \ - * **Standard** - */ -export type PublicIPAddressSkuName = string; - -/** Known values of {@link PublicIPAddressSkuTier} that the service accepts. */ -export enum KnownPublicIPAddressSkuTier { - Regional = "Regional", - Global = "Global" -} - -/** - * Defines values for PublicIPAddressSkuTier. \ - * {@link KnownPublicIPAddressSkuTier} can be used interchangeably with PublicIPAddressSkuTier, - * this enum contains the known values that the service supports. - * ### Known values supported by the service - * **Regional** \ - * **Global** - */ -export type PublicIPAddressSkuTier = string; - -/** Known values of {@link SecurityTypes} that the service accepts. */ -export enum KnownSecurityTypes { - TrustedLaunch = "TrustedLaunch", - ConfidentialVM = "ConfidentialVM" -} - -/** - * Defines values for SecurityTypes. \ - * {@link KnownSecurityTypes} can be used interchangeably with SecurityTypes, + * Defines values for SecurityTypes. \ + * {@link KnownSecurityTypes} can be used interchangeably with SecurityTypes, * this enum contains the known values that the service supports. * ### Known values supported by the service * **TrustedLaunch** \ @@ -6775,217 +6333,561 @@ export enum KnownVirtualMachineEvictionPolicyTypes { */ export type VirtualMachineEvictionPolicyTypes = string; -/** Known values of {@link HyperVGenerationType} that the service accepts. */ -export enum KnownHyperVGenerationType { - V1 = "V1", - V2 = "V2" +/** Known values of {@link VirtualMachineScaleSetScaleInRules} that the service accepts. */ +export enum KnownVirtualMachineScaleSetScaleInRules { + Default = "Default", + OldestVM = "OldestVM", + NewestVM = "NewestVM" } /** - * Defines values for HyperVGenerationType. \ - * {@link KnownHyperVGenerationType} can be used interchangeably with HyperVGenerationType, + * Defines values for VirtualMachineScaleSetScaleInRules. \ + * {@link KnownVirtualMachineScaleSetScaleInRules} can be used interchangeably with VirtualMachineScaleSetScaleInRules, * this enum contains the known values that the service supports. * ### Known values supported by the service - * **V1** \ - * **V2** + * **Default** \ + * **OldestVM** \ + * **NewestVM** */ -export type HyperVGenerationType = string; +export type VirtualMachineScaleSetScaleInRules = string; -/** Known values of {@link PatchOperationStatus} that the service accepts. */ -export enum KnownPatchOperationStatus { - Unknown = "Unknown", - InProgress = "InProgress", - Failed = "Failed", - Succeeded = "Succeeded", - CompletedWithWarnings = "CompletedWithWarnings" +/** Known values of {@link OrchestrationMode} that the service accepts. */ +export enum KnownOrchestrationMode { + Uniform = "Uniform", + Flexible = "Flexible" } /** - * Defines values for PatchOperationStatus. \ - * {@link KnownPatchOperationStatus} can be used interchangeably with PatchOperationStatus, + * Defines values for OrchestrationMode. \ + * {@link KnownOrchestrationMode} can be used interchangeably with OrchestrationMode, * this enum contains the known values that the service supports. * ### Known values supported by the service - * **Unknown** \ - * **InProgress** \ - * **Failed** \ - * **Succeeded** \ - * **CompletedWithWarnings** + * **Uniform** \ + * **Flexible** */ -export type PatchOperationStatus = string; +export type OrchestrationMode = string; -/** Known values of {@link RepairAction} that the service accepts. */ -export enum KnownRepairAction { - Replace = "Replace", - Restart = "Restart", - Reimage = "Reimage" +/** Known values of {@link ExtendedLocationTypes} that the service accepts. */ +export enum KnownExtendedLocationTypes { + EdgeZone = "EdgeZone" } /** - * Defines values for RepairAction. \ - * {@link KnownRepairAction} can be used interchangeably with RepairAction, + * Defines values for ExtendedLocationTypes. \ + * {@link KnownExtendedLocationTypes} can be used interchangeably with ExtendedLocationTypes, * this enum contains the known values that the service supports. * ### Known values supported by the service - * **Replace** \ - * **Restart** \ - * **Reimage** + * **EdgeZone** */ -export type RepairAction = string; +export type ExtendedLocationTypes = string; -/** Known values of {@link IPVersion} that the service accepts. */ -export enum KnownIPVersion { - IPv4 = "IPv4", - IPv6 = "IPv6" +/** Known values of {@link ExpandTypesForGetVMScaleSets} that the service accepts. */ +export enum KnownExpandTypesForGetVMScaleSets { + UserData = "userData" } /** - * Defines values for IPVersion. \ - * {@link KnownIPVersion} can be used interchangeably with IPVersion, + * Defines values for ExpandTypesForGetVMScaleSets. \ + * {@link KnownExpandTypesForGetVMScaleSets} can be used interchangeably with ExpandTypesForGetVMScaleSets, * this enum contains the known values that the service supports. * ### Known values supported by the service - * **IPv4** \ - * **IPv6** + * **userData** */ -export type IPVersion = string; +export type ExpandTypesForGetVMScaleSets = string; -/** Known values of {@link VirtualMachineScaleSetScaleInRules} that the service accepts. */ -export enum KnownVirtualMachineScaleSetScaleInRules { - Default = "Default", - OldestVM = "OldestVM", - NewestVM = "NewestVM" +/** Known values of {@link OrchestrationServiceNames} that the service accepts. */ +export enum KnownOrchestrationServiceNames { + AutomaticRepairs = "AutomaticRepairs", + DummyOrchestrationServiceName = "DummyOrchestrationServiceName" } /** - * Defines values for VirtualMachineScaleSetScaleInRules. \ - * {@link KnownVirtualMachineScaleSetScaleInRules} can be used interchangeably with VirtualMachineScaleSetScaleInRules, + * Defines values for OrchestrationServiceNames. \ + * {@link KnownOrchestrationServiceNames} can be used interchangeably with OrchestrationServiceNames, * this enum contains the known values that the service supports. * ### Known values supported by the service - * **Default** \ - * **OldestVM** \ - * **NewestVM** + * **AutomaticRepairs** \ + * **DummyOrchestrationServiceName** */ -export type VirtualMachineScaleSetScaleInRules = string; +export type OrchestrationServiceNames = string; -/** Known values of {@link OrchestrationMode} that the service accepts. */ -export enum KnownOrchestrationMode { - Uniform = "Uniform", - Flexible = "Flexible" +/** Known values of {@link OrchestrationServiceState} that the service accepts. */ +export enum KnownOrchestrationServiceState { + NotRunning = "NotRunning", + Running = "Running", + Suspended = "Suspended" } /** - * Defines values for OrchestrationMode. \ - * {@link KnownOrchestrationMode} can be used interchangeably with OrchestrationMode, + * Defines values for OrchestrationServiceState. \ + * {@link KnownOrchestrationServiceState} can be used interchangeably with OrchestrationServiceState, * this enum contains the known values that the service supports. * ### Known values supported by the service - * **Uniform** \ - * **Flexible** + * **NotRunning** \ + * **Running** \ + * **Suspended** */ -export type OrchestrationMode = string; +export type OrchestrationServiceState = string; -/** Known values of {@link OperatingSystemType} that the service accepts. */ -export enum KnownOperatingSystemType { - Windows = "Windows", - Linux = "Linux" +/** Known values of {@link OrchestrationServiceStateAction} that the service accepts. */ +export enum KnownOrchestrationServiceStateAction { + Resume = "Resume", + Suspend = "Suspend" } /** - * Defines values for OperatingSystemType. \ - * {@link KnownOperatingSystemType} can be used interchangeably with OperatingSystemType, + * Defines values for OrchestrationServiceStateAction. \ + * {@link KnownOrchestrationServiceStateAction} can be used interchangeably with OrchestrationServiceStateAction, * this enum contains the known values that the service supports. * ### Known values supported by the service - * **Windows** \ - * **Linux** - */ -export type OperatingSystemType = string; + * **Resume** \ + * **Suspend** + */ +export type OrchestrationServiceStateAction = string; + +/** Known values of {@link VirtualMachineSizeTypes} that the service accepts. */ +export enum KnownVirtualMachineSizeTypes { + BasicA0 = "Basic_A0", + BasicA1 = "Basic_A1", + BasicA2 = "Basic_A2", + BasicA3 = "Basic_A3", + BasicA4 = "Basic_A4", + StandardA0 = "Standard_A0", + StandardA1 = "Standard_A1", + StandardA2 = "Standard_A2", + StandardA3 = "Standard_A3", + StandardA4 = "Standard_A4", + StandardA5 = "Standard_A5", + StandardA6 = "Standard_A6", + StandardA7 = "Standard_A7", + StandardA8 = "Standard_A8", + StandardA9 = "Standard_A9", + StandardA10 = "Standard_A10", + StandardA11 = "Standard_A11", + StandardA1V2 = "Standard_A1_v2", + StandardA2V2 = "Standard_A2_v2", + StandardA4V2 = "Standard_A4_v2", + StandardA8V2 = "Standard_A8_v2", + StandardA2MV2 = "Standard_A2m_v2", + StandardA4MV2 = "Standard_A4m_v2", + StandardA8MV2 = "Standard_A8m_v2", + StandardB1S = "Standard_B1s", + StandardB1Ms = "Standard_B1ms", + StandardB2S = "Standard_B2s", + StandardB2Ms = "Standard_B2ms", + StandardB4Ms = "Standard_B4ms", + StandardB8Ms = "Standard_B8ms", + StandardD1 = "Standard_D1", + StandardD2 = "Standard_D2", + StandardD3 = "Standard_D3", + StandardD4 = "Standard_D4", + StandardD11 = "Standard_D11", + StandardD12 = "Standard_D12", + StandardD13 = "Standard_D13", + StandardD14 = "Standard_D14", + StandardD1V2 = "Standard_D1_v2", + StandardD2V2 = "Standard_D2_v2", + StandardD3V2 = "Standard_D3_v2", + StandardD4V2 = "Standard_D4_v2", + StandardD5V2 = "Standard_D5_v2", + StandardD2V3 = "Standard_D2_v3", + StandardD4V3 = "Standard_D4_v3", + StandardD8V3 = "Standard_D8_v3", + StandardD16V3 = "Standard_D16_v3", + StandardD32V3 = "Standard_D32_v3", + StandardD64V3 = "Standard_D64_v3", + StandardD2SV3 = "Standard_D2s_v3", + StandardD4SV3 = "Standard_D4s_v3", + StandardD8SV3 = "Standard_D8s_v3", + StandardD16SV3 = "Standard_D16s_v3", + StandardD32SV3 = "Standard_D32s_v3", + StandardD64SV3 = "Standard_D64s_v3", + StandardD11V2 = "Standard_D11_v2", + StandardD12V2 = "Standard_D12_v2", + StandardD13V2 = "Standard_D13_v2", + StandardD14V2 = "Standard_D14_v2", + StandardD15V2 = "Standard_D15_v2", + StandardDS1 = "Standard_DS1", + StandardDS2 = "Standard_DS2", + StandardDS3 = "Standard_DS3", + StandardDS4 = "Standard_DS4", + StandardDS11 = "Standard_DS11", + StandardDS12 = "Standard_DS12", + StandardDS13 = "Standard_DS13", + StandardDS14 = "Standard_DS14", + StandardDS1V2 = "Standard_DS1_v2", + StandardDS2V2 = "Standard_DS2_v2", + StandardDS3V2 = "Standard_DS3_v2", + StandardDS4V2 = "Standard_DS4_v2", + StandardDS5V2 = "Standard_DS5_v2", + StandardDS11V2 = "Standard_DS11_v2", + StandardDS12V2 = "Standard_DS12_v2", + StandardDS13V2 = "Standard_DS13_v2", + StandardDS14V2 = "Standard_DS14_v2", + StandardDS15V2 = "Standard_DS15_v2", + StandardDS134V2 = "Standard_DS13-4_v2", + StandardDS132V2 = "Standard_DS13-2_v2", + StandardDS148V2 = "Standard_DS14-8_v2", + StandardDS144V2 = "Standard_DS14-4_v2", + StandardE2V3 = "Standard_E2_v3", + StandardE4V3 = "Standard_E4_v3", + StandardE8V3 = "Standard_E8_v3", + StandardE16V3 = "Standard_E16_v3", + StandardE32V3 = "Standard_E32_v3", + StandardE64V3 = "Standard_E64_v3", + StandardE2SV3 = "Standard_E2s_v3", + StandardE4SV3 = "Standard_E4s_v3", + StandardE8SV3 = "Standard_E8s_v3", + StandardE16SV3 = "Standard_E16s_v3", + StandardE32SV3 = "Standard_E32s_v3", + StandardE64SV3 = "Standard_E64s_v3", + StandardE3216V3 = "Standard_E32-16_v3", + StandardE328SV3 = "Standard_E32-8s_v3", + StandardE6432SV3 = "Standard_E64-32s_v3", + StandardE6416SV3 = "Standard_E64-16s_v3", + StandardF1 = "Standard_F1", + StandardF2 = "Standard_F2", + StandardF4 = "Standard_F4", + StandardF8 = "Standard_F8", + StandardF16 = "Standard_F16", + StandardF1S = "Standard_F1s", + StandardF2S = "Standard_F2s", + StandardF4S = "Standard_F4s", + StandardF8S = "Standard_F8s", + StandardF16S = "Standard_F16s", + StandardF2SV2 = "Standard_F2s_v2", + StandardF4SV2 = "Standard_F4s_v2", + StandardF8SV2 = "Standard_F8s_v2", + StandardF16SV2 = "Standard_F16s_v2", + StandardF32SV2 = "Standard_F32s_v2", + StandardF64SV2 = "Standard_F64s_v2", + StandardF72SV2 = "Standard_F72s_v2", + StandardG1 = "Standard_G1", + StandardG2 = "Standard_G2", + StandardG3 = "Standard_G3", + StandardG4 = "Standard_G4", + StandardG5 = "Standard_G5", + StandardGS1 = "Standard_GS1", + StandardGS2 = "Standard_GS2", + StandardGS3 = "Standard_GS3", + StandardGS4 = "Standard_GS4", + StandardGS5 = "Standard_GS5", + StandardGS48 = "Standard_GS4-8", + StandardGS44 = "Standard_GS4-4", + StandardGS516 = "Standard_GS5-16", + StandardGS58 = "Standard_GS5-8", + StandardH8 = "Standard_H8", + StandardH16 = "Standard_H16", + StandardH8M = "Standard_H8m", + StandardH16M = "Standard_H16m", + StandardH16R = "Standard_H16r", + StandardH16Mr = "Standard_H16mr", + StandardL4S = "Standard_L4s", + StandardL8S = "Standard_L8s", + StandardL16S = "Standard_L16s", + StandardL32S = "Standard_L32s", + StandardM64S = "Standard_M64s", + StandardM64Ms = "Standard_M64ms", + StandardM128S = "Standard_M128s", + StandardM128Ms = "Standard_M128ms", + StandardM6432Ms = "Standard_M64-32ms", + StandardM6416Ms = "Standard_M64-16ms", + StandardM12864Ms = "Standard_M128-64ms", + StandardM12832Ms = "Standard_M128-32ms", + StandardNC6 = "Standard_NC6", + StandardNC12 = "Standard_NC12", + StandardNC24 = "Standard_NC24", + StandardNC24R = "Standard_NC24r", + StandardNC6SV2 = "Standard_NC6s_v2", + StandardNC12SV2 = "Standard_NC12s_v2", + StandardNC24SV2 = "Standard_NC24s_v2", + StandardNC24RsV2 = "Standard_NC24rs_v2", + StandardNC6SV3 = "Standard_NC6s_v3", + StandardNC12SV3 = "Standard_NC12s_v3", + StandardNC24SV3 = "Standard_NC24s_v3", + StandardNC24RsV3 = "Standard_NC24rs_v3", + StandardND6S = "Standard_ND6s", + StandardND12S = "Standard_ND12s", + StandardND24S = "Standard_ND24s", + StandardND24Rs = "Standard_ND24rs", + StandardNV6 = "Standard_NV6", + StandardNV12 = "Standard_NV12", + StandardNV24 = "Standard_NV24" +} + +/** + * Defines values for VirtualMachineSizeTypes. \ + * {@link KnownVirtualMachineSizeTypes} can be used interchangeably with VirtualMachineSizeTypes, + * this enum contains the known values that the service supports. + * ### Known values supported by the service + * **Basic_A0** \ + * **Basic_A1** \ + * **Basic_A2** \ + * **Basic_A3** \ + * **Basic_A4** \ + * **Standard_A0** \ + * **Standard_A1** \ + * **Standard_A2** \ + * **Standard_A3** \ + * **Standard_A4** \ + * **Standard_A5** \ + * **Standard_A6** \ + * **Standard_A7** \ + * **Standard_A8** \ + * **Standard_A9** \ + * **Standard_A10** \ + * **Standard_A11** \ + * **Standard_A1_v2** \ + * **Standard_A2_v2** \ + * **Standard_A4_v2** \ + * **Standard_A8_v2** \ + * **Standard_A2m_v2** \ + * **Standard_A4m_v2** \ + * **Standard_A8m_v2** \ + * **Standard_B1s** \ + * **Standard_B1ms** \ + * **Standard_B2s** \ + * **Standard_B2ms** \ + * **Standard_B4ms** \ + * **Standard_B8ms** \ + * **Standard_D1** \ + * **Standard_D2** \ + * **Standard_D3** \ + * **Standard_D4** \ + * **Standard_D11** \ + * **Standard_D12** \ + * **Standard_D13** \ + * **Standard_D14** \ + * **Standard_D1_v2** \ + * **Standard_D2_v2** \ + * **Standard_D3_v2** \ + * **Standard_D4_v2** \ + * **Standard_D5_v2** \ + * **Standard_D2_v3** \ + * **Standard_D4_v3** \ + * **Standard_D8_v3** \ + * **Standard_D16_v3** \ + * **Standard_D32_v3** \ + * **Standard_D64_v3** \ + * **Standard_D2s_v3** \ + * **Standard_D4s_v3** \ + * **Standard_D8s_v3** \ + * **Standard_D16s_v3** \ + * **Standard_D32s_v3** \ + * **Standard_D64s_v3** \ + * **Standard_D11_v2** \ + * **Standard_D12_v2** \ + * **Standard_D13_v2** \ + * **Standard_D14_v2** \ + * **Standard_D15_v2** \ + * **Standard_DS1** \ + * **Standard_DS2** \ + * **Standard_DS3** \ + * **Standard_DS4** \ + * **Standard_DS11** \ + * **Standard_DS12** \ + * **Standard_DS13** \ + * **Standard_DS14** \ + * **Standard_DS1_v2** \ + * **Standard_DS2_v2** \ + * **Standard_DS3_v2** \ + * **Standard_DS4_v2** \ + * **Standard_DS5_v2** \ + * **Standard_DS11_v2** \ + * **Standard_DS12_v2** \ + * **Standard_DS13_v2** \ + * **Standard_DS14_v2** \ + * **Standard_DS15_v2** \ + * **Standard_DS13-4_v2** \ + * **Standard_DS13-2_v2** \ + * **Standard_DS14-8_v2** \ + * **Standard_DS14-4_v2** \ + * **Standard_E2_v3** \ + * **Standard_E4_v3** \ + * **Standard_E8_v3** \ + * **Standard_E16_v3** \ + * **Standard_E32_v3** \ + * **Standard_E64_v3** \ + * **Standard_E2s_v3** \ + * **Standard_E4s_v3** \ + * **Standard_E8s_v3** \ + * **Standard_E16s_v3** \ + * **Standard_E32s_v3** \ + * **Standard_E64s_v3** \ + * **Standard_E32-16_v3** \ + * **Standard_E32-8s_v3** \ + * **Standard_E64-32s_v3** \ + * **Standard_E64-16s_v3** \ + * **Standard_F1** \ + * **Standard_F2** \ + * **Standard_F4** \ + * **Standard_F8** \ + * **Standard_F16** \ + * **Standard_F1s** \ + * **Standard_F2s** \ + * **Standard_F4s** \ + * **Standard_F8s** \ + * **Standard_F16s** \ + * **Standard_F2s_v2** \ + * **Standard_F4s_v2** \ + * **Standard_F8s_v2** \ + * **Standard_F16s_v2** \ + * **Standard_F32s_v2** \ + * **Standard_F64s_v2** \ + * **Standard_F72s_v2** \ + * **Standard_G1** \ + * **Standard_G2** \ + * **Standard_G3** \ + * **Standard_G4** \ + * **Standard_G5** \ + * **Standard_GS1** \ + * **Standard_GS2** \ + * **Standard_GS3** \ + * **Standard_GS4** \ + * **Standard_GS5** \ + * **Standard_GS4-8** \ + * **Standard_GS4-4** \ + * **Standard_GS5-16** \ + * **Standard_GS5-8** \ + * **Standard_H8** \ + * **Standard_H16** \ + * **Standard_H8m** \ + * **Standard_H16m** \ + * **Standard_H16r** \ + * **Standard_H16mr** \ + * **Standard_L4s** \ + * **Standard_L8s** \ + * **Standard_L16s** \ + * **Standard_L32s** \ + * **Standard_M64s** \ + * **Standard_M64ms** \ + * **Standard_M128s** \ + * **Standard_M128ms** \ + * **Standard_M64-32ms** \ + * **Standard_M64-16ms** \ + * **Standard_M128-64ms** \ + * **Standard_M128-32ms** \ + * **Standard_NC6** \ + * **Standard_NC12** \ + * **Standard_NC24** \ + * **Standard_NC24r** \ + * **Standard_NC6s_v2** \ + * **Standard_NC12s_v2** \ + * **Standard_NC24s_v2** \ + * **Standard_NC24rs_v2** \ + * **Standard_NC6s_v3** \ + * **Standard_NC12s_v3** \ + * **Standard_NC24s_v3** \ + * **Standard_NC24rs_v3** \ + * **Standard_ND6s** \ + * **Standard_ND12s** \ + * **Standard_ND24s** \ + * **Standard_ND24rs** \ + * **Standard_NV6** \ + * **Standard_NV12** \ + * **Standard_NV24** + */ +export type VirtualMachineSizeTypes = string; -/** Known values of {@link ConsistencyModeTypes} that the service accepts. */ -export enum KnownConsistencyModeTypes { - CrashConsistent = "CrashConsistent", - FileSystemConsistent = "FileSystemConsistent", - ApplicationConsistent = "ApplicationConsistent" +/** Known values of {@link DiskDeleteOptionTypes} that the service accepts. */ +export enum KnownDiskDeleteOptionTypes { + Delete = "Delete", + Detach = "Detach" } /** - * Defines values for ConsistencyModeTypes. \ - * {@link KnownConsistencyModeTypes} can be used interchangeably with ConsistencyModeTypes, + * Defines values for DiskDeleteOptionTypes. \ + * {@link KnownDiskDeleteOptionTypes} can be used interchangeably with DiskDeleteOptionTypes, * this enum contains the known values that the service supports. * ### Known values supported by the service - * **CrashConsistent** \ - * **FileSystemConsistent** \ - * **ApplicationConsistent** + * **Delete** \ + * **Detach** */ -export type ConsistencyModeTypes = string; +export type DiskDeleteOptionTypes = string; -/** Known values of {@link RestorePointCollectionExpandOptions} that the service accepts. */ -export enum KnownRestorePointCollectionExpandOptions { - RestorePoints = "restorePoints" +/** Known values of {@link DiskDetachOptionTypes} that the service accepts. */ +export enum KnownDiskDetachOptionTypes { + ForceDetach = "ForceDetach" } /** - * Defines values for RestorePointCollectionExpandOptions. \ - * {@link KnownRestorePointCollectionExpandOptions} can be used interchangeably with RestorePointCollectionExpandOptions, + * Defines values for DiskDetachOptionTypes. \ + * {@link KnownDiskDetachOptionTypes} can be used interchangeably with DiskDetachOptionTypes, * this enum contains the known values that the service supports. * ### Known values supported by the service - * **restorePoints** + * **ForceDetach** */ -export type RestorePointCollectionExpandOptions = string; +export type DiskDetachOptionTypes = string; -/** Known values of {@link RestorePointExpandOptions} that the service accepts. */ -export enum KnownRestorePointExpandOptions { - InstanceView = "instanceView" +/** Known values of {@link IPVersions} that the service accepts. */ +export enum KnownIPVersions { + IPv4 = "IPv4", + IPv6 = "IPv6" } /** - * Defines values for RestorePointExpandOptions. \ - * {@link KnownRestorePointExpandOptions} can be used interchangeably with RestorePointExpandOptions, + * Defines values for IPVersions. \ + * {@link KnownIPVersions} can be used interchangeably with IPVersions, * this enum contains the known values that the service supports. * ### Known values supported by the service - * **instanceView** + * **IPv4** \ + * **IPv6** */ -export type RestorePointExpandOptions = string; +export type IPVersions = string; -/** Known values of {@link CapacityReservationGroupInstanceViewTypes} that the service accepts. */ -export enum KnownCapacityReservationGroupInstanceViewTypes { - InstanceView = "instanceView" +/** Known values of {@link PublicIPAllocationMethod} that the service accepts. */ +export enum KnownPublicIPAllocationMethod { + Dynamic = "Dynamic", + Static = "Static" } /** - * Defines values for CapacityReservationGroupInstanceViewTypes. \ - * {@link KnownCapacityReservationGroupInstanceViewTypes} can be used interchangeably with CapacityReservationGroupInstanceViewTypes, + * Defines values for PublicIPAllocationMethod. \ + * {@link KnownPublicIPAllocationMethod} can be used interchangeably with PublicIPAllocationMethod, * this enum contains the known values that the service supports. * ### Known values supported by the service - * **instanceView** + * **Dynamic** \ + * **Static** */ -export type CapacityReservationGroupInstanceViewTypes = string; +export type PublicIPAllocationMethod = string; -/** Known values of {@link ExpandTypesForGetCapacityReservationGroups} that the service accepts. */ -export enum KnownExpandTypesForGetCapacityReservationGroups { - VirtualMachineScaleSetVMsRef = "virtualMachineScaleSetVMs/$ref", - VirtualMachinesRef = "virtualMachines/$ref" +/** Known values of {@link HyperVGenerationType} that the service accepts. */ +export enum KnownHyperVGenerationType { + V1 = "V1", + V2 = "V2" } /** - * Defines values for ExpandTypesForGetCapacityReservationGroups. \ - * {@link KnownExpandTypesForGetCapacityReservationGroups} can be used interchangeably with ExpandTypesForGetCapacityReservationGroups, + * Defines values for HyperVGenerationType. \ + * {@link KnownHyperVGenerationType} can be used interchangeably with HyperVGenerationType, * this enum contains the known values that the service supports. * ### Known values supported by the service - * **virtualMachineScaleSetVMs\/$ref** \ - * **virtualMachines\/$ref** + * **V1** \ + * **V2** */ -export type ExpandTypesForGetCapacityReservationGroups = string; +export type HyperVGenerationType = string; -/** Known values of {@link CapacityReservationInstanceViewTypes} that the service accepts. */ -export enum KnownCapacityReservationInstanceViewTypes { - InstanceView = "instanceView" +/** Known values of {@link PatchOperationStatus} that the service accepts. */ +export enum KnownPatchOperationStatus { + Unknown = "Unknown", + InProgress = "InProgress", + Failed = "Failed", + Succeeded = "Succeeded", + CompletedWithWarnings = "CompletedWithWarnings" } /** - * Defines values for CapacityReservationInstanceViewTypes. \ - * {@link KnownCapacityReservationInstanceViewTypes} can be used interchangeably with CapacityReservationInstanceViewTypes, + * Defines values for PatchOperationStatus. \ + * {@link KnownPatchOperationStatus} can be used interchangeably with PatchOperationStatus, * this enum contains the known values that the service supports. * ### Known values supported by the service - * **instanceView** + * **Unknown** \ + * **InProgress** \ + * **Failed** \ + * **Succeeded** \ + * **CompletedWithWarnings** */ -export type CapacityReservationInstanceViewTypes = string; +export type PatchOperationStatus = string; /** Known values of {@link VMGuestPatchRebootBehavior} that the service accepts. */ export enum KnownVMGuestPatchRebootBehavior { @@ -7135,69 +7037,159 @@ export enum KnownPatchInstallationState { */ export type PatchInstallationState = string; -/** Known values of {@link ExpandTypesForGetVMScaleSets} that the service accepts. */ -export enum KnownExpandTypesForGetVMScaleSets { - UserData = "userData" +/** Known values of {@link HyperVGenerationTypes} that the service accepts. */ +export enum KnownHyperVGenerationTypes { + V1 = "V1", + V2 = "V2" } /** - * Defines values for ExpandTypesForGetVMScaleSets. \ - * {@link KnownExpandTypesForGetVMScaleSets} can be used interchangeably with ExpandTypesForGetVMScaleSets, + * Defines values for HyperVGenerationTypes. \ + * {@link KnownHyperVGenerationTypes} can be used interchangeably with HyperVGenerationTypes, * this enum contains the known values that the service supports. * ### Known values supported by the service - * **userData** + * **V1** \ + * **V2** */ -export type ExpandTypesForGetVMScaleSets = string; +export type HyperVGenerationTypes = string; -/** Known values of {@link OrchestrationServiceNames} that the service accepts. */ -export enum KnownOrchestrationServiceNames { - AutomaticRepairs = "AutomaticRepairs", - DummyOrchestrationServiceName = "DummyOrchestrationServiceName" +/** Known values of {@link VmDiskTypes} that the service accepts. */ +export enum KnownVmDiskTypes { + None = "None", + Unmanaged = "Unmanaged" } /** - * Defines values for OrchestrationServiceNames. \ - * {@link KnownOrchestrationServiceNames} can be used interchangeably with OrchestrationServiceNames, + * Defines values for VmDiskTypes. \ + * {@link KnownVmDiskTypes} can be used interchangeably with VmDiskTypes, * this enum contains the known values that the service supports. * ### Known values supported by the service - * **AutomaticRepairs** \ - * **DummyOrchestrationServiceName** + * **None** \ + * **Unmanaged** */ -export type OrchestrationServiceNames = string; +export type VmDiskTypes = string; -/** Known values of {@link OrchestrationServiceState} that the service accepts. */ -export enum KnownOrchestrationServiceState { - NotRunning = "NotRunning", - Running = "Running", - Suspended = "Suspended" +/** Known values of {@link ProximityPlacementGroupType} that the service accepts. */ +export enum KnownProximityPlacementGroupType { + Standard = "Standard", + Ultra = "Ultra" } /** - * Defines values for OrchestrationServiceState. \ - * {@link KnownOrchestrationServiceState} can be used interchangeably with OrchestrationServiceState, + * Defines values for ProximityPlacementGroupType. \ + * {@link KnownProximityPlacementGroupType} can be used interchangeably with ProximityPlacementGroupType, * this enum contains the known values that the service supports. * ### Known values supported by the service - * **NotRunning** \ - * **Running** \ - * **Suspended** + * **Standard** \ + * **Ultra** */ -export type OrchestrationServiceState = string; +export type ProximityPlacementGroupType = string; -/** Known values of {@link OrchestrationServiceStateAction} that the service accepts. */ -export enum KnownOrchestrationServiceStateAction { - Resume = "Resume", - Suspend = "Suspend" +/** Known values of {@link OperatingSystemType} that the service accepts. */ +export enum KnownOperatingSystemType { + Windows = "Windows", + Linux = "Linux" +} + +/** + * Defines values for OperatingSystemType. \ + * {@link KnownOperatingSystemType} can be used interchangeably with OperatingSystemType, + * this enum contains the known values that the service supports. + * ### Known values supported by the service + * **Windows** \ + * **Linux** + */ +export type OperatingSystemType = string; + +/** Known values of {@link ConsistencyModeTypes} that the service accepts. */ +export enum KnownConsistencyModeTypes { + CrashConsistent = "CrashConsistent", + FileSystemConsistent = "FileSystemConsistent", + ApplicationConsistent = "ApplicationConsistent" +} + +/** + * Defines values for ConsistencyModeTypes. \ + * {@link KnownConsistencyModeTypes} can be used interchangeably with ConsistencyModeTypes, + * this enum contains the known values that the service supports. + * ### Known values supported by the service + * **CrashConsistent** \ + * **FileSystemConsistent** \ + * **ApplicationConsistent** + */ +export type ConsistencyModeTypes = string; + +/** Known values of {@link RestorePointCollectionExpandOptions} that the service accepts. */ +export enum KnownRestorePointCollectionExpandOptions { + RestorePoints = "restorePoints" +} + +/** + * Defines values for RestorePointCollectionExpandOptions. \ + * {@link KnownRestorePointCollectionExpandOptions} can be used interchangeably with RestorePointCollectionExpandOptions, + * this enum contains the known values that the service supports. + * ### Known values supported by the service + * **restorePoints** + */ +export type RestorePointCollectionExpandOptions = string; + +/** Known values of {@link RestorePointExpandOptions} that the service accepts. */ +export enum KnownRestorePointExpandOptions { + InstanceView = "instanceView" +} + +/** + * Defines values for RestorePointExpandOptions. \ + * {@link KnownRestorePointExpandOptions} can be used interchangeably with RestorePointExpandOptions, + * this enum contains the known values that the service supports. + * ### Known values supported by the service + * **instanceView** + */ +export type RestorePointExpandOptions = string; + +/** Known values of {@link CapacityReservationGroupInstanceViewTypes} that the service accepts. */ +export enum KnownCapacityReservationGroupInstanceViewTypes { + InstanceView = "instanceView" +} + +/** + * Defines values for CapacityReservationGroupInstanceViewTypes. \ + * {@link KnownCapacityReservationGroupInstanceViewTypes} can be used interchangeably with CapacityReservationGroupInstanceViewTypes, + * this enum contains the known values that the service supports. + * ### Known values supported by the service + * **instanceView** + */ +export type CapacityReservationGroupInstanceViewTypes = string; + +/** Known values of {@link ExpandTypesForGetCapacityReservationGroups} that the service accepts. */ +export enum KnownExpandTypesForGetCapacityReservationGroups { + VirtualMachineScaleSetVMsRef = "virtualMachineScaleSetVMs/$ref", + VirtualMachinesRef = "virtualMachines/$ref" +} + +/** + * Defines values for ExpandTypesForGetCapacityReservationGroups. \ + * {@link KnownExpandTypesForGetCapacityReservationGroups} can be used interchangeably with ExpandTypesForGetCapacityReservationGroups, + * this enum contains the known values that the service supports. + * ### Known values supported by the service + * **virtualMachineScaleSetVMs\/$ref** \ + * **virtualMachines\/$ref** + */ +export type ExpandTypesForGetCapacityReservationGroups = string; + +/** Known values of {@link CapacityReservationInstanceViewTypes} that the service accepts. */ +export enum KnownCapacityReservationInstanceViewTypes { + InstanceView = "instanceView" } /** - * Defines values for OrchestrationServiceStateAction. \ - * {@link KnownOrchestrationServiceStateAction} can be used interchangeably with OrchestrationServiceStateAction, + * Defines values for CapacityReservationInstanceViewTypes. \ + * {@link KnownCapacityReservationInstanceViewTypes} can be used interchangeably with CapacityReservationInstanceViewTypes, * this enum contains the known values that the service supports. * ### Known values supported by the service - * **Resume** \ - * **Suspend** + * **instanceView** */ -export type OrchestrationServiceStateAction = string; +export type CapacityReservationInstanceViewTypes = string; /** Known values of {@link ExecutionState} that the service accepts. */ export enum KnownExecutionState { @@ -7225,378 +7217,300 @@ export enum KnownExecutionState { */ export type ExecutionState = string; -/** Known values of {@link ExtendedLocationType} that the service accepts. */ -export enum KnownExtendedLocationType { - EdgeZone = "EdgeZone" -} - -/** - * Defines values for ExtendedLocationType. \ - * {@link KnownExtendedLocationType} can be used interchangeably with ExtendedLocationType, - * this enum contains the known values that the service supports. - * ### Known values supported by the service - * **EdgeZone** - */ -export type ExtendedLocationType = string; - -/** Known values of {@link DiskStorageAccountTypes} that the service accepts. */ -export enum KnownDiskStorageAccountTypes { - /** Standard HDD locally redundant storage. Best for backup, non-critical, and infrequent access. */ - StandardLRS = "Standard_LRS", - /** Premium SSD locally redundant storage. Best for production and performance sensitive workloads. */ - PremiumLRS = "Premium_LRS", - /** Standard SSD locally redundant storage. Best for web servers, lightly used enterprise applications and dev/test. */ - StandardSSDLRS = "StandardSSD_LRS", - /** Ultra SSD locally redundant storage. Best for IO-intensive workloads such as SAP HANA, top tier databases (for example, SQL, Oracle), and other transaction-heavy workloads. */ - UltraSSDLRS = "UltraSSD_LRS", - /** Premium SSD zone redundant storage. Best for the production workloads that need storage resiliency against zone failures. */ - PremiumZRS = "Premium_ZRS", - /** Standard SSD zone redundant storage. Best for web servers, lightly used enterprise applications and dev/test that need storage resiliency against zone failures. */ - StandardSSDZRS = "StandardSSD_ZRS" +/** Known values of {@link GalleryPropertiesProvisioningState} that the service accepts. */ +export enum KnownGalleryPropertiesProvisioningState { + Creating = "Creating", + Updating = "Updating", + Failed = "Failed", + Succeeded = "Succeeded", + Deleting = "Deleting", + Migrating = "Migrating" } /** - * Defines values for DiskStorageAccountTypes. \ - * {@link KnownDiskStorageAccountTypes} can be used interchangeably with DiskStorageAccountTypes, + * Defines values for GalleryPropertiesProvisioningState. \ + * {@link KnownGalleryPropertiesProvisioningState} can be used interchangeably with GalleryPropertiesProvisioningState, * this enum contains the known values that the service supports. * ### Known values supported by the service - * **Standard_LRS**: Standard HDD locally redundant storage. Best for backup, non-critical, and infrequent access. \ - * **Premium_LRS**: Premium SSD locally redundant storage. Best for production and performance sensitive workloads. \ - * **StandardSSD_LRS**: Standard SSD locally redundant storage. Best for web servers, lightly used enterprise applications and dev\/test. \ - * **UltraSSD_LRS**: Ultra SSD locally redundant storage. Best for IO-intensive workloads such as SAP HANA, top tier databases (for example, SQL, Oracle), and other transaction-heavy workloads. \ - * **Premium_ZRS**: Premium SSD zone redundant storage. Best for the production workloads that need storage resiliency against zone failures. \ - * **StandardSSD_ZRS**: Standard SSD zone redundant storage. Best for web servers, lightly used enterprise applications and dev\/test that need storage resiliency against zone failures. + * **Creating** \ + * **Updating** \ + * **Failed** \ + * **Succeeded** \ + * **Deleting** \ + * **Migrating** */ -export type DiskStorageAccountTypes = string; +export type GalleryPropertiesProvisioningState = string; -/** Known values of {@link HyperVGeneration} that the service accepts. */ -export enum KnownHyperVGeneration { - V1 = "V1", - V2 = "V2" +/** Known values of {@link GallerySharingPermissionTypes} that the service accepts. */ +export enum KnownGallerySharingPermissionTypes { + Private = "Private", + Groups = "Groups" } /** - * Defines values for HyperVGeneration. \ - * {@link KnownHyperVGeneration} can be used interchangeably with HyperVGeneration, + * Defines values for GallerySharingPermissionTypes. \ + * {@link KnownGallerySharingPermissionTypes} can be used interchangeably with GallerySharingPermissionTypes, * this enum contains the known values that the service supports. * ### Known values supported by the service - * **V1** \ - * **V2** + * **Private** \ + * **Groups** */ -export type HyperVGeneration = string; +export type GallerySharingPermissionTypes = string; -/** Known values of {@link Architecture} that the service accepts. */ -export enum KnownArchitecture { - X64 = "x64", - Arm64 = "Arm64" +/** Known values of {@link SharingProfileGroupTypes} that the service accepts. */ +export enum KnownSharingProfileGroupTypes { + Subscriptions = "Subscriptions", + AADTenants = "AADTenants", + Community = "Community" } /** - * Defines values for Architecture. \ - * {@link KnownArchitecture} can be used interchangeably with Architecture, + * Defines values for SharingProfileGroupTypes. \ + * {@link KnownSharingProfileGroupTypes} can be used interchangeably with SharingProfileGroupTypes, * this enum contains the known values that the service supports. * ### Known values supported by the service - * **x64** \ - * **Arm64** + * **Subscriptions** \ + * **AADTenants** \ + * **Community** */ -export type Architecture = string; +export type SharingProfileGroupTypes = string; -/** Known values of {@link DiskCreateOption} that the service accepts. */ -export enum KnownDiskCreateOption { - /** Create an empty data disk of a size given by diskSizeGB. */ - Empty = "Empty", - /** Disk will be attached to a VM. */ - Attach = "Attach", - /** Create a new disk from a platform image specified by the given imageReference or galleryImageReference. */ - FromImage = "FromImage", - /** Create a disk by importing from a blob specified by a sourceUri in a storage account specified by storageAccountId. */ - Import = "Import", - /** Create a new disk or snapshot by copying from a disk or snapshot specified by the given sourceResourceId. */ - Copy = "Copy", - /** Create a new disk by copying from a backup recovery point. */ - Restore = "Restore", - /** Create a new disk by obtaining a write token and using it to directly upload the contents of the disk. */ - Upload = "Upload", - /** Create a new disk by using a deep copy process, where the resource creation is considered complete only after all data has been copied from the source. */ - CopyStart = "CopyStart", - /** Similar to Import create option. Create a new Trusted Launch VM or Confidential VM supported disk by importing additional blob for VM guest state specified by securityDataUri in storage account specified by storageAccountId */ - ImportSecure = "ImportSecure", - /** Similar to Upload create option. Create a new Trusted Launch VM or Confidential VM supported disk and upload using write token in both disk and VM guest state */ - UploadPreparedSecure = "UploadPreparedSecure" +/** Known values of {@link SharingState} that the service accepts. */ +export enum KnownSharingState { + Succeeded = "Succeeded", + InProgress = "InProgress", + Failed = "Failed", + Unknown = "Unknown" } /** - * Defines values for DiskCreateOption. \ - * {@link KnownDiskCreateOption} can be used interchangeably with DiskCreateOption, + * Defines values for SharingState. \ + * {@link KnownSharingState} can be used interchangeably with SharingState, * this enum contains the known values that the service supports. * ### Known values supported by the service - * **Empty**: Create an empty data disk of a size given by diskSizeGB. \ - * **Attach**: Disk will be attached to a VM. \ - * **FromImage**: Create a new disk from a platform image specified by the given imageReference or galleryImageReference. \ - * **Import**: Create a disk by importing from a blob specified by a sourceUri in a storage account specified by storageAccountId. \ - * **Copy**: Create a new disk or snapshot by copying from a disk or snapshot specified by the given sourceResourceId. \ - * **Restore**: Create a new disk by copying from a backup recovery point. \ - * **Upload**: Create a new disk by obtaining a write token and using it to directly upload the contents of the disk. \ - * **CopyStart**: Create a new disk by using a deep copy process, where the resource creation is considered complete only after all data has been copied from the source. \ - * **ImportSecure**: Similar to Import create option. Create a new Trusted Launch VM or Confidential VM supported disk by importing additional blob for VM guest state specified by securityDataUri in storage account specified by storageAccountId \ - * **UploadPreparedSecure**: Similar to Upload create option. Create a new Trusted Launch VM or Confidential VM supported disk and upload using write token in both disk and VM guest state + * **Succeeded** \ + * **InProgress** \ + * **Failed** \ + * **Unknown** */ -export type DiskCreateOption = string; +export type SharingState = string; -/** Known values of {@link DiskState} that the service accepts. */ -export enum KnownDiskState { - /** The disk is not being used and can be attached to a VM. */ - Unattached = "Unattached", - /** The disk is currently attached to a running VM. */ - Attached = "Attached", - /** The disk is attached to a stopped-deallocated VM. */ - Reserved = "Reserved", - /** The disk is attached to a VM which is in hibernated state. */ - Frozen = "Frozen", - /** The disk currently has an Active SAS Uri associated with it. */ - ActiveSAS = "ActiveSAS", - /** The disk is attached to a VM in hibernated state and has an active SAS URI associated with it. */ - ActiveSASFrozen = "ActiveSASFrozen", - /** A disk is ready to be created by upload by requesting a write token. */ - ReadyToUpload = "ReadyToUpload", - /** A disk is created for upload and a write token has been issued for uploading to it. */ - ActiveUpload = "ActiveUpload" +/** Known values of {@link SelectPermissions} that the service accepts. */ +export enum KnownSelectPermissions { + Permissions = "Permissions" } /** - * Defines values for DiskState. \ - * {@link KnownDiskState} can be used interchangeably with DiskState, + * Defines values for SelectPermissions. \ + * {@link KnownSelectPermissions} can be used interchangeably with SelectPermissions, * this enum contains the known values that the service supports. * ### Known values supported by the service - * **Unattached**: The disk is not being used and can be attached to a VM. \ - * **Attached**: The disk is currently attached to a running VM. \ - * **Reserved**: The disk is attached to a stopped-deallocated VM. \ - * **Frozen**: The disk is attached to a VM which is in hibernated state. \ - * **ActiveSAS**: The disk currently has an Active SAS Uri associated with it. \ - * **ActiveSASFrozen**: The disk is attached to a VM in hibernated state and has an active SAS URI associated with it. \ - * **ReadyToUpload**: A disk is ready to be created by upload by requesting a write token. \ - * **ActiveUpload**: A disk is created for upload and a write token has been issued for uploading to it. + * **Permissions** */ -export type DiskState = string; +export type SelectPermissions = string; -/** Known values of {@link EncryptionType} that the service accepts. */ -export enum KnownEncryptionType { - /** Disk is encrypted at rest with Platform managed key. It is the default encryption type. This is not a valid encryption type for disk encryption sets. */ - EncryptionAtRestWithPlatformKey = "EncryptionAtRestWithPlatformKey", - /** Disk is encrypted at rest with Customer managed key that can be changed and revoked by a customer. */ - EncryptionAtRestWithCustomerKey = "EncryptionAtRestWithCustomerKey", - /** Disk is encrypted at rest with 2 layers of encryption. One of the keys is Customer managed and the other key is Platform managed. */ - EncryptionAtRestWithPlatformAndCustomerKeys = "EncryptionAtRestWithPlatformAndCustomerKeys" +/** Known values of {@link GalleryExpandParams} that the service accepts. */ +export enum KnownGalleryExpandParams { + SharingProfileGroups = "SharingProfile/Groups" } /** - * Defines values for EncryptionType. \ - * {@link KnownEncryptionType} can be used interchangeably with EncryptionType, + * Defines values for GalleryExpandParams. \ + * {@link KnownGalleryExpandParams} can be used interchangeably with GalleryExpandParams, * this enum contains the known values that the service supports. * ### Known values supported by the service - * **EncryptionAtRestWithPlatformKey**: Disk is encrypted at rest with Platform managed key. It is the default encryption type. This is not a valid encryption type for disk encryption sets. \ - * **EncryptionAtRestWithCustomerKey**: Disk is encrypted at rest with Customer managed key that can be changed and revoked by a customer. \ - * **EncryptionAtRestWithPlatformAndCustomerKeys**: Disk is encrypted at rest with 2 layers of encryption. One of the keys is Customer managed and the other key is Platform managed. + * **SharingProfile\/Groups** */ -export type EncryptionType = string; +export type GalleryExpandParams = string; -/** Known values of {@link NetworkAccessPolicy} that the service accepts. */ -export enum KnownNetworkAccessPolicy { - /** The disk can be exported or uploaded to from any network. */ - AllowAll = "AllowAll", - /** The disk can be exported or uploaded to using a DiskAccess resource's private endpoints. */ - AllowPrivate = "AllowPrivate", - /** The disk cannot be exported. */ - DenyAll = "DenyAll" +/** Known values of {@link HyperVGeneration} that the service accepts. */ +export enum KnownHyperVGeneration { + V1 = "V1", + V2 = "V2" } /** - * Defines values for NetworkAccessPolicy. \ - * {@link KnownNetworkAccessPolicy} can be used interchangeably with NetworkAccessPolicy, + * Defines values for HyperVGeneration. \ + * {@link KnownHyperVGeneration} can be used interchangeably with HyperVGeneration, * this enum contains the known values that the service supports. * ### Known values supported by the service - * **AllowAll**: The disk can be exported or uploaded to from any network. \ - * **AllowPrivate**: The disk can be exported or uploaded to using a DiskAccess resource's private endpoints. \ - * **DenyAll**: The disk cannot be exported. + * **V1** \ + * **V2** */ -export type NetworkAccessPolicy = string; +export type HyperVGeneration = string; -/** Known values of {@link DiskSecurityTypes} that the service accepts. */ -export enum KnownDiskSecurityTypes { - /** Trusted Launch provides security features such as secure boot and virtual Trusted Platform Module (vTPM) */ - TrustedLaunch = "TrustedLaunch", - /** Indicates Confidential VM disk with only VM guest state encrypted */ - ConfidentialVMVmguestStateOnlyEncryptedWithPlatformKey = "ConfidentialVM_VMGuestStateOnlyEncryptedWithPlatformKey", - /** Indicates Confidential VM disk with both OS disk and VM guest state encrypted with a platform managed key */ - ConfidentialVMDiskEncryptedWithPlatformKey = "ConfidentialVM_DiskEncryptedWithPlatformKey", - /** Indicates Confidential VM disk with both OS disk and VM guest state encrypted with a customer managed key */ - ConfidentialVMDiskEncryptedWithCustomerKey = "ConfidentialVM_DiskEncryptedWithCustomerKey" +/** Known values of {@link GalleryImagePropertiesProvisioningState} that the service accepts. */ +export enum KnownGalleryImagePropertiesProvisioningState { + Creating = "Creating", + Updating = "Updating", + Failed = "Failed", + Succeeded = "Succeeded", + Deleting = "Deleting", + Migrating = "Migrating" } /** - * Defines values for DiskSecurityTypes. \ - * {@link KnownDiskSecurityTypes} can be used interchangeably with DiskSecurityTypes, + * Defines values for GalleryImagePropertiesProvisioningState. \ + * {@link KnownGalleryImagePropertiesProvisioningState} can be used interchangeably with GalleryImagePropertiesProvisioningState, * this enum contains the known values that the service supports. * ### Known values supported by the service - * **TrustedLaunch**: Trusted Launch provides security features such as secure boot and virtual Trusted Platform Module (vTPM) \ - * **ConfidentialVM_VMGuestStateOnlyEncryptedWithPlatformKey**: Indicates Confidential VM disk with only VM guest state encrypted \ - * **ConfidentialVM_DiskEncryptedWithPlatformKey**: Indicates Confidential VM disk with both OS disk and VM guest state encrypted with a platform managed key \ - * **ConfidentialVM_DiskEncryptedWithCustomerKey**: Indicates Confidential VM disk with both OS disk and VM guest state encrypted with a customer managed key + * **Creating** \ + * **Updating** \ + * **Failed** \ + * **Succeeded** \ + * **Deleting** \ + * **Migrating** */ -export type DiskSecurityTypes = string; +export type GalleryImagePropertiesProvisioningState = string; -/** Known values of {@link PublicNetworkAccess} that the service accepts. */ -export enum KnownPublicNetworkAccess { - /** You can generate a SAS URI to access the underlying data of the disk publicly on the internet when NetworkAccessPolicy is set to AllowAll. You can access the data via the SAS URI only from your trusted Azure VNET when NetworkAccessPolicy is set to AllowPrivate. */ - Enabled = "Enabled", - /** You cannot access the underlying data of the disk publicly on the internet even when NetworkAccessPolicy is set to AllowAll. You can access the data via the SAS URI only from your trusted Azure VNET when NetworkAccessPolicy is set to AllowPrivate. */ - Disabled = "Disabled" +/** Known values of {@link StorageAccountType} that the service accepts. */ +export enum KnownStorageAccountType { + StandardLRS = "Standard_LRS", + StandardZRS = "Standard_ZRS", + PremiumLRS = "Premium_LRS" } /** - * Defines values for PublicNetworkAccess. \ - * {@link KnownPublicNetworkAccess} can be used interchangeably with PublicNetworkAccess, + * Defines values for StorageAccountType. \ + * {@link KnownStorageAccountType} can be used interchangeably with StorageAccountType, * this enum contains the known values that the service supports. * ### Known values supported by the service - * **Enabled**: You can generate a SAS URI to access the underlying data of the disk publicly on the internet when NetworkAccessPolicy is set to AllowAll. You can access the data via the SAS URI only from your trusted Azure VNET when NetworkAccessPolicy is set to AllowPrivate. \ - * **Disabled**: You cannot access the underlying data of the disk publicly on the internet even when NetworkAccessPolicy is set to AllowAll. You can access the data via the SAS URI only from your trusted Azure VNET when NetworkAccessPolicy is set to AllowPrivate. + * **Standard_LRS** \ + * **Standard_ZRS** \ + * **Premium_LRS** */ -export type PublicNetworkAccess = string; +export type StorageAccountType = string; -/** Known values of {@link DataAccessAuthMode} that the service accepts. */ -export enum KnownDataAccessAuthMode { - /** When export/upload URL is used, the system checks if the user has an identity in Azure Active Directory and has necessary permissions to export/upload the data. Please refer to aka.ms/DisksAzureADAuth. */ - AzureActiveDirectory = "AzureActiveDirectory", - /** No additional authentication would be performed when accessing export/upload URL. */ - None = "None" +/** Known values of {@link ConfidentialVMEncryptionType} that the service accepts. */ +export enum KnownConfidentialVMEncryptionType { + EncryptedVMGuestStateOnlyWithPmk = "EncryptedVMGuestStateOnlyWithPmk", + EncryptedWithPmk = "EncryptedWithPmk", + EncryptedWithCmk = "EncryptedWithCmk" } /** - * Defines values for DataAccessAuthMode. \ - * {@link KnownDataAccessAuthMode} can be used interchangeably with DataAccessAuthMode, + * Defines values for ConfidentialVMEncryptionType. \ + * {@link KnownConfidentialVMEncryptionType} can be used interchangeably with ConfidentialVMEncryptionType, * this enum contains the known values that the service supports. * ### Known values supported by the service - * **AzureActiveDirectory**: When export\/upload URL is used, the system checks if the user has an identity in Azure Active Directory and has necessary permissions to export\/upload the data. Please refer to aka.ms\/DisksAzureADAuth. \ - * **None**: No additional authentication would be performed when accessing export\/upload URL. + * **EncryptedVMGuestStateOnlyWithPmk** \ + * **EncryptedWithPmk** \ + * **EncryptedWithCmk** */ -export type DataAccessAuthMode = string; +export type ConfidentialVMEncryptionType = string; -/** Known values of {@link AccessLevel} that the service accepts. */ -export enum KnownAccessLevel { - None = "None", - Read = "Read", - Write = "Write" +/** Known values of {@link ReplicationMode} that the service accepts. */ +export enum KnownReplicationMode { + Full = "Full", + Shallow = "Shallow" } /** - * Defines values for AccessLevel. \ - * {@link KnownAccessLevel} can be used interchangeably with AccessLevel, + * Defines values for ReplicationMode. \ + * {@link KnownReplicationMode} can be used interchangeably with ReplicationMode, * this enum contains the known values that the service supports. * ### Known values supported by the service - * **None** \ - * **Read** \ - * **Write** + * **Full** \ + * **Shallow** */ -export type AccessLevel = string; +export type ReplicationMode = string; -/** Known values of {@link SnapshotStorageAccountTypes} that the service accepts. */ -export enum KnownSnapshotStorageAccountTypes { - /** Standard HDD locally redundant storage */ - StandardLRS = "Standard_LRS", - /** Premium SSD locally redundant storage */ - PremiumLRS = "Premium_LRS", - /** Standard zone redundant storage */ - StandardZRS = "Standard_ZRS" +/** Known values of {@link GalleryExtendedLocationType} that the service accepts. */ +export enum KnownGalleryExtendedLocationType { + EdgeZone = "EdgeZone", + Unknown = "Unknown" } /** - * Defines values for SnapshotStorageAccountTypes. \ - * {@link KnownSnapshotStorageAccountTypes} can be used interchangeably with SnapshotStorageAccountTypes, + * Defines values for GalleryExtendedLocationType. \ + * {@link KnownGalleryExtendedLocationType} can be used interchangeably with GalleryExtendedLocationType, * this enum contains the known values that the service supports. * ### Known values supported by the service - * **Standard_LRS**: Standard HDD locally redundant storage \ - * **Premium_LRS**: Premium SSD locally redundant storage \ - * **Standard_ZRS**: Standard zone redundant storage + * **EdgeZone** \ + * **Unknown** */ -export type SnapshotStorageAccountTypes = string; +export type GalleryExtendedLocationType = string; -/** Known values of {@link DiskEncryptionSetIdentityType} that the service accepts. */ -export enum KnownDiskEncryptionSetIdentityType { - SystemAssigned = "SystemAssigned", - None = "None" +/** Known values of {@link GalleryImageVersionPropertiesProvisioningState} that the service accepts. */ +export enum KnownGalleryImageVersionPropertiesProvisioningState { + Creating = "Creating", + Updating = "Updating", + Failed = "Failed", + Succeeded = "Succeeded", + Deleting = "Deleting", + Migrating = "Migrating" } /** - * Defines values for DiskEncryptionSetIdentityType. \ - * {@link KnownDiskEncryptionSetIdentityType} can be used interchangeably with DiskEncryptionSetIdentityType, + * Defines values for GalleryImageVersionPropertiesProvisioningState. \ + * {@link KnownGalleryImageVersionPropertiesProvisioningState} can be used interchangeably with GalleryImageVersionPropertiesProvisioningState, * this enum contains the known values that the service supports. * ### Known values supported by the service - * **SystemAssigned** \ - * **None** + * **Creating** \ + * **Updating** \ + * **Failed** \ + * **Succeeded** \ + * **Deleting** \ + * **Migrating** */ -export type DiskEncryptionSetIdentityType = string; +export type GalleryImageVersionPropertiesProvisioningState = string; -/** Known values of {@link DiskEncryptionSetType} that the service accepts. */ -export enum KnownDiskEncryptionSetType { - /** Resource using diskEncryptionSet would be encrypted at rest with Customer managed key that can be changed and revoked by a customer. */ - EncryptionAtRestWithCustomerKey = "EncryptionAtRestWithCustomerKey", - /** Resource using diskEncryptionSet would be encrypted at rest with two layers of encryption. One of the keys is Customer managed and the other key is Platform managed. */ - EncryptionAtRestWithPlatformAndCustomerKeys = "EncryptionAtRestWithPlatformAndCustomerKeys", - /** Confidential VM supported disk and VM guest state would be encrypted with customer managed key. */ - ConfidentialVmEncryptedWithCustomerKey = "ConfidentialVmEncryptedWithCustomerKey" +/** Known values of {@link AggregatedReplicationState} that the service accepts. */ +export enum KnownAggregatedReplicationState { + Unknown = "Unknown", + InProgress = "InProgress", + Completed = "Completed", + Failed = "Failed" } /** - * Defines values for DiskEncryptionSetType. \ - * {@link KnownDiskEncryptionSetType} can be used interchangeably with DiskEncryptionSetType, + * Defines values for AggregatedReplicationState. \ + * {@link KnownAggregatedReplicationState} can be used interchangeably with AggregatedReplicationState, * this enum contains the known values that the service supports. * ### Known values supported by the service - * **EncryptionAtRestWithCustomerKey**: Resource using diskEncryptionSet would be encrypted at rest with Customer managed key that can be changed and revoked by a customer. \ - * **EncryptionAtRestWithPlatformAndCustomerKeys**: Resource using diskEncryptionSet would be encrypted at rest with two layers of encryption. One of the keys is Customer managed and the other key is Platform managed. \ - * **ConfidentialVmEncryptedWithCustomerKey**: Confidential VM supported disk and VM guest state would be encrypted with customer managed key. + * **Unknown** \ + * **InProgress** \ + * **Completed** \ + * **Failed** */ -export type DiskEncryptionSetType = string; +export type AggregatedReplicationState = string; -/** Known values of {@link PrivateEndpointServiceConnectionStatus} that the service accepts. */ -export enum KnownPrivateEndpointServiceConnectionStatus { - Pending = "Pending", - Approved = "Approved", - Rejected = "Rejected" +/** Known values of {@link ReplicationState} that the service accepts. */ +export enum KnownReplicationState { + Unknown = "Unknown", + Replicating = "Replicating", + Completed = "Completed", + Failed = "Failed" } /** - * Defines values for PrivateEndpointServiceConnectionStatus. \ - * {@link KnownPrivateEndpointServiceConnectionStatus} can be used interchangeably with PrivateEndpointServiceConnectionStatus, + * Defines values for ReplicationState. \ + * {@link KnownReplicationState} can be used interchangeably with ReplicationState, * this enum contains the known values that the service supports. * ### Known values supported by the service - * **Pending** \ - * **Approved** \ - * **Rejected** + * **Unknown** \ + * **Replicating** \ + * **Completed** \ + * **Failed** */ -export type PrivateEndpointServiceConnectionStatus = string; +export type ReplicationState = string; -/** Known values of {@link PrivateEndpointConnectionProvisioningState} that the service accepts. */ -export enum KnownPrivateEndpointConnectionProvisioningState { - Succeeded = "Succeeded", - Creating = "Creating", - Deleting = "Deleting", - Failed = "Failed" +/** Known values of {@link ReplicationStatusTypes} that the service accepts. */ +export enum KnownReplicationStatusTypes { + ReplicationStatus = "ReplicationStatus" } /** - * Defines values for PrivateEndpointConnectionProvisioningState. \ - * {@link KnownPrivateEndpointConnectionProvisioningState} can be used interchangeably with PrivateEndpointConnectionProvisioningState, + * Defines values for ReplicationStatusTypes. \ + * {@link KnownReplicationStatusTypes} can be used interchangeably with ReplicationStatusTypes, * this enum contains the known values that the service supports. * ### Known values supported by the service - * **Succeeded** \ - * **Creating** \ - * **Deleting** \ - * **Failed** + * **ReplicationStatus** */ -export type PrivateEndpointConnectionProvisioningState = string; +export type ReplicationStatusTypes = string; -/** Known values of {@link GalleryPropertiesProvisioningState} that the service accepts. */ -export enum KnownGalleryPropertiesProvisioningState { +/** Known values of {@link GalleryApplicationVersionPropertiesProvisioningState} that the service accepts. */ +export enum KnownGalleryApplicationVersionPropertiesProvisioningState { Creating = "Creating", Updating = "Updating", Failed = "Failed", @@ -7606,8 +7520,8 @@ export enum KnownGalleryPropertiesProvisioningState { } /** - * Defines values for GalleryPropertiesProvisioningState. \ - * {@link KnownGalleryPropertiesProvisioningState} can be used interchangeably with GalleryPropertiesProvisioningState, + * Defines values for GalleryApplicationVersionPropertiesProvisioningState. \ + * {@link KnownGalleryApplicationVersionPropertiesProvisioningState} can be used interchangeably with GalleryApplicationVersionPropertiesProvisioningState, * this enum contains the known values that the service supports. * ### Known values supported by the service * **Creating** \ @@ -7617,303 +7531,347 @@ export enum KnownGalleryPropertiesProvisioningState { * **Deleting** \ * **Migrating** */ -export type GalleryPropertiesProvisioningState = string; +export type GalleryApplicationVersionPropertiesProvisioningState = string; -/** Known values of {@link GallerySharingPermissionTypes} that the service accepts. */ -export enum KnownGallerySharingPermissionTypes { - Private = "Private", - Groups = "Groups" +/** Known values of {@link SharingUpdateOperationTypes} that the service accepts. */ +export enum KnownSharingUpdateOperationTypes { + Add = "Add", + Remove = "Remove", + Reset = "Reset", + EnableCommunity = "EnableCommunity" } /** - * Defines values for GallerySharingPermissionTypes. \ - * {@link KnownGallerySharingPermissionTypes} can be used interchangeably with GallerySharingPermissionTypes, + * Defines values for SharingUpdateOperationTypes. \ + * {@link KnownSharingUpdateOperationTypes} can be used interchangeably with SharingUpdateOperationTypes, * this enum contains the known values that the service supports. * ### Known values supported by the service - * **Private** \ - * **Groups** + * **Add** \ + * **Remove** \ + * **Reset** \ + * **EnableCommunity** */ -export type GallerySharingPermissionTypes = string; +export type SharingUpdateOperationTypes = string; -/** Known values of {@link SharingProfileGroupTypes} that the service accepts. */ -export enum KnownSharingProfileGroupTypes { - Subscriptions = "Subscriptions", - AADTenants = "AADTenants", - Community = "Community" +/** Known values of {@link ExtendedLocationType} that the service accepts. */ +export enum KnownExtendedLocationType { + EdgeZone = "EdgeZone" } /** - * Defines values for SharingProfileGroupTypes. \ - * {@link KnownSharingProfileGroupTypes} can be used interchangeably with SharingProfileGroupTypes, + * Defines values for ExtendedLocationType. \ + * {@link KnownExtendedLocationType} can be used interchangeably with ExtendedLocationType, * this enum contains the known values that the service supports. * ### Known values supported by the service - * **Subscriptions** \ - * **AADTenants** \ - * **Community** + * **EdgeZone** */ -export type SharingProfileGroupTypes = string; +export type ExtendedLocationType = string; -/** Known values of {@link SharingState} that the service accepts. */ -export enum KnownSharingState { - Succeeded = "Succeeded", - InProgress = "InProgress", - Failed = "Failed", - Unknown = "Unknown" +/** Known values of {@link DiskStorageAccountTypes} that the service accepts. */ +export enum KnownDiskStorageAccountTypes { + /** Standard HDD locally redundant storage. Best for backup, non-critical, and infrequent access. */ + StandardLRS = "Standard_LRS", + /** Premium SSD locally redundant storage. Best for production and performance sensitive workloads. */ + PremiumLRS = "Premium_LRS", + /** Standard SSD locally redundant storage. Best for web servers, lightly used enterprise applications and dev/test. */ + StandardSSDLRS = "StandardSSD_LRS", + /** Ultra SSD locally redundant storage. Best for IO-intensive workloads such as SAP HANA, top tier databases (for example, SQL, Oracle), and other transaction-heavy workloads. */ + UltraSSDLRS = "UltraSSD_LRS", + /** Premium SSD zone redundant storage. Best for the production workloads that need storage resiliency against zone failures. */ + PremiumZRS = "Premium_ZRS", + /** Standard SSD zone redundant storage. Best for web servers, lightly used enterprise applications and dev/test that need storage resiliency against zone failures. */ + StandardSSDZRS = "StandardSSD_ZRS" } /** - * Defines values for SharingState. \ - * {@link KnownSharingState} can be used interchangeably with SharingState, - * this enum contains the known values that the service supports. - * ### Known values supported by the service - * **Succeeded** \ - * **InProgress** \ - * **Failed** \ - * **Unknown** + * Defines values for DiskStorageAccountTypes. \ + * {@link KnownDiskStorageAccountTypes} can be used interchangeably with DiskStorageAccountTypes, + * this enum contains the known values that the service supports. + * ### Known values supported by the service + * **Standard_LRS**: Standard HDD locally redundant storage. Best for backup, non-critical, and infrequent access. \ + * **Premium_LRS**: Premium SSD locally redundant storage. Best for production and performance sensitive workloads. \ + * **StandardSSD_LRS**: Standard SSD locally redundant storage. Best for web servers, lightly used enterprise applications and dev\/test. \ + * **UltraSSD_LRS**: Ultra SSD locally redundant storage. Best for IO-intensive workloads such as SAP HANA, top tier databases (for example, SQL, Oracle), and other transaction-heavy workloads. \ + * **Premium_ZRS**: Premium SSD zone redundant storage. Best for the production workloads that need storage resiliency against zone failures. \ + * **StandardSSD_ZRS**: Standard SSD zone redundant storage. Best for web servers, lightly used enterprise applications and dev\/test that need storage resiliency against zone failures. */ -export type SharingState = string; +export type DiskStorageAccountTypes = string; -/** Known values of {@link SelectPermissions} that the service accepts. */ -export enum KnownSelectPermissions { - Permissions = "Permissions" +/** Known values of {@link DiskCreateOption} that the service accepts. */ +export enum KnownDiskCreateOption { + /** Create an empty data disk of a size given by diskSizeGB. */ + Empty = "Empty", + /** Disk will be attached to a VM. */ + Attach = "Attach", + /** Create a new disk from a platform image specified by the given imageReference or galleryImageReference. */ + FromImage = "FromImage", + /** Create a disk by importing from a blob specified by a sourceUri in a storage account specified by storageAccountId. */ + Import = "Import", + /** Create a new disk or snapshot by copying from a disk or snapshot specified by the given sourceResourceId. */ + Copy = "Copy", + /** Create a new disk by copying from a backup recovery point. */ + Restore = "Restore", + /** Create a new disk by obtaining a write token and using it to directly upload the contents of the disk. */ + Upload = "Upload", + /** Create a new disk by using a deep copy process, where the resource creation is considered complete only after all data has been copied from the source. */ + CopyStart = "CopyStart", + /** Similar to Import create option. Create a new Trusted Launch VM or Confidential VM supported disk by importing additional blob for VM guest state specified by securityDataUri in storage account specified by storageAccountId */ + ImportSecure = "ImportSecure", + /** Similar to Upload create option. Create a new Trusted Launch VM or Confidential VM supported disk and upload using write token in both disk and VM guest state */ + UploadPreparedSecure = "UploadPreparedSecure" } /** - * Defines values for SelectPermissions. \ - * {@link KnownSelectPermissions} can be used interchangeably with SelectPermissions, + * Defines values for DiskCreateOption. \ + * {@link KnownDiskCreateOption} can be used interchangeably with DiskCreateOption, * this enum contains the known values that the service supports. * ### Known values supported by the service - * **Permissions** + * **Empty**: Create an empty data disk of a size given by diskSizeGB. \ + * **Attach**: Disk will be attached to a VM. \ + * **FromImage**: Create a new disk from a platform image specified by the given imageReference or galleryImageReference. \ + * **Import**: Create a disk by importing from a blob specified by a sourceUri in a storage account specified by storageAccountId. \ + * **Copy**: Create a new disk or snapshot by copying from a disk or snapshot specified by the given sourceResourceId. \ + * **Restore**: Create a new disk by copying from a backup recovery point. \ + * **Upload**: Create a new disk by obtaining a write token and using it to directly upload the contents of the disk. \ + * **CopyStart**: Create a new disk by using a deep copy process, where the resource creation is considered complete only after all data has been copied from the source. \ + * **ImportSecure**: Similar to Import create option. Create a new Trusted Launch VM or Confidential VM supported disk by importing additional blob for VM guest state specified by securityDataUri in storage account specified by storageAccountId \ + * **UploadPreparedSecure**: Similar to Upload create option. Create a new Trusted Launch VM or Confidential VM supported disk and upload using write token in both disk and VM guest state */ -export type SelectPermissions = string; +export type DiskCreateOption = string; -/** Known values of {@link GalleryExpandParams} that the service accepts. */ -export enum KnownGalleryExpandParams { - SharingProfileGroups = "SharingProfile/Groups" +/** Known values of {@link DiskState} that the service accepts. */ +export enum KnownDiskState { + /** The disk is not being used and can be attached to a VM. */ + Unattached = "Unattached", + /** The disk is currently attached to a running VM. */ + Attached = "Attached", + /** The disk is attached to a stopped-deallocated VM. */ + Reserved = "Reserved", + /** The disk is attached to a VM which is in hibernated state. */ + Frozen = "Frozen", + /** The disk currently has an Active SAS Uri associated with it. */ + ActiveSAS = "ActiveSAS", + /** The disk is attached to a VM in hibernated state and has an active SAS URI associated with it. */ + ActiveSASFrozen = "ActiveSASFrozen", + /** A disk is ready to be created by upload by requesting a write token. */ + ReadyToUpload = "ReadyToUpload", + /** A disk is created for upload and a write token has been issued for uploading to it. */ + ActiveUpload = "ActiveUpload" } /** - * Defines values for GalleryExpandParams. \ - * {@link KnownGalleryExpandParams} can be used interchangeably with GalleryExpandParams, + * Defines values for DiskState. \ + * {@link KnownDiskState} can be used interchangeably with DiskState, * this enum contains the known values that the service supports. * ### Known values supported by the service - * **SharingProfile\/Groups** + * **Unattached**: The disk is not being used and can be attached to a VM. \ + * **Attached**: The disk is currently attached to a running VM. \ + * **Reserved**: The disk is attached to a stopped-deallocated VM. \ + * **Frozen**: The disk is attached to a VM which is in hibernated state. \ + * **ActiveSAS**: The disk currently has an Active SAS Uri associated with it. \ + * **ActiveSASFrozen**: The disk is attached to a VM in hibernated state and has an active SAS URI associated with it. \ + * **ReadyToUpload**: A disk is ready to be created by upload by requesting a write token. \ + * **ActiveUpload**: A disk is created for upload and a write token has been issued for uploading to it. */ -export type GalleryExpandParams = string; +export type DiskState = string; -/** Known values of {@link GalleryImagePropertiesProvisioningState} that the service accepts. */ -export enum KnownGalleryImagePropertiesProvisioningState { - Creating = "Creating", - Updating = "Updating", - Failed = "Failed", - Succeeded = "Succeeded", - Deleting = "Deleting", - Migrating = "Migrating" +/** Known values of {@link EncryptionType} that the service accepts. */ +export enum KnownEncryptionType { + /** Disk is encrypted at rest with Platform managed key. It is the default encryption type. This is not a valid encryption type for disk encryption sets. */ + EncryptionAtRestWithPlatformKey = "EncryptionAtRestWithPlatformKey", + /** Disk is encrypted at rest with Customer managed key that can be changed and revoked by a customer. */ + EncryptionAtRestWithCustomerKey = "EncryptionAtRestWithCustomerKey", + /** Disk is encrypted at rest with 2 layers of encryption. One of the keys is Customer managed and the other key is Platform managed. */ + EncryptionAtRestWithPlatformAndCustomerKeys = "EncryptionAtRestWithPlatformAndCustomerKeys" } /** - * Defines values for GalleryImagePropertiesProvisioningState. \ - * {@link KnownGalleryImagePropertiesProvisioningState} can be used interchangeably with GalleryImagePropertiesProvisioningState, + * Defines values for EncryptionType. \ + * {@link KnownEncryptionType} can be used interchangeably with EncryptionType, * this enum contains the known values that the service supports. * ### Known values supported by the service - * **Creating** \ - * **Updating** \ - * **Failed** \ - * **Succeeded** \ - * **Deleting** \ - * **Migrating** + * **EncryptionAtRestWithPlatformKey**: Disk is encrypted at rest with Platform managed key. It is the default encryption type. This is not a valid encryption type for disk encryption sets. \ + * **EncryptionAtRestWithCustomerKey**: Disk is encrypted at rest with Customer managed key that can be changed and revoked by a customer. \ + * **EncryptionAtRestWithPlatformAndCustomerKeys**: Disk is encrypted at rest with 2 layers of encryption. One of the keys is Customer managed and the other key is Platform managed. */ -export type GalleryImagePropertiesProvisioningState = string; +export type EncryptionType = string; -/** Known values of {@link StorageAccountType} that the service accepts. */ -export enum KnownStorageAccountType { - StandardLRS = "Standard_LRS", - StandardZRS = "Standard_ZRS", - PremiumLRS = "Premium_LRS" +/** Known values of {@link NetworkAccessPolicy} that the service accepts. */ +export enum KnownNetworkAccessPolicy { + /** The disk can be exported or uploaded to from any network. */ + AllowAll = "AllowAll", + /** The disk can be exported or uploaded to using a DiskAccess resource's private endpoints. */ + AllowPrivate = "AllowPrivate", + /** The disk cannot be exported. */ + DenyAll = "DenyAll" } /** - * Defines values for StorageAccountType. \ - * {@link KnownStorageAccountType} can be used interchangeably with StorageAccountType, + * Defines values for NetworkAccessPolicy. \ + * {@link KnownNetworkAccessPolicy} can be used interchangeably with NetworkAccessPolicy, * this enum contains the known values that the service supports. * ### Known values supported by the service - * **Standard_LRS** \ - * **Standard_ZRS** \ - * **Premium_LRS** + * **AllowAll**: The disk can be exported or uploaded to from any network. \ + * **AllowPrivate**: The disk can be exported or uploaded to using a DiskAccess resource's private endpoints. \ + * **DenyAll**: The disk cannot be exported. */ -export type StorageAccountType = string; +export type NetworkAccessPolicy = string; -/** Known values of {@link ConfidentialVMEncryptionType} that the service accepts. */ -export enum KnownConfidentialVMEncryptionType { - EncryptedVMGuestStateOnlyWithPmk = "EncryptedVMGuestStateOnlyWithPmk", - EncryptedWithPmk = "EncryptedWithPmk", - EncryptedWithCmk = "EncryptedWithCmk" +/** Known values of {@link DiskSecurityTypes} that the service accepts. */ +export enum KnownDiskSecurityTypes { + /** Trusted Launch provides security features such as secure boot and virtual Trusted Platform Module (vTPM) */ + TrustedLaunch = "TrustedLaunch", + /** Indicates Confidential VM disk with only VM guest state encrypted */ + ConfidentialVMVmguestStateOnlyEncryptedWithPlatformKey = "ConfidentialVM_VMGuestStateOnlyEncryptedWithPlatformKey", + /** Indicates Confidential VM disk with both OS disk and VM guest state encrypted with a platform managed key */ + ConfidentialVMDiskEncryptedWithPlatformKey = "ConfidentialVM_DiskEncryptedWithPlatformKey", + /** Indicates Confidential VM disk with both OS disk and VM guest state encrypted with a customer managed key */ + ConfidentialVMDiskEncryptedWithCustomerKey = "ConfidentialVM_DiskEncryptedWithCustomerKey" } /** - * Defines values for ConfidentialVMEncryptionType. \ - * {@link KnownConfidentialVMEncryptionType} can be used interchangeably with ConfidentialVMEncryptionType, + * Defines values for DiskSecurityTypes. \ + * {@link KnownDiskSecurityTypes} can be used interchangeably with DiskSecurityTypes, * this enum contains the known values that the service supports. * ### Known values supported by the service - * **EncryptedVMGuestStateOnlyWithPmk** \ - * **EncryptedWithPmk** \ - * **EncryptedWithCmk** + * **TrustedLaunch**: Trusted Launch provides security features such as secure boot and virtual Trusted Platform Module (vTPM) \ + * **ConfidentialVM_VMGuestStateOnlyEncryptedWithPlatformKey**: Indicates Confidential VM disk with only VM guest state encrypted \ + * **ConfidentialVM_DiskEncryptedWithPlatformKey**: Indicates Confidential VM disk with both OS disk and VM guest state encrypted with a platform managed key \ + * **ConfidentialVM_DiskEncryptedWithCustomerKey**: Indicates Confidential VM disk with both OS disk and VM guest state encrypted with a customer managed key */ -export type ConfidentialVMEncryptionType = string; +export type DiskSecurityTypes = string; -/** Known values of {@link ReplicationMode} that the service accepts. */ -export enum KnownReplicationMode { - Full = "Full", - Shallow = "Shallow" +/** Known values of {@link PublicNetworkAccess} that the service accepts. */ +export enum KnownPublicNetworkAccess { + /** You can generate a SAS URI to access the underlying data of the disk publicly on the internet when NetworkAccessPolicy is set to AllowAll. You can access the data via the SAS URI only from your trusted Azure VNET when NetworkAccessPolicy is set to AllowPrivate. */ + Enabled = "Enabled", + /** You cannot access the underlying data of the disk publicly on the internet even when NetworkAccessPolicy is set to AllowAll. You can access the data via the SAS URI only from your trusted Azure VNET when NetworkAccessPolicy is set to AllowPrivate. */ + Disabled = "Disabled" } /** - * Defines values for ReplicationMode. \ - * {@link KnownReplicationMode} can be used interchangeably with ReplicationMode, + * Defines values for PublicNetworkAccess. \ + * {@link KnownPublicNetworkAccess} can be used interchangeably with PublicNetworkAccess, * this enum contains the known values that the service supports. * ### Known values supported by the service - * **Full** \ - * **Shallow** + * **Enabled**: You can generate a SAS URI to access the underlying data of the disk publicly on the internet when NetworkAccessPolicy is set to AllowAll. You can access the data via the SAS URI only from your trusted Azure VNET when NetworkAccessPolicy is set to AllowPrivate. \ + * **Disabled**: You cannot access the underlying data of the disk publicly on the internet even when NetworkAccessPolicy is set to AllowAll. You can access the data via the SAS URI only from your trusted Azure VNET when NetworkAccessPolicy is set to AllowPrivate. */ -export type ReplicationMode = string; +export type PublicNetworkAccess = string; -/** Known values of {@link GalleryExtendedLocationType} that the service accepts. */ -export enum KnownGalleryExtendedLocationType { - EdgeZone = "EdgeZone", - Unknown = "Unknown" +/** Known values of {@link AccessLevel} that the service accepts. */ +export enum KnownAccessLevel { + None = "None", + Read = "Read", + Write = "Write" } /** - * Defines values for GalleryExtendedLocationType. \ - * {@link KnownGalleryExtendedLocationType} can be used interchangeably with GalleryExtendedLocationType, + * Defines values for AccessLevel. \ + * {@link KnownAccessLevel} can be used interchangeably with AccessLevel, * this enum contains the known values that the service supports. * ### Known values supported by the service - * **EdgeZone** \ - * **Unknown** + * **None** \ + * **Read** \ + * **Write** */ -export type GalleryExtendedLocationType = string; +export type AccessLevel = string; -/** Known values of {@link GalleryImageVersionPropertiesProvisioningState} that the service accepts. */ -export enum KnownGalleryImageVersionPropertiesProvisioningState { - Creating = "Creating", - Updating = "Updating", - Failed = "Failed", - Succeeded = "Succeeded", - Deleting = "Deleting", - Migrating = "Migrating" +/** Known values of {@link SnapshotStorageAccountTypes} that the service accepts. */ +export enum KnownSnapshotStorageAccountTypes { + /** Standard HDD locally redundant storage */ + StandardLRS = "Standard_LRS", + /** Premium SSD locally redundant storage */ + PremiumLRS = "Premium_LRS", + /** Standard zone redundant storage */ + StandardZRS = "Standard_ZRS" } /** - * Defines values for GalleryImageVersionPropertiesProvisioningState. \ - * {@link KnownGalleryImageVersionPropertiesProvisioningState} can be used interchangeably with GalleryImageVersionPropertiesProvisioningState, + * Defines values for SnapshotStorageAccountTypes. \ + * {@link KnownSnapshotStorageAccountTypes} can be used interchangeably with SnapshotStorageAccountTypes, * this enum contains the known values that the service supports. * ### Known values supported by the service - * **Creating** \ - * **Updating** \ - * **Failed** \ - * **Succeeded** \ - * **Deleting** \ - * **Migrating** + * **Standard_LRS**: Standard HDD locally redundant storage \ + * **Premium_LRS**: Premium SSD locally redundant storage \ + * **Standard_ZRS**: Standard zone redundant storage */ -export type GalleryImageVersionPropertiesProvisioningState = string; +export type SnapshotStorageAccountTypes = string; -/** Known values of {@link AggregatedReplicationState} that the service accepts. */ -export enum KnownAggregatedReplicationState { - Unknown = "Unknown", - InProgress = "InProgress", - Completed = "Completed", - Failed = "Failed" +/** Known values of {@link DiskEncryptionSetIdentityType} that the service accepts. */ +export enum KnownDiskEncryptionSetIdentityType { + SystemAssigned = "SystemAssigned", + None = "None" } /** - * Defines values for AggregatedReplicationState. \ - * {@link KnownAggregatedReplicationState} can be used interchangeably with AggregatedReplicationState, + * Defines values for DiskEncryptionSetIdentityType. \ + * {@link KnownDiskEncryptionSetIdentityType} can be used interchangeably with DiskEncryptionSetIdentityType, * this enum contains the known values that the service supports. * ### Known values supported by the service - * **Unknown** \ - * **InProgress** \ - * **Completed** \ - * **Failed** + * **SystemAssigned** \ + * **None** */ -export type AggregatedReplicationState = string; +export type DiskEncryptionSetIdentityType = string; -/** Known values of {@link ReplicationState} that the service accepts. */ -export enum KnownReplicationState { - Unknown = "Unknown", - Replicating = "Replicating", - Completed = "Completed", - Failed = "Failed" +/** Known values of {@link DiskEncryptionSetType} that the service accepts. */ +export enum KnownDiskEncryptionSetType { + /** Resource using diskEncryptionSet would be encrypted at rest with Customer managed key that can be changed and revoked by a customer. */ + EncryptionAtRestWithCustomerKey = "EncryptionAtRestWithCustomerKey", + /** Resource using diskEncryptionSet would be encrypted at rest with two layers of encryption. One of the keys is Customer managed and the other key is Platform managed. */ + EncryptionAtRestWithPlatformAndCustomerKeys = "EncryptionAtRestWithPlatformAndCustomerKeys", + /** Confidential VM supported disk and VM guest state would be encrypted with customer managed key. */ + ConfidentialVmEncryptedWithCustomerKey = "ConfidentialVmEncryptedWithCustomerKey" } /** - * Defines values for ReplicationState. \ - * {@link KnownReplicationState} can be used interchangeably with ReplicationState, + * Defines values for DiskEncryptionSetType. \ + * {@link KnownDiskEncryptionSetType} can be used interchangeably with DiskEncryptionSetType, * this enum contains the known values that the service supports. * ### Known values supported by the service - * **Unknown** \ - * **Replicating** \ - * **Completed** \ - * **Failed** + * **EncryptionAtRestWithCustomerKey**: Resource using diskEncryptionSet would be encrypted at rest with Customer managed key that can be changed and revoked by a customer. \ + * **EncryptionAtRestWithPlatformAndCustomerKeys**: Resource using diskEncryptionSet would be encrypted at rest with two layers of encryption. One of the keys is Customer managed and the other key is Platform managed. \ + * **ConfidentialVmEncryptedWithCustomerKey**: Confidential VM supported disk and VM guest state would be encrypted with customer managed key. */ -export type ReplicationState = string; +export type DiskEncryptionSetType = string; -/** Known values of {@link ReplicationStatusTypes} that the service accepts. */ -export enum KnownReplicationStatusTypes { - ReplicationStatus = "ReplicationStatus" +/** Known values of {@link PrivateEndpointServiceConnectionStatus} that the service accepts. */ +export enum KnownPrivateEndpointServiceConnectionStatus { + Pending = "Pending", + Approved = "Approved", + Rejected = "Rejected" } /** - * Defines values for ReplicationStatusTypes. \ - * {@link KnownReplicationStatusTypes} can be used interchangeably with ReplicationStatusTypes, + * Defines values for PrivateEndpointServiceConnectionStatus. \ + * {@link KnownPrivateEndpointServiceConnectionStatus} can be used interchangeably with PrivateEndpointServiceConnectionStatus, * this enum contains the known values that the service supports. * ### Known values supported by the service - * **ReplicationStatus** + * **Pending** \ + * **Approved** \ + * **Rejected** */ -export type ReplicationStatusTypes = string; +export type PrivateEndpointServiceConnectionStatus = string; -/** Known values of {@link GalleryApplicationVersionPropertiesProvisioningState} that the service accepts. */ -export enum KnownGalleryApplicationVersionPropertiesProvisioningState { - Creating = "Creating", - Updating = "Updating", - Failed = "Failed", +/** Known values of {@link PrivateEndpointConnectionProvisioningState} that the service accepts. */ +export enum KnownPrivateEndpointConnectionProvisioningState { Succeeded = "Succeeded", + Creating = "Creating", Deleting = "Deleting", - Migrating = "Migrating" + Failed = "Failed" } /** - * Defines values for GalleryApplicationVersionPropertiesProvisioningState. \ - * {@link KnownGalleryApplicationVersionPropertiesProvisioningState} can be used interchangeably with GalleryApplicationVersionPropertiesProvisioningState, + * Defines values for PrivateEndpointConnectionProvisioningState. \ + * {@link KnownPrivateEndpointConnectionProvisioningState} can be used interchangeably with PrivateEndpointConnectionProvisioningState, * this enum contains the known values that the service supports. * ### Known values supported by the service - * **Creating** \ - * **Updating** \ - * **Failed** \ * **Succeeded** \ + * **Creating** \ * **Deleting** \ - * **Migrating** - */ -export type GalleryApplicationVersionPropertiesProvisioningState = string; - -/** Known values of {@link SharingUpdateOperationTypes} that the service accepts. */ -export enum KnownSharingUpdateOperationTypes { - Add = "Add", - Remove = "Remove", - Reset = "Reset", - EnableCommunity = "EnableCommunity" -} - -/** - * Defines values for SharingUpdateOperationTypes. \ - * {@link KnownSharingUpdateOperationTypes} can be used interchangeably with SharingUpdateOperationTypes, - * this enum contains the known values that the service supports. - * ### Known values supported by the service - * **Add** \ - * **Remove** \ - * **Reset** \ - * **EnableCommunity** + * **Failed** */ -export type SharingUpdateOperationTypes = string; +export type PrivateEndpointConnectionProvisioningState = string; /** Known values of {@link SharedToValues} that the service accepts. */ export enum KnownSharedToValues { @@ -7962,39 +7920,24 @@ export enum KnownAvailabilitySetSkuTypes { * **Aligned** */ export type AvailabilitySetSkuTypes = string; -/** Defines values for StatusLevelTypes. */ -export type StatusLevelTypes = "Info" | "Warning" | "Error"; -/** Defines values for InstanceViewTypes. */ -export type InstanceViewTypes = "instanceView" | "userData"; -/** Defines values for DedicatedHostLicenseTypes. */ -export type DedicatedHostLicenseTypes = - | "None" - | "Windows_Server_Hybrid" - | "Windows_Server_Perpetual"; -/** Defines values for OperatingSystemTypes. */ -export type OperatingSystemTypes = "Windows" | "Linux"; -/** Defines values for CachingTypes. */ -export type CachingTypes = "None" | "ReadOnly" | "ReadWrite"; +/** Defines values for UpgradeMode. */ +export type UpgradeMode = "Automatic" | "Manual" | "Rolling"; /** Defines values for SettingNames. */ export type SettingNames = "AutoLogon" | "FirstLogonCommands"; /** Defines values for ProtocolTypes. */ export type ProtocolTypes = "Http" | "Https"; -/** Defines values for MaintenanceOperationResultCodeTypes. */ -export type MaintenanceOperationResultCodeTypes = - | "None" - | "RetryLater" - | "MaintenanceAborted" - | "MaintenanceCompleted"; +/** Defines values for CachingTypes. */ +export type CachingTypes = "None" | "ReadOnly" | "ReadWrite"; +/** Defines values for OperatingSystemTypes. */ +export type OperatingSystemTypes = "Windows" | "Linux"; /** Defines values for ResourceIdentityType. */ export type ResourceIdentityType = | "SystemAssigned" | "UserAssigned" | "SystemAssigned, UserAssigned" | "None"; -/** Defines values for UpgradeMode. */ -export type UpgradeMode = "Automatic" | "Manual" | "Rolling"; -/** Defines values for OperatingSystemStateTypes. */ -export type OperatingSystemStateTypes = "Generalized" | "Specialized"; +/** Defines values for StatusLevelTypes. */ +export type StatusLevelTypes = "Info" | "Warning" | "Error"; /** Defines values for VirtualMachineScaleSetSkuScaleType. */ export type VirtualMachineScaleSetSkuScaleType = "Automatic" | "None"; /** Defines values for UpgradeState. */ @@ -8013,12 +7956,29 @@ export type RollingUpgradeStatusCode = | "Faulted"; /** Defines values for RollingUpgradeActionType. */ export type RollingUpgradeActionType = "Start" | "Cancel"; +/** Defines values for MaintenanceOperationResultCodeTypes. */ +export type MaintenanceOperationResultCodeTypes = + | "None" + | "RetryLater" + | "MaintenanceAborted" + | "MaintenanceCompleted"; +/** Defines values for InstanceViewTypes. */ +export type InstanceViewTypes = "instanceView" | "userData"; +/** Defines values for DedicatedHostLicenseTypes. */ +export type DedicatedHostLicenseTypes = + | "None" + | "Windows_Server_Hybrid" + | "Windows_Server_Perpetual"; +/** Defines values for OperatingSystemStateTypes. */ +export type OperatingSystemStateTypes = "Generalized" | "Specialized"; /** Defines values for IntervalInMins. */ export type IntervalInMins = | "ThreeMins" | "FiveMins" | "ThirtyMins" | "SixtyMins"; +/** Defines values for HostCaching. */ +export type HostCaching = "None" | "ReadOnly" | "ReadWrite"; /** Defines values for ResourceSkuCapacityScaleType. */ export type ResourceSkuCapacityScaleType = "Automatic" | "Manual" | "None"; /** Defines values for ResourceSkuRestrictionsType. */ @@ -8027,8 +7987,6 @@ export type ResourceSkuRestrictionsType = "Location" | "Zone"; export type ResourceSkuRestrictionsReasonCode = | "QuotaId" | "NotAvailableForSubscription"; -/** Defines values for HostCaching. */ -export type HostCaching = "None" | "ReadOnly" | "ReadWrite"; /** Optional parameters. */ export interface OperationsListOptionalParams @@ -8038,185 +7996,375 @@ export interface OperationsListOptionalParams export type OperationsListResponse = ComputeOperationListResult; /** Optional parameters. */ -export interface AvailabilitySetsCreateOrUpdateOptionalParams +export interface UsageListOptionalParams extends coreClient.OperationOptions {} + +/** Contains response data for the list operation. */ +export type UsageListResponse = ListUsagesResult; + +/** Optional parameters. */ +export interface UsageListNextOptionalParams extends coreClient.OperationOptions {} -/** Contains response data for the createOrUpdate operation. */ -export type AvailabilitySetsCreateOrUpdateResponse = AvailabilitySet; +/** Contains response data for the listNext operation. */ +export type UsageListNextResponse = ListUsagesResult; /** Optional parameters. */ -export interface AvailabilitySetsUpdateOptionalParams +export interface VirtualMachineSizesListOptionalParams extends coreClient.OperationOptions {} +/** Contains response data for the list operation. */ +export type VirtualMachineSizesListResponse = VirtualMachineSizeListResult; + +/** Optional parameters. */ +export interface VirtualMachineScaleSetsListByLocationOptionalParams + extends coreClient.OperationOptions {} + +/** Contains response data for the listByLocation operation. */ +export type VirtualMachineScaleSetsListByLocationResponse = VirtualMachineScaleSetListResult; + +/** Optional parameters. */ +export interface VirtualMachineScaleSetsCreateOrUpdateOptionalParams + extends coreClient.OperationOptions { + /** Delay to wait until next poll, in milliseconds. */ + updateIntervalInMs?: number; + /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */ + resumeFrom?: string; +} + +/** Contains response data for the createOrUpdate operation. */ +export type VirtualMachineScaleSetsCreateOrUpdateResponse = VirtualMachineScaleSet; + +/** Optional parameters. */ +export interface VirtualMachineScaleSetsUpdateOptionalParams + extends coreClient.OperationOptions { + /** Delay to wait until next poll, in milliseconds. */ + updateIntervalInMs?: number; + /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */ + resumeFrom?: string; +} + /** Contains response data for the update operation. */ -export type AvailabilitySetsUpdateResponse = AvailabilitySet; +export type VirtualMachineScaleSetsUpdateResponse = VirtualMachineScaleSet; + +/** Optional parameters. */ +export interface VirtualMachineScaleSetsDeleteOptionalParams + extends coreClient.OperationOptions { + /** Optional parameter to force delete a VM scale set. (Feature in Preview) */ + forceDeletion?: boolean; + /** Delay to wait until next poll, in milliseconds. */ + updateIntervalInMs?: number; + /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */ + resumeFrom?: string; +} + +/** Optional parameters. */ +export interface VirtualMachineScaleSetsGetOptionalParams + extends coreClient.OperationOptions { + /** The expand expression to apply on the operation. 'UserData' retrieves the UserData property of the VM scale set that was provided by the user during the VM scale set Create/Update operation */ + expand?: ExpandTypesForGetVMScaleSets; +} + +/** Contains response data for the get operation. */ +export type VirtualMachineScaleSetsGetResponse = VirtualMachineScaleSet; + +/** Optional parameters. */ +export interface VirtualMachineScaleSetsDeallocateOptionalParams + extends coreClient.OperationOptions { + /** A list of virtual machine instance IDs from the VM scale set. */ + vmInstanceIDs?: VirtualMachineScaleSetVMInstanceIDs; + /** Delay to wait until next poll, in milliseconds. */ + updateIntervalInMs?: number; + /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */ + resumeFrom?: string; +} + +/** Optional parameters. */ +export interface VirtualMachineScaleSetsDeleteInstancesOptionalParams + extends coreClient.OperationOptions { + /** Optional parameter to force delete virtual machines from the VM scale set. (Feature in Preview) */ + forceDeletion?: boolean; + /** Delay to wait until next poll, in milliseconds. */ + updateIntervalInMs?: number; + /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */ + resumeFrom?: string; +} + +/** Optional parameters. */ +export interface VirtualMachineScaleSetsGetInstanceViewOptionalParams + extends coreClient.OperationOptions {} + +/** Contains response data for the getInstanceView operation. */ +export type VirtualMachineScaleSetsGetInstanceViewResponse = VirtualMachineScaleSetInstanceView; + +/** Optional parameters. */ +export interface VirtualMachineScaleSetsListOptionalParams + extends coreClient.OperationOptions {} + +/** Contains response data for the list operation. */ +export type VirtualMachineScaleSetsListResponse = VirtualMachineScaleSetListResult; + +/** Optional parameters. */ +export interface VirtualMachineScaleSetsListAllOptionalParams + extends coreClient.OperationOptions {} + +/** Contains response data for the listAll operation. */ +export type VirtualMachineScaleSetsListAllResponse = VirtualMachineScaleSetListWithLinkResult; /** Optional parameters. */ -export interface AvailabilitySetsDeleteOptionalParams +export interface VirtualMachineScaleSetsListSkusOptionalParams extends coreClient.OperationOptions {} +/** Contains response data for the listSkus operation. */ +export type VirtualMachineScaleSetsListSkusResponse = VirtualMachineScaleSetListSkusResult; + /** Optional parameters. */ -export interface AvailabilitySetsGetOptionalParams +export interface VirtualMachineScaleSetsGetOSUpgradeHistoryOptionalParams extends coreClient.OperationOptions {} -/** Contains response data for the get operation. */ -export type AvailabilitySetsGetResponse = AvailabilitySet; +/** Contains response data for the getOSUpgradeHistory operation. */ +export type VirtualMachineScaleSetsGetOSUpgradeHistoryResponse = VirtualMachineScaleSetListOSUpgradeHistory; /** Optional parameters. */ -export interface AvailabilitySetsListBySubscriptionOptionalParams +export interface VirtualMachineScaleSetsPowerOffOptionalParams extends coreClient.OperationOptions { - /** The expand expression to apply to the operation. Allowed values are 'instanceView'. */ - expand?: string; + /** A list of virtual machine instance IDs from the VM scale set. */ + vmInstanceIDs?: VirtualMachineScaleSetVMInstanceIDs; + /** The parameter to request non-graceful VM shutdown. True value for this flag indicates non-graceful shutdown whereas false indicates otherwise. Default value for this flag is false if not specified */ + skipShutdown?: boolean; + /** Delay to wait until next poll, in milliseconds. */ + updateIntervalInMs?: number; + /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */ + resumeFrom?: string; } -/** Contains response data for the listBySubscription operation. */ -export type AvailabilitySetsListBySubscriptionResponse = AvailabilitySetListResult; - /** Optional parameters. */ -export interface AvailabilitySetsListOptionalParams - extends coreClient.OperationOptions {} - -/** Contains response data for the list operation. */ -export type AvailabilitySetsListResponse = AvailabilitySetListResult; +export interface VirtualMachineScaleSetsRestartOptionalParams + extends coreClient.OperationOptions { + /** A list of virtual machine instance IDs from the VM scale set. */ + vmInstanceIDs?: VirtualMachineScaleSetVMInstanceIDs; + /** Delay to wait until next poll, in milliseconds. */ + updateIntervalInMs?: number; + /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */ + resumeFrom?: string; +} /** Optional parameters. */ -export interface AvailabilitySetsListAvailableSizesOptionalParams - extends coreClient.OperationOptions {} - -/** Contains response data for the listAvailableSizes operation. */ -export type AvailabilitySetsListAvailableSizesResponse = VirtualMachineSizeListResult; +export interface VirtualMachineScaleSetsStartOptionalParams + extends coreClient.OperationOptions { + /** A list of virtual machine instance IDs from the VM scale set. */ + vmInstanceIDs?: VirtualMachineScaleSetVMInstanceIDs; + /** Delay to wait until next poll, in milliseconds. */ + updateIntervalInMs?: number; + /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */ + resumeFrom?: string; +} /** Optional parameters. */ -export interface AvailabilitySetsListBySubscriptionNextOptionalParams +export interface VirtualMachineScaleSetsRedeployOptionalParams extends coreClient.OperationOptions { - /** The expand expression to apply to the operation. Allowed values are 'instanceView'. */ - expand?: string; + /** A list of virtual machine instance IDs from the VM scale set. */ + vmInstanceIDs?: VirtualMachineScaleSetVMInstanceIDs; + /** Delay to wait until next poll, in milliseconds. */ + updateIntervalInMs?: number; + /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */ + resumeFrom?: string; } -/** Contains response data for the listBySubscriptionNext operation. */ -export type AvailabilitySetsListBySubscriptionNextResponse = AvailabilitySetListResult; - /** Optional parameters. */ -export interface AvailabilitySetsListNextOptionalParams - extends coreClient.OperationOptions {} +export interface VirtualMachineScaleSetsPerformMaintenanceOptionalParams + extends coreClient.OperationOptions { + /** A list of virtual machine instance IDs from the VM scale set. */ + vmInstanceIDs?: VirtualMachineScaleSetVMInstanceIDs; + /** Delay to wait until next poll, in milliseconds. */ + updateIntervalInMs?: number; + /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */ + resumeFrom?: string; +} -/** Contains response data for the listNext operation. */ -export type AvailabilitySetsListNextResponse = AvailabilitySetListResult; +/** Optional parameters. */ +export interface VirtualMachineScaleSetsUpdateInstancesOptionalParams + extends coreClient.OperationOptions { + /** Delay to wait until next poll, in milliseconds. */ + updateIntervalInMs?: number; + /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */ + resumeFrom?: string; +} /** Optional parameters. */ -export interface ProximityPlacementGroupsCreateOrUpdateOptionalParams - extends coreClient.OperationOptions {} +export interface VirtualMachineScaleSetsReimageOptionalParams + extends coreClient.OperationOptions { + /** Parameters for Reimaging VM ScaleSet. */ + vmScaleSetReimageInput?: VirtualMachineScaleSetReimageParameters; + /** Delay to wait until next poll, in milliseconds. */ + updateIntervalInMs?: number; + /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */ + resumeFrom?: string; +} -/** Contains response data for the createOrUpdate operation. */ -export type ProximityPlacementGroupsCreateOrUpdateResponse = ProximityPlacementGroup; +/** Optional parameters. */ +export interface VirtualMachineScaleSetsReimageAllOptionalParams + extends coreClient.OperationOptions { + /** A list of virtual machine instance IDs from the VM scale set. */ + vmInstanceIDs?: VirtualMachineScaleSetVMInstanceIDs; + /** Delay to wait until next poll, in milliseconds. */ + updateIntervalInMs?: number; + /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */ + resumeFrom?: string; +} /** Optional parameters. */ -export interface ProximityPlacementGroupsUpdateOptionalParams - extends coreClient.OperationOptions {} +export interface VirtualMachineScaleSetsForceRecoveryServiceFabricPlatformUpdateDomainWalkOptionalParams + extends coreClient.OperationOptions { + /** The zone in which the manual recovery walk is requested for cross zone virtual machine scale set */ + zone?: string; + /** The placement group id for which the manual recovery walk is requested. */ + placementGroupId?: string; +} -/** Contains response data for the update operation. */ -export type ProximityPlacementGroupsUpdateResponse = ProximityPlacementGroup; +/** Contains response data for the forceRecoveryServiceFabricPlatformUpdateDomainWalk operation. */ +export type VirtualMachineScaleSetsForceRecoveryServiceFabricPlatformUpdateDomainWalkResponse = RecoveryWalkResponse; /** Optional parameters. */ -export interface ProximityPlacementGroupsDeleteOptionalParams +export interface VirtualMachineScaleSetsConvertToSinglePlacementGroupOptionalParams extends coreClient.OperationOptions {} /** Optional parameters. */ -export interface ProximityPlacementGroupsGetOptionalParams +export interface VirtualMachineScaleSetsSetOrchestrationServiceStateOptionalParams extends coreClient.OperationOptions { - /** includeColocationStatus=true enables fetching the colocation status of all the resources in the proximity placement group. */ - includeColocationStatus?: string; + /** Delay to wait until next poll, in milliseconds. */ + updateIntervalInMs?: number; + /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */ + resumeFrom?: string; } -/** Contains response data for the get operation. */ -export type ProximityPlacementGroupsGetResponse = ProximityPlacementGroup; - /** Optional parameters. */ -export interface ProximityPlacementGroupsListBySubscriptionOptionalParams +export interface VirtualMachineScaleSetsListByLocationNextOptionalParams extends coreClient.OperationOptions {} -/** Contains response data for the listBySubscription operation. */ -export type ProximityPlacementGroupsListBySubscriptionResponse = ProximityPlacementGroupListResult; +/** Contains response data for the listByLocationNext operation. */ +export type VirtualMachineScaleSetsListByLocationNextResponse = VirtualMachineScaleSetListResult; /** Optional parameters. */ -export interface ProximityPlacementGroupsListByResourceGroupOptionalParams +export interface VirtualMachineScaleSetsListNextOptionalParams extends coreClient.OperationOptions {} -/** Contains response data for the listByResourceGroup operation. */ -export type ProximityPlacementGroupsListByResourceGroupResponse = ProximityPlacementGroupListResult; +/** Contains response data for the listNext operation. */ +export type VirtualMachineScaleSetsListNextResponse = VirtualMachineScaleSetListResult; /** Optional parameters. */ -export interface ProximityPlacementGroupsListBySubscriptionNextOptionalParams +export interface VirtualMachineScaleSetsListAllNextOptionalParams extends coreClient.OperationOptions {} -/** Contains response data for the listBySubscriptionNext operation. */ -export type ProximityPlacementGroupsListBySubscriptionNextResponse = ProximityPlacementGroupListResult; +/** Contains response data for the listAllNext operation. */ +export type VirtualMachineScaleSetsListAllNextResponse = VirtualMachineScaleSetListWithLinkResult; /** Optional parameters. */ -export interface ProximityPlacementGroupsListByResourceGroupNextOptionalParams +export interface VirtualMachineScaleSetsListSkusNextOptionalParams extends coreClient.OperationOptions {} -/** Contains response data for the listByResourceGroupNext operation. */ -export type ProximityPlacementGroupsListByResourceGroupNextResponse = ProximityPlacementGroupListResult; +/** Contains response data for the listSkusNext operation. */ +export type VirtualMachineScaleSetsListSkusNextResponse = VirtualMachineScaleSetListSkusResult; /** Optional parameters. */ -export interface DedicatedHostGroupsCreateOrUpdateOptionalParams +export interface VirtualMachineScaleSetsGetOSUpgradeHistoryNextOptionalParams extends coreClient.OperationOptions {} +/** Contains response data for the getOSUpgradeHistoryNext operation. */ +export type VirtualMachineScaleSetsGetOSUpgradeHistoryNextResponse = VirtualMachineScaleSetListOSUpgradeHistory; + +/** Optional parameters. */ +export interface VirtualMachineScaleSetExtensionsCreateOrUpdateOptionalParams + extends coreClient.OperationOptions { + /** Delay to wait until next poll, in milliseconds. */ + updateIntervalInMs?: number; + /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */ + resumeFrom?: string; +} + /** Contains response data for the createOrUpdate operation. */ -export type DedicatedHostGroupsCreateOrUpdateResponse = DedicatedHostGroup; +export type VirtualMachineScaleSetExtensionsCreateOrUpdateResponse = VirtualMachineScaleSetExtension; /** Optional parameters. */ -export interface DedicatedHostGroupsUpdateOptionalParams - extends coreClient.OperationOptions {} +export interface VirtualMachineScaleSetExtensionsUpdateOptionalParams + extends coreClient.OperationOptions { + /** Delay to wait until next poll, in milliseconds. */ + updateIntervalInMs?: number; + /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */ + resumeFrom?: string; +} /** Contains response data for the update operation. */ -export type DedicatedHostGroupsUpdateResponse = DedicatedHostGroup; +export type VirtualMachineScaleSetExtensionsUpdateResponse = VirtualMachineScaleSetExtension; /** Optional parameters. */ -export interface DedicatedHostGroupsDeleteOptionalParams - extends coreClient.OperationOptions {} +export interface VirtualMachineScaleSetExtensionsDeleteOptionalParams + extends coreClient.OperationOptions { + /** Delay to wait until next poll, in milliseconds. */ + updateIntervalInMs?: number; + /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */ + resumeFrom?: string; +} /** Optional parameters. */ -export interface DedicatedHostGroupsGetOptionalParams +export interface VirtualMachineScaleSetExtensionsGetOptionalParams extends coreClient.OperationOptions { - /** The expand expression to apply on the operation. 'InstanceView' will retrieve the list of instance views of the dedicated hosts under the dedicated host group. 'UserData' is not supported for dedicated host group. */ - expand?: InstanceViewTypes; + /** The expand expression to apply on the operation. */ + expand?: string; } /** Contains response data for the get operation. */ -export type DedicatedHostGroupsGetResponse = DedicatedHostGroup; +export type VirtualMachineScaleSetExtensionsGetResponse = VirtualMachineScaleSetExtension; /** Optional parameters. */ -export interface DedicatedHostGroupsListByResourceGroupOptionalParams +export interface VirtualMachineScaleSetExtensionsListOptionalParams extends coreClient.OperationOptions {} -/** Contains response data for the listByResourceGroup operation. */ -export type DedicatedHostGroupsListByResourceGroupResponse = DedicatedHostGroupListResult; +/** Contains response data for the list operation. */ +export type VirtualMachineScaleSetExtensionsListResponse = VirtualMachineScaleSetExtensionListResult; /** Optional parameters. */ -export interface DedicatedHostGroupsListBySubscriptionOptionalParams +export interface VirtualMachineScaleSetExtensionsListNextOptionalParams extends coreClient.OperationOptions {} -/** Contains response data for the listBySubscription operation. */ -export type DedicatedHostGroupsListBySubscriptionResponse = DedicatedHostGroupListResult; +/** Contains response data for the listNext operation. */ +export type VirtualMachineScaleSetExtensionsListNextResponse = VirtualMachineScaleSetExtensionListResult; /** Optional parameters. */ -export interface DedicatedHostGroupsListByResourceGroupNextOptionalParams - extends coreClient.OperationOptions {} +export interface VirtualMachineScaleSetRollingUpgradesCancelOptionalParams + extends coreClient.OperationOptions { + /** Delay to wait until next poll, in milliseconds. */ + updateIntervalInMs?: number; + /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */ + resumeFrom?: string; +} -/** Contains response data for the listByResourceGroupNext operation. */ -export type DedicatedHostGroupsListByResourceGroupNextResponse = DedicatedHostGroupListResult; +/** Optional parameters. */ +export interface VirtualMachineScaleSetRollingUpgradesStartOSUpgradeOptionalParams + extends coreClient.OperationOptions { + /** Delay to wait until next poll, in milliseconds. */ + updateIntervalInMs?: number; + /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */ + resumeFrom?: string; +} /** Optional parameters. */ -export interface DedicatedHostGroupsListBySubscriptionNextOptionalParams +export interface VirtualMachineScaleSetRollingUpgradesStartExtensionUpgradeOptionalParams + extends coreClient.OperationOptions { + /** Delay to wait until next poll, in milliseconds. */ + updateIntervalInMs?: number; + /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */ + resumeFrom?: string; +} + +/** Optional parameters. */ +export interface VirtualMachineScaleSetRollingUpgradesGetLatestOptionalParams extends coreClient.OperationOptions {} -/** Contains response data for the listBySubscriptionNext operation. */ -export type DedicatedHostGroupsListBySubscriptionNextResponse = DedicatedHostGroupListResult; +/** Contains response data for the getLatest operation. */ +export type VirtualMachineScaleSetRollingUpgradesGetLatestResponse = RollingUpgradeStatusInfo; /** Optional parameters. */ -export interface DedicatedHostsCreateOrUpdateOptionalParams +export interface VirtualMachineScaleSetVMExtensionsCreateOrUpdateOptionalParams extends coreClient.OperationOptions { /** Delay to wait until next poll, in milliseconds. */ updateIntervalInMs?: number; @@ -8225,10 +8373,10 @@ export interface DedicatedHostsCreateOrUpdateOptionalParams } /** Contains response data for the createOrUpdate operation. */ -export type DedicatedHostsCreateOrUpdateResponse = DedicatedHost; +export type VirtualMachineScaleSetVMExtensionsCreateOrUpdateResponse = VirtualMachineScaleSetVMExtension; /** Optional parameters. */ -export interface DedicatedHostsUpdateOptionalParams +export interface VirtualMachineScaleSetVMExtensionsUpdateOptionalParams extends coreClient.OperationOptions { /** Delay to wait until next poll, in milliseconds. */ updateIntervalInMs?: number; @@ -8237,10 +8385,10 @@ export interface DedicatedHostsUpdateOptionalParams } /** Contains response data for the update operation. */ -export type DedicatedHostsUpdateResponse = DedicatedHost; +export type VirtualMachineScaleSetVMExtensionsUpdateResponse = VirtualMachineScaleSetVMExtension; /** Optional parameters. */ -export interface DedicatedHostsDeleteOptionalParams +export interface VirtualMachineScaleSetVMExtensionsDeleteOptionalParams extends coreClient.OperationOptions { /** Delay to wait until next poll, in milliseconds. */ updateIntervalInMs?: number; @@ -8249,25 +8397,30 @@ export interface DedicatedHostsDeleteOptionalParams } /** Optional parameters. */ -export interface DedicatedHostsGetOptionalParams +export interface VirtualMachineScaleSetVMExtensionsGetOptionalParams extends coreClient.OperationOptions { - /** The expand expression to apply on the operation. 'InstanceView' will retrieve the list of instance views of the dedicated host. 'UserData' is not supported for dedicated host. */ - expand?: InstanceViewTypes; + /** The expand expression to apply on the operation. */ + expand?: string; } /** Contains response data for the get operation. */ -export type DedicatedHostsGetResponse = DedicatedHost; +export type VirtualMachineScaleSetVMExtensionsGetResponse = VirtualMachineScaleSetVMExtension; /** Optional parameters. */ -export interface DedicatedHostsListByHostGroupOptionalParams - extends coreClient.OperationOptions {} +export interface VirtualMachineScaleSetVMExtensionsListOptionalParams + extends coreClient.OperationOptions { + /** The expand expression to apply on the operation. */ + expand?: string; +} -/** Contains response data for the listByHostGroup operation. */ -export type DedicatedHostsListByHostGroupResponse = DedicatedHostListResult; +/** Contains response data for the list operation. */ +export type VirtualMachineScaleSetVMExtensionsListResponse = VirtualMachineScaleSetVMExtensionsListResult; /** Optional parameters. */ -export interface DedicatedHostsRestartOptionalParams +export interface VirtualMachineScaleSetVMsReimageOptionalParams extends coreClient.OperationOptions { + /** Parameters for the Reimaging Virtual machine in ScaleSet. */ + vmScaleSetVMReimageInput?: VirtualMachineScaleSetVMReimageParameters; /** Delay to wait until next poll, in milliseconds. */ updateIntervalInMs?: number; /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */ @@ -8275,112 +8428,90 @@ export interface DedicatedHostsRestartOptionalParams } /** Optional parameters. */ -export interface DedicatedHostsListByHostGroupNextOptionalParams - extends coreClient.OperationOptions {} - -/** Contains response data for the listByHostGroupNext operation. */ -export type DedicatedHostsListByHostGroupNextResponse = DedicatedHostListResult; - -/** Optional parameters. */ -export interface SshPublicKeysListBySubscriptionOptionalParams - extends coreClient.OperationOptions {} - -/** Contains response data for the listBySubscription operation. */ -export type SshPublicKeysListBySubscriptionResponse = SshPublicKeysGroupListResult; - -/** Optional parameters. */ -export interface SshPublicKeysListByResourceGroupOptionalParams - extends coreClient.OperationOptions {} - -/** Contains response data for the listByResourceGroup operation. */ -export type SshPublicKeysListByResourceGroupResponse = SshPublicKeysGroupListResult; +export interface VirtualMachineScaleSetVMsReimageAllOptionalParams + extends coreClient.OperationOptions { + /** Delay to wait until next poll, in milliseconds. */ + updateIntervalInMs?: number; + /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */ + resumeFrom?: string; +} /** Optional parameters. */ -export interface SshPublicKeysCreateOptionalParams - extends coreClient.OperationOptions {} - -/** Contains response data for the create operation. */ -export type SshPublicKeysCreateResponse = SshPublicKeyResource; +export interface VirtualMachineScaleSetVMsDeallocateOptionalParams + extends coreClient.OperationOptions { + /** Delay to wait until next poll, in milliseconds. */ + updateIntervalInMs?: number; + /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */ + resumeFrom?: string; +} /** Optional parameters. */ -export interface SshPublicKeysUpdateOptionalParams - extends coreClient.OperationOptions {} +export interface VirtualMachineScaleSetVMsUpdateOptionalParams + extends coreClient.OperationOptions { + /** Delay to wait until next poll, in milliseconds. */ + updateIntervalInMs?: number; + /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */ + resumeFrom?: string; +} /** Contains response data for the update operation. */ -export type SshPublicKeysUpdateResponse = SshPublicKeyResource; - -/** Optional parameters. */ -export interface SshPublicKeysDeleteOptionalParams - extends coreClient.OperationOptions {} - -/** Optional parameters. */ -export interface SshPublicKeysGetOptionalParams - extends coreClient.OperationOptions {} - -/** Contains response data for the get operation. */ -export type SshPublicKeysGetResponse = SshPublicKeyResource; - -/** Optional parameters. */ -export interface SshPublicKeysGenerateKeyPairOptionalParams - extends coreClient.OperationOptions {} - -/** Contains response data for the generateKeyPair operation. */ -export type SshPublicKeysGenerateKeyPairResponse = SshPublicKeyGenerateKeyPairResult; - -/** Optional parameters. */ -export interface SshPublicKeysListBySubscriptionNextOptionalParams - extends coreClient.OperationOptions {} - -/** Contains response data for the listBySubscriptionNext operation. */ -export type SshPublicKeysListBySubscriptionNextResponse = SshPublicKeysGroupListResult; +export type VirtualMachineScaleSetVMsUpdateResponse = VirtualMachineScaleSetVM; /** Optional parameters. */ -export interface SshPublicKeysListByResourceGroupNextOptionalParams - extends coreClient.OperationOptions {} - -/** Contains response data for the listByResourceGroupNext operation. */ -export type SshPublicKeysListByResourceGroupNextResponse = SshPublicKeysGroupListResult; +export interface VirtualMachineScaleSetVMsDeleteOptionalParams + extends coreClient.OperationOptions { + /** Optional parameter to force delete a virtual machine from a VM scale set. (Feature in Preview) */ + forceDeletion?: boolean; + /** Delay to wait until next poll, in milliseconds. */ + updateIntervalInMs?: number; + /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */ + resumeFrom?: string; +} /** Optional parameters. */ -export interface VirtualMachineExtensionImagesGetOptionalParams - extends coreClient.OperationOptions {} +export interface VirtualMachineScaleSetVMsGetOptionalParams + extends coreClient.OperationOptions { + /** The expand expression to apply on the operation. 'InstanceView' will retrieve the instance view of the virtual machine. 'UserData' will retrieve the UserData of the virtual machine. */ + expand?: InstanceViewTypes; +} /** Contains response data for the get operation. */ -export type VirtualMachineExtensionImagesGetResponse = VirtualMachineExtensionImage; +export type VirtualMachineScaleSetVMsGetResponse = VirtualMachineScaleSetVM; /** Optional parameters. */ -export interface VirtualMachineExtensionImagesListTypesOptionalParams +export interface VirtualMachineScaleSetVMsGetInstanceViewOptionalParams extends coreClient.OperationOptions {} -/** Contains response data for the listTypes operation. */ -export type VirtualMachineExtensionImagesListTypesResponse = VirtualMachineExtensionImage[]; +/** Contains response data for the getInstanceView operation. */ +export type VirtualMachineScaleSetVMsGetInstanceViewResponse = VirtualMachineScaleSetVMInstanceView; /** Optional parameters. */ -export interface VirtualMachineExtensionImagesListVersionsOptionalParams +export interface VirtualMachineScaleSetVMsListOptionalParams extends coreClient.OperationOptions { - /** The filter to apply on the operation. */ + /** The expand expression to apply to the operation. Allowed values are 'instanceView'. */ + expand?: string; + /** The filter to apply to the operation. Allowed values are 'startswith(instanceView/statuses/code, 'PowerState') eq true', 'properties/latestModelApplied eq true', 'properties/latestModelApplied eq false'. */ filter?: string; - top?: number; - orderby?: string; + /** The list parameters. Allowed values are 'instanceView', 'instanceView/statuses'. */ + select?: string; } -/** Contains response data for the listVersions operation. */ -export type VirtualMachineExtensionImagesListVersionsResponse = VirtualMachineExtensionImage[]; +/** Contains response data for the list operation. */ +export type VirtualMachineScaleSetVMsListResponse = VirtualMachineScaleSetVMListResult; /** Optional parameters. */ -export interface VirtualMachineExtensionsCreateOrUpdateOptionalParams +export interface VirtualMachineScaleSetVMsPowerOffOptionalParams extends coreClient.OperationOptions { + /** The parameter to request non-graceful VM shutdown. True value for this flag indicates non-graceful shutdown whereas false indicates otherwise. Default value for this flag is false if not specified */ + skipShutdown?: boolean; /** Delay to wait until next poll, in milliseconds. */ updateIntervalInMs?: number; /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */ resumeFrom?: string; } -/** Contains response data for the createOrUpdate operation. */ -export type VirtualMachineExtensionsCreateOrUpdateResponse = VirtualMachineExtension; - /** Optional parameters. */ -export interface VirtualMachineExtensionsUpdateOptionalParams +export interface VirtualMachineScaleSetVMsRestartOptionalParams extends coreClient.OperationOptions { /** Delay to wait until next poll, in milliseconds. */ updateIntervalInMs?: number; @@ -8388,11 +8519,8 @@ export interface VirtualMachineExtensionsUpdateOptionalParams resumeFrom?: string; } -/** Contains response data for the update operation. */ -export type VirtualMachineExtensionsUpdateResponse = VirtualMachineExtension; - /** Optional parameters. */ -export interface VirtualMachineExtensionsDeleteOptionalParams +export interface VirtualMachineScaleSetVMsStartOptionalParams extends coreClient.OperationOptions { /** Delay to wait until next poll, in milliseconds. */ updateIntervalInMs?: number; @@ -8401,119 +8529,115 @@ export interface VirtualMachineExtensionsDeleteOptionalParams } /** Optional parameters. */ -export interface VirtualMachineExtensionsGetOptionalParams +export interface VirtualMachineScaleSetVMsRedeployOptionalParams extends coreClient.OperationOptions { - /** The expand expression to apply on the operation. */ - expand?: string; + /** Delay to wait until next poll, in milliseconds. */ + updateIntervalInMs?: number; + /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */ + resumeFrom?: string; } -/** Contains response data for the get operation. */ -export type VirtualMachineExtensionsGetResponse = VirtualMachineExtension; - /** Optional parameters. */ -export interface VirtualMachineExtensionsListOptionalParams +export interface VirtualMachineScaleSetVMsRetrieveBootDiagnosticsDataOptionalParams extends coreClient.OperationOptions { - /** The expand expression to apply on the operation. */ - expand?: string; + /** Expiration duration in minutes for the SAS URIs with a value between 1 to 1440 minutes.

    NOTE: If not specified, SAS URIs will be generated with a default expiration duration of 120 minutes. */ + sasUriExpirationTimeInMinutes?: number; } -/** Contains response data for the list operation. */ -export type VirtualMachineExtensionsListResponse = VirtualMachineExtensionsListResult; - -/** Optional parameters. */ -export interface VirtualMachineImagesGetOptionalParams - extends coreClient.OperationOptions {} - -/** Contains response data for the get operation. */ -export type VirtualMachineImagesGetResponse = VirtualMachineImage; +/** Contains response data for the retrieveBootDiagnosticsData operation. */ +export type VirtualMachineScaleSetVMsRetrieveBootDiagnosticsDataResponse = RetrieveBootDiagnosticsDataResult; /** Optional parameters. */ -export interface VirtualMachineImagesListOptionalParams +export interface VirtualMachineScaleSetVMsPerformMaintenanceOptionalParams extends coreClient.OperationOptions { - /** The expand expression to apply on the operation. */ - expand?: string; - top?: number; - orderby?: string; + /** Delay to wait until next poll, in milliseconds. */ + updateIntervalInMs?: number; + /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */ + resumeFrom?: string; } -/** Contains response data for the list operation. */ -export type VirtualMachineImagesListResponse = VirtualMachineImageResource[]; - -/** Optional parameters. */ -export interface VirtualMachineImagesListOffersOptionalParams - extends coreClient.OperationOptions {} - -/** Contains response data for the listOffers operation. */ -export type VirtualMachineImagesListOffersResponse = VirtualMachineImageResource[]; - /** Optional parameters. */ -export interface VirtualMachineImagesListPublishersOptionalParams - extends coreClient.OperationOptions {} - -/** Contains response data for the listPublishers operation. */ -export type VirtualMachineImagesListPublishersResponse = VirtualMachineImageResource[]; - -/** Optional parameters. */ -export interface VirtualMachineImagesListSkusOptionalParams +export interface VirtualMachineScaleSetVMsSimulateEvictionOptionalParams extends coreClient.OperationOptions {} -/** Contains response data for the listSkus operation. */ -export type VirtualMachineImagesListSkusResponse = VirtualMachineImageResource[]; - /** Optional parameters. */ -export interface VirtualMachineImagesEdgeZoneGetOptionalParams - extends coreClient.OperationOptions {} +export interface VirtualMachineScaleSetVMsRunCommandOptionalParams + extends coreClient.OperationOptions { + /** Delay to wait until next poll, in milliseconds. */ + updateIntervalInMs?: number; + /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */ + resumeFrom?: string; +} -/** Contains response data for the get operation. */ -export type VirtualMachineImagesEdgeZoneGetResponse = VirtualMachineImage; +/** Contains response data for the runCommand operation. */ +export type VirtualMachineScaleSetVMsRunCommandResponse = RunCommandResult; /** Optional parameters. */ -export interface VirtualMachineImagesEdgeZoneListOptionalParams +export interface VirtualMachineScaleSetVMsListNextOptionalParams extends coreClient.OperationOptions { - /** The expand expression to apply on the operation. */ + /** The expand expression to apply to the operation. Allowed values are 'instanceView'. */ expand?: string; - /** An integer value specifying the number of images to return that matches supplied values. */ - top?: number; - /** Specifies the order of the results returned. Formatted as an OData query. */ - orderby?: string; + /** The filter to apply to the operation. Allowed values are 'startswith(instanceView/statuses/code, 'PowerState') eq true', 'properties/latestModelApplied eq true', 'properties/latestModelApplied eq false'. */ + filter?: string; + /** The list parameters. Allowed values are 'instanceView', 'instanceView/statuses'. */ + select?: string; } -/** Contains response data for the list operation. */ -export type VirtualMachineImagesEdgeZoneListResponse = VirtualMachineImageResource[]; +/** Contains response data for the listNext operation. */ +export type VirtualMachineScaleSetVMsListNextResponse = VirtualMachineScaleSetVMListResult; /** Optional parameters. */ -export interface VirtualMachineImagesEdgeZoneListOffersOptionalParams - extends coreClient.OperationOptions {} +export interface VirtualMachineExtensionsCreateOrUpdateOptionalParams + extends coreClient.OperationOptions { + /** Delay to wait until next poll, in milliseconds. */ + updateIntervalInMs?: number; + /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */ + resumeFrom?: string; +} -/** Contains response data for the listOffers operation. */ -export type VirtualMachineImagesEdgeZoneListOffersResponse = VirtualMachineImageResource[]; +/** Contains response data for the createOrUpdate operation. */ +export type VirtualMachineExtensionsCreateOrUpdateResponse = VirtualMachineExtension; /** Optional parameters. */ -export interface VirtualMachineImagesEdgeZoneListPublishersOptionalParams - extends coreClient.OperationOptions {} +export interface VirtualMachineExtensionsUpdateOptionalParams + extends coreClient.OperationOptions { + /** Delay to wait until next poll, in milliseconds. */ + updateIntervalInMs?: number; + /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */ + resumeFrom?: string; +} -/** Contains response data for the listPublishers operation. */ -export type VirtualMachineImagesEdgeZoneListPublishersResponse = VirtualMachineImageResource[]; +/** Contains response data for the update operation. */ +export type VirtualMachineExtensionsUpdateResponse = VirtualMachineExtension; /** Optional parameters. */ -export interface VirtualMachineImagesEdgeZoneListSkusOptionalParams - extends coreClient.OperationOptions {} - -/** Contains response data for the listSkus operation. */ -export type VirtualMachineImagesEdgeZoneListSkusResponse = VirtualMachineImageResource[]; +export interface VirtualMachineExtensionsDeleteOptionalParams + extends coreClient.OperationOptions { + /** Delay to wait until next poll, in milliseconds. */ + updateIntervalInMs?: number; + /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */ + resumeFrom?: string; +} /** Optional parameters. */ -export interface UsageListOptionalParams extends coreClient.OperationOptions {} +export interface VirtualMachineExtensionsGetOptionalParams + extends coreClient.OperationOptions { + /** The expand expression to apply on the operation. */ + expand?: string; +} -/** Contains response data for the list operation. */ -export type UsageListResponse = ListUsagesResult; +/** Contains response data for the get operation. */ +export type VirtualMachineExtensionsGetResponse = VirtualMachineExtension; /** Optional parameters. */ -export interface UsageListNextOptionalParams - extends coreClient.OperationOptions {} +export interface VirtualMachineExtensionsListOptionalParams + extends coreClient.OperationOptions { + /** The expand expression to apply on the operation. */ + expand?: string; +} -/** Contains response data for the listNext operation. */ -export type UsageListNextResponse = ListUsagesResult; +/** Contains response data for the list operation. */ +export type VirtualMachineExtensionsListResponse = VirtualMachineExtensionsListResult; /** Optional parameters. */ export interface VirtualMachinesListByLocationOptionalParams @@ -8786,500 +8910,293 @@ export interface VirtualMachinesListAllNextOptionalParams export type VirtualMachinesListAllNextResponse = VirtualMachineListResult; /** Optional parameters. */ -export interface VirtualMachineScaleSetsListByLocationOptionalParams +export interface VirtualMachineImagesGetOptionalParams extends coreClient.OperationOptions {} -/** Contains response data for the listByLocation operation. */ -export type VirtualMachineScaleSetsListByLocationResponse = VirtualMachineScaleSetListResult; - -/** Optional parameters. */ -export interface VirtualMachineScaleSetsCreateOrUpdateOptionalParams - extends coreClient.OperationOptions { - /** Delay to wait until next poll, in milliseconds. */ - updateIntervalInMs?: number; - /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */ - resumeFrom?: string; -} - -/** Contains response data for the createOrUpdate operation. */ -export type VirtualMachineScaleSetsCreateOrUpdateResponse = VirtualMachineScaleSet; - -/** Optional parameters. */ -export interface VirtualMachineScaleSetsUpdateOptionalParams - extends coreClient.OperationOptions { - /** Delay to wait until next poll, in milliseconds. */ - updateIntervalInMs?: number; - /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */ - resumeFrom?: string; -} - -/** Contains response data for the update operation. */ -export type VirtualMachineScaleSetsUpdateResponse = VirtualMachineScaleSet; - -/** Optional parameters. */ -export interface VirtualMachineScaleSetsDeleteOptionalParams - extends coreClient.OperationOptions { - /** Optional parameter to force delete a VM scale set. (Feature in Preview) */ - forceDeletion?: boolean; - /** Delay to wait until next poll, in milliseconds. */ - updateIntervalInMs?: number; - /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */ - resumeFrom?: string; -} - -/** Optional parameters. */ -export interface VirtualMachineScaleSetsGetOptionalParams - extends coreClient.OperationOptions { - /** The expand expression to apply on the operation. 'UserData' retrieves the UserData property of the VM scale set that was provided by the user during the VM scale set Create/Update operation */ - expand?: ExpandTypesForGetVMScaleSets; -} - /** Contains response data for the get operation. */ -export type VirtualMachineScaleSetsGetResponse = VirtualMachineScaleSet; - -/** Optional parameters. */ -export interface VirtualMachineScaleSetsDeallocateOptionalParams - extends coreClient.OperationOptions { - /** A list of virtual machine instance IDs from the VM scale set. */ - vmInstanceIDs?: VirtualMachineScaleSetVMInstanceIDs; - /** Delay to wait until next poll, in milliseconds. */ - updateIntervalInMs?: number; - /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */ - resumeFrom?: string; -} - -/** Optional parameters. */ -export interface VirtualMachineScaleSetsDeleteInstancesOptionalParams - extends coreClient.OperationOptions { - /** Optional parameter to force delete virtual machines from the VM scale set. (Feature in Preview) */ - forceDeletion?: boolean; - /** Delay to wait until next poll, in milliseconds. */ - updateIntervalInMs?: number; - /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */ - resumeFrom?: string; -} - -/** Optional parameters. */ -export interface VirtualMachineScaleSetsGetInstanceViewOptionalParams - extends coreClient.OperationOptions {} - -/** Contains response data for the getInstanceView operation. */ -export type VirtualMachineScaleSetsGetInstanceViewResponse = VirtualMachineScaleSetInstanceView; - -/** Optional parameters. */ -export interface VirtualMachineScaleSetsListOptionalParams - extends coreClient.OperationOptions {} - -/** Contains response data for the list operation. */ -export type VirtualMachineScaleSetsListResponse = VirtualMachineScaleSetListResult; - -/** Optional parameters. */ -export interface VirtualMachineScaleSetsListAllOptionalParams - extends coreClient.OperationOptions {} - -/** Contains response data for the listAll operation. */ -export type VirtualMachineScaleSetsListAllResponse = VirtualMachineScaleSetListWithLinkResult; - -/** Optional parameters. */ -export interface VirtualMachineScaleSetsListSkusOptionalParams - extends coreClient.OperationOptions {} - -/** Contains response data for the listSkus operation. */ -export type VirtualMachineScaleSetsListSkusResponse = VirtualMachineScaleSetListSkusResult; - -/** Optional parameters. */ -export interface VirtualMachineScaleSetsGetOSUpgradeHistoryOptionalParams - extends coreClient.OperationOptions {} - -/** Contains response data for the getOSUpgradeHistory operation. */ -export type VirtualMachineScaleSetsGetOSUpgradeHistoryResponse = VirtualMachineScaleSetListOSUpgradeHistory; - -/** Optional parameters. */ -export interface VirtualMachineScaleSetsPowerOffOptionalParams - extends coreClient.OperationOptions { - /** The parameter to request non-graceful VM shutdown. True value for this flag indicates non-graceful shutdown whereas false indicates otherwise. Default value for this flag is false if not specified */ - skipShutdown?: boolean; - /** A list of virtual machine instance IDs from the VM scale set. */ - vmInstanceIDs?: VirtualMachineScaleSetVMInstanceIDs; - /** Delay to wait until next poll, in milliseconds. */ - updateIntervalInMs?: number; - /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */ - resumeFrom?: string; -} - -/** Optional parameters. */ -export interface VirtualMachineScaleSetsRestartOptionalParams - extends coreClient.OperationOptions { - /** A list of virtual machine instance IDs from the VM scale set. */ - vmInstanceIDs?: VirtualMachineScaleSetVMInstanceIDs; - /** Delay to wait until next poll, in milliseconds. */ - updateIntervalInMs?: number; - /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */ - resumeFrom?: string; -} - -/** Optional parameters. */ -export interface VirtualMachineScaleSetsStartOptionalParams - extends coreClient.OperationOptions { - /** A list of virtual machine instance IDs from the VM scale set. */ - vmInstanceIDs?: VirtualMachineScaleSetVMInstanceIDs; - /** Delay to wait until next poll, in milliseconds. */ - updateIntervalInMs?: number; - /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */ - resumeFrom?: string; -} - -/** Optional parameters. */ -export interface VirtualMachineScaleSetsRedeployOptionalParams - extends coreClient.OperationOptions { - /** A list of virtual machine instance IDs from the VM scale set. */ - vmInstanceIDs?: VirtualMachineScaleSetVMInstanceIDs; - /** Delay to wait until next poll, in milliseconds. */ - updateIntervalInMs?: number; - /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */ - resumeFrom?: string; -} - -/** Optional parameters. */ -export interface VirtualMachineScaleSetsPerformMaintenanceOptionalParams - extends coreClient.OperationOptions { - /** A list of virtual machine instance IDs from the VM scale set. */ - vmInstanceIDs?: VirtualMachineScaleSetVMInstanceIDs; - /** Delay to wait until next poll, in milliseconds. */ - updateIntervalInMs?: number; - /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */ - resumeFrom?: string; -} - -/** Optional parameters. */ -export interface VirtualMachineScaleSetsUpdateInstancesOptionalParams - extends coreClient.OperationOptions { - /** Delay to wait until next poll, in milliseconds. */ - updateIntervalInMs?: number; - /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */ - resumeFrom?: string; -} - -/** Optional parameters. */ -export interface VirtualMachineScaleSetsReimageOptionalParams - extends coreClient.OperationOptions { - /** Parameters for Reimaging VM ScaleSet. */ - vmScaleSetReimageInput?: VirtualMachineScaleSetReimageParameters; - /** Delay to wait until next poll, in milliseconds. */ - updateIntervalInMs?: number; - /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */ - resumeFrom?: string; -} - -/** Optional parameters. */ -export interface VirtualMachineScaleSetsReimageAllOptionalParams - extends coreClient.OperationOptions { - /** A list of virtual machine instance IDs from the VM scale set. */ - vmInstanceIDs?: VirtualMachineScaleSetVMInstanceIDs; - /** Delay to wait until next poll, in milliseconds. */ - updateIntervalInMs?: number; - /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */ - resumeFrom?: string; -} +export type VirtualMachineImagesGetResponse = VirtualMachineImage; /** Optional parameters. */ -export interface VirtualMachineScaleSetsForceRecoveryServiceFabricPlatformUpdateDomainWalkOptionalParams +export interface VirtualMachineImagesListOptionalParams extends coreClient.OperationOptions { - /** The zone in which the manual recovery walk is requested for cross zone virtual machine scale set */ - zone?: string; - /** The placement group id for which the manual recovery walk is requested. */ - placementGroupId?: string; + /** The expand expression to apply on the operation. */ + expand?: string; + top?: number; + orderby?: string; } -/** Contains response data for the forceRecoveryServiceFabricPlatformUpdateDomainWalk operation. */ -export type VirtualMachineScaleSetsForceRecoveryServiceFabricPlatformUpdateDomainWalkResponse = RecoveryWalkResponse; +/** Contains response data for the list operation. */ +export type VirtualMachineImagesListResponse = VirtualMachineImageResource[]; /** Optional parameters. */ -export interface VirtualMachineScaleSetsConvertToSinglePlacementGroupOptionalParams +export interface VirtualMachineImagesListOffersOptionalParams extends coreClient.OperationOptions {} +/** Contains response data for the listOffers operation. */ +export type VirtualMachineImagesListOffersResponse = VirtualMachineImageResource[]; + /** Optional parameters. */ -export interface VirtualMachineScaleSetsSetOrchestrationServiceStateOptionalParams - extends coreClient.OperationOptions { - /** Delay to wait until next poll, in milliseconds. */ - updateIntervalInMs?: number; - /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */ - resumeFrom?: string; -} +export interface VirtualMachineImagesListPublishersOptionalParams + extends coreClient.OperationOptions {} + +/** Contains response data for the listPublishers operation. */ +export type VirtualMachineImagesListPublishersResponse = VirtualMachineImageResource[]; /** Optional parameters. */ -export interface VirtualMachineScaleSetsListByLocationNextOptionalParams +export interface VirtualMachineImagesListSkusOptionalParams extends coreClient.OperationOptions {} -/** Contains response data for the listByLocationNext operation. */ -export type VirtualMachineScaleSetsListByLocationNextResponse = VirtualMachineScaleSetListResult; +/** Contains response data for the listSkus operation. */ +export type VirtualMachineImagesListSkusResponse = VirtualMachineImageResource[]; /** Optional parameters. */ -export interface VirtualMachineScaleSetsListNextOptionalParams +export interface VirtualMachineImagesEdgeZoneGetOptionalParams extends coreClient.OperationOptions {} -/** Contains response data for the listNext operation. */ -export type VirtualMachineScaleSetsListNextResponse = VirtualMachineScaleSetListResult; +/** Contains response data for the get operation. */ +export type VirtualMachineImagesEdgeZoneGetResponse = VirtualMachineImage; /** Optional parameters. */ -export interface VirtualMachineScaleSetsListAllNextOptionalParams +export interface VirtualMachineImagesEdgeZoneListOptionalParams + extends coreClient.OperationOptions { + /** The expand expression to apply on the operation. */ + expand?: string; + /** An integer value specifying the number of images to return that matches supplied values. */ + top?: number; + /** Specifies the order of the results returned. Formatted as an OData query. */ + orderby?: string; +} + +/** Contains response data for the list operation. */ +export type VirtualMachineImagesEdgeZoneListResponse = VirtualMachineImageResource[]; + +/** Optional parameters. */ +export interface VirtualMachineImagesEdgeZoneListOffersOptionalParams extends coreClient.OperationOptions {} -/** Contains response data for the listAllNext operation. */ -export type VirtualMachineScaleSetsListAllNextResponse = VirtualMachineScaleSetListWithLinkResult; +/** Contains response data for the listOffers operation. */ +export type VirtualMachineImagesEdgeZoneListOffersResponse = VirtualMachineImageResource[]; /** Optional parameters. */ -export interface VirtualMachineScaleSetsListSkusNextOptionalParams +export interface VirtualMachineImagesEdgeZoneListPublishersOptionalParams extends coreClient.OperationOptions {} -/** Contains response data for the listSkusNext operation. */ -export type VirtualMachineScaleSetsListSkusNextResponse = VirtualMachineScaleSetListSkusResult; +/** Contains response data for the listPublishers operation. */ +export type VirtualMachineImagesEdgeZoneListPublishersResponse = VirtualMachineImageResource[]; /** Optional parameters. */ -export interface VirtualMachineScaleSetsGetOSUpgradeHistoryNextOptionalParams +export interface VirtualMachineImagesEdgeZoneListSkusOptionalParams extends coreClient.OperationOptions {} -/** Contains response data for the getOSUpgradeHistoryNext operation. */ -export type VirtualMachineScaleSetsGetOSUpgradeHistoryNextResponse = VirtualMachineScaleSetListOSUpgradeHistory; +/** Contains response data for the listSkus operation. */ +export type VirtualMachineImagesEdgeZoneListSkusResponse = VirtualMachineImageResource[]; /** Optional parameters. */ -export interface VirtualMachineSizesListOptionalParams +export interface VirtualMachineExtensionImagesGetOptionalParams extends coreClient.OperationOptions {} -/** Contains response data for the list operation. */ -export type VirtualMachineSizesListResponse = VirtualMachineSizeListResult; +/** Contains response data for the get operation. */ +export type VirtualMachineExtensionImagesGetResponse = VirtualMachineExtensionImage; /** Optional parameters. */ -export interface ImagesCreateOrUpdateOptionalParams +export interface VirtualMachineExtensionImagesListTypesOptionalParams + extends coreClient.OperationOptions {} + +/** Contains response data for the listTypes operation. */ +export type VirtualMachineExtensionImagesListTypesResponse = VirtualMachineExtensionImage[]; + +/** Optional parameters. */ +export interface VirtualMachineExtensionImagesListVersionsOptionalParams extends coreClient.OperationOptions { - /** Delay to wait until next poll, in milliseconds. */ - updateIntervalInMs?: number; - /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */ - resumeFrom?: string; + /** The filter to apply on the operation. */ + filter?: string; + top?: number; + orderby?: string; } +/** Contains response data for the listVersions operation. */ +export type VirtualMachineExtensionImagesListVersionsResponse = VirtualMachineExtensionImage[]; + +/** Optional parameters. */ +export interface AvailabilitySetsCreateOrUpdateOptionalParams + extends coreClient.OperationOptions {} + /** Contains response data for the createOrUpdate operation. */ -export type ImagesCreateOrUpdateResponse = Image; +export type AvailabilitySetsCreateOrUpdateResponse = AvailabilitySet; /** Optional parameters. */ -export interface ImagesUpdateOptionalParams - extends coreClient.OperationOptions { - /** Delay to wait until next poll, in milliseconds. */ - updateIntervalInMs?: number; - /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */ - resumeFrom?: string; -} +export interface AvailabilitySetsUpdateOptionalParams + extends coreClient.OperationOptions {} /** Contains response data for the update operation. */ -export type ImagesUpdateResponse = Image; +export type AvailabilitySetsUpdateResponse = AvailabilitySet; /** Optional parameters. */ -export interface ImagesDeleteOptionalParams - extends coreClient.OperationOptions { - /** Delay to wait until next poll, in milliseconds. */ - updateIntervalInMs?: number; - /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */ - resumeFrom?: string; -} +export interface AvailabilitySetsDeleteOptionalParams + extends coreClient.OperationOptions {} /** Optional parameters. */ -export interface ImagesGetOptionalParams extends coreClient.OperationOptions { - /** The expand expression to apply on the operation. */ - expand?: string; -} +export interface AvailabilitySetsGetOptionalParams + extends coreClient.OperationOptions {} /** Contains response data for the get operation. */ -export type ImagesGetResponse = Image; +export type AvailabilitySetsGetResponse = AvailabilitySet; /** Optional parameters. */ -export interface ImagesListByResourceGroupOptionalParams - extends coreClient.OperationOptions {} +export interface AvailabilitySetsListBySubscriptionOptionalParams + extends coreClient.OperationOptions { + /** The expand expression to apply to the operation. Allowed values are 'instanceView'. */ + expand?: string; +} -/** Contains response data for the listByResourceGroup operation. */ -export type ImagesListByResourceGroupResponse = ImageListResult; +/** Contains response data for the listBySubscription operation. */ +export type AvailabilitySetsListBySubscriptionResponse = AvailabilitySetListResult; /** Optional parameters. */ -export interface ImagesListOptionalParams extends coreClient.OperationOptions {} +export interface AvailabilitySetsListOptionalParams + extends coreClient.OperationOptions {} /** Contains response data for the list operation. */ -export type ImagesListResponse = ImageListResult; +export type AvailabilitySetsListResponse = AvailabilitySetListResult; /** Optional parameters. */ -export interface ImagesListByResourceGroupNextOptionalParams +export interface AvailabilitySetsListAvailableSizesOptionalParams extends coreClient.OperationOptions {} -/** Contains response data for the listByResourceGroupNext operation. */ -export type ImagesListByResourceGroupNextResponse = ImageListResult; +/** Contains response data for the listAvailableSizes operation. */ +export type AvailabilitySetsListAvailableSizesResponse = VirtualMachineSizeListResult; /** Optional parameters. */ -export interface ImagesListNextOptionalParams +export interface AvailabilitySetsListBySubscriptionNextOptionalParams + extends coreClient.OperationOptions { + /** The expand expression to apply to the operation. Allowed values are 'instanceView'. */ + expand?: string; +} + +/** Contains response data for the listBySubscriptionNext operation. */ +export type AvailabilitySetsListBySubscriptionNextResponse = AvailabilitySetListResult; + +/** Optional parameters. */ +export interface AvailabilitySetsListNextOptionalParams extends coreClient.OperationOptions {} /** Contains response data for the listNext operation. */ -export type ImagesListNextResponse = ImageListResult; +export type AvailabilitySetsListNextResponse = AvailabilitySetListResult; /** Optional parameters. */ -export interface RestorePointCollectionsCreateOrUpdateOptionalParams +export interface ProximityPlacementGroupsCreateOrUpdateOptionalParams extends coreClient.OperationOptions {} /** Contains response data for the createOrUpdate operation. */ -export type RestorePointCollectionsCreateOrUpdateResponse = RestorePointCollection; +export type ProximityPlacementGroupsCreateOrUpdateResponse = ProximityPlacementGroup; /** Optional parameters. */ -export interface RestorePointCollectionsUpdateOptionalParams +export interface ProximityPlacementGroupsUpdateOptionalParams extends coreClient.OperationOptions {} /** Contains response data for the update operation. */ -export type RestorePointCollectionsUpdateResponse = RestorePointCollection; +export type ProximityPlacementGroupsUpdateResponse = ProximityPlacementGroup; /** Optional parameters. */ -export interface RestorePointCollectionsDeleteOptionalParams - extends coreClient.OperationOptions { - /** Delay to wait until next poll, in milliseconds. */ - updateIntervalInMs?: number; - /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */ - resumeFrom?: string; -} +export interface ProximityPlacementGroupsDeleteOptionalParams + extends coreClient.OperationOptions {} /** Optional parameters. */ -export interface RestorePointCollectionsGetOptionalParams +export interface ProximityPlacementGroupsGetOptionalParams extends coreClient.OperationOptions { - /** The expand expression to apply on the operation. If expand=restorePoints, server will return all contained restore points in the restorePointCollection. */ - expand?: RestorePointCollectionExpandOptions; + /** includeColocationStatus=true enables fetching the colocation status of all the resources in the proximity placement group. */ + includeColocationStatus?: string; } /** Contains response data for the get operation. */ -export type RestorePointCollectionsGetResponse = RestorePointCollection; +export type ProximityPlacementGroupsGetResponse = ProximityPlacementGroup; /** Optional parameters. */ -export interface RestorePointCollectionsListOptionalParams +export interface ProximityPlacementGroupsListBySubscriptionOptionalParams extends coreClient.OperationOptions {} -/** Contains response data for the list operation. */ -export type RestorePointCollectionsListResponse = RestorePointCollectionListResult; +/** Contains response data for the listBySubscription operation. */ +export type ProximityPlacementGroupsListBySubscriptionResponse = ProximityPlacementGroupListResult; /** Optional parameters. */ -export interface RestorePointCollectionsListAllOptionalParams +export interface ProximityPlacementGroupsListByResourceGroupOptionalParams extends coreClient.OperationOptions {} -/** Contains response data for the listAll operation. */ -export type RestorePointCollectionsListAllResponse = RestorePointCollectionListResult; +/** Contains response data for the listByResourceGroup operation. */ +export type ProximityPlacementGroupsListByResourceGroupResponse = ProximityPlacementGroupListResult; /** Optional parameters. */ -export interface RestorePointCollectionsListNextOptionalParams +export interface ProximityPlacementGroupsListBySubscriptionNextOptionalParams extends coreClient.OperationOptions {} -/** Contains response data for the listNext operation. */ -export type RestorePointCollectionsListNextResponse = RestorePointCollectionListResult; +/** Contains response data for the listBySubscriptionNext operation. */ +export type ProximityPlacementGroupsListBySubscriptionNextResponse = ProximityPlacementGroupListResult; /** Optional parameters. */ -export interface RestorePointCollectionsListAllNextOptionalParams +export interface ProximityPlacementGroupsListByResourceGroupNextOptionalParams extends coreClient.OperationOptions {} -/** Contains response data for the listAllNext operation. */ -export type RestorePointCollectionsListAllNextResponse = RestorePointCollectionListResult; - -/** Optional parameters. */ -export interface RestorePointsCreateOptionalParams - extends coreClient.OperationOptions { - /** Delay to wait until next poll, in milliseconds. */ - updateIntervalInMs?: number; - /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */ - resumeFrom?: string; -} - -/** Contains response data for the create operation. */ -export type RestorePointsCreateResponse = RestorePoint; - -/** Optional parameters. */ -export interface RestorePointsDeleteOptionalParams - extends coreClient.OperationOptions { - /** Delay to wait until next poll, in milliseconds. */ - updateIntervalInMs?: number; - /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */ - resumeFrom?: string; -} - -/** Optional parameters. */ -export interface RestorePointsGetOptionalParams - extends coreClient.OperationOptions { - /** The expand expression to apply on the operation. 'InstanceView' retrieves information about the run-time state of a restore point. */ - expand?: RestorePointExpandOptions; -} - -/** Contains response data for the get operation. */ -export type RestorePointsGetResponse = RestorePoint; +/** Contains response data for the listByResourceGroupNext operation. */ +export type ProximityPlacementGroupsListByResourceGroupNextResponse = ProximityPlacementGroupListResult; /** Optional parameters. */ -export interface CapacityReservationGroupsCreateOrUpdateOptionalParams +export interface DedicatedHostGroupsCreateOrUpdateOptionalParams extends coreClient.OperationOptions {} /** Contains response data for the createOrUpdate operation. */ -export type CapacityReservationGroupsCreateOrUpdateResponse = CapacityReservationGroup; +export type DedicatedHostGroupsCreateOrUpdateResponse = DedicatedHostGroup; /** Optional parameters. */ -export interface CapacityReservationGroupsUpdateOptionalParams +export interface DedicatedHostGroupsUpdateOptionalParams extends coreClient.OperationOptions {} /** Contains response data for the update operation. */ -export type CapacityReservationGroupsUpdateResponse = CapacityReservationGroup; +export type DedicatedHostGroupsUpdateResponse = DedicatedHostGroup; /** Optional parameters. */ -export interface CapacityReservationGroupsDeleteOptionalParams +export interface DedicatedHostGroupsDeleteOptionalParams extends coreClient.OperationOptions {} /** Optional parameters. */ -export interface CapacityReservationGroupsGetOptionalParams - extends coreClient.OperationOptions { - /** The expand expression to apply on the operation. 'InstanceView' will retrieve the list of instance views of the capacity reservations under the capacity reservation group which is a snapshot of the runtime properties of a capacity reservation that is managed by the platform and can change outside of control plane operations. */ - expand?: CapacityReservationGroupInstanceViewTypes; +export interface DedicatedHostGroupsGetOptionalParams + extends coreClient.OperationOptions { + /** The expand expression to apply on the operation. 'InstanceView' will retrieve the list of instance views of the dedicated hosts under the dedicated host group. 'UserData' is not supported for dedicated host group. */ + expand?: InstanceViewTypes; } /** Contains response data for the get operation. */ -export type CapacityReservationGroupsGetResponse = CapacityReservationGroup; +export type DedicatedHostGroupsGetResponse = DedicatedHostGroup; /** Optional parameters. */ -export interface CapacityReservationGroupsListByResourceGroupOptionalParams - extends coreClient.OperationOptions { - /** The expand expression to apply on the operation. Based on the expand param(s) specified we return Virtual Machine or ScaleSet VM Instance or both resource Ids which are associated to capacity reservation group in the response. */ - expand?: ExpandTypesForGetCapacityReservationGroups; -} +export interface DedicatedHostGroupsListByResourceGroupOptionalParams + extends coreClient.OperationOptions {} /** Contains response data for the listByResourceGroup operation. */ -export type CapacityReservationGroupsListByResourceGroupResponse = CapacityReservationGroupListResult; +export type DedicatedHostGroupsListByResourceGroupResponse = DedicatedHostGroupListResult; /** Optional parameters. */ -export interface CapacityReservationGroupsListBySubscriptionOptionalParams - extends coreClient.OperationOptions { - /** The expand expression to apply on the operation. Based on the expand param(s) specified we return Virtual Machine or ScaleSet VM Instance or both resource Ids which are associated to capacity reservation group in the response. */ - expand?: ExpandTypesForGetCapacityReservationGroups; -} +export interface DedicatedHostGroupsListBySubscriptionOptionalParams + extends coreClient.OperationOptions {} /** Contains response data for the listBySubscription operation. */ -export type CapacityReservationGroupsListBySubscriptionResponse = CapacityReservationGroupListResult; +export type DedicatedHostGroupsListBySubscriptionResponse = DedicatedHostGroupListResult; /** Optional parameters. */ -export interface CapacityReservationGroupsListByResourceGroupNextOptionalParams - extends coreClient.OperationOptions { - /** The expand expression to apply on the operation. Based on the expand param(s) specified we return Virtual Machine or ScaleSet VM Instance or both resource Ids which are associated to capacity reservation group in the response. */ - expand?: ExpandTypesForGetCapacityReservationGroups; -} +export interface DedicatedHostGroupsListByResourceGroupNextOptionalParams + extends coreClient.OperationOptions {} /** Contains response data for the listByResourceGroupNext operation. */ -export type CapacityReservationGroupsListByResourceGroupNextResponse = CapacityReservationGroupListResult; +export type DedicatedHostGroupsListByResourceGroupNextResponse = DedicatedHostGroupListResult; /** Optional parameters. */ -export interface CapacityReservationGroupsListBySubscriptionNextOptionalParams - extends coreClient.OperationOptions { - /** The expand expression to apply on the operation. Based on the expand param(s) specified we return Virtual Machine or ScaleSet VM Instance or both resource Ids which are associated to capacity reservation group in the response. */ - expand?: ExpandTypesForGetCapacityReservationGroups; -} +export interface DedicatedHostGroupsListBySubscriptionNextOptionalParams + extends coreClient.OperationOptions {} /** Contains response data for the listBySubscriptionNext operation. */ -export type CapacityReservationGroupsListBySubscriptionNextResponse = CapacityReservationGroupListResult; +export type DedicatedHostGroupsListBySubscriptionNextResponse = DedicatedHostGroupListResult; /** Optional parameters. */ -export interface CapacityReservationsCreateOrUpdateOptionalParams +export interface DedicatedHostsCreateOrUpdateOptionalParams extends coreClient.OperationOptions { /** Delay to wait until next poll, in milliseconds. */ updateIntervalInMs?: number; @@ -9288,10 +9205,10 @@ export interface CapacityReservationsCreateOrUpdateOptionalParams } /** Contains response data for the createOrUpdate operation. */ -export type CapacityReservationsCreateOrUpdateResponse = CapacityReservation; +export type DedicatedHostsCreateOrUpdateResponse = DedicatedHost; /** Optional parameters. */ -export interface CapacityReservationsUpdateOptionalParams +export interface DedicatedHostsUpdateOptionalParams extends coreClient.OperationOptions { /** Delay to wait until next poll, in milliseconds. */ updateIntervalInMs?: number; @@ -9300,10 +9217,10 @@ export interface CapacityReservationsUpdateOptionalParams } /** Contains response data for the update operation. */ -export type CapacityReservationsUpdateResponse = CapacityReservation; +export type DedicatedHostsUpdateResponse = DedicatedHost; /** Optional parameters. */ -export interface CapacityReservationsDeleteOptionalParams +export interface DedicatedHostsDeleteOptionalParams extends coreClient.OperationOptions { /** Delay to wait until next poll, in milliseconds. */ updateIntervalInMs?: number; @@ -9312,31 +9229,24 @@ export interface CapacityReservationsDeleteOptionalParams } /** Optional parameters. */ -export interface CapacityReservationsGetOptionalParams +export interface DedicatedHostsGetOptionalParams extends coreClient.OperationOptions { - /** The expand expression to apply on the operation. 'InstanceView' retrieves a snapshot of the runtime properties of the capacity reservation that is managed by the platform and can change outside of control plane operations. */ - expand?: CapacityReservationInstanceViewTypes; + /** The expand expression to apply on the operation. 'InstanceView' will retrieve the list of instance views of the dedicated host. 'UserData' is not supported for dedicated host. */ + expand?: InstanceViewTypes; } /** Contains response data for the get operation. */ -export type CapacityReservationsGetResponse = CapacityReservation; - -/** Optional parameters. */ -export interface CapacityReservationsListByCapacityReservationGroupOptionalParams - extends coreClient.OperationOptions {} - -/** Contains response data for the listByCapacityReservationGroup operation. */ -export type CapacityReservationsListByCapacityReservationGroupResponse = CapacityReservationListResult; +export type DedicatedHostsGetResponse = DedicatedHost; /** Optional parameters. */ -export interface CapacityReservationsListByCapacityReservationGroupNextOptionalParams +export interface DedicatedHostsListByHostGroupOptionalParams extends coreClient.OperationOptions {} -/** Contains response data for the listByCapacityReservationGroupNext operation. */ -export type CapacityReservationsListByCapacityReservationGroupNextResponse = CapacityReservationListResult; +/** Contains response data for the listByHostGroup operation. */ +export type DedicatedHostsListByHostGroupResponse = DedicatedHostListResult; /** Optional parameters. */ -export interface VirtualMachineScaleSetExtensionsCreateOrUpdateOptionalParams +export interface DedicatedHostsRestartOptionalParams extends coreClient.OperationOptions { /** Delay to wait until next poll, in milliseconds. */ updateIntervalInMs?: number; @@ -9344,56 +9254,75 @@ export interface VirtualMachineScaleSetExtensionsCreateOrUpdateOptionalParams resumeFrom?: string; } -/** Contains response data for the createOrUpdate operation. */ -export type VirtualMachineScaleSetExtensionsCreateOrUpdateResponse = VirtualMachineScaleSetExtension; +/** Optional parameters. */ +export interface DedicatedHostsListByHostGroupNextOptionalParams + extends coreClient.OperationOptions {} + +/** Contains response data for the listByHostGroupNext operation. */ +export type DedicatedHostsListByHostGroupNextResponse = DedicatedHostListResult; /** Optional parameters. */ -export interface VirtualMachineScaleSetExtensionsUpdateOptionalParams - extends coreClient.OperationOptions { - /** Delay to wait until next poll, in milliseconds. */ - updateIntervalInMs?: number; - /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */ - resumeFrom?: string; -} +export interface SshPublicKeysListBySubscriptionOptionalParams + extends coreClient.OperationOptions {} + +/** Contains response data for the listBySubscription operation. */ +export type SshPublicKeysListBySubscriptionResponse = SshPublicKeysGroupListResult; + +/** Optional parameters. */ +export interface SshPublicKeysListByResourceGroupOptionalParams + extends coreClient.OperationOptions {} + +/** Contains response data for the listByResourceGroup operation. */ +export type SshPublicKeysListByResourceGroupResponse = SshPublicKeysGroupListResult; + +/** Optional parameters. */ +export interface SshPublicKeysCreateOptionalParams + extends coreClient.OperationOptions {} + +/** Contains response data for the create operation. */ +export type SshPublicKeysCreateResponse = SshPublicKeyResource; + +/** Optional parameters. */ +export interface SshPublicKeysUpdateOptionalParams + extends coreClient.OperationOptions {} /** Contains response data for the update operation. */ -export type VirtualMachineScaleSetExtensionsUpdateResponse = VirtualMachineScaleSetExtension; +export type SshPublicKeysUpdateResponse = SshPublicKeyResource; /** Optional parameters. */ -export interface VirtualMachineScaleSetExtensionsDeleteOptionalParams - extends coreClient.OperationOptions { - /** Delay to wait until next poll, in milliseconds. */ - updateIntervalInMs?: number; - /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */ - resumeFrom?: string; -} +export interface SshPublicKeysDeleteOptionalParams + extends coreClient.OperationOptions {} /** Optional parameters. */ -export interface VirtualMachineScaleSetExtensionsGetOptionalParams - extends coreClient.OperationOptions { - /** The expand expression to apply on the operation. */ - expand?: string; -} +export interface SshPublicKeysGetOptionalParams + extends coreClient.OperationOptions {} /** Contains response data for the get operation. */ -export type VirtualMachineScaleSetExtensionsGetResponse = VirtualMachineScaleSetExtension; +export type SshPublicKeysGetResponse = SshPublicKeyResource; /** Optional parameters. */ -export interface VirtualMachineScaleSetExtensionsListOptionalParams +export interface SshPublicKeysGenerateKeyPairOptionalParams extends coreClient.OperationOptions {} -/** Contains response data for the list operation. */ -export type VirtualMachineScaleSetExtensionsListResponse = VirtualMachineScaleSetExtensionListResult; +/** Contains response data for the generateKeyPair operation. */ +export type SshPublicKeysGenerateKeyPairResponse = SshPublicKeyGenerateKeyPairResult; /** Optional parameters. */ -export interface VirtualMachineScaleSetExtensionsListNextOptionalParams +export interface SshPublicKeysListBySubscriptionNextOptionalParams extends coreClient.OperationOptions {} -/** Contains response data for the listNext operation. */ -export type VirtualMachineScaleSetExtensionsListNextResponse = VirtualMachineScaleSetExtensionListResult; +/** Contains response data for the listBySubscriptionNext operation. */ +export type SshPublicKeysListBySubscriptionNextResponse = SshPublicKeysGroupListResult; /** Optional parameters. */ -export interface VirtualMachineScaleSetRollingUpgradesCancelOptionalParams +export interface SshPublicKeysListByResourceGroupNextOptionalParams + extends coreClient.OperationOptions {} + +/** Contains response data for the listByResourceGroupNext operation. */ +export type SshPublicKeysListByResourceGroupNextResponse = SshPublicKeysGroupListResult; + +/** Optional parameters. */ +export interface ImagesCreateOrUpdateOptionalParams extends coreClient.OperationOptions { /** Delay to wait until next poll, in milliseconds. */ updateIntervalInMs?: number; @@ -9401,8 +9330,11 @@ export interface VirtualMachineScaleSetRollingUpgradesCancelOptionalParams resumeFrom?: string; } +/** Contains response data for the createOrUpdate operation. */ +export type ImagesCreateOrUpdateResponse = Image; + /** Optional parameters. */ -export interface VirtualMachineScaleSetRollingUpgradesStartOSUpgradeOptionalParams +export interface ImagesUpdateOptionalParams extends coreClient.OperationOptions { /** Delay to wait until next poll, in milliseconds. */ updateIntervalInMs?: number; @@ -9410,8 +9342,11 @@ export interface VirtualMachineScaleSetRollingUpgradesStartOSUpgradeOptionalPara resumeFrom?: string; } +/** Contains response data for the update operation. */ +export type ImagesUpdateResponse = Image; + /** Optional parameters. */ -export interface VirtualMachineScaleSetRollingUpgradesStartExtensionUpgradeOptionalParams +export interface ImagesDeleteOptionalParams extends coreClient.OperationOptions { /** Delay to wait until next poll, in milliseconds. */ updateIntervalInMs?: number; @@ -9420,38 +9355,57 @@ export interface VirtualMachineScaleSetRollingUpgradesStartExtensionUpgradeOptio } /** Optional parameters. */ -export interface VirtualMachineScaleSetRollingUpgradesGetLatestOptionalParams +export interface ImagesGetOptionalParams extends coreClient.OperationOptions { + /** The expand expression to apply on the operation. */ + expand?: string; +} + +/** Contains response data for the get operation. */ +export type ImagesGetResponse = Image; + +/** Optional parameters. */ +export interface ImagesListByResourceGroupOptionalParams extends coreClient.OperationOptions {} -/** Contains response data for the getLatest operation. */ -export type VirtualMachineScaleSetRollingUpgradesGetLatestResponse = RollingUpgradeStatusInfo; +/** Contains response data for the listByResourceGroup operation. */ +export type ImagesListByResourceGroupResponse = ImageListResult; /** Optional parameters. */ -export interface VirtualMachineScaleSetVMExtensionsCreateOrUpdateOptionalParams - extends coreClient.OperationOptions { - /** Delay to wait until next poll, in milliseconds. */ - updateIntervalInMs?: number; - /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */ - resumeFrom?: string; -} +export interface ImagesListOptionalParams extends coreClient.OperationOptions {} + +/** Contains response data for the list operation. */ +export type ImagesListResponse = ImageListResult; + +/** Optional parameters. */ +export interface ImagesListByResourceGroupNextOptionalParams + extends coreClient.OperationOptions {} + +/** Contains response data for the listByResourceGroupNext operation. */ +export type ImagesListByResourceGroupNextResponse = ImageListResult; + +/** Optional parameters. */ +export interface ImagesListNextOptionalParams + extends coreClient.OperationOptions {} + +/** Contains response data for the listNext operation. */ +export type ImagesListNextResponse = ImageListResult; + +/** Optional parameters. */ +export interface RestorePointCollectionsCreateOrUpdateOptionalParams + extends coreClient.OperationOptions {} /** Contains response data for the createOrUpdate operation. */ -export type VirtualMachineScaleSetVMExtensionsCreateOrUpdateResponse = VirtualMachineScaleSetVMExtension; +export type RestorePointCollectionsCreateOrUpdateResponse = RestorePointCollection; /** Optional parameters. */ -export interface VirtualMachineScaleSetVMExtensionsUpdateOptionalParams - extends coreClient.OperationOptions { - /** Delay to wait until next poll, in milliseconds. */ - updateIntervalInMs?: number; - /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */ - resumeFrom?: string; -} +export interface RestorePointCollectionsUpdateOptionalParams + extends coreClient.OperationOptions {} /** Contains response data for the update operation. */ -export type VirtualMachineScaleSetVMExtensionsUpdateResponse = VirtualMachineScaleSetVMExtension; +export type RestorePointCollectionsUpdateResponse = RestorePointCollection; /** Optional parameters. */ -export interface VirtualMachineScaleSetVMExtensionsDeleteOptionalParams +export interface RestorePointCollectionsDeleteOptionalParams extends coreClient.OperationOptions { /** Delay to wait until next poll, in milliseconds. */ updateIntervalInMs?: number; @@ -9460,38 +9414,57 @@ export interface VirtualMachineScaleSetVMExtensionsDeleteOptionalParams } /** Optional parameters. */ -export interface VirtualMachineScaleSetVMExtensionsGetOptionalParams +export interface RestorePointCollectionsGetOptionalParams extends coreClient.OperationOptions { - /** The expand expression to apply on the operation. */ - expand?: string; + /** The expand expression to apply on the operation. If expand=restorePoints, server will return all contained restore points in the restorePointCollection. */ + expand?: RestorePointCollectionExpandOptions; } /** Contains response data for the get operation. */ -export type VirtualMachineScaleSetVMExtensionsGetResponse = VirtualMachineScaleSetVMExtension; +export type RestorePointCollectionsGetResponse = RestorePointCollection; /** Optional parameters. */ -export interface VirtualMachineScaleSetVMExtensionsListOptionalParams - extends coreClient.OperationOptions { - /** The expand expression to apply on the operation. */ - expand?: string; -} +export interface RestorePointCollectionsListOptionalParams + extends coreClient.OperationOptions {} + +/** Contains response data for the list operation. */ +export type RestorePointCollectionsListResponse = RestorePointCollectionListResult; + +/** Optional parameters. */ +export interface RestorePointCollectionsListAllOptionalParams + extends coreClient.OperationOptions {} + +/** Contains response data for the listAll operation. */ +export type RestorePointCollectionsListAllResponse = RestorePointCollectionListResult; + +/** Optional parameters. */ +export interface RestorePointCollectionsListNextOptionalParams + extends coreClient.OperationOptions {} + +/** Contains response data for the listNext operation. */ +export type RestorePointCollectionsListNextResponse = RestorePointCollectionListResult; + +/** Optional parameters. */ +export interface RestorePointCollectionsListAllNextOptionalParams + extends coreClient.OperationOptions {} -/** Contains response data for the list operation. */ -export type VirtualMachineScaleSetVMExtensionsListResponse = VirtualMachineScaleSetVMExtensionsListResult; +/** Contains response data for the listAllNext operation. */ +export type RestorePointCollectionsListAllNextResponse = RestorePointCollectionListResult; /** Optional parameters. */ -export interface VirtualMachineScaleSetVMsReimageOptionalParams +export interface RestorePointsCreateOptionalParams extends coreClient.OperationOptions { - /** Parameters for the Reimaging Virtual machine in ScaleSet. */ - vmScaleSetVMReimageInput?: VirtualMachineScaleSetVMReimageParameters; /** Delay to wait until next poll, in milliseconds. */ updateIntervalInMs?: number; /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */ resumeFrom?: string; } +/** Contains response data for the create operation. */ +export type RestorePointsCreateResponse = RestorePoint; + /** Optional parameters. */ -export interface VirtualMachineScaleSetVMsReimageAllOptionalParams +export interface RestorePointsDeleteOptionalParams extends coreClient.OperationOptions { /** Delay to wait until next poll, in milliseconds. */ updateIntervalInMs?: number; @@ -9500,90 +9473,85 @@ export interface VirtualMachineScaleSetVMsReimageAllOptionalParams } /** Optional parameters. */ -export interface VirtualMachineScaleSetVMsDeallocateOptionalParams +export interface RestorePointsGetOptionalParams extends coreClient.OperationOptions { - /** Delay to wait until next poll, in milliseconds. */ - updateIntervalInMs?: number; - /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */ - resumeFrom?: string; + /** The expand expression to apply on the operation. 'InstanceView' retrieves information about the run-time state of a restore point. */ + expand?: RestorePointExpandOptions; } +/** Contains response data for the get operation. */ +export type RestorePointsGetResponse = RestorePoint; + /** Optional parameters. */ -export interface VirtualMachineScaleSetVMsUpdateOptionalParams - extends coreClient.OperationOptions { - /** Delay to wait until next poll, in milliseconds. */ - updateIntervalInMs?: number; - /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */ - resumeFrom?: string; -} +export interface CapacityReservationGroupsCreateOrUpdateOptionalParams + extends coreClient.OperationOptions {} + +/** Contains response data for the createOrUpdate operation. */ +export type CapacityReservationGroupsCreateOrUpdateResponse = CapacityReservationGroup; + +/** Optional parameters. */ +export interface CapacityReservationGroupsUpdateOptionalParams + extends coreClient.OperationOptions {} /** Contains response data for the update operation. */ -export type VirtualMachineScaleSetVMsUpdateResponse = VirtualMachineScaleSetVM; +export type CapacityReservationGroupsUpdateResponse = CapacityReservationGroup; /** Optional parameters. */ -export interface VirtualMachineScaleSetVMsDeleteOptionalParams - extends coreClient.OperationOptions { - /** Optional parameter to force delete a virtual machine from a VM scale set. (Feature in Preview) */ - forceDeletion?: boolean; - /** Delay to wait until next poll, in milliseconds. */ - updateIntervalInMs?: number; - /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */ - resumeFrom?: string; -} +export interface CapacityReservationGroupsDeleteOptionalParams + extends coreClient.OperationOptions {} /** Optional parameters. */ -export interface VirtualMachineScaleSetVMsGetOptionalParams +export interface CapacityReservationGroupsGetOptionalParams extends coreClient.OperationOptions { - /** The expand expression to apply on the operation. 'InstanceView' will retrieve the instance view of the virtual machine. 'UserData' will retrieve the UserData of the virtual machine. */ - expand?: InstanceViewTypes; + /** The expand expression to apply on the operation. 'InstanceView' will retrieve the list of instance views of the capacity reservations under the capacity reservation group which is a snapshot of the runtime properties of a capacity reservation that is managed by the platform and can change outside of control plane operations. */ + expand?: CapacityReservationGroupInstanceViewTypes; } /** Contains response data for the get operation. */ -export type VirtualMachineScaleSetVMsGetResponse = VirtualMachineScaleSetVM; +export type CapacityReservationGroupsGetResponse = CapacityReservationGroup; /** Optional parameters. */ -export interface VirtualMachineScaleSetVMsGetInstanceViewOptionalParams - extends coreClient.OperationOptions {} +export interface CapacityReservationGroupsListByResourceGroupOptionalParams + extends coreClient.OperationOptions { + /** The expand expression to apply on the operation. Based on the expand param(s) specified we return Virtual Machine or ScaleSet VM Instance or both resource Ids which are associated to capacity reservation group in the response. */ + expand?: ExpandTypesForGetCapacityReservationGroups; +} -/** Contains response data for the getInstanceView operation. */ -export type VirtualMachineScaleSetVMsGetInstanceViewResponse = VirtualMachineScaleSetVMInstanceView; +/** Contains response data for the listByResourceGroup operation. */ +export type CapacityReservationGroupsListByResourceGroupResponse = CapacityReservationGroupListResult; /** Optional parameters. */ -export interface VirtualMachineScaleSetVMsListOptionalParams +export interface CapacityReservationGroupsListBySubscriptionOptionalParams extends coreClient.OperationOptions { - /** The expand expression to apply to the operation. Allowed values are 'instanceView'. */ - expand?: string; - /** The filter to apply to the operation. Allowed values are 'startswith(instanceView/statuses/code, 'PowerState') eq true', 'properties/latestModelApplied eq true', 'properties/latestModelApplied eq false'. */ - filter?: string; - /** The list parameters. Allowed values are 'instanceView', 'instanceView/statuses'. */ - select?: string; + /** The expand expression to apply on the operation. Based on the expand param(s) specified we return Virtual Machine or ScaleSet VM Instance or both resource Ids which are associated to capacity reservation group in the response. */ + expand?: ExpandTypesForGetCapacityReservationGroups; } -/** Contains response data for the list operation. */ -export type VirtualMachineScaleSetVMsListResponse = VirtualMachineScaleSetVMListResult; +/** Contains response data for the listBySubscription operation. */ +export type CapacityReservationGroupsListBySubscriptionResponse = CapacityReservationGroupListResult; /** Optional parameters. */ -export interface VirtualMachineScaleSetVMsPowerOffOptionalParams +export interface CapacityReservationGroupsListByResourceGroupNextOptionalParams extends coreClient.OperationOptions { - /** The parameter to request non-graceful VM shutdown. True value for this flag indicates non-graceful shutdown whereas false indicates otherwise. Default value for this flag is false if not specified */ - skipShutdown?: boolean; - /** Delay to wait until next poll, in milliseconds. */ - updateIntervalInMs?: number; - /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */ - resumeFrom?: string; + /** The expand expression to apply on the operation. Based on the expand param(s) specified we return Virtual Machine or ScaleSet VM Instance or both resource Ids which are associated to capacity reservation group in the response. */ + expand?: ExpandTypesForGetCapacityReservationGroups; } +/** Contains response data for the listByResourceGroupNext operation. */ +export type CapacityReservationGroupsListByResourceGroupNextResponse = CapacityReservationGroupListResult; + /** Optional parameters. */ -export interface VirtualMachineScaleSetVMsRestartOptionalParams +export interface CapacityReservationGroupsListBySubscriptionNextOptionalParams extends coreClient.OperationOptions { - /** Delay to wait until next poll, in milliseconds. */ - updateIntervalInMs?: number; - /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */ - resumeFrom?: string; + /** The expand expression to apply on the operation. Based on the expand param(s) specified we return Virtual Machine or ScaleSet VM Instance or both resource Ids which are associated to capacity reservation group in the response. */ + expand?: ExpandTypesForGetCapacityReservationGroups; } +/** Contains response data for the listBySubscriptionNext operation. */ +export type CapacityReservationGroupsListBySubscriptionNextResponse = CapacityReservationGroupListResult; + /** Optional parameters. */ -export interface VirtualMachineScaleSetVMsStartOptionalParams +export interface CapacityReservationsCreateOrUpdateOptionalParams extends coreClient.OperationOptions { /** Delay to wait until next poll, in milliseconds. */ updateIntervalInMs?: number; @@ -9591,8 +9559,11 @@ export interface VirtualMachineScaleSetVMsStartOptionalParams resumeFrom?: string; } +/** Contains response data for the createOrUpdate operation. */ +export type CapacityReservationsCreateOrUpdateResponse = CapacityReservation; + /** Optional parameters. */ -export interface VirtualMachineScaleSetVMsRedeployOptionalParams +export interface CapacityReservationsUpdateOptionalParams extends coreClient.OperationOptions { /** Delay to wait until next poll, in milliseconds. */ updateIntervalInMs?: number; @@ -9600,18 +9571,11 @@ export interface VirtualMachineScaleSetVMsRedeployOptionalParams resumeFrom?: string; } -/** Optional parameters. */ -export interface VirtualMachineScaleSetVMsRetrieveBootDiagnosticsDataOptionalParams - extends coreClient.OperationOptions { - /** Expiration duration in minutes for the SAS URIs with a value between 1 to 1440 minutes.

    NOTE: If not specified, SAS URIs will be generated with a default expiration duration of 120 minutes. */ - sasUriExpirationTimeInMinutes?: number; -} - -/** Contains response data for the retrieveBootDiagnosticsData operation. */ -export type VirtualMachineScaleSetVMsRetrieveBootDiagnosticsDataResponse = RetrieveBootDiagnosticsDataResult; +/** Contains response data for the update operation. */ +export type CapacityReservationsUpdateResponse = CapacityReservation; /** Optional parameters. */ -export interface VirtualMachineScaleSetVMsPerformMaintenanceOptionalParams +export interface CapacityReservationsDeleteOptionalParams extends coreClient.OperationOptions { /** Delay to wait until next poll, in milliseconds. */ updateIntervalInMs?: number; @@ -9620,34 +9584,28 @@ export interface VirtualMachineScaleSetVMsPerformMaintenanceOptionalParams } /** Optional parameters. */ -export interface VirtualMachineScaleSetVMsSimulateEvictionOptionalParams - extends coreClient.OperationOptions {} - -/** Optional parameters. */ -export interface VirtualMachineScaleSetVMsRunCommandOptionalParams +export interface CapacityReservationsGetOptionalParams extends coreClient.OperationOptions { - /** Delay to wait until next poll, in milliseconds. */ - updateIntervalInMs?: number; - /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */ - resumeFrom?: string; + /** The expand expression to apply on the operation. 'InstanceView' retrieves a snapshot of the runtime properties of the capacity reservation that is managed by the platform and can change outside of control plane operations. */ + expand?: CapacityReservationInstanceViewTypes; } -/** Contains response data for the runCommand operation. */ -export type VirtualMachineScaleSetVMsRunCommandResponse = RunCommandResult; +/** Contains response data for the get operation. */ +export type CapacityReservationsGetResponse = CapacityReservation; /** Optional parameters. */ -export interface VirtualMachineScaleSetVMsListNextOptionalParams - extends coreClient.OperationOptions { - /** The expand expression to apply to the operation. Allowed values are 'instanceView'. */ - expand?: string; - /** The filter to apply to the operation. Allowed values are 'startswith(instanceView/statuses/code, 'PowerState') eq true', 'properties/latestModelApplied eq true', 'properties/latestModelApplied eq false'. */ - filter?: string; - /** The list parameters. Allowed values are 'instanceView', 'instanceView/statuses'. */ - select?: string; -} +export interface CapacityReservationsListByCapacityReservationGroupOptionalParams + extends coreClient.OperationOptions {} -/** Contains response data for the listNext operation. */ -export type VirtualMachineScaleSetVMsListNextResponse = VirtualMachineScaleSetVMListResult; +/** Contains response data for the listByCapacityReservationGroup operation. */ +export type CapacityReservationsListByCapacityReservationGroupResponse = CapacityReservationListResult; + +/** Optional parameters. */ +export interface CapacityReservationsListByCapacityReservationGroupNextOptionalParams + extends coreClient.OperationOptions {} + +/** Contains response data for the listByCapacityReservationGroupNext operation. */ +export type CapacityReservationsListByCapacityReservationGroupNextResponse = CapacityReservationListResult; /** Optional parameters. */ export interface LogAnalyticsExportRequestRateByIntervalOptionalParams @@ -9821,31 +9779,7 @@ export interface VirtualMachineScaleSetVMRunCommandsListNextOptionalParams export type VirtualMachineScaleSetVMRunCommandsListNextResponse = VirtualMachineRunCommandsListResult; /** Optional parameters. */ -export interface ResourceSkusListOptionalParams - extends coreClient.OperationOptions { - /** The filter to apply on the operation. Only **location** filter is supported currently. */ - filter?: string; - /** To Include Extended Locations information or not in the response. */ - includeExtendedLocations?: string; -} - -/** Contains response data for the list operation. */ -export type ResourceSkusListResponse = ResourceSkusResult; - -/** Optional parameters. */ -export interface ResourceSkusListNextOptionalParams - extends coreClient.OperationOptions { - /** The filter to apply on the operation. Only **location** filter is supported currently. */ - filter?: string; - /** To Include Extended Locations information or not in the response. */ - includeExtendedLocations?: string; -} - -/** Contains response data for the listNext operation. */ -export type ResourceSkusListNextResponse = ResourceSkusResult; - -/** Optional parameters. */ -export interface DisksCreateOrUpdateOptionalParams +export interface GalleriesCreateOrUpdateOptionalParams extends coreClient.OperationOptions { /** Delay to wait until next poll, in milliseconds. */ updateIntervalInMs?: number; @@ -9854,10 +9788,11 @@ export interface DisksCreateOrUpdateOptionalParams } /** Contains response data for the createOrUpdate operation. */ -export type DisksCreateOrUpdateResponse = Disk; +export type GalleriesCreateOrUpdateResponse = Gallery; /** Optional parameters. */ -export interface DisksUpdateOptionalParams extends coreClient.OperationOptions { +export interface GalleriesUpdateOptionalParams + extends coreClient.OperationOptions { /** Delay to wait until next poll, in milliseconds. */ updateIntervalInMs?: number; /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */ @@ -9865,16 +9800,23 @@ export interface DisksUpdateOptionalParams extends coreClient.OperationOptions { } /** Contains response data for the update operation. */ -export type DisksUpdateResponse = Disk; +export type GalleriesUpdateResponse = Gallery; /** Optional parameters. */ -export interface DisksGetOptionalParams extends coreClient.OperationOptions {} +export interface GalleriesGetOptionalParams + extends coreClient.OperationOptions { + /** The select expression to apply on the operation. */ + select?: SelectPermissions; + /** The expand query option to apply on the operation. */ + expand?: GalleryExpandParams; +} /** Contains response data for the get operation. */ -export type DisksGetResponse = Disk; +export type GalleriesGetResponse = Gallery; /** Optional parameters. */ -export interface DisksDeleteOptionalParams extends coreClient.OperationOptions { +export interface GalleriesDeleteOptionalParams + extends coreClient.OperationOptions { /** Delay to wait until next poll, in milliseconds. */ updateIntervalInMs?: number; /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */ @@ -9882,55 +9824,35 @@ export interface DisksDeleteOptionalParams extends coreClient.OperationOptions { } /** Optional parameters. */ -export interface DisksListByResourceGroupOptionalParams +export interface GalleriesListByResourceGroupOptionalParams extends coreClient.OperationOptions {} /** Contains response data for the listByResourceGroup operation. */ -export type DisksListByResourceGroupResponse = DiskList; +export type GalleriesListByResourceGroupResponse = GalleryList; /** Optional parameters. */ -export interface DisksListOptionalParams extends coreClient.OperationOptions {} +export interface GalleriesListOptionalParams + extends coreClient.OperationOptions {} /** Contains response data for the list operation. */ -export type DisksListResponse = DiskList; - -/** Optional parameters. */ -export interface DisksGrantAccessOptionalParams - extends coreClient.OperationOptions { - /** Delay to wait until next poll, in milliseconds. */ - updateIntervalInMs?: number; - /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */ - resumeFrom?: string; -} - -/** Contains response data for the grantAccess operation. */ -export type DisksGrantAccessResponse = AccessUri; - -/** Optional parameters. */ -export interface DisksRevokeAccessOptionalParams - extends coreClient.OperationOptions { - /** Delay to wait until next poll, in milliseconds. */ - updateIntervalInMs?: number; - /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */ - resumeFrom?: string; -} +export type GalleriesListResponse = GalleryList; /** Optional parameters. */ -export interface DisksListByResourceGroupNextOptionalParams +export interface GalleriesListByResourceGroupNextOptionalParams extends coreClient.OperationOptions {} /** Contains response data for the listByResourceGroupNext operation. */ -export type DisksListByResourceGroupNextResponse = DiskList; +export type GalleriesListByResourceGroupNextResponse = GalleryList; /** Optional parameters. */ -export interface DisksListNextOptionalParams +export interface GalleriesListNextOptionalParams extends coreClient.OperationOptions {} /** Contains response data for the listNext operation. */ -export type DisksListNextResponse = DiskList; +export type GalleriesListNextResponse = GalleryList; /** Optional parameters. */ -export interface SnapshotsCreateOrUpdateOptionalParams +export interface GalleryImagesCreateOrUpdateOptionalParams extends coreClient.OperationOptions { /** Delay to wait until next poll, in milliseconds. */ updateIntervalInMs?: number; @@ -9939,10 +9861,10 @@ export interface SnapshotsCreateOrUpdateOptionalParams } /** Contains response data for the createOrUpdate operation. */ -export type SnapshotsCreateOrUpdateResponse = Snapshot; +export type GalleryImagesCreateOrUpdateResponse = GalleryImage; /** Optional parameters. */ -export interface SnapshotsUpdateOptionalParams +export interface GalleryImagesUpdateOptionalParams extends coreClient.OperationOptions { /** Delay to wait until next poll, in milliseconds. */ updateIntervalInMs?: number; @@ -9951,17 +9873,17 @@ export interface SnapshotsUpdateOptionalParams } /** Contains response data for the update operation. */ -export type SnapshotsUpdateResponse = Snapshot; +export type GalleryImagesUpdateResponse = GalleryImage; /** Optional parameters. */ -export interface SnapshotsGetOptionalParams +export interface GalleryImagesGetOptionalParams extends coreClient.OperationOptions {} /** Contains response data for the get operation. */ -export type SnapshotsGetResponse = Snapshot; +export type GalleryImagesGetResponse = GalleryImage; /** Optional parameters. */ -export interface SnapshotsDeleteOptionalParams +export interface GalleryImagesDeleteOptionalParams extends coreClient.OperationOptions { /** Delay to wait until next poll, in milliseconds. */ updateIntervalInMs?: number; @@ -9970,21 +9892,21 @@ export interface SnapshotsDeleteOptionalParams } /** Optional parameters. */ -export interface SnapshotsListByResourceGroupOptionalParams +export interface GalleryImagesListByGalleryOptionalParams extends coreClient.OperationOptions {} -/** Contains response data for the listByResourceGroup operation. */ -export type SnapshotsListByResourceGroupResponse = SnapshotList; +/** Contains response data for the listByGallery operation. */ +export type GalleryImagesListByGalleryResponse = GalleryImageList; /** Optional parameters. */ -export interface SnapshotsListOptionalParams +export interface GalleryImagesListByGalleryNextOptionalParams extends coreClient.OperationOptions {} -/** Contains response data for the list operation. */ -export type SnapshotsListResponse = SnapshotList; +/** Contains response data for the listByGalleryNext operation. */ +export type GalleryImagesListByGalleryNextResponse = GalleryImageList; /** Optional parameters. */ -export interface SnapshotsGrantAccessOptionalParams +export interface GalleryImageVersionsCreateOrUpdateOptionalParams extends coreClient.OperationOptions { /** Delay to wait until next poll, in milliseconds. */ updateIntervalInMs?: number; @@ -9992,11 +9914,11 @@ export interface SnapshotsGrantAccessOptionalParams resumeFrom?: string; } -/** Contains response data for the grantAccess operation. */ -export type SnapshotsGrantAccessResponse = AccessUri; +/** Contains response data for the createOrUpdate operation. */ +export type GalleryImageVersionsCreateOrUpdateResponse = GalleryImageVersion; /** Optional parameters. */ -export interface SnapshotsRevokeAccessOptionalParams +export interface GalleryImageVersionsUpdateOptionalParams extends coreClient.OperationOptions { /** Delay to wait until next poll, in milliseconds. */ updateIntervalInMs?: number; @@ -10004,22 +9926,44 @@ export interface SnapshotsRevokeAccessOptionalParams resumeFrom?: string; } +/** Contains response data for the update operation. */ +export type GalleryImageVersionsUpdateResponse = GalleryImageVersion; + /** Optional parameters. */ -export interface SnapshotsListByResourceGroupNextOptionalParams +export interface GalleryImageVersionsGetOptionalParams + extends coreClient.OperationOptions { + /** The expand expression to apply on the operation. */ + expand?: ReplicationStatusTypes; +} + +/** Contains response data for the get operation. */ +export type GalleryImageVersionsGetResponse = GalleryImageVersion; + +/** Optional parameters. */ +export interface GalleryImageVersionsDeleteOptionalParams + extends coreClient.OperationOptions { + /** Delay to wait until next poll, in milliseconds. */ + updateIntervalInMs?: number; + /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */ + resumeFrom?: string; +} + +/** Optional parameters. */ +export interface GalleryImageVersionsListByGalleryImageOptionalParams extends coreClient.OperationOptions {} -/** Contains response data for the listByResourceGroupNext operation. */ -export type SnapshotsListByResourceGroupNextResponse = SnapshotList; +/** Contains response data for the listByGalleryImage operation. */ +export type GalleryImageVersionsListByGalleryImageResponse = GalleryImageVersionList; /** Optional parameters. */ -export interface SnapshotsListNextOptionalParams +export interface GalleryImageVersionsListByGalleryImageNextOptionalParams extends coreClient.OperationOptions {} -/** Contains response data for the listNext operation. */ -export type SnapshotsListNextResponse = SnapshotList; +/** Contains response data for the listByGalleryImageNext operation. */ +export type GalleryImageVersionsListByGalleryImageNextResponse = GalleryImageVersionList; /** Optional parameters. */ -export interface DiskEncryptionSetsCreateOrUpdateOptionalParams +export interface GalleryApplicationsCreateOrUpdateOptionalParams extends coreClient.OperationOptions { /** Delay to wait until next poll, in milliseconds. */ updateIntervalInMs?: number; @@ -10028,10 +9972,10 @@ export interface DiskEncryptionSetsCreateOrUpdateOptionalParams } /** Contains response data for the createOrUpdate operation. */ -export type DiskEncryptionSetsCreateOrUpdateResponse = DiskEncryptionSet; +export type GalleryApplicationsCreateOrUpdateResponse = GalleryApplication; /** Optional parameters. */ -export interface DiskEncryptionSetsUpdateOptionalParams +export interface GalleryApplicationsUpdateOptionalParams extends coreClient.OperationOptions { /** Delay to wait until next poll, in milliseconds. */ updateIntervalInMs?: number; @@ -10040,17 +9984,17 @@ export interface DiskEncryptionSetsUpdateOptionalParams } /** Contains response data for the update operation. */ -export type DiskEncryptionSetsUpdateResponse = DiskEncryptionSet; +export type GalleryApplicationsUpdateResponse = GalleryApplication; /** Optional parameters. */ -export interface DiskEncryptionSetsGetOptionalParams +export interface GalleryApplicationsGetOptionalParams extends coreClient.OperationOptions {} /** Contains response data for the get operation. */ -export type DiskEncryptionSetsGetResponse = DiskEncryptionSet; +export type GalleryApplicationsGetResponse = GalleryApplication; /** Optional parameters. */ -export interface DiskEncryptionSetsDeleteOptionalParams +export interface GalleryApplicationsDeleteOptionalParams extends coreClient.OperationOptions { /** Delay to wait until next poll, in milliseconds. */ updateIntervalInMs?: number; @@ -10059,49 +10003,21 @@ export interface DiskEncryptionSetsDeleteOptionalParams } /** Optional parameters. */ -export interface DiskEncryptionSetsListByResourceGroupOptionalParams - extends coreClient.OperationOptions {} - -/** Contains response data for the listByResourceGroup operation. */ -export type DiskEncryptionSetsListByResourceGroupResponse = DiskEncryptionSetList; - -/** Optional parameters. */ -export interface DiskEncryptionSetsListOptionalParams - extends coreClient.OperationOptions {} - -/** Contains response data for the list operation. */ -export type DiskEncryptionSetsListResponse = DiskEncryptionSetList; - -/** Optional parameters. */ -export interface DiskEncryptionSetsListAssociatedResourcesOptionalParams - extends coreClient.OperationOptions {} - -/** Contains response data for the listAssociatedResources operation. */ -export type DiskEncryptionSetsListAssociatedResourcesResponse = ResourceUriList; - -/** Optional parameters. */ -export interface DiskEncryptionSetsListByResourceGroupNextOptionalParams - extends coreClient.OperationOptions {} - -/** Contains response data for the listByResourceGroupNext operation. */ -export type DiskEncryptionSetsListByResourceGroupNextResponse = DiskEncryptionSetList; - -/** Optional parameters. */ -export interface DiskEncryptionSetsListNextOptionalParams +export interface GalleryApplicationsListByGalleryOptionalParams extends coreClient.OperationOptions {} -/** Contains response data for the listNext operation. */ -export type DiskEncryptionSetsListNextResponse = DiskEncryptionSetList; +/** Contains response data for the listByGallery operation. */ +export type GalleryApplicationsListByGalleryResponse = GalleryApplicationList; /** Optional parameters. */ -export interface DiskEncryptionSetsListAssociatedResourcesNextOptionalParams +export interface GalleryApplicationsListByGalleryNextOptionalParams extends coreClient.OperationOptions {} -/** Contains response data for the listAssociatedResourcesNext operation. */ -export type DiskEncryptionSetsListAssociatedResourcesNextResponse = ResourceUriList; +/** Contains response data for the listByGalleryNext operation. */ +export type GalleryApplicationsListByGalleryNextResponse = GalleryApplicationList; /** Optional parameters. */ -export interface DiskAccessesCreateOrUpdateOptionalParams +export interface GalleryApplicationVersionsCreateOrUpdateOptionalParams extends coreClient.OperationOptions { /** Delay to wait until next poll, in milliseconds. */ updateIntervalInMs?: number; @@ -10110,10 +10026,10 @@ export interface DiskAccessesCreateOrUpdateOptionalParams } /** Contains response data for the createOrUpdate operation. */ -export type DiskAccessesCreateOrUpdateResponse = DiskAccess; +export type GalleryApplicationVersionsCreateOrUpdateResponse = GalleryApplicationVersion; /** Optional parameters. */ -export interface DiskAccessesUpdateOptionalParams +export interface GalleryApplicationVersionsUpdateOptionalParams extends coreClient.OperationOptions { /** Delay to wait until next poll, in milliseconds. */ updateIntervalInMs?: number; @@ -10122,17 +10038,20 @@ export interface DiskAccessesUpdateOptionalParams } /** Contains response data for the update operation. */ -export type DiskAccessesUpdateResponse = DiskAccess; +export type GalleryApplicationVersionsUpdateResponse = GalleryApplicationVersion; /** Optional parameters. */ -export interface DiskAccessesGetOptionalParams - extends coreClient.OperationOptions {} +export interface GalleryApplicationVersionsGetOptionalParams + extends coreClient.OperationOptions { + /** The expand expression to apply on the operation. */ + expand?: ReplicationStatusTypes; +} /** Contains response data for the get operation. */ -export type DiskAccessesGetResponse = DiskAccess; +export type GalleryApplicationVersionsGetResponse = GalleryApplicationVersion; /** Optional parameters. */ -export interface DiskAccessesDeleteOptionalParams +export interface GalleryApplicationVersionsDeleteOptionalParams extends coreClient.OperationOptions { /** Delay to wait until next poll, in milliseconds. */ updateIntervalInMs?: number; @@ -10141,28 +10060,21 @@ export interface DiskAccessesDeleteOptionalParams } /** Optional parameters. */ -export interface DiskAccessesListByResourceGroupOptionalParams - extends coreClient.OperationOptions {} - -/** Contains response data for the listByResourceGroup operation. */ -export type DiskAccessesListByResourceGroupResponse = DiskAccessList; - -/** Optional parameters. */ -export interface DiskAccessesListOptionalParams +export interface GalleryApplicationVersionsListByGalleryApplicationOptionalParams extends coreClient.OperationOptions {} -/** Contains response data for the list operation. */ -export type DiskAccessesListResponse = DiskAccessList; +/** Contains response data for the listByGalleryApplication operation. */ +export type GalleryApplicationVersionsListByGalleryApplicationResponse = GalleryApplicationVersionList; /** Optional parameters. */ -export interface DiskAccessesGetPrivateLinkResourcesOptionalParams +export interface GalleryApplicationVersionsListByGalleryApplicationNextOptionalParams extends coreClient.OperationOptions {} -/** Contains response data for the getPrivateLinkResources operation. */ -export type DiskAccessesGetPrivateLinkResourcesResponse = PrivateLinkResourceListResult; +/** Contains response data for the listByGalleryApplicationNext operation. */ +export type GalleryApplicationVersionsListByGalleryApplicationNextResponse = GalleryApplicationVersionList; /** Optional parameters. */ -export interface DiskAccessesUpdateAPrivateEndpointConnectionOptionalParams +export interface GallerySharingProfileUpdateOptionalParams extends coreClient.OperationOptions { /** Delay to wait until next poll, in milliseconds. */ updateIntervalInMs?: number; @@ -10170,18 +10082,35 @@ export interface DiskAccessesUpdateAPrivateEndpointConnectionOptionalParams resumeFrom?: string; } -/** Contains response data for the updateAPrivateEndpointConnection operation. */ -export type DiskAccessesUpdateAPrivateEndpointConnectionResponse = PrivateEndpointConnection; +/** Contains response data for the update operation. */ +export type GallerySharingProfileUpdateResponse = SharingUpdate; /** Optional parameters. */ -export interface DiskAccessesGetAPrivateEndpointConnectionOptionalParams - extends coreClient.OperationOptions {} +export interface ResourceSkusListOptionalParams + extends coreClient.OperationOptions { + /** The filter to apply on the operation. Only **location** filter is supported currently. */ + filter?: string; + /** To Include Extended Locations information or not in the response. */ + includeExtendedLocations?: string; +} -/** Contains response data for the getAPrivateEndpointConnection operation. */ -export type DiskAccessesGetAPrivateEndpointConnectionResponse = PrivateEndpointConnection; +/** Contains response data for the list operation. */ +export type ResourceSkusListResponse = ResourceSkusResult; /** Optional parameters. */ -export interface DiskAccessesDeleteAPrivateEndpointConnectionOptionalParams +export interface ResourceSkusListNextOptionalParams + extends coreClient.OperationOptions { + /** The filter to apply on the operation. Only **location** filter is supported currently. */ + filter?: string; + /** To Include Extended Locations information or not in the response. */ + includeExtendedLocations?: string; +} + +/** Contains response data for the listNext operation. */ +export type ResourceSkusListNextResponse = ResourceSkusResult; + +/** Optional parameters. */ +export interface DisksCreateOrUpdateOptionalParams extends coreClient.OperationOptions { /** Delay to wait until next poll, in milliseconds. */ updateIntervalInMs?: number; @@ -10189,50 +10118,49 @@ export interface DiskAccessesDeleteAPrivateEndpointConnectionOptionalParams resumeFrom?: string; } -/** Optional parameters. */ -export interface DiskAccessesListPrivateEndpointConnectionsOptionalParams - extends coreClient.OperationOptions {} - -/** Contains response data for the listPrivateEndpointConnections operation. */ -export type DiskAccessesListPrivateEndpointConnectionsResponse = PrivateEndpointConnectionListResult; +/** Contains response data for the createOrUpdate operation. */ +export type DisksCreateOrUpdateResponse = Disk; /** Optional parameters. */ -export interface DiskAccessesListByResourceGroupNextOptionalParams - extends coreClient.OperationOptions {} +export interface DisksUpdateOptionalParams extends coreClient.OperationOptions { + /** Delay to wait until next poll, in milliseconds. */ + updateIntervalInMs?: number; + /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */ + resumeFrom?: string; +} -/** Contains response data for the listByResourceGroupNext operation. */ -export type DiskAccessesListByResourceGroupNextResponse = DiskAccessList; +/** Contains response data for the update operation. */ +export type DisksUpdateResponse = Disk; /** Optional parameters. */ -export interface DiskAccessesListNextOptionalParams - extends coreClient.OperationOptions {} +export interface DisksGetOptionalParams extends coreClient.OperationOptions {} -/** Contains response data for the listNext operation. */ -export type DiskAccessesListNextResponse = DiskAccessList; +/** Contains response data for the get operation. */ +export type DisksGetResponse = Disk; /** Optional parameters. */ -export interface DiskAccessesListPrivateEndpointConnectionsNextOptionalParams - extends coreClient.OperationOptions {} - -/** Contains response data for the listPrivateEndpointConnectionsNext operation. */ -export type DiskAccessesListPrivateEndpointConnectionsNextResponse = PrivateEndpointConnectionListResult; +export interface DisksDeleteOptionalParams extends coreClient.OperationOptions { + /** Delay to wait until next poll, in milliseconds. */ + updateIntervalInMs?: number; + /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */ + resumeFrom?: string; +} /** Optional parameters. */ -export interface DiskRestorePointGetOptionalParams +export interface DisksListByResourceGroupOptionalParams extends coreClient.OperationOptions {} -/** Contains response data for the get operation. */ -export type DiskRestorePointGetResponse = DiskRestorePoint; +/** Contains response data for the listByResourceGroup operation. */ +export type DisksListByResourceGroupResponse = DiskList; /** Optional parameters. */ -export interface DiskRestorePointListByRestorePointOptionalParams - extends coreClient.OperationOptions {} +export interface DisksListOptionalParams extends coreClient.OperationOptions {} -/** Contains response data for the listByRestorePoint operation. */ -export type DiskRestorePointListByRestorePointResponse = DiskRestorePointList; +/** Contains response data for the list operation. */ +export type DisksListResponse = DiskList; /** Optional parameters. */ -export interface DiskRestorePointGrantAccessOptionalParams +export interface DisksGrantAccessOptionalParams extends coreClient.OperationOptions { /** Delay to wait until next poll, in milliseconds. */ updateIntervalInMs?: number; @@ -10241,10 +10169,10 @@ export interface DiskRestorePointGrantAccessOptionalParams } /** Contains response data for the grantAccess operation. */ -export type DiskRestorePointGrantAccessResponse = AccessUri; +export type DisksGrantAccessResponse = AccessUri; /** Optional parameters. */ -export interface DiskRestorePointRevokeAccessOptionalParams +export interface DisksRevokeAccessOptionalParams extends coreClient.OperationOptions { /** Delay to wait until next poll, in milliseconds. */ updateIntervalInMs?: number; @@ -10253,14 +10181,21 @@ export interface DiskRestorePointRevokeAccessOptionalParams } /** Optional parameters. */ -export interface DiskRestorePointListByRestorePointNextOptionalParams +export interface DisksListByResourceGroupNextOptionalParams + extends coreClient.OperationOptions {} + +/** Contains response data for the listByResourceGroupNext operation. */ +export type DisksListByResourceGroupNextResponse = DiskList; + +/** Optional parameters. */ +export interface DisksListNextOptionalParams extends coreClient.OperationOptions {} -/** Contains response data for the listByRestorePointNext operation. */ -export type DiskRestorePointListByRestorePointNextResponse = DiskRestorePointList; +/** Contains response data for the listNext operation. */ +export type DisksListNextResponse = DiskList; /** Optional parameters. */ -export interface GalleriesCreateOrUpdateOptionalParams +export interface SnapshotsCreateOrUpdateOptionalParams extends coreClient.OperationOptions { /** Delay to wait until next poll, in milliseconds. */ updateIntervalInMs?: number; @@ -10269,10 +10204,10 @@ export interface GalleriesCreateOrUpdateOptionalParams } /** Contains response data for the createOrUpdate operation. */ -export type GalleriesCreateOrUpdateResponse = Gallery; +export type SnapshotsCreateOrUpdateResponse = Snapshot; /** Optional parameters. */ -export interface GalleriesUpdateOptionalParams +export interface SnapshotsUpdateOptionalParams extends coreClient.OperationOptions { /** Delay to wait until next poll, in milliseconds. */ updateIntervalInMs?: number; @@ -10281,22 +10216,17 @@ export interface GalleriesUpdateOptionalParams } /** Contains response data for the update operation. */ -export type GalleriesUpdateResponse = Gallery; +export type SnapshotsUpdateResponse = Snapshot; /** Optional parameters. */ -export interface GalleriesGetOptionalParams - extends coreClient.OperationOptions { - /** The select expression to apply on the operation. */ - select?: SelectPermissions; - /** The expand query option to apply on the operation. */ - expand?: GalleryExpandParams; -} +export interface SnapshotsGetOptionalParams + extends coreClient.OperationOptions {} /** Contains response data for the get operation. */ -export type GalleriesGetResponse = Gallery; +export type SnapshotsGetResponse = Snapshot; /** Optional parameters. */ -export interface GalleriesDeleteOptionalParams +export interface SnapshotsDeleteOptionalParams extends coreClient.OperationOptions { /** Delay to wait until next poll, in milliseconds. */ updateIntervalInMs?: number; @@ -10305,35 +10235,56 @@ export interface GalleriesDeleteOptionalParams } /** Optional parameters. */ -export interface GalleriesListByResourceGroupOptionalParams +export interface SnapshotsListByResourceGroupOptionalParams extends coreClient.OperationOptions {} /** Contains response data for the listByResourceGroup operation. */ -export type GalleriesListByResourceGroupResponse = GalleryList; +export type SnapshotsListByResourceGroupResponse = SnapshotList; /** Optional parameters. */ -export interface GalleriesListOptionalParams +export interface SnapshotsListOptionalParams extends coreClient.OperationOptions {} /** Contains response data for the list operation. */ -export type GalleriesListResponse = GalleryList; +export type SnapshotsListResponse = SnapshotList; /** Optional parameters. */ -export interface GalleriesListByResourceGroupNextOptionalParams +export interface SnapshotsGrantAccessOptionalParams + extends coreClient.OperationOptions { + /** Delay to wait until next poll, in milliseconds. */ + updateIntervalInMs?: number; + /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */ + resumeFrom?: string; +} + +/** Contains response data for the grantAccess operation. */ +export type SnapshotsGrantAccessResponse = AccessUri; + +/** Optional parameters. */ +export interface SnapshotsRevokeAccessOptionalParams + extends coreClient.OperationOptions { + /** Delay to wait until next poll, in milliseconds. */ + updateIntervalInMs?: number; + /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */ + resumeFrom?: string; +} + +/** Optional parameters. */ +export interface SnapshotsListByResourceGroupNextOptionalParams extends coreClient.OperationOptions {} /** Contains response data for the listByResourceGroupNext operation. */ -export type GalleriesListByResourceGroupNextResponse = GalleryList; +export type SnapshotsListByResourceGroupNextResponse = SnapshotList; /** Optional parameters. */ -export interface GalleriesListNextOptionalParams +export interface SnapshotsListNextOptionalParams extends coreClient.OperationOptions {} /** Contains response data for the listNext operation. */ -export type GalleriesListNextResponse = GalleryList; +export type SnapshotsListNextResponse = SnapshotList; /** Optional parameters. */ -export interface GalleryImagesCreateOrUpdateOptionalParams +export interface DiskEncryptionSetsCreateOrUpdateOptionalParams extends coreClient.OperationOptions { /** Delay to wait until next poll, in milliseconds. */ updateIntervalInMs?: number; @@ -10342,10 +10293,10 @@ export interface GalleryImagesCreateOrUpdateOptionalParams } /** Contains response data for the createOrUpdate operation. */ -export type GalleryImagesCreateOrUpdateResponse = GalleryImage; +export type DiskEncryptionSetsCreateOrUpdateResponse = DiskEncryptionSet; /** Optional parameters. */ -export interface GalleryImagesUpdateOptionalParams +export interface DiskEncryptionSetsUpdateOptionalParams extends coreClient.OperationOptions { /** Delay to wait until next poll, in milliseconds. */ updateIntervalInMs?: number; @@ -10354,17 +10305,17 @@ export interface GalleryImagesUpdateOptionalParams } /** Contains response data for the update operation. */ -export type GalleryImagesUpdateResponse = GalleryImage; +export type DiskEncryptionSetsUpdateResponse = DiskEncryptionSet; /** Optional parameters. */ -export interface GalleryImagesGetOptionalParams +export interface DiskEncryptionSetsGetOptionalParams extends coreClient.OperationOptions {} /** Contains response data for the get operation. */ -export type GalleryImagesGetResponse = GalleryImage; +export type DiskEncryptionSetsGetResponse = DiskEncryptionSet; /** Optional parameters. */ -export interface GalleryImagesDeleteOptionalParams +export interface DiskEncryptionSetsDeleteOptionalParams extends coreClient.OperationOptions { /** Delay to wait until next poll, in milliseconds. */ updateIntervalInMs?: number; @@ -10373,21 +10324,49 @@ export interface GalleryImagesDeleteOptionalParams } /** Optional parameters. */ -export interface GalleryImagesListByGalleryOptionalParams +export interface DiskEncryptionSetsListByResourceGroupOptionalParams extends coreClient.OperationOptions {} -/** Contains response data for the listByGallery operation. */ -export type GalleryImagesListByGalleryResponse = GalleryImageList; +/** Contains response data for the listByResourceGroup operation. */ +export type DiskEncryptionSetsListByResourceGroupResponse = DiskEncryptionSetList; /** Optional parameters. */ -export interface GalleryImagesListByGalleryNextOptionalParams +export interface DiskEncryptionSetsListOptionalParams extends coreClient.OperationOptions {} -/** Contains response data for the listByGalleryNext operation. */ -export type GalleryImagesListByGalleryNextResponse = GalleryImageList; +/** Contains response data for the list operation. */ +export type DiskEncryptionSetsListResponse = DiskEncryptionSetList; /** Optional parameters. */ -export interface GalleryImageVersionsCreateOrUpdateOptionalParams +export interface DiskEncryptionSetsListAssociatedResourcesOptionalParams + extends coreClient.OperationOptions {} + +/** Contains response data for the listAssociatedResources operation. */ +export type DiskEncryptionSetsListAssociatedResourcesResponse = ResourceUriList; + +/** Optional parameters. */ +export interface DiskEncryptionSetsListByResourceGroupNextOptionalParams + extends coreClient.OperationOptions {} + +/** Contains response data for the listByResourceGroupNext operation. */ +export type DiskEncryptionSetsListByResourceGroupNextResponse = DiskEncryptionSetList; + +/** Optional parameters. */ +export interface DiskEncryptionSetsListNextOptionalParams + extends coreClient.OperationOptions {} + +/** Contains response data for the listNext operation. */ +export type DiskEncryptionSetsListNextResponse = DiskEncryptionSetList; + +/** Optional parameters. */ +export interface DiskEncryptionSetsListAssociatedResourcesNextOptionalParams + extends coreClient.OperationOptions {} + +/** Contains response data for the listAssociatedResourcesNext operation. */ +export type DiskEncryptionSetsListAssociatedResourcesNextResponse = ResourceUriList; + +/** Optional parameters. */ +export interface DiskAccessesCreateOrUpdateOptionalParams extends coreClient.OperationOptions { /** Delay to wait until next poll, in milliseconds. */ updateIntervalInMs?: number; @@ -10396,10 +10375,10 @@ export interface GalleryImageVersionsCreateOrUpdateOptionalParams } /** Contains response data for the createOrUpdate operation. */ -export type GalleryImageVersionsCreateOrUpdateResponse = GalleryImageVersion; +export type DiskAccessesCreateOrUpdateResponse = DiskAccess; /** Optional parameters. */ -export interface GalleryImageVersionsUpdateOptionalParams +export interface DiskAccessesUpdateOptionalParams extends coreClient.OperationOptions { /** Delay to wait until next poll, in milliseconds. */ updateIntervalInMs?: number; @@ -10408,20 +10387,17 @@ export interface GalleryImageVersionsUpdateOptionalParams } /** Contains response data for the update operation. */ -export type GalleryImageVersionsUpdateResponse = GalleryImageVersion; +export type DiskAccessesUpdateResponse = DiskAccess; /** Optional parameters. */ -export interface GalleryImageVersionsGetOptionalParams - extends coreClient.OperationOptions { - /** The expand expression to apply on the operation. */ - expand?: ReplicationStatusTypes; -} +export interface DiskAccessesGetOptionalParams + extends coreClient.OperationOptions {} /** Contains response data for the get operation. */ -export type GalleryImageVersionsGetResponse = GalleryImageVersion; +export type DiskAccessesGetResponse = DiskAccess; /** Optional parameters. */ -export interface GalleryImageVersionsDeleteOptionalParams +export interface DiskAccessesDeleteOptionalParams extends coreClient.OperationOptions { /** Delay to wait until next poll, in milliseconds. */ updateIntervalInMs?: number; @@ -10430,33 +10406,28 @@ export interface GalleryImageVersionsDeleteOptionalParams } /** Optional parameters. */ -export interface GalleryImageVersionsListByGalleryImageOptionalParams +export interface DiskAccessesListByResourceGroupOptionalParams extends coreClient.OperationOptions {} -/** Contains response data for the listByGalleryImage operation. */ -export type GalleryImageVersionsListByGalleryImageResponse = GalleryImageVersionList; +/** Contains response data for the listByResourceGroup operation. */ +export type DiskAccessesListByResourceGroupResponse = DiskAccessList; /** Optional parameters. */ -export interface GalleryImageVersionsListByGalleryImageNextOptionalParams +export interface DiskAccessesListOptionalParams extends coreClient.OperationOptions {} -/** Contains response data for the listByGalleryImageNext operation. */ -export type GalleryImageVersionsListByGalleryImageNextResponse = GalleryImageVersionList; +/** Contains response data for the list operation. */ +export type DiskAccessesListResponse = DiskAccessList; /** Optional parameters. */ -export interface GalleryApplicationsCreateOrUpdateOptionalParams - extends coreClient.OperationOptions { - /** Delay to wait until next poll, in milliseconds. */ - updateIntervalInMs?: number; - /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */ - resumeFrom?: string; -} +export interface DiskAccessesGetPrivateLinkResourcesOptionalParams + extends coreClient.OperationOptions {} -/** Contains response data for the createOrUpdate operation. */ -export type GalleryApplicationsCreateOrUpdateResponse = GalleryApplication; +/** Contains response data for the getPrivateLinkResources operation. */ +export type DiskAccessesGetPrivateLinkResourcesResponse = PrivateLinkResourceListResult; /** Optional parameters. */ -export interface GalleryApplicationsUpdateOptionalParams +export interface DiskAccessesUpdateAPrivateEndpointConnectionOptionalParams extends coreClient.OperationOptions { /** Delay to wait until next poll, in milliseconds. */ updateIntervalInMs?: number; @@ -10464,18 +10435,18 @@ export interface GalleryApplicationsUpdateOptionalParams resumeFrom?: string; } -/** Contains response data for the update operation. */ -export type GalleryApplicationsUpdateResponse = GalleryApplication; +/** Contains response data for the updateAPrivateEndpointConnection operation. */ +export type DiskAccessesUpdateAPrivateEndpointConnectionResponse = PrivateEndpointConnection; /** Optional parameters. */ -export interface GalleryApplicationsGetOptionalParams +export interface DiskAccessesGetAPrivateEndpointConnectionOptionalParams extends coreClient.OperationOptions {} -/** Contains response data for the get operation. */ -export type GalleryApplicationsGetResponse = GalleryApplication; +/** Contains response data for the getAPrivateEndpointConnection operation. */ +export type DiskAccessesGetAPrivateEndpointConnectionResponse = PrivateEndpointConnection; /** Optional parameters. */ -export interface GalleryApplicationsDeleteOptionalParams +export interface DiskAccessesDeleteAPrivateEndpointConnectionOptionalParams extends coreClient.OperationOptions { /** Delay to wait until next poll, in milliseconds. */ updateIntervalInMs?: number; @@ -10484,55 +10455,49 @@ export interface GalleryApplicationsDeleteOptionalParams } /** Optional parameters. */ -export interface GalleryApplicationsListByGalleryOptionalParams +export interface DiskAccessesListPrivateEndpointConnectionsOptionalParams extends coreClient.OperationOptions {} -/** Contains response data for the listByGallery operation. */ -export type GalleryApplicationsListByGalleryResponse = GalleryApplicationList; +/** Contains response data for the listPrivateEndpointConnections operation. */ +export type DiskAccessesListPrivateEndpointConnectionsResponse = PrivateEndpointConnectionListResult; /** Optional parameters. */ -export interface GalleryApplicationsListByGalleryNextOptionalParams +export interface DiskAccessesListByResourceGroupNextOptionalParams extends coreClient.OperationOptions {} -/** Contains response data for the listByGalleryNext operation. */ -export type GalleryApplicationsListByGalleryNextResponse = GalleryApplicationList; +/** Contains response data for the listByResourceGroupNext operation. */ +export type DiskAccessesListByResourceGroupNextResponse = DiskAccessList; /** Optional parameters. */ -export interface GalleryApplicationVersionsCreateOrUpdateOptionalParams - extends coreClient.OperationOptions { - /** Delay to wait until next poll, in milliseconds. */ - updateIntervalInMs?: number; - /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */ - resumeFrom?: string; -} +export interface DiskAccessesListNextOptionalParams + extends coreClient.OperationOptions {} -/** Contains response data for the createOrUpdate operation. */ -export type GalleryApplicationVersionsCreateOrUpdateResponse = GalleryApplicationVersion; +/** Contains response data for the listNext operation. */ +export type DiskAccessesListNextResponse = DiskAccessList; /** Optional parameters. */ -export interface GalleryApplicationVersionsUpdateOptionalParams - extends coreClient.OperationOptions { - /** Delay to wait until next poll, in milliseconds. */ - updateIntervalInMs?: number; - /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */ - resumeFrom?: string; -} +export interface DiskAccessesListPrivateEndpointConnectionsNextOptionalParams + extends coreClient.OperationOptions {} -/** Contains response data for the update operation. */ -export type GalleryApplicationVersionsUpdateResponse = GalleryApplicationVersion; +/** Contains response data for the listPrivateEndpointConnectionsNext operation. */ +export type DiskAccessesListPrivateEndpointConnectionsNextResponse = PrivateEndpointConnectionListResult; /** Optional parameters. */ -export interface GalleryApplicationVersionsGetOptionalParams - extends coreClient.OperationOptions { - /** The expand expression to apply on the operation. */ - expand?: ReplicationStatusTypes; -} +export interface DiskRestorePointGetOptionalParams + extends coreClient.OperationOptions {} /** Contains response data for the get operation. */ -export type GalleryApplicationVersionsGetResponse = GalleryApplicationVersion; +export type DiskRestorePointGetResponse = DiskRestorePoint; /** Optional parameters. */ -export interface GalleryApplicationVersionsDeleteOptionalParams +export interface DiskRestorePointListByRestorePointOptionalParams + extends coreClient.OperationOptions {} + +/** Contains response data for the listByRestorePoint operation. */ +export type DiskRestorePointListByRestorePointResponse = DiskRestorePointList; + +/** Optional parameters. */ +export interface DiskRestorePointGrantAccessOptionalParams extends coreClient.OperationOptions { /** Delay to wait until next poll, in milliseconds. */ updateIntervalInMs?: number; @@ -10540,22 +10505,11 @@ export interface GalleryApplicationVersionsDeleteOptionalParams resumeFrom?: string; } -/** Optional parameters. */ -export interface GalleryApplicationVersionsListByGalleryApplicationOptionalParams - extends coreClient.OperationOptions {} - -/** Contains response data for the listByGalleryApplication operation. */ -export type GalleryApplicationVersionsListByGalleryApplicationResponse = GalleryApplicationVersionList; - -/** Optional parameters. */ -export interface GalleryApplicationVersionsListByGalleryApplicationNextOptionalParams - extends coreClient.OperationOptions {} - -/** Contains response data for the listByGalleryApplicationNext operation. */ -export type GalleryApplicationVersionsListByGalleryApplicationNextResponse = GalleryApplicationVersionList; +/** Contains response data for the grantAccess operation. */ +export type DiskRestorePointGrantAccessResponse = AccessUri; /** Optional parameters. */ -export interface GallerySharingProfileUpdateOptionalParams +export interface DiskRestorePointRevokeAccessOptionalParams extends coreClient.OperationOptions { /** Delay to wait until next poll, in milliseconds. */ updateIntervalInMs?: number; @@ -10563,8 +10517,12 @@ export interface GallerySharingProfileUpdateOptionalParams resumeFrom?: string; } -/** Contains response data for the update operation. */ -export type GallerySharingProfileUpdateResponse = SharingUpdate; +/** Optional parameters. */ +export interface DiskRestorePointListByRestorePointNextOptionalParams + extends coreClient.OperationOptions {} + +/** Contains response data for the listByRestorePointNext operation. */ +export type DiskRestorePointListByRestorePointNextResponse = DiskRestorePointList; /** Optional parameters. */ export interface SharedGalleriesListOptionalParams diff --git a/sdk/compute/arm-compute/src/models/mappers.ts b/sdk/compute/arm-compute/src/models/mappers.ts index 12978d03ca18..4618fc62403b 100644 --- a/sdk/compute/arm-compute/src/models/mappers.ts +++ b/sdk/compute/arm-compute/src/models/mappers.ts @@ -191,168 +191,85 @@ export const InnerError: coreClient.CompositeMapper = { } }; -export const SubResource: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "SubResource", - modelProperties: { - id: { - serializedName: "id", - type: { - name: "String" - } - } - } - } -}; - -export const InstanceViewStatus: coreClient.CompositeMapper = { +export const ListUsagesResult: coreClient.CompositeMapper = { type: { name: "Composite", - className: "InstanceViewStatus", + className: "ListUsagesResult", modelProperties: { - code: { - serializedName: "code", - type: { - name: "String" - } - }, - level: { - serializedName: "level", - type: { - name: "Enum", - allowedValues: ["Info", "Warning", "Error"] - } - }, - displayStatus: { - serializedName: "displayStatus", + value: { + serializedName: "value", + required: true, type: { - name: "String" + name: "Sequence", + element: { + type: { + name: "Composite", + className: "Usage" + } + } } }, - message: { - serializedName: "message", + nextLink: { + serializedName: "nextLink", type: { name: "String" } - }, - time: { - serializedName: "time", - type: { - name: "DateTime" - } } } } }; -export const Sku: coreClient.CompositeMapper = { +export const Usage: coreClient.CompositeMapper = { type: { name: "Composite", - className: "Sku", + className: "Usage", modelProperties: { - name: { - serializedName: "name", + unit: { + defaultValue: "Count", + isConstant: true, + serializedName: "unit", type: { name: "String" } }, - tier: { - serializedName: "tier", + currentValue: { + serializedName: "currentValue", + required: true, type: { - name: "String" + name: "Number" } }, - capacity: { - serializedName: "capacity", + limit: { + serializedName: "limit", + required: true, type: { name: "Number" } - } - } - } -}; - -export const Resource: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "Resource", - modelProperties: { - id: { - serializedName: "id", - readOnly: true, - type: { - name: "String" - } }, name: { serializedName: "name", - readOnly: true, - type: { - name: "String" - } - }, - type: { - serializedName: "type", - readOnly: true, - type: { - name: "String" - } - }, - location: { - serializedName: "location", - required: true, - type: { - name: "String" - } - }, - tags: { - serializedName: "tags", - type: { - name: "Dictionary", - value: { type: { name: "String" } } - } - } - } - } -}; - -export const UpdateResource: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "UpdateResource", - modelProperties: { - tags: { - serializedName: "tags", type: { - name: "Dictionary", - value: { type: { name: "String" } } + name: "Composite", + className: "UsageName" } } } } }; -export const AvailabilitySetListResult: coreClient.CompositeMapper = { +export const UsageName: coreClient.CompositeMapper = { type: { name: "Composite", - className: "AvailabilitySetListResult", + className: "UsageName", modelProperties: { value: { serializedName: "value", - required: true, type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "AvailabilitySet" - } - } + name: "String" } }, - nextLink: { - serializedName: "nextLink", + localizedValue: { + serializedName: "localizedValue", type: { name: "String" } @@ -427,10 +344,10 @@ export const VirtualMachineSize: coreClient.CompositeMapper = { } }; -export const ProximityPlacementGroupListResult: coreClient.CompositeMapper = { +export const VirtualMachineScaleSetListResult: coreClient.CompositeMapper = { type: { name: "Composite", - className: "ProximityPlacementGroupListResult", + className: "VirtualMachineScaleSetListResult", modelProperties: { value: { serializedName: "value", @@ -440,7 +357,7 @@ export const ProximityPlacementGroupListResult: coreClient.CompositeMapper = { element: { type: { name: "Composite", - className: "ProximityPlacementGroup" + className: "VirtualMachineScaleSet" } } } @@ -455,226 +372,193 @@ export const ProximityPlacementGroupListResult: coreClient.CompositeMapper = { } }; -export const SubResourceReadOnly: coreClient.CompositeMapper = { +export const Sku: coreClient.CompositeMapper = { type: { name: "Composite", - className: "SubResourceReadOnly", + className: "Sku", modelProperties: { - id: { - serializedName: "id", - readOnly: true, + name: { + serializedName: "name", + type: { + name: "String" + } + }, + tier: { + serializedName: "tier", type: { name: "String" } + }, + capacity: { + serializedName: "capacity", + type: { + name: "Number" + } } } } }; -export const DedicatedHostGroupInstanceView: coreClient.CompositeMapper = { +export const Plan: coreClient.CompositeMapper = { type: { name: "Composite", - className: "DedicatedHostGroupInstanceView", + className: "Plan", modelProperties: { - hosts: { - serializedName: "hosts", + name: { + serializedName: "name", type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "DedicatedHostInstanceViewWithName" - } - } + name: "String" + } + }, + publisher: { + serializedName: "publisher", + type: { + name: "String" + } + }, + product: { + serializedName: "product", + type: { + name: "String" + } + }, + promotionCode: { + serializedName: "promotionCode", + type: { + name: "String" } } } } }; -export const DedicatedHostInstanceView: coreClient.CompositeMapper = { +export const UpgradePolicy: coreClient.CompositeMapper = { type: { name: "Composite", - className: "DedicatedHostInstanceView", + className: "UpgradePolicy", modelProperties: { - assetId: { - serializedName: "assetId", - readOnly: true, + mode: { + serializedName: "mode", type: { - name: "String" + name: "Enum", + allowedValues: ["Automatic", "Manual", "Rolling"] } }, - availableCapacity: { - serializedName: "availableCapacity", + rollingUpgradePolicy: { + serializedName: "rollingUpgradePolicy", type: { name: "Composite", - className: "DedicatedHostAvailableCapacity" + className: "RollingUpgradePolicy" } }, - statuses: { - serializedName: "statuses", + automaticOSUpgradePolicy: { + serializedName: "automaticOSUpgradePolicy", type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "InstanceViewStatus" - } - } + name: "Composite", + className: "AutomaticOSUpgradePolicy" } } } } }; -export const DedicatedHostAvailableCapacity: coreClient.CompositeMapper = { +export const RollingUpgradePolicy: coreClient.CompositeMapper = { type: { name: "Composite", - className: "DedicatedHostAvailableCapacity", + className: "RollingUpgradePolicy", modelProperties: { - allocatableVMs: { - serializedName: "allocatableVMs", + maxBatchInstancePercent: { + constraints: { + InclusiveMaximum: 100, + InclusiveMinimum: 5 + }, + serializedName: "maxBatchInstancePercent", type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "DedicatedHostAllocatableVM" - } - } - } - } - } - } -}; - -export const DedicatedHostAllocatableVM: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "DedicatedHostAllocatableVM", - modelProperties: { - vmSize: { - serializedName: "vmSize", - type: { - name: "String" + name: "Number" } }, - count: { - serializedName: "count", + maxUnhealthyInstancePercent: { + constraints: { + InclusiveMaximum: 100, + InclusiveMinimum: 5 + }, + serializedName: "maxUnhealthyInstancePercent", type: { name: "Number" } - } - } - } -}; - -export const DedicatedHostGroupListResult: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "DedicatedHostGroupListResult", - modelProperties: { - value: { - serializedName: "value", - required: true, + }, + maxUnhealthyUpgradedInstancePercent: { + constraints: { + InclusiveMaximum: 100, + InclusiveMinimum: 0 + }, + serializedName: "maxUnhealthyUpgradedInstancePercent", type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "DedicatedHostGroup" - } - } + name: "Number" } }, - nextLink: { - serializedName: "nextLink", + pauseTimeBetweenBatches: { + serializedName: "pauseTimeBetweenBatches", type: { name: "String" } - } - } - } -}; - -export const DedicatedHostListResult: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "DedicatedHostListResult", - modelProperties: { - value: { - serializedName: "value", - required: true, + }, + enableCrossZoneUpgrade: { + serializedName: "enableCrossZoneUpgrade", type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "DedicatedHost" - } - } + name: "Boolean" } }, - nextLink: { - serializedName: "nextLink", + prioritizeUnhealthyInstances: { + serializedName: "prioritizeUnhealthyInstances", type: { - name: "String" + name: "Boolean" } } } } }; -export const SshPublicKeysGroupListResult: coreClient.CompositeMapper = { +export const AutomaticOSUpgradePolicy: coreClient.CompositeMapper = { type: { name: "Composite", - className: "SshPublicKeysGroupListResult", + className: "AutomaticOSUpgradePolicy", modelProperties: { - value: { - serializedName: "value", - required: true, + enableAutomaticOSUpgrade: { + serializedName: "enableAutomaticOSUpgrade", type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "SshPublicKeyResource" - } - } + name: "Boolean" } }, - nextLink: { - serializedName: "nextLink", + disableAutomaticRollback: { + serializedName: "disableAutomaticRollback", type: { - name: "String" + name: "Boolean" } } } } }; -export const SshPublicKeyGenerateKeyPairResult: coreClient.CompositeMapper = { +export const AutomaticRepairsPolicy: coreClient.CompositeMapper = { type: { name: "Composite", - className: "SshPublicKeyGenerateKeyPairResult", + className: "AutomaticRepairsPolicy", modelProperties: { - privateKey: { - serializedName: "privateKey", - required: true, + enabled: { + serializedName: "enabled", type: { - name: "String" + name: "Boolean" } }, - publicKey: { - serializedName: "publicKey", - required: true, + gracePeriod: { + serializedName: "gracePeriod", type: { name: "String" } }, - id: { - serializedName: "id", - required: true, + repairAction: { + serializedName: "repairAction", type: { name: "String" } @@ -683,293 +567,291 @@ export const SshPublicKeyGenerateKeyPairResult: coreClient.CompositeMapper = { } }; -export const VirtualMachineExtensionInstanceView: coreClient.CompositeMapper = { +export const VirtualMachineScaleSetVMProfile: coreClient.CompositeMapper = { type: { name: "Composite", - className: "VirtualMachineExtensionInstanceView", + className: "VirtualMachineScaleSetVMProfile", modelProperties: { - name: { - serializedName: "name", + osProfile: { + serializedName: "osProfile", type: { - name: "String" + name: "Composite", + className: "VirtualMachineScaleSetOSProfile" } }, - type: { - serializedName: "type", + storageProfile: { + serializedName: "storageProfile", type: { - name: "String" + name: "Composite", + className: "VirtualMachineScaleSetStorageProfile" } }, - typeHandlerVersion: { - serializedName: "typeHandlerVersion", + networkProfile: { + serializedName: "networkProfile", type: { - name: "String" + name: "Composite", + className: "VirtualMachineScaleSetNetworkProfile" } }, - substatuses: { - serializedName: "substatuses", + securityProfile: { + serializedName: "securityProfile", type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "InstanceViewStatus" - } - } + name: "Composite", + className: "SecurityProfile" } }, - statuses: { - serializedName: "statuses", + diagnosticsProfile: { + serializedName: "diagnosticsProfile", type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "InstanceViewStatus" - } - } + name: "Composite", + className: "DiagnosticsProfile" } - } - } - } -}; - -export const VirtualMachineExtensionsListResult: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "VirtualMachineExtensionsListResult", - modelProperties: { - value: { - serializedName: "value", + }, + extensionProfile: { + serializedName: "extensionProfile", type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "VirtualMachineExtension" - } - } + name: "Composite", + className: "VirtualMachineScaleSetExtensionProfile" } - } - } - } -}; - -export const PurchasePlan: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "PurchasePlan", - modelProperties: { - publisher: { - serializedName: "publisher", - required: true, + }, + licenseType: { + serializedName: "licenseType", type: { name: "String" } }, - name: { - serializedName: "name", - required: true, + priority: { + serializedName: "priority", type: { name: "String" } }, - product: { - serializedName: "product", - required: true, + evictionPolicy: { + serializedName: "evictionPolicy", type: { name: "String" } - } - } - } -}; - -export const OSDiskImage: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "OSDiskImage", - modelProperties: { - operatingSystem: { - serializedName: "operatingSystem", - required: true, + }, + billingProfile: { + serializedName: "billingProfile", type: { - name: "Enum", - allowedValues: ["Windows", "Linux"] - } - } - } - } -}; - -export const DataDiskImage: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "DataDiskImage", - modelProperties: { - lun: { - serializedName: "lun", - readOnly: true, - type: { - name: "Number" + name: "Composite", + className: "BillingProfile" } - } - } - } -}; - -export const AutomaticOSUpgradeProperties: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "AutomaticOSUpgradeProperties", - modelProperties: { - automaticOSUpgradeSupported: { - serializedName: "automaticOSUpgradeSupported", - required: true, + }, + scheduledEventsProfile: { + serializedName: "scheduledEventsProfile", type: { - name: "Boolean" + name: "Composite", + className: "ScheduledEventsProfile" } - } - } - } -}; - -export const DisallowedConfiguration: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "DisallowedConfiguration", - modelProperties: { - vmDiskType: { - serializedName: "vmDiskType", + }, + userData: { + serializedName: "userData", type: { name: "String" } + }, + capacityReservation: { + serializedName: "capacityReservation", + type: { + name: "Composite", + className: "CapacityReservationProfile" + } + }, + applicationProfile: { + serializedName: "applicationProfile", + type: { + name: "Composite", + className: "ApplicationProfile" + } + }, + hardwareProfile: { + serializedName: "hardwareProfile", + type: { + name: "Composite", + className: "VirtualMachineScaleSetHardwareProfile" + } } } } }; -export const VirtualMachineImageFeature: coreClient.CompositeMapper = { +export const VirtualMachineScaleSetOSProfile: coreClient.CompositeMapper = { type: { name: "Composite", - className: "VirtualMachineImageFeature", + className: "VirtualMachineScaleSetOSProfile", modelProperties: { - name: { - serializedName: "name", + computerNamePrefix: { + serializedName: "computerNamePrefix", type: { name: "String" } }, - value: { - serializedName: "value", + adminUsername: { + serializedName: "adminUsername", type: { name: "String" } - } - } - } -}; - -export const ExtendedLocation: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "ExtendedLocation", - modelProperties: { - name: { - serializedName: "name", + }, + adminPassword: { + serializedName: "adminPassword", type: { name: "String" } }, - type: { - serializedName: "type", + customData: { + serializedName: "customData", type: { name: "String" } + }, + windowsConfiguration: { + serializedName: "windowsConfiguration", + type: { + name: "Composite", + className: "WindowsConfiguration" + } + }, + linuxConfiguration: { + serializedName: "linuxConfiguration", + type: { + name: "Composite", + className: "LinuxConfiguration" + } + }, + secrets: { + serializedName: "secrets", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "VaultSecretGroup" + } + } + } + }, + allowExtensionOperations: { + serializedName: "allowExtensionOperations", + type: { + name: "Boolean" + } } } } }; -export const ListUsagesResult: coreClient.CompositeMapper = { +export const WindowsConfiguration: coreClient.CompositeMapper = { type: { name: "Composite", - className: "ListUsagesResult", + className: "WindowsConfiguration", modelProperties: { - value: { - serializedName: "value", - required: true, + provisionVMAgent: { + serializedName: "provisionVMAgent", + type: { + name: "Boolean" + } + }, + enableAutomaticUpdates: { + serializedName: "enableAutomaticUpdates", + type: { + name: "Boolean" + } + }, + timeZone: { + serializedName: "timeZone", + type: { + name: "String" + } + }, + additionalUnattendContent: { + serializedName: "additionalUnattendContent", type: { name: "Sequence", element: { type: { name: "Composite", - className: "Usage" + className: "AdditionalUnattendContent" } } } }, - nextLink: { - serializedName: "nextLink", + patchSettings: { + serializedName: "patchSettings", type: { - name: "String" + name: "Composite", + className: "PatchSettings" + } + }, + winRM: { + serializedName: "winRM", + type: { + name: "Composite", + className: "WinRMConfiguration" } } } } }; -export const Usage: coreClient.CompositeMapper = { +export const AdditionalUnattendContent: coreClient.CompositeMapper = { type: { name: "Composite", - className: "Usage", + className: "AdditionalUnattendContent", modelProperties: { - unit: { - defaultValue: "Count", + passName: { + defaultValue: "OobeSystem", isConstant: true, - serializedName: "unit", + serializedName: "passName", type: { name: "String" } }, - currentValue: { - serializedName: "currentValue", - required: true, + componentName: { + defaultValue: "Microsoft-Windows-Shell-Setup", + isConstant: true, + serializedName: "componentName", type: { - name: "Number" + name: "String" } }, - limit: { - serializedName: "limit", - required: true, + settingName: { + serializedName: "settingName", type: { - name: "Number" + name: "Enum", + allowedValues: ["AutoLogon", "FirstLogonCommands"] } }, - name: { - serializedName: "name", + content: { + serializedName: "content", type: { - name: "Composite", - className: "UsageName" + name: "String" } } } } }; -export const UsageName: coreClient.CompositeMapper = { +export const PatchSettings: coreClient.CompositeMapper = { type: { name: "Composite", - className: "UsageName", + className: "PatchSettings", modelProperties: { - value: { - serializedName: "value", + patchMode: { + serializedName: "patchMode", type: { name: "String" } }, - localizedValue: { - serializedName: "localizedValue", + enableHotpatching: { + serializedName: "enableHotpatching", + type: { + name: "Boolean" + } + }, + assessmentMode: { + serializedName: "assessmentMode", type: { name: "String" } @@ -978,59 +860,118 @@ export const UsageName: coreClient.CompositeMapper = { } }; -export const VirtualMachineListResult: coreClient.CompositeMapper = { +export const WinRMConfiguration: coreClient.CompositeMapper = { type: { name: "Composite", - className: "VirtualMachineListResult", + className: "WinRMConfiguration", modelProperties: { - value: { - serializedName: "value", - required: true, + listeners: { + serializedName: "listeners", type: { name: "Sequence", element: { type: { name: "Composite", - className: "VirtualMachine" + className: "WinRMListener" } } } - }, - nextLink: { - serializedName: "nextLink", - type: { - name: "String" - } } } } }; -export const Plan: coreClient.CompositeMapper = { +export const WinRMListener: coreClient.CompositeMapper = { type: { name: "Composite", - className: "Plan", + className: "WinRMListener", modelProperties: { - name: { - serializedName: "name", + protocol: { + serializedName: "protocol", type: { - name: "String" + name: "Enum", + allowedValues: ["Http", "Https"] } }, - publisher: { - serializedName: "publisher", + certificateUrl: { + serializedName: "certificateUrl", type: { name: "String" } + } + } + } +}; + +export const LinuxConfiguration: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "LinuxConfiguration", + modelProperties: { + disablePasswordAuthentication: { + serializedName: "disablePasswordAuthentication", + type: { + name: "Boolean" + } }, - product: { - serializedName: "product", + ssh: { + serializedName: "ssh", + type: { + name: "Composite", + className: "SshConfiguration" + } + }, + provisionVMAgent: { + serializedName: "provisionVMAgent", + type: { + name: "Boolean" + } + }, + patchSettings: { + serializedName: "patchSettings", + type: { + name: "Composite", + className: "LinuxPatchSettings" + } + } + } + } +}; + +export const SshConfiguration: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "SshConfiguration", + modelProperties: { + publicKeys: { + serializedName: "publicKeys", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "SshPublicKey" + } + } + } + } + } + } +}; + +export const SshPublicKey: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "SshPublicKey", + modelProperties: { + path: { + serializedName: "path", type: { name: "String" } }, - promotionCode: { - serializedName: "promotionCode", + keyData: { + serializedName: "keyData", type: { name: "String" } @@ -1039,53 +980,95 @@ export const Plan: coreClient.CompositeMapper = { } }; -export const HardwareProfile: coreClient.CompositeMapper = { +export const LinuxPatchSettings: coreClient.CompositeMapper = { type: { name: "Composite", - className: "HardwareProfile", + className: "LinuxPatchSettings", modelProperties: { - vmSize: { - serializedName: "vmSize", + patchMode: { + serializedName: "patchMode", type: { name: "String" } }, - vmSizeProperties: { - serializedName: "vmSizeProperties", + assessmentMode: { + serializedName: "assessmentMode", + type: { + name: "String" + } + } + } + } +}; + +export const VaultSecretGroup: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "VaultSecretGroup", + modelProperties: { + sourceVault: { + serializedName: "sourceVault", type: { name: "Composite", - className: "VMSizeProperties" + className: "SubResource" + } + }, + vaultCertificates: { + serializedName: "vaultCertificates", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "VaultCertificate" + } + } } } } } }; -export const VMSizeProperties: coreClient.CompositeMapper = { +export const SubResource: coreClient.CompositeMapper = { type: { name: "Composite", - className: "VMSizeProperties", + className: "SubResource", modelProperties: { - vCPUsAvailable: { - serializedName: "vCPUsAvailable", + id: { + serializedName: "id", type: { - name: "Number" + name: "String" + } + } + } + } +}; + +export const VaultCertificate: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "VaultCertificate", + modelProperties: { + certificateUrl: { + serializedName: "certificateUrl", + type: { + name: "String" } }, - vCPUsPerCore: { - serializedName: "vCPUsPerCore", + certificateStore: { + serializedName: "certificateStore", type: { - name: "Number" + name: "String" } } } } }; -export const StorageProfile: coreClient.CompositeMapper = { +export const VirtualMachineScaleSetStorageProfile: coreClient.CompositeMapper = { type: { name: "Composite", - className: "StorageProfile", + className: "VirtualMachineScaleSetStorageProfile", modelProperties: { imageReference: { serializedName: "imageReference", @@ -1098,7 +1081,7 @@ export const StorageProfile: coreClient.CompositeMapper = { serializedName: "osDisk", type: { name: "Composite", - className: "OSDisk" + className: "VirtualMachineScaleSetOSDisk" } }, dataDisks: { @@ -1108,7 +1091,7 @@ export const StorageProfile: coreClient.CompositeMapper = { element: { type: { name: "Composite", - className: "DataDisk" + className: "VirtualMachineScaleSetDataDisk" } } } @@ -1117,45 +1100,17 @@ export const StorageProfile: coreClient.CompositeMapper = { } }; -export const OSDisk: coreClient.CompositeMapper = { +export const VirtualMachineScaleSetOSDisk: coreClient.CompositeMapper = { type: { name: "Composite", - className: "OSDisk", + className: "VirtualMachineScaleSetOSDisk", modelProperties: { - osType: { - serializedName: "osType", - type: { - name: "Enum", - allowedValues: ["Windows", "Linux"] - } - }, - encryptionSettings: { - serializedName: "encryptionSettings", - type: { - name: "Composite", - className: "DiskEncryptionSettings" - } - }, name: { serializedName: "name", type: { name: "String" } }, - vhd: { - serializedName: "vhd", - type: { - name: "Composite", - className: "VirtualHardDisk" - } - }, - image: { - serializedName: "image", - type: { - name: "Composite", - className: "VirtualHardDisk" - } - }, caching: { serializedName: "caching", type: { @@ -1169,13 +1124,6 @@ export const OSDisk: coreClient.CompositeMapper = { name: "Boolean" } }, - diffDiskSettings: { - serializedName: "diffDiskSettings", - type: { - name: "Composite", - className: "DiffDiskSettings" - } - }, createOption: { serializedName: "createOption", required: true, @@ -1183,99 +1131,71 @@ export const OSDisk: coreClient.CompositeMapper = { name: "String" } }, + diffDiskSettings: { + serializedName: "diffDiskSettings", + type: { + name: "Composite", + className: "DiffDiskSettings" + } + }, diskSizeGB: { serializedName: "diskSizeGB", type: { name: "Number" } }, - managedDisk: { - serializedName: "managedDisk", + osType: { + serializedName: "osType", type: { - name: "Composite", - className: "ManagedDiskParameters" + name: "Enum", + allowedValues: ["Windows", "Linux"] } }, - deleteOption: { - serializedName: "deleteOption", - type: { - name: "String" - } - } - } - } -}; - -export const DiskEncryptionSettings: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "DiskEncryptionSettings", - modelProperties: { - diskEncryptionKey: { - serializedName: "diskEncryptionKey", + image: { + serializedName: "image", type: { name: "Composite", - className: "KeyVaultSecretReference" + className: "VirtualHardDisk" } }, - keyEncryptionKey: { - serializedName: "keyEncryptionKey", + vhdContainers: { + serializedName: "vhdContainers", type: { - name: "Composite", - className: "KeyVaultKeyReference" + name: "Sequence", + element: { + type: { + name: "String" + } + } } }, - enabled: { - serializedName: "enabled", + managedDisk: { + serializedName: "managedDisk", type: { - name: "Boolean" + name: "Composite", + className: "VirtualMachineScaleSetManagedDiskParameters" } } } } }; -export const KeyVaultSecretReference: coreClient.CompositeMapper = { +export const DiffDiskSettings: coreClient.CompositeMapper = { type: { name: "Composite", - className: "KeyVaultSecretReference", + className: "DiffDiskSettings", modelProperties: { - secretUrl: { - serializedName: "secretUrl", - required: true, + option: { + serializedName: "option", type: { name: "String" } }, - sourceVault: { - serializedName: "sourceVault", - type: { - name: "Composite", - className: "SubResource" - } - } - } - } -}; - -export const KeyVaultKeyReference: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "KeyVaultKeyReference", - modelProperties: { - keyUrl: { - serializedName: "keyUrl", - required: true, + placement: { + serializedName: "placement", type: { name: "String" } - }, - sourceVault: { - serializedName: "sourceVault", - type: { - name: "Composite", - className: "SubResource" - } } } } @@ -1296,21 +1216,29 @@ export const VirtualHardDisk: coreClient.CompositeMapper = { } }; -export const DiffDiskSettings: coreClient.CompositeMapper = { +export const VirtualMachineScaleSetManagedDiskParameters: coreClient.CompositeMapper = { type: { name: "Composite", - className: "DiffDiskSettings", + className: "VirtualMachineScaleSetManagedDiskParameters", modelProperties: { - option: { - serializedName: "option", + storageAccountType: { + serializedName: "storageAccountType", type: { name: "String" } }, - placement: { - serializedName: "placement", + diskEncryptionSet: { + serializedName: "diskEncryptionSet", type: { - name: "String" + name: "Composite", + className: "DiskEncryptionSetParameters" + } + }, + securityProfile: { + serializedName: "securityProfile", + type: { + name: "Composite", + className: "VMDiskSecurityProfile" } } } @@ -1339,36 +1267,22 @@ export const VMDiskSecurityProfile: coreClient.CompositeMapper = { } }; -export const DataDisk: coreClient.CompositeMapper = { +export const VirtualMachineScaleSetDataDisk: coreClient.CompositeMapper = { type: { name: "Composite", - className: "DataDisk", + className: "VirtualMachineScaleSetDataDisk", modelProperties: { - lun: { - serializedName: "lun", - required: true, - type: { - name: "Number" - } - }, name: { serializedName: "name", type: { name: "String" } }, - vhd: { - serializedName: "vhd", - type: { - name: "Composite", - className: "VirtualHardDisk" - } - }, - image: { - serializedName: "image", + lun: { + serializedName: "lun", + required: true, type: { - name: "Composite", - className: "VirtualHardDisk" + name: "Number" } }, caching: { @@ -1401,37 +1315,51 @@ export const DataDisk: coreClient.CompositeMapper = { serializedName: "managedDisk", type: { name: "Composite", - className: "ManagedDiskParameters" - } - }, - toBeDetached: { - serializedName: "toBeDetached", - type: { - name: "Boolean" + className: "VirtualMachineScaleSetManagedDiskParameters" } }, diskIopsReadWrite: { serializedName: "diskIOPSReadWrite", - readOnly: true, type: { name: "Number" } }, diskMBpsReadWrite: { serializedName: "diskMBpsReadWrite", - readOnly: true, type: { name: "Number" } + } + } + } +}; + +export const VirtualMachineScaleSetNetworkProfile: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "VirtualMachineScaleSetNetworkProfile", + modelProperties: { + healthProbe: { + serializedName: "healthProbe", + type: { + name: "Composite", + className: "ApiEntityReference" + } }, - detachOption: { - serializedName: "detachOption", + networkInterfaceConfigurations: { + serializedName: "networkInterfaceConfigurations", type: { - name: "String" + name: "Sequence", + element: { + type: { + name: "Composite", + className: "VirtualMachineScaleSetNetworkConfiguration" + } + } } }, - deleteOption: { - serializedName: "deleteOption", + networkApiVersion: { + serializedName: "networkApiVersion", type: { name: "String" } @@ -1440,181 +1368,159 @@ export const DataDisk: coreClient.CompositeMapper = { } }; -export const AdditionalCapabilities: coreClient.CompositeMapper = { +export const ApiEntityReference: coreClient.CompositeMapper = { type: { name: "Composite", - className: "AdditionalCapabilities", + className: "ApiEntityReference", modelProperties: { - ultraSSDEnabled: { - serializedName: "ultraSSDEnabled", - type: { - name: "Boolean" - } - }, - hibernationEnabled: { - serializedName: "hibernationEnabled", + id: { + serializedName: "id", type: { - name: "Boolean" + name: "String" } } } } }; -export const OSProfile: coreClient.CompositeMapper = { +export const VirtualMachineScaleSetNetworkConfigurationDnsSettings: coreClient.CompositeMapper = { type: { name: "Composite", - className: "OSProfile", + className: "VirtualMachineScaleSetNetworkConfigurationDnsSettings", modelProperties: { - computerName: { - serializedName: "computerName", - type: { - name: "String" - } - }, - adminUsername: { - serializedName: "adminUsername", + dnsServers: { + serializedName: "dnsServers", type: { - name: "String" + name: "Sequence", + element: { + type: { + name: "String" + } + } } - }, - adminPassword: { - serializedName: "adminPassword", + } + } + } +}; + +export const VirtualMachineScaleSetPublicIPAddressConfiguration: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "VirtualMachineScaleSetPublicIPAddressConfiguration", + modelProperties: { + name: { + serializedName: "name", + required: true, type: { name: "String" } }, - customData: { - serializedName: "customData", + sku: { + serializedName: "sku", type: { - name: "String" + name: "Composite", + className: "PublicIPAddressSku" } }, - windowsConfiguration: { - serializedName: "windowsConfiguration", + idleTimeoutInMinutes: { + serializedName: "properties.idleTimeoutInMinutes", type: { - name: "Composite", - className: "WindowsConfiguration" + name: "Number" } }, - linuxConfiguration: { - serializedName: "linuxConfiguration", + dnsSettings: { + serializedName: "properties.dnsSettings", type: { name: "Composite", - className: "LinuxConfiguration" + className: + "VirtualMachineScaleSetPublicIPAddressConfigurationDnsSettings" } }, - secrets: { - serializedName: "secrets", + ipTags: { + serializedName: "properties.ipTags", type: { name: "Sequence", element: { type: { name: "Composite", - className: "VaultSecretGroup" + className: "VirtualMachineScaleSetIpTag" } } } }, - allowExtensionOperations: { - serializedName: "allowExtensionOperations", + publicIPPrefix: { + serializedName: "properties.publicIPPrefix", type: { - name: "Boolean" + name: "Composite", + className: "SubResource" } }, - requireGuestProvisionSignal: { - serializedName: "requireGuestProvisionSignal", + publicIPAddressVersion: { + serializedName: "properties.publicIPAddressVersion", type: { - name: "Boolean" + name: "String" + } + }, + deleteOption: { + serializedName: "properties.deleteOption", + type: { + name: "String" } } } } }; -export const WindowsConfiguration: coreClient.CompositeMapper = { +export const VirtualMachineScaleSetPublicIPAddressConfigurationDnsSettings: coreClient.CompositeMapper = { type: { name: "Composite", - className: "WindowsConfiguration", + className: "VirtualMachineScaleSetPublicIPAddressConfigurationDnsSettings", modelProperties: { - provisionVMAgent: { - serializedName: "provisionVMAgent", + domainNameLabel: { + serializedName: "domainNameLabel", + required: true, type: { - name: "Boolean" + name: "String" } - }, - enableAutomaticUpdates: { - serializedName: "enableAutomaticUpdates", + } + } + } +}; + +export const VirtualMachineScaleSetIpTag: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "VirtualMachineScaleSetIpTag", + modelProperties: { + ipTagType: { + serializedName: "ipTagType", type: { - name: "Boolean" + name: "String" } }, - timeZone: { - serializedName: "timeZone", + tag: { + serializedName: "tag", type: { name: "String" } - }, - additionalUnattendContent: { - serializedName: "additionalUnattendContent", - type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "AdditionalUnattendContent" - } - } - } - }, - patchSettings: { - serializedName: "patchSettings", - type: { - name: "Composite", - className: "PatchSettings" - } - }, - winRM: { - serializedName: "winRM", - type: { - name: "Composite", - className: "WinRMConfiguration" - } } } } }; -export const AdditionalUnattendContent: coreClient.CompositeMapper = { +export const PublicIPAddressSku: coreClient.CompositeMapper = { type: { name: "Composite", - className: "AdditionalUnattendContent", + className: "PublicIPAddressSku", modelProperties: { - passName: { - defaultValue: "OobeSystem", - isConstant: true, - serializedName: "passName", - type: { - name: "String" - } - }, - componentName: { - defaultValue: "Microsoft-Windows-Shell-Setup", - isConstant: true, - serializedName: "componentName", + name: { + serializedName: "name", type: { name: "String" } }, - settingName: { - serializedName: "settingName", - type: { - name: "Enum", - allowedValues: ["AutoLogon", "FirstLogonCommands"] - } - }, - content: { - serializedName: "content", + tier: { + serializedName: "tier", type: { name: "String" } @@ -1623,25 +1529,26 @@ export const AdditionalUnattendContent: coreClient.CompositeMapper = { } }; -export const PatchSettings: coreClient.CompositeMapper = { +export const SecurityProfile: coreClient.CompositeMapper = { type: { name: "Composite", - className: "PatchSettings", + className: "SecurityProfile", modelProperties: { - patchMode: { - serializedName: "patchMode", + uefiSettings: { + serializedName: "uefiSettings", type: { - name: "String" + name: "Composite", + className: "UefiSettings" } }, - enableHotpatching: { - serializedName: "enableHotpatching", + encryptionAtHost: { + serializedName: "encryptionAtHost", type: { name: "Boolean" } }, - assessmentMode: { - serializedName: "assessmentMode", + securityType: { + serializedName: "securityType", type: { name: "String" } @@ -1650,118 +1557,99 @@ export const PatchSettings: coreClient.CompositeMapper = { } }; -export const WinRMConfiguration: coreClient.CompositeMapper = { +export const UefiSettings: coreClient.CompositeMapper = { type: { name: "Composite", - className: "WinRMConfiguration", + className: "UefiSettings", modelProperties: { - listeners: { - serializedName: "listeners", + secureBootEnabled: { + serializedName: "secureBootEnabled", type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "WinRMListener" - } - } + name: "Boolean" + } + }, + vTpmEnabled: { + serializedName: "vTpmEnabled", + type: { + name: "Boolean" } } } } }; -export const WinRMListener: coreClient.CompositeMapper = { +export const DiagnosticsProfile: coreClient.CompositeMapper = { type: { name: "Composite", - className: "WinRMListener", + className: "DiagnosticsProfile", modelProperties: { - protocol: { - serializedName: "protocol", - type: { - name: "Enum", - allowedValues: ["Http", "Https"] - } - }, - certificateUrl: { - serializedName: "certificateUrl", + bootDiagnostics: { + serializedName: "bootDiagnostics", type: { - name: "String" + name: "Composite", + className: "BootDiagnostics" } } } } }; -export const LinuxConfiguration: coreClient.CompositeMapper = { +export const BootDiagnostics: coreClient.CompositeMapper = { type: { name: "Composite", - className: "LinuxConfiguration", + className: "BootDiagnostics", modelProperties: { - disablePasswordAuthentication: { - serializedName: "disablePasswordAuthentication", - type: { - name: "Boolean" - } - }, - ssh: { - serializedName: "ssh", - type: { - name: "Composite", - className: "SshConfiguration" - } - }, - provisionVMAgent: { - serializedName: "provisionVMAgent", + enabled: { + serializedName: "enabled", type: { name: "Boolean" } }, - patchSettings: { - serializedName: "patchSettings", + storageUri: { + serializedName: "storageUri", type: { - name: "Composite", - className: "LinuxPatchSettings" + name: "String" } } } } }; -export const SshConfiguration: coreClient.CompositeMapper = { +export const VirtualMachineScaleSetExtensionProfile: coreClient.CompositeMapper = { type: { name: "Composite", - className: "SshConfiguration", + className: "VirtualMachineScaleSetExtensionProfile", modelProperties: { - publicKeys: { - serializedName: "publicKeys", + extensions: { + serializedName: "extensions", type: { name: "Sequence", element: { type: { name: "Composite", - className: "SshPublicKey" + className: "VirtualMachineScaleSetExtension" } } } + }, + extensionsTimeBudget: { + serializedName: "extensionsTimeBudget", + type: { + name: "String" + } } } } }; -export const SshPublicKey: coreClient.CompositeMapper = { +export const SubResourceReadOnly: coreClient.CompositeMapper = { type: { name: "Composite", - className: "SshPublicKey", + className: "SubResourceReadOnly", modelProperties: { - path: { - serializedName: "path", - type: { - name: "String" - } - }, - keyData: { - serializedName: "keyData", + id: { + serializedName: "id", + readOnly: true, type: { name: "String" } @@ -1770,107 +1658,87 @@ export const SshPublicKey: coreClient.CompositeMapper = { } }; -export const LinuxPatchSettings: coreClient.CompositeMapper = { +export const BillingProfile: coreClient.CompositeMapper = { type: { name: "Composite", - className: "LinuxPatchSettings", + className: "BillingProfile", modelProperties: { - patchMode: { - serializedName: "patchMode", - type: { - name: "String" - } - }, - assessmentMode: { - serializedName: "assessmentMode", + maxPrice: { + serializedName: "maxPrice", type: { - name: "String" + name: "Number" } } } } }; -export const VaultSecretGroup: coreClient.CompositeMapper = { +export const ScheduledEventsProfile: coreClient.CompositeMapper = { type: { name: "Composite", - className: "VaultSecretGroup", + className: "ScheduledEventsProfile", modelProperties: { - sourceVault: { - serializedName: "sourceVault", + terminateNotificationProfile: { + serializedName: "terminateNotificationProfile", type: { name: "Composite", - className: "SubResource" - } - }, - vaultCertificates: { - serializedName: "vaultCertificates", - type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "VaultCertificate" - } - } + className: "TerminateNotificationProfile" } } } } }; -export const VaultCertificate: coreClient.CompositeMapper = { +export const TerminateNotificationProfile: coreClient.CompositeMapper = { type: { name: "Composite", - className: "VaultCertificate", + className: "TerminateNotificationProfile", modelProperties: { - certificateUrl: { - serializedName: "certificateUrl", + notBeforeTimeout: { + serializedName: "notBeforeTimeout", type: { name: "String" } }, - certificateStore: { - serializedName: "certificateStore", + enable: { + serializedName: "enable", type: { - name: "String" + name: "Boolean" } } } } }; -export const NetworkProfile: coreClient.CompositeMapper = { +export const CapacityReservationProfile: coreClient.CompositeMapper = { type: { name: "Composite", - className: "NetworkProfile", + className: "CapacityReservationProfile", modelProperties: { - networkInterfaces: { - serializedName: "networkInterfaces", + capacityReservationGroup: { + serializedName: "capacityReservationGroup", + type: { + name: "Composite", + className: "SubResource" + } + } + } + } +}; + +export const ApplicationProfile: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "ApplicationProfile", + modelProperties: { + galleryApplications: { + serializedName: "galleryApplications", type: { name: "Sequence", element: { type: { name: "Composite", - className: "NetworkInterfaceReference" - } - } - } - }, - networkApiVersion: { - serializedName: "networkApiVersion", - type: { - name: "String" - } - }, - networkInterfaceConfigurations: { - serializedName: "networkInterfaceConfigurations", - type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "VirtualMachineNetworkInterfaceConfiguration" + className: "VMGalleryApplication" } } } @@ -1879,92 +1747,117 @@ export const NetworkProfile: coreClient.CompositeMapper = { } }; -export const VirtualMachineNetworkInterfaceConfiguration: coreClient.CompositeMapper = { +export const VMGalleryApplication: coreClient.CompositeMapper = { type: { name: "Composite", - className: "VirtualMachineNetworkInterfaceConfiguration", + className: "VMGalleryApplication", modelProperties: { - name: { - serializedName: "name", - required: true, + tags: { + serializedName: "tags", type: { name: "String" } }, - primary: { - serializedName: "properties.primary", + order: { + serializedName: "order", type: { - name: "Boolean" + name: "Number" } }, - deleteOption: { - serializedName: "properties.deleteOption", + packageReferenceId: { + serializedName: "packageReferenceId", + required: true, type: { name: "String" } }, - enableAcceleratedNetworking: { - serializedName: "properties.enableAcceleratedNetworking", + configurationReference: { + serializedName: "configurationReference", type: { - name: "Boolean" + name: "String" } }, - enableFpga: { - serializedName: "properties.enableFpga", + treatFailureAsDeploymentFailure: { + serializedName: "treatFailureAsDeploymentFailure", type: { name: "Boolean" } }, - enableIPForwarding: { - serializedName: "properties.enableIPForwarding", + enableAutomaticUpgrade: { + serializedName: "enableAutomaticUpgrade", type: { name: "Boolean" } - }, - networkSecurityGroup: { - serializedName: "properties.networkSecurityGroup", + } + } + } +}; + +export const VirtualMachineScaleSetHardwareProfile: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "VirtualMachineScaleSetHardwareProfile", + modelProperties: { + vmSizeProperties: { + serializedName: "vmSizeProperties", type: { name: "Composite", - className: "SubResource" + className: "VMSizeProperties" } - }, - dnsSettings: { - serializedName: "properties.dnsSettings", + } + } + } +}; + +export const VMSizeProperties: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "VMSizeProperties", + modelProperties: { + vCPUsAvailable: { + serializedName: "vCPUsAvailable", type: { - name: "Composite", - className: "VirtualMachineNetworkInterfaceDnsSettingsConfiguration" + name: "Number" } }, - ipConfigurations: { - serializedName: "properties.ipConfigurations", + vCPUsPerCore: { + serializedName: "vCPUsPerCore", type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "VirtualMachineNetworkInterfaceIPConfiguration" - } - } + name: "Number" + } + } + } + } +}; + +export const AdditionalCapabilities: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "AdditionalCapabilities", + modelProperties: { + ultraSSDEnabled: { + serializedName: "ultraSSDEnabled", + type: { + name: "Boolean" } }, - dscpConfiguration: { - serializedName: "properties.dscpConfiguration", + hibernationEnabled: { + serializedName: "hibernationEnabled", type: { - name: "Composite", - className: "SubResource" + name: "Boolean" } } } } }; -export const VirtualMachineNetworkInterfaceDnsSettingsConfiguration: coreClient.CompositeMapper = { +export const ScaleInPolicy: coreClient.CompositeMapper = { type: { name: "Composite", - className: "VirtualMachineNetworkInterfaceDnsSettingsConfiguration", + className: "ScaleInPolicy", modelProperties: { - dnsServers: { - serializedName: "dnsServers", + rules: { + serializedName: "rules", type: { name: "Sequence", element: { @@ -1973,81 +1866,78 @@ export const VirtualMachineNetworkInterfaceDnsSettingsConfiguration: coreClient. } } } + }, + forceDeletion: { + serializedName: "forceDeletion", + type: { + name: "Boolean" + } } } } }; -export const VirtualMachineNetworkInterfaceIPConfiguration: coreClient.CompositeMapper = { +export const SpotRestorePolicy: coreClient.CompositeMapper = { type: { name: "Composite", - className: "VirtualMachineNetworkInterfaceIPConfiguration", + className: "SpotRestorePolicy", modelProperties: { - name: { - serializedName: "name", - required: true, - type: { - name: "String" - } - }, - subnet: { - serializedName: "properties.subnet", - type: { - name: "Composite", - className: "SubResource" - } - }, - primary: { - serializedName: "properties.primary", + enabled: { + serializedName: "enabled", type: { name: "Boolean" } }, - publicIPAddressConfiguration: { - serializedName: "properties.publicIPAddressConfiguration", + restoreTimeout: { + serializedName: "restoreTimeout", type: { - name: "Composite", - className: "VirtualMachinePublicIPAddressConfiguration" + name: "String" } - }, - privateIPAddressVersion: { - serializedName: "properties.privateIPAddressVersion", + } + } + } +}; + +export const VirtualMachineScaleSetIdentity: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "VirtualMachineScaleSetIdentity", + modelProperties: { + principalId: { + serializedName: "principalId", + readOnly: true, type: { name: "String" } }, - applicationSecurityGroups: { - serializedName: "properties.applicationSecurityGroups", + tenantId: { + serializedName: "tenantId", + readOnly: true, type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "SubResource" - } - } + name: "String" } }, - applicationGatewayBackendAddressPools: { - serializedName: "properties.applicationGatewayBackendAddressPools", + type: { + serializedName: "type", type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "SubResource" - } - } + name: "Enum", + allowedValues: [ + "SystemAssigned", + "UserAssigned", + "SystemAssigned, UserAssigned", + "None" + ] } }, - loadBalancerBackendAddressPools: { - serializedName: "properties.loadBalancerBackendAddressPools", + userAssignedIdentities: { + serializedName: "userAssignedIdentities", type: { - name: "Sequence", - element: { + name: "Dictionary", + value: { type: { name: "Composite", - className: "SubResource" + className: + "VirtualMachineScaleSetIdentityUserAssignedIdentitiesValue" } } } @@ -2056,157 +1946,163 @@ export const VirtualMachineNetworkInterfaceIPConfiguration: coreClient.Composite } }; -export const VirtualMachinePublicIPAddressConfiguration: coreClient.CompositeMapper = { +export const VirtualMachineScaleSetIdentityUserAssignedIdentitiesValue: coreClient.CompositeMapper = { type: { name: "Composite", - className: "VirtualMachinePublicIPAddressConfiguration", + className: "VirtualMachineScaleSetIdentityUserAssignedIdentitiesValue", modelProperties: { - name: { - serializedName: "name", - required: true, + principalId: { + serializedName: "principalId", + readOnly: true, type: { name: "String" } }, - sku: { - serializedName: "sku", + clientId: { + serializedName: "clientId", + readOnly: true, type: { - name: "Composite", - className: "PublicIPAddressSku" + name: "String" } - }, - idleTimeoutInMinutes: { - serializedName: "properties.idleTimeoutInMinutes", + } + } + } +}; + +export const ExtendedLocation: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "ExtendedLocation", + modelProperties: { + name: { + serializedName: "name", type: { - name: "Number" + name: "String" } }, - deleteOption: { - serializedName: "properties.deleteOption", + type: { + serializedName: "type", type: { name: "String" } - }, - dnsSettings: { - serializedName: "properties.dnsSettings", - type: { - name: "Composite", - className: "VirtualMachinePublicIPAddressDnsSettingsConfiguration" + } + } + } +}; + +export const Resource: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "Resource", + modelProperties: { + id: { + serializedName: "id", + readOnly: true, + type: { + name: "String" } }, - ipTags: { - serializedName: "properties.ipTags", + name: { + serializedName: "name", + readOnly: true, type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "VirtualMachineIpTag" - } - } + name: "String" } }, - publicIPPrefix: { - serializedName: "properties.publicIPPrefix", + type: { + serializedName: "type", + readOnly: true, type: { - name: "Composite", - className: "SubResource" + name: "String" } }, - publicIPAddressVersion: { - serializedName: "properties.publicIPAddressVersion", + location: { + serializedName: "location", + required: true, type: { name: "String" } }, - publicIPAllocationMethod: { - serializedName: "properties.publicIPAllocationMethod", + tags: { + serializedName: "tags", type: { - name: "String" + name: "Dictionary", + value: { type: { name: "String" } } } } } } }; -export const VirtualMachinePublicIPAddressDnsSettingsConfiguration: coreClient.CompositeMapper = { +export const VirtualMachineScaleSetUpdateVMProfile: coreClient.CompositeMapper = { type: { name: "Composite", - className: "VirtualMachinePublicIPAddressDnsSettingsConfiguration", + className: "VirtualMachineScaleSetUpdateVMProfile", modelProperties: { - domainNameLabel: { - serializedName: "domainNameLabel", - required: true, + osProfile: { + serializedName: "osProfile", type: { - name: "String" + name: "Composite", + className: "VirtualMachineScaleSetUpdateOSProfile" } - } - } - } -}; - -export const VirtualMachineIpTag: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "VirtualMachineIpTag", - modelProperties: { - ipTagType: { - serializedName: "ipTagType", + }, + storageProfile: { + serializedName: "storageProfile", type: { - name: "String" + name: "Composite", + className: "VirtualMachineScaleSetUpdateStorageProfile" } }, - tag: { - serializedName: "tag", + networkProfile: { + serializedName: "networkProfile", type: { - name: "String" + name: "Composite", + className: "VirtualMachineScaleSetUpdateNetworkProfile" } - } - } - } -}; - -export const PublicIPAddressSku: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "PublicIPAddressSku", - modelProperties: { - name: { - serializedName: "name", + }, + securityProfile: { + serializedName: "securityProfile", type: { - name: "String" + name: "Composite", + className: "SecurityProfile" } }, - tier: { - serializedName: "tier", + diagnosticsProfile: { + serializedName: "diagnosticsProfile", + type: { + name: "Composite", + className: "DiagnosticsProfile" + } + }, + extensionProfile: { + serializedName: "extensionProfile", + type: { + name: "Composite", + className: "VirtualMachineScaleSetExtensionProfile" + } + }, + licenseType: { + serializedName: "licenseType", type: { name: "String" } - } - } - } -}; - -export const SecurityProfile: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "SecurityProfile", - modelProperties: { - uefiSettings: { - serializedName: "uefiSettings", + }, + billingProfile: { + serializedName: "billingProfile", type: { name: "Composite", - className: "UefiSettings" + className: "BillingProfile" } }, - encryptionAtHost: { - serializedName: "encryptionAtHost", + scheduledEventsProfile: { + serializedName: "scheduledEventsProfile", type: { - name: "Boolean" + name: "Composite", + className: "ScheduledEventsProfile" } }, - securityType: { - serializedName: "securityType", + userData: { + serializedName: "userData", type: { name: "String" } @@ -2215,227 +2111,289 @@ export const SecurityProfile: coreClient.CompositeMapper = { } }; -export const UefiSettings: coreClient.CompositeMapper = { +export const VirtualMachineScaleSetUpdateOSProfile: coreClient.CompositeMapper = { type: { name: "Composite", - className: "UefiSettings", + className: "VirtualMachineScaleSetUpdateOSProfile", modelProperties: { - secureBootEnabled: { - serializedName: "secureBootEnabled", + customData: { + serializedName: "customData", type: { - name: "Boolean" + name: "String" } }, - vTpmEnabled: { - serializedName: "vTpmEnabled", + windowsConfiguration: { + serializedName: "windowsConfiguration", type: { - name: "Boolean" + name: "Composite", + className: "WindowsConfiguration" } - } - } - } -}; - -export const DiagnosticsProfile: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "DiagnosticsProfile", - modelProperties: { - bootDiagnostics: { - serializedName: "bootDiagnostics", + }, + linuxConfiguration: { + serializedName: "linuxConfiguration", type: { name: "Composite", - className: "BootDiagnostics" + className: "LinuxConfiguration" + } + }, + secrets: { + serializedName: "secrets", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "VaultSecretGroup" + } + } } } } } }; -export const BootDiagnostics: coreClient.CompositeMapper = { +export const VirtualMachineScaleSetUpdateStorageProfile: coreClient.CompositeMapper = { type: { name: "Composite", - className: "BootDiagnostics", + className: "VirtualMachineScaleSetUpdateStorageProfile", modelProperties: { - enabled: { - serializedName: "enabled", + imageReference: { + serializedName: "imageReference", type: { - name: "Boolean" + name: "Composite", + className: "ImageReference" } }, - storageUri: { - serializedName: "storageUri", + osDisk: { + serializedName: "osDisk", type: { - name: "String" + name: "Composite", + className: "VirtualMachineScaleSetUpdateOSDisk" } - } - } - } -}; - -export const BillingProfile: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "BillingProfile", - modelProperties: { - maxPrice: { - serializedName: "maxPrice", + }, + dataDisks: { + serializedName: "dataDisks", type: { - name: "Number" + name: "Sequence", + element: { + type: { + name: "Composite", + className: "VirtualMachineScaleSetDataDisk" + } + } } } } } }; -export const VirtualMachineInstanceView: coreClient.CompositeMapper = { +export const VirtualMachineScaleSetUpdateOSDisk: coreClient.CompositeMapper = { type: { name: "Composite", - className: "VirtualMachineInstanceView", + className: "VirtualMachineScaleSetUpdateOSDisk", modelProperties: { - platformUpdateDomain: { - serializedName: "platformUpdateDomain", + caching: { + serializedName: "caching", type: { - name: "Number" + name: "Enum", + allowedValues: ["None", "ReadOnly", "ReadWrite"] } }, - platformFaultDomain: { - serializedName: "platformFaultDomain", + writeAcceleratorEnabled: { + serializedName: "writeAcceleratorEnabled", type: { - name: "Number" + name: "Boolean" } }, - computerName: { - serializedName: "computerName", - type: { - name: "String" - } - }, - osName: { - serializedName: "osName", - type: { - name: "String" - } - }, - osVersion: { - serializedName: "osVersion", + diskSizeGB: { + serializedName: "diskSizeGB", type: { - name: "String" + name: "Number" } }, - hyperVGeneration: { - serializedName: "hyperVGeneration", + image: { + serializedName: "image", type: { - name: "String" + name: "Composite", + className: "VirtualHardDisk" } }, - rdpThumbPrint: { - serializedName: "rdpThumbPrint", + vhdContainers: { + serializedName: "vhdContainers", type: { - name: "String" + name: "Sequence", + element: { + type: { + name: "String" + } + } } }, - vmAgent: { - serializedName: "vmAgent", + managedDisk: { + serializedName: "managedDisk", type: { name: "Composite", - className: "VirtualMachineAgentInstanceView" + className: "VirtualMachineScaleSetManagedDiskParameters" } - }, - maintenanceRedeployStatus: { - serializedName: "maintenanceRedeployStatus", + } + } + } +}; + +export const VirtualMachineScaleSetUpdateNetworkProfile: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "VirtualMachineScaleSetUpdateNetworkProfile", + modelProperties: { + healthProbe: { + serializedName: "healthProbe", type: { name: "Composite", - className: "MaintenanceRedeployStatus" + className: "ApiEntityReference" } }, - disks: { - serializedName: "disks", + networkInterfaceConfigurations: { + serializedName: "networkInterfaceConfigurations", type: { name: "Sequence", element: { type: { name: "Composite", - className: "DiskInstanceView" + className: "VirtualMachineScaleSetUpdateNetworkConfiguration" } } } }, - extensions: { - serializedName: "extensions", + networkApiVersion: { + serializedName: "networkApiVersion", type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "VirtualMachineExtensionInstanceView" - } - } + name: "String" + } + } + } + } +}; + +export const VirtualMachineScaleSetUpdatePublicIPAddressConfiguration: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "VirtualMachineScaleSetUpdatePublicIPAddressConfiguration", + modelProperties: { + name: { + serializedName: "name", + type: { + name: "String" } }, - vmHealth: { - serializedName: "vmHealth", + idleTimeoutInMinutes: { + serializedName: "properties.idleTimeoutInMinutes", + type: { + name: "Number" + } + }, + dnsSettings: { + serializedName: "properties.dnsSettings", type: { name: "Composite", - className: "VirtualMachineHealthStatus" + className: + "VirtualMachineScaleSetPublicIPAddressConfigurationDnsSettings" } }, - bootDiagnostics: { - serializedName: "bootDiagnostics", + publicIPPrefix: { + serializedName: "properties.publicIPPrefix", type: { name: "Composite", - className: "BootDiagnosticsInstanceView" + className: "SubResource" } }, - assignedHost: { - serializedName: "assignedHost", - readOnly: true, + deleteOption: { + serializedName: "properties.deleteOption", type: { name: "String" } - }, - statuses: { - serializedName: "statuses", + } + } + } +}; + +export const UpdateResource: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "UpdateResource", + modelProperties: { + tags: { + serializedName: "tags", + type: { + name: "Dictionary", + value: { type: { name: "String" } } + } + } + } + } +}; + +export const VirtualMachineScaleSetVMInstanceIDs: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "VirtualMachineScaleSetVMInstanceIDs", + modelProperties: { + instanceIds: { + serializedName: "instanceIds", type: { name: "Sequence", element: { type: { - name: "Composite", - className: "InstanceViewStatus" + name: "String" } } } - }, - patchStatus: { - serializedName: "patchStatus", + } + } + } +}; + +export const VirtualMachineScaleSetVMInstanceRequiredIDs: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "VirtualMachineScaleSetVMInstanceRequiredIDs", + modelProperties: { + instanceIds: { + serializedName: "instanceIds", + required: true, type: { - name: "Composite", - className: "VirtualMachinePatchStatus" + name: "Sequence", + element: { + type: { + name: "String" + } + } } } } } }; -export const VirtualMachineAgentInstanceView: coreClient.CompositeMapper = { +export const VirtualMachineScaleSetInstanceView: coreClient.CompositeMapper = { type: { name: "Composite", - className: "VirtualMachineAgentInstanceView", + className: "VirtualMachineScaleSetInstanceView", modelProperties: { - vmAgentVersion: { - serializedName: "vmAgentVersion", + virtualMachine: { + serializedName: "virtualMachine", type: { - name: "String" + name: "Composite", + className: "VirtualMachineScaleSetInstanceViewStatusesSummary" } }, - extensionHandlers: { - serializedName: "extensionHandlers", + extensions: { + serializedName: "extensions", + readOnly: true, type: { name: "Sequence", element: { type: { name: "Composite", - className: "VirtualMachineExtensionHandlerInstanceView" + className: "VirtualMachineScaleSetVMExtensionsSummary" } } } @@ -2451,359 +2409,512 @@ export const VirtualMachineAgentInstanceView: coreClient.CompositeMapper = { } } } + }, + orchestrationServices: { + serializedName: "orchestrationServices", + readOnly: true, + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "OrchestrationServiceSummary" + } + } + } } } } }; -export const VirtualMachineExtensionHandlerInstanceView: coreClient.CompositeMapper = { +export const VirtualMachineScaleSetInstanceViewStatusesSummary: coreClient.CompositeMapper = { type: { name: "Composite", - className: "VirtualMachineExtensionHandlerInstanceView", + className: "VirtualMachineScaleSetInstanceViewStatusesSummary", modelProperties: { - type: { - serializedName: "type", + statusesSummary: { + serializedName: "statusesSummary", + readOnly: true, type: { - name: "String" + name: "Sequence", + element: { + type: { + name: "Composite", + className: "VirtualMachineStatusCodeCount" + } + } } - }, - typeHandlerVersion: { - serializedName: "typeHandlerVersion", + } + } + } +}; + +export const VirtualMachineStatusCodeCount: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "VirtualMachineStatusCodeCount", + modelProperties: { + code: { + serializedName: "code", + readOnly: true, type: { name: "String" } }, - status: { - serializedName: "status", + count: { + serializedName: "count", + readOnly: true, type: { - name: "Composite", - className: "InstanceViewStatus" + name: "Number" } } } } }; -export const MaintenanceRedeployStatus: coreClient.CompositeMapper = { +export const VirtualMachineScaleSetVMExtensionsSummary: coreClient.CompositeMapper = { type: { name: "Composite", - className: "MaintenanceRedeployStatus", + className: "VirtualMachineScaleSetVMExtensionsSummary", modelProperties: { - isCustomerInitiatedMaintenanceAllowed: { - serializedName: "isCustomerInitiatedMaintenanceAllowed", + name: { + serializedName: "name", + readOnly: true, type: { - name: "Boolean" + name: "String" } }, - preMaintenanceWindowStartTime: { - serializedName: "preMaintenanceWindowStartTime", + statusesSummary: { + serializedName: "statusesSummary", + readOnly: true, type: { - name: "DateTime" + name: "Sequence", + element: { + type: { + name: "Composite", + className: "VirtualMachineStatusCodeCount" + } + } } - }, - preMaintenanceWindowEndTime: { - serializedName: "preMaintenanceWindowEndTime", + } + } + } +}; + +export const InstanceViewStatus: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "InstanceViewStatus", + modelProperties: { + code: { + serializedName: "code", type: { - name: "DateTime" + name: "String" } }, - maintenanceWindowStartTime: { - serializedName: "maintenanceWindowStartTime", + level: { + serializedName: "level", type: { - name: "DateTime" + name: "Enum", + allowedValues: ["Info", "Warning", "Error"] } }, - maintenanceWindowEndTime: { - serializedName: "maintenanceWindowEndTime", + displayStatus: { + serializedName: "displayStatus", type: { - name: "DateTime" + name: "String" } }, - lastOperationResultCode: { - serializedName: "lastOperationResultCode", + message: { + serializedName: "message", type: { - name: "Enum", - allowedValues: [ - "None", - "RetryLater", - "MaintenanceAborted", - "MaintenanceCompleted" - ] + name: "String" } }, - lastOperationMessage: { - serializedName: "lastOperationMessage", + time: { + serializedName: "time", type: { - name: "String" + name: "DateTime" } } } } }; -export const DiskInstanceView: coreClient.CompositeMapper = { +export const OrchestrationServiceSummary: coreClient.CompositeMapper = { type: { name: "Composite", - className: "DiskInstanceView", + className: "OrchestrationServiceSummary", modelProperties: { - name: { - serializedName: "name", + serviceName: { + serializedName: "serviceName", + readOnly: true, type: { name: "String" } }, - encryptionSettings: { - serializedName: "encryptionSettings", + serviceState: { + serializedName: "serviceState", + readOnly: true, + type: { + name: "String" + } + } + } + } +}; + +export const VirtualMachineScaleSetExtensionListResult: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "VirtualMachineScaleSetExtensionListResult", + modelProperties: { + value: { + serializedName: "value", + required: true, type: { name: "Sequence", element: { type: { name: "Composite", - className: "DiskEncryptionSettings" + className: "VirtualMachineScaleSetExtension" } } } }, - statuses: { - serializedName: "statuses", + nextLink: { + serializedName: "nextLink", + type: { + name: "String" + } + } + } + } +}; + +export const VirtualMachineScaleSetListWithLinkResult: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "VirtualMachineScaleSetListWithLinkResult", + modelProperties: { + value: { + serializedName: "value", + required: true, type: { name: "Sequence", element: { type: { name: "Composite", - className: "InstanceViewStatus" + className: "VirtualMachineScaleSet" } } } + }, + nextLink: { + serializedName: "nextLink", + type: { + name: "String" + } } } } }; -export const VirtualMachineHealthStatus: coreClient.CompositeMapper = { +export const VirtualMachineScaleSetListSkusResult: coreClient.CompositeMapper = { type: { name: "Composite", - className: "VirtualMachineHealthStatus", + className: "VirtualMachineScaleSetListSkusResult", modelProperties: { - status: { - serializedName: "status", + value: { + serializedName: "value", + required: true, type: { - name: "Composite", - className: "InstanceViewStatus" + name: "Sequence", + element: { + type: { + name: "Composite", + className: "VirtualMachineScaleSetSku" + } + } + } + }, + nextLink: { + serializedName: "nextLink", + type: { + name: "String" } } } } }; -export const BootDiagnosticsInstanceView: coreClient.CompositeMapper = { +export const VirtualMachineScaleSetSku: coreClient.CompositeMapper = { type: { name: "Composite", - className: "BootDiagnosticsInstanceView", + className: "VirtualMachineScaleSetSku", modelProperties: { - consoleScreenshotBlobUri: { - serializedName: "consoleScreenshotBlobUri", + resourceType: { + serializedName: "resourceType", readOnly: true, type: { name: "String" } }, - serialConsoleLogBlobUri: { - serializedName: "serialConsoleLogBlobUri", - readOnly: true, + sku: { + serializedName: "sku", type: { - name: "String" + name: "Composite", + className: "Sku" } }, - status: { - serializedName: "status", + capacity: { + serializedName: "capacity", type: { name: "Composite", - className: "InstanceViewStatus" + className: "VirtualMachineScaleSetSkuCapacity" } } } } }; -export const VirtualMachinePatchStatus: coreClient.CompositeMapper = { +export const VirtualMachineScaleSetSkuCapacity: coreClient.CompositeMapper = { type: { name: "Composite", - className: "VirtualMachinePatchStatus", + className: "VirtualMachineScaleSetSkuCapacity", modelProperties: { - availablePatchSummary: { - serializedName: "availablePatchSummary", + minimum: { + serializedName: "minimum", + readOnly: true, type: { - name: "Composite", - className: "AvailablePatchSummary" + name: "Number" } }, - lastPatchInstallationSummary: { - serializedName: "lastPatchInstallationSummary", + maximum: { + serializedName: "maximum", + readOnly: true, type: { - name: "Composite", - className: "LastPatchInstallationSummary" + name: "Number" } }, - configurationStatuses: { - serializedName: "configurationStatuses", + defaultCapacity: { + serializedName: "defaultCapacity", + readOnly: true, + type: { + name: "Number" + } + }, + scaleType: { + serializedName: "scaleType", readOnly: true, + type: { + name: "Enum", + allowedValues: ["Automatic", "None"] + } + } + } + } +}; + +export const VirtualMachineScaleSetListOSUpgradeHistory: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "VirtualMachineScaleSetListOSUpgradeHistory", + modelProperties: { + value: { + serializedName: "value", + required: true, type: { name: "Sequence", element: { type: { name: "Composite", - className: "InstanceViewStatus" + className: "UpgradeOperationHistoricalStatusInfo" } } } + }, + nextLink: { + serializedName: "nextLink", + type: { + name: "String" + } } } } }; -export const AvailablePatchSummary: coreClient.CompositeMapper = { +export const UpgradeOperationHistoricalStatusInfo: coreClient.CompositeMapper = { type: { name: "Composite", - className: "AvailablePatchSummary", + className: "UpgradeOperationHistoricalStatusInfo", modelProperties: { - status: { - serializedName: "status", - readOnly: true, + properties: { + serializedName: "properties", type: { - name: "String" + name: "Composite", + className: "UpgradeOperationHistoricalStatusInfoProperties" } }, - assessmentActivityId: { - serializedName: "assessmentActivityId", + type: { + serializedName: "type", readOnly: true, type: { name: "String" } }, - rebootPending: { - serializedName: "rebootPending", - readOnly: true, - type: { - name: "Boolean" - } - }, - criticalAndSecurityPatchCount: { - serializedName: "criticalAndSecurityPatchCount", + location: { + serializedName: "location", readOnly: true, type: { - name: "Number" + name: "String" } - }, - otherPatchCount: { - serializedName: "otherPatchCount", - readOnly: true, + } + } + } +}; + +export const UpgradeOperationHistoricalStatusInfoProperties: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "UpgradeOperationHistoricalStatusInfoProperties", + modelProperties: { + runningStatus: { + serializedName: "runningStatus", type: { - name: "Number" + name: "Composite", + className: "UpgradeOperationHistoryStatus" } }, - startTime: { - serializedName: "startTime", - readOnly: true, + progress: { + serializedName: "progress", type: { - name: "DateTime" + name: "Composite", + className: "RollingUpgradeProgressInfo" } }, - lastModifiedTime: { - serializedName: "lastModifiedTime", + error: { + serializedName: "error", + type: { + name: "Composite", + className: "ApiError" + } + }, + startedBy: { + serializedName: "startedBy", readOnly: true, type: { - name: "DateTime" + name: "Enum", + allowedValues: ["Unknown", "User", "Platform"] } }, - error: { - serializedName: "error", + targetImageReference: { + serializedName: "targetImageReference", type: { name: "Composite", - className: "ApiError" + className: "ImageReference" + } + }, + rollbackInfo: { + serializedName: "rollbackInfo", + type: { + name: "Composite", + className: "RollbackStatusInfo" } } } } }; -export const LastPatchInstallationSummary: coreClient.CompositeMapper = { +export const UpgradeOperationHistoryStatus: coreClient.CompositeMapper = { type: { name: "Composite", - className: "LastPatchInstallationSummary", + className: "UpgradeOperationHistoryStatus", modelProperties: { - status: { - serializedName: "status", + code: { + serializedName: "code", readOnly: true, type: { - name: "String" + name: "Enum", + allowedValues: ["RollingForward", "Cancelled", "Completed", "Faulted"] } }, - installationActivityId: { - serializedName: "installationActivityId", + startTime: { + serializedName: "startTime", readOnly: true, type: { - name: "String" + name: "DateTime" } }, - maintenanceWindowExceeded: { - serializedName: "maintenanceWindowExceeded", + endTime: { + serializedName: "endTime", readOnly: true, type: { - name: "Boolean" + name: "DateTime" } - }, - notSelectedPatchCount: { - serializedName: "notSelectedPatchCount", + } + } + } +}; + +export const RollingUpgradeProgressInfo: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "RollingUpgradeProgressInfo", + modelProperties: { + successfulInstanceCount: { + serializedName: "successfulInstanceCount", readOnly: true, type: { name: "Number" } }, - excludedPatchCount: { - serializedName: "excludedPatchCount", + failedInstanceCount: { + serializedName: "failedInstanceCount", readOnly: true, type: { name: "Number" } }, - pendingPatchCount: { - serializedName: "pendingPatchCount", + inProgressInstanceCount: { + serializedName: "inProgressInstanceCount", readOnly: true, type: { name: "Number" } }, - installedPatchCount: { - serializedName: "installedPatchCount", + pendingInstanceCount: { + serializedName: "pendingInstanceCount", readOnly: true, type: { name: "Number" } - }, - failedPatchCount: { - serializedName: "failedPatchCount", + } + } + } +}; + +export const RollbackStatusInfo: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "RollbackStatusInfo", + modelProperties: { + successfullyRolledbackInstanceCount: { + serializedName: "successfullyRolledbackInstanceCount", readOnly: true, type: { name: "Number" } }, - startTime: { - serializedName: "startTime", - readOnly: true, - type: { - name: "DateTime" - } - }, - lastModifiedTime: { - serializedName: "lastModifiedTime", + failedRolledbackInstanceCount: { + serializedName: "failedRolledbackInstanceCount", readOnly: true, type: { - name: "DateTime" + name: "Number" } }, - error: { - serializedName: "error", + rollbackError: { + serializedName: "rollbackError", type: { name: "Composite", className: "ApiError" @@ -2813,106 +2924,113 @@ export const LastPatchInstallationSummary: coreClient.CompositeMapper = { } }; -export const ScheduledEventsProfile: coreClient.CompositeMapper = { +export const VirtualMachineReimageParameters: coreClient.CompositeMapper = { type: { name: "Composite", - className: "ScheduledEventsProfile", + className: "VirtualMachineReimageParameters", modelProperties: { - terminateNotificationProfile: { - serializedName: "terminateNotificationProfile", + tempDisk: { + serializedName: "tempDisk", type: { - name: "Composite", - className: "TerminateNotificationProfile" + name: "Boolean" } } } } }; -export const TerminateNotificationProfile: coreClient.CompositeMapper = { +export const RollingUpgradeRunningStatus: coreClient.CompositeMapper = { type: { name: "Composite", - className: "TerminateNotificationProfile", + className: "RollingUpgradeRunningStatus", modelProperties: { - notBeforeTimeout: { - serializedName: "notBeforeTimeout", + code: { + serializedName: "code", + readOnly: true, type: { - name: "String" + name: "Enum", + allowedValues: ["RollingForward", "Cancelled", "Completed", "Faulted"] } }, - enable: { - serializedName: "enable", + startTime: { + serializedName: "startTime", + readOnly: true, type: { - name: "Boolean" + name: "DateTime" + } + }, + lastAction: { + serializedName: "lastAction", + readOnly: true, + type: { + name: "Enum", + allowedValues: ["Start", "Cancel"] + } + }, + lastActionTime: { + serializedName: "lastActionTime", + readOnly: true, + type: { + name: "DateTime" } } } } }; -export const CapacityReservationProfile: coreClient.CompositeMapper = { +export const RecoveryWalkResponse: coreClient.CompositeMapper = { type: { name: "Composite", - className: "CapacityReservationProfile", + className: "RecoveryWalkResponse", modelProperties: { - capacityReservationGroup: { - serializedName: "capacityReservationGroup", + walkPerformed: { + serializedName: "walkPerformed", + readOnly: true, type: { - name: "Composite", - className: "SubResource" + name: "Boolean" + } + }, + nextPlatformUpdateDomain: { + serializedName: "nextPlatformUpdateDomain", + readOnly: true, + type: { + name: "Number" } } } } }; -export const ApplicationProfile: coreClient.CompositeMapper = { +export const VMScaleSetConvertToSinglePlacementGroupInput: coreClient.CompositeMapper = { type: { name: "Composite", - className: "ApplicationProfile", + className: "VMScaleSetConvertToSinglePlacementGroupInput", modelProperties: { - galleryApplications: { - serializedName: "galleryApplications", + activePlacementGroupId: { + serializedName: "activePlacementGroupId", type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "VMGalleryApplication" - } - } + name: "String" } } } } }; -export const VMGalleryApplication: coreClient.CompositeMapper = { +export const OrchestrationServiceStateInput: coreClient.CompositeMapper = { type: { name: "Composite", - className: "VMGalleryApplication", + className: "OrchestrationServiceStateInput", modelProperties: { - tags: { - serializedName: "tags", - type: { - name: "String" - } - }, - order: { - serializedName: "order", - type: { - name: "Number" - } - }, - packageReferenceId: { - serializedName: "packageReferenceId", + serviceName: { + serializedName: "serviceName", required: true, type: { name: "String" } }, - configurationReference: { - serializedName: "configurationReference", + action: { + serializedName: "action", + required: true, type: { name: "String" } @@ -2921,418 +3039,492 @@ export const VMGalleryApplication: coreClient.CompositeMapper = { } }; -export const VirtualMachineIdentity: coreClient.CompositeMapper = { +export const VirtualMachineExtensionInstanceView: coreClient.CompositeMapper = { type: { name: "Composite", - className: "VirtualMachineIdentity", + className: "VirtualMachineExtensionInstanceView", modelProperties: { - principalId: { - serializedName: "principalId", - readOnly: true, + name: { + serializedName: "name", type: { name: "String" } }, - tenantId: { - serializedName: "tenantId", - readOnly: true, + type: { + serializedName: "type", type: { name: "String" } }, - type: { - serializedName: "type", + typeHandlerVersion: { + serializedName: "typeHandlerVersion", type: { - name: "Enum", - allowedValues: [ - "SystemAssigned", - "UserAssigned", - "SystemAssigned, UserAssigned", - "None" - ] + name: "String" } }, - userAssignedIdentities: { - serializedName: "userAssignedIdentities", + substatuses: { + serializedName: "substatuses", type: { - name: "Dictionary", - value: { + name: "Sequence", + element: { type: { name: "Composite", - className: "UserAssignedIdentitiesValue" + className: "InstanceViewStatus" } } } - } - } - } -}; - -export const UserAssignedIdentitiesValue: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "UserAssignedIdentitiesValue", - modelProperties: { - principalId: { - serializedName: "principalId", - readOnly: true, - type: { - name: "String" - } }, - clientId: { - serializedName: "clientId", - readOnly: true, + statuses: { + serializedName: "statuses", type: { - name: "String" + name: "Sequence", + element: { + type: { + name: "Composite", + className: "InstanceViewStatus" + } + } } } } } }; -export const VirtualMachineScaleSetListResult: coreClient.CompositeMapper = { +export const VirtualMachineScaleSetVMExtensionsListResult: coreClient.CompositeMapper = { type: { name: "Composite", - className: "VirtualMachineScaleSetListResult", + className: "VirtualMachineScaleSetVMExtensionsListResult", modelProperties: { value: { serializedName: "value", - required: true, type: { name: "Sequence", element: { type: { name: "Composite", - className: "VirtualMachineScaleSet" + className: "VirtualMachineScaleSetVMExtension" } } } - }, - nextLink: { - serializedName: "nextLink", - type: { - name: "String" - } } } } }; -export const UpgradePolicy: coreClient.CompositeMapper = { +export const VirtualMachineScaleSetVMInstanceView: coreClient.CompositeMapper = { type: { name: "Composite", - className: "UpgradePolicy", + className: "VirtualMachineScaleSetVMInstanceView", modelProperties: { - mode: { - serializedName: "mode", + platformUpdateDomain: { + serializedName: "platformUpdateDomain", type: { - name: "Enum", - allowedValues: ["Automatic", "Manual", "Rolling"] + name: "Number" } }, - rollingUpgradePolicy: { - serializedName: "rollingUpgradePolicy", + platformFaultDomain: { + serializedName: "platformFaultDomain", + type: { + name: "Number" + } + }, + rdpThumbPrint: { + serializedName: "rdpThumbPrint", + type: { + name: "String" + } + }, + vmAgent: { + serializedName: "vmAgent", type: { name: "Composite", - className: "RollingUpgradePolicy" + className: "VirtualMachineAgentInstanceView" } }, - automaticOSUpgradePolicy: { - serializedName: "automaticOSUpgradePolicy", + maintenanceRedeployStatus: { + serializedName: "maintenanceRedeployStatus", type: { name: "Composite", - className: "AutomaticOSUpgradePolicy" + className: "MaintenanceRedeployStatus" } - } - } - } -}; - -export const RollingUpgradePolicy: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "RollingUpgradePolicy", - modelProperties: { - maxBatchInstancePercent: { - constraints: { - InclusiveMaximum: 100, - InclusiveMinimum: 5 - }, - serializedName: "maxBatchInstancePercent", + }, + disks: { + serializedName: "disks", type: { - name: "Number" + name: "Sequence", + element: { + type: { + name: "Composite", + className: "DiskInstanceView" + } + } } }, - maxUnhealthyInstancePercent: { - constraints: { - InclusiveMaximum: 100, - InclusiveMinimum: 5 - }, - serializedName: "maxUnhealthyInstancePercent", + extensions: { + serializedName: "extensions", type: { - name: "Number" + name: "Sequence", + element: { + type: { + name: "Composite", + className: "VirtualMachineExtensionInstanceView" + } + } } }, - maxUnhealthyUpgradedInstancePercent: { - constraints: { - InclusiveMaximum: 100, - InclusiveMinimum: 0 - }, - serializedName: "maxUnhealthyUpgradedInstancePercent", + vmHealth: { + serializedName: "vmHealth", type: { - name: "Number" + name: "Composite", + className: "VirtualMachineHealthStatus" } }, - pauseTimeBetweenBatches: { - serializedName: "pauseTimeBetweenBatches", + bootDiagnostics: { + serializedName: "bootDiagnostics", type: { - name: "String" + name: "Composite", + className: "BootDiagnosticsInstanceView" } }, - enableCrossZoneUpgrade: { - serializedName: "enableCrossZoneUpgrade", + statuses: { + serializedName: "statuses", type: { - name: "Boolean" + name: "Sequence", + element: { + type: { + name: "Composite", + className: "InstanceViewStatus" + } + } } }, - prioritizeUnhealthyInstances: { - serializedName: "prioritizeUnhealthyInstances", + assignedHost: { + serializedName: "assignedHost", + readOnly: true, type: { - name: "Boolean" + name: "String" + } + }, + placementGroupId: { + serializedName: "placementGroupId", + type: { + name: "String" } } } } }; -export const AutomaticOSUpgradePolicy: coreClient.CompositeMapper = { +export const VirtualMachineAgentInstanceView: coreClient.CompositeMapper = { type: { name: "Composite", - className: "AutomaticOSUpgradePolicy", + className: "VirtualMachineAgentInstanceView", modelProperties: { - enableAutomaticOSUpgrade: { - serializedName: "enableAutomaticOSUpgrade", + vmAgentVersion: { + serializedName: "vmAgentVersion", type: { - name: "Boolean" + name: "String" } }, - disableAutomaticRollback: { - serializedName: "disableAutomaticRollback", + extensionHandlers: { + serializedName: "extensionHandlers", type: { - name: "Boolean" + name: "Sequence", + element: { + type: { + name: "Composite", + className: "VirtualMachineExtensionHandlerInstanceView" + } + } + } + }, + statuses: { + serializedName: "statuses", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "InstanceViewStatus" + } + } } } } } }; -export const AutomaticRepairsPolicy: coreClient.CompositeMapper = { +export const VirtualMachineExtensionHandlerInstanceView: coreClient.CompositeMapper = { type: { name: "Composite", - className: "AutomaticRepairsPolicy", + className: "VirtualMachineExtensionHandlerInstanceView", modelProperties: { - enabled: { - serializedName: "enabled", + type: { + serializedName: "type", type: { - name: "Boolean" + name: "String" } }, - gracePeriod: { - serializedName: "gracePeriod", + typeHandlerVersion: { + serializedName: "typeHandlerVersion", type: { name: "String" } }, - repairAction: { - serializedName: "repairAction", + status: { + serializedName: "status", type: { - name: "String" + name: "Composite", + className: "InstanceViewStatus" } } } } }; -export const VirtualMachineScaleSetVMProfile: coreClient.CompositeMapper = { +export const MaintenanceRedeployStatus: coreClient.CompositeMapper = { type: { name: "Composite", - className: "VirtualMachineScaleSetVMProfile", + className: "MaintenanceRedeployStatus", modelProperties: { - osProfile: { - serializedName: "osProfile", + isCustomerInitiatedMaintenanceAllowed: { + serializedName: "isCustomerInitiatedMaintenanceAllowed", type: { - name: "Composite", - className: "VirtualMachineScaleSetOSProfile" + name: "Boolean" } }, - storageProfile: { - serializedName: "storageProfile", + preMaintenanceWindowStartTime: { + serializedName: "preMaintenanceWindowStartTime", type: { - name: "Composite", - className: "VirtualMachineScaleSetStorageProfile" + name: "DateTime" } }, - networkProfile: { - serializedName: "networkProfile", - type: { - name: "Composite", - className: "VirtualMachineScaleSetNetworkProfile" + preMaintenanceWindowEndTime: { + serializedName: "preMaintenanceWindowEndTime", + type: { + name: "DateTime" } }, - securityProfile: { - serializedName: "securityProfile", + maintenanceWindowStartTime: { + serializedName: "maintenanceWindowStartTime", type: { - name: "Composite", - className: "SecurityProfile" + name: "DateTime" } }, - diagnosticsProfile: { - serializedName: "diagnosticsProfile", + maintenanceWindowEndTime: { + serializedName: "maintenanceWindowEndTime", type: { - name: "Composite", - className: "DiagnosticsProfile" + name: "DateTime" } }, - extensionProfile: { - serializedName: "extensionProfile", + lastOperationResultCode: { + serializedName: "lastOperationResultCode", type: { - name: "Composite", - className: "VirtualMachineScaleSetExtensionProfile" + name: "Enum", + allowedValues: [ + "None", + "RetryLater", + "MaintenanceAborted", + "MaintenanceCompleted" + ] } }, - licenseType: { - serializedName: "licenseType", + lastOperationMessage: { + serializedName: "lastOperationMessage", type: { name: "String" } - }, - priority: { - serializedName: "priority", + } + } + } +}; + +export const DiskInstanceView: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "DiskInstanceView", + modelProperties: { + name: { + serializedName: "name", type: { name: "String" } }, - evictionPolicy: { - serializedName: "evictionPolicy", + encryptionSettings: { + serializedName: "encryptionSettings", type: { - name: "String" + name: "Sequence", + element: { + type: { + name: "Composite", + className: "DiskEncryptionSettings" + } + } } }, - billingProfile: { - serializedName: "billingProfile", + statuses: { + serializedName: "statuses", type: { - name: "Composite", - className: "BillingProfile" + name: "Sequence", + element: { + type: { + name: "Composite", + className: "InstanceViewStatus" + } + } } - }, - scheduledEventsProfile: { - serializedName: "scheduledEventsProfile", + } + } + } +}; + +export const DiskEncryptionSettings: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "DiskEncryptionSettings", + modelProperties: { + diskEncryptionKey: { + serializedName: "diskEncryptionKey", type: { name: "Composite", - className: "ScheduledEventsProfile" + className: "KeyVaultSecretReference" } }, - userData: { - serializedName: "userData", + keyEncryptionKey: { + serializedName: "keyEncryptionKey", type: { - name: "String" + name: "Composite", + className: "KeyVaultKeyReference" } }, - capacityReservation: { - serializedName: "capacityReservation", + enabled: { + serializedName: "enabled", type: { - name: "Composite", - className: "CapacityReservationProfile" + name: "Boolean" } - }, - applicationProfile: { - serializedName: "applicationProfile", + } + } + } +}; + +export const KeyVaultSecretReference: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "KeyVaultSecretReference", + modelProperties: { + secretUrl: { + serializedName: "secretUrl", + required: true, type: { - name: "Composite", - className: "ApplicationProfile" + name: "String" } }, - hardwareProfile: { - serializedName: "hardwareProfile", + sourceVault: { + serializedName: "sourceVault", type: { name: "Composite", - className: "VirtualMachineScaleSetHardwareProfile" + className: "SubResource" } } } } }; -export const VirtualMachineScaleSetOSProfile: coreClient.CompositeMapper = { +export const KeyVaultKeyReference: coreClient.CompositeMapper = { type: { name: "Composite", - className: "VirtualMachineScaleSetOSProfile", + className: "KeyVaultKeyReference", modelProperties: { - computerNamePrefix: { - serializedName: "computerNamePrefix", + keyUrl: { + serializedName: "keyUrl", + required: true, type: { name: "String" } }, - adminUsername: { - serializedName: "adminUsername", + sourceVault: { + serializedName: "sourceVault", type: { - name: "String" + name: "Composite", + className: "SubResource" } - }, - adminPassword: { - serializedName: "adminPassword", + } + } + } +}; + +export const VirtualMachineHealthStatus: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "VirtualMachineHealthStatus", + modelProperties: { + status: { + serializedName: "status", type: { - name: "String" + name: "Composite", + className: "InstanceViewStatus" } - }, - customData: { - serializedName: "customData", + } + } + } +}; + +export const BootDiagnosticsInstanceView: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "BootDiagnosticsInstanceView", + modelProperties: { + consoleScreenshotBlobUri: { + serializedName: "consoleScreenshotBlobUri", + readOnly: true, type: { name: "String" } }, - windowsConfiguration: { - serializedName: "windowsConfiguration", + serialConsoleLogBlobUri: { + serializedName: "serialConsoleLogBlobUri", + readOnly: true, type: { - name: "Composite", - className: "WindowsConfiguration" + name: "String" } }, - linuxConfiguration: { - serializedName: "linuxConfiguration", + status: { + serializedName: "status", type: { name: "Composite", - className: "LinuxConfiguration" + className: "InstanceViewStatus" } - }, - secrets: { - serializedName: "secrets", + } + } + } +}; + +export const HardwareProfile: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "HardwareProfile", + modelProperties: { + vmSize: { + serializedName: "vmSize", type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "VaultSecretGroup" - } - } + name: "String" } }, - allowExtensionOperations: { - serializedName: "allowExtensionOperations", + vmSizeProperties: { + serializedName: "vmSizeProperties", type: { - name: "Boolean" + name: "Composite", + className: "VMSizeProperties" } } } } }; -export const VirtualMachineScaleSetStorageProfile: coreClient.CompositeMapper = { +export const StorageProfile: coreClient.CompositeMapper = { type: { name: "Composite", - className: "VirtualMachineScaleSetStorageProfile", + className: "StorageProfile", modelProperties: { imageReference: { serializedName: "imageReference", @@ -3345,7 +3537,7 @@ export const VirtualMachineScaleSetStorageProfile: coreClient.CompositeMapper = serializedName: "osDisk", type: { name: "Composite", - className: "VirtualMachineScaleSetOSDisk" + className: "OSDisk" } }, dataDisks: { @@ -3355,7 +3547,7 @@ export const VirtualMachineScaleSetStorageProfile: coreClient.CompositeMapper = element: { type: { name: "Composite", - className: "VirtualMachineScaleSetDataDisk" + className: "DataDisk" } } } @@ -3364,131 +3556,125 @@ export const VirtualMachineScaleSetStorageProfile: coreClient.CompositeMapper = } }; -export const VirtualMachineScaleSetOSDisk: coreClient.CompositeMapper = { +export const OSDisk: coreClient.CompositeMapper = { type: { name: "Composite", - className: "VirtualMachineScaleSetOSDisk", + className: "OSDisk", modelProperties: { - name: { - serializedName: "name", + osType: { + serializedName: "osType", type: { - name: "String" + name: "Enum", + allowedValues: ["Windows", "Linux"] } }, - caching: { - serializedName: "caching", + encryptionSettings: { + serializedName: "encryptionSettings", type: { - name: "Enum", - allowedValues: ["None", "ReadOnly", "ReadWrite"] + name: "Composite", + className: "DiskEncryptionSettings" } }, - writeAcceleratorEnabled: { - serializedName: "writeAcceleratorEnabled", - type: { - name: "Boolean" - } - }, - createOption: { - serializedName: "createOption", - required: true, + name: { + serializedName: "name", type: { name: "String" } }, - diffDiskSettings: { - serializedName: "diffDiskSettings", + vhd: { + serializedName: "vhd", type: { name: "Composite", - className: "DiffDiskSettings" + className: "VirtualHardDisk" } }, - diskSizeGB: { - serializedName: "diskSizeGB", + image: { + serializedName: "image", type: { - name: "Number" + name: "Composite", + className: "VirtualHardDisk" } }, - osType: { - serializedName: "osType", + caching: { + serializedName: "caching", type: { name: "Enum", - allowedValues: ["Windows", "Linux"] + allowedValues: ["None", "ReadOnly", "ReadWrite"] } }, - image: { - serializedName: "image", + writeAcceleratorEnabled: { + serializedName: "writeAcceleratorEnabled", type: { - name: "Composite", - className: "VirtualHardDisk" + name: "Boolean" } }, - vhdContainers: { - serializedName: "vhdContainers", + diffDiskSettings: { + serializedName: "diffDiskSettings", type: { - name: "Sequence", - element: { - type: { - name: "String" - } - } + name: "Composite", + className: "DiffDiskSettings" } }, - managedDisk: { - serializedName: "managedDisk", + createOption: { + serializedName: "createOption", + required: true, type: { - name: "Composite", - className: "VirtualMachineScaleSetManagedDiskParameters" + name: "String" } - } - } - } -}; - -export const VirtualMachineScaleSetManagedDiskParameters: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "VirtualMachineScaleSetManagedDiskParameters", - modelProperties: { - storageAccountType: { - serializedName: "storageAccountType", + }, + diskSizeGB: { + serializedName: "diskSizeGB", type: { - name: "String" + name: "Number" } }, - diskEncryptionSet: { - serializedName: "diskEncryptionSet", + managedDisk: { + serializedName: "managedDisk", type: { name: "Composite", - className: "DiskEncryptionSetParameters" + className: "ManagedDiskParameters" } }, - securityProfile: { - serializedName: "securityProfile", + deleteOption: { + serializedName: "deleteOption", type: { - name: "Composite", - className: "VMDiskSecurityProfile" + name: "String" } } } } }; -export const VirtualMachineScaleSetDataDisk: coreClient.CompositeMapper = { +export const DataDisk: coreClient.CompositeMapper = { type: { name: "Composite", - className: "VirtualMachineScaleSetDataDisk", + className: "DataDisk", modelProperties: { + lun: { + serializedName: "lun", + required: true, + type: { + name: "Number" + } + }, name: { serializedName: "name", type: { name: "String" } }, - lun: { - serializedName: "lun", - required: true, + vhd: { + serializedName: "vhd", type: { - name: "Number" + name: "Composite", + className: "VirtualHardDisk" + } + }, + image: { + serializedName: "image", + type: { + name: "Composite", + className: "VirtualHardDisk" } }, caching: { @@ -3521,86 +3707,147 @@ export const VirtualMachineScaleSetDataDisk: coreClient.CompositeMapper = { serializedName: "managedDisk", type: { name: "Composite", - className: "VirtualMachineScaleSetManagedDiskParameters" + className: "ManagedDiskParameters" + } + }, + toBeDetached: { + serializedName: "toBeDetached", + type: { + name: "Boolean" } }, diskIopsReadWrite: { serializedName: "diskIOPSReadWrite", + readOnly: true, type: { name: "Number" } }, diskMBpsReadWrite: { serializedName: "diskMBpsReadWrite", + readOnly: true, type: { name: "Number" } + }, + detachOption: { + serializedName: "detachOption", + type: { + name: "String" + } + }, + deleteOption: { + serializedName: "deleteOption", + type: { + name: "String" + } } } } }; -export const VirtualMachineScaleSetNetworkProfile: coreClient.CompositeMapper = { +export const OSProfile: coreClient.CompositeMapper = { type: { name: "Composite", - className: "VirtualMachineScaleSetNetworkProfile", + className: "OSProfile", modelProperties: { - healthProbe: { - serializedName: "healthProbe", + computerName: { + serializedName: "computerName", + type: { + name: "String" + } + }, + adminUsername: { + serializedName: "adminUsername", + type: { + name: "String" + } + }, + adminPassword: { + serializedName: "adminPassword", + type: { + name: "String" + } + }, + customData: { + serializedName: "customData", + type: { + name: "String" + } + }, + windowsConfiguration: { + serializedName: "windowsConfiguration", type: { name: "Composite", - className: "ApiEntityReference" + className: "WindowsConfiguration" } }, - networkInterfaceConfigurations: { - serializedName: "networkInterfaceConfigurations", + linuxConfiguration: { + serializedName: "linuxConfiguration", + type: { + name: "Composite", + className: "LinuxConfiguration" + } + }, + secrets: { + serializedName: "secrets", type: { name: "Sequence", element: { type: { name: "Composite", - className: "VirtualMachineScaleSetNetworkConfiguration" + className: "VaultSecretGroup" } } } }, - networkApiVersion: { - serializedName: "networkApiVersion", + allowExtensionOperations: { + serializedName: "allowExtensionOperations", type: { - name: "String" + name: "Boolean" + } + }, + requireGuestProvisionSignal: { + serializedName: "requireGuestProvisionSignal", + type: { + name: "Boolean" } } } } }; -export const ApiEntityReference: coreClient.CompositeMapper = { +export const NetworkProfile: coreClient.CompositeMapper = { type: { name: "Composite", - className: "ApiEntityReference", + className: "NetworkProfile", modelProperties: { - id: { - serializedName: "id", + networkInterfaces: { + serializedName: "networkInterfaces", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "NetworkInterfaceReference" + } + } + } + }, + networkApiVersion: { + serializedName: "networkApiVersion", type: { name: "String" } - } - } - } -}; - -export const VirtualMachineScaleSetNetworkConfigurationDnsSettings: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "VirtualMachineScaleSetNetworkConfigurationDnsSettings", - modelProperties: { - dnsServers: { - serializedName: "dnsServers", + }, + networkInterfaceConfigurations: { + serializedName: "networkInterfaceConfigurations", type: { name: "Sequence", element: { type: { - name: "String" + name: "Composite", + className: "VirtualMachineNetworkInterfaceConfiguration" } } } @@ -3609,10 +3856,10 @@ export const VirtualMachineScaleSetNetworkConfigurationDnsSettings: coreClient.C } }; -export const VirtualMachineScaleSetPublicIPAddressConfiguration: coreClient.CompositeMapper = { +export const VirtualMachineNetworkInterfaceConfiguration: coreClient.CompositeMapper = { type: { name: "Composite", - className: "VirtualMachineScaleSetPublicIPAddressConfiguration", + className: "VirtualMachineNetworkInterfaceConfiguration", modelProperties: { name: { serializedName: "name", @@ -3621,35 +3868,217 @@ export const VirtualMachineScaleSetPublicIPAddressConfiguration: coreClient.Comp name: "String" } }, - sku: { - serializedName: "sku", + primary: { + serializedName: "properties.primary", type: { - name: "Composite", - className: "PublicIPAddressSku" + name: "Boolean" } }, - idleTimeoutInMinutes: { - serializedName: "properties.idleTimeoutInMinutes", + deleteOption: { + serializedName: "properties.deleteOption", type: { - name: "Number" + name: "String" } }, - dnsSettings: { - serializedName: "properties.dnsSettings", + enableAcceleratedNetworking: { + serializedName: "properties.enableAcceleratedNetworking", type: { - name: "Composite", - className: - "VirtualMachineScaleSetPublicIPAddressConfigurationDnsSettings" + name: "Boolean" } }, - ipTags: { + enableFpga: { + serializedName: "properties.enableFpga", + type: { + name: "Boolean" + } + }, + enableIPForwarding: { + serializedName: "properties.enableIPForwarding", + type: { + name: "Boolean" + } + }, + networkSecurityGroup: { + serializedName: "properties.networkSecurityGroup", + type: { + name: "Composite", + className: "SubResource" + } + }, + dnsSettings: { + serializedName: "properties.dnsSettings", + type: { + name: "Composite", + className: "VirtualMachineNetworkInterfaceDnsSettingsConfiguration" + } + }, + ipConfigurations: { + serializedName: "properties.ipConfigurations", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "VirtualMachineNetworkInterfaceIPConfiguration" + } + } + } + }, + dscpConfiguration: { + serializedName: "properties.dscpConfiguration", + type: { + name: "Composite", + className: "SubResource" + } + } + } + } +}; + +export const VirtualMachineNetworkInterfaceDnsSettingsConfiguration: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "VirtualMachineNetworkInterfaceDnsSettingsConfiguration", + modelProperties: { + dnsServers: { + serializedName: "dnsServers", + type: { + name: "Sequence", + element: { + type: { + name: "String" + } + } + } + } + } + } +}; + +export const VirtualMachineNetworkInterfaceIPConfiguration: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "VirtualMachineNetworkInterfaceIPConfiguration", + modelProperties: { + name: { + serializedName: "name", + required: true, + type: { + name: "String" + } + }, + subnet: { + serializedName: "properties.subnet", + type: { + name: "Composite", + className: "SubResource" + } + }, + primary: { + serializedName: "properties.primary", + type: { + name: "Boolean" + } + }, + publicIPAddressConfiguration: { + serializedName: "properties.publicIPAddressConfiguration", + type: { + name: "Composite", + className: "VirtualMachinePublicIPAddressConfiguration" + } + }, + privateIPAddressVersion: { + serializedName: "properties.privateIPAddressVersion", + type: { + name: "String" + } + }, + applicationSecurityGroups: { + serializedName: "properties.applicationSecurityGroups", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "SubResource" + } + } + } + }, + applicationGatewayBackendAddressPools: { + serializedName: "properties.applicationGatewayBackendAddressPools", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "SubResource" + } + } + } + }, + loadBalancerBackendAddressPools: { + serializedName: "properties.loadBalancerBackendAddressPools", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "SubResource" + } + } + } + } + } + } +}; + +export const VirtualMachinePublicIPAddressConfiguration: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "VirtualMachinePublicIPAddressConfiguration", + modelProperties: { + name: { + serializedName: "name", + required: true, + type: { + name: "String" + } + }, + sku: { + serializedName: "sku", + type: { + name: "Composite", + className: "PublicIPAddressSku" + } + }, + idleTimeoutInMinutes: { + serializedName: "properties.idleTimeoutInMinutes", + type: { + name: "Number" + } + }, + deleteOption: { + serializedName: "properties.deleteOption", + type: { + name: "String" + } + }, + dnsSettings: { + serializedName: "properties.dnsSettings", + type: { + name: "Composite", + className: "VirtualMachinePublicIPAddressDnsSettingsConfiguration" + } + }, + ipTags: { serializedName: "properties.ipTags", type: { name: "Sequence", element: { type: { name: "Composite", - className: "VirtualMachineScaleSetIpTag" + className: "VirtualMachineIpTag" } } } @@ -3667,8 +4096,8 @@ export const VirtualMachineScaleSetPublicIPAddressConfiguration: coreClient.Comp name: "String" } }, - deleteOption: { - serializedName: "properties.deleteOption", + publicIPAllocationMethod: { + serializedName: "properties.publicIPAllocationMethod", type: { name: "String" } @@ -3677,10 +4106,10 @@ export const VirtualMachineScaleSetPublicIPAddressConfiguration: coreClient.Comp } }; -export const VirtualMachineScaleSetPublicIPAddressConfigurationDnsSettings: coreClient.CompositeMapper = { +export const VirtualMachinePublicIPAddressDnsSettingsConfiguration: coreClient.CompositeMapper = { type: { name: "Composite", - className: "VirtualMachineScaleSetPublicIPAddressConfigurationDnsSettings", + className: "VirtualMachinePublicIPAddressDnsSettingsConfiguration", modelProperties: { domainNameLabel: { serializedName: "domainNameLabel", @@ -3693,10 +4122,10 @@ export const VirtualMachineScaleSetPublicIPAddressConfigurationDnsSettings: core } }; -export const VirtualMachineScaleSetIpTag: coreClient.CompositeMapper = { +export const VirtualMachineIpTag: coreClient.CompositeMapper = { type: { name: "Composite", - className: "VirtualMachineScaleSetIpTag", + className: "VirtualMachineIpTag", modelProperties: { ipTagType: { serializedName: "ipTagType", @@ -3714,88 +4143,91 @@ export const VirtualMachineScaleSetIpTag: coreClient.CompositeMapper = { } }; -export const VirtualMachineScaleSetExtensionProfile: coreClient.CompositeMapper = { +export const VirtualMachineScaleSetVMNetworkProfileConfiguration: coreClient.CompositeMapper = { type: { name: "Composite", - className: "VirtualMachineScaleSetExtensionProfile", + className: "VirtualMachineScaleSetVMNetworkProfileConfiguration", modelProperties: { - extensions: { - serializedName: "extensions", + networkInterfaceConfigurations: { + serializedName: "networkInterfaceConfigurations", type: { name: "Sequence", element: { type: { name: "Composite", - className: "VirtualMachineScaleSetExtension" + className: "VirtualMachineScaleSetNetworkConfiguration" } } } - }, - extensionsTimeBudget: { - serializedName: "extensionsTimeBudget", - type: { - name: "String" - } } } } }; -export const VirtualMachineScaleSetHardwareProfile: coreClient.CompositeMapper = { +export const VirtualMachineScaleSetVMProtectionPolicy: coreClient.CompositeMapper = { type: { name: "Composite", - className: "VirtualMachineScaleSetHardwareProfile", + className: "VirtualMachineScaleSetVMProtectionPolicy", modelProperties: { - vmSizeProperties: { - serializedName: "vmSizeProperties", + protectFromScaleIn: { + serializedName: "protectFromScaleIn", type: { - name: "Composite", - className: "VMSizeProperties" + name: "Boolean" + } + }, + protectFromScaleSetActions: { + serializedName: "protectFromScaleSetActions", + type: { + name: "Boolean" } } } } }; -export const ScaleInPolicy: coreClient.CompositeMapper = { +export const VirtualMachineScaleSetVMListResult: coreClient.CompositeMapper = { type: { name: "Composite", - className: "ScaleInPolicy", + className: "VirtualMachineScaleSetVMListResult", modelProperties: { - rules: { - serializedName: "rules", + value: { + serializedName: "value", + required: true, type: { name: "Sequence", element: { type: { - name: "String" + name: "Composite", + className: "VirtualMachineScaleSetVM" } } } }, - forceDeletion: { - serializedName: "forceDeletion", + nextLink: { + serializedName: "nextLink", type: { - name: "Boolean" + name: "String" } } } } }; -export const SpotRestorePolicy: coreClient.CompositeMapper = { +export const RetrieveBootDiagnosticsDataResult: coreClient.CompositeMapper = { type: { name: "Composite", - className: "SpotRestorePolicy", + className: "RetrieveBootDiagnosticsDataResult", modelProperties: { - enabled: { - serializedName: "enabled", + consoleScreenshotBlobUri: { + serializedName: "consoleScreenshotBlobUri", + readOnly: true, type: { - name: "Boolean" + name: "String" } }, - restoreTimeout: { - serializedName: "restoreTimeout", + serialConsoleLogBlobUri: { + serializedName: "serialConsoleLogBlobUri", + readOnly: true, type: { name: "String" } @@ -3804,46 +4236,19 @@ export const SpotRestorePolicy: coreClient.CompositeMapper = { } }; -export const VirtualMachineScaleSetIdentity: coreClient.CompositeMapper = { +export const VirtualMachineExtensionsListResult: coreClient.CompositeMapper = { type: { name: "Composite", - className: "VirtualMachineScaleSetIdentity", + className: "VirtualMachineExtensionsListResult", modelProperties: { - principalId: { - serializedName: "principalId", - readOnly: true, - type: { - name: "String" - } - }, - tenantId: { - serializedName: "tenantId", - readOnly: true, - type: { - name: "String" - } - }, - type: { - serializedName: "type", - type: { - name: "Enum", - allowedValues: [ - "SystemAssigned", - "UserAssigned", - "SystemAssigned, UserAssigned", - "None" - ] - } - }, - userAssignedIdentities: { - serializedName: "userAssignedIdentities", + value: { + serializedName: "value", type: { - name: "Dictionary", - value: { + name: "Sequence", + element: { type: { name: "Composite", - className: - "VirtualMachineScaleSetIdentityUserAssignedIdentitiesValue" + className: "VirtualMachineExtension" } } } @@ -3852,21 +4257,26 @@ export const VirtualMachineScaleSetIdentity: coreClient.CompositeMapper = { } }; -export const VirtualMachineScaleSetIdentityUserAssignedIdentitiesValue: coreClient.CompositeMapper = { +export const VirtualMachineListResult: coreClient.CompositeMapper = { type: { name: "Composite", - className: "VirtualMachineScaleSetIdentityUserAssignedIdentitiesValue", + className: "VirtualMachineListResult", modelProperties: { - principalId: { - serializedName: "principalId", - readOnly: true, + value: { + serializedName: "value", + required: true, type: { - name: "String" + name: "Sequence", + element: { + type: { + name: "Composite", + className: "VirtualMachine" + } + } } }, - clientId: { - serializedName: "clientId", - readOnly: true, + nextLink: { + serializedName: "nextLink", type: { name: "String" } @@ -3875,393 +4285,361 @@ export const VirtualMachineScaleSetIdentityUserAssignedIdentitiesValue: coreClie } }; -export const ImageStorageProfile: coreClient.CompositeMapper = { +export const VirtualMachineInstanceView: coreClient.CompositeMapper = { type: { name: "Composite", - className: "ImageStorageProfile", + className: "VirtualMachineInstanceView", modelProperties: { - osDisk: { - serializedName: "osDisk", + platformUpdateDomain: { + serializedName: "platformUpdateDomain", type: { - name: "Composite", - className: "ImageOSDisk" + name: "Number" } }, - dataDisks: { - serializedName: "dataDisks", + platformFaultDomain: { + serializedName: "platformFaultDomain", type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "ImageDataDisk" - } - } + name: "Number" } }, - zoneResilient: { - serializedName: "zoneResilient", + computerName: { + serializedName: "computerName", type: { - name: "Boolean" + name: "String" } - } - } - } -}; - -export const ImageDisk: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "ImageDisk", - modelProperties: { - snapshot: { - serializedName: "snapshot", + }, + osName: { + serializedName: "osName", type: { - name: "Composite", - className: "SubResource" + name: "String" } }, - managedDisk: { - serializedName: "managedDisk", + osVersion: { + serializedName: "osVersion", type: { - name: "Composite", - className: "SubResource" + name: "String" } }, - blobUri: { - serializedName: "blobUri", + hyperVGeneration: { + serializedName: "hyperVGeneration", type: { name: "String" } }, - caching: { - serializedName: "caching", + rdpThumbPrint: { + serializedName: "rdpThumbPrint", type: { - name: "Enum", - allowedValues: ["None", "ReadOnly", "ReadWrite"] + name: "String" } }, - diskSizeGB: { - serializedName: "diskSizeGB", + vmAgent: { + serializedName: "vmAgent", type: { - name: "Number" + name: "Composite", + className: "VirtualMachineAgentInstanceView" } }, - storageAccountType: { - serializedName: "storageAccountType", + maintenanceRedeployStatus: { + serializedName: "maintenanceRedeployStatus", type: { - name: "String" + name: "Composite", + className: "MaintenanceRedeployStatus" } }, - diskEncryptionSet: { - serializedName: "diskEncryptionSet", + disks: { + serializedName: "disks", type: { - name: "Composite", - className: "DiskEncryptionSetParameters" + name: "Sequence", + element: { + type: { + name: "Composite", + className: "DiskInstanceView" + } + } } - } - } - } -}; - -export const ImageListResult: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "ImageListResult", - modelProperties: { - value: { - serializedName: "value", - required: true, + }, + extensions: { + serializedName: "extensions", type: { name: "Sequence", element: { type: { name: "Composite", - className: "Image" + className: "VirtualMachineExtensionInstanceView" } } } }, - nextLink: { - serializedName: "nextLink", + vmHealth: { + serializedName: "vmHealth", type: { - name: "String" + name: "Composite", + className: "VirtualMachineHealthStatus" } - } - } - } -}; - -export const VirtualMachineCaptureParameters: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "VirtualMachineCaptureParameters", - modelProperties: { - vhdPrefix: { - serializedName: "vhdPrefix", - required: true, + }, + bootDiagnostics: { + serializedName: "bootDiagnostics", type: { - name: "String" + name: "Composite", + className: "BootDiagnosticsInstanceView" } }, - destinationContainerName: { - serializedName: "destinationContainerName", - required: true, + assignedHost: { + serializedName: "assignedHost", + readOnly: true, type: { name: "String" } }, - overwriteVhds: { - serializedName: "overwriteVhds", - required: true, + statuses: { + serializedName: "statuses", type: { - name: "Boolean" + name: "Sequence", + element: { + type: { + name: "Composite", + className: "InstanceViewStatus" + } + } + } + }, + patchStatus: { + serializedName: "patchStatus", + type: { + name: "Composite", + className: "VirtualMachinePatchStatus" } } } } }; -export const RestorePointCollectionSourceProperties: coreClient.CompositeMapper = { +export const VirtualMachinePatchStatus: coreClient.CompositeMapper = { type: { name: "Composite", - className: "RestorePointCollectionSourceProperties", + className: "VirtualMachinePatchStatus", modelProperties: { - location: { - serializedName: "location", - readOnly: true, + availablePatchSummary: { + serializedName: "availablePatchSummary", type: { - name: "String" + name: "Composite", + className: "AvailablePatchSummary" } }, - id: { - serializedName: "id", + lastPatchInstallationSummary: { + serializedName: "lastPatchInstallationSummary", type: { - name: "String" + name: "Composite", + className: "LastPatchInstallationSummary" + } + }, + configurationStatuses: { + serializedName: "configurationStatuses", + readOnly: true, + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "InstanceViewStatus" + } + } } } } } }; -export const RestorePointSourceMetadata: coreClient.CompositeMapper = { +export const AvailablePatchSummary: coreClient.CompositeMapper = { type: { name: "Composite", - className: "RestorePointSourceMetadata", + className: "AvailablePatchSummary", modelProperties: { - hardwareProfile: { - serializedName: "hardwareProfile", + status: { + serializedName: "status", + readOnly: true, type: { - name: "Composite", - className: "HardwareProfile" + name: "String" } }, - storageProfile: { - serializedName: "storageProfile", + assessmentActivityId: { + serializedName: "assessmentActivityId", + readOnly: true, type: { - name: "Composite", - className: "RestorePointSourceVMStorageProfile" + name: "String" } }, - osProfile: { - serializedName: "osProfile", + rebootPending: { + serializedName: "rebootPending", + readOnly: true, type: { - name: "Composite", - className: "OSProfile" + name: "Boolean" } }, - diagnosticsProfile: { - serializedName: "diagnosticsProfile", + criticalAndSecurityPatchCount: { + serializedName: "criticalAndSecurityPatchCount", + readOnly: true, type: { - name: "Composite", - className: "DiagnosticsProfile" + name: "Number" } }, - licenseType: { - serializedName: "licenseType", + otherPatchCount: { + serializedName: "otherPatchCount", + readOnly: true, type: { - name: "String" + name: "Number" } }, - vmId: { - serializedName: "vmId", + startTime: { + serializedName: "startTime", + readOnly: true, type: { - name: "String" + name: "DateTime" } }, - securityProfile: { - serializedName: "securityProfile", + lastModifiedTime: { + serializedName: "lastModifiedTime", + readOnly: true, type: { - name: "Composite", - className: "SecurityProfile" + name: "DateTime" } }, - location: { - serializedName: "location", - type: { - name: "String" - } - } - } - } -}; - -export const RestorePointSourceVMStorageProfile: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "RestorePointSourceVMStorageProfile", - modelProperties: { - osDisk: { - serializedName: "osDisk", + error: { + serializedName: "error", type: { name: "Composite", - className: "RestorePointSourceVmosDisk" - } - }, - dataDisks: { - serializedName: "dataDisks", - type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "RestorePointSourceVMDataDisk" - } - } + className: "ApiError" } } } } }; -export const RestorePointSourceVmosDisk: coreClient.CompositeMapper = { +export const LastPatchInstallationSummary: coreClient.CompositeMapper = { type: { name: "Composite", - className: "RestorePointSourceVmosDisk", + className: "LastPatchInstallationSummary", modelProperties: { - osType: { - serializedName: "osType", + status: { + serializedName: "status", + readOnly: true, type: { name: "String" } }, - encryptionSettings: { - serializedName: "encryptionSettings", - type: { - name: "Composite", - className: "DiskEncryptionSettings" - } - }, - name: { - serializedName: "name", + installationActivityId: { + serializedName: "installationActivityId", + readOnly: true, type: { name: "String" } }, - caching: { - serializedName: "caching", + maintenanceWindowExceeded: { + serializedName: "maintenanceWindowExceeded", + readOnly: true, type: { - name: "Enum", - allowedValues: ["None", "ReadOnly", "ReadWrite"] + name: "Boolean" } }, - diskSizeGB: { - serializedName: "diskSizeGB", + notSelectedPatchCount: { + serializedName: "notSelectedPatchCount", + readOnly: true, type: { name: "Number" } }, - managedDisk: { - serializedName: "managedDisk", + excludedPatchCount: { + serializedName: "excludedPatchCount", + readOnly: true, type: { - name: "Composite", - className: "ManagedDiskParameters" + name: "Number" } }, - diskRestorePoint: { - serializedName: "diskRestorePoint", - type: { - name: "Composite", - className: "ApiEntityReference" - } - } - } - } -}; - -export const RestorePointSourceVMDataDisk: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "RestorePointSourceVMDataDisk", - modelProperties: { - lun: { - serializedName: "lun", + pendingPatchCount: { + serializedName: "pendingPatchCount", + readOnly: true, type: { name: "Number" } }, - name: { - serializedName: "name", + installedPatchCount: { + serializedName: "installedPatchCount", + readOnly: true, type: { - name: "String" + name: "Number" } }, - caching: { - serializedName: "caching", + failedPatchCount: { + serializedName: "failedPatchCount", + readOnly: true, type: { - name: "Enum", - allowedValues: ["None", "ReadOnly", "ReadWrite"] + name: "Number" } }, - diskSizeGB: { - serializedName: "diskSizeGB", + startTime: { + serializedName: "startTime", + readOnly: true, type: { - name: "Number" + name: "DateTime" } }, - managedDisk: { - serializedName: "managedDisk", + lastModifiedTime: { + serializedName: "lastModifiedTime", + readOnly: true, type: { - name: "Composite", - className: "ManagedDiskParameters" + name: "DateTime" } }, - diskRestorePoint: { - serializedName: "diskRestorePoint", + error: { + serializedName: "error", type: { name: "Composite", - className: "ApiEntityReference" + className: "ApiError" } } } } }; -export const RestorePointInstanceView: coreClient.CompositeMapper = { +export const VirtualMachineIdentity: coreClient.CompositeMapper = { type: { name: "Composite", - className: "RestorePointInstanceView", + className: "VirtualMachineIdentity", modelProperties: { - diskRestorePoints: { - serializedName: "diskRestorePoints", + principalId: { + serializedName: "principalId", + readOnly: true, type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "DiskRestorePointInstanceView" - } - } + name: "String" } }, - statuses: { - serializedName: "statuses", + tenantId: { + serializedName: "tenantId", + readOnly: true, type: { - name: "Sequence", - element: { + name: "String" + } + }, + type: { + serializedName: "type", + type: { + name: "Enum", + allowedValues: [ + "SystemAssigned", + "UserAssigned", + "SystemAssigned, UserAssigned", + "None" + ] + } + }, + userAssignedIdentities: { + serializedName: "userAssignedIdentities", + type: { + name: "Dictionary", + value: { type: { name: "Composite", - className: "InstanceViewStatus" + className: "UserAssignedIdentitiesValue" } } } @@ -4270,49 +4648,20 @@ export const RestorePointInstanceView: coreClient.CompositeMapper = { } }; -export const DiskRestorePointInstanceView: coreClient.CompositeMapper = { +export const UserAssignedIdentitiesValue: coreClient.CompositeMapper = { type: { name: "Composite", - className: "DiskRestorePointInstanceView", + className: "UserAssignedIdentitiesValue", modelProperties: { - id: { - serializedName: "id", - type: { - name: "String" - } - }, - replicationStatus: { - serializedName: "replicationStatus", - type: { - name: "Dictionary", - value: { type: { name: "any" } } - } - } - } - } -}; - -export const ProxyResource: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "ProxyResource", - modelProperties: { - id: { - serializedName: "id", - readOnly: true, - type: { - name: "String" - } - }, - name: { - serializedName: "name", + principalId: { + serializedName: "principalId", readOnly: true, type: { name: "String" } }, - type: { - serializedName: "type", + clientId: { + serializedName: "clientId", readOnly: true, type: { name: "String" @@ -4322,168 +4671,28 @@ export const ProxyResource: coreClient.CompositeMapper = { } }; -export const RestorePointCollectionListResult: coreClient.CompositeMapper = { +export const VirtualMachineCaptureParameters: coreClient.CompositeMapper = { type: { name: "Composite", - className: "RestorePointCollectionListResult", + className: "VirtualMachineCaptureParameters", modelProperties: { - value: { - serializedName: "value", - type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "RestorePointCollection" - } - } - } - }, - nextLink: { - serializedName: "nextLink", + vhdPrefix: { + serializedName: "vhdPrefix", + required: true, type: { name: "String" } - } - } - } -}; - -export const CapacityReservationGroupInstanceView: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "CapacityReservationGroupInstanceView", - modelProperties: { - capacityReservations: { - serializedName: "capacityReservations", - readOnly: true, - type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "CapacityReservationInstanceViewWithName" - } - } - } - } - } - } -}; - -export const CapacityReservationInstanceView: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "CapacityReservationInstanceView", - modelProperties: { - utilizationInfo: { - serializedName: "utilizationInfo", - type: { - name: "Composite", - className: "CapacityReservationUtilization" - } }, - statuses: { - serializedName: "statuses", - type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "InstanceViewStatus" - } - } - } - } - } - } -}; - -export const CapacityReservationUtilization: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "CapacityReservationUtilization", - modelProperties: { - virtualMachinesAllocated: { - serializedName: "virtualMachinesAllocated", - readOnly: true, - type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "SubResourceReadOnly" - } - } - } - } - } - } -}; - -export const CapacityReservationGroupListResult: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "CapacityReservationGroupListResult", - modelProperties: { - value: { - serializedName: "value", + destinationContainerName: { + serializedName: "destinationContainerName", required: true, - type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "CapacityReservationGroup" - } - } - } - }, - nextLink: { - serializedName: "nextLink", type: { name: "String" } - } - } - } -}; - -export const CapacityReservationListResult: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "CapacityReservationListResult", - modelProperties: { - value: { - serializedName: "value", - required: true, - type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "CapacityReservation" - } - } - } }, - nextLink: { - serializedName: "nextLink", - type: { - name: "String" - } - } - } - } -}; - -export const VirtualMachineReimageParameters: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "VirtualMachineReimageParameters", - modelProperties: { - tempDisk: { - serializedName: "tempDisk", + overwriteVhds: { + serializedName: "overwriteVhds", + required: true, type: { name: "Boolean" } @@ -4492,29 +4701,6 @@ export const VirtualMachineReimageParameters: coreClient.CompositeMapper = { } }; -export const RetrieveBootDiagnosticsDataResult: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "RetrieveBootDiagnosticsDataResult", - modelProperties: { - consoleScreenshotBlobUri: { - serializedName: "consoleScreenshotBlobUri", - readOnly: true, - type: { - name: "String" - } - }, - serialConsoleLogBlobUri: { - serializedName: "serialConsoleLogBlobUri", - readOnly: true, - type: { - name: "String" - } - } - } - } -}; - export const VirtualMachineAssessPatchesResult: coreClient.CompositeMapper = { type: { name: "Composite", @@ -4963,75 +5149,92 @@ export const PatchInstallationDetail: coreClient.CompositeMapper = { } }; -export const VirtualMachineScaleSetUpdateVMProfile: coreClient.CompositeMapper = { +export const PurchasePlan: coreClient.CompositeMapper = { type: { name: "Composite", - className: "VirtualMachineScaleSetUpdateVMProfile", + className: "PurchasePlan", modelProperties: { - osProfile: { - serializedName: "osProfile", - type: { - name: "Composite", - className: "VirtualMachineScaleSetUpdateOSProfile" - } - }, - storageProfile: { - serializedName: "storageProfile", + publisher: { + serializedName: "publisher", + required: true, type: { - name: "Composite", - className: "VirtualMachineScaleSetUpdateStorageProfile" + name: "String" } }, - networkProfile: { - serializedName: "networkProfile", + name: { + serializedName: "name", + required: true, type: { - name: "Composite", - className: "VirtualMachineScaleSetUpdateNetworkProfile" + name: "String" } }, - securityProfile: { - serializedName: "securityProfile", + product: { + serializedName: "product", + required: true, type: { - name: "Composite", - className: "SecurityProfile" + name: "String" } - }, - diagnosticsProfile: { - serializedName: "diagnosticsProfile", - type: { - name: "Composite", - className: "DiagnosticsProfile" - } - }, - extensionProfile: { - serializedName: "extensionProfile", - type: { - name: "Composite", - className: "VirtualMachineScaleSetExtensionProfile" - } - }, - licenseType: { - serializedName: "licenseType", + } + } + } +}; + +export const OSDiskImage: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "OSDiskImage", + modelProperties: { + operatingSystem: { + serializedName: "operatingSystem", + required: true, type: { - name: "String" + name: "Enum", + allowedValues: ["Windows", "Linux"] } - }, - billingProfile: { - serializedName: "billingProfile", + } + } + } +}; + +export const DataDiskImage: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "DataDiskImage", + modelProperties: { + lun: { + serializedName: "lun", + readOnly: true, type: { - name: "Composite", - className: "BillingProfile" + name: "Number" } - }, - scheduledEventsProfile: { - serializedName: "scheduledEventsProfile", + } + } + } +}; + +export const AutomaticOSUpgradeProperties: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "AutomaticOSUpgradeProperties", + modelProperties: { + automaticOSUpgradeSupported: { + serializedName: "automaticOSUpgradeSupported", + required: true, type: { - name: "Composite", - className: "ScheduledEventsProfile" + name: "Boolean" } - }, - userData: { - serializedName: "userData", + } + } + } +}; + +export const DisallowedConfiguration: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "DisallowedConfiguration", + modelProperties: { + vmDiskType: { + serializedName: "vmDiskType", type: { name: "String" } @@ -5040,74 +5243,96 @@ export const VirtualMachineScaleSetUpdateVMProfile: coreClient.CompositeMapper = } }; -export const VirtualMachineScaleSetUpdateOSProfile: coreClient.CompositeMapper = { +export const VirtualMachineImageFeature: coreClient.CompositeMapper = { type: { name: "Composite", - className: "VirtualMachineScaleSetUpdateOSProfile", + className: "VirtualMachineImageFeature", modelProperties: { - customData: { - serializedName: "customData", + name: { + serializedName: "name", type: { name: "String" } }, - windowsConfiguration: { - serializedName: "windowsConfiguration", - type: { - name: "Composite", - className: "WindowsConfiguration" - } - }, - linuxConfiguration: { - serializedName: "linuxConfiguration", + value: { + serializedName: "value", type: { - name: "Composite", - className: "LinuxConfiguration" + name: "String" } - }, - secrets: { - serializedName: "secrets", + } + } + } +}; + +export const AvailabilitySetListResult: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "AvailabilitySetListResult", + modelProperties: { + value: { + serializedName: "value", + required: true, type: { name: "Sequence", element: { type: { name: "Composite", - className: "VaultSecretGroup" + className: "AvailabilitySet" } } } + }, + nextLink: { + serializedName: "nextLink", + type: { + name: "String" + } } } } }; -export const VirtualMachineScaleSetUpdateStorageProfile: coreClient.CompositeMapper = { +export const ProximityPlacementGroupListResult: coreClient.CompositeMapper = { type: { name: "Composite", - className: "VirtualMachineScaleSetUpdateStorageProfile", + className: "ProximityPlacementGroupListResult", modelProperties: { - imageReference: { - serializedName: "imageReference", + value: { + serializedName: "value", + required: true, type: { - name: "Composite", - className: "ImageReference" + name: "Sequence", + element: { + type: { + name: "Composite", + className: "ProximityPlacementGroup" + } + } } }, - osDisk: { - serializedName: "osDisk", + nextLink: { + serializedName: "nextLink", type: { - name: "Composite", - className: "VirtualMachineScaleSetUpdateOSDisk" + name: "String" } - }, - dataDisks: { - serializedName: "dataDisks", + } + } + } +}; + +export const DedicatedHostGroupInstanceView: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "DedicatedHostGroupInstanceView", + modelProperties: { + hosts: { + serializedName: "hosts", type: { name: "Sequence", element: { type: { name: "Composite", - className: "VirtualMachineScaleSetDataDisk" + className: "DedicatedHostInstanceViewWithName" } } } @@ -5116,359 +5341,305 @@ export const VirtualMachineScaleSetUpdateStorageProfile: coreClient.CompositeMap } }; -export const VirtualMachineScaleSetUpdateOSDisk: coreClient.CompositeMapper = { +export const DedicatedHostInstanceView: coreClient.CompositeMapper = { type: { name: "Composite", - className: "VirtualMachineScaleSetUpdateOSDisk", + className: "DedicatedHostInstanceView", modelProperties: { - caching: { - serializedName: "caching", - type: { - name: "Enum", - allowedValues: ["None", "ReadOnly", "ReadWrite"] - } - }, - writeAcceleratorEnabled: { - serializedName: "writeAcceleratorEnabled", - type: { - name: "Boolean" - } - }, - diskSizeGB: { - serializedName: "diskSizeGB", + assetId: { + serializedName: "assetId", + readOnly: true, type: { - name: "Number" + name: "String" } }, - image: { - serializedName: "image", + availableCapacity: { + serializedName: "availableCapacity", type: { name: "Composite", - className: "VirtualHardDisk" + className: "DedicatedHostAvailableCapacity" } }, - vhdContainers: { - serializedName: "vhdContainers", + statuses: { + serializedName: "statuses", type: { name: "Sequence", element: { type: { - name: "String" + name: "Composite", + className: "InstanceViewStatus" } } } - }, - managedDisk: { - serializedName: "managedDisk", - type: { - name: "Composite", - className: "VirtualMachineScaleSetManagedDiskParameters" - } } } } }; -export const VirtualMachineScaleSetUpdateNetworkProfile: coreClient.CompositeMapper = { +export const DedicatedHostAvailableCapacity: coreClient.CompositeMapper = { type: { name: "Composite", - className: "VirtualMachineScaleSetUpdateNetworkProfile", + className: "DedicatedHostAvailableCapacity", modelProperties: { - healthProbe: { - serializedName: "healthProbe", - type: { - name: "Composite", - className: "ApiEntityReference" - } - }, - networkInterfaceConfigurations: { - serializedName: "networkInterfaceConfigurations", + allocatableVMs: { + serializedName: "allocatableVMs", type: { name: "Sequence", element: { type: { name: "Composite", - className: "VirtualMachineScaleSetUpdateNetworkConfiguration" + className: "DedicatedHostAllocatableVM" } } } - }, - networkApiVersion: { - serializedName: "networkApiVersion", - type: { - name: "String" - } } } } }; -export const VirtualMachineScaleSetUpdatePublicIPAddressConfiguration: coreClient.CompositeMapper = { +export const DedicatedHostAllocatableVM: coreClient.CompositeMapper = { type: { name: "Composite", - className: "VirtualMachineScaleSetUpdatePublicIPAddressConfiguration", + className: "DedicatedHostAllocatableVM", modelProperties: { - name: { - serializedName: "name", + vmSize: { + serializedName: "vmSize", type: { name: "String" } }, - idleTimeoutInMinutes: { - serializedName: "properties.idleTimeoutInMinutes", + count: { + serializedName: "count", type: { name: "Number" } - }, - dnsSettings: { - serializedName: "properties.dnsSettings", - type: { - name: "Composite", - className: - "VirtualMachineScaleSetPublicIPAddressConfigurationDnsSettings" - } - }, - publicIPPrefix: { - serializedName: "properties.publicIPPrefix", - type: { - name: "Composite", - className: "SubResource" - } - }, - deleteOption: { - serializedName: "properties.deleteOption", - type: { - name: "String" - } } } } }; -export const VirtualMachineScaleSetVMInstanceIDs: coreClient.CompositeMapper = { +export const DedicatedHostGroupPropertiesAdditionalCapabilities: coreClient.CompositeMapper = { type: { name: "Composite", - className: "VirtualMachineScaleSetVMInstanceIDs", + className: "DedicatedHostGroupPropertiesAdditionalCapabilities", modelProperties: { - instanceIds: { - serializedName: "instanceIds", + ultraSSDEnabled: { + serializedName: "ultraSSDEnabled", type: { - name: "Sequence", - element: { - type: { - name: "String" - } - } + name: "Boolean" } } } } }; -export const VirtualMachineScaleSetVMInstanceRequiredIDs: coreClient.CompositeMapper = { +export const DedicatedHostGroupListResult: coreClient.CompositeMapper = { type: { name: "Composite", - className: "VirtualMachineScaleSetVMInstanceRequiredIDs", + className: "DedicatedHostGroupListResult", modelProperties: { - instanceIds: { - serializedName: "instanceIds", + value: { + serializedName: "value", required: true, type: { name: "Sequence", element: { type: { - name: "String" + name: "Composite", + className: "DedicatedHostGroup" } } } + }, + nextLink: { + serializedName: "nextLink", + type: { + name: "String" + } } } } }; -export const VirtualMachineScaleSetInstanceView: coreClient.CompositeMapper = { +export const DedicatedHostListResult: coreClient.CompositeMapper = { type: { name: "Composite", - className: "VirtualMachineScaleSetInstanceView", + className: "DedicatedHostListResult", modelProperties: { - virtualMachine: { - serializedName: "virtualMachine", - type: { - name: "Composite", - className: "VirtualMachineScaleSetInstanceViewStatusesSummary" - } - }, - extensions: { - serializedName: "extensions", - readOnly: true, - type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "VirtualMachineScaleSetVMExtensionsSummary" - } - } - } - }, - statuses: { - serializedName: "statuses", + value: { + serializedName: "value", + required: true, type: { name: "Sequence", element: { type: { name: "Composite", - className: "InstanceViewStatus" + className: "DedicatedHost" } } } }, - orchestrationServices: { - serializedName: "orchestrationServices", - readOnly: true, + nextLink: { + serializedName: "nextLink", type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "OrchestrationServiceSummary" - } - } + name: "String" } } } } }; -export const VirtualMachineScaleSetInstanceViewStatusesSummary: coreClient.CompositeMapper = { +export const SshPublicKeysGroupListResult: coreClient.CompositeMapper = { type: { name: "Composite", - className: "VirtualMachineScaleSetInstanceViewStatusesSummary", + className: "SshPublicKeysGroupListResult", modelProperties: { - statusesSummary: { - serializedName: "statusesSummary", - readOnly: true, + value: { + serializedName: "value", + required: true, type: { name: "Sequence", element: { type: { name: "Composite", - className: "VirtualMachineStatusCodeCount" + className: "SshPublicKeyResource" } } } + }, + nextLink: { + serializedName: "nextLink", + type: { + name: "String" + } } } } }; -export const VirtualMachineStatusCodeCount: coreClient.CompositeMapper = { +export const SshPublicKeyGenerateKeyPairResult: coreClient.CompositeMapper = { type: { name: "Composite", - className: "VirtualMachineStatusCodeCount", + className: "SshPublicKeyGenerateKeyPairResult", modelProperties: { - code: { - serializedName: "code", - readOnly: true, + privateKey: { + serializedName: "privateKey", + required: true, type: { name: "String" } }, - count: { - serializedName: "count", - readOnly: true, + publicKey: { + serializedName: "publicKey", + required: true, type: { - name: "Number" + name: "String" + } + }, + id: { + serializedName: "id", + required: true, + type: { + name: "String" } } } } }; -export const VirtualMachineScaleSetVMExtensionsSummary: coreClient.CompositeMapper = { +export const ImageStorageProfile: coreClient.CompositeMapper = { type: { name: "Composite", - className: "VirtualMachineScaleSetVMExtensionsSummary", + className: "ImageStorageProfile", modelProperties: { - name: { - serializedName: "name", - readOnly: true, + osDisk: { + serializedName: "osDisk", type: { - name: "String" + name: "Composite", + className: "ImageOSDisk" } }, - statusesSummary: { - serializedName: "statusesSummary", - readOnly: true, + dataDisks: { + serializedName: "dataDisks", type: { name: "Sequence", element: { type: { name: "Composite", - className: "VirtualMachineStatusCodeCount" + className: "ImageDataDisk" } } } + }, + zoneResilient: { + serializedName: "zoneResilient", + type: { + name: "Boolean" + } } } } }; -export const OrchestrationServiceSummary: coreClient.CompositeMapper = { +export const ImageDisk: coreClient.CompositeMapper = { type: { name: "Composite", - className: "OrchestrationServiceSummary", + className: "ImageDisk", modelProperties: { - serviceName: { - serializedName: "serviceName", - readOnly: true, + snapshot: { + serializedName: "snapshot", type: { - name: "String" + name: "Composite", + className: "SubResource" } }, - serviceState: { - serializedName: "serviceState", - readOnly: true, + managedDisk: { + serializedName: "managedDisk", + type: { + name: "Composite", + className: "SubResource" + } + }, + blobUri: { + serializedName: "blobUri", type: { name: "String" } - } - } - } -}; - -export const VirtualMachineScaleSetExtensionListResult: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "VirtualMachineScaleSetExtensionListResult", - modelProperties: { - value: { - serializedName: "value", - required: true, + }, + caching: { + serializedName: "caching", type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "VirtualMachineScaleSetExtension" - } - } + name: "Enum", + allowedValues: ["None", "ReadOnly", "ReadWrite"] } }, - nextLink: { - serializedName: "nextLink", + diskSizeGB: { + serializedName: "diskSizeGB", + type: { + name: "Number" + } + }, + storageAccountType: { + serializedName: "storageAccountType", type: { name: "String" } + }, + diskEncryptionSet: { + serializedName: "diskEncryptionSet", + type: { + name: "Composite", + className: "DiskEncryptionSetParameters" + } } } } }; -export const VirtualMachineScaleSetListWithLinkResult: coreClient.CompositeMapper = { +export const ImageListResult: coreClient.CompositeMapper = { type: { name: "Composite", - className: "VirtualMachineScaleSetListWithLinkResult", + className: "ImageListResult", modelProperties: { value: { serializedName: "value", @@ -5478,7 +5649,7 @@ export const VirtualMachineScaleSetListWithLinkResult: coreClient.CompositeMappe element: { type: { name: "Composite", - className: "VirtualMachineScaleSet" + className: "Image" } } } @@ -5493,26 +5664,20 @@ export const VirtualMachineScaleSetListWithLinkResult: coreClient.CompositeMappe } }; -export const VirtualMachineScaleSetListSkusResult: coreClient.CompositeMapper = { +export const RestorePointCollectionSourceProperties: coreClient.CompositeMapper = { type: { name: "Composite", - className: "VirtualMachineScaleSetListSkusResult", + className: "RestorePointCollectionSourceProperties", modelProperties: { - value: { - serializedName: "value", - required: true, + location: { + serializedName: "location", + readOnly: true, type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "VirtualMachineScaleSetSku" - } - } + name: "String" } }, - nextLink: { - serializedName: "nextLink", + id: { + serializedName: "id", type: { name: "String" } @@ -5521,374 +5686,403 @@ export const VirtualMachineScaleSetListSkusResult: coreClient.CompositeMapper = } }; -export const VirtualMachineScaleSetSku: coreClient.CompositeMapper = { +export const RestorePointSourceMetadata: coreClient.CompositeMapper = { type: { name: "Composite", - className: "VirtualMachineScaleSetSku", + className: "RestorePointSourceMetadata", modelProperties: { - resourceType: { - serializedName: "resourceType", - readOnly: true, + hardwareProfile: { + serializedName: "hardwareProfile", type: { - name: "String" + name: "Composite", + className: "HardwareProfile" } }, - sku: { - serializedName: "sku", + storageProfile: { + serializedName: "storageProfile", type: { name: "Composite", - className: "Sku" + className: "RestorePointSourceVMStorageProfile" } }, - capacity: { - serializedName: "capacity", + osProfile: { + serializedName: "osProfile", type: { name: "Composite", - className: "VirtualMachineScaleSetSkuCapacity" + className: "OSProfile" } - } - } - } -}; - -export const VirtualMachineScaleSetSkuCapacity: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "VirtualMachineScaleSetSkuCapacity", - modelProperties: { - minimum: { - serializedName: "minimum", - readOnly: true, + }, + diagnosticsProfile: { + serializedName: "diagnosticsProfile", type: { - name: "Number" + name: "Composite", + className: "DiagnosticsProfile" } }, - maximum: { - serializedName: "maximum", - readOnly: true, + licenseType: { + serializedName: "licenseType", type: { - name: "Number" + name: "String" } }, - defaultCapacity: { - serializedName: "defaultCapacity", - readOnly: true, + vmId: { + serializedName: "vmId", type: { - name: "Number" + name: "String" } }, - scaleType: { - serializedName: "scaleType", - readOnly: true, + securityProfile: { + serializedName: "securityProfile", type: { - name: "Enum", - allowedValues: ["Automatic", "None"] + name: "Composite", + className: "SecurityProfile" + } + }, + location: { + serializedName: "location", + type: { + name: "String" } } } } }; -export const VirtualMachineScaleSetListOSUpgradeHistory: coreClient.CompositeMapper = { +export const RestorePointSourceVMStorageProfile: coreClient.CompositeMapper = { type: { name: "Composite", - className: "VirtualMachineScaleSetListOSUpgradeHistory", + className: "RestorePointSourceVMStorageProfile", modelProperties: { - value: { - serializedName: "value", - required: true, + osDisk: { + serializedName: "osDisk", + type: { + name: "Composite", + className: "RestorePointSourceVmosDisk" + } + }, + dataDisks: { + serializedName: "dataDisks", type: { name: "Sequence", element: { type: { name: "Composite", - className: "UpgradeOperationHistoricalStatusInfo" + className: "RestorePointSourceVMDataDisk" } } } - }, - nextLink: { - serializedName: "nextLink", - type: { - name: "String" - } } } } }; -export const UpgradeOperationHistoricalStatusInfo: coreClient.CompositeMapper = { +export const RestorePointSourceVmosDisk: coreClient.CompositeMapper = { type: { name: "Composite", - className: "UpgradeOperationHistoricalStatusInfo", + className: "RestorePointSourceVmosDisk", modelProperties: { - properties: { - serializedName: "properties", + osType: { + serializedName: "osType", + type: { + name: "String" + } + }, + encryptionSettings: { + serializedName: "encryptionSettings", type: { name: "Composite", - className: "UpgradeOperationHistoricalStatusInfoProperties" + className: "DiskEncryptionSettings" } }, - type: { - serializedName: "type", - readOnly: true, + name: { + serializedName: "name", type: { name: "String" } }, - location: { - serializedName: "location", - readOnly: true, + caching: { + serializedName: "caching", type: { - name: "String" + name: "Enum", + allowedValues: ["None", "ReadOnly", "ReadWrite"] + } + }, + diskSizeGB: { + serializedName: "diskSizeGB", + type: { + name: "Number" + } + }, + managedDisk: { + serializedName: "managedDisk", + type: { + name: "Composite", + className: "ManagedDiskParameters" + } + }, + diskRestorePoint: { + serializedName: "diskRestorePoint", + type: { + name: "Composite", + className: "ApiEntityReference" } } } } }; -export const UpgradeOperationHistoricalStatusInfoProperties: coreClient.CompositeMapper = { +export const RestorePointSourceVMDataDisk: coreClient.CompositeMapper = { type: { name: "Composite", - className: "UpgradeOperationHistoricalStatusInfoProperties", + className: "RestorePointSourceVMDataDisk", modelProperties: { - runningStatus: { - serializedName: "runningStatus", + lun: { + serializedName: "lun", type: { - name: "Composite", - className: "UpgradeOperationHistoryStatus" + name: "Number" } }, - progress: { - serializedName: "progress", + name: { + serializedName: "name", type: { - name: "Composite", - className: "RollingUpgradeProgressInfo" + name: "String" } }, - error: { - serializedName: "error", + caching: { + serializedName: "caching", type: { - name: "Composite", - className: "ApiError" + name: "Enum", + allowedValues: ["None", "ReadOnly", "ReadWrite"] } }, - startedBy: { - serializedName: "startedBy", - readOnly: true, + diskSizeGB: { + serializedName: "diskSizeGB", type: { - name: "Enum", - allowedValues: ["Unknown", "User", "Platform"] + name: "Number" } }, - targetImageReference: { - serializedName: "targetImageReference", + managedDisk: { + serializedName: "managedDisk", type: { name: "Composite", - className: "ImageReference" + className: "ManagedDiskParameters" } }, - rollbackInfo: { - serializedName: "rollbackInfo", + diskRestorePoint: { + serializedName: "diskRestorePoint", type: { name: "Composite", - className: "RollbackStatusInfo" + className: "ApiEntityReference" } } } } }; -export const UpgradeOperationHistoryStatus: coreClient.CompositeMapper = { +export const RestorePointInstanceView: coreClient.CompositeMapper = { type: { name: "Composite", - className: "UpgradeOperationHistoryStatus", + className: "RestorePointInstanceView", modelProperties: { - code: { - serializedName: "code", - readOnly: true, + diskRestorePoints: { + serializedName: "diskRestorePoints", type: { - name: "Enum", - allowedValues: ["RollingForward", "Cancelled", "Completed", "Faulted"] + name: "Sequence", + element: { + type: { + name: "Composite", + className: "DiskRestorePointInstanceView" + } + } } }, - startTime: { - serializedName: "startTime", - readOnly: true, + statuses: { + serializedName: "statuses", type: { - name: "DateTime" + name: "Sequence", + element: { + type: { + name: "Composite", + className: "InstanceViewStatus" + } + } + } + } + } + } +}; + +export const DiskRestorePointInstanceView: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "DiskRestorePointInstanceView", + modelProperties: { + id: { + serializedName: "id", + type: { + name: "String" } }, - endTime: { - serializedName: "endTime", - readOnly: true, + replicationStatus: { + serializedName: "replicationStatus", type: { - name: "DateTime" + name: "Dictionary", + value: { type: { name: "any" } } } } } } }; -export const RollingUpgradeProgressInfo: coreClient.CompositeMapper = { +export const ProxyResource: coreClient.CompositeMapper = { type: { name: "Composite", - className: "RollingUpgradeProgressInfo", + className: "ProxyResource", modelProperties: { - successfulInstanceCount: { - serializedName: "successfulInstanceCount", + id: { + serializedName: "id", readOnly: true, type: { - name: "Number" + name: "String" } }, - failedInstanceCount: { - serializedName: "failedInstanceCount", + name: { + serializedName: "name", readOnly: true, type: { - name: "Number" + name: "String" } }, - inProgressInstanceCount: { - serializedName: "inProgressInstanceCount", - readOnly: true, - type: { - name: "Number" - } - }, - pendingInstanceCount: { - serializedName: "pendingInstanceCount", + type: { + serializedName: "type", readOnly: true, type: { - name: "Number" + name: "String" } } } } }; -export const RollbackStatusInfo: coreClient.CompositeMapper = { +export const RestorePointCollectionListResult: coreClient.CompositeMapper = { type: { name: "Composite", - className: "RollbackStatusInfo", + className: "RestorePointCollectionListResult", modelProperties: { - successfullyRolledbackInstanceCount: { - serializedName: "successfullyRolledbackInstanceCount", - readOnly: true, - type: { - name: "Number" - } - }, - failedRolledbackInstanceCount: { - serializedName: "failedRolledbackInstanceCount", - readOnly: true, + value: { + serializedName: "value", type: { - name: "Number" + name: "Sequence", + element: { + type: { + name: "Composite", + className: "RestorePointCollection" + } + } } }, - rollbackError: { - serializedName: "rollbackError", + nextLink: { + serializedName: "nextLink", type: { - name: "Composite", - className: "ApiError" + name: "String" } } } } }; -export const RollingUpgradeRunningStatus: coreClient.CompositeMapper = { +export const CapacityReservationGroupInstanceView: coreClient.CompositeMapper = { type: { name: "Composite", - className: "RollingUpgradeRunningStatus", + className: "CapacityReservationGroupInstanceView", modelProperties: { - code: { - serializedName: "code", - readOnly: true, - type: { - name: "Enum", - allowedValues: ["RollingForward", "Cancelled", "Completed", "Faulted"] - } - }, - startTime: { - serializedName: "startTime", - readOnly: true, - type: { - name: "DateTime" - } - }, - lastAction: { - serializedName: "lastAction", - readOnly: true, - type: { - name: "Enum", - allowedValues: ["Start", "Cancel"] - } - }, - lastActionTime: { - serializedName: "lastActionTime", + capacityReservations: { + serializedName: "capacityReservations", readOnly: true, type: { - name: "DateTime" + name: "Sequence", + element: { + type: { + name: "Composite", + className: "CapacityReservationInstanceViewWithName" + } + } } } } } }; -export const RecoveryWalkResponse: coreClient.CompositeMapper = { +export const CapacityReservationInstanceView: coreClient.CompositeMapper = { type: { name: "Composite", - className: "RecoveryWalkResponse", + className: "CapacityReservationInstanceView", modelProperties: { - walkPerformed: { - serializedName: "walkPerformed", - readOnly: true, + utilizationInfo: { + serializedName: "utilizationInfo", type: { - name: "Boolean" + name: "Composite", + className: "CapacityReservationUtilization" } }, - nextPlatformUpdateDomain: { - serializedName: "nextPlatformUpdateDomain", - readOnly: true, + statuses: { + serializedName: "statuses", type: { - name: "Number" + name: "Sequence", + element: { + type: { + name: "Composite", + className: "InstanceViewStatus" + } + } } } } } }; -export const VMScaleSetConvertToSinglePlacementGroupInput: coreClient.CompositeMapper = { +export const CapacityReservationUtilization: coreClient.CompositeMapper = { type: { name: "Composite", - className: "VMScaleSetConvertToSinglePlacementGroupInput", + className: "CapacityReservationUtilization", modelProperties: { - activePlacementGroupId: { - serializedName: "activePlacementGroupId", + virtualMachinesAllocated: { + serializedName: "virtualMachinesAllocated", + readOnly: true, type: { - name: "String" + name: "Sequence", + element: { + type: { + name: "Composite", + className: "SubResourceReadOnly" + } + } } } } } }; -export const OrchestrationServiceStateInput: coreClient.CompositeMapper = { +export const CapacityReservationGroupListResult: coreClient.CompositeMapper = { type: { name: "Composite", - className: "OrchestrationServiceStateInput", + className: "CapacityReservationGroupListResult", modelProperties: { - serviceName: { - serializedName: "serviceName", + value: { + serializedName: "value", required: true, type: { - name: "String" + name: "Sequence", + element: { + type: { + name: "Composite", + className: "CapacityReservationGroup" + } + } } }, - action: { - serializedName: "action", - required: true, + nextLink: { + serializedName: "nextLink", type: { name: "String" } @@ -5897,271 +6091,104 @@ export const OrchestrationServiceStateInput: coreClient.CompositeMapper = { } }; -export const VirtualMachineScaleSetVMExtensionsListResult: coreClient.CompositeMapper = { +export const CapacityReservationListResult: coreClient.CompositeMapper = { type: { name: "Composite", - className: "VirtualMachineScaleSetVMExtensionsListResult", + className: "CapacityReservationListResult", modelProperties: { value: { serializedName: "value", + required: true, type: { name: "Sequence", element: { type: { name: "Composite", - className: "VirtualMachineScaleSetVMExtension" + className: "CapacityReservation" } } } + }, + nextLink: { + serializedName: "nextLink", + type: { + name: "String" + } } } } }; -export const VirtualMachineScaleSetVMInstanceView: coreClient.CompositeMapper = { +export const LogAnalyticsInputBase: coreClient.CompositeMapper = { type: { name: "Composite", - className: "VirtualMachineScaleSetVMInstanceView", + className: "LogAnalyticsInputBase", modelProperties: { - platformUpdateDomain: { - serializedName: "platformUpdateDomain", + blobContainerSasUri: { + serializedName: "blobContainerSasUri", + required: true, type: { - name: "Number" + name: "String" } }, - platformFaultDomain: { - serializedName: "platformFaultDomain", + fromTime: { + serializedName: "fromTime", + required: true, type: { - name: "Number" + name: "DateTime" } }, - rdpThumbPrint: { - serializedName: "rdpThumbPrint", + toTime: { + serializedName: "toTime", + required: true, type: { - name: "String" + name: "DateTime" } }, - vmAgent: { - serializedName: "vmAgent", + groupByThrottlePolicy: { + serializedName: "groupByThrottlePolicy", type: { - name: "Composite", - className: "VirtualMachineAgentInstanceView" + name: "Boolean" } }, - maintenanceRedeployStatus: { - serializedName: "maintenanceRedeployStatus", + groupByOperationName: { + serializedName: "groupByOperationName", type: { - name: "Composite", - className: "MaintenanceRedeployStatus" + name: "Boolean" } }, - disks: { - serializedName: "disks", + groupByResourceName: { + serializedName: "groupByResourceName", type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "DiskInstanceView" - } - } + name: "Boolean" } }, - extensions: { - serializedName: "extensions", + groupByClientApplicationId: { + serializedName: "groupByClientApplicationId", type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "VirtualMachineExtensionInstanceView" - } - } + name: "Boolean" } }, - vmHealth: { - serializedName: "vmHealth", + groupByUserAgent: { + serializedName: "groupByUserAgent", type: { - name: "Composite", - className: "VirtualMachineHealthStatus" + name: "Boolean" } - }, - bootDiagnostics: { - serializedName: "bootDiagnostics", + } + } + } +}; + +export const LogAnalyticsOperationResult: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "LogAnalyticsOperationResult", + modelProperties: { + properties: { + serializedName: "properties", type: { name: "Composite", - className: "BootDiagnosticsInstanceView" - } - }, - statuses: { - serializedName: "statuses", - type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "InstanceViewStatus" - } - } - } - }, - assignedHost: { - serializedName: "assignedHost", - readOnly: true, - type: { - name: "String" - } - }, - placementGroupId: { - serializedName: "placementGroupId", - type: { - name: "String" - } - } - } - } -}; - -export const VirtualMachineScaleSetVMNetworkProfileConfiguration: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "VirtualMachineScaleSetVMNetworkProfileConfiguration", - modelProperties: { - networkInterfaceConfigurations: { - serializedName: "networkInterfaceConfigurations", - type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "VirtualMachineScaleSetNetworkConfiguration" - } - } - } - } - } - } -}; - -export const VirtualMachineScaleSetVMProtectionPolicy: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "VirtualMachineScaleSetVMProtectionPolicy", - modelProperties: { - protectFromScaleIn: { - serializedName: "protectFromScaleIn", - type: { - name: "Boolean" - } - }, - protectFromScaleSetActions: { - serializedName: "protectFromScaleSetActions", - type: { - name: "Boolean" - } - } - } - } -}; - -export const VirtualMachineScaleSetVMListResult: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "VirtualMachineScaleSetVMListResult", - modelProperties: { - value: { - serializedName: "value", - required: true, - type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "VirtualMachineScaleSetVM" - } - } - } - }, - nextLink: { - serializedName: "nextLink", - type: { - name: "String" - } - } - } - } -}; - -export const LogAnalyticsInputBase: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "LogAnalyticsInputBase", - modelProperties: { - blobContainerSasUri: { - serializedName: "blobContainerSasUri", - required: true, - type: { - name: "String" - } - }, - fromTime: { - serializedName: "fromTime", - required: true, - type: { - name: "DateTime" - } - }, - toTime: { - serializedName: "toTime", - required: true, - type: { - name: "DateTime" - } - }, - groupByThrottlePolicy: { - serializedName: "groupByThrottlePolicy", - type: { - name: "Boolean" - } - }, - groupByOperationName: { - serializedName: "groupByOperationName", - type: { - name: "Boolean" - } - }, - groupByResourceName: { - serializedName: "groupByResourceName", - type: { - name: "Boolean" - } - }, - groupByClientApplicationId: { - serializedName: "groupByClientApplicationId", - type: { - name: "Boolean" - } - }, - groupByUserAgent: { - serializedName: "groupByUserAgent", - type: { - name: "Boolean" - } - } - } - } -}; - -export const LogAnalyticsOperationResult: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "LogAnalyticsOperationResult", - modelProperties: { - properties: { - serializedName: "properties", - type: { - name: "Composite", - className: "LogAnalyticsOutput" + className: "LogAnalyticsOutput" } } } @@ -6494,26 +6521,14 @@ export const VirtualMachineRunCommandsListResult: coreClient.CompositeMapper = { } }; -export const ResourceSkusResult: coreClient.CompositeMapper = { +export const GalleryIdentifier: coreClient.CompositeMapper = { type: { name: "Composite", - className: "ResourceSkusResult", + className: "GalleryIdentifier", modelProperties: { - value: { - serializedName: "value", - required: true, - type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "ResourceSku" - } - } - } - }, - nextLink: { - serializedName: "nextLink", + uniqueName: { + serializedName: "uniqueName", + readOnly: true, type: { name: "String" } @@ -6522,63 +6537,53 @@ export const ResourceSkusResult: coreClient.CompositeMapper = { } }; -export const ResourceSku: coreClient.CompositeMapper = { +export const SharingProfile: coreClient.CompositeMapper = { type: { name: "Composite", - className: "ResourceSku", + className: "SharingProfile", modelProperties: { - resourceType: { - serializedName: "resourceType", - readOnly: true, - type: { - name: "String" - } - }, - name: { - serializedName: "name", - readOnly: true, - type: { - name: "String" - } - }, - tier: { - serializedName: "tier", - readOnly: true, + permissions: { + serializedName: "permissions", type: { name: "String" } }, - size: { - serializedName: "size", + groups: { + serializedName: "groups", readOnly: true, type: { - name: "String" + name: "Sequence", + element: { + type: { + name: "Composite", + className: "SharingProfileGroup" + } + } } }, - family: { - serializedName: "family", - readOnly: true, + communityGalleryInfo: { + serializedName: "communityGalleryInfo", type: { - name: "String" + name: "any" } - }, - kind: { - serializedName: "kind", - readOnly: true, + } + } + } +}; + +export const SharingProfileGroup: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "SharingProfileGroup", + modelProperties: { + type: { + serializedName: "type", type: { name: "String" } }, - capacity: { - serializedName: "capacity", - type: { - name: "Composite", - className: "ResourceSkuCapacity" - } - }, - locations: { - serializedName: "locations", - readOnly: true, + ids: { + serializedName: "ids", type: { name: "Sequence", element: { @@ -6587,199 +6592,205 @@ export const ResourceSku: coreClient.CompositeMapper = { } } } - }, - locationInfo: { - serializedName: "locationInfo", - readOnly: true, + } + } + } +}; + +export const SoftDeletePolicy: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "SoftDeletePolicy", + modelProperties: { + isSoftDeleteEnabled: { + serializedName: "isSoftDeleteEnabled", type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "ResourceSkuLocationInfo" - } - } + name: "Boolean" } - }, - apiVersions: { - serializedName: "apiVersions", + } + } + } +}; + +export const SharingStatus: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "SharingStatus", + modelProperties: { + aggregatedState: { + serializedName: "aggregatedState", readOnly: true, type: { - name: "Sequence", - element: { - type: { - name: "String" - } - } + name: "String" } }, - costs: { - serializedName: "costs", - readOnly: true, + summary: { + serializedName: "summary", type: { name: "Sequence", element: { type: { name: "Composite", - className: "ResourceSkuCosts" + className: "RegionalSharingStatus" } } } + } + } + } +}; + +export const RegionalSharingStatus: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "RegionalSharingStatus", + modelProperties: { + region: { + serializedName: "region", + type: { + name: "String" + } }, - capabilities: { - serializedName: "capabilities", + state: { + serializedName: "state", readOnly: true, type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "ResourceSkuCapabilities" - } - } + name: "String" } }, - restrictions: { - serializedName: "restrictions", - readOnly: true, + details: { + serializedName: "details", type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "ResourceSkuRestrictions" - } - } + name: "String" } } } } }; -export const ResourceSkuCapacity: coreClient.CompositeMapper = { +export const UpdateResourceDefinition: coreClient.CompositeMapper = { type: { name: "Composite", - className: "ResourceSkuCapacity", + className: "UpdateResourceDefinition", modelProperties: { - minimum: { - serializedName: "minimum", + id: { + serializedName: "id", readOnly: true, type: { - name: "Number" + name: "String" } }, - maximum: { - serializedName: "maximum", + name: { + serializedName: "name", readOnly: true, type: { - name: "Number" + name: "String" } }, - default: { - serializedName: "default", + type: { + serializedName: "type", readOnly: true, type: { - name: "Number" + name: "String" } }, - scaleType: { - serializedName: "scaleType", - readOnly: true, + tags: { + serializedName: "tags", type: { - name: "Enum", - allowedValues: ["Automatic", "Manual", "None"] + name: "Dictionary", + value: { type: { name: "String" } } } } } } }; -export const ResourceSkuLocationInfo: coreClient.CompositeMapper = { +export const GalleryImageIdentifier: coreClient.CompositeMapper = { type: { name: "Composite", - className: "ResourceSkuLocationInfo", + className: "GalleryImageIdentifier", modelProperties: { - location: { - serializedName: "location", - readOnly: true, + publisher: { + serializedName: "publisher", + required: true, type: { name: "String" } }, - zones: { - serializedName: "zones", - readOnly: true, + offer: { + serializedName: "offer", + required: true, type: { - name: "Sequence", - element: { - type: { - name: "String" - } - } + name: "String" } }, - zoneDetails: { - serializedName: "zoneDetails", - readOnly: true, + sku: { + serializedName: "sku", + required: true, type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "ResourceSkuZoneDetails" - } - } + name: "String" } - }, - extendedLocations: { - serializedName: "extendedLocations", - readOnly: true, + } + } + } +}; + +export const RecommendedMachineConfiguration: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "RecommendedMachineConfiguration", + modelProperties: { + vCPUs: { + serializedName: "vCPUs", type: { - name: "Sequence", - element: { - type: { - name: "String" - } - } + name: "Composite", + className: "ResourceRange" } }, - type: { - serializedName: "type", - readOnly: true, + memory: { + serializedName: "memory", type: { - name: "String" + name: "Composite", + className: "ResourceRange" } } } } }; -export const ResourceSkuZoneDetails: coreClient.CompositeMapper = { +export const ResourceRange: coreClient.CompositeMapper = { type: { name: "Composite", - className: "ResourceSkuZoneDetails", + className: "ResourceRange", modelProperties: { - name: { - serializedName: "name", - readOnly: true, + min: { + serializedName: "min", type: { - name: "Sequence", - element: { - type: { - name: "String" - } - } + name: "Number" } }, - capabilities: { - serializedName: "capabilities", - readOnly: true, + max: { + serializedName: "max", + type: { + name: "Number" + } + } + } + } +}; + +export const Disallowed: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "Disallowed", + modelProperties: { + diskTypes: { + serializedName: "diskTypes", type: { name: "Sequence", element: { type: { - name: "Composite", - className: "ResourceSkuCapabilities" + name: "String" } } } @@ -6788,21 +6799,25 @@ export const ResourceSkuZoneDetails: coreClient.CompositeMapper = { } }; -export const ResourceSkuCapabilities: coreClient.CompositeMapper = { +export const ImagePurchasePlan: coreClient.CompositeMapper = { type: { name: "Composite", - className: "ResourceSkuCapabilities", + className: "ImagePurchasePlan", modelProperties: { name: { serializedName: "name", - readOnly: true, type: { name: "String" } }, - value: { - serializedName: "value", - readOnly: true, + publisher: { + serializedName: "publisher", + type: { + name: "String" + } + }, + product: { + serializedName: "product", type: { name: "String" } @@ -6811,28 +6826,19 @@ export const ResourceSkuCapabilities: coreClient.CompositeMapper = { } }; -export const ResourceSkuCosts: coreClient.CompositeMapper = { +export const GalleryImageFeature: coreClient.CompositeMapper = { type: { name: "Composite", - className: "ResourceSkuCosts", + className: "GalleryImageFeature", modelProperties: { - meterID: { - serializedName: "meterID", - readOnly: true, + name: { + serializedName: "name", type: { name: "String" } }, - quantity: { - serializedName: "quantity", - readOnly: true, - type: { - name: "Number" - } - }, - extendedUnit: { - serializedName: "extendedUnit", - readOnly: true, + value: { + serializedName: "value", type: { name: "String" } @@ -6841,109 +6847,80 @@ export const ResourceSkuCosts: coreClient.CompositeMapper = { } }; -export const ResourceSkuRestrictions: coreClient.CompositeMapper = { +export const GalleryArtifactPublishingProfileBase: coreClient.CompositeMapper = { type: { name: "Composite", - className: "ResourceSkuRestrictions", + className: "GalleryArtifactPublishingProfileBase", modelProperties: { - type: { - serializedName: "type", - readOnly: true, - type: { - name: "Enum", - allowedValues: ["Location", "Zone"] - } - }, - values: { - serializedName: "values", - readOnly: true, + targetRegions: { + serializedName: "targetRegions", type: { name: "Sequence", element: { type: { - name: "String" + name: "Composite", + className: "TargetRegion" } } } }, - restrictionInfo: { - serializedName: "restrictionInfo", + replicaCount: { + serializedName: "replicaCount", type: { - name: "Composite", - className: "ResourceSkuRestrictionInfo" + name: "Number" } }, - reasonCode: { - serializedName: "reasonCode", - readOnly: true, + excludeFromLatest: { + serializedName: "excludeFromLatest", type: { - name: "Enum", - allowedValues: ["QuotaId", "NotAvailableForSubscription"] + name: "Boolean" } - } - } - } -}; - -export const ResourceSkuRestrictionInfo: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "ResourceSkuRestrictionInfo", - modelProperties: { - locations: { - serializedName: "locations", + }, + publishedDate: { + serializedName: "publishedDate", readOnly: true, type: { - name: "Sequence", - element: { - type: { - name: "String" - } - } + name: "DateTime" } }, - zones: { - serializedName: "zones", - readOnly: true, + endOfLifeDate: { + serializedName: "endOfLifeDate", type: { - name: "Sequence", - element: { - type: { - name: "String" - } - } + name: "DateTime" } - } - } - } -}; - -export const DiskSku: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "DiskSku", - modelProperties: { - name: { - serializedName: "name", + }, + storageAccountType: { + serializedName: "storageAccountType", type: { name: "String" } }, - tier: { - serializedName: "tier", - readOnly: true, + replicationMode: { + serializedName: "replicationMode", type: { name: "String" } + }, + targetExtendedLocations: { + serializedName: "targetExtendedLocations", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "GalleryTargetExtendedLocation" + } + } + } } } } }; -export const PurchasePlanAutoGenerated: coreClient.CompositeMapper = { +export const TargetRegion: coreClient.CompositeMapper = { type: { name: "Composite", - className: "PurchasePlanAutoGenerated", + className: "TargetRegion", modelProperties: { name: { serializedName: "name", @@ -6952,172 +6929,203 @@ export const PurchasePlanAutoGenerated: coreClient.CompositeMapper = { name: "String" } }, - publisher: { - serializedName: "publisher", - required: true, + regionalReplicaCount: { + serializedName: "regionalReplicaCount", type: { - name: "String" + name: "Number" } }, - product: { - serializedName: "product", - required: true, + storageAccountType: { + serializedName: "storageAccountType", type: { name: "String" } }, - promotionCode: { - serializedName: "promotionCode", + encryption: { + serializedName: "encryption", type: { - name: "String" + name: "Composite", + className: "EncryptionImages" } } } } }; -export const SupportedCapabilities: coreClient.CompositeMapper = { +export const EncryptionImages: coreClient.CompositeMapper = { type: { name: "Composite", - className: "SupportedCapabilities", + className: "EncryptionImages", modelProperties: { - acceleratedNetwork: { - serializedName: "acceleratedNetwork", + osDiskImage: { + serializedName: "osDiskImage", type: { - name: "Boolean" + name: "Composite", + className: "OSDiskImageEncryption" } }, - architecture: { - serializedName: "architecture", + dataDiskImages: { + serializedName: "dataDiskImages", type: { - name: "String" + name: "Sequence", + element: { + type: { + name: "Composite", + className: "DataDiskImageEncryption" + } + } } } } } }; -export const CreationData: coreClient.CompositeMapper = { +export const OSDiskImageSecurityProfile: coreClient.CompositeMapper = { type: { name: "Composite", - className: "CreationData", + className: "OSDiskImageSecurityProfile", modelProperties: { - createOption: { - serializedName: "createOption", - required: true, + confidentialVMEncryptionType: { + serializedName: "confidentialVMEncryptionType", type: { name: "String" } }, - storageAccountId: { - serializedName: "storageAccountId", + secureVMDiskEncryptionSetId: { + serializedName: "secureVMDiskEncryptionSetId", type: { name: "String" } - }, - imageReference: { - serializedName: "imageReference", - type: { - name: "Composite", - className: "ImageDiskReference" - } - }, - galleryImageReference: { - serializedName: "galleryImageReference", - type: { - name: "Composite", - className: "ImageDiskReference" - } - }, - sourceUri: { - serializedName: "sourceUri", + } + } + } +}; + +export const DiskImageEncryption: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "DiskImageEncryption", + modelProperties: { + diskEncryptionSetId: { + serializedName: "diskEncryptionSetId", type: { name: "String" } - }, - sourceResourceId: { - serializedName: "sourceResourceId", + } + } + } +}; + +export const GalleryTargetExtendedLocation: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "GalleryTargetExtendedLocation", + modelProperties: { + name: { + serializedName: "name", type: { name: "String" } }, - sourceUniqueId: { - serializedName: "sourceUniqueId", - readOnly: true, + extendedLocation: { + serializedName: "extendedLocation", type: { - name: "String" + name: "Composite", + className: "GalleryExtendedLocation" } }, - uploadSizeBytes: { - serializedName: "uploadSizeBytes", + extendedLocationReplicaCount: { + serializedName: "extendedLocationReplicaCount", type: { name: "Number" } }, - logicalSectorSize: { - serializedName: "logicalSectorSize", + storageAccountType: { + serializedName: "storageAccountType", type: { - name: "Number" + name: "String" } }, - securityDataUri: { - serializedName: "securityDataUri", + encryption: { + serializedName: "encryption", type: { - name: "String" + name: "Composite", + className: "EncryptionImages" } } } } }; -export const ImageDiskReference: coreClient.CompositeMapper = { +export const GalleryExtendedLocation: coreClient.CompositeMapper = { type: { name: "Composite", - className: "ImageDiskReference", + className: "GalleryExtendedLocation", modelProperties: { - id: { - serializedName: "id", - required: true, + name: { + serializedName: "name", type: { name: "String" } }, - lun: { - serializedName: "lun", + type: { + serializedName: "type", type: { - name: "Number" + name: "String" } } } } }; -export const EncryptionSettingsCollection: coreClient.CompositeMapper = { +export const GalleryImageVersionStorageProfile: coreClient.CompositeMapper = { type: { name: "Composite", - className: "EncryptionSettingsCollection", + className: "GalleryImageVersionStorageProfile", modelProperties: { - enabled: { - serializedName: "enabled", - required: true, + source: { + serializedName: "source", type: { - name: "Boolean" + name: "Composite", + className: "GalleryArtifactVersionSource" } }, - encryptionSettings: { - serializedName: "encryptionSettings", + osDiskImage: { + serializedName: "osDiskImage", + type: { + name: "Composite", + className: "GalleryOSDiskImage" + } + }, + dataDiskImages: { + serializedName: "dataDiskImages", type: { name: "Sequence", element: { type: { name: "Composite", - className: "EncryptionSettingsElement" + className: "GalleryDataDiskImage" } } } + } + } + } +}; + +export const GalleryArtifactVersionSource: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "GalleryArtifactVersionSource", + modelProperties: { + id: { + serializedName: "id", + type: { + name: "String" + } }, - encryptionSettingsVersion: { - serializedName: "encryptionSettingsVersion", + uri: { + serializedName: "uri", type: { name: "String" } @@ -7126,82 +7134,116 @@ export const EncryptionSettingsCollection: coreClient.CompositeMapper = { } }; -export const EncryptionSettingsElement: coreClient.CompositeMapper = { +export const GalleryDiskImage: coreClient.CompositeMapper = { type: { name: "Composite", - className: "EncryptionSettingsElement", + className: "GalleryDiskImage", modelProperties: { - diskEncryptionKey: { - serializedName: "diskEncryptionKey", + sizeInGB: { + serializedName: "sizeInGB", + readOnly: true, type: { - name: "Composite", - className: "KeyVaultAndSecretReference" + name: "Number" } }, - keyEncryptionKey: { - serializedName: "keyEncryptionKey", + hostCaching: { + serializedName: "hostCaching", + type: { + name: "Enum", + allowedValues: ["None", "ReadOnly", "ReadWrite"] + } + }, + source: { + serializedName: "source", type: { name: "Composite", - className: "KeyVaultAndKeyReference" + className: "GalleryArtifactVersionSource" } } } } }; -export const KeyVaultAndSecretReference: coreClient.CompositeMapper = { +export const ReplicationStatus: coreClient.CompositeMapper = { type: { name: "Composite", - className: "KeyVaultAndSecretReference", + className: "ReplicationStatus", modelProperties: { - sourceVault: { - serializedName: "sourceVault", + aggregatedState: { + serializedName: "aggregatedState", + readOnly: true, type: { - name: "Composite", - className: "SourceVault" + name: "String" } }, - secretUrl: { - serializedName: "secretUrl", - required: true, + summary: { + serializedName: "summary", + readOnly: true, type: { - name: "String" + name: "Sequence", + element: { + type: { + name: "Composite", + className: "RegionalReplicationStatus" + } + } } } } } }; -export const SourceVault: coreClient.CompositeMapper = { +export const RegionalReplicationStatus: coreClient.CompositeMapper = { type: { name: "Composite", - className: "SourceVault", + className: "RegionalReplicationStatus", modelProperties: { - id: { - serializedName: "id", + region: { + serializedName: "region", + readOnly: true, + type: { + name: "String" + } + }, + state: { + serializedName: "state", + readOnly: true, + type: { + name: "String" + } + }, + details: { + serializedName: "details", + readOnly: true, type: { name: "String" } + }, + progress: { + serializedName: "progress", + readOnly: true, + type: { + name: "Number" + } } } } }; -export const KeyVaultAndKeyReference: coreClient.CompositeMapper = { +export const UserArtifactSource: coreClient.CompositeMapper = { type: { name: "Composite", - className: "KeyVaultAndKeyReference", + className: "UserArtifactSource", modelProperties: { - sourceVault: { - serializedName: "sourceVault", + mediaLink: { + serializedName: "mediaLink", + required: true, type: { - name: "Composite", - className: "SourceVault" + name: "String" } }, - keyUrl: { - serializedName: "keyUrl", - required: true, + defaultConfigurationLink: { + serializedName: "defaultConfigurationLink", type: { name: "String" } @@ -7210,19 +7252,27 @@ export const KeyVaultAndKeyReference: coreClient.CompositeMapper = { } }; -export const Encryption: coreClient.CompositeMapper = { +export const UserArtifactManage: coreClient.CompositeMapper = { type: { name: "Composite", - className: "Encryption", + className: "UserArtifactManage", modelProperties: { - diskEncryptionSetId: { - serializedName: "diskEncryptionSetId", + install: { + serializedName: "install", + required: true, type: { name: "String" } }, - type: { - serializedName: "type", + remove: { + serializedName: "remove", + required: true, + type: { + name: "String" + } + }, + update: { + serializedName: "update", type: { name: "String" } @@ -7231,14 +7281,19 @@ export const Encryption: coreClient.CompositeMapper = { } }; -export const ShareInfoElement: coreClient.CompositeMapper = { +export const UserArtifactSettings: coreClient.CompositeMapper = { type: { name: "Composite", - className: "ShareInfoElement", + className: "UserArtifactSettings", modelProperties: { - vmUri: { - serializedName: "vmUri", - readOnly: true, + packageFileName: { + serializedName: "packageFileName", + type: { + name: "String" + } + }, + configFileName: { + serializedName: "configFileName", type: { name: "String" } @@ -7247,13 +7302,26 @@ export const ShareInfoElement: coreClient.CompositeMapper = { } }; -export const PropertyUpdatesInProgress: coreClient.CompositeMapper = { +export const GalleryList: coreClient.CompositeMapper = { type: { name: "Composite", - className: "PropertyUpdatesInProgress", + className: "GalleryList", modelProperties: { - targetTier: { - serializedName: "targetTier", + value: { + serializedName: "value", + required: true, + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "Gallery" + } + } + } + }, + nextLink: { + serializedName: "nextLink", type: { name: "String" } @@ -7262,19 +7330,26 @@ export const PropertyUpdatesInProgress: coreClient.CompositeMapper = { } }; -export const DiskSecurityProfile: coreClient.CompositeMapper = { +export const GalleryImageList: coreClient.CompositeMapper = { type: { name: "Composite", - className: "DiskSecurityProfile", + className: "GalleryImageList", modelProperties: { - securityType: { - serializedName: "securityType", + value: { + serializedName: "value", + required: true, type: { - name: "String" + name: "Sequence", + element: { + type: { + name: "Composite", + className: "GalleryImage" + } + } } }, - secureVMDiskEncryptionSetId: { - serializedName: "secureVMDiskEncryptionSetId", + nextLink: { + serializedName: "nextLink", type: { name: "String" } @@ -7283,141 +7358,54 @@ export const DiskSecurityProfile: coreClient.CompositeMapper = { } }; -export const DiskUpdate: coreClient.CompositeMapper = { +export const GalleryImageVersionList: coreClient.CompositeMapper = { type: { name: "Composite", - className: "DiskUpdate", + className: "GalleryImageVersionList", modelProperties: { - tags: { - serializedName: "tags", - type: { - name: "Dictionary", - value: { type: { name: "String" } } - } - }, - sku: { - serializedName: "sku", + value: { + serializedName: "value", + required: true, type: { - name: "Composite", - className: "DiskSku" + name: "Sequence", + element: { + type: { + name: "Composite", + className: "GalleryImageVersion" + } + } } }, - osType: { - serializedName: "properties.osType", + nextLink: { + serializedName: "nextLink", type: { - name: "Enum", - allowedValues: ["Windows", "Linux"] + name: "String" } - }, - diskSizeGB: { - serializedName: "properties.diskSizeGB", + } + } + } +}; + +export const GalleryApplicationList: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "GalleryApplicationList", + modelProperties: { + value: { + serializedName: "value", + required: true, type: { - name: "Number" - } - }, - encryptionSettingsCollection: { - serializedName: "properties.encryptionSettingsCollection", - type: { - name: "Composite", - className: "EncryptionSettingsCollection" - } - }, - diskIopsReadWrite: { - serializedName: "properties.diskIOPSReadWrite", - type: { - name: "Number" - } - }, - diskMBpsReadWrite: { - serializedName: "properties.diskMBpsReadWrite", - type: { - name: "Number" - } - }, - diskIopsReadOnly: { - serializedName: "properties.diskIOPSReadOnly", - type: { - name: "Number" - } - }, - diskMBpsReadOnly: { - serializedName: "properties.diskMBpsReadOnly", - type: { - name: "Number" - } - }, - maxShares: { - serializedName: "properties.maxShares", - type: { - name: "Number" - } - }, - encryption: { - serializedName: "properties.encryption", - type: { - name: "Composite", - className: "Encryption" - } - }, - networkAccessPolicy: { - serializedName: "properties.networkAccessPolicy", - type: { - name: "String" - } - }, - diskAccessId: { - serializedName: "properties.diskAccessId", - type: { - name: "String" - } - }, - tier: { - serializedName: "properties.tier", - type: { - name: "String" - } - }, - burstingEnabled: { - serializedName: "properties.burstingEnabled", - type: { - name: "Boolean" - } - }, - purchasePlan: { - serializedName: "properties.purchasePlan", - type: { - name: "Composite", - className: "PurchasePlanAutoGenerated" - } - }, - supportedCapabilities: { - serializedName: "properties.supportedCapabilities", - type: { - name: "Composite", - className: "SupportedCapabilities" - } - }, - propertyUpdatesInProgress: { - serializedName: "properties.propertyUpdatesInProgress", - type: { - name: "Composite", - className: "PropertyUpdatesInProgress" - } - }, - supportsHibernation: { - serializedName: "properties.supportsHibernation", - type: { - name: "Boolean" - } - }, - publicNetworkAccess: { - serializedName: "properties.publicNetworkAccess", - type: { - name: "String" + name: "Sequence", + element: { + type: { + name: "Composite", + className: "GalleryApplication" + } + } } }, - dataAccessAuthMode: { - serializedName: "properties.dataAccessAuthMode", + nextLink: { + serializedName: "nextLink", type: { name: "String" } @@ -7426,10 +7414,10 @@ export const DiskUpdate: coreClient.CompositeMapper = { } }; -export const DiskList: coreClient.CompositeMapper = { +export const GalleryApplicationVersionList: coreClient.CompositeMapper = { type: { name: "Composite", - className: "DiskList", + className: "GalleryApplicationVersionList", modelProperties: { value: { serializedName: "value", @@ -7439,7 +7427,7 @@ export const DiskList: coreClient.CompositeMapper = { element: { type: { name: "Composite", - className: "Disk" + className: "GalleryApplicationVersion" } } } @@ -7454,50 +7442,54 @@ export const DiskList: coreClient.CompositeMapper = { } }; -export const GrantAccessData: coreClient.CompositeMapper = { +export const SharingUpdate: coreClient.CompositeMapper = { type: { name: "Composite", - className: "GrantAccessData", + className: "SharingUpdate", modelProperties: { - access: { - serializedName: "access", + operationType: { + serializedName: "operationType", required: true, type: { name: "String" } }, - durationInSeconds: { - serializedName: "durationInSeconds", - required: true, - type: { - name: "Number" - } - }, - getSecureVMGuestStateSAS: { - serializedName: "getSecureVMGuestStateSAS", + groups: { + serializedName: "groups", type: { - name: "Boolean" + name: "Sequence", + element: { + type: { + name: "Composite", + className: "SharingProfileGroup" + } + } } } } } }; -export const AccessUri: coreClient.CompositeMapper = { +export const ResourceSkusResult: coreClient.CompositeMapper = { type: { name: "Composite", - className: "AccessUri", + className: "ResourceSkusResult", modelProperties: { - accessSAS: { - serializedName: "accessSAS", - readOnly: true, + value: { + serializedName: "value", + required: true, type: { - name: "String" + name: "Sequence", + element: { + type: { + name: "Composite", + className: "ResourceSku" + } + } } }, - securityDataAccessSAS: { - serializedName: "securityDataAccessSAS", - readOnly: true, + nextLink: { + serializedName: "nextLink", type: { name: "String" } @@ -7506,13 +7498,21 @@ export const AccessUri: coreClient.CompositeMapper = { } }; -export const SnapshotSku: coreClient.CompositeMapper = { +export const ResourceSku: coreClient.CompositeMapper = { type: { name: "Composite", - className: "SnapshotSku", + className: "ResourceSku", modelProperties: { + resourceType: { + serializedName: "resourceType", + readOnly: true, + type: { + name: "String" + } + }, name: { serializedName: "name", + readOnly: true, type: { name: "String" } @@ -7523,240 +7523,205 @@ export const SnapshotSku: coreClient.CompositeMapper = { type: { name: "String" } - } - } - } -}; - -export const SnapshotUpdate: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "SnapshotUpdate", - modelProperties: { - tags: { - serializedName: "tags", - type: { - name: "Dictionary", - value: { type: { name: "String" } } - } }, - sku: { - serializedName: "sku", + size: { + serializedName: "size", + readOnly: true, type: { - name: "Composite", - className: "SnapshotSku" + name: "String" } }, - osType: { - serializedName: "properties.osType", + family: { + serializedName: "family", + readOnly: true, type: { - name: "Enum", - allowedValues: ["Windows", "Linux"] + name: "String" } }, - diskSizeGB: { - serializedName: "properties.diskSizeGB", + kind: { + serializedName: "kind", + readOnly: true, type: { - name: "Number" + name: "String" } }, - encryptionSettingsCollection: { - serializedName: "properties.encryptionSettingsCollection", + capacity: { + serializedName: "capacity", type: { name: "Composite", - className: "EncryptionSettingsCollection" + className: "ResourceSkuCapacity" } }, - encryption: { - serializedName: "properties.encryption", + locations: { + serializedName: "locations", + readOnly: true, type: { - name: "Composite", - className: "Encryption" + name: "Sequence", + element: { + type: { + name: "String" + } + } } }, - networkAccessPolicy: { - serializedName: "properties.networkAccessPolicy", + locationInfo: { + serializedName: "locationInfo", + readOnly: true, type: { - name: "String" + name: "Sequence", + element: { + type: { + name: "Composite", + className: "ResourceSkuLocationInfo" + } + } } }, - diskAccessId: { - serializedName: "properties.diskAccessId", + apiVersions: { + serializedName: "apiVersions", + readOnly: true, type: { - name: "String" - } - }, - supportsHibernation: { - serializedName: "properties.supportsHibernation", - type: { - name: "Boolean" - } - }, - publicNetworkAccess: { - serializedName: "properties.publicNetworkAccess", - type: { - name: "String" + name: "Sequence", + element: { + type: { + name: "String" + } + } } }, - dataAccessAuthMode: { - serializedName: "properties.dataAccessAuthMode", + costs: { + serializedName: "costs", + readOnly: true, type: { - name: "String" + name: "Sequence", + element: { + type: { + name: "Composite", + className: "ResourceSkuCosts" + } + } } }, - supportedCapabilities: { - serializedName: "properties.supportedCapabilities", - type: { - name: "Composite", - className: "SupportedCapabilities" - } - } - } - } -}; - -export const SnapshotList: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "SnapshotList", - modelProperties: { - value: { - serializedName: "value", - required: true, + capabilities: { + serializedName: "capabilities", + readOnly: true, type: { name: "Sequence", element: { type: { name: "Composite", - className: "Snapshot" + className: "ResourceSkuCapabilities" } } } }, - nextLink: { - serializedName: "nextLink", + restrictions: { + serializedName: "restrictions", + readOnly: true, type: { - name: "String" + name: "Sequence", + element: { + type: { + name: "Composite", + className: "ResourceSkuRestrictions" + } + } } } } } }; -export const EncryptionSetIdentity: coreClient.CompositeMapper = { +export const ResourceSkuCapacity: coreClient.CompositeMapper = { type: { name: "Composite", - className: "EncryptionSetIdentity", + className: "ResourceSkuCapacity", modelProperties: { - type: { - serializedName: "type", + minimum: { + serializedName: "minimum", + readOnly: true, type: { - name: "String" + name: "Number" } }, - principalId: { - serializedName: "principalId", + maximum: { + serializedName: "maximum", readOnly: true, type: { - name: "String" + name: "Number" } }, - tenantId: { - serializedName: "tenantId", + default: { + serializedName: "default", readOnly: true, type: { - name: "String" - } - } - } - } -}; - -export const KeyForDiskEncryptionSet: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "KeyForDiskEncryptionSet", - modelProperties: { - sourceVault: { - serializedName: "sourceVault", - type: { - name: "Composite", - className: "SourceVault" + name: "Number" } }, - keyUrl: { - serializedName: "keyUrl", - required: true, + scaleType: { + serializedName: "scaleType", + readOnly: true, type: { - name: "String" + name: "Enum", + allowedValues: ["Automatic", "Manual", "None"] } } } } }; -export const DiskEncryptionSetUpdate: coreClient.CompositeMapper = { +export const ResourceSkuLocationInfo: coreClient.CompositeMapper = { type: { name: "Composite", - className: "DiskEncryptionSetUpdate", + className: "ResourceSkuLocationInfo", modelProperties: { - tags: { - serializedName: "tags", - type: { - name: "Dictionary", - value: { type: { name: "String" } } - } - }, - identity: { - serializedName: "identity", - type: { - name: "Composite", - className: "EncryptionSetIdentity" - } - }, - encryptionType: { - serializedName: "properties.encryptionType", + location: { + serializedName: "location", + readOnly: true, type: { name: "String" } }, - activeKey: { - serializedName: "properties.activeKey", + zones: { + serializedName: "zones", + readOnly: true, type: { - name: "Composite", - className: "KeyForDiskEncryptionSet" + name: "Sequence", + element: { + type: { + name: "String" + } + } } }, - rotationToLatestKeyVersionEnabled: { - serializedName: "properties.rotationToLatestKeyVersionEnabled", + zoneDetails: { + serializedName: "zoneDetails", + readOnly: true, type: { - name: "Boolean" + name: "Sequence", + element: { + type: { + name: "Composite", + className: "ResourceSkuZoneDetails" + } + } } - } - } - } -}; - -export const DiskEncryptionSetList: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "DiskEncryptionSetList", - modelProperties: { - value: { - serializedName: "value", - required: true, + }, + extendedLocations: { + serializedName: "extendedLocations", + readOnly: true, type: { name: "Sequence", element: { type: { - name: "Composite", - className: "DiskEncryptionSet" + name: "String" } } } }, - nextLink: { - serializedName: "nextLink", + type: { + serializedName: "type", + readOnly: true, type: { name: "String" } @@ -7765,14 +7730,14 @@ export const DiskEncryptionSetList: coreClient.CompositeMapper = { } }; -export const ResourceUriList: coreClient.CompositeMapper = { +export const ResourceSkuZoneDetails: coreClient.CompositeMapper = { type: { name: "Composite", - className: "ResourceUriList", + className: "ResourceSkuZoneDetails", modelProperties: { - value: { - serializedName: "value", - required: true, + name: { + serializedName: "name", + readOnly: true, type: { name: "Sequence", element: { @@ -7782,28 +7747,28 @@ export const ResourceUriList: coreClient.CompositeMapper = { } } }, - nextLink: { - serializedName: "nextLink", + capabilities: { + serializedName: "capabilities", + readOnly: true, type: { - name: "String" + name: "Sequence", + element: { + type: { + name: "Composite", + className: "ResourceSkuCapabilities" + } + } } } } } }; -export const PrivateEndpointConnection: coreClient.CompositeMapper = { +export const ResourceSkuCapabilities: coreClient.CompositeMapper = { type: { name: "Composite", - className: "PrivateEndpointConnection", + className: "ResourceSkuCapabilities", modelProperties: { - id: { - serializedName: "id", - readOnly: true, - type: { - name: "String" - } - }, name: { serializedName: "name", readOnly: true, @@ -7811,29 +7776,8 @@ export const PrivateEndpointConnection: coreClient.CompositeMapper = { name: "String" } }, - type: { - serializedName: "type", - readOnly: true, - type: { - name: "String" - } - }, - privateEndpoint: { - serializedName: "properties.privateEndpoint", - type: { - name: "Composite", - className: "PrivateEndpoint" - } - }, - privateLinkServiceConnectionState: { - serializedName: "properties.privateLinkServiceConnectionState", - type: { - name: "Composite", - className: "PrivateLinkServiceConnectionState" - } - }, - provisioningState: { - serializedName: "properties.provisioningState", + value: { + serializedName: "value", readOnly: true, type: { name: "String" @@ -7843,41 +7787,28 @@ export const PrivateEndpointConnection: coreClient.CompositeMapper = { } }; -export const PrivateEndpoint: coreClient.CompositeMapper = { +export const ResourceSkuCosts: coreClient.CompositeMapper = { type: { name: "Composite", - className: "PrivateEndpoint", + className: "ResourceSkuCosts", modelProperties: { - id: { - serializedName: "id", + meterID: { + serializedName: "meterID", readOnly: true, type: { name: "String" } - } - } - } -}; - -export const PrivateLinkServiceConnectionState: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "PrivateLinkServiceConnectionState", - modelProperties: { - status: { - serializedName: "status", - type: { - name: "String" - } }, - description: { - serializedName: "description", + quantity: { + serializedName: "quantity", + readOnly: true, type: { - name: "String" + name: "Number" } }, - actionsRequired: { - serializedName: "actionsRequired", + extendedUnit: { + serializedName: "extendedUnit", + readOnly: true, type: { name: "String" } @@ -7886,106 +7817,57 @@ export const PrivateLinkServiceConnectionState: coreClient.CompositeMapper = { } }; -export const DiskAccessUpdate: coreClient.CompositeMapper = { +export const ResourceSkuRestrictions: coreClient.CompositeMapper = { type: { name: "Composite", - className: "DiskAccessUpdate", + className: "ResourceSkuRestrictions", modelProperties: { - tags: { - serializedName: "tags", + type: { + serializedName: "type", + readOnly: true, type: { - name: "Dictionary", - value: { type: { name: "String" } } + name: "Enum", + allowedValues: ["Location", "Zone"] } - } - } - } -}; - -export const DiskAccessList: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "DiskAccessList", - modelProperties: { - value: { - serializedName: "value", - required: true, + }, + values: { + serializedName: "values", + readOnly: true, type: { name: "Sequence", element: { type: { - name: "Composite", - className: "DiskAccess" + name: "String" } } } }, - nextLink: { - serializedName: "nextLink", + restrictionInfo: { + serializedName: "restrictionInfo", type: { - name: "String" + name: "Composite", + className: "ResourceSkuRestrictionInfo" } - } - } - } -}; - -export const PrivateLinkResourceListResult: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "PrivateLinkResourceListResult", - modelProperties: { - value: { - serializedName: "value", + }, + reasonCode: { + serializedName: "reasonCode", + readOnly: true, type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "PrivateLinkResource" - } - } + name: "Enum", + allowedValues: ["QuotaId", "NotAvailableForSubscription"] } } } } }; -export const PrivateLinkResource: coreClient.CompositeMapper = { +export const ResourceSkuRestrictionInfo: coreClient.CompositeMapper = { type: { name: "Composite", - className: "PrivateLinkResource", + className: "ResourceSkuRestrictionInfo", modelProperties: { - id: { - serializedName: "id", - readOnly: true, - type: { - name: "String" - } - }, - name: { - serializedName: "name", - readOnly: true, - type: { - name: "String" - } - }, - type: { - serializedName: "type", - readOnly: true, - type: { - name: "String" - } - }, - groupId: { - serializedName: "properties.groupId", - readOnly: true, - type: { - name: "String" - } - }, - requiredMembers: { - serializedName: "properties.requiredMembers", + locations: { + serializedName: "locations", readOnly: true, type: { name: "Sequence", @@ -7996,8 +7878,9 @@ export const PrivateLinkResource: coreClient.CompositeMapper = { } } }, - requiredZoneNames: { - serializedName: "properties.requiredZoneNames", + zones: { + serializedName: "zones", + readOnly: true, type: { name: "Sequence", element: { @@ -8011,25 +7894,20 @@ export const PrivateLinkResource: coreClient.CompositeMapper = { } }; -export const PrivateEndpointConnectionListResult: coreClient.CompositeMapper = { +export const DiskSku: coreClient.CompositeMapper = { type: { name: "Composite", - className: "PrivateEndpointConnectionListResult", + className: "DiskSku", modelProperties: { - value: { - serializedName: "value", + name: { + serializedName: "name", type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "PrivateEndpointConnection" - } - } + name: "String" } }, - nextLink: { - serializedName: "nextLink", + tier: { + serializedName: "tier", + readOnly: true, type: { name: "String" } @@ -8038,56 +7916,34 @@ export const PrivateEndpointConnectionListResult: coreClient.CompositeMapper = { } }; -export const ProxyOnlyResource: coreClient.CompositeMapper = { +export const PurchasePlanAutoGenerated: coreClient.CompositeMapper = { type: { name: "Composite", - className: "ProxyOnlyResource", + className: "PurchasePlanAutoGenerated", modelProperties: { - id: { - serializedName: "id", - readOnly: true, - type: { - name: "String" - } - }, name: { serializedName: "name", - readOnly: true, + required: true, type: { name: "String" } }, - type: { - serializedName: "type", - readOnly: true, + publisher: { + serializedName: "publisher", + required: true, type: { name: "String" } - } - } - } -}; - -export const DiskRestorePointList: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "DiskRestorePointList", - modelProperties: { - value: { - serializedName: "value", + }, + product: { + serializedName: "product", required: true, type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "DiskRestorePoint" - } - } + name: "String" } }, - nextLink: { - serializedName: "nextLink", + promotionCode: { + serializedName: "promotionCode", type: { name: "String" } @@ -8096,212 +7952,203 @@ export const DiskRestorePointList: coreClient.CompositeMapper = { } }; -export const GalleryIdentifier: coreClient.CompositeMapper = { +export const SupportedCapabilities: coreClient.CompositeMapper = { type: { name: "Composite", - className: "GalleryIdentifier", + className: "SupportedCapabilities", modelProperties: { - uniqueName: { - serializedName: "uniqueName", - readOnly: true, + acceleratedNetwork: { + serializedName: "acceleratedNetwork", type: { - name: "String" + name: "Boolean" } } } } }; -export const SharingProfile: coreClient.CompositeMapper = { +export const CreationData: coreClient.CompositeMapper = { type: { name: "Composite", - className: "SharingProfile", + className: "CreationData", modelProperties: { - permissions: { - serializedName: "permissions", + createOption: { + serializedName: "createOption", + required: true, type: { name: "String" } }, - groups: { - serializedName: "groups", - readOnly: true, + storageAccountId: { + serializedName: "storageAccountId", type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "SharingProfileGroup" - } - } + name: "String" } }, - communityGalleryInfo: { - serializedName: "communityGalleryInfo", - type: { - name: "any" - } - } - } - } -}; - -export const SharingProfileGroup: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "SharingProfileGroup", - modelProperties: { - type: { - serializedName: "type", + imageReference: { + serializedName: "imageReference", type: { - name: "String" + name: "Composite", + className: "ImageDiskReference" } }, - ids: { - serializedName: "ids", + galleryImageReference: { + serializedName: "galleryImageReference", type: { - name: "Sequence", - element: { - type: { - name: "String" - } - } + name: "Composite", + className: "ImageDiskReference" + } + }, + sourceUri: { + serializedName: "sourceUri", + type: { + name: "String" + } + }, + sourceResourceId: { + serializedName: "sourceResourceId", + type: { + name: "String" + } + }, + sourceUniqueId: { + serializedName: "sourceUniqueId", + readOnly: true, + type: { + name: "String" + } + }, + uploadSizeBytes: { + serializedName: "uploadSizeBytes", + type: { + name: "Number" + } + }, + logicalSectorSize: { + serializedName: "logicalSectorSize", + type: { + name: "Number" + } + }, + securityDataUri: { + serializedName: "securityDataUri", + type: { + name: "String" } } } } }; -export const SoftDeletePolicy: coreClient.CompositeMapper = { +export const ImageDiskReference: coreClient.CompositeMapper = { type: { name: "Composite", - className: "SoftDeletePolicy", + className: "ImageDiskReference", modelProperties: { - isSoftDeleteEnabled: { - serializedName: "isSoftDeleteEnabled", + id: { + serializedName: "id", + required: true, type: { - name: "Boolean" + name: "String" + } + }, + lun: { + serializedName: "lun", + type: { + name: "Number" } } } } }; -export const SharingStatus: coreClient.CompositeMapper = { +export const EncryptionSettingsCollection: coreClient.CompositeMapper = { type: { name: "Composite", - className: "SharingStatus", + className: "EncryptionSettingsCollection", modelProperties: { - aggregatedState: { - serializedName: "aggregatedState", - readOnly: true, + enabled: { + serializedName: "enabled", + required: true, type: { - name: "String" + name: "Boolean" } }, - summary: { - serializedName: "summary", + encryptionSettings: { + serializedName: "encryptionSettings", type: { name: "Sequence", element: { type: { name: "Composite", - className: "RegionalSharingStatus" + className: "EncryptionSettingsElement" } } } + }, + encryptionSettingsVersion: { + serializedName: "encryptionSettingsVersion", + type: { + name: "String" + } } } } }; -export const RegionalSharingStatus: coreClient.CompositeMapper = { +export const EncryptionSettingsElement: coreClient.CompositeMapper = { type: { name: "Composite", - className: "RegionalSharingStatus", + className: "EncryptionSettingsElement", modelProperties: { - region: { - serializedName: "region", - type: { - name: "String" - } - }, - state: { - serializedName: "state", - readOnly: true, + diskEncryptionKey: { + serializedName: "diskEncryptionKey", type: { - name: "String" + name: "Composite", + className: "KeyVaultAndSecretReference" } }, - details: { - serializedName: "details", + keyEncryptionKey: { + serializedName: "keyEncryptionKey", type: { - name: "String" + name: "Composite", + className: "KeyVaultAndKeyReference" } } } } }; -export const UpdateResourceDefinition: coreClient.CompositeMapper = { +export const KeyVaultAndSecretReference: coreClient.CompositeMapper = { type: { name: "Composite", - className: "UpdateResourceDefinition", + className: "KeyVaultAndSecretReference", modelProperties: { - id: { - serializedName: "id", - readOnly: true, - type: { - name: "String" - } - }, - name: { - serializedName: "name", - readOnly: true, + sourceVault: { + serializedName: "sourceVault", type: { - name: "String" + name: "Composite", + className: "SourceVault" } }, - type: { - serializedName: "type", - readOnly: true, + secretUrl: { + serializedName: "secretUrl", + required: true, type: { name: "String" } - }, - tags: { - serializedName: "tags", - type: { - name: "Dictionary", - value: { type: { name: "String" } } - } } } } }; -export const GalleryImageIdentifier: coreClient.CompositeMapper = { +export const SourceVault: coreClient.CompositeMapper = { type: { name: "Composite", - className: "GalleryImageIdentifier", + className: "SourceVault", modelProperties: { - publisher: { - serializedName: "publisher", - required: true, - type: { - name: "String" - } - }, - offer: { - serializedName: "offer", - required: true, - type: { - name: "String" - } - }, - sku: { - serializedName: "sku", - required: true, + id: { + serializedName: "id", type: { name: "String" } @@ -8310,89 +8157,73 @@ export const GalleryImageIdentifier: coreClient.CompositeMapper = { } }; -export const RecommendedMachineConfiguration: coreClient.CompositeMapper = { +export const KeyVaultAndKeyReference: coreClient.CompositeMapper = { type: { name: "Composite", - className: "RecommendedMachineConfiguration", + className: "KeyVaultAndKeyReference", modelProperties: { - vCPUs: { - serializedName: "vCPUs", + sourceVault: { + serializedName: "sourceVault", type: { name: "Composite", - className: "ResourceRange" + className: "SourceVault" } }, - memory: { - serializedName: "memory", + keyUrl: { + serializedName: "keyUrl", + required: true, type: { - name: "Composite", - className: "ResourceRange" + name: "String" } } } } }; -export const ResourceRange: coreClient.CompositeMapper = { +export const Encryption: coreClient.CompositeMapper = { type: { name: "Composite", - className: "ResourceRange", + className: "Encryption", modelProperties: { - min: { - serializedName: "min", + diskEncryptionSetId: { + serializedName: "diskEncryptionSetId", type: { - name: "Number" + name: "String" } }, - max: { - serializedName: "max", + type: { + serializedName: "type", type: { - name: "Number" + name: "String" } } } } }; -export const Disallowed: coreClient.CompositeMapper = { +export const ShareInfoElement: coreClient.CompositeMapper = { type: { name: "Composite", - className: "Disallowed", + className: "ShareInfoElement", modelProperties: { - diskTypes: { - serializedName: "diskTypes", + vmUri: { + serializedName: "vmUri", + readOnly: true, type: { - name: "Sequence", - element: { - type: { - name: "String" - } - } + name: "String" } } } } }; -export const ImagePurchasePlan: coreClient.CompositeMapper = { +export const PropertyUpdatesInProgress: coreClient.CompositeMapper = { type: { name: "Composite", - className: "ImagePurchasePlan", + className: "PropertyUpdatesInProgress", modelProperties: { - name: { - serializedName: "name", - type: { - name: "String" - } - }, - publisher: { - serializedName: "publisher", - type: { - name: "String" - } - }, - product: { - serializedName: "product", + targetTier: { + serializedName: "targetTier", type: { name: "String" } @@ -8401,19 +8232,19 @@ export const ImagePurchasePlan: coreClient.CompositeMapper = { } }; -export const GalleryImageFeature: coreClient.CompositeMapper = { +export const DiskSecurityProfile: coreClient.CompositeMapper = { type: { name: "Composite", - className: "GalleryImageFeature", + className: "DiskSecurityProfile", modelProperties: { - name: { - serializedName: "name", + securityType: { + serializedName: "securityType", type: { name: "String" } }, - value: { - serializedName: "value", + secureVMDiskEncryptionSetId: { + serializedName: "secureVMDiskEncryptionSetId", type: { name: "String" } @@ -8422,220 +8253,227 @@ export const GalleryImageFeature: coreClient.CompositeMapper = { } }; -export const GalleryArtifactPublishingProfileBase: coreClient.CompositeMapper = { +export const DiskUpdate: coreClient.CompositeMapper = { type: { name: "Composite", - className: "GalleryArtifactPublishingProfileBase", + className: "DiskUpdate", modelProperties: { - targetRegions: { - serializedName: "targetRegions", + tags: { + serializedName: "tags", type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "TargetRegion" - } - } + name: "Dictionary", + value: { type: { name: "String" } } } }, - replicaCount: { - serializedName: "replicaCount", + sku: { + serializedName: "sku", + type: { + name: "Composite", + className: "DiskSku" + } + }, + osType: { + serializedName: "properties.osType", + type: { + name: "Enum", + allowedValues: ["Windows", "Linux"] + } + }, + diskSizeGB: { + serializedName: "properties.diskSizeGB", type: { name: "Number" } }, - excludeFromLatest: { - serializedName: "excludeFromLatest", + encryptionSettingsCollection: { + serializedName: "properties.encryptionSettingsCollection", type: { - name: "Boolean" + name: "Composite", + className: "EncryptionSettingsCollection" } }, - publishedDate: { - serializedName: "publishedDate", - readOnly: true, + diskIopsReadWrite: { + serializedName: "properties.diskIOPSReadWrite", type: { - name: "DateTime" + name: "Number" } }, - endOfLifeDate: { - serializedName: "endOfLifeDate", + diskMBpsReadWrite: { + serializedName: "properties.diskMBpsReadWrite", type: { - name: "DateTime" + name: "Number" } }, - storageAccountType: { - serializedName: "storageAccountType", + diskIopsReadOnly: { + serializedName: "properties.diskIOPSReadOnly", type: { - name: "String" + name: "Number" } }, - replicationMode: { - serializedName: "replicationMode", + diskMBpsReadOnly: { + serializedName: "properties.diskMBpsReadOnly", type: { - name: "String" + name: "Number" } }, - targetExtendedLocations: { - serializedName: "targetExtendedLocations", + maxShares: { + serializedName: "properties.maxShares", type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "GalleryTargetExtendedLocation" - } - } + name: "Number" } - } - } - } -}; - -export const TargetRegion: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "TargetRegion", - modelProperties: { - name: { - serializedName: "name", - required: true, + }, + encryption: { + serializedName: "properties.encryption", + type: { + name: "Composite", + className: "Encryption" + } + }, + networkAccessPolicy: { + serializedName: "properties.networkAccessPolicy", type: { name: "String" } }, - regionalReplicaCount: { - serializedName: "regionalReplicaCount", + diskAccessId: { + serializedName: "properties.diskAccessId", type: { - name: "Number" + name: "String" } }, - storageAccountType: { - serializedName: "storageAccountType", + tier: { + serializedName: "properties.tier", type: { name: "String" } }, - encryption: { - serializedName: "encryption", + burstingEnabled: { + serializedName: "properties.burstingEnabled", + type: { + name: "Boolean" + } + }, + purchasePlan: { + serializedName: "properties.purchasePlan", type: { name: "Composite", - className: "EncryptionImages" + className: "PurchasePlanAutoGenerated" + } + }, + supportedCapabilities: { + serializedName: "properties.supportedCapabilities", + type: { + name: "Composite", + className: "SupportedCapabilities" + } + }, + propertyUpdatesInProgress: { + serializedName: "properties.propertyUpdatesInProgress", + type: { + name: "Composite", + className: "PropertyUpdatesInProgress" + } + }, + supportsHibernation: { + serializedName: "properties.supportsHibernation", + type: { + name: "Boolean" + } + }, + publicNetworkAccess: { + serializedName: "properties.publicNetworkAccess", + type: { + name: "String" } } } } }; -export const EncryptionImages: coreClient.CompositeMapper = { +export const DiskList: coreClient.CompositeMapper = { type: { name: "Composite", - className: "EncryptionImages", + className: "DiskList", modelProperties: { - osDiskImage: { - serializedName: "osDiskImage", - type: { - name: "Composite", - className: "OSDiskImageEncryption" - } - }, - dataDiskImages: { - serializedName: "dataDiskImages", + value: { + serializedName: "value", + required: true, type: { name: "Sequence", element: { type: { name: "Composite", - className: "DataDiskImageEncryption" + className: "Disk" } } } + }, + nextLink: { + serializedName: "nextLink", + type: { + name: "String" + } } } } }; -export const OSDiskImageSecurityProfile: coreClient.CompositeMapper = { +export const GrantAccessData: coreClient.CompositeMapper = { type: { name: "Composite", - className: "OSDiskImageSecurityProfile", + className: "GrantAccessData", modelProperties: { - confidentialVMEncryptionType: { - serializedName: "confidentialVMEncryptionType", + access: { + serializedName: "access", + required: true, type: { name: "String" } }, - secureVMDiskEncryptionSetId: { - serializedName: "secureVMDiskEncryptionSetId", + durationInSeconds: { + serializedName: "durationInSeconds", + required: true, type: { - name: "String" + name: "Number" } - } - } - } -}; - -export const DiskImageEncryption: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "DiskImageEncryption", - modelProperties: { - diskEncryptionSetId: { - serializedName: "diskEncryptionSetId", + }, + getSecureVMGuestStateSAS: { + serializedName: "getSecureVMGuestStateSAS", type: { - name: "String" + name: "Boolean" } } } } }; -export const GalleryTargetExtendedLocation: coreClient.CompositeMapper = { +export const AccessUri: coreClient.CompositeMapper = { type: { name: "Composite", - className: "GalleryTargetExtendedLocation", + className: "AccessUri", modelProperties: { - name: { - serializedName: "name", + accessSAS: { + serializedName: "accessSAS", + readOnly: true, type: { name: "String" } }, - extendedLocation: { - serializedName: "extendedLocation", - type: { - name: "Composite", - className: "GalleryExtendedLocation" - } - }, - extendedLocationReplicaCount: { - serializedName: "extendedLocationReplicaCount", - type: { - name: "Number" - } - }, - storageAccountType: { - serializedName: "storageAccountType", + securityDataAccessSAS: { + serializedName: "securityDataAccessSAS", + readOnly: true, type: { name: "String" } - }, - encryption: { - serializedName: "encryption", - type: { - name: "Composite", - className: "EncryptionImages" - } } } } }; -export const GalleryExtendedLocation: coreClient.CompositeMapper = { +export const SnapshotSku: coreClient.CompositeMapper = { type: { name: "Composite", - className: "GalleryExtendedLocation", + className: "SnapshotSku", modelProperties: { name: { serializedName: "name", @@ -8643,8 +8481,9 @@ export const GalleryExtendedLocation: coreClient.CompositeMapper = { name: "String" } }, - type: { - serializedName: "type", + tier: { + serializedName: "tier", + readOnly: true, type: { name: "String" } @@ -8653,172 +8492,159 @@ export const GalleryExtendedLocation: coreClient.CompositeMapper = { } }; -export const GalleryImageVersionStorageProfile: coreClient.CompositeMapper = { +export const SnapshotUpdate: coreClient.CompositeMapper = { type: { name: "Composite", - className: "GalleryImageVersionStorageProfile", + className: "SnapshotUpdate", modelProperties: { - source: { - serializedName: "source", + tags: { + serializedName: "tags", type: { - name: "Composite", - className: "GalleryArtifactVersionSource" + name: "Dictionary", + value: { type: { name: "String" } } } }, - osDiskImage: { - serializedName: "osDiskImage", + sku: { + serializedName: "sku", type: { name: "Composite", - className: "GalleryOSDiskImage" + className: "SnapshotSku" } }, - dataDiskImages: { - serializedName: "dataDiskImages", + osType: { + serializedName: "properties.osType", type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "GalleryDataDiskImage" - } - } + name: "Enum", + allowedValues: ["Windows", "Linux"] } - } - } - } -}; - -export const GalleryArtifactVersionSource: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "GalleryArtifactVersionSource", - modelProperties: { - id: { - serializedName: "id", + }, + diskSizeGB: { + serializedName: "properties.diskSizeGB", + type: { + name: "Number" + } + }, + encryptionSettingsCollection: { + serializedName: "properties.encryptionSettingsCollection", + type: { + name: "Composite", + className: "EncryptionSettingsCollection" + } + }, + encryption: { + serializedName: "properties.encryption", + type: { + name: "Composite", + className: "Encryption" + } + }, + networkAccessPolicy: { + serializedName: "properties.networkAccessPolicy", type: { name: "String" } }, - uri: { - serializedName: "uri", + diskAccessId: { + serializedName: "properties.diskAccessId", type: { name: "String" } - } - } - } -}; - -export const GalleryDiskImage: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "GalleryDiskImage", - modelProperties: { - sizeInGB: { - serializedName: "sizeInGB", - readOnly: true, + }, + supportsHibernation: { + serializedName: "properties.supportsHibernation", type: { - name: "Number" + name: "Boolean" } }, - hostCaching: { - serializedName: "hostCaching", + publicNetworkAccess: { + serializedName: "properties.publicNetworkAccess", type: { - name: "Enum", - allowedValues: ["None", "ReadOnly", "ReadWrite"] + name: "String" } }, - source: { - serializedName: "source", + supportedCapabilities: { + serializedName: "properties.supportedCapabilities", type: { name: "Composite", - className: "GalleryArtifactVersionSource" + className: "SupportedCapabilities" } } } } }; -export const ReplicationStatus: coreClient.CompositeMapper = { +export const SnapshotList: coreClient.CompositeMapper = { type: { name: "Composite", - className: "ReplicationStatus", + className: "SnapshotList", modelProperties: { - aggregatedState: { - serializedName: "aggregatedState", - readOnly: true, - type: { - name: "String" - } - }, - summary: { - serializedName: "summary", - readOnly: true, + value: { + serializedName: "value", + required: true, type: { name: "Sequence", element: { type: { name: "Composite", - className: "RegionalReplicationStatus" + className: "Snapshot" } } } + }, + nextLink: { + serializedName: "nextLink", + type: { + name: "String" + } } } } }; -export const RegionalReplicationStatus: coreClient.CompositeMapper = { +export const EncryptionSetIdentity: coreClient.CompositeMapper = { type: { name: "Composite", - className: "RegionalReplicationStatus", + className: "EncryptionSetIdentity", modelProperties: { - region: { - serializedName: "region", - readOnly: true, + type: { + serializedName: "type", type: { name: "String" } }, - state: { - serializedName: "state", + principalId: { + serializedName: "principalId", readOnly: true, type: { name: "String" } }, - details: { - serializedName: "details", + tenantId: { + serializedName: "tenantId", readOnly: true, type: { name: "String" } - }, - progress: { - serializedName: "progress", - readOnly: true, - type: { - name: "Number" - } } } } }; -export const UserArtifactSource: coreClient.CompositeMapper = { +export const KeyForDiskEncryptionSet: coreClient.CompositeMapper = { type: { name: "Composite", - className: "UserArtifactSource", + className: "KeyForDiskEncryptionSet", modelProperties: { - mediaLink: { - serializedName: "mediaLink", - required: true, + sourceVault: { + serializedName: "sourceVault", type: { - name: "String" + name: "Composite", + className: "SourceVault" } }, - defaultConfigurationLink: { - serializedName: "defaultConfigurationLink", + keyUrl: { + serializedName: "keyUrl", + required: true, type: { name: "String" } @@ -8827,67 +8653,52 @@ export const UserArtifactSource: coreClient.CompositeMapper = { } }; -export const UserArtifactManage: coreClient.CompositeMapper = { +export const DiskEncryptionSetUpdate: coreClient.CompositeMapper = { type: { name: "Composite", - className: "UserArtifactManage", + className: "DiskEncryptionSetUpdate", modelProperties: { - install: { - serializedName: "install", - required: true, + tags: { + serializedName: "tags", type: { - name: "String" + name: "Dictionary", + value: { type: { name: "String" } } } }, - remove: { - serializedName: "remove", - required: true, + identity: { + serializedName: "identity", type: { - name: "String" + name: "Composite", + className: "EncryptionSetIdentity" } }, - update: { - serializedName: "update", + encryptionType: { + serializedName: "properties.encryptionType", type: { name: "String" } - } - } - } -}; - -export const GalleryList: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "GalleryList", - modelProperties: { - value: { - serializedName: "value", - required: true, + }, + activeKey: { + serializedName: "properties.activeKey", type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "Gallery" - } - } + name: "Composite", + className: "KeyForDiskEncryptionSet" } }, - nextLink: { - serializedName: "nextLink", + rotationToLatestKeyVersionEnabled: { + serializedName: "properties.rotationToLatestKeyVersionEnabled", type: { - name: "String" + name: "Boolean" } } } } }; -export const GalleryImageList: coreClient.CompositeMapper = { +export const DiskEncryptionSetList: coreClient.CompositeMapper = { type: { name: "Composite", - className: "GalleryImageList", + className: "DiskEncryptionSetList", modelProperties: { value: { serializedName: "value", @@ -8897,7 +8708,7 @@ export const GalleryImageList: coreClient.CompositeMapper = { element: { type: { name: "Composite", - className: "GalleryImage" + className: "DiskEncryptionSet" } } } @@ -8912,10 +8723,10 @@ export const GalleryImageList: coreClient.CompositeMapper = { } }; -export const GalleryImageVersionList: coreClient.CompositeMapper = { +export const ResourceUriList: coreClient.CompositeMapper = { type: { name: "Composite", - className: "GalleryImageVersionList", + className: "ResourceUriList", modelProperties: { value: { serializedName: "value", @@ -8924,8 +8735,7 @@ export const GalleryImageVersionList: coreClient.CompositeMapper = { name: "Sequence", element: { type: { - name: "Composite", - className: "GalleryImageVersion" + name: "String" } } } @@ -8940,39 +8750,121 @@ export const GalleryImageVersionList: coreClient.CompositeMapper = { } }; -export const GalleryApplicationList: coreClient.CompositeMapper = { +export const PrivateEndpointConnection: coreClient.CompositeMapper = { type: { name: "Composite", - className: "GalleryApplicationList", + className: "PrivateEndpointConnection", modelProperties: { - value: { - serializedName: "value", - required: true, + id: { + serializedName: "id", + readOnly: true, type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "GalleryApplication" - } - } + name: "String" } }, - nextLink: { - serializedName: "nextLink", + name: { + serializedName: "name", + readOnly: true, type: { name: "String" } - } - } - } -}; - -export const GalleryApplicationVersionList: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "GalleryApplicationVersionList", - modelProperties: { + }, + type: { + serializedName: "type", + readOnly: true, + type: { + name: "String" + } + }, + privateEndpoint: { + serializedName: "properties.privateEndpoint", + type: { + name: "Composite", + className: "PrivateEndpoint" + } + }, + privateLinkServiceConnectionState: { + serializedName: "properties.privateLinkServiceConnectionState", + type: { + name: "Composite", + className: "PrivateLinkServiceConnectionState" + } + }, + provisioningState: { + serializedName: "properties.provisioningState", + readOnly: true, + type: { + name: "String" + } + } + } + } +}; + +export const PrivateEndpoint: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "PrivateEndpoint", + modelProperties: { + id: { + serializedName: "id", + readOnly: true, + type: { + name: "String" + } + } + } + } +}; + +export const PrivateLinkServiceConnectionState: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "PrivateLinkServiceConnectionState", + modelProperties: { + status: { + serializedName: "status", + type: { + name: "String" + } + }, + description: { + serializedName: "description", + type: { + name: "String" + } + }, + actionsRequired: { + serializedName: "actionsRequired", + type: { + name: "String" + } + } + } + } +}; + +export const DiskAccessUpdate: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "DiskAccessUpdate", + modelProperties: { + tags: { + serializedName: "tags", + type: { + name: "Dictionary", + value: { type: { name: "String" } } + } + } + } + } +}; + +export const DiskAccessList: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "DiskAccessList", + modelProperties: { value: { serializedName: "value", required: true, @@ -8981,7 +8873,7 @@ export const GalleryApplicationVersionList: coreClient.CompositeMapper = { element: { type: { name: "Composite", - className: "GalleryApplicationVersion" + className: "DiskAccess" } } } @@ -8996,29 +8888,167 @@ export const GalleryApplicationVersionList: coreClient.CompositeMapper = { } }; -export const SharingUpdate: coreClient.CompositeMapper = { +export const PrivateLinkResourceListResult: coreClient.CompositeMapper = { type: { name: "Composite", - className: "SharingUpdate", + className: "PrivateLinkResourceListResult", modelProperties: { - operationType: { - serializedName: "operationType", - required: true, + value: { + serializedName: "value", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "PrivateLinkResource" + } + } + } + } + } + } +}; + +export const PrivateLinkResource: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "PrivateLinkResource", + modelProperties: { + id: { + serializedName: "id", + readOnly: true, type: { name: "String" } }, - groups: { - serializedName: "groups", + name: { + serializedName: "name", + readOnly: true, + type: { + name: "String" + } + }, + type: { + serializedName: "type", + readOnly: true, + type: { + name: "String" + } + }, + groupId: { + serializedName: "properties.groupId", + readOnly: true, + type: { + name: "String" + } + }, + requiredMembers: { + serializedName: "properties.requiredMembers", + readOnly: true, + type: { + name: "Sequence", + element: { + type: { + name: "String" + } + } + } + }, + requiredZoneNames: { + serializedName: "properties.requiredZoneNames", + type: { + name: "Sequence", + element: { + type: { + name: "String" + } + } + } + } + } + } +}; + +export const PrivateEndpointConnectionListResult: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "PrivateEndpointConnectionListResult", + modelProperties: { + value: { + serializedName: "value", type: { name: "Sequence", element: { type: { name: "Composite", - className: "SharingProfileGroup" + className: "PrivateEndpointConnection" + } + } + } + }, + nextLink: { + serializedName: "nextLink", + type: { + name: "String" + } + } + } + } +}; + +export const ProxyOnlyResource: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "ProxyOnlyResource", + modelProperties: { + id: { + serializedName: "id", + readOnly: true, + type: { + name: "String" + } + }, + name: { + serializedName: "name", + readOnly: true, + type: { + name: "String" + } + }, + type: { + serializedName: "type", + readOnly: true, + type: { + name: "String" + } + } + } + } +}; + +export const DiskRestorePointList: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "DiskRestorePointList", + modelProperties: { + value: { + serializedName: "value", + required: true, + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "DiskRestorePoint" } } } + }, + nextLink: { + serializedName: "nextLink", + type: { + name: "String" + } } } } @@ -10625,62 +10655,7 @@ export const ManagedArtifact: coreClient.CompositeMapper = { } }; -export const SubResourceWithColocationStatus: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "SubResourceWithColocationStatus", - modelProperties: { - ...SubResource.type.modelProperties, - colocationStatus: { - serializedName: "colocationStatus", - type: { - name: "Composite", - className: "InstanceViewStatus" - } - } - } - } -}; - -export const VirtualMachineImageResource: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "VirtualMachineImageResource", - modelProperties: { - ...SubResource.type.modelProperties, - name: { - serializedName: "name", - required: true, - type: { - name: "String" - } - }, - location: { - serializedName: "location", - required: true, - type: { - name: "String" - } - }, - tags: { - serializedName: "tags", - type: { - name: "Dictionary", - value: { type: { name: "String" } } - } - }, - extendedLocation: { - serializedName: "extendedLocation", - type: { - name: "Composite", - className: "ExtendedLocation" - } - } - } - } -}; - -export const ImageReference: coreClient.CompositeMapper = { +export const ImageReference: coreClient.CompositeMapper = { type: { name: "Composite", className: "ImageReference", @@ -10743,58 +10718,6 @@ export const DiskEncryptionSetParameters: coreClient.CompositeMapper = { } }; -export const ManagedDiskParameters: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "ManagedDiskParameters", - modelProperties: { - ...SubResource.type.modelProperties, - storageAccountType: { - serializedName: "storageAccountType", - type: { - name: "String" - } - }, - diskEncryptionSet: { - serializedName: "diskEncryptionSet", - type: { - name: "Composite", - className: "DiskEncryptionSetParameters" - } - }, - securityProfile: { - serializedName: "securityProfile", - type: { - name: "Composite", - className: "VMDiskSecurityProfile" - } - } - } - } -}; - -export const NetworkInterfaceReference: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "NetworkInterfaceReference", - modelProperties: { - ...SubResource.type.modelProperties, - primary: { - serializedName: "properties.primary", - type: { - name: "Boolean" - } - }, - deleteOption: { - serializedName: "properties.deleteOption", - type: { - name: "String" - } - } - } - } -}; - export const VirtualMachineScaleSetIPConfiguration: coreClient.CompositeMapper = { type: { name: "Composite", @@ -10959,51 +10882,6 @@ export const VirtualMachineScaleSetNetworkConfiguration: coreClient.CompositeMap } }; -export const VirtualMachineCaptureResult: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "VirtualMachineCaptureResult", - modelProperties: { - ...SubResource.type.modelProperties, - schema: { - serializedName: "$schema", - readOnly: true, - type: { - name: "String" - } - }, - contentVersion: { - serializedName: "contentVersion", - readOnly: true, - type: { - name: "String" - } - }, - parameters: { - serializedName: "parameters", - readOnly: true, - type: { - name: "Dictionary", - value: { type: { name: "any" } } - } - }, - resources: { - serializedName: "resources", - readOnly: true, - type: { - name: "Sequence", - element: { - type: { - name: "Dictionary", - value: { type: { name: "any" } } - } - } - } - } - } - } -}; - export const VirtualMachineScaleSetUpdateIPConfiguration: coreClient.CompositeMapper = { type: { name: "Composite", @@ -11166,59 +11044,95 @@ export const VirtualMachineScaleSetUpdateNetworkConfiguration: coreClient.Compos } }; -export const AvailabilitySet: coreClient.CompositeMapper = { +export const ManagedDiskParameters: coreClient.CompositeMapper = { type: { name: "Composite", - className: "AvailabilitySet", + className: "ManagedDiskParameters", modelProperties: { - ...Resource.type.modelProperties, - sku: { - serializedName: "sku", + ...SubResource.type.modelProperties, + storageAccountType: { + serializedName: "storageAccountType", + type: { + name: "String" + } + }, + diskEncryptionSet: { + serializedName: "diskEncryptionSet", type: { name: "Composite", - className: "Sku" + className: "DiskEncryptionSetParameters" } }, - platformUpdateDomainCount: { - serializedName: "properties.platformUpdateDomainCount", + securityProfile: { + serializedName: "securityProfile", type: { - name: "Number" + name: "Composite", + className: "VMDiskSecurityProfile" + } + } + } + } +}; + +export const NetworkInterfaceReference: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "NetworkInterfaceReference", + modelProperties: { + ...SubResource.type.modelProperties, + primary: { + serializedName: "properties.primary", + type: { + name: "Boolean" } }, - platformFaultDomainCount: { - serializedName: "properties.platformFaultDomainCount", + deleteOption: { + serializedName: "properties.deleteOption", type: { - name: "Number" + name: "String" + } + } + } + } +}; + +export const VirtualMachineCaptureResult: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "VirtualMachineCaptureResult", + modelProperties: { + ...SubResource.type.modelProperties, + schema: { + serializedName: "$schema", + readOnly: true, + type: { + name: "String" } }, - virtualMachines: { - serializedName: "properties.virtualMachines", + contentVersion: { + serializedName: "contentVersion", + readOnly: true, type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "SubResource" - } - } + name: "String" } }, - proximityPlacementGroup: { - serializedName: "properties.proximityPlacementGroup", + parameters: { + serializedName: "parameters", + readOnly: true, type: { - name: "Composite", - className: "SubResource" + name: "Dictionary", + value: { type: { name: "any" } } } }, - statuses: { - serializedName: "properties.statuses", + resources: { + serializedName: "resources", readOnly: true, type: { name: "Sequence", element: { type: { - name: "Composite", - className: "InstanceViewStatus" + name: "Dictionary", + value: { type: { name: "any" } } } } } @@ -11227,277 +11141,80 @@ export const AvailabilitySet: coreClient.CompositeMapper = { } }; -export const ProximityPlacementGroup: coreClient.CompositeMapper = { +export const VirtualMachineImageResource: coreClient.CompositeMapper = { type: { name: "Composite", - className: "ProximityPlacementGroup", + className: "VirtualMachineImageResource", modelProperties: { - ...Resource.type.modelProperties, - proximityPlacementGroupType: { - serializedName: "properties.proximityPlacementGroupType", + ...SubResource.type.modelProperties, + name: { + serializedName: "name", + required: true, type: { name: "String" } }, - virtualMachines: { - serializedName: "properties.virtualMachines", - readOnly: true, - type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "SubResourceWithColocationStatus" - } - } - } - }, - virtualMachineScaleSets: { - serializedName: "properties.virtualMachineScaleSets", - readOnly: true, + location: { + serializedName: "location", + required: true, type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "SubResourceWithColocationStatus" - } - } + name: "String" } }, - availabilitySets: { - serializedName: "properties.availabilitySets", - readOnly: true, + tags: { + serializedName: "tags", type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "SubResourceWithColocationStatus" - } - } + name: "Dictionary", + value: { type: { name: "String" } } } }, - colocationStatus: { - serializedName: "properties.colocationStatus", + extendedLocation: { + serializedName: "extendedLocation", type: { name: "Composite", - className: "InstanceViewStatus" + className: "ExtendedLocation" } } } } }; -export const DedicatedHostGroup: coreClient.CompositeMapper = { +export const SubResourceWithColocationStatus: coreClient.CompositeMapper = { type: { name: "Composite", - className: "DedicatedHostGroup", + className: "SubResourceWithColocationStatus", modelProperties: { - ...Resource.type.modelProperties, - zones: { - serializedName: "zones", - type: { - name: "Sequence", - element: { - type: { - name: "String" - } - } - } - }, - platformFaultDomainCount: { - constraints: { - InclusiveMinimum: 1 - }, - serializedName: "properties.platformFaultDomainCount", - type: { - name: "Number" - } - }, - hosts: { - serializedName: "properties.hosts", - readOnly: true, - type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "SubResourceReadOnly" - } - } - } - }, - instanceView: { - serializedName: "properties.instanceView", + ...SubResource.type.modelProperties, + colocationStatus: { + serializedName: "colocationStatus", type: { name: "Composite", - className: "DedicatedHostGroupInstanceView" - } - }, - supportAutomaticPlacement: { - serializedName: "properties.supportAutomaticPlacement", - type: { - name: "Boolean" + className: "InstanceViewStatus" } } } } }; -export const DedicatedHost: coreClient.CompositeMapper = { +export const VirtualMachineScaleSetExtension: coreClient.CompositeMapper = { type: { name: "Composite", - className: "DedicatedHost", + className: "VirtualMachineScaleSetExtension", modelProperties: { - ...Resource.type.modelProperties, - sku: { - serializedName: "sku", - type: { - name: "Composite", - className: "Sku" - } - }, - platformFaultDomain: { - constraints: { - InclusiveMinimum: 0 - }, - serializedName: "properties.platformFaultDomain", - type: { - name: "Number" - } - }, - autoReplaceOnFailure: { - serializedName: "properties.autoReplaceOnFailure", - type: { - name: "Boolean" - } - }, - hostId: { - serializedName: "properties.hostId", - readOnly: true, - type: { - name: "String" - } - }, - virtualMachines: { - serializedName: "properties.virtualMachines", - readOnly: true, - type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "SubResourceReadOnly" - } - } - } - }, - licenseType: { - serializedName: "properties.licenseType", - type: { - name: "Enum", - allowedValues: [ - "None", - "Windows_Server_Hybrid", - "Windows_Server_Perpetual" - ] - } - }, - provisioningTime: { - serializedName: "properties.provisioningTime", - readOnly: true, - type: { - name: "DateTime" - } - }, - provisioningState: { - serializedName: "properties.provisioningState", - readOnly: true, + ...SubResourceReadOnly.type.modelProperties, + name: { + serializedName: "name", type: { name: "String" } }, - instanceView: { - serializedName: "properties.instanceView", - type: { - name: "Composite", - className: "DedicatedHostInstanceView" - } - }, - timeCreated: { - serializedName: "properties.timeCreated", + type: { + serializedName: "type", readOnly: true, - type: { - name: "DateTime" - } - } - } - } -}; - -export const SshPublicKeyResource: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "SshPublicKeyResource", - modelProperties: { - ...Resource.type.modelProperties, - publicKey: { - serializedName: "properties.publicKey", - type: { - name: "String" - } - } - } - } -}; - -export const VirtualMachineExtensionImage: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "VirtualMachineExtensionImage", - modelProperties: { - ...Resource.type.modelProperties, - operatingSystem: { - serializedName: "properties.operatingSystem", - type: { - name: "String" - } - }, - computeRole: { - serializedName: "properties.computeRole", - type: { - name: "String" - } - }, - handlerSchema: { - serializedName: "properties.handlerSchema", type: { name: "String" } }, - vmScaleSetEnabled: { - serializedName: "properties.vmScaleSetEnabled", - type: { - name: "Boolean" - } - }, - supportsMultipleExtensions: { - serializedName: "properties.supportsMultipleExtensions", - type: { - name: "Boolean" - } - } - } - } -}; - -export const VirtualMachineExtension: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "VirtualMachineExtension", - modelProperties: { - ...Resource.type.modelProperties, forceUpdateTag: { serializedName: "properties.forceUpdateTag", type: { @@ -11555,15 +11272,19 @@ export const VirtualMachineExtension: coreClient.CompositeMapper = { name: "String" } }, - instanceView: { - serializedName: "properties.instanceView", + provisionAfterExtensions: { + serializedName: "properties.provisionAfterExtensions", type: { - name: "Composite", - className: "VirtualMachineExtensionInstanceView" - } - }, - suppressFailures: { - serializedName: "properties.suppressFailures", + name: "Sequence", + element: { + type: { + name: "String" + } + } + } + }, + suppressFailures: { + serializedName: "properties.suppressFailures", type: { name: "Boolean" } @@ -11579,241 +11300,303 @@ export const VirtualMachineExtension: coreClient.CompositeMapper = { } }; -export const VirtualMachine: coreClient.CompositeMapper = { +export const VirtualMachineScaleSetExtensionUpdate: coreClient.CompositeMapper = { type: { name: "Composite", - className: "VirtualMachine", + className: "VirtualMachineScaleSetExtensionUpdate", modelProperties: { - ...Resource.type.modelProperties, - plan: { - serializedName: "plan", - type: { - name: "Composite", - className: "Plan" - } - }, - resources: { - serializedName: "resources", + ...SubResourceReadOnly.type.modelProperties, + name: { + serializedName: "name", readOnly: true, type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "VirtualMachineExtension" - } - } + name: "String" } }, - identity: { - serializedName: "identity", + type: { + serializedName: "type", + readOnly: true, type: { - name: "Composite", - className: "VirtualMachineIdentity" + name: "String" } }, - zones: { - serializedName: "zones", + forceUpdateTag: { + serializedName: "properties.forceUpdateTag", type: { - name: "Sequence", - element: { - type: { - name: "String" - } - } + name: "String" } }, - extendedLocation: { - serializedName: "extendedLocation", + publisher: { + serializedName: "properties.publisher", type: { - name: "Composite", - className: "ExtendedLocation" + name: "String" } }, - hardwareProfile: { - serializedName: "properties.hardwareProfile", + typePropertiesType: { + serializedName: "properties.type", type: { - name: "Composite", - className: "HardwareProfile" + name: "String" } }, - storageProfile: { - serializedName: "properties.storageProfile", + typeHandlerVersion: { + serializedName: "properties.typeHandlerVersion", type: { - name: "Composite", - className: "StorageProfile" + name: "String" } }, - additionalCapabilities: { - serializedName: "properties.additionalCapabilities", + autoUpgradeMinorVersion: { + serializedName: "properties.autoUpgradeMinorVersion", type: { - name: "Composite", - className: "AdditionalCapabilities" + name: "Boolean" } }, - osProfile: { - serializedName: "properties.osProfile", + enableAutomaticUpgrade: { + serializedName: "properties.enableAutomaticUpgrade", type: { - name: "Composite", - className: "OSProfile" + name: "Boolean" } }, - networkProfile: { - serializedName: "properties.networkProfile", + settings: { + serializedName: "properties.settings", type: { - name: "Composite", - className: "NetworkProfile" + name: "Dictionary", + value: { type: { name: "any" } } } }, - securityProfile: { - serializedName: "properties.securityProfile", + protectedSettings: { + serializedName: "properties.protectedSettings", type: { - name: "Composite", - className: "SecurityProfile" + name: "Dictionary", + value: { type: { name: "any" } } } }, - diagnosticsProfile: { - serializedName: "properties.diagnosticsProfile", + provisioningState: { + serializedName: "properties.provisioningState", + readOnly: true, type: { - name: "Composite", - className: "DiagnosticsProfile" + name: "String" } }, - availabilitySet: { - serializedName: "properties.availabilitySet", + provisionAfterExtensions: { + serializedName: "properties.provisionAfterExtensions", type: { - name: "Composite", - className: "SubResource" + name: "Sequence", + element: { + type: { + name: "String" + } + } } }, - virtualMachineScaleSet: { - serializedName: "properties.virtualMachineScaleSet", + suppressFailures: { + serializedName: "properties.suppressFailures", type: { - name: "Composite", - className: "SubResource" + name: "Boolean" } }, - proximityPlacementGroup: { - serializedName: "properties.proximityPlacementGroup", + protectedSettingsFromKeyVault: { + serializedName: "properties.protectedSettingsFromKeyVault", type: { - name: "Composite", - className: "SubResource" + name: "Dictionary", + value: { type: { name: "any" } } } - }, - priority: { - serializedName: "properties.priority", + } + } + } +}; + +export const VirtualMachineScaleSetVMExtension: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "VirtualMachineScaleSetVMExtension", + modelProperties: { + ...SubResourceReadOnly.type.modelProperties, + name: { + serializedName: "name", + readOnly: true, type: { name: "String" } }, - evictionPolicy: { - serializedName: "properties.evictionPolicy", + type: { + serializedName: "type", + readOnly: true, type: { name: "String" } }, - billingProfile: { - serializedName: "properties.billingProfile", - type: { - name: "Composite", - className: "BillingProfile" - } - }, - host: { - serializedName: "properties.host", - type: { - name: "Composite", - className: "SubResource" - } - }, - hostGroup: { - serializedName: "properties.hostGroup", + forceUpdateTag: { + serializedName: "properties.forceUpdateTag", type: { - name: "Composite", - className: "SubResource" + name: "String" } }, - provisioningState: { - serializedName: "properties.provisioningState", - readOnly: true, + publisher: { + serializedName: "properties.publisher", type: { name: "String" } }, - instanceView: { - serializedName: "properties.instanceView", + typePropertiesType: { + serializedName: "properties.type", type: { - name: "Composite", - className: "VirtualMachineInstanceView" + name: "String" } }, - licenseType: { - serializedName: "properties.licenseType", + typeHandlerVersion: { + serializedName: "properties.typeHandlerVersion", type: { name: "String" } }, - vmId: { - serializedName: "properties.vmId", - readOnly: true, + autoUpgradeMinorVersion: { + serializedName: "properties.autoUpgradeMinorVersion", type: { - name: "String" + name: "Boolean" } }, - extensionsTimeBudget: { - serializedName: "properties.extensionsTimeBudget", + enableAutomaticUpgrade: { + serializedName: "properties.enableAutomaticUpgrade", type: { - name: "String" + name: "Boolean" } }, - platformFaultDomain: { - serializedName: "properties.platformFaultDomain", + settings: { + serializedName: "properties.settings", type: { - name: "Number" + name: "Dictionary", + value: { type: { name: "any" } } } }, - scheduledEventsProfile: { - serializedName: "properties.scheduledEventsProfile", + protectedSettings: { + serializedName: "properties.protectedSettings", type: { - name: "Composite", - className: "ScheduledEventsProfile" + name: "Dictionary", + value: { type: { name: "any" } } } }, - userData: { - serializedName: "properties.userData", + provisioningState: { + serializedName: "properties.provisioningState", + readOnly: true, type: { name: "String" } }, - capacityReservation: { - serializedName: "properties.capacityReservation", + instanceView: { + serializedName: "properties.instanceView", type: { name: "Composite", - className: "CapacityReservationProfile" + className: "VirtualMachineExtensionInstanceView" } }, - applicationProfile: { - serializedName: "properties.applicationProfile", + suppressFailures: { + serializedName: "properties.suppressFailures", type: { - name: "Composite", - className: "ApplicationProfile" + name: "Boolean" } }, - timeCreated: { - serializedName: "properties.timeCreated", - readOnly: true, + protectedSettingsFromKeyVault: { + serializedName: "properties.protectedSettingsFromKeyVault", type: { - name: "DateTime" + name: "Dictionary", + value: { type: { name: "any" } } } } } } }; -export const VirtualMachineScaleSet: coreClient.CompositeMapper = { +export const VirtualMachineScaleSetVMExtensionUpdate: coreClient.CompositeMapper = { type: { name: "Composite", - className: "VirtualMachineScaleSet", + className: "VirtualMachineScaleSetVMExtensionUpdate", + modelProperties: { + ...SubResourceReadOnly.type.modelProperties, + name: { + serializedName: "name", + readOnly: true, + type: { + name: "String" + } + }, + type: { + serializedName: "type", + readOnly: true, + type: { + name: "String" + } + }, + forceUpdateTag: { + serializedName: "properties.forceUpdateTag", + type: { + name: "String" + } + }, + publisher: { + serializedName: "properties.publisher", + type: { + name: "String" + } + }, + typePropertiesType: { + serializedName: "properties.type", + type: { + name: "String" + } + }, + typeHandlerVersion: { + serializedName: "properties.typeHandlerVersion", + type: { + name: "String" + } + }, + autoUpgradeMinorVersion: { + serializedName: "properties.autoUpgradeMinorVersion", + type: { + name: "Boolean" + } + }, + enableAutomaticUpgrade: { + serializedName: "properties.enableAutomaticUpgrade", + type: { + name: "Boolean" + } + }, + settings: { + serializedName: "properties.settings", + type: { + name: "Dictionary", + value: { type: { name: "any" } } + } + }, + protectedSettings: { + serializedName: "properties.protectedSettings", + type: { + name: "Dictionary", + value: { type: { name: "any" } } + } + }, + suppressFailures: { + serializedName: "properties.suppressFailures", + type: { + name: "Boolean" + } + }, + protectedSettingsFromKeyVault: { + serializedName: "properties.protectedSettingsFromKeyVault", + type: { + name: "Dictionary", + value: { type: { name: "any" } } + } + } + } + } +}; + +export const VirtualMachineScaleSet: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "VirtualMachineScaleSet", modelProperties: { ...Resource.type.modelProperties, sku: { @@ -11972,61 +11755,98 @@ export const VirtualMachineScaleSet: coreClient.CompositeMapper = { } }; -export const Image: coreClient.CompositeMapper = { +export const RollingUpgradeStatusInfo: coreClient.CompositeMapper = { type: { name: "Composite", - className: "Image", + className: "RollingUpgradeStatusInfo", modelProperties: { ...Resource.type.modelProperties, - extendedLocation: { - serializedName: "extendedLocation", + policy: { + serializedName: "properties.policy", type: { name: "Composite", - className: "ExtendedLocation" + className: "RollingUpgradePolicy" } }, - sourceVirtualMachine: { - serializedName: "properties.sourceVirtualMachine", + runningStatus: { + serializedName: "properties.runningStatus", type: { name: "Composite", - className: "SubResource" + className: "RollingUpgradeRunningStatus" } }, - storageProfile: { - serializedName: "properties.storageProfile", + progress: { + serializedName: "properties.progress", type: { name: "Composite", - className: "ImageStorageProfile" - } - }, - provisioningState: { - serializedName: "properties.provisioningState", - readOnly: true, - type: { - name: "String" + className: "RollingUpgradeProgressInfo" } }, - hyperVGeneration: { - serializedName: "properties.hyperVGeneration", + error: { + serializedName: "properties.error", type: { - name: "String" + name: "Composite", + className: "ApiError" } } } } }; -export const RestorePointCollection: coreClient.CompositeMapper = { +export const VirtualMachineExtension: coreClient.CompositeMapper = { type: { name: "Composite", - className: "RestorePointCollection", + className: "VirtualMachineExtension", modelProperties: { ...Resource.type.modelProperties, - source: { - serializedName: "properties.source", + forceUpdateTag: { + serializedName: "properties.forceUpdateTag", type: { - name: "Composite", - className: "RestorePointCollectionSourceProperties" + name: "String" + } + }, + publisher: { + serializedName: "properties.publisher", + type: { + name: "String" + } + }, + typePropertiesType: { + serializedName: "properties.type", + type: { + name: "String" + } + }, + typeHandlerVersion: { + serializedName: "properties.typeHandlerVersion", + type: { + name: "String" + } + }, + autoUpgradeMinorVersion: { + serializedName: "properties.autoUpgradeMinorVersion", + type: { + name: "Boolean" + } + }, + enableAutomaticUpgrade: { + serializedName: "properties.enableAutomaticUpgrade", + type: { + name: "Boolean" + } + }, + settings: { + serializedName: "properties.settings", + type: { + name: "Dictionary", + value: { type: { name: "any" } } + } + }, + protectedSettings: { + serializedName: "properties.protectedSettings", + type: { + name: "Dictionary", + value: { type: { name: "any" } } } }, provisioningState: { @@ -12036,253 +11856,85 @@ export const RestorePointCollection: coreClient.CompositeMapper = { name: "String" } }, - restorePointCollectionId: { - serializedName: "properties.restorePointCollectionId", - readOnly: true, + instanceView: { + serializedName: "properties.instanceView", type: { - name: "String" + name: "Composite", + className: "VirtualMachineExtensionInstanceView" } }, - restorePoints: { - serializedName: "properties.restorePoints", - readOnly: true, + suppressFailures: { + serializedName: "properties.suppressFailures", type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "RestorePoint" - } - } + name: "Boolean" + } + }, + protectedSettingsFromKeyVault: { + serializedName: "properties.protectedSettingsFromKeyVault", + type: { + name: "Dictionary", + value: { type: { name: "any" } } } } } } }; -export const CapacityReservationGroup: coreClient.CompositeMapper = { +export const VirtualMachineScaleSetVM: coreClient.CompositeMapper = { type: { name: "Composite", - className: "CapacityReservationGroup", + className: "VirtualMachineScaleSetVM", modelProperties: { ...Resource.type.modelProperties, - zones: { - serializedName: "zones", + instanceId: { + serializedName: "instanceId", + readOnly: true, type: { - name: "Sequence", - element: { - type: { - name: "String" - } - } + name: "String" } }, - capacityReservations: { - serializedName: "properties.capacityReservations", + sku: { + serializedName: "sku", + type: { + name: "Composite", + className: "Sku" + } + }, + plan: { + serializedName: "plan", + type: { + name: "Composite", + className: "Plan" + } + }, + resources: { + serializedName: "resources", readOnly: true, type: { name: "Sequence", element: { type: { name: "Composite", - className: "SubResourceReadOnly" + className: "VirtualMachineExtension" } } } }, - virtualMachinesAssociated: { - serializedName: "properties.virtualMachinesAssociated", + zones: { + serializedName: "zones", readOnly: true, type: { name: "Sequence", element: { type: { - name: "Composite", - className: "SubResourceReadOnly" + name: "String" } } } }, - instanceView: { - serializedName: "properties.instanceView", - type: { - name: "Composite", - className: "CapacityReservationGroupInstanceView" - } - } - } - } -}; - -export const CapacityReservation: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "CapacityReservation", - modelProperties: { - ...Resource.type.modelProperties, - sku: { - serializedName: "sku", - type: { - name: "Composite", - className: "Sku" - } - }, - zones: { - serializedName: "zones", - type: { - name: "Sequence", - element: { - type: { - name: "String" - } - } - } - }, - reservationId: { - serializedName: "properties.reservationId", - readOnly: true, - type: { - name: "String" - } - }, - virtualMachinesAssociated: { - serializedName: "properties.virtualMachinesAssociated", - readOnly: true, - type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "SubResourceReadOnly" - } - } - } - }, - provisioningTime: { - serializedName: "properties.provisioningTime", - readOnly: true, - type: { - name: "DateTime" - } - }, - provisioningState: { - serializedName: "properties.provisioningState", - readOnly: true, - type: { - name: "String" - } - }, - instanceView: { - serializedName: "properties.instanceView", - type: { - name: "Composite", - className: "CapacityReservationInstanceView" - } - }, - timeCreated: { - serializedName: "properties.timeCreated", - readOnly: true, - type: { - name: "DateTime" - } - } - } - } -}; - -export const RollingUpgradeStatusInfo: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "RollingUpgradeStatusInfo", - modelProperties: { - ...Resource.type.modelProperties, - policy: { - serializedName: "properties.policy", - type: { - name: "Composite", - className: "RollingUpgradePolicy" - } - }, - runningStatus: { - serializedName: "properties.runningStatus", - type: { - name: "Composite", - className: "RollingUpgradeRunningStatus" - } - }, - progress: { - serializedName: "properties.progress", - type: { - name: "Composite", - className: "RollingUpgradeProgressInfo" - } - }, - error: { - serializedName: "properties.error", - type: { - name: "Composite", - className: "ApiError" - } - } - } - } -}; - -export const VirtualMachineScaleSetVM: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "VirtualMachineScaleSetVM", - modelProperties: { - ...Resource.type.modelProperties, - instanceId: { - serializedName: "instanceId", - readOnly: true, - type: { - name: "String" - } - }, - sku: { - serializedName: "sku", - type: { - name: "Composite", - className: "Sku" - } - }, - plan: { - serializedName: "plan", - type: { - name: "Composite", - className: "Plan" - } - }, - resources: { - serializedName: "resources", - readOnly: true, - type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "VirtualMachineExtension" - } - } - } - }, - zones: { - serializedName: "zones", - readOnly: true, - type: { - name: "Sequence", - element: { - type: { - name: "String" - } - } - } - }, - latestModelApplied: { - serializedName: "properties.latestModelApplied", - readOnly: true, + latestModelApplied: { + serializedName: "properties.latestModelApplied", + readOnly: true, type: { name: "Boolean" } @@ -12401,589 +12053,574 @@ export const VirtualMachineScaleSetVM: coreClient.CompositeMapper = { } }; -export const VirtualMachineRunCommand: coreClient.CompositeMapper = { +export const VirtualMachine: coreClient.CompositeMapper = { type: { name: "Composite", - className: "VirtualMachineRunCommand", + className: "VirtualMachine", modelProperties: { ...Resource.type.modelProperties, - source: { - serializedName: "properties.source", + plan: { + serializedName: "plan", type: { name: "Composite", - className: "VirtualMachineRunCommandScriptSource" + className: "Plan" } }, - parameters: { - serializedName: "properties.parameters", + resources: { + serializedName: "resources", + readOnly: true, type: { name: "Sequence", element: { type: { name: "Composite", - className: "RunCommandInputParameter" + className: "VirtualMachineExtension" } } } }, - protectedParameters: { - serializedName: "properties.protectedParameters", + identity: { + serializedName: "identity", + type: { + name: "Composite", + className: "VirtualMachineIdentity" + } + }, + zones: { + serializedName: "zones", type: { name: "Sequence", element: { type: { - name: "Composite", - className: "RunCommandInputParameter" + name: "String" } } } }, - asyncExecution: { - defaultValue: false, - serializedName: "properties.asyncExecution", + extendedLocation: { + serializedName: "extendedLocation", type: { - name: "Boolean" + name: "Composite", + className: "ExtendedLocation" } }, - runAsUser: { - serializedName: "properties.runAsUser", + hardwareProfile: { + serializedName: "properties.hardwareProfile", type: { - name: "String" + name: "Composite", + className: "HardwareProfile" } }, - runAsPassword: { - serializedName: "properties.runAsPassword", + storageProfile: { + serializedName: "properties.storageProfile", type: { - name: "String" + name: "Composite", + className: "StorageProfile" } }, - timeoutInSeconds: { - serializedName: "properties.timeoutInSeconds", + additionalCapabilities: { + serializedName: "properties.additionalCapabilities", type: { - name: "Number" + name: "Composite", + className: "AdditionalCapabilities" } }, - outputBlobUri: { - serializedName: "properties.outputBlobUri", + osProfile: { + serializedName: "properties.osProfile", type: { - name: "String" + name: "Composite", + className: "OSProfile" } }, - errorBlobUri: { - serializedName: "properties.errorBlobUri", + networkProfile: { + serializedName: "properties.networkProfile", type: { - name: "String" + name: "Composite", + className: "NetworkProfile" } }, - provisioningState: { - serializedName: "properties.provisioningState", - readOnly: true, - type: { - name: "String" - } - }, - instanceView: { - serializedName: "properties.instanceView", + securityProfile: { + serializedName: "properties.securityProfile", type: { name: "Composite", - className: "VirtualMachineRunCommandInstanceView" - } - } - } - } -}; - -export const Disk: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "Disk", - modelProperties: { - ...Resource.type.modelProperties, - managedBy: { - serializedName: "managedBy", - readOnly: true, - type: { - name: "String" - } - }, - managedByExtended: { - serializedName: "managedByExtended", - readOnly: true, - type: { - name: "Sequence", - element: { - type: { - name: "String" - } - } + className: "SecurityProfile" } }, - sku: { - serializedName: "sku", + diagnosticsProfile: { + serializedName: "properties.diagnosticsProfile", type: { name: "Composite", - className: "DiskSku" + className: "DiagnosticsProfile" } }, - zones: { - serializedName: "zones", + availabilitySet: { + serializedName: "properties.availabilitySet", type: { - name: "Sequence", - element: { - type: { - name: "String" - } - } + name: "Composite", + className: "SubResource" } }, - extendedLocation: { - serializedName: "extendedLocation", + virtualMachineScaleSet: { + serializedName: "properties.virtualMachineScaleSet", type: { name: "Composite", - className: "ExtendedLocation" + className: "SubResource" } }, - timeCreated: { - serializedName: "properties.timeCreated", - readOnly: true, + proximityPlacementGroup: { + serializedName: "properties.proximityPlacementGroup", type: { - name: "DateTime" + name: "Composite", + className: "SubResource" } }, - osType: { - serializedName: "properties.osType", + priority: { + serializedName: "properties.priority", type: { - name: "Enum", - allowedValues: ["Windows", "Linux"] + name: "String" } }, - hyperVGeneration: { - serializedName: "properties.hyperVGeneration", + evictionPolicy: { + serializedName: "properties.evictionPolicy", type: { name: "String" } }, - purchasePlan: { - serializedName: "properties.purchasePlan", + billingProfile: { + serializedName: "properties.billingProfile", type: { name: "Composite", - className: "PurchasePlanAutoGenerated" + className: "BillingProfile" } }, - supportedCapabilities: { - serializedName: "properties.supportedCapabilities", + host: { + serializedName: "properties.host", type: { name: "Composite", - className: "SupportedCapabilities" + className: "SubResource" } }, - creationData: { - serializedName: "properties.creationData", + hostGroup: { + serializedName: "properties.hostGroup", type: { name: "Composite", - className: "CreationData" - } - }, - diskSizeGB: { - serializedName: "properties.diskSizeGB", - type: { - name: "Number" - } - }, - diskSizeBytes: { - serializedName: "properties.diskSizeBytes", - readOnly: true, - type: { - name: "Number" + className: "SubResource" } }, - uniqueId: { - serializedName: "properties.uniqueId", + provisioningState: { + serializedName: "properties.provisioningState", readOnly: true, type: { name: "String" } }, - encryptionSettingsCollection: { - serializedName: "properties.encryptionSettingsCollection", + instanceView: { + serializedName: "properties.instanceView", type: { name: "Composite", - className: "EncryptionSettingsCollection" + className: "VirtualMachineInstanceView" } }, - provisioningState: { - serializedName: "properties.provisioningState", - readOnly: true, + licenseType: { + serializedName: "properties.licenseType", type: { name: "String" } }, - diskIopsReadWrite: { - serializedName: "properties.diskIOPSReadWrite", + vmId: { + serializedName: "properties.vmId", + readOnly: true, type: { - name: "Number" + name: "String" } }, - diskMBpsReadWrite: { - serializedName: "properties.diskMBpsReadWrite", + extensionsTimeBudget: { + serializedName: "properties.extensionsTimeBudget", type: { - name: "Number" + name: "String" } }, - diskIopsReadOnly: { - serializedName: "properties.diskIOPSReadOnly", + platformFaultDomain: { + serializedName: "properties.platformFaultDomain", type: { name: "Number" } }, - diskMBpsReadOnly: { - serializedName: "properties.diskMBpsReadOnly", + scheduledEventsProfile: { + serializedName: "properties.scheduledEventsProfile", type: { - name: "Number" + name: "Composite", + className: "ScheduledEventsProfile" } }, - diskState: { - serializedName: "properties.diskState", - readOnly: true, + userData: { + serializedName: "properties.userData", type: { name: "String" } }, - encryption: { - serializedName: "properties.encryption", + capacityReservation: { + serializedName: "properties.capacityReservation", type: { name: "Composite", - className: "Encryption" + className: "CapacityReservationProfile" } }, - maxShares: { - serializedName: "properties.maxShares", + applicationProfile: { + serializedName: "properties.applicationProfile", type: { - name: "Number" + name: "Composite", + className: "ApplicationProfile" } }, - shareInfo: { - serializedName: "properties.shareInfo", + timeCreated: { + serializedName: "properties.timeCreated", readOnly: true, type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "ShareInfoElement" - } - } + name: "DateTime" } - }, - networkAccessPolicy: { - serializedName: "properties.networkAccessPolicy", + } + } + } +}; + +export const VirtualMachineExtensionImage: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "VirtualMachineExtensionImage", + modelProperties: { + ...Resource.type.modelProperties, + operatingSystem: { + serializedName: "properties.operatingSystem", type: { name: "String" } }, - diskAccessId: { - serializedName: "properties.diskAccessId", + computeRole: { + serializedName: "properties.computeRole", type: { name: "String" } }, - tier: { - serializedName: "properties.tier", + handlerSchema: { + serializedName: "properties.handlerSchema", type: { name: "String" } }, - burstingEnabled: { - serializedName: "properties.burstingEnabled", + vmScaleSetEnabled: { + serializedName: "properties.vmScaleSetEnabled", type: { name: "Boolean" } }, - propertyUpdatesInProgress: { - serializedName: "properties.propertyUpdatesInProgress", - type: { - name: "Composite", - className: "PropertyUpdatesInProgress" - } - }, - supportsHibernation: { - serializedName: "properties.supportsHibernation", + supportsMultipleExtensions: { + serializedName: "properties.supportsMultipleExtensions", type: { name: "Boolean" } - }, - securityProfile: { - serializedName: "properties.securityProfile", - type: { - name: "Composite", - className: "DiskSecurityProfile" - } - }, - completionPercent: { - serializedName: "properties.completionPercent", - type: { - name: "Number" - } - }, - publicNetworkAccess: { - serializedName: "properties.publicNetworkAccess", - type: { - name: "String" - } - }, - dataAccessAuthMode: { - serializedName: "properties.dataAccessAuthMode", - type: { - name: "String" - } } } } }; -export const Snapshot: coreClient.CompositeMapper = { +export const AvailabilitySet: coreClient.CompositeMapper = { type: { name: "Composite", - className: "Snapshot", + className: "AvailabilitySet", modelProperties: { ...Resource.type.modelProperties, - managedBy: { - serializedName: "managedBy", - readOnly: true, - type: { - name: "String" - } - }, sku: { serializedName: "sku", type: { name: "Composite", - className: "SnapshotSku" + className: "Sku" } }, - extendedLocation: { - serializedName: "extendedLocation", - type: { - name: "Composite", - className: "ExtendedLocation" - } - }, - timeCreated: { - serializedName: "properties.timeCreated", - readOnly: true, - type: { - name: "DateTime" - } - }, - osType: { - serializedName: "properties.osType", - type: { - name: "Enum", - allowedValues: ["Windows", "Linux"] - } - }, - hyperVGeneration: { - serializedName: "properties.hyperVGeneration", + platformUpdateDomainCount: { + serializedName: "properties.platformUpdateDomainCount", type: { - name: "String" + name: "Number" } }, - purchasePlan: { - serializedName: "properties.purchasePlan", + platformFaultDomainCount: { + serializedName: "properties.platformFaultDomainCount", type: { - name: "Composite", - className: "PurchasePlanAutoGenerated" + name: "Number" } }, - supportedCapabilities: { - serializedName: "properties.supportedCapabilities", + virtualMachines: { + serializedName: "properties.virtualMachines", type: { - name: "Composite", - className: "SupportedCapabilities" + name: "Sequence", + element: { + type: { + name: "Composite", + className: "SubResource" + } + } } }, - creationData: { - serializedName: "properties.creationData", + proximityPlacementGroup: { + serializedName: "properties.proximityPlacementGroup", type: { name: "Composite", - className: "CreationData" - } - }, - diskSizeGB: { - serializedName: "properties.diskSizeGB", - type: { - name: "Number" + className: "SubResource" } }, - diskSizeBytes: { - serializedName: "properties.diskSizeBytes", + statuses: { + serializedName: "properties.statuses", readOnly: true, type: { - name: "Number" + name: "Sequence", + element: { + type: { + name: "Composite", + className: "InstanceViewStatus" + } + } } - }, - diskState: { - serializedName: "properties.diskState", - readOnly: true, + } + } + } +}; + +export const ProximityPlacementGroup: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "ProximityPlacementGroup", + modelProperties: { + ...Resource.type.modelProperties, + proximityPlacementGroupType: { + serializedName: "properties.proximityPlacementGroupType", type: { name: "String" } }, - uniqueId: { - serializedName: "properties.uniqueId", + virtualMachines: { + serializedName: "properties.virtualMachines", readOnly: true, type: { - name: "String" + name: "Sequence", + element: { + type: { + name: "Composite", + className: "SubResourceWithColocationStatus" + } + } } }, - encryptionSettingsCollection: { - serializedName: "properties.encryptionSettingsCollection", + virtualMachineScaleSets: { + serializedName: "properties.virtualMachineScaleSets", + readOnly: true, type: { - name: "Composite", - className: "EncryptionSettingsCollection" + name: "Sequence", + element: { + type: { + name: "Composite", + className: "SubResourceWithColocationStatus" + } + } } }, - provisioningState: { - serializedName: "properties.provisioningState", + availabilitySets: { + serializedName: "properties.availabilitySets", readOnly: true, type: { - name: "String" + name: "Sequence", + element: { + type: { + name: "Composite", + className: "SubResourceWithColocationStatus" + } + } } }, - incremental: { - serializedName: "properties.incremental", + colocationStatus: { + serializedName: "properties.colocationStatus", type: { - name: "Boolean" + name: "Composite", + className: "InstanceViewStatus" } - }, - encryption: { - serializedName: "properties.encryption", + } + } + } +}; + +export const DedicatedHostGroup: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "DedicatedHostGroup", + modelProperties: { + ...Resource.type.modelProperties, + zones: { + serializedName: "zones", type: { - name: "Composite", - className: "Encryption" + name: "Sequence", + element: { + type: { + name: "String" + } + } } }, - networkAccessPolicy: { - serializedName: "properties.networkAccessPolicy", + platformFaultDomainCount: { + constraints: { + InclusiveMinimum: 1 + }, + serializedName: "properties.platformFaultDomainCount", type: { - name: "String" + name: "Number" } }, - diskAccessId: { - serializedName: "properties.diskAccessId", + hosts: { + serializedName: "properties.hosts", + readOnly: true, type: { - name: "String" + name: "Sequence", + element: { + type: { + name: "Composite", + className: "SubResourceReadOnly" + } + } } }, - securityProfile: { - serializedName: "properties.securityProfile", + instanceView: { + serializedName: "properties.instanceView", type: { name: "Composite", - className: "DiskSecurityProfile" + className: "DedicatedHostGroupInstanceView" } }, - supportsHibernation: { - serializedName: "properties.supportsHibernation", + supportAutomaticPlacement: { + serializedName: "properties.supportAutomaticPlacement", type: { name: "Boolean" } }, - publicNetworkAccess: { - serializedName: "properties.publicNetworkAccess", - type: { - name: "String" - } - }, - completionPercent: { - serializedName: "properties.completionPercent", - type: { - name: "Number" - } - }, - dataAccessAuthMode: { - serializedName: "properties.dataAccessAuthMode", + additionalCapabilities: { + serializedName: "properties.additionalCapabilities", type: { - name: "String" + name: "Composite", + className: "DedicatedHostGroupPropertiesAdditionalCapabilities" } } } } }; -export const DiskEncryptionSet: coreClient.CompositeMapper = { +export const DedicatedHost: coreClient.CompositeMapper = { type: { name: "Composite", - className: "DiskEncryptionSet", + className: "DedicatedHost", modelProperties: { ...Resource.type.modelProperties, - identity: { - serializedName: "identity", + sku: { + serializedName: "sku", type: { name: "Composite", - className: "EncryptionSetIdentity" + className: "Sku" } }, - encryptionType: { - serializedName: "properties.encryptionType", + platformFaultDomain: { + constraints: { + InclusiveMinimum: 0 + }, + serializedName: "properties.platformFaultDomain", type: { - name: "String" + name: "Number" } }, - activeKey: { - serializedName: "properties.activeKey", + autoReplaceOnFailure: { + serializedName: "properties.autoReplaceOnFailure", type: { - name: "Composite", - className: "KeyForDiskEncryptionSet" + name: "Boolean" } }, - previousKeys: { - serializedName: "properties.previousKeys", + hostId: { + serializedName: "properties.hostId", + readOnly: true, + type: { + name: "String" + } + }, + virtualMachines: { + serializedName: "properties.virtualMachines", readOnly: true, type: { name: "Sequence", element: { type: { name: "Composite", - className: "KeyForDiskEncryptionSet" + className: "SubResourceReadOnly" } } } }, - provisioningState: { - serializedName: "properties.provisioningState", - readOnly: true, + licenseType: { + serializedName: "properties.licenseType", type: { - name: "String" + name: "Enum", + allowedValues: [ + "None", + "Windows_Server_Hybrid", + "Windows_Server_Perpetual" + ] } }, - rotationToLatestKeyVersionEnabled: { - serializedName: "properties.rotationToLatestKeyVersionEnabled", + provisioningTime: { + serializedName: "properties.provisioningTime", + readOnly: true, type: { - name: "Boolean" + name: "DateTime" } }, - lastKeyRotationTimestamp: { - serializedName: "properties.lastKeyRotationTimestamp", + provisioningState: { + serializedName: "properties.provisioningState", readOnly: true, type: { - name: "DateTime" + name: "String" } }, - autoKeyRotationError: { - serializedName: "properties.autoKeyRotationError", + instanceView: { + serializedName: "properties.instanceView", type: { name: "Composite", - className: "ApiError" + className: "DedicatedHostInstanceView" + } + }, + timeCreated: { + serializedName: "properties.timeCreated", + readOnly: true, + type: { + name: "DateTime" } } } } }; -export const DiskAccess: coreClient.CompositeMapper = { +export const SshPublicKeyResource: coreClient.CompositeMapper = { type: { name: "Composite", - className: "DiskAccess", + className: "SshPublicKeyResource", + modelProperties: { + ...Resource.type.modelProperties, + publicKey: { + serializedName: "properties.publicKey", + type: { + name: "String" + } + } + } + } +}; + +export const Image: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "Image", modelProperties: { ...Resource.type.modelProperties, extendedLocation: { @@ -12993,17 +12630,18 @@ export const DiskAccess: coreClient.CompositeMapper = { className: "ExtendedLocation" } }, - privateEndpointConnections: { - serializedName: "properties.privateEndpointConnections", - readOnly: true, + sourceVirtualMachine: { + serializedName: "properties.sourceVirtualMachine", type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "PrivateEndpointConnection" - } - } + name: "Composite", + className: "SubResource" + } + }, + storageProfile: { + serializedName: "properties.storageProfile", + type: { + name: "Composite", + className: "ImageStorageProfile" } }, provisioningState: { @@ -13013,34 +12651,27 @@ export const DiskAccess: coreClient.CompositeMapper = { name: "String" } }, - timeCreated: { - serializedName: "properties.timeCreated", - readOnly: true, + hyperVGeneration: { + serializedName: "properties.hyperVGeneration", type: { - name: "DateTime" + name: "String" } } } } }; -export const Gallery: coreClient.CompositeMapper = { +export const RestorePointCollection: coreClient.CompositeMapper = { type: { name: "Composite", - className: "Gallery", + className: "RestorePointCollection", modelProperties: { ...Resource.type.modelProperties, - description: { - serializedName: "properties.description", - type: { - name: "String" - } - }, - identifier: { - serializedName: "properties.identifier", + source: { + serializedName: "properties.source", type: { name: "Composite", - className: "GalleryIdentifier" + className: "RestorePointCollectionSourceProperties" } }, provisioningState: { @@ -13050,139 +12681,405 @@ export const Gallery: coreClient.CompositeMapper = { name: "String" } }, - sharingProfile: { - serializedName: "properties.sharingProfile", - type: { - name: "Composite", - className: "SharingProfile" - } - }, - softDeletePolicy: { - serializedName: "properties.softDeletePolicy", + restorePointCollectionId: { + serializedName: "properties.restorePointCollectionId", + readOnly: true, type: { - name: "Composite", - className: "SoftDeletePolicy" + name: "String" } }, - sharingStatus: { - serializedName: "properties.sharingStatus", + restorePoints: { + serializedName: "properties.restorePoints", + readOnly: true, type: { - name: "Composite", - className: "SharingStatus" + name: "Sequence", + element: { + type: { + name: "Composite", + className: "RestorePoint" + } + } } } } } }; -export const GalleryImage: coreClient.CompositeMapper = { +export const CapacityReservationGroup: coreClient.CompositeMapper = { type: { name: "Composite", - className: "GalleryImage", + className: "CapacityReservationGroup", modelProperties: { ...Resource.type.modelProperties, - description: { - serializedName: "properties.description", + zones: { + serializedName: "zones", type: { - name: "String" + name: "Sequence", + element: { + type: { + name: "String" + } + } } }, - eula: { - serializedName: "properties.eula", + capacityReservations: { + serializedName: "properties.capacityReservations", + readOnly: true, type: { - name: "String" + name: "Sequence", + element: { + type: { + name: "Composite", + className: "SubResourceReadOnly" + } + } } }, - privacyStatementUri: { - serializedName: "properties.privacyStatementUri", + virtualMachinesAssociated: { + serializedName: "properties.virtualMachinesAssociated", + readOnly: true, type: { - name: "String" + name: "Sequence", + element: { + type: { + name: "Composite", + className: "SubResourceReadOnly" + } + } } }, - releaseNoteUri: { - serializedName: "properties.releaseNoteUri", + instanceView: { + serializedName: "properties.instanceView", type: { - name: "String" + name: "Composite", + className: "CapacityReservationGroupInstanceView" } - }, - osType: { - serializedName: "properties.osType", + } + } + } +}; + +export const CapacityReservation: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "CapacityReservation", + modelProperties: { + ...Resource.type.modelProperties, + sku: { + serializedName: "sku", type: { - name: "Enum", - allowedValues: ["Windows", "Linux"] + name: "Composite", + className: "Sku" } }, - osState: { - serializedName: "properties.osState", + zones: { + serializedName: "zones", type: { - name: "Enum", - allowedValues: ["Generalized", "Specialized"] + name: "Sequence", + element: { + type: { + name: "String" + } + } } }, - hyperVGeneration: { - serializedName: "properties.hyperVGeneration", + reservationId: { + serializedName: "properties.reservationId", + readOnly: true, type: { name: "String" } }, - endOfLifeDate: { - serializedName: "properties.endOfLifeDate", - type: { - name: "DateTime" - } - }, - identifier: { - serializedName: "properties.identifier", + virtualMachinesAssociated: { + serializedName: "properties.virtualMachinesAssociated", + readOnly: true, type: { - name: "Composite", - className: "GalleryImageIdentifier" + name: "Sequence", + element: { + type: { + name: "Composite", + className: "SubResourceReadOnly" + } + } } }, - recommended: { - serializedName: "properties.recommended", + provisioningTime: { + serializedName: "properties.provisioningTime", + readOnly: true, type: { - name: "Composite", - className: "RecommendedMachineConfiguration" + name: "DateTime" } }, - disallowed: { - serializedName: "properties.disallowed", + provisioningState: { + serializedName: "properties.provisioningState", + readOnly: true, type: { - name: "Composite", - className: "Disallowed" + name: "String" } }, - purchasePlan: { - serializedName: "properties.purchasePlan", + instanceView: { + serializedName: "properties.instanceView", type: { name: "Composite", - className: "ImagePurchasePlan" + className: "CapacityReservationInstanceView" } }, - provisioningState: { - serializedName: "properties.provisioningState", + timeCreated: { + serializedName: "properties.timeCreated", readOnly: true, type: { - name: "String" + name: "DateTime" } - }, - features: { - serializedName: "properties.features", - type: { - name: "Sequence", + } + } + } +}; + +export const VirtualMachineRunCommand: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "VirtualMachineRunCommand", + modelProperties: { + ...Resource.type.modelProperties, + source: { + serializedName: "properties.source", + type: { + name: "Composite", + className: "VirtualMachineRunCommandScriptSource" + } + }, + parameters: { + serializedName: "properties.parameters", + type: { + name: "Sequence", element: { type: { name: "Composite", - className: "GalleryImageFeature" + className: "RunCommandInputParameter" + } + } + } + }, + protectedParameters: { + serializedName: "properties.protectedParameters", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "RunCommandInputParameter" } } } }, - architecture: { - serializedName: "properties.architecture", + asyncExecution: { + defaultValue: false, + serializedName: "properties.asyncExecution", + type: { + name: "Boolean" + } + }, + runAsUser: { + serializedName: "properties.runAsUser", + type: { + name: "String" + } + }, + runAsPassword: { + serializedName: "properties.runAsPassword", + type: { + name: "String" + } + }, + timeoutInSeconds: { + serializedName: "properties.timeoutInSeconds", + type: { + name: "Number" + } + }, + outputBlobUri: { + serializedName: "properties.outputBlobUri", + type: { + name: "String" + } + }, + errorBlobUri: { + serializedName: "properties.errorBlobUri", + type: { + name: "String" + } + }, + provisioningState: { + serializedName: "properties.provisioningState", + readOnly: true, + type: { + name: "String" + } + }, + instanceView: { + serializedName: "properties.instanceView", + type: { + name: "Composite", + className: "VirtualMachineRunCommandInstanceView" + } + } + } + } +}; + +export const Gallery: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "Gallery", + modelProperties: { + ...Resource.type.modelProperties, + description: { + serializedName: "properties.description", + type: { + name: "String" + } + }, + identifier: { + serializedName: "properties.identifier", + type: { + name: "Composite", + className: "GalleryIdentifier" + } + }, + provisioningState: { + serializedName: "properties.provisioningState", + readOnly: true, + type: { + name: "String" + } + }, + sharingProfile: { + serializedName: "properties.sharingProfile", + type: { + name: "Composite", + className: "SharingProfile" + } + }, + softDeletePolicy: { + serializedName: "properties.softDeletePolicy", + type: { + name: "Composite", + className: "SoftDeletePolicy" + } + }, + sharingStatus: { + serializedName: "properties.sharingStatus", + type: { + name: "Composite", + className: "SharingStatus" + } + } + } + } +}; + +export const GalleryImage: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "GalleryImage", + modelProperties: { + ...Resource.type.modelProperties, + description: { + serializedName: "properties.description", + type: { + name: "String" + } + }, + eula: { + serializedName: "properties.eula", + type: { + name: "String" + } + }, + privacyStatementUri: { + serializedName: "properties.privacyStatementUri", + type: { + name: "String" + } + }, + releaseNoteUri: { + serializedName: "properties.releaseNoteUri", + type: { + name: "String" + } + }, + osType: { + serializedName: "properties.osType", + type: { + name: "Enum", + allowedValues: ["Windows", "Linux"] + } + }, + osState: { + serializedName: "properties.osState", + type: { + name: "Enum", + allowedValues: ["Generalized", "Specialized"] + } + }, + hyperVGeneration: { + serializedName: "properties.hyperVGeneration", + type: { + name: "String" + } + }, + endOfLifeDate: { + serializedName: "properties.endOfLifeDate", + type: { + name: "DateTime" + } + }, + identifier: { + serializedName: "properties.identifier", + type: { + name: "Composite", + className: "GalleryImageIdentifier" + } + }, + recommended: { + serializedName: "properties.recommended", + type: { + name: "Composite", + className: "RecommendedMachineConfiguration" + } + }, + disallowed: { + serializedName: "properties.disallowed", + type: { + name: "Composite", + className: "Disallowed" + } + }, + purchasePlan: { + serializedName: "properties.purchasePlan", + type: { + name: "Composite", + className: "ImagePurchasePlan" + } + }, + provisioningState: { + serializedName: "properties.provisioningState", + readOnly: true, type: { name: "String" } + }, + features: { + serializedName: "properties.features", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "GalleryImageFeature" + } + } + } } } } @@ -13304,324 +13201,448 @@ export const GalleryApplicationVersion: coreClient.CompositeMapper = { } }; -export const AvailabilitySetUpdate: coreClient.CompositeMapper = { +export const Disk: coreClient.CompositeMapper = { type: { name: "Composite", - className: "AvailabilitySetUpdate", + className: "Disk", modelProperties: { - ...UpdateResource.type.modelProperties, - sku: { - serializedName: "sku", + ...Resource.type.modelProperties, + managedBy: { + serializedName: "managedBy", + readOnly: true, type: { - name: "Composite", - className: "Sku" + name: "String" } }, - platformUpdateDomainCount: { - serializedName: "properties.platformUpdateDomainCount", + managedByExtended: { + serializedName: "managedByExtended", + readOnly: true, type: { - name: "Number" + name: "Sequence", + element: { + type: { + name: "String" + } + } } }, - platformFaultDomainCount: { - serializedName: "properties.platformFaultDomainCount", + sku: { + serializedName: "sku", type: { - name: "Number" + name: "Composite", + className: "DiskSku" } }, - virtualMachines: { - serializedName: "properties.virtualMachines", + zones: { + serializedName: "zones", type: { name: "Sequence", element: { type: { - name: "Composite", - className: "SubResource" + name: "String" } } } }, - proximityPlacementGroup: { - serializedName: "properties.proximityPlacementGroup", + extendedLocation: { + serializedName: "extendedLocation", type: { name: "Composite", - className: "SubResource" + className: "ExtendedLocation" } }, - statuses: { - serializedName: "properties.statuses", + timeCreated: { + serializedName: "properties.timeCreated", readOnly: true, type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "InstanceViewStatus" - } - } + name: "DateTime" } - } - } - } -}; - -export const ProximityPlacementGroupUpdate: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "ProximityPlacementGroupUpdate", - modelProperties: { - ...UpdateResource.type.modelProperties - } - } -}; - -export const DedicatedHostGroupUpdate: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "DedicatedHostGroupUpdate", - modelProperties: { - ...UpdateResource.type.modelProperties, - zones: { - serializedName: "zones", + }, + osType: { + serializedName: "properties.osType", type: { - name: "Sequence", - element: { - type: { - name: "String" - } - } + name: "Enum", + allowedValues: ["Windows", "Linux"] } }, - platformFaultDomainCount: { - constraints: { - InclusiveMinimum: 1 - }, - serializedName: "properties.platformFaultDomainCount", + hyperVGeneration: { + serializedName: "properties.hyperVGeneration", + type: { + name: "String" + } + }, + purchasePlan: { + serializedName: "properties.purchasePlan", + type: { + name: "Composite", + className: "PurchasePlanAutoGenerated" + } + }, + supportedCapabilities: { + serializedName: "properties.supportedCapabilities", + type: { + name: "Composite", + className: "SupportedCapabilities" + } + }, + creationData: { + serializedName: "properties.creationData", + type: { + name: "Composite", + className: "CreationData" + } + }, + diskSizeGB: { + serializedName: "properties.diskSizeGB", type: { name: "Number" } }, - hosts: { - serializedName: "properties.hosts", + diskSizeBytes: { + serializedName: "properties.diskSizeBytes", + readOnly: true, + type: { + name: "Number" + } + }, + uniqueId: { + serializedName: "properties.uniqueId", + readOnly: true, + type: { + name: "String" + } + }, + encryptionSettingsCollection: { + serializedName: "properties.encryptionSettingsCollection", + type: { + name: "Composite", + className: "EncryptionSettingsCollection" + } + }, + provisioningState: { + serializedName: "properties.provisioningState", + readOnly: true, + type: { + name: "String" + } + }, + diskIopsReadWrite: { + serializedName: "properties.diskIOPSReadWrite", + type: { + name: "Number" + } + }, + diskMBpsReadWrite: { + serializedName: "properties.diskMBpsReadWrite", + type: { + name: "Number" + } + }, + diskIopsReadOnly: { + serializedName: "properties.diskIOPSReadOnly", + type: { + name: "Number" + } + }, + diskMBpsReadOnly: { + serializedName: "properties.diskMBpsReadOnly", + type: { + name: "Number" + } + }, + diskState: { + serializedName: "properties.diskState", + readOnly: true, + type: { + name: "String" + } + }, + encryption: { + serializedName: "properties.encryption", + type: { + name: "Composite", + className: "Encryption" + } + }, + maxShares: { + serializedName: "properties.maxShares", + type: { + name: "Number" + } + }, + shareInfo: { + serializedName: "properties.shareInfo", readOnly: true, type: { name: "Sequence", element: { type: { name: "Composite", - className: "SubResourceReadOnly" + className: "ShareInfoElement" } } } }, - instanceView: { - serializedName: "properties.instanceView", + networkAccessPolicy: { + serializedName: "properties.networkAccessPolicy", + type: { + name: "String" + } + }, + diskAccessId: { + serializedName: "properties.diskAccessId", + type: { + name: "String" + } + }, + tier: { + serializedName: "properties.tier", + type: { + name: "String" + } + }, + burstingEnabled: { + serializedName: "properties.burstingEnabled", + type: { + name: "Boolean" + } + }, + propertyUpdatesInProgress: { + serializedName: "properties.propertyUpdatesInProgress", type: { name: "Composite", - className: "DedicatedHostGroupInstanceView" + className: "PropertyUpdatesInProgress" } }, - supportAutomaticPlacement: { - serializedName: "properties.supportAutomaticPlacement", + supportsHibernation: { + serializedName: "properties.supportsHibernation", type: { name: "Boolean" } + }, + securityProfile: { + serializedName: "properties.securityProfile", + type: { + name: "Composite", + className: "DiskSecurityProfile" + } + }, + completionPercent: { + serializedName: "properties.completionPercent", + type: { + name: "Number" + } + }, + publicNetworkAccess: { + serializedName: "properties.publicNetworkAccess", + type: { + name: "String" + } } } } }; -export const DedicatedHostUpdate: coreClient.CompositeMapper = { +export const Snapshot: coreClient.CompositeMapper = { type: { name: "Composite", - className: "DedicatedHostUpdate", + className: "Snapshot", modelProperties: { - ...UpdateResource.type.modelProperties, - platformFaultDomain: { - constraints: { - InclusiveMinimum: 0 - }, - serializedName: "properties.platformFaultDomain", + ...Resource.type.modelProperties, + managedBy: { + serializedName: "managedBy", + readOnly: true, + type: { + name: "String" + } + }, + sku: { + serializedName: "sku", + type: { + name: "Composite", + className: "SnapshotSku" + } + }, + extendedLocation: { + serializedName: "extendedLocation", + type: { + name: "Composite", + className: "ExtendedLocation" + } + }, + timeCreated: { + serializedName: "properties.timeCreated", + readOnly: true, + type: { + name: "DateTime" + } + }, + osType: { + serializedName: "properties.osType", + type: { + name: "Enum", + allowedValues: ["Windows", "Linux"] + } + }, + hyperVGeneration: { + serializedName: "properties.hyperVGeneration", + type: { + name: "String" + } + }, + purchasePlan: { + serializedName: "properties.purchasePlan", type: { - name: "Number" + name: "Composite", + className: "PurchasePlanAutoGenerated" } }, - autoReplaceOnFailure: { - serializedName: "properties.autoReplaceOnFailure", + supportedCapabilities: { + serializedName: "properties.supportedCapabilities", type: { - name: "Boolean" + name: "Composite", + className: "SupportedCapabilities" } }, - hostId: { - serializedName: "properties.hostId", - readOnly: true, + creationData: { + serializedName: "properties.creationData", type: { - name: "String" + name: "Composite", + className: "CreationData" } }, - virtualMachines: { - serializedName: "properties.virtualMachines", - readOnly: true, + diskSizeGB: { + serializedName: "properties.diskSizeGB", type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "SubResourceReadOnly" - } - } + name: "Number" } }, - licenseType: { - serializedName: "properties.licenseType", + diskSizeBytes: { + serializedName: "properties.diskSizeBytes", + readOnly: true, type: { - name: "Enum", - allowedValues: [ - "None", - "Windows_Server_Hybrid", - "Windows_Server_Perpetual" - ] + name: "Number" } }, - provisioningTime: { - serializedName: "properties.provisioningTime", + diskState: { + serializedName: "properties.diskState", readOnly: true, type: { - name: "DateTime" + name: "String" } }, - provisioningState: { - serializedName: "properties.provisioningState", + uniqueId: { + serializedName: "properties.uniqueId", readOnly: true, type: { name: "String" } }, - instanceView: { - serializedName: "properties.instanceView", + encryptionSettingsCollection: { + serializedName: "properties.encryptionSettingsCollection", type: { name: "Composite", - className: "DedicatedHostInstanceView" + className: "EncryptionSettingsCollection" } }, - timeCreated: { - serializedName: "properties.timeCreated", + provisioningState: { + serializedName: "properties.provisioningState", readOnly: true, - type: { - name: "DateTime" - } - } - } - } -}; - -export const SshPublicKeyUpdateResource: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "SshPublicKeyUpdateResource", - modelProperties: { - ...UpdateResource.type.modelProperties, - publicKey: { - serializedName: "properties.publicKey", type: { name: "String" } - } - } - } -}; - -export const VirtualMachineExtensionUpdate: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "VirtualMachineExtensionUpdate", - modelProperties: { - ...UpdateResource.type.modelProperties, - forceUpdateTag: { - serializedName: "properties.forceUpdateTag", + }, + incremental: { + serializedName: "properties.incremental", type: { - name: "String" + name: "Boolean" } }, - publisher: { - serializedName: "properties.publisher", + encryption: { + serializedName: "properties.encryption", type: { - name: "String" + name: "Composite", + className: "Encryption" } }, - type: { - serializedName: "properties.type", + networkAccessPolicy: { + serializedName: "properties.networkAccessPolicy", type: { name: "String" } }, - typeHandlerVersion: { - serializedName: "properties.typeHandlerVersion", + diskAccessId: { + serializedName: "properties.diskAccessId", type: { name: "String" } }, - autoUpgradeMinorVersion: { - serializedName: "properties.autoUpgradeMinorVersion", + securityProfile: { + serializedName: "properties.securityProfile", type: { - name: "Boolean" + name: "Composite", + className: "DiskSecurityProfile" } }, - enableAutomaticUpgrade: { - serializedName: "properties.enableAutomaticUpgrade", + supportsHibernation: { + serializedName: "properties.supportsHibernation", type: { name: "Boolean" } }, - settings: { - serializedName: "properties.settings", - type: { - name: "Dictionary", - value: { type: { name: "any" } } - } - }, - protectedSettings: { - serializedName: "properties.protectedSettings", - type: { - name: "Dictionary", - value: { type: { name: "any" } } - } - }, - suppressFailures: { - serializedName: "properties.suppressFailures", + publicNetworkAccess: { + serializedName: "properties.publicNetworkAccess", type: { - name: "Boolean" + name: "String" } }, - protectedSettingsFromKeyVault: { - serializedName: "properties.protectedSettingsFromKeyVault", + completionPercent: { + serializedName: "properties.completionPercent", type: { - name: "Dictionary", - value: { type: { name: "any" } } + name: "Number" } } } } }; -export const ImageUpdate: coreClient.CompositeMapper = { +export const DiskEncryptionSet: coreClient.CompositeMapper = { type: { name: "Composite", - className: "ImageUpdate", + className: "DiskEncryptionSet", modelProperties: { - ...UpdateResource.type.modelProperties, - sourceVirtualMachine: { - serializedName: "properties.sourceVirtualMachine", + ...Resource.type.modelProperties, + identity: { + serializedName: "identity", type: { name: "Composite", - className: "SubResource" + className: "EncryptionSetIdentity" } }, - storageProfile: { - serializedName: "properties.storageProfile", + encryptionType: { + serializedName: "properties.encryptionType", + type: { + name: "String" + } + }, + activeKey: { + serializedName: "properties.activeKey", type: { name: "Composite", - className: "ImageStorageProfile" + className: "KeyForDiskEncryptionSet" + } + }, + previousKeys: { + serializedName: "properties.previousKeys", + readOnly: true, + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "KeyForDiskEncryptionSet" + } + } } }, provisioningState: { @@ -13631,629 +13652,640 @@ export const ImageUpdate: coreClient.CompositeMapper = { name: "String" } }, - hyperVGeneration: { - serializedName: "properties.hyperVGeneration", + rotationToLatestKeyVersionEnabled: { + serializedName: "properties.rotationToLatestKeyVersionEnabled", type: { - name: "String" + name: "Boolean" + } + }, + lastKeyRotationTimestamp: { + serializedName: "properties.lastKeyRotationTimestamp", + readOnly: true, + type: { + name: "DateTime" + } + }, + autoKeyRotationError: { + serializedName: "properties.autoKeyRotationError", + type: { + name: "Composite", + className: "ApiError" } } } } }; -export const VirtualMachineUpdate: coreClient.CompositeMapper = { +export const DiskAccess: coreClient.CompositeMapper = { type: { name: "Composite", - className: "VirtualMachineUpdate", + className: "DiskAccess", modelProperties: { - ...UpdateResource.type.modelProperties, - plan: { - serializedName: "plan", - type: { - name: "Composite", - className: "Plan" - } - }, - identity: { - serializedName: "identity", + ...Resource.type.modelProperties, + extendedLocation: { + serializedName: "extendedLocation", type: { name: "Composite", - className: "VirtualMachineIdentity" + className: "ExtendedLocation" } }, - zones: { - serializedName: "zones", + privateEndpointConnections: { + serializedName: "properties.privateEndpointConnections", + readOnly: true, type: { name: "Sequence", element: { type: { - name: "String" + name: "Composite", + className: "PrivateEndpointConnection" } } } }, - hardwareProfile: { - serializedName: "properties.hardwareProfile", - type: { - name: "Composite", - className: "HardwareProfile" - } - }, - storageProfile: { - serializedName: "properties.storageProfile", - type: { - name: "Composite", - className: "StorageProfile" - } - }, - additionalCapabilities: { - serializedName: "properties.additionalCapabilities", - type: { - name: "Composite", - className: "AdditionalCapabilities" + provisioningState: { + serializedName: "properties.provisioningState", + readOnly: true, + type: { + name: "String" } }, - osProfile: { - serializedName: "properties.osProfile", + timeCreated: { + serializedName: "properties.timeCreated", + readOnly: true, + type: { + name: "DateTime" + } + } + } + } +}; + +export const VirtualMachineScaleSetUpdate: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "VirtualMachineScaleSetUpdate", + modelProperties: { + ...UpdateResource.type.modelProperties, + sku: { + serializedName: "sku", type: { name: "Composite", - className: "OSProfile" + className: "Sku" } }, - networkProfile: { - serializedName: "properties.networkProfile", + plan: { + serializedName: "plan", type: { name: "Composite", - className: "NetworkProfile" + className: "Plan" } }, - securityProfile: { - serializedName: "properties.securityProfile", + identity: { + serializedName: "identity", type: { name: "Composite", - className: "SecurityProfile" + className: "VirtualMachineScaleSetIdentity" } }, - diagnosticsProfile: { - serializedName: "properties.diagnosticsProfile", + upgradePolicy: { + serializedName: "properties.upgradePolicy", type: { name: "Composite", - className: "DiagnosticsProfile" + className: "UpgradePolicy" } }, - availabilitySet: { - serializedName: "properties.availabilitySet", + automaticRepairsPolicy: { + serializedName: "properties.automaticRepairsPolicy", type: { name: "Composite", - className: "SubResource" + className: "AutomaticRepairsPolicy" } }, - virtualMachineScaleSet: { - serializedName: "properties.virtualMachineScaleSet", + virtualMachineProfile: { + serializedName: "properties.virtualMachineProfile", type: { name: "Composite", - className: "SubResource" + className: "VirtualMachineScaleSetUpdateVMProfile" } }, - proximityPlacementGroup: { - serializedName: "properties.proximityPlacementGroup", + overprovision: { + serializedName: "properties.overprovision", type: { - name: "Composite", - className: "SubResource" + name: "Boolean" } }, - priority: { - serializedName: "properties.priority", + doNotRunExtensionsOnOverprovisionedVMs: { + serializedName: "properties.doNotRunExtensionsOnOverprovisionedVMs", type: { - name: "String" + name: "Boolean" } }, - evictionPolicy: { - serializedName: "properties.evictionPolicy", + singlePlacementGroup: { + serializedName: "properties.singlePlacementGroup", type: { - name: "String" + name: "Boolean" } }, - billingProfile: { - serializedName: "properties.billingProfile", + additionalCapabilities: { + serializedName: "properties.additionalCapabilities", type: { name: "Composite", - className: "BillingProfile" + className: "AdditionalCapabilities" } }, - host: { - serializedName: "properties.host", + scaleInPolicy: { + serializedName: "properties.scaleInPolicy", type: { name: "Composite", - className: "SubResource" + className: "ScaleInPolicy" } }, - hostGroup: { - serializedName: "properties.hostGroup", + proximityPlacementGroup: { + serializedName: "properties.proximityPlacementGroup", type: { name: "Composite", className: "SubResource" } - }, - provisioningState: { - serializedName: "properties.provisioningState", - readOnly: true, + } + } + } +}; + +export const VirtualMachineExtensionUpdate: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "VirtualMachineExtensionUpdate", + modelProperties: { + ...UpdateResource.type.modelProperties, + forceUpdateTag: { + serializedName: "properties.forceUpdateTag", type: { name: "String" } }, - instanceView: { - serializedName: "properties.instanceView", - type: { - name: "Composite", - className: "VirtualMachineInstanceView" - } - }, - licenseType: { - serializedName: "properties.licenseType", + publisher: { + serializedName: "properties.publisher", type: { name: "String" } }, - vmId: { - serializedName: "properties.vmId", - readOnly: true, + type: { + serializedName: "properties.type", type: { name: "String" } }, - extensionsTimeBudget: { - serializedName: "properties.extensionsTimeBudget", + typeHandlerVersion: { + serializedName: "properties.typeHandlerVersion", type: { name: "String" } }, - platformFaultDomain: { - serializedName: "properties.platformFaultDomain", + autoUpgradeMinorVersion: { + serializedName: "properties.autoUpgradeMinorVersion", type: { - name: "Number" + name: "Boolean" } }, - scheduledEventsProfile: { - serializedName: "properties.scheduledEventsProfile", + enableAutomaticUpgrade: { + serializedName: "properties.enableAutomaticUpgrade", type: { - name: "Composite", - className: "ScheduledEventsProfile" + name: "Boolean" } }, - userData: { - serializedName: "properties.userData", + settings: { + serializedName: "properties.settings", type: { - name: "String" + name: "Dictionary", + value: { type: { name: "any" } } } }, - capacityReservation: { - serializedName: "properties.capacityReservation", + protectedSettings: { + serializedName: "properties.protectedSettings", type: { - name: "Composite", - className: "CapacityReservationProfile" + name: "Dictionary", + value: { type: { name: "any" } } } }, - applicationProfile: { - serializedName: "properties.applicationProfile", + suppressFailures: { + serializedName: "properties.suppressFailures", type: { - name: "Composite", - className: "ApplicationProfile" + name: "Boolean" } }, - timeCreated: { - serializedName: "properties.timeCreated", - readOnly: true, + protectedSettingsFromKeyVault: { + serializedName: "properties.protectedSettingsFromKeyVault", type: { - name: "DateTime" + name: "Dictionary", + value: { type: { name: "any" } } } } } } }; -export const RestorePointCollectionUpdate: coreClient.CompositeMapper = { +export const VirtualMachineUpdate: coreClient.CompositeMapper = { type: { name: "Composite", - className: "RestorePointCollectionUpdate", + className: "VirtualMachineUpdate", modelProperties: { ...UpdateResource.type.modelProperties, - source: { - serializedName: "properties.source", + plan: { + serializedName: "plan", type: { name: "Composite", - className: "RestorePointCollectionSourceProperties" - } - }, - provisioningState: { - serializedName: "properties.provisioningState", - readOnly: true, - type: { - name: "String" + className: "Plan" } }, - restorePointCollectionId: { - serializedName: "properties.restorePointCollectionId", - readOnly: true, + identity: { + serializedName: "identity", type: { - name: "String" + name: "Composite", + className: "VirtualMachineIdentity" } }, - restorePoints: { - serializedName: "properties.restorePoints", - readOnly: true, + zones: { + serializedName: "zones", type: { name: "Sequence", element: { type: { - name: "Composite", - className: "RestorePoint" + name: "String" } } } - } - } - } -}; - -export const CapacityReservationGroupUpdate: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "CapacityReservationGroupUpdate", - modelProperties: { - ...UpdateResource.type.modelProperties, - capacityReservations: { - serializedName: "properties.capacityReservations", - readOnly: true, + }, + hardwareProfile: { + serializedName: "properties.hardwareProfile", type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "SubResourceReadOnly" - } - } + name: "Composite", + className: "HardwareProfile" } }, - virtualMachinesAssociated: { - serializedName: "properties.virtualMachinesAssociated", - readOnly: true, + storageProfile: { + serializedName: "properties.storageProfile", type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "SubResourceReadOnly" - } - } + name: "Composite", + className: "StorageProfile" + } + }, + additionalCapabilities: { + serializedName: "properties.additionalCapabilities", + type: { + name: "Composite", + className: "AdditionalCapabilities" + } + }, + osProfile: { + serializedName: "properties.osProfile", + type: { + name: "Composite", + className: "OSProfile" } }, - instanceView: { - serializedName: "properties.instanceView", + networkProfile: { + serializedName: "properties.networkProfile", type: { name: "Composite", - className: "CapacityReservationGroupInstanceView" + className: "NetworkProfile" } - } - } - } -}; - -export const CapacityReservationUpdate: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "CapacityReservationUpdate", - modelProperties: { - ...UpdateResource.type.modelProperties, - sku: { - serializedName: "sku", + }, + securityProfile: { + serializedName: "properties.securityProfile", type: { name: "Composite", - className: "Sku" + className: "SecurityProfile" } }, - reservationId: { - serializedName: "properties.reservationId", - readOnly: true, + diagnosticsProfile: { + serializedName: "properties.diagnosticsProfile", type: { - name: "String" + name: "Composite", + className: "DiagnosticsProfile" } }, - virtualMachinesAssociated: { - serializedName: "properties.virtualMachinesAssociated", - readOnly: true, + availabilitySet: { + serializedName: "properties.availabilitySet", type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "SubResourceReadOnly" - } - } + name: "Composite", + className: "SubResource" } }, - provisioningTime: { - serializedName: "properties.provisioningTime", - readOnly: true, + virtualMachineScaleSet: { + serializedName: "properties.virtualMachineScaleSet", type: { - name: "DateTime" + name: "Composite", + className: "SubResource" } }, - provisioningState: { - serializedName: "properties.provisioningState", - readOnly: true, + proximityPlacementGroup: { + serializedName: "properties.proximityPlacementGroup", type: { - name: "String" + name: "Composite", + className: "SubResource" } }, - instanceView: { - serializedName: "properties.instanceView", + priority: { + serializedName: "properties.priority", type: { - name: "Composite", - className: "CapacityReservationInstanceView" + name: "String" } }, - timeCreated: { - serializedName: "properties.timeCreated", - readOnly: true, + evictionPolicy: { + serializedName: "properties.evictionPolicy", type: { - name: "DateTime" + name: "String" } - } - } - } -}; - -export const VirtualMachineScaleSetUpdate: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "VirtualMachineScaleSetUpdate", - modelProperties: { - ...UpdateResource.type.modelProperties, - sku: { - serializedName: "sku", + }, + billingProfile: { + serializedName: "properties.billingProfile", type: { name: "Composite", - className: "Sku" + className: "BillingProfile" } }, - plan: { - serializedName: "plan", + host: { + serializedName: "properties.host", type: { name: "Composite", - className: "Plan" + className: "SubResource" } }, - identity: { - serializedName: "identity", + hostGroup: { + serializedName: "properties.hostGroup", type: { name: "Composite", - className: "VirtualMachineScaleSetIdentity" + className: "SubResource" } }, - upgradePolicy: { - serializedName: "properties.upgradePolicy", + provisioningState: { + serializedName: "properties.provisioningState", + readOnly: true, type: { - name: "Composite", - className: "UpgradePolicy" + name: "String" } }, - automaticRepairsPolicy: { - serializedName: "properties.automaticRepairsPolicy", + instanceView: { + serializedName: "properties.instanceView", type: { name: "Composite", - className: "AutomaticRepairsPolicy" + className: "VirtualMachineInstanceView" } }, - virtualMachineProfile: { - serializedName: "properties.virtualMachineProfile", + licenseType: { + serializedName: "properties.licenseType", type: { - name: "Composite", - className: "VirtualMachineScaleSetUpdateVMProfile" + name: "String" } }, - overprovision: { - serializedName: "properties.overprovision", + vmId: { + serializedName: "properties.vmId", + readOnly: true, type: { - name: "Boolean" + name: "String" } }, - doNotRunExtensionsOnOverprovisionedVMs: { - serializedName: "properties.doNotRunExtensionsOnOverprovisionedVMs", + extensionsTimeBudget: { + serializedName: "properties.extensionsTimeBudget", type: { - name: "Boolean" + name: "String" } }, - singlePlacementGroup: { - serializedName: "properties.singlePlacementGroup", + platformFaultDomain: { + serializedName: "properties.platformFaultDomain", type: { - name: "Boolean" + name: "Number" } }, - additionalCapabilities: { - serializedName: "properties.additionalCapabilities", + scheduledEventsProfile: { + serializedName: "properties.scheduledEventsProfile", type: { name: "Composite", - className: "AdditionalCapabilities" + className: "ScheduledEventsProfile" } }, - scaleInPolicy: { - serializedName: "properties.scaleInPolicy", + userData: { + serializedName: "properties.userData", + type: { + name: "String" + } + }, + capacityReservation: { + serializedName: "properties.capacityReservation", type: { name: "Composite", - className: "ScaleInPolicy" + className: "CapacityReservationProfile" } }, - proximityPlacementGroup: { - serializedName: "properties.proximityPlacementGroup", + applicationProfile: { + serializedName: "properties.applicationProfile", type: { name: "Composite", - className: "SubResource" + className: "ApplicationProfile" + } + }, + timeCreated: { + serializedName: "properties.timeCreated", + readOnly: true, + type: { + name: "DateTime" } } } } }; -export const VirtualMachineRunCommandUpdate: coreClient.CompositeMapper = { +export const AvailabilitySetUpdate: coreClient.CompositeMapper = { type: { name: "Composite", - className: "VirtualMachineRunCommandUpdate", + className: "AvailabilitySetUpdate", modelProperties: { ...UpdateResource.type.modelProperties, - source: { - serializedName: "properties.source", + sku: { + serializedName: "sku", type: { name: "Composite", - className: "VirtualMachineRunCommandScriptSource" + className: "Sku" } }, - parameters: { - serializedName: "properties.parameters", + platformUpdateDomainCount: { + serializedName: "properties.platformUpdateDomainCount", type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "RunCommandInputParameter" - } - } + name: "Number" } }, - protectedParameters: { - serializedName: "properties.protectedParameters", + platformFaultDomainCount: { + serializedName: "properties.platformFaultDomainCount", + type: { + name: "Number" + } + }, + virtualMachines: { + serializedName: "properties.virtualMachines", type: { name: "Sequence", element: { type: { name: "Composite", - className: "RunCommandInputParameter" + className: "SubResource" } } } }, - asyncExecution: { - defaultValue: false, - serializedName: "properties.asyncExecution", + proximityPlacementGroup: { + serializedName: "properties.proximityPlacementGroup", type: { - name: "Boolean" + name: "Composite", + className: "SubResource" } }, - runAsUser: { - serializedName: "properties.runAsUser", + statuses: { + serializedName: "properties.statuses", + readOnly: true, type: { - name: "String" + name: "Sequence", + element: { + type: { + name: "Composite", + className: "InstanceViewStatus" + } + } } - }, - runAsPassword: { - serializedName: "properties.runAsPassword", + } + } + } +}; + +export const ProximityPlacementGroupUpdate: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "ProximityPlacementGroupUpdate", + modelProperties: { + ...UpdateResource.type.modelProperties + } + } +}; + +export const DedicatedHostGroupUpdate: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "DedicatedHostGroupUpdate", + modelProperties: { + ...UpdateResource.type.modelProperties, + zones: { + serializedName: "zones", type: { - name: "String" + name: "Sequence", + element: { + type: { + name: "String" + } + } } }, - timeoutInSeconds: { - serializedName: "properties.timeoutInSeconds", + platformFaultDomainCount: { + constraints: { + InclusiveMinimum: 1 + }, + serializedName: "properties.platformFaultDomainCount", type: { name: "Number" } }, - outputBlobUri: { - serializedName: "properties.outputBlobUri", + hosts: { + serializedName: "properties.hosts", + readOnly: true, type: { - name: "String" + name: "Sequence", + element: { + type: { + name: "Composite", + className: "SubResourceReadOnly" + } + } } }, - errorBlobUri: { - serializedName: "properties.errorBlobUri", + instanceView: { + serializedName: "properties.instanceView", type: { - name: "String" + name: "Composite", + className: "DedicatedHostGroupInstanceView" } }, - provisioningState: { - serializedName: "properties.provisioningState", - readOnly: true, + supportAutomaticPlacement: { + serializedName: "properties.supportAutomaticPlacement", type: { - name: "String" + name: "Boolean" } }, - instanceView: { - serializedName: "properties.instanceView", + additionalCapabilities: { + serializedName: "properties.additionalCapabilities", type: { name: "Composite", - className: "VirtualMachineRunCommandInstanceView" + className: "DedicatedHostGroupPropertiesAdditionalCapabilities" } } } } }; -export const VirtualMachineScaleSetExtension: coreClient.CompositeMapper = { +export const DedicatedHostUpdate: coreClient.CompositeMapper = { type: { name: "Composite", - className: "VirtualMachineScaleSetExtension", + className: "DedicatedHostUpdate", modelProperties: { - ...SubResourceReadOnly.type.modelProperties, - name: { - serializedName: "name", - type: { - name: "String" - } - }, - type: { - serializedName: "type", - readOnly: true, - type: { - name: "String" - } - }, - forceUpdateTag: { - serializedName: "properties.forceUpdateTag", - type: { - name: "String" - } - }, - publisher: { - serializedName: "properties.publisher", + ...UpdateResource.type.modelProperties, + platformFaultDomain: { + constraints: { + InclusiveMinimum: 0 + }, + serializedName: "properties.platformFaultDomain", type: { - name: "String" + name: "Number" } }, - typePropertiesType: { - serializedName: "properties.type", + autoReplaceOnFailure: { + serializedName: "properties.autoReplaceOnFailure", type: { - name: "String" + name: "Boolean" } }, - typeHandlerVersion: { - serializedName: "properties.typeHandlerVersion", + hostId: { + serializedName: "properties.hostId", + readOnly: true, type: { name: "String" } }, - autoUpgradeMinorVersion: { - serializedName: "properties.autoUpgradeMinorVersion", - type: { - name: "Boolean" - } - }, - enableAutomaticUpgrade: { - serializedName: "properties.enableAutomaticUpgrade", + virtualMachines: { + serializedName: "properties.virtualMachines", + readOnly: true, type: { - name: "Boolean" + name: "Sequence", + element: { + type: { + name: "Composite", + className: "SubResourceReadOnly" + } + } } }, - settings: { - serializedName: "properties.settings", + licenseType: { + serializedName: "properties.licenseType", type: { - name: "Dictionary", - value: { type: { name: "any" } } + name: "Enum", + allowedValues: [ + "None", + "Windows_Server_Hybrid", + "Windows_Server_Perpetual" + ] } }, - protectedSettings: { - serializedName: "properties.protectedSettings", + provisioningTime: { + serializedName: "properties.provisioningTime", + readOnly: true, type: { - name: "Dictionary", - value: { type: { name: "any" } } + name: "DateTime" } }, provisioningState: { @@ -14263,207 +14295,202 @@ export const VirtualMachineScaleSetExtension: coreClient.CompositeMapper = { name: "String" } }, - provisionAfterExtensions: { - serializedName: "properties.provisionAfterExtensions", - type: { - name: "Sequence", - element: { - type: { - name: "String" - } - } - } - }, - suppressFailures: { - serializedName: "properties.suppressFailures", + instanceView: { + serializedName: "properties.instanceView", type: { - name: "Boolean" + name: "Composite", + className: "DedicatedHostInstanceView" } }, - protectedSettingsFromKeyVault: { - serializedName: "properties.protectedSettingsFromKeyVault", + timeCreated: { + serializedName: "properties.timeCreated", + readOnly: true, type: { - name: "Dictionary", - value: { type: { name: "any" } } + name: "DateTime" } } } } }; -export const VirtualMachineScaleSetExtensionUpdate: coreClient.CompositeMapper = { +export const SshPublicKeyUpdateResource: coreClient.CompositeMapper = { type: { name: "Composite", - className: "VirtualMachineScaleSetExtensionUpdate", + className: "SshPublicKeyUpdateResource", modelProperties: { - ...SubResourceReadOnly.type.modelProperties, - name: { - serializedName: "name", - readOnly: true, - type: { - name: "String" - } - }, - type: { - serializedName: "type", - readOnly: true, + ...UpdateResource.type.modelProperties, + publicKey: { + serializedName: "properties.publicKey", type: { name: "String" } - }, - forceUpdateTag: { - serializedName: "properties.forceUpdateTag", + } + } + } +}; + +export const ImageUpdate: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "ImageUpdate", + modelProperties: { + ...UpdateResource.type.modelProperties, + sourceVirtualMachine: { + serializedName: "properties.sourceVirtualMachine", type: { - name: "String" + name: "Composite", + className: "SubResource" } }, - publisher: { - serializedName: "properties.publisher", + storageProfile: { + serializedName: "properties.storageProfile", type: { - name: "String" + name: "Composite", + className: "ImageStorageProfile" } }, - typePropertiesType: { - serializedName: "properties.type", + provisioningState: { + serializedName: "properties.provisioningState", + readOnly: true, type: { name: "String" } }, - typeHandlerVersion: { - serializedName: "properties.typeHandlerVersion", + hyperVGeneration: { + serializedName: "properties.hyperVGeneration", type: { name: "String" } - }, - autoUpgradeMinorVersion: { - serializedName: "properties.autoUpgradeMinorVersion", - type: { - name: "Boolean" - } - }, - enableAutomaticUpgrade: { - serializedName: "properties.enableAutomaticUpgrade", - type: { - name: "Boolean" - } - }, - settings: { - serializedName: "properties.settings", + } + } + } +}; + +export const RestorePointCollectionUpdate: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "RestorePointCollectionUpdate", + modelProperties: { + ...UpdateResource.type.modelProperties, + source: { + serializedName: "properties.source", type: { - name: "Dictionary", - value: { type: { name: "any" } } + name: "Composite", + className: "RestorePointCollectionSourceProperties" } }, - protectedSettings: { - serializedName: "properties.protectedSettings", + provisioningState: { + serializedName: "properties.provisioningState", + readOnly: true, type: { - name: "Dictionary", - value: { type: { name: "any" } } + name: "String" } }, - provisioningState: { - serializedName: "properties.provisioningState", + restorePointCollectionId: { + serializedName: "properties.restorePointCollectionId", readOnly: true, type: { name: "String" } }, - provisionAfterExtensions: { - serializedName: "properties.provisionAfterExtensions", + restorePoints: { + serializedName: "properties.restorePoints", + readOnly: true, type: { name: "Sequence", element: { type: { - name: "String" + name: "Composite", + className: "RestorePoint" } } } - }, - suppressFailures: { - serializedName: "properties.suppressFailures", - type: { - name: "Boolean" - } - }, - protectedSettingsFromKeyVault: { - serializedName: "properties.protectedSettingsFromKeyVault", - type: { - name: "Dictionary", - value: { type: { name: "any" } } - } } } } }; -export const VirtualMachineScaleSetVMExtension: coreClient.CompositeMapper = { +export const CapacityReservationGroupUpdate: coreClient.CompositeMapper = { type: { name: "Composite", - className: "VirtualMachineScaleSetVMExtension", + className: "CapacityReservationGroupUpdate", modelProperties: { - ...SubResourceReadOnly.type.modelProperties, - name: { - serializedName: "name", + ...UpdateResource.type.modelProperties, + capacityReservations: { + serializedName: "properties.capacityReservations", readOnly: true, type: { - name: "String" + name: "Sequence", + element: { + type: { + name: "Composite", + className: "SubResourceReadOnly" + } + } } }, - type: { - serializedName: "type", + virtualMachinesAssociated: { + serializedName: "properties.virtualMachinesAssociated", readOnly: true, type: { - name: "String" - } - }, - forceUpdateTag: { - serializedName: "properties.forceUpdateTag", - type: { - name: "String" + name: "Sequence", + element: { + type: { + name: "Composite", + className: "SubResourceReadOnly" + } + } } }, - publisher: { - serializedName: "properties.publisher", + instanceView: { + serializedName: "properties.instanceView", type: { - name: "String" + name: "Composite", + className: "CapacityReservationGroupInstanceView" } - }, - typePropertiesType: { - serializedName: "properties.type", + } + } + } +}; + +export const CapacityReservationUpdate: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "CapacityReservationUpdate", + modelProperties: { + ...UpdateResource.type.modelProperties, + sku: { + serializedName: "sku", type: { - name: "String" + name: "Composite", + className: "Sku" } }, - typeHandlerVersion: { - serializedName: "properties.typeHandlerVersion", + reservationId: { + serializedName: "properties.reservationId", + readOnly: true, type: { name: "String" } }, - autoUpgradeMinorVersion: { - serializedName: "properties.autoUpgradeMinorVersion", - type: { - name: "Boolean" - } - }, - enableAutomaticUpgrade: { - serializedName: "properties.enableAutomaticUpgrade", - type: { - name: "Boolean" - } - }, - settings: { - serializedName: "properties.settings", + virtualMachinesAssociated: { + serializedName: "properties.virtualMachinesAssociated", + readOnly: true, type: { - name: "Dictionary", - value: { type: { name: "any" } } + name: "Sequence", + element: { + type: { + name: "Composite", + className: "SubResourceReadOnly" + } + } } }, - protectedSettings: { - serializedName: "properties.protectedSettings", + provisioningTime: { + serializedName: "properties.provisioningTime", + readOnly: true, type: { - name: "Dictionary", - value: { type: { name: "any" } } + name: "DateTime" } }, provisioningState: { @@ -14477,113 +14504,122 @@ export const VirtualMachineScaleSetVMExtension: coreClient.CompositeMapper = { serializedName: "properties.instanceView", type: { name: "Composite", - className: "VirtualMachineExtensionInstanceView" - } - }, - suppressFailures: { - serializedName: "properties.suppressFailures", - type: { - name: "Boolean" + className: "CapacityReservationInstanceView" } }, - protectedSettingsFromKeyVault: { - serializedName: "properties.protectedSettingsFromKeyVault", + timeCreated: { + serializedName: "properties.timeCreated", + readOnly: true, type: { - name: "Dictionary", - value: { type: { name: "any" } } + name: "DateTime" } } } } }; -export const VirtualMachineScaleSetVMExtensionUpdate: coreClient.CompositeMapper = { +export const VirtualMachineRunCommandUpdate: coreClient.CompositeMapper = { type: { name: "Composite", - className: "VirtualMachineScaleSetVMExtensionUpdate", + className: "VirtualMachineRunCommandUpdate", modelProperties: { - ...SubResourceReadOnly.type.modelProperties, - name: { - serializedName: "name", - readOnly: true, + ...UpdateResource.type.modelProperties, + source: { + serializedName: "properties.source", type: { - name: "String" + name: "Composite", + className: "VirtualMachineRunCommandScriptSource" } }, - type: { - serializedName: "type", - readOnly: true, + parameters: { + serializedName: "properties.parameters", type: { - name: "String" + name: "Sequence", + element: { + type: { + name: "Composite", + className: "RunCommandInputParameter" + } + } } }, - forceUpdateTag: { - serializedName: "properties.forceUpdateTag", + protectedParameters: { + serializedName: "properties.protectedParameters", type: { - name: "String" + name: "Sequence", + element: { + type: { + name: "Composite", + className: "RunCommandInputParameter" + } + } } }, - publisher: { - serializedName: "properties.publisher", + asyncExecution: { + defaultValue: false, + serializedName: "properties.asyncExecution", type: { - name: "String" + name: "Boolean" } }, - typePropertiesType: { - serializedName: "properties.type", + runAsUser: { + serializedName: "properties.runAsUser", type: { name: "String" } }, - typeHandlerVersion: { - serializedName: "properties.typeHandlerVersion", + runAsPassword: { + serializedName: "properties.runAsPassword", type: { name: "String" } }, - autoUpgradeMinorVersion: { - serializedName: "properties.autoUpgradeMinorVersion", - type: { - name: "Boolean" - } - }, - enableAutomaticUpgrade: { - serializedName: "properties.enableAutomaticUpgrade", + timeoutInSeconds: { + serializedName: "properties.timeoutInSeconds", type: { - name: "Boolean" + name: "Number" } }, - settings: { - serializedName: "properties.settings", + outputBlobUri: { + serializedName: "properties.outputBlobUri", type: { - name: "Dictionary", - value: { type: { name: "any" } } + name: "String" } }, - protectedSettings: { - serializedName: "properties.protectedSettings", + errorBlobUri: { + serializedName: "properties.errorBlobUri", type: { - name: "Dictionary", - value: { type: { name: "any" } } + name: "String" } }, - suppressFailures: { - serializedName: "properties.suppressFailures", + provisioningState: { + serializedName: "properties.provisioningState", + readOnly: true, type: { - name: "Boolean" + name: "String" } }, - protectedSettingsFromKeyVault: { - serializedName: "properties.protectedSettingsFromKeyVault", + instanceView: { + serializedName: "properties.instanceView", type: { - name: "Dictionary", - value: { type: { name: "any" } } + name: "Composite", + className: "VirtualMachineRunCommandInstanceView" } } } } }; +export const VirtualMachineScaleSetVMReimageParameters: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "VirtualMachineScaleSetVMReimageParameters", + modelProperties: { + ...VirtualMachineReimageParameters.type.modelProperties + } + } +}; + export const DedicatedHostInstanceViewWithName: coreClient.CompositeMapper = { type: { name: "Composite", @@ -14717,19 +14753,9 @@ export const CapacityReservationInstanceViewWithName: coreClient.CompositeMapper serializedName: "name", readOnly: true, type: { - name: "String" - } - } - } - } -}; - -export const VirtualMachineScaleSetVMReimageParameters: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "VirtualMachineScaleSetVMReimageParameters", - modelProperties: { - ...VirtualMachineReimageParameters.type.modelProperties + name: "String" + } + } } } }; @@ -14796,123 +14822,6 @@ export const RunCommandDocument: coreClient.CompositeMapper = { } }; -export const DiskRestorePoint: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "DiskRestorePoint", - modelProperties: { - ...ProxyOnlyResource.type.modelProperties, - timeCreated: { - serializedName: "properties.timeCreated", - readOnly: true, - type: { - name: "DateTime" - } - }, - sourceResourceId: { - serializedName: "properties.sourceResourceId", - readOnly: true, - type: { - name: "String" - } - }, - osType: { - serializedName: "properties.osType", - readOnly: true, - type: { - name: "Enum", - allowedValues: ["Windows", "Linux"] - } - }, - hyperVGeneration: { - serializedName: "properties.hyperVGeneration", - type: { - name: "String" - } - }, - purchasePlan: { - serializedName: "properties.purchasePlan", - type: { - name: "Composite", - className: "PurchasePlanAutoGenerated" - } - }, - supportedCapabilities: { - serializedName: "properties.supportedCapabilities", - type: { - name: "Composite", - className: "SupportedCapabilities" - } - }, - familyId: { - serializedName: "properties.familyId", - readOnly: true, - type: { - name: "String" - } - }, - sourceUniqueId: { - serializedName: "properties.sourceUniqueId", - readOnly: true, - type: { - name: "String" - } - }, - encryption: { - serializedName: "properties.encryption", - type: { - name: "Composite", - className: "Encryption" - } - }, - supportsHibernation: { - serializedName: "properties.supportsHibernation", - type: { - name: "Boolean" - } - }, - networkAccessPolicy: { - serializedName: "properties.networkAccessPolicy", - type: { - name: "String" - } - }, - publicNetworkAccess: { - serializedName: "properties.publicNetworkAccess", - type: { - name: "String" - } - }, - diskAccessId: { - serializedName: "properties.diskAccessId", - type: { - name: "String" - } - }, - completionPercent: { - serializedName: "properties.completionPercent", - type: { - name: "Number" - } - }, - replicationState: { - serializedName: "properties.replicationState", - readOnly: true, - type: { - name: "String" - } - }, - sourceResourceLocation: { - serializedName: "properties.sourceResourceLocation", - readOnly: true, - type: { - name: "String" - } - } - } - } -}; - export const GalleryUpdate: coreClient.CompositeMapper = { type: { name: "Composite", @@ -15066,12 +14975,6 @@ export const GalleryImageUpdate: coreClient.CompositeMapper = { } } } - }, - architecture: { - serializedName: "properties.architecture", - type: { - name: "String" - } } } } @@ -15223,6 +15126,20 @@ export const GalleryApplicationVersionPublishingProfile: coreClient.CompositeMap className: "UserArtifactManage" } }, + settings: { + serializedName: "settings", + type: { + name: "Composite", + className: "UserArtifactSettings" + } + }, + advancedSettings: { + serializedName: "advancedSettings", + type: { + name: "Dictionary", + value: { type: { name: "String" } } + } + }, enableHealthCheck: { serializedName: "enableHealthCheck", type: { @@ -15294,6 +15211,123 @@ export const GalleryDataDiskImage: coreClient.CompositeMapper = { } }; +export const DiskRestorePoint: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "DiskRestorePoint", + modelProperties: { + ...ProxyOnlyResource.type.modelProperties, + timeCreated: { + serializedName: "properties.timeCreated", + readOnly: true, + type: { + name: "DateTime" + } + }, + sourceResourceId: { + serializedName: "properties.sourceResourceId", + readOnly: true, + type: { + name: "String" + } + }, + osType: { + serializedName: "properties.osType", + readOnly: true, + type: { + name: "Enum", + allowedValues: ["Windows", "Linux"] + } + }, + hyperVGeneration: { + serializedName: "properties.hyperVGeneration", + type: { + name: "String" + } + }, + purchasePlan: { + serializedName: "properties.purchasePlan", + type: { + name: "Composite", + className: "PurchasePlanAutoGenerated" + } + }, + supportedCapabilities: { + serializedName: "properties.supportedCapabilities", + type: { + name: "Composite", + className: "SupportedCapabilities" + } + }, + familyId: { + serializedName: "properties.familyId", + readOnly: true, + type: { + name: "String" + } + }, + sourceUniqueId: { + serializedName: "properties.sourceUniqueId", + readOnly: true, + type: { + name: "String" + } + }, + encryption: { + serializedName: "properties.encryption", + type: { + name: "Composite", + className: "Encryption" + } + }, + supportsHibernation: { + serializedName: "properties.supportsHibernation", + type: { + name: "Boolean" + } + }, + networkAccessPolicy: { + serializedName: "properties.networkAccessPolicy", + type: { + name: "String" + } + }, + publicNetworkAccess: { + serializedName: "properties.publicNetworkAccess", + type: { + name: "String" + } + }, + diskAccessId: { + serializedName: "properties.diskAccessId", + type: { + name: "String" + } + }, + completionPercent: { + serializedName: "properties.completionPercent", + type: { + name: "Number" + } + }, + replicationState: { + serializedName: "properties.replicationState", + readOnly: true, + type: { + name: "String" + } + }, + sourceResourceLocation: { + serializedName: "properties.sourceResourceLocation", + readOnly: true, + type: { + name: "String" + } + } + } + } +}; + export const PirSharedGalleryResource: coreClient.CompositeMapper = { type: { name: "Composite", @@ -15481,12 +15515,6 @@ export const VirtualMachineImage: coreClient.CompositeMapper = { } } } - }, - architecture: { - serializedName: "properties.architecture", - type: { - name: "String" - } } } } diff --git a/sdk/compute/arm-compute/src/models/parameters.ts b/sdk/compute/arm-compute/src/models/parameters.ts index 3b84e2941ec9..66883bf6c839 100644 --- a/sdk/compute/arm-compute/src/models/parameters.ts +++ b/sdk/compute/arm-compute/src/models/parameters.ts @@ -12,6 +12,27 @@ import { OperationQueryParameter } from "@azure/core-client"; import { + VirtualMachineScaleSet as VirtualMachineScaleSetMapper, + VirtualMachineScaleSetUpdate as VirtualMachineScaleSetUpdateMapper, + VirtualMachineScaleSetVMInstanceIDs as VirtualMachineScaleSetVMInstanceIDsMapper, + VirtualMachineScaleSetVMInstanceRequiredIDs as VirtualMachineScaleSetVMInstanceRequiredIDsMapper, + VirtualMachineScaleSetReimageParameters as VirtualMachineScaleSetReimageParametersMapper, + VMScaleSetConvertToSinglePlacementGroupInput as VMScaleSetConvertToSinglePlacementGroupInputMapper, + OrchestrationServiceStateInput as OrchestrationServiceStateInputMapper, + VirtualMachineScaleSetExtension as VirtualMachineScaleSetExtensionMapper, + VirtualMachineScaleSetExtensionUpdate as VirtualMachineScaleSetExtensionUpdateMapper, + VirtualMachineScaleSetVMExtension as VirtualMachineScaleSetVMExtensionMapper, + VirtualMachineScaleSetVMExtensionUpdate as VirtualMachineScaleSetVMExtensionUpdateMapper, + VirtualMachineScaleSetVMReimageParameters as VirtualMachineScaleSetVMReimageParametersMapper, + VirtualMachineScaleSetVM as VirtualMachineScaleSetVMMapper, + RunCommandInput as RunCommandInputMapper, + VirtualMachineExtension as VirtualMachineExtensionMapper, + VirtualMachineExtensionUpdate as VirtualMachineExtensionUpdateMapper, + VirtualMachineCaptureParameters as VirtualMachineCaptureParametersMapper, + VirtualMachine as VirtualMachineMapper, + VirtualMachineUpdate as VirtualMachineUpdateMapper, + VirtualMachineReimageParameters as VirtualMachineReimageParametersMapper, + VirtualMachineInstallPatchesParameters as VirtualMachineInstallPatchesParametersMapper, AvailabilitySet as AvailabilitySetMapper, AvailabilitySetUpdate as AvailabilitySetUpdateMapper, ProximityPlacementGroup as ProximityPlacementGroupMapper, @@ -22,21 +43,6 @@ import { DedicatedHostUpdate as DedicatedHostUpdateMapper, SshPublicKeyResource as SshPublicKeyResourceMapper, SshPublicKeyUpdateResource as SshPublicKeyUpdateResourceMapper, - VirtualMachineExtension as VirtualMachineExtensionMapper, - VirtualMachineExtensionUpdate as VirtualMachineExtensionUpdateMapper, - VirtualMachineCaptureParameters as VirtualMachineCaptureParametersMapper, - VirtualMachine as VirtualMachineMapper, - VirtualMachineUpdate as VirtualMachineUpdateMapper, - VirtualMachineReimageParameters as VirtualMachineReimageParametersMapper, - VirtualMachineInstallPatchesParameters as VirtualMachineInstallPatchesParametersMapper, - RunCommandInput as RunCommandInputMapper, - VirtualMachineScaleSet as VirtualMachineScaleSetMapper, - VirtualMachineScaleSetUpdate as VirtualMachineScaleSetUpdateMapper, - VirtualMachineScaleSetVMInstanceIDs as VirtualMachineScaleSetVMInstanceIDsMapper, - VirtualMachineScaleSetVMInstanceRequiredIDs as VirtualMachineScaleSetVMInstanceRequiredIDsMapper, - VirtualMachineScaleSetReimageParameters as VirtualMachineScaleSetReimageParametersMapper, - VMScaleSetConvertToSinglePlacementGroupInput as VMScaleSetConvertToSinglePlacementGroupInputMapper, - OrchestrationServiceStateInput as OrchestrationServiceStateInputMapper, Image as ImageMapper, ImageUpdate as ImageUpdateMapper, RestorePointCollection as RestorePointCollectionMapper, @@ -46,26 +52,10 @@ import { CapacityReservationGroupUpdate as CapacityReservationGroupUpdateMapper, CapacityReservation as CapacityReservationMapper, CapacityReservationUpdate as CapacityReservationUpdateMapper, - VirtualMachineScaleSetExtension as VirtualMachineScaleSetExtensionMapper, - VirtualMachineScaleSetExtensionUpdate as VirtualMachineScaleSetExtensionUpdateMapper, - VirtualMachineScaleSetVMExtension as VirtualMachineScaleSetVMExtensionMapper, - VirtualMachineScaleSetVMExtensionUpdate as VirtualMachineScaleSetVMExtensionUpdateMapper, - VirtualMachineScaleSetVMReimageParameters as VirtualMachineScaleSetVMReimageParametersMapper, - VirtualMachineScaleSetVM as VirtualMachineScaleSetVMMapper, RequestRateByIntervalInput as RequestRateByIntervalInputMapper, ThrottledRequestsInput as ThrottledRequestsInputMapper, VirtualMachineRunCommand as VirtualMachineRunCommandMapper, VirtualMachineRunCommandUpdate as VirtualMachineRunCommandUpdateMapper, - Disk as DiskMapper, - DiskUpdate as DiskUpdateMapper, - GrantAccessData as GrantAccessDataMapper, - Snapshot as SnapshotMapper, - SnapshotUpdate as SnapshotUpdateMapper, - DiskEncryptionSet as DiskEncryptionSetMapper, - DiskEncryptionSetUpdate as DiskEncryptionSetUpdateMapper, - DiskAccess as DiskAccessMapper, - DiskAccessUpdate as DiskAccessUpdateMapper, - PrivateEndpointConnection as PrivateEndpointConnectionMapper, Gallery as GalleryMapper, GalleryUpdate as GalleryUpdateMapper, GalleryImage as GalleryImageMapper, @@ -77,6 +67,16 @@ import { GalleryApplicationVersion as GalleryApplicationVersionMapper, GalleryApplicationVersionUpdate as GalleryApplicationVersionUpdateMapper, SharingUpdate as SharingUpdateMapper, + Disk as DiskMapper, + DiskUpdate as DiskUpdateMapper, + GrantAccessData as GrantAccessDataMapper, + Snapshot as SnapshotMapper, + SnapshotUpdate as SnapshotUpdateMapper, + DiskEncryptionSet as DiskEncryptionSetMapper, + DiskEncryptionSetUpdate as DiskEncryptionSetUpdateMapper, + DiskAccess as DiskAccessMapper, + DiskAccessUpdate as DiskAccessUpdateMapper, + PrivateEndpointConnection as PrivateEndpointConnectionMapper, CloudService as CloudServiceMapper, CloudServiceUpdate as CloudServiceUpdateMapper, RoleInstances as RoleInstancesMapper, @@ -110,7 +110,7 @@ export const $host: OperationURLParameter = { export const apiVersion: OperationQueryParameter = { parameterPath: "apiVersion", mapper: { - defaultValue: "2021-11-01", + defaultValue: "2022-03-01", isConstant: true, serializedName: "api-version", type: { @@ -119,6 +119,43 @@ export const apiVersion: OperationQueryParameter = { } }; +export const location: OperationURLParameter = { + parameterPath: "location", + mapper: { + constraints: { + Pattern: new RegExp("^[-\\w\\._]+$") + }, + serializedName: "location", + required: true, + type: { + name: "String" + } + } +}; + +export const subscriptionId: OperationURLParameter = { + parameterPath: "subscriptionId", + mapper: { + serializedName: "subscriptionId", + required: true, + type: { + name: "String" + } + } +}; + +export const nextLink: OperationURLParameter = { + parameterPath: "nextLink", + mapper: { + serializedName: "nextLink", + required: true, + type: { + name: "String" + } + }, + skipEncoding: true +}; + export const contentType: OperationParameter = { parameterPath: ["options", "contentType"], mapper: { @@ -133,7 +170,7 @@ export const contentType: OperationParameter = { export const parameters: OperationParameter = { parameterPath: "parameters", - mapper: AvailabilitySetMapper + mapper: VirtualMachineScaleSetMapper }; export const resourceGroupName: OperationURLParameter = { @@ -147,10 +184,10 @@ export const resourceGroupName: OperationURLParameter = { } }; -export const availabilitySetName: OperationURLParameter = { - parameterPath: "availabilitySetName", +export const vmScaleSetName: OperationURLParameter = { + parameterPath: "vmScaleSetName", mapper: { - serializedName: "availabilitySetName", + serializedName: "vmScaleSetName", required: true, type: { name: "String" @@ -158,22 +195,21 @@ export const availabilitySetName: OperationURLParameter = { } }; -export const subscriptionId: OperationURLParameter = { - parameterPath: "subscriptionId", +export const parameters1: OperationParameter = { + parameterPath: "parameters", + mapper: VirtualMachineScaleSetUpdateMapper +}; + +export const forceDeletion: OperationQueryParameter = { + parameterPath: ["options", "forceDeletion"], mapper: { - serializedName: "subscriptionId", - required: true, + serializedName: "forceDeletion", type: { - name: "String" + name: "Boolean" } } }; -export const parameters1: OperationParameter = { - parameterPath: "parameters", - mapper: AvailabilitySetUpdateMapper -}; - export const expand: OperationQueryParameter = { parameterPath: ["options", "expand"], mapper: { @@ -184,58 +220,82 @@ export const expand: OperationQueryParameter = { } }; -export const nextLink: OperationURLParameter = { - parameterPath: "nextLink", +export const vmInstanceIDs: OperationParameter = { + parameterPath: ["options", "vmInstanceIDs"], + mapper: VirtualMachineScaleSetVMInstanceIDsMapper +}; + +export const vmInstanceIDs1: OperationParameter = { + parameterPath: "vmInstanceIDs", + mapper: VirtualMachineScaleSetVMInstanceRequiredIDsMapper +}; + +export const skipShutdown: OperationQueryParameter = { + parameterPath: ["options", "skipShutdown"], mapper: { - serializedName: "nextLink", - required: true, + defaultValue: false, + serializedName: "skipShutdown", type: { - name: "String" + name: "Boolean" } - }, - skipEncoding: true + } }; -export const parameters2: OperationParameter = { - parameterPath: "parameters", - mapper: ProximityPlacementGroupMapper +export const vmScaleSetReimageInput: OperationParameter = { + parameterPath: ["options", "vmScaleSetReimageInput"], + mapper: VirtualMachineScaleSetReimageParametersMapper }; -export const proximityPlacementGroupName: OperationURLParameter = { - parameterPath: "proximityPlacementGroupName", +export const platformUpdateDomain: OperationQueryParameter = { + parameterPath: "platformUpdateDomain", mapper: { - serializedName: "proximityPlacementGroupName", + serializedName: "platformUpdateDomain", required: true, type: { - name: "String" + name: "Number" } } }; -export const parameters3: OperationParameter = { - parameterPath: "parameters", - mapper: ProximityPlacementGroupUpdateMapper +export const zone: OperationQueryParameter = { + parameterPath: ["options", "zone"], + mapper: { + serializedName: "zone", + type: { + name: "String" + } + } }; -export const includeColocationStatus: OperationQueryParameter = { - parameterPath: ["options", "includeColocationStatus"], +export const placementGroupId: OperationQueryParameter = { + parameterPath: ["options", "placementGroupId"], mapper: { - serializedName: "includeColocationStatus", + serializedName: "placementGroupId", type: { name: "String" } } }; -export const parameters4: OperationParameter = { +export const parameters2: OperationParameter = { parameterPath: "parameters", - mapper: DedicatedHostGroupMapper + mapper: VMScaleSetConvertToSinglePlacementGroupInputMapper }; -export const hostGroupName: OperationURLParameter = { - parameterPath: "hostGroupName", +export const parameters3: OperationParameter = { + parameterPath: "parameters", + mapper: OrchestrationServiceStateInputMapper +}; + +export const extensionParameters: OperationParameter = { + parameterPath: "extensionParameters", + mapper: VirtualMachineScaleSetExtensionMapper +}; + +export const vmssExtensionName: OperationURLParameter = { + parameterPath: "vmssExtensionName", mapper: { - serializedName: "hostGroupName", + serializedName: "vmssExtensionName", required: true, type: { name: "String" @@ -243,9 +303,9 @@ export const hostGroupName: OperationURLParameter = { } }; -export const parameters5: OperationParameter = { - parameterPath: "parameters", - mapper: DedicatedHostGroupUpdateMapper +export const extensionParameters1: OperationParameter = { + parameterPath: "extensionParameters", + mapper: VirtualMachineScaleSetExtensionUpdateMapper }; export const expand1: OperationQueryParameter = { @@ -253,21 +313,20 @@ export const expand1: OperationQueryParameter = { mapper: { serializedName: "$expand", type: { - name: "Enum", - allowedValues: ["instanceView", "userData"] + name: "String" } } }; -export const parameters6: OperationParameter = { - parameterPath: "parameters", - mapper: DedicatedHostMapper +export const extensionParameters2: OperationParameter = { + parameterPath: "extensionParameters", + mapper: VirtualMachineScaleSetVMExtensionMapper }; -export const hostName: OperationURLParameter = { - parameterPath: "hostName", +export const instanceId: OperationURLParameter = { + parameterPath: "instanceId", mapper: { - serializedName: "hostName", + serializedName: "instanceId", required: true, type: { name: "String" @@ -275,20 +334,10 @@ export const hostName: OperationURLParameter = { } }; -export const parameters7: OperationParameter = { - parameterPath: "parameters", - mapper: DedicatedHostUpdateMapper -}; - -export const parameters8: OperationParameter = { - parameterPath: "parameters", - mapper: SshPublicKeyResourceMapper -}; - -export const sshPublicKeyName: OperationURLParameter = { - parameterPath: "sshPublicKeyName", +export const vmExtensionName: OperationURLParameter = { + parameterPath: "vmExtensionName", mapper: { - serializedName: "sshPublicKeyName", + serializedName: "vmExtensionName", required: true, type: { name: "String" @@ -296,37 +345,36 @@ export const sshPublicKeyName: OperationURLParameter = { } }; -export const parameters9: OperationParameter = { - parameterPath: "parameters", - mapper: SshPublicKeyUpdateResourceMapper +export const extensionParameters3: OperationParameter = { + parameterPath: "extensionParameters", + mapper: VirtualMachineScaleSetVMExtensionUpdateMapper }; -export const location: OperationURLParameter = { - parameterPath: "location", - mapper: { - serializedName: "location", - required: true, - type: { - name: "String" - } - } +export const vmScaleSetVMReimageInput: OperationParameter = { + parameterPath: ["options", "vmScaleSetVMReimageInput"], + mapper: VirtualMachineScaleSetVMReimageParametersMapper }; -export const publisherName: OperationURLParameter = { - parameterPath: "publisherName", +export const parameters4: OperationParameter = { + parameterPath: "parameters", + mapper: VirtualMachineScaleSetVMMapper +}; + +export const expand2: OperationQueryParameter = { + parameterPath: ["options", "expand"], mapper: { - serializedName: "publisherName", - required: true, + serializedName: "$expand", type: { - name: "String" + name: "Enum", + allowedValues: ["instanceView", "userData"] } } }; -export const typeParam: OperationURLParameter = { - parameterPath: "typeParam", +export const virtualMachineScaleSetName: OperationURLParameter = { + parameterPath: "virtualMachineScaleSetName", mapper: { - serializedName: "type", + serializedName: "virtualMachineScaleSetName", required: true, type: { name: "String" @@ -334,48 +382,54 @@ export const typeParam: OperationURLParameter = { } }; -export const version: OperationURLParameter = { - parameterPath: "version", +export const filter: OperationQueryParameter = { + parameterPath: ["options", "filter"], mapper: { - serializedName: "version", - required: true, + serializedName: "$filter", type: { name: "String" } } }; -export const filter: OperationQueryParameter = { - parameterPath: ["options", "filter"], +export const select: OperationQueryParameter = { + parameterPath: ["options", "select"], mapper: { - serializedName: "$filter", + serializedName: "$select", type: { name: "String" } } }; -export const top: OperationQueryParameter = { - parameterPath: ["options", "top"], +export const sasUriExpirationTimeInMinutes: OperationQueryParameter = { + parameterPath: ["options", "sasUriExpirationTimeInMinutes"], mapper: { - serializedName: "$top", + serializedName: "sasUriExpirationTimeInMinutes", type: { name: "Number" } } }; -export const orderby: OperationQueryParameter = { - parameterPath: ["options", "orderby"], +export const parameters5: OperationParameter = { + parameterPath: "parameters", + mapper: RunCommandInputMapper +}; + +export const accept1: OperationParameter = { + parameterPath: "accept", mapper: { - serializedName: "$orderby", + defaultValue: "application/json, text/json", + isConstant: true, + serializedName: "Accept", type: { name: "String" } } }; -export const extensionParameters: OperationParameter = { +export const extensionParameters4: OperationParameter = { parameterPath: "extensionParameters", mapper: VirtualMachineExtensionMapper }; @@ -391,26 +445,60 @@ export const vmName: OperationURLParameter = { } }; -export const vmExtensionName: OperationURLParameter = { - parameterPath: "vmExtensionName", +export const extensionParameters5: OperationParameter = { + parameterPath: "extensionParameters", + mapper: VirtualMachineExtensionUpdateMapper +}; + +export const parameters6: OperationParameter = { + parameterPath: "parameters", + mapper: VirtualMachineCaptureParametersMapper +}; + +export const parameters7: OperationParameter = { + parameterPath: "parameters", + mapper: VirtualMachineMapper +}; + +export const parameters8: OperationParameter = { + parameterPath: "parameters", + mapper: VirtualMachineUpdateMapper +}; + +export const hibernate: OperationQueryParameter = { + parameterPath: ["options", "hibernate"], mapper: { - serializedName: "vmExtensionName", - required: true, + serializedName: "hibernate", + type: { + name: "Boolean" + } + } +}; + +export const statusOnly: OperationQueryParameter = { + parameterPath: ["options", "statusOnly"], + mapper: { + serializedName: "statusOnly", type: { name: "String" } } }; -export const extensionParameters1: OperationParameter = { - parameterPath: "extensionParameters", - mapper: VirtualMachineExtensionUpdateMapper +export const parameters9: OperationParameter = { + parameterPath: ["options", "parameters"], + mapper: VirtualMachineReimageParametersMapper }; -export const offer: OperationURLParameter = { - parameterPath: "offer", +export const installPatchesInput: OperationParameter = { + parameterPath: "installPatchesInput", + mapper: VirtualMachineInstallPatchesParametersMapper +}; + +export const location1: OperationURLParameter = { + parameterPath: "location", mapper: { - serializedName: "offer", + serializedName: "location", required: true, type: { name: "String" @@ -418,10 +506,10 @@ export const offer: OperationURLParameter = { } }; -export const skus: OperationURLParameter = { - parameterPath: "skus", +export const publisherName: OperationURLParameter = { + parameterPath: "publisherName", mapper: { - serializedName: "skus", + serializedName: "publisherName", required: true, type: { name: "String" @@ -429,10 +517,10 @@ export const skus: OperationURLParameter = { } }; -export const edgeZone: OperationURLParameter = { - parameterPath: "edgeZone", +export const offer: OperationURLParameter = { + parameterPath: "offer", mapper: { - serializedName: "edgeZone", + serializedName: "offer", required: true, type: { name: "String" @@ -440,13 +528,21 @@ export const edgeZone: OperationURLParameter = { } }; -export const location1: OperationURLParameter = { - parameterPath: "location", +export const skus: OperationURLParameter = { + parameterPath: "skus", mapper: { - constraints: { - Pattern: new RegExp("^[-\\w\\._]+$") - }, - serializedName: "location", + serializedName: "skus", + required: true, + type: { + name: "String" + } + } +}; + +export const version: OperationURLParameter = { + parameterPath: "version", + mapper: { + serializedName: "version", required: true, type: { name: "String" @@ -454,187 +550,164 @@ export const location1: OperationURLParameter = { } }; -export const parameters10: OperationParameter = { - parameterPath: "parameters", - mapper: VirtualMachineCaptureParametersMapper -}; - -export const parameters11: OperationParameter = { - parameterPath: "parameters", - mapper: VirtualMachineMapper -}; - -export const parameters12: OperationParameter = { - parameterPath: "parameters", - mapper: VirtualMachineUpdateMapper -}; - -export const forceDeletion: OperationQueryParameter = { - parameterPath: ["options", "forceDeletion"], +export const top: OperationQueryParameter = { + parameterPath: ["options", "top"], mapper: { - serializedName: "forceDeletion", + serializedName: "$top", type: { - name: "Boolean" + name: "Number" } } }; -export const hibernate: OperationQueryParameter = { - parameterPath: ["options", "hibernate"], +export const orderby: OperationQueryParameter = { + parameterPath: ["options", "orderby"], mapper: { - serializedName: "hibernate", + serializedName: "$orderby", type: { - name: "Boolean" + name: "String" } } }; -export const statusOnly: OperationQueryParameter = { - parameterPath: ["options", "statusOnly"], +export const edgeZone: OperationURLParameter = { + parameterPath: "edgeZone", mapper: { - serializedName: "statusOnly", + serializedName: "edgeZone", + required: true, type: { name: "String" } } }; -export const skipShutdown: OperationQueryParameter = { - parameterPath: ["options", "skipShutdown"], +export const typeParam: OperationURLParameter = { + parameterPath: "typeParam", mapper: { - defaultValue: false, - serializedName: "skipShutdown", + serializedName: "type", + required: true, type: { - name: "Boolean" + name: "String" } } }; -export const parameters13: OperationParameter = { - parameterPath: ["options", "parameters"], - mapper: VirtualMachineReimageParametersMapper +export const parameters10: OperationParameter = { + parameterPath: "parameters", + mapper: AvailabilitySetMapper }; -export const sasUriExpirationTimeInMinutes: OperationQueryParameter = { - parameterPath: ["options", "sasUriExpirationTimeInMinutes"], +export const availabilitySetName: OperationURLParameter = { + parameterPath: "availabilitySetName", mapper: { - serializedName: "sasUriExpirationTimeInMinutes", + serializedName: "availabilitySetName", + required: true, type: { - name: "Number" + name: "String" } } }; -export const installPatchesInput: OperationParameter = { - parameterPath: "installPatchesInput", - mapper: VirtualMachineInstallPatchesParametersMapper +export const parameters11: OperationParameter = { + parameterPath: "parameters", + mapper: AvailabilitySetUpdateMapper }; -export const parameters14: OperationParameter = { +export const parameters12: OperationParameter = { parameterPath: "parameters", - mapper: RunCommandInputMapper + mapper: ProximityPlacementGroupMapper }; -export const accept1: OperationParameter = { - parameterPath: "accept", +export const proximityPlacementGroupName: OperationURLParameter = { + parameterPath: "proximityPlacementGroupName", mapper: { - defaultValue: "application/json, text/json", - isConstant: true, - serializedName: "Accept", + serializedName: "proximityPlacementGroupName", + required: true, type: { name: "String" } } }; -export const parameters15: OperationParameter = { +export const parameters13: OperationParameter = { parameterPath: "parameters", - mapper: VirtualMachineScaleSetMapper + mapper: ProximityPlacementGroupUpdateMapper }; -export const vmScaleSetName: OperationURLParameter = { - parameterPath: "vmScaleSetName", +export const includeColocationStatus: OperationQueryParameter = { + parameterPath: ["options", "includeColocationStatus"], mapper: { - serializedName: "vmScaleSetName", - required: true, + serializedName: "includeColocationStatus", type: { name: "String" } } }; -export const parameters16: OperationParameter = { +export const parameters14: OperationParameter = { parameterPath: "parameters", - mapper: VirtualMachineScaleSetUpdateMapper + mapper: DedicatedHostGroupMapper }; -export const expand2: OperationQueryParameter = { - parameterPath: ["options", "expand"], +export const hostGroupName: OperationURLParameter = { + parameterPath: "hostGroupName", mapper: { - serializedName: "$expand", + serializedName: "hostGroupName", + required: true, type: { name: "String" } } }; -export const vmInstanceIDs: OperationParameter = { - parameterPath: ["options", "vmInstanceIDs"], - mapper: VirtualMachineScaleSetVMInstanceIDsMapper -}; - -export const vmInstanceIDs1: OperationParameter = { - parameterPath: "vmInstanceIDs", - mapper: VirtualMachineScaleSetVMInstanceRequiredIDsMapper +export const parameters15: OperationParameter = { + parameterPath: "parameters", + mapper: DedicatedHostGroupUpdateMapper }; -export const vmScaleSetReimageInput: OperationParameter = { - parameterPath: ["options", "vmScaleSetReimageInput"], - mapper: VirtualMachineScaleSetReimageParametersMapper +export const parameters16: OperationParameter = { + parameterPath: "parameters", + mapper: DedicatedHostMapper }; -export const platformUpdateDomain: OperationQueryParameter = { - parameterPath: "platformUpdateDomain", +export const hostName: OperationURLParameter = { + parameterPath: "hostName", mapper: { - serializedName: "platformUpdateDomain", + serializedName: "hostName", required: true, type: { - name: "Number" + name: "String" } } }; -export const zone: OperationQueryParameter = { - parameterPath: ["options", "zone"], - mapper: { - serializedName: "zone", - type: { - name: "String" - } - } +export const parameters17: OperationParameter = { + parameterPath: "parameters", + mapper: DedicatedHostUpdateMapper }; -export const placementGroupId: OperationQueryParameter = { - parameterPath: ["options", "placementGroupId"], +export const parameters18: OperationParameter = { + parameterPath: "parameters", + mapper: SshPublicKeyResourceMapper +}; + +export const sshPublicKeyName: OperationURLParameter = { + parameterPath: "sshPublicKeyName", mapper: { - serializedName: "placementGroupId", + serializedName: "sshPublicKeyName", + required: true, type: { name: "String" } } }; -export const parameters17: OperationParameter = { - parameterPath: "parameters", - mapper: VMScaleSetConvertToSinglePlacementGroupInputMapper -}; - -export const parameters18: OperationParameter = { +export const parameters19: OperationParameter = { parameterPath: "parameters", - mapper: OrchestrationServiceStateInputMapper + mapper: SshPublicKeyUpdateResourceMapper }; -export const parameters19: OperationParameter = { +export const parameters20: OperationParameter = { parameterPath: "parameters", mapper: ImageMapper }; @@ -650,12 +723,12 @@ export const imageName: OperationURLParameter = { } }; -export const parameters20: OperationParameter = { +export const parameters21: OperationParameter = { parameterPath: "parameters", mapper: ImageUpdateMapper }; -export const parameters21: OperationParameter = { +export const parameters22: OperationParameter = { parameterPath: "parameters", mapper: RestorePointCollectionMapper }; @@ -671,7 +744,7 @@ export const restorePointCollectionName: OperationURLParameter = { } }; -export const parameters22: OperationParameter = { +export const parameters23: OperationParameter = { parameterPath: "parameters", mapper: RestorePointCollectionUpdateMapper }; @@ -686,7 +759,7 @@ export const expand3: OperationQueryParameter = { } }; -export const parameters23: OperationParameter = { +export const parameters24: OperationParameter = { parameterPath: "parameters", mapper: RestorePointMapper }; @@ -712,7 +785,7 @@ export const expand4: OperationQueryParameter = { } }; -export const parameters24: OperationParameter = { +export const parameters25: OperationParameter = { parameterPath: "parameters", mapper: CapacityReservationGroupMapper }; @@ -728,7 +801,7 @@ export const capacityReservationGroupName: OperationURLParameter = { } }; -export const parameters25: OperationParameter = { +export const parameters26: OperationParameter = { parameterPath: "parameters", mapper: CapacityReservationGroupUpdateMapper }; @@ -753,7 +826,7 @@ export const expand6: OperationQueryParameter = { } }; -export const parameters26: OperationParameter = { +export const parameters27: OperationParameter = { parameterPath: "parameters", mapper: CapacityReservationMapper }; @@ -769,7 +842,7 @@ export const capacityReservationName: OperationURLParameter = { } }; -export const parameters27: OperationParameter = { +export const parameters28: OperationParameter = { parameterPath: "parameters", mapper: CapacityReservationUpdateMapper }; @@ -784,36 +857,98 @@ export const expand7: OperationQueryParameter = { } }; -export const extensionParameters2: OperationParameter = { - parameterPath: "extensionParameters", - mapper: VirtualMachineScaleSetExtensionMapper +export const parameters29: OperationParameter = { + parameterPath: "parameters", + mapper: RequestRateByIntervalInputMapper +}; + +export const parameters30: OperationParameter = { + parameterPath: "parameters", + mapper: ThrottledRequestsInputMapper +}; + +export const commandId: OperationURLParameter = { + parameterPath: "commandId", + mapper: { + serializedName: "commandId", + required: true, + type: { + name: "String" + } + } +}; + +export const runCommand: OperationParameter = { + parameterPath: "runCommand", + mapper: VirtualMachineRunCommandMapper +}; + +export const runCommandName: OperationURLParameter = { + parameterPath: "runCommandName", + mapper: { + serializedName: "runCommandName", + required: true, + type: { + name: "String" + } + } +}; + +export const runCommand1: OperationParameter = { + parameterPath: "runCommand", + mapper: VirtualMachineRunCommandUpdateMapper +}; + +export const gallery: OperationParameter = { + parameterPath: "gallery", + mapper: GalleryMapper +}; + +export const galleryName: OperationURLParameter = { + parameterPath: "galleryName", + mapper: { + serializedName: "galleryName", + required: true, + type: { + name: "String" + } + } +}; + +export const gallery1: OperationParameter = { + parameterPath: "gallery", + mapper: GalleryUpdateMapper +}; + +export const select1: OperationQueryParameter = { + parameterPath: ["options", "select"], + mapper: { + serializedName: "$select", + type: { + name: "String" + } + } }; -export const vmssExtensionName: OperationURLParameter = { - parameterPath: "vmssExtensionName", +export const expand8: OperationQueryParameter = { + parameterPath: ["options", "expand"], mapper: { - serializedName: "vmssExtensionName", - required: true, + serializedName: "$expand", type: { name: "String" } } }; -export const extensionParameters3: OperationParameter = { - parameterPath: "extensionParameters", - mapper: VirtualMachineScaleSetExtensionUpdateMapper -}; - -export const extensionParameters4: OperationParameter = { - parameterPath: "extensionParameters", - mapper: VirtualMachineScaleSetVMExtensionMapper +export const galleryImage: OperationParameter = { + parameterPath: "galleryImage", + mapper: GalleryImageMapper }; -export const instanceId: OperationURLParameter = { - parameterPath: "instanceId", +export const galleryImageName: OperationURLParameter = { + parameterPath: "galleryImageName", mapper: { - serializedName: "instanceId", + serializedName: "galleryImageName", required: true, type: { name: "String" @@ -821,25 +956,20 @@ export const instanceId: OperationURLParameter = { } }; -export const extensionParameters5: OperationParameter = { - parameterPath: "extensionParameters", - mapper: VirtualMachineScaleSetVMExtensionUpdateMapper -}; - -export const vmScaleSetVMReimageInput: OperationParameter = { - parameterPath: ["options", "vmScaleSetVMReimageInput"], - mapper: VirtualMachineScaleSetVMReimageParametersMapper +export const galleryImage1: OperationParameter = { + parameterPath: "galleryImage", + mapper: GalleryImageUpdateMapper }; -export const parameters28: OperationParameter = { - parameterPath: "parameters", - mapper: VirtualMachineScaleSetVMMapper +export const galleryImageVersion: OperationParameter = { + parameterPath: "galleryImageVersion", + mapper: GalleryImageVersionMapper }; -export const virtualMachineScaleSetName: OperationURLParameter = { - parameterPath: "virtualMachineScaleSetName", +export const galleryImageVersionName: OperationURLParameter = { + parameterPath: "galleryImageVersionName", mapper: { - serializedName: "virtualMachineScaleSetName", + serializedName: "galleryImageVersionName", required: true, type: { name: "String" @@ -847,30 +977,30 @@ export const virtualMachineScaleSetName: OperationURLParameter = { } }; -export const select: OperationQueryParameter = { - parameterPath: ["options", "select"], +export const galleryImageVersion1: OperationParameter = { + parameterPath: "galleryImageVersion", + mapper: GalleryImageVersionUpdateMapper +}; + +export const expand9: OperationQueryParameter = { + parameterPath: ["options", "expand"], mapper: { - serializedName: "$select", + serializedName: "$expand", type: { name: "String" } } }; -export const parameters29: OperationParameter = { - parameterPath: "parameters", - mapper: RequestRateByIntervalInputMapper -}; - -export const parameters30: OperationParameter = { - parameterPath: "parameters", - mapper: ThrottledRequestsInputMapper +export const galleryApplication: OperationParameter = { + parameterPath: "galleryApplication", + mapper: GalleryApplicationMapper }; -export const commandId: OperationURLParameter = { - parameterPath: "commandId", +export const galleryApplicationName: OperationURLParameter = { + parameterPath: "galleryApplicationName", mapper: { - serializedName: "commandId", + serializedName: "galleryApplicationName", required: true, type: { name: "String" @@ -878,15 +1008,20 @@ export const commandId: OperationURLParameter = { } }; -export const runCommand: OperationParameter = { - parameterPath: "runCommand", - mapper: VirtualMachineRunCommandMapper +export const galleryApplication1: OperationParameter = { + parameterPath: "galleryApplication", + mapper: GalleryApplicationUpdateMapper }; -export const runCommandName: OperationURLParameter = { - parameterPath: "runCommandName", +export const galleryApplicationVersion: OperationParameter = { + parameterPath: "galleryApplicationVersion", + mapper: GalleryApplicationVersionMapper +}; + +export const galleryApplicationVersionName: OperationURLParameter = { + parameterPath: "galleryApplicationVersionName", mapper: { - serializedName: "runCommandName", + serializedName: "galleryApplicationVersionName", required: true, type: { name: "String" @@ -894,9 +1029,14 @@ export const runCommandName: OperationURLParameter = { } }; -export const runCommand1: OperationParameter = { - parameterPath: "runCommand", - mapper: VirtualMachineRunCommandUpdateMapper +export const galleryApplicationVersion1: OperationParameter = { + parameterPath: "galleryApplicationVersion", + mapper: GalleryApplicationVersionUpdateMapper +}; + +export const sharingUpdate: OperationParameter = { + parameterPath: "sharingUpdate", + mapper: SharingUpdateMapper }; export const apiVersion1: OperationQueryParameter = { @@ -940,7 +1080,7 @@ export const diskName: OperationURLParameter = { export const apiVersion2: OperationQueryParameter = { parameterPath: "apiVersion", mapper: { - defaultValue: "2021-12-01", + defaultValue: "2021-08-01", isConstant: true, serializedName: "api-version", type: { @@ -1060,158 +1200,6 @@ export const diskRestorePointName: OperationURLParameter = { } }; -export const gallery: OperationParameter = { - parameterPath: "gallery", - mapper: GalleryMapper -}; - -export const galleryName: OperationURLParameter = { - parameterPath: "galleryName", - mapper: { - serializedName: "galleryName", - required: true, - type: { - name: "String" - } - } -}; - -export const apiVersion3: OperationQueryParameter = { - parameterPath: "apiVersion", - mapper: { - defaultValue: "2021-10-01", - isConstant: true, - serializedName: "api-version", - type: { - name: "String" - } - } -}; - -export const gallery1: OperationParameter = { - parameterPath: "gallery", - mapper: GalleryUpdateMapper -}; - -export const select1: OperationQueryParameter = { - parameterPath: ["options", "select"], - mapper: { - serializedName: "$select", - type: { - name: "String" - } - } -}; - -export const expand8: OperationQueryParameter = { - parameterPath: ["options", "expand"], - mapper: { - serializedName: "$expand", - type: { - name: "String" - } - } -}; - -export const galleryImage: OperationParameter = { - parameterPath: "galleryImage", - mapper: GalleryImageMapper -}; - -export const galleryImageName: OperationURLParameter = { - parameterPath: "galleryImageName", - mapper: { - serializedName: "galleryImageName", - required: true, - type: { - name: "String" - } - } -}; - -export const galleryImage1: OperationParameter = { - parameterPath: "galleryImage", - mapper: GalleryImageUpdateMapper -}; - -export const galleryImageVersion: OperationParameter = { - parameterPath: "galleryImageVersion", - mapper: GalleryImageVersionMapper -}; - -export const galleryImageVersionName: OperationURLParameter = { - parameterPath: "galleryImageVersionName", - mapper: { - serializedName: "galleryImageVersionName", - required: true, - type: { - name: "String" - } - } -}; - -export const galleryImageVersion1: OperationParameter = { - parameterPath: "galleryImageVersion", - mapper: GalleryImageVersionUpdateMapper -}; - -export const expand9: OperationQueryParameter = { - parameterPath: ["options", "expand"], - mapper: { - serializedName: "$expand", - type: { - name: "String" - } - } -}; - -export const galleryApplication: OperationParameter = { - parameterPath: "galleryApplication", - mapper: GalleryApplicationMapper -}; - -export const galleryApplicationName: OperationURLParameter = { - parameterPath: "galleryApplicationName", - mapper: { - serializedName: "galleryApplicationName", - required: true, - type: { - name: "String" - } - } -}; - -export const galleryApplication1: OperationParameter = { - parameterPath: "galleryApplication", - mapper: GalleryApplicationUpdateMapper -}; - -export const galleryApplicationVersion: OperationParameter = { - parameterPath: "galleryApplicationVersion", - mapper: GalleryApplicationVersionMapper -}; - -export const galleryApplicationVersionName: OperationURLParameter = { - parameterPath: "galleryApplicationVersionName", - mapper: { - serializedName: "galleryApplicationVersionName", - required: true, - type: { - name: "String" - } - } -}; - -export const galleryApplicationVersion1: OperationParameter = { - parameterPath: "galleryApplicationVersion", - mapper: GalleryApplicationVersionUpdateMapper -}; - -export const sharingUpdate: OperationParameter = { - parameterPath: "sharingUpdate", - mapper: SharingUpdateMapper -}; - export const sharedTo: OperationQueryParameter = { parameterPath: ["options", "sharedTo"], mapper: { @@ -1266,7 +1254,7 @@ export const cloudServiceName: OperationURLParameter = { } }; -export const apiVersion4: OperationQueryParameter = { +export const apiVersion3: OperationQueryParameter = { parameterPath: "apiVersion", mapper: { defaultValue: "2021-03-01", diff --git a/sdk/compute/arm-compute/src/operations/availabilitySets.ts b/sdk/compute/arm-compute/src/operations/availabilitySets.ts index 165393ab8846..27fab002ab76 100644 --- a/sdk/compute/arm-compute/src/operations/availabilitySets.ts +++ b/sdk/compute/arm-compute/src/operations/availabilitySets.ts @@ -366,13 +366,13 @@ const createOrUpdateOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.CloudError } }, - requestBody: Parameters.parameters, + requestBody: Parameters.parameters10, queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, + Parameters.subscriptionId, Parameters.resourceGroupName, - Parameters.availabilitySetName, - Parameters.subscriptionId + Parameters.availabilitySetName ], headerParameters: [Parameters.accept, Parameters.contentType], mediaType: "json", @@ -390,13 +390,13 @@ const updateOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.CloudError } }, - requestBody: Parameters.parameters1, + requestBody: Parameters.parameters11, queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, + Parameters.subscriptionId, Parameters.resourceGroupName, - Parameters.availabilitySetName, - Parameters.subscriptionId + Parameters.availabilitySetName ], headerParameters: [Parameters.accept, Parameters.contentType], mediaType: "json", @@ -416,9 +416,9 @@ const deleteOperationSpec: coreClient.OperationSpec = { queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, + Parameters.subscriptionId, Parameters.resourceGroupName, - Parameters.availabilitySetName, - Parameters.subscriptionId + Parameters.availabilitySetName ], headerParameters: [Parameters.accept], serializer @@ -438,9 +438,9 @@ const getOperationSpec: coreClient.OperationSpec = { queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, + Parameters.subscriptionId, Parameters.resourceGroupName, - Parameters.availabilitySetName, - Parameters.subscriptionId + Parameters.availabilitySetName ], headerParameters: [Parameters.accept], serializer @@ -457,7 +457,7 @@ const listBySubscriptionOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.CloudError } }, - queryParameters: [Parameters.apiVersion, Parameters.expand], + queryParameters: [Parameters.apiVersion, Parameters.expand1], urlParameters: [Parameters.$host, Parameters.subscriptionId], headerParameters: [Parameters.accept], serializer @@ -477,8 +477,8 @@ const listOperationSpec: coreClient.OperationSpec = { queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, - Parameters.resourceGroupName, - Parameters.subscriptionId + Parameters.subscriptionId, + Parameters.resourceGroupName ], headerParameters: [Parameters.accept], serializer @@ -498,9 +498,9 @@ const listAvailableSizesOperationSpec: coreClient.OperationSpec = { queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, + Parameters.subscriptionId, Parameters.resourceGroupName, - Parameters.availabilitySetName, - Parameters.subscriptionId + Parameters.availabilitySetName ], headerParameters: [Parameters.accept], serializer @@ -516,7 +516,7 @@ const listBySubscriptionNextOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.CloudError } }, - queryParameters: [Parameters.apiVersion, Parameters.expand], + queryParameters: [Parameters.apiVersion, Parameters.expand1], urlParameters: [ Parameters.$host, Parameters.subscriptionId, @@ -539,9 +539,9 @@ const listNextOperationSpec: coreClient.OperationSpec = { queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, - Parameters.resourceGroupName, Parameters.subscriptionId, - Parameters.nextLink + Parameters.nextLink, + Parameters.resourceGroupName ], headerParameters: [Parameters.accept], serializer diff --git a/sdk/compute/arm-compute/src/operations/capacityReservationGroups.ts b/sdk/compute/arm-compute/src/operations/capacityReservationGroups.ts index 94b09246ce2c..52366178da1b 100644 --- a/sdk/compute/arm-compute/src/operations/capacityReservationGroups.ts +++ b/sdk/compute/arm-compute/src/operations/capacityReservationGroups.ts @@ -301,12 +301,12 @@ const createOrUpdateOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.CloudError } }, - requestBody: Parameters.parameters24, + requestBody: Parameters.parameters25, queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, - Parameters.resourceGroupName, Parameters.subscriptionId, + Parameters.resourceGroupName, Parameters.capacityReservationGroupName ], headerParameters: [Parameters.accept, Parameters.contentType], @@ -325,12 +325,12 @@ const updateOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.CloudError } }, - requestBody: Parameters.parameters25, + requestBody: Parameters.parameters26, queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, - Parameters.resourceGroupName, Parameters.subscriptionId, + Parameters.resourceGroupName, Parameters.capacityReservationGroupName ], headerParameters: [Parameters.accept, Parameters.contentType], @@ -351,8 +351,8 @@ const deleteOperationSpec: coreClient.OperationSpec = { queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, - Parameters.resourceGroupName, Parameters.subscriptionId, + Parameters.resourceGroupName, Parameters.capacityReservationGroupName ], headerParameters: [Parameters.accept], @@ -373,8 +373,8 @@ const getOperationSpec: coreClient.OperationSpec = { queryParameters: [Parameters.apiVersion, Parameters.expand5], urlParameters: [ Parameters.$host, - Parameters.resourceGroupName, Parameters.subscriptionId, + Parameters.resourceGroupName, Parameters.capacityReservationGroupName ], headerParameters: [Parameters.accept], @@ -395,8 +395,8 @@ const listByResourceGroupOperationSpec: coreClient.OperationSpec = { queryParameters: [Parameters.apiVersion, Parameters.expand6], urlParameters: [ Parameters.$host, - Parameters.resourceGroupName, - Parameters.subscriptionId + Parameters.subscriptionId, + Parameters.resourceGroupName ], headerParameters: [Parameters.accept], serializer @@ -432,9 +432,9 @@ const listByResourceGroupNextOperationSpec: coreClient.OperationSpec = { queryParameters: [Parameters.apiVersion, Parameters.expand6], urlParameters: [ Parameters.$host, - Parameters.resourceGroupName, Parameters.subscriptionId, - Parameters.nextLink + Parameters.nextLink, + Parameters.resourceGroupName ], headerParameters: [Parameters.accept], serializer diff --git a/sdk/compute/arm-compute/src/operations/capacityReservations.ts b/sdk/compute/arm-compute/src/operations/capacityReservations.ts index ed1e79636d7e..41f9820c326a 100644 --- a/sdk/compute/arm-compute/src/operations/capacityReservations.ts +++ b/sdk/compute/arm-compute/src/operations/capacityReservations.ts @@ -501,12 +501,12 @@ const createOrUpdateOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.CloudError } }, - requestBody: Parameters.parameters26, + requestBody: Parameters.parameters27, queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, - Parameters.resourceGroupName, Parameters.subscriptionId, + Parameters.resourceGroupName, Parameters.capacityReservationGroupName, Parameters.capacityReservationName ], @@ -535,12 +535,12 @@ const updateOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.CloudError } }, - requestBody: Parameters.parameters27, + requestBody: Parameters.parameters28, queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, - Parameters.resourceGroupName, Parameters.subscriptionId, + Parameters.resourceGroupName, Parameters.capacityReservationGroupName, Parameters.capacityReservationName ], @@ -564,8 +564,8 @@ const deleteOperationSpec: coreClient.OperationSpec = { queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, - Parameters.resourceGroupName, Parameters.subscriptionId, + Parameters.resourceGroupName, Parameters.capacityReservationGroupName, Parameters.capacityReservationName ], @@ -587,8 +587,8 @@ const getOperationSpec: coreClient.OperationSpec = { queryParameters: [Parameters.apiVersion, Parameters.expand7], urlParameters: [ Parameters.$host, - Parameters.resourceGroupName, Parameters.subscriptionId, + Parameters.resourceGroupName, Parameters.capacityReservationGroupName, Parameters.capacityReservationName ], @@ -610,8 +610,8 @@ const listByCapacityReservationGroupOperationSpec: coreClient.OperationSpec = { queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, - Parameters.resourceGroupName, Parameters.subscriptionId, + Parameters.resourceGroupName, Parameters.capacityReservationGroupName ], headerParameters: [Parameters.accept], @@ -631,9 +631,9 @@ const listByCapacityReservationGroupNextOperationSpec: coreClient.OperationSpec queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, - Parameters.resourceGroupName, Parameters.subscriptionId, Parameters.nextLink, + Parameters.resourceGroupName, Parameters.capacityReservationGroupName ], headerParameters: [Parameters.accept], diff --git a/sdk/compute/arm-compute/src/operations/cloudServiceOperatingSystems.ts b/sdk/compute/arm-compute/src/operations/cloudServiceOperatingSystems.ts index 68d6a3d7f029..25d8ed9d69d8 100644 --- a/sdk/compute/arm-compute/src/operations/cloudServiceOperatingSystems.ts +++ b/sdk/compute/arm-compute/src/operations/cloudServiceOperatingSystems.ts @@ -266,11 +266,11 @@ const getOSVersionOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.CloudError } }, - queryParameters: [Parameters.apiVersion4], + queryParameters: [Parameters.apiVersion3], urlParameters: [ Parameters.$host, Parameters.subscriptionId, - Parameters.location, + Parameters.location1, Parameters.osVersionName ], headerParameters: [Parameters.accept], @@ -288,11 +288,11 @@ const listOSVersionsOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.CloudError } }, - queryParameters: [Parameters.apiVersion4], + queryParameters: [Parameters.apiVersion3], urlParameters: [ Parameters.$host, Parameters.subscriptionId, - Parameters.location + Parameters.location1 ], headerParameters: [Parameters.accept], serializer @@ -309,11 +309,11 @@ const getOSFamilyOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.CloudError } }, - queryParameters: [Parameters.apiVersion4], + queryParameters: [Parameters.apiVersion3], urlParameters: [ Parameters.$host, Parameters.subscriptionId, - Parameters.location, + Parameters.location1, Parameters.osFamilyName ], headerParameters: [Parameters.accept], @@ -331,11 +331,11 @@ const listOSFamiliesOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.CloudError } }, - queryParameters: [Parameters.apiVersion4], + queryParameters: [Parameters.apiVersion3], urlParameters: [ Parameters.$host, Parameters.subscriptionId, - Parameters.location + Parameters.location1 ], headerParameters: [Parameters.accept], serializer @@ -351,12 +351,12 @@ const listOSVersionsNextOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.CloudError } }, - queryParameters: [Parameters.apiVersion4], + queryParameters: [Parameters.apiVersion3], urlParameters: [ Parameters.$host, Parameters.subscriptionId, Parameters.nextLink, - Parameters.location + Parameters.location1 ], headerParameters: [Parameters.accept], serializer @@ -372,12 +372,12 @@ const listOSFamiliesNextOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.CloudError } }, - queryParameters: [Parameters.apiVersion4], + queryParameters: [Parameters.apiVersion3], urlParameters: [ Parameters.$host, Parameters.subscriptionId, Parameters.nextLink, - Parameters.location + Parameters.location1 ], headerParameters: [Parameters.accept], serializer diff --git a/sdk/compute/arm-compute/src/operations/cloudServiceRoleInstances.ts b/sdk/compute/arm-compute/src/operations/cloudServiceRoleInstances.ts index 3637849f471e..ec163333bcaa 100644 --- a/sdk/compute/arm-compute/src/operations/cloudServiceRoleInstances.ts +++ b/sdk/compute/arm-compute/src/operations/cloudServiceRoleInstances.ts @@ -572,11 +572,11 @@ const deleteOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.CloudError } }, - queryParameters: [Parameters.apiVersion4], + queryParameters: [Parameters.apiVersion3], urlParameters: [ Parameters.$host, - Parameters.resourceGroupName, Parameters.subscriptionId, + Parameters.resourceGroupName, Parameters.roleInstanceName, Parameters.cloudServiceName ], @@ -595,11 +595,11 @@ const getOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.CloudError } }, - queryParameters: [Parameters.expand1, Parameters.apiVersion4], + queryParameters: [Parameters.expand2, Parameters.apiVersion3], urlParameters: [ Parameters.$host, - Parameters.resourceGroupName, Parameters.subscriptionId, + Parameters.resourceGroupName, Parameters.roleInstanceName, Parameters.cloudServiceName ], @@ -618,11 +618,11 @@ const getInstanceViewOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.CloudError } }, - queryParameters: [Parameters.apiVersion4], + queryParameters: [Parameters.apiVersion3], urlParameters: [ Parameters.$host, - Parameters.resourceGroupName, Parameters.subscriptionId, + Parameters.resourceGroupName, Parameters.roleInstanceName, Parameters.cloudServiceName ], @@ -641,11 +641,11 @@ const listOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.CloudError } }, - queryParameters: [Parameters.expand1, Parameters.apiVersion4], + queryParameters: [Parameters.expand2, Parameters.apiVersion3], urlParameters: [ Parameters.$host, - Parameters.resourceGroupName, Parameters.subscriptionId, + Parameters.resourceGroupName, Parameters.cloudServiceName ], headerParameters: [Parameters.accept], @@ -664,11 +664,11 @@ const restartOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.CloudError } }, - queryParameters: [Parameters.apiVersion4], + queryParameters: [Parameters.apiVersion3], urlParameters: [ Parameters.$host, - Parameters.resourceGroupName, Parameters.subscriptionId, + Parameters.resourceGroupName, Parameters.roleInstanceName, Parameters.cloudServiceName ], @@ -688,11 +688,11 @@ const reimageOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.CloudError } }, - queryParameters: [Parameters.apiVersion4], + queryParameters: [Parameters.apiVersion3], urlParameters: [ Parameters.$host, - Parameters.resourceGroupName, Parameters.subscriptionId, + Parameters.resourceGroupName, Parameters.roleInstanceName, Parameters.cloudServiceName ], @@ -712,11 +712,11 @@ const rebuildOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.CloudError } }, - queryParameters: [Parameters.apiVersion4], + queryParameters: [Parameters.apiVersion3], urlParameters: [ Parameters.$host, - Parameters.resourceGroupName, Parameters.subscriptionId, + Parameters.resourceGroupName, Parameters.roleInstanceName, Parameters.cloudServiceName ], @@ -733,11 +733,11 @@ const getRemoteDesktopFileOperationSpec: coreClient.OperationSpec = { }, default: {} }, - queryParameters: [Parameters.apiVersion4], + queryParameters: [Parameters.apiVersion3], urlParameters: [ Parameters.$host, - Parameters.resourceGroupName, Parameters.subscriptionId, + Parameters.resourceGroupName, Parameters.roleInstanceName, Parameters.cloudServiceName ], @@ -755,12 +755,12 @@ const listNextOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.CloudError } }, - queryParameters: [Parameters.expand1, Parameters.apiVersion4], + queryParameters: [Parameters.expand2, Parameters.apiVersion3], urlParameters: [ Parameters.$host, - Parameters.resourceGroupName, Parameters.subscriptionId, Parameters.nextLink, + Parameters.resourceGroupName, Parameters.cloudServiceName ], headerParameters: [Parameters.accept], diff --git a/sdk/compute/arm-compute/src/operations/cloudServiceRoles.ts b/sdk/compute/arm-compute/src/operations/cloudServiceRoles.ts index 387005245998..3bb1eae2b87c 100644 --- a/sdk/compute/arm-compute/src/operations/cloudServiceRoles.ts +++ b/sdk/compute/arm-compute/src/operations/cloudServiceRoles.ts @@ -174,11 +174,11 @@ const getOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.CloudError } }, - queryParameters: [Parameters.apiVersion4], + queryParameters: [Parameters.apiVersion3], urlParameters: [ Parameters.$host, - Parameters.resourceGroupName, Parameters.subscriptionId, + Parameters.resourceGroupName, Parameters.cloudServiceName, Parameters.roleName ], @@ -197,11 +197,11 @@ const listOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.CloudError } }, - queryParameters: [Parameters.apiVersion4], + queryParameters: [Parameters.apiVersion3], urlParameters: [ Parameters.$host, - Parameters.resourceGroupName, Parameters.subscriptionId, + Parameters.resourceGroupName, Parameters.cloudServiceName ], headerParameters: [Parameters.accept], @@ -218,12 +218,12 @@ const listNextOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.CloudError } }, - queryParameters: [Parameters.apiVersion4], + queryParameters: [Parameters.apiVersion3], urlParameters: [ Parameters.$host, - Parameters.resourceGroupName, Parameters.subscriptionId, Parameters.nextLink, + Parameters.resourceGroupName, Parameters.cloudServiceName ], headerParameters: [Parameters.accept], diff --git a/sdk/compute/arm-compute/src/operations/cloudServices.ts b/sdk/compute/arm-compute/src/operations/cloudServices.ts index fef5709d097d..0f18d6869f71 100644 --- a/sdk/compute/arm-compute/src/operations/cloudServices.ts +++ b/sdk/compute/arm-compute/src/operations/cloudServices.ts @@ -1008,11 +1008,11 @@ const createOrUpdateOperationSpec: coreClient.OperationSpec = { } }, requestBody: Parameters.parameters31, - queryParameters: [Parameters.apiVersion4], + queryParameters: [Parameters.apiVersion3], urlParameters: [ Parameters.$host, - Parameters.resourceGroupName, Parameters.subscriptionId, + Parameters.resourceGroupName, Parameters.cloudServiceName ], headerParameters: [Parameters.accept, Parameters.contentType], @@ -1041,11 +1041,11 @@ const updateOperationSpec: coreClient.OperationSpec = { } }, requestBody: Parameters.parameters32, - queryParameters: [Parameters.apiVersion4], + queryParameters: [Parameters.apiVersion3], urlParameters: [ Parameters.$host, - Parameters.resourceGroupName, Parameters.subscriptionId, + Parameters.resourceGroupName, Parameters.cloudServiceName ], headerParameters: [Parameters.accept, Parameters.contentType], @@ -1065,11 +1065,11 @@ const deleteOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.CloudError } }, - queryParameters: [Parameters.apiVersion4], + queryParameters: [Parameters.apiVersion3], urlParameters: [ Parameters.$host, - Parameters.resourceGroupName, Parameters.subscriptionId, + Parameters.resourceGroupName, Parameters.cloudServiceName ], headerParameters: [Parameters.accept], @@ -1087,11 +1087,11 @@ const getOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.CloudError } }, - queryParameters: [Parameters.apiVersion4], + queryParameters: [Parameters.apiVersion3], urlParameters: [ Parameters.$host, - Parameters.resourceGroupName, Parameters.subscriptionId, + Parameters.resourceGroupName, Parameters.cloudServiceName ], headerParameters: [Parameters.accept], @@ -1109,11 +1109,11 @@ const getInstanceViewOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.CloudError } }, - queryParameters: [Parameters.apiVersion4], + queryParameters: [Parameters.apiVersion3], urlParameters: [ Parameters.$host, - Parameters.resourceGroupName, Parameters.subscriptionId, + Parameters.resourceGroupName, Parameters.cloudServiceName ], headerParameters: [Parameters.accept], @@ -1131,7 +1131,7 @@ const listAllOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.CloudError } }, - queryParameters: [Parameters.apiVersion4], + queryParameters: [Parameters.apiVersion3], urlParameters: [Parameters.$host, Parameters.subscriptionId], headerParameters: [Parameters.accept], serializer @@ -1148,11 +1148,11 @@ const listOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.CloudError } }, - queryParameters: [Parameters.apiVersion4], + queryParameters: [Parameters.apiVersion3], urlParameters: [ Parameters.$host, - Parameters.resourceGroupName, - Parameters.subscriptionId + Parameters.subscriptionId, + Parameters.resourceGroupName ], headerParameters: [Parameters.accept], serializer @@ -1170,11 +1170,11 @@ const startOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.CloudError } }, - queryParameters: [Parameters.apiVersion4], + queryParameters: [Parameters.apiVersion3], urlParameters: [ Parameters.$host, - Parameters.resourceGroupName, Parameters.subscriptionId, + Parameters.resourceGroupName, Parameters.cloudServiceName ], headerParameters: [Parameters.accept], @@ -1193,11 +1193,11 @@ const powerOffOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.CloudError } }, - queryParameters: [Parameters.apiVersion4], + queryParameters: [Parameters.apiVersion3], urlParameters: [ Parameters.$host, - Parameters.resourceGroupName, Parameters.subscriptionId, + Parameters.resourceGroupName, Parameters.cloudServiceName ], headerParameters: [Parameters.accept], @@ -1217,11 +1217,11 @@ const restartOperationSpec: coreClient.OperationSpec = { } }, requestBody: Parameters.parameters33, - queryParameters: [Parameters.apiVersion4], + queryParameters: [Parameters.apiVersion3], urlParameters: [ Parameters.$host, - Parameters.resourceGroupName, Parameters.subscriptionId, + Parameters.resourceGroupName, Parameters.cloudServiceName ], headerParameters: [Parameters.accept, Parameters.contentType], @@ -1242,11 +1242,11 @@ const reimageOperationSpec: coreClient.OperationSpec = { } }, requestBody: Parameters.parameters33, - queryParameters: [Parameters.apiVersion4], + queryParameters: [Parameters.apiVersion3], urlParameters: [ Parameters.$host, - Parameters.resourceGroupName, Parameters.subscriptionId, + Parameters.resourceGroupName, Parameters.cloudServiceName ], headerParameters: [Parameters.accept, Parameters.contentType], @@ -1267,11 +1267,11 @@ const rebuildOperationSpec: coreClient.OperationSpec = { } }, requestBody: Parameters.parameters33, - queryParameters: [Parameters.apiVersion4], + queryParameters: [Parameters.apiVersion3], urlParameters: [ Parameters.$host, - Parameters.resourceGroupName, Parameters.subscriptionId, + Parameters.resourceGroupName, Parameters.cloudServiceName ], headerParameters: [Parameters.accept, Parameters.contentType], @@ -1292,11 +1292,11 @@ const deleteInstancesOperationSpec: coreClient.OperationSpec = { } }, requestBody: Parameters.parameters33, - queryParameters: [Parameters.apiVersion4], + queryParameters: [Parameters.apiVersion3], urlParameters: [ Parameters.$host, - Parameters.resourceGroupName, Parameters.subscriptionId, + Parameters.resourceGroupName, Parameters.cloudServiceName ], headerParameters: [Parameters.accept, Parameters.contentType], @@ -1314,7 +1314,7 @@ const listAllNextOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.CloudError } }, - queryParameters: [Parameters.apiVersion4], + queryParameters: [Parameters.apiVersion3], urlParameters: [ Parameters.$host, Parameters.subscriptionId, @@ -1334,12 +1334,12 @@ const listNextOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.CloudError } }, - queryParameters: [Parameters.apiVersion4], + queryParameters: [Parameters.apiVersion3], urlParameters: [ Parameters.$host, - Parameters.resourceGroupName, Parameters.subscriptionId, - Parameters.nextLink + Parameters.nextLink, + Parameters.resourceGroupName ], headerParameters: [Parameters.accept], serializer diff --git a/sdk/compute/arm-compute/src/operations/cloudServicesUpdateDomain.ts b/sdk/compute/arm-compute/src/operations/cloudServicesUpdateDomain.ts index e18328bd0016..80bc87f788c9 100644 --- a/sdk/compute/arm-compute/src/operations/cloudServicesUpdateDomain.ts +++ b/sdk/compute/arm-compute/src/operations/cloudServicesUpdateDomain.ts @@ -274,11 +274,11 @@ const walkUpdateDomainOperationSpec: coreClient.OperationSpec = { } }, requestBody: Parameters.parameters34, - queryParameters: [Parameters.apiVersion4], + queryParameters: [Parameters.apiVersion3], urlParameters: [ Parameters.$host, - Parameters.resourceGroupName, Parameters.subscriptionId, + Parameters.resourceGroupName, Parameters.cloudServiceName, Parameters.updateDomain ], @@ -298,11 +298,11 @@ const getUpdateDomainOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.CloudError } }, - queryParameters: [Parameters.apiVersion4], + queryParameters: [Parameters.apiVersion3], urlParameters: [ Parameters.$host, - Parameters.resourceGroupName, Parameters.subscriptionId, + Parameters.resourceGroupName, Parameters.cloudServiceName, Parameters.updateDomain ], @@ -321,11 +321,11 @@ const listUpdateDomainsOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.CloudError } }, - queryParameters: [Parameters.apiVersion4], + queryParameters: [Parameters.apiVersion3], urlParameters: [ Parameters.$host, - Parameters.resourceGroupName, Parameters.subscriptionId, + Parameters.resourceGroupName, Parameters.cloudServiceName ], headerParameters: [Parameters.accept], @@ -342,12 +342,12 @@ const listUpdateDomainsNextOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.CloudError } }, - queryParameters: [Parameters.apiVersion4], + queryParameters: [Parameters.apiVersion3], urlParameters: [ Parameters.$host, - Parameters.resourceGroupName, Parameters.subscriptionId, Parameters.nextLink, + Parameters.resourceGroupName, Parameters.cloudServiceName ], headerParameters: [Parameters.accept], diff --git a/sdk/compute/arm-compute/src/operations/communityGalleries.ts b/sdk/compute/arm-compute/src/operations/communityGalleries.ts index 34331ae4ea8d..e103d18fb3ed 100644 --- a/sdk/compute/arm-compute/src/operations/communityGalleries.ts +++ b/sdk/compute/arm-compute/src/operations/communityGalleries.ts @@ -64,7 +64,7 @@ const getOperationSpec: coreClient.OperationSpec = { urlParameters: [ Parameters.$host, Parameters.subscriptionId, - Parameters.location, + Parameters.location1, Parameters.publicGalleryName ], headerParameters: [Parameters.accept], diff --git a/sdk/compute/arm-compute/src/operations/communityGalleryImageVersions.ts b/sdk/compute/arm-compute/src/operations/communityGalleryImageVersions.ts index 3c4df4024c2d..b62f1e1fd0e0 100644 --- a/sdk/compute/arm-compute/src/operations/communityGalleryImageVersions.ts +++ b/sdk/compute/arm-compute/src/operations/communityGalleryImageVersions.ts @@ -77,7 +77,7 @@ const getOperationSpec: coreClient.OperationSpec = { urlParameters: [ Parameters.$host, Parameters.subscriptionId, - Parameters.location, + Parameters.location1, Parameters.galleryImageName, Parameters.galleryImageVersionName, Parameters.publicGalleryName diff --git a/sdk/compute/arm-compute/src/operations/communityGalleryImages.ts b/sdk/compute/arm-compute/src/operations/communityGalleryImages.ts index 487c976b6a77..d338a1affe70 100644 --- a/sdk/compute/arm-compute/src/operations/communityGalleryImages.ts +++ b/sdk/compute/arm-compute/src/operations/communityGalleryImages.ts @@ -66,7 +66,7 @@ const getOperationSpec: coreClient.OperationSpec = { urlParameters: [ Parameters.$host, Parameters.subscriptionId, - Parameters.location, + Parameters.location1, Parameters.galleryImageName, Parameters.publicGalleryName ], diff --git a/sdk/compute/arm-compute/src/operations/dedicatedHostGroups.ts b/sdk/compute/arm-compute/src/operations/dedicatedHostGroups.ts index 136081f70651..4c2686f6013d 100644 --- a/sdk/compute/arm-compute/src/operations/dedicatedHostGroups.ts +++ b/sdk/compute/arm-compute/src/operations/dedicatedHostGroups.ts @@ -295,12 +295,12 @@ const createOrUpdateOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.CloudError } }, - requestBody: Parameters.parameters4, + requestBody: Parameters.parameters14, queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, - Parameters.resourceGroupName, Parameters.subscriptionId, + Parameters.resourceGroupName, Parameters.hostGroupName ], headerParameters: [Parameters.accept, Parameters.contentType], @@ -319,12 +319,12 @@ const updateOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.CloudError } }, - requestBody: Parameters.parameters5, + requestBody: Parameters.parameters15, queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, - Parameters.resourceGroupName, Parameters.subscriptionId, + Parameters.resourceGroupName, Parameters.hostGroupName ], headerParameters: [Parameters.accept, Parameters.contentType], @@ -345,8 +345,8 @@ const deleteOperationSpec: coreClient.OperationSpec = { queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, - Parameters.resourceGroupName, Parameters.subscriptionId, + Parameters.resourceGroupName, Parameters.hostGroupName ], headerParameters: [Parameters.accept], @@ -364,11 +364,11 @@ const getOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.CloudError } }, - queryParameters: [Parameters.apiVersion, Parameters.expand1], + queryParameters: [Parameters.apiVersion, Parameters.expand2], urlParameters: [ Parameters.$host, - Parameters.resourceGroupName, Parameters.subscriptionId, + Parameters.resourceGroupName, Parameters.hostGroupName ], headerParameters: [Parameters.accept], @@ -389,8 +389,8 @@ const listByResourceGroupOperationSpec: coreClient.OperationSpec = { queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, - Parameters.resourceGroupName, - Parameters.subscriptionId + Parameters.subscriptionId, + Parameters.resourceGroupName ], headerParameters: [Parameters.accept], serializer @@ -426,9 +426,9 @@ const listByResourceGroupNextOperationSpec: coreClient.OperationSpec = { queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, - Parameters.resourceGroupName, Parameters.subscriptionId, - Parameters.nextLink + Parameters.nextLink, + Parameters.resourceGroupName ], headerParameters: [Parameters.accept], serializer diff --git a/sdk/compute/arm-compute/src/operations/dedicatedHosts.ts b/sdk/compute/arm-compute/src/operations/dedicatedHosts.ts index 485711ab196d..0a7a1b167e84 100644 --- a/sdk/compute/arm-compute/src/operations/dedicatedHosts.ts +++ b/sdk/compute/arm-compute/src/operations/dedicatedHosts.ts @@ -562,12 +562,12 @@ const createOrUpdateOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.CloudError } }, - requestBody: Parameters.parameters6, + requestBody: Parameters.parameters16, queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, - Parameters.resourceGroupName, Parameters.subscriptionId, + Parameters.resourceGroupName, Parameters.hostGroupName, Parameters.hostName ], @@ -596,12 +596,12 @@ const updateOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.CloudError } }, - requestBody: Parameters.parameters7, + requestBody: Parameters.parameters17, queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, - Parameters.resourceGroupName, Parameters.subscriptionId, + Parameters.resourceGroupName, Parameters.hostGroupName, Parameters.hostName ], @@ -625,8 +625,8 @@ const deleteOperationSpec: coreClient.OperationSpec = { queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, - Parameters.resourceGroupName, Parameters.subscriptionId, + Parameters.resourceGroupName, Parameters.hostGroupName, Parameters.hostName ], @@ -645,11 +645,11 @@ const getOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.CloudError } }, - queryParameters: [Parameters.apiVersion, Parameters.expand1], + queryParameters: [Parameters.apiVersion, Parameters.expand2], urlParameters: [ Parameters.$host, - Parameters.resourceGroupName, Parameters.subscriptionId, + Parameters.resourceGroupName, Parameters.hostGroupName, Parameters.hostName ], @@ -671,8 +671,8 @@ const listByHostGroupOperationSpec: coreClient.OperationSpec = { queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, - Parameters.resourceGroupName, Parameters.subscriptionId, + Parameters.resourceGroupName, Parameters.hostGroupName ], headerParameters: [Parameters.accept], @@ -694,8 +694,8 @@ const restartOperationSpec: coreClient.OperationSpec = { queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, - Parameters.resourceGroupName, Parameters.subscriptionId, + Parameters.resourceGroupName, Parameters.hostGroupName, Parameters.hostName ], @@ -716,9 +716,9 @@ const listByHostGroupNextOperationSpec: coreClient.OperationSpec = { queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, - Parameters.resourceGroupName, Parameters.subscriptionId, Parameters.nextLink, + Parameters.resourceGroupName, Parameters.hostGroupName ], headerParameters: [Parameters.accept], diff --git a/sdk/compute/arm-compute/src/operations/diskAccesses.ts b/sdk/compute/arm-compute/src/operations/diskAccesses.ts index 7698a945cad4..ef3f1f7c8894 100644 --- a/sdk/compute/arm-compute/src/operations/diskAccesses.ts +++ b/sdk/compute/arm-compute/src/operations/diskAccesses.ts @@ -892,8 +892,8 @@ const createOrUpdateOperationSpec: coreClient.OperationSpec = { queryParameters: [Parameters.apiVersion2], urlParameters: [ Parameters.$host, - Parameters.resourceGroupName, Parameters.subscriptionId, + Parameters.resourceGroupName, Parameters.diskAccessName ], headerParameters: [Parameters.accept, Parameters.contentType], @@ -925,8 +925,8 @@ const updateOperationSpec: coreClient.OperationSpec = { queryParameters: [Parameters.apiVersion2], urlParameters: [ Parameters.$host, - Parameters.resourceGroupName, Parameters.subscriptionId, + Parameters.resourceGroupName, Parameters.diskAccessName ], headerParameters: [Parameters.accept, Parameters.contentType], @@ -948,8 +948,8 @@ const getOperationSpec: coreClient.OperationSpec = { queryParameters: [Parameters.apiVersion2], urlParameters: [ Parameters.$host, - Parameters.resourceGroupName, Parameters.subscriptionId, + Parameters.resourceGroupName, Parameters.diskAccessName ], headerParameters: [Parameters.accept], @@ -971,8 +971,8 @@ const deleteOperationSpec: coreClient.OperationSpec = { queryParameters: [Parameters.apiVersion2], urlParameters: [ Parameters.$host, - Parameters.resourceGroupName, Parameters.subscriptionId, + Parameters.resourceGroupName, Parameters.diskAccessName ], headerParameters: [Parameters.accept], @@ -993,8 +993,8 @@ const listByResourceGroupOperationSpec: coreClient.OperationSpec = { queryParameters: [Parameters.apiVersion2], urlParameters: [ Parameters.$host, - Parameters.resourceGroupName, - Parameters.subscriptionId + Parameters.subscriptionId, + Parameters.resourceGroupName ], headerParameters: [Parameters.accept], serializer @@ -1028,8 +1028,8 @@ const getPrivateLinkResourcesOperationSpec: coreClient.OperationSpec = { queryParameters: [Parameters.apiVersion2], urlParameters: [ Parameters.$host, - Parameters.resourceGroupName, Parameters.subscriptionId, + Parameters.resourceGroupName, Parameters.diskAccessName ], headerParameters: [Parameters.accept], @@ -1060,8 +1060,8 @@ const updateAPrivateEndpointConnectionOperationSpec: coreClient.OperationSpec = queryParameters: [Parameters.apiVersion2], urlParameters: [ Parameters.$host, - Parameters.resourceGroupName, Parameters.subscriptionId, + Parameters.resourceGroupName, Parameters.diskAccessName, Parameters.privateEndpointConnectionName ], @@ -1084,8 +1084,8 @@ const getAPrivateEndpointConnectionOperationSpec: coreClient.OperationSpec = { queryParameters: [Parameters.apiVersion2], urlParameters: [ Parameters.$host, - Parameters.resourceGroupName, Parameters.subscriptionId, + Parameters.resourceGroupName, Parameters.diskAccessName, Parameters.privateEndpointConnectionName ], @@ -1108,8 +1108,8 @@ const deleteAPrivateEndpointConnectionOperationSpec: coreClient.OperationSpec = queryParameters: [Parameters.apiVersion2], urlParameters: [ Parameters.$host, - Parameters.resourceGroupName, Parameters.subscriptionId, + Parameters.resourceGroupName, Parameters.diskAccessName, Parameters.privateEndpointConnectionName ], @@ -1131,8 +1131,8 @@ const listPrivateEndpointConnectionsOperationSpec: coreClient.OperationSpec = { queryParameters: [Parameters.apiVersion2], urlParameters: [ Parameters.$host, - Parameters.resourceGroupName, Parameters.subscriptionId, + Parameters.resourceGroupName, Parameters.diskAccessName ], headerParameters: [Parameters.accept], @@ -1152,9 +1152,9 @@ const listByResourceGroupNextOperationSpec: coreClient.OperationSpec = { queryParameters: [Parameters.apiVersion2], urlParameters: [ Parameters.$host, - Parameters.resourceGroupName, Parameters.subscriptionId, - Parameters.nextLink + Parameters.nextLink, + Parameters.resourceGroupName ], headerParameters: [Parameters.accept], serializer @@ -1193,9 +1193,9 @@ const listPrivateEndpointConnectionsNextOperationSpec: coreClient.OperationSpec queryParameters: [Parameters.apiVersion2], urlParameters: [ Parameters.$host, - Parameters.resourceGroupName, Parameters.subscriptionId, Parameters.nextLink, + Parameters.resourceGroupName, Parameters.diskAccessName ], headerParameters: [Parameters.accept], diff --git a/sdk/compute/arm-compute/src/operations/diskEncryptionSets.ts b/sdk/compute/arm-compute/src/operations/diskEncryptionSets.ts index b7566573e86e..7f69af884de9 100644 --- a/sdk/compute/arm-compute/src/operations/diskEncryptionSets.ts +++ b/sdk/compute/arm-compute/src/operations/diskEncryptionSets.ts @@ -640,8 +640,8 @@ const createOrUpdateOperationSpec: coreClient.OperationSpec = { queryParameters: [Parameters.apiVersion2], urlParameters: [ Parameters.$host, - Parameters.resourceGroupName, Parameters.subscriptionId, + Parameters.resourceGroupName, Parameters.diskEncryptionSetName ], headerParameters: [Parameters.accept, Parameters.contentType], @@ -673,8 +673,8 @@ const updateOperationSpec: coreClient.OperationSpec = { queryParameters: [Parameters.apiVersion2], urlParameters: [ Parameters.$host, - Parameters.resourceGroupName, Parameters.subscriptionId, + Parameters.resourceGroupName, Parameters.diskEncryptionSetName ], headerParameters: [Parameters.accept, Parameters.contentType], @@ -696,8 +696,8 @@ const getOperationSpec: coreClient.OperationSpec = { queryParameters: [Parameters.apiVersion2], urlParameters: [ Parameters.$host, - Parameters.resourceGroupName, Parameters.subscriptionId, + Parameters.resourceGroupName, Parameters.diskEncryptionSetName ], headerParameters: [Parameters.accept], @@ -719,8 +719,8 @@ const deleteOperationSpec: coreClient.OperationSpec = { queryParameters: [Parameters.apiVersion2], urlParameters: [ Parameters.$host, - Parameters.resourceGroupName, Parameters.subscriptionId, + Parameters.resourceGroupName, Parameters.diskEncryptionSetName ], headerParameters: [Parameters.accept], @@ -741,8 +741,8 @@ const listByResourceGroupOperationSpec: coreClient.OperationSpec = { queryParameters: [Parameters.apiVersion2], urlParameters: [ Parameters.$host, - Parameters.resourceGroupName, - Parameters.subscriptionId + Parameters.subscriptionId, + Parameters.resourceGroupName ], headerParameters: [Parameters.accept], serializer @@ -779,8 +779,8 @@ const listAssociatedResourcesOperationSpec: coreClient.OperationSpec = { queryParameters: [Parameters.apiVersion2], urlParameters: [ Parameters.$host, - Parameters.resourceGroupName, Parameters.subscriptionId, + Parameters.resourceGroupName, Parameters.diskEncryptionSetName ], headerParameters: [Parameters.accept], @@ -800,9 +800,9 @@ const listByResourceGroupNextOperationSpec: coreClient.OperationSpec = { queryParameters: [Parameters.apiVersion2], urlParameters: [ Parameters.$host, - Parameters.resourceGroupName, Parameters.subscriptionId, - Parameters.nextLink + Parameters.nextLink, + Parameters.resourceGroupName ], headerParameters: [Parameters.accept], serializer @@ -841,9 +841,9 @@ const listAssociatedResourcesNextOperationSpec: coreClient.OperationSpec = { queryParameters: [Parameters.apiVersion2], urlParameters: [ Parameters.$host, - Parameters.resourceGroupName, Parameters.subscriptionId, Parameters.nextLink, + Parameters.resourceGroupName, Parameters.diskEncryptionSetName ], headerParameters: [Parameters.accept], diff --git a/sdk/compute/arm-compute/src/operations/diskRestorePointOperations.ts b/sdk/compute/arm-compute/src/operations/diskRestorePointOperations.ts index 05894f6a9151..9260a4933a16 100644 --- a/sdk/compute/arm-compute/src/operations/diskRestorePointOperations.ts +++ b/sdk/compute/arm-compute/src/operations/diskRestorePointOperations.ts @@ -431,8 +431,8 @@ const getOperationSpec: coreClient.OperationSpec = { queryParameters: [Parameters.apiVersion2], urlParameters: [ Parameters.$host, - Parameters.resourceGroupName, Parameters.subscriptionId, + Parameters.resourceGroupName, Parameters.restorePointCollectionName, Parameters.vmRestorePointName, Parameters.diskRestorePointName @@ -455,8 +455,8 @@ const listByRestorePointOperationSpec: coreClient.OperationSpec = { queryParameters: [Parameters.apiVersion2], urlParameters: [ Parameters.$host, - Parameters.resourceGroupName, Parameters.subscriptionId, + Parameters.resourceGroupName, Parameters.restorePointCollectionName, Parameters.vmRestorePointName ], @@ -488,8 +488,8 @@ const grantAccessOperationSpec: coreClient.OperationSpec = { queryParameters: [Parameters.apiVersion2], urlParameters: [ Parameters.$host, - Parameters.resourceGroupName, Parameters.subscriptionId, + Parameters.resourceGroupName, Parameters.restorePointCollectionName, Parameters.vmRestorePointName, Parameters.diskRestorePointName @@ -514,8 +514,8 @@ const revokeAccessOperationSpec: coreClient.OperationSpec = { queryParameters: [Parameters.apiVersion2], urlParameters: [ Parameters.$host, - Parameters.resourceGroupName, Parameters.subscriptionId, + Parameters.resourceGroupName, Parameters.restorePointCollectionName, Parameters.vmRestorePointName, Parameters.diskRestorePointName @@ -537,9 +537,9 @@ const listByRestorePointNextOperationSpec: coreClient.OperationSpec = { queryParameters: [Parameters.apiVersion2], urlParameters: [ Parameters.$host, - Parameters.resourceGroupName, Parameters.subscriptionId, Parameters.nextLink, + Parameters.resourceGroupName, Parameters.restorePointCollectionName, Parameters.vmRestorePointName ], diff --git a/sdk/compute/arm-compute/src/operations/disks.ts b/sdk/compute/arm-compute/src/operations/disks.ts index d038e04cf05c..4c3cbd96b564 100644 --- a/sdk/compute/arm-compute/src/operations/disks.ts +++ b/sdk/compute/arm-compute/src/operations/disks.ts @@ -690,8 +690,8 @@ const createOrUpdateOperationSpec: coreClient.OperationSpec = { queryParameters: [Parameters.apiVersion2], urlParameters: [ Parameters.$host, - Parameters.resourceGroupName, Parameters.subscriptionId, + Parameters.resourceGroupName, Parameters.diskName ], headerParameters: [Parameters.accept, Parameters.contentType], @@ -720,8 +720,8 @@ const updateOperationSpec: coreClient.OperationSpec = { queryParameters: [Parameters.apiVersion2], urlParameters: [ Parameters.$host, - Parameters.resourceGroupName, Parameters.subscriptionId, + Parameters.resourceGroupName, Parameters.diskName ], headerParameters: [Parameters.accept, Parameters.contentType], @@ -740,8 +740,8 @@ const getOperationSpec: coreClient.OperationSpec = { queryParameters: [Parameters.apiVersion2], urlParameters: [ Parameters.$host, - Parameters.resourceGroupName, Parameters.subscriptionId, + Parameters.resourceGroupName, Parameters.diskName ], headerParameters: [Parameters.accept], @@ -755,8 +755,8 @@ const deleteOperationSpec: coreClient.OperationSpec = { queryParameters: [Parameters.apiVersion2], urlParameters: [ Parameters.$host, - Parameters.resourceGroupName, Parameters.subscriptionId, + Parameters.resourceGroupName, Parameters.diskName ], serializer @@ -773,8 +773,8 @@ const listByResourceGroupOperationSpec: coreClient.OperationSpec = { queryParameters: [Parameters.apiVersion2], urlParameters: [ Parameters.$host, - Parameters.resourceGroupName, - Parameters.subscriptionId + Parameters.subscriptionId, + Parameters.resourceGroupName ], headerParameters: [Parameters.accept], serializer @@ -814,8 +814,8 @@ const grantAccessOperationSpec: coreClient.OperationSpec = { queryParameters: [Parameters.apiVersion2], urlParameters: [ Parameters.$host, - Parameters.resourceGroupName, Parameters.subscriptionId, + Parameters.resourceGroupName, Parameters.diskName ], headerParameters: [Parameters.accept, Parameters.contentType], @@ -830,8 +830,8 @@ const revokeAccessOperationSpec: coreClient.OperationSpec = { queryParameters: [Parameters.apiVersion2], urlParameters: [ Parameters.$host, - Parameters.resourceGroupName, Parameters.subscriptionId, + Parameters.resourceGroupName, Parameters.diskName ], serializer @@ -847,9 +847,9 @@ const listByResourceGroupNextOperationSpec: coreClient.OperationSpec = { queryParameters: [Parameters.apiVersion2], urlParameters: [ Parameters.$host, - Parameters.resourceGroupName, Parameters.subscriptionId, - Parameters.nextLink + Parameters.nextLink, + Parameters.resourceGroupName ], headerParameters: [Parameters.accept], serializer diff --git a/sdk/compute/arm-compute/src/operations/galleries.ts b/sdk/compute/arm-compute/src/operations/galleries.ts index 98d578fda8c9..9a2e5dcfcf22 100644 --- a/sdk/compute/arm-compute/src/operations/galleries.ts +++ b/sdk/compute/arm-compute/src/operations/galleries.ts @@ -505,11 +505,11 @@ const createOrUpdateOperationSpec: coreClient.OperationSpec = { } }, requestBody: Parameters.gallery, - queryParameters: [Parameters.apiVersion3], + queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, - Parameters.resourceGroupName, Parameters.subscriptionId, + Parameters.resourceGroupName, Parameters.galleryName ], headerParameters: [Parameters.accept, Parameters.contentType], @@ -538,11 +538,11 @@ const updateOperationSpec: coreClient.OperationSpec = { } }, requestBody: Parameters.gallery1, - queryParameters: [Parameters.apiVersion3], + queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, - Parameters.resourceGroupName, Parameters.subscriptionId, + Parameters.resourceGroupName, Parameters.galleryName ], headerParameters: [Parameters.accept, Parameters.contentType], @@ -562,14 +562,14 @@ const getOperationSpec: coreClient.OperationSpec = { } }, queryParameters: [ - Parameters.apiVersion3, + Parameters.apiVersion, Parameters.select1, Parameters.expand8 ], urlParameters: [ Parameters.$host, - Parameters.resourceGroupName, Parameters.subscriptionId, + Parameters.resourceGroupName, Parameters.galleryName ], headerParameters: [Parameters.accept], @@ -588,11 +588,11 @@ const deleteOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.CloudError } }, - queryParameters: [Parameters.apiVersion3], + queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, - Parameters.resourceGroupName, Parameters.subscriptionId, + Parameters.resourceGroupName, Parameters.galleryName ], headerParameters: [Parameters.accept], @@ -610,11 +610,11 @@ const listByResourceGroupOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.CloudError } }, - queryParameters: [Parameters.apiVersion3], + queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, - Parameters.resourceGroupName, - Parameters.subscriptionId + Parameters.subscriptionId, + Parameters.resourceGroupName ], headerParameters: [Parameters.accept], serializer @@ -630,7 +630,7 @@ const listOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.CloudError } }, - queryParameters: [Parameters.apiVersion3], + queryParameters: [Parameters.apiVersion], urlParameters: [Parameters.$host, Parameters.subscriptionId], headerParameters: [Parameters.accept], serializer @@ -646,12 +646,12 @@ const listByResourceGroupNextOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.CloudError } }, - queryParameters: [Parameters.apiVersion3], + queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, - Parameters.resourceGroupName, Parameters.subscriptionId, - Parameters.nextLink + Parameters.nextLink, + Parameters.resourceGroupName ], headerParameters: [Parameters.accept], serializer @@ -667,7 +667,7 @@ const listNextOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.CloudError } }, - queryParameters: [Parameters.apiVersion3], + queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, Parameters.subscriptionId, diff --git a/sdk/compute/arm-compute/src/operations/galleryApplicationVersions.ts b/sdk/compute/arm-compute/src/operations/galleryApplicationVersions.ts index 95b7cd5b8d98..90ce19986408 100644 --- a/sdk/compute/arm-compute/src/operations/galleryApplicationVersions.ts +++ b/sdk/compute/arm-compute/src/operations/galleryApplicationVersions.ts @@ -565,11 +565,11 @@ const createOrUpdateOperationSpec: coreClient.OperationSpec = { } }, requestBody: Parameters.galleryApplicationVersion, - queryParameters: [Parameters.apiVersion3], + queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, - Parameters.resourceGroupName, Parameters.subscriptionId, + Parameters.resourceGroupName, Parameters.galleryName, Parameters.galleryApplicationName, Parameters.galleryApplicationVersionName @@ -600,11 +600,11 @@ const updateOperationSpec: coreClient.OperationSpec = { } }, requestBody: Parameters.galleryApplicationVersion1, - queryParameters: [Parameters.apiVersion3], + queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, - Parameters.resourceGroupName, Parameters.subscriptionId, + Parameters.resourceGroupName, Parameters.galleryName, Parameters.galleryApplicationName, Parameters.galleryApplicationVersionName @@ -625,11 +625,11 @@ const getOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.CloudError } }, - queryParameters: [Parameters.apiVersion3, Parameters.expand9], + queryParameters: [Parameters.apiVersion, Parameters.expand9], urlParameters: [ Parameters.$host, - Parameters.resourceGroupName, Parameters.subscriptionId, + Parameters.resourceGroupName, Parameters.galleryName, Parameters.galleryApplicationName, Parameters.galleryApplicationVersionName @@ -650,11 +650,11 @@ const deleteOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.CloudError } }, - queryParameters: [Parameters.apiVersion3], + queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, - Parameters.resourceGroupName, Parameters.subscriptionId, + Parameters.resourceGroupName, Parameters.galleryName, Parameters.galleryApplicationName, Parameters.galleryApplicationVersionName @@ -674,11 +674,11 @@ const listByGalleryApplicationOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.CloudError } }, - queryParameters: [Parameters.apiVersion3], + queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, - Parameters.resourceGroupName, Parameters.subscriptionId, + Parameters.resourceGroupName, Parameters.galleryName, Parameters.galleryApplicationName ], @@ -696,12 +696,12 @@ const listByGalleryApplicationNextOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.CloudError } }, - queryParameters: [Parameters.apiVersion3], + queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, - Parameters.resourceGroupName, Parameters.subscriptionId, Parameters.nextLink, + Parameters.resourceGroupName, Parameters.galleryName, Parameters.galleryApplicationName ], diff --git a/sdk/compute/arm-compute/src/operations/galleryApplications.ts b/sdk/compute/arm-compute/src/operations/galleryApplications.ts index 5eccbb9d799f..e525ed21fe1a 100644 --- a/sdk/compute/arm-compute/src/operations/galleryApplications.ts +++ b/sdk/compute/arm-compute/src/operations/galleryApplications.ts @@ -499,11 +499,11 @@ const createOrUpdateOperationSpec: coreClient.OperationSpec = { } }, requestBody: Parameters.galleryApplication, - queryParameters: [Parameters.apiVersion3], + queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, - Parameters.resourceGroupName, Parameters.subscriptionId, + Parameters.resourceGroupName, Parameters.galleryName, Parameters.galleryApplicationName ], @@ -533,11 +533,11 @@ const updateOperationSpec: coreClient.OperationSpec = { } }, requestBody: Parameters.galleryApplication1, - queryParameters: [Parameters.apiVersion3], + queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, - Parameters.resourceGroupName, Parameters.subscriptionId, + Parameters.resourceGroupName, Parameters.galleryName, Parameters.galleryApplicationName ], @@ -557,11 +557,11 @@ const getOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.CloudError } }, - queryParameters: [Parameters.apiVersion3], + queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, - Parameters.resourceGroupName, Parameters.subscriptionId, + Parameters.resourceGroupName, Parameters.galleryName, Parameters.galleryApplicationName ], @@ -581,11 +581,11 @@ const deleteOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.CloudError } }, - queryParameters: [Parameters.apiVersion3], + queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, - Parameters.resourceGroupName, Parameters.subscriptionId, + Parameters.resourceGroupName, Parameters.galleryName, Parameters.galleryApplicationName ], @@ -604,11 +604,11 @@ const listByGalleryOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.CloudError } }, - queryParameters: [Parameters.apiVersion3], + queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, - Parameters.resourceGroupName, Parameters.subscriptionId, + Parameters.resourceGroupName, Parameters.galleryName ], headerParameters: [Parameters.accept], @@ -625,12 +625,12 @@ const listByGalleryNextOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.CloudError } }, - queryParameters: [Parameters.apiVersion3], + queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, - Parameters.resourceGroupName, Parameters.subscriptionId, Parameters.nextLink, + Parameters.resourceGroupName, Parameters.galleryName ], headerParameters: [Parameters.accept], diff --git a/sdk/compute/arm-compute/src/operations/galleryImageVersions.ts b/sdk/compute/arm-compute/src/operations/galleryImageVersions.ts index 424e665b3358..1aa8da346a49 100644 --- a/sdk/compute/arm-compute/src/operations/galleryImageVersions.ts +++ b/sdk/compute/arm-compute/src/operations/galleryImageVersions.ts @@ -542,11 +542,11 @@ const createOrUpdateOperationSpec: coreClient.OperationSpec = { } }, requestBody: Parameters.galleryImageVersion, - queryParameters: [Parameters.apiVersion3], + queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, - Parameters.resourceGroupName, Parameters.subscriptionId, + Parameters.resourceGroupName, Parameters.galleryName, Parameters.galleryImageName, Parameters.galleryImageVersionName @@ -577,11 +577,11 @@ const updateOperationSpec: coreClient.OperationSpec = { } }, requestBody: Parameters.galleryImageVersion1, - queryParameters: [Parameters.apiVersion3], + queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, - Parameters.resourceGroupName, Parameters.subscriptionId, + Parameters.resourceGroupName, Parameters.galleryName, Parameters.galleryImageName, Parameters.galleryImageVersionName @@ -602,11 +602,11 @@ const getOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.CloudError } }, - queryParameters: [Parameters.apiVersion3, Parameters.expand9], + queryParameters: [Parameters.apiVersion, Parameters.expand9], urlParameters: [ Parameters.$host, - Parameters.resourceGroupName, Parameters.subscriptionId, + Parameters.resourceGroupName, Parameters.galleryName, Parameters.galleryImageName, Parameters.galleryImageVersionName @@ -627,11 +627,11 @@ const deleteOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.CloudError } }, - queryParameters: [Parameters.apiVersion3], + queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, - Parameters.resourceGroupName, Parameters.subscriptionId, + Parameters.resourceGroupName, Parameters.galleryName, Parameters.galleryImageName, Parameters.galleryImageVersionName @@ -651,11 +651,11 @@ const listByGalleryImageOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.CloudError } }, - queryParameters: [Parameters.apiVersion3], + queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, - Parameters.resourceGroupName, Parameters.subscriptionId, + Parameters.resourceGroupName, Parameters.galleryName, Parameters.galleryImageName ], @@ -673,12 +673,12 @@ const listByGalleryImageNextOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.CloudError } }, - queryParameters: [Parameters.apiVersion3], + queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, - Parameters.resourceGroupName, Parameters.subscriptionId, Parameters.nextLink, + Parameters.resourceGroupName, Parameters.galleryName, Parameters.galleryImageName ], diff --git a/sdk/compute/arm-compute/src/operations/galleryImages.ts b/sdk/compute/arm-compute/src/operations/galleryImages.ts index ef4ffe289944..76bc2146f399 100644 --- a/sdk/compute/arm-compute/src/operations/galleryImages.ts +++ b/sdk/compute/arm-compute/src/operations/galleryImages.ts @@ -499,11 +499,11 @@ const createOrUpdateOperationSpec: coreClient.OperationSpec = { } }, requestBody: Parameters.galleryImage, - queryParameters: [Parameters.apiVersion3], + queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, - Parameters.resourceGroupName, Parameters.subscriptionId, + Parameters.resourceGroupName, Parameters.galleryName, Parameters.galleryImageName ], @@ -533,11 +533,11 @@ const updateOperationSpec: coreClient.OperationSpec = { } }, requestBody: Parameters.galleryImage1, - queryParameters: [Parameters.apiVersion3], + queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, - Parameters.resourceGroupName, Parameters.subscriptionId, + Parameters.resourceGroupName, Parameters.galleryName, Parameters.galleryImageName ], @@ -557,11 +557,11 @@ const getOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.CloudError } }, - queryParameters: [Parameters.apiVersion3], + queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, - Parameters.resourceGroupName, Parameters.subscriptionId, + Parameters.resourceGroupName, Parameters.galleryName, Parameters.galleryImageName ], @@ -581,11 +581,11 @@ const deleteOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.CloudError } }, - queryParameters: [Parameters.apiVersion3], + queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, - Parameters.resourceGroupName, Parameters.subscriptionId, + Parameters.resourceGroupName, Parameters.galleryName, Parameters.galleryImageName ], @@ -604,11 +604,11 @@ const listByGalleryOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.CloudError } }, - queryParameters: [Parameters.apiVersion3], + queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, - Parameters.resourceGroupName, Parameters.subscriptionId, + Parameters.resourceGroupName, Parameters.galleryName ], headerParameters: [Parameters.accept], @@ -625,12 +625,12 @@ const listByGalleryNextOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.CloudError } }, - queryParameters: [Parameters.apiVersion3], + queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, - Parameters.resourceGroupName, Parameters.subscriptionId, Parameters.nextLink, + Parameters.resourceGroupName, Parameters.galleryName ], headerParameters: [Parameters.accept], diff --git a/sdk/compute/arm-compute/src/operations/gallerySharingProfile.ts b/sdk/compute/arm-compute/src/operations/gallerySharingProfile.ts index 68fc075cbb90..6bb9262d9ed0 100644 --- a/sdk/compute/arm-compute/src/operations/gallerySharingProfile.ts +++ b/sdk/compute/arm-compute/src/operations/gallerySharingProfile.ts @@ -146,11 +146,11 @@ const updateOperationSpec: coreClient.OperationSpec = { } }, requestBody: Parameters.sharingUpdate, - queryParameters: [Parameters.apiVersion3], + queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, - Parameters.resourceGroupName, Parameters.subscriptionId, + Parameters.resourceGroupName, Parameters.galleryName ], headerParameters: [Parameters.accept, Parameters.contentType], diff --git a/sdk/compute/arm-compute/src/operations/images.ts b/sdk/compute/arm-compute/src/operations/images.ts index 3cef0b68fb3b..e35fb2ed11cc 100644 --- a/sdk/compute/arm-compute/src/operations/images.ts +++ b/sdk/compute/arm-compute/src/operations/images.ts @@ -499,12 +499,12 @@ const createOrUpdateOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.CloudError } }, - requestBody: Parameters.parameters19, + requestBody: Parameters.parameters20, queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, - Parameters.resourceGroupName, Parameters.subscriptionId, + Parameters.resourceGroupName, Parameters.imageName ], headerParameters: [Parameters.accept, Parameters.contentType], @@ -532,12 +532,12 @@ const updateOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.CloudError } }, - requestBody: Parameters.parameters20, + requestBody: Parameters.parameters21, queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, - Parameters.resourceGroupName, Parameters.subscriptionId, + Parameters.resourceGroupName, Parameters.imageName ], headerParameters: [Parameters.accept, Parameters.contentType], @@ -560,8 +560,8 @@ const deleteOperationSpec: coreClient.OperationSpec = { queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, - Parameters.resourceGroupName, Parameters.subscriptionId, + Parameters.resourceGroupName, Parameters.imageName ], headerParameters: [Parameters.accept], @@ -579,11 +579,11 @@ const getOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.CloudError } }, - queryParameters: [Parameters.apiVersion, Parameters.expand], + queryParameters: [Parameters.apiVersion, Parameters.expand1], urlParameters: [ Parameters.$host, - Parameters.resourceGroupName, Parameters.subscriptionId, + Parameters.resourceGroupName, Parameters.imageName ], headerParameters: [Parameters.accept], @@ -604,8 +604,8 @@ const listByResourceGroupOperationSpec: coreClient.OperationSpec = { queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, - Parameters.resourceGroupName, - Parameters.subscriptionId + Parameters.subscriptionId, + Parameters.resourceGroupName ], headerParameters: [Parameters.accept], serializer @@ -640,9 +640,9 @@ const listByResourceGroupNextOperationSpec: coreClient.OperationSpec = { queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, - Parameters.resourceGroupName, Parameters.subscriptionId, - Parameters.nextLink + Parameters.nextLink, + Parameters.resourceGroupName ], headerParameters: [Parameters.accept], serializer diff --git a/sdk/compute/arm-compute/src/operations/index.ts b/sdk/compute/arm-compute/src/operations/index.ts index 91179cafdf10..d3638b03b5f1 100644 --- a/sdk/compute/arm-compute/src/operations/index.ts +++ b/sdk/compute/arm-compute/src/operations/index.ts @@ -7,43 +7,43 @@ */ export * from "./operations"; +export * from "./usageOperations"; +export * from "./virtualMachineSizes"; +export * from "./virtualMachineScaleSets"; +export * from "./virtualMachineScaleSetExtensions"; +export * from "./virtualMachineScaleSetRollingUpgrades"; +export * from "./virtualMachineScaleSetVMExtensions"; +export * from "./virtualMachineScaleSetVMs"; +export * from "./virtualMachineExtensions"; +export * from "./virtualMachines"; +export * from "./virtualMachineImages"; +export * from "./virtualMachineImagesEdgeZone"; +export * from "./virtualMachineExtensionImages"; export * from "./availabilitySets"; export * from "./proximityPlacementGroups"; export * from "./dedicatedHostGroups"; export * from "./dedicatedHosts"; export * from "./sshPublicKeys"; -export * from "./virtualMachineExtensionImages"; -export * from "./virtualMachineExtensions"; -export * from "./virtualMachineImages"; -export * from "./virtualMachineImagesEdgeZone"; -export * from "./usageOperations"; -export * from "./virtualMachines"; -export * from "./virtualMachineScaleSets"; -export * from "./virtualMachineSizes"; export * from "./images"; export * from "./restorePointCollections"; export * from "./restorePoints"; export * from "./capacityReservationGroups"; export * from "./capacityReservations"; -export * from "./virtualMachineScaleSetExtensions"; -export * from "./virtualMachineScaleSetRollingUpgrades"; -export * from "./virtualMachineScaleSetVMExtensions"; -export * from "./virtualMachineScaleSetVMs"; export * from "./logAnalytics"; export * from "./virtualMachineRunCommands"; export * from "./virtualMachineScaleSetVMRunCommands"; -export * from "./resourceSkus"; -export * from "./disks"; -export * from "./snapshots"; -export * from "./diskEncryptionSets"; -export * from "./diskAccesses"; -export * from "./diskRestorePointOperations"; export * from "./galleries"; export * from "./galleryImages"; export * from "./galleryImageVersions"; export * from "./galleryApplications"; export * from "./galleryApplicationVersions"; export * from "./gallerySharingProfile"; +export * from "./resourceSkus"; +export * from "./disks"; +export * from "./snapshots"; +export * from "./diskEncryptionSets"; +export * from "./diskAccesses"; +export * from "./diskRestorePointOperations"; export * from "./sharedGalleries"; export * from "./sharedGalleryImages"; export * from "./sharedGalleryImageVersions"; diff --git a/sdk/compute/arm-compute/src/operations/logAnalytics.ts b/sdk/compute/arm-compute/src/operations/logAnalytics.ts index db81c4047038..0e07da13b70d 100644 --- a/sdk/compute/arm-compute/src/operations/logAnalytics.ts +++ b/sdk/compute/arm-compute/src/operations/logAnalytics.ts @@ -236,8 +236,8 @@ const exportRequestRateByIntervalOperationSpec: coreClient.OperationSpec = { queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, - Parameters.subscriptionId, - Parameters.location1 + Parameters.location, + Parameters.subscriptionId ], headerParameters: [Parameters.accept, Parameters.contentType], mediaType: "json", @@ -268,8 +268,8 @@ const exportThrottledRequestsOperationSpec: coreClient.OperationSpec = { queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, - Parameters.subscriptionId, - Parameters.location1 + Parameters.location, + Parameters.subscriptionId ], headerParameters: [Parameters.accept, Parameters.contentType], mediaType: "json", diff --git a/sdk/compute/arm-compute/src/operations/proximityPlacementGroups.ts b/sdk/compute/arm-compute/src/operations/proximityPlacementGroups.ts index 3fa50bfcc7e2..c0014990f2ce 100644 --- a/sdk/compute/arm-compute/src/operations/proximityPlacementGroups.ts +++ b/sdk/compute/arm-compute/src/operations/proximityPlacementGroups.ts @@ -290,12 +290,12 @@ const createOrUpdateOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.CloudError } }, - requestBody: Parameters.parameters2, + requestBody: Parameters.parameters12, queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, - Parameters.resourceGroupName, Parameters.subscriptionId, + Parameters.resourceGroupName, Parameters.proximityPlacementGroupName ], headerParameters: [Parameters.accept, Parameters.contentType], @@ -314,12 +314,12 @@ const updateOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.CloudError } }, - requestBody: Parameters.parameters3, + requestBody: Parameters.parameters13, queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, - Parameters.resourceGroupName, Parameters.subscriptionId, + Parameters.resourceGroupName, Parameters.proximityPlacementGroupName ], headerParameters: [Parameters.accept, Parameters.contentType], @@ -339,8 +339,8 @@ const deleteOperationSpec: coreClient.OperationSpec = { queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, - Parameters.resourceGroupName, Parameters.subscriptionId, + Parameters.resourceGroupName, Parameters.proximityPlacementGroupName ], headerParameters: [Parameters.accept], @@ -361,8 +361,8 @@ const getOperationSpec: coreClient.OperationSpec = { queryParameters: [Parameters.apiVersion, Parameters.includeColocationStatus], urlParameters: [ Parameters.$host, - Parameters.resourceGroupName, Parameters.subscriptionId, + Parameters.resourceGroupName, Parameters.proximityPlacementGroupName ], headerParameters: [Parameters.accept], @@ -400,8 +400,8 @@ const listByResourceGroupOperationSpec: coreClient.OperationSpec = { queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, - Parameters.resourceGroupName, - Parameters.subscriptionId + Parameters.subscriptionId, + Parameters.resourceGroupName ], headerParameters: [Parameters.accept], serializer @@ -440,9 +440,9 @@ const listByResourceGroupNextOperationSpec: coreClient.OperationSpec = { queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, - Parameters.resourceGroupName, Parameters.subscriptionId, - Parameters.nextLink + Parameters.nextLink, + Parameters.resourceGroupName ], headerParameters: [Parameters.accept], serializer diff --git a/sdk/compute/arm-compute/src/operations/restorePointCollections.ts b/sdk/compute/arm-compute/src/operations/restorePointCollections.ts index 6e68a3d66ec0..a9c308d7326c 100644 --- a/sdk/compute/arm-compute/src/operations/restorePointCollections.ts +++ b/sdk/compute/arm-compute/src/operations/restorePointCollections.ts @@ -357,12 +357,12 @@ const createOrUpdateOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.CloudError } }, - requestBody: Parameters.parameters21, + requestBody: Parameters.parameters22, queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, - Parameters.resourceGroupName, Parameters.subscriptionId, + Parameters.resourceGroupName, Parameters.restorePointCollectionName ], headerParameters: [Parameters.accept, Parameters.contentType], @@ -381,12 +381,12 @@ const updateOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.CloudError } }, - requestBody: Parameters.parameters22, + requestBody: Parameters.parameters23, queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, - Parameters.resourceGroupName, Parameters.subscriptionId, + Parameters.resourceGroupName, Parameters.restorePointCollectionName ], headerParameters: [Parameters.accept, Parameters.contentType], @@ -409,8 +409,8 @@ const deleteOperationSpec: coreClient.OperationSpec = { queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, - Parameters.resourceGroupName, Parameters.subscriptionId, + Parameters.resourceGroupName, Parameters.restorePointCollectionName ], headerParameters: [Parameters.accept], @@ -431,8 +431,8 @@ const getOperationSpec: coreClient.OperationSpec = { queryParameters: [Parameters.apiVersion, Parameters.expand3], urlParameters: [ Parameters.$host, - Parameters.resourceGroupName, Parameters.subscriptionId, + Parameters.resourceGroupName, Parameters.restorePointCollectionName ], headerParameters: [Parameters.accept], @@ -453,8 +453,8 @@ const listOperationSpec: coreClient.OperationSpec = { queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, - Parameters.resourceGroupName, - Parameters.subscriptionId + Parameters.subscriptionId, + Parameters.resourceGroupName ], headerParameters: [Parameters.accept], serializer @@ -490,9 +490,9 @@ const listNextOperationSpec: coreClient.OperationSpec = { queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, - Parameters.resourceGroupName, Parameters.subscriptionId, - Parameters.nextLink + Parameters.nextLink, + Parameters.resourceGroupName ], headerParameters: [Parameters.accept], serializer diff --git a/sdk/compute/arm-compute/src/operations/restorePoints.ts b/sdk/compute/arm-compute/src/operations/restorePoints.ts index 58e557fcd616..6508af5e17ce 100644 --- a/sdk/compute/arm-compute/src/operations/restorePoints.ts +++ b/sdk/compute/arm-compute/src/operations/restorePoints.ts @@ -275,12 +275,12 @@ const createOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.CloudError } }, - requestBody: Parameters.parameters23, + requestBody: Parameters.parameters24, queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, - Parameters.resourceGroupName, Parameters.subscriptionId, + Parameters.resourceGroupName, Parameters.restorePointCollectionName, Parameters.restorePointName ], @@ -304,8 +304,8 @@ const deleteOperationSpec: coreClient.OperationSpec = { queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, - Parameters.resourceGroupName, Parameters.subscriptionId, + Parameters.resourceGroupName, Parameters.restorePointCollectionName, Parameters.restorePointName ], @@ -327,8 +327,8 @@ const getOperationSpec: coreClient.OperationSpec = { queryParameters: [Parameters.apiVersion, Parameters.expand4], urlParameters: [ Parameters.$host, - Parameters.resourceGroupName, Parameters.subscriptionId, + Parameters.resourceGroupName, Parameters.restorePointCollectionName, Parameters.restorePointName ], diff --git a/sdk/compute/arm-compute/src/operations/sharedGalleries.ts b/sdk/compute/arm-compute/src/operations/sharedGalleries.ts index 808dae3ffc1b..cfe44b296ca6 100644 --- a/sdk/compute/arm-compute/src/operations/sharedGalleries.ts +++ b/sdk/compute/arm-compute/src/operations/sharedGalleries.ts @@ -149,7 +149,7 @@ const listOperationSpec: coreClient.OperationSpec = { urlParameters: [ Parameters.$host, Parameters.subscriptionId, - Parameters.location + Parameters.location1 ], headerParameters: [Parameters.accept], serializer @@ -170,7 +170,7 @@ const getOperationSpec: coreClient.OperationSpec = { urlParameters: [ Parameters.$host, Parameters.subscriptionId, - Parameters.location, + Parameters.location1, Parameters.galleryUniqueName ], headerParameters: [Parameters.accept], @@ -192,7 +192,7 @@ const listNextOperationSpec: coreClient.OperationSpec = { Parameters.$host, Parameters.subscriptionId, Parameters.nextLink, - Parameters.location + Parameters.location1 ], headerParameters: [Parameters.accept], serializer diff --git a/sdk/compute/arm-compute/src/operations/sharedGalleryImageVersions.ts b/sdk/compute/arm-compute/src/operations/sharedGalleryImageVersions.ts index a416ee2cedd5..3094b69922cb 100644 --- a/sdk/compute/arm-compute/src/operations/sharedGalleryImageVersions.ts +++ b/sdk/compute/arm-compute/src/operations/sharedGalleryImageVersions.ts @@ -208,7 +208,7 @@ const listOperationSpec: coreClient.OperationSpec = { urlParameters: [ Parameters.$host, Parameters.subscriptionId, - Parameters.location, + Parameters.location1, Parameters.galleryImageName, Parameters.galleryUniqueName ], @@ -231,7 +231,7 @@ const getOperationSpec: coreClient.OperationSpec = { urlParameters: [ Parameters.$host, Parameters.subscriptionId, - Parameters.location, + Parameters.location1, Parameters.galleryImageName, Parameters.galleryImageVersionName, Parameters.galleryUniqueName @@ -255,7 +255,7 @@ const listNextOperationSpec: coreClient.OperationSpec = { Parameters.$host, Parameters.subscriptionId, Parameters.nextLink, - Parameters.location, + Parameters.location1, Parameters.galleryImageName, Parameters.galleryUniqueName ], diff --git a/sdk/compute/arm-compute/src/operations/sharedGalleryImages.ts b/sdk/compute/arm-compute/src/operations/sharedGalleryImages.ts index b30d2a77e79a..866f2a8c6aef 100644 --- a/sdk/compute/arm-compute/src/operations/sharedGalleryImages.ts +++ b/sdk/compute/arm-compute/src/operations/sharedGalleryImages.ts @@ -169,7 +169,7 @@ const listOperationSpec: coreClient.OperationSpec = { urlParameters: [ Parameters.$host, Parameters.subscriptionId, - Parameters.location, + Parameters.location1, Parameters.galleryUniqueName ], headerParameters: [Parameters.accept], @@ -191,7 +191,7 @@ const getOperationSpec: coreClient.OperationSpec = { urlParameters: [ Parameters.$host, Parameters.subscriptionId, - Parameters.location, + Parameters.location1, Parameters.galleryImageName, Parameters.galleryUniqueName ], @@ -214,7 +214,7 @@ const listNextOperationSpec: coreClient.OperationSpec = { Parameters.$host, Parameters.subscriptionId, Parameters.nextLink, - Parameters.location, + Parameters.location1, Parameters.galleryUniqueName ], headerParameters: [Parameters.accept], diff --git a/sdk/compute/arm-compute/src/operations/snapshots.ts b/sdk/compute/arm-compute/src/operations/snapshots.ts index cbea0ae90c69..7d5f43026b87 100644 --- a/sdk/compute/arm-compute/src/operations/snapshots.ts +++ b/sdk/compute/arm-compute/src/operations/snapshots.ts @@ -699,8 +699,8 @@ const createOrUpdateOperationSpec: coreClient.OperationSpec = { queryParameters: [Parameters.apiVersion2], urlParameters: [ Parameters.$host, - Parameters.resourceGroupName, Parameters.subscriptionId, + Parameters.resourceGroupName, Parameters.snapshotName ], headerParameters: [Parameters.accept, Parameters.contentType], @@ -729,8 +729,8 @@ const updateOperationSpec: coreClient.OperationSpec = { queryParameters: [Parameters.apiVersion2], urlParameters: [ Parameters.$host, - Parameters.resourceGroupName, Parameters.subscriptionId, + Parameters.resourceGroupName, Parameters.snapshotName ], headerParameters: [Parameters.accept, Parameters.contentType], @@ -749,8 +749,8 @@ const getOperationSpec: coreClient.OperationSpec = { queryParameters: [Parameters.apiVersion2], urlParameters: [ Parameters.$host, - Parameters.resourceGroupName, Parameters.subscriptionId, + Parameters.resourceGroupName, Parameters.snapshotName ], headerParameters: [Parameters.accept], @@ -764,8 +764,8 @@ const deleteOperationSpec: coreClient.OperationSpec = { queryParameters: [Parameters.apiVersion2], urlParameters: [ Parameters.$host, - Parameters.resourceGroupName, Parameters.subscriptionId, + Parameters.resourceGroupName, Parameters.snapshotName ], serializer @@ -782,8 +782,8 @@ const listByResourceGroupOperationSpec: coreClient.OperationSpec = { queryParameters: [Parameters.apiVersion2], urlParameters: [ Parameters.$host, - Parameters.resourceGroupName, - Parameters.subscriptionId + Parameters.subscriptionId, + Parameters.resourceGroupName ], headerParameters: [Parameters.accept], serializer @@ -823,8 +823,8 @@ const grantAccessOperationSpec: coreClient.OperationSpec = { queryParameters: [Parameters.apiVersion2], urlParameters: [ Parameters.$host, - Parameters.resourceGroupName, Parameters.subscriptionId, + Parameters.resourceGroupName, Parameters.snapshotName ], headerParameters: [Parameters.accept, Parameters.contentType], @@ -839,8 +839,8 @@ const revokeAccessOperationSpec: coreClient.OperationSpec = { queryParameters: [Parameters.apiVersion2], urlParameters: [ Parameters.$host, - Parameters.resourceGroupName, Parameters.subscriptionId, + Parameters.resourceGroupName, Parameters.snapshotName ], serializer @@ -856,9 +856,9 @@ const listByResourceGroupNextOperationSpec: coreClient.OperationSpec = { queryParameters: [Parameters.apiVersion2], urlParameters: [ Parameters.$host, - Parameters.resourceGroupName, Parameters.subscriptionId, - Parameters.nextLink + Parameters.nextLink, + Parameters.resourceGroupName ], headerParameters: [Parameters.accept], serializer diff --git a/sdk/compute/arm-compute/src/operations/sshPublicKeys.ts b/sdk/compute/arm-compute/src/operations/sshPublicKeys.ts index 40f8d1326e74..e53a341cb169 100644 --- a/sdk/compute/arm-compute/src/operations/sshPublicKeys.ts +++ b/sdk/compute/arm-compute/src/operations/sshPublicKeys.ts @@ -332,8 +332,8 @@ const listByResourceGroupOperationSpec: coreClient.OperationSpec = { queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, - Parameters.resourceGroupName, - Parameters.subscriptionId + Parameters.subscriptionId, + Parameters.resourceGroupName ], headerParameters: [Parameters.accept], serializer @@ -353,12 +353,12 @@ const createOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.CloudError } }, - requestBody: Parameters.parameters8, + requestBody: Parameters.parameters18, queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, - Parameters.resourceGroupName, Parameters.subscriptionId, + Parameters.resourceGroupName, Parameters.sshPublicKeyName ], headerParameters: [Parameters.accept, Parameters.contentType], @@ -377,12 +377,12 @@ const updateOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.CloudError } }, - requestBody: Parameters.parameters9, + requestBody: Parameters.parameters19, queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, - Parameters.resourceGroupName, Parameters.subscriptionId, + Parameters.resourceGroupName, Parameters.sshPublicKeyName ], headerParameters: [Parameters.accept, Parameters.contentType], @@ -403,8 +403,8 @@ const deleteOperationSpec: coreClient.OperationSpec = { queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, - Parameters.resourceGroupName, Parameters.subscriptionId, + Parameters.resourceGroupName, Parameters.sshPublicKeyName ], headerParameters: [Parameters.accept], @@ -425,8 +425,8 @@ const getOperationSpec: coreClient.OperationSpec = { queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, - Parameters.resourceGroupName, Parameters.subscriptionId, + Parameters.resourceGroupName, Parameters.sshPublicKeyName ], headerParameters: [Parameters.accept], @@ -447,8 +447,8 @@ const generateKeyPairOperationSpec: coreClient.OperationSpec = { queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, - Parameters.resourceGroupName, Parameters.subscriptionId, + Parameters.resourceGroupName, Parameters.sshPublicKeyName ], headerParameters: [Parameters.accept], @@ -488,9 +488,9 @@ const listByResourceGroupNextOperationSpec: coreClient.OperationSpec = { queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, - Parameters.resourceGroupName, Parameters.subscriptionId, - Parameters.nextLink + Parameters.nextLink, + Parameters.resourceGroupName ], headerParameters: [Parameters.accept], serializer diff --git a/sdk/compute/arm-compute/src/operations/usageOperations.ts b/sdk/compute/arm-compute/src/operations/usageOperations.ts index 14ae175384ae..bc6a70ec7a94 100644 --- a/sdk/compute/arm-compute/src/operations/usageOperations.ts +++ b/sdk/compute/arm-compute/src/operations/usageOperations.ts @@ -131,8 +131,8 @@ const listOperationSpec: coreClient.OperationSpec = { queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, - Parameters.subscriptionId, - Parameters.location1 + Parameters.location, + Parameters.subscriptionId ], headerParameters: [Parameters.accept], serializer @@ -151,9 +151,9 @@ const listNextOperationSpec: coreClient.OperationSpec = { queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, + Parameters.location, Parameters.subscriptionId, - Parameters.nextLink, - Parameters.location1 + Parameters.nextLink ], headerParameters: [Parameters.accept], serializer diff --git a/sdk/compute/arm-compute/src/operations/virtualMachineExtensionImages.ts b/sdk/compute/arm-compute/src/operations/virtualMachineExtensionImages.ts index 98dc91979439..2d5b9aef5d2c 100644 --- a/sdk/compute/arm-compute/src/operations/virtualMachineExtensionImages.ts +++ b/sdk/compute/arm-compute/src/operations/virtualMachineExtensionImages.ts @@ -109,10 +109,10 @@ const getOperationSpec: coreClient.OperationSpec = { urlParameters: [ Parameters.$host, Parameters.subscriptionId, - Parameters.location, + Parameters.location1, Parameters.publisherName, - Parameters.typeParam, - Parameters.version + Parameters.version, + Parameters.typeParam ], headerParameters: [Parameters.accept], serializer @@ -143,7 +143,7 @@ const listTypesOperationSpec: coreClient.OperationSpec = { urlParameters: [ Parameters.$host, Parameters.subscriptionId, - Parameters.location, + Parameters.location1, Parameters.publisherName ], headerParameters: [Parameters.accept], @@ -180,7 +180,7 @@ const listVersionsOperationSpec: coreClient.OperationSpec = { urlParameters: [ Parameters.$host, Parameters.subscriptionId, - Parameters.location, + Parameters.location1, Parameters.publisherName, Parameters.typeParam ], diff --git a/sdk/compute/arm-compute/src/operations/virtualMachineExtensions.ts b/sdk/compute/arm-compute/src/operations/virtualMachineExtensions.ts index f6831e2944a4..cbeceabacf57 100644 --- a/sdk/compute/arm-compute/src/operations/virtualMachineExtensions.ts +++ b/sdk/compute/arm-compute/src/operations/virtualMachineExtensions.ts @@ -386,14 +386,14 @@ const createOrUpdateOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.CloudError } }, - requestBody: Parameters.extensionParameters, + requestBody: Parameters.extensionParameters4, queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, - Parameters.resourceGroupName, Parameters.subscriptionId, - Parameters.vmName, - Parameters.vmExtensionName + Parameters.resourceGroupName, + Parameters.vmExtensionName, + Parameters.vmName ], headerParameters: [Parameters.accept, Parameters.contentType], mediaType: "json", @@ -420,14 +420,14 @@ const updateOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.CloudError } }, - requestBody: Parameters.extensionParameters1, + requestBody: Parameters.extensionParameters5, queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, - Parameters.resourceGroupName, Parameters.subscriptionId, - Parameters.vmName, - Parameters.vmExtensionName + Parameters.resourceGroupName, + Parameters.vmExtensionName, + Parameters.vmName ], headerParameters: [Parameters.accept, Parameters.contentType], mediaType: "json", @@ -449,10 +449,10 @@ const deleteOperationSpec: coreClient.OperationSpec = { queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, - Parameters.resourceGroupName, Parameters.subscriptionId, - Parameters.vmName, - Parameters.vmExtensionName + Parameters.resourceGroupName, + Parameters.vmExtensionName, + Parameters.vmName ], headerParameters: [Parameters.accept], serializer @@ -469,13 +469,13 @@ const getOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.CloudError } }, - queryParameters: [Parameters.apiVersion, Parameters.expand], + queryParameters: [Parameters.apiVersion, Parameters.expand1], urlParameters: [ Parameters.$host, - Parameters.resourceGroupName, Parameters.subscriptionId, - Parameters.vmName, - Parameters.vmExtensionName + Parameters.resourceGroupName, + Parameters.vmExtensionName, + Parameters.vmName ], headerParameters: [Parameters.accept], serializer @@ -492,11 +492,11 @@ const listOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.CloudError } }, - queryParameters: [Parameters.apiVersion, Parameters.expand], + queryParameters: [Parameters.apiVersion, Parameters.expand1], urlParameters: [ Parameters.$host, - Parameters.resourceGroupName, Parameters.subscriptionId, + Parameters.resourceGroupName, Parameters.vmName ], headerParameters: [Parameters.accept], diff --git a/sdk/compute/arm-compute/src/operations/virtualMachineImages.ts b/sdk/compute/arm-compute/src/operations/virtualMachineImages.ts index 6aa4593ed42d..b48b713cfc39 100644 --- a/sdk/compute/arm-compute/src/operations/virtualMachineImages.ts +++ b/sdk/compute/arm-compute/src/operations/virtualMachineImages.ts @@ -151,11 +151,11 @@ const getOperationSpec: coreClient.OperationSpec = { urlParameters: [ Parameters.$host, Parameters.subscriptionId, - Parameters.location, + Parameters.location1, Parameters.publisherName, - Parameters.version, Parameters.offer, - Parameters.skus + Parameters.skus, + Parameters.version ], headerParameters: [Parameters.accept], serializer @@ -184,14 +184,14 @@ const listOperationSpec: coreClient.OperationSpec = { }, queryParameters: [ Parameters.apiVersion, - Parameters.expand, + Parameters.expand1, Parameters.top, Parameters.orderby ], urlParameters: [ Parameters.$host, Parameters.subscriptionId, - Parameters.location, + Parameters.location1, Parameters.publisherName, Parameters.offer, Parameters.skus @@ -225,7 +225,7 @@ const listOffersOperationSpec: coreClient.OperationSpec = { urlParameters: [ Parameters.$host, Parameters.subscriptionId, - Parameters.location, + Parameters.location1, Parameters.publisherName ], headerParameters: [Parameters.accept], @@ -257,7 +257,7 @@ const listPublishersOperationSpec: coreClient.OperationSpec = { urlParameters: [ Parameters.$host, Parameters.subscriptionId, - Parameters.location + Parameters.location1 ], headerParameters: [Parameters.accept], serializer @@ -288,7 +288,7 @@ const listSkusOperationSpec: coreClient.OperationSpec = { urlParameters: [ Parameters.$host, Parameters.subscriptionId, - Parameters.location, + Parameters.location1, Parameters.publisherName, Parameters.offer ], diff --git a/sdk/compute/arm-compute/src/operations/virtualMachineImagesEdgeZone.ts b/sdk/compute/arm-compute/src/operations/virtualMachineImagesEdgeZone.ts index 1fc0f860f77e..b0e5e0614c4b 100644 --- a/sdk/compute/arm-compute/src/operations/virtualMachineImagesEdgeZone.ts +++ b/sdk/compute/arm-compute/src/operations/virtualMachineImagesEdgeZone.ts @@ -163,11 +163,11 @@ const getOperationSpec: coreClient.OperationSpec = { urlParameters: [ Parameters.$host, Parameters.subscriptionId, - Parameters.location, + Parameters.location1, Parameters.publisherName, - Parameters.version, Parameters.offer, Parameters.skus, + Parameters.version, Parameters.edgeZone ], headerParameters: [Parameters.accept], @@ -197,14 +197,14 @@ const listOperationSpec: coreClient.OperationSpec = { }, queryParameters: [ Parameters.apiVersion, - Parameters.expand, + Parameters.expand1, Parameters.top, Parameters.orderby ], urlParameters: [ Parameters.$host, Parameters.subscriptionId, - Parameters.location, + Parameters.location1, Parameters.publisherName, Parameters.offer, Parameters.skus, @@ -239,7 +239,7 @@ const listOffersOperationSpec: coreClient.OperationSpec = { urlParameters: [ Parameters.$host, Parameters.subscriptionId, - Parameters.location, + Parameters.location1, Parameters.publisherName, Parameters.edgeZone ], @@ -272,7 +272,7 @@ const listPublishersOperationSpec: coreClient.OperationSpec = { urlParameters: [ Parameters.$host, Parameters.subscriptionId, - Parameters.location, + Parameters.location1, Parameters.edgeZone ], headerParameters: [Parameters.accept], @@ -304,7 +304,7 @@ const listSkusOperationSpec: coreClient.OperationSpec = { urlParameters: [ Parameters.$host, Parameters.subscriptionId, - Parameters.location, + Parameters.location1, Parameters.publisherName, Parameters.offer, Parameters.edgeZone diff --git a/sdk/compute/arm-compute/src/operations/virtualMachineRunCommands.ts b/sdk/compute/arm-compute/src/operations/virtualMachineRunCommands.ts index 3b13bec43c29..fa76c9ccf411 100644 --- a/sdk/compute/arm-compute/src/operations/virtualMachineRunCommands.ts +++ b/sdk/compute/arm-compute/src/operations/virtualMachineRunCommands.ts @@ -562,8 +562,8 @@ const listOperationSpec: coreClient.OperationSpec = { queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, - Parameters.subscriptionId, - Parameters.location1 + Parameters.location, + Parameters.subscriptionId ], headerParameters: [Parameters.accept1], serializer @@ -580,8 +580,8 @@ const getOperationSpec: coreClient.OperationSpec = { queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, + Parameters.location, Parameters.subscriptionId, - Parameters.location1, Parameters.commandId ], headerParameters: [Parameters.accept1], @@ -612,8 +612,8 @@ const createOrUpdateOperationSpec: coreClient.OperationSpec = { queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, - Parameters.resourceGroupName, Parameters.subscriptionId, + Parameters.resourceGroupName, Parameters.vmName, Parameters.runCommandName ], @@ -646,8 +646,8 @@ const updateOperationSpec: coreClient.OperationSpec = { queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, - Parameters.resourceGroupName, Parameters.subscriptionId, + Parameters.resourceGroupName, Parameters.vmName, Parameters.runCommandName ], @@ -671,8 +671,8 @@ const deleteOperationSpec: coreClient.OperationSpec = { queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, - Parameters.resourceGroupName, Parameters.subscriptionId, + Parameters.resourceGroupName, Parameters.vmName, Parameters.runCommandName ], @@ -691,11 +691,11 @@ const getByVirtualMachineOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.CloudError } }, - queryParameters: [Parameters.apiVersion, Parameters.expand], + queryParameters: [Parameters.apiVersion, Parameters.expand1], urlParameters: [ Parameters.$host, - Parameters.resourceGroupName, Parameters.subscriptionId, + Parameters.resourceGroupName, Parameters.vmName, Parameters.runCommandName ], @@ -714,11 +714,11 @@ const listByVirtualMachineOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.CloudError } }, - queryParameters: [Parameters.apiVersion, Parameters.expand], + queryParameters: [Parameters.apiVersion, Parameters.expand1], urlParameters: [ Parameters.$host, - Parameters.resourceGroupName, Parameters.subscriptionId, + Parameters.resourceGroupName, Parameters.vmName ], headerParameters: [Parameters.accept1], @@ -735,9 +735,9 @@ const listNextOperationSpec: coreClient.OperationSpec = { queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, + Parameters.location, Parameters.subscriptionId, - Parameters.nextLink, - Parameters.location1 + Parameters.nextLink ], headerParameters: [Parameters.accept1], serializer @@ -753,12 +753,12 @@ const listByVirtualMachineNextOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.CloudError } }, - queryParameters: [Parameters.apiVersion, Parameters.expand], + queryParameters: [Parameters.apiVersion, Parameters.expand1], urlParameters: [ Parameters.$host, - Parameters.resourceGroupName, Parameters.subscriptionId, Parameters.nextLink, + Parameters.resourceGroupName, Parameters.vmName ], headerParameters: [Parameters.accept1], diff --git a/sdk/compute/arm-compute/src/operations/virtualMachineScaleSetExtensions.ts b/sdk/compute/arm-compute/src/operations/virtualMachineScaleSetExtensions.ts index ad06682fe511..e2cbb6a12f24 100644 --- a/sdk/compute/arm-compute/src/operations/virtualMachineScaleSetExtensions.ts +++ b/sdk/compute/arm-compute/src/operations/virtualMachineScaleSetExtensions.ts @@ -471,12 +471,12 @@ const createOrUpdateOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.CloudError } }, - requestBody: Parameters.extensionParameters2, + requestBody: Parameters.extensionParameters, queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, - Parameters.resourceGroupName, Parameters.subscriptionId, + Parameters.resourceGroupName, Parameters.vmScaleSetName, Parameters.vmssExtensionName ], @@ -505,12 +505,12 @@ const updateOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.CloudError } }, - requestBody: Parameters.extensionParameters3, + requestBody: Parameters.extensionParameters1, queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, - Parameters.resourceGroupName, Parameters.subscriptionId, + Parameters.resourceGroupName, Parameters.vmScaleSetName, Parameters.vmssExtensionName ], @@ -534,8 +534,8 @@ const deleteOperationSpec: coreClient.OperationSpec = { queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, - Parameters.resourceGroupName, Parameters.subscriptionId, + Parameters.resourceGroupName, Parameters.vmScaleSetName, Parameters.vmssExtensionName ], @@ -554,11 +554,11 @@ const getOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.CloudError } }, - queryParameters: [Parameters.apiVersion, Parameters.expand], + queryParameters: [Parameters.apiVersion, Parameters.expand1], urlParameters: [ Parameters.$host, - Parameters.resourceGroupName, Parameters.subscriptionId, + Parameters.resourceGroupName, Parameters.vmScaleSetName, Parameters.vmssExtensionName ], @@ -580,8 +580,8 @@ const listOperationSpec: coreClient.OperationSpec = { queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, - Parameters.resourceGroupName, Parameters.subscriptionId, + Parameters.resourceGroupName, Parameters.vmScaleSetName ], headerParameters: [Parameters.accept], @@ -601,9 +601,9 @@ const listNextOperationSpec: coreClient.OperationSpec = { queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, - Parameters.resourceGroupName, Parameters.subscriptionId, Parameters.nextLink, + Parameters.resourceGroupName, Parameters.vmScaleSetName ], headerParameters: [Parameters.accept], diff --git a/sdk/compute/arm-compute/src/operations/virtualMachineScaleSetRollingUpgrades.ts b/sdk/compute/arm-compute/src/operations/virtualMachineScaleSetRollingUpgrades.ts index 460853136a1d..3b75e5ae82f3 100644 --- a/sdk/compute/arm-compute/src/operations/virtualMachineScaleSetRollingUpgrades.ts +++ b/sdk/compute/arm-compute/src/operations/virtualMachineScaleSetRollingUpgrades.ts @@ -318,8 +318,8 @@ const cancelOperationSpec: coreClient.OperationSpec = { queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, - Parameters.resourceGroupName, Parameters.subscriptionId, + Parameters.resourceGroupName, Parameters.vmScaleSetName ], headerParameters: [Parameters.accept], @@ -341,8 +341,8 @@ const startOSUpgradeOperationSpec: coreClient.OperationSpec = { queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, - Parameters.resourceGroupName, Parameters.subscriptionId, + Parameters.resourceGroupName, Parameters.vmScaleSetName ], headerParameters: [Parameters.accept], @@ -364,8 +364,8 @@ const startExtensionUpgradeOperationSpec: coreClient.OperationSpec = { queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, - Parameters.resourceGroupName, Parameters.subscriptionId, + Parameters.resourceGroupName, Parameters.vmScaleSetName ], headerParameters: [Parameters.accept], @@ -386,8 +386,8 @@ const getLatestOperationSpec: coreClient.OperationSpec = { queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, - Parameters.resourceGroupName, Parameters.subscriptionId, + Parameters.resourceGroupName, Parameters.vmScaleSetName ], headerParameters: [Parameters.accept], diff --git a/sdk/compute/arm-compute/src/operations/virtualMachineScaleSetVMExtensions.ts b/sdk/compute/arm-compute/src/operations/virtualMachineScaleSetVMExtensions.ts index ce01f440a379..a216e1b379f1 100644 --- a/sdk/compute/arm-compute/src/operations/virtualMachineScaleSetVMExtensions.ts +++ b/sdk/compute/arm-compute/src/operations/virtualMachineScaleSetVMExtensions.ts @@ -422,15 +422,15 @@ const createOrUpdateOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.CloudError } }, - requestBody: Parameters.extensionParameters4, + requestBody: Parameters.extensionParameters2, queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, - Parameters.resourceGroupName, Parameters.subscriptionId, - Parameters.vmExtensionName, + Parameters.resourceGroupName, Parameters.vmScaleSetName, - Parameters.instanceId + Parameters.instanceId, + Parameters.vmExtensionName ], headerParameters: [Parameters.accept, Parameters.contentType], mediaType: "json", @@ -457,15 +457,15 @@ const updateOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.CloudError } }, - requestBody: Parameters.extensionParameters5, + requestBody: Parameters.extensionParameters3, queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, - Parameters.resourceGroupName, Parameters.subscriptionId, - Parameters.vmExtensionName, + Parameters.resourceGroupName, Parameters.vmScaleSetName, - Parameters.instanceId + Parameters.instanceId, + Parameters.vmExtensionName ], headerParameters: [Parameters.accept, Parameters.contentType], mediaType: "json", @@ -487,11 +487,11 @@ const deleteOperationSpec: coreClient.OperationSpec = { queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, - Parameters.resourceGroupName, Parameters.subscriptionId, - Parameters.vmExtensionName, + Parameters.resourceGroupName, Parameters.vmScaleSetName, - Parameters.instanceId + Parameters.instanceId, + Parameters.vmExtensionName ], headerParameters: [Parameters.accept], serializer @@ -508,14 +508,14 @@ const getOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.CloudError } }, - queryParameters: [Parameters.apiVersion, Parameters.expand], + queryParameters: [Parameters.apiVersion, Parameters.expand1], urlParameters: [ Parameters.$host, - Parameters.resourceGroupName, Parameters.subscriptionId, - Parameters.vmExtensionName, + Parameters.resourceGroupName, Parameters.vmScaleSetName, - Parameters.instanceId + Parameters.instanceId, + Parameters.vmExtensionName ], headerParameters: [Parameters.accept], serializer @@ -532,11 +532,11 @@ const listOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.CloudError } }, - queryParameters: [Parameters.apiVersion, Parameters.expand], + queryParameters: [Parameters.apiVersion, Parameters.expand1], urlParameters: [ Parameters.$host, - Parameters.resourceGroupName, Parameters.subscriptionId, + Parameters.resourceGroupName, Parameters.vmScaleSetName, Parameters.instanceId ], diff --git a/sdk/compute/arm-compute/src/operations/virtualMachineScaleSetVMRunCommands.ts b/sdk/compute/arm-compute/src/operations/virtualMachineScaleSetVMRunCommands.ts index 6bed28cf085f..35b0f4b87fe4 100644 --- a/sdk/compute/arm-compute/src/operations/virtualMachineScaleSetVMRunCommands.ts +++ b/sdk/compute/arm-compute/src/operations/virtualMachineScaleSetVMRunCommands.ts @@ -531,8 +531,8 @@ const createOrUpdateOperationSpec: coreClient.OperationSpec = { queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, - Parameters.resourceGroupName, Parameters.subscriptionId, + Parameters.resourceGroupName, Parameters.vmScaleSetName, Parameters.instanceId, Parameters.runCommandName @@ -566,8 +566,8 @@ const updateOperationSpec: coreClient.OperationSpec = { queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, - Parameters.resourceGroupName, Parameters.subscriptionId, + Parameters.resourceGroupName, Parameters.vmScaleSetName, Parameters.instanceId, Parameters.runCommandName @@ -592,8 +592,8 @@ const deleteOperationSpec: coreClient.OperationSpec = { queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, - Parameters.resourceGroupName, Parameters.subscriptionId, + Parameters.resourceGroupName, Parameters.vmScaleSetName, Parameters.instanceId, Parameters.runCommandName @@ -613,11 +613,11 @@ const getOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.CloudError } }, - queryParameters: [Parameters.apiVersion, Parameters.expand], + queryParameters: [Parameters.apiVersion, Parameters.expand1], urlParameters: [ Parameters.$host, - Parameters.resourceGroupName, Parameters.subscriptionId, + Parameters.resourceGroupName, Parameters.vmScaleSetName, Parameters.instanceId, Parameters.runCommandName @@ -637,11 +637,11 @@ const listOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.CloudError } }, - queryParameters: [Parameters.apiVersion, Parameters.expand], + queryParameters: [Parameters.apiVersion, Parameters.expand1], urlParameters: [ Parameters.$host, - Parameters.resourceGroupName, Parameters.subscriptionId, + Parameters.resourceGroupName, Parameters.vmScaleSetName, Parameters.instanceId ], @@ -659,12 +659,12 @@ const listNextOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.CloudError } }, - queryParameters: [Parameters.apiVersion, Parameters.expand], + queryParameters: [Parameters.apiVersion, Parameters.expand1], urlParameters: [ Parameters.$host, - Parameters.resourceGroupName, Parameters.subscriptionId, Parameters.nextLink, + Parameters.resourceGroupName, Parameters.vmScaleSetName, Parameters.instanceId ], diff --git a/sdk/compute/arm-compute/src/operations/virtualMachineScaleSetVMs.ts b/sdk/compute/arm-compute/src/operations/virtualMachineScaleSetVMs.ts index 7568d0d36fd6..d515343261a7 100644 --- a/sdk/compute/arm-compute/src/operations/virtualMachineScaleSetVMs.ts +++ b/sdk/compute/arm-compute/src/operations/virtualMachineScaleSetVMs.ts @@ -1228,8 +1228,8 @@ const reimageOperationSpec: coreClient.OperationSpec = { queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, - Parameters.resourceGroupName, Parameters.subscriptionId, + Parameters.resourceGroupName, Parameters.vmScaleSetName, Parameters.instanceId ], @@ -1253,8 +1253,8 @@ const reimageAllOperationSpec: coreClient.OperationSpec = { queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, - Parameters.resourceGroupName, Parameters.subscriptionId, + Parameters.resourceGroupName, Parameters.vmScaleSetName, Parameters.instanceId ], @@ -1277,8 +1277,8 @@ const deallocateOperationSpec: coreClient.OperationSpec = { queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, - Parameters.resourceGroupName, Parameters.subscriptionId, + Parameters.resourceGroupName, Parameters.vmScaleSetName, Parameters.instanceId ], @@ -1306,12 +1306,12 @@ const updateOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.CloudError } }, - requestBody: Parameters.parameters28, + requestBody: Parameters.parameters4, queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, - Parameters.resourceGroupName, Parameters.subscriptionId, + Parameters.resourceGroupName, Parameters.vmScaleSetName, Parameters.instanceId ], @@ -1335,8 +1335,8 @@ const deleteOperationSpec: coreClient.OperationSpec = { queryParameters: [Parameters.apiVersion, Parameters.forceDeletion], urlParameters: [ Parameters.$host, - Parameters.resourceGroupName, Parameters.subscriptionId, + Parameters.resourceGroupName, Parameters.vmScaleSetName, Parameters.instanceId ], @@ -1355,11 +1355,11 @@ const getOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.CloudError } }, - queryParameters: [Parameters.apiVersion, Parameters.expand1], + queryParameters: [Parameters.apiVersion, Parameters.expand2], urlParameters: [ Parameters.$host, - Parameters.resourceGroupName, Parameters.subscriptionId, + Parameters.resourceGroupName, Parameters.vmScaleSetName, Parameters.instanceId ], @@ -1381,8 +1381,8 @@ const getInstanceViewOperationSpec: coreClient.OperationSpec = { queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, - Parameters.resourceGroupName, Parameters.subscriptionId, + Parameters.resourceGroupName, Parameters.vmScaleSetName, Parameters.instanceId ], @@ -1403,14 +1403,14 @@ const listOperationSpec: coreClient.OperationSpec = { }, queryParameters: [ Parameters.apiVersion, - Parameters.expand, + Parameters.expand1, Parameters.filter, Parameters.select ], urlParameters: [ Parameters.$host, - Parameters.resourceGroupName, Parameters.subscriptionId, + Parameters.resourceGroupName, Parameters.virtualMachineScaleSetName ], headerParameters: [Parameters.accept], @@ -1432,8 +1432,8 @@ const powerOffOperationSpec: coreClient.OperationSpec = { queryParameters: [Parameters.apiVersion, Parameters.skipShutdown], urlParameters: [ Parameters.$host, - Parameters.resourceGroupName, Parameters.subscriptionId, + Parameters.resourceGroupName, Parameters.vmScaleSetName, Parameters.instanceId ], @@ -1456,8 +1456,8 @@ const restartOperationSpec: coreClient.OperationSpec = { queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, - Parameters.resourceGroupName, Parameters.subscriptionId, + Parameters.resourceGroupName, Parameters.vmScaleSetName, Parameters.instanceId ], @@ -1480,8 +1480,8 @@ const startOperationSpec: coreClient.OperationSpec = { queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, - Parameters.resourceGroupName, Parameters.subscriptionId, + Parameters.resourceGroupName, Parameters.vmScaleSetName, Parameters.instanceId ], @@ -1504,8 +1504,8 @@ const redeployOperationSpec: coreClient.OperationSpec = { queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, - Parameters.resourceGroupName, Parameters.subscriptionId, + Parameters.resourceGroupName, Parameters.vmScaleSetName, Parameters.instanceId ], @@ -1530,8 +1530,8 @@ const retrieveBootDiagnosticsDataOperationSpec: coreClient.OperationSpec = { ], urlParameters: [ Parameters.$host, - Parameters.resourceGroupName, Parameters.subscriptionId, + Parameters.resourceGroupName, Parameters.vmScaleSetName, Parameters.instanceId ], @@ -1554,8 +1554,8 @@ const performMaintenanceOperationSpec: coreClient.OperationSpec = { queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, - Parameters.resourceGroupName, Parameters.subscriptionId, + Parameters.resourceGroupName, Parameters.vmScaleSetName, Parameters.instanceId ], @@ -1575,8 +1575,8 @@ const simulateEvictionOperationSpec: coreClient.OperationSpec = { queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, - Parameters.resourceGroupName, Parameters.subscriptionId, + Parameters.resourceGroupName, Parameters.vmScaleSetName, Parameters.instanceId ], @@ -1601,12 +1601,12 @@ const runCommandOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.RunCommandResult } }, - requestBody: Parameters.parameters14, + requestBody: Parameters.parameters5, queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, - Parameters.resourceGroupName, Parameters.subscriptionId, + Parameters.resourceGroupName, Parameters.vmScaleSetName, Parameters.instanceId ], @@ -1627,15 +1627,15 @@ const listNextOperationSpec: coreClient.OperationSpec = { }, queryParameters: [ Parameters.apiVersion, - Parameters.expand, + Parameters.expand1, Parameters.filter, Parameters.select ], urlParameters: [ Parameters.$host, - Parameters.resourceGroupName, Parameters.subscriptionId, Parameters.nextLink, + Parameters.resourceGroupName, Parameters.virtualMachineScaleSetName ], headerParameters: [Parameters.accept], diff --git a/sdk/compute/arm-compute/src/operations/virtualMachineScaleSets.ts b/sdk/compute/arm-compute/src/operations/virtualMachineScaleSets.ts index 24ddad588fea..0a763798ce91 100644 --- a/sdk/compute/arm-compute/src/operations/virtualMachineScaleSets.ts +++ b/sdk/compute/arm-compute/src/operations/virtualMachineScaleSets.ts @@ -1801,8 +1801,8 @@ const listByLocationOperationSpec: coreClient.OperationSpec = { queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, - Parameters.subscriptionId, - Parameters.location1 + Parameters.location, + Parameters.subscriptionId ], headerParameters: [Parameters.accept], serializer @@ -1828,12 +1828,12 @@ const createOrUpdateOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.CloudError } }, - requestBody: Parameters.parameters15, + requestBody: Parameters.parameters, queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, - Parameters.resourceGroupName, Parameters.subscriptionId, + Parameters.resourceGroupName, Parameters.vmScaleSetName ], headerParameters: [Parameters.accept, Parameters.contentType], @@ -1861,12 +1861,12 @@ const updateOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.CloudError } }, - requestBody: Parameters.parameters16, + requestBody: Parameters.parameters1, queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, - Parameters.resourceGroupName, Parameters.subscriptionId, + Parameters.resourceGroupName, Parameters.vmScaleSetName ], headerParameters: [Parameters.accept, Parameters.contentType], @@ -1889,8 +1889,8 @@ const deleteOperationSpec: coreClient.OperationSpec = { queryParameters: [Parameters.apiVersion, Parameters.forceDeletion], urlParameters: [ Parameters.$host, - Parameters.resourceGroupName, Parameters.subscriptionId, + Parameters.resourceGroupName, Parameters.vmScaleSetName ], headerParameters: [Parameters.accept], @@ -1908,11 +1908,11 @@ const getOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.CloudError } }, - queryParameters: [Parameters.apiVersion, Parameters.expand2], + queryParameters: [Parameters.apiVersion, Parameters.expand], urlParameters: [ Parameters.$host, - Parameters.resourceGroupName, Parameters.subscriptionId, + Parameters.resourceGroupName, Parameters.vmScaleSetName ], headerParameters: [Parameters.accept], @@ -1935,8 +1935,8 @@ const deallocateOperationSpec: coreClient.OperationSpec = { queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, - Parameters.resourceGroupName, Parameters.subscriptionId, + Parameters.resourceGroupName, Parameters.vmScaleSetName ], headerParameters: [Parameters.accept, Parameters.contentType], @@ -1960,8 +1960,8 @@ const deleteInstancesOperationSpec: coreClient.OperationSpec = { queryParameters: [Parameters.apiVersion, Parameters.forceDeletion], urlParameters: [ Parameters.$host, - Parameters.resourceGroupName, Parameters.subscriptionId, + Parameters.resourceGroupName, Parameters.vmScaleSetName ], headerParameters: [Parameters.accept, Parameters.contentType], @@ -1983,8 +1983,8 @@ const getInstanceViewOperationSpec: coreClient.OperationSpec = { queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, - Parameters.resourceGroupName, Parameters.subscriptionId, + Parameters.resourceGroupName, Parameters.vmScaleSetName ], headerParameters: [Parameters.accept], @@ -2005,8 +2005,8 @@ const listOperationSpec: coreClient.OperationSpec = { queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, - Parameters.resourceGroupName, - Parameters.subscriptionId + Parameters.subscriptionId, + Parameters.resourceGroupName ], headerParameters: [Parameters.accept], serializer @@ -2043,8 +2043,8 @@ const listSkusOperationSpec: coreClient.OperationSpec = { queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, - Parameters.resourceGroupName, Parameters.subscriptionId, + Parameters.resourceGroupName, Parameters.vmScaleSetName ], headerParameters: [Parameters.accept], @@ -2065,8 +2065,8 @@ const getOSUpgradeHistoryOperationSpec: coreClient.OperationSpec = { queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, - Parameters.resourceGroupName, Parameters.subscriptionId, + Parameters.resourceGroupName, Parameters.vmScaleSetName ], headerParameters: [Parameters.accept], @@ -2089,8 +2089,8 @@ const powerOffOperationSpec: coreClient.OperationSpec = { queryParameters: [Parameters.apiVersion, Parameters.skipShutdown], urlParameters: [ Parameters.$host, - Parameters.resourceGroupName, Parameters.subscriptionId, + Parameters.resourceGroupName, Parameters.vmScaleSetName ], headerParameters: [Parameters.accept, Parameters.contentType], @@ -2114,8 +2114,8 @@ const restartOperationSpec: coreClient.OperationSpec = { queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, - Parameters.resourceGroupName, Parameters.subscriptionId, + Parameters.resourceGroupName, Parameters.vmScaleSetName ], headerParameters: [Parameters.accept, Parameters.contentType], @@ -2139,8 +2139,8 @@ const startOperationSpec: coreClient.OperationSpec = { queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, - Parameters.resourceGroupName, Parameters.subscriptionId, + Parameters.resourceGroupName, Parameters.vmScaleSetName ], headerParameters: [Parameters.accept, Parameters.contentType], @@ -2164,8 +2164,8 @@ const redeployOperationSpec: coreClient.OperationSpec = { queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, - Parameters.resourceGroupName, Parameters.subscriptionId, + Parameters.resourceGroupName, Parameters.vmScaleSetName ], headerParameters: [Parameters.accept, Parameters.contentType], @@ -2189,8 +2189,8 @@ const performMaintenanceOperationSpec: coreClient.OperationSpec = { queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, - Parameters.resourceGroupName, Parameters.subscriptionId, + Parameters.resourceGroupName, Parameters.vmScaleSetName ], headerParameters: [Parameters.accept, Parameters.contentType], @@ -2214,8 +2214,8 @@ const updateInstancesOperationSpec: coreClient.OperationSpec = { queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, - Parameters.resourceGroupName, Parameters.subscriptionId, + Parameters.resourceGroupName, Parameters.vmScaleSetName ], headerParameters: [Parameters.accept, Parameters.contentType], @@ -2239,8 +2239,8 @@ const reimageOperationSpec: coreClient.OperationSpec = { queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, - Parameters.resourceGroupName, Parameters.subscriptionId, + Parameters.resourceGroupName, Parameters.vmScaleSetName ], headerParameters: [Parameters.accept, Parameters.contentType], @@ -2264,8 +2264,8 @@ const reimageAllOperationSpec: coreClient.OperationSpec = { queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, - Parameters.resourceGroupName, Parameters.subscriptionId, + Parameters.resourceGroupName, Parameters.vmScaleSetName ], headerParameters: [Parameters.accept, Parameters.contentType], @@ -2292,8 +2292,8 @@ const forceRecoveryServiceFabricPlatformUpdateDomainWalkOperationSpec: coreClien ], urlParameters: [ Parameters.$host, - Parameters.resourceGroupName, Parameters.subscriptionId, + Parameters.resourceGroupName, Parameters.vmScaleSetName ], headerParameters: [Parameters.accept], @@ -2309,12 +2309,12 @@ const convertToSinglePlacementGroupOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.CloudError } }, - requestBody: Parameters.parameters17, + requestBody: Parameters.parameters2, queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, - Parameters.resourceGroupName, Parameters.subscriptionId, + Parameters.resourceGroupName, Parameters.vmScaleSetName ], headerParameters: [Parameters.accept, Parameters.contentType], @@ -2334,12 +2334,12 @@ const setOrchestrationServiceStateOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.CloudError } }, - requestBody: Parameters.parameters18, + requestBody: Parameters.parameters3, queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, - Parameters.resourceGroupName, Parameters.subscriptionId, + Parameters.resourceGroupName, Parameters.vmScaleSetName ], headerParameters: [Parameters.accept, Parameters.contentType], @@ -2360,9 +2360,9 @@ const listByLocationNextOperationSpec: coreClient.OperationSpec = { queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, + Parameters.location, Parameters.subscriptionId, - Parameters.nextLink, - Parameters.location1 + Parameters.nextLink ], headerParameters: [Parameters.accept], serializer @@ -2381,9 +2381,9 @@ const listNextOperationSpec: coreClient.OperationSpec = { queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, - Parameters.resourceGroupName, Parameters.subscriptionId, - Parameters.nextLink + Parameters.nextLink, + Parameters.resourceGroupName ], headerParameters: [Parameters.accept], serializer @@ -2422,9 +2422,9 @@ const listSkusNextOperationSpec: coreClient.OperationSpec = { queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, - Parameters.resourceGroupName, Parameters.subscriptionId, Parameters.nextLink, + Parameters.resourceGroupName, Parameters.vmScaleSetName ], headerParameters: [Parameters.accept], @@ -2444,9 +2444,9 @@ const getOSUpgradeHistoryNextOperationSpec: coreClient.OperationSpec = { queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, - Parameters.resourceGroupName, Parameters.subscriptionId, Parameters.nextLink, + Parameters.resourceGroupName, Parameters.vmScaleSetName ], headerParameters: [Parameters.accept], diff --git a/sdk/compute/arm-compute/src/operations/virtualMachineSizes.ts b/sdk/compute/arm-compute/src/operations/virtualMachineSizes.ts index 1c8d89978a47..b95f88ea0177 100644 --- a/sdk/compute/arm-compute/src/operations/virtualMachineSizes.ts +++ b/sdk/compute/arm-compute/src/operations/virtualMachineSizes.ts @@ -106,8 +106,8 @@ const listOperationSpec: coreClient.OperationSpec = { queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, - Parameters.subscriptionId, - Parameters.location1 + Parameters.location, + Parameters.subscriptionId ], headerParameters: [Parameters.accept], serializer diff --git a/sdk/compute/arm-compute/src/operations/virtualMachines.ts b/sdk/compute/arm-compute/src/operations/virtualMachines.ts index 33ac74d0d841..a67d154eb9ab 100644 --- a/sdk/compute/arm-compute/src/operations/virtualMachines.ts +++ b/sdk/compute/arm-compute/src/operations/virtualMachines.ts @@ -1821,8 +1821,8 @@ const listByLocationOperationSpec: coreClient.OperationSpec = { queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, - Parameters.subscriptionId, - Parameters.location1 + Parameters.location, + Parameters.subscriptionId ], headerParameters: [Parameters.accept], serializer @@ -1848,12 +1848,12 @@ const captureOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.CloudError } }, - requestBody: Parameters.parameters10, + requestBody: Parameters.parameters6, queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, - Parameters.resourceGroupName, Parameters.subscriptionId, + Parameters.resourceGroupName, Parameters.vmName ], headerParameters: [Parameters.accept, Parameters.contentType], @@ -1881,12 +1881,12 @@ const createOrUpdateOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.CloudError } }, - requestBody: Parameters.parameters11, + requestBody: Parameters.parameters7, queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, - Parameters.resourceGroupName, Parameters.subscriptionId, + Parameters.resourceGroupName, Parameters.vmName ], headerParameters: [Parameters.accept, Parameters.contentType], @@ -1914,12 +1914,12 @@ const updateOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.CloudError } }, - requestBody: Parameters.parameters12, + requestBody: Parameters.parameters8, queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, - Parameters.resourceGroupName, Parameters.subscriptionId, + Parameters.resourceGroupName, Parameters.vmName ], headerParameters: [Parameters.accept, Parameters.contentType], @@ -1942,8 +1942,8 @@ const deleteOperationSpec: coreClient.OperationSpec = { queryParameters: [Parameters.apiVersion, Parameters.forceDeletion], urlParameters: [ Parameters.$host, - Parameters.resourceGroupName, Parameters.subscriptionId, + Parameters.resourceGroupName, Parameters.vmName ], headerParameters: [Parameters.accept], @@ -1961,11 +1961,11 @@ const getOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.CloudError } }, - queryParameters: [Parameters.apiVersion, Parameters.expand1], + queryParameters: [Parameters.apiVersion, Parameters.expand2], urlParameters: [ Parameters.$host, - Parameters.resourceGroupName, Parameters.subscriptionId, + Parameters.resourceGroupName, Parameters.vmName ], headerParameters: [Parameters.accept], @@ -1986,8 +1986,8 @@ const instanceViewOperationSpec: coreClient.OperationSpec = { queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, - Parameters.resourceGroupName, Parameters.subscriptionId, + Parameters.resourceGroupName, Parameters.vmName ], headerParameters: [Parameters.accept], @@ -2009,8 +2009,8 @@ const convertToManagedDisksOperationSpec: coreClient.OperationSpec = { queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, - Parameters.resourceGroupName, Parameters.subscriptionId, + Parameters.resourceGroupName, Parameters.vmName ], headerParameters: [Parameters.accept], @@ -2032,8 +2032,8 @@ const deallocateOperationSpec: coreClient.OperationSpec = { queryParameters: [Parameters.apiVersion, Parameters.hibernate], urlParameters: [ Parameters.$host, - Parameters.resourceGroupName, Parameters.subscriptionId, + Parameters.resourceGroupName, Parameters.vmName ], headerParameters: [Parameters.accept], @@ -2052,8 +2052,8 @@ const generalizeOperationSpec: coreClient.OperationSpec = { queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, - Parameters.resourceGroupName, Parameters.subscriptionId, + Parameters.resourceGroupName, Parameters.vmName ], headerParameters: [Parameters.accept], @@ -2074,8 +2074,8 @@ const listOperationSpec: coreClient.OperationSpec = { queryParameters: [Parameters.apiVersion, Parameters.filter], urlParameters: [ Parameters.$host, - Parameters.resourceGroupName, - Parameters.subscriptionId + Parameters.subscriptionId, + Parameters.resourceGroupName ], headerParameters: [Parameters.accept], serializer @@ -2116,8 +2116,8 @@ const listAvailableSizesOperationSpec: coreClient.OperationSpec = { queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, - Parameters.resourceGroupName, Parameters.subscriptionId, + Parameters.resourceGroupName, Parameters.vmName ], headerParameters: [Parameters.accept], @@ -2139,8 +2139,8 @@ const powerOffOperationSpec: coreClient.OperationSpec = { queryParameters: [Parameters.apiVersion, Parameters.skipShutdown], urlParameters: [ Parameters.$host, - Parameters.resourceGroupName, Parameters.subscriptionId, + Parameters.resourceGroupName, Parameters.vmName ], headerParameters: [Parameters.accept], @@ -2162,8 +2162,8 @@ const reapplyOperationSpec: coreClient.OperationSpec = { queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, - Parameters.resourceGroupName, Parameters.subscriptionId, + Parameters.resourceGroupName, Parameters.vmName ], headerParameters: [Parameters.accept], @@ -2185,8 +2185,8 @@ const restartOperationSpec: coreClient.OperationSpec = { queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, - Parameters.resourceGroupName, Parameters.subscriptionId, + Parameters.resourceGroupName, Parameters.vmName ], headerParameters: [Parameters.accept], @@ -2208,8 +2208,8 @@ const startOperationSpec: coreClient.OperationSpec = { queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, - Parameters.resourceGroupName, Parameters.subscriptionId, + Parameters.resourceGroupName, Parameters.vmName ], headerParameters: [Parameters.accept], @@ -2231,8 +2231,8 @@ const redeployOperationSpec: coreClient.OperationSpec = { queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, - Parameters.resourceGroupName, Parameters.subscriptionId, + Parameters.resourceGroupName, Parameters.vmName ], headerParameters: [Parameters.accept], @@ -2251,12 +2251,12 @@ const reimageOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.CloudError } }, - requestBody: Parameters.parameters13, + requestBody: Parameters.parameters9, queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, - Parameters.resourceGroupName, Parameters.subscriptionId, + Parameters.resourceGroupName, Parameters.vmName ], headerParameters: [Parameters.accept, Parameters.contentType], @@ -2281,8 +2281,8 @@ const retrieveBootDiagnosticsDataOperationSpec: coreClient.OperationSpec = { ], urlParameters: [ Parameters.$host, - Parameters.resourceGroupName, Parameters.subscriptionId, + Parameters.resourceGroupName, Parameters.vmName ], headerParameters: [Parameters.accept], @@ -2304,8 +2304,8 @@ const performMaintenanceOperationSpec: coreClient.OperationSpec = { queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, - Parameters.resourceGroupName, Parameters.subscriptionId, + Parameters.resourceGroupName, Parameters.vmName ], headerParameters: [Parameters.accept], @@ -2324,8 +2324,8 @@ const simulateEvictionOperationSpec: coreClient.OperationSpec = { queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, - Parameters.resourceGroupName, Parameters.subscriptionId, + Parameters.resourceGroupName, Parameters.vmName ], headerParameters: [Parameters.accept], @@ -2355,8 +2355,8 @@ const assessPatchesOperationSpec: coreClient.OperationSpec = { queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, - Parameters.resourceGroupName, Parameters.subscriptionId, + Parameters.resourceGroupName, Parameters.vmName ], headerParameters: [Parameters.accept], @@ -2387,8 +2387,8 @@ const installPatchesOperationSpec: coreClient.OperationSpec = { queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, - Parameters.resourceGroupName, Parameters.subscriptionId, + Parameters.resourceGroupName, Parameters.vmName ], headerParameters: [Parameters.accept, Parameters.contentType], @@ -2413,12 +2413,12 @@ const runCommandOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.RunCommandResult } }, - requestBody: Parameters.parameters14, + requestBody: Parameters.parameters5, queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, - Parameters.resourceGroupName, Parameters.subscriptionId, + Parameters.resourceGroupName, Parameters.vmName ], headerParameters: [Parameters.contentType, Parameters.accept1], @@ -2439,9 +2439,9 @@ const listByLocationNextOperationSpec: coreClient.OperationSpec = { queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, + Parameters.location, Parameters.subscriptionId, - Parameters.nextLink, - Parameters.location1 + Parameters.nextLink ], headerParameters: [Parameters.accept], serializer @@ -2460,9 +2460,9 @@ const listNextOperationSpec: coreClient.OperationSpec = { queryParameters: [Parameters.apiVersion, Parameters.filter], urlParameters: [ Parameters.$host, - Parameters.resourceGroupName, Parameters.subscriptionId, - Parameters.nextLink + Parameters.nextLink, + Parameters.resourceGroupName ], headerParameters: [Parameters.accept], serializer diff --git a/sdk/compute/arm-compute/src/operationsInterfaces/index.ts b/sdk/compute/arm-compute/src/operationsInterfaces/index.ts index 91179cafdf10..d3638b03b5f1 100644 --- a/sdk/compute/arm-compute/src/operationsInterfaces/index.ts +++ b/sdk/compute/arm-compute/src/operationsInterfaces/index.ts @@ -7,43 +7,43 @@ */ export * from "./operations"; +export * from "./usageOperations"; +export * from "./virtualMachineSizes"; +export * from "./virtualMachineScaleSets"; +export * from "./virtualMachineScaleSetExtensions"; +export * from "./virtualMachineScaleSetRollingUpgrades"; +export * from "./virtualMachineScaleSetVMExtensions"; +export * from "./virtualMachineScaleSetVMs"; +export * from "./virtualMachineExtensions"; +export * from "./virtualMachines"; +export * from "./virtualMachineImages"; +export * from "./virtualMachineImagesEdgeZone"; +export * from "./virtualMachineExtensionImages"; export * from "./availabilitySets"; export * from "./proximityPlacementGroups"; export * from "./dedicatedHostGroups"; export * from "./dedicatedHosts"; export * from "./sshPublicKeys"; -export * from "./virtualMachineExtensionImages"; -export * from "./virtualMachineExtensions"; -export * from "./virtualMachineImages"; -export * from "./virtualMachineImagesEdgeZone"; -export * from "./usageOperations"; -export * from "./virtualMachines"; -export * from "./virtualMachineScaleSets"; -export * from "./virtualMachineSizes"; export * from "./images"; export * from "./restorePointCollections"; export * from "./restorePoints"; export * from "./capacityReservationGroups"; export * from "./capacityReservations"; -export * from "./virtualMachineScaleSetExtensions"; -export * from "./virtualMachineScaleSetRollingUpgrades"; -export * from "./virtualMachineScaleSetVMExtensions"; -export * from "./virtualMachineScaleSetVMs"; export * from "./logAnalytics"; export * from "./virtualMachineRunCommands"; export * from "./virtualMachineScaleSetVMRunCommands"; -export * from "./resourceSkus"; -export * from "./disks"; -export * from "./snapshots"; -export * from "./diskEncryptionSets"; -export * from "./diskAccesses"; -export * from "./diskRestorePointOperations"; export * from "./galleries"; export * from "./galleryImages"; export * from "./galleryImageVersions"; export * from "./galleryApplications"; export * from "./galleryApplicationVersions"; export * from "./gallerySharingProfile"; +export * from "./resourceSkus"; +export * from "./disks"; +export * from "./snapshots"; +export * from "./diskEncryptionSets"; +export * from "./diskAccesses"; +export * from "./diskRestorePointOperations"; export * from "./sharedGalleries"; export * from "./sharedGalleryImages"; export * from "./sharedGalleryImageVersions"; diff --git a/sdk/compute/arm-compute/test/sampleTest.ts b/sdk/compute/arm-compute/test/sampleTest.ts new file mode 100644 index 000000000000..7ed89b043e1b --- /dev/null +++ b/sdk/compute/arm-compute/test/sampleTest.ts @@ -0,0 +1,48 @@ +/* + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. + * + * Code generated by Microsoft (R) AutoRest Code Generator. + * Changes may cause incorrect behavior and will be lost if the code is regenerated. + */ + +import { + env, + record, + RecorderEnvironmentSetup, + Recorder +} from "@azure-tools/test-recorder"; +import * as assert from "assert"; + +const recorderEnvSetup: RecorderEnvironmentSetup = { + replaceableVariables: { + AZURE_CLIENT_ID: "azure_client_id", + AZURE_CLIENT_SECRET: "azure_client_secret", + AZURE_TENANT_ID: "88888888-8888-8888-8888-888888888888", + SUBSCRIPTION_ID: "azure_subscription_id" + }, + customizationsOnRecordings: [ + (recording: any): any => + recording.replace( + /"access_token":"[^"]*"/g, + `"access_token":"access_token"` + ) + ], + queryParametersToSkip: [] +}; + +describe("My test", () => { + let recorder: Recorder; + + beforeEach(async function() { + recorder = record(this, recorderEnvSetup); + }); + + afterEach(async function() { + await recorder.stop(); + }); + + it("sample test", async function() { + console.log("Hi, I'm a test!"); + }); +}); diff --git a/sdk/compute/arm-compute/tsconfig.json b/sdk/compute/arm-compute/tsconfig.json index b84abc8423ab..3e6ae96443f3 100644 --- a/sdk/compute/arm-compute/tsconfig.json +++ b/sdk/compute/arm-compute/tsconfig.json @@ -15,17 +15,11 @@ ], "declaration": true, "outDir": "./dist-esm", - "importHelpers": true, - "paths": { - "@azure/arm-compute": [ - "./src/index" - ] - } + "importHelpers": true }, "include": [ "./src/**/*.ts", - "./test/**/*.ts", - "samples-dev/**/*.ts" + "./test/**/*.ts" ], "exclude": [ "node_modules"