From b1cf1230cebfcb2eacd52ef5cd0e87df3b7df4ce Mon Sep 17 00:00:00 2001 From: SDKAuto Date: Thu, 28 Jan 2021 04:29:14 +0000 Subject: [PATCH] CodeGen from PR 12543 in Azure/azure-rest-api-specs Merge cfaa6c8bda15abfbe9246acfb01351f45e028a73 into 5e076b3d3a0d6b5c9f083a0fddf0e3082137b0c6 --- sdk/compute/arm-compute/LICENSE.txt | 2 +- sdk/compute/arm-compute/README.md | 9 +- sdk/compute/arm-compute/rollup.config.js | 4 +- .../src/computeManagementClient.ts | 17 +- .../src/computeManagementClientContext.ts | 5 +- .../src/models/availabilitySetsMappers.ts | 31 +- .../cloudServiceRoleInstancesMappers.ts | 225 + .../src/models/cloudServiceRolesMappers.ts | 18 + .../src/models/cloudServicesMappers.ts | 225 + .../cloudServicesUpdateDomainMappers.ts | 16 + .../src/models/containerServicesMappers.ts | 30 +- .../src/models/dedicatedHostGroupsMappers.ts | 31 +- .../src/models/dedicatedHostsMappers.ts | 31 +- .../src/models/diskAccessesMappers.ts | 31 +- .../src/models/diskEncryptionSetsMappers.ts | 30 +- .../diskRestorePointOperationsMappers.ts | 19 + .../arm-compute/src/models/disksMappers.ts | 30 +- .../src/models/galleriesMappers.ts | 30 +- .../galleryApplicationVersionsMappers.ts | 30 +- .../src/models/galleryApplicationsMappers.ts | 30 +- .../src/models/galleryImageVersionsMappers.ts | 30 +- .../src/models/galleryImagesMappers.ts | 30 +- .../arm-compute/src/models/imagesMappers.ts | 31 +- sdk/compute/arm-compute/src/models/index.ts | 5132 ++++++++++++----- .../src/models/logAnalyticsMappers.ts | 4 +- sdk/compute/arm-compute/src/models/mappers.ts | 2301 +++++++- .../src/models/operationsMappers.ts | 4 +- .../arm-compute/src/models/parameters.ts | 121 +- .../models/proximityPlacementGroupsMappers.ts | 31 +- .../src/models/resourceSkusMappers.ts | 4 +- .../src/models/snapshotsMappers.ts | 30 +- .../src/models/sshPublicKeysMappers.ts | 31 +- .../src/models/usageOperationsMappers.ts | 4 +- .../virtualMachineExtensionImagesMappers.ts | 30 +- .../models/virtualMachineExtensionsMappers.ts | 31 +- .../src/models/virtualMachineImagesMappers.ts | 30 +- .../virtualMachineRunCommandsMappers.ts | 230 +- ...virtualMachineScaleSetExtensionsMappers.ts | 30 +- ...alMachineScaleSetRollingUpgradesMappers.ts | 30 +- ...rtualMachineScaleSetVMExtensionsMappers.ts | 47 +- ...tualMachineScaleSetVMRunCommandsMappers.ts | 235 + .../virtualMachineScaleSetVMsMappers.ts | 29 +- .../models/virtualMachineScaleSetsMappers.ts | 31 +- .../src/models/virtualMachineSizesMappers.ts | 4 +- .../src/models/virtualMachinesMappers.ts | 30 +- .../src/operations/availabilitySets.ts | 18 +- .../operations/cloudServiceRoleInstances.ts | 578 ++ .../src/operations/cloudServiceRoles.ts | 202 + .../src/operations/cloudServices.ts | 899 +++ .../operations/cloudServicesUpdateDomain.ts | 278 + .../src/operations/containerServices.ts | 11 +- .../src/operations/dedicatedHostGroups.ts | 11 +- .../src/operations/dedicatedHosts.ts | 8 +- .../src/operations/diskAccesses.ts | 337 +- .../src/operations/diskEncryptionSets.ts | 14 +- .../operations/diskRestorePointOperations.ts | 237 + .../arm-compute/src/operations/disks.ts | 11 +- .../arm-compute/src/operations/galleries.ts | 11 +- .../operations/galleryApplicationVersions.ts | 8 +- .../src/operations/galleryApplications.ts | 8 +- .../src/operations/galleryImageVersions.ts | 8 +- .../src/operations/galleryImages.ts | 8 +- .../arm-compute/src/operations/images.ts | 11 +- .../arm-compute/src/operations/index.ts | 11 +- .../src/operations/logAnalytics.ts | 5 +- .../arm-compute/src/operations/operations.ts | 5 +- .../operations/proximityPlacementGroups.ts | 11 +- .../src/operations/resourceSkus.ts | 15 +- .../arm-compute/src/operations/snapshots.ts | 11 +- .../src/operations/sshPublicKeys.ts | 11 +- .../src/operations/usageOperations.ts | 8 +- .../virtualMachineExtensionImages.ts | 5 +- .../operations/virtualMachineExtensions.ts | 5 +- .../src/operations/virtualMachineImages.ts | 5 +- .../operations/virtualMachineRunCommands.ts | 385 +- .../virtualMachineScaleSetExtensions.ts | 8 +- .../virtualMachineScaleSetRollingUpgrades.ts | 5 +- .../virtualMachineScaleSetVMExtensions.ts | 39 +- .../virtualMachineScaleSetVMRunCommands.ts | 426 ++ .../operations/virtualMachineScaleSetVMs.ts | 17 +- .../src/operations/virtualMachineScaleSets.ts | 17 +- .../src/operations/virtualMachineSizes.ts | 5 +- .../src/operations/virtualMachines.ts | 26 +- 83 files changed, 11177 insertions(+), 1855 deletions(-) create mode 100644 sdk/compute/arm-compute/src/models/cloudServiceRoleInstancesMappers.ts create mode 100644 sdk/compute/arm-compute/src/models/cloudServiceRolesMappers.ts create mode 100644 sdk/compute/arm-compute/src/models/cloudServicesMappers.ts create mode 100644 sdk/compute/arm-compute/src/models/cloudServicesUpdateDomainMappers.ts create mode 100644 sdk/compute/arm-compute/src/models/diskRestorePointOperationsMappers.ts create mode 100644 sdk/compute/arm-compute/src/models/virtualMachineScaleSetVMRunCommandsMappers.ts create mode 100644 sdk/compute/arm-compute/src/operations/cloudServiceRoleInstances.ts create mode 100644 sdk/compute/arm-compute/src/operations/cloudServiceRoles.ts create mode 100644 sdk/compute/arm-compute/src/operations/cloudServices.ts create mode 100644 sdk/compute/arm-compute/src/operations/cloudServicesUpdateDomain.ts create mode 100644 sdk/compute/arm-compute/src/operations/diskRestorePointOperations.ts create mode 100644 sdk/compute/arm-compute/src/operations/virtualMachineScaleSetVMRunCommands.ts diff --git a/sdk/compute/arm-compute/LICENSE.txt b/sdk/compute/arm-compute/LICENSE.txt index ea8fb1516028..2d3163745319 100644 --- a/sdk/compute/arm-compute/LICENSE.txt +++ b/sdk/compute/arm-compute/LICENSE.txt @@ -1,6 +1,6 @@ The MIT License (MIT) -Copyright (c) 2020 Microsoft +Copyright (c) 2021 Microsoft Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/sdk/compute/arm-compute/README.md b/sdk/compute/arm-compute/README.md index e9c72aae2c8b..64daf5f54b2d 100644 --- a/sdk/compute/arm-compute/README.md +++ b/sdk/compute/arm-compute/README.md @@ -15,7 +15,7 @@ npm install @azure/arm-compute ### How to use -#### nodejs - Authentication, client creation and list operations as an example written in TypeScript. +#### nodejs - client creation and list operations as an example written in TypeScript. ##### Install @azure/ms-rest-nodeauth @@ -26,11 +26,10 @@ npm install @azure/ms-rest-nodeauth@"^3.0.0" ##### Sample code +While the below sample uses the interactive login, other authentication options can be found in the [README.md file of @azure/ms-rest-nodeauth](https://www.npmjs.com/package/@azure/ms-rest-nodeauth) package ```typescript -import * as msRest from "@azure/ms-rest-js"; -import * as msRestAzure from "@azure/ms-rest-azure-js"; -import * as msRestNodeAuth from "@azure/ms-rest-nodeauth"; -import { ComputeManagementClient, ComputeManagementModels, ComputeManagementMappers } from "@azure/arm-compute"; +const msRestNodeAuth = require("@azure/ms-rest-nodeauth"); +const { ComputeManagementClient } = require("@azure/arm-compute"); const subscriptionId = process.env["AZURE_SUBSCRIPTION_ID"]; msRestNodeAuth.interactiveLogin().then((creds) => { diff --git a/sdk/compute/arm-compute/rollup.config.js b/sdk/compute/arm-compute/rollup.config.js index e7a527c7d3ad..21325d2ced2e 100644 --- a/sdk/compute/arm-compute/rollup.config.js +++ b/sdk/compute/arm-compute/rollup.config.js @@ -21,8 +21,8 @@ const config = { "@azure/ms-rest-azure-js": "msRestAzure" }, banner: `/* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for license information. + * 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. diff --git a/sdk/compute/arm-compute/src/computeManagementClient.ts b/sdk/compute/arm-compute/src/computeManagementClient.ts index 4617fee5e9c3..9d539c229dd5 100644 --- a/sdk/compute/arm-compute/src/computeManagementClient.ts +++ b/sdk/compute/arm-compute/src/computeManagementClient.ts @@ -1,7 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. + * 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 @@ -37,17 +36,23 @@ class ComputeManagementClient extends ComputeManagementClientContext { virtualMachineScaleSetVMs: operations.VirtualMachineScaleSetVMs; logAnalytics: operations.LogAnalytics; virtualMachineRunCommands: operations.VirtualMachineRunCommands; + virtualMachineScaleSetVMRunCommands: operations.VirtualMachineScaleSetVMRunCommands; resourceSkus: operations.ResourceSkus; disks: operations.Disks; snapshots: operations.Snapshots; diskEncryptionSets: operations.DiskEncryptionSets; diskAccesses: operations.DiskAccesses; + diskRestorePoint: operations.DiskRestorePointOperations; galleries: operations.Galleries; galleryImages: operations.GalleryImages; galleryImageVersions: operations.GalleryImageVersions; galleryApplications: operations.GalleryApplications; galleryApplicationVersions: operations.GalleryApplicationVersions; containerServices: operations.ContainerServices; + cloudServiceRoleInstances: operations.CloudServiceRoleInstances; + cloudServiceRoles: operations.CloudServiceRoles; + cloudServices: operations.CloudServices; + cloudServicesUpdateDomain: operations.CloudServicesUpdateDomain; /** * Initializes a new instance of the ComputeManagementClient class. @@ -78,17 +83,23 @@ class ComputeManagementClient extends ComputeManagementClientContext { this.virtualMachineScaleSetVMs = new operations.VirtualMachineScaleSetVMs(this); this.logAnalytics = new operations.LogAnalytics(this); this.virtualMachineRunCommands = new operations.VirtualMachineRunCommands(this); + this.virtualMachineScaleSetVMRunCommands = new operations.VirtualMachineScaleSetVMRunCommands(this); this.resourceSkus = new operations.ResourceSkus(this); this.disks = new operations.Disks(this); this.snapshots = new operations.Snapshots(this); this.diskEncryptionSets = new operations.DiskEncryptionSets(this); this.diskAccesses = new operations.DiskAccesses(this); + this.diskRestorePoint = new operations.DiskRestorePointOperations(this); this.galleries = new operations.Galleries(this); this.galleryImages = new operations.GalleryImages(this); this.galleryImageVersions = new operations.GalleryImageVersions(this); this.galleryApplications = new operations.GalleryApplications(this); this.galleryApplicationVersions = new operations.GalleryApplicationVersions(this); this.containerServices = new operations.ContainerServices(this); + this.cloudServiceRoleInstances = new operations.CloudServiceRoleInstances(this); + this.cloudServiceRoles = new operations.CloudServiceRoles(this); + this.cloudServices = new operations.CloudServices(this); + this.cloudServicesUpdateDomain = new operations.CloudServicesUpdateDomain(this); } } diff --git a/sdk/compute/arm-compute/src/computeManagementClientContext.ts b/sdk/compute/arm-compute/src/computeManagementClientContext.ts index cebdc218eaf4..01d00869e6e2 100644 --- a/sdk/compute/arm-compute/src/computeManagementClientContext.ts +++ b/sdk/compute/arm-compute/src/computeManagementClientContext.ts @@ -1,7 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. + * 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 diff --git a/sdk/compute/arm-compute/src/models/availabilitySetsMappers.ts b/sdk/compute/arm-compute/src/models/availabilitySetsMappers.ts index 81c92f5c003c..647558015d87 100644 --- a/sdk/compute/arm-compute/src/models/availabilitySetsMappers.ts +++ b/sdk/compute/arm-compute/src/models/availabilitySetsMappers.ts @@ -1,6 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for license information. + * 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. @@ -24,6 +24,18 @@ export { BootDiagnostics, BootDiagnosticsInstanceView, CloudError, + CloudService, + CloudServiceExtensionProfile, + CloudServiceExtensionProperties, + CloudServiceNetworkProfile, + CloudServiceOsProfile, + CloudServiceProperties, + CloudServiceRoleProfile, + CloudServiceRoleProfileProperties, + CloudServiceRoleSku, + CloudServiceVaultAndSecretReference, + CloudServiceVaultCertificate, + CloudServiceVaultSecretGroup, ContainerService, ContainerServiceAgentPoolProfile, ContainerServiceCustomProfile, @@ -66,6 +78,8 @@ export { EncryptionSetIdentity, EncryptionSettingsCollection, EncryptionSettingsElement, + ExtendedLocation, + Extension, Gallery, GalleryApplication, GalleryApplicationUpdate, @@ -98,12 +112,17 @@ export { ImageUpdate, InnerError, InstanceViewStatus, + KeyForDiskEncryptionSet, KeyVaultAndKeyReference, KeyVaultAndSecretReference, KeyVaultKeyReference, KeyVaultSecretReference, LastPatchInstallationSummary, LinuxConfiguration, + LoadBalancerConfiguration, + LoadBalancerConfigurationProperties, + LoadBalancerFrontendIPConfiguration, + LoadBalancerFrontendIPConfigurationProperties, MaintenanceRedeployStatus, ManagedDiskParameters, NetworkInterfaceReference, @@ -129,6 +148,7 @@ export { RollingUpgradeProgressInfo, RollingUpgradeRunningStatus, RollingUpgradeStatusInfo, + RunCommandInputParameter, ScaleInPolicy, ScheduledEventsProfile, SecurityProfile, @@ -150,6 +170,7 @@ export { UpdateResource, UpdateResourceDefinition, UpgradePolicy, + UserArtifactManage, UserArtifactSource, VaultCertificate, VaultSecretGroup, @@ -169,6 +190,10 @@ export { VirtualMachineImageResource, VirtualMachineInstanceView, VirtualMachinePatchStatus, + VirtualMachineRunCommand, + VirtualMachineRunCommandInstanceView, + VirtualMachineRunCommandScriptSource, + VirtualMachineRunCommandUpdate, VirtualMachineScaleSet, VirtualMachineScaleSetDataDisk, VirtualMachineScaleSetExtension, @@ -197,6 +222,8 @@ export { VirtualMachineScaleSetUpdateStorageProfile, VirtualMachineScaleSetUpdateVMProfile, VirtualMachineScaleSetVM, + VirtualMachineScaleSetVMExtension, + VirtualMachineScaleSetVMExtensionUpdate, VirtualMachineScaleSetVMInstanceView, VirtualMachineScaleSetVMNetworkProfileConfiguration, VirtualMachineScaleSetVMProfile, diff --git a/sdk/compute/arm-compute/src/models/cloudServiceRoleInstancesMappers.ts b/sdk/compute/arm-compute/src/models/cloudServiceRoleInstancesMappers.ts new file mode 100644 index 000000000000..12c1b1d0b883 --- /dev/null +++ b/sdk/compute/arm-compute/src/models/cloudServiceRoleInstancesMappers.ts @@ -0,0 +1,225 @@ +/* + * 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. + */ + +export { + AdditionalCapabilities, + AdditionalUnattendContent, + ApiEntityReference, + ApiError, + ApiErrorBase, + AutomaticOSUpgradePolicy, + AutomaticOSUpgradeProperties, + AutomaticRepairsPolicy, + AvailabilitySet, + AvailablePatchSummary, + BaseResource, + BillingProfile, + BootDiagnostics, + BootDiagnosticsInstanceView, + CloudError, + CloudService, + CloudServiceExtensionProfile, + CloudServiceExtensionProperties, + CloudServiceNetworkProfile, + CloudServiceOsProfile, + CloudServiceProperties, + CloudServiceRoleProfile, + CloudServiceRoleProfileProperties, + CloudServiceRoleSku, + CloudServiceVaultAndSecretReference, + CloudServiceVaultCertificate, + CloudServiceVaultSecretGroup, + ContainerService, + ContainerServiceAgentPoolProfile, + ContainerServiceCustomProfile, + ContainerServiceDiagnosticsProfile, + ContainerServiceLinuxProfile, + ContainerServiceMasterProfile, + ContainerServiceOrchestratorProfile, + ContainerServiceServicePrincipalProfile, + ContainerServiceSshConfiguration, + ContainerServiceSshPublicKey, + ContainerServiceVMDiagnostics, + ContainerServiceWindowsProfile, + CreationData, + DataDisk, + DataDiskImage, + DataDiskImageEncryption, + DedicatedHost, + DedicatedHostAllocatableVM, + DedicatedHostAvailableCapacity, + DedicatedHostGroup, + DedicatedHostGroupInstanceView, + DedicatedHostInstanceView, + DedicatedHostInstanceViewWithName, + DiagnosticsProfile, + DiffDiskSettings, + Disallowed, + DisallowedConfiguration, + Disk, + DiskAccess, + DiskEncryptionSet, + DiskEncryptionSetParameters, + DiskEncryptionSettings, + DiskImageEncryption, + DiskInstanceView, + DiskSku, + Encryption, + EncryptionImages, + EncryptionSetIdentity, + EncryptionSettingsCollection, + EncryptionSettingsElement, + ExtendedLocation, + Extension, + Gallery, + GalleryApplication, + GalleryApplicationUpdate, + GalleryApplicationVersion, + GalleryApplicationVersionPublishingProfile, + GalleryApplicationVersionUpdate, + GalleryArtifactPublishingProfileBase, + GalleryArtifactVersionSource, + GalleryDataDiskImage, + GalleryDiskImage, + GalleryIdentifier, + GalleryImage, + GalleryImageIdentifier, + GalleryImageUpdate, + GalleryImageVersion, + GalleryImageVersionPublishingProfile, + GalleryImageVersionStorageProfile, + GalleryImageVersionUpdate, + GalleryOSDiskImage, + GalleryUpdate, + HardwareProfile, + Image, + ImageDataDisk, + ImageDisk, + ImageDiskReference, + ImageOSDisk, + ImagePurchasePlan, + ImageReference, + ImageStorageProfile, + InnerError, + InstanceSku, + InstanceViewStatus, + KeyForDiskEncryptionSet, + KeyVaultAndKeyReference, + KeyVaultAndSecretReference, + KeyVaultKeyReference, + KeyVaultSecretReference, + LastPatchInstallationSummary, + LinuxConfiguration, + LoadBalancerConfiguration, + LoadBalancerConfigurationProperties, + LoadBalancerFrontendIPConfiguration, + LoadBalancerFrontendIPConfigurationProperties, + MaintenanceRedeployStatus, + ManagedDiskParameters, + NetworkInterfaceReference, + NetworkProfile, + OSDisk, + OSDiskImage, + OSDiskImageEncryption, + OSProfile, + PatchSettings, + Plan, + PrivateEndpoint, + PrivateEndpointConnection, + PrivateLinkServiceConnectionState, + ProximityPlacementGroup, + PurchasePlan, + RecommendedMachineConfiguration, + RegionalReplicationStatus, + ReplicationStatus, + Resource, + ResourceInstanceViewStatus, + ResourceRange, + RoleInstance, + RoleInstanceInstanceView, + RoleInstanceListResult, + RoleInstanceNetworkProfile, + RoleInstanceProperties, + RollingUpgradePolicy, + RollingUpgradeProgressInfo, + RollingUpgradeRunningStatus, + RollingUpgradeStatusInfo, + RunCommandInputParameter, + ScaleInPolicy, + ScheduledEventsProfile, + SecurityProfile, + ShareInfoElement, + Sku, + Snapshot, + SnapshotSku, + SourceVault, + SshConfiguration, + SshPublicKey, + SshPublicKeyResource, + StorageProfile, + SubResource, + SubResourceReadOnly, + SubResourceWithColocationStatus, + TargetRegion, + TerminateNotificationProfile, + UpdateResourceDefinition, + UpgradePolicy, + UserArtifactManage, + UserArtifactSource, + VaultCertificate, + VaultSecretGroup, + VirtualHardDisk, + VirtualMachine, + VirtualMachineAgentInstanceView, + VirtualMachineCaptureResult, + VirtualMachineExtension, + VirtualMachineExtensionHandlerInstanceView, + VirtualMachineExtensionImage, + VirtualMachineExtensionInstanceView, + VirtualMachineHealthStatus, + VirtualMachineIdentity, + VirtualMachineIdentityUserAssignedIdentitiesValue, + VirtualMachineImage, + VirtualMachineImageResource, + VirtualMachineInstanceView, + VirtualMachinePatchStatus, + VirtualMachineRunCommand, + VirtualMachineRunCommandInstanceView, + VirtualMachineRunCommandScriptSource, + VirtualMachineScaleSet, + VirtualMachineScaleSetDataDisk, + VirtualMachineScaleSetExtension, + VirtualMachineScaleSetExtensionProfile, + VirtualMachineScaleSetExtensionUpdate, + VirtualMachineScaleSetIdentity, + VirtualMachineScaleSetIdentityUserAssignedIdentitiesValue, + VirtualMachineScaleSetIPConfiguration, + VirtualMachineScaleSetIpTag, + VirtualMachineScaleSetManagedDiskParameters, + VirtualMachineScaleSetNetworkConfiguration, + VirtualMachineScaleSetNetworkConfigurationDnsSettings, + VirtualMachineScaleSetNetworkProfile, + VirtualMachineScaleSetOSDisk, + VirtualMachineScaleSetOSProfile, + VirtualMachineScaleSetPublicIPAddressConfiguration, + VirtualMachineScaleSetPublicIPAddressConfigurationDnsSettings, + VirtualMachineScaleSetStorageProfile, + VirtualMachineScaleSetUpdateIPConfiguration, + VirtualMachineScaleSetUpdateNetworkConfiguration, + VirtualMachineScaleSetUpdatePublicIPAddressConfiguration, + VirtualMachineScaleSetVM, + VirtualMachineScaleSetVMExtension, + VirtualMachineScaleSetVMExtensionUpdate, + VirtualMachineScaleSetVMInstanceView, + VirtualMachineScaleSetVMNetworkProfileConfiguration, + VirtualMachineScaleSetVMProfile, + VirtualMachineScaleSetVMProtectionPolicy, + WindowsConfiguration, + WinRMConfiguration, + WinRMListener +} from "../models/mappers"; diff --git a/sdk/compute/arm-compute/src/models/cloudServiceRolesMappers.ts b/sdk/compute/arm-compute/src/models/cloudServiceRolesMappers.ts new file mode 100644 index 000000000000..5c9b68780c58 --- /dev/null +++ b/sdk/compute/arm-compute/src/models/cloudServiceRolesMappers.ts @@ -0,0 +1,18 @@ +/* + * 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. + */ + +export { + ApiError, + ApiErrorBase, + CloudError, + CloudServiceRole, + CloudServiceRoleListResult, + CloudServiceRoleProperties, + CloudServiceRoleSku, + InnerError +} from "../models/mappers"; diff --git a/sdk/compute/arm-compute/src/models/cloudServicesMappers.ts b/sdk/compute/arm-compute/src/models/cloudServicesMappers.ts new file mode 100644 index 000000000000..5897379b010a --- /dev/null +++ b/sdk/compute/arm-compute/src/models/cloudServicesMappers.ts @@ -0,0 +1,225 @@ +/* + * 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. + */ + +export { + AdditionalCapabilities, + AdditionalUnattendContent, + ApiEntityReference, + ApiError, + ApiErrorBase, + AutomaticOSUpgradePolicy, + AutomaticOSUpgradeProperties, + AutomaticRepairsPolicy, + AvailabilitySet, + AvailablePatchSummary, + BaseResource, + BillingProfile, + BootDiagnostics, + BootDiagnosticsInstanceView, + CloudError, + CloudService, + CloudServiceExtensionProfile, + CloudServiceExtensionProperties, + CloudServiceInstanceView, + CloudServiceListResult, + CloudServiceNetworkProfile, + CloudServiceOsProfile, + CloudServiceProperties, + CloudServiceRoleProfile, + CloudServiceRoleProfileProperties, + CloudServiceRoleSku, + CloudServiceUpdate, + CloudServiceVaultAndSecretReference, + CloudServiceVaultCertificate, + CloudServiceVaultSecretGroup, + ContainerService, + ContainerServiceAgentPoolProfile, + ContainerServiceCustomProfile, + ContainerServiceDiagnosticsProfile, + ContainerServiceLinuxProfile, + ContainerServiceMasterProfile, + ContainerServiceOrchestratorProfile, + ContainerServiceServicePrincipalProfile, + ContainerServiceSshConfiguration, + ContainerServiceSshPublicKey, + ContainerServiceVMDiagnostics, + ContainerServiceWindowsProfile, + CreationData, + DataDisk, + DataDiskImage, + DataDiskImageEncryption, + DedicatedHost, + DedicatedHostAllocatableVM, + DedicatedHostAvailableCapacity, + DedicatedHostGroup, + DedicatedHostGroupInstanceView, + DedicatedHostInstanceView, + DedicatedHostInstanceViewWithName, + DiagnosticsProfile, + DiffDiskSettings, + Disallowed, + DisallowedConfiguration, + Disk, + DiskAccess, + DiskEncryptionSet, + DiskEncryptionSetParameters, + DiskEncryptionSettings, + DiskImageEncryption, + DiskInstanceView, + DiskSku, + Encryption, + EncryptionImages, + EncryptionSetIdentity, + EncryptionSettingsCollection, + EncryptionSettingsElement, + ExtendedLocation, + Extension, + Gallery, + GalleryApplication, + GalleryApplicationUpdate, + GalleryApplicationVersion, + GalleryApplicationVersionPublishingProfile, + GalleryApplicationVersionUpdate, + GalleryArtifactPublishingProfileBase, + GalleryArtifactVersionSource, + GalleryDataDiskImage, + GalleryDiskImage, + GalleryIdentifier, + GalleryImage, + GalleryImageIdentifier, + GalleryImageUpdate, + GalleryImageVersion, + GalleryImageVersionPublishingProfile, + GalleryImageVersionStorageProfile, + GalleryImageVersionUpdate, + GalleryOSDiskImage, + GalleryUpdate, + HardwareProfile, + Image, + ImageDataDisk, + ImageDisk, + ImageDiskReference, + ImageOSDisk, + ImagePurchasePlan, + ImageReference, + ImageStorageProfile, + InnerError, + InstanceViewStatus, + InstanceViewStatusesSummary, + KeyForDiskEncryptionSet, + KeyVaultAndKeyReference, + KeyVaultAndSecretReference, + KeyVaultKeyReference, + KeyVaultSecretReference, + LastPatchInstallationSummary, + LinuxConfiguration, + LoadBalancerConfiguration, + LoadBalancerConfigurationProperties, + LoadBalancerFrontendIPConfiguration, + LoadBalancerFrontendIPConfigurationProperties, + MaintenanceRedeployStatus, + ManagedDiskParameters, + NetworkInterfaceReference, + NetworkProfile, + OSDisk, + OSDiskImage, + OSDiskImageEncryption, + OSProfile, + PatchSettings, + Plan, + PrivateEndpoint, + PrivateEndpointConnection, + PrivateLinkServiceConnectionState, + ProximityPlacementGroup, + PurchasePlan, + RecommendedMachineConfiguration, + RegionalReplicationStatus, + ReplicationStatus, + Resource, + ResourceInstanceViewStatus, + ResourceRange, + RoleInstances, + RollingUpgradePolicy, + RollingUpgradeProgressInfo, + RollingUpgradeRunningStatus, + RollingUpgradeStatusInfo, + RunCommandInputParameter, + ScaleInPolicy, + ScheduledEventsProfile, + SecurityProfile, + ShareInfoElement, + Sku, + Snapshot, + SnapshotSku, + SourceVault, + SshConfiguration, + SshPublicKey, + SshPublicKeyResource, + StatusCodeCount, + StorageProfile, + SubResource, + SubResourceReadOnly, + SubResourceWithColocationStatus, + TargetRegion, + TerminateNotificationProfile, + UpdateResourceDefinition, + UpgradePolicy, + UserArtifactManage, + UserArtifactSource, + VaultCertificate, + VaultSecretGroup, + VirtualHardDisk, + VirtualMachine, + VirtualMachineAgentInstanceView, + VirtualMachineCaptureResult, + VirtualMachineExtension, + VirtualMachineExtensionHandlerInstanceView, + VirtualMachineExtensionImage, + VirtualMachineExtensionInstanceView, + VirtualMachineHealthStatus, + VirtualMachineIdentity, + VirtualMachineIdentityUserAssignedIdentitiesValue, + VirtualMachineImage, + VirtualMachineImageResource, + VirtualMachineInstanceView, + VirtualMachinePatchStatus, + VirtualMachineRunCommand, + VirtualMachineRunCommandInstanceView, + VirtualMachineRunCommandScriptSource, + VirtualMachineScaleSet, + VirtualMachineScaleSetDataDisk, + VirtualMachineScaleSetExtension, + VirtualMachineScaleSetExtensionProfile, + VirtualMachineScaleSetExtensionUpdate, + VirtualMachineScaleSetIdentity, + VirtualMachineScaleSetIdentityUserAssignedIdentitiesValue, + VirtualMachineScaleSetIPConfiguration, + VirtualMachineScaleSetIpTag, + VirtualMachineScaleSetManagedDiskParameters, + VirtualMachineScaleSetNetworkConfiguration, + VirtualMachineScaleSetNetworkConfigurationDnsSettings, + VirtualMachineScaleSetNetworkProfile, + VirtualMachineScaleSetOSDisk, + VirtualMachineScaleSetOSProfile, + VirtualMachineScaleSetPublicIPAddressConfiguration, + VirtualMachineScaleSetPublicIPAddressConfigurationDnsSettings, + VirtualMachineScaleSetStorageProfile, + VirtualMachineScaleSetUpdateIPConfiguration, + VirtualMachineScaleSetUpdateNetworkConfiguration, + VirtualMachineScaleSetUpdatePublicIPAddressConfiguration, + VirtualMachineScaleSetVM, + VirtualMachineScaleSetVMExtension, + VirtualMachineScaleSetVMExtensionUpdate, + VirtualMachineScaleSetVMInstanceView, + VirtualMachineScaleSetVMNetworkProfileConfiguration, + VirtualMachineScaleSetVMProfile, + VirtualMachineScaleSetVMProtectionPolicy, + WindowsConfiguration, + WinRMConfiguration, + WinRMListener +} from "../models/mappers"; diff --git a/sdk/compute/arm-compute/src/models/cloudServicesUpdateDomainMappers.ts b/sdk/compute/arm-compute/src/models/cloudServicesUpdateDomainMappers.ts new file mode 100644 index 000000000000..263e5178c53a --- /dev/null +++ b/sdk/compute/arm-compute/src/models/cloudServicesUpdateDomainMappers.ts @@ -0,0 +1,16 @@ +/* + * 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. + */ + +export { + ApiError, + ApiErrorBase, + CloudError, + InnerError, + UpdateDomain, + UpdateDomainListResult +} from "../models/mappers"; diff --git a/sdk/compute/arm-compute/src/models/containerServicesMappers.ts b/sdk/compute/arm-compute/src/models/containerServicesMappers.ts index f51c43681cb0..0225af5e621f 100644 --- a/sdk/compute/arm-compute/src/models/containerServicesMappers.ts +++ b/sdk/compute/arm-compute/src/models/containerServicesMappers.ts @@ -1,6 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for license information. + * 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. @@ -22,6 +22,18 @@ export { BootDiagnostics, BootDiagnosticsInstanceView, CloudError, + CloudService, + CloudServiceExtensionProfile, + CloudServiceExtensionProperties, + CloudServiceNetworkProfile, + CloudServiceOsProfile, + CloudServiceProperties, + CloudServiceRoleProfile, + CloudServiceRoleProfileProperties, + CloudServiceRoleSku, + CloudServiceVaultAndSecretReference, + CloudServiceVaultCertificate, + CloudServiceVaultSecretGroup, ContainerService, ContainerServiceAgentPoolProfile, ContainerServiceCustomProfile, @@ -63,6 +75,8 @@ export { EncryptionSetIdentity, EncryptionSettingsCollection, EncryptionSettingsElement, + ExtendedLocation, + Extension, Gallery, GalleryApplication, GalleryApplicationUpdate, @@ -94,12 +108,17 @@ export { ImageStorageProfile, InnerError, InstanceViewStatus, + KeyForDiskEncryptionSet, KeyVaultAndKeyReference, KeyVaultAndSecretReference, KeyVaultKeyReference, KeyVaultSecretReference, LastPatchInstallationSummary, LinuxConfiguration, + LoadBalancerConfiguration, + LoadBalancerConfigurationProperties, + LoadBalancerFrontendIPConfiguration, + LoadBalancerFrontendIPConfigurationProperties, MaintenanceRedeployStatus, ManagedDiskParameters, NetworkInterfaceReference, @@ -124,6 +143,7 @@ export { RollingUpgradeProgressInfo, RollingUpgradeRunningStatus, RollingUpgradeStatusInfo, + RunCommandInputParameter, ScaleInPolicy, ScheduledEventsProfile, SecurityProfile, @@ -143,6 +163,7 @@ export { TerminateNotificationProfile, UpdateResourceDefinition, UpgradePolicy, + UserArtifactManage, UserArtifactSource, VaultCertificate, VaultSecretGroup, @@ -161,6 +182,9 @@ export { VirtualMachineImageResource, VirtualMachineInstanceView, VirtualMachinePatchStatus, + VirtualMachineRunCommand, + VirtualMachineRunCommandInstanceView, + VirtualMachineRunCommandScriptSource, VirtualMachineScaleSet, VirtualMachineScaleSetDataDisk, VirtualMachineScaleSetExtension, @@ -183,6 +207,8 @@ export { VirtualMachineScaleSetUpdateNetworkConfiguration, VirtualMachineScaleSetUpdatePublicIPAddressConfiguration, VirtualMachineScaleSetVM, + VirtualMachineScaleSetVMExtension, + VirtualMachineScaleSetVMExtensionUpdate, VirtualMachineScaleSetVMInstanceView, VirtualMachineScaleSetVMNetworkProfileConfiguration, VirtualMachineScaleSetVMProfile, diff --git a/sdk/compute/arm-compute/src/models/dedicatedHostGroupsMappers.ts b/sdk/compute/arm-compute/src/models/dedicatedHostGroupsMappers.ts index d6492a5ccb31..55f9b2e30744 100644 --- a/sdk/compute/arm-compute/src/models/dedicatedHostGroupsMappers.ts +++ b/sdk/compute/arm-compute/src/models/dedicatedHostGroupsMappers.ts @@ -1,6 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for license information. + * 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. @@ -23,6 +23,18 @@ export { BootDiagnostics, BootDiagnosticsInstanceView, CloudError, + CloudService, + CloudServiceExtensionProfile, + CloudServiceExtensionProperties, + CloudServiceNetworkProfile, + CloudServiceOsProfile, + CloudServiceProperties, + CloudServiceRoleProfile, + CloudServiceRoleProfileProperties, + CloudServiceRoleSku, + CloudServiceVaultAndSecretReference, + CloudServiceVaultCertificate, + CloudServiceVaultSecretGroup, ContainerService, ContainerServiceAgentPoolProfile, ContainerServiceCustomProfile, @@ -66,6 +78,8 @@ export { EncryptionSetIdentity, EncryptionSettingsCollection, EncryptionSettingsElement, + ExtendedLocation, + Extension, Gallery, GalleryApplication, GalleryApplicationUpdate, @@ -98,12 +112,17 @@ export { ImageUpdate, InnerError, InstanceViewStatus, + KeyForDiskEncryptionSet, KeyVaultAndKeyReference, KeyVaultAndSecretReference, KeyVaultKeyReference, KeyVaultSecretReference, LastPatchInstallationSummary, LinuxConfiguration, + LoadBalancerConfiguration, + LoadBalancerConfigurationProperties, + LoadBalancerFrontendIPConfiguration, + LoadBalancerFrontendIPConfigurationProperties, MaintenanceRedeployStatus, ManagedDiskParameters, NetworkInterfaceReference, @@ -129,6 +148,7 @@ export { RollingUpgradeProgressInfo, RollingUpgradeRunningStatus, RollingUpgradeStatusInfo, + RunCommandInputParameter, ScaleInPolicy, ScheduledEventsProfile, SecurityProfile, @@ -150,6 +170,7 @@ export { UpdateResource, UpdateResourceDefinition, UpgradePolicy, + UserArtifactManage, UserArtifactSource, VaultCertificate, VaultSecretGroup, @@ -169,6 +190,10 @@ export { VirtualMachineImageResource, VirtualMachineInstanceView, VirtualMachinePatchStatus, + VirtualMachineRunCommand, + VirtualMachineRunCommandInstanceView, + VirtualMachineRunCommandScriptSource, + VirtualMachineRunCommandUpdate, VirtualMachineScaleSet, VirtualMachineScaleSetDataDisk, VirtualMachineScaleSetExtension, @@ -197,6 +222,8 @@ export { VirtualMachineScaleSetUpdateStorageProfile, VirtualMachineScaleSetUpdateVMProfile, VirtualMachineScaleSetVM, + VirtualMachineScaleSetVMExtension, + VirtualMachineScaleSetVMExtensionUpdate, VirtualMachineScaleSetVMInstanceView, VirtualMachineScaleSetVMNetworkProfileConfiguration, VirtualMachineScaleSetVMProfile, diff --git a/sdk/compute/arm-compute/src/models/dedicatedHostsMappers.ts b/sdk/compute/arm-compute/src/models/dedicatedHostsMappers.ts index e13ef3198917..92fab52d26d9 100644 --- a/sdk/compute/arm-compute/src/models/dedicatedHostsMappers.ts +++ b/sdk/compute/arm-compute/src/models/dedicatedHostsMappers.ts @@ -1,6 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for license information. + * 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. @@ -23,6 +23,18 @@ export { BootDiagnostics, BootDiagnosticsInstanceView, CloudError, + CloudService, + CloudServiceExtensionProfile, + CloudServiceExtensionProperties, + CloudServiceNetworkProfile, + CloudServiceOsProfile, + CloudServiceProperties, + CloudServiceRoleProfile, + CloudServiceRoleProfileProperties, + CloudServiceRoleSku, + CloudServiceVaultAndSecretReference, + CloudServiceVaultCertificate, + CloudServiceVaultSecretGroup, ContainerService, ContainerServiceAgentPoolProfile, ContainerServiceCustomProfile, @@ -66,6 +78,8 @@ export { EncryptionSetIdentity, EncryptionSettingsCollection, EncryptionSettingsElement, + ExtendedLocation, + Extension, Gallery, GalleryApplication, GalleryApplicationUpdate, @@ -98,12 +112,17 @@ export { ImageUpdate, InnerError, InstanceViewStatus, + KeyForDiskEncryptionSet, KeyVaultAndKeyReference, KeyVaultAndSecretReference, KeyVaultKeyReference, KeyVaultSecretReference, LastPatchInstallationSummary, LinuxConfiguration, + LoadBalancerConfiguration, + LoadBalancerConfigurationProperties, + LoadBalancerFrontendIPConfiguration, + LoadBalancerFrontendIPConfigurationProperties, MaintenanceRedeployStatus, ManagedDiskParameters, NetworkInterfaceReference, @@ -129,6 +148,7 @@ export { RollingUpgradeProgressInfo, RollingUpgradeRunningStatus, RollingUpgradeStatusInfo, + RunCommandInputParameter, ScaleInPolicy, ScheduledEventsProfile, SecurityProfile, @@ -150,6 +170,7 @@ export { UpdateResource, UpdateResourceDefinition, UpgradePolicy, + UserArtifactManage, UserArtifactSource, VaultCertificate, VaultSecretGroup, @@ -169,6 +190,10 @@ export { VirtualMachineImageResource, VirtualMachineInstanceView, VirtualMachinePatchStatus, + VirtualMachineRunCommand, + VirtualMachineRunCommandInstanceView, + VirtualMachineRunCommandScriptSource, + VirtualMachineRunCommandUpdate, VirtualMachineScaleSet, VirtualMachineScaleSetDataDisk, VirtualMachineScaleSetExtension, @@ -197,6 +222,8 @@ export { VirtualMachineScaleSetUpdateStorageProfile, VirtualMachineScaleSetUpdateVMProfile, VirtualMachineScaleSetVM, + VirtualMachineScaleSetVMExtension, + VirtualMachineScaleSetVMExtensionUpdate, VirtualMachineScaleSetVMInstanceView, VirtualMachineScaleSetVMNetworkProfileConfiguration, VirtualMachineScaleSetVMProfile, diff --git a/sdk/compute/arm-compute/src/models/diskAccessesMappers.ts b/sdk/compute/arm-compute/src/models/diskAccessesMappers.ts index 04693ac9ce02..50855ca184b8 100644 --- a/sdk/compute/arm-compute/src/models/diskAccessesMappers.ts +++ b/sdk/compute/arm-compute/src/models/diskAccessesMappers.ts @@ -1,6 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for license information. + * 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. @@ -22,6 +22,18 @@ export { BootDiagnostics, BootDiagnosticsInstanceView, CloudError, + CloudService, + CloudServiceExtensionProfile, + CloudServiceExtensionProperties, + CloudServiceNetworkProfile, + CloudServiceOsProfile, + CloudServiceProperties, + CloudServiceRoleProfile, + CloudServiceRoleProfileProperties, + CloudServiceRoleSku, + CloudServiceVaultAndSecretReference, + CloudServiceVaultCertificate, + CloudServiceVaultSecretGroup, ContainerService, ContainerServiceAgentPoolProfile, ContainerServiceCustomProfile, @@ -64,6 +76,8 @@ export { EncryptionSetIdentity, EncryptionSettingsCollection, EncryptionSettingsElement, + ExtendedLocation, + Extension, Gallery, GalleryApplication, GalleryApplicationUpdate, @@ -95,12 +109,17 @@ export { ImageStorageProfile, InnerError, InstanceViewStatus, + KeyForDiskEncryptionSet, KeyVaultAndKeyReference, KeyVaultAndSecretReference, KeyVaultKeyReference, KeyVaultSecretReference, LastPatchInstallationSummary, LinuxConfiguration, + LoadBalancerConfiguration, + LoadBalancerConfigurationProperties, + LoadBalancerFrontendIPConfiguration, + LoadBalancerFrontendIPConfigurationProperties, MaintenanceRedeployStatus, ManagedDiskParameters, NetworkInterfaceReference, @@ -113,6 +132,7 @@ export { Plan, PrivateEndpoint, PrivateEndpointConnection, + PrivateEndpointConnectionListResult, PrivateLinkResource, PrivateLinkResourceListResult, PrivateLinkServiceConnectionState, @@ -127,6 +147,7 @@ export { RollingUpgradeProgressInfo, RollingUpgradeRunningStatus, RollingUpgradeStatusInfo, + RunCommandInputParameter, ScaleInPolicy, ScheduledEventsProfile, SecurityProfile, @@ -146,6 +167,7 @@ export { TerminateNotificationProfile, UpdateResourceDefinition, UpgradePolicy, + UserArtifactManage, UserArtifactSource, VaultCertificate, VaultSecretGroup, @@ -164,6 +186,9 @@ export { VirtualMachineImageResource, VirtualMachineInstanceView, VirtualMachinePatchStatus, + VirtualMachineRunCommand, + VirtualMachineRunCommandInstanceView, + VirtualMachineRunCommandScriptSource, VirtualMachineScaleSet, VirtualMachineScaleSetDataDisk, VirtualMachineScaleSetExtension, @@ -186,6 +211,8 @@ export { VirtualMachineScaleSetUpdateNetworkConfiguration, VirtualMachineScaleSetUpdatePublicIPAddressConfiguration, VirtualMachineScaleSetVM, + VirtualMachineScaleSetVMExtension, + VirtualMachineScaleSetVMExtensionUpdate, VirtualMachineScaleSetVMInstanceView, VirtualMachineScaleSetVMNetworkProfileConfiguration, VirtualMachineScaleSetVMProfile, diff --git a/sdk/compute/arm-compute/src/models/diskEncryptionSetsMappers.ts b/sdk/compute/arm-compute/src/models/diskEncryptionSetsMappers.ts index 1fb77b62ea0b..65f229fe290d 100644 --- a/sdk/compute/arm-compute/src/models/diskEncryptionSetsMappers.ts +++ b/sdk/compute/arm-compute/src/models/diskEncryptionSetsMappers.ts @@ -1,6 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for license information. + * 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. @@ -22,6 +22,18 @@ export { BootDiagnostics, BootDiagnosticsInstanceView, CloudError, + CloudService, + CloudServiceExtensionProfile, + CloudServiceExtensionProperties, + CloudServiceNetworkProfile, + CloudServiceOsProfile, + CloudServiceProperties, + CloudServiceRoleProfile, + CloudServiceRoleProfileProperties, + CloudServiceRoleSku, + CloudServiceVaultAndSecretReference, + CloudServiceVaultCertificate, + CloudServiceVaultSecretGroup, ContainerService, ContainerServiceAgentPoolProfile, ContainerServiceCustomProfile, @@ -64,6 +76,8 @@ export { EncryptionSetIdentity, EncryptionSettingsCollection, EncryptionSettingsElement, + ExtendedLocation, + Extension, Gallery, GalleryApplication, GalleryApplicationUpdate, @@ -95,12 +109,17 @@ export { ImageStorageProfile, InnerError, InstanceViewStatus, + KeyForDiskEncryptionSet, KeyVaultAndKeyReference, KeyVaultAndSecretReference, KeyVaultKeyReference, KeyVaultSecretReference, LastPatchInstallationSummary, LinuxConfiguration, + LoadBalancerConfiguration, + LoadBalancerConfigurationProperties, + LoadBalancerFrontendIPConfiguration, + LoadBalancerFrontendIPConfigurationProperties, MaintenanceRedeployStatus, ManagedDiskParameters, NetworkInterfaceReference, @@ -126,6 +145,7 @@ export { RollingUpgradeProgressInfo, RollingUpgradeRunningStatus, RollingUpgradeStatusInfo, + RunCommandInputParameter, ScaleInPolicy, ScheduledEventsProfile, SecurityProfile, @@ -145,6 +165,7 @@ export { TerminateNotificationProfile, UpdateResourceDefinition, UpgradePolicy, + UserArtifactManage, UserArtifactSource, VaultCertificate, VaultSecretGroup, @@ -163,6 +184,9 @@ export { VirtualMachineImageResource, VirtualMachineInstanceView, VirtualMachinePatchStatus, + VirtualMachineRunCommand, + VirtualMachineRunCommandInstanceView, + VirtualMachineRunCommandScriptSource, VirtualMachineScaleSet, VirtualMachineScaleSetDataDisk, VirtualMachineScaleSetExtension, @@ -185,6 +209,8 @@ export { VirtualMachineScaleSetUpdateNetworkConfiguration, VirtualMachineScaleSetUpdatePublicIPAddressConfiguration, VirtualMachineScaleSetVM, + VirtualMachineScaleSetVMExtension, + VirtualMachineScaleSetVMExtensionUpdate, VirtualMachineScaleSetVMInstanceView, VirtualMachineScaleSetVMNetworkProfileConfiguration, VirtualMachineScaleSetVMProfile, diff --git a/sdk/compute/arm-compute/src/models/diskRestorePointOperationsMappers.ts b/sdk/compute/arm-compute/src/models/diskRestorePointOperationsMappers.ts new file mode 100644 index 000000000000..abbb4f14eb06 --- /dev/null +++ b/sdk/compute/arm-compute/src/models/diskRestorePointOperationsMappers.ts @@ -0,0 +1,19 @@ +/* + * 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. + */ + +export { + ApiError, + ApiErrorBase, + CloudError, + DiskRestorePoint, + DiskRestorePointList, + Encryption, + InnerError, + ProxyOnlyResource, + PurchasePlan +} from "../models/mappers"; diff --git a/sdk/compute/arm-compute/src/models/disksMappers.ts b/sdk/compute/arm-compute/src/models/disksMappers.ts index f4b1367453d6..8deb41092be2 100644 --- a/sdk/compute/arm-compute/src/models/disksMappers.ts +++ b/sdk/compute/arm-compute/src/models/disksMappers.ts @@ -1,6 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for license information. + * 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. @@ -23,6 +23,18 @@ export { BootDiagnostics, BootDiagnosticsInstanceView, CloudError, + CloudService, + CloudServiceExtensionProfile, + CloudServiceExtensionProperties, + CloudServiceNetworkProfile, + CloudServiceOsProfile, + CloudServiceProperties, + CloudServiceRoleProfile, + CloudServiceRoleProfileProperties, + CloudServiceRoleSku, + CloudServiceVaultAndSecretReference, + CloudServiceVaultCertificate, + CloudServiceVaultSecretGroup, ContainerService, ContainerServiceAgentPoolProfile, ContainerServiceCustomProfile, @@ -65,6 +77,8 @@ export { EncryptionSetIdentity, EncryptionSettingsCollection, EncryptionSettingsElement, + ExtendedLocation, + Extension, Gallery, GalleryApplication, GalleryApplicationUpdate, @@ -97,12 +111,17 @@ export { ImageStorageProfile, InnerError, InstanceViewStatus, + KeyForDiskEncryptionSet, KeyVaultAndKeyReference, KeyVaultAndSecretReference, KeyVaultKeyReference, KeyVaultSecretReference, LastPatchInstallationSummary, LinuxConfiguration, + LoadBalancerConfiguration, + LoadBalancerConfigurationProperties, + LoadBalancerFrontendIPConfiguration, + LoadBalancerFrontendIPConfigurationProperties, MaintenanceRedeployStatus, ManagedDiskParameters, NetworkInterfaceReference, @@ -127,6 +146,7 @@ export { RollingUpgradeProgressInfo, RollingUpgradeRunningStatus, RollingUpgradeStatusInfo, + RunCommandInputParameter, ScaleInPolicy, ScheduledEventsProfile, SecurityProfile, @@ -146,6 +166,7 @@ export { TerminateNotificationProfile, UpdateResourceDefinition, UpgradePolicy, + UserArtifactManage, UserArtifactSource, VaultCertificate, VaultSecretGroup, @@ -164,6 +185,9 @@ export { VirtualMachineImageResource, VirtualMachineInstanceView, VirtualMachinePatchStatus, + VirtualMachineRunCommand, + VirtualMachineRunCommandInstanceView, + VirtualMachineRunCommandScriptSource, VirtualMachineScaleSet, VirtualMachineScaleSetDataDisk, VirtualMachineScaleSetExtension, @@ -186,6 +210,8 @@ export { VirtualMachineScaleSetUpdateNetworkConfiguration, VirtualMachineScaleSetUpdatePublicIPAddressConfiguration, VirtualMachineScaleSetVM, + VirtualMachineScaleSetVMExtension, + VirtualMachineScaleSetVMExtensionUpdate, VirtualMachineScaleSetVMInstanceView, VirtualMachineScaleSetVMNetworkProfileConfiguration, VirtualMachineScaleSetVMProfile, diff --git a/sdk/compute/arm-compute/src/models/galleriesMappers.ts b/sdk/compute/arm-compute/src/models/galleriesMappers.ts index e8848382bd37..798c3acf8df5 100644 --- a/sdk/compute/arm-compute/src/models/galleriesMappers.ts +++ b/sdk/compute/arm-compute/src/models/galleriesMappers.ts @@ -1,6 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for license information. + * 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. @@ -22,6 +22,18 @@ export { BootDiagnostics, BootDiagnosticsInstanceView, CloudError, + CloudService, + CloudServiceExtensionProfile, + CloudServiceExtensionProperties, + CloudServiceNetworkProfile, + CloudServiceOsProfile, + CloudServiceProperties, + CloudServiceRoleProfile, + CloudServiceRoleProfileProperties, + CloudServiceRoleSku, + CloudServiceVaultAndSecretReference, + CloudServiceVaultCertificate, + CloudServiceVaultSecretGroup, ContainerService, ContainerServiceAgentPoolProfile, ContainerServiceCustomProfile, @@ -62,6 +74,8 @@ export { EncryptionSetIdentity, EncryptionSettingsCollection, EncryptionSettingsElement, + ExtendedLocation, + Extension, Gallery, GalleryApplication, GalleryApplicationUpdate, @@ -94,12 +108,17 @@ export { ImageStorageProfile, InnerError, InstanceViewStatus, + KeyForDiskEncryptionSet, KeyVaultAndKeyReference, KeyVaultAndSecretReference, KeyVaultKeyReference, KeyVaultSecretReference, LastPatchInstallationSummary, LinuxConfiguration, + LoadBalancerConfiguration, + LoadBalancerConfigurationProperties, + LoadBalancerFrontendIPConfiguration, + LoadBalancerFrontendIPConfigurationProperties, MaintenanceRedeployStatus, ManagedDiskParameters, NetworkInterfaceReference, @@ -124,6 +143,7 @@ export { RollingUpgradeProgressInfo, RollingUpgradeRunningStatus, RollingUpgradeStatusInfo, + RunCommandInputParameter, ScaleInPolicy, ScheduledEventsProfile, SecurityProfile, @@ -143,6 +163,7 @@ export { TerminateNotificationProfile, UpdateResourceDefinition, UpgradePolicy, + UserArtifactManage, UserArtifactSource, VaultCertificate, VaultSecretGroup, @@ -161,6 +182,9 @@ export { VirtualMachineImageResource, VirtualMachineInstanceView, VirtualMachinePatchStatus, + VirtualMachineRunCommand, + VirtualMachineRunCommandInstanceView, + VirtualMachineRunCommandScriptSource, VirtualMachineScaleSet, VirtualMachineScaleSetDataDisk, VirtualMachineScaleSetExtension, @@ -183,6 +207,8 @@ export { VirtualMachineScaleSetUpdateNetworkConfiguration, VirtualMachineScaleSetUpdatePublicIPAddressConfiguration, VirtualMachineScaleSetVM, + VirtualMachineScaleSetVMExtension, + VirtualMachineScaleSetVMExtensionUpdate, VirtualMachineScaleSetVMInstanceView, VirtualMachineScaleSetVMNetworkProfileConfiguration, VirtualMachineScaleSetVMProfile, diff --git a/sdk/compute/arm-compute/src/models/galleryApplicationVersionsMappers.ts b/sdk/compute/arm-compute/src/models/galleryApplicationVersionsMappers.ts index 08917ccbf34c..37ff14c9a9a5 100644 --- a/sdk/compute/arm-compute/src/models/galleryApplicationVersionsMappers.ts +++ b/sdk/compute/arm-compute/src/models/galleryApplicationVersionsMappers.ts @@ -1,6 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for license information. + * 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. @@ -22,6 +22,18 @@ export { BootDiagnostics, BootDiagnosticsInstanceView, CloudError, + CloudService, + CloudServiceExtensionProfile, + CloudServiceExtensionProperties, + CloudServiceNetworkProfile, + CloudServiceOsProfile, + CloudServiceProperties, + CloudServiceRoleProfile, + CloudServiceRoleProfileProperties, + CloudServiceRoleSku, + CloudServiceVaultAndSecretReference, + CloudServiceVaultCertificate, + CloudServiceVaultSecretGroup, ContainerService, ContainerServiceAgentPoolProfile, ContainerServiceCustomProfile, @@ -62,6 +74,8 @@ export { EncryptionSetIdentity, EncryptionSettingsCollection, EncryptionSettingsElement, + ExtendedLocation, + Extension, Gallery, GalleryApplication, GalleryApplicationUpdate, @@ -94,12 +108,17 @@ export { ImageStorageProfile, InnerError, InstanceViewStatus, + KeyForDiskEncryptionSet, KeyVaultAndKeyReference, KeyVaultAndSecretReference, KeyVaultKeyReference, KeyVaultSecretReference, LastPatchInstallationSummary, LinuxConfiguration, + LoadBalancerConfiguration, + LoadBalancerConfigurationProperties, + LoadBalancerFrontendIPConfiguration, + LoadBalancerFrontendIPConfigurationProperties, MaintenanceRedeployStatus, ManagedDiskParameters, NetworkInterfaceReference, @@ -124,6 +143,7 @@ export { RollingUpgradeProgressInfo, RollingUpgradeRunningStatus, RollingUpgradeStatusInfo, + RunCommandInputParameter, ScaleInPolicy, ScheduledEventsProfile, SecurityProfile, @@ -143,6 +163,7 @@ export { TerminateNotificationProfile, UpdateResourceDefinition, UpgradePolicy, + UserArtifactManage, UserArtifactSource, VaultCertificate, VaultSecretGroup, @@ -161,6 +182,9 @@ export { VirtualMachineImageResource, VirtualMachineInstanceView, VirtualMachinePatchStatus, + VirtualMachineRunCommand, + VirtualMachineRunCommandInstanceView, + VirtualMachineRunCommandScriptSource, VirtualMachineScaleSet, VirtualMachineScaleSetDataDisk, VirtualMachineScaleSetExtension, @@ -183,6 +207,8 @@ export { VirtualMachineScaleSetUpdateNetworkConfiguration, VirtualMachineScaleSetUpdatePublicIPAddressConfiguration, VirtualMachineScaleSetVM, + VirtualMachineScaleSetVMExtension, + VirtualMachineScaleSetVMExtensionUpdate, VirtualMachineScaleSetVMInstanceView, VirtualMachineScaleSetVMNetworkProfileConfiguration, VirtualMachineScaleSetVMProfile, diff --git a/sdk/compute/arm-compute/src/models/galleryApplicationsMappers.ts b/sdk/compute/arm-compute/src/models/galleryApplicationsMappers.ts index 23e299c473a6..7ad0346dd1b7 100644 --- a/sdk/compute/arm-compute/src/models/galleryApplicationsMappers.ts +++ b/sdk/compute/arm-compute/src/models/galleryApplicationsMappers.ts @@ -1,6 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for license information. + * 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. @@ -22,6 +22,18 @@ export { BootDiagnostics, BootDiagnosticsInstanceView, CloudError, + CloudService, + CloudServiceExtensionProfile, + CloudServiceExtensionProperties, + CloudServiceNetworkProfile, + CloudServiceOsProfile, + CloudServiceProperties, + CloudServiceRoleProfile, + CloudServiceRoleProfileProperties, + CloudServiceRoleSku, + CloudServiceVaultAndSecretReference, + CloudServiceVaultCertificate, + CloudServiceVaultSecretGroup, ContainerService, ContainerServiceAgentPoolProfile, ContainerServiceCustomProfile, @@ -62,6 +74,8 @@ export { EncryptionSetIdentity, EncryptionSettingsCollection, EncryptionSettingsElement, + ExtendedLocation, + Extension, Gallery, GalleryApplication, GalleryApplicationList, @@ -94,12 +108,17 @@ export { ImageStorageProfile, InnerError, InstanceViewStatus, + KeyForDiskEncryptionSet, KeyVaultAndKeyReference, KeyVaultAndSecretReference, KeyVaultKeyReference, KeyVaultSecretReference, LastPatchInstallationSummary, LinuxConfiguration, + LoadBalancerConfiguration, + LoadBalancerConfigurationProperties, + LoadBalancerFrontendIPConfiguration, + LoadBalancerFrontendIPConfigurationProperties, MaintenanceRedeployStatus, ManagedDiskParameters, NetworkInterfaceReference, @@ -124,6 +143,7 @@ export { RollingUpgradeProgressInfo, RollingUpgradeRunningStatus, RollingUpgradeStatusInfo, + RunCommandInputParameter, ScaleInPolicy, ScheduledEventsProfile, SecurityProfile, @@ -143,6 +163,7 @@ export { TerminateNotificationProfile, UpdateResourceDefinition, UpgradePolicy, + UserArtifactManage, UserArtifactSource, VaultCertificate, VaultSecretGroup, @@ -161,6 +182,9 @@ export { VirtualMachineImageResource, VirtualMachineInstanceView, VirtualMachinePatchStatus, + VirtualMachineRunCommand, + VirtualMachineRunCommandInstanceView, + VirtualMachineRunCommandScriptSource, VirtualMachineScaleSet, VirtualMachineScaleSetDataDisk, VirtualMachineScaleSetExtension, @@ -183,6 +207,8 @@ export { VirtualMachineScaleSetUpdateNetworkConfiguration, VirtualMachineScaleSetUpdatePublicIPAddressConfiguration, VirtualMachineScaleSetVM, + VirtualMachineScaleSetVMExtension, + VirtualMachineScaleSetVMExtensionUpdate, VirtualMachineScaleSetVMInstanceView, VirtualMachineScaleSetVMNetworkProfileConfiguration, VirtualMachineScaleSetVMProfile, diff --git a/sdk/compute/arm-compute/src/models/galleryImageVersionsMappers.ts b/sdk/compute/arm-compute/src/models/galleryImageVersionsMappers.ts index f793a9a603e8..6eafbcf2c0ba 100644 --- a/sdk/compute/arm-compute/src/models/galleryImageVersionsMappers.ts +++ b/sdk/compute/arm-compute/src/models/galleryImageVersionsMappers.ts @@ -1,6 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for license information. + * 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. @@ -22,6 +22,18 @@ export { BootDiagnostics, BootDiagnosticsInstanceView, CloudError, + CloudService, + CloudServiceExtensionProfile, + CloudServiceExtensionProperties, + CloudServiceNetworkProfile, + CloudServiceOsProfile, + CloudServiceProperties, + CloudServiceRoleProfile, + CloudServiceRoleProfileProperties, + CloudServiceRoleSku, + CloudServiceVaultAndSecretReference, + CloudServiceVaultCertificate, + CloudServiceVaultSecretGroup, ContainerService, ContainerServiceAgentPoolProfile, ContainerServiceCustomProfile, @@ -62,6 +74,8 @@ export { EncryptionSetIdentity, EncryptionSettingsCollection, EncryptionSettingsElement, + ExtendedLocation, + Extension, Gallery, GalleryApplication, GalleryApplicationUpdate, @@ -94,12 +108,17 @@ export { ImageStorageProfile, InnerError, InstanceViewStatus, + KeyForDiskEncryptionSet, KeyVaultAndKeyReference, KeyVaultAndSecretReference, KeyVaultKeyReference, KeyVaultSecretReference, LastPatchInstallationSummary, LinuxConfiguration, + LoadBalancerConfiguration, + LoadBalancerConfigurationProperties, + LoadBalancerFrontendIPConfiguration, + LoadBalancerFrontendIPConfigurationProperties, MaintenanceRedeployStatus, ManagedDiskParameters, NetworkInterfaceReference, @@ -124,6 +143,7 @@ export { RollingUpgradeProgressInfo, RollingUpgradeRunningStatus, RollingUpgradeStatusInfo, + RunCommandInputParameter, ScaleInPolicy, ScheduledEventsProfile, SecurityProfile, @@ -143,6 +163,7 @@ export { TerminateNotificationProfile, UpdateResourceDefinition, UpgradePolicy, + UserArtifactManage, UserArtifactSource, VaultCertificate, VaultSecretGroup, @@ -161,6 +182,9 @@ export { VirtualMachineImageResource, VirtualMachineInstanceView, VirtualMachinePatchStatus, + VirtualMachineRunCommand, + VirtualMachineRunCommandInstanceView, + VirtualMachineRunCommandScriptSource, VirtualMachineScaleSet, VirtualMachineScaleSetDataDisk, VirtualMachineScaleSetExtension, @@ -183,6 +207,8 @@ export { VirtualMachineScaleSetUpdateNetworkConfiguration, VirtualMachineScaleSetUpdatePublicIPAddressConfiguration, VirtualMachineScaleSetVM, + VirtualMachineScaleSetVMExtension, + VirtualMachineScaleSetVMExtensionUpdate, VirtualMachineScaleSetVMInstanceView, VirtualMachineScaleSetVMNetworkProfileConfiguration, VirtualMachineScaleSetVMProfile, diff --git a/sdk/compute/arm-compute/src/models/galleryImagesMappers.ts b/sdk/compute/arm-compute/src/models/galleryImagesMappers.ts index 578486eff4ca..1622d34c385a 100644 --- a/sdk/compute/arm-compute/src/models/galleryImagesMappers.ts +++ b/sdk/compute/arm-compute/src/models/galleryImagesMappers.ts @@ -1,6 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for license information. + * 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. @@ -22,6 +22,18 @@ export { BootDiagnostics, BootDiagnosticsInstanceView, CloudError, + CloudService, + CloudServiceExtensionProfile, + CloudServiceExtensionProperties, + CloudServiceNetworkProfile, + CloudServiceOsProfile, + CloudServiceProperties, + CloudServiceRoleProfile, + CloudServiceRoleProfileProperties, + CloudServiceRoleSku, + CloudServiceVaultAndSecretReference, + CloudServiceVaultCertificate, + CloudServiceVaultSecretGroup, ContainerService, ContainerServiceAgentPoolProfile, ContainerServiceCustomProfile, @@ -62,6 +74,8 @@ export { EncryptionSetIdentity, EncryptionSettingsCollection, EncryptionSettingsElement, + ExtendedLocation, + Extension, Gallery, GalleryApplication, GalleryApplicationUpdate, @@ -94,12 +108,17 @@ export { ImageStorageProfile, InnerError, InstanceViewStatus, + KeyForDiskEncryptionSet, KeyVaultAndKeyReference, KeyVaultAndSecretReference, KeyVaultKeyReference, KeyVaultSecretReference, LastPatchInstallationSummary, LinuxConfiguration, + LoadBalancerConfiguration, + LoadBalancerConfigurationProperties, + LoadBalancerFrontendIPConfiguration, + LoadBalancerFrontendIPConfigurationProperties, MaintenanceRedeployStatus, ManagedDiskParameters, NetworkInterfaceReference, @@ -124,6 +143,7 @@ export { RollingUpgradeProgressInfo, RollingUpgradeRunningStatus, RollingUpgradeStatusInfo, + RunCommandInputParameter, ScaleInPolicy, ScheduledEventsProfile, SecurityProfile, @@ -143,6 +163,7 @@ export { TerminateNotificationProfile, UpdateResourceDefinition, UpgradePolicy, + UserArtifactManage, UserArtifactSource, VaultCertificate, VaultSecretGroup, @@ -161,6 +182,9 @@ export { VirtualMachineImageResource, VirtualMachineInstanceView, VirtualMachinePatchStatus, + VirtualMachineRunCommand, + VirtualMachineRunCommandInstanceView, + VirtualMachineRunCommandScriptSource, VirtualMachineScaleSet, VirtualMachineScaleSetDataDisk, VirtualMachineScaleSetExtension, @@ -183,6 +207,8 @@ export { VirtualMachineScaleSetUpdateNetworkConfiguration, VirtualMachineScaleSetUpdatePublicIPAddressConfiguration, VirtualMachineScaleSetVM, + VirtualMachineScaleSetVMExtension, + VirtualMachineScaleSetVMExtensionUpdate, VirtualMachineScaleSetVMInstanceView, VirtualMachineScaleSetVMNetworkProfileConfiguration, VirtualMachineScaleSetVMProfile, diff --git a/sdk/compute/arm-compute/src/models/imagesMappers.ts b/sdk/compute/arm-compute/src/models/imagesMappers.ts index 69e44f43cd84..0c8a59368d84 100644 --- a/sdk/compute/arm-compute/src/models/imagesMappers.ts +++ b/sdk/compute/arm-compute/src/models/imagesMappers.ts @@ -1,6 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for license information. + * 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. @@ -23,6 +23,18 @@ export { BootDiagnostics, BootDiagnosticsInstanceView, CloudError, + CloudService, + CloudServiceExtensionProfile, + CloudServiceExtensionProperties, + CloudServiceNetworkProfile, + CloudServiceOsProfile, + CloudServiceProperties, + CloudServiceRoleProfile, + CloudServiceRoleProfileProperties, + CloudServiceRoleSku, + CloudServiceVaultAndSecretReference, + CloudServiceVaultCertificate, + CloudServiceVaultSecretGroup, ContainerService, ContainerServiceAgentPoolProfile, ContainerServiceCustomProfile, @@ -65,6 +77,8 @@ export { EncryptionSetIdentity, EncryptionSettingsCollection, EncryptionSettingsElement, + ExtendedLocation, + Extension, Gallery, GalleryApplication, GalleryApplicationUpdate, @@ -98,12 +112,17 @@ export { ImageUpdate, InnerError, InstanceViewStatus, + KeyForDiskEncryptionSet, KeyVaultAndKeyReference, KeyVaultAndSecretReference, KeyVaultKeyReference, KeyVaultSecretReference, LastPatchInstallationSummary, LinuxConfiguration, + LoadBalancerConfiguration, + LoadBalancerConfigurationProperties, + LoadBalancerFrontendIPConfiguration, + LoadBalancerFrontendIPConfigurationProperties, MaintenanceRedeployStatus, ManagedDiskParameters, NetworkInterfaceReference, @@ -129,6 +148,7 @@ export { RollingUpgradeProgressInfo, RollingUpgradeRunningStatus, RollingUpgradeStatusInfo, + RunCommandInputParameter, ScaleInPolicy, ScheduledEventsProfile, SecurityProfile, @@ -150,6 +170,7 @@ export { UpdateResource, UpdateResourceDefinition, UpgradePolicy, + UserArtifactManage, UserArtifactSource, VaultCertificate, VaultSecretGroup, @@ -169,6 +190,10 @@ export { VirtualMachineImageResource, VirtualMachineInstanceView, VirtualMachinePatchStatus, + VirtualMachineRunCommand, + VirtualMachineRunCommandInstanceView, + VirtualMachineRunCommandScriptSource, + VirtualMachineRunCommandUpdate, VirtualMachineScaleSet, VirtualMachineScaleSetDataDisk, VirtualMachineScaleSetExtension, @@ -197,6 +222,8 @@ export { VirtualMachineScaleSetUpdateStorageProfile, VirtualMachineScaleSetUpdateVMProfile, VirtualMachineScaleSetVM, + VirtualMachineScaleSetVMExtension, + VirtualMachineScaleSetVMExtensionUpdate, VirtualMachineScaleSetVMInstanceView, VirtualMachineScaleSetVMNetworkProfileConfiguration, VirtualMachineScaleSetVMProfile, diff --git a/sdk/compute/arm-compute/src/models/index.ts b/sdk/compute/arm-compute/src/models/index.ts index cc59586f553f..5170ed0d4b65 100644 --- a/sdk/compute/arm-compute/src/models/index.ts +++ b/sdk/compute/arm-compute/src/models/index.ts @@ -1,6 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for license information. + * 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. @@ -369,7 +369,7 @@ export interface DedicatedHostGroup extends Resource { * 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 - * 'true' when not provided.

Minimum api-version: 2020-06-01. + * 'false' when not provided.

Minimum api-version: 2020-06-01. */ supportAutomaticPlacement?: boolean; /** @@ -404,7 +404,7 @@ export interface DedicatedHostGroupUpdate extends UpdateResource { * 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 - * 'true' when not provided.

Minimum api-version: 2020-06-01. + * 'false' when not provided.

Minimum api-version: 2020-06-01. */ supportAutomaticPlacement?: boolean; /** @@ -746,6 +746,68 @@ export interface VirtualMachineExtension extends Resource { instanceView?: VirtualMachineExtensionInstanceView; } +/** + * Describes a VMSS VM Extension. + */ +export interface VirtualMachineScaleSetVMExtension extends SubResourceReadOnly { + /** + * The name of the extension. + * **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; + /** + * 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". + */ + type1?: 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?: any; + /** + * The extension can contain either protectedSettings or protectedSettingsFromKeyVault or no + * protected settings at all. + */ + protectedSettings?: any; + /** + * 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 extension instance view. + */ + instanceView?: VirtualMachineExtensionInstanceView; +} + /** * Describes a Virtual Machine Extension. */ @@ -789,6 +851,59 @@ export interface VirtualMachineExtensionUpdate extends UpdateResource { protectedSettings?: any; } +/** + * Describes a VMSS VM Extension. + */ +export interface VirtualMachineScaleSetVMExtensionUpdate extends SubResourceReadOnly { + /** + * The name of the extension. + * **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; + /** + * 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". + */ + type1?: 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?: any; + /** + * The extension can contain either protectedSettings or protectedSettingsFromKeyVault or no + * protected settings at all. + */ + protectedSettings?: any; +} + /** * The List Extension operation response */ @@ -799,6 +914,16 @@ export interface VirtualMachineExtensionsListResult { value?: VirtualMachineExtension[]; } +/** + * The List VMSS VM Extension operation response + */ +export interface VirtualMachineScaleSetVMExtensionsListResult { + /** + * The list of VMSS VM extensions + */ + value?: VirtualMachineScaleSetVMExtension[]; +} + /** * Describes the properties of a Virtual Machine software patch. */ @@ -986,6 +1111,10 @@ export interface PurchasePlan { * the imageReference element. */ product: string; + /** + * The Offer Promotion Code. + */ + promotionCode?: string; } /** @@ -1159,14 +1288,18 @@ export interface HardwareProfile { /** * Specifies the size of the virtual machine. For more information about virtual machine sizes, * see [Sizes for virtual - * machines](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-windows-sizes?toc=%2fazure%2fvirtual-machines%2fwindows%2ftoc.json). - *

The available VM sizes depend on region and availability set. For a list of available - * sizes use these APIs:

[List all available virtual machine sizes in an availability + * machines](https://docs.microsoft.com/en-us/azure/virtual-machines/sizes).

The + * available VM sizes depend on region and availability set. For a list of available sizes use + * 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/virtualmachinesizes/list)

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

[List all + * available virtual machine sizes for * resizing](https://docs.microsoft.com/rest/api/compute/virtualmachines/listavailablesizes). + *

This list of sizes is no longer updated and the **VirtualMachineSizeTypes** string + * constants will be removed from the subsequent REST API specification. Use [List all available + * virtual machine sizes in a region]( + * https://docs.microsoft.com/en-us/rest/api/compute/resourceskus/list) to get the latest sizes. * Possible values include: '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', @@ -1667,7 +1800,7 @@ export interface SshPublicKey { * 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/virtual-machines-linux-mac-create-ssh-keys?toc=%2fazure%2fvirtual-machines%2flinux%2ftoc.json). + * Azure](https://docs.microsoft.com/en-us/azure/virtual-machines/linux/mac-create-ssh-keys?toc=%2fazure%2fvirtual-machines%2flinux%2ftoc.json). */ keyData?: string; } @@ -2431,12 +2564,14 @@ export interface VirtualMachine extends Resource { */ readonly instanceView?: VirtualMachineInstanceView; /** - * Specifies that the image or disk that is being used was licensed on-premises. This element is - * only used for images that contain the Windows Server operating system.

Possible - * values are:

Windows_Client

Windows_Server

If this element is - * included in a request for an update, the value must match the initial value. This value cannot - * be updated.

For more information, see [Azure Hybrid Use Benefit for Windows - * Server](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-windows-hybrid-use-benefit-licensing?toc=%2fazure%2fvirtual-machines%2fwindows%2ftoc.json) + * 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; @@ -2577,12 +2712,14 @@ export interface VirtualMachineUpdate extends UpdateResource { */ readonly instanceView?: VirtualMachineInstanceView; /** - * Specifies that the image or disk that is being used was licensed on-premises. This element is - * only used for images that contain the Windows Server operating system.

Possible - * values are:

Windows_Client

Windows_Server

If this element is - * included in a request for an update, the value must match the initial value. This value cannot - * be updated.

For more information, see [Azure Hybrid Use Benefit for Windows - * Server](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-windows-hybrid-use-benefit-licensing?toc=%2fazure%2fvirtual-machines%2fwindows%2ftoc.json) + * 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; @@ -3393,6 +3530,10 @@ export interface VirtualMachineScaleSetNetworkConfiguration extends SubResource * Specifies whether the network interface is accelerated networking-enabled. */ enableAcceleratedNetworking?: boolean; + /** + * Specifies whether the network interface is FPGA networking-enabled. + */ + enableFpga?: boolean; /** * The network security group. */ @@ -3427,6 +3568,10 @@ export interface VirtualMachineScaleSetUpdateNetworkConfiguration extends SubRes * Specifies whether the network interface is accelerated networking-enabled. */ enableAcceleratedNetworking?: boolean; + /** + * Specifies whether the network interface is FPGA networking-enabled. + */ + enableFpga?: boolean; /** * The network security group. */ @@ -3672,12 +3817,14 @@ export interface VirtualMachineScaleSetVMProfile { */ extensionProfile?: VirtualMachineScaleSetExtensionProfile; /** - * Specifies that the image or disk that is being used was licensed on-premises. This element is - * only used for images that contain the Windows Server operating system.

Possible - * values are:

Windows_Client

Windows_Server

If this element is - * included in a request for an update, the value must match the initial value. This value cannot - * be updated.

For more information, see [Azure Hybrid Use Benefit for Windows - * Server](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-windows-hybrid-use-benefit-licensing?toc=%2fazure%2fvirtual-machines%2fwindows%2ftoc.json) + * 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; @@ -4373,12 +4520,14 @@ export interface VirtualMachineScaleSetVM extends Resource { */ readonly provisioningState?: string; /** - * Specifies that the image or disk that is being used was licensed on-premises. This element is - * only used for images that contain the Windows Server operating system.

Possible - * values are:

Windows_Client

Windows_Server

If this element is - * included in a request for an update, the value must match the initial value. This value cannot - * be updated.

For more information, see [Azure Hybrid Use Benefit for Windows - * Server](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-windows-hybrid-use-benefit-licensing?toc=%2fazure%2fvirtual-machines%2fwindows%2ftoc.json) + * 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; @@ -4510,6 +4659,14 @@ export interface LogAnalyticsInputBase { * Group query result by Resource Name. */ groupByResourceName?: boolean; + /** + * Group query result by Client Application ID. + */ + groupByClientApplicationId?: boolean; + /** + * Group query result by User Agent. + */ + groupByUserAgent?: boolean; } /** @@ -4683,6 +4840,169 @@ export interface RunCommandResult { value?: InstanceViewStatus[]; } +/** + * The instance view of a virtual machine run command. + */ +export interface VirtualMachineRunCommandInstanceView { + /** + * Script execution status. Possible values include: 'Unknown', 'Pending', 'Running', 'Failed', + * 'Succeeded', 'TimedOut', 'Canceled' + */ + executionState?: ExecutionState; + /** + * Communicate script configuration errors or execution messages. + */ + executionMessage?: string; + /** + * Exit code returned from script execution. + */ + exitCode?: number; + /** + * Script output stream. + */ + output?: string; + /** + * Script error stream. + */ + error?: string; + /** + * Script start time. + */ + startTime?: Date; + /** + * Script end time. + */ + endTime?: Date; + /** + * The resource status information. + */ + statuses?: InstanceViewStatus[]; +} + +/** + * Describes the script sources for run command. + */ +export interface VirtualMachineRunCommandScriptSource { + /** + * Specifies the script content to be executed on the VM. + */ + script?: string; + /** + * Specifies the script download location. + */ + scriptUri?: string; + /** + * Specifies a commandId of predefined built-in script. + */ + commandId?: string; +} + +/** + * Describes a Virtual Machine run command. + */ +export interface VirtualMachineRunCommand extends 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. Default value: false. + */ + 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 run command. + */ +export interface VirtualMachineRunCommandUpdate extends 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. Default value: false. + */ + 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 scaling information of a SKU. */ @@ -4899,6 +5219,27 @@ export interface ResourceSku { readonly restrictions?: ResourceSkuRestrictions[]; } +/** + * 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 disks sku name. Can be Standard_LRS, Premium_LRS, StandardSSD_LRS, or UltraSSD_LRS. */ @@ -4915,6 +5256,20 @@ export interface DiskSku { readonly tier?: string; } +/** + * The complex type of the extended location. + */ +export interface ExtendedLocation { + /** + * The name of the extended location. + */ + name?: string; + /** + * The type of the extended location. Possible values include: 'EdgeZone' + */ + type?: ExtendedLocationTypes; +} + /** * The source image used for creating the disk. */ @@ -5103,6 +5458,10 @@ export interface Disk extends Resource { * 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 time when the disk was created. * **NOTE: This property will not be serialized. It can only be populated by the server.** @@ -5117,6 +5476,11 @@ export interface Disk extends Resource { * include: 'V1', 'V2' */ 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?: PurchasePlan; /** * Disk source information. CreationData information cannot be changed after the disk has been * created. @@ -5205,6 +5569,11 @@ export interface Disk extends Resource { * 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; } /** @@ -5272,6 +5641,15 @@ export interface DiskUpdate { * 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?: PurchasePlan; /** * Resource tags */ @@ -5280,7 +5658,9 @@ export interface DiskUpdate { } /** - * The snapshots sku name. Can be Standard_LRS, Premium_LRS, or Standard_ZRS. + * 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 { /** @@ -5294,6 +5674,21 @@ export interface SnapshotSku { readonly tier?: 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 + */ + keyUrl: string; +} + /** * Data used for requesting a SAS. */ @@ -5329,6 +5724,10 @@ export interface Snapshot extends Resource { */ readonly managedBy?: string; sku?: SnapshotSku; + /** + * The extended location where the snapshot will be created. Extended location cannot be changed. + */ + extendedLocation?: ExtendedLocation; /** * The time when the snapshot was created. * **NOTE: This property will not be serialized. It can only be populated by the server.** @@ -5343,6 +5742,11 @@ export interface Snapshot extends Resource { * include: 'V1', 'V2' */ hyperVGeneration?: HyperVGeneration; + /** + * Purchase plan information for the image from which the source disk for the snapshot was + * originally created. + */ + purchasePlan?: PurchasePlan; /** * Disk source information. CreationData information cannot be changed after the disk has been * created. @@ -5446,8 +5850,10 @@ export interface SnapshotUpdate { */ export interface EncryptionSetIdentity { /** - * The type of Managed Identity used by the DiskEncryptionSet. Only SystemAssigned is supported. - * Possible values include: 'SystemAssigned' + * 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. Possible values include: 'SystemAssigned', 'None' */ type?: DiskEncryptionSetIdentityType; /** @@ -5479,13 +5885,13 @@ export interface DiskEncryptionSet extends Resource { /** * The key vault key which is currently used by this disk encryption set. */ - activeKey?: KeyVaultAndKeyReference; + activeKey?: KeyForDiskEncryptionSet; /** * 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 previousKeys?: KeyVaultAndKeyReference[]; + readonly previousKeys?: KeyForDiskEncryptionSet[]; /** * The disk encryption set provisioning state. * **NOTE: This property will not be serialized. It can only be populated by the server.** @@ -5502,7 +5908,7 @@ export interface DiskEncryptionSetUpdate { * 'EncryptionAtRestWithPlatformAndCustomerKeys' */ encryptionType?: DiskEncryptionSetType; - activeKey?: KeyVaultAndKeyReference; + activeKey?: KeyForDiskEncryptionSet; /** * Resource tags */ @@ -5543,7 +5949,7 @@ export interface PrivateLinkServiceConnectionState { /** * The Private Endpoint Connection resource. */ -export interface PrivateEndpointConnection { +export interface PrivateEndpointConnection extends BaseResource { /** * The resource of private end point. */ @@ -5642,6 +6048,52 @@ export interface PrivateLinkResource { readonly type?: string; } +/** + * Properties of disk restore point + */ +export interface DiskRestorePoint extends 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 + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly sourceResourceId?: string; + /** + * The Operating System type. Possible values include: 'Windows', 'Linux' + * **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. Possible values + * include: 'V1', 'V2' + */ + hyperVGeneration?: HyperVGeneration; + /** + * Purchase plan information for the the image from which the OS disk was created. + */ + purchasePlan?: PurchasePlan; + /** + * 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; +} + /** * A list of private link resources */ @@ -5796,13 +6248,35 @@ export interface GalleryApplicationUpdate extends UpdateResourceDefinition { */ export interface UserArtifactSource { /** - * Required. The fileName of the artifact. + * 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. */ - fileName: string; + defaultConfigurationLink?: string; +} + +/** + * An interface representing UserArtifactManage. + */ +export interface UserArtifactManage { /** - * Required. The mediaLink of the artifact, must be a readable storage blob. + * Required. The path and arguments to install the gallery application. This is limited to 4096 + * characters. */ - mediaLink: string; + 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; } /** @@ -5842,15 +6316,11 @@ export interface GalleryArtifactPublishingProfileBase { } /** - * The publishing profile of a gallery Image Version. + * The publishing profile of a gallery image version. */ export interface GalleryApplicationVersionPublishingProfile extends GalleryArtifactPublishingProfileBase { source: UserArtifactSource; - /** - * Optional. May be used to help process this file. The type of file contained in the source, - * e.g. zip, json, etc. - */ - contentType?: string; + manageActions?: UserArtifactManage; /** * Optional. Whether or not this application reports health. */ @@ -6505,353 +6975,612 @@ export interface ContainerService extends Resource { } /** - * Optional Parameters. + * An interface representing InstanceSku. */ -export interface AvailabilitySetsListBySubscriptionOptionalParams extends msRest.RequestOptionsBase { +export interface InstanceSku { /** - * The expand expression to apply to the operation. Allowed values are 'instanceView'. + * The sku name. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - expand?: string; + readonly name?: string; + /** + * The tier of the cloud service role instance. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly tier?: string; } /** - * Optional Parameters. + * Describes the network profile for the role instance. */ -export interface ProximityPlacementGroupsGetOptionalParams extends msRest.RequestOptionsBase { +export interface RoleInstanceNetworkProfile { /** - * includeColocationStatus=true enables fetching the colocation status of all the resources in - * the proximity placement group. + * Specifies the list of resource Ids for the network interfaces associated with the role + * instance. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - includeColocationStatus?: string; + readonly networkInterfaces?: SubResource[]; } /** - * Optional Parameters. + * Instance view status. */ -export interface DedicatedHostGroupsGetOptionalParams extends msRest.RequestOptionsBase { +export interface ResourceInstanceViewStatus { /** - * The expand expression to apply on the operation. The response shows the list of instance view - * of the dedicated hosts under the dedicated host group. Possible values include: 'instanceView' + * The status code. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - expand?: InstanceViewTypes; + readonly code?: string; + /** + * The short localizable label for the status. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly displayStatus?: string; + /** + * The detailed status message, including for alerts and error messages. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly message?: string; + /** + * The time of the status. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly time?: Date; + /** + * The level code. Possible values include: 'Info', 'Warning', 'Error' + */ + level?: StatusLevelTypes; } /** - * Optional Parameters. + * The instance view of the role instance. */ -export interface DedicatedHostsGetOptionalParams extends msRest.RequestOptionsBase { +export interface RoleInstanceInstanceView { /** - * The expand expression to apply on the operation. Possible values include: 'instanceView' + * The Update Domain. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - expand?: InstanceViewTypes; + readonly platformUpdateDomain?: number; + /** + * The Fault Domain. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly platformFaultDomain?: number; + /** + * Specifies a unique identifier generated internally for the cloud service associated with this + * role instance.

NOTE: If you are using Azure Diagnostics extension, this property + * can be used as 'DeploymentId' for querying details. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly privateId?: string; + /** + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly statuses?: ResourceInstanceViewStatus[]; } /** - * Optional Parameters. + * An interface representing RoleInstanceProperties. */ -export interface VirtualMachineExtensionImagesListVersionsOptionalParams extends msRest.RequestOptionsBase { - /** - * The filter to apply on the operation. - */ - filter?: string; - top?: number; - orderby?: string; +export interface RoleInstanceProperties { + networkProfile?: RoleInstanceNetworkProfile; + instanceView?: RoleInstanceInstanceView; } /** - * Optional Parameters. + * An interface representing RoleInstance. */ -export interface VirtualMachineExtensionsGetOptionalParams extends msRest.RequestOptionsBase { +export interface RoleInstance { /** - * The expand expression to apply on the operation. + * Resource Id + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - expand?: string; + 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; } /** - * Optional Parameters. + * Describes the cloud service role sku. */ -export interface VirtualMachineExtensionsListOptionalParams extends msRest.RequestOptionsBase { +export interface CloudServiceRoleSku { /** - * The expand expression to apply on the operation. + * The sku name. NOTE: If the new SKU is not supported on the hardware the cloud service is + * currently on, you need to delete and recreate the cloud service or move back to the old sku. */ - expand?: string; + name?: string; + /** + * Specifies the tier of the cloud service. Possible Values are

**Standard**

**Basic** + */ + tier?: string; + /** + * Specifies the number of role instances in the cloud service. + */ + capacity?: number; } /** - * Optional Parameters. + * An interface representing CloudServiceRoleProperties. */ -export interface VirtualMachineImagesListOptionalParams extends msRest.RequestOptionsBase { +export interface CloudServiceRoleProperties { /** - * The expand expression to apply on the operation. + * Specifies the ID which uniquely identifies a cloud service role. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - expand?: string; - top?: number; - orderby?: string; + readonly uniqueId?: string; } /** - * Optional Parameters. + * Describes a role of the cloud service. */ -export interface VirtualMachinesGetOptionalParams extends msRest.RequestOptionsBase { +export interface CloudServiceRole { /** - * The expand expression to apply on the operation. Possible values include: 'instanceView' + * Resource id + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - expand?: InstanceViewTypes; + 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; + sku?: CloudServiceRoleSku; + properties?: CloudServiceRoleProperties; } /** - * Optional Parameters. + * Describes the role properties. */ -export interface VirtualMachinesListAllOptionalParams extends msRest.RequestOptionsBase { +export interface CloudServiceRoleProfileProperties { /** - * statusOnly=true enables fetching run time status of all Virtual Machines in the subscription. + * Resource name. */ - statusOnly?: string; + name?: string; + sku?: CloudServiceRoleSku; } /** - * Optional Parameters. + * Describes the role profile for the cloud service. */ -export interface VirtualMachinesPowerOffOptionalParams extends msRest.RequestOptionsBase { +export interface CloudServiceRoleProfile { /** - * 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. Default value: false. + * List of roles for the cloud service. */ - skipShutdown?: boolean; + roles?: CloudServiceRoleProfileProperties[]; } /** - * Optional Parameters. + * Describes a single certificate reference in a Key Vault, and where the certificate should reside + * on the role instance. */ -export interface VirtualMachinesReimageOptionalParams extends msRest.RequestOptionsBase { +export interface CloudServiceVaultCertificate { /** - * Parameters supplied to the Reimage Virtual Machine operation. + * This is the URL of a certificate that has been uploaded to Key Vault as a secret. */ - parameters?: VirtualMachineReimageParameters; + certificateUrl?: string; } /** - * Optional Parameters. + * Describes a set of certificates which are all in the same Key Vault. */ -export interface VirtualMachinesRetrieveBootDiagnosticsDataOptionalParams extends msRest.RequestOptionsBase { +export interface CloudServiceVaultSecretGroup { /** - * 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. + * The relative URL of the Key Vault containing all of the certificates in VaultCertificates. */ - sasUriExpirationTimeInMinutes?: number; + sourceVault?: SubResource; + /** + * The list of key vault references in SourceVault which contain certificates. + */ + vaultCertificates?: CloudServiceVaultCertificate[]; } /** - * Optional Parameters. + * Describes the OS profile for the cloud service. */ -export interface VirtualMachinesBeginPowerOffOptionalParams extends msRest.RequestOptionsBase { +export interface CloudServiceOsProfile { /** - * 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. Default value: false. + * Specifies set of certificates that should be installed onto the role instances. */ - skipShutdown?: boolean; + secrets?: CloudServiceVaultSecretGroup[]; } /** - * Optional Parameters. + * Describes a cloud service IP Configuration */ -export interface VirtualMachinesBeginReimageOptionalParams extends msRest.RequestOptionsBase { +export interface LoadBalancerFrontendIPConfigurationProperties { + publicIPAddress?: SubResource; + subnet?: SubResource; /** - * Parameters supplied to the Reimage Virtual Machine operation. + * The private IP address referenced by the cloud service. */ - parameters?: VirtualMachineReimageParameters; + privateIPAddress?: string; } /** - * Optional Parameters. + * An interface representing LoadBalancerFrontendIPConfiguration. */ -export interface ImagesGetOptionalParams extends msRest.RequestOptionsBase { +export interface LoadBalancerFrontendIPConfiguration { + name?: string; + properties?: LoadBalancerFrontendIPConfigurationProperties; +} + +/** + * An interface representing LoadBalancerConfigurationProperties. + */ +export interface LoadBalancerConfigurationProperties { /** - * The expand expression to apply on the operation. + * List of IP */ - expand?: string; + frontendIPConfigurations?: LoadBalancerFrontendIPConfiguration[]; } /** - * Optional Parameters. + * Describes the load balancer configuration. */ -export interface VirtualMachineScaleSetsDeallocateOptionalParams extends msRest.RequestOptionsBase { +export interface LoadBalancerConfiguration { /** - * A list of virtual machine instance IDs from the VM scale set. + * Resource Name */ - vmInstanceIDs?: VirtualMachineScaleSetVMInstanceIDs; + name?: string; + properties?: LoadBalancerConfigurationProperties; } /** - * Optional Parameters. + * Network Profile for the cloud service. */ -export interface VirtualMachineScaleSetsPowerOffOptionalParams extends msRest.RequestOptionsBase { +export interface CloudServiceNetworkProfile { /** - * A list of virtual machine instance IDs from the VM scale set. + * The list of load balancer configurations for the cloud service. */ - 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. Default value: false. + loadBalancerConfigurations?: LoadBalancerConfiguration[]; + swappableCloudService?: SubResource; +} + +/** + * An interface representing CloudServiceVaultAndSecretReference. + */ +export interface CloudServiceVaultAndSecretReference { + sourceVault?: SubResource; + secretUrl?: string; +} + +/** + * Extension Properties. + */ +export interface CloudServiceExtensionProperties { + /** + * The name of the extension handler publisher. */ - skipShutdown?: boolean; + publisher?: string; + /** + * Specifies the type of the extension. + */ + type?: string; + /** + * Specifies the version of the extension. Specifies the version of the extension. If this + * element is not specified or an asterisk (*) is used as the value, the latest version of the + * extension is used. If the value is specified with a major version number and an asterisk as + * the minor version number (X.), the latest minor version of the specified major version is + * selected. If a major version number and a minor version number are specified (X.Y), the + * specific extension version is selected. If a version is specified, an auto-upgrade is + * performed on the role instance. + */ + typeHandlerVersion?: string; + /** + * Explicitly specify whether platform can automatically upgrade typeHandlerVersion to higher + * minor versions when they become available. + */ + autoUpgradeMinorVersion?: boolean; + /** + * Public settings for the extension. For JSON extensions, this is the JSON settings for the + * extension. For XML Extension (like RDP), this is the XML setting for the extension. + */ + settings?: string; + /** + * Protected settings for the extension which are encrypted before sent to the role instance. + */ + protectedSettings?: string; + protectedSettingsFromKeyVault?: CloudServiceVaultAndSecretReference; + /** + * Tag to force apply the provided public and protected settings. + * Changing the tag value allows for re-running the extension without changing any of the public + * or protected settings. + * If forceUpdateTag is not changed, updates to public or protected settings would still be + * applied by the handler. + * If neither forceUpdateTag nor any of public or protected settings change, extension would flow + * to the role instance with the same sequence-number, and + * it is up to handler implementation whether to re-run it or not + */ + forceUpdateTag?: 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; + /** + * Optional list of roles to apply this extension. If property is not specified or '*' is + * specified, extension is applied to all roles in the cloud service. + */ + rolesAppliedTo?: string[]; } /** - * Optional Parameters. + * Describes a cloud service Extension. */ -export interface VirtualMachineScaleSetsRestartOptionalParams extends msRest.RequestOptionsBase { +export interface Extension { /** - * A list of virtual machine instance IDs from the VM scale set. + * The name of the extension. */ - vmInstanceIDs?: VirtualMachineScaleSetVMInstanceIDs; + name?: string; + properties?: CloudServiceExtensionProperties; } /** - * Optional Parameters. + * Describes a cloud service extension profile. */ -export interface VirtualMachineScaleSetsStartOptionalParams extends msRest.RequestOptionsBase { +export interface CloudServiceExtensionProfile { /** - * A list of virtual machine instance IDs from the VM scale set. + * List of extensions for the cloud service. */ - vmInstanceIDs?: VirtualMachineScaleSetVMInstanceIDs; + extensions?: Extension[]; } /** - * Optional Parameters. + * Cloud service properties */ -export interface VirtualMachineScaleSetsRedeployOptionalParams extends msRest.RequestOptionsBase { +export interface CloudServiceProperties { /** - * A list of virtual machine instance IDs from the VM scale set. + * Specifies a URL that refers to the location of the service package in the Blob service. The + * service package URL can be Shared Access Signature (SAS) URI from any storage account. + * This is a write-only property and is not returned in GET calls. */ - vmInstanceIDs?: VirtualMachineScaleSetVMInstanceIDs; + packageUrl?: string; + /** + * Specifies the XML service configuration (.cscfg) for the cloud service. + */ + configuration?: string; + /** + * Specifies a URL that refers to the location of the service configuration in the Blob service. + * The service package URL can be Shared Access Signature (SAS) URI from any storage account. + * This is a write-only property and is not returned in GET calls. + */ + configurationUrl?: string; + /** + * (Optional) Indicates whether to start the cloud service immediately after it is created. The + * default value is `true`. + * If false, the service model is still deployed, but the code is not run immediately. Instead, + * the service is PoweredOff until you call Start, at which time the service will be started. A + * deployed service still incurs charges, even if it is poweredoff. + */ + startCloudService?: boolean; + /** + * Possible values include: 'Auto', 'Manual', 'Simultaneous' + */ + upgradeMode?: CloudServiceUpgradeMode; + roleProfile?: CloudServiceRoleProfile; + osProfile?: CloudServiceOsProfile; + networkProfile?: CloudServiceNetworkProfile; + extensionProfile?: CloudServiceExtensionProfile; + /** + * 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 unique identifier for the cloud service. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly uniqueId?: string; } /** - * Optional Parameters. + * Describes the cloud service. */ -export interface VirtualMachineScaleSetsPerformMaintenanceOptionalParams extends msRest.RequestOptionsBase { +export interface CloudService extends BaseResource { /** - * A list of virtual machine instance IDs from the VM scale set. + * Resource Id. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - vmInstanceIDs?: VirtualMachineScaleSetVMInstanceIDs; + 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 }; + properties?: CloudServiceProperties; } /** - * Optional Parameters. + * An interface representing CloudServiceUpdate. */ -export interface VirtualMachineScaleSetsReimageOptionalParams extends msRest.RequestOptionsBase { +export interface CloudServiceUpdate { /** - * Parameters for Reimaging VM ScaleSet. + * Resource tags */ - vmScaleSetReimageInput?: VirtualMachineScaleSetReimageParameters; + tags?: { [propertyName: string]: string }; } /** - * Optional Parameters. + * An interface representing StatusCodeCount. */ -export interface VirtualMachineScaleSetsReimageAllOptionalParams extends msRest.RequestOptionsBase { +export interface StatusCodeCount { /** - * A list of virtual machine instance IDs from the VM scale set. + * The instance view status code + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - vmInstanceIDs?: VirtualMachineScaleSetVMInstanceIDs; + readonly code?: string; + /** + * Number of instances having this status code + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly count?: number; } /** - * Optional Parameters. + * Instance view statuses. */ -export interface VirtualMachineScaleSetsBeginDeallocateOptionalParams extends msRest.RequestOptionsBase { +export interface InstanceViewStatusesSummary { /** - * A list of virtual machine instance IDs from the VM scale set. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - vmInstanceIDs?: VirtualMachineScaleSetVMInstanceIDs; + readonly statusesSummary?: StatusCodeCount[]; } /** - * Optional Parameters. + * InstanceView of CloudService as a whole */ -export interface VirtualMachineScaleSetsBeginPowerOffOptionalParams extends msRest.RequestOptionsBase { +export interface CloudServiceInstanceView { + roleInstance?: InstanceViewStatusesSummary; /** - * A list of virtual machine instance IDs from the VM scale set. + * The version of the SDK that was used to generate the package for the cloud service. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - vmInstanceIDs?: VirtualMachineScaleSetVMInstanceIDs; + readonly sdkVersion?: string; /** - * 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. Default value: false. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - skipShutdown?: boolean; + readonly statuses?: ResourceInstanceViewStatus[]; +} + +/** + * Specifies a list of role instances from the cloud service. + */ +export interface RoleInstances { + /** + * List of cloud service role instance names. Value of '*' will signify all role instances of the + * cloud service. + */ + roleInstances: string[]; +} + +/** + * Defines an update domain for the cloud service. + */ +export interface UpdateDomain { + /** + * 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; } /** * Optional Parameters. */ -export interface VirtualMachineScaleSetsBeginRestartOptionalParams extends msRest.RequestOptionsBase { +export interface AvailabilitySetsListBySubscriptionOptionalParams extends msRest.RequestOptionsBase { /** - * A list of virtual machine instance IDs from the VM scale set. + * The expand expression to apply to the operation. Allowed values are 'instanceView'. */ - vmInstanceIDs?: VirtualMachineScaleSetVMInstanceIDs; + expand?: string; } /** * Optional Parameters. */ -export interface VirtualMachineScaleSetsBeginStartOptionalParams extends msRest.RequestOptionsBase { +export interface AvailabilitySetsListBySubscriptionNextOptionalParams extends msRest.RequestOptionsBase { /** - * A list of virtual machine instance IDs from the VM scale set. + * The expand expression to apply to the operation. Allowed values are 'instanceView'. */ - vmInstanceIDs?: VirtualMachineScaleSetVMInstanceIDs; + expand?: string; } /** * Optional Parameters. */ -export interface VirtualMachineScaleSetsBeginRedeployOptionalParams extends msRest.RequestOptionsBase { +export interface ProximityPlacementGroupsGetOptionalParams extends msRest.RequestOptionsBase { /** - * A list of virtual machine instance IDs from the VM scale set. + * includeColocationStatus=true enables fetching the colocation status of all the resources in + * the proximity placement group. */ - vmInstanceIDs?: VirtualMachineScaleSetVMInstanceIDs; + includeColocationStatus?: string; } /** * Optional Parameters. */ -export interface VirtualMachineScaleSetsBeginPerformMaintenanceOptionalParams extends msRest.RequestOptionsBase { +export interface DedicatedHostGroupsGetOptionalParams extends msRest.RequestOptionsBase { /** - * A list of virtual machine instance IDs from the VM scale set. + * The expand expression to apply on the operation. The response shows the list of instance view + * of the dedicated hosts under the dedicated host group. Possible values include: 'instanceView' */ - vmInstanceIDs?: VirtualMachineScaleSetVMInstanceIDs; + expand?: InstanceViewTypes; } /** * Optional Parameters. */ -export interface VirtualMachineScaleSetsBeginReimageOptionalParams extends msRest.RequestOptionsBase { +export interface DedicatedHostsGetOptionalParams extends msRest.RequestOptionsBase { /** - * Parameters for Reimaging VM ScaleSet. + * The expand expression to apply on the operation. Possible values include: 'instanceView' */ - vmScaleSetReimageInput?: VirtualMachineScaleSetReimageParameters; + expand?: InstanceViewTypes; } /** * Optional Parameters. */ -export interface VirtualMachineScaleSetsBeginReimageAllOptionalParams extends msRest.RequestOptionsBase { +export interface VirtualMachineExtensionImagesListVersionsOptionalParams extends msRest.RequestOptionsBase { /** - * A list of virtual machine instance IDs from the VM scale set. + * The filter to apply on the operation. */ - vmInstanceIDs?: VirtualMachineScaleSetVMInstanceIDs; + filter?: string; + top?: number; + orderby?: string; } /** * Optional Parameters. */ -export interface VirtualMachineScaleSetExtensionsGetOptionalParams extends msRest.RequestOptionsBase { +export interface VirtualMachineExtensionsGetOptionalParams extends msRest.RequestOptionsBase { /** * The expand expression to apply on the operation. */ @@ -6861,7 +7590,7 @@ export interface VirtualMachineScaleSetExtensionsGetOptionalParams extends msRes /** * Optional Parameters. */ -export interface VirtualMachineScaleSetVMExtensionsGetOptionalParams extends msRest.RequestOptionsBase { +export interface VirtualMachineExtensionsListOptionalParams extends msRest.RequestOptionsBase { /** * The expand expression to apply on the operation. */ @@ -6871,27 +7600,29 @@ export interface VirtualMachineScaleSetVMExtensionsGetOptionalParams extends msR /** * Optional Parameters. */ -export interface VirtualMachineScaleSetVMExtensionsListOptionalParams extends msRest.RequestOptionsBase { +export interface VirtualMachineImagesListOptionalParams extends msRest.RequestOptionsBase { /** * The expand expression to apply on the operation. */ expand?: string; + top?: number; + orderby?: string; } /** * Optional Parameters. */ -export interface VirtualMachineScaleSetVMsReimageOptionalParams extends msRest.RequestOptionsBase { +export interface VirtualMachinesDeleteMethodOptionalParams extends msRest.RequestOptionsBase { /** - * Parameters for the Reimaging Virtual machine in ScaleSet. + * Optional parameter to force delete virtual machines.(Feature in Preview) */ - vmScaleSetVMReimageInput?: VirtualMachineScaleSetVMReimageParameters; + forceDeletion?: boolean; } /** * Optional Parameters. */ -export interface VirtualMachineScaleSetVMsGetOptionalParams extends msRest.RequestOptionsBase { +export interface VirtualMachinesGetOptionalParams extends msRest.RequestOptionsBase { /** * The expand expression to apply on the operation. Possible values include: 'instanceView' */ @@ -6901,27 +7632,17 @@ export interface VirtualMachineScaleSetVMsGetOptionalParams extends msRest.Reque /** * Optional Parameters. */ -export interface VirtualMachineScaleSetVMsListOptionalParams extends msRest.RequestOptionsBase { - /** - * 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 VirtualMachinesListAllOptionalParams extends msRest.RequestOptionsBase { /** - * The expand expression to apply to the operation. Allowed values are 'instanceView'. + * statusOnly=true enables fetching run time status of all Virtual Machines in the subscription. */ - expand?: string; + statusOnly?: string; } /** * Optional Parameters. */ -export interface VirtualMachineScaleSetVMsPowerOffOptionalParams extends msRest.RequestOptionsBase { +export interface VirtualMachinesPowerOffOptionalParams extends msRest.RequestOptionsBase { /** * 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 @@ -6933,7 +7654,17 @@ export interface VirtualMachineScaleSetVMsPowerOffOptionalParams extends msRest. /** * Optional Parameters. */ -export interface VirtualMachineScaleSetVMsRetrieveBootDiagnosticsDataOptionalParams extends msRest.RequestOptionsBase { +export interface VirtualMachinesReimageOptionalParams extends msRest.RequestOptionsBase { + /** + * Parameters supplied to the Reimage Virtual Machine operation. + */ + parameters?: VirtualMachineReimageParameters; +} + +/** + * Optional Parameters. + */ +export interface VirtualMachinesRetrieveBootDiagnosticsDataOptionalParams extends msRest.RequestOptionsBase { /** * 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 @@ -6945,17 +7676,17 @@ export interface VirtualMachineScaleSetVMsRetrieveBootDiagnosticsDataOptionalPar /** * Optional Parameters. */ -export interface VirtualMachineScaleSetVMsBeginReimageOptionalParams extends msRest.RequestOptionsBase { +export interface VirtualMachinesBeginDeleteMethodOptionalParams extends msRest.RequestOptionsBase { /** - * Parameters for the Reimaging Virtual machine in ScaleSet. + * Optional parameter to force delete virtual machines.(Feature in Preview) */ - vmScaleSetVMReimageInput?: VirtualMachineScaleSetVMReimageParameters; + forceDeletion?: boolean; } /** * Optional Parameters. */ -export interface VirtualMachineScaleSetVMsBeginPowerOffOptionalParams extends msRest.RequestOptionsBase { +export interface VirtualMachinesBeginPowerOffOptionalParams extends msRest.RequestOptionsBase { /** * 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 @@ -6967,991 +7698,2508 @@ export interface VirtualMachineScaleSetVMsBeginPowerOffOptionalParams extends ms /** * Optional Parameters. */ -export interface ResourceSkusListOptionalParams extends msRest.RequestOptionsBase { +export interface VirtualMachinesBeginReimageOptionalParams extends msRest.RequestOptionsBase { /** - * The filter to apply on the operation. Only **location** filter is supported currently. + * Parameters supplied to the Reimage Virtual Machine operation. */ - filter?: string; + parameters?: VirtualMachineReimageParameters; } /** * Optional Parameters. */ -export interface GalleryImageVersionsGetOptionalParams extends msRest.RequestOptionsBase { +export interface VirtualMachinesListAllNextOptionalParams extends msRest.RequestOptionsBase { /** - * The expand expression to apply on the operation. Possible values include: 'ReplicationStatus' + * statusOnly=true enables fetching run time status of all Virtual Machines in the subscription. */ - expand?: ReplicationStatusTypes; + statusOnly?: string; } /** * Optional Parameters. */ -export interface GalleryApplicationVersionsGetOptionalParams extends msRest.RequestOptionsBase { +export interface ImagesGetOptionalParams extends msRest.RequestOptionsBase { /** - * The expand expression to apply on the operation. Possible values include: 'ReplicationStatus' + * The expand expression to apply on the operation. */ - expand?: ReplicationStatusTypes; + expand?: string; } /** - * An interface representing ComputeManagementClientOptions. + * Optional Parameters. */ -export interface ComputeManagementClientOptions extends AzureServiceClientOptions { - baseUri?: string; +export interface VirtualMachineScaleSetsDeallocateOptionalParams extends msRest.RequestOptionsBase { + /** + * A list of virtual machine instance IDs from the VM scale set. + */ + vmInstanceIDs?: VirtualMachineScaleSetVMInstanceIDs; } /** - * @interface - * The List Compute Operation operation response. - * @extends Array + * Optional Parameters. */ -export interface ComputeOperationListResult extends Array { +export interface VirtualMachineScaleSetsPowerOffOptionalParams extends msRest.RequestOptionsBase { + /** + * 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. Default value: false. + */ + skipShutdown?: boolean; } /** - * @interface - * The List Availability Set operation response. - * @extends Array + * Optional Parameters. */ -export interface AvailabilitySetListResult extends Array { +export interface VirtualMachineScaleSetsRestartOptionalParams extends msRest.RequestOptionsBase { /** - * The URI to fetch the next page of AvailabilitySets. Call ListNext() with this URI to fetch the - * next page of AvailabilitySets. + * A list of virtual machine instance IDs from the VM scale set. */ - nextLink?: string; + vmInstanceIDs?: VirtualMachineScaleSetVMInstanceIDs; } /** - * @interface - * The List Virtual Machine operation response. - * @extends Array + * Optional Parameters. */ -export interface VirtualMachineSizeListResult extends Array { +export interface VirtualMachineScaleSetsStartOptionalParams extends msRest.RequestOptionsBase { + /** + * A list of virtual machine instance IDs from the VM scale set. + */ + vmInstanceIDs?: VirtualMachineScaleSetVMInstanceIDs; } /** - * @interface - * The List Proximity Placement Group operation response. - * @extends Array + * Optional Parameters. */ -export interface ProximityPlacementGroupListResult extends Array { +export interface VirtualMachineScaleSetsRedeployOptionalParams extends msRest.RequestOptionsBase { /** - * The URI to fetch the next page of proximity placement groups. + * A list of virtual machine instance IDs from the VM scale set. */ - nextLink?: string; + vmInstanceIDs?: VirtualMachineScaleSetVMInstanceIDs; } /** - * @interface - * The List Dedicated Host Group with resource group response. - * @extends Array + * Optional Parameters. */ -export interface DedicatedHostGroupListResult extends Array { +export interface VirtualMachineScaleSetsPerformMaintenanceOptionalParams extends msRest.RequestOptionsBase { /** - * 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. + * A list of virtual machine instance IDs from the VM scale set. */ - nextLink?: string; + vmInstanceIDs?: VirtualMachineScaleSetVMInstanceIDs; } /** - * @interface - * The list dedicated host operation response. - * @extends Array + * Optional Parameters. */ -export interface DedicatedHostListResult extends Array { +export interface VirtualMachineScaleSetsReimageOptionalParams extends msRest.RequestOptionsBase { /** - * The URI to fetch the next page of dedicated hosts. Call ListNext() with this URI to fetch the - * next page of dedicated hosts. + * Parameters for Reimaging VM ScaleSet. */ - nextLink?: string; + vmScaleSetReimageInput?: VirtualMachineScaleSetReimageParameters; } /** - * @interface - * The list SSH public keys operation response. - * @extends Array + * Optional Parameters. */ -export interface SshPublicKeysGroupListResult extends Array { +export interface VirtualMachineScaleSetsReimageAllOptionalParams extends msRest.RequestOptionsBase { /** - * 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. + * A list of virtual machine instance IDs from the VM scale set. */ - nextLink?: string; + vmInstanceIDs?: VirtualMachineScaleSetVMInstanceIDs; } /** - * @interface - * The List Usages operation response. - * @extends Array + * Optional Parameters. */ -export interface ListUsagesResult extends Array { +export interface VirtualMachineScaleSetsBeginDeallocateOptionalParams extends msRest.RequestOptionsBase { /** - * 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. + * A list of virtual machine instance IDs from the VM scale set. */ - nextLink?: string; + vmInstanceIDs?: VirtualMachineScaleSetVMInstanceIDs; } /** - * @interface - * The List Virtual Machine operation response. - * @extends Array + * Optional Parameters. */ -export interface VirtualMachineListResult extends Array { +export interface VirtualMachineScaleSetsBeginPowerOffOptionalParams extends msRest.RequestOptionsBase { /** - * The URI to fetch the next page of VMs. Call ListNext() with this URI to fetch the next page of - * Virtual Machines. + * A list of virtual machine instance IDs from the VM scale set. */ - nextLink?: string; + 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. Default value: false. + */ + skipShutdown?: boolean; } /** - * @interface - * The List Image operation response. - * @extends Array + * Optional Parameters. */ -export interface ImageListResult extends Array { +export interface VirtualMachineScaleSetsBeginRestartOptionalParams extends msRest.RequestOptionsBase { /** - * The uri to fetch the next page of Images. Call ListNext() with this to fetch the next page of - * Images. + * A list of virtual machine instance IDs from the VM scale set. */ - nextLink?: string; + vmInstanceIDs?: VirtualMachineScaleSetVMInstanceIDs; } /** - * @interface - * The List Virtual Machine operation response. - * @extends Array + * Optional Parameters. */ -export interface VirtualMachineScaleSetListResult extends Array { +export interface VirtualMachineScaleSetsBeginStartOptionalParams extends msRest.RequestOptionsBase { /** - * The uri to fetch the next page of Virtual Machine Scale Sets. Call ListNext() with this to - * fetch the next page of VMSS. + * A list of virtual machine instance IDs from the VM scale set. */ - nextLink?: string; + vmInstanceIDs?: VirtualMachineScaleSetVMInstanceIDs; } /** - * @interface - * The List Virtual Machine operation response. - * @extends Array + * Optional Parameters. */ -export interface VirtualMachineScaleSetListWithLinkResult extends Array { +export interface VirtualMachineScaleSetsBeginRedeployOptionalParams extends msRest.RequestOptionsBase { /** - * 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. + * A list of virtual machine instance IDs from the VM scale set. */ - nextLink?: string; + vmInstanceIDs?: VirtualMachineScaleSetVMInstanceIDs; } /** - * @interface - * The Virtual Machine Scale Set List Skus operation response. - * @extends Array + * Optional Parameters. */ -export interface VirtualMachineScaleSetListSkusResult extends Array { +export interface VirtualMachineScaleSetsBeginPerformMaintenanceOptionalParams extends msRest.RequestOptionsBase { /** - * 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. + * A list of virtual machine instance IDs from the VM scale set. */ - nextLink?: string; + vmInstanceIDs?: VirtualMachineScaleSetVMInstanceIDs; } /** - * @interface - * List of Virtual Machine Scale Set OS Upgrade History operation response. - * @extends Array + * Optional Parameters. */ -export interface VirtualMachineScaleSetListOSUpgradeHistory extends Array { +export interface VirtualMachineScaleSetsBeginReimageOptionalParams extends msRest.RequestOptionsBase { /** - * The uri to fetch the next page of OS Upgrade History. Call ListNext() with this to fetch the - * next page of history of upgrades. + * Parameters for Reimaging VM ScaleSet. */ - nextLink?: string; + vmScaleSetReimageInput?: VirtualMachineScaleSetReimageParameters; } /** - * @interface - * The List VM scale set extension operation response. - * @extends Array + * Optional Parameters. */ -export interface VirtualMachineScaleSetExtensionListResult extends Array { +export interface VirtualMachineScaleSetsBeginReimageAllOptionalParams extends msRest.RequestOptionsBase { /** - * 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. + * A list of virtual machine instance IDs from the VM scale set. */ - nextLink?: string; + vmInstanceIDs?: VirtualMachineScaleSetVMInstanceIDs; } /** - * @interface - * The List Virtual Machine Scale Set VMs operation response. - * @extends Array + * Optional Parameters. */ -export interface VirtualMachineScaleSetVMListResult extends Array { +export interface VirtualMachineScaleSetExtensionsGetOptionalParams extends msRest.RequestOptionsBase { /** - * 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 + * The expand expression to apply on the operation. */ - nextLink?: string; + expand?: string; } /** - * @interface - * The List Virtual Machine operation response. - * @extends Array + * Optional Parameters. */ -export interface RunCommandListResult extends Array { +export interface VirtualMachineScaleSetVMExtensionsGetOptionalParams extends msRest.RequestOptionsBase { /** - * The uri to fetch the next page of run commands. Call ListNext() with this to fetch the next - * page of run commands. + * The expand expression to apply on the operation. */ - nextLink?: string; + expand?: string; } /** - * @interface - * The List Resource Skus operation response. - * @extends Array + * Optional Parameters. */ -export interface ResourceSkusResult extends Array { +export interface VirtualMachineScaleSetVMExtensionsListOptionalParams extends msRest.RequestOptionsBase { /** - * The URI to fetch the next page of Resource Skus. Call ListNext() with this URI to fetch the - * next page of Resource Skus + * The expand expression to apply on the operation. */ - nextLink?: string; + expand?: string; } /** - * @interface - * The List Disks operation response. - * @extends Array + * Optional Parameters. */ -export interface DiskList extends Array { +export interface VirtualMachineScaleSetVMsReimageOptionalParams extends msRest.RequestOptionsBase { /** - * The uri to fetch the next page of disks. Call ListNext() with this to fetch the next page of - * disks. + * Parameters for the Reimaging Virtual machine in ScaleSet. */ - nextLink?: string; + vmScaleSetVMReimageInput?: VirtualMachineScaleSetVMReimageParameters; } /** - * @interface - * The List Snapshots operation response. - * @extends Array + * Optional Parameters. */ -export interface SnapshotList extends Array { +export interface VirtualMachineScaleSetVMsGetOptionalParams extends msRest.RequestOptionsBase { /** - * The uri to fetch the next page of snapshots. Call ListNext() with this to fetch the next page - * of snapshots. + * The expand expression to apply on the operation. Possible values include: 'instanceView' */ - nextLink?: string; + expand?: InstanceViewTypes; } /** - * @interface - * The List disk encryption set operation response. - * @extends Array + * Optional Parameters. */ -export interface DiskEncryptionSetList extends Array { +export interface VirtualMachineScaleSetVMsListOptionalParams extends msRest.RequestOptionsBase { /** - * 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 filter to apply to the operation. Allowed values are + * 'startswith(instanceView/statuses/code, 'PowerState') eq true', 'properties/latestModelApplied + * eq true', 'properties/latestModelApplied eq false'. */ - nextLink?: string; + filter?: string; + /** + * The list parameters. Allowed values are 'instanceView', 'instanceView/statuses'. + */ + select?: string; + /** + * The expand expression to apply to the operation. Allowed values are 'instanceView'. + */ + expand?: string; } /** - * @interface - * The List resources which are encrypted with the disk encryption set. - * @extends Array + * Optional Parameters. */ -export interface ResourceUriList extends Array { +export interface VirtualMachineScaleSetVMsPowerOffOptionalParams extends msRest.RequestOptionsBase { /** - * The uri to fetch the next page of encrypted resources. Call ListNext() with this to fetch the - * next page of encrypted resources. + * 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. Default value: false. */ - nextLink?: string; + skipShutdown?: boolean; } /** - * @interface - * The List disk access operation response. - * @extends Array + * Optional Parameters. */ -export interface DiskAccessList extends Array { +export interface VirtualMachineScaleSetVMsRetrieveBootDiagnosticsDataOptionalParams extends msRest.RequestOptionsBase { /** - * The uri to fetch the next page of disk access resources. Call ListNext() with this to fetch - * the next page of disk access resources. + * 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. */ - nextLink?: string; + sasUriExpirationTimeInMinutes?: number; } /** - * @interface - * The List Galleries operation response. - * @extends Array + * Optional Parameters. */ -export interface GalleryList extends Array { +export interface VirtualMachineScaleSetVMsBeginReimageOptionalParams extends msRest.RequestOptionsBase { /** - * The uri to fetch the next page of galleries. Call ListNext() with this to fetch the next page - * of galleries. + * Parameters for the Reimaging Virtual machine in ScaleSet. */ - nextLink?: string; + vmScaleSetVMReimageInput?: VirtualMachineScaleSetVMReimageParameters; } /** - * @interface - * The List Gallery Images operation response. - * @extends Array + * Optional Parameters. */ -export interface GalleryImageList extends Array { +export interface VirtualMachineScaleSetVMsBeginPowerOffOptionalParams extends msRest.RequestOptionsBase { /** - * 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. + * 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. Default value: false. */ - nextLink?: string; + skipShutdown?: boolean; } /** - * @interface - * The List Gallery Image version operation response. - * @extends Array + * Optional Parameters. */ -export interface GalleryImageVersionList extends Array { +export interface VirtualMachineScaleSetVMsListNextOptionalParams extends msRest.RequestOptionsBase { /** - * The uri to fetch the next page of gallery Image Versions. Call ListNext() with this to fetch - * the next page of gallery Image Versions. + * 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'. */ - nextLink?: string; + filter?: string; + /** + * The list parameters. Allowed values are 'instanceView', 'instanceView/statuses'. + */ + select?: string; + /** + * The expand expression to apply to the operation. Allowed values are 'instanceView'. + */ + expand?: string; } /** - * @interface - * The List Gallery Applications operation response. - * @extends Array + * Optional Parameters. */ -export interface GalleryApplicationList extends Array { +export interface VirtualMachineRunCommandsGetByVirtualMachineOptionalParams extends msRest.RequestOptionsBase { /** - * 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. + * The expand expression to apply on the operation. */ - nextLink?: string; + expand?: string; } /** - * @interface - * The List Gallery Application version operation response. - * @extends Array + * Optional Parameters. */ -export interface GalleryApplicationVersionList extends Array { +export interface VirtualMachineRunCommandsListByVirtualMachineOptionalParams extends msRest.RequestOptionsBase { /** - * 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 expand expression to apply on the operation. */ - nextLink?: string; + expand?: string; } /** - * @interface - * The response from the List Container Services operation. - * @extends Array + * Optional Parameters. */ -export interface ContainerServiceListResult extends Array { +export interface VirtualMachineRunCommandsListByVirtualMachineNextOptionalParams extends msRest.RequestOptionsBase { /** - * The URL to get the next set of container service results. + * The expand expression to apply on the operation. */ - nextLink?: string; + expand?: string; } /** - * Defines values for VmDiskTypes. - * Possible values include: 'None', 'Unmanaged' - * @readonly - * @enum {string} + * Optional Parameters. */ -export type VmDiskTypes = 'None' | 'Unmanaged'; +export interface VirtualMachineScaleSetVMRunCommandsGetOptionalParams extends msRest.RequestOptionsBase { + /** + * The expand expression to apply on the operation. + */ + expand?: string; +} /** - * Defines values for HyperVGenerationTypes. - * Possible values include: 'V1', 'V2' - * @readonly - * @enum {string} + * Optional Parameters. */ -export type HyperVGenerationTypes = 'V1' | 'V2'; +export interface VirtualMachineScaleSetVMRunCommandsListOptionalParams extends msRest.RequestOptionsBase { + /** + * The expand expression to apply on the operation. + */ + expand?: string; +} /** - * Defines values for StatusLevelTypes. - * Possible values include: 'Info', 'Warning', 'Error' - * @readonly - * @enum {string} + * Optional Parameters. */ -export type StatusLevelTypes = 'Info' | 'Warning' | 'Error'; +export interface VirtualMachineScaleSetVMRunCommandsListNextOptionalParams extends msRest.RequestOptionsBase { + /** + * The expand expression to apply on the operation. + */ + expand?: string; +} /** - * Defines values for AvailabilitySetSkuTypes. - * Possible values include: 'Classic', 'Aligned' - * @readonly - * @enum {string} + * Optional Parameters. */ -export type AvailabilitySetSkuTypes = 'Classic' | 'Aligned'; +export interface ResourceSkusListOptionalParams extends msRest.RequestOptionsBase { + /** + * The filter to apply on the operation. Only **location** filter is supported currently. + */ + filter?: string; +} /** - * Defines values for ProximityPlacementGroupType. - * Possible values include: 'Standard', 'Ultra' - * @readonly - * @enum {string} + * Optional Parameters. */ -export type ProximityPlacementGroupType = 'Standard' | 'Ultra'; +export interface ResourceSkusListNextOptionalParams extends msRest.RequestOptionsBase { + /** + * The filter to apply on the operation. Only **location** filter is supported currently. + */ + filter?: string; +} /** - * Defines values for DedicatedHostLicenseTypes. - * Possible values include: 'None', 'Windows_Server_Hybrid', 'Windows_Server_Perpetual' - * @readonly - * @enum {string} + * Optional Parameters. */ -export type DedicatedHostLicenseTypes = 'None' | 'Windows_Server_Hybrid' | 'Windows_Server_Perpetual'; +export interface GalleryImageVersionsGetOptionalParams extends msRest.RequestOptionsBase { + /** + * The expand expression to apply on the operation. Possible values include: 'ReplicationStatus' + */ + expand?: ReplicationStatusTypes; +} /** - * Defines values for SoftwareUpdateRebootBehavior. - * Possible values include: 'NeverReboots', 'AlwaysRequiresReboot', 'CanRequestReboot' - * @readonly - * @enum {string} + * Optional Parameters. */ -export type SoftwareUpdateRebootBehavior = 'NeverReboots' | 'AlwaysRequiresReboot' | 'CanRequestReboot'; +export interface GalleryApplicationVersionsGetOptionalParams extends msRest.RequestOptionsBase { + /** + * The expand expression to apply on the operation. Possible values include: 'ReplicationStatus' + */ + expand?: ReplicationStatusTypes; +} /** - * Defines values for PatchAssessmentState. - * Possible values include: 'Installed', 'Failed', 'Excluded', 'NotSelected', 'Pending', - * 'Available' - * @readonly - * @enum {string} + * Optional Parameters. */ -export type PatchAssessmentState = 'Installed' | 'Failed' | 'Excluded' | 'NotSelected' | 'Pending' | 'Available'; +export interface CloudServiceRoleInstancesGetOptionalParams extends msRest.RequestOptionsBase { + /** + * The expand expression to apply to the operation. Possible values include: 'instanceView' + */ + expand?: InstanceViewTypes; +} /** - * Defines values for PatchOperationStatus. - * Possible values include: 'InProgress', 'Failed', 'Succeeded', 'CompletedWithWarnings' - * @readonly - * @enum {string} + * Optional Parameters. */ -export type PatchOperationStatus = 'InProgress' | 'Failed' | 'Succeeded' | 'CompletedWithWarnings'; +export interface CloudServiceRoleInstancesListOptionalParams extends msRest.RequestOptionsBase { + /** + * The expand expression to apply to the operation. Possible values include: 'instanceView' + */ + expand?: InstanceViewTypes; +} /** - * Defines values for OperatingSystemTypes. - * Possible values include: 'Windows', 'Linux' - * @readonly - * @enum {string} + * Optional Parameters. */ -export type OperatingSystemTypes = 'Windows' | 'Linux'; +export interface CloudServiceRoleInstancesListNextOptionalParams extends msRest.RequestOptionsBase { + /** + * The expand expression to apply to the operation. Possible values include: 'instanceView' + */ + expand?: InstanceViewTypes; +} /** - * Defines values for VirtualMachineSizeTypes. - * Possible values include: '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' - * @readonly - * @enum {string} + * Optional Parameters. */ -export type VirtualMachineSizeTypes = '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 interface CloudServicesCreateOrUpdateOptionalParams extends msRest.RequestOptionsBase { + /** + * The cloud service object. + */ + parameters?: CloudService; +} /** - * Defines values for CachingTypes. - * Possible values include: 'None', 'ReadOnly', 'ReadWrite' - * @readonly - * @enum {string} + * Optional Parameters. */ -export type CachingTypes = 'None' | 'ReadOnly' | 'ReadWrite'; +export interface CloudServicesUpdateOptionalParams extends msRest.RequestOptionsBase { + /** + * The cloud service object. + */ + parameters?: CloudServiceUpdate; +} /** - * Defines values for DiskCreateOptionTypes. - * Possible values include: 'FromImage', 'Empty', 'Attach' - * @readonly - * @enum {string} + * Optional Parameters. */ -export type DiskCreateOptionTypes = 'FromImage' | 'Empty' | 'Attach'; +export interface CloudServicesRestartOptionalParams extends msRest.RequestOptionsBase { + /** + * List of cloud service role instance names. + */ + parameters?: RoleInstances; +} /** - * Defines values for StorageAccountTypes. - * Possible values include: 'Standard_LRS', 'Premium_LRS', 'StandardSSD_LRS', 'UltraSSD_LRS' - * @readonly - * @enum {string} + * Optional Parameters. */ -export type StorageAccountTypes = 'Standard_LRS' | 'Premium_LRS' | 'StandardSSD_LRS' | 'UltraSSD_LRS'; +export interface CloudServicesReimageOptionalParams extends msRest.RequestOptionsBase { + /** + * List of cloud service role instance names. + */ + parameters?: RoleInstances; +} /** - * Defines values for DiffDiskOptions. - * Possible values include: 'Local' - * @readonly - * @enum {string} + * Optional Parameters. */ -export type DiffDiskOptions = 'Local'; +export interface CloudServicesRebuildOptionalParams extends msRest.RequestOptionsBase { + /** + * List of cloud service role instance names. + */ + parameters?: RoleInstances; +} /** - * Defines values for DiffDiskPlacement. - * Possible values include: 'CacheDisk', 'ResourceDisk' - * @readonly - * @enum {string} + * Optional Parameters. */ -export type DiffDiskPlacement = 'CacheDisk' | 'ResourceDisk'; +export interface CloudServicesDeleteInstancesOptionalParams extends msRest.RequestOptionsBase { + /** + * List of cloud service role instance names. + */ + parameters?: RoleInstances; +} /** - * Defines values for PassNames. - * Possible values include: 'OobeSystem' - * @readonly - * @enum {string} + * Optional Parameters. */ -export type PassNames = 'OobeSystem'; +export interface CloudServicesBeginCreateOrUpdateOptionalParams extends msRest.RequestOptionsBase { + /** + * The cloud service object. + */ + parameters?: CloudService; +} /** - * Defines values for ComponentNames. - * Possible values include: 'Microsoft-Windows-Shell-Setup' - * @readonly - * @enum {string} + * Optional Parameters. */ -export type ComponentNames = 'Microsoft-Windows-Shell-Setup'; +export interface CloudServicesBeginUpdateOptionalParams extends msRest.RequestOptionsBase { + /** + * The cloud service object. + */ + parameters?: CloudServiceUpdate; +} /** - * Defines values for SettingNames. - * Possible values include: 'AutoLogon', 'FirstLogonCommands' - * @readonly - * @enum {string} + * Optional Parameters. */ -export type SettingNames = 'AutoLogon' | 'FirstLogonCommands'; +export interface CloudServicesBeginRestartOptionalParams extends msRest.RequestOptionsBase { + /** + * List of cloud service role instance names. + */ + parameters?: RoleInstances; +} /** - * Defines values for ProtocolTypes. - * Possible values include: 'Http', 'Https' - * @readonly - * @enum {string} + * Optional Parameters. */ -export type ProtocolTypes = 'Http' | 'Https'; +export interface CloudServicesBeginReimageOptionalParams extends msRest.RequestOptionsBase { + /** + * List of cloud service role instance names. + */ + parameters?: RoleInstances; +} /** - * Defines values for InGuestPatchMode. - * Possible values include: 'Manual', 'AutomaticByOS', 'AutomaticByPlatform' - * @readonly - * @enum {string} + * Optional Parameters. */ -export type InGuestPatchMode = 'Manual' | 'AutomaticByOS' | 'AutomaticByPlatform'; +export interface CloudServicesBeginRebuildOptionalParams extends msRest.RequestOptionsBase { + /** + * List of cloud service role instance names. + */ + parameters?: RoleInstances; +} /** - * Defines values for VirtualMachinePriorityTypes. - * Possible values include: 'Regular', 'Low', 'Spot' - * @readonly - * @enum {string} + * Optional Parameters. */ -export type VirtualMachinePriorityTypes = 'Regular' | 'Low' | 'Spot'; +export interface CloudServicesBeginDeleteInstancesOptionalParams extends msRest.RequestOptionsBase { + /** + * List of cloud service role instance names. + */ + parameters?: RoleInstances; +} /** - * Defines values for VirtualMachineEvictionPolicyTypes. - * Possible values include: 'Deallocate', 'Delete' - * @readonly - * @enum {string} + * An interface representing ComputeManagementClientOptions. */ -export type VirtualMachineEvictionPolicyTypes = 'Deallocate' | 'Delete'; +export interface ComputeManagementClientOptions extends AzureServiceClientOptions { + baseUri?: string; +} /** - * Defines values for ResourceIdentityType. - * Possible values include: 'SystemAssigned', 'UserAssigned', 'SystemAssigned, UserAssigned', - * 'None' - * @readonly - * @enum {string} + * @interface + * The List Compute Operation operation response. + * @extends Array */ -export type ResourceIdentityType = 'SystemAssigned' | 'UserAssigned' | 'SystemAssigned, UserAssigned' | 'None'; +export interface ComputeOperationListResult extends Array { +} /** - * Defines values for MaintenanceOperationResultCodeTypes. - * Possible values include: 'None', 'RetryLater', 'MaintenanceAborted', 'MaintenanceCompleted' - * @readonly - * @enum {string} + * @interface + * The List Availability Set operation response. + * @extends Array */ -export type MaintenanceOperationResultCodeTypes = 'None' | 'RetryLater' | 'MaintenanceAborted' | 'MaintenanceCompleted'; +export interface AvailabilitySetListResult extends Array { + /** + * The URI to fetch the next page of AvailabilitySets. Call ListNext() with this URI to fetch the + * next page of AvailabilitySets. + */ + nextLink?: string; +} /** - * Defines values for HyperVGenerationType. - * Possible values include: 'V1', 'V2' - * @readonly - * @enum {string} + * @interface + * The List Virtual Machine operation response. + * @extends Array */ -export type HyperVGenerationType = 'V1' | 'V2'; +export interface VirtualMachineSizeListResult extends Array { +} /** - * Defines values for RebootStatus. - * Possible values include: 'NotNeeded', 'Required', 'Started', 'Failed', 'Completed' - * @readonly - * @enum {string} + * @interface + * The List Proximity Placement Group operation response. + * @extends Array */ -export type RebootStatus = 'NotNeeded' | 'Required' | 'Started' | 'Failed' | 'Completed'; +export interface ProximityPlacementGroupListResult extends Array { + /** + * The URI to fetch the next page of proximity placement groups. + */ + nextLink?: string; +} /** - * Defines values for UpgradeMode. - * Possible values include: 'Automatic', 'Manual', 'Rolling' - * @readonly - * @enum {string} + * @interface + * The List Dedicated Host Group with resource group response. + * @extends Array */ -export type UpgradeMode = 'Automatic' | 'Manual' | 'Rolling'; +export interface DedicatedHostGroupListResult extends Array { + /** + * 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; +} /** - * Defines values for VirtualMachineScaleSetScaleInRules. - * Possible values include: 'Default', 'OldestVM', 'NewestVM' - * @readonly - * @enum {string} + * @interface + * The list dedicated host operation response. + * @extends Array */ -export type VirtualMachineScaleSetScaleInRules = 'Default' | 'OldestVM' | 'NewestVM'; +export interface DedicatedHostListResult extends Array { + /** + * 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; +} /** - * Defines values for OperatingSystemStateTypes. - * Possible values include: 'Generalized', 'Specialized' - * @readonly - * @enum {string} + * @interface + * The list SSH public keys operation response. + * @extends Array */ -export type OperatingSystemStateTypes = 'Generalized' | 'Specialized'; +export interface SshPublicKeysGroupListResult extends Array { + /** + * 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; +} /** - * Defines values for IPVersion. - * Possible values include: 'IPv4', 'IPv6' - * @readonly - * @enum {string} + * @interface + * The List Usages operation response. + * @extends Array */ -export type IPVersion = 'IPv4' | 'IPv6'; +export interface ListUsagesResult extends Array { + /** + * 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; +} /** - * Defines values for OrchestrationServiceNames. - * Possible values include: 'AutomaticRepairs' - * @readonly - * @enum {string} + * @interface + * The List Virtual Machine operation response. + * @extends Array */ -export type OrchestrationServiceNames = 'AutomaticRepairs' ; +export interface VirtualMachineListResult extends Array { + /** + * The URI to fetch the next page of VMs. Call ListNext() with this URI to fetch the next page of + * Virtual Machines. + */ + nextLink?: string; +} /** - * Defines values for OrchestrationServiceState. - * Possible values include: 'NotRunning', 'Running', 'Suspended' - * @readonly - * @enum {string} + * @interface + * The List Image operation response. + * @extends Array */ -export type OrchestrationServiceState = 'NotRunning' | 'Running' | 'Suspended'; +export interface ImageListResult extends Array { + /** + * The uri to fetch the next page of Images. Call ListNext() with this to fetch the next page of + * Images. + */ + nextLink?: string; +} /** - * Defines values for VirtualMachineScaleSetSkuScaleType. - * Possible values include: 'Automatic', 'None' - * @readonly - * @enum {string} + * @interface + * The List Virtual Machine operation response. + * @extends Array */ -export type VirtualMachineScaleSetSkuScaleType = 'Automatic' | 'None'; +export interface VirtualMachineScaleSetListResult extends Array { + /** + * 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; +} /** - * Defines values for UpgradeState. - * Possible values include: 'RollingForward', 'Cancelled', 'Completed', 'Faulted' - * @readonly - * @enum {string} + * @interface + * The List Virtual Machine operation response. + * @extends Array */ -export type UpgradeState = 'RollingForward' | 'Cancelled' | 'Completed' | 'Faulted'; +export interface VirtualMachineScaleSetListWithLinkResult extends Array { + /** + * 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; +} /** - * Defines values for UpgradeOperationInvoker. - * Possible values include: 'Unknown', 'User', 'Platform' - * @readonly - * @enum {string} + * @interface + * The Virtual Machine Scale Set List Skus operation response. + * @extends Array */ -export type UpgradeOperationInvoker = 'Unknown' | 'User' | 'Platform'; +export interface VirtualMachineScaleSetListSkusResult extends Array { + /** + * 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; +} /** - * Defines values for RollingUpgradeStatusCode. - * Possible values include: 'RollingForward', 'Cancelled', 'Completed', 'Faulted' - * @readonly - * @enum {string} + * @interface + * List of Virtual Machine Scale Set OS Upgrade History operation response. + * @extends Array */ -export type RollingUpgradeStatusCode = 'RollingForward' | 'Cancelled' | 'Completed' | 'Faulted'; +export interface VirtualMachineScaleSetListOSUpgradeHistory extends Array { + /** + * 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; +} /** - * Defines values for RollingUpgradeActionType. - * Possible values include: 'Start', 'Cancel' - * @readonly - * @enum {string} + * @interface + * The List VM scale set extension operation response. + * @extends Array */ -export type RollingUpgradeActionType = 'Start' | 'Cancel'; +export interface VirtualMachineScaleSetExtensionListResult extends Array { + /** + * 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; +} /** - * Defines values for IntervalInMins. - * Possible values include: 'ThreeMins', 'FiveMins', 'ThirtyMins', 'SixtyMins' - * @readonly - * @enum {string} + * @interface + * The List Virtual Machine Scale Set VMs operation response. + * @extends Array */ -export type IntervalInMins = 'ThreeMins' | 'FiveMins' | 'ThirtyMins' | 'SixtyMins'; +export interface VirtualMachineScaleSetVMListResult extends Array { + /** + * 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; +} /** - * Defines values for OrchestrationServiceStateAction. - * Possible values include: 'Resume', 'Suspend' - * @readonly - * @enum {string} + * @interface + * The List Virtual Machine operation response. + * @extends Array */ -export type OrchestrationServiceStateAction = 'Resume' | 'Suspend'; +export interface RunCommandListResult extends Array { + /** + * The uri to fetch the next page of run commands. Call ListNext() with this to fetch the next + * page of run commands. + */ + nextLink?: string; +} /** - * Defines values for ResourceSkuCapacityScaleType. - * Possible values include: 'Automatic', 'Manual', 'None' - * @readonly - * @enum {string} + * @interface + * The List run command operation response + * @extends Array */ -export type ResourceSkuCapacityScaleType = 'Automatic' | 'Manual' | 'None'; +export interface VirtualMachineRunCommandsListResult extends Array { + /** + * The uri to fetch the next page of run commands. + */ + nextLink?: string; +} /** - * Defines values for ResourceSkuRestrictionsType. - * Possible values include: 'Location', 'Zone' - * @readonly - * @enum {string} + * @interface + * The List Resource Skus operation response. + * @extends Array */ -export type ResourceSkuRestrictionsType = 'Location' | 'Zone'; +export interface ResourceSkusResult extends Array { + /** + * 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; +} /** - * Defines values for ResourceSkuRestrictionsReasonCode. - * Possible values include: 'QuotaId', 'NotAvailableForSubscription' - * @readonly - * @enum {string} + * @interface + * The List Disks operation response. + * @extends Array */ -export type ResourceSkuRestrictionsReasonCode = 'QuotaId' | 'NotAvailableForSubscription'; +export interface DiskList extends Array { + /** + * The uri to fetch the next page of disks. Call ListNext() with this to fetch the next page of + * disks. + */ + nextLink?: string; +} /** - * Defines values for DiskStorageAccountTypes. - * Possible values include: 'Standard_LRS', 'Premium_LRS', 'StandardSSD_LRS', 'UltraSSD_LRS' - * @readonly - * @enum {string} + * @interface + * The List Snapshots operation response. + * @extends Array */ -export type DiskStorageAccountTypes = 'Standard_LRS' | 'Premium_LRS' | 'StandardSSD_LRS' | 'UltraSSD_LRS'; +export interface SnapshotList extends Array { + /** + * The uri to fetch the next page of snapshots. Call ListNext() with this to fetch the next page + * of snapshots. + */ + nextLink?: string; +} /** - * Defines values for HyperVGeneration. - * Possible values include: 'V1', 'V2' - * @readonly - * @enum {string} + * @interface + * The List disk encryption set operation response. + * @extends Array */ -export type HyperVGeneration = 'V1' | 'V2'; +export interface DiskEncryptionSetList extends Array { + /** + * 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; +} /** - * Defines values for DiskCreateOption. - * Possible values include: 'Empty', 'Attach', 'FromImage', 'Import', 'Copy', 'Restore', 'Upload' - * @readonly - * @enum {string} + * @interface + * The List resources which are encrypted with the disk encryption set. + * @extends Array */ -export type DiskCreateOption = 'Empty' | 'Attach' | 'FromImage' | 'Import' | 'Copy' | 'Restore' | 'Upload'; +export interface ResourceUriList extends Array { + /** + * The uri to fetch the next page of encrypted resources. Call ListNext() with this to fetch the + * next page of encrypted resources. + */ + nextLink?: string; +} /** - * Defines values for DiskState. - * Possible values include: 'Unattached', 'Attached', 'Reserved', 'ActiveSAS', 'ReadyToUpload', - * 'ActiveUpload' - * @readonly - * @enum {string} + * @interface + * The List disk access operation response. + * @extends Array */ -export type DiskState = 'Unattached' | 'Attached' | 'Reserved' | 'ActiveSAS' | 'ReadyToUpload' | 'ActiveUpload'; +export interface DiskAccessList extends Array { + /** + * 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; +} /** - * Defines values for EncryptionType. - * Possible values include: 'EncryptionAtRestWithPlatformKey', 'EncryptionAtRestWithCustomerKey', - * 'EncryptionAtRestWithPlatformAndCustomerKeys' - * @readonly - * @enum {string} + * @interface + * A list of private link resources + * @extends Array */ -export type EncryptionType = 'EncryptionAtRestWithPlatformKey' | 'EncryptionAtRestWithCustomerKey' | 'EncryptionAtRestWithPlatformAndCustomerKeys'; +export interface PrivateEndpointConnectionListResult extends Array { + /** + * The uri to fetch the next page of snapshots. Call ListNext() with this to fetch the next page + * of snapshots. + */ + nextLink?: string; +} /** - * Defines values for NetworkAccessPolicy. - * Possible values include: 'AllowAll', 'AllowPrivate', 'DenyAll' - * @readonly - * @enum {string} + * @interface + * The List Disk Restore Points operation response. + * @extends Array */ -export type NetworkAccessPolicy = 'AllowAll' | 'AllowPrivate' | 'DenyAll'; +export interface DiskRestorePointList extends Array { + /** + * 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; +} /** - * Defines values for SnapshotStorageAccountTypes. - * Possible values include: 'Standard_LRS', 'Premium_LRS', 'Standard_ZRS' - * @readonly - * @enum {string} + * @interface + * The List Galleries operation response. + * @extends Array */ -export type SnapshotStorageAccountTypes = 'Standard_LRS' | 'Premium_LRS' | 'Standard_ZRS'; +export interface GalleryList extends Array { + /** + * The uri to fetch the next page of galleries. Call ListNext() with this to fetch the next page + * of galleries. + */ + nextLink?: string; +} /** - * Defines values for DiskEncryptionSetType. - * Possible values include: 'EncryptionAtRestWithCustomerKey', - * 'EncryptionAtRestWithPlatformAndCustomerKeys' - * @readonly - * @enum {string} + * @interface + * The List Gallery Images operation response. + * @extends Array */ -export type DiskEncryptionSetType = 'EncryptionAtRestWithCustomerKey' | 'EncryptionAtRestWithPlatformAndCustomerKeys'; +export interface GalleryImageList extends Array { + /** + * 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; +} /** - * Defines values for AccessLevel. - * Possible values include: 'None', 'Read', 'Write' - * @readonly - * @enum {string} + * @interface + * The List Gallery Image version operation response. + * @extends Array */ -export type AccessLevel = 'None' | 'Read' | 'Write'; +export interface GalleryImageVersionList extends Array { + /** + * 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; +} /** - * Defines values for DiskEncryptionSetIdentityType. - * Possible values include: 'SystemAssigned' - * @readonly - * @enum {string} + * @interface + * The List Gallery Applications operation response. + * @extends Array */ -export type DiskEncryptionSetIdentityType = 'SystemAssigned'; +export interface GalleryApplicationList extends Array { + /** + * 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; +} /** - * Defines values for PrivateEndpointServiceConnectionStatus. - * Possible values include: 'Pending', 'Approved', 'Rejected' + * @interface + * The List Gallery Application version operation response. + * @extends Array + */ +export interface GalleryApplicationVersionList extends Array { + /** + * 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; +} + +/** + * @interface + * The response from the List Container Services operation. + * @extends Array + */ +export interface ContainerServiceListResult extends Array { + /** + * The URL to get the next set of container service results. + */ + nextLink?: string; +} + +/** + * @interface + * An interface representing the RoleInstanceListResult. + * @extends Array + */ +export interface RoleInstanceListResult extends Array { + nextLink?: string; +} + +/** + * @interface + * An interface representing the CloudServiceRoleListResult. + * @extends Array + */ +export interface CloudServiceRoleListResult extends Array { + nextLink?: string; +} + +/** + * @interface + * An interface representing the CloudServiceListResult. + * @extends Array + */ +export interface CloudServiceListResult extends Array { + nextLink?: string; +} + +/** + * @interface + * An interface representing the UpdateDomainListResult. + * @extends Array + */ +export interface UpdateDomainListResult extends Array { + nextLink?: string; +} + +/** + * Defines values for VmDiskTypes. + * Possible values include: 'None', 'Unmanaged' * @readonly * @enum {string} */ -export type PrivateEndpointServiceConnectionStatus = 'Pending' | 'Approved' | 'Rejected'; +export type VmDiskTypes = 'None' | 'Unmanaged'; /** - * Defines values for PrivateEndpointConnectionProvisioningState. - * Possible values include: 'Succeeded', 'Creating', 'Deleting', 'Failed' + * Defines values for HyperVGenerationTypes. + * Possible values include: 'V1', 'V2' * @readonly * @enum {string} */ -export type PrivateEndpointConnectionProvisioningState = 'Succeeded' | 'Creating' | 'Deleting' | 'Failed'; +export type HyperVGenerationTypes = 'V1' | 'V2'; /** - * Defines values for AggregatedReplicationState. - * Possible values include: 'Unknown', 'InProgress', 'Completed', 'Failed' + * Defines values for StatusLevelTypes. + * Possible values include: 'Info', 'Warning', 'Error' * @readonly * @enum {string} */ -export type AggregatedReplicationState = 'Unknown' | 'InProgress' | 'Completed' | 'Failed'; +export type StatusLevelTypes = 'Info' | 'Warning' | 'Error'; /** - * Defines values for ReplicationState. - * Possible values include: 'Unknown', 'Replicating', 'Completed', 'Failed' + * Defines values for AvailabilitySetSkuTypes. + * Possible values include: 'Classic', 'Aligned' * @readonly * @enum {string} */ -export type ReplicationState = 'Unknown' | 'Replicating' | 'Completed' | 'Failed'; +export type AvailabilitySetSkuTypes = 'Classic' | 'Aligned'; /** - * Defines values for StorageAccountType. - * Possible values include: 'Standard_LRS', 'Standard_ZRS', 'Premium_LRS' + * Defines values for ProximityPlacementGroupType. + * Possible values include: 'Standard', 'Ultra' * @readonly * @enum {string} */ -export type StorageAccountType = 'Standard_LRS' | 'Standard_ZRS' | 'Premium_LRS'; +export type ProximityPlacementGroupType = 'Standard' | 'Ultra'; /** - * Defines values for HostCaching. + * Defines values for DedicatedHostLicenseTypes. + * Possible values include: 'None', 'Windows_Server_Hybrid', 'Windows_Server_Perpetual' + * @readonly + * @enum {string} + */ +export type DedicatedHostLicenseTypes = 'None' | 'Windows_Server_Hybrid' | 'Windows_Server_Perpetual'; + +/** + * Defines values for SoftwareUpdateRebootBehavior. + * Possible values include: 'NeverReboots', 'AlwaysRequiresReboot', 'CanRequestReboot' + * @readonly + * @enum {string} + */ +export type SoftwareUpdateRebootBehavior = 'NeverReboots' | 'AlwaysRequiresReboot' | 'CanRequestReboot'; + +/** + * Defines values for PatchAssessmentState. + * Possible values include: 'Installed', 'Failed', 'Excluded', 'NotSelected', 'Pending', + * 'Available' + * @readonly + * @enum {string} + */ +export type PatchAssessmentState = 'Installed' | 'Failed' | 'Excluded' | 'NotSelected' | 'Pending' | 'Available'; + +/** + * Defines values for PatchOperationStatus. + * Possible values include: 'InProgress', 'Failed', 'Succeeded', 'CompletedWithWarnings' + * @readonly + * @enum {string} + */ +export type PatchOperationStatus = 'InProgress' | 'Failed' | 'Succeeded' | 'CompletedWithWarnings'; + +/** + * Defines values for OperatingSystemTypes. + * Possible values include: 'Windows', 'Linux' + * @readonly + * @enum {string} + */ +export type OperatingSystemTypes = 'Windows' | 'Linux'; + +/** + * Defines values for VirtualMachineSizeTypes. + * Possible values include: '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' + * @readonly + * @enum {string} + */ +export type VirtualMachineSizeTypes = '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'; + +/** + * Defines values for CachingTypes. * Possible values include: 'None', 'ReadOnly', 'ReadWrite' * @readonly * @enum {string} */ -export type HostCaching = 'None' | 'ReadOnly' | 'ReadWrite'; +export type CachingTypes = 'None' | 'ReadOnly' | 'ReadWrite'; /** - * Defines values for ContainerServiceOrchestratorTypes. - * Possible values include: 'Swarm', 'DCOS', 'Custom', 'Kubernetes' + * Defines values for DiskCreateOptionTypes. + * Possible values include: 'FromImage', 'Empty', 'Attach' * @readonly * @enum {string} */ -export type ContainerServiceOrchestratorTypes = 'Swarm' | 'DCOS' | 'Custom' | 'Kubernetes'; +export type DiskCreateOptionTypes = 'FromImage' | 'Empty' | 'Attach'; /** - * Defines values for ContainerServiceVMSizeTypes. - * Possible values include: '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_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_D11_v2', - * 'Standard_D12_v2', 'Standard_D13_v2', 'Standard_D14_v2', 'Standard_G1', 'Standard_G2', - * 'Standard_G3', 'Standard_G4', 'Standard_G5', 'Standard_DS1', 'Standard_DS2', 'Standard_DS3', - * 'Standard_DS4', 'Standard_DS11', 'Standard_DS12', 'Standard_DS13', 'Standard_DS14', - * 'Standard_GS1', 'Standard_GS2', 'Standard_GS3', 'Standard_GS4', 'Standard_GS5' + * Defines values for StorageAccountTypes. + * Possible values include: 'Standard_LRS', 'Premium_LRS', 'StandardSSD_LRS', 'UltraSSD_LRS' * @readonly * @enum {string} */ -export type ContainerServiceVMSizeTypes = '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_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_D11_v2' | 'Standard_D12_v2' | 'Standard_D13_v2' | 'Standard_D14_v2' | 'Standard_G1' | 'Standard_G2' | 'Standard_G3' | 'Standard_G4' | 'Standard_G5' | 'Standard_DS1' | 'Standard_DS2' | 'Standard_DS3' | 'Standard_DS4' | 'Standard_DS11' | 'Standard_DS12' | 'Standard_DS13' | 'Standard_DS14' | 'Standard_GS1' | 'Standard_GS2' | 'Standard_GS3' | 'Standard_GS4' | 'Standard_GS5'; +export type StorageAccountTypes = 'Standard_LRS' | 'Premium_LRS' | 'StandardSSD_LRS' | 'UltraSSD_LRS'; + +/** + * Defines values for DiffDiskOptions. + * Possible values include: 'Local' + * @readonly + * @enum {string} + */ +export type DiffDiskOptions = 'Local'; + +/** + * Defines values for DiffDiskPlacement. + * Possible values include: 'CacheDisk', 'ResourceDisk' + * @readonly + * @enum {string} + */ +export type DiffDiskPlacement = 'CacheDisk' | 'ResourceDisk'; + +/** + * Defines values for PassNames. + * Possible values include: 'OobeSystem' + * @readonly + * @enum {string} + */ +export type PassNames = 'OobeSystem'; + +/** + * Defines values for ComponentNames. + * Possible values include: 'Microsoft-Windows-Shell-Setup' + * @readonly + * @enum {string} + */ +export type ComponentNames = 'Microsoft-Windows-Shell-Setup'; + +/** + * Defines values for SettingNames. + * Possible values include: 'AutoLogon', 'FirstLogonCommands' + * @readonly + * @enum {string} + */ +export type SettingNames = 'AutoLogon' | 'FirstLogonCommands'; + +/** + * Defines values for ProtocolTypes. + * Possible values include: 'Http', 'Https' + * @readonly + * @enum {string} + */ +export type ProtocolTypes = 'Http' | 'Https'; + +/** + * Defines values for InGuestPatchMode. + * Possible values include: 'Manual', 'AutomaticByOS', 'AutomaticByPlatform' + * @readonly + * @enum {string} + */ +export type InGuestPatchMode = 'Manual' | 'AutomaticByOS' | 'AutomaticByPlatform'; + +/** + * Defines values for VirtualMachinePriorityTypes. + * Possible values include: 'Regular', 'Low', 'Spot' + * @readonly + * @enum {string} + */ +export type VirtualMachinePriorityTypes = 'Regular' | 'Low' | 'Spot'; + +/** + * Defines values for VirtualMachineEvictionPolicyTypes. + * Possible values include: 'Deallocate', 'Delete' + * @readonly + * @enum {string} + */ +export type VirtualMachineEvictionPolicyTypes = 'Deallocate' | 'Delete'; + +/** + * Defines values for ResourceIdentityType. + * Possible values include: 'SystemAssigned', 'UserAssigned', 'SystemAssigned, UserAssigned', + * 'None' + * @readonly + * @enum {string} + */ +export type ResourceIdentityType = 'SystemAssigned' | 'UserAssigned' | 'SystemAssigned, UserAssigned' | 'None'; + +/** + * Defines values for MaintenanceOperationResultCodeTypes. + * Possible values include: 'None', 'RetryLater', 'MaintenanceAborted', 'MaintenanceCompleted' + * @readonly + * @enum {string} + */ +export type MaintenanceOperationResultCodeTypes = 'None' | 'RetryLater' | 'MaintenanceAborted' | 'MaintenanceCompleted'; + +/** + * Defines values for HyperVGenerationType. + * Possible values include: 'V1', 'V2' + * @readonly + * @enum {string} + */ +export type HyperVGenerationType = 'V1' | 'V2'; + +/** + * Defines values for RebootStatus. + * Possible values include: 'NotNeeded', 'Required', 'Started', 'Failed', 'Completed' + * @readonly + * @enum {string} + */ +export type RebootStatus = 'NotNeeded' | 'Required' | 'Started' | 'Failed' | 'Completed'; + +/** + * Defines values for UpgradeMode. + * Possible values include: 'Automatic', 'Manual', 'Rolling' + * @readonly + * @enum {string} + */ +export type UpgradeMode = 'Automatic' | 'Manual' | 'Rolling'; + +/** + * Defines values for VirtualMachineScaleSetScaleInRules. + * Possible values include: 'Default', 'OldestVM', 'NewestVM' + * @readonly + * @enum {string} + */ +export type VirtualMachineScaleSetScaleInRules = 'Default' | 'OldestVM' | 'NewestVM'; + +/** + * Defines values for OperatingSystemStateTypes. + * Possible values include: 'Generalized', 'Specialized' + * @readonly + * @enum {string} + */ +export type OperatingSystemStateTypes = 'Generalized' | 'Specialized'; + +/** + * Defines values for IPVersion. + * Possible values include: 'IPv4', 'IPv6' + * @readonly + * @enum {string} + */ +export type IPVersion = 'IPv4' | 'IPv6'; + +/** + * Defines values for OrchestrationServiceNames. + * Possible values include: 'AutomaticRepairs' + * @readonly + * @enum {string} + */ +export type OrchestrationServiceNames = 'AutomaticRepairs' ; + +/** + * Defines values for OrchestrationServiceState. + * Possible values include: 'NotRunning', 'Running', 'Suspended' + * @readonly + * @enum {string} + */ +export type OrchestrationServiceState = 'NotRunning' | 'Running' | 'Suspended'; + +/** + * Defines values for VirtualMachineScaleSetSkuScaleType. + * Possible values include: 'Automatic', 'None' + * @readonly + * @enum {string} + */ +export type VirtualMachineScaleSetSkuScaleType = 'Automatic' | 'None'; + +/** + * Defines values for UpgradeState. + * Possible values include: 'RollingForward', 'Cancelled', 'Completed', 'Faulted' + * @readonly + * @enum {string} + */ +export type UpgradeState = 'RollingForward' | 'Cancelled' | 'Completed' | 'Faulted'; + +/** + * Defines values for UpgradeOperationInvoker. + * Possible values include: 'Unknown', 'User', 'Platform' + * @readonly + * @enum {string} + */ +export type UpgradeOperationInvoker = 'Unknown' | 'User' | 'Platform'; + +/** + * Defines values for RollingUpgradeStatusCode. + * Possible values include: 'RollingForward', 'Cancelled', 'Completed', 'Faulted' + * @readonly + * @enum {string} + */ +export type RollingUpgradeStatusCode = 'RollingForward' | 'Cancelled' | 'Completed' | 'Faulted'; + +/** + * Defines values for RollingUpgradeActionType. + * Possible values include: 'Start', 'Cancel' + * @readonly + * @enum {string} + */ +export type RollingUpgradeActionType = 'Start' | 'Cancel'; + +/** + * Defines values for IntervalInMins. + * Possible values include: 'ThreeMins', 'FiveMins', 'ThirtyMins', 'SixtyMins' + * @readonly + * @enum {string} + */ +export type IntervalInMins = 'ThreeMins' | 'FiveMins' | 'ThirtyMins' | 'SixtyMins'; + +/** + * Defines values for OrchestrationServiceStateAction. + * Possible values include: 'Resume', 'Suspend' + * @readonly + * @enum {string} + */ +export type OrchestrationServiceStateAction = 'Resume' | 'Suspend'; + +/** + * Defines values for ExecutionState. + * Possible values include: 'Unknown', 'Pending', 'Running', 'Failed', 'Succeeded', 'TimedOut', + * 'Canceled' + * @readonly + * @enum {string} + */ +export type ExecutionState = 'Unknown' | 'Pending' | 'Running' | 'Failed' | 'Succeeded' | 'TimedOut' | 'Canceled'; + +/** + * Defines values for ResourceSkuCapacityScaleType. + * Possible values include: 'Automatic', 'Manual', 'None' + * @readonly + * @enum {string} + */ +export type ResourceSkuCapacityScaleType = 'Automatic' | 'Manual' | 'None'; + +/** + * Defines values for ResourceSkuRestrictionsType. + * Possible values include: 'Location', 'Zone' + * @readonly + * @enum {string} + */ +export type ResourceSkuRestrictionsType = 'Location' | 'Zone'; + +/** + * Defines values for ResourceSkuRestrictionsReasonCode. + * Possible values include: 'QuotaId', 'NotAvailableForSubscription' + * @readonly + * @enum {string} + */ +export type ResourceSkuRestrictionsReasonCode = 'QuotaId' | 'NotAvailableForSubscription'; + +/** + * Defines values for DiskStorageAccountTypes. + * Possible values include: 'Standard_LRS', 'Premium_LRS', 'StandardSSD_LRS', 'UltraSSD_LRS' + * @readonly + * @enum {string} + */ +export type DiskStorageAccountTypes = 'Standard_LRS' | 'Premium_LRS' | 'StandardSSD_LRS' | 'UltraSSD_LRS'; + +/** + * Defines values for ExtendedLocationTypes. + * Possible values include: 'EdgeZone' + * @readonly + * @enum {string} + */ +export type ExtendedLocationTypes = 'EdgeZone'; + +/** + * Defines values for HyperVGeneration. + * Possible values include: 'V1', 'V2' + * @readonly + * @enum {string} + */ +export type HyperVGeneration = 'V1' | 'V2'; + +/** + * Defines values for DiskCreateOption. + * Possible values include: 'Empty', 'Attach', 'FromImage', 'Import', 'Copy', 'Restore', 'Upload' + * @readonly + * @enum {string} + */ +export type DiskCreateOption = 'Empty' | 'Attach' | 'FromImage' | 'Import' | 'Copy' | 'Restore' | 'Upload'; + +/** + * Defines values for DiskState. + * Possible values include: 'Unattached', 'Attached', 'Reserved', 'ActiveSAS', 'ReadyToUpload', + * 'ActiveUpload' + * @readonly + * @enum {string} + */ +export type DiskState = 'Unattached' | 'Attached' | 'Reserved' | 'ActiveSAS' | 'ReadyToUpload' | 'ActiveUpload'; + +/** + * Defines values for EncryptionType. + * Possible values include: 'EncryptionAtRestWithPlatformKey', 'EncryptionAtRestWithCustomerKey', + * 'EncryptionAtRestWithPlatformAndCustomerKeys' + * @readonly + * @enum {string} + */ +export type EncryptionType = 'EncryptionAtRestWithPlatformKey' | 'EncryptionAtRestWithCustomerKey' | 'EncryptionAtRestWithPlatformAndCustomerKeys'; + +/** + * Defines values for NetworkAccessPolicy. + * Possible values include: 'AllowAll', 'AllowPrivate', 'DenyAll' + * @readonly + * @enum {string} + */ +export type NetworkAccessPolicy = 'AllowAll' | 'AllowPrivate' | 'DenyAll'; + +/** + * Defines values for SnapshotStorageAccountTypes. + * Possible values include: 'Standard_LRS', 'Premium_LRS', 'Standard_ZRS' + * @readonly + * @enum {string} + */ +export type SnapshotStorageAccountTypes = 'Standard_LRS' | 'Premium_LRS' | 'Standard_ZRS'; + +/** + * Defines values for DiskEncryptionSetType. + * Possible values include: 'EncryptionAtRestWithCustomerKey', + * 'EncryptionAtRestWithPlatformAndCustomerKeys' + * @readonly + * @enum {string} + */ +export type DiskEncryptionSetType = 'EncryptionAtRestWithCustomerKey' | 'EncryptionAtRestWithPlatformAndCustomerKeys'; + +/** + * Defines values for AccessLevel. + * Possible values include: 'None', 'Read', 'Write' + * @readonly + * @enum {string} + */ +export type AccessLevel = 'None' | 'Read' | 'Write'; + +/** + * Defines values for DiskEncryptionSetIdentityType. + * Possible values include: 'SystemAssigned', 'None' + * @readonly + * @enum {string} + */ +export type DiskEncryptionSetIdentityType = 'SystemAssigned' | 'None'; + +/** + * Defines values for PrivateEndpointServiceConnectionStatus. + * Possible values include: 'Pending', 'Approved', 'Rejected' + * @readonly + * @enum {string} + */ +export type PrivateEndpointServiceConnectionStatus = 'Pending' | 'Approved' | 'Rejected'; + +/** + * Defines values for PrivateEndpointConnectionProvisioningState. + * Possible values include: 'Succeeded', 'Creating', 'Deleting', 'Failed' + * @readonly + * @enum {string} + */ +export type PrivateEndpointConnectionProvisioningState = 'Succeeded' | 'Creating' | 'Deleting' | 'Failed'; + +/** + * Defines values for AggregatedReplicationState. + * Possible values include: 'Unknown', 'InProgress', 'Completed', 'Failed' + * @readonly + * @enum {string} + */ +export type AggregatedReplicationState = 'Unknown' | 'InProgress' | 'Completed' | 'Failed'; + +/** + * Defines values for ReplicationState. + * Possible values include: 'Unknown', 'Replicating', 'Completed', 'Failed' + * @readonly + * @enum {string} + */ +export type ReplicationState = 'Unknown' | 'Replicating' | 'Completed' | 'Failed'; + +/** + * Defines values for StorageAccountType. + * Possible values include: 'Standard_LRS', 'Standard_ZRS', 'Premium_LRS' + * @readonly + * @enum {string} + */ +export type StorageAccountType = 'Standard_LRS' | 'Standard_ZRS' | 'Premium_LRS'; + +/** + * Defines values for HostCaching. + * Possible values include: 'None', 'ReadOnly', 'ReadWrite' + * @readonly + * @enum {string} + */ +export type HostCaching = 'None' | 'ReadOnly' | 'ReadWrite'; + +/** + * Defines values for ContainerServiceOrchestratorTypes. + * Possible values include: 'Swarm', 'DCOS', 'Custom', 'Kubernetes' + * @readonly + * @enum {string} + */ +export type ContainerServiceOrchestratorTypes = 'Swarm' | 'DCOS' | 'Custom' | 'Kubernetes'; + +/** + * Defines values for ContainerServiceVMSizeTypes. + * Possible values include: '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_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_D11_v2', + * 'Standard_D12_v2', 'Standard_D13_v2', 'Standard_D14_v2', 'Standard_G1', 'Standard_G2', + * 'Standard_G3', 'Standard_G4', 'Standard_G5', 'Standard_DS1', 'Standard_DS2', 'Standard_DS3', + * 'Standard_DS4', 'Standard_DS11', 'Standard_DS12', 'Standard_DS13', 'Standard_DS14', + * 'Standard_GS1', 'Standard_GS2', 'Standard_GS3', 'Standard_GS4', 'Standard_GS5' + * @readonly + * @enum {string} + */ +export type ContainerServiceVMSizeTypes = '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_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_D11_v2' | 'Standard_D12_v2' | 'Standard_D13_v2' | 'Standard_D14_v2' | 'Standard_G1' | 'Standard_G2' | 'Standard_G3' | 'Standard_G4' | 'Standard_G5' | 'Standard_DS1' | 'Standard_DS2' | 'Standard_DS3' | 'Standard_DS4' | 'Standard_DS11' | 'Standard_DS12' | 'Standard_DS13' | 'Standard_DS14' | 'Standard_GS1' | 'Standard_GS2' | 'Standard_GS3' | 'Standard_GS4' | 'Standard_GS5'; + +/** + * Defines values for CloudServiceUpgradeMode. + * Possible values include: 'Auto', 'Manual', 'Simultaneous' + * @readonly + * @enum {string} + */ +export type CloudServiceUpgradeMode = 'Auto' | 'Manual' | 'Simultaneous'; + +/** + * Defines values for InstanceViewTypes. + * Possible values include: 'instanceView' + * @readonly + * @enum {string} + */ +export type InstanceViewTypes = 'instanceView'; + +/** + * Defines values for ReplicationStatusTypes. + * Possible values include: 'ReplicationStatus' + * @readonly + * @enum {string} + */ +export type ReplicationStatusTypes = 'ReplicationStatus'; + +/** + * Defines values for ProvisioningState. + * Possible values include: 'Creating', 'Updating', 'Failed', 'Succeeded', 'Deleting', 'Migrating' + * @readonly + * @enum {string} + */ +export type ProvisioningState = 'Creating' | 'Updating' | 'Failed' | 'Succeeded' | 'Deleting' | 'Migrating'; + +/** + * Defines values for ProvisioningState1. + * Possible values include: 'Creating', 'Updating', 'Failed', 'Succeeded', 'Deleting', 'Migrating' + * @readonly + * @enum {string} + */ +export type ProvisioningState1 = 'Creating' | 'Updating' | 'Failed' | 'Succeeded' | 'Deleting' | 'Migrating'; + +/** + * Defines values for ProvisioningState2. + * Possible values include: 'Creating', 'Updating', 'Failed', 'Succeeded', 'Deleting', 'Migrating' + * @readonly + * @enum {string} + */ +export type ProvisioningState2 = 'Creating' | 'Updating' | 'Failed' | 'Succeeded' | 'Deleting' | 'Migrating'; + +/** + * Defines values for ProvisioningState3. + * Possible values include: 'Creating', 'Updating', 'Failed', 'Succeeded', 'Deleting', 'Migrating' + * @readonly + * @enum {string} + */ +export type ProvisioningState3 = 'Creating' | 'Updating' | 'Failed' | 'Succeeded' | 'Deleting' | 'Migrating'; + +/** + * Contains response data for the list operation. + */ +export type OperationsListResponse = ComputeOperationListResult & { + /** + * The underlying HTTP response. + */ + _response: msRest.HttpResponse & { + /** + * The response body as text (string format) + */ + bodyAsText: string; + + /** + * The response body as parsed JSON or XML + */ + parsedBody: ComputeOperationListResult; + }; +}; + +/** + * Contains response data for the createOrUpdate operation. + */ +export type AvailabilitySetsCreateOrUpdateResponse = AvailabilitySet & { + /** + * The underlying HTTP response. + */ + _response: msRest.HttpResponse & { + /** + * The response body as text (string format) + */ + bodyAsText: string; + + /** + * The response body as parsed JSON or XML + */ + parsedBody: AvailabilitySet; + }; +}; + +/** + * Contains response data for the update operation. + */ +export type AvailabilitySetsUpdateResponse = AvailabilitySet & { + /** + * The underlying HTTP response. + */ + _response: msRest.HttpResponse & { + /** + * The response body as text (string format) + */ + bodyAsText: string; + + /** + * The response body as parsed JSON or XML + */ + parsedBody: AvailabilitySet; + }; +}; + +/** + * Contains response data for the get operation. + */ +export type AvailabilitySetsGetResponse = AvailabilitySet & { + /** + * The underlying HTTP response. + */ + _response: msRest.HttpResponse & { + /** + * The response body as text (string format) + */ + bodyAsText: string; + + /** + * The response body as parsed JSON or XML + */ + parsedBody: AvailabilitySet; + }; +}; + +/** + * Contains response data for the listBySubscription operation. + */ +export type AvailabilitySetsListBySubscriptionResponse = AvailabilitySetListResult & { + /** + * The underlying HTTP response. + */ + _response: msRest.HttpResponse & { + /** + * The response body as text (string format) + */ + bodyAsText: string; + + /** + * The response body as parsed JSON or XML + */ + parsedBody: AvailabilitySetListResult; + }; +}; + +/** + * Contains response data for the list operation. + */ +export type AvailabilitySetsListResponse = AvailabilitySetListResult & { + /** + * The underlying HTTP response. + */ + _response: msRest.HttpResponse & { + /** + * The response body as text (string format) + */ + bodyAsText: string; + + /** + * The response body as parsed JSON or XML + */ + parsedBody: AvailabilitySetListResult; + }; +}; + +/** + * Contains response data for the listAvailableSizes operation. + */ +export type AvailabilitySetsListAvailableSizesResponse = VirtualMachineSizeListResult & { + /** + * The underlying HTTP response. + */ + _response: msRest.HttpResponse & { + /** + * The response body as text (string format) + */ + bodyAsText: string; + + /** + * The response body as parsed JSON or XML + */ + parsedBody: VirtualMachineSizeListResult; + }; +}; + +/** + * Contains response data for the listBySubscriptionNext operation. + */ +export type AvailabilitySetsListBySubscriptionNextResponse = AvailabilitySetListResult & { + /** + * The underlying HTTP response. + */ + _response: msRest.HttpResponse & { + /** + * The response body as text (string format) + */ + bodyAsText: string; + + /** + * The response body as parsed JSON or XML + */ + parsedBody: AvailabilitySetListResult; + }; +}; + +/** + * Contains response data for the listNext operation. + */ +export type AvailabilitySetsListNextResponse = AvailabilitySetListResult & { + /** + * The underlying HTTP response. + */ + _response: msRest.HttpResponse & { + /** + * The response body as text (string format) + */ + bodyAsText: string; + + /** + * The response body as parsed JSON or XML + */ + parsedBody: AvailabilitySetListResult; + }; +}; + +/** + * Contains response data for the createOrUpdate operation. + */ +export type ProximityPlacementGroupsCreateOrUpdateResponse = ProximityPlacementGroup & { + /** + * The underlying HTTP response. + */ + _response: msRest.HttpResponse & { + /** + * The response body as text (string format) + */ + bodyAsText: string; + + /** + * The response body as parsed JSON or XML + */ + parsedBody: ProximityPlacementGroup; + }; +}; + +/** + * Contains response data for the update operation. + */ +export type ProximityPlacementGroupsUpdateResponse = ProximityPlacementGroup & { + /** + * The underlying HTTP response. + */ + _response: msRest.HttpResponse & { + /** + * The response body as text (string format) + */ + bodyAsText: string; + + /** + * The response body as parsed JSON or XML + */ + parsedBody: ProximityPlacementGroup; + }; +}; + +/** + * Contains response data for the get operation. + */ +export type ProximityPlacementGroupsGetResponse = ProximityPlacementGroup & { + /** + * The underlying HTTP response. + */ + _response: msRest.HttpResponse & { + /** + * The response body as text (string format) + */ + bodyAsText: string; + + /** + * The response body as parsed JSON or XML + */ + parsedBody: ProximityPlacementGroup; + }; +}; + +/** + * Contains response data for the listBySubscription operation. + */ +export type ProximityPlacementGroupsListBySubscriptionResponse = ProximityPlacementGroupListResult & { + /** + * The underlying HTTP response. + */ + _response: msRest.HttpResponse & { + /** + * The response body as text (string format) + */ + bodyAsText: string; + + /** + * The response body as parsed JSON or XML + */ + parsedBody: ProximityPlacementGroupListResult; + }; +}; + +/** + * Contains response data for the listByResourceGroup operation. + */ +export type ProximityPlacementGroupsListByResourceGroupResponse = ProximityPlacementGroupListResult & { + /** + * The underlying HTTP response. + */ + _response: msRest.HttpResponse & { + /** + * The response body as text (string format) + */ + bodyAsText: string; + + /** + * The response body as parsed JSON or XML + */ + parsedBody: ProximityPlacementGroupListResult; + }; +}; + +/** + * Contains response data for the listBySubscriptionNext operation. + */ +export type ProximityPlacementGroupsListBySubscriptionNextResponse = ProximityPlacementGroupListResult & { + /** + * The underlying HTTP response. + */ + _response: msRest.HttpResponse & { + /** + * The response body as text (string format) + */ + bodyAsText: string; + + /** + * The response body as parsed JSON or XML + */ + parsedBody: ProximityPlacementGroupListResult; + }; +}; + +/** + * Contains response data for the listByResourceGroupNext operation. + */ +export type ProximityPlacementGroupsListByResourceGroupNextResponse = ProximityPlacementGroupListResult & { + /** + * The underlying HTTP response. + */ + _response: msRest.HttpResponse & { + /** + * The response body as text (string format) + */ + bodyAsText: string; + + /** + * The response body as parsed JSON or XML + */ + parsedBody: ProximityPlacementGroupListResult; + }; +}; + +/** + * Contains response data for the createOrUpdate operation. + */ +export type DedicatedHostGroupsCreateOrUpdateResponse = DedicatedHostGroup & { + /** + * The underlying HTTP response. + */ + _response: msRest.HttpResponse & { + /** + * The response body as text (string format) + */ + bodyAsText: string; + + /** + * The response body as parsed JSON or XML + */ + parsedBody: DedicatedHostGroup; + }; +}; + +/** + * Contains response data for the update operation. + */ +export type DedicatedHostGroupsUpdateResponse = DedicatedHostGroup & { + /** + * The underlying HTTP response. + */ + _response: msRest.HttpResponse & { + /** + * The response body as text (string format) + */ + bodyAsText: string; + + /** + * The response body as parsed JSON or XML + */ + parsedBody: DedicatedHostGroup; + }; +}; + +/** + * Contains response data for the get operation. + */ +export type DedicatedHostGroupsGetResponse = DedicatedHostGroup & { + /** + * The underlying HTTP response. + */ + _response: msRest.HttpResponse & { + /** + * The response body as text (string format) + */ + bodyAsText: string; + + /** + * The response body as parsed JSON or XML + */ + parsedBody: DedicatedHostGroup; + }; +}; + +/** + * Contains response data for the listByResourceGroup operation. + */ +export type DedicatedHostGroupsListByResourceGroupResponse = DedicatedHostGroupListResult & { + /** + * The underlying HTTP response. + */ + _response: msRest.HttpResponse & { + /** + * The response body as text (string format) + */ + bodyAsText: string; + + /** + * The response body as parsed JSON or XML + */ + parsedBody: DedicatedHostGroupListResult; + }; +}; + +/** + * Contains response data for the listBySubscription operation. + */ +export type DedicatedHostGroupsListBySubscriptionResponse = DedicatedHostGroupListResult & { + /** + * The underlying HTTP response. + */ + _response: msRest.HttpResponse & { + /** + * The response body as text (string format) + */ + bodyAsText: string; + + /** + * The response body as parsed JSON or XML + */ + parsedBody: DedicatedHostGroupListResult; + }; +}; + +/** + * Contains response data for the listByResourceGroupNext operation. + */ +export type DedicatedHostGroupsListByResourceGroupNextResponse = DedicatedHostGroupListResult & { + /** + * The underlying HTTP response. + */ + _response: msRest.HttpResponse & { + /** + * The response body as text (string format) + */ + bodyAsText: string; + + /** + * The response body as parsed JSON or XML + */ + parsedBody: DedicatedHostGroupListResult; + }; +}; + +/** + * Contains response data for the listBySubscriptionNext operation. + */ +export type DedicatedHostGroupsListBySubscriptionNextResponse = DedicatedHostGroupListResult & { + /** + * The underlying HTTP response. + */ + _response: msRest.HttpResponse & { + /** + * The response body as text (string format) + */ + bodyAsText: string; + + /** + * The response body as parsed JSON or XML + */ + parsedBody: DedicatedHostGroupListResult; + }; +}; + +/** + * Contains response data for the createOrUpdate operation. + */ +export type DedicatedHostsCreateOrUpdateResponse = DedicatedHost & { + /** + * The underlying HTTP response. + */ + _response: msRest.HttpResponse & { + /** + * The response body as text (string format) + */ + bodyAsText: string; + + /** + * The response body as parsed JSON or XML + */ + parsedBody: DedicatedHost; + }; +}; + +/** + * Contains response data for the update operation. + */ +export type DedicatedHostsUpdateResponse = DedicatedHost & { + /** + * The underlying HTTP response. + */ + _response: msRest.HttpResponse & { + /** + * The response body as text (string format) + */ + bodyAsText: string; + + /** + * The response body as parsed JSON or XML + */ + parsedBody: DedicatedHost; + }; +}; + +/** + * Contains response data for the get operation. + */ +export type DedicatedHostsGetResponse = DedicatedHost & { + /** + * The underlying HTTP response. + */ + _response: msRest.HttpResponse & { + /** + * The response body as text (string format) + */ + bodyAsText: string; + + /** + * The response body as parsed JSON or XML + */ + parsedBody: DedicatedHost; + }; +}; + +/** + * Contains response data for the listByHostGroup operation. + */ +export type DedicatedHostsListByHostGroupResponse = DedicatedHostListResult & { + /** + * The underlying HTTP response. + */ + _response: msRest.HttpResponse & { + /** + * The response body as text (string format) + */ + bodyAsText: string; + + /** + * The response body as parsed JSON or XML + */ + parsedBody: DedicatedHostListResult; + }; +}; + +/** + * Contains response data for the beginCreateOrUpdate operation. + */ +export type DedicatedHostsBeginCreateOrUpdateResponse = DedicatedHost & { + /** + * The underlying HTTP response. + */ + _response: msRest.HttpResponse & { + /** + * The response body as text (string format) + */ + bodyAsText: string; + + /** + * The response body as parsed JSON or XML + */ + parsedBody: DedicatedHost; + }; +}; + +/** + * Contains response data for the beginUpdate operation. + */ +export type DedicatedHostsBeginUpdateResponse = DedicatedHost & { + /** + * The underlying HTTP response. + */ + _response: msRest.HttpResponse & { + /** + * The response body as text (string format) + */ + bodyAsText: string; + + /** + * The response body as parsed JSON or XML + */ + parsedBody: DedicatedHost; + }; +}; + +/** + * Contains response data for the listByHostGroupNext operation. + */ +export type DedicatedHostsListByHostGroupNextResponse = DedicatedHostListResult & { + /** + * The underlying HTTP response. + */ + _response: msRest.HttpResponse & { + /** + * The response body as text (string format) + */ + bodyAsText: string; + + /** + * The response body as parsed JSON or XML + */ + parsedBody: DedicatedHostListResult; + }; +}; + +/** + * Contains response data for the listBySubscription operation. + */ +export type SshPublicKeysListBySubscriptionResponse = SshPublicKeysGroupListResult & { + /** + * The underlying HTTP response. + */ + _response: msRest.HttpResponse & { + /** + * The response body as text (string format) + */ + bodyAsText: string; + + /** + * The response body as parsed JSON or XML + */ + parsedBody: SshPublicKeysGroupListResult; + }; +}; + +/** + * Contains response data for the listByResourceGroup operation. + */ +export type SshPublicKeysListByResourceGroupResponse = SshPublicKeysGroupListResult & { + /** + * The underlying HTTP response. + */ + _response: msRest.HttpResponse & { + /** + * The response body as text (string format) + */ + bodyAsText: string; + + /** + * The response body as parsed JSON or XML + */ + parsedBody: SshPublicKeysGroupListResult; + }; +}; + +/** + * Contains response data for the create operation. + */ +export type SshPublicKeysCreateResponse = SshPublicKeyResource & { + /** + * The underlying HTTP response. + */ + _response: msRest.HttpResponse & { + /** + * The response body as text (string format) + */ + bodyAsText: string; + + /** + * The response body as parsed JSON or XML + */ + parsedBody: SshPublicKeyResource; + }; +}; + +/** + * Contains response data for the update operation. + */ +export type SshPublicKeysUpdateResponse = SshPublicKeyResource & { + /** + * The underlying HTTP response. + */ + _response: msRest.HttpResponse & { + /** + * The response body as text (string format) + */ + bodyAsText: string; + + /** + * The response body as parsed JSON or XML + */ + parsedBody: SshPublicKeyResource; + }; +}; + +/** + * Contains response data for the get operation. + */ +export type SshPublicKeysGetResponse = SshPublicKeyResource & { + /** + * The underlying HTTP response. + */ + _response: msRest.HttpResponse & { + /** + * The response body as text (string format) + */ + bodyAsText: string; + + /** + * The response body as parsed JSON or XML + */ + parsedBody: SshPublicKeyResource; + }; +}; + +/** + * Contains response data for the generateKeyPair operation. + */ +export type SshPublicKeysGenerateKeyPairResponse = SshPublicKeyGenerateKeyPairResult & { + /** + * The underlying HTTP response. + */ + _response: msRest.HttpResponse & { + /** + * The response body as text (string format) + */ + bodyAsText: string; + + /** + * The response body as parsed JSON or XML + */ + parsedBody: SshPublicKeyGenerateKeyPairResult; + }; +}; + +/** + * Contains response data for the listBySubscriptionNext operation. + */ +export type SshPublicKeysListBySubscriptionNextResponse = SshPublicKeysGroupListResult & { + /** + * The underlying HTTP response. + */ + _response: msRest.HttpResponse & { + /** + * The response body as text (string format) + */ + bodyAsText: string; + + /** + * The response body as parsed JSON or XML + */ + parsedBody: SshPublicKeysGroupListResult; + }; +}; + +/** + * Contains response data for the listByResourceGroupNext operation. + */ +export type SshPublicKeysListByResourceGroupNextResponse = SshPublicKeysGroupListResult & { + /** + * The underlying HTTP response. + */ + _response: msRest.HttpResponse & { + /** + * The response body as text (string format) + */ + bodyAsText: string; + + /** + * The response body as parsed JSON or XML + */ + parsedBody: SshPublicKeysGroupListResult; + }; +}; /** - * Defines values for InstanceViewTypes. - * Possible values include: 'instanceView' - * @readonly - * @enum {string} + * Contains response data for the get operation. */ -export type InstanceViewTypes = 'instanceView'; +export type VirtualMachineExtensionImagesGetResponse = VirtualMachineExtensionImage & { + /** + * The underlying HTTP response. + */ + _response: msRest.HttpResponse & { + /** + * The response body as text (string format) + */ + bodyAsText: string; -/** - * Defines values for ReplicationStatusTypes. - * Possible values include: 'ReplicationStatus' - * @readonly - * @enum {string} - */ -export type ReplicationStatusTypes = 'ReplicationStatus'; + /** + * The response body as parsed JSON or XML + */ + parsedBody: VirtualMachineExtensionImage; + }; +}; /** - * Defines values for ProvisioningState. - * Possible values include: 'Creating', 'Updating', 'Failed', 'Succeeded', 'Deleting', 'Migrating' - * @readonly - * @enum {string} + * Contains response data for the listTypes operation. */ -export type ProvisioningState = 'Creating' | 'Updating' | 'Failed' | 'Succeeded' | 'Deleting' | 'Migrating'; +export type VirtualMachineExtensionImagesListTypesResponse = Array & { + /** + * The underlying HTTP response. + */ + _response: msRest.HttpResponse & { + /** + * The response body as text (string format) + */ + bodyAsText: string; + + /** + * The response body as parsed JSON or XML + */ + parsedBody: VirtualMachineExtensionImage[]; + }; +}; /** - * Defines values for ProvisioningState1. - * Possible values include: 'Creating', 'Updating', 'Failed', 'Succeeded', 'Deleting', 'Migrating' - * @readonly - * @enum {string} + * Contains response data for the listVersions operation. */ -export type ProvisioningState1 = 'Creating' | 'Updating' | 'Failed' | 'Succeeded' | 'Deleting' | 'Migrating'; +export type VirtualMachineExtensionImagesListVersionsResponse = Array & { + /** + * The underlying HTTP response. + */ + _response: msRest.HttpResponse & { + /** + * The response body as text (string format) + */ + bodyAsText: string; + + /** + * The response body as parsed JSON or XML + */ + parsedBody: VirtualMachineExtensionImage[]; + }; +}; /** - * Defines values for ProvisioningState2. - * Possible values include: 'Creating', 'Updating', 'Failed', 'Succeeded', 'Deleting', 'Migrating' - * @readonly - * @enum {string} + * Contains response data for the createOrUpdate operation. */ -export type ProvisioningState2 = 'Creating' | 'Updating' | 'Failed' | 'Succeeded' | 'Deleting' | 'Migrating'; +export type VirtualMachineExtensionsCreateOrUpdateResponse = VirtualMachineExtension & { + /** + * The underlying HTTP response. + */ + _response: msRest.HttpResponse & { + /** + * The response body as text (string format) + */ + bodyAsText: string; + + /** + * The response body as parsed JSON or XML + */ + parsedBody: VirtualMachineExtension; + }; +}; /** - * Defines values for ProvisioningState3. - * Possible values include: 'Creating', 'Updating', 'Failed', 'Succeeded', 'Deleting', 'Migrating' - * @readonly - * @enum {string} + * Contains response data for the update operation. */ -export type ProvisioningState3 = 'Creating' | 'Updating' | 'Failed' | 'Succeeded' | 'Deleting' | 'Migrating'; +export type VirtualMachineExtensionsUpdateResponse = VirtualMachineExtension & { + /** + * The underlying HTTP response. + */ + _response: msRest.HttpResponse & { + /** + * The response body as text (string format) + */ + bodyAsText: string; + + /** + * The response body as parsed JSON or XML + */ + parsedBody: VirtualMachineExtension; + }; +}; /** - * Contains response data for the list operation. + * Contains response data for the get operation. */ -export type OperationsListResponse = ComputeOperationListResult & { +export type VirtualMachineExtensionsGetResponse = VirtualMachineExtension & { /** * The underlying HTTP response. */ @@ -7964,14 +10212,14 @@ export type OperationsListResponse = ComputeOperationListResult & { /** * The response body as parsed JSON or XML */ - parsedBody: ComputeOperationListResult; + parsedBody: VirtualMachineExtension; }; }; /** - * Contains response data for the createOrUpdate operation. + * Contains response data for the list operation. */ -export type AvailabilitySetsCreateOrUpdateResponse = AvailabilitySet & { +export type VirtualMachineExtensionsListResponse = VirtualMachineExtensionsListResult & { /** * The underlying HTTP response. */ @@ -7984,14 +10232,14 @@ export type AvailabilitySetsCreateOrUpdateResponse = AvailabilitySet & { /** * The response body as parsed JSON or XML */ - parsedBody: AvailabilitySet; + parsedBody: VirtualMachineExtensionsListResult; }; }; /** - * Contains response data for the update operation. + * Contains response data for the beginCreateOrUpdate operation. */ -export type AvailabilitySetsUpdateResponse = AvailabilitySet & { +export type VirtualMachineExtensionsBeginCreateOrUpdateResponse = VirtualMachineExtension & { /** * The underlying HTTP response. */ @@ -8004,14 +10252,14 @@ export type AvailabilitySetsUpdateResponse = AvailabilitySet & { /** * The response body as parsed JSON or XML */ - parsedBody: AvailabilitySet; + parsedBody: VirtualMachineExtension; }; }; /** - * Contains response data for the get operation. + * Contains response data for the beginUpdate operation. */ -export type AvailabilitySetsGetResponse = AvailabilitySet & { +export type VirtualMachineExtensionsBeginUpdateResponse = VirtualMachineExtension & { /** * The underlying HTTP response. */ @@ -8024,14 +10272,14 @@ export type AvailabilitySetsGetResponse = AvailabilitySet & { /** * The response body as parsed JSON or XML */ - parsedBody: AvailabilitySet; + parsedBody: VirtualMachineExtension; }; }; /** - * Contains response data for the listBySubscription operation. + * Contains response data for the get operation. */ -export type AvailabilitySetsListBySubscriptionResponse = AvailabilitySetListResult & { +export type VirtualMachineImagesGetResponse = VirtualMachineImage & { /** * The underlying HTTP response. */ @@ -8044,14 +10292,14 @@ export type AvailabilitySetsListBySubscriptionResponse = AvailabilitySetListResu /** * The response body as parsed JSON or XML */ - parsedBody: AvailabilitySetListResult; + parsedBody: VirtualMachineImage; }; }; /** * Contains response data for the list operation. */ -export type AvailabilitySetsListResponse = AvailabilitySetListResult & { +export type VirtualMachineImagesListResponse = Array & { /** * The underlying HTTP response. */ @@ -8064,14 +10312,14 @@ export type AvailabilitySetsListResponse = AvailabilitySetListResult & { /** * The response body as parsed JSON or XML */ - parsedBody: AvailabilitySetListResult; + parsedBody: VirtualMachineImageResource[]; }; }; /** - * Contains response data for the listAvailableSizes operation. + * Contains response data for the listOffers operation. */ -export type AvailabilitySetsListAvailableSizesResponse = VirtualMachineSizeListResult & { +export type VirtualMachineImagesListOffersResponse = Array & { /** * The underlying HTTP response. */ @@ -8084,14 +10332,14 @@ export type AvailabilitySetsListAvailableSizesResponse = VirtualMachineSizeListR /** * The response body as parsed JSON or XML */ - parsedBody: VirtualMachineSizeListResult; + parsedBody: VirtualMachineImageResource[]; }; }; /** - * Contains response data for the listBySubscriptionNext operation. + * Contains response data for the listPublishers operation. */ -export type AvailabilitySetsListBySubscriptionNextResponse = AvailabilitySetListResult & { +export type VirtualMachineImagesListPublishersResponse = Array & { /** * The underlying HTTP response. */ @@ -8104,14 +10352,14 @@ export type AvailabilitySetsListBySubscriptionNextResponse = AvailabilitySetList /** * The response body as parsed JSON or XML */ - parsedBody: AvailabilitySetListResult; + parsedBody: VirtualMachineImageResource[]; }; }; /** - * Contains response data for the listNext operation. + * Contains response data for the listSkus operation. */ -export type AvailabilitySetsListNextResponse = AvailabilitySetListResult & { +export type VirtualMachineImagesListSkusResponse = Array & { /** * The underlying HTTP response. */ @@ -8124,14 +10372,14 @@ export type AvailabilitySetsListNextResponse = AvailabilitySetListResult & { /** * The response body as parsed JSON or XML */ - parsedBody: AvailabilitySetListResult; + parsedBody: VirtualMachineImageResource[]; }; }; /** - * Contains response data for the createOrUpdate operation. + * Contains response data for the list operation. */ -export type ProximityPlacementGroupsCreateOrUpdateResponse = ProximityPlacementGroup & { +export type UsageListResponse = ListUsagesResult & { /** * The underlying HTTP response. */ @@ -8144,14 +10392,14 @@ export type ProximityPlacementGroupsCreateOrUpdateResponse = ProximityPlacementG /** * The response body as parsed JSON or XML */ - parsedBody: ProximityPlacementGroup; + parsedBody: ListUsagesResult; }; }; /** - * Contains response data for the update operation. + * Contains response data for the listNext operation. */ -export type ProximityPlacementGroupsUpdateResponse = ProximityPlacementGroup & { +export type UsageListNextResponse = ListUsagesResult & { /** * The underlying HTTP response. */ @@ -8164,14 +10412,14 @@ export type ProximityPlacementGroupsUpdateResponse = ProximityPlacementGroup & { /** * The response body as parsed JSON or XML */ - parsedBody: ProximityPlacementGroup; + parsedBody: ListUsagesResult; }; }; /** - * Contains response data for the get operation. + * Contains response data for the listByLocation operation. */ -export type ProximityPlacementGroupsGetResponse = ProximityPlacementGroup & { +export type VirtualMachinesListByLocationResponse = VirtualMachineListResult & { /** * The underlying HTTP response. */ @@ -8184,14 +10432,14 @@ export type ProximityPlacementGroupsGetResponse = ProximityPlacementGroup & { /** * The response body as parsed JSON or XML */ - parsedBody: ProximityPlacementGroup; + parsedBody: VirtualMachineListResult; }; }; /** - * Contains response data for the listBySubscription operation. + * Contains response data for the capture operation. */ -export type ProximityPlacementGroupsListBySubscriptionResponse = ProximityPlacementGroupListResult & { +export type VirtualMachinesCaptureResponse = VirtualMachineCaptureResult & { /** * The underlying HTTP response. */ @@ -8204,14 +10452,14 @@ export type ProximityPlacementGroupsListBySubscriptionResponse = ProximityPlacem /** * The response body as parsed JSON or XML */ - parsedBody: ProximityPlacementGroupListResult; + parsedBody: VirtualMachineCaptureResult; }; }; /** - * Contains response data for the listByResourceGroup operation. + * Contains response data for the createOrUpdate operation. */ -export type ProximityPlacementGroupsListByResourceGroupResponse = ProximityPlacementGroupListResult & { +export type VirtualMachinesCreateOrUpdateResponse = VirtualMachine & { /** * The underlying HTTP response. */ @@ -8224,14 +10472,14 @@ export type ProximityPlacementGroupsListByResourceGroupResponse = ProximityPlace /** * The response body as parsed JSON or XML */ - parsedBody: ProximityPlacementGroupListResult; + parsedBody: VirtualMachine; }; }; /** - * Contains response data for the listBySubscriptionNext operation. + * Contains response data for the update operation. */ -export type ProximityPlacementGroupsListBySubscriptionNextResponse = ProximityPlacementGroupListResult & { +export type VirtualMachinesUpdateResponse = VirtualMachine & { /** * The underlying HTTP response. */ @@ -8244,14 +10492,14 @@ export type ProximityPlacementGroupsListBySubscriptionNextResponse = ProximityPl /** * The response body as parsed JSON or XML */ - parsedBody: ProximityPlacementGroupListResult; + parsedBody: VirtualMachine; }; }; /** - * Contains response data for the listByResourceGroupNext operation. + * Contains response data for the get operation. */ -export type ProximityPlacementGroupsListByResourceGroupNextResponse = ProximityPlacementGroupListResult & { +export type VirtualMachinesGetResponse = VirtualMachine & { /** * The underlying HTTP response. */ @@ -8264,14 +10512,14 @@ export type ProximityPlacementGroupsListByResourceGroupNextResponse = ProximityP /** * The response body as parsed JSON or XML */ - parsedBody: ProximityPlacementGroupListResult; + parsedBody: VirtualMachine; }; }; /** - * Contains response data for the createOrUpdate operation. + * Contains response data for the instanceView operation. */ -export type DedicatedHostGroupsCreateOrUpdateResponse = DedicatedHostGroup & { +export type VirtualMachinesInstanceViewResponse = VirtualMachineInstanceView & { /** * The underlying HTTP response. */ @@ -8284,14 +10532,14 @@ export type DedicatedHostGroupsCreateOrUpdateResponse = DedicatedHostGroup & { /** * The response body as parsed JSON or XML */ - parsedBody: DedicatedHostGroup; + parsedBody: VirtualMachineInstanceView; }; }; /** - * Contains response data for the update operation. + * Contains response data for the list operation. */ -export type DedicatedHostGroupsUpdateResponse = DedicatedHostGroup & { +export type VirtualMachinesListResponse = VirtualMachineListResult & { /** * The underlying HTTP response. */ @@ -8304,14 +10552,14 @@ export type DedicatedHostGroupsUpdateResponse = DedicatedHostGroup & { /** * The response body as parsed JSON or XML */ - parsedBody: DedicatedHostGroup; + parsedBody: VirtualMachineListResult; }; }; /** - * Contains response data for the get operation. + * Contains response data for the listAll operation. */ -export type DedicatedHostGroupsGetResponse = DedicatedHostGroup & { +export type VirtualMachinesListAllResponse = VirtualMachineListResult & { /** * The underlying HTTP response. */ @@ -8324,14 +10572,14 @@ export type DedicatedHostGroupsGetResponse = DedicatedHostGroup & { /** * The response body as parsed JSON or XML */ - parsedBody: DedicatedHostGroup; + parsedBody: VirtualMachineListResult; }; }; /** - * Contains response data for the listByResourceGroup operation. + * Contains response data for the listAvailableSizes operation. */ -export type DedicatedHostGroupsListByResourceGroupResponse = DedicatedHostGroupListResult & { +export type VirtualMachinesListAvailableSizesResponse = VirtualMachineSizeListResult & { /** * The underlying HTTP response. */ @@ -8344,14 +10592,14 @@ export type DedicatedHostGroupsListByResourceGroupResponse = DedicatedHostGroupL /** * The response body as parsed JSON or XML */ - parsedBody: DedicatedHostGroupListResult; + parsedBody: VirtualMachineSizeListResult; }; }; /** - * Contains response data for the listBySubscription operation. + * Contains response data for the retrieveBootDiagnosticsData operation. */ -export type DedicatedHostGroupsListBySubscriptionResponse = DedicatedHostGroupListResult & { +export type VirtualMachinesRetrieveBootDiagnosticsDataResponse = RetrieveBootDiagnosticsDataResult & { /** * The underlying HTTP response. */ @@ -8364,14 +10612,14 @@ export type DedicatedHostGroupsListBySubscriptionResponse = DedicatedHostGroupLi /** * The response body as parsed JSON or XML */ - parsedBody: DedicatedHostGroupListResult; + parsedBody: RetrieveBootDiagnosticsDataResult; }; }; /** - * Contains response data for the listByResourceGroupNext operation. + * Contains response data for the assessPatches operation. */ -export type DedicatedHostGroupsListByResourceGroupNextResponse = DedicatedHostGroupListResult & { +export type VirtualMachinesAssessPatchesResponse = VirtualMachineAssessPatchesResult & { /** * The underlying HTTP response. */ @@ -8384,14 +10632,14 @@ export type DedicatedHostGroupsListByResourceGroupNextResponse = DedicatedHostGr /** * The response body as parsed JSON or XML */ - parsedBody: DedicatedHostGroupListResult; + parsedBody: VirtualMachineAssessPatchesResult; }; }; /** - * Contains response data for the listBySubscriptionNext operation. + * Contains response data for the runCommand operation. */ -export type DedicatedHostGroupsListBySubscriptionNextResponse = DedicatedHostGroupListResult & { +export type VirtualMachinesRunCommandResponse = RunCommandResult & { /** * The underlying HTTP response. */ @@ -8404,14 +10652,14 @@ export type DedicatedHostGroupsListBySubscriptionNextResponse = DedicatedHostGro /** * The response body as parsed JSON or XML */ - parsedBody: DedicatedHostGroupListResult; + parsedBody: RunCommandResult; }; }; /** - * Contains response data for the createOrUpdate operation. + * Contains response data for the beginCapture operation. */ -export type DedicatedHostsCreateOrUpdateResponse = DedicatedHost & { +export type VirtualMachinesBeginCaptureResponse = VirtualMachineCaptureResult & { /** * The underlying HTTP response. */ @@ -8424,14 +10672,14 @@ export type DedicatedHostsCreateOrUpdateResponse = DedicatedHost & { /** * The response body as parsed JSON or XML */ - parsedBody: DedicatedHost; + parsedBody: VirtualMachineCaptureResult; }; }; /** - * Contains response data for the update operation. + * Contains response data for the beginCreateOrUpdate operation. */ -export type DedicatedHostsUpdateResponse = DedicatedHost & { +export type VirtualMachinesBeginCreateOrUpdateResponse = VirtualMachine & { /** * The underlying HTTP response. */ @@ -8444,14 +10692,14 @@ export type DedicatedHostsUpdateResponse = DedicatedHost & { /** * The response body as parsed JSON or XML */ - parsedBody: DedicatedHost; + parsedBody: VirtualMachine; }; }; /** - * Contains response data for the get operation. + * Contains response data for the beginUpdate operation. */ -export type DedicatedHostsGetResponse = DedicatedHost & { +export type VirtualMachinesBeginUpdateResponse = VirtualMachine & { /** * The underlying HTTP response. */ @@ -8464,14 +10712,14 @@ export type DedicatedHostsGetResponse = DedicatedHost & { /** * The response body as parsed JSON or XML */ - parsedBody: DedicatedHost; + parsedBody: VirtualMachine; }; }; /** - * Contains response data for the listByHostGroup operation. + * Contains response data for the beginAssessPatches operation. */ -export type DedicatedHostsListByHostGroupResponse = DedicatedHostListResult & { +export type VirtualMachinesBeginAssessPatchesResponse = VirtualMachineAssessPatchesResult & { /** * The underlying HTTP response. */ @@ -8484,14 +10732,14 @@ export type DedicatedHostsListByHostGroupResponse = DedicatedHostListResult & { /** * The response body as parsed JSON or XML */ - parsedBody: DedicatedHostListResult; + parsedBody: VirtualMachineAssessPatchesResult; }; }; /** - * Contains response data for the beginCreateOrUpdate operation. + * Contains response data for the beginRunCommand operation. */ -export type DedicatedHostsBeginCreateOrUpdateResponse = DedicatedHost & { +export type VirtualMachinesBeginRunCommandResponse = RunCommandResult & { /** * The underlying HTTP response. */ @@ -8504,14 +10752,14 @@ export type DedicatedHostsBeginCreateOrUpdateResponse = DedicatedHost & { /** * The response body as parsed JSON or XML */ - parsedBody: DedicatedHost; + parsedBody: RunCommandResult; }; }; /** - * Contains response data for the beginUpdate operation. + * Contains response data for the listByLocationNext operation. */ -export type DedicatedHostsBeginUpdateResponse = DedicatedHost & { +export type VirtualMachinesListByLocationNextResponse = VirtualMachineListResult & { /** * The underlying HTTP response. */ @@ -8524,14 +10772,14 @@ export type DedicatedHostsBeginUpdateResponse = DedicatedHost & { /** * The response body as parsed JSON or XML */ - parsedBody: DedicatedHost; + parsedBody: VirtualMachineListResult; }; }; /** - * Contains response data for the listByHostGroupNext operation. + * Contains response data for the listNext operation. */ -export type DedicatedHostsListByHostGroupNextResponse = DedicatedHostListResult & { +export type VirtualMachinesListNextResponse = VirtualMachineListResult & { /** * The underlying HTTP response. */ @@ -8544,14 +10792,14 @@ export type DedicatedHostsListByHostGroupNextResponse = DedicatedHostListResult /** * The response body as parsed JSON or XML */ - parsedBody: DedicatedHostListResult; + parsedBody: VirtualMachineListResult; }; }; /** - * Contains response data for the listBySubscription operation. + * Contains response data for the listAllNext operation. */ -export type SshPublicKeysListBySubscriptionResponse = SshPublicKeysGroupListResult & { +export type VirtualMachinesListAllNextResponse = VirtualMachineListResult & { /** * The underlying HTTP response. */ @@ -8564,14 +10812,14 @@ export type SshPublicKeysListBySubscriptionResponse = SshPublicKeysGroupListResu /** * The response body as parsed JSON or XML */ - parsedBody: SshPublicKeysGroupListResult; + parsedBody: VirtualMachineListResult; }; }; /** - * Contains response data for the listByResourceGroup operation. + * Contains response data for the list operation. */ -export type SshPublicKeysListByResourceGroupResponse = SshPublicKeysGroupListResult & { +export type VirtualMachineSizesListResponse = VirtualMachineSizeListResult & { /** * The underlying HTTP response. */ @@ -8584,14 +10832,14 @@ export type SshPublicKeysListByResourceGroupResponse = SshPublicKeysGroupListRes /** * The response body as parsed JSON or XML */ - parsedBody: SshPublicKeysGroupListResult; + parsedBody: VirtualMachineSizeListResult; }; }; /** - * Contains response data for the create operation. + * Contains response data for the createOrUpdate operation. */ -export type SshPublicKeysCreateResponse = SshPublicKeyResource & { +export type ImagesCreateOrUpdateResponse = Image & { /** * The underlying HTTP response. */ @@ -8604,14 +10852,14 @@ export type SshPublicKeysCreateResponse = SshPublicKeyResource & { /** * The response body as parsed JSON or XML */ - parsedBody: SshPublicKeyResource; + parsedBody: Image; }; }; /** * Contains response data for the update operation. */ -export type SshPublicKeysUpdateResponse = SshPublicKeyResource & { +export type ImagesUpdateResponse = Image & { /** * The underlying HTTP response. */ @@ -8624,14 +10872,14 @@ export type SshPublicKeysUpdateResponse = SshPublicKeyResource & { /** * The response body as parsed JSON or XML */ - parsedBody: SshPublicKeyResource; + parsedBody: Image; }; }; /** * Contains response data for the get operation. */ -export type SshPublicKeysGetResponse = SshPublicKeyResource & { +export type ImagesGetResponse = Image & { /** * The underlying HTTP response. */ @@ -8644,14 +10892,14 @@ export type SshPublicKeysGetResponse = SshPublicKeyResource & { /** * The response body as parsed JSON or XML */ - parsedBody: SshPublicKeyResource; + parsedBody: Image; }; }; /** - * Contains response data for the generateKeyPair operation. + * Contains response data for the listByResourceGroup operation. */ -export type SshPublicKeysGenerateKeyPairResponse = SshPublicKeyGenerateKeyPairResult & { +export type ImagesListByResourceGroupResponse = ImageListResult & { /** * The underlying HTTP response. */ @@ -8664,14 +10912,14 @@ export type SshPublicKeysGenerateKeyPairResponse = SshPublicKeyGenerateKeyPairRe /** * The response body as parsed JSON or XML */ - parsedBody: SshPublicKeyGenerateKeyPairResult; + parsedBody: ImageListResult; }; }; /** - * Contains response data for the listBySubscriptionNext operation. + * Contains response data for the list operation. */ -export type SshPublicKeysListBySubscriptionNextResponse = SshPublicKeysGroupListResult & { +export type ImagesListResponse = ImageListResult & { /** * The underlying HTTP response. */ @@ -8684,14 +10932,14 @@ export type SshPublicKeysListBySubscriptionNextResponse = SshPublicKeysGroupList /** * The response body as parsed JSON or XML */ - parsedBody: SshPublicKeysGroupListResult; + parsedBody: ImageListResult; }; }; /** - * Contains response data for the listByResourceGroupNext operation. + * Contains response data for the beginCreateOrUpdate operation. */ -export type SshPublicKeysListByResourceGroupNextResponse = SshPublicKeysGroupListResult & { +export type ImagesBeginCreateOrUpdateResponse = Image & { /** * The underlying HTTP response. */ @@ -8704,14 +10952,14 @@ export type SshPublicKeysListByResourceGroupNextResponse = SshPublicKeysGroupLis /** * The response body as parsed JSON or XML */ - parsedBody: SshPublicKeysGroupListResult; + parsedBody: Image; }; }; /** - * Contains response data for the get operation. + * Contains response data for the beginUpdate operation. */ -export type VirtualMachineExtensionImagesGetResponse = VirtualMachineExtensionImage & { +export type ImagesBeginUpdateResponse = Image & { /** * The underlying HTTP response. */ @@ -8724,14 +10972,14 @@ export type VirtualMachineExtensionImagesGetResponse = VirtualMachineExtensionIm /** * The response body as parsed JSON or XML */ - parsedBody: VirtualMachineExtensionImage; + parsedBody: Image; }; }; /** - * Contains response data for the listTypes operation. + * Contains response data for the listByResourceGroupNext operation. */ -export type VirtualMachineExtensionImagesListTypesResponse = Array & { +export type ImagesListByResourceGroupNextResponse = ImageListResult & { /** * The underlying HTTP response. */ @@ -8744,14 +10992,14 @@ export type VirtualMachineExtensionImagesListTypesResponse = Array & { +export type ImagesListNextResponse = ImageListResult & { /** * The underlying HTTP response. */ @@ -8764,14 +11012,14 @@ export type VirtualMachineExtensionImagesListVersionsResponse = Array & { +export type VirtualMachineScaleSetsGetOSUpgradeHistoryResponse = VirtualMachineScaleSetListOSUpgradeHistory & { /** * The underlying HTTP response. */ @@ -8924,14 +11172,14 @@ export type VirtualMachineImagesListResponse = Array & { +export type VirtualMachineScaleSetsForceRecoveryServiceFabricPlatformUpdateDomainWalkResponse = RecoveryWalkResponse & { /** * The underlying HTTP response. */ @@ -8944,14 +11192,14 @@ export type VirtualMachineImagesListOffersResponse = Array & { +export type VirtualMachineScaleSetsBeginCreateOrUpdateResponse = VirtualMachineScaleSet & { /** * The underlying HTTP response. */ @@ -8964,14 +11212,14 @@ export type VirtualMachineImagesListPublishersResponse = Array & { +export type VirtualMachineScaleSetsBeginUpdateResponse = VirtualMachineScaleSet & { /** * The underlying HTTP response. */ @@ -8984,14 +11232,14 @@ export type VirtualMachineImagesListSkusResponse = Array; - /** - * The response body as parsed JSON or XML - */ - parsedBody: GalleryApplicationList; - }; + /** + * NODEJS ONLY + * + * The response body as a node.js Readable stream. + * Always undefined in the browser. + */ + readableStreamBody?: NodeJS.ReadableStream; + + /** + * The underlying HTTP response. + */ + _response: msRest.HttpResponse; }; /** - * Contains response data for the beginCreateOrUpdate operation. + * Contains response data for the listNext operation. */ -export type GalleryApplicationsBeginCreateOrUpdateResponse = GalleryApplication & { +export type CloudServiceRoleInstancesListNextResponse = RoleInstanceListResult & { /** * The underlying HTTP response. */ @@ -11984,14 +14238,14 @@ export type GalleryApplicationsBeginCreateOrUpdateResponse = GalleryApplication /** * The response body as parsed JSON or XML */ - parsedBody: GalleryApplication; + parsedBody: RoleInstanceListResult; }; }; /** - * Contains response data for the beginUpdate operation. + * Contains response data for the get operation. */ -export type GalleryApplicationsBeginUpdateResponse = GalleryApplication & { +export type CloudServiceRolesGetResponse = CloudServiceRole & { /** * The underlying HTTP response. */ @@ -12004,14 +14258,14 @@ export type GalleryApplicationsBeginUpdateResponse = GalleryApplication & { /** * The response body as parsed JSON or XML */ - parsedBody: GalleryApplication; + parsedBody: CloudServiceRole; }; }; /** - * Contains response data for the listByGalleryNext operation. + * Contains response data for the list operation. */ -export type GalleryApplicationsListByGalleryNextResponse = GalleryApplicationList & { +export type CloudServiceRolesListResponse = CloudServiceRoleListResult & { /** * The underlying HTTP response. */ @@ -12024,14 +14278,14 @@ export type GalleryApplicationsListByGalleryNextResponse = GalleryApplicationLis /** * The response body as parsed JSON or XML */ - parsedBody: GalleryApplicationList; + parsedBody: CloudServiceRoleListResult; }; }; /** - * Contains response data for the createOrUpdate operation. + * Contains response data for the listNext operation. */ -export type GalleryApplicationVersionsCreateOrUpdateResponse = GalleryApplicationVersion & { +export type CloudServiceRolesListNextResponse = CloudServiceRoleListResult & { /** * The underlying HTTP response. */ @@ -12044,14 +14298,14 @@ export type GalleryApplicationVersionsCreateOrUpdateResponse = GalleryApplicatio /** * The response body as parsed JSON or XML */ - parsedBody: GalleryApplicationVersion; + parsedBody: CloudServiceRoleListResult; }; }; /** - * Contains response data for the update operation. + * Contains response data for the createOrUpdate operation. */ -export type GalleryApplicationVersionsUpdateResponse = GalleryApplicationVersion & { +export type CloudServicesCreateOrUpdateResponse = CloudService & { /** * The underlying HTTP response. */ @@ -12064,14 +14318,14 @@ export type GalleryApplicationVersionsUpdateResponse = GalleryApplicationVersion /** * The response body as parsed JSON or XML */ - parsedBody: GalleryApplicationVersion; + parsedBody: CloudService; }; }; /** - * Contains response data for the get operation. + * Contains response data for the update operation. */ -export type GalleryApplicationVersionsGetResponse = GalleryApplicationVersion & { +export type CloudServicesUpdateResponse = CloudService & { /** * The underlying HTTP response. */ @@ -12084,14 +14338,14 @@ export type GalleryApplicationVersionsGetResponse = GalleryApplicationVersion & /** * The response body as parsed JSON or XML */ - parsedBody: GalleryApplicationVersion; + parsedBody: CloudService; }; }; /** - * Contains response data for the listByGalleryApplication operation. + * Contains response data for the get operation. */ -export type GalleryApplicationVersionsListByGalleryApplicationResponse = GalleryApplicationVersionList & { +export type CloudServicesGetResponse = CloudService & { /** * The underlying HTTP response. */ @@ -12104,14 +14358,14 @@ export type GalleryApplicationVersionsListByGalleryApplicationResponse = Gallery /** * The response body as parsed JSON or XML */ - parsedBody: GalleryApplicationVersionList; + parsedBody: CloudService; }; }; /** - * Contains response data for the beginCreateOrUpdate operation. + * Contains response data for the getInstanceView operation. */ -export type GalleryApplicationVersionsBeginCreateOrUpdateResponse = GalleryApplicationVersion & { +export type CloudServicesGetInstanceViewResponse = CloudServiceInstanceView & { /** * The underlying HTTP response. */ @@ -12124,14 +14378,14 @@ export type GalleryApplicationVersionsBeginCreateOrUpdateResponse = GalleryAppli /** * The response body as parsed JSON or XML */ - parsedBody: GalleryApplicationVersion; + parsedBody: CloudServiceInstanceView; }; }; /** - * Contains response data for the beginUpdate operation. + * Contains response data for the listAll operation. */ -export type GalleryApplicationVersionsBeginUpdateResponse = GalleryApplicationVersion & { +export type CloudServicesListAllResponse = CloudServiceListResult & { /** * The underlying HTTP response. */ @@ -12144,14 +14398,14 @@ export type GalleryApplicationVersionsBeginUpdateResponse = GalleryApplicationVe /** * The response body as parsed JSON or XML */ - parsedBody: GalleryApplicationVersion; + parsedBody: CloudServiceListResult; }; }; /** - * Contains response data for the listByGalleryApplicationNext operation. + * Contains response data for the list operation. */ -export type GalleryApplicationVersionsListByGalleryApplicationNextResponse = GalleryApplicationVersionList & { +export type CloudServicesListResponse = CloudServiceListResult & { /** * The underlying HTTP response. */ @@ -12164,14 +14418,14 @@ export type GalleryApplicationVersionsListByGalleryApplicationNextResponse = Gal /** * The response body as parsed JSON or XML */ - parsedBody: GalleryApplicationVersionList; + parsedBody: CloudServiceListResult; }; }; /** - * Contains response data for the list operation. + * Contains response data for the beginCreateOrUpdate operation. */ -export type ContainerServicesListResponse = ContainerServiceListResult & { +export type CloudServicesBeginCreateOrUpdateResponse = CloudService & { /** * The underlying HTTP response. */ @@ -12184,14 +14438,14 @@ export type ContainerServicesListResponse = ContainerServiceListResult & { /** * The response body as parsed JSON or XML */ - parsedBody: ContainerServiceListResult; + parsedBody: CloudService; }; }; /** - * Contains response data for the createOrUpdate operation. + * Contains response data for the beginUpdate operation. */ -export type ContainerServicesCreateOrUpdateResponse = ContainerService & { +export type CloudServicesBeginUpdateResponse = CloudService & { /** * The underlying HTTP response. */ @@ -12204,14 +14458,14 @@ export type ContainerServicesCreateOrUpdateResponse = ContainerService & { /** * The response body as parsed JSON or XML */ - parsedBody: ContainerService; + parsedBody: CloudService; }; }; /** - * Contains response data for the get operation. + * Contains response data for the listAllNext operation. */ -export type ContainerServicesGetResponse = ContainerService & { +export type CloudServicesListAllNextResponse = CloudServiceListResult & { /** * The underlying HTTP response. */ @@ -12224,14 +14478,14 @@ export type ContainerServicesGetResponse = ContainerService & { /** * The response body as parsed JSON or XML */ - parsedBody: ContainerService; + parsedBody: CloudServiceListResult; }; }; /** - * Contains response data for the listByResourceGroup operation. + * Contains response data for the listNext operation. */ -export type ContainerServicesListByResourceGroupResponse = ContainerServiceListResult & { +export type CloudServicesListNextResponse = CloudServiceListResult & { /** * The underlying HTTP response. */ @@ -12244,14 +14498,14 @@ export type ContainerServicesListByResourceGroupResponse = ContainerServiceListR /** * The response body as parsed JSON or XML */ - parsedBody: ContainerServiceListResult; + parsedBody: CloudServiceListResult; }; }; /** - * Contains response data for the beginCreateOrUpdate operation. + * Contains response data for the getUpdateDomain operation. */ -export type ContainerServicesBeginCreateOrUpdateResponse = ContainerService & { +export type CloudServicesUpdateDomainGetUpdateDomainResponse = UpdateDomain & { /** * The underlying HTTP response. */ @@ -12264,14 +14518,14 @@ export type ContainerServicesBeginCreateOrUpdateResponse = ContainerService & { /** * The response body as parsed JSON or XML */ - parsedBody: ContainerService; + parsedBody: UpdateDomain; }; }; /** - * Contains response data for the listNext operation. + * Contains response data for the listUpdateDomains operation. */ -export type ContainerServicesListNextResponse = ContainerServiceListResult & { +export type CloudServicesUpdateDomainListUpdateDomainsResponse = UpdateDomainListResult & { /** * The underlying HTTP response. */ @@ -12284,14 +14538,14 @@ export type ContainerServicesListNextResponse = ContainerServiceListResult & { /** * The response body as parsed JSON or XML */ - parsedBody: ContainerServiceListResult; + parsedBody: UpdateDomainListResult; }; }; /** - * Contains response data for the listByResourceGroupNext operation. + * Contains response data for the listUpdateDomainsNext operation. */ -export type ContainerServicesListByResourceGroupNextResponse = ContainerServiceListResult & { +export type CloudServicesUpdateDomainListUpdateDomainsNextResponse = UpdateDomainListResult & { /** * The underlying HTTP response. */ @@ -12304,6 +14558,6 @@ export type ContainerServicesListByResourceGroupNextResponse = ContainerServiceL /** * The response body as parsed JSON or XML */ - parsedBody: ContainerServiceListResult; + parsedBody: UpdateDomainListResult; }; }; diff --git a/sdk/compute/arm-compute/src/models/logAnalyticsMappers.ts b/sdk/compute/arm-compute/src/models/logAnalyticsMappers.ts index ae101dcf4cb7..6566a5c184ee 100644 --- a/sdk/compute/arm-compute/src/models/logAnalyticsMappers.ts +++ b/sdk/compute/arm-compute/src/models/logAnalyticsMappers.ts @@ -1,6 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for license information. + * 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. diff --git a/sdk/compute/arm-compute/src/models/mappers.ts b/sdk/compute/arm-compute/src/models/mappers.ts index 0f992c30506b..5d847971a75b 100644 --- a/sdk/compute/arm-compute/src/models/mappers.ts +++ b/sdk/compute/arm-compute/src/models/mappers.ts @@ -1,6 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for license information. + * 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. @@ -1216,6 +1216,93 @@ export const VirtualMachineExtension: msRest.CompositeMapper = { } }; +export const VirtualMachineScaleSetVMExtension: msRest.CompositeMapper = { + serializedName: "VirtualMachineScaleSetVMExtension", + type: { + name: "Composite", + className: "VirtualMachineScaleSetVMExtension", + modelProperties: { + ...SubResourceReadOnly.type.modelProperties, + name: { + readOnly: true, + serializedName: "name", + type: { + name: "String" + } + }, + type: { + readOnly: true, + serializedName: "type", + type: { + name: "String" + } + }, + forceUpdateTag: { + serializedName: "properties.forceUpdateTag", + type: { + name: "String" + } + }, + publisher: { + serializedName: "properties.publisher", + type: { + name: "String" + } + }, + type1: { + 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: "Object" + } + }, + protectedSettings: { + serializedName: "properties.protectedSettings", + type: { + name: "Object" + } + }, + provisioningState: { + readOnly: true, + serializedName: "properties.provisioningState", + type: { + name: "String" + } + }, + instanceView: { + serializedName: "properties.instanceView", + type: { + name: "Composite", + className: "VirtualMachineExtensionInstanceView" + } + } + } + } +}; + export const VirtualMachineExtensionUpdate: msRest.CompositeMapper = { serializedName: "VirtualMachineExtensionUpdate", type: { @@ -1275,6 +1362,79 @@ export const VirtualMachineExtensionUpdate: msRest.CompositeMapper = { } }; +export const VirtualMachineScaleSetVMExtensionUpdate: msRest.CompositeMapper = { + serializedName: "VirtualMachineScaleSetVMExtensionUpdate", + type: { + name: "Composite", + className: "VirtualMachineScaleSetVMExtensionUpdate", + modelProperties: { + ...SubResourceReadOnly.type.modelProperties, + name: { + readOnly: true, + serializedName: "name", + type: { + name: "String" + } + }, + type: { + readOnly: true, + serializedName: "type", + type: { + name: "String" + } + }, + forceUpdateTag: { + serializedName: "properties.forceUpdateTag", + type: { + name: "String" + } + }, + publisher: { + serializedName: "properties.publisher", + type: { + name: "String" + } + }, + type1: { + 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: "Object" + } + }, + protectedSettings: { + serializedName: "properties.protectedSettings", + type: { + name: "Object" + } + } + } + } +}; + export const VirtualMachineExtensionsListResult: msRest.CompositeMapper = { serializedName: "VirtualMachineExtensionsListResult", type: { @@ -1297,6 +1457,28 @@ export const VirtualMachineExtensionsListResult: msRest.CompositeMapper = { } }; +export const VirtualMachineScaleSetVMExtensionsListResult: msRest.CompositeMapper = { + serializedName: "VirtualMachineScaleSetVMExtensionsListResult", + type: { + name: "Composite", + className: "VirtualMachineScaleSetVMExtensionsListResult", + modelProperties: { + value: { + serializedName: "value", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "VirtualMachineScaleSetVMExtension" + } + } + } + } + } + } +}; + export const VirtualMachineSoftwarePatchProperties: msRest.CompositeMapper = { serializedName: "VirtualMachineSoftwarePatchProperties", type: { @@ -1578,6 +1760,12 @@ export const PurchasePlan: msRest.CompositeMapper = { type: { name: "String" } + }, + promotionCode: { + serializedName: "promotionCode", + type: { + name: "String" + } } } } @@ -4995,6 +5183,12 @@ export const VirtualMachineScaleSetNetworkConfiguration: msRest.CompositeMapper name: "Boolean" } }, + enableFpga: { + serializedName: "properties.enableFpga", + type: { + name: "Boolean" + } + }, networkSecurityGroup: { serializedName: "properties.networkSecurityGroup", type: { @@ -5057,6 +5251,12 @@ export const VirtualMachineScaleSetUpdateNetworkConfiguration: msRest.CompositeM name: "Boolean" } }, + enableFpga: { + serializedName: "properties.enableFpga", + type: { + name: "Boolean" + } + }, networkSecurityGroup: { serializedName: "properties.networkSecurityGroup", type: { @@ -6771,6 +6971,18 @@ export const LogAnalyticsInputBase: msRest.CompositeMapper = { type: { name: "Boolean" } + }, + groupByClientApplicationId: { + serializedName: "groupByClientApplicationId", + type: { + name: "Boolean" + } + }, + groupByUserAgent: { + serializedName: "groupByUserAgent", + type: { + name: "Boolean" + } } } } @@ -7093,96 +7305,90 @@ export const RunCommandResult: msRest.CompositeMapper = { } }; -export const ResourceSkuCapacity: msRest.CompositeMapper = { - serializedName: "ResourceSkuCapacity", +export const VirtualMachineRunCommandInstanceView: msRest.CompositeMapper = { + serializedName: "VirtualMachineRunCommandInstanceView", type: { name: "Composite", - className: "ResourceSkuCapacity", + className: "VirtualMachineRunCommandInstanceView", modelProperties: { - minimum: { - readOnly: true, - serializedName: "minimum", + executionState: { + serializedName: "executionState", type: { - name: "Number" + name: "String" } }, - maximum: { - readOnly: true, - serializedName: "maximum", + executionMessage: { + serializedName: "executionMessage", type: { - name: "Number" + name: "String" } }, - default: { - readOnly: true, - serializedName: "default", + exitCode: { + serializedName: "exitCode", type: { name: "Number" } }, - scaleType: { - readOnly: true, - serializedName: "scaleType", + output: { + serializedName: "output", type: { - name: "Enum", - allowedValues: [ - "Automatic", - "Manual", - "None" - ] + name: "String" } - } - } - } -}; - -export const ResourceSkuCosts: msRest.CompositeMapper = { - serializedName: "ResourceSkuCosts", - type: { - name: "Composite", - className: "ResourceSkuCosts", - modelProperties: { - meterID: { - readOnly: true, - serializedName: "meterID", + }, + error: { + serializedName: "error", type: { name: "String" } }, - quantity: { - readOnly: true, - serializedName: "quantity", + startTime: { + serializedName: "startTime", type: { - name: "Number" + name: "DateTime" } }, - extendedUnit: { - readOnly: true, - serializedName: "extendedUnit", + endTime: { + serializedName: "endTime", type: { - name: "String" + name: "DateTime" } - } - } - } + }, + statuses: { + serializedName: "statuses", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "InstanceViewStatus" + } + } + } + } + } + } }; -export const ResourceSkuCapabilities: msRest.CompositeMapper = { - serializedName: "ResourceSkuCapabilities", +export const VirtualMachineRunCommandScriptSource: msRest.CompositeMapper = { + serializedName: "VirtualMachineRunCommandScriptSource", type: { name: "Composite", - className: "ResourceSkuCapabilities", + className: "VirtualMachineRunCommandScriptSource", modelProperties: { - name: { - readOnly: true, - serializedName: "name", + script: { + serializedName: "script", type: { name: "String" } }, - value: { - readOnly: true, - serializedName: "value", + scriptUri: { + serializedName: "scriptUri", + type: { + name: "String" + } + }, + commandId: { + serializedName: "commandId", type: { name: "String" } @@ -7191,120 +7397,230 @@ export const ResourceSkuCapabilities: msRest.CompositeMapper = { } }; -export const ResourceSkuZoneDetails: msRest.CompositeMapper = { - serializedName: "ResourceSkuZoneDetails", +export const VirtualMachineRunCommand: msRest.CompositeMapper = { + serializedName: "VirtualMachineRunCommand", type: { name: "Composite", - className: "ResourceSkuZoneDetails", + className: "VirtualMachineRunCommand", modelProperties: { - name: { - readOnly: true, - serializedName: "name", + ...Resource.type.modelProperties, + source: { + serializedName: "properties.source", + type: { + name: "Composite", + className: "VirtualMachineRunCommandScriptSource" + } + }, + parameters: { + serializedName: "properties.parameters", type: { name: "Sequence", element: { type: { - name: "String" + name: "Composite", + className: "RunCommandInputParameter" } } } }, - capabilities: { - readOnly: true, - serializedName: "capabilities", + protectedParameters: { + serializedName: "properties.protectedParameters", type: { name: "Sequence", element: { type: { name: "Composite", - className: "ResourceSkuCapabilities" + className: "RunCommandInputParameter" } } } + }, + asyncExecution: { + serializedName: "properties.asyncExecution", + defaultValue: false, + 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: { + readOnly: true, + serializedName: "properties.provisioningState", + type: { + name: "String" + } + }, + instanceView: { + readOnly: true, + serializedName: "properties.instanceView", + type: { + name: "Composite", + className: "VirtualMachineRunCommandInstanceView" + } } } } }; -export const ResourceSkuRestrictionInfo: msRest.CompositeMapper = { - serializedName: "ResourceSkuRestrictionInfo", +export const VirtualMachineRunCommandUpdate: msRest.CompositeMapper = { + serializedName: "VirtualMachineRunCommandUpdate", type: { name: "Composite", - className: "ResourceSkuRestrictionInfo", + className: "VirtualMachineRunCommandUpdate", modelProperties: { - locations: { - readOnly: true, - serializedName: "locations", + ...UpdateResource.type.modelProperties, + source: { + serializedName: "properties.source", + type: { + name: "Composite", + className: "VirtualMachineRunCommandScriptSource" + } + }, + parameters: { + serializedName: "properties.parameters", type: { name: "Sequence", element: { type: { - name: "String" + name: "Composite", + className: "RunCommandInputParameter" } } } }, - zones: { - readOnly: true, - serializedName: "zones", + protectedParameters: { + serializedName: "properties.protectedParameters", type: { name: "Sequence", element: { type: { - name: "String" + name: "Composite", + className: "RunCommandInputParameter" } } } + }, + asyncExecution: { + serializedName: "properties.asyncExecution", + defaultValue: false, + 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: { + readOnly: true, + serializedName: "properties.provisioningState", + type: { + name: "String" + } + }, + instanceView: { + readOnly: true, + serializedName: "properties.instanceView", + type: { + name: "Composite", + className: "VirtualMachineRunCommandInstanceView" + } } } } }; -export const ResourceSkuRestrictions: msRest.CompositeMapper = { - serializedName: "ResourceSkuRestrictions", +export const ResourceSkuCapacity: msRest.CompositeMapper = { + serializedName: "ResourceSkuCapacity", type: { name: "Composite", - className: "ResourceSkuRestrictions", + className: "ResourceSkuCapacity", modelProperties: { - type: { + minimum: { readOnly: true, - serializedName: "type", + serializedName: "minimum", type: { - name: "Enum", - allowedValues: [ - "Location", - "Zone" - ] + name: "Number" } }, - values: { + maximum: { readOnly: true, - serializedName: "values", + serializedName: "maximum", type: { - name: "Sequence", - element: { - type: { - name: "String" - } - } + name: "Number" } }, - restrictionInfo: { + default: { readOnly: true, - serializedName: "restrictionInfo", + serializedName: "default", type: { - name: "Composite", - className: "ResourceSkuRestrictionInfo" + name: "Number" } }, - reasonCode: { + scaleType: { readOnly: true, - serializedName: "reasonCode", + serializedName: "scaleType", type: { name: "Enum", allowedValues: [ - "QuotaId", - "NotAvailableForSubscription" + "Automatic", + "Manual", + "None" ] } } @@ -7312,61 +7628,43 @@ export const ResourceSkuRestrictions: msRest.CompositeMapper = { } }; -export const ResourceSkuLocationInfo: msRest.CompositeMapper = { - serializedName: "ResourceSkuLocationInfo", +export const ResourceSkuCosts: msRest.CompositeMapper = { + serializedName: "ResourceSkuCosts", type: { name: "Composite", - className: "ResourceSkuLocationInfo", + className: "ResourceSkuCosts", modelProperties: { - location: { + meterID: { readOnly: true, - serializedName: "location", + serializedName: "meterID", type: { name: "String" } }, - zones: { + quantity: { readOnly: true, - serializedName: "zones", + serializedName: "quantity", type: { - name: "Sequence", - element: { - type: { - name: "String" - } - } + name: "Number" } }, - zoneDetails: { + extendedUnit: { readOnly: true, - serializedName: "zoneDetails", + serializedName: "extendedUnit", type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "ResourceSkuZoneDetails" - } - } + name: "String" } } } } }; -export const ResourceSku: msRest.CompositeMapper = { - serializedName: "ResourceSku", +export const ResourceSkuCapabilities: msRest.CompositeMapper = { + serializedName: "ResourceSkuCapabilities", type: { name: "Composite", - className: "ResourceSku", + className: "ResourceSkuCapabilities", modelProperties: { - resourceType: { - readOnly: true, - serializedName: "resourceType", - type: { - name: "String" - } - }, name: { readOnly: true, serializedName: "name", @@ -7374,22 +7672,216 @@ export const ResourceSku: msRest.CompositeMapper = { name: "String" } }, - tier: { - readOnly: true, - serializedName: "tier", - type: { - name: "String" - } - }, - size: { + value: { readOnly: true, - serializedName: "size", + serializedName: "value", type: { name: "String" } - }, - family: { - readOnly: true, + } + } + } +}; + +export const ResourceSkuZoneDetails: msRest.CompositeMapper = { + serializedName: "ResourceSkuZoneDetails", + type: { + name: "Composite", + className: "ResourceSkuZoneDetails", + modelProperties: { + name: { + readOnly: true, + serializedName: "name", + type: { + name: "Sequence", + element: { + type: { + name: "String" + } + } + } + }, + capabilities: { + readOnly: true, + serializedName: "capabilities", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "ResourceSkuCapabilities" + } + } + } + } + } + } +}; + +export const ResourceSkuRestrictionInfo: msRest.CompositeMapper = { + serializedName: "ResourceSkuRestrictionInfo", + type: { + name: "Composite", + className: "ResourceSkuRestrictionInfo", + modelProperties: { + locations: { + readOnly: true, + serializedName: "locations", + type: { + name: "Sequence", + element: { + type: { + name: "String" + } + } + } + }, + zones: { + readOnly: true, + serializedName: "zones", + type: { + name: "Sequence", + element: { + type: { + name: "String" + } + } + } + } + } + } +}; + +export const ResourceSkuRestrictions: msRest.CompositeMapper = { + serializedName: "ResourceSkuRestrictions", + type: { + name: "Composite", + className: "ResourceSkuRestrictions", + modelProperties: { + type: { + readOnly: true, + serializedName: "type", + type: { + name: "Enum", + allowedValues: [ + "Location", + "Zone" + ] + } + }, + values: { + readOnly: true, + serializedName: "values", + type: { + name: "Sequence", + element: { + type: { + name: "String" + } + } + } + }, + restrictionInfo: { + readOnly: true, + serializedName: "restrictionInfo", + type: { + name: "Composite", + className: "ResourceSkuRestrictionInfo" + } + }, + reasonCode: { + readOnly: true, + serializedName: "reasonCode", + type: { + name: "Enum", + allowedValues: [ + "QuotaId", + "NotAvailableForSubscription" + ] + } + } + } + } +}; + +export const ResourceSkuLocationInfo: msRest.CompositeMapper = { + serializedName: "ResourceSkuLocationInfo", + type: { + name: "Composite", + className: "ResourceSkuLocationInfo", + modelProperties: { + location: { + readOnly: true, + serializedName: "location", + type: { + name: "String" + } + }, + zones: { + readOnly: true, + serializedName: "zones", + type: { + name: "Sequence", + element: { + type: { + name: "String" + } + } + } + }, + zoneDetails: { + readOnly: true, + serializedName: "zoneDetails", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "ResourceSkuZoneDetails" + } + } + } + } + } + } +}; + +export const ResourceSku: msRest.CompositeMapper = { + serializedName: "ResourceSku", + type: { + name: "Composite", + className: "ResourceSku", + modelProperties: { + resourceType: { + readOnly: true, + serializedName: "resourceType", + type: { + name: "String" + } + }, + name: { + readOnly: true, + serializedName: "name", + type: { + name: "String" + } + }, + tier: { + readOnly: true, + serializedName: "tier", + type: { + name: "String" + } + }, + size: { + readOnly: true, + serializedName: "size", + type: { + name: "String" + } + }, + family: { + readOnly: true, serializedName: "family", type: { name: "String" @@ -7490,6 +7982,37 @@ export const ResourceSku: msRest.CompositeMapper = { } }; +export const ProxyOnlyResource: msRest.CompositeMapper = { + serializedName: "ProxyOnlyResource", + type: { + name: "Composite", + className: "ProxyOnlyResource", + modelProperties: { + id: { + readOnly: true, + serializedName: "id", + type: { + name: "String" + } + }, + name: { + readOnly: true, + serializedName: "name", + type: { + name: "String" + } + }, + type: { + readOnly: true, + serializedName: "type", + type: { + name: "String" + } + } + } + } +}; + export const DiskSku: msRest.CompositeMapper = { serializedName: "DiskSku", type: { @@ -7513,6 +8036,28 @@ export const DiskSku: msRest.CompositeMapper = { } }; +export const ExtendedLocation: msRest.CompositeMapper = { + serializedName: "ExtendedLocation", + type: { + name: "Composite", + className: "ExtendedLocation", + modelProperties: { + name: { + serializedName: "name", + type: { + name: "String" + } + }, + type: { + serializedName: "type", + type: { + name: "String" + } + } + } + } +}; + export const ImageDiskReference: msRest.CompositeMapper = { serializedName: "ImageDiskReference", type: { @@ -7812,6 +8357,13 @@ export const Disk: msRest.CompositeMapper = { } } }, + extendedLocation: { + serializedName: "extendedLocation", + type: { + name: "Composite", + className: "ExtendedLocation" + } + }, timeCreated: { readOnly: true, serializedName: "properties.timeCreated", @@ -7835,7 +8387,14 @@ export const Disk: msRest.CompositeMapper = { name: "String" } }, - creationData: { + purchasePlan: { + serializedName: "properties.purchasePlan", + type: { + name: "Composite", + className: "PurchasePlan" + } + }, + creationData: { required: true, serializedName: "properties.creationData", type: { @@ -7950,6 +8509,12 @@ export const Disk: msRest.CompositeMapper = { type: { name: "String" } + }, + burstingEnabled: { + serializedName: "properties.burstingEnabled", + type: { + name: "Boolean" + } } } } @@ -8039,6 +8604,19 @@ export const DiskUpdate: msRest.CompositeMapper = { name: "String" } }, + burstingEnabled: { + serializedName: "properties.burstingEnabled", + type: { + name: "Boolean" + } + }, + purchasePlan: { + serializedName: "properties.purchasePlan", + type: { + name: "Composite", + className: "PurchasePlan" + } + }, tags: { serializedName: "tags", type: { @@ -8084,6 +8662,30 @@ export const SnapshotSku: msRest.CompositeMapper = { } }; +export const KeyForDiskEncryptionSet: msRest.CompositeMapper = { + serializedName: "KeyForDiskEncryptionSet", + type: { + name: "Composite", + className: "KeyForDiskEncryptionSet", + modelProperties: { + sourceVault: { + serializedName: "sourceVault", + type: { + name: "Composite", + className: "SourceVault" + } + }, + keyUrl: { + required: true, + serializedName: "keyUrl", + type: { + name: "String" + } + } + } + } +}; + export const GrantAccessData: msRest.CompositeMapper = { serializedName: "GrantAccessData", type: { @@ -8146,6 +8748,13 @@ export const Snapshot: msRest.CompositeMapper = { className: "SnapshotSku" } }, + extendedLocation: { + serializedName: "extendedLocation", + type: { + name: "Composite", + className: "ExtendedLocation" + } + }, timeCreated: { readOnly: true, serializedName: "properties.timeCreated", @@ -8169,6 +8778,13 @@ export const Snapshot: msRest.CompositeMapper = { name: "String" } }, + purchasePlan: { + serializedName: "properties.purchasePlan", + type: { + name: "Composite", + className: "PurchasePlan" + } + }, creationData: { required: true, serializedName: "properties.creationData", @@ -8370,7 +8986,7 @@ export const DiskEncryptionSet: msRest.CompositeMapper = { serializedName: "properties.activeKey", type: { name: "Composite", - className: "KeyVaultAndKeyReference" + className: "KeyForDiskEncryptionSet" } }, previousKeys: { @@ -8381,7 +8997,7 @@ export const DiskEncryptionSet: msRest.CompositeMapper = { element: { type: { name: "Composite", - className: "KeyVaultAndKeyReference" + className: "KeyForDiskEncryptionSet" } } } @@ -8413,7 +9029,7 @@ export const DiskEncryptionSetUpdate: msRest.CompositeMapper = { serializedName: "properties.activeKey", type: { name: "Composite", - className: "KeyVaultAndKeyReference" + className: "KeyForDiskEncryptionSet" } }, tags: { @@ -8648,6 +9264,77 @@ export const PrivateLinkResource: msRest.CompositeMapper = { } }; +export const DiskRestorePoint: msRest.CompositeMapper = { + serializedName: "DiskRestorePoint", + type: { + name: "Composite", + className: "DiskRestorePoint", + modelProperties: { + ...ProxyOnlyResource.type.modelProperties, + timeCreated: { + readOnly: true, + serializedName: "properties.timeCreated", + type: { + name: "DateTime" + } + }, + sourceResourceId: { + readOnly: true, + serializedName: "properties.sourceResourceId", + type: { + name: "String" + } + }, + osType: { + readOnly: true, + serializedName: "properties.osType", + type: { + name: "Enum", + allowedValues: [ + "Windows", + "Linux" + ] + } + }, + hyperVGeneration: { + serializedName: "properties.hyperVGeneration", + type: { + name: "String" + } + }, + purchasePlan: { + serializedName: "properties.purchasePlan", + type: { + name: "Composite", + className: "PurchasePlan" + } + }, + familyId: { + readOnly: true, + serializedName: "properties.familyId", + type: { + name: "String" + } + }, + sourceUniqueId: { + readOnly: true, + serializedName: "properties.sourceUniqueId", + type: { + name: "String" + } + }, + encryption: { + readOnly: true, + serializedName: "properties.encryption", + type: { + name: "Composite", + className: "Encryption" + } + } + } + } +}; + export const PrivateLinkResourceListResult: msRest.CompositeMapper = { serializedName: "PrivateLinkResourceListResult", type: { @@ -8901,16 +9588,45 @@ export const UserArtifactSource: msRest.CompositeMapper = { name: "Composite", className: "UserArtifactSource", modelProperties: { - fileName: { + mediaLink: { required: true, - serializedName: "fileName", + serializedName: "mediaLink", type: { name: "String" } }, - mediaLink: { + defaultConfigurationLink: { + serializedName: "defaultConfigurationLink", + type: { + name: "String" + } + } + } + } +}; + +export const UserArtifactManage: msRest.CompositeMapper = { + serializedName: "UserArtifactManage", + type: { + name: "Composite", + className: "UserArtifactManage", + modelProperties: { + install: { required: true, - serializedName: "mediaLink", + serializedName: "install", + type: { + name: "String" + } + }, + remove: { + required: true, + serializedName: "remove", + type: { + name: "String" + } + }, + update: { + serializedName: "update", type: { name: "String" } @@ -8987,10 +9703,11 @@ export const GalleryApplicationVersionPublishingProfile: msRest.CompositeMapper className: "UserArtifactSource" } }, - contentType: { - serializedName: "contentType", + manageActions: { + serializedName: "manageActions", type: { - name: "String" + name: "Composite", + className: "UserArtifactManage" } }, enableHealthCheck: { @@ -10138,58 +10855,1056 @@ export const ContainerService: msRest.CompositeMapper = { customProfile: { serializedName: "properties.customProfile", type: { - name: "Composite", - className: "ContainerServiceCustomProfile" + name: "Composite", + className: "ContainerServiceCustomProfile" + } + }, + servicePrincipalProfile: { + serializedName: "properties.servicePrincipalProfile", + type: { + name: "Composite", + className: "ContainerServiceServicePrincipalProfile" + } + }, + masterProfile: { + required: true, + serializedName: "properties.masterProfile", + type: { + name: "Composite", + className: "ContainerServiceMasterProfile" + } + }, + agentPoolProfiles: { + required: true, + serializedName: "properties.agentPoolProfiles", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "ContainerServiceAgentPoolProfile" + } + } + } + }, + windowsProfile: { + serializedName: "properties.windowsProfile", + type: { + name: "Composite", + className: "ContainerServiceWindowsProfile" + } + }, + linuxProfile: { + required: true, + serializedName: "properties.linuxProfile", + type: { + name: "Composite", + className: "ContainerServiceLinuxProfile" + } + }, + diagnosticsProfile: { + serializedName: "properties.diagnosticsProfile", + type: { + name: "Composite", + className: "ContainerServiceDiagnosticsProfile" + } + } + } + } +}; + +export const InstanceSku: msRest.CompositeMapper = { + serializedName: "InstanceSku", + type: { + name: "Composite", + className: "InstanceSku", + modelProperties: { + name: { + readOnly: true, + serializedName: "name", + type: { + name: "String" + } + }, + tier: { + readOnly: true, + serializedName: "tier", + type: { + name: "String" + } + } + } + } +}; + +export const RoleInstanceNetworkProfile: msRest.CompositeMapper = { + serializedName: "RoleInstanceNetworkProfile", + type: { + name: "Composite", + className: "RoleInstanceNetworkProfile", + modelProperties: { + networkInterfaces: { + readOnly: true, + serializedName: "networkInterfaces", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "SubResource" + } + } + } + } + } + } +}; + +export const ResourceInstanceViewStatus: msRest.CompositeMapper = { + serializedName: "ResourceInstanceViewStatus", + type: { + name: "Composite", + className: "ResourceInstanceViewStatus", + modelProperties: { + code: { + readOnly: true, + serializedName: "code", + type: { + name: "String" + } + }, + displayStatus: { + readOnly: true, + serializedName: "displayStatus", + type: { + name: "String" + } + }, + message: { + readOnly: true, + serializedName: "message", + type: { + name: "String" + } + }, + time: { + readOnly: true, + serializedName: "time", + type: { + name: "DateTime" + } + }, + level: { + serializedName: "level", + type: { + name: "Enum", + allowedValues: [ + "Info", + "Warning", + "Error" + ] + } + } + } + } +}; + +export const RoleInstanceInstanceView: msRest.CompositeMapper = { + serializedName: "RoleInstanceInstanceView", + type: { + name: "Composite", + className: "RoleInstanceInstanceView", + modelProperties: { + platformUpdateDomain: { + readOnly: true, + serializedName: "platformUpdateDomain", + type: { + name: "Number" + } + }, + platformFaultDomain: { + readOnly: true, + serializedName: "platformFaultDomain", + type: { + name: "Number" + } + }, + privateId: { + readOnly: true, + serializedName: "privateId", + type: { + name: "String" + } + }, + statuses: { + readOnly: true, + serializedName: "statuses", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "ResourceInstanceViewStatus" + } + } + } + } + } + } +}; + +export const RoleInstanceProperties: msRest.CompositeMapper = { + serializedName: "RoleInstanceProperties", + type: { + name: "Composite", + className: "RoleInstanceProperties", + modelProperties: { + networkProfile: { + serializedName: "networkProfile", + type: { + name: "Composite", + className: "RoleInstanceNetworkProfile" + } + }, + instanceView: { + serializedName: "instanceView", + type: { + name: "Composite", + className: "RoleInstanceInstanceView" + } + } + } + } +}; + +export const RoleInstance: msRest.CompositeMapper = { + serializedName: "RoleInstance", + type: { + name: "Composite", + className: "RoleInstance", + modelProperties: { + id: { + readOnly: true, + serializedName: "id", + type: { + name: "String" + } + }, + name: { + readOnly: true, + serializedName: "name", + type: { + name: "String" + } + }, + type: { + readOnly: true, + serializedName: "type", + type: { + name: "String" + } + }, + location: { + readOnly: true, + serializedName: "location", + type: { + name: "String" + } + }, + tags: { + readOnly: true, + serializedName: "tags", + type: { + name: "Dictionary", + value: { + type: { + name: "String" + } + } + } + }, + sku: { + serializedName: "sku", + type: { + name: "Composite", + className: "InstanceSku" + } + }, + properties: { + serializedName: "properties", + type: { + name: "Composite", + className: "RoleInstanceProperties" + } + } + } + } +}; + +export const CloudServiceRoleSku: msRest.CompositeMapper = { + serializedName: "CloudServiceRoleSku", + type: { + name: "Composite", + className: "CloudServiceRoleSku", + modelProperties: { + name: { + serializedName: "name", + type: { + name: "String" + } + }, + tier: { + serializedName: "tier", + type: { + name: "String" + } + }, + capacity: { + serializedName: "capacity", + type: { + name: "Number" + } + } + } + } +}; + +export const CloudServiceRoleProperties: msRest.CompositeMapper = { + serializedName: "CloudServiceRoleProperties", + type: { + name: "Composite", + className: "CloudServiceRoleProperties", + modelProperties: { + uniqueId: { + readOnly: true, + serializedName: "uniqueId", + type: { + name: "String" + } + } + } + } +}; + +export const CloudServiceRole: msRest.CompositeMapper = { + serializedName: "CloudServiceRole", + type: { + name: "Composite", + className: "CloudServiceRole", + modelProperties: { + id: { + readOnly: true, + serializedName: "id", + type: { + name: "String" + } + }, + name: { + readOnly: true, + serializedName: "name", + type: { + name: "String" + } + }, + type: { + readOnly: true, + serializedName: "type", + type: { + name: "String" + } + }, + location: { + readOnly: true, + serializedName: "location", + type: { + name: "String" + } + }, + sku: { + serializedName: "sku", + type: { + name: "Composite", + className: "CloudServiceRoleSku" + } + }, + properties: { + serializedName: "properties", + type: { + name: "Composite", + className: "CloudServiceRoleProperties" + } + } + } + } +}; + +export const CloudServiceRoleProfileProperties: msRest.CompositeMapper = { + serializedName: "CloudServiceRoleProfileProperties", + type: { + name: "Composite", + className: "CloudServiceRoleProfileProperties", + modelProperties: { + name: { + serializedName: "name", + type: { + name: "String" + } + }, + sku: { + serializedName: "sku", + type: { + name: "Composite", + className: "CloudServiceRoleSku" + } + } + } + } +}; + +export const CloudServiceRoleProfile: msRest.CompositeMapper = { + serializedName: "CloudServiceRoleProfile", + type: { + name: "Composite", + className: "CloudServiceRoleProfile", + modelProperties: { + roles: { + serializedName: "roles", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "CloudServiceRoleProfileProperties" + } + } + } + } + } + } +}; + +export const CloudServiceVaultCertificate: msRest.CompositeMapper = { + serializedName: "CloudServiceVaultCertificate", + type: { + name: "Composite", + className: "CloudServiceVaultCertificate", + modelProperties: { + certificateUrl: { + serializedName: "certificateUrl", + type: { + name: "String" + } + } + } + } +}; + +export const CloudServiceVaultSecretGroup: msRest.CompositeMapper = { + serializedName: "CloudServiceVaultSecretGroup", + type: { + name: "Composite", + className: "CloudServiceVaultSecretGroup", + modelProperties: { + sourceVault: { + serializedName: "sourceVault", + type: { + name: "Composite", + className: "SubResource" + } + }, + vaultCertificates: { + serializedName: "vaultCertificates", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "CloudServiceVaultCertificate" + } + } + } + } + } + } +}; + +export const CloudServiceOsProfile: msRest.CompositeMapper = { + serializedName: "CloudServiceOsProfile", + type: { + name: "Composite", + className: "CloudServiceOsProfile", + modelProperties: { + secrets: { + serializedName: "secrets", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "CloudServiceVaultSecretGroup" + } + } + } + } + } + } +}; + +export const LoadBalancerFrontendIPConfigurationProperties: msRest.CompositeMapper = { + serializedName: "LoadBalancerFrontendIPConfigurationProperties", + type: { + name: "Composite", + className: "LoadBalancerFrontendIPConfigurationProperties", + modelProperties: { + publicIPAddress: { + serializedName: "publicIPAddress", + type: { + name: "Composite", + className: "SubResource" + } + }, + subnet: { + serializedName: "subnet", + type: { + name: "Composite", + className: "SubResource" + } + }, + privateIPAddress: { + serializedName: "privateIPAddress", + type: { + name: "String" + } + } + } + } +}; + +export const LoadBalancerFrontendIPConfiguration: msRest.CompositeMapper = { + serializedName: "LoadBalancerFrontendIPConfiguration", + type: { + name: "Composite", + className: "LoadBalancerFrontendIPConfiguration", + modelProperties: { + name: { + serializedName: "name", + type: { + name: "String" + } + }, + properties: { + serializedName: "properties", + type: { + name: "Composite", + className: "LoadBalancerFrontendIPConfigurationProperties" + } + } + } + } +}; + +export const LoadBalancerConfigurationProperties: msRest.CompositeMapper = { + serializedName: "LoadBalancerConfigurationProperties", + type: { + name: "Composite", + className: "LoadBalancerConfigurationProperties", + modelProperties: { + frontendIPConfigurations: { + serializedName: "frontendIPConfigurations", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "LoadBalancerFrontendIPConfiguration" + } + } + } + } + } + } +}; + +export const LoadBalancerConfiguration: msRest.CompositeMapper = { + serializedName: "LoadBalancerConfiguration", + type: { + name: "Composite", + className: "LoadBalancerConfiguration", + modelProperties: { + name: { + serializedName: "name", + type: { + name: "String" + } + }, + properties: { + serializedName: "properties", + type: { + name: "Composite", + className: "LoadBalancerConfigurationProperties" + } + } + } + } +}; + +export const CloudServiceNetworkProfile: msRest.CompositeMapper = { + serializedName: "CloudServiceNetworkProfile", + type: { + name: "Composite", + className: "CloudServiceNetworkProfile", + modelProperties: { + loadBalancerConfigurations: { + serializedName: "loadBalancerConfigurations", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "LoadBalancerConfiguration" + } + } + } + }, + swappableCloudService: { + serializedName: "swappableCloudService", + type: { + name: "Composite", + className: "SubResource" + } + } + } + } +}; + +export const CloudServiceVaultAndSecretReference: msRest.CompositeMapper = { + serializedName: "CloudServiceVaultAndSecretReference", + type: { + name: "Composite", + className: "CloudServiceVaultAndSecretReference", + modelProperties: { + sourceVault: { + serializedName: "sourceVault", + type: { + name: "Composite", + className: "SubResource" + } + }, + secretUrl: { + serializedName: "secretUrl", + type: { + name: "String" + } + } + } + } +}; + +export const CloudServiceExtensionProperties: msRest.CompositeMapper = { + serializedName: "CloudServiceExtensionProperties", + type: { + name: "Composite", + className: "CloudServiceExtensionProperties", + modelProperties: { + publisher: { + serializedName: "publisher", + type: { + name: "String" + } + }, + type: { + serializedName: "type", + type: { + name: "String" + } + }, + typeHandlerVersion: { + serializedName: "typeHandlerVersion", + type: { + name: "String" + } + }, + autoUpgradeMinorVersion: { + serializedName: "autoUpgradeMinorVersion", + type: { + name: "Boolean" + } + }, + settings: { + serializedName: "settings", + type: { + name: "String" + } + }, + protectedSettings: { + serializedName: "protectedSettings", + type: { + name: "String" + } + }, + protectedSettingsFromKeyVault: { + serializedName: "protectedSettingsFromKeyVault", + type: { + name: "Composite", + className: "CloudServiceVaultAndSecretReference" + } + }, + forceUpdateTag: { + serializedName: "forceUpdateTag", + type: { + name: "String" + } + }, + provisioningState: { + readOnly: true, + serializedName: "provisioningState", + type: { + name: "String" + } + }, + rolesAppliedTo: { + serializedName: "rolesAppliedTo", + type: { + name: "Sequence", + element: { + type: { + name: "String" + } + } + } + } + } + } +}; + +export const Extension: msRest.CompositeMapper = { + serializedName: "Extension", + type: { + name: "Composite", + className: "Extension", + modelProperties: { + name: { + serializedName: "name", + type: { + name: "String" + } + }, + properties: { + serializedName: "properties", + type: { + name: "Composite", + className: "CloudServiceExtensionProperties" + } + } + } + } +}; + +export const CloudServiceExtensionProfile: msRest.CompositeMapper = { + serializedName: "CloudServiceExtensionProfile", + type: { + name: "Composite", + className: "CloudServiceExtensionProfile", + modelProperties: { + extensions: { + serializedName: "extensions", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "Extension" + } + } + } + } + } + } +}; + +export const CloudServiceProperties: msRest.CompositeMapper = { + serializedName: "CloudServiceProperties", + type: { + name: "Composite", + className: "CloudServiceProperties", + modelProperties: { + packageUrl: { + serializedName: "packageUrl", + type: { + name: "String" + } + }, + configuration: { + serializedName: "configuration", + type: { + name: "String" + } + }, + configurationUrl: { + serializedName: "configurationUrl", + type: { + name: "String" + } + }, + startCloudService: { + serializedName: "startCloudService", + type: { + name: "Boolean" + } + }, + upgradeMode: { + serializedName: "upgradeMode", + type: { + name: "String" + } + }, + roleProfile: { + serializedName: "roleProfile", + type: { + name: "Composite", + className: "CloudServiceRoleProfile" + } + }, + osProfile: { + serializedName: "osProfile", + type: { + name: "Composite", + className: "CloudServiceOsProfile" + } + }, + networkProfile: { + serializedName: "networkProfile", + type: { + name: "Composite", + className: "CloudServiceNetworkProfile" + } + }, + extensionProfile: { + serializedName: "extensionProfile", + type: { + name: "Composite", + className: "CloudServiceExtensionProfile" + } + }, + provisioningState: { + readOnly: true, + serializedName: "provisioningState", + type: { + name: "String" + } + }, + uniqueId: { + readOnly: true, + serializedName: "uniqueId", + type: { + name: "String" + } + } + } + } +}; + +export const CloudService: msRest.CompositeMapper = { + serializedName: "CloudService", + type: { + name: "Composite", + className: "CloudService", + modelProperties: { + id: { + readOnly: true, + serializedName: "id", + type: { + name: "String" + } + }, + name: { + readOnly: true, + serializedName: "name", + type: { + name: "String" + } + }, + type: { + readOnly: true, + serializedName: "type", + type: { + name: "String" + } + }, + location: { + required: true, + serializedName: "location", + type: { + name: "String" + } + }, + tags: { + serializedName: "tags", + type: { + name: "Dictionary", + value: { + type: { + name: "String" + } + } + } + }, + properties: { + serializedName: "properties", + type: { + name: "Composite", + className: "CloudServiceProperties" + } + } + } + } +}; + +export const CloudServiceUpdate: msRest.CompositeMapper = { + serializedName: "CloudServiceUpdate", + type: { + name: "Composite", + className: "CloudServiceUpdate", + modelProperties: { + tags: { + serializedName: "tags", + type: { + name: "Dictionary", + value: { + type: { + name: "String" + } + } + } + } + } + } +}; + +export const StatusCodeCount: msRest.CompositeMapper = { + serializedName: "StatusCodeCount", + type: { + name: "Composite", + className: "StatusCodeCount", + modelProperties: { + code: { + readOnly: true, + serializedName: "code", + type: { + name: "String" + } + }, + count: { + readOnly: true, + serializedName: "count", + type: { + name: "Number" + } + } + } + } +}; + +export const InstanceViewStatusesSummary: msRest.CompositeMapper = { + serializedName: "InstanceViewStatusesSummary", + type: { + name: "Composite", + className: "InstanceViewStatusesSummary", + modelProperties: { + statusesSummary: { + readOnly: true, + serializedName: "statusesSummary", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "StatusCodeCount" + } + } } - }, - servicePrincipalProfile: { - serializedName: "properties.servicePrincipalProfile", + } + } + } +}; + +export const CloudServiceInstanceView: msRest.CompositeMapper = { + serializedName: "CloudServiceInstanceView", + type: { + name: "Composite", + className: "CloudServiceInstanceView", + modelProperties: { + roleInstance: { + serializedName: "roleInstance", type: { name: "Composite", - className: "ContainerServiceServicePrincipalProfile" + className: "InstanceViewStatusesSummary" } }, - masterProfile: { - required: true, - serializedName: "properties.masterProfile", + sdkVersion: { + readOnly: true, + serializedName: "sdkVersion", type: { - name: "Composite", - className: "ContainerServiceMasterProfile" + name: "String" } }, - agentPoolProfiles: { - required: true, - serializedName: "properties.agentPoolProfiles", + statuses: { + readOnly: true, + serializedName: "statuses", type: { name: "Sequence", element: { type: { name: "Composite", - className: "ContainerServiceAgentPoolProfile" + className: "ResourceInstanceViewStatus" } } } - }, - windowsProfile: { - serializedName: "properties.windowsProfile", + } + } + } +}; + +export const RoleInstances: msRest.CompositeMapper = { + serializedName: "RoleInstances", + type: { + name: "Composite", + className: "RoleInstances", + modelProperties: { + roleInstances: { + required: true, + serializedName: "roleInstances", type: { - name: "Composite", - className: "ContainerServiceWindowsProfile" + name: "Sequence", + element: { + type: { + name: "String" + } + } } - }, - linuxProfile: { - required: true, - serializedName: "properties.linuxProfile", + } + } + } +}; + +export const UpdateDomain: msRest.CompositeMapper = { + serializedName: "UpdateDomain", + type: { + name: "Composite", + className: "UpdateDomain", + modelProperties: { + id: { + readOnly: true, + serializedName: "id", type: { - name: "Composite", - className: "ContainerServiceLinuxProfile" + name: "String" } }, - diagnosticsProfile: { - serializedName: "properties.diagnosticsProfile", + name: { + readOnly: true, + serializedName: "name", type: { - name: "Composite", - className: "ContainerServiceDiagnosticsProfile" + name: "String" } } } @@ -10676,6 +12391,35 @@ export const RunCommandListResult: msRest.CompositeMapper = { } }; +export const VirtualMachineRunCommandsListResult: msRest.CompositeMapper = { + serializedName: "VirtualMachineRunCommandsListResult", + type: { + name: "Composite", + className: "VirtualMachineRunCommandsListResult", + modelProperties: { + value: { + required: true, + serializedName: "", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "VirtualMachineRunCommand" + } + } + } + }, + nextLink: { + serializedName: "nextLink", + type: { + name: "String" + } + } + } + } +}; + export const ResourceSkusResult: msRest.CompositeMapper = { serializedName: "ResourceSkusResult", type: { @@ -10849,6 +12593,63 @@ export const DiskAccessList: msRest.CompositeMapper = { } }; +export const PrivateEndpointConnectionListResult: msRest.CompositeMapper = { + serializedName: "PrivateEndpointConnectionListResult", + type: { + name: "Composite", + className: "PrivateEndpointConnectionListResult", + modelProperties: { + value: { + serializedName: "", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "PrivateEndpointConnection" + } + } + } + }, + nextLink: { + serializedName: "nextLink", + type: { + name: "String" + } + } + } + } +}; + +export const DiskRestorePointList: msRest.CompositeMapper = { + serializedName: "DiskRestorePointList", + type: { + name: "Composite", + className: "DiskRestorePointList", + modelProperties: { + value: { + required: true, + serializedName: "", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "DiskRestorePoint" + } + } + } + }, + nextLink: { + serializedName: "nextLink", + type: { + name: "String" + } + } + } + } +}; + export const GalleryList: msRest.CompositeMapper = { serializedName: "GalleryList", type: { @@ -11021,3 +12822,119 @@ export const ContainerServiceListResult: msRest.CompositeMapper = { } } }; + +export const RoleInstanceListResult: msRest.CompositeMapper = { + serializedName: "RoleInstanceListResult", + type: { + name: "Composite", + className: "RoleInstanceListResult", + modelProperties: { + value: { + required: true, + serializedName: "", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "RoleInstance" + } + } + } + }, + nextLink: { + serializedName: "nextLink", + type: { + name: "String" + } + } + } + } +}; + +export const CloudServiceRoleListResult: msRest.CompositeMapper = { + serializedName: "CloudServiceRoleListResult", + type: { + name: "Composite", + className: "CloudServiceRoleListResult", + modelProperties: { + value: { + required: true, + serializedName: "", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "CloudServiceRole" + } + } + } + }, + nextLink: { + serializedName: "nextLink", + type: { + name: "String" + } + } + } + } +}; + +export const CloudServiceListResult: msRest.CompositeMapper = { + serializedName: "CloudServiceListResult", + type: { + name: "Composite", + className: "CloudServiceListResult", + modelProperties: { + value: { + required: true, + serializedName: "", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "CloudService" + } + } + } + }, + nextLink: { + serializedName: "nextLink", + type: { + name: "String" + } + } + } + } +}; + +export const UpdateDomainListResult: msRest.CompositeMapper = { + serializedName: "UpdateDomainListResult", + type: { + name: "Composite", + className: "UpdateDomainListResult", + modelProperties: { + value: { + required: true, + serializedName: "", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "UpdateDomain" + } + } + } + }, + nextLink: { + serializedName: "nextLink", + type: { + name: "String" + } + } + } + } +}; diff --git a/sdk/compute/arm-compute/src/models/operationsMappers.ts b/sdk/compute/arm-compute/src/models/operationsMappers.ts index 6ba728fec8be..6b80c42b2d21 100644 --- a/sdk/compute/arm-compute/src/models/operationsMappers.ts +++ b/sdk/compute/arm-compute/src/models/operationsMappers.ts @@ -1,6 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for license information. + * 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. diff --git a/sdk/compute/arm-compute/src/models/parameters.ts b/sdk/compute/arm-compute/src/models/parameters.ts index 30115323b65c..20ca080d3cd0 100644 --- a/sdk/compute/arm-compute/src/models/parameters.ts +++ b/sdk/compute/arm-compute/src/models/parameters.ts @@ -1,7 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. + * 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 @@ -50,7 +49,7 @@ export const apiVersion2: msRest.OperationQueryParameter = { required: true, isConstant: true, serializedName: "api-version", - defaultValue: '2020-06-30', + defaultValue: '2020-09-30', type: { name: "String" } @@ -80,6 +79,18 @@ export const apiVersion4: msRest.OperationQueryParameter = { } } }; +export const apiVersion5: msRest.OperationQueryParameter = { + parameterPath: "apiVersion", + mapper: { + required: true, + isConstant: true, + serializedName: "api-version", + defaultValue: '2020-10-01-preview', + type: { + name: "String" + } + } +}; export const availabilitySetName: msRest.OperationURLParameter = { parameterPath: "availabilitySetName", mapper: { @@ -90,6 +101,16 @@ export const availabilitySetName: msRest.OperationURLParameter = { } } }; +export const cloudServiceName: msRest.OperationURLParameter = { + parameterPath: "cloudServiceName", + mapper: { + required: true, + serializedName: "cloudServiceName", + type: { + name: "String" + } + } +}; export const commandId: msRest.OperationURLParameter = { parameterPath: "commandId", mapper: { @@ -140,6 +161,16 @@ export const diskName: msRest.OperationURLParameter = { } } }; +export const diskRestorePointName: msRest.OperationURLParameter = { + parameterPath: "diskRestorePointName", + mapper: { + required: true, + serializedName: "diskRestorePointName", + type: { + name: "String" + } + } +}; export const expand0: msRest.OperationQueryParameter = { parameterPath: [ "options", @@ -179,6 +210,18 @@ export const filter: msRest.OperationQueryParameter = { } } }; +export const forceDeletion: msRest.OperationQueryParameter = { + parameterPath: [ + "options", + "forceDeletion" + ], + mapper: { + serializedName: "forceDeletion", + type: { + name: "Boolean" + } + } +}; export const galleryApplicationName: msRest.OperationURLParameter = { parameterPath: "galleryApplicationName", mapper: { @@ -347,6 +390,16 @@ export const platformUpdateDomain: msRest.OperationQueryParameter = { } } }; +export const privateEndpointConnectionName: msRest.OperationURLParameter = { + parameterPath: "privateEndpointConnectionName", + mapper: { + required: true, + serializedName: "privateEndpointConnectionName", + type: { + name: "String" + } + } +}; export const proximityPlacementGroupName: msRest.OperationURLParameter = { parameterPath: "proximityPlacementGroupName", mapper: { @@ -377,6 +430,46 @@ export const resourceGroupName: msRest.OperationURLParameter = { } } }; +export const restorePointCollectionName: msRest.OperationURLParameter = { + parameterPath: "restorePointCollectionName", + mapper: { + required: true, + serializedName: "restorePointCollectionName", + type: { + name: "String" + } + } +}; +export const roleInstanceName: msRest.OperationURLParameter = { + parameterPath: "roleInstanceName", + mapper: { + required: true, + serializedName: "roleInstanceName", + type: { + name: "String" + } + } +}; +export const roleName: msRest.OperationURLParameter = { + parameterPath: "roleName", + mapper: { + required: true, + serializedName: "roleName", + type: { + name: "String" + } + } +}; +export const runCommandName: msRest.OperationURLParameter = { + parameterPath: "runCommandName", + mapper: { + required: true, + serializedName: "runCommandName", + type: { + name: "String" + } + } +}; export const sasUriExpirationTimeInMinutes: msRest.OperationQueryParameter = { parameterPath: [ "options", @@ -488,6 +581,16 @@ export const type: msRest.OperationURLParameter = { } } }; +export const updateDomain: msRest.OperationURLParameter = { + parameterPath: "updateDomain", + mapper: { + required: true, + serializedName: "updateDomain", + type: { + name: "Number" + } + } +}; export const version: msRest.OperationURLParameter = { parameterPath: "version", mapper: { @@ -528,6 +631,16 @@ export const vmName: msRest.OperationURLParameter = { } } }; +export const vmRestorePointName: msRest.OperationURLParameter = { + parameterPath: "vmRestorePointName", + mapper: { + required: true, + serializedName: "vmRestorePointName", + type: { + name: "String" + } + } +}; export const vmScaleSetName: msRest.OperationURLParameter = { parameterPath: "vmScaleSetName", mapper: { diff --git a/sdk/compute/arm-compute/src/models/proximityPlacementGroupsMappers.ts b/sdk/compute/arm-compute/src/models/proximityPlacementGroupsMappers.ts index c95b98da90af..9530814e027c 100644 --- a/sdk/compute/arm-compute/src/models/proximityPlacementGroupsMappers.ts +++ b/sdk/compute/arm-compute/src/models/proximityPlacementGroupsMappers.ts @@ -1,6 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for license information. + * 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. @@ -23,6 +23,18 @@ export { BootDiagnostics, BootDiagnosticsInstanceView, CloudError, + CloudService, + CloudServiceExtensionProfile, + CloudServiceExtensionProperties, + CloudServiceNetworkProfile, + CloudServiceOsProfile, + CloudServiceProperties, + CloudServiceRoleProfile, + CloudServiceRoleProfileProperties, + CloudServiceRoleSku, + CloudServiceVaultAndSecretReference, + CloudServiceVaultCertificate, + CloudServiceVaultSecretGroup, ContainerService, ContainerServiceAgentPoolProfile, ContainerServiceCustomProfile, @@ -65,6 +77,8 @@ export { EncryptionSetIdentity, EncryptionSettingsCollection, EncryptionSettingsElement, + ExtendedLocation, + Extension, Gallery, GalleryApplication, GalleryApplicationUpdate, @@ -97,12 +111,17 @@ export { ImageUpdate, InnerError, InstanceViewStatus, + KeyForDiskEncryptionSet, KeyVaultAndKeyReference, KeyVaultAndSecretReference, KeyVaultKeyReference, KeyVaultSecretReference, LastPatchInstallationSummary, LinuxConfiguration, + LoadBalancerConfiguration, + LoadBalancerConfigurationProperties, + LoadBalancerFrontendIPConfiguration, + LoadBalancerFrontendIPConfigurationProperties, MaintenanceRedeployStatus, ManagedDiskParameters, NetworkInterfaceReference, @@ -129,6 +148,7 @@ export { RollingUpgradeProgressInfo, RollingUpgradeRunningStatus, RollingUpgradeStatusInfo, + RunCommandInputParameter, ScaleInPolicy, ScheduledEventsProfile, SecurityProfile, @@ -150,6 +170,7 @@ export { UpdateResource, UpdateResourceDefinition, UpgradePolicy, + UserArtifactManage, UserArtifactSource, VaultCertificate, VaultSecretGroup, @@ -169,6 +190,10 @@ export { VirtualMachineImageResource, VirtualMachineInstanceView, VirtualMachinePatchStatus, + VirtualMachineRunCommand, + VirtualMachineRunCommandInstanceView, + VirtualMachineRunCommandScriptSource, + VirtualMachineRunCommandUpdate, VirtualMachineScaleSet, VirtualMachineScaleSetDataDisk, VirtualMachineScaleSetExtension, @@ -197,6 +222,8 @@ export { VirtualMachineScaleSetUpdateStorageProfile, VirtualMachineScaleSetUpdateVMProfile, VirtualMachineScaleSetVM, + VirtualMachineScaleSetVMExtension, + VirtualMachineScaleSetVMExtensionUpdate, VirtualMachineScaleSetVMInstanceView, VirtualMachineScaleSetVMNetworkProfileConfiguration, VirtualMachineScaleSetVMProfile, diff --git a/sdk/compute/arm-compute/src/models/resourceSkusMappers.ts b/sdk/compute/arm-compute/src/models/resourceSkusMappers.ts index ff328d2b9d4d..2f02dae60cc5 100644 --- a/sdk/compute/arm-compute/src/models/resourceSkusMappers.ts +++ b/sdk/compute/arm-compute/src/models/resourceSkusMappers.ts @@ -1,6 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for license information. + * 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. diff --git a/sdk/compute/arm-compute/src/models/snapshotsMappers.ts b/sdk/compute/arm-compute/src/models/snapshotsMappers.ts index b3701a644ec9..a8f4daeb1094 100644 --- a/sdk/compute/arm-compute/src/models/snapshotsMappers.ts +++ b/sdk/compute/arm-compute/src/models/snapshotsMappers.ts @@ -1,6 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for license information. + * 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. @@ -23,6 +23,18 @@ export { BootDiagnostics, BootDiagnosticsInstanceView, CloudError, + CloudService, + CloudServiceExtensionProfile, + CloudServiceExtensionProperties, + CloudServiceNetworkProfile, + CloudServiceOsProfile, + CloudServiceProperties, + CloudServiceRoleProfile, + CloudServiceRoleProfileProperties, + CloudServiceRoleSku, + CloudServiceVaultAndSecretReference, + CloudServiceVaultCertificate, + CloudServiceVaultSecretGroup, ContainerService, ContainerServiceAgentPoolProfile, ContainerServiceCustomProfile, @@ -63,6 +75,8 @@ export { EncryptionSetIdentity, EncryptionSettingsCollection, EncryptionSettingsElement, + ExtendedLocation, + Extension, Gallery, GalleryApplication, GalleryApplicationUpdate, @@ -95,12 +109,17 @@ export { ImageStorageProfile, InnerError, InstanceViewStatus, + KeyForDiskEncryptionSet, KeyVaultAndKeyReference, KeyVaultAndSecretReference, KeyVaultKeyReference, KeyVaultSecretReference, LastPatchInstallationSummary, LinuxConfiguration, + LoadBalancerConfiguration, + LoadBalancerConfigurationProperties, + LoadBalancerFrontendIPConfiguration, + LoadBalancerFrontendIPConfigurationProperties, MaintenanceRedeployStatus, ManagedDiskParameters, NetworkInterfaceReference, @@ -125,6 +144,7 @@ export { RollingUpgradeProgressInfo, RollingUpgradeRunningStatus, RollingUpgradeStatusInfo, + RunCommandInputParameter, ScaleInPolicy, ScheduledEventsProfile, SecurityProfile, @@ -146,6 +166,7 @@ export { TerminateNotificationProfile, UpdateResourceDefinition, UpgradePolicy, + UserArtifactManage, UserArtifactSource, VaultCertificate, VaultSecretGroup, @@ -164,6 +185,9 @@ export { VirtualMachineImageResource, VirtualMachineInstanceView, VirtualMachinePatchStatus, + VirtualMachineRunCommand, + VirtualMachineRunCommandInstanceView, + VirtualMachineRunCommandScriptSource, VirtualMachineScaleSet, VirtualMachineScaleSetDataDisk, VirtualMachineScaleSetExtension, @@ -186,6 +210,8 @@ export { VirtualMachineScaleSetUpdateNetworkConfiguration, VirtualMachineScaleSetUpdatePublicIPAddressConfiguration, VirtualMachineScaleSetVM, + VirtualMachineScaleSetVMExtension, + VirtualMachineScaleSetVMExtensionUpdate, VirtualMachineScaleSetVMInstanceView, VirtualMachineScaleSetVMNetworkProfileConfiguration, VirtualMachineScaleSetVMProfile, diff --git a/sdk/compute/arm-compute/src/models/sshPublicKeysMappers.ts b/sdk/compute/arm-compute/src/models/sshPublicKeysMappers.ts index 634c39bf3870..4e21cd2f2ccf 100644 --- a/sdk/compute/arm-compute/src/models/sshPublicKeysMappers.ts +++ b/sdk/compute/arm-compute/src/models/sshPublicKeysMappers.ts @@ -1,6 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for license information. + * 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. @@ -23,6 +23,18 @@ export { BootDiagnostics, BootDiagnosticsInstanceView, CloudError, + CloudService, + CloudServiceExtensionProfile, + CloudServiceExtensionProperties, + CloudServiceNetworkProfile, + CloudServiceOsProfile, + CloudServiceProperties, + CloudServiceRoleProfile, + CloudServiceRoleProfileProperties, + CloudServiceRoleSku, + CloudServiceVaultAndSecretReference, + CloudServiceVaultCertificate, + CloudServiceVaultSecretGroup, ContainerService, ContainerServiceAgentPoolProfile, ContainerServiceCustomProfile, @@ -65,6 +77,8 @@ export { EncryptionSetIdentity, EncryptionSettingsCollection, EncryptionSettingsElement, + ExtendedLocation, + Extension, Gallery, GalleryApplication, GalleryApplicationUpdate, @@ -97,12 +111,17 @@ export { ImageUpdate, InnerError, InstanceViewStatus, + KeyForDiskEncryptionSet, KeyVaultAndKeyReference, KeyVaultAndSecretReference, KeyVaultKeyReference, KeyVaultSecretReference, LastPatchInstallationSummary, LinuxConfiguration, + LoadBalancerConfiguration, + LoadBalancerConfigurationProperties, + LoadBalancerFrontendIPConfiguration, + LoadBalancerFrontendIPConfigurationProperties, MaintenanceRedeployStatus, ManagedDiskParameters, NetworkInterfaceReference, @@ -128,6 +147,7 @@ export { RollingUpgradeProgressInfo, RollingUpgradeRunningStatus, RollingUpgradeStatusInfo, + RunCommandInputParameter, ScaleInPolicy, ScheduledEventsProfile, SecurityProfile, @@ -151,6 +171,7 @@ export { UpdateResource, UpdateResourceDefinition, UpgradePolicy, + UserArtifactManage, UserArtifactSource, VaultCertificate, VaultSecretGroup, @@ -170,6 +191,10 @@ export { VirtualMachineImageResource, VirtualMachineInstanceView, VirtualMachinePatchStatus, + VirtualMachineRunCommand, + VirtualMachineRunCommandInstanceView, + VirtualMachineRunCommandScriptSource, + VirtualMachineRunCommandUpdate, VirtualMachineScaleSet, VirtualMachineScaleSetDataDisk, VirtualMachineScaleSetExtension, @@ -198,6 +223,8 @@ export { VirtualMachineScaleSetUpdateStorageProfile, VirtualMachineScaleSetUpdateVMProfile, VirtualMachineScaleSetVM, + VirtualMachineScaleSetVMExtension, + VirtualMachineScaleSetVMExtensionUpdate, VirtualMachineScaleSetVMInstanceView, VirtualMachineScaleSetVMNetworkProfileConfiguration, VirtualMachineScaleSetVMProfile, diff --git a/sdk/compute/arm-compute/src/models/usageOperationsMappers.ts b/sdk/compute/arm-compute/src/models/usageOperationsMappers.ts index 22de4a8bc142..2bb344ff0880 100644 --- a/sdk/compute/arm-compute/src/models/usageOperationsMappers.ts +++ b/sdk/compute/arm-compute/src/models/usageOperationsMappers.ts @@ -1,6 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for license information. + * 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. diff --git a/sdk/compute/arm-compute/src/models/virtualMachineExtensionImagesMappers.ts b/sdk/compute/arm-compute/src/models/virtualMachineExtensionImagesMappers.ts index 94265b583cca..8cf0961865a9 100644 --- a/sdk/compute/arm-compute/src/models/virtualMachineExtensionImagesMappers.ts +++ b/sdk/compute/arm-compute/src/models/virtualMachineExtensionImagesMappers.ts @@ -1,6 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for license information. + * 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. @@ -22,6 +22,18 @@ export { BootDiagnostics, BootDiagnosticsInstanceView, CloudError, + CloudService, + CloudServiceExtensionProfile, + CloudServiceExtensionProperties, + CloudServiceNetworkProfile, + CloudServiceOsProfile, + CloudServiceProperties, + CloudServiceRoleProfile, + CloudServiceRoleProfileProperties, + CloudServiceRoleSku, + CloudServiceVaultAndSecretReference, + CloudServiceVaultCertificate, + CloudServiceVaultSecretGroup, ContainerService, ContainerServiceAgentPoolProfile, ContainerServiceCustomProfile, @@ -62,6 +74,8 @@ export { EncryptionSetIdentity, EncryptionSettingsCollection, EncryptionSettingsElement, + ExtendedLocation, + Extension, Gallery, GalleryApplication, GalleryApplicationUpdate, @@ -93,12 +107,17 @@ export { ImageStorageProfile, InnerError, InstanceViewStatus, + KeyForDiskEncryptionSet, KeyVaultAndKeyReference, KeyVaultAndSecretReference, KeyVaultKeyReference, KeyVaultSecretReference, LastPatchInstallationSummary, LinuxConfiguration, + LoadBalancerConfiguration, + LoadBalancerConfigurationProperties, + LoadBalancerFrontendIPConfiguration, + LoadBalancerFrontendIPConfigurationProperties, MaintenanceRedeployStatus, ManagedDiskParameters, NetworkInterfaceReference, @@ -123,6 +142,7 @@ export { RollingUpgradeProgressInfo, RollingUpgradeRunningStatus, RollingUpgradeStatusInfo, + RunCommandInputParameter, ScaleInPolicy, ScheduledEventsProfile, SecurityProfile, @@ -142,6 +162,7 @@ export { TerminateNotificationProfile, UpdateResourceDefinition, UpgradePolicy, + UserArtifactManage, UserArtifactSource, VaultCertificate, VaultSecretGroup, @@ -160,6 +181,9 @@ export { VirtualMachineImageResource, VirtualMachineInstanceView, VirtualMachinePatchStatus, + VirtualMachineRunCommand, + VirtualMachineRunCommandInstanceView, + VirtualMachineRunCommandScriptSource, VirtualMachineScaleSet, VirtualMachineScaleSetDataDisk, VirtualMachineScaleSetExtension, @@ -182,6 +206,8 @@ export { VirtualMachineScaleSetUpdateNetworkConfiguration, VirtualMachineScaleSetUpdatePublicIPAddressConfiguration, VirtualMachineScaleSetVM, + VirtualMachineScaleSetVMExtension, + VirtualMachineScaleSetVMExtensionUpdate, VirtualMachineScaleSetVMInstanceView, VirtualMachineScaleSetVMNetworkProfileConfiguration, VirtualMachineScaleSetVMProfile, diff --git a/sdk/compute/arm-compute/src/models/virtualMachineExtensionsMappers.ts b/sdk/compute/arm-compute/src/models/virtualMachineExtensionsMappers.ts index 6299932f5dcc..f57afe7b27dd 100644 --- a/sdk/compute/arm-compute/src/models/virtualMachineExtensionsMappers.ts +++ b/sdk/compute/arm-compute/src/models/virtualMachineExtensionsMappers.ts @@ -1,6 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for license information. + * 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. @@ -23,6 +23,18 @@ export { BootDiagnostics, BootDiagnosticsInstanceView, CloudError, + CloudService, + CloudServiceExtensionProfile, + CloudServiceExtensionProperties, + CloudServiceNetworkProfile, + CloudServiceOsProfile, + CloudServiceProperties, + CloudServiceRoleProfile, + CloudServiceRoleProfileProperties, + CloudServiceRoleSku, + CloudServiceVaultAndSecretReference, + CloudServiceVaultCertificate, + CloudServiceVaultSecretGroup, ContainerService, ContainerServiceAgentPoolProfile, ContainerServiceCustomProfile, @@ -65,6 +77,8 @@ export { EncryptionSetIdentity, EncryptionSettingsCollection, EncryptionSettingsElement, + ExtendedLocation, + Extension, Gallery, GalleryApplication, GalleryApplicationUpdate, @@ -97,12 +111,17 @@ export { ImageUpdate, InnerError, InstanceViewStatus, + KeyForDiskEncryptionSet, KeyVaultAndKeyReference, KeyVaultAndSecretReference, KeyVaultKeyReference, KeyVaultSecretReference, LastPatchInstallationSummary, LinuxConfiguration, + LoadBalancerConfiguration, + LoadBalancerConfigurationProperties, + LoadBalancerFrontendIPConfiguration, + LoadBalancerFrontendIPConfigurationProperties, MaintenanceRedeployStatus, ManagedDiskParameters, NetworkInterfaceReference, @@ -128,6 +147,7 @@ export { RollingUpgradeProgressInfo, RollingUpgradeRunningStatus, RollingUpgradeStatusInfo, + RunCommandInputParameter, ScaleInPolicy, ScheduledEventsProfile, SecurityProfile, @@ -149,6 +169,7 @@ export { UpdateResource, UpdateResourceDefinition, UpgradePolicy, + UserArtifactManage, UserArtifactSource, VaultCertificate, VaultSecretGroup, @@ -169,6 +190,10 @@ export { VirtualMachineImageResource, VirtualMachineInstanceView, VirtualMachinePatchStatus, + VirtualMachineRunCommand, + VirtualMachineRunCommandInstanceView, + VirtualMachineRunCommandScriptSource, + VirtualMachineRunCommandUpdate, VirtualMachineScaleSet, VirtualMachineScaleSetDataDisk, VirtualMachineScaleSetExtension, @@ -197,6 +222,8 @@ export { VirtualMachineScaleSetUpdateStorageProfile, VirtualMachineScaleSetUpdateVMProfile, VirtualMachineScaleSetVM, + VirtualMachineScaleSetVMExtension, + VirtualMachineScaleSetVMExtensionUpdate, VirtualMachineScaleSetVMInstanceView, VirtualMachineScaleSetVMNetworkProfileConfiguration, VirtualMachineScaleSetVMProfile, diff --git a/sdk/compute/arm-compute/src/models/virtualMachineImagesMappers.ts b/sdk/compute/arm-compute/src/models/virtualMachineImagesMappers.ts index 94265b583cca..8cf0961865a9 100644 --- a/sdk/compute/arm-compute/src/models/virtualMachineImagesMappers.ts +++ b/sdk/compute/arm-compute/src/models/virtualMachineImagesMappers.ts @@ -1,6 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for license information. + * 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. @@ -22,6 +22,18 @@ export { BootDiagnostics, BootDiagnosticsInstanceView, CloudError, + CloudService, + CloudServiceExtensionProfile, + CloudServiceExtensionProperties, + CloudServiceNetworkProfile, + CloudServiceOsProfile, + CloudServiceProperties, + CloudServiceRoleProfile, + CloudServiceRoleProfileProperties, + CloudServiceRoleSku, + CloudServiceVaultAndSecretReference, + CloudServiceVaultCertificate, + CloudServiceVaultSecretGroup, ContainerService, ContainerServiceAgentPoolProfile, ContainerServiceCustomProfile, @@ -62,6 +74,8 @@ export { EncryptionSetIdentity, EncryptionSettingsCollection, EncryptionSettingsElement, + ExtendedLocation, + Extension, Gallery, GalleryApplication, GalleryApplicationUpdate, @@ -93,12 +107,17 @@ export { ImageStorageProfile, InnerError, InstanceViewStatus, + KeyForDiskEncryptionSet, KeyVaultAndKeyReference, KeyVaultAndSecretReference, KeyVaultKeyReference, KeyVaultSecretReference, LastPatchInstallationSummary, LinuxConfiguration, + LoadBalancerConfiguration, + LoadBalancerConfigurationProperties, + LoadBalancerFrontendIPConfiguration, + LoadBalancerFrontendIPConfigurationProperties, MaintenanceRedeployStatus, ManagedDiskParameters, NetworkInterfaceReference, @@ -123,6 +142,7 @@ export { RollingUpgradeProgressInfo, RollingUpgradeRunningStatus, RollingUpgradeStatusInfo, + RunCommandInputParameter, ScaleInPolicy, ScheduledEventsProfile, SecurityProfile, @@ -142,6 +162,7 @@ export { TerminateNotificationProfile, UpdateResourceDefinition, UpgradePolicy, + UserArtifactManage, UserArtifactSource, VaultCertificate, VaultSecretGroup, @@ -160,6 +181,9 @@ export { VirtualMachineImageResource, VirtualMachineInstanceView, VirtualMachinePatchStatus, + VirtualMachineRunCommand, + VirtualMachineRunCommandInstanceView, + VirtualMachineRunCommandScriptSource, VirtualMachineScaleSet, VirtualMachineScaleSetDataDisk, VirtualMachineScaleSetExtension, @@ -182,6 +206,8 @@ export { VirtualMachineScaleSetUpdateNetworkConfiguration, VirtualMachineScaleSetUpdatePublicIPAddressConfiguration, VirtualMachineScaleSetVM, + VirtualMachineScaleSetVMExtension, + VirtualMachineScaleSetVMExtensionUpdate, VirtualMachineScaleSetVMInstanceView, VirtualMachineScaleSetVMNetworkProfileConfiguration, VirtualMachineScaleSetVMProfile, diff --git a/sdk/compute/arm-compute/src/models/virtualMachineRunCommandsMappers.ts b/sdk/compute/arm-compute/src/models/virtualMachineRunCommandsMappers.ts index 2bcbd6209547..deb8b4be95ec 100644 --- a/sdk/compute/arm-compute/src/models/virtualMachineRunCommandsMappers.ts +++ b/sdk/compute/arm-compute/src/models/virtualMachineRunCommandsMappers.ts @@ -1,15 +1,239 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for license information. + * 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. */ export { + AdditionalCapabilities, + AdditionalUnattendContent, + ApiEntityReference, + ApiError, + ApiErrorBase, + AutomaticOSUpgradePolicy, + AutomaticOSUpgradeProperties, + AutomaticRepairsPolicy, + AvailabilitySet, + AvailabilitySetUpdate, + AvailablePatchSummary, + BaseResource, + BillingProfile, + BootDiagnostics, + BootDiagnosticsInstanceView, CloudError, + CloudService, + CloudServiceExtensionProfile, + CloudServiceExtensionProperties, + CloudServiceNetworkProfile, + CloudServiceOsProfile, + CloudServiceProperties, + CloudServiceRoleProfile, + CloudServiceRoleProfileProperties, + CloudServiceRoleSku, + CloudServiceVaultAndSecretReference, + CloudServiceVaultCertificate, + CloudServiceVaultSecretGroup, + ContainerService, + ContainerServiceAgentPoolProfile, + ContainerServiceCustomProfile, + ContainerServiceDiagnosticsProfile, + ContainerServiceLinuxProfile, + ContainerServiceMasterProfile, + ContainerServiceOrchestratorProfile, + ContainerServiceServicePrincipalProfile, + ContainerServiceSshConfiguration, + ContainerServiceSshPublicKey, + ContainerServiceVMDiagnostics, + ContainerServiceWindowsProfile, + CreationData, + DataDisk, + DataDiskImage, + DataDiskImageEncryption, + DedicatedHost, + DedicatedHostAllocatableVM, + DedicatedHostAvailableCapacity, + DedicatedHostGroup, + DedicatedHostGroupInstanceView, + DedicatedHostGroupUpdate, + DedicatedHostInstanceView, + DedicatedHostInstanceViewWithName, + DedicatedHostUpdate, + DiagnosticsProfile, + DiffDiskSettings, + Disallowed, + DisallowedConfiguration, + Disk, + DiskAccess, + DiskEncryptionSet, + DiskEncryptionSetParameters, + DiskEncryptionSettings, + DiskImageEncryption, + DiskInstanceView, + DiskSku, + Encryption, + EncryptionImages, + EncryptionSetIdentity, + EncryptionSettingsCollection, + EncryptionSettingsElement, + ExtendedLocation, + Extension, + Gallery, + GalleryApplication, + GalleryApplicationUpdate, + GalleryApplicationVersion, + GalleryApplicationVersionPublishingProfile, + GalleryApplicationVersionUpdate, + GalleryArtifactPublishingProfileBase, + GalleryArtifactVersionSource, + GalleryDataDiskImage, + GalleryDiskImage, + GalleryIdentifier, + GalleryImage, + GalleryImageIdentifier, + GalleryImageUpdate, + GalleryImageVersion, + GalleryImageVersionPublishingProfile, + GalleryImageVersionStorageProfile, + GalleryImageVersionUpdate, + GalleryOSDiskImage, + GalleryUpdate, + HardwareProfile, + Image, + ImageDataDisk, + ImageDisk, + ImageDiskReference, + ImageOSDisk, + ImagePurchasePlan, + ImageReference, + ImageStorageProfile, + ImageUpdate, + InnerError, + InstanceViewStatus, + KeyForDiskEncryptionSet, + KeyVaultAndKeyReference, + KeyVaultAndSecretReference, + KeyVaultKeyReference, + KeyVaultSecretReference, + LastPatchInstallationSummary, + LinuxConfiguration, + LoadBalancerConfiguration, + LoadBalancerConfigurationProperties, + LoadBalancerFrontendIPConfiguration, + LoadBalancerFrontendIPConfigurationProperties, + MaintenanceRedeployStatus, + ManagedDiskParameters, + NetworkInterfaceReference, + NetworkProfile, + OSDisk, + OSDiskImage, + OSDiskImageEncryption, + OSProfile, + PatchSettings, + Plan, + PrivateEndpoint, + PrivateEndpointConnection, + PrivateLinkServiceConnectionState, + ProximityPlacementGroup, + ProximityPlacementGroupUpdate, + PurchasePlan, + RecommendedMachineConfiguration, + RegionalReplicationStatus, + ReplicationStatus, + Resource, + ResourceRange, + RollingUpgradePolicy, + RollingUpgradeProgressInfo, + RollingUpgradeRunningStatus, + RollingUpgradeStatusInfo, RunCommandDocument, RunCommandDocumentBase, + RunCommandInputParameter, RunCommandListResult, - RunCommandParameterDefinition + RunCommandParameterDefinition, + ScaleInPolicy, + ScheduledEventsProfile, + SecurityProfile, + ShareInfoElement, + Sku, + Snapshot, + SnapshotSku, + SourceVault, + SshConfiguration, + SshPublicKey, + SshPublicKeyResource, + SshPublicKeyUpdateResource, + StorageProfile, + SubResource, + SubResourceReadOnly, + SubResourceWithColocationStatus, + TargetRegion, + TerminateNotificationProfile, + UpdateResource, + UpdateResourceDefinition, + UpgradePolicy, + UserArtifactManage, + UserArtifactSource, + VaultCertificate, + VaultSecretGroup, + VirtualHardDisk, + VirtualMachine, + VirtualMachineAgentInstanceView, + VirtualMachineCaptureResult, + VirtualMachineExtension, + VirtualMachineExtensionHandlerInstanceView, + VirtualMachineExtensionImage, + VirtualMachineExtensionInstanceView, + VirtualMachineExtensionUpdate, + VirtualMachineHealthStatus, + VirtualMachineIdentity, + VirtualMachineIdentityUserAssignedIdentitiesValue, + VirtualMachineImage, + VirtualMachineImageResource, + VirtualMachineInstanceView, + VirtualMachinePatchStatus, + VirtualMachineRunCommand, + VirtualMachineRunCommandInstanceView, + VirtualMachineRunCommandScriptSource, + VirtualMachineRunCommandsListResult, + VirtualMachineRunCommandUpdate, + VirtualMachineScaleSet, + VirtualMachineScaleSetDataDisk, + VirtualMachineScaleSetExtension, + VirtualMachineScaleSetExtensionProfile, + VirtualMachineScaleSetExtensionUpdate, + VirtualMachineScaleSetIdentity, + VirtualMachineScaleSetIdentityUserAssignedIdentitiesValue, + VirtualMachineScaleSetIPConfiguration, + VirtualMachineScaleSetIpTag, + VirtualMachineScaleSetManagedDiskParameters, + VirtualMachineScaleSetNetworkConfiguration, + VirtualMachineScaleSetNetworkConfigurationDnsSettings, + VirtualMachineScaleSetNetworkProfile, + VirtualMachineScaleSetOSDisk, + VirtualMachineScaleSetOSProfile, + VirtualMachineScaleSetPublicIPAddressConfiguration, + VirtualMachineScaleSetPublicIPAddressConfigurationDnsSettings, + VirtualMachineScaleSetStorageProfile, + VirtualMachineScaleSetUpdate, + VirtualMachineScaleSetUpdateIPConfiguration, + VirtualMachineScaleSetUpdateNetworkConfiguration, + VirtualMachineScaleSetUpdateNetworkProfile, + VirtualMachineScaleSetUpdateOSDisk, + VirtualMachineScaleSetUpdateOSProfile, + VirtualMachineScaleSetUpdatePublicIPAddressConfiguration, + VirtualMachineScaleSetUpdateStorageProfile, + VirtualMachineScaleSetUpdateVMProfile, + VirtualMachineScaleSetVM, + VirtualMachineScaleSetVMExtension, + VirtualMachineScaleSetVMExtensionUpdate, + VirtualMachineScaleSetVMInstanceView, + VirtualMachineScaleSetVMNetworkProfileConfiguration, + VirtualMachineScaleSetVMProfile, + VirtualMachineScaleSetVMProtectionPolicy, + VirtualMachineUpdate, + WindowsConfiguration, + WinRMConfiguration, + WinRMListener } from "../models/mappers"; diff --git a/sdk/compute/arm-compute/src/models/virtualMachineScaleSetExtensionsMappers.ts b/sdk/compute/arm-compute/src/models/virtualMachineScaleSetExtensionsMappers.ts index b97e1690a27a..2933a5459057 100644 --- a/sdk/compute/arm-compute/src/models/virtualMachineScaleSetExtensionsMappers.ts +++ b/sdk/compute/arm-compute/src/models/virtualMachineScaleSetExtensionsMappers.ts @@ -1,6 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for license information. + * 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. @@ -22,6 +22,18 @@ export { BootDiagnostics, BootDiagnosticsInstanceView, CloudError, + CloudService, + CloudServiceExtensionProfile, + CloudServiceExtensionProperties, + CloudServiceNetworkProfile, + CloudServiceOsProfile, + CloudServiceProperties, + CloudServiceRoleProfile, + CloudServiceRoleProfileProperties, + CloudServiceRoleSku, + CloudServiceVaultAndSecretReference, + CloudServiceVaultCertificate, + CloudServiceVaultSecretGroup, ContainerService, ContainerServiceAgentPoolProfile, ContainerServiceCustomProfile, @@ -62,6 +74,8 @@ export { EncryptionSetIdentity, EncryptionSettingsCollection, EncryptionSettingsElement, + ExtendedLocation, + Extension, Gallery, GalleryApplication, GalleryApplicationUpdate, @@ -93,12 +107,17 @@ export { ImageStorageProfile, InnerError, InstanceViewStatus, + KeyForDiskEncryptionSet, KeyVaultAndKeyReference, KeyVaultAndSecretReference, KeyVaultKeyReference, KeyVaultSecretReference, LastPatchInstallationSummary, LinuxConfiguration, + LoadBalancerConfiguration, + LoadBalancerConfigurationProperties, + LoadBalancerFrontendIPConfiguration, + LoadBalancerFrontendIPConfigurationProperties, MaintenanceRedeployStatus, ManagedDiskParameters, NetworkInterfaceReference, @@ -123,6 +142,7 @@ export { RollingUpgradeProgressInfo, RollingUpgradeRunningStatus, RollingUpgradeStatusInfo, + RunCommandInputParameter, ScaleInPolicy, ScheduledEventsProfile, SecurityProfile, @@ -142,6 +162,7 @@ export { TerminateNotificationProfile, UpdateResourceDefinition, UpgradePolicy, + UserArtifactManage, UserArtifactSource, VaultCertificate, VaultSecretGroup, @@ -160,6 +181,9 @@ export { VirtualMachineImageResource, VirtualMachineInstanceView, VirtualMachinePatchStatus, + VirtualMachineRunCommand, + VirtualMachineRunCommandInstanceView, + VirtualMachineRunCommandScriptSource, VirtualMachineScaleSet, VirtualMachineScaleSetDataDisk, VirtualMachineScaleSetExtension, @@ -183,6 +207,8 @@ export { VirtualMachineScaleSetUpdateNetworkConfiguration, VirtualMachineScaleSetUpdatePublicIPAddressConfiguration, VirtualMachineScaleSetVM, + VirtualMachineScaleSetVMExtension, + VirtualMachineScaleSetVMExtensionUpdate, VirtualMachineScaleSetVMInstanceView, VirtualMachineScaleSetVMNetworkProfileConfiguration, VirtualMachineScaleSetVMProfile, diff --git a/sdk/compute/arm-compute/src/models/virtualMachineScaleSetRollingUpgradesMappers.ts b/sdk/compute/arm-compute/src/models/virtualMachineScaleSetRollingUpgradesMappers.ts index 94265b583cca..8cf0961865a9 100644 --- a/sdk/compute/arm-compute/src/models/virtualMachineScaleSetRollingUpgradesMappers.ts +++ b/sdk/compute/arm-compute/src/models/virtualMachineScaleSetRollingUpgradesMappers.ts @@ -1,6 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for license information. + * 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. @@ -22,6 +22,18 @@ export { BootDiagnostics, BootDiagnosticsInstanceView, CloudError, + CloudService, + CloudServiceExtensionProfile, + CloudServiceExtensionProperties, + CloudServiceNetworkProfile, + CloudServiceOsProfile, + CloudServiceProperties, + CloudServiceRoleProfile, + CloudServiceRoleProfileProperties, + CloudServiceRoleSku, + CloudServiceVaultAndSecretReference, + CloudServiceVaultCertificate, + CloudServiceVaultSecretGroup, ContainerService, ContainerServiceAgentPoolProfile, ContainerServiceCustomProfile, @@ -62,6 +74,8 @@ export { EncryptionSetIdentity, EncryptionSettingsCollection, EncryptionSettingsElement, + ExtendedLocation, + Extension, Gallery, GalleryApplication, GalleryApplicationUpdate, @@ -93,12 +107,17 @@ export { ImageStorageProfile, InnerError, InstanceViewStatus, + KeyForDiskEncryptionSet, KeyVaultAndKeyReference, KeyVaultAndSecretReference, KeyVaultKeyReference, KeyVaultSecretReference, LastPatchInstallationSummary, LinuxConfiguration, + LoadBalancerConfiguration, + LoadBalancerConfigurationProperties, + LoadBalancerFrontendIPConfiguration, + LoadBalancerFrontendIPConfigurationProperties, MaintenanceRedeployStatus, ManagedDiskParameters, NetworkInterfaceReference, @@ -123,6 +142,7 @@ export { RollingUpgradeProgressInfo, RollingUpgradeRunningStatus, RollingUpgradeStatusInfo, + RunCommandInputParameter, ScaleInPolicy, ScheduledEventsProfile, SecurityProfile, @@ -142,6 +162,7 @@ export { TerminateNotificationProfile, UpdateResourceDefinition, UpgradePolicy, + UserArtifactManage, UserArtifactSource, VaultCertificate, VaultSecretGroup, @@ -160,6 +181,9 @@ export { VirtualMachineImageResource, VirtualMachineInstanceView, VirtualMachinePatchStatus, + VirtualMachineRunCommand, + VirtualMachineRunCommandInstanceView, + VirtualMachineRunCommandScriptSource, VirtualMachineScaleSet, VirtualMachineScaleSetDataDisk, VirtualMachineScaleSetExtension, @@ -182,6 +206,8 @@ export { VirtualMachineScaleSetUpdateNetworkConfiguration, VirtualMachineScaleSetUpdatePublicIPAddressConfiguration, VirtualMachineScaleSetVM, + VirtualMachineScaleSetVMExtension, + VirtualMachineScaleSetVMExtensionUpdate, VirtualMachineScaleSetVMInstanceView, VirtualMachineScaleSetVMNetworkProfileConfiguration, VirtualMachineScaleSetVMProfile, diff --git a/sdk/compute/arm-compute/src/models/virtualMachineScaleSetVMExtensionsMappers.ts b/sdk/compute/arm-compute/src/models/virtualMachineScaleSetVMExtensionsMappers.ts index 6299932f5dcc..9ac61d56e038 100644 --- a/sdk/compute/arm-compute/src/models/virtualMachineScaleSetVMExtensionsMappers.ts +++ b/sdk/compute/arm-compute/src/models/virtualMachineScaleSetVMExtensionsMappers.ts @@ -1,6 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for license information. + * 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. @@ -16,13 +16,24 @@ export { AutomaticOSUpgradeProperties, AutomaticRepairsPolicy, AvailabilitySet, - AvailabilitySetUpdate, AvailablePatchSummary, BaseResource, BillingProfile, BootDiagnostics, BootDiagnosticsInstanceView, CloudError, + CloudService, + CloudServiceExtensionProfile, + CloudServiceExtensionProperties, + CloudServiceNetworkProfile, + CloudServiceOsProfile, + CloudServiceProperties, + CloudServiceRoleProfile, + CloudServiceRoleProfileProperties, + CloudServiceRoleSku, + CloudServiceVaultAndSecretReference, + CloudServiceVaultCertificate, + CloudServiceVaultSecretGroup, ContainerService, ContainerServiceAgentPoolProfile, ContainerServiceCustomProfile, @@ -44,10 +55,8 @@ export { DedicatedHostAvailableCapacity, DedicatedHostGroup, DedicatedHostGroupInstanceView, - DedicatedHostGroupUpdate, DedicatedHostInstanceView, DedicatedHostInstanceViewWithName, - DedicatedHostUpdate, DiagnosticsProfile, DiffDiskSettings, Disallowed, @@ -65,6 +74,8 @@ export { EncryptionSetIdentity, EncryptionSettingsCollection, EncryptionSettingsElement, + ExtendedLocation, + Extension, Gallery, GalleryApplication, GalleryApplicationUpdate, @@ -94,15 +105,19 @@ export { ImagePurchasePlan, ImageReference, ImageStorageProfile, - ImageUpdate, InnerError, InstanceViewStatus, + KeyForDiskEncryptionSet, KeyVaultAndKeyReference, KeyVaultAndSecretReference, KeyVaultKeyReference, KeyVaultSecretReference, LastPatchInstallationSummary, LinuxConfiguration, + LoadBalancerConfiguration, + LoadBalancerConfigurationProperties, + LoadBalancerFrontendIPConfiguration, + LoadBalancerFrontendIPConfigurationProperties, MaintenanceRedeployStatus, ManagedDiskParameters, NetworkInterfaceReference, @@ -117,7 +132,6 @@ export { PrivateEndpointConnection, PrivateLinkServiceConnectionState, ProximityPlacementGroup, - ProximityPlacementGroupUpdate, PurchasePlan, RecommendedMachineConfiguration, RegionalReplicationStatus, @@ -128,6 +142,7 @@ export { RollingUpgradeProgressInfo, RollingUpgradeRunningStatus, RollingUpgradeStatusInfo, + RunCommandInputParameter, ScaleInPolicy, ScheduledEventsProfile, SecurityProfile, @@ -139,16 +154,15 @@ export { SshConfiguration, SshPublicKey, SshPublicKeyResource, - SshPublicKeyUpdateResource, StorageProfile, SubResource, SubResourceReadOnly, SubResourceWithColocationStatus, TargetRegion, TerminateNotificationProfile, - UpdateResource, UpdateResourceDefinition, UpgradePolicy, + UserArtifactManage, UserArtifactSource, VaultCertificate, VaultSecretGroup, @@ -160,8 +174,6 @@ export { VirtualMachineExtensionHandlerInstanceView, VirtualMachineExtensionImage, VirtualMachineExtensionInstanceView, - VirtualMachineExtensionsListResult, - VirtualMachineExtensionUpdate, VirtualMachineHealthStatus, VirtualMachineIdentity, VirtualMachineIdentityUserAssignedIdentitiesValue, @@ -169,6 +181,9 @@ export { VirtualMachineImageResource, VirtualMachineInstanceView, VirtualMachinePatchStatus, + VirtualMachineRunCommand, + VirtualMachineRunCommandInstanceView, + VirtualMachineRunCommandScriptSource, VirtualMachineScaleSet, VirtualMachineScaleSetDataDisk, VirtualMachineScaleSetExtension, @@ -187,21 +202,17 @@ export { VirtualMachineScaleSetPublicIPAddressConfiguration, VirtualMachineScaleSetPublicIPAddressConfigurationDnsSettings, VirtualMachineScaleSetStorageProfile, - VirtualMachineScaleSetUpdate, VirtualMachineScaleSetUpdateIPConfiguration, VirtualMachineScaleSetUpdateNetworkConfiguration, - VirtualMachineScaleSetUpdateNetworkProfile, - VirtualMachineScaleSetUpdateOSDisk, - VirtualMachineScaleSetUpdateOSProfile, VirtualMachineScaleSetUpdatePublicIPAddressConfiguration, - VirtualMachineScaleSetUpdateStorageProfile, - VirtualMachineScaleSetUpdateVMProfile, VirtualMachineScaleSetVM, + VirtualMachineScaleSetVMExtension, + VirtualMachineScaleSetVMExtensionsListResult, + VirtualMachineScaleSetVMExtensionUpdate, VirtualMachineScaleSetVMInstanceView, VirtualMachineScaleSetVMNetworkProfileConfiguration, VirtualMachineScaleSetVMProfile, VirtualMachineScaleSetVMProtectionPolicy, - VirtualMachineUpdate, WindowsConfiguration, WinRMConfiguration, WinRMListener diff --git a/sdk/compute/arm-compute/src/models/virtualMachineScaleSetVMRunCommandsMappers.ts b/sdk/compute/arm-compute/src/models/virtualMachineScaleSetVMRunCommandsMappers.ts new file mode 100644 index 000000000000..f67b4ad6e3c2 --- /dev/null +++ b/sdk/compute/arm-compute/src/models/virtualMachineScaleSetVMRunCommandsMappers.ts @@ -0,0 +1,235 @@ +/* + * 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. + */ + +export { + AdditionalCapabilities, + AdditionalUnattendContent, + ApiEntityReference, + ApiError, + ApiErrorBase, + AutomaticOSUpgradePolicy, + AutomaticOSUpgradeProperties, + AutomaticRepairsPolicy, + AvailabilitySet, + AvailabilitySetUpdate, + AvailablePatchSummary, + BaseResource, + BillingProfile, + BootDiagnostics, + BootDiagnosticsInstanceView, + CloudError, + CloudService, + CloudServiceExtensionProfile, + CloudServiceExtensionProperties, + CloudServiceNetworkProfile, + CloudServiceOsProfile, + CloudServiceProperties, + CloudServiceRoleProfile, + CloudServiceRoleProfileProperties, + CloudServiceRoleSku, + CloudServiceVaultAndSecretReference, + CloudServiceVaultCertificate, + CloudServiceVaultSecretGroup, + ContainerService, + ContainerServiceAgentPoolProfile, + ContainerServiceCustomProfile, + ContainerServiceDiagnosticsProfile, + ContainerServiceLinuxProfile, + ContainerServiceMasterProfile, + ContainerServiceOrchestratorProfile, + ContainerServiceServicePrincipalProfile, + ContainerServiceSshConfiguration, + ContainerServiceSshPublicKey, + ContainerServiceVMDiagnostics, + ContainerServiceWindowsProfile, + CreationData, + DataDisk, + DataDiskImage, + DataDiskImageEncryption, + DedicatedHost, + DedicatedHostAllocatableVM, + DedicatedHostAvailableCapacity, + DedicatedHostGroup, + DedicatedHostGroupInstanceView, + DedicatedHostGroupUpdate, + DedicatedHostInstanceView, + DedicatedHostInstanceViewWithName, + DedicatedHostUpdate, + DiagnosticsProfile, + DiffDiskSettings, + Disallowed, + DisallowedConfiguration, + Disk, + DiskAccess, + DiskEncryptionSet, + DiskEncryptionSetParameters, + DiskEncryptionSettings, + DiskImageEncryption, + DiskInstanceView, + DiskSku, + Encryption, + EncryptionImages, + EncryptionSetIdentity, + EncryptionSettingsCollection, + EncryptionSettingsElement, + ExtendedLocation, + Extension, + Gallery, + GalleryApplication, + GalleryApplicationUpdate, + GalleryApplicationVersion, + GalleryApplicationVersionPublishingProfile, + GalleryApplicationVersionUpdate, + GalleryArtifactPublishingProfileBase, + GalleryArtifactVersionSource, + GalleryDataDiskImage, + GalleryDiskImage, + GalleryIdentifier, + GalleryImage, + GalleryImageIdentifier, + GalleryImageUpdate, + GalleryImageVersion, + GalleryImageVersionPublishingProfile, + GalleryImageVersionStorageProfile, + GalleryImageVersionUpdate, + GalleryOSDiskImage, + GalleryUpdate, + HardwareProfile, + Image, + ImageDataDisk, + ImageDisk, + ImageDiskReference, + ImageOSDisk, + ImagePurchasePlan, + ImageReference, + ImageStorageProfile, + ImageUpdate, + InnerError, + InstanceViewStatus, + KeyForDiskEncryptionSet, + KeyVaultAndKeyReference, + KeyVaultAndSecretReference, + KeyVaultKeyReference, + KeyVaultSecretReference, + LastPatchInstallationSummary, + LinuxConfiguration, + LoadBalancerConfiguration, + LoadBalancerConfigurationProperties, + LoadBalancerFrontendIPConfiguration, + LoadBalancerFrontendIPConfigurationProperties, + MaintenanceRedeployStatus, + ManagedDiskParameters, + NetworkInterfaceReference, + NetworkProfile, + OSDisk, + OSDiskImage, + OSDiskImageEncryption, + OSProfile, + PatchSettings, + Plan, + PrivateEndpoint, + PrivateEndpointConnection, + PrivateLinkServiceConnectionState, + ProximityPlacementGroup, + ProximityPlacementGroupUpdate, + PurchasePlan, + RecommendedMachineConfiguration, + RegionalReplicationStatus, + ReplicationStatus, + Resource, + ResourceRange, + RollingUpgradePolicy, + RollingUpgradeProgressInfo, + RollingUpgradeRunningStatus, + RollingUpgradeStatusInfo, + RunCommandInputParameter, + ScaleInPolicy, + ScheduledEventsProfile, + SecurityProfile, + ShareInfoElement, + Sku, + Snapshot, + SnapshotSku, + SourceVault, + SshConfiguration, + SshPublicKey, + SshPublicKeyResource, + SshPublicKeyUpdateResource, + StorageProfile, + SubResource, + SubResourceReadOnly, + SubResourceWithColocationStatus, + TargetRegion, + TerminateNotificationProfile, + UpdateResource, + UpdateResourceDefinition, + UpgradePolicy, + UserArtifactManage, + UserArtifactSource, + VaultCertificate, + VaultSecretGroup, + VirtualHardDisk, + VirtualMachine, + VirtualMachineAgentInstanceView, + VirtualMachineCaptureResult, + VirtualMachineExtension, + VirtualMachineExtensionHandlerInstanceView, + VirtualMachineExtensionImage, + VirtualMachineExtensionInstanceView, + VirtualMachineExtensionUpdate, + VirtualMachineHealthStatus, + VirtualMachineIdentity, + VirtualMachineIdentityUserAssignedIdentitiesValue, + VirtualMachineImage, + VirtualMachineImageResource, + VirtualMachineInstanceView, + VirtualMachinePatchStatus, + VirtualMachineRunCommand, + VirtualMachineRunCommandInstanceView, + VirtualMachineRunCommandScriptSource, + VirtualMachineRunCommandsListResult, + VirtualMachineRunCommandUpdate, + VirtualMachineScaleSet, + VirtualMachineScaleSetDataDisk, + VirtualMachineScaleSetExtension, + VirtualMachineScaleSetExtensionProfile, + VirtualMachineScaleSetExtensionUpdate, + VirtualMachineScaleSetIdentity, + VirtualMachineScaleSetIdentityUserAssignedIdentitiesValue, + VirtualMachineScaleSetIPConfiguration, + VirtualMachineScaleSetIpTag, + VirtualMachineScaleSetManagedDiskParameters, + VirtualMachineScaleSetNetworkConfiguration, + VirtualMachineScaleSetNetworkConfigurationDnsSettings, + VirtualMachineScaleSetNetworkProfile, + VirtualMachineScaleSetOSDisk, + VirtualMachineScaleSetOSProfile, + VirtualMachineScaleSetPublicIPAddressConfiguration, + VirtualMachineScaleSetPublicIPAddressConfigurationDnsSettings, + VirtualMachineScaleSetStorageProfile, + VirtualMachineScaleSetUpdate, + VirtualMachineScaleSetUpdateIPConfiguration, + VirtualMachineScaleSetUpdateNetworkConfiguration, + VirtualMachineScaleSetUpdateNetworkProfile, + VirtualMachineScaleSetUpdateOSDisk, + VirtualMachineScaleSetUpdateOSProfile, + VirtualMachineScaleSetUpdatePublicIPAddressConfiguration, + VirtualMachineScaleSetUpdateStorageProfile, + VirtualMachineScaleSetUpdateVMProfile, + VirtualMachineScaleSetVM, + VirtualMachineScaleSetVMExtension, + VirtualMachineScaleSetVMExtensionUpdate, + VirtualMachineScaleSetVMInstanceView, + VirtualMachineScaleSetVMNetworkProfileConfiguration, + VirtualMachineScaleSetVMProfile, + VirtualMachineScaleSetVMProtectionPolicy, + VirtualMachineUpdate, + WindowsConfiguration, + WinRMConfiguration, + WinRMListener +} from "../models/mappers"; diff --git a/sdk/compute/arm-compute/src/models/virtualMachineScaleSetVMsMappers.ts b/sdk/compute/arm-compute/src/models/virtualMachineScaleSetVMsMappers.ts index 5a4992a8918f..4210d08d8352 100644 --- a/sdk/compute/arm-compute/src/models/virtualMachineScaleSetVMsMappers.ts +++ b/sdk/compute/arm-compute/src/models/virtualMachineScaleSetVMsMappers.ts @@ -1,6 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for license information. + * 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. @@ -22,6 +22,18 @@ export { BootDiagnostics, BootDiagnosticsInstanceView, CloudError, + CloudService, + CloudServiceExtensionProfile, + CloudServiceExtensionProperties, + CloudServiceNetworkProfile, + CloudServiceOsProfile, + CloudServiceProperties, + CloudServiceRoleProfile, + CloudServiceRoleProfileProperties, + CloudServiceRoleSku, + CloudServiceVaultAndSecretReference, + CloudServiceVaultCertificate, + CloudServiceVaultSecretGroup, ContainerService, ContainerServiceAgentPoolProfile, ContainerServiceCustomProfile, @@ -62,6 +74,8 @@ export { EncryptionSetIdentity, EncryptionSettingsCollection, EncryptionSettingsElement, + ExtendedLocation, + Extension, Gallery, GalleryApplication, GalleryApplicationUpdate, @@ -93,12 +107,17 @@ export { ImageStorageProfile, InnerError, InstanceViewStatus, + KeyForDiskEncryptionSet, KeyVaultAndKeyReference, KeyVaultAndSecretReference, KeyVaultKeyReference, KeyVaultSecretReference, LastPatchInstallationSummary, LinuxConfiguration, + LoadBalancerConfiguration, + LoadBalancerConfigurationProperties, + LoadBalancerFrontendIPConfiguration, + LoadBalancerFrontendIPConfigurationProperties, MaintenanceRedeployStatus, ManagedDiskParameters, NetworkInterfaceReference, @@ -146,6 +165,7 @@ export { TerminateNotificationProfile, UpdateResourceDefinition, UpgradePolicy, + UserArtifactManage, UserArtifactSource, VaultCertificate, VaultSecretGroup, @@ -165,6 +185,9 @@ export { VirtualMachineInstanceView, VirtualMachinePatchStatus, VirtualMachineReimageParameters, + VirtualMachineRunCommand, + VirtualMachineRunCommandInstanceView, + VirtualMachineRunCommandScriptSource, VirtualMachineScaleSet, VirtualMachineScaleSetDataDisk, VirtualMachineScaleSetExtension, @@ -188,6 +211,8 @@ export { VirtualMachineScaleSetUpdateNetworkConfiguration, VirtualMachineScaleSetUpdatePublicIPAddressConfiguration, VirtualMachineScaleSetVM, + VirtualMachineScaleSetVMExtension, + VirtualMachineScaleSetVMExtensionUpdate, VirtualMachineScaleSetVMInstanceView, VirtualMachineScaleSetVMListResult, VirtualMachineScaleSetVMNetworkProfileConfiguration, diff --git a/sdk/compute/arm-compute/src/models/virtualMachineScaleSetsMappers.ts b/sdk/compute/arm-compute/src/models/virtualMachineScaleSetsMappers.ts index 7ada9068e03d..31d2061bc3cc 100644 --- a/sdk/compute/arm-compute/src/models/virtualMachineScaleSetsMappers.ts +++ b/sdk/compute/arm-compute/src/models/virtualMachineScaleSetsMappers.ts @@ -1,6 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for license information. + * 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. @@ -23,6 +23,18 @@ export { BootDiagnostics, BootDiagnosticsInstanceView, CloudError, + CloudService, + CloudServiceExtensionProfile, + CloudServiceExtensionProperties, + CloudServiceNetworkProfile, + CloudServiceOsProfile, + CloudServiceProperties, + CloudServiceRoleProfile, + CloudServiceRoleProfileProperties, + CloudServiceRoleSku, + CloudServiceVaultAndSecretReference, + CloudServiceVaultCertificate, + CloudServiceVaultSecretGroup, ContainerService, ContainerServiceAgentPoolProfile, ContainerServiceCustomProfile, @@ -65,6 +77,8 @@ export { EncryptionSetIdentity, EncryptionSettingsCollection, EncryptionSettingsElement, + ExtendedLocation, + Extension, Gallery, GalleryApplication, GalleryApplicationUpdate, @@ -97,12 +111,17 @@ export { ImageUpdate, InnerError, InstanceViewStatus, + KeyForDiskEncryptionSet, KeyVaultAndKeyReference, KeyVaultAndSecretReference, KeyVaultKeyReference, KeyVaultSecretReference, LastPatchInstallationSummary, LinuxConfiguration, + LoadBalancerConfiguration, + LoadBalancerConfigurationProperties, + LoadBalancerFrontendIPConfiguration, + LoadBalancerFrontendIPConfigurationProperties, MaintenanceRedeployStatus, ManagedDiskParameters, NetworkInterfaceReference, @@ -132,6 +151,7 @@ export { RollingUpgradeProgressInfo, RollingUpgradeRunningStatus, RollingUpgradeStatusInfo, + RunCommandInputParameter, ScaleInPolicy, ScheduledEventsProfile, SecurityProfile, @@ -156,6 +176,7 @@ export { UpgradeOperationHistoricalStatusInfoProperties, UpgradeOperationHistoryStatus, UpgradePolicy, + UserArtifactManage, UserArtifactSource, VaultCertificate, VaultSecretGroup, @@ -176,6 +197,10 @@ export { VirtualMachineInstanceView, VirtualMachinePatchStatus, VirtualMachineReimageParameters, + VirtualMachineRunCommand, + VirtualMachineRunCommandInstanceView, + VirtualMachineRunCommandScriptSource, + VirtualMachineRunCommandUpdate, VirtualMachineScaleSet, VirtualMachineScaleSetDataDisk, VirtualMachineScaleSetExtension, @@ -213,7 +238,9 @@ export { VirtualMachineScaleSetUpdateStorageProfile, VirtualMachineScaleSetUpdateVMProfile, VirtualMachineScaleSetVM, + VirtualMachineScaleSetVMExtension, VirtualMachineScaleSetVMExtensionsSummary, + VirtualMachineScaleSetVMExtensionUpdate, VirtualMachineScaleSetVMInstanceIDs, VirtualMachineScaleSetVMInstanceRequiredIDs, VirtualMachineScaleSetVMInstanceView, diff --git a/sdk/compute/arm-compute/src/models/virtualMachineSizesMappers.ts b/sdk/compute/arm-compute/src/models/virtualMachineSizesMappers.ts index 8ec98784bc24..28fe9cbb2f07 100644 --- a/sdk/compute/arm-compute/src/models/virtualMachineSizesMappers.ts +++ b/sdk/compute/arm-compute/src/models/virtualMachineSizesMappers.ts @@ -1,6 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for license information. + * 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. diff --git a/sdk/compute/arm-compute/src/models/virtualMachinesMappers.ts b/sdk/compute/arm-compute/src/models/virtualMachinesMappers.ts index d2ce653f6004..b53de31c463e 100644 --- a/sdk/compute/arm-compute/src/models/virtualMachinesMappers.ts +++ b/sdk/compute/arm-compute/src/models/virtualMachinesMappers.ts @@ -1,6 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for license information. + * 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. @@ -23,6 +23,18 @@ export { BootDiagnostics, BootDiagnosticsInstanceView, CloudError, + CloudService, + CloudServiceExtensionProfile, + CloudServiceExtensionProperties, + CloudServiceNetworkProfile, + CloudServiceOsProfile, + CloudServiceProperties, + CloudServiceRoleProfile, + CloudServiceRoleProfileProperties, + CloudServiceRoleSku, + CloudServiceVaultAndSecretReference, + CloudServiceVaultCertificate, + CloudServiceVaultSecretGroup, ContainerService, ContainerServiceAgentPoolProfile, ContainerServiceCustomProfile, @@ -65,6 +77,8 @@ export { EncryptionSetIdentity, EncryptionSettingsCollection, EncryptionSettingsElement, + ExtendedLocation, + Extension, Gallery, GalleryApplication, GalleryApplicationUpdate, @@ -97,12 +111,17 @@ export { ImageUpdate, InnerError, InstanceViewStatus, + KeyForDiskEncryptionSet, KeyVaultAndKeyReference, KeyVaultAndSecretReference, KeyVaultKeyReference, KeyVaultSecretReference, LastPatchInstallationSummary, LinuxConfiguration, + LoadBalancerConfiguration, + LoadBalancerConfigurationProperties, + LoadBalancerFrontendIPConfiguration, + LoadBalancerFrontendIPConfigurationProperties, MaintenanceRedeployStatus, ManagedDiskParameters, NetworkInterfaceReference, @@ -153,6 +172,7 @@ export { UpdateResource, UpdateResourceDefinition, UpgradePolicy, + UserArtifactManage, UserArtifactSource, VaultCertificate, VaultSecretGroup, @@ -176,6 +196,10 @@ export { VirtualMachineListResult, VirtualMachinePatchStatus, VirtualMachineReimageParameters, + VirtualMachineRunCommand, + VirtualMachineRunCommandInstanceView, + VirtualMachineRunCommandScriptSource, + VirtualMachineRunCommandUpdate, VirtualMachineScaleSet, VirtualMachineScaleSetDataDisk, VirtualMachineScaleSetExtension, @@ -205,6 +229,8 @@ export { VirtualMachineScaleSetUpdateStorageProfile, VirtualMachineScaleSetUpdateVMProfile, VirtualMachineScaleSetVM, + VirtualMachineScaleSetVMExtension, + VirtualMachineScaleSetVMExtensionUpdate, VirtualMachineScaleSetVMInstanceView, VirtualMachineScaleSetVMNetworkProfileConfiguration, VirtualMachineScaleSetVMProfile, diff --git a/sdk/compute/arm-compute/src/operations/availabilitySets.ts b/sdk/compute/arm-compute/src/operations/availabilitySets.ts index 8eeeef9361ab..9f7df2e368c4 100644 --- a/sdk/compute/arm-compute/src/operations/availabilitySets.ts +++ b/sdk/compute/arm-compute/src/operations/availabilitySets.ts @@ -1,7 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. + * 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 @@ -253,7 +252,7 @@ export class AvailabilitySets { * @param [options] The optional parameters * @returns Promise */ - listBySubscriptionNext(nextPageLink: string, options?: msRest.RequestOptionsBase): Promise; + listBySubscriptionNext(nextPageLink: string, options?: Models.AvailabilitySetsListBySubscriptionNextOptionalParams): Promise; /** * @param nextPageLink The NextLink from the previous successful call to List operation. * @param callback The callback @@ -264,8 +263,8 @@ export class AvailabilitySets { * @param options The optional parameters * @param callback The callback */ - listBySubscriptionNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listBySubscriptionNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + listBySubscriptionNext(nextPageLink: string, options: Models.AvailabilitySetsListBySubscriptionNextOptionalParams, callback: msRest.ServiceCallback): void; + listBySubscriptionNext(nextPageLink: string, options?: Models.AvailabilitySetsListBySubscriptionNextOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, @@ -499,6 +498,10 @@ const listBySubscriptionNextOperationSpec: msRest.OperationSpec = { urlParameters: [ Parameters.nextPageLink ], + queryParameters: [ + Parameters.apiVersion0, + Parameters.expand0 + ], headerParameters: [ Parameters.acceptLanguage ], @@ -520,6 +523,9 @@ const listNextOperationSpec: msRest.OperationSpec = { urlParameters: [ Parameters.nextPageLink ], + queryParameters: [ + Parameters.apiVersion0 + ], headerParameters: [ Parameters.acceptLanguage ], diff --git a/sdk/compute/arm-compute/src/operations/cloudServiceRoleInstances.ts b/sdk/compute/arm-compute/src/operations/cloudServiceRoleInstances.ts new file mode 100644 index 000000000000..1cb9a5784344 --- /dev/null +++ b/sdk/compute/arm-compute/src/operations/cloudServiceRoleInstances.ts @@ -0,0 +1,578 @@ +/* + * 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 * as msRest from "@azure/ms-rest-js"; +import * as msRestAzure from "@azure/ms-rest-azure-js"; +import * as Models from "../models"; +import * as Mappers from "../models/cloudServiceRoleInstancesMappers"; +import * as Parameters from "../models/parameters"; +import { ComputeManagementClientContext } from "../computeManagementClientContext"; + +/** Class representing a CloudServiceRoleInstances. */ +export class CloudServiceRoleInstances { + private readonly client: ComputeManagementClientContext; + + /** + * Create a CloudServiceRoleInstances. + * @param {ComputeManagementClientContext} client Reference to the service client. + */ + constructor(client: ComputeManagementClientContext) { + this.client = client; + } + + /** + * Deletes a role instance from a cloud service. + * @param roleInstanceName Name of the role instance. + * @param resourceGroupName + * @param cloudServiceName + * @param [options] The optional parameters + * @returns Promise + */ + deleteMethod(roleInstanceName: string, resourceGroupName: string, cloudServiceName: string, options?: msRest.RequestOptionsBase): Promise { + return this.beginDeleteMethod(roleInstanceName,resourceGroupName,cloudServiceName,options) + .then(lroPoller => lroPoller.pollUntilFinished()); + } + + /** + * Gets a role instance from a cloud service. + * @param roleInstanceName Name of the role instance. + * @param resourceGroupName + * @param cloudServiceName + * @param [options] The optional parameters + * @returns Promise + */ + get(roleInstanceName: string, resourceGroupName: string, cloudServiceName: string, options?: Models.CloudServiceRoleInstancesGetOptionalParams): Promise; + /** + * @param roleInstanceName Name of the role instance. + * @param resourceGroupName + * @param cloudServiceName + * @param callback The callback + */ + get(roleInstanceName: string, resourceGroupName: string, cloudServiceName: string, callback: msRest.ServiceCallback): void; + /** + * @param roleInstanceName Name of the role instance. + * @param resourceGroupName + * @param cloudServiceName + * @param options The optional parameters + * @param callback The callback + */ + get(roleInstanceName: string, resourceGroupName: string, cloudServiceName: string, options: Models.CloudServiceRoleInstancesGetOptionalParams, callback: msRest.ServiceCallback): void; + get(roleInstanceName: string, resourceGroupName: string, cloudServiceName: string, options?: Models.CloudServiceRoleInstancesGetOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + roleInstanceName, + resourceGroupName, + cloudServiceName, + options + }, + getOperationSpec, + callback) as Promise; + } + + /** + * Retrieves information about the run-time state of a role instance in a cloud service. + * @param roleInstanceName Name of the role instance. + * @param resourceGroupName + * @param cloudServiceName + * @param [options] The optional parameters + * @returns Promise + */ + getInstanceView(roleInstanceName: string, resourceGroupName: string, cloudServiceName: string, options?: msRest.RequestOptionsBase): Promise; + /** + * @param roleInstanceName Name of the role instance. + * @param resourceGroupName + * @param cloudServiceName + * @param callback The callback + */ + getInstanceView(roleInstanceName: string, resourceGroupName: string, cloudServiceName: string, callback: msRest.ServiceCallback): void; + /** + * @param roleInstanceName Name of the role instance. + * @param resourceGroupName + * @param cloudServiceName + * @param options The optional parameters + * @param callback The callback + */ + getInstanceView(roleInstanceName: string, resourceGroupName: string, cloudServiceName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + getInstanceView(roleInstanceName: string, resourceGroupName: string, cloudServiceName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + roleInstanceName, + resourceGroupName, + cloudServiceName, + options + }, + getInstanceViewOperationSpec, + callback) as Promise; + } + + /** + * Gets the list of all role instances in a cloud service. Use nextLink property in the response to + * get the next page of role instances. Do this till nextLink is null to fetch all the role + * instances. + * @param resourceGroupName + * @param cloudServiceName + * @param [options] The optional parameters + * @returns Promise + */ + list(resourceGroupName: string, cloudServiceName: string, options?: Models.CloudServiceRoleInstancesListOptionalParams): Promise; + /** + * @param resourceGroupName + * @param cloudServiceName + * @param callback The callback + */ + list(resourceGroupName: string, cloudServiceName: string, callback: msRest.ServiceCallback): void; + /** + * @param resourceGroupName + * @param cloudServiceName + * @param options The optional parameters + * @param callback The callback + */ + list(resourceGroupName: string, cloudServiceName: string, options: Models.CloudServiceRoleInstancesListOptionalParams, callback: msRest.ServiceCallback): void; + list(resourceGroupName: string, cloudServiceName: string, options?: Models.CloudServiceRoleInstancesListOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + resourceGroupName, + cloudServiceName, + options + }, + listOperationSpec, + callback) as Promise; + } + + /** + * The Reboot Role Instance asynchronous operation requests a reboot of a role instance in the + * cloud service. + * @param roleInstanceName Name of the role instance. + * @param resourceGroupName + * @param cloudServiceName + * @param [options] The optional parameters + * @returns Promise + */ + restart(roleInstanceName: string, resourceGroupName: string, cloudServiceName: string, options?: msRest.RequestOptionsBase): Promise { + return this.beginRestart(roleInstanceName,resourceGroupName,cloudServiceName,options) + .then(lroPoller => lroPoller.pollUntilFinished()); + } + + /** + * The Reimage Role Instance asynchronous operation reinstalls the operating system on instances of + * web roles or worker roles. + * @param roleInstanceName Name of the role instance. + * @param resourceGroupName + * @param cloudServiceName + * @param [options] The optional parameters + * @returns Promise + */ + reimage(roleInstanceName: string, resourceGroupName: string, cloudServiceName: string, options?: msRest.RequestOptionsBase): Promise { + return this.beginReimage(roleInstanceName,resourceGroupName,cloudServiceName,options) + .then(lroPoller => lroPoller.pollUntilFinished()); + } + + /** + * The Rebuild Role Instance asynchronous operation reinstalls the operating system on instances of + * web roles or worker roles and initializes the storage resources that are used by them. If you do + * not want to initialize storage resources, you can use Reimage Role Instance. + * @param roleInstanceName Name of the role instance. + * @param resourceGroupName + * @param cloudServiceName + * @param [options] The optional parameters + * @returns Promise + */ + rebuild(roleInstanceName: string, resourceGroupName: string, cloudServiceName: string, options?: msRest.RequestOptionsBase): Promise { + return this.beginRebuild(roleInstanceName,resourceGroupName,cloudServiceName,options) + .then(lroPoller => lroPoller.pollUntilFinished()); + } + + /** + * Gets a remote desktop file for a role instance in a cloud service. + * @param roleInstanceName Name of the role instance. + * @param resourceGroupName + * @param cloudServiceName + * @param [options] The optional parameters + * @returns Promise + */ + getRemoteDesktopFile(roleInstanceName: string, resourceGroupName: string, cloudServiceName: string, options?: msRest.RequestOptionsBase): Promise; + /** + * @param roleInstanceName Name of the role instance. + * @param resourceGroupName + * @param cloudServiceName + * @param callback The callback + */ + getRemoteDesktopFile(roleInstanceName: string, resourceGroupName: string, cloudServiceName: string, callback: msRest.ServiceCallback): void; + /** + * @param roleInstanceName Name of the role instance. + * @param resourceGroupName + * @param cloudServiceName + * @param options The optional parameters + * @param callback The callback + */ + getRemoteDesktopFile(roleInstanceName: string, resourceGroupName: string, cloudServiceName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + getRemoteDesktopFile(roleInstanceName: string, resourceGroupName: string, cloudServiceName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + roleInstanceName, + resourceGroupName, + cloudServiceName, + options + }, + getRemoteDesktopFileOperationSpec, + callback) as Promise; + } + + /** + * Deletes a role instance from a cloud service. + * @param roleInstanceName Name of the role instance. + * @param resourceGroupName + * @param cloudServiceName + * @param [options] The optional parameters + * @returns Promise + */ + beginDeleteMethod(roleInstanceName: string, resourceGroupName: string, cloudServiceName: string, options?: msRest.RequestOptionsBase): Promise { + return this.client.sendLRORequest( + { + roleInstanceName, + resourceGroupName, + cloudServiceName, + options + }, + beginDeleteMethodOperationSpec, + options); + } + + /** + * The Reboot Role Instance asynchronous operation requests a reboot of a role instance in the + * cloud service. + * @param roleInstanceName Name of the role instance. + * @param resourceGroupName + * @param cloudServiceName + * @param [options] The optional parameters + * @returns Promise + */ + beginRestart(roleInstanceName: string, resourceGroupName: string, cloudServiceName: string, options?: msRest.RequestOptionsBase): Promise { + return this.client.sendLRORequest( + { + roleInstanceName, + resourceGroupName, + cloudServiceName, + options + }, + beginRestartOperationSpec, + options); + } + + /** + * The Reimage Role Instance asynchronous operation reinstalls the operating system on instances of + * web roles or worker roles. + * @param roleInstanceName Name of the role instance. + * @param resourceGroupName + * @param cloudServiceName + * @param [options] The optional parameters + * @returns Promise + */ + beginReimage(roleInstanceName: string, resourceGroupName: string, cloudServiceName: string, options?: msRest.RequestOptionsBase): Promise { + return this.client.sendLRORequest( + { + roleInstanceName, + resourceGroupName, + cloudServiceName, + options + }, + beginReimageOperationSpec, + options); + } + + /** + * The Rebuild Role Instance asynchronous operation reinstalls the operating system on instances of + * web roles or worker roles and initializes the storage resources that are used by them. If you do + * not want to initialize storage resources, you can use Reimage Role Instance. + * @param roleInstanceName Name of the role instance. + * @param resourceGroupName + * @param cloudServiceName + * @param [options] The optional parameters + * @returns Promise + */ + beginRebuild(roleInstanceName: string, resourceGroupName: string, cloudServiceName: string, options?: msRest.RequestOptionsBase): Promise { + return this.client.sendLRORequest( + { + roleInstanceName, + resourceGroupName, + cloudServiceName, + options + }, + beginRebuildOperationSpec, + options); + } + + /** + * Gets the list of all role instances in a cloud service. Use nextLink property in the response to + * get the next page of role instances. Do this till nextLink is null to fetch all the role + * instances. + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @param [options] The optional parameters + * @returns Promise + */ + listNext(nextPageLink: string, options?: Models.CloudServiceRoleInstancesListNextOptionalParams): Promise; + /** + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @param callback The callback + */ + listNext(nextPageLink: string, callback: msRest.ServiceCallback): void; + /** + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @param options The optional parameters + * @param callback The callback + */ + listNext(nextPageLink: string, options: Models.CloudServiceRoleInstancesListNextOptionalParams, callback: msRest.ServiceCallback): void; + listNext(nextPageLink: string, options?: Models.CloudServiceRoleInstancesListNextOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + nextPageLink, + options + }, + listNextOperationSpec, + callback) as Promise; + } +} + +// Operation Specifications +const serializer = new msRest.Serializer(Mappers); +const getOperationSpec: msRest.OperationSpec = { + httpMethod: "GET", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/cloudServices/{cloudServiceName}/roleInstances/{roleInstanceName}", + urlParameters: [ + Parameters.roleInstanceName, + Parameters.resourceGroupName, + Parameters.cloudServiceName, + Parameters.subscriptionId + ], + queryParameters: [ + Parameters.apiVersion5, + Parameters.expand1 + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: { + bodyMapper: Mappers.RoleInstance + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + +const getInstanceViewOperationSpec: msRest.OperationSpec = { + httpMethod: "GET", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/cloudServices/{cloudServiceName}/roleInstances/{roleInstanceName}/instanceView", + urlParameters: [ + Parameters.roleInstanceName, + Parameters.resourceGroupName, + Parameters.cloudServiceName, + Parameters.subscriptionId + ], + queryParameters: [ + Parameters.apiVersion5 + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: { + bodyMapper: Mappers.RoleInstanceInstanceView + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + +const listOperationSpec: msRest.OperationSpec = { + httpMethod: "GET", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/cloudServices/{cloudServiceName}/roleInstances", + urlParameters: [ + Parameters.resourceGroupName, + Parameters.cloudServiceName, + Parameters.subscriptionId + ], + queryParameters: [ + Parameters.apiVersion5, + Parameters.expand1 + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: { + bodyMapper: Mappers.RoleInstanceListResult + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + +const getRemoteDesktopFileOperationSpec: msRest.OperationSpec = { + httpMethod: "GET", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/cloudServices/{cloudServiceName}/roleInstances/{roleInstanceName}/remoteDesktopFile", + urlParameters: [ + Parameters.roleInstanceName, + Parameters.resourceGroupName, + Parameters.cloudServiceName, + Parameters.subscriptionId + ], + queryParameters: [ + Parameters.apiVersion5 + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: { + bodyMapper: { + serializedName: "parsedResponse", + type: { + name: "Stream" + } + } + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + +const beginDeleteMethodOperationSpec: msRest.OperationSpec = { + httpMethod: "DELETE", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/cloudServices/{cloudServiceName}/roleInstances/{roleInstanceName}", + urlParameters: [ + Parameters.roleInstanceName, + Parameters.resourceGroupName, + Parameters.cloudServiceName, + Parameters.subscriptionId + ], + queryParameters: [ + Parameters.apiVersion5 + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: {}, + 202: {}, + 204: {}, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + +const beginRestartOperationSpec: msRest.OperationSpec = { + httpMethod: "POST", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/cloudServices/{cloudServiceName}/roleInstances/{roleInstanceName}/restart", + urlParameters: [ + Parameters.roleInstanceName, + Parameters.resourceGroupName, + Parameters.cloudServiceName, + Parameters.subscriptionId + ], + queryParameters: [ + Parameters.apiVersion5 + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: {}, + 202: {}, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + +const beginReimageOperationSpec: msRest.OperationSpec = { + httpMethod: "POST", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/cloudServices/{cloudServiceName}/roleInstances/{roleInstanceName}/reimage", + urlParameters: [ + Parameters.roleInstanceName, + Parameters.resourceGroupName, + Parameters.cloudServiceName, + Parameters.subscriptionId + ], + queryParameters: [ + Parameters.apiVersion5 + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: {}, + 202: {}, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + +const beginRebuildOperationSpec: msRest.OperationSpec = { + httpMethod: "POST", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/cloudServices/{cloudServiceName}/roleInstances/{roleInstanceName}/rebuild", + urlParameters: [ + Parameters.roleInstanceName, + Parameters.resourceGroupName, + Parameters.cloudServiceName, + Parameters.subscriptionId + ], + queryParameters: [ + Parameters.apiVersion5 + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: {}, + 202: {}, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + +const listNextOperationSpec: msRest.OperationSpec = { + httpMethod: "GET", + baseUrl: "https://management.azure.com", + path: "{nextLink}", + urlParameters: [ + Parameters.nextPageLink + ], + queryParameters: [ + Parameters.apiVersion5, + Parameters.expand1 + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: { + bodyMapper: Mappers.RoleInstanceListResult + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; diff --git a/sdk/compute/arm-compute/src/operations/cloudServiceRoles.ts b/sdk/compute/arm-compute/src/operations/cloudServiceRoles.ts new file mode 100644 index 000000000000..d7053b0b0391 --- /dev/null +++ b/sdk/compute/arm-compute/src/operations/cloudServiceRoles.ts @@ -0,0 +1,202 @@ +/* + * 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 * as msRest from "@azure/ms-rest-js"; +import * as Models from "../models"; +import * as Mappers from "../models/cloudServiceRolesMappers"; +import * as Parameters from "../models/parameters"; +import { ComputeManagementClientContext } from "../computeManagementClientContext"; + +/** Class representing a CloudServiceRoles. */ +export class CloudServiceRoles { + private readonly client: ComputeManagementClientContext; + + /** + * Create a CloudServiceRoles. + * @param {ComputeManagementClientContext} client Reference to the service client. + */ + constructor(client: ComputeManagementClientContext) { + this.client = client; + } + + /** + * Gets a role from a cloud service. + * @param roleName Name of the role. + * @param resourceGroupName + * @param cloudServiceName + * @param [options] The optional parameters + * @returns Promise + */ + get(roleName: string, resourceGroupName: string, cloudServiceName: string, options?: msRest.RequestOptionsBase): Promise; + /** + * @param roleName Name of the role. + * @param resourceGroupName + * @param cloudServiceName + * @param callback The callback + */ + get(roleName: string, resourceGroupName: string, cloudServiceName: string, callback: msRest.ServiceCallback): void; + /** + * @param roleName Name of the role. + * @param resourceGroupName + * @param cloudServiceName + * @param options The optional parameters + * @param callback The callback + */ + get(roleName: string, resourceGroupName: string, cloudServiceName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + get(roleName: string, resourceGroupName: string, cloudServiceName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + roleName, + resourceGroupName, + cloudServiceName, + options + }, + getOperationSpec, + callback) as Promise; + } + + /** + * Gets a list of all roles in a cloud service. Use nextLink property in the response to get the + * next page of roles. Do this till nextLink is null to fetch all the roles. + * @param resourceGroupName + * @param cloudServiceName + * @param [options] The optional parameters + * @returns Promise + */ + list(resourceGroupName: string, cloudServiceName: string, options?: msRest.RequestOptionsBase): Promise; + /** + * @param resourceGroupName + * @param cloudServiceName + * @param callback The callback + */ + list(resourceGroupName: string, cloudServiceName: string, callback: msRest.ServiceCallback): void; + /** + * @param resourceGroupName + * @param cloudServiceName + * @param options The optional parameters + * @param callback The callback + */ + list(resourceGroupName: string, cloudServiceName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + list(resourceGroupName: string, cloudServiceName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + resourceGroupName, + cloudServiceName, + options + }, + listOperationSpec, + callback) as Promise; + } + + /** + * Gets a list of all roles in a cloud service. Use nextLink property in the response to get the + * next page of roles. Do this till nextLink is null to fetch all the roles. + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @param [options] The optional parameters + * @returns Promise + */ + listNext(nextPageLink: string, options?: msRest.RequestOptionsBase): Promise; + /** + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @param callback The callback + */ + listNext(nextPageLink: string, callback: msRest.ServiceCallback): void; + /** + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @param options The optional parameters + * @param callback The callback + */ + listNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + listNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + nextPageLink, + options + }, + listNextOperationSpec, + callback) as Promise; + } +} + +// Operation Specifications +const serializer = new msRest.Serializer(Mappers); +const getOperationSpec: msRest.OperationSpec = { + httpMethod: "GET", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/cloudServices/{cloudServiceName}/roles/{roleName}", + urlParameters: [ + Parameters.roleName, + Parameters.resourceGroupName, + Parameters.cloudServiceName, + Parameters.subscriptionId + ], + queryParameters: [ + Parameters.apiVersion5 + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: { + bodyMapper: Mappers.CloudServiceRole + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + +const listOperationSpec: msRest.OperationSpec = { + httpMethod: "GET", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/cloudServices/{cloudServiceName}/roles", + urlParameters: [ + Parameters.resourceGroupName, + Parameters.cloudServiceName, + Parameters.subscriptionId + ], + queryParameters: [ + Parameters.apiVersion5 + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: { + bodyMapper: Mappers.CloudServiceRoleListResult + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + +const listNextOperationSpec: msRest.OperationSpec = { + httpMethod: "GET", + baseUrl: "https://management.azure.com", + path: "{nextLink}", + urlParameters: [ + Parameters.nextPageLink + ], + queryParameters: [ + Parameters.apiVersion5 + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: { + bodyMapper: Mappers.CloudServiceRoleListResult + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; diff --git a/sdk/compute/arm-compute/src/operations/cloudServices.ts b/sdk/compute/arm-compute/src/operations/cloudServices.ts new file mode 100644 index 000000000000..7aca4b81cd96 --- /dev/null +++ b/sdk/compute/arm-compute/src/operations/cloudServices.ts @@ -0,0 +1,899 @@ +/* + * 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 * as msRest from "@azure/ms-rest-js"; +import * as msRestAzure from "@azure/ms-rest-azure-js"; +import * as Models from "../models"; +import * as Mappers from "../models/cloudServicesMappers"; +import * as Parameters from "../models/parameters"; +import { ComputeManagementClientContext } from "../computeManagementClientContext"; + +/** Class representing a CloudServices. */ +export class CloudServices { + private readonly client: ComputeManagementClientContext; + + /** + * Create a CloudServices. + * @param {ComputeManagementClientContext} client Reference to the service client. + */ + constructor(client: ComputeManagementClientContext) { + this.client = client; + } + + /** + * Create or update a cloud service. Please note some properties can be set only during cloud + * service creation. + * @param resourceGroupName Name of the resource group. + * @param cloudServiceName Name of the cloud service. + * @param [options] The optional parameters + * @returns Promise + */ + createOrUpdate(resourceGroupName: string, cloudServiceName: string, options?: Models.CloudServicesCreateOrUpdateOptionalParams): Promise { + return this.beginCreateOrUpdate(resourceGroupName,cloudServiceName,options) + .then(lroPoller => lroPoller.pollUntilFinished()) as Promise; + } + + /** + * Update a cloud service. + * @param resourceGroupName Name of the resource group. + * @param cloudServiceName Name of the cloud service. + * @param [options] The optional parameters + * @returns Promise + */ + update(resourceGroupName: string, cloudServiceName: string, options?: Models.CloudServicesUpdateOptionalParams): Promise { + return this.beginUpdate(resourceGroupName,cloudServiceName,options) + .then(lroPoller => lroPoller.pollUntilFinished()) as Promise; + } + + /** + * Deletes a cloud service. + * @param resourceGroupName Name of the resource group. + * @param cloudServiceName Name of the cloud service. + * @param [options] The optional parameters + * @returns Promise + */ + deleteMethod(resourceGroupName: string, cloudServiceName: string, options?: msRest.RequestOptionsBase): Promise { + return this.beginDeleteMethod(resourceGroupName,cloudServiceName,options) + .then(lroPoller => lroPoller.pollUntilFinished()); + } + + /** + * Display information about a cloud service. + * @param resourceGroupName Name of the resource group. + * @param cloudServiceName Name of the cloud service. + * @param [options] The optional parameters + * @returns Promise + */ + get(resourceGroupName: string, cloudServiceName: string, options?: msRest.RequestOptionsBase): Promise; + /** + * @param resourceGroupName Name of the resource group. + * @param cloudServiceName Name of the cloud service. + * @param callback The callback + */ + get(resourceGroupName: string, cloudServiceName: string, callback: msRest.ServiceCallback): void; + /** + * @param resourceGroupName Name of the resource group. + * @param cloudServiceName Name of the cloud service. + * @param options The optional parameters + * @param callback The callback + */ + get(resourceGroupName: string, cloudServiceName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + get(resourceGroupName: string, cloudServiceName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + resourceGroupName, + cloudServiceName, + options + }, + getOperationSpec, + callback) as Promise; + } + + /** + * Gets the status of a cloud service. + * @param resourceGroupName Name of the resource group. + * @param cloudServiceName Name of the cloud service. + * @param [options] The optional parameters + * @returns Promise + */ + getInstanceView(resourceGroupName: string, cloudServiceName: string, options?: msRest.RequestOptionsBase): Promise; + /** + * @param resourceGroupName Name of the resource group. + * @param cloudServiceName Name of the cloud service. + * @param callback The callback + */ + getInstanceView(resourceGroupName: string, cloudServiceName: string, callback: msRest.ServiceCallback): void; + /** + * @param resourceGroupName Name of the resource group. + * @param cloudServiceName Name of the cloud service. + * @param options The optional parameters + * @param callback The callback + */ + getInstanceView(resourceGroupName: string, cloudServiceName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + getInstanceView(resourceGroupName: string, cloudServiceName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + resourceGroupName, + cloudServiceName, + options + }, + getInstanceViewOperationSpec, + callback) as Promise; + } + + /** + * Gets a list of all cloud services in the subscription, regardless of the associated resource + * group. Use nextLink property in the response to get the next page of Cloud Services. Do this + * till nextLink is null to fetch all the Cloud Services. + * @param [options] The optional parameters + * @returns Promise + */ + listAll(options?: msRest.RequestOptionsBase): Promise; + /** + * @param callback The callback + */ + listAll(callback: msRest.ServiceCallback): void; + /** + * @param options The optional parameters + * @param callback The callback + */ + listAll(options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + listAll(options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + options + }, + listAllOperationSpec, + callback) as Promise; + } + + /** + * Gets a list of all cloud services under a resource group. Use nextLink property in the response + * to get the next page of Cloud Services. Do this till nextLink is null to fetch all the Cloud + * Services. + * @param resourceGroupName Name of the resource group. + * @param [options] The optional parameters + * @returns Promise + */ + list(resourceGroupName: string, options?: msRest.RequestOptionsBase): Promise; + /** + * @param resourceGroupName Name of the resource group. + * @param callback The callback + */ + list(resourceGroupName: string, callback: msRest.ServiceCallback): void; + /** + * @param resourceGroupName Name of the resource group. + * @param options The optional parameters + * @param callback The callback + */ + list(resourceGroupName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + list(resourceGroupName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + resourceGroupName, + options + }, + listOperationSpec, + callback) as Promise; + } + + /** + * Starts the cloud service. + * @param resourceGroupName Name of the resource group. + * @param cloudServiceName Name of the cloud service. + * @param [options] The optional parameters + * @returns Promise + */ + start(resourceGroupName: string, cloudServiceName: string, options?: msRest.RequestOptionsBase): Promise { + return this.beginStart(resourceGroupName,cloudServiceName,options) + .then(lroPoller => lroPoller.pollUntilFinished()); + } + + /** + * Power off the cloud service. Note that resources are still attached and you are getting charged + * for the resources. + * @param resourceGroupName Name of the resource group. + * @param cloudServiceName Name of the cloud service. + * @param [options] The optional parameters + * @returns Promise + */ + powerOff(resourceGroupName: string, cloudServiceName: string, options?: msRest.RequestOptionsBase): Promise { + return this.beginPowerOff(resourceGroupName,cloudServiceName,options) + .then(lroPoller => lroPoller.pollUntilFinished()); + } + + /** + * Restarts one or more role instances in a cloud service. + * @param resourceGroupName Name of the resource group. + * @param cloudServiceName Name of the cloud service. + * @param [options] The optional parameters + * @returns Promise + */ + restart(resourceGroupName: string, cloudServiceName: string, options?: Models.CloudServicesRestartOptionalParams): Promise { + return this.beginRestart(resourceGroupName,cloudServiceName,options) + .then(lroPoller => lroPoller.pollUntilFinished()); + } + + /** + * Reimage asynchronous operation reinstalls the operating system on instances of web roles or + * worker roles. + * @param resourceGroupName Name of the resource group. + * @param cloudServiceName Name of the cloud service. + * @param [options] The optional parameters + * @returns Promise + */ + reimage(resourceGroupName: string, cloudServiceName: string, options?: Models.CloudServicesReimageOptionalParams): Promise { + return this.beginReimage(resourceGroupName,cloudServiceName,options) + .then(lroPoller => lroPoller.pollUntilFinished()); + } + + /** + * Rebuild Role Instances reinstalls the operating system on instances of web roles or worker roles + * and initializes the storage resources that are used by them. If you do not want to initialize + * storage resources, you can use Reimage Role Instances. + * @param resourceGroupName Name of the resource group. + * @param cloudServiceName Name of the cloud service. + * @param [options] The optional parameters + * @returns Promise + */ + rebuild(resourceGroupName: string, cloudServiceName: string, options?: Models.CloudServicesRebuildOptionalParams): Promise { + return this.beginRebuild(resourceGroupName,cloudServiceName,options) + .then(lroPoller => lroPoller.pollUntilFinished()); + } + + /** + * Deletes role instances in a cloud service. + * @param resourceGroupName Name of the resource group. + * @param cloudServiceName Name of the cloud service. + * @param [options] The optional parameters + * @returns Promise + */ + deleteInstances(resourceGroupName: string, cloudServiceName: string, options?: Models.CloudServicesDeleteInstancesOptionalParams): Promise { + return this.beginDeleteInstances(resourceGroupName,cloudServiceName,options) + .then(lroPoller => lroPoller.pollUntilFinished()); + } + + /** + * Create or update a cloud service. Please note some properties can be set only during cloud + * service creation. + * @param resourceGroupName Name of the resource group. + * @param cloudServiceName Name of the cloud service. + * @param [options] The optional parameters + * @returns Promise + */ + beginCreateOrUpdate(resourceGroupName: string, cloudServiceName: string, options?: Models.CloudServicesBeginCreateOrUpdateOptionalParams): Promise { + return this.client.sendLRORequest( + { + resourceGroupName, + cloudServiceName, + options + }, + beginCreateOrUpdateOperationSpec, + options); + } + + /** + * Update a cloud service. + * @param resourceGroupName Name of the resource group. + * @param cloudServiceName Name of the cloud service. + * @param [options] The optional parameters + * @returns Promise + */ + beginUpdate(resourceGroupName: string, cloudServiceName: string, options?: Models.CloudServicesBeginUpdateOptionalParams): Promise { + return this.client.sendLRORequest( + { + resourceGroupName, + cloudServiceName, + options + }, + beginUpdateOperationSpec, + options); + } + + /** + * Deletes a cloud service. + * @param resourceGroupName Name of the resource group. + * @param cloudServiceName Name of the cloud service. + * @param [options] The optional parameters + * @returns Promise + */ + beginDeleteMethod(resourceGroupName: string, cloudServiceName: string, options?: msRest.RequestOptionsBase): Promise { + return this.client.sendLRORequest( + { + resourceGroupName, + cloudServiceName, + options + }, + beginDeleteMethodOperationSpec, + options); + } + + /** + * Starts the cloud service. + * @param resourceGroupName Name of the resource group. + * @param cloudServiceName Name of the cloud service. + * @param [options] The optional parameters + * @returns Promise + */ + beginStart(resourceGroupName: string, cloudServiceName: string, options?: msRest.RequestOptionsBase): Promise { + return this.client.sendLRORequest( + { + resourceGroupName, + cloudServiceName, + options + }, + beginStartOperationSpec, + options); + } + + /** + * Power off the cloud service. Note that resources are still attached and you are getting charged + * for the resources. + * @param resourceGroupName Name of the resource group. + * @param cloudServiceName Name of the cloud service. + * @param [options] The optional parameters + * @returns Promise + */ + beginPowerOff(resourceGroupName: string, cloudServiceName: string, options?: msRest.RequestOptionsBase): Promise { + return this.client.sendLRORequest( + { + resourceGroupName, + cloudServiceName, + options + }, + beginPowerOffOperationSpec, + options); + } + + /** + * Restarts one or more role instances in a cloud service. + * @param resourceGroupName Name of the resource group. + * @param cloudServiceName Name of the cloud service. + * @param [options] The optional parameters + * @returns Promise + */ + beginRestart(resourceGroupName: string, cloudServiceName: string, options?: Models.CloudServicesBeginRestartOptionalParams): Promise { + return this.client.sendLRORequest( + { + resourceGroupName, + cloudServiceName, + options + }, + beginRestartOperationSpec, + options); + } + + /** + * Reimage asynchronous operation reinstalls the operating system on instances of web roles or + * worker roles. + * @param resourceGroupName Name of the resource group. + * @param cloudServiceName Name of the cloud service. + * @param [options] The optional parameters + * @returns Promise + */ + beginReimage(resourceGroupName: string, cloudServiceName: string, options?: Models.CloudServicesBeginReimageOptionalParams): Promise { + return this.client.sendLRORequest( + { + resourceGroupName, + cloudServiceName, + options + }, + beginReimageOperationSpec, + options); + } + + /** + * Rebuild Role Instances reinstalls the operating system on instances of web roles or worker roles + * and initializes the storage resources that are used by them. If you do not want to initialize + * storage resources, you can use Reimage Role Instances. + * @param resourceGroupName Name of the resource group. + * @param cloudServiceName Name of the cloud service. + * @param [options] The optional parameters + * @returns Promise + */ + beginRebuild(resourceGroupName: string, cloudServiceName: string, options?: Models.CloudServicesBeginRebuildOptionalParams): Promise { + return this.client.sendLRORequest( + { + resourceGroupName, + cloudServiceName, + options + }, + beginRebuildOperationSpec, + options); + } + + /** + * Deletes role instances in a cloud service. + * @param resourceGroupName Name of the resource group. + * @param cloudServiceName Name of the cloud service. + * @param [options] The optional parameters + * @returns Promise + */ + beginDeleteInstances(resourceGroupName: string, cloudServiceName: string, options?: Models.CloudServicesBeginDeleteInstancesOptionalParams): Promise { + return this.client.sendLRORequest( + { + resourceGroupName, + cloudServiceName, + options + }, + beginDeleteInstancesOperationSpec, + options); + } + + /** + * Gets a list of all cloud services in the subscription, regardless of the associated resource + * group. Use nextLink property in the response to get the next page of Cloud Services. Do this + * till nextLink is null to fetch all the Cloud Services. + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @param [options] The optional parameters + * @returns Promise + */ + listAllNext(nextPageLink: string, options?: msRest.RequestOptionsBase): Promise; + /** + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @param callback The callback + */ + listAllNext(nextPageLink: string, callback: msRest.ServiceCallback): void; + /** + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @param options The optional parameters + * @param callback The callback + */ + listAllNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + listAllNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + nextPageLink, + options + }, + listAllNextOperationSpec, + callback) as Promise; + } + + /** + * Gets a list of all cloud services under a resource group. Use nextLink property in the response + * to get the next page of Cloud Services. Do this till nextLink is null to fetch all the Cloud + * Services. + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @param [options] The optional parameters + * @returns Promise + */ + listNext(nextPageLink: string, options?: msRest.RequestOptionsBase): Promise; + /** + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @param callback The callback + */ + listNext(nextPageLink: string, callback: msRest.ServiceCallback): void; + /** + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @param options The optional parameters + * @param callback The callback + */ + listNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + listNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + nextPageLink, + options + }, + listNextOperationSpec, + callback) as Promise; + } +} + +// Operation Specifications +const serializer = new msRest.Serializer(Mappers); +const getOperationSpec: msRest.OperationSpec = { + httpMethod: "GET", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/cloudServices/{cloudServiceName}", + urlParameters: [ + Parameters.resourceGroupName, + Parameters.cloudServiceName, + Parameters.subscriptionId + ], + queryParameters: [ + Parameters.apiVersion5 + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: { + bodyMapper: Mappers.CloudService + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + +const getInstanceViewOperationSpec: msRest.OperationSpec = { + httpMethod: "GET", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/cloudServices/{cloudServiceName}/instanceView", + urlParameters: [ + Parameters.resourceGroupName, + Parameters.cloudServiceName, + Parameters.subscriptionId + ], + queryParameters: [ + Parameters.apiVersion5 + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: { + bodyMapper: Mappers.CloudServiceInstanceView + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + +const listAllOperationSpec: msRest.OperationSpec = { + httpMethod: "GET", + path: "subscriptions/{subscriptionId}/providers/Microsoft.Compute/cloudServices", + urlParameters: [ + Parameters.subscriptionId + ], + queryParameters: [ + Parameters.apiVersion5 + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: { + bodyMapper: Mappers.CloudServiceListResult + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + +const listOperationSpec: msRest.OperationSpec = { + httpMethod: "GET", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/cloudServices", + urlParameters: [ + Parameters.resourceGroupName, + Parameters.subscriptionId + ], + queryParameters: [ + Parameters.apiVersion5 + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: { + bodyMapper: Mappers.CloudServiceListResult + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + +const beginCreateOrUpdateOperationSpec: msRest.OperationSpec = { + httpMethod: "PUT", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/cloudServices/{cloudServiceName}", + urlParameters: [ + Parameters.resourceGroupName, + Parameters.cloudServiceName, + Parameters.subscriptionId + ], + queryParameters: [ + Parameters.apiVersion5 + ], + headerParameters: [ + Parameters.acceptLanguage + ], + requestBody: { + parameterPath: [ + "options", + "parameters" + ], + mapper: Mappers.CloudService + }, + responses: { + 200: { + bodyMapper: Mappers.CloudService + }, + 201: { + bodyMapper: Mappers.CloudService + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + +const beginUpdateOperationSpec: msRest.OperationSpec = { + httpMethod: "PATCH", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/cloudServices/{cloudServiceName}", + urlParameters: [ + Parameters.resourceGroupName, + Parameters.cloudServiceName, + Parameters.subscriptionId + ], + queryParameters: [ + Parameters.apiVersion5 + ], + headerParameters: [ + Parameters.acceptLanguage + ], + requestBody: { + parameterPath: [ + "options", + "parameters" + ], + mapper: Mappers.CloudServiceUpdate + }, + responses: { + 200: { + bodyMapper: Mappers.CloudService + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + +const beginDeleteMethodOperationSpec: msRest.OperationSpec = { + httpMethod: "DELETE", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/cloudServices/{cloudServiceName}", + urlParameters: [ + Parameters.resourceGroupName, + Parameters.cloudServiceName, + Parameters.subscriptionId + ], + queryParameters: [ + Parameters.apiVersion5 + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: {}, + 202: {}, + 204: {}, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + +const beginStartOperationSpec: msRest.OperationSpec = { + httpMethod: "POST", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/cloudServices/{cloudServiceName}/start", + urlParameters: [ + Parameters.resourceGroupName, + Parameters.cloudServiceName, + Parameters.subscriptionId + ], + queryParameters: [ + Parameters.apiVersion5 + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: {}, + 202: {}, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + +const beginPowerOffOperationSpec: msRest.OperationSpec = { + httpMethod: "POST", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/cloudServices/{cloudServiceName}/poweroff", + urlParameters: [ + Parameters.resourceGroupName, + Parameters.cloudServiceName, + Parameters.subscriptionId + ], + queryParameters: [ + Parameters.apiVersion5 + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: {}, + 202: {}, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + +const beginRestartOperationSpec: msRest.OperationSpec = { + httpMethod: "POST", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/cloudServices/{cloudServiceName}/restart", + urlParameters: [ + Parameters.resourceGroupName, + Parameters.cloudServiceName, + Parameters.subscriptionId + ], + queryParameters: [ + Parameters.apiVersion5 + ], + headerParameters: [ + Parameters.acceptLanguage + ], + requestBody: { + parameterPath: [ + "options", + "parameters" + ], + mapper: Mappers.RoleInstances + }, + responses: { + 200: {}, + 202: {}, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + +const beginReimageOperationSpec: msRest.OperationSpec = { + httpMethod: "POST", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/cloudServices/{cloudServiceName}/reimage", + urlParameters: [ + Parameters.resourceGroupName, + Parameters.cloudServiceName, + Parameters.subscriptionId + ], + queryParameters: [ + Parameters.apiVersion5 + ], + headerParameters: [ + Parameters.acceptLanguage + ], + requestBody: { + parameterPath: [ + "options", + "parameters" + ], + mapper: Mappers.RoleInstances + }, + responses: { + 200: {}, + 202: {}, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + +const beginRebuildOperationSpec: msRest.OperationSpec = { + httpMethod: "POST", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/cloudServices/{cloudServiceName}/rebuild", + urlParameters: [ + Parameters.resourceGroupName, + Parameters.cloudServiceName, + Parameters.subscriptionId + ], + queryParameters: [ + Parameters.apiVersion5 + ], + headerParameters: [ + Parameters.acceptLanguage + ], + requestBody: { + parameterPath: [ + "options", + "parameters" + ], + mapper: Mappers.RoleInstances + }, + responses: { + 200: {}, + 202: {}, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + +const beginDeleteInstancesOperationSpec: msRest.OperationSpec = { + httpMethod: "POST", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/cloudServices/{cloudServiceName}/delete", + urlParameters: [ + Parameters.resourceGroupName, + Parameters.cloudServiceName, + Parameters.subscriptionId + ], + queryParameters: [ + Parameters.apiVersion5 + ], + headerParameters: [ + Parameters.acceptLanguage + ], + requestBody: { + parameterPath: [ + "options", + "parameters" + ], + mapper: Mappers.RoleInstances + }, + responses: { + 200: {}, + 202: {}, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + +const listAllNextOperationSpec: msRest.OperationSpec = { + httpMethod: "GET", + baseUrl: "https://management.azure.com", + path: "{nextLink}", + urlParameters: [ + Parameters.nextPageLink + ], + queryParameters: [ + Parameters.apiVersion5 + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: { + bodyMapper: Mappers.CloudServiceListResult + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + +const listNextOperationSpec: msRest.OperationSpec = { + httpMethod: "GET", + baseUrl: "https://management.azure.com", + path: "{nextLink}", + urlParameters: [ + Parameters.nextPageLink + ], + queryParameters: [ + Parameters.apiVersion5 + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: { + bodyMapper: Mappers.CloudServiceListResult + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; diff --git a/sdk/compute/arm-compute/src/operations/cloudServicesUpdateDomain.ts b/sdk/compute/arm-compute/src/operations/cloudServicesUpdateDomain.ts new file mode 100644 index 000000000000..b8d39b7001c2 --- /dev/null +++ b/sdk/compute/arm-compute/src/operations/cloudServicesUpdateDomain.ts @@ -0,0 +1,278 @@ +/* + * 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 * as msRest from "@azure/ms-rest-js"; +import * as msRestAzure from "@azure/ms-rest-azure-js"; +import * as Models from "../models"; +import * as Mappers from "../models/cloudServicesUpdateDomainMappers"; +import * as Parameters from "../models/parameters"; +import { ComputeManagementClientContext } from "../computeManagementClientContext"; + +/** Class representing a CloudServicesUpdateDomain. */ +export class CloudServicesUpdateDomain { + private readonly client: ComputeManagementClientContext; + + /** + * Create a CloudServicesUpdateDomain. + * @param {ComputeManagementClientContext} client Reference to the service client. + */ + constructor(client: ComputeManagementClientContext) { + this.client = client; + } + + /** + * Updates the role instances in the specified update domain. + * @param resourceGroupName Name of the resource group. + * @param cloudServiceName Name of the cloud service. + * @param updateDomain Specifies an integer value that identifies the update domain. Update domains + * are identified with a zero-based index: the first update domain has an ID of 0, the second has + * an ID of 1, and so on. + * @param [options] The optional parameters + * @returns Promise + */ + walkUpdateDomain(resourceGroupName: string, cloudServiceName: string, updateDomain: number, options?: msRest.RequestOptionsBase): Promise { + return this.beginWalkUpdateDomain(resourceGroupName,cloudServiceName,updateDomain,options) + .then(lroPoller => lroPoller.pollUntilFinished()); + } + + /** + * Gets the specified update domain of a cloud service. Use nextLink property in the response to + * get the next page of update domains. Do this till nextLink is null to fetch all the update + * domains. + * @param resourceGroupName Name of the resource group. + * @param cloudServiceName Name of the cloud service. + * @param updateDomain Specifies an integer value that identifies the update domain. Update domains + * are identified with a zero-based index: the first update domain has an ID of 0, the second has + * an ID of 1, and so on. + * @param [options] The optional parameters + * @returns Promise + */ + getUpdateDomain(resourceGroupName: string, cloudServiceName: string, updateDomain: number, options?: msRest.RequestOptionsBase): Promise; + /** + * @param resourceGroupName Name of the resource group. + * @param cloudServiceName Name of the cloud service. + * @param updateDomain Specifies an integer value that identifies the update domain. Update domains + * are identified with a zero-based index: the first update domain has an ID of 0, the second has + * an ID of 1, and so on. + * @param callback The callback + */ + getUpdateDomain(resourceGroupName: string, cloudServiceName: string, updateDomain: number, callback: msRest.ServiceCallback): void; + /** + * @param resourceGroupName Name of the resource group. + * @param cloudServiceName Name of the cloud service. + * @param updateDomain Specifies an integer value that identifies the update domain. Update domains + * are identified with a zero-based index: the first update domain has an ID of 0, the second has + * an ID of 1, and so on. + * @param options The optional parameters + * @param callback The callback + */ + getUpdateDomain(resourceGroupName: string, cloudServiceName: string, updateDomain: number, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + getUpdateDomain(resourceGroupName: string, cloudServiceName: string, updateDomain: number, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + resourceGroupName, + cloudServiceName, + updateDomain, + options + }, + getUpdateDomainOperationSpec, + callback) as Promise; + } + + /** + * Gets a list of all update domains in a cloud service. + * @param resourceGroupName Name of the resource group. + * @param cloudServiceName Name of the cloud service. + * @param [options] The optional parameters + * @returns Promise + */ + listUpdateDomains(resourceGroupName: string, cloudServiceName: string, options?: msRest.RequestOptionsBase): Promise; + /** + * @param resourceGroupName Name of the resource group. + * @param cloudServiceName Name of the cloud service. + * @param callback The callback + */ + listUpdateDomains(resourceGroupName: string, cloudServiceName: string, callback: msRest.ServiceCallback): void; + /** + * @param resourceGroupName Name of the resource group. + * @param cloudServiceName Name of the cloud service. + * @param options The optional parameters + * @param callback The callback + */ + listUpdateDomains(resourceGroupName: string, cloudServiceName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + listUpdateDomains(resourceGroupName: string, cloudServiceName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + resourceGroupName, + cloudServiceName, + options + }, + listUpdateDomainsOperationSpec, + callback) as Promise; + } + + /** + * Updates the role instances in the specified update domain. + * @param resourceGroupName Name of the resource group. + * @param cloudServiceName Name of the cloud service. + * @param updateDomain Specifies an integer value that identifies the update domain. Update domains + * are identified with a zero-based index: the first update domain has an ID of 0, the second has + * an ID of 1, and so on. + * @param [options] The optional parameters + * @returns Promise + */ + beginWalkUpdateDomain(resourceGroupName: string, cloudServiceName: string, updateDomain: number, options?: msRest.RequestOptionsBase): Promise { + return this.client.sendLRORequest( + { + resourceGroupName, + cloudServiceName, + updateDomain, + options + }, + beginWalkUpdateDomainOperationSpec, + options); + } + + /** + * Gets a list of all update domains in a cloud service. + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @param [options] The optional parameters + * @returns Promise + */ + listUpdateDomainsNext(nextPageLink: string, options?: msRest.RequestOptionsBase): Promise; + /** + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @param callback The callback + */ + listUpdateDomainsNext(nextPageLink: string, callback: msRest.ServiceCallback): void; + /** + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @param options The optional parameters + * @param callback The callback + */ + listUpdateDomainsNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + listUpdateDomainsNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + nextPageLink, + options + }, + listUpdateDomainsNextOperationSpec, + callback) as Promise; + } +} + +// Operation Specifications +const serializer = new msRest.Serializer(Mappers); +const getUpdateDomainOperationSpec: msRest.OperationSpec = { + httpMethod: "GET", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/cloudServices/{cloudServiceName}/updateDomains/{updateDomain}", + urlParameters: [ + Parameters.resourceGroupName, + Parameters.cloudServiceName, + Parameters.updateDomain, + Parameters.subscriptionId + ], + queryParameters: [ + Parameters.apiVersion5 + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: { + bodyMapper: Mappers.UpdateDomain + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + +const listUpdateDomainsOperationSpec: msRest.OperationSpec = { + httpMethod: "GET", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/cloudServices/{cloudServiceName}/updateDomains", + urlParameters: [ + Parameters.resourceGroupName, + Parameters.cloudServiceName, + Parameters.subscriptionId + ], + queryParameters: [ + Parameters.apiVersion5 + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: { + bodyMapper: Mappers.UpdateDomainListResult + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + +const beginWalkUpdateDomainOperationSpec: msRest.OperationSpec = { + httpMethod: "PUT", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/cloudServices/{cloudServiceName}/updateDomains/{updateDomain}", + urlParameters: [ + Parameters.resourceGroupName, + Parameters.cloudServiceName, + Parameters.updateDomain, + Parameters.subscriptionId + ], + queryParameters: [ + Parameters.apiVersion5 + ], + headerParameters: [ + Parameters.acceptLanguage + ], + requestBody: { + parameterPath: [ + "options", + "parameters" + ], + mapper: Mappers.UpdateDomain + }, + responses: { + 200: {}, + 202: {}, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + +const listUpdateDomainsNextOperationSpec: msRest.OperationSpec = { + httpMethod: "GET", + baseUrl: "https://management.azure.com", + path: "{nextLink}", + urlParameters: [ + Parameters.nextPageLink + ], + queryParameters: [ + Parameters.apiVersion5 + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: { + bodyMapper: Mappers.UpdateDomainListResult + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; diff --git a/sdk/compute/arm-compute/src/operations/containerServices.ts b/sdk/compute/arm-compute/src/operations/containerServices.ts index a0b681fc5406..db3125479a2a 100644 --- a/sdk/compute/arm-compute/src/operations/containerServices.ts +++ b/sdk/compute/arm-compute/src/operations/containerServices.ts @@ -1,7 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. + * 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 @@ -408,6 +407,9 @@ const listNextOperationSpec: msRest.OperationSpec = { urlParameters: [ Parameters.nextPageLink ], + queryParameters: [ + Parameters.apiVersion4 + ], headerParameters: [ Parameters.acceptLanguage ], @@ -429,6 +431,9 @@ const listByResourceGroupNextOperationSpec: msRest.OperationSpec = { urlParameters: [ Parameters.nextPageLink ], + queryParameters: [ + Parameters.apiVersion4 + ], headerParameters: [ Parameters.acceptLanguage ], diff --git a/sdk/compute/arm-compute/src/operations/dedicatedHostGroups.ts b/sdk/compute/arm-compute/src/operations/dedicatedHostGroups.ts index 52c24be5bd99..e5470bb2a190 100644 --- a/sdk/compute/arm-compute/src/operations/dedicatedHostGroups.ts +++ b/sdk/compute/arm-compute/src/operations/dedicatedHostGroups.ts @@ -1,7 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. + * 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 @@ -449,6 +448,9 @@ const listByResourceGroupNextOperationSpec: msRest.OperationSpec = { urlParameters: [ Parameters.nextPageLink ], + queryParameters: [ + Parameters.apiVersion0 + ], headerParameters: [ Parameters.acceptLanguage ], @@ -470,6 +472,9 @@ const listBySubscriptionNextOperationSpec: msRest.OperationSpec = { urlParameters: [ Parameters.nextPageLink ], + queryParameters: [ + Parameters.apiVersion0 + ], headerParameters: [ Parameters.acceptLanguage ], diff --git a/sdk/compute/arm-compute/src/operations/dedicatedHosts.ts b/sdk/compute/arm-compute/src/operations/dedicatedHosts.ts index ae75b9bd3869..4ea103423d43 100644 --- a/sdk/compute/arm-compute/src/operations/dedicatedHosts.ts +++ b/sdk/compute/arm-compute/src/operations/dedicatedHosts.ts @@ -1,7 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. + * 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 @@ -387,6 +386,9 @@ const listByHostGroupNextOperationSpec: msRest.OperationSpec = { urlParameters: [ Parameters.nextPageLink ], + queryParameters: [ + Parameters.apiVersion0 + ], headerParameters: [ Parameters.acceptLanguage ], diff --git a/sdk/compute/arm-compute/src/operations/diskAccesses.ts b/sdk/compute/arm-compute/src/operations/diskAccesses.ts index 840735b7139e..e19e6744a1f3 100644 --- a/sdk/compute/arm-compute/src/operations/diskAccesses.ts +++ b/sdk/compute/arm-compute/src/operations/diskAccesses.ts @@ -1,7 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. + * 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 @@ -199,6 +198,119 @@ export class DiskAccesses { callback) as Promise; } + /** + * Approve or reject a private endpoint connection under disk access resource, this can't be used + * to create a new private endpoint connection. + * @param resourceGroupName The name of the resource group. + * @param diskAccessName The name of the disk access resource that is being created. The name can't + * be changed after the disk encryption set is created. Supported characters for the name are a-z, + * A-Z, 0-9 and _. The maximum name length is 80 characters. + * @param privateEndpointConnectionName The name of the private endpoint connection + * @param privateEndpointConnection private endpoint connection object supplied in the body of the + * Put private endpoint connection operation. + * @param [options] The optional parameters + * @returns Promise + */ + updateAPrivateEndpointConnection(resourceGroupName: string, diskAccessName: string, privateEndpointConnectionName: string, privateEndpointConnection: Models.PrivateEndpointConnection, options?: msRest.RequestOptionsBase): Promise { + return this.beginUpdateAPrivateEndpointConnection(resourceGroupName,diskAccessName,privateEndpointConnectionName,privateEndpointConnection,options) + .then(lroPoller => lroPoller.pollUntilFinished()) as Promise; + } + + /** + * Gets information about a private endpoint connection under a disk access resource. + * @param resourceGroupName The name of the resource group. + * @param diskAccessName The name of the disk access resource that is being created. The name can't + * be changed after the disk encryption set is created. Supported characters for the name are a-z, + * A-Z, 0-9 and _. The maximum name length is 80 characters. + * @param privateEndpointConnectionName The name of the private endpoint connection + * @param [options] The optional parameters + * @returns Promise + */ + getAPrivateEndpointConnection(resourceGroupName: string, diskAccessName: string, privateEndpointConnectionName: string, options?: msRest.RequestOptionsBase): Promise; + /** + * @param resourceGroupName The name of the resource group. + * @param diskAccessName The name of the disk access resource that is being created. The name can't + * be changed after the disk encryption set is created. Supported characters for the name are a-z, + * A-Z, 0-9 and _. The maximum name length is 80 characters. + * @param privateEndpointConnectionName The name of the private endpoint connection + * @param callback The callback + */ + getAPrivateEndpointConnection(resourceGroupName: string, diskAccessName: string, privateEndpointConnectionName: string, callback: msRest.ServiceCallback): void; + /** + * @param resourceGroupName The name of the resource group. + * @param diskAccessName The name of the disk access resource that is being created. The name can't + * be changed after the disk encryption set is created. Supported characters for the name are a-z, + * A-Z, 0-9 and _. The maximum name length is 80 characters. + * @param privateEndpointConnectionName The name of the private endpoint connection + * @param options The optional parameters + * @param callback The callback + */ + getAPrivateEndpointConnection(resourceGroupName: string, diskAccessName: string, privateEndpointConnectionName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + getAPrivateEndpointConnection(resourceGroupName: string, diskAccessName: string, privateEndpointConnectionName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + resourceGroupName, + diskAccessName, + privateEndpointConnectionName, + options + }, + getAPrivateEndpointConnectionOperationSpec, + callback) as Promise; + } + + /** + * Deletes a private endpoint connection under a disk access resource. + * @param resourceGroupName The name of the resource group. + * @param diskAccessName The name of the disk access resource that is being created. The name can't + * be changed after the disk encryption set is created. Supported characters for the name are a-z, + * A-Z, 0-9 and _. The maximum name length is 80 characters. + * @param privateEndpointConnectionName The name of the private endpoint connection + * @param [options] The optional parameters + * @returns Promise + */ + deleteAPrivateEndpointConnection(resourceGroupName: string, diskAccessName: string, privateEndpointConnectionName: string, options?: msRest.RequestOptionsBase): Promise { + return this.beginDeleteAPrivateEndpointConnection(resourceGroupName,diskAccessName,privateEndpointConnectionName,options) + .then(lroPoller => lroPoller.pollUntilFinished()); + } + + /** + * List information about private endpoint connections under a disk access resource + * @param resourceGroupName The name of the resource group. + * @param diskAccessName The name of the disk access resource that is being created. The name can't + * be changed after the disk encryption set is created. Supported characters for the name are a-z, + * A-Z, 0-9 and _. The maximum name length is 80 characters. + * @param [options] The optional parameters + * @returns Promise + */ + listPrivateEndpointConnections(resourceGroupName: string, diskAccessName: string, options?: msRest.RequestOptionsBase): Promise; + /** + * @param resourceGroupName The name of the resource group. + * @param diskAccessName The name of the disk access resource that is being created. The name can't + * be changed after the disk encryption set is created. Supported characters for the name are a-z, + * A-Z, 0-9 and _. The maximum name length is 80 characters. + * @param callback The callback + */ + listPrivateEndpointConnections(resourceGroupName: string, diskAccessName: string, callback: msRest.ServiceCallback): void; + /** + * @param resourceGroupName The name of the resource group. + * @param diskAccessName The name of the disk access resource that is being created. The name can't + * be changed after the disk encryption set is created. Supported characters for the name are a-z, + * A-Z, 0-9 and _. The maximum name length is 80 characters. + * @param options The optional parameters + * @param callback The callback + */ + listPrivateEndpointConnections(resourceGroupName: string, diskAccessName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + listPrivateEndpointConnections(resourceGroupName: string, diskAccessName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + resourceGroupName, + diskAccessName, + options + }, + listPrivateEndpointConnectionsOperationSpec, + callback) as Promise; + } + /** * Creates or updates a disk access resource * @param resourceGroupName The name of the resource group. @@ -263,6 +375,54 @@ export class DiskAccesses { options); } + /** + * Approve or reject a private endpoint connection under disk access resource, this can't be used + * to create a new private endpoint connection. + * @param resourceGroupName The name of the resource group. + * @param diskAccessName The name of the disk access resource that is being created. The name can't + * be changed after the disk encryption set is created. Supported characters for the name are a-z, + * A-Z, 0-9 and _. The maximum name length is 80 characters. + * @param privateEndpointConnectionName The name of the private endpoint connection + * @param privateEndpointConnection private endpoint connection object supplied in the body of the + * Put private endpoint connection operation. + * @param [options] The optional parameters + * @returns Promise + */ + beginUpdateAPrivateEndpointConnection(resourceGroupName: string, diskAccessName: string, privateEndpointConnectionName: string, privateEndpointConnection: Models.PrivateEndpointConnection, options?: msRest.RequestOptionsBase): Promise { + return this.client.sendLRORequest( + { + resourceGroupName, + diskAccessName, + privateEndpointConnectionName, + privateEndpointConnection, + options + }, + beginUpdateAPrivateEndpointConnectionOperationSpec, + options); + } + + /** + * Deletes a private endpoint connection under a disk access resource. + * @param resourceGroupName The name of the resource group. + * @param diskAccessName The name of the disk access resource that is being created. The name can't + * be changed after the disk encryption set is created. Supported characters for the name are a-z, + * A-Z, 0-9 and _. The maximum name length is 80 characters. + * @param privateEndpointConnectionName The name of the private endpoint connection + * @param [options] The optional parameters + * @returns Promise + */ + beginDeleteAPrivateEndpointConnection(resourceGroupName: string, diskAccessName: string, privateEndpointConnectionName: string, options?: msRest.RequestOptionsBase): Promise { + return this.client.sendLRORequest( + { + resourceGroupName, + diskAccessName, + privateEndpointConnectionName, + options + }, + beginDeleteAPrivateEndpointConnectionOperationSpec, + options); + } + /** * Lists all the disk access resources under a resource group. * @param nextPageLink The NextLink from the previous successful call to List operation. @@ -318,6 +478,34 @@ export class DiskAccesses { listNextOperationSpec, callback) as Promise; } + + /** + * List information about private endpoint connections under a disk access resource + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @param [options] The optional parameters + * @returns Promise + */ + listPrivateEndpointConnectionsNext(nextPageLink: string, options?: msRest.RequestOptionsBase): Promise; + /** + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @param callback The callback + */ + listPrivateEndpointConnectionsNext(nextPageLink: string, callback: msRest.ServiceCallback): void; + /** + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @param options The optional parameters + * @param callback The callback + */ + listPrivateEndpointConnectionsNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + listPrivateEndpointConnectionsNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + nextPageLink, + options + }, + listPrivateEndpointConnectionsNextOperationSpec, + callback) as Promise; + } } // Operation Specifications @@ -419,6 +607,57 @@ const getPrivateLinkResourcesOperationSpec: msRest.OperationSpec = { serializer }; +const getAPrivateEndpointConnectionOperationSpec: msRest.OperationSpec = { + httpMethod: "GET", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/diskAccesses/{diskAccessName}/privateEndpointConnections/{privateEndpointConnectionName}", + urlParameters: [ + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.diskAccessName, + Parameters.privateEndpointConnectionName + ], + queryParameters: [ + Parameters.apiVersion2 + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: { + bodyMapper: Mappers.PrivateEndpointConnection + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + +const listPrivateEndpointConnectionsOperationSpec: msRest.OperationSpec = { + httpMethod: "GET", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/diskAccesses/{diskAccessName}/privateEndpointConnections", + urlParameters: [ + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.diskAccessName + ], + queryParameters: [ + Parameters.apiVersion2 + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: { + bodyMapper: Mappers.PrivateEndpointConnectionListResult + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + const beginCreateOrUpdateOperationSpec: msRest.OperationSpec = { httpMethod: "PUT", path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/diskAccesses/{diskAccessName}", @@ -514,6 +753,68 @@ const beginDeleteMethodOperationSpec: msRest.OperationSpec = { serializer }; +const beginUpdateAPrivateEndpointConnectionOperationSpec: msRest.OperationSpec = { + httpMethod: "PUT", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/diskAccesses/{diskAccessName}/privateEndpointConnections/{privateEndpointConnectionName}", + urlParameters: [ + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.diskAccessName, + Parameters.privateEndpointConnectionName + ], + queryParameters: [ + Parameters.apiVersion2 + ], + headerParameters: [ + Parameters.acceptLanguage + ], + requestBody: { + parameterPath: "privateEndpointConnection", + mapper: { + ...Mappers.PrivateEndpointConnection, + required: true + } + }, + responses: { + 200: { + bodyMapper: Mappers.PrivateEndpointConnection + }, + 202: { + bodyMapper: Mappers.PrivateEndpointConnection + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + +const beginDeleteAPrivateEndpointConnectionOperationSpec: msRest.OperationSpec = { + httpMethod: "DELETE", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/diskAccesses/{diskAccessName}/privateEndpointConnections/{privateEndpointConnectionName}", + urlParameters: [ + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.diskAccessName, + Parameters.privateEndpointConnectionName + ], + queryParameters: [ + Parameters.apiVersion2 + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: {}, + 202: {}, + 204: {}, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + const listByResourceGroupNextOperationSpec: msRest.OperationSpec = { httpMethod: "GET", baseUrl: "https://management.azure.com", @@ -521,6 +822,9 @@ const listByResourceGroupNextOperationSpec: msRest.OperationSpec = { urlParameters: [ Parameters.nextPageLink ], + queryParameters: [ + Parameters.apiVersion2 + ], headerParameters: [ Parameters.acceptLanguage ], @@ -542,6 +846,9 @@ const listNextOperationSpec: msRest.OperationSpec = { urlParameters: [ Parameters.nextPageLink ], + queryParameters: [ + Parameters.apiVersion2 + ], headerParameters: [ Parameters.acceptLanguage ], @@ -555,3 +862,27 @@ const listNextOperationSpec: msRest.OperationSpec = { }, serializer }; + +const listPrivateEndpointConnectionsNextOperationSpec: msRest.OperationSpec = { + httpMethod: "GET", + baseUrl: "https://management.azure.com", + path: "{nextLink}", + urlParameters: [ + Parameters.nextPageLink + ], + queryParameters: [ + Parameters.apiVersion2 + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: { + bodyMapper: Mappers.PrivateEndpointConnectionListResult + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; diff --git a/sdk/compute/arm-compute/src/operations/diskEncryptionSets.ts b/sdk/compute/arm-compute/src/operations/diskEncryptionSets.ts index 428767a6a919..9573d7617337 100644 --- a/sdk/compute/arm-compute/src/operations/diskEncryptionSets.ts +++ b/sdk/compute/arm-compute/src/operations/diskEncryptionSets.ts @@ -1,7 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. + * 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 @@ -553,6 +552,9 @@ const listByResourceGroupNextOperationSpec: msRest.OperationSpec = { urlParameters: [ Parameters.nextPageLink ], + queryParameters: [ + Parameters.apiVersion2 + ], headerParameters: [ Parameters.acceptLanguage ], @@ -574,6 +576,9 @@ const listNextOperationSpec: msRest.OperationSpec = { urlParameters: [ Parameters.nextPageLink ], + queryParameters: [ + Parameters.apiVersion2 + ], headerParameters: [ Parameters.acceptLanguage ], @@ -595,6 +600,9 @@ const listAssociatedResourcesNextOperationSpec: msRest.OperationSpec = { urlParameters: [ Parameters.nextPageLink ], + queryParameters: [ + Parameters.apiVersion2 + ], headerParameters: [ Parameters.acceptLanguage ], diff --git a/sdk/compute/arm-compute/src/operations/diskRestorePointOperations.ts b/sdk/compute/arm-compute/src/operations/diskRestorePointOperations.ts new file mode 100644 index 000000000000..08ba31dab54a --- /dev/null +++ b/sdk/compute/arm-compute/src/operations/diskRestorePointOperations.ts @@ -0,0 +1,237 @@ +/* + * 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 * as msRest from "@azure/ms-rest-js"; +import * as Models from "../models"; +import * as Mappers from "../models/diskRestorePointOperationsMappers"; +import * as Parameters from "../models/parameters"; +import { ComputeManagementClientContext } from "../computeManagementClientContext"; + +/** Class representing a DiskRestorePointOperations. */ +export class DiskRestorePointOperations { + private readonly client: ComputeManagementClientContext; + + /** + * Create a DiskRestorePointOperations. + * @param {ComputeManagementClientContext} client Reference to the service client. + */ + constructor(client: ComputeManagementClientContext) { + this.client = client; + } + + /** + * Get disk restorePoint resource + * @param resourceGroupName The name of the resource group. + * @param restorePointCollectionName The name of the restore point collection that the disk restore + * point belongs. Supported characters for the name are a-z, A-Z, 0-9 and _. The maximum name + * length is 80 characters. + * @param vmRestorePointName The name of the vm restore point that the disk disk restore point + * belongs. Supported characters for the name are a-z, A-Z, 0-9 and _. The maximum name length is + * 80 characters. + * @param diskRestorePointName The name of the disk restore point created. Supported characters for + * the name are a-z, A-Z, 0-9 and _. The maximum name length is 80 characters. + * @param [options] The optional parameters + * @returns Promise + */ + get(resourceGroupName: string, restorePointCollectionName: string, vmRestorePointName: string, diskRestorePointName: string, options?: msRest.RequestOptionsBase): Promise; + /** + * @param resourceGroupName The name of the resource group. + * @param restorePointCollectionName The name of the restore point collection that the disk restore + * point belongs. Supported characters for the name are a-z, A-Z, 0-9 and _. The maximum name + * length is 80 characters. + * @param vmRestorePointName The name of the vm restore point that the disk disk restore point + * belongs. Supported characters for the name are a-z, A-Z, 0-9 and _. The maximum name length is + * 80 characters. + * @param diskRestorePointName The name of the disk restore point created. Supported characters for + * the name are a-z, A-Z, 0-9 and _. The maximum name length is 80 characters. + * @param callback The callback + */ + get(resourceGroupName: string, restorePointCollectionName: string, vmRestorePointName: string, diskRestorePointName: string, callback: msRest.ServiceCallback): void; + /** + * @param resourceGroupName The name of the resource group. + * @param restorePointCollectionName The name of the restore point collection that the disk restore + * point belongs. Supported characters for the name are a-z, A-Z, 0-9 and _. The maximum name + * length is 80 characters. + * @param vmRestorePointName The name of the vm restore point that the disk disk restore point + * belongs. Supported characters for the name are a-z, A-Z, 0-9 and _. The maximum name length is + * 80 characters. + * @param diskRestorePointName The name of the disk restore point created. Supported characters for + * the name are a-z, A-Z, 0-9 and _. The maximum name length is 80 characters. + * @param options The optional parameters + * @param callback The callback + */ + get(resourceGroupName: string, restorePointCollectionName: string, vmRestorePointName: string, diskRestorePointName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + get(resourceGroupName: string, restorePointCollectionName: string, vmRestorePointName: string, diskRestorePointName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + resourceGroupName, + restorePointCollectionName, + vmRestorePointName, + diskRestorePointName, + options + }, + getOperationSpec, + callback) as Promise; + } + + /** + * Lists diskRestorePoints under a vmRestorePoint. + * @param resourceGroupName The name of the resource group. + * @param restorePointCollectionName The name of the restore point collection that the disk restore + * point belongs. Supported characters for the name are a-z, A-Z, 0-9 and _. The maximum name + * length is 80 characters. + * @param vmRestorePointName The name of the vm restore point that the disk disk restore point + * belongs. Supported characters for the name are a-z, A-Z, 0-9 and _. The maximum name length is + * 80 characters. + * @param [options] The optional parameters + * @returns Promise + */ + listByRestorePoint(resourceGroupName: string, restorePointCollectionName: string, vmRestorePointName: string, options?: msRest.RequestOptionsBase): Promise; + /** + * @param resourceGroupName The name of the resource group. + * @param restorePointCollectionName The name of the restore point collection that the disk restore + * point belongs. Supported characters for the name are a-z, A-Z, 0-9 and _. The maximum name + * length is 80 characters. + * @param vmRestorePointName The name of the vm restore point that the disk disk restore point + * belongs. Supported characters for the name are a-z, A-Z, 0-9 and _. The maximum name length is + * 80 characters. + * @param callback The callback + */ + listByRestorePoint(resourceGroupName: string, restorePointCollectionName: string, vmRestorePointName: string, callback: msRest.ServiceCallback): void; + /** + * @param resourceGroupName The name of the resource group. + * @param restorePointCollectionName The name of the restore point collection that the disk restore + * point belongs. Supported characters for the name are a-z, A-Z, 0-9 and _. The maximum name + * length is 80 characters. + * @param vmRestorePointName The name of the vm restore point that the disk disk restore point + * belongs. Supported characters for the name are a-z, A-Z, 0-9 and _. The maximum name length is + * 80 characters. + * @param options The optional parameters + * @param callback The callback + */ + listByRestorePoint(resourceGroupName: string, restorePointCollectionName: string, vmRestorePointName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + listByRestorePoint(resourceGroupName: string, restorePointCollectionName: string, vmRestorePointName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + resourceGroupName, + restorePointCollectionName, + vmRestorePointName, + options + }, + listByRestorePointOperationSpec, + callback) as Promise; + } + + /** + * Lists diskRestorePoints under a vmRestorePoint. + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @param [options] The optional parameters + * @returns Promise + */ + listByRestorePointNext(nextPageLink: string, options?: msRest.RequestOptionsBase): Promise; + /** + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @param callback The callback + */ + listByRestorePointNext(nextPageLink: string, callback: msRest.ServiceCallback): void; + /** + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @param options The optional parameters + * @param callback The callback + */ + listByRestorePointNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + listByRestorePointNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + nextPageLink, + options + }, + listByRestorePointNextOperationSpec, + callback) as Promise; + } +} + +// Operation Specifications +const serializer = new msRest.Serializer(Mappers); +const getOperationSpec: msRest.OperationSpec = { + httpMethod: "GET", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/restorePointCollections/{restorePointCollectionName}/restorePoints/{vmRestorePointName}/diskRestorePoints/{diskRestorePointName}", + urlParameters: [ + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.restorePointCollectionName, + Parameters.vmRestorePointName, + Parameters.diskRestorePointName + ], + queryParameters: [ + Parameters.apiVersion2 + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: { + bodyMapper: Mappers.DiskRestorePoint + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + +const listByRestorePointOperationSpec: msRest.OperationSpec = { + httpMethod: "GET", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/restorePointCollections/{restorePointCollectionName}/restorePoints/{vmRestorePointName}/diskRestorePoints", + urlParameters: [ + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.restorePointCollectionName, + Parameters.vmRestorePointName + ], + queryParameters: [ + Parameters.apiVersion2 + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: { + bodyMapper: Mappers.DiskRestorePointList + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + +const listByRestorePointNextOperationSpec: msRest.OperationSpec = { + httpMethod: "GET", + baseUrl: "https://management.azure.com", + path: "{nextLink}", + urlParameters: [ + Parameters.nextPageLink + ], + queryParameters: [ + Parameters.apiVersion2 + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: { + bodyMapper: Mappers.DiskRestorePointList + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; diff --git a/sdk/compute/arm-compute/src/operations/disks.ts b/sdk/compute/arm-compute/src/operations/disks.ts index 97002da76ce8..ecc5543e49b3 100644 --- a/sdk/compute/arm-compute/src/operations/disks.ts +++ b/sdk/compute/arm-compute/src/operations/disks.ts @@ -1,7 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. + * 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 @@ -586,6 +585,9 @@ const listByResourceGroupNextOperationSpec: msRest.OperationSpec = { urlParameters: [ Parameters.nextPageLink ], + queryParameters: [ + Parameters.apiVersion2 + ], headerParameters: [ Parameters.acceptLanguage ], @@ -607,6 +609,9 @@ const listNextOperationSpec: msRest.OperationSpec = { urlParameters: [ Parameters.nextPageLink ], + queryParameters: [ + Parameters.apiVersion2 + ], headerParameters: [ Parameters.acceptLanguage ], diff --git a/sdk/compute/arm-compute/src/operations/galleries.ts b/sdk/compute/arm-compute/src/operations/galleries.ts index f5b3dd565142..7bb6f9d49be8 100644 --- a/sdk/compute/arm-compute/src/operations/galleries.ts +++ b/sdk/compute/arm-compute/src/operations/galleries.ts @@ -1,7 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. + * 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 @@ -444,6 +443,9 @@ const listByResourceGroupNextOperationSpec: msRest.OperationSpec = { urlParameters: [ Parameters.nextPageLink ], + queryParameters: [ + Parameters.apiVersion3 + ], headerParameters: [ Parameters.acceptLanguage ], @@ -465,6 +467,9 @@ const listNextOperationSpec: msRest.OperationSpec = { urlParameters: [ Parameters.nextPageLink ], + queryParameters: [ + Parameters.apiVersion3 + ], headerParameters: [ Parameters.acceptLanguage ], diff --git a/sdk/compute/arm-compute/src/operations/galleryApplicationVersions.ts b/sdk/compute/arm-compute/src/operations/galleryApplicationVersions.ts index 6f21204e3e9e..00cb290c934c 100644 --- a/sdk/compute/arm-compute/src/operations/galleryApplicationVersions.ts +++ b/sdk/compute/arm-compute/src/operations/galleryApplicationVersions.ts @@ -1,7 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. + * 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 @@ -453,6 +452,9 @@ const listByGalleryApplicationNextOperationSpec: msRest.OperationSpec = { urlParameters: [ Parameters.nextPageLink ], + queryParameters: [ + Parameters.apiVersion3 + ], headerParameters: [ Parameters.acceptLanguage ], diff --git a/sdk/compute/arm-compute/src/operations/galleryApplications.ts b/sdk/compute/arm-compute/src/operations/galleryApplications.ts index 08d78de63174..c98937542377 100644 --- a/sdk/compute/arm-compute/src/operations/galleryApplications.ts +++ b/sdk/compute/arm-compute/src/operations/galleryApplications.ts @@ -1,7 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. + * 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 @@ -409,6 +408,9 @@ const listByGalleryNextOperationSpec: msRest.OperationSpec = { urlParameters: [ Parameters.nextPageLink ], + queryParameters: [ + Parameters.apiVersion3 + ], headerParameters: [ Parameters.acceptLanguage ], diff --git a/sdk/compute/arm-compute/src/operations/galleryImageVersions.ts b/sdk/compute/arm-compute/src/operations/galleryImageVersions.ts index 0799bdde9106..7d6e01840af7 100644 --- a/sdk/compute/arm-compute/src/operations/galleryImageVersions.ts +++ b/sdk/compute/arm-compute/src/operations/galleryImageVersions.ts @@ -1,7 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. + * 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 @@ -432,6 +431,9 @@ const listByGalleryImageNextOperationSpec: msRest.OperationSpec = { urlParameters: [ Parameters.nextPageLink ], + queryParameters: [ + Parameters.apiVersion3 + ], headerParameters: [ Parameters.acceptLanguage ], diff --git a/sdk/compute/arm-compute/src/operations/galleryImages.ts b/sdk/compute/arm-compute/src/operations/galleryImages.ts index bdc5ac10b2ce..a362179062ca 100644 --- a/sdk/compute/arm-compute/src/operations/galleryImages.ts +++ b/sdk/compute/arm-compute/src/operations/galleryImages.ts @@ -1,7 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. + * 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 @@ -407,6 +406,9 @@ const listByGalleryNextOperationSpec: msRest.OperationSpec = { urlParameters: [ Parameters.nextPageLink ], + queryParameters: [ + Parameters.apiVersion3 + ], headerParameters: [ Parameters.acceptLanguage ], diff --git a/sdk/compute/arm-compute/src/operations/images.ts b/sdk/compute/arm-compute/src/operations/images.ts index 6187e85ab7f9..3cb8f8698344 100644 --- a/sdk/compute/arm-compute/src/operations/images.ts +++ b/sdk/compute/arm-compute/src/operations/images.ts @@ -1,7 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. + * 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 @@ -443,6 +442,9 @@ const listByResourceGroupNextOperationSpec: msRest.OperationSpec = { urlParameters: [ Parameters.nextPageLink ], + queryParameters: [ + Parameters.apiVersion0 + ], headerParameters: [ Parameters.acceptLanguage ], @@ -464,6 +466,9 @@ const listNextOperationSpec: msRest.OperationSpec = { urlParameters: [ Parameters.nextPageLink ], + queryParameters: [ + Parameters.apiVersion0 + ], headerParameters: [ Parameters.acceptLanguage ], diff --git a/sdk/compute/arm-compute/src/operations/index.ts b/sdk/compute/arm-compute/src/operations/index.ts index be38385dadc1..6e746568abdf 100644 --- a/sdk/compute/arm-compute/src/operations/index.ts +++ b/sdk/compute/arm-compute/src/operations/index.ts @@ -1,7 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. + * 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 @@ -28,14 +27,20 @@ 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 "./containerServices"; +export * from "./cloudServiceRoleInstances"; +export * from "./cloudServiceRoles"; +export * from "./cloudServices"; +export * from "./cloudServicesUpdateDomain"; diff --git a/sdk/compute/arm-compute/src/operations/logAnalytics.ts b/sdk/compute/arm-compute/src/operations/logAnalytics.ts index 3734f06d68aa..6eb293790941 100644 --- a/sdk/compute/arm-compute/src/operations/logAnalytics.ts +++ b/sdk/compute/arm-compute/src/operations/logAnalytics.ts @@ -1,7 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. + * 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 diff --git a/sdk/compute/arm-compute/src/operations/operations.ts b/sdk/compute/arm-compute/src/operations/operations.ts index 641f050bdd14..dec5eb098fc5 100644 --- a/sdk/compute/arm-compute/src/operations/operations.ts +++ b/sdk/compute/arm-compute/src/operations/operations.ts @@ -1,7 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. + * 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 diff --git a/sdk/compute/arm-compute/src/operations/proximityPlacementGroups.ts b/sdk/compute/arm-compute/src/operations/proximityPlacementGroups.ts index 31fc32c8293e..dde78adc61f1 100644 --- a/sdk/compute/arm-compute/src/operations/proximityPlacementGroups.ts +++ b/sdk/compute/arm-compute/src/operations/proximityPlacementGroups.ts @@ -1,7 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. + * 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 @@ -443,6 +442,9 @@ const listBySubscriptionNextOperationSpec: msRest.OperationSpec = { urlParameters: [ Parameters.nextPageLink ], + queryParameters: [ + Parameters.apiVersion0 + ], headerParameters: [ Parameters.acceptLanguage ], @@ -464,6 +466,9 @@ const listByResourceGroupNextOperationSpec: msRest.OperationSpec = { urlParameters: [ Parameters.nextPageLink ], + queryParameters: [ + Parameters.apiVersion0 + ], headerParameters: [ Parameters.acceptLanguage ], diff --git a/sdk/compute/arm-compute/src/operations/resourceSkus.ts b/sdk/compute/arm-compute/src/operations/resourceSkus.ts index db92867631a2..7cf76612ac89 100644 --- a/sdk/compute/arm-compute/src/operations/resourceSkus.ts +++ b/sdk/compute/arm-compute/src/operations/resourceSkus.ts @@ -1,7 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. + * 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 @@ -56,7 +55,7 @@ export class ResourceSkus { * @param [options] The optional parameters * @returns Promise */ - listNext(nextPageLink: string, options?: msRest.RequestOptionsBase): Promise; + listNext(nextPageLink: string, options?: Models.ResourceSkusListNextOptionalParams): Promise; /** * @param nextPageLink The NextLink from the previous successful call to List operation. * @param callback The callback @@ -67,8 +66,8 @@ export class ResourceSkus { * @param options The optional parameters * @param callback The callback */ - listNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + listNext(nextPageLink: string, options: Models.ResourceSkusListNextOptionalParams, callback: msRest.ServiceCallback): void; + listNext(nextPageLink: string, options?: Models.ResourceSkusListNextOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, @@ -112,6 +111,10 @@ const listNextOperationSpec: msRest.OperationSpec = { urlParameters: [ Parameters.nextPageLink ], + queryParameters: [ + Parameters.apiVersion1, + Parameters.filter + ], headerParameters: [ Parameters.acceptLanguage ], diff --git a/sdk/compute/arm-compute/src/operations/snapshots.ts b/sdk/compute/arm-compute/src/operations/snapshots.ts index 5a5e9c9090c2..748f68b8c09d 100644 --- a/sdk/compute/arm-compute/src/operations/snapshots.ts +++ b/sdk/compute/arm-compute/src/operations/snapshots.ts @@ -1,7 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. + * 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 @@ -588,6 +587,9 @@ const listByResourceGroupNextOperationSpec: msRest.OperationSpec = { urlParameters: [ Parameters.nextPageLink ], + queryParameters: [ + Parameters.apiVersion2 + ], headerParameters: [ Parameters.acceptLanguage ], @@ -609,6 +611,9 @@ const listNextOperationSpec: msRest.OperationSpec = { urlParameters: [ Parameters.nextPageLink ], + queryParameters: [ + Parameters.apiVersion2 + ], headerParameters: [ Parameters.acceptLanguage ], diff --git a/sdk/compute/arm-compute/src/operations/sshPublicKeys.ts b/sdk/compute/arm-compute/src/operations/sshPublicKeys.ts index 5a109035ac24..e1abc960f854 100644 --- a/sdk/compute/arm-compute/src/operations/sshPublicKeys.ts +++ b/sdk/compute/arm-compute/src/operations/sshPublicKeys.ts @@ -1,7 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. + * 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 @@ -506,6 +505,9 @@ const listBySubscriptionNextOperationSpec: msRest.OperationSpec = { urlParameters: [ Parameters.nextPageLink ], + queryParameters: [ + Parameters.apiVersion0 + ], headerParameters: [ Parameters.acceptLanguage ], @@ -527,6 +529,9 @@ const listByResourceGroupNextOperationSpec: msRest.OperationSpec = { urlParameters: [ Parameters.nextPageLink ], + queryParameters: [ + Parameters.apiVersion0 + ], headerParameters: [ Parameters.acceptLanguage ], diff --git a/sdk/compute/arm-compute/src/operations/usageOperations.ts b/sdk/compute/arm-compute/src/operations/usageOperations.ts index b6cae3039867..14f7a9d6406e 100644 --- a/sdk/compute/arm-compute/src/operations/usageOperations.ts +++ b/sdk/compute/arm-compute/src/operations/usageOperations.ts @@ -1,7 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. + * 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 @@ -118,6 +117,9 @@ const listNextOperationSpec: msRest.OperationSpec = { urlParameters: [ Parameters.nextPageLink ], + queryParameters: [ + Parameters.apiVersion0 + ], headerParameters: [ Parameters.acceptLanguage ], diff --git a/sdk/compute/arm-compute/src/operations/virtualMachineExtensionImages.ts b/sdk/compute/arm-compute/src/operations/virtualMachineExtensionImages.ts index d429b13e72fe..b53521d45e15 100644 --- a/sdk/compute/arm-compute/src/operations/virtualMachineExtensionImages.ts +++ b/sdk/compute/arm-compute/src/operations/virtualMachineExtensionImages.ts @@ -1,7 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. + * 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 diff --git a/sdk/compute/arm-compute/src/operations/virtualMachineExtensions.ts b/sdk/compute/arm-compute/src/operations/virtualMachineExtensions.ts index 289e3d3134e9..a1d8b68fa3d8 100644 --- a/sdk/compute/arm-compute/src/operations/virtualMachineExtensions.ts +++ b/sdk/compute/arm-compute/src/operations/virtualMachineExtensions.ts @@ -1,7 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. + * 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 diff --git a/sdk/compute/arm-compute/src/operations/virtualMachineImages.ts b/sdk/compute/arm-compute/src/operations/virtualMachineImages.ts index 273097af54aa..111aa91f7d8a 100644 --- a/sdk/compute/arm-compute/src/operations/virtualMachineImages.ts +++ b/sdk/compute/arm-compute/src/operations/virtualMachineImages.ts @@ -1,7 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. + * 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 diff --git a/sdk/compute/arm-compute/src/operations/virtualMachineRunCommands.ts b/sdk/compute/arm-compute/src/operations/virtualMachineRunCommands.ts index 134182cee58b..db89b8bf21b2 100644 --- a/sdk/compute/arm-compute/src/operations/virtualMachineRunCommands.ts +++ b/sdk/compute/arm-compute/src/operations/virtualMachineRunCommands.ts @@ -1,7 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. + * 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 @@ -9,6 +8,7 @@ */ import * as msRest from "@azure/ms-rest-js"; +import * as msRestAzure from "@azure/ms-rest-azure-js"; import * as Models from "../models"; import * as Mappers from "../models/virtualMachineRunCommandsMappers"; import * as Parameters from "../models/parameters"; @@ -86,6 +86,181 @@ export class VirtualMachineRunCommands { callback) as Promise; } + /** + * The operation to create or update the run command. + * @param resourceGroupName The name of the resource group. + * @param vmName The name of the virtual machine where the run command should be created or + * updated. + * @param runCommandName The name of the virtual machine run command. + * @param runCommand Parameters supplied to the Create Virtual Machine RunCommand operation. + * @param [options] The optional parameters + * @returns Promise + */ + createOrUpdate(resourceGroupName: string, vmName: string, runCommandName: string, runCommand: Models.VirtualMachineRunCommand, options?: msRest.RequestOptionsBase): Promise { + return this.beginCreateOrUpdate(resourceGroupName,vmName,runCommandName,runCommand,options) + .then(lroPoller => lroPoller.pollUntilFinished()) as Promise; + } + + /** + * The operation to update the run command. + * @param resourceGroupName The name of the resource group. + * @param vmName The name of the virtual machine where the run command should be updated. + * @param runCommandName The name of the virtual machine run command. + * @param runCommand Parameters supplied to the Update Virtual Machine RunCommand operation. + * @param [options] The optional parameters + * @returns Promise + */ + update(resourceGroupName: string, vmName: string, runCommandName: string, runCommand: Models.VirtualMachineRunCommandUpdate, options?: msRest.RequestOptionsBase): Promise { + return this.beginUpdate(resourceGroupName,vmName,runCommandName,runCommand,options) + .then(lroPoller => lroPoller.pollUntilFinished()) as Promise; + } + + /** + * The operation to delete the run command. + * @param resourceGroupName The name of the resource group. + * @param vmName The name of the virtual machine where the run command should be deleted. + * @param runCommandName The name of the virtual machine run command. + * @param [options] The optional parameters + * @returns Promise + */ + deleteMethod(resourceGroupName: string, vmName: string, runCommandName: string, options?: msRest.RequestOptionsBase): Promise { + return this.beginDeleteMethod(resourceGroupName,vmName,runCommandName,options) + .then(lroPoller => lroPoller.pollUntilFinished()); + } + + /** + * The operation to get the run command. + * @param resourceGroupName The name of the resource group. + * @param vmName The name of the virtual machine containing the run command. + * @param runCommandName The name of the virtual machine run command. + * @param [options] The optional parameters + * @returns Promise + */ + getByVirtualMachine(resourceGroupName: string, vmName: string, runCommandName: string, options?: Models.VirtualMachineRunCommandsGetByVirtualMachineOptionalParams): Promise; + /** + * @param resourceGroupName The name of the resource group. + * @param vmName The name of the virtual machine containing the run command. + * @param runCommandName The name of the virtual machine run command. + * @param callback The callback + */ + getByVirtualMachine(resourceGroupName: string, vmName: string, runCommandName: string, callback: msRest.ServiceCallback): void; + /** + * @param resourceGroupName The name of the resource group. + * @param vmName The name of the virtual machine containing the run command. + * @param runCommandName The name of the virtual machine run command. + * @param options The optional parameters + * @param callback The callback + */ + getByVirtualMachine(resourceGroupName: string, vmName: string, runCommandName: string, options: Models.VirtualMachineRunCommandsGetByVirtualMachineOptionalParams, callback: msRest.ServiceCallback): void; + getByVirtualMachine(resourceGroupName: string, vmName: string, runCommandName: string, options?: Models.VirtualMachineRunCommandsGetByVirtualMachineOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + resourceGroupName, + vmName, + runCommandName, + options + }, + getByVirtualMachineOperationSpec, + callback) as Promise; + } + + /** + * The operation to get all run commands of a Virtual Machine. + * @param resourceGroupName The name of the resource group. + * @param vmName The name of the virtual machine containing the run command. + * @param [options] The optional parameters + * @returns Promise + */ + listByVirtualMachine(resourceGroupName: string, vmName: string, options?: Models.VirtualMachineRunCommandsListByVirtualMachineOptionalParams): Promise; + /** + * @param resourceGroupName The name of the resource group. + * @param vmName The name of the virtual machine containing the run command. + * @param callback The callback + */ + listByVirtualMachine(resourceGroupName: string, vmName: string, callback: msRest.ServiceCallback): void; + /** + * @param resourceGroupName The name of the resource group. + * @param vmName The name of the virtual machine containing the run command. + * @param options The optional parameters + * @param callback The callback + */ + listByVirtualMachine(resourceGroupName: string, vmName: string, options: Models.VirtualMachineRunCommandsListByVirtualMachineOptionalParams, callback: msRest.ServiceCallback): void; + listByVirtualMachine(resourceGroupName: string, vmName: string, options?: Models.VirtualMachineRunCommandsListByVirtualMachineOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + resourceGroupName, + vmName, + options + }, + listByVirtualMachineOperationSpec, + callback) as Promise; + } + + /** + * The operation to create or update the run command. + * @param resourceGroupName The name of the resource group. + * @param vmName The name of the virtual machine where the run command should be created or + * updated. + * @param runCommandName The name of the virtual machine run command. + * @param runCommand Parameters supplied to the Create Virtual Machine RunCommand operation. + * @param [options] The optional parameters + * @returns Promise + */ + beginCreateOrUpdate(resourceGroupName: string, vmName: string, runCommandName: string, runCommand: Models.VirtualMachineRunCommand, options?: msRest.RequestOptionsBase): Promise { + return this.client.sendLRORequest( + { + resourceGroupName, + vmName, + runCommandName, + runCommand, + options + }, + beginCreateOrUpdateOperationSpec, + options); + } + + /** + * The operation to update the run command. + * @param resourceGroupName The name of the resource group. + * @param vmName The name of the virtual machine where the run command should be updated. + * @param runCommandName The name of the virtual machine run command. + * @param runCommand Parameters supplied to the Update Virtual Machine RunCommand operation. + * @param [options] The optional parameters + * @returns Promise + */ + beginUpdate(resourceGroupName: string, vmName: string, runCommandName: string, runCommand: Models.VirtualMachineRunCommandUpdate, options?: msRest.RequestOptionsBase): Promise { + return this.client.sendLRORequest( + { + resourceGroupName, + vmName, + runCommandName, + runCommand, + options + }, + beginUpdateOperationSpec, + options); + } + + /** + * The operation to delete the run command. + * @param resourceGroupName The name of the resource group. + * @param vmName The name of the virtual machine where the run command should be deleted. + * @param runCommandName The name of the virtual machine run command. + * @param [options] The optional parameters + * @returns Promise + */ + beginDeleteMethod(resourceGroupName: string, vmName: string, runCommandName: string, options?: msRest.RequestOptionsBase): Promise { + return this.client.sendLRORequest( + { + resourceGroupName, + vmName, + runCommandName, + options + }, + beginDeleteMethodOperationSpec, + options); + } + /** * Lists all available run commands for a subscription in a location. * @param nextPageLink The NextLink from the previous successful call to List operation. @@ -113,6 +288,34 @@ export class VirtualMachineRunCommands { listNextOperationSpec, callback) as Promise; } + + /** + * The operation to get all run commands of a Virtual Machine. + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @param [options] The optional parameters + * @returns Promise + */ + listByVirtualMachineNext(nextPageLink: string, options?: Models.VirtualMachineRunCommandsListByVirtualMachineNextOptionalParams): Promise; + /** + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @param callback The callback + */ + listByVirtualMachineNext(nextPageLink: string, callback: msRest.ServiceCallback): void; + /** + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @param options The optional parameters + * @param callback The callback + */ + listByVirtualMachineNext(nextPageLink: string, options: Models.VirtualMachineRunCommandsListByVirtualMachineNextOptionalParams, callback: msRest.ServiceCallback): void; + listByVirtualMachineNext(nextPageLink: string, options?: Models.VirtualMachineRunCommandsListByVirtualMachineNextOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + nextPageLink, + options + }, + listByVirtualMachineNextOperationSpec, + callback) as Promise; + } } // Operation Specifications @@ -166,6 +369,154 @@ const getOperationSpec: msRest.OperationSpec = { serializer }; +const getByVirtualMachineOperationSpec: msRest.OperationSpec = { + httpMethod: "GET", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachines/{vmName}/runCommands/{runCommandName}", + urlParameters: [ + Parameters.resourceGroupName, + Parameters.vmName, + Parameters.runCommandName, + Parameters.subscriptionId + ], + queryParameters: [ + Parameters.expand0, + Parameters.apiVersion0 + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: { + bodyMapper: Mappers.VirtualMachineRunCommand + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + +const listByVirtualMachineOperationSpec: msRest.OperationSpec = { + httpMethod: "GET", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachines/{vmName}/runCommands", + urlParameters: [ + Parameters.resourceGroupName, + Parameters.vmName, + Parameters.subscriptionId + ], + queryParameters: [ + Parameters.expand0, + Parameters.apiVersion0 + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: { + bodyMapper: Mappers.VirtualMachineRunCommandsListResult + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + +const beginCreateOrUpdateOperationSpec: msRest.OperationSpec = { + httpMethod: "PUT", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachines/{vmName}/runCommands/{runCommandName}", + urlParameters: [ + Parameters.resourceGroupName, + Parameters.vmName, + Parameters.runCommandName, + Parameters.subscriptionId + ], + queryParameters: [ + Parameters.apiVersion0 + ], + headerParameters: [ + Parameters.acceptLanguage + ], + requestBody: { + parameterPath: "runCommand", + mapper: { + ...Mappers.VirtualMachineRunCommand, + required: true + } + }, + responses: { + 200: { + bodyMapper: Mappers.VirtualMachineRunCommand + }, + 201: { + bodyMapper: Mappers.VirtualMachineRunCommand + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + +const beginUpdateOperationSpec: msRest.OperationSpec = { + httpMethod: "PATCH", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachines/{vmName}/runCommands/{runCommandName}", + urlParameters: [ + Parameters.resourceGroupName, + Parameters.vmName, + Parameters.runCommandName, + Parameters.subscriptionId + ], + queryParameters: [ + Parameters.apiVersion0 + ], + headerParameters: [ + Parameters.acceptLanguage + ], + requestBody: { + parameterPath: "runCommand", + mapper: { + ...Mappers.VirtualMachineRunCommandUpdate, + required: true + } + }, + responses: { + 200: { + bodyMapper: Mappers.VirtualMachineRunCommand + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + +const beginDeleteMethodOperationSpec: msRest.OperationSpec = { + httpMethod: "DELETE", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachines/{vmName}/runCommands/{runCommandName}", + urlParameters: [ + Parameters.resourceGroupName, + Parameters.vmName, + Parameters.runCommandName, + Parameters.subscriptionId + ], + queryParameters: [ + Parameters.apiVersion0 + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: {}, + 202: {}, + 204: {}, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + const listNextOperationSpec: msRest.OperationSpec = { httpMethod: "GET", baseUrl: "https://management.azure.com", @@ -173,6 +524,9 @@ const listNextOperationSpec: msRest.OperationSpec = { urlParameters: [ Parameters.nextPageLink ], + queryParameters: [ + Parameters.apiVersion0 + ], headerParameters: [ Parameters.acceptLanguage ], @@ -186,3 +540,28 @@ const listNextOperationSpec: msRest.OperationSpec = { }, serializer }; + +const listByVirtualMachineNextOperationSpec: msRest.OperationSpec = { + httpMethod: "GET", + baseUrl: "https://management.azure.com", + path: "{nextLink}", + urlParameters: [ + Parameters.nextPageLink + ], + queryParameters: [ + Parameters.expand0, + Parameters.apiVersion0 + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: { + bodyMapper: Mappers.VirtualMachineRunCommandsListResult + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; diff --git a/sdk/compute/arm-compute/src/operations/virtualMachineScaleSetExtensions.ts b/sdk/compute/arm-compute/src/operations/virtualMachineScaleSetExtensions.ts index 8b61f0ccfc09..77d868e009f9 100644 --- a/sdk/compute/arm-compute/src/operations/virtualMachineScaleSetExtensions.ts +++ b/sdk/compute/arm-compute/src/operations/virtualMachineScaleSetExtensions.ts @@ -1,7 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. + * 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 @@ -390,6 +389,9 @@ const listNextOperationSpec: msRest.OperationSpec = { urlParameters: [ Parameters.nextPageLink ], + queryParameters: [ + Parameters.apiVersion0 + ], headerParameters: [ Parameters.acceptLanguage ], diff --git a/sdk/compute/arm-compute/src/operations/virtualMachineScaleSetRollingUpgrades.ts b/sdk/compute/arm-compute/src/operations/virtualMachineScaleSetRollingUpgrades.ts index 77d3e791f36c..e4113e992fac 100644 --- a/sdk/compute/arm-compute/src/operations/virtualMachineScaleSetRollingUpgrades.ts +++ b/sdk/compute/arm-compute/src/operations/virtualMachineScaleSetRollingUpgrades.ts @@ -1,7 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. + * 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 diff --git a/sdk/compute/arm-compute/src/operations/virtualMachineScaleSetVMExtensions.ts b/sdk/compute/arm-compute/src/operations/virtualMachineScaleSetVMExtensions.ts index 50181fa1a83a..7c7e580be969 100644 --- a/sdk/compute/arm-compute/src/operations/virtualMachineScaleSetVMExtensions.ts +++ b/sdk/compute/arm-compute/src/operations/virtualMachineScaleSetVMExtensions.ts @@ -1,7 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. + * 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 @@ -38,7 +37,7 @@ export class VirtualMachineScaleSetVMExtensions { * @param [options] The optional parameters * @returns Promise */ - createOrUpdate(resourceGroupName: string, vmScaleSetName: string, instanceId: string, vmExtensionName: string, extensionParameters: Models.VirtualMachineExtension, options?: msRest.RequestOptionsBase): Promise { + createOrUpdate(resourceGroupName: string, vmScaleSetName: string, instanceId: string, vmExtensionName: string, extensionParameters: Models.VirtualMachineScaleSetVMExtension, options?: msRest.RequestOptionsBase): Promise { return this.beginCreateOrUpdate(resourceGroupName,vmScaleSetName,instanceId,vmExtensionName,extensionParameters,options) .then(lroPoller => lroPoller.pollUntilFinished()) as Promise; } @@ -54,7 +53,7 @@ export class VirtualMachineScaleSetVMExtensions { * @param [options] The optional parameters * @returns Promise */ - update(resourceGroupName: string, vmScaleSetName: string, instanceId: string, vmExtensionName: string, extensionParameters: Models.VirtualMachineExtensionUpdate, options?: msRest.RequestOptionsBase): Promise { + update(resourceGroupName: string, vmScaleSetName: string, instanceId: string, vmExtensionName: string, extensionParameters: Models.VirtualMachineScaleSetVMExtensionUpdate, options?: msRest.RequestOptionsBase): Promise { return this.beginUpdate(resourceGroupName,vmScaleSetName,instanceId,vmExtensionName,extensionParameters,options) .then(lroPoller => lroPoller.pollUntilFinished()) as Promise; } @@ -90,7 +89,7 @@ export class VirtualMachineScaleSetVMExtensions { * @param vmExtensionName The name of the virtual machine extension. * @param callback The callback */ - get(resourceGroupName: string, vmScaleSetName: string, instanceId: string, vmExtensionName: string, callback: msRest.ServiceCallback): void; + get(resourceGroupName: string, vmScaleSetName: string, instanceId: string, vmExtensionName: string, callback: msRest.ServiceCallback): void; /** * @param resourceGroupName The name of the resource group. * @param vmScaleSetName The name of the VM scale set. @@ -99,8 +98,8 @@ export class VirtualMachineScaleSetVMExtensions { * @param options The optional parameters * @param callback The callback */ - get(resourceGroupName: string, vmScaleSetName: string, instanceId: string, vmExtensionName: string, options: Models.VirtualMachineScaleSetVMExtensionsGetOptionalParams, callback: msRest.ServiceCallback): void; - get(resourceGroupName: string, vmScaleSetName: string, instanceId: string, vmExtensionName: string, options?: Models.VirtualMachineScaleSetVMExtensionsGetOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + get(resourceGroupName: string, vmScaleSetName: string, instanceId: string, vmExtensionName: string, options: Models.VirtualMachineScaleSetVMExtensionsGetOptionalParams, callback: msRest.ServiceCallback): void; + get(resourceGroupName: string, vmScaleSetName: string, instanceId: string, vmExtensionName: string, options?: Models.VirtualMachineScaleSetVMExtensionsGetOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -128,7 +127,7 @@ export class VirtualMachineScaleSetVMExtensions { * @param instanceId The instance ID of the virtual machine. * @param callback The callback */ - list(resourceGroupName: string, vmScaleSetName: string, instanceId: string, callback: msRest.ServiceCallback): void; + list(resourceGroupName: string, vmScaleSetName: string, instanceId: string, callback: msRest.ServiceCallback): void; /** * @param resourceGroupName The name of the resource group. * @param vmScaleSetName The name of the VM scale set. @@ -136,8 +135,8 @@ export class VirtualMachineScaleSetVMExtensions { * @param options The optional parameters * @param callback The callback */ - list(resourceGroupName: string, vmScaleSetName: string, instanceId: string, options: Models.VirtualMachineScaleSetVMExtensionsListOptionalParams, callback: msRest.ServiceCallback): void; - list(resourceGroupName: string, vmScaleSetName: string, instanceId: string, options?: Models.VirtualMachineScaleSetVMExtensionsListOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + list(resourceGroupName: string, vmScaleSetName: string, instanceId: string, options: Models.VirtualMachineScaleSetVMExtensionsListOptionalParams, callback: msRest.ServiceCallback): void; + list(resourceGroupName: string, vmScaleSetName: string, instanceId: string, options?: Models.VirtualMachineScaleSetVMExtensionsListOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -160,7 +159,7 @@ export class VirtualMachineScaleSetVMExtensions { * @param [options] The optional parameters * @returns Promise */ - beginCreateOrUpdate(resourceGroupName: string, vmScaleSetName: string, instanceId: string, vmExtensionName: string, extensionParameters: Models.VirtualMachineExtension, options?: msRest.RequestOptionsBase): Promise { + beginCreateOrUpdate(resourceGroupName: string, vmScaleSetName: string, instanceId: string, vmExtensionName: string, extensionParameters: Models.VirtualMachineScaleSetVMExtension, options?: msRest.RequestOptionsBase): Promise { return this.client.sendLRORequest( { resourceGroupName, @@ -185,7 +184,7 @@ export class VirtualMachineScaleSetVMExtensions { * @param [options] The optional parameters * @returns Promise */ - beginUpdate(resourceGroupName: string, vmScaleSetName: string, instanceId: string, vmExtensionName: string, extensionParameters: Models.VirtualMachineExtensionUpdate, options?: msRest.RequestOptionsBase): Promise { + beginUpdate(resourceGroupName: string, vmScaleSetName: string, instanceId: string, vmExtensionName: string, extensionParameters: Models.VirtualMachineScaleSetVMExtensionUpdate, options?: msRest.RequestOptionsBase): Promise { return this.client.sendLRORequest( { resourceGroupName, @@ -243,7 +242,7 @@ const getOperationSpec: msRest.OperationSpec = { ], responses: { 200: { - bodyMapper: Mappers.VirtualMachineExtension + bodyMapper: Mappers.VirtualMachineScaleSetVMExtension }, default: { bodyMapper: Mappers.CloudError @@ -270,7 +269,7 @@ const listOperationSpec: msRest.OperationSpec = { ], responses: { 200: { - bodyMapper: Mappers.VirtualMachineExtensionsListResult + bodyMapper: Mappers.VirtualMachineScaleSetVMExtensionsListResult }, default: { bodyMapper: Mappers.CloudError @@ -298,16 +297,16 @@ const beginCreateOrUpdateOperationSpec: msRest.OperationSpec = { requestBody: { parameterPath: "extensionParameters", mapper: { - ...Mappers.VirtualMachineExtension, + ...Mappers.VirtualMachineScaleSetVMExtension, required: true } }, responses: { 200: { - bodyMapper: Mappers.VirtualMachineExtension + bodyMapper: Mappers.VirtualMachineScaleSetVMExtension }, 201: { - bodyMapper: Mappers.VirtualMachineExtension + bodyMapper: Mappers.VirtualMachineScaleSetVMExtension }, default: { bodyMapper: Mappers.CloudError @@ -335,13 +334,13 @@ const beginUpdateOperationSpec: msRest.OperationSpec = { requestBody: { parameterPath: "extensionParameters", mapper: { - ...Mappers.VirtualMachineExtensionUpdate, + ...Mappers.VirtualMachineScaleSetVMExtensionUpdate, required: true } }, responses: { 200: { - bodyMapper: Mappers.VirtualMachineExtension + bodyMapper: Mappers.VirtualMachineScaleSetVMExtension }, default: { bodyMapper: Mappers.CloudError diff --git a/sdk/compute/arm-compute/src/operations/virtualMachineScaleSetVMRunCommands.ts b/sdk/compute/arm-compute/src/operations/virtualMachineScaleSetVMRunCommands.ts new file mode 100644 index 000000000000..36e6c052757f --- /dev/null +++ b/sdk/compute/arm-compute/src/operations/virtualMachineScaleSetVMRunCommands.ts @@ -0,0 +1,426 @@ +/* + * 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 * as msRest from "@azure/ms-rest-js"; +import * as msRestAzure from "@azure/ms-rest-azure-js"; +import * as Models from "../models"; +import * as Mappers from "../models/virtualMachineScaleSetVMRunCommandsMappers"; +import * as Parameters from "../models/parameters"; +import { ComputeManagementClientContext } from "../computeManagementClientContext"; + +/** Class representing a VirtualMachineScaleSetVMRunCommands. */ +export class VirtualMachineScaleSetVMRunCommands { + private readonly client: ComputeManagementClientContext; + + /** + * Create a VirtualMachineScaleSetVMRunCommands. + * @param {ComputeManagementClientContext} client Reference to the service client. + */ + constructor(client: ComputeManagementClientContext) { + this.client = client; + } + + /** + * The operation to create or update the VMSS VM run command. + * @param resourceGroupName The name of the resource group. + * @param vmScaleSetName The name of the VM scale set. + * @param instanceId The instance ID of the virtual machine. + * @param runCommandName The name of the virtual machine run command. + * @param runCommand Parameters supplied to the Create Virtual Machine RunCommand operation. + * @param [options] The optional parameters + * @returns Promise + */ + createOrUpdate(resourceGroupName: string, vmScaleSetName: string, instanceId: string, runCommandName: string, runCommand: Models.VirtualMachineRunCommand, options?: msRest.RequestOptionsBase): Promise { + return this.beginCreateOrUpdate(resourceGroupName,vmScaleSetName,instanceId,runCommandName,runCommand,options) + .then(lroPoller => lroPoller.pollUntilFinished()) as Promise; + } + + /** + * The operation to update the VMSS VM run command. + * @param resourceGroupName The name of the resource group. + * @param vmScaleSetName The name of the VM scale set. + * @param instanceId The instance ID of the virtual machine. + * @param runCommandName The name of the virtual machine run command. + * @param runCommand Parameters supplied to the Update Virtual Machine RunCommand operation. + * @param [options] The optional parameters + * @returns Promise + */ + update(resourceGroupName: string, vmScaleSetName: string, instanceId: string, runCommandName: string, runCommand: Models.VirtualMachineRunCommandUpdate, options?: msRest.RequestOptionsBase): Promise { + return this.beginUpdate(resourceGroupName,vmScaleSetName,instanceId,runCommandName,runCommand,options) + .then(lroPoller => lroPoller.pollUntilFinished()) as Promise; + } + + /** + * The operation to delete the VMSS VM run command. + * @param resourceGroupName The name of the resource group. + * @param vmScaleSetName The name of the VM scale set. + * @param instanceId The instance ID of the virtual machine. + * @param runCommandName The name of the virtual machine run command. + * @param [options] The optional parameters + * @returns Promise + */ + deleteMethod(resourceGroupName: string, vmScaleSetName: string, instanceId: string, runCommandName: string, options?: msRest.RequestOptionsBase): Promise { + return this.beginDeleteMethod(resourceGroupName,vmScaleSetName,instanceId,runCommandName,options) + .then(lroPoller => lroPoller.pollUntilFinished()); + } + + /** + * The operation to get the VMSS VM run command. + * @param resourceGroupName The name of the resource group. + * @param vmScaleSetName The name of the VM scale set. + * @param instanceId The instance ID of the virtual machine. + * @param runCommandName The name of the virtual machine run command. + * @param [options] The optional parameters + * @returns Promise + */ + get(resourceGroupName: string, vmScaleSetName: string, instanceId: string, runCommandName: string, options?: Models.VirtualMachineScaleSetVMRunCommandsGetOptionalParams): Promise; + /** + * @param resourceGroupName The name of the resource group. + * @param vmScaleSetName The name of the VM scale set. + * @param instanceId The instance ID of the virtual machine. + * @param runCommandName The name of the virtual machine run command. + * @param callback The callback + */ + get(resourceGroupName: string, vmScaleSetName: string, instanceId: string, runCommandName: string, callback: msRest.ServiceCallback): void; + /** + * @param resourceGroupName The name of the resource group. + * @param vmScaleSetName The name of the VM scale set. + * @param instanceId The instance ID of the virtual machine. + * @param runCommandName The name of the virtual machine run command. + * @param options The optional parameters + * @param callback The callback + */ + get(resourceGroupName: string, vmScaleSetName: string, instanceId: string, runCommandName: string, options: Models.VirtualMachineScaleSetVMRunCommandsGetOptionalParams, callback: msRest.ServiceCallback): void; + get(resourceGroupName: string, vmScaleSetName: string, instanceId: string, runCommandName: string, options?: Models.VirtualMachineScaleSetVMRunCommandsGetOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + resourceGroupName, + vmScaleSetName, + instanceId, + runCommandName, + options + }, + getOperationSpec, + callback) as Promise; + } + + /** + * The operation to get all run commands of an instance in Virtual Machine Scaleset. + * @param resourceGroupName The name of the resource group. + * @param vmScaleSetName The name of the VM scale set. + * @param instanceId The instance ID of the virtual machine. + * @param [options] The optional parameters + * @returns Promise + */ + list(resourceGroupName: string, vmScaleSetName: string, instanceId: string, options?: Models.VirtualMachineScaleSetVMRunCommandsListOptionalParams): Promise; + /** + * @param resourceGroupName The name of the resource group. + * @param vmScaleSetName The name of the VM scale set. + * @param instanceId The instance ID of the virtual machine. + * @param callback The callback + */ + list(resourceGroupName: string, vmScaleSetName: string, instanceId: string, callback: msRest.ServiceCallback): void; + /** + * @param resourceGroupName The name of the resource group. + * @param vmScaleSetName The name of the VM scale set. + * @param instanceId The instance ID of the virtual machine. + * @param options The optional parameters + * @param callback The callback + */ + list(resourceGroupName: string, vmScaleSetName: string, instanceId: string, options: Models.VirtualMachineScaleSetVMRunCommandsListOptionalParams, callback: msRest.ServiceCallback): void; + list(resourceGroupName: string, vmScaleSetName: string, instanceId: string, options?: Models.VirtualMachineScaleSetVMRunCommandsListOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + resourceGroupName, + vmScaleSetName, + instanceId, + options + }, + listOperationSpec, + callback) as Promise; + } + + /** + * The operation to create or update the VMSS VM run command. + * @param resourceGroupName The name of the resource group. + * @param vmScaleSetName The name of the VM scale set. + * @param instanceId The instance ID of the virtual machine. + * @param runCommandName The name of the virtual machine run command. + * @param runCommand Parameters supplied to the Create Virtual Machine RunCommand operation. + * @param [options] The optional parameters + * @returns Promise + */ + beginCreateOrUpdate(resourceGroupName: string, vmScaleSetName: string, instanceId: string, runCommandName: string, runCommand: Models.VirtualMachineRunCommand, options?: msRest.RequestOptionsBase): Promise { + return this.client.sendLRORequest( + { + resourceGroupName, + vmScaleSetName, + instanceId, + runCommandName, + runCommand, + options + }, + beginCreateOrUpdateOperationSpec, + options); + } + + /** + * The operation to update the VMSS VM run command. + * @param resourceGroupName The name of the resource group. + * @param vmScaleSetName The name of the VM scale set. + * @param instanceId The instance ID of the virtual machine. + * @param runCommandName The name of the virtual machine run command. + * @param runCommand Parameters supplied to the Update Virtual Machine RunCommand operation. + * @param [options] The optional parameters + * @returns Promise + */ + beginUpdate(resourceGroupName: string, vmScaleSetName: string, instanceId: string, runCommandName: string, runCommand: Models.VirtualMachineRunCommandUpdate, options?: msRest.RequestOptionsBase): Promise { + return this.client.sendLRORequest( + { + resourceGroupName, + vmScaleSetName, + instanceId, + runCommandName, + runCommand, + options + }, + beginUpdateOperationSpec, + options); + } + + /** + * The operation to delete the VMSS VM run command. + * @param resourceGroupName The name of the resource group. + * @param vmScaleSetName The name of the VM scale set. + * @param instanceId The instance ID of the virtual machine. + * @param runCommandName The name of the virtual machine run command. + * @param [options] The optional parameters + * @returns Promise + */ + beginDeleteMethod(resourceGroupName: string, vmScaleSetName: string, instanceId: string, runCommandName: string, options?: msRest.RequestOptionsBase): Promise { + return this.client.sendLRORequest( + { + resourceGroupName, + vmScaleSetName, + instanceId, + runCommandName, + options + }, + beginDeleteMethodOperationSpec, + options); + } + + /** + * The operation to get all run commands of an instance in Virtual Machine Scaleset. + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @param [options] The optional parameters + * @returns Promise + */ + listNext(nextPageLink: string, options?: Models.VirtualMachineScaleSetVMRunCommandsListNextOptionalParams): Promise; + /** + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @param callback The callback + */ + listNext(nextPageLink: string, callback: msRest.ServiceCallback): void; + /** + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @param options The optional parameters + * @param callback The callback + */ + listNext(nextPageLink: string, options: Models.VirtualMachineScaleSetVMRunCommandsListNextOptionalParams, callback: msRest.ServiceCallback): void; + listNext(nextPageLink: string, options?: Models.VirtualMachineScaleSetVMRunCommandsListNextOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + nextPageLink, + options + }, + listNextOperationSpec, + callback) as Promise; + } +} + +// Operation Specifications +const serializer = new msRest.Serializer(Mappers); +const getOperationSpec: msRest.OperationSpec = { + httpMethod: "GET", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}/virtualMachines/{instanceId}/runCommands/{runCommandName}", + urlParameters: [ + Parameters.resourceGroupName, + Parameters.vmScaleSetName, + Parameters.instanceId, + Parameters.runCommandName, + Parameters.subscriptionId + ], + queryParameters: [ + Parameters.expand0, + Parameters.apiVersion0 + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: { + bodyMapper: Mappers.VirtualMachineRunCommand + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + +const listOperationSpec: msRest.OperationSpec = { + httpMethod: "GET", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}/virtualMachines/{instanceId}/runCommands", + urlParameters: [ + Parameters.resourceGroupName, + Parameters.vmScaleSetName, + Parameters.instanceId, + Parameters.subscriptionId + ], + queryParameters: [ + Parameters.expand0, + Parameters.apiVersion0 + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: { + bodyMapper: Mappers.VirtualMachineRunCommandsListResult + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + +const beginCreateOrUpdateOperationSpec: msRest.OperationSpec = { + httpMethod: "PUT", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}/virtualMachines/{instanceId}/runCommands/{runCommandName}", + urlParameters: [ + Parameters.resourceGroupName, + Parameters.vmScaleSetName, + Parameters.instanceId, + Parameters.runCommandName, + Parameters.subscriptionId + ], + queryParameters: [ + Parameters.apiVersion0 + ], + headerParameters: [ + Parameters.acceptLanguage + ], + requestBody: { + parameterPath: "runCommand", + mapper: { + ...Mappers.VirtualMachineRunCommand, + required: true + } + }, + responses: { + 200: { + bodyMapper: Mappers.VirtualMachineRunCommand + }, + 201: { + bodyMapper: Mappers.VirtualMachineRunCommand + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + +const beginUpdateOperationSpec: msRest.OperationSpec = { + httpMethod: "PATCH", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}/virtualMachines/{instanceId}/runCommands/{runCommandName}", + urlParameters: [ + Parameters.resourceGroupName, + Parameters.vmScaleSetName, + Parameters.instanceId, + Parameters.runCommandName, + Parameters.subscriptionId + ], + queryParameters: [ + Parameters.apiVersion0 + ], + headerParameters: [ + Parameters.acceptLanguage + ], + requestBody: { + parameterPath: "runCommand", + mapper: { + ...Mappers.VirtualMachineRunCommandUpdate, + required: true + } + }, + responses: { + 200: { + bodyMapper: Mappers.VirtualMachineRunCommand + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + +const beginDeleteMethodOperationSpec: msRest.OperationSpec = { + httpMethod: "DELETE", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}/virtualMachines/{instanceId}/runCommands/{runCommandName}", + urlParameters: [ + Parameters.resourceGroupName, + Parameters.vmScaleSetName, + Parameters.instanceId, + Parameters.runCommandName, + Parameters.subscriptionId + ], + queryParameters: [ + Parameters.apiVersion0 + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: {}, + 202: {}, + 204: {}, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + +const listNextOperationSpec: msRest.OperationSpec = { + httpMethod: "GET", + baseUrl: "https://management.azure.com", + path: "{nextLink}", + urlParameters: [ + Parameters.nextPageLink + ], + queryParameters: [ + Parameters.expand0, + Parameters.apiVersion0 + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: { + bodyMapper: Mappers.VirtualMachineRunCommandsListResult + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; diff --git a/sdk/compute/arm-compute/src/operations/virtualMachineScaleSetVMs.ts b/sdk/compute/arm-compute/src/operations/virtualMachineScaleSetVMs.ts index 4bebe6e62fcb..41a28e294d42 100644 --- a/sdk/compute/arm-compute/src/operations/virtualMachineScaleSetVMs.ts +++ b/sdk/compute/arm-compute/src/operations/virtualMachineScaleSetVMs.ts @@ -1,7 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. + * 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 @@ -593,7 +592,7 @@ export class VirtualMachineScaleSetVMs { * @param [options] The optional parameters * @returns Promise */ - listNext(nextPageLink: string, options?: msRest.RequestOptionsBase): Promise; + listNext(nextPageLink: string, options?: Models.VirtualMachineScaleSetVMsListNextOptionalParams): Promise; /** * @param nextPageLink The NextLink from the previous successful call to List operation. * @param callback The callback @@ -604,8 +603,8 @@ export class VirtualMachineScaleSetVMs { * @param options The optional parameters * @param callback The callback */ - listNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + listNext(nextPageLink: string, options: Models.VirtualMachineScaleSetVMsListNextOptionalParams, callback: msRest.ServiceCallback): void; + listNext(nextPageLink: string, options?: Models.VirtualMachineScaleSetVMsListNextOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, @@ -1061,6 +1060,12 @@ const listNextOperationSpec: msRest.OperationSpec = { urlParameters: [ Parameters.nextPageLink ], + queryParameters: [ + Parameters.filter, + Parameters.select, + Parameters.expand0, + Parameters.apiVersion0 + ], headerParameters: [ Parameters.acceptLanguage ], diff --git a/sdk/compute/arm-compute/src/operations/virtualMachineScaleSets.ts b/sdk/compute/arm-compute/src/operations/virtualMachineScaleSets.ts index ddb59ba58530..90dd03e60375 100644 --- a/sdk/compute/arm-compute/src/operations/virtualMachineScaleSets.ts +++ b/sdk/compute/arm-compute/src/operations/virtualMachineScaleSets.ts @@ -1,7 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. + * 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 @@ -1506,6 +1505,9 @@ const listNextOperationSpec: msRest.OperationSpec = { urlParameters: [ Parameters.nextPageLink ], + queryParameters: [ + Parameters.apiVersion0 + ], headerParameters: [ Parameters.acceptLanguage ], @@ -1527,6 +1529,9 @@ const listAllNextOperationSpec: msRest.OperationSpec = { urlParameters: [ Parameters.nextPageLink ], + queryParameters: [ + Parameters.apiVersion0 + ], headerParameters: [ Parameters.acceptLanguage ], @@ -1548,6 +1553,9 @@ const listSkusNextOperationSpec: msRest.OperationSpec = { urlParameters: [ Parameters.nextPageLink ], + queryParameters: [ + Parameters.apiVersion0 + ], headerParameters: [ Parameters.acceptLanguage ], @@ -1569,6 +1577,9 @@ const getOSUpgradeHistoryNextOperationSpec: msRest.OperationSpec = { urlParameters: [ Parameters.nextPageLink ], + queryParameters: [ + Parameters.apiVersion0 + ], headerParameters: [ Parameters.acceptLanguage ], diff --git a/sdk/compute/arm-compute/src/operations/virtualMachineSizes.ts b/sdk/compute/arm-compute/src/operations/virtualMachineSizes.ts index a5554fd0825b..5f3bd17109b3 100644 --- a/sdk/compute/arm-compute/src/operations/virtualMachineSizes.ts +++ b/sdk/compute/arm-compute/src/operations/virtualMachineSizes.ts @@ -1,7 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. + * 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 diff --git a/sdk/compute/arm-compute/src/operations/virtualMachines.ts b/sdk/compute/arm-compute/src/operations/virtualMachines.ts index ce51df188f82..6dd62837008a 100644 --- a/sdk/compute/arm-compute/src/operations/virtualMachines.ts +++ b/sdk/compute/arm-compute/src/operations/virtualMachines.ts @@ -1,7 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. + * 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 @@ -103,7 +102,7 @@ export class VirtualMachines { * @param [options] The optional parameters * @returns Promise */ - deleteMethod(resourceGroupName: string, vmName: string, options?: msRest.RequestOptionsBase): Promise { + deleteMethod(resourceGroupName: string, vmName: string, options?: Models.VirtualMachinesDeleteMethodOptionalParams): Promise { return this.beginDeleteMethod(resourceGroupName,vmName,options) .then(lroPoller => lroPoller.pollUntilFinished()); } @@ -564,7 +563,7 @@ export class VirtualMachines { * @param [options] The optional parameters * @returns Promise */ - beginDeleteMethod(resourceGroupName: string, vmName: string, options?: msRest.RequestOptionsBase): Promise { + beginDeleteMethod(resourceGroupName: string, vmName: string, options?: Models.VirtualMachinesBeginDeleteMethodOptionalParams): Promise { return this.client.sendLRORequest( { resourceGroupName, @@ -842,7 +841,7 @@ export class VirtualMachines { * @param [options] The optional parameters * @returns Promise */ - listAllNext(nextPageLink: string, options?: msRest.RequestOptionsBase): Promise; + listAllNext(nextPageLink: string, options?: Models.VirtualMachinesListAllNextOptionalParams): Promise; /** * @param nextPageLink The NextLink from the previous successful call to List operation. * @param callback The callback @@ -853,8 +852,8 @@ export class VirtualMachines { * @param options The optional parameters * @param callback The callback */ - listAllNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listAllNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + listAllNext(nextPageLink: string, options: Models.VirtualMachinesListAllNextOptionalParams, callback: msRest.ServiceCallback): void; + listAllNext(nextPageLink: string, options?: Models.VirtualMachinesListAllNextOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, @@ -1199,6 +1198,7 @@ const beginDeleteMethodOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ + Parameters.forceDeletion, Parameters.apiVersion0 ], headerParameters: [ @@ -1505,6 +1505,9 @@ const listByLocationNextOperationSpec: msRest.OperationSpec = { urlParameters: [ Parameters.nextPageLink ], + queryParameters: [ + Parameters.apiVersion0 + ], headerParameters: [ Parameters.acceptLanguage ], @@ -1526,6 +1529,9 @@ const listNextOperationSpec: msRest.OperationSpec = { urlParameters: [ Parameters.nextPageLink ], + queryParameters: [ + Parameters.apiVersion0 + ], headerParameters: [ Parameters.acceptLanguage ], @@ -1547,6 +1553,10 @@ const listAllNextOperationSpec: msRest.OperationSpec = { urlParameters: [ Parameters.nextPageLink ], + queryParameters: [ + Parameters.apiVersion0, + Parameters.statusOnly + ], headerParameters: [ Parameters.acceptLanguage ],