From 6af36b3efaad028ff7d85397619402573f5879ee Mon Sep 17 00:00:00 2001 From: "openapi-bot[bot]" <37845953+openapi-bot[bot]@users.noreply.github.com> Date: Thu, 1 Aug 2019 22:53:25 +0000 Subject: [PATCH 01/16] Generated from 19a6129d7c58da0c40d08c605f051a8b6d559af7 (#4499) Add example reference into compute.json --- sdk/compute/arm-compute/README.md | 1 - sdk/compute/arm-compute/package.json | 12 +- .../src/computeManagementClient.ts | 8 +- .../src/models/availabilitySetsMappers.ts | 14 +- .../src/models/containerServicesMappers.ts | 14 +- .../src/models/dedicatedHostGroupsMappers.ts | 169 +++ .../src/models/dedicatedHostsMappers.ts | 169 +++ .../arm-compute/src/models/disksMappers.ts | 14 +- .../src/models/galleriesMappers.ts | 14 +- .../src/models/galleryImageVersionsMappers.ts | 14 +- .../src/models/galleryImagesMappers.ts | 14 +- .../arm-compute/src/models/imagesMappers.ts | 14 +- sdk/compute/arm-compute/src/models/index.ts | 971 ++++++++++++++++-- sdk/compute/arm-compute/src/models/mappers.ts | 825 +++++++++++++-- .../arm-compute/src/models/parameters.ts | 54 +- .../models/proximityPlacementGroupsMappers.ts | 169 +++ .../src/models/resourceSkusMappers.ts | 3 +- .../src/models/snapshotsMappers.ts | 14 +- .../virtualMachineExtensionImagesMappers.ts | 14 +- .../models/virtualMachineExtensionsMappers.ts | 14 +- .../src/models/virtualMachineImagesMappers.ts | 14 +- ...virtualMachineScaleSetExtensionsMappers.ts | 14 +- ...alMachineScaleSetRollingUpgradesMappers.ts | 14 +- .../virtualMachineScaleSetVMsMappers.ts | 14 +- .../models/virtualMachineScaleSetsMappers.ts | 15 +- .../src/models/virtualMachinesMappers.ts | 14 +- .../src/operations/containerServices.ts | 10 +- .../src/operations/dedicatedHostGroups.ts | 484 +++++++++ .../src/operations/dedicatedHosts.ts | 402 ++++++++ .../arm-compute/src/operations/galleries.ts | 10 +- .../src/operations/galleryImageVersions.ts | 10 +- .../src/operations/galleryImages.ts | 8 +- .../arm-compute/src/operations/images.ts | 2 +- .../arm-compute/src/operations/index.ts | 4 +- .../operations/proximityPlacementGroups.ts | 478 +++++++++ .../operations/virtualMachineExtensions.ts | 4 +- .../virtualMachineScaleSetExtensions.ts | 2 +- .../operations/virtualMachineScaleSetVMs.ts | 9 +- .../src/operations/virtualMachineScaleSets.ts | 63 ++ .../src/operations/virtualMachines.ts | 2 +- sdk/compute/arm-compute/tsconfig.json | 2 +- 41 files changed, 3876 insertions(+), 220 deletions(-) create mode 100644 sdk/compute/arm-compute/src/models/dedicatedHostGroupsMappers.ts create mode 100644 sdk/compute/arm-compute/src/models/dedicatedHostsMappers.ts create mode 100644 sdk/compute/arm-compute/src/models/proximityPlacementGroupsMappers.ts create mode 100644 sdk/compute/arm-compute/src/operations/dedicatedHostGroups.ts create mode 100644 sdk/compute/arm-compute/src/operations/dedicatedHosts.ts create mode 100644 sdk/compute/arm-compute/src/operations/proximityPlacementGroups.ts diff --git a/sdk/compute/arm-compute/README.md b/sdk/compute/arm-compute/README.md index cff2a236f79d..f781c80eaa28 100644 --- a/sdk/compute/arm-compute/README.md +++ b/sdk/compute/arm-compute/README.md @@ -95,5 +95,4 @@ See https://github.com/Azure/ms-rest-browserauth to learn how to authenticate to - [Microsoft Azure SDK for Javascript](https://github.com/Azure/azure-sdk-for-js) - ![Impressions](https://azure-sdk-impressions.azurewebsites.net/api/impressions/azure-sdk-for-js/sdk/compute/arm-compute/README.png) diff --git a/sdk/compute/arm-compute/package.json b/sdk/compute/arm-compute/package.json index 9a2d123f805d..df8e0c31d07b 100644 --- a/sdk/compute/arm-compute/package.json +++ b/sdk/compute/arm-compute/package.json @@ -4,9 +4,9 @@ "description": "ComputeManagementClient Library with typescript type definitions for node.js and browser.", "version": "10.0.0", "dependencies": { - "@azure/ms-rest-azure-js": "^1.3.2", - "@azure/ms-rest-js": "^1.8.1", - "tslib": "^1.9.3" + "@azure/ms-rest-azure-js": "^2.0.0", + "@azure/ms-rest-js": "^2.0.3", + "tslib": "^1.10.0" }, "keywords": [ "node", @@ -26,13 +26,13 @@ "rollup-plugin-sourcemaps": "^0.4.2", "uglify-js": "^3.4.9" }, - "homepage": "https://github.com/azure/azure-sdk-for-js/tree/master/sdk/compute/arm-compute", + "homepage": "https://github.com/Azure/azure-sdk-for-js/tree/master/sdk/compute/arm-compute", "repository": { "type": "git", - "url": "https://github.com/azure/azure-sdk-for-js.git" + "url": "https://github.com/Azure/azure-sdk-for-js.git" }, "bugs": { - "url": "https://github.com/azure/azure-sdk-for-js/issues" + "url": "https://github.com/Azure/azure-sdk-for-js/issues" }, "files": [ "dist/**/*.js", diff --git a/sdk/compute/arm-compute/src/computeManagementClient.ts b/sdk/compute/arm-compute/src/computeManagementClient.ts index 2a6a78e79ac0..aad1875795c6 100644 --- a/sdk/compute/arm-compute/src/computeManagementClient.ts +++ b/sdk/compute/arm-compute/src/computeManagementClient.ts @@ -19,6 +19,9 @@ class ComputeManagementClient extends ComputeManagementClientContext { // Operation groups operations: operations.Operations; availabilitySets: operations.AvailabilitySets; + proximityPlacementGroups: operations.ProximityPlacementGroups; + dedicatedHostGroups: operations.DedicatedHostGroups; + dedicatedHosts: operations.DedicatedHosts; virtualMachineExtensionImages: operations.VirtualMachineExtensionImages; virtualMachineExtensions: operations.VirtualMachineExtensions; virtualMachineImages: operations.VirtualMachineImages; @@ -29,7 +32,6 @@ class ComputeManagementClient extends ComputeManagementClientContext { virtualMachineScaleSets: operations.VirtualMachineScaleSets; virtualMachineScaleSetExtensions: operations.VirtualMachineScaleSetExtensions; virtualMachineScaleSetRollingUpgrades: operations.VirtualMachineScaleSetRollingUpgrades; - virtualMachineScaleSet: operations.VirtualMachineScaleSetOperations; virtualMachineScaleSetVMs: operations.VirtualMachineScaleSetVMs; logAnalytics: operations.LogAnalytics; virtualMachineRunCommands: operations.VirtualMachineRunCommands; @@ -52,6 +54,9 @@ class ComputeManagementClient extends ComputeManagementClientContext { super(credentials, subscriptionId, options); this.operations = new operations.Operations(this); this.availabilitySets = new operations.AvailabilitySets(this); + this.proximityPlacementGroups = new operations.ProximityPlacementGroups(this); + this.dedicatedHostGroups = new operations.DedicatedHostGroups(this); + this.dedicatedHosts = new operations.DedicatedHosts(this); this.virtualMachineExtensionImages = new operations.VirtualMachineExtensionImages(this); this.virtualMachineExtensions = new operations.VirtualMachineExtensions(this); this.virtualMachineImages = new operations.VirtualMachineImages(this); @@ -62,7 +67,6 @@ class ComputeManagementClient extends ComputeManagementClientContext { this.virtualMachineScaleSets = new operations.VirtualMachineScaleSets(this); this.virtualMachineScaleSetExtensions = new operations.VirtualMachineScaleSetExtensions(this); this.virtualMachineScaleSetRollingUpgrades = new operations.VirtualMachineScaleSetRollingUpgrades(this); - this.virtualMachineScaleSet = new operations.VirtualMachineScaleSetOperations(this); this.virtualMachineScaleSetVMs = new operations.VirtualMachineScaleSetVMs(this); this.logAnalytics = new operations.LogAnalytics(this); this.virtualMachineRunCommands = new operations.VirtualMachineRunCommands(this); diff --git a/sdk/compute/arm-compute/src/models/availabilitySetsMappers.ts b/sdk/compute/arm-compute/src/models/availabilitySetsMappers.ts index fcf14403d584..c398b0cd0f9e 100644 --- a/sdk/compute/arm-compute/src/models/availabilitySetsMappers.ts +++ b/sdk/compute/arm-compute/src/models/availabilitySetsMappers.ts @@ -36,6 +36,13 @@ export { CreationData, DataDisk, DataDiskImage, + DedicatedHost, + DedicatedHostAllocatableVM, + DedicatedHostAvailableCapacity, + DedicatedHostGroup, + DedicatedHostGroupUpdate, + DedicatedHostInstanceView, + DedicatedHostUpdate, DiagnosticsProfile, DiffDiskSettings, Disallowed, @@ -47,7 +54,7 @@ export { EncryptionSettingsElement, Gallery, GalleryArtifactPublishingProfileBase, - GalleryArtifactSource, + GalleryArtifactVersionSource, GalleryDataDiskImage, GalleryDiskImage, GalleryIdentifier, @@ -74,7 +81,6 @@ export { KeyVaultSecretReference, LinuxConfiguration, MaintenanceRedeployStatus, - ManagedArtifact, ManagedDiskParameters, NetworkInterfaceReference, NetworkProfile, @@ -82,6 +88,8 @@ export { OSDiskImage, OSProfile, Plan, + ProximityPlacementGroup, + ProximityPlacementGroupUpdate, PurchasePlan, RecommendedMachineConfiguration, RegionalReplicationStatus, @@ -92,6 +100,7 @@ export { RollingUpgradeProgressInfo, RollingUpgradeRunningStatus, RollingUpgradeStatusInfo, + ScheduledEventsProfile, Sku, Snapshot, SnapshotSku, @@ -102,6 +111,7 @@ export { SubResource, SubResourceReadOnly, TargetRegion, + TerminateNotificationProfile, UpdateResource, UpgradePolicy, VaultCertificate, diff --git a/sdk/compute/arm-compute/src/models/containerServicesMappers.ts b/sdk/compute/arm-compute/src/models/containerServicesMappers.ts index a9f0f2c86211..12d67256a45d 100644 --- a/sdk/compute/arm-compute/src/models/containerServicesMappers.ts +++ b/sdk/compute/arm-compute/src/models/containerServicesMappers.ts @@ -36,6 +36,13 @@ export { CreationData, DataDisk, DataDiskImage, + DedicatedHost, + DedicatedHostAllocatableVM, + DedicatedHostAvailableCapacity, + DedicatedHostGroup, + DedicatedHostGroupUpdate, + DedicatedHostInstanceView, + DedicatedHostUpdate, DiagnosticsProfile, DiffDiskSettings, Disallowed, @@ -47,7 +54,7 @@ export { EncryptionSettingsElement, Gallery, GalleryArtifactPublishingProfileBase, - GalleryArtifactSource, + GalleryArtifactVersionSource, GalleryDataDiskImage, GalleryDiskImage, GalleryIdentifier, @@ -74,7 +81,6 @@ export { KeyVaultSecretReference, LinuxConfiguration, MaintenanceRedeployStatus, - ManagedArtifact, ManagedDiskParameters, NetworkInterfaceReference, NetworkProfile, @@ -82,6 +88,8 @@ export { OSDiskImage, OSProfile, Plan, + ProximityPlacementGroup, + ProximityPlacementGroupUpdate, PurchasePlan, RecommendedMachineConfiguration, RegionalReplicationStatus, @@ -92,6 +100,7 @@ export { RollingUpgradeProgressInfo, RollingUpgradeRunningStatus, RollingUpgradeStatusInfo, + ScheduledEventsProfile, Sku, Snapshot, SnapshotSku, @@ -102,6 +111,7 @@ export { SubResource, SubResourceReadOnly, TargetRegion, + TerminateNotificationProfile, UpdateResource, UpgradePolicy, VaultCertificate, diff --git a/sdk/compute/arm-compute/src/models/dedicatedHostGroupsMappers.ts b/sdk/compute/arm-compute/src/models/dedicatedHostGroupsMappers.ts new file mode 100644 index 000000000000..0e28e914df7e --- /dev/null +++ b/sdk/compute/arm-compute/src/models/dedicatedHostGroupsMappers.ts @@ -0,0 +1,169 @@ +/* + * Copyright (c) Microsoft Corporation. All rights reserved. + * Licensed under the MIT License. See License.txt in the project root for license information. + * + * 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, + AvailabilitySet, + AvailabilitySetUpdate, + BaseResource, + BootDiagnostics, + BootDiagnosticsInstanceView, + CloudError, + ContainerService, + ContainerServiceAgentPoolProfile, + ContainerServiceCustomProfile, + ContainerServiceDiagnosticsProfile, + ContainerServiceLinuxProfile, + ContainerServiceMasterProfile, + ContainerServiceOrchestratorProfile, + ContainerServiceServicePrincipalProfile, + ContainerServiceSshConfiguration, + ContainerServiceSshPublicKey, + ContainerServiceVMDiagnostics, + ContainerServiceWindowsProfile, + CreationData, + DataDisk, + DataDiskImage, + DedicatedHost, + DedicatedHostAllocatableVM, + DedicatedHostAvailableCapacity, + DedicatedHostGroup, + DedicatedHostGroupListResult, + DedicatedHostGroupUpdate, + DedicatedHostInstanceView, + DedicatedHostUpdate, + DiagnosticsProfile, + DiffDiskSettings, + Disallowed, + Disk, + DiskEncryptionSettings, + DiskInstanceView, + DiskSku, + EncryptionSettingsCollection, + EncryptionSettingsElement, + Gallery, + GalleryArtifactPublishingProfileBase, + GalleryArtifactVersionSource, + GalleryDataDiskImage, + GalleryDiskImage, + GalleryIdentifier, + GalleryImage, + GalleryImageIdentifier, + GalleryImageVersion, + GalleryImageVersionPublishingProfile, + GalleryImageVersionStorageProfile, + GalleryOSDiskImage, + HardwareProfile, + Image, + ImageDataDisk, + ImageDiskReference, + ImageOSDisk, + ImagePurchasePlan, + ImageReference, + ImageStorageProfile, + ImageUpdate, + InnerError, + InstanceViewStatus, + KeyVaultAndKeyReference, + KeyVaultAndSecretReference, + KeyVaultKeyReference, + KeyVaultSecretReference, + LinuxConfiguration, + MaintenanceRedeployStatus, + ManagedDiskParameters, + NetworkInterfaceReference, + NetworkProfile, + OSDisk, + OSDiskImage, + OSProfile, + Plan, + ProximityPlacementGroup, + ProximityPlacementGroupUpdate, + PurchasePlan, + RecommendedMachineConfiguration, + RegionalReplicationStatus, + ReplicationStatus, + Resource, + ResourceRange, + RollingUpgradePolicy, + RollingUpgradeProgressInfo, + RollingUpgradeRunningStatus, + RollingUpgradeStatusInfo, + ScheduledEventsProfile, + Sku, + Snapshot, + SnapshotSku, + SourceVault, + SshConfiguration, + SshPublicKey, + StorageProfile, + SubResource, + SubResourceReadOnly, + TargetRegion, + TerminateNotificationProfile, + UpdateResource, + UpgradePolicy, + VaultCertificate, + VaultSecretGroup, + VirtualHardDisk, + VirtualMachine, + VirtualMachineAgentInstanceView, + VirtualMachineCaptureResult, + VirtualMachineExtension, + VirtualMachineExtensionHandlerInstanceView, + VirtualMachineExtensionImage, + VirtualMachineExtensionInstanceView, + VirtualMachineExtensionUpdate, + VirtualMachineHealthStatus, + VirtualMachineIdentity, + VirtualMachineIdentityUserAssignedIdentitiesValue, + VirtualMachineImage, + VirtualMachineImageResource, + VirtualMachineInstanceView, + VirtualMachineScaleSet, + VirtualMachineScaleSetDataDisk, + VirtualMachineScaleSetExtension, + VirtualMachineScaleSetExtensionProfile, + VirtualMachineScaleSetIdentity, + VirtualMachineScaleSetIdentityUserAssignedIdentitiesValue, + VirtualMachineScaleSetIPConfiguration, + VirtualMachineScaleSetIpTag, + VirtualMachineScaleSetManagedDiskParameters, + VirtualMachineScaleSetNetworkConfiguration, + VirtualMachineScaleSetNetworkConfigurationDnsSettings, + VirtualMachineScaleSetNetworkProfile, + VirtualMachineScaleSetOSDisk, + VirtualMachineScaleSetOSProfile, + VirtualMachineScaleSetPublicIPAddressConfiguration, + VirtualMachineScaleSetPublicIPAddressConfigurationDnsSettings, + VirtualMachineScaleSetStorageProfile, + VirtualMachineScaleSetUpdate, + VirtualMachineScaleSetUpdateIPConfiguration, + VirtualMachineScaleSetUpdateNetworkConfiguration, + VirtualMachineScaleSetUpdateNetworkProfile, + VirtualMachineScaleSetUpdateOSDisk, + VirtualMachineScaleSetUpdateOSProfile, + VirtualMachineScaleSetUpdatePublicIPAddressConfiguration, + VirtualMachineScaleSetUpdateStorageProfile, + VirtualMachineScaleSetUpdateVMProfile, + VirtualMachineScaleSetVM, + VirtualMachineScaleSetVMInstanceView, + VirtualMachineScaleSetVMNetworkProfileConfiguration, + VirtualMachineScaleSetVMProfile, + VirtualMachineScaleSetVMProtectionPolicy, + VirtualMachineUpdate, + WindowsConfiguration, + WinRMConfiguration, + WinRMListener +} from "../models/mappers"; diff --git a/sdk/compute/arm-compute/src/models/dedicatedHostsMappers.ts b/sdk/compute/arm-compute/src/models/dedicatedHostsMappers.ts new file mode 100644 index 000000000000..f78b7b1889ae --- /dev/null +++ b/sdk/compute/arm-compute/src/models/dedicatedHostsMappers.ts @@ -0,0 +1,169 @@ +/* + * Copyright (c) Microsoft Corporation. All rights reserved. + * Licensed under the MIT License. See License.txt in the project root for license information. + * + * 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, + AvailabilitySet, + AvailabilitySetUpdate, + BaseResource, + BootDiagnostics, + BootDiagnosticsInstanceView, + CloudError, + ContainerService, + ContainerServiceAgentPoolProfile, + ContainerServiceCustomProfile, + ContainerServiceDiagnosticsProfile, + ContainerServiceLinuxProfile, + ContainerServiceMasterProfile, + ContainerServiceOrchestratorProfile, + ContainerServiceServicePrincipalProfile, + ContainerServiceSshConfiguration, + ContainerServiceSshPublicKey, + ContainerServiceVMDiagnostics, + ContainerServiceWindowsProfile, + CreationData, + DataDisk, + DataDiskImage, + DedicatedHost, + DedicatedHostAllocatableVM, + DedicatedHostAvailableCapacity, + DedicatedHostGroup, + DedicatedHostGroupUpdate, + DedicatedHostInstanceView, + DedicatedHostListResult, + DedicatedHostUpdate, + DiagnosticsProfile, + DiffDiskSettings, + Disallowed, + Disk, + DiskEncryptionSettings, + DiskInstanceView, + DiskSku, + EncryptionSettingsCollection, + EncryptionSettingsElement, + Gallery, + GalleryArtifactPublishingProfileBase, + GalleryArtifactVersionSource, + GalleryDataDiskImage, + GalleryDiskImage, + GalleryIdentifier, + GalleryImage, + GalleryImageIdentifier, + GalleryImageVersion, + GalleryImageVersionPublishingProfile, + GalleryImageVersionStorageProfile, + GalleryOSDiskImage, + HardwareProfile, + Image, + ImageDataDisk, + ImageDiskReference, + ImageOSDisk, + ImagePurchasePlan, + ImageReference, + ImageStorageProfile, + ImageUpdate, + InnerError, + InstanceViewStatus, + KeyVaultAndKeyReference, + KeyVaultAndSecretReference, + KeyVaultKeyReference, + KeyVaultSecretReference, + LinuxConfiguration, + MaintenanceRedeployStatus, + ManagedDiskParameters, + NetworkInterfaceReference, + NetworkProfile, + OSDisk, + OSDiskImage, + OSProfile, + Plan, + ProximityPlacementGroup, + ProximityPlacementGroupUpdate, + PurchasePlan, + RecommendedMachineConfiguration, + RegionalReplicationStatus, + ReplicationStatus, + Resource, + ResourceRange, + RollingUpgradePolicy, + RollingUpgradeProgressInfo, + RollingUpgradeRunningStatus, + RollingUpgradeStatusInfo, + ScheduledEventsProfile, + Sku, + Snapshot, + SnapshotSku, + SourceVault, + SshConfiguration, + SshPublicKey, + StorageProfile, + SubResource, + SubResourceReadOnly, + TargetRegion, + TerminateNotificationProfile, + UpdateResource, + UpgradePolicy, + VaultCertificate, + VaultSecretGroup, + VirtualHardDisk, + VirtualMachine, + VirtualMachineAgentInstanceView, + VirtualMachineCaptureResult, + VirtualMachineExtension, + VirtualMachineExtensionHandlerInstanceView, + VirtualMachineExtensionImage, + VirtualMachineExtensionInstanceView, + VirtualMachineExtensionUpdate, + VirtualMachineHealthStatus, + VirtualMachineIdentity, + VirtualMachineIdentityUserAssignedIdentitiesValue, + VirtualMachineImage, + VirtualMachineImageResource, + VirtualMachineInstanceView, + VirtualMachineScaleSet, + VirtualMachineScaleSetDataDisk, + VirtualMachineScaleSetExtension, + VirtualMachineScaleSetExtensionProfile, + VirtualMachineScaleSetIdentity, + VirtualMachineScaleSetIdentityUserAssignedIdentitiesValue, + VirtualMachineScaleSetIPConfiguration, + VirtualMachineScaleSetIpTag, + VirtualMachineScaleSetManagedDiskParameters, + VirtualMachineScaleSetNetworkConfiguration, + VirtualMachineScaleSetNetworkConfigurationDnsSettings, + VirtualMachineScaleSetNetworkProfile, + VirtualMachineScaleSetOSDisk, + VirtualMachineScaleSetOSProfile, + VirtualMachineScaleSetPublicIPAddressConfiguration, + VirtualMachineScaleSetPublicIPAddressConfigurationDnsSettings, + VirtualMachineScaleSetStorageProfile, + VirtualMachineScaleSetUpdate, + VirtualMachineScaleSetUpdateIPConfiguration, + VirtualMachineScaleSetUpdateNetworkConfiguration, + VirtualMachineScaleSetUpdateNetworkProfile, + VirtualMachineScaleSetUpdateOSDisk, + VirtualMachineScaleSetUpdateOSProfile, + VirtualMachineScaleSetUpdatePublicIPAddressConfiguration, + VirtualMachineScaleSetUpdateStorageProfile, + VirtualMachineScaleSetUpdateVMProfile, + VirtualMachineScaleSetVM, + VirtualMachineScaleSetVMInstanceView, + VirtualMachineScaleSetVMNetworkProfileConfiguration, + VirtualMachineScaleSetVMProfile, + VirtualMachineScaleSetVMProtectionPolicy, + VirtualMachineUpdate, + WindowsConfiguration, + WinRMConfiguration, + WinRMListener +} from "../models/mappers"; diff --git a/sdk/compute/arm-compute/src/models/disksMappers.ts b/sdk/compute/arm-compute/src/models/disksMappers.ts index 95e2dfea55a3..933336b4e3d1 100644 --- a/sdk/compute/arm-compute/src/models/disksMappers.ts +++ b/sdk/compute/arm-compute/src/models/disksMappers.ts @@ -36,6 +36,13 @@ export { CreationData, DataDisk, DataDiskImage, + DedicatedHost, + DedicatedHostAllocatableVM, + DedicatedHostAvailableCapacity, + DedicatedHostGroup, + DedicatedHostGroupUpdate, + DedicatedHostInstanceView, + DedicatedHostUpdate, DiagnosticsProfile, DiffDiskSettings, Disallowed, @@ -49,7 +56,7 @@ export { EncryptionSettingsElement, Gallery, GalleryArtifactPublishingProfileBase, - GalleryArtifactSource, + GalleryArtifactVersionSource, GalleryDataDiskImage, GalleryDiskImage, GalleryIdentifier, @@ -77,7 +84,6 @@ export { KeyVaultSecretReference, LinuxConfiguration, MaintenanceRedeployStatus, - ManagedArtifact, ManagedDiskParameters, NetworkInterfaceReference, NetworkProfile, @@ -85,6 +91,8 @@ export { OSDiskImage, OSProfile, Plan, + ProximityPlacementGroup, + ProximityPlacementGroupUpdate, PurchasePlan, RecommendedMachineConfiguration, RegionalReplicationStatus, @@ -95,6 +103,7 @@ export { RollingUpgradeProgressInfo, RollingUpgradeRunningStatus, RollingUpgradeStatusInfo, + ScheduledEventsProfile, Sku, Snapshot, SnapshotSku, @@ -105,6 +114,7 @@ export { SubResource, SubResourceReadOnly, TargetRegion, + TerminateNotificationProfile, UpdateResource, UpgradePolicy, VaultCertificate, diff --git a/sdk/compute/arm-compute/src/models/galleriesMappers.ts b/sdk/compute/arm-compute/src/models/galleriesMappers.ts index 4687700e7133..e6dfd400aa99 100644 --- a/sdk/compute/arm-compute/src/models/galleriesMappers.ts +++ b/sdk/compute/arm-compute/src/models/galleriesMappers.ts @@ -35,6 +35,13 @@ export { CreationData, DataDisk, DataDiskImage, + DedicatedHost, + DedicatedHostAllocatableVM, + DedicatedHostAvailableCapacity, + DedicatedHostGroup, + DedicatedHostGroupUpdate, + DedicatedHostInstanceView, + DedicatedHostUpdate, DiagnosticsProfile, DiffDiskSettings, Disallowed, @@ -46,7 +53,7 @@ export { EncryptionSettingsElement, Gallery, GalleryArtifactPublishingProfileBase, - GalleryArtifactSource, + GalleryArtifactVersionSource, GalleryDataDiskImage, GalleryDiskImage, GalleryIdentifier, @@ -74,7 +81,6 @@ export { KeyVaultSecretReference, LinuxConfiguration, MaintenanceRedeployStatus, - ManagedArtifact, ManagedDiskParameters, NetworkInterfaceReference, NetworkProfile, @@ -82,6 +88,8 @@ export { OSDiskImage, OSProfile, Plan, + ProximityPlacementGroup, + ProximityPlacementGroupUpdate, PurchasePlan, RecommendedMachineConfiguration, RegionalReplicationStatus, @@ -92,6 +100,7 @@ export { RollingUpgradeProgressInfo, RollingUpgradeRunningStatus, RollingUpgradeStatusInfo, + ScheduledEventsProfile, Sku, Snapshot, SnapshotSku, @@ -102,6 +111,7 @@ export { SubResource, SubResourceReadOnly, TargetRegion, + TerminateNotificationProfile, UpdateResource, UpgradePolicy, VaultCertificate, diff --git a/sdk/compute/arm-compute/src/models/galleryImageVersionsMappers.ts b/sdk/compute/arm-compute/src/models/galleryImageVersionsMappers.ts index 49635438d1f8..bf2fcfd9c4e1 100644 --- a/sdk/compute/arm-compute/src/models/galleryImageVersionsMappers.ts +++ b/sdk/compute/arm-compute/src/models/galleryImageVersionsMappers.ts @@ -35,6 +35,13 @@ export { CreationData, DataDisk, DataDiskImage, + DedicatedHost, + DedicatedHostAllocatableVM, + DedicatedHostAvailableCapacity, + DedicatedHostGroup, + DedicatedHostGroupUpdate, + DedicatedHostInstanceView, + DedicatedHostUpdate, DiagnosticsProfile, DiffDiskSettings, Disallowed, @@ -46,7 +53,7 @@ export { EncryptionSettingsElement, Gallery, GalleryArtifactPublishingProfileBase, - GalleryArtifactSource, + GalleryArtifactVersionSource, GalleryDataDiskImage, GalleryDiskImage, GalleryIdentifier, @@ -74,7 +81,6 @@ export { KeyVaultSecretReference, LinuxConfiguration, MaintenanceRedeployStatus, - ManagedArtifact, ManagedDiskParameters, NetworkInterfaceReference, NetworkProfile, @@ -82,6 +88,8 @@ export { OSDiskImage, OSProfile, Plan, + ProximityPlacementGroup, + ProximityPlacementGroupUpdate, PurchasePlan, RecommendedMachineConfiguration, RegionalReplicationStatus, @@ -92,6 +100,7 @@ export { RollingUpgradeProgressInfo, RollingUpgradeRunningStatus, RollingUpgradeStatusInfo, + ScheduledEventsProfile, Sku, Snapshot, SnapshotSku, @@ -102,6 +111,7 @@ export { SubResource, SubResourceReadOnly, TargetRegion, + TerminateNotificationProfile, UpdateResource, UpgradePolicy, VaultCertificate, diff --git a/sdk/compute/arm-compute/src/models/galleryImagesMappers.ts b/sdk/compute/arm-compute/src/models/galleryImagesMappers.ts index 3d94ca5fa3a2..74a0f94af187 100644 --- a/sdk/compute/arm-compute/src/models/galleryImagesMappers.ts +++ b/sdk/compute/arm-compute/src/models/galleryImagesMappers.ts @@ -35,6 +35,13 @@ export { CreationData, DataDisk, DataDiskImage, + DedicatedHost, + DedicatedHostAllocatableVM, + DedicatedHostAvailableCapacity, + DedicatedHostGroup, + DedicatedHostGroupUpdate, + DedicatedHostInstanceView, + DedicatedHostUpdate, DiagnosticsProfile, DiffDiskSettings, Disallowed, @@ -46,7 +53,7 @@ export { EncryptionSettingsElement, Gallery, GalleryArtifactPublishingProfileBase, - GalleryArtifactSource, + GalleryArtifactVersionSource, GalleryDataDiskImage, GalleryDiskImage, GalleryIdentifier, @@ -74,7 +81,6 @@ export { KeyVaultSecretReference, LinuxConfiguration, MaintenanceRedeployStatus, - ManagedArtifact, ManagedDiskParameters, NetworkInterfaceReference, NetworkProfile, @@ -82,6 +88,8 @@ export { OSDiskImage, OSProfile, Plan, + ProximityPlacementGroup, + ProximityPlacementGroupUpdate, PurchasePlan, RecommendedMachineConfiguration, RegionalReplicationStatus, @@ -92,6 +100,7 @@ export { RollingUpgradeProgressInfo, RollingUpgradeRunningStatus, RollingUpgradeStatusInfo, + ScheduledEventsProfile, Sku, Snapshot, SnapshotSku, @@ -102,6 +111,7 @@ export { SubResource, SubResourceReadOnly, TargetRegion, + TerminateNotificationProfile, UpdateResource, UpgradePolicy, VaultCertificate, diff --git a/sdk/compute/arm-compute/src/models/imagesMappers.ts b/sdk/compute/arm-compute/src/models/imagesMappers.ts index 9d476228fb50..49af9be82511 100644 --- a/sdk/compute/arm-compute/src/models/imagesMappers.ts +++ b/sdk/compute/arm-compute/src/models/imagesMappers.ts @@ -35,6 +35,13 @@ export { CreationData, DataDisk, DataDiskImage, + DedicatedHost, + DedicatedHostAllocatableVM, + DedicatedHostAvailableCapacity, + DedicatedHostGroup, + DedicatedHostGroupUpdate, + DedicatedHostInstanceView, + DedicatedHostUpdate, DiagnosticsProfile, DiffDiskSettings, Disallowed, @@ -46,7 +53,7 @@ export { EncryptionSettingsElement, Gallery, GalleryArtifactPublishingProfileBase, - GalleryArtifactSource, + GalleryArtifactVersionSource, GalleryDataDiskImage, GalleryDiskImage, GalleryIdentifier, @@ -74,7 +81,6 @@ export { KeyVaultSecretReference, LinuxConfiguration, MaintenanceRedeployStatus, - ManagedArtifact, ManagedDiskParameters, NetworkInterfaceReference, NetworkProfile, @@ -82,6 +88,8 @@ export { OSDiskImage, OSProfile, Plan, + ProximityPlacementGroup, + ProximityPlacementGroupUpdate, PurchasePlan, RecommendedMachineConfiguration, RegionalReplicationStatus, @@ -92,6 +100,7 @@ export { RollingUpgradeProgressInfo, RollingUpgradeRunningStatus, RollingUpgradeStatusInfo, + ScheduledEventsProfile, Sku, Snapshot, SnapshotSku, @@ -102,6 +111,7 @@ export { SubResource, SubResourceReadOnly, TargetRegion, + TerminateNotificationProfile, UpdateResource, UpgradePolicy, VaultCertificate, diff --git a/sdk/compute/arm-compute/src/models/index.ts b/sdk/compute/arm-compute/src/models/index.ts index ab37a5df853a..68d208b7ba58 100644 --- a/sdk/compute/arm-compute/src/models/index.ts +++ b/sdk/compute/arm-compute/src/models/index.ts @@ -156,6 +156,11 @@ export interface AvailabilitySet extends Resource { * A list of references to all virtual machines in the availability set. */ virtualMachines?: SubResource[]; + /** + * Specifies information about the proximity placement group that the availability set should be + * assigned to.

Minimum api-version: 2018-04-01. + */ + proximityPlacementGroup?: SubResource; /** * The resource status information. * **NOTE: This property will not be serialized. It can only be populated by the server.** @@ -196,6 +201,11 @@ export interface AvailabilitySetUpdate extends UpdateResource { * A list of references to all virtual machines in the availability set. */ virtualMachines?: SubResource[]; + /** + * Specifies information about the proximity placement group that the availability set should be + * assigned to.

Minimum api-version: 2018-04-01. + */ + proximityPlacementGroup?: SubResource; /** * The resource status information. * **NOTE: This property will not be serialized. It can only be populated by the server.** @@ -207,6 +217,241 @@ export interface AvailabilitySetUpdate extends UpdateResource { sku?: Sku; } +/** + * Specifies information about the proximity placement group. + */ +export interface ProximityPlacementGroup extends Resource { + /** + * Specifies the type of the proximity placement group.

Possible values are:

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

+ * **Ultra** : For future use. Possible values include: 'Standard', 'Ultra' + */ + proximityPlacementGroupType?: ProximityPlacementGroupType; + /** + * A list of references to all virtual machines in the proximity placement group. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly virtualMachines?: SubResource[]; + /** + * A list of references to all virtual machine scale sets in the proximity placement group. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly virtualMachineScaleSets?: SubResource[]; + /** + * A list of references to all availability sets in the proximity placement group. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly availabilitySets?: SubResource[]; +} + +/** + * Specifies information about the proximity placement group. + */ +export interface ProximityPlacementGroupUpdate extends UpdateResource { +} + +/** + * An interface representing SubResourceReadOnly. + */ +export interface SubResourceReadOnly extends BaseResource { + /** + * Resource Id + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly id?: string; +} + +/** + * Specifies information about the dedicated host group that the dedicated hosts should be assigned + * to.

Currently, a dedicated host can only be added to a dedicated host group at creation + * time. An existing dedicated host cannot be added to another dedicated host group. + */ +export interface DedicatedHostGroup extends Resource { + /** + * Number of fault domains that the host group can span. + */ + platformFaultDomainCount: number; + /** + * A list of references to all dedicated hosts in the dedicated host group. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly hosts?: SubResourceReadOnly[]; + /** + * Availability Zone to use for this host group. Only single zone is supported. The zone can be + * assigned only during creation. If not provided, the group supports all zones in the region. If + * provided, enforces each host in the group to be in the same zone. + */ + zones?: string[]; +} + +/** + * Specifies information about the dedicated host group that the dedicated host should be assigned + * to. Only tags may be updated. + */ +export interface DedicatedHostGroupUpdate extends UpdateResource { + /** + * Number of fault domains that the host group can span. + */ + platformFaultDomainCount: number; + /** + * A list of references to all dedicated hosts in the dedicated host group. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly hosts?: SubResourceReadOnly[]; + /** + * Availability Zone to use for this host group. Only single zone is supported. The zone can be + * assigned only during creation. If not provided, the group supports all zones in the region. If + * provided, enforces each host in the group to be in the same zone. + */ + zones?: string[]; +} + +/** + * Represents the dedicated host unutilized capacity in terms of a specific VM size. + */ +export interface DedicatedHostAllocatableVM { + /** + * VM size in terms of which the unutilized capacity is represented. + */ + vmSize?: string; + /** + * Maximum number of VMs of size vmSize that can fit in the dedicated host's remaining capacity. + */ + count?: number; +} + +/** + * Dedicated host unutilized capacity. + */ +export interface DedicatedHostAvailableCapacity { + /** + * The unutilized capacity of the dedicated host represented in terms of each VM size that is + * allowed to be deployed to the dedicated host. + */ + allocatableVMs?: DedicatedHostAllocatableVM[]; +} + +/** + * The instance view of a dedicated host. + */ +export interface DedicatedHostInstanceView { + /** + * Specifies the unique id of the dedicated physical machine on which the dedicated host resides. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly assetId?: string; + /** + * Unutilized capacity of the dedicated host. + */ + availableCapacity?: DedicatedHostAvailableCapacity; + /** + * The resource status information. + */ + statuses?: InstanceViewStatus[]; +} + +/** + * Specifies information about the Dedicated host. + */ +export interface DedicatedHost extends Resource { + /** + * Fault domain of the dedicated host within a dedicated host group. + */ + platformFaultDomain?: number; + /** + * Specifies whether the dedicated host should be replaced automatically in case of a failure. + * The value is defaulted to 'true' when not provided. + */ + autoReplaceOnFailure?: boolean; + /** + * A unique id generated and assigned to the dedicated host by the platform.

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

Possible values are:

**None**

**Windows_Server_Hybrid** + *

**Windows_Server_Perpetual**

Default: **None**. Possible values include: + * 'None', 'Windows_Server_Hybrid', 'Windows_Server_Perpetual' + */ + licenseType?: DedicatedHostLicenseTypes; + /** + * The date when the host was first provisioned. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly provisioningTime?: Date; + /** + * The provisioning state, which only appears in the response. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly provisioningState?: string; + /** + * The dedicated host instance view. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly instanceView?: DedicatedHostInstanceView; + /** + * SKU of the dedicated host for Hardware Generation and VM family. Only name is required to be + * set. List Microsoft.Compute SKUs for a list of possible values. + */ + sku: Sku; +} + +/** + * Specifies information about the dedicated host. Only tags, autoReplaceOnFailure and licenseType + * may be updated. + */ +export interface DedicatedHostUpdate extends UpdateResource { + /** + * Fault domain of the dedicated host within a dedicated host group. + */ + platformFaultDomain?: number; + /** + * Specifies whether the dedicated host should be replaced automatically in case of a failure. + * The value is defaulted to 'true' when not provided. + */ + autoReplaceOnFailure?: boolean; + /** + * A unique id generated and assigned to the dedicated host by the platform.

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

Possible values are:

**None**

**Windows_Server_Hybrid** + *

**Windows_Server_Perpetual**

Default: **None**. Possible values include: + * 'None', 'Windows_Server_Hybrid', 'Windows_Server_Perpetual' + */ + licenseType?: DedicatedHostLicenseTypes; + /** + * The date when the host was first provisioned. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly provisioningTime?: Date; + /** + * The provisioning state, which only appears in the response. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly provisioningState?: string; + /** + * The dedicated host instance view. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly instanceView?: DedicatedHostInstanceView; +} + /** * Describes the properties of a VM size. */ @@ -505,7 +750,8 @@ export interface Usage { */ export interface VirtualMachineReimageParameters { /** - * Specifies whether to reimage temp disk. Default value: false. + * Specifies whether to reimage temp disk. Default value: false. Note: This temp disk reimage + * parameter is only supported for VM/VMSS with Ephemeral OS disk. */ tempDisk?: boolean; } @@ -863,6 +1109,11 @@ export interface DataDisk { * The managed disk parameters. */ managedDisk?: ManagedDiskParameters; + /** + * Specifies whether the data disk is in process of detachment from the + * VirtualMachine/VirtualMachineScaleset + */ + toBeDetached?: boolean; } /** @@ -974,7 +1225,9 @@ export interface WindowsConfiguration { */ provisionVMAgent?: boolean; /** - * Indicates whether virtual machine is enabled for automatic updates. + * Indicates whether Automatic Updates is enabled for the Windows virtual machine. Default value + * is true.

For virtual machine scale sets, this property can be updated and updates + * will take effect on OS reprovisioning. */ enableAutomaticUpdates?: boolean; /** @@ -1390,6 +1643,11 @@ export interface VirtualMachineInstanceView { * The version of Operating System running on the virtual machine. */ osVersion?: string; + /** + * Specifies the HyperVGeneration Type associated with a resource. Possible values include: 'V1', + * 'V2' + */ + hyperVGeneration?: HyperVGenerationType; /** * The Remote desktop certificate thumbprint. */ @@ -1471,6 +1729,16 @@ export interface VirtualMachine extends Resource { * VM cannot be added to an availability set. */ availabilitySet?: SubResource; + /** + * Specifies information about the proximity placement group that the virtual machine should be + * assigned to.

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

Minimum api-version: 2018-10-01. + */ + host?: SubResource; /** * The provisioning state, which only appears in the response. * **NOTE: This property will not be serialized. It can only be populated by the server.** @@ -1561,6 +1829,16 @@ export interface VirtualMachineUpdate extends UpdateResource { * VM cannot be added to an availability set. */ availabilitySet?: SubResource; + /** + * Specifies information about the proximity placement group that the virtual machine should be + * assigned to.

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

Minimum api-version: 2018-10-01. + */ + host?: SubResource; /** * The provisioning state, which only appears in the response. * **NOTE: This property will not be serialized. It can only be populated by the server.** @@ -1602,8 +1880,11 @@ export interface VirtualMachineUpdate extends UpdateResource { */ export interface AutomaticOSUpgradePolicy { /** - * Whether OS upgrades should automatically be applied to scale set instances in a rolling - * fashion when a newer version of the image becomes available. Default value is false. + * Indicates whether OS upgrades should automatically be applied to scale set instances in a + * rolling fashion when a newer version of the OS image becomes available. Default value is + * false.

If this is set to true for Windows based scale sets, + * [enableAutomaticUpdates](https://docs.microsoft.com/dotnet/api/microsoft.azure.management.compute.models.windowsconfiguration.enableautomaticupdates?view=azure-dotnet) + * is automatically set to false and cannot be set to true. */ enableAutomaticOSUpgrade?: boolean; /** @@ -1794,6 +2075,11 @@ export interface Image extends Resource { * **NOTE: This property will not be serialized. It can only be populated by the server.** */ readonly provisioningState?: string; + /** + * Gets the HyperVGenerationType of the VirtualMachine created from the image. Possible values + * include: 'V1', 'V2' + */ + hyperVGeneration?: HyperVGenerationTypes; } /** @@ -1813,6 +2099,11 @@ export interface ImageUpdate extends UpdateResource { * **NOTE: This property will not be serialized. It can only be populated by the server.** */ readonly provisioningState?: string; + /** + * Gets the HyperVGenerationType of the VirtualMachine created from the image. Possible values + * include: 'V1', 'V2' + */ + hyperVGeneration?: HyperVGenerationTypes; } /** @@ -2420,17 +2711,6 @@ export interface VirtualMachineScaleSetUpdateNetworkProfile { networkInterfaceConfigurations?: VirtualMachineScaleSetUpdateNetworkConfiguration[]; } -/** - * An interface representing SubResourceReadOnly. - */ -export interface SubResourceReadOnly extends BaseResource { - /** - * Resource Id - * **NOTE: This property will not be serialized. It can only be populated by the server.** - */ - readonly id?: string; -} - /** * Describes a Virtual Machine Scale Set Extension. */ @@ -2492,6 +2772,32 @@ export interface VirtualMachineScaleSetExtensionProfile { extensions?: VirtualMachineScaleSetExtension[]; } +/** + * An interface representing TerminateNotificationProfile. + */ +export interface TerminateNotificationProfile { + /** + * Configurable length of time a Virtual Machine being deleted will have to potentially approve + * the Terminate Scheduled Event before the event is auto approved (timed out). The configuration + * must be specified in ISO 8601 format, the default value is 5 minutes (PT5M) + */ + notBeforeTimeout?: string; + /** + * Specifies whether the Terminate Scheduled event is enabled or disabled. + */ + enable?: boolean; +} + +/** + * An interface representing ScheduledEventsProfile. + */ +export interface ScheduledEventsProfile { + /** + * Specifies Terminate Scheduled Event related configurations. + */ + terminateNotificationProfile?: TerminateNotificationProfile; +} + /** * Describes a virtual machine scale set virtual machine profile. */ @@ -2504,12 +2810,6 @@ export interface VirtualMachineScaleSetVMProfile { * Specifies the storage settings for the virtual machine disks. */ storageProfile?: VirtualMachineScaleSetStorageProfile; - /** - * Specifies additional capabilities enabled or disabled on the virtual machine in the scale set. - * For instance: whether the virtual machine has the capability to support attaching managed data - * disks with UltraSSD_LRS storage account type. - */ - additionalCapabilities?: AdditionalCapabilities; /** * Specifies properties of the network interfaces of the virtual machines in the scale set. */ @@ -2544,6 +2844,10 @@ export interface VirtualMachineScaleSetVMProfile { * 'Delete' */ evictionPolicy?: VirtualMachineEvictionPolicyTypes; + /** + * Specifies Scheduled Event related configurations. + */ + scheduledEventsProfile?: ScheduledEventsProfile; } /** @@ -2574,6 +2878,10 @@ export interface VirtualMachineScaleSetUpdateVMProfile { * The license type, which is for bring your own license scenario. */ licenseType?: string; + /** + * Specifies Scheduled Event related configurations. + */ + scheduledEventsProfile?: ScheduledEventsProfile; } /** @@ -2634,6 +2942,17 @@ export interface VirtualMachineScaleSet extends Resource { * Fault Domain count for each placement group. */ platformFaultDomainCount?: number; + /** + * Specifies information about the proximity placement group that the virtual machine scale set + * should be assigned to.

Minimum api-version: 2018-04-01. + */ + proximityPlacementGroup?: SubResource; + /** + * Specifies additional capabilities enabled or disabled on the Virtual Machines in the Virtual + * Machine Scale Set. For instance: whether the Virtual Machines have the capability to support + * attaching managed data disks with UltraSSD_LRS storage account type. + */ + additionalCapabilities?: AdditionalCapabilities; /** * The identity of the virtual machine scale set, if configured. */ @@ -2691,6 +3010,12 @@ export interface VirtualMachineScaleSetUpdate extends UpdateResource { * machines. */ singlePlacementGroup?: boolean; + /** + * Specifies additional capabilities enabled or disabled on the Virtual Machines in the Virtual + * Machine Scale Set. For instance: whether the Virtual Machines have the capability to support + * attaching managed data disks with UltraSSD_LRS storage account type. + */ + additionalCapabilities?: AdditionalCapabilities; /** * The identity of the virtual machine scale set, if configured. */ @@ -3540,6 +3865,22 @@ export interface ResourceSkuCapabilities { readonly value?: string; } +/** + * Describes The zonal capabilities of a SKU. + */ +export interface ResourceSkuZoneDetails { + /** + * The set of zones that the SKU is available in with the specified capabilities. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly name?: string[]; + /** + * A list of capabilities that are available for the SKU in the specified list of zones. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly capabilities?: ResourceSkuCapabilities[]; +} + /** * An interface representing ResourceSkuRestrictionInfo. */ @@ -3597,6 +3938,11 @@ export interface ResourceSkuLocationInfo { * **NOTE: This property will not be serialized. It can only be populated by the server.** */ readonly zones?: string[]; + /** + * Details of capabilities available to a SKU in specific zones. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly zoneDetails?: ResourceSkuZoneDetails[]; } /** @@ -4151,10 +4497,15 @@ export interface GalleryImage extends Resource { */ osType: OperatingSystemTypes; /** - * The allowed values for OS State are 'Generalized'. Possible values include: 'Generalized', - * 'Specialized' + * This property allows the user to specify whether the virtual machines created under this image + * are 'Generalized' or 'Specialized'. Possible values include: 'Generalized', 'Specialized' */ osState: OperatingSystemStateTypes; + /** + * The hypervisor generation of the Virtual Machine. Applicable to OS disks only. Possible values + * include: 'V1', 'V2' + */ + hyperVGeneration?: HyperVGeneration; /** * The end of life date of the gallery Image Definition. This property can be used for * decommissioning purposes. This property is updatable. @@ -4182,7 +4533,6 @@ export interface GalleryArtifactPublishingProfileBase { * updatable. */ targetRegions?: TargetRegion[]; - source: GalleryArtifactSource; } /** @@ -4216,6 +4566,17 @@ export interface GalleryImageVersionPublishingProfile extends GalleryArtifactPub storageAccountType?: StorageAccountType; } +/** + * The gallery artifact version source. + */ +export interface GalleryArtifactVersionSource { + /** + * The id of the gallery artifact version source. Can specify a disk uri, snapshot uri, or user + * image. + */ + id: string; +} + /** * This is the disk image base class. */ @@ -4228,9 +4589,9 @@ export interface GalleryDiskImage { /** * The host caching of the disk. Valid values are 'None', 'ReadOnly', and 'ReadWrite'. Possible * values include: 'None', 'ReadOnly', 'ReadWrite' - * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - readonly hostCaching?: HostCaching; + hostCaching?: HostCaching; + source?: GalleryArtifactVersionSource; } /** @@ -4247,24 +4608,20 @@ export interface GalleryDataDiskImage extends GalleryDiskImage { * This property specifies the logical unit number of the data disk. This value is used to * identify data disks within the Virtual Machine and therefore must be unique for each data disk * attached to the Virtual Machine. - * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - readonly lun?: number; + lun: number; } /** - * This is the storage profile of a gallery Image Version. + * This is the storage profile of a Gallery Image Version. */ export interface GalleryImageVersionStorageProfile { - /** - * **NOTE: This property will not be serialized. It can only be populated by the server.** - */ - readonly osDiskImage?: GalleryOSDiskImage; + source?: GalleryArtifactVersionSource; + osDiskImage?: GalleryOSDiskImage; /** * A list of data disk images. - * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - readonly dataDiskImages?: GalleryDataDiskImage[]; + dataDiskImages?: GalleryDataDiskImage[]; } /** @@ -4315,7 +4672,7 @@ export interface ReplicationStatus { * Specifies information about the gallery Image Version that you want to create or update. */ export interface GalleryImageVersion extends Resource { - publishingProfile: GalleryImageVersionPublishingProfile; + publishingProfile?: GalleryImageVersionPublishingProfile; /** * The current state of the gallery Image Version. The provisioning state, which only appears in * the response. Possible values include: 'Creating', 'Updating', 'Failed', 'Succeeded', @@ -4323,10 +4680,7 @@ export interface GalleryImageVersion extends Resource { * **NOTE: This property will not be serialized. It can only be populated by the server.** */ readonly provisioningState?: ProvisioningState2; - /** - * **NOTE: This property will not be serialized. It can only be populated by the server.** - */ - readonly storageProfile?: GalleryImageVersionStorageProfile; + storageProfile: GalleryImageVersionStorageProfile; /** * **NOTE: This property will not be serialized. It can only be populated by the server.** */ @@ -4353,23 +4707,6 @@ export interface TargetRegion { storageAccountType?: StorageAccountType; } -/** - * The managed artifact. - */ -export interface ManagedArtifact { - /** - * The managed artifact id. - */ - id: string; -} - -/** - * The source image from which the Image Version is going to be created. - */ -export interface GalleryArtifactSource { - managedImage: ManagedArtifact; -} - /** * Properties to configure a custom container service cluster. */ @@ -4583,9 +4920,19 @@ export interface ContainerService extends Resource { /** * Optional Parameters. */ -export interface VirtualMachineExtensionImagesListVersionsOptionalParams extends msRest.RequestOptionsBase { +export interface DedicatedHostsGetOptionalParams extends msRest.RequestOptionsBase { /** - * The filter to apply on the operation. + * The expand expression to apply on the operation. Possible values include: 'instanceView' + */ + expand?: InstanceViewTypes; +} + +/** + * Optional Parameters. + */ +export interface VirtualMachineExtensionImagesListVersionsOptionalParams extends msRest.RequestOptionsBase { + /** + * The filter to apply on the operation. */ filter?: string; top?: number; @@ -4880,6 +5227,16 @@ export interface VirtualMachineScaleSetVMsReimageOptionalParams extends msRest.R vmScaleSetVMReimageInput?: VirtualMachineScaleSetVMReimageParameters; } +/** + * Optional Parameters. + */ +export interface VirtualMachineScaleSetVMsGetOptionalParams extends msRest.RequestOptionsBase { + /** + * The expand expression to apply on the operation. Possible values include: 'instanceView' + */ + expand?: InstanceViewTypes; +} + /** * Optional Parameters. */ @@ -4978,6 +5335,44 @@ export interface AvailabilitySetListResult extends Array { export interface VirtualMachineSizeListResult extends Array { } +/** + * @interface + * The List Proximity Placement Group operation response. + * @extends Array + */ +export interface ProximityPlacementGroupListResult extends Array { + /** + * The URI to fetch the next page of proximity placement groups. + */ + nextLink?: string; +} + +/** + * @interface + * The List Dedicated Host Group with resource group response. + * @extends Array + */ +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; +} + +/** + * @interface + * The list dedicated host operation response. + * @extends Array + */ +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; +} + /** * @interface * The List Usages operation response. @@ -5110,13 +5505,13 @@ export interface RunCommandListResult extends Array { /** * @interface - * The Compute List Skus operation response. + * The List Resource Skus operation response. * @extends Array */ export interface ResourceSkusResult extends Array { /** - * The uri to fetch the next page of Compute Skus. Call ListNext() with this to fetch the next - * page of VMSS Skus. + * 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; } @@ -5198,6 +5593,14 @@ export interface ContainerServiceListResult extends Array { nextLink?: string; } +/** + * Defines values for HyperVGenerationTypes. + * Possible values include: 'V1', 'V2' + * @readonly + * @enum {string} + */ +export type HyperVGenerationTypes = 'V1' | 'V2'; + /** * Defines values for StatusLevelTypes. * Possible values include: 'Info', 'Warning', 'Error' @@ -5214,6 +5617,22 @@ export type StatusLevelTypes = 'Info' | 'Warning' | 'Error'; */ export type AvailabilitySetSkuTypes = 'Classic' | 'Aligned'; +/** + * Defines values for ProximityPlacementGroupType. + * Possible values include: 'Standard', 'Ultra' + * @readonly + * @enum {string} + */ +export type ProximityPlacementGroupType = 'Standard' | 'Ultra'; + +/** + * 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 OperatingSystemTypes. * Possible values include: 'Windows', 'Linux' @@ -5344,6 +5763,14 @@ export type ResourceIdentityType = 'SystemAssigned' | 'UserAssigned' | 'SystemAs */ 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 UpgradeMode. * Possible values include: 'Automatic', 'Manual', 'Rolling' @@ -5781,6 +6208,426 @@ export type AvailabilitySetsListNextResponse = 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 get operation. */ diff --git a/sdk/compute/arm-compute/src/models/mappers.ts b/sdk/compute/arm-compute/src/models/mappers.ts index 76794d65e587..903dfadb24a7 100644 --- a/sdk/compute/arm-compute/src/models/mappers.ts +++ b/sdk/compute/arm-compute/src/models/mappers.ts @@ -233,6 +233,13 @@ export const AvailabilitySet: msRest.CompositeMapper = { } } }, + proximityPlacementGroup: { + serializedName: "properties.proximityPlacementGroup", + type: { + name: "Composite", + className: "SubResource" + } + }, statuses: { readOnly: true, serializedName: "properties.statuses", @@ -309,6 +316,13 @@ export const AvailabilitySetUpdate: msRest.CompositeMapper = { } } }, + proximityPlacementGroup: { + serializedName: "properties.proximityPlacementGroup", + type: { + name: "Composite", + className: "SubResource" + } + }, statuses: { readOnly: true, serializedName: "properties.statuses", @@ -333,6 +347,430 @@ export const AvailabilitySetUpdate: msRest.CompositeMapper = { } }; +export const ProximityPlacementGroup: msRest.CompositeMapper = { + serializedName: "ProximityPlacementGroup", + type: { + name: "Composite", + className: "ProximityPlacementGroup", + modelProperties: { + ...Resource.type.modelProperties, + proximityPlacementGroupType: { + serializedName: "properties.proximityPlacementGroupType", + type: { + name: "String" + } + }, + virtualMachines: { + readOnly: true, + serializedName: "properties.virtualMachines", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "SubResource" + } + } + } + }, + virtualMachineScaleSets: { + readOnly: true, + serializedName: "properties.virtualMachineScaleSets", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "SubResource" + } + } + } + }, + availabilitySets: { + readOnly: true, + serializedName: "properties.availabilitySets", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "SubResource" + } + } + } + } + } + } +}; + +export const ProximityPlacementGroupUpdate: msRest.CompositeMapper = { + serializedName: "ProximityPlacementGroupUpdate", + type: { + name: "Composite", + className: "ProximityPlacementGroupUpdate", + modelProperties: { + ...UpdateResource.type.modelProperties + } + } +}; + +export const SubResourceReadOnly: msRest.CompositeMapper = { + serializedName: "SubResourceReadOnly", + type: { + name: "Composite", + className: "SubResourceReadOnly", + modelProperties: { + id: { + readOnly: true, + serializedName: "id", + type: { + name: "String" + } + } + } + } +}; + +export const DedicatedHostGroup: msRest.CompositeMapper = { + serializedName: "DedicatedHostGroup", + type: { + name: "Composite", + className: "DedicatedHostGroup", + modelProperties: { + ...Resource.type.modelProperties, + platformFaultDomainCount: { + required: true, + serializedName: "properties.platformFaultDomainCount", + constraints: { + InclusiveMaximum: 3, + InclusiveMinimum: 1 + }, + type: { + name: "Number" + } + }, + hosts: { + readOnly: true, + serializedName: "properties.hosts", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "SubResourceReadOnly" + } + } + } + }, + zones: { + serializedName: "zones", + type: { + name: "Sequence", + element: { + type: { + name: "String" + } + } + } + } + } + } +}; + +export const DedicatedHostGroupUpdate: msRest.CompositeMapper = { + serializedName: "DedicatedHostGroupUpdate", + type: { + name: "Composite", + className: "DedicatedHostGroupUpdate", + modelProperties: { + ...UpdateResource.type.modelProperties, + platformFaultDomainCount: { + required: true, + serializedName: "properties.platformFaultDomainCount", + constraints: { + InclusiveMaximum: 3, + InclusiveMinimum: 1 + }, + type: { + name: "Number" + } + }, + hosts: { + readOnly: true, + serializedName: "properties.hosts", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "SubResourceReadOnly" + } + } + } + }, + zones: { + serializedName: "zones", + type: { + name: "Sequence", + element: { + type: { + name: "String" + } + } + } + } + } + } +}; + +export const DedicatedHostAllocatableVM: msRest.CompositeMapper = { + serializedName: "DedicatedHostAllocatableVM", + type: { + name: "Composite", + className: "DedicatedHostAllocatableVM", + modelProperties: { + vmSize: { + serializedName: "vmSize", + type: { + name: "String" + } + }, + count: { + serializedName: "count", + type: { + name: "Number" + } + } + } + } +}; + +export const DedicatedHostAvailableCapacity: msRest.CompositeMapper = { + serializedName: "DedicatedHostAvailableCapacity", + type: { + name: "Composite", + className: "DedicatedHostAvailableCapacity", + modelProperties: { + allocatableVMs: { + serializedName: "allocatableVMs", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "DedicatedHostAllocatableVM" + } + } + } + } + } + } +}; + +export const DedicatedHostInstanceView: msRest.CompositeMapper = { + serializedName: "DedicatedHostInstanceView", + type: { + name: "Composite", + className: "DedicatedHostInstanceView", + modelProperties: { + assetId: { + readOnly: true, + serializedName: "assetId", + type: { + name: "String" + } + }, + availableCapacity: { + serializedName: "availableCapacity", + type: { + name: "Composite", + className: "DedicatedHostAvailableCapacity" + } + }, + statuses: { + serializedName: "statuses", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "InstanceViewStatus" + } + } + } + } + } + } +}; + +export const DedicatedHost: msRest.CompositeMapper = { + serializedName: "DedicatedHost", + type: { + name: "Composite", + className: "DedicatedHost", + modelProperties: { + ...Resource.type.modelProperties, + platformFaultDomain: { + serializedName: "properties.platformFaultDomain", + constraints: { + InclusiveMaximum: 2, + InclusiveMinimum: 0 + }, + type: { + name: "Number" + } + }, + autoReplaceOnFailure: { + serializedName: "properties.autoReplaceOnFailure", + type: { + name: "Boolean" + } + }, + hostId: { + readOnly: true, + serializedName: "properties.hostId", + type: { + name: "String" + } + }, + virtualMachines: { + readOnly: true, + serializedName: "properties.virtualMachines", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "SubResourceReadOnly" + } + } + } + }, + licenseType: { + serializedName: "properties.licenseType", + type: { + name: "Enum", + allowedValues: [ + "None", + "Windows_Server_Hybrid", + "Windows_Server_Perpetual" + ] + } + }, + provisioningTime: { + readOnly: true, + serializedName: "properties.provisioningTime", + type: { + name: "DateTime" + } + }, + provisioningState: { + readOnly: true, + serializedName: "properties.provisioningState", + type: { + name: "String" + } + }, + instanceView: { + readOnly: true, + serializedName: "properties.instanceView", + type: { + name: "Composite", + className: "DedicatedHostInstanceView" + } + }, + sku: { + required: true, + serializedName: "sku", + type: { + name: "Composite", + className: "Sku" + } + } + } + } +}; + +export const DedicatedHostUpdate: msRest.CompositeMapper = { + serializedName: "DedicatedHostUpdate", + type: { + name: "Composite", + className: "DedicatedHostUpdate", + modelProperties: { + ...UpdateResource.type.modelProperties, + platformFaultDomain: { + serializedName: "properties.platformFaultDomain", + constraints: { + InclusiveMaximum: 2, + InclusiveMinimum: 0 + }, + type: { + name: "Number" + } + }, + autoReplaceOnFailure: { + serializedName: "properties.autoReplaceOnFailure", + type: { + name: "Boolean" + } + }, + hostId: { + readOnly: true, + serializedName: "properties.hostId", + type: { + name: "String" + } + }, + virtualMachines: { + readOnly: true, + serializedName: "properties.virtualMachines", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "SubResourceReadOnly" + } + } + } + }, + licenseType: { + serializedName: "properties.licenseType", + type: { + name: "Enum", + allowedValues: [ + "None", + "Windows_Server_Hybrid", + "Windows_Server_Perpetual" + ] + } + }, + provisioningTime: { + readOnly: true, + serializedName: "properties.provisioningTime", + type: { + name: "DateTime" + } + }, + provisioningState: { + readOnly: true, + serializedName: "properties.provisioningState", + type: { + name: "String" + } + }, + instanceView: { + readOnly: true, + serializedName: "properties.instanceView", + type: { + name: "Composite", + className: "DedicatedHostInstanceView" + } + } + } + } +}; + export const VirtualMachineSize: msRest.CompositeMapper = { serializedName: "VirtualMachineSize", type: { @@ -1311,6 +1749,12 @@ export const DataDisk: msRest.CompositeMapper = { name: "Composite", className: "ManagedDiskParameters" } + }, + toBeDetached: { + serializedName: "toBeDetached", + type: { + name: "Boolean" + } } } } @@ -2082,6 +2526,12 @@ export const VirtualMachineInstanceView: msRest.CompositeMapper = { name: "String" } }, + hyperVGeneration: { + serializedName: "hyperVGeneration", + type: { + name: "String" + } + }, rdpThumbPrint: { serializedName: "rdpThumbPrint", type: { @@ -2212,6 +2662,20 @@ export const VirtualMachine: msRest.CompositeMapper = { className: "SubResource" } }, + proximityPlacementGroup: { + serializedName: "properties.proximityPlacementGroup", + type: { + name: "Composite", + className: "SubResource" + } + }, + host: { + serializedName: "properties.host", + type: { + name: "Composite", + className: "SubResource" + } + }, provisioningState: { readOnly: true, serializedName: "properties.provisioningState", @@ -2338,6 +2802,20 @@ export const VirtualMachineUpdate: msRest.CompositeMapper = { className: "SubResource" } }, + proximityPlacementGroup: { + serializedName: "properties.proximityPlacementGroup", + type: { + name: "Composite", + className: "SubResource" + } + }, + host: { + serializedName: "properties.host", + type: { + name: "Composite", + className: "SubResource" + } + }, provisioningState: { readOnly: true, serializedName: "properties.provisioningState", @@ -2688,6 +3166,12 @@ export const Image: msRest.CompositeMapper = { type: { name: "String" } + }, + hyperVGeneration: { + serializedName: "properties.hyperVGeneration", + type: { + name: "String" + } } } } @@ -2720,6 +3204,12 @@ export const ImageUpdate: msRest.CompositeMapper = { type: { name: "String" } + }, + hyperVGeneration: { + serializedName: "properties.hyperVGeneration", + type: { + name: "String" + } } } } @@ -3692,30 +4182,13 @@ export const VirtualMachineScaleSetUpdateNetworkProfile: msRest.CompositeMapper networkInterfaceConfigurations: { serializedName: "networkInterfaceConfigurations", type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "VirtualMachineScaleSetUpdateNetworkConfiguration" - } - } - } - } - } - } -}; - -export const SubResourceReadOnly: msRest.CompositeMapper = { - serializedName: "SubResourceReadOnly", - type: { - name: "Composite", - className: "SubResourceReadOnly", - modelProperties: { - id: { - readOnly: true, - serializedName: "id", - type: { - name: "String" + name: "Sequence", + element: { + type: { + name: "Composite", + className: "VirtualMachineScaleSetUpdateNetworkConfiguration" + } + } } } } @@ -3821,6 +4294,45 @@ export const VirtualMachineScaleSetExtensionProfile: msRest.CompositeMapper = { } }; +export const TerminateNotificationProfile: msRest.CompositeMapper = { + serializedName: "TerminateNotificationProfile", + type: { + name: "Composite", + className: "TerminateNotificationProfile", + modelProperties: { + notBeforeTimeout: { + serializedName: "notBeforeTimeout", + type: { + name: "String" + } + }, + enable: { + serializedName: "enable", + type: { + name: "Boolean" + } + } + } + } +}; + +export const ScheduledEventsProfile: msRest.CompositeMapper = { + serializedName: "ScheduledEventsProfile", + type: { + name: "Composite", + className: "ScheduledEventsProfile", + modelProperties: { + terminateNotificationProfile: { + serializedName: "terminateNotificationProfile", + type: { + name: "Composite", + className: "TerminateNotificationProfile" + } + } + } + } +}; + export const VirtualMachineScaleSetVMProfile: msRest.CompositeMapper = { serializedName: "VirtualMachineScaleSetVMProfile", type: { @@ -3841,13 +4353,6 @@ export const VirtualMachineScaleSetVMProfile: msRest.CompositeMapper = { className: "VirtualMachineScaleSetStorageProfile" } }, - additionalCapabilities: { - serializedName: "additionalCapabilities", - type: { - name: "Composite", - className: "AdditionalCapabilities" - } - }, networkProfile: { serializedName: "networkProfile", type: { @@ -3886,6 +4391,13 @@ export const VirtualMachineScaleSetVMProfile: msRest.CompositeMapper = { type: { name: "String" } + }, + scheduledEventsProfile: { + serializedName: "scheduledEventsProfile", + type: { + name: "Composite", + className: "ScheduledEventsProfile" + } } } } @@ -3937,6 +4449,13 @@ export const VirtualMachineScaleSetUpdateVMProfile: msRest.CompositeMapper = { type: { name: "String" } + }, + scheduledEventsProfile: { + serializedName: "scheduledEventsProfile", + type: { + name: "Composite", + className: "ScheduledEventsProfile" + } } } } @@ -4021,6 +4540,20 @@ export const VirtualMachineScaleSet: msRest.CompositeMapper = { name: "Number" } }, + proximityPlacementGroup: { + serializedName: "properties.proximityPlacementGroup", + type: { + name: "Composite", + className: "SubResource" + } + }, + additionalCapabilities: { + serializedName: "properties.additionalCapabilities", + type: { + name: "Composite", + className: "AdditionalCapabilities" + } + }, identity: { serializedName: "identity", type: { @@ -4123,6 +4656,13 @@ export const VirtualMachineScaleSetUpdate: msRest.CompositeMapper = { name: "Boolean" } }, + additionalCapabilities: { + serializedName: "properties.additionalCapabilities", + type: { + name: "Composite", + className: "AdditionalCapabilities" + } + }, identity: { serializedName: "identity", type: { @@ -5549,6 +6089,41 @@ export const ResourceSkuCapabilities: msRest.CompositeMapper = { } }; +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: { @@ -5659,6 +6234,19 @@ export const ResourceSkuLocationInfo: msRest.CompositeMapper = { } } } + }, + zoneDetails: { + readOnly: true, + serializedName: "zoneDetails", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "ResourceSkuZoneDetails" + } + } + } } } } @@ -6596,6 +7184,12 @@ export const GalleryImage: msRest.CompositeMapper = { ] } }, + hyperVGeneration: { + serializedName: "properties.hyperVGeneration", + type: { + name: "String" + } + }, endOfLifeDate: { serializedName: "properties.endOfLifeDate", type: { @@ -6659,14 +7253,6 @@ export const GalleryArtifactPublishingProfileBase: msRest.CompositeMapper = { } } } - }, - source: { - required: true, - serializedName: "source", - type: { - name: "Composite", - className: "GalleryArtifactSource" - } } } } @@ -6714,6 +7300,23 @@ export const GalleryImageVersionPublishingProfile: msRest.CompositeMapper = { } }; +export const GalleryArtifactVersionSource: msRest.CompositeMapper = { + serializedName: "GalleryArtifactVersionSource", + type: { + name: "Composite", + className: "GalleryArtifactVersionSource", + modelProperties: { + id: { + required: true, + serializedName: "id", + type: { + name: "String" + } + } + } + } +}; + export const GalleryDiskImage: msRest.CompositeMapper = { serializedName: "GalleryDiskImage", type: { @@ -6728,7 +7331,6 @@ export const GalleryDiskImage: msRest.CompositeMapper = { } }, hostCaching: { - readOnly: true, serializedName: "hostCaching", type: { name: "Enum", @@ -6738,6 +7340,13 @@ export const GalleryDiskImage: msRest.CompositeMapper = { "ReadWrite" ] } + }, + source: { + serializedName: "source", + type: { + name: "Composite", + className: "GalleryArtifactVersionSource" + } } } } @@ -6762,7 +7371,7 @@ export const GalleryDataDiskImage: msRest.CompositeMapper = { modelProperties: { ...GalleryDiskImage.type.modelProperties, lun: { - readOnly: true, + required: true, serializedName: "lun", type: { name: "Number" @@ -6778,8 +7387,14 @@ export const GalleryImageVersionStorageProfile: msRest.CompositeMapper = { name: "Composite", className: "GalleryImageVersionStorageProfile", modelProperties: { + source: { + serializedName: "source", + type: { + name: "Composite", + className: "GalleryArtifactVersionSource" + } + }, osDiskImage: { - readOnly: true, serializedName: "osDiskImage", type: { name: "Composite", @@ -6787,7 +7402,6 @@ export const GalleryImageVersionStorageProfile: msRest.CompositeMapper = { } }, dataDiskImages: { - readOnly: true, serializedName: "dataDiskImages", type: { name: "Sequence", @@ -6879,7 +7493,6 @@ export const GalleryImageVersion: msRest.CompositeMapper = { modelProperties: { ...Resource.type.modelProperties, publishingProfile: { - required: true, serializedName: "properties.publishingProfile", type: { name: "Composite", @@ -6894,7 +7507,7 @@ export const GalleryImageVersion: msRest.CompositeMapper = { } }, storageProfile: { - readOnly: true, + required: true, serializedName: "properties.storageProfile", type: { name: "Composite", @@ -6942,41 +7555,6 @@ export const TargetRegion: msRest.CompositeMapper = { } }; -export const ManagedArtifact: msRest.CompositeMapper = { - serializedName: "ManagedArtifact", - type: { - name: "Composite", - className: "ManagedArtifact", - modelProperties: { - id: { - required: true, - serializedName: "id", - type: { - name: "String" - } - } - } - } -}; - -export const GalleryArtifactSource: msRest.CompositeMapper = { - serializedName: "GalleryArtifactSource", - type: { - name: "Composite", - className: "GalleryArtifactSource", - modelProperties: { - managedImage: { - required: true, - serializedName: "managedImage", - type: { - name: "Composite", - className: "ManagedArtifact" - } - } - } - } -}; - export const ContainerServiceCustomProfile: msRest.CompositeMapper = { serializedName: "ContainerServiceCustomProfile", type: { @@ -7418,6 +7996,93 @@ export const VirtualMachineSizeListResult: msRest.CompositeMapper = { } }; +export const ProximityPlacementGroupListResult: msRest.CompositeMapper = { + serializedName: "ProximityPlacementGroupListResult", + type: { + name: "Composite", + className: "ProximityPlacementGroupListResult", + modelProperties: { + value: { + required: true, + serializedName: "", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "ProximityPlacementGroup" + } + } + } + }, + nextLink: { + serializedName: "nextLink", + type: { + name: "String" + } + } + } + } +}; + +export const DedicatedHostGroupListResult: msRest.CompositeMapper = { + serializedName: "DedicatedHostGroupListResult", + type: { + name: "Composite", + className: "DedicatedHostGroupListResult", + modelProperties: { + value: { + required: true, + serializedName: "", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "DedicatedHostGroup" + } + } + } + }, + nextLink: { + serializedName: "nextLink", + type: { + name: "String" + } + } + } + } +}; + +export const DedicatedHostListResult: msRest.CompositeMapper = { + serializedName: "DedicatedHostListResult", + type: { + name: "Composite", + className: "DedicatedHostListResult", + modelProperties: { + value: { + required: true, + serializedName: "", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "DedicatedHost" + } + } + } + }, + nextLink: { + serializedName: "nextLink", + type: { + name: "String" + } + } + } + } +}; + export const ListUsagesResult: msRest.CompositeMapper = { serializedName: "ListUsagesResult", type: { diff --git a/sdk/compute/arm-compute/src/models/parameters.ts b/sdk/compute/arm-compute/src/models/parameters.ts index 157b4c501e48..5f55768a4e3d 100644 --- a/sdk/compute/arm-compute/src/models/parameters.ts +++ b/sdk/compute/arm-compute/src/models/parameters.ts @@ -38,7 +38,7 @@ export const apiVersion1: msRest.OperationQueryParameter = { required: true, isConstant: true, serializedName: "api-version", - defaultValue: '2017-09-01', + defaultValue: '2019-04-01', type: { name: "String" } @@ -57,6 +57,18 @@ export const apiVersion2: msRest.OperationQueryParameter = { } }; export const apiVersion3: msRest.OperationQueryParameter = { + parameterPath: "apiVersion", + mapper: { + required: true, + isConstant: true, + serializedName: "api-version", + defaultValue: '2019-07-01', + type: { + name: "String" + } + } +}; +export const apiVersion4: msRest.OperationQueryParameter = { parameterPath: "apiVersion", mapper: { required: true, @@ -116,7 +128,10 @@ export const expand0: msRest.OperationQueryParameter = { mapper: { serializedName: "$expand", type: { - name: "String" + name: "Enum", + allowedValues: [ + "instanceView" + ] } } }; @@ -128,10 +143,7 @@ export const expand1: msRest.OperationQueryParameter = { mapper: { serializedName: "$expand", type: { - name: "Enum", - allowedValues: [ - "instanceView" - ] + name: "String" } } }; @@ -177,6 +189,26 @@ export const galleryName: msRest.OperationURLParameter = { } } }; +export const hostGroupName: msRest.OperationURLParameter = { + parameterPath: "hostGroupName", + mapper: { + required: true, + serializedName: "hostGroupName", + type: { + name: "String" + } + } +}; +export const hostName: msRest.OperationURLParameter = { + parameterPath: "hostName", + mapper: { + required: true, + serializedName: "hostName", + type: { + name: "String" + } + } +}; export const imageName: msRest.OperationURLParameter = { parameterPath: "imageName", mapper: { @@ -263,6 +295,16 @@ export const platformUpdateDomain: msRest.OperationQueryParameter = { } } }; +export const proximityPlacementGroupName: msRest.OperationURLParameter = { + parameterPath: "proximityPlacementGroupName", + mapper: { + required: true, + serializedName: "proximityPlacementGroupName", + type: { + name: "String" + } + } +}; export const publisherName: msRest.OperationURLParameter = { parameterPath: "publisherName", mapper: { diff --git a/sdk/compute/arm-compute/src/models/proximityPlacementGroupsMappers.ts b/sdk/compute/arm-compute/src/models/proximityPlacementGroupsMappers.ts new file mode 100644 index 000000000000..45468164fc11 --- /dev/null +++ b/sdk/compute/arm-compute/src/models/proximityPlacementGroupsMappers.ts @@ -0,0 +1,169 @@ +/* + * Copyright (c) Microsoft Corporation. All rights reserved. + * Licensed under the MIT License. See License.txt in the project root for license information. + * + * 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, + AvailabilitySet, + AvailabilitySetUpdate, + BaseResource, + BootDiagnostics, + BootDiagnosticsInstanceView, + CloudError, + ContainerService, + ContainerServiceAgentPoolProfile, + ContainerServiceCustomProfile, + ContainerServiceDiagnosticsProfile, + ContainerServiceLinuxProfile, + ContainerServiceMasterProfile, + ContainerServiceOrchestratorProfile, + ContainerServiceServicePrincipalProfile, + ContainerServiceSshConfiguration, + ContainerServiceSshPublicKey, + ContainerServiceVMDiagnostics, + ContainerServiceWindowsProfile, + CreationData, + DataDisk, + DataDiskImage, + DedicatedHost, + DedicatedHostAllocatableVM, + DedicatedHostAvailableCapacity, + DedicatedHostGroup, + DedicatedHostGroupUpdate, + DedicatedHostInstanceView, + DedicatedHostUpdate, + DiagnosticsProfile, + DiffDiskSettings, + Disallowed, + Disk, + DiskEncryptionSettings, + DiskInstanceView, + DiskSku, + EncryptionSettingsCollection, + EncryptionSettingsElement, + Gallery, + GalleryArtifactPublishingProfileBase, + GalleryArtifactVersionSource, + GalleryDataDiskImage, + GalleryDiskImage, + GalleryIdentifier, + GalleryImage, + GalleryImageIdentifier, + GalleryImageVersion, + GalleryImageVersionPublishingProfile, + GalleryImageVersionStorageProfile, + GalleryOSDiskImage, + HardwareProfile, + Image, + ImageDataDisk, + ImageDiskReference, + ImageOSDisk, + ImagePurchasePlan, + ImageReference, + ImageStorageProfile, + ImageUpdate, + InnerError, + InstanceViewStatus, + KeyVaultAndKeyReference, + KeyVaultAndSecretReference, + KeyVaultKeyReference, + KeyVaultSecretReference, + LinuxConfiguration, + MaintenanceRedeployStatus, + ManagedDiskParameters, + NetworkInterfaceReference, + NetworkProfile, + OSDisk, + OSDiskImage, + OSProfile, + Plan, + ProximityPlacementGroup, + ProximityPlacementGroupListResult, + ProximityPlacementGroupUpdate, + PurchasePlan, + RecommendedMachineConfiguration, + RegionalReplicationStatus, + ReplicationStatus, + Resource, + ResourceRange, + RollingUpgradePolicy, + RollingUpgradeProgressInfo, + RollingUpgradeRunningStatus, + RollingUpgradeStatusInfo, + ScheduledEventsProfile, + Sku, + Snapshot, + SnapshotSku, + SourceVault, + SshConfiguration, + SshPublicKey, + StorageProfile, + SubResource, + SubResourceReadOnly, + TargetRegion, + TerminateNotificationProfile, + UpdateResource, + UpgradePolicy, + VaultCertificate, + VaultSecretGroup, + VirtualHardDisk, + VirtualMachine, + VirtualMachineAgentInstanceView, + VirtualMachineCaptureResult, + VirtualMachineExtension, + VirtualMachineExtensionHandlerInstanceView, + VirtualMachineExtensionImage, + VirtualMachineExtensionInstanceView, + VirtualMachineExtensionUpdate, + VirtualMachineHealthStatus, + VirtualMachineIdentity, + VirtualMachineIdentityUserAssignedIdentitiesValue, + VirtualMachineImage, + VirtualMachineImageResource, + VirtualMachineInstanceView, + VirtualMachineScaleSet, + VirtualMachineScaleSetDataDisk, + VirtualMachineScaleSetExtension, + VirtualMachineScaleSetExtensionProfile, + VirtualMachineScaleSetIdentity, + VirtualMachineScaleSetIdentityUserAssignedIdentitiesValue, + VirtualMachineScaleSetIPConfiguration, + VirtualMachineScaleSetIpTag, + VirtualMachineScaleSetManagedDiskParameters, + VirtualMachineScaleSetNetworkConfiguration, + VirtualMachineScaleSetNetworkConfigurationDnsSettings, + VirtualMachineScaleSetNetworkProfile, + VirtualMachineScaleSetOSDisk, + VirtualMachineScaleSetOSProfile, + VirtualMachineScaleSetPublicIPAddressConfiguration, + VirtualMachineScaleSetPublicIPAddressConfigurationDnsSettings, + VirtualMachineScaleSetStorageProfile, + VirtualMachineScaleSetUpdate, + VirtualMachineScaleSetUpdateIPConfiguration, + VirtualMachineScaleSetUpdateNetworkConfiguration, + VirtualMachineScaleSetUpdateNetworkProfile, + VirtualMachineScaleSetUpdateOSDisk, + VirtualMachineScaleSetUpdateOSProfile, + VirtualMachineScaleSetUpdatePublicIPAddressConfiguration, + VirtualMachineScaleSetUpdateStorageProfile, + VirtualMachineScaleSetUpdateVMProfile, + VirtualMachineScaleSetVM, + VirtualMachineScaleSetVMInstanceView, + VirtualMachineScaleSetVMNetworkProfileConfiguration, + VirtualMachineScaleSetVMProfile, + VirtualMachineScaleSetVMProtectionPolicy, + VirtualMachineUpdate, + WindowsConfiguration, + WinRMConfiguration, + WinRMListener +} from "../models/mappers"; diff --git a/sdk/compute/arm-compute/src/models/resourceSkusMappers.ts b/sdk/compute/arm-compute/src/models/resourceSkusMappers.ts index 86ebcf340872..ff328d2b9d4d 100644 --- a/sdk/compute/arm-compute/src/models/resourceSkusMappers.ts +++ b/sdk/compute/arm-compute/src/models/resourceSkusMappers.ts @@ -15,5 +15,6 @@ export { ResourceSkuLocationInfo, ResourceSkuRestrictionInfo, ResourceSkuRestrictions, - ResourceSkusResult + ResourceSkusResult, + ResourceSkuZoneDetails } from "../models/mappers"; diff --git a/sdk/compute/arm-compute/src/models/snapshotsMappers.ts b/sdk/compute/arm-compute/src/models/snapshotsMappers.ts index 77370b79c1d6..846f4b996f67 100644 --- a/sdk/compute/arm-compute/src/models/snapshotsMappers.ts +++ b/sdk/compute/arm-compute/src/models/snapshotsMappers.ts @@ -36,6 +36,13 @@ export { CreationData, DataDisk, DataDiskImage, + DedicatedHost, + DedicatedHostAllocatableVM, + DedicatedHostAvailableCapacity, + DedicatedHostGroup, + DedicatedHostGroupUpdate, + DedicatedHostInstanceView, + DedicatedHostUpdate, DiagnosticsProfile, DiffDiskSettings, Disallowed, @@ -47,7 +54,7 @@ export { EncryptionSettingsElement, Gallery, GalleryArtifactPublishingProfileBase, - GalleryArtifactSource, + GalleryArtifactVersionSource, GalleryDataDiskImage, GalleryDiskImage, GalleryIdentifier, @@ -75,7 +82,6 @@ export { KeyVaultSecretReference, LinuxConfiguration, MaintenanceRedeployStatus, - ManagedArtifact, ManagedDiskParameters, NetworkInterfaceReference, NetworkProfile, @@ -83,6 +89,8 @@ export { OSDiskImage, OSProfile, Plan, + ProximityPlacementGroup, + ProximityPlacementGroupUpdate, PurchasePlan, RecommendedMachineConfiguration, RegionalReplicationStatus, @@ -93,6 +101,7 @@ export { RollingUpgradeProgressInfo, RollingUpgradeRunningStatus, RollingUpgradeStatusInfo, + ScheduledEventsProfile, Sku, Snapshot, SnapshotList, @@ -105,6 +114,7 @@ export { SubResource, SubResourceReadOnly, TargetRegion, + TerminateNotificationProfile, UpdateResource, UpgradePolicy, VaultCertificate, diff --git a/sdk/compute/arm-compute/src/models/virtualMachineExtensionImagesMappers.ts b/sdk/compute/arm-compute/src/models/virtualMachineExtensionImagesMappers.ts index dfab46557b41..75f71dc2bcd0 100644 --- a/sdk/compute/arm-compute/src/models/virtualMachineExtensionImagesMappers.ts +++ b/sdk/compute/arm-compute/src/models/virtualMachineExtensionImagesMappers.ts @@ -35,6 +35,13 @@ export { CreationData, DataDisk, DataDiskImage, + DedicatedHost, + DedicatedHostAllocatableVM, + DedicatedHostAvailableCapacity, + DedicatedHostGroup, + DedicatedHostGroupUpdate, + DedicatedHostInstanceView, + DedicatedHostUpdate, DiagnosticsProfile, DiffDiskSettings, Disallowed, @@ -46,7 +53,7 @@ export { EncryptionSettingsElement, Gallery, GalleryArtifactPublishingProfileBase, - GalleryArtifactSource, + GalleryArtifactVersionSource, GalleryDataDiskImage, GalleryDiskImage, GalleryIdentifier, @@ -73,7 +80,6 @@ export { KeyVaultSecretReference, LinuxConfiguration, MaintenanceRedeployStatus, - ManagedArtifact, ManagedDiskParameters, NetworkInterfaceReference, NetworkProfile, @@ -81,6 +87,8 @@ export { OSDiskImage, OSProfile, Plan, + ProximityPlacementGroup, + ProximityPlacementGroupUpdate, PurchasePlan, RecommendedMachineConfiguration, RegionalReplicationStatus, @@ -91,6 +99,7 @@ export { RollingUpgradeProgressInfo, RollingUpgradeRunningStatus, RollingUpgradeStatusInfo, + ScheduledEventsProfile, Sku, Snapshot, SnapshotSku, @@ -101,6 +110,7 @@ export { SubResource, SubResourceReadOnly, TargetRegion, + TerminateNotificationProfile, UpdateResource, UpgradePolicy, VaultCertificate, diff --git a/sdk/compute/arm-compute/src/models/virtualMachineExtensionsMappers.ts b/sdk/compute/arm-compute/src/models/virtualMachineExtensionsMappers.ts index 6d15f114c81d..5e2d34952fc3 100644 --- a/sdk/compute/arm-compute/src/models/virtualMachineExtensionsMappers.ts +++ b/sdk/compute/arm-compute/src/models/virtualMachineExtensionsMappers.ts @@ -35,6 +35,13 @@ export { CreationData, DataDisk, DataDiskImage, + DedicatedHost, + DedicatedHostAllocatableVM, + DedicatedHostAvailableCapacity, + DedicatedHostGroup, + DedicatedHostGroupUpdate, + DedicatedHostInstanceView, + DedicatedHostUpdate, DiagnosticsProfile, DiffDiskSettings, Disallowed, @@ -46,7 +53,7 @@ export { EncryptionSettingsElement, Gallery, GalleryArtifactPublishingProfileBase, - GalleryArtifactSource, + GalleryArtifactVersionSource, GalleryDataDiskImage, GalleryDiskImage, GalleryIdentifier, @@ -73,7 +80,6 @@ export { KeyVaultSecretReference, LinuxConfiguration, MaintenanceRedeployStatus, - ManagedArtifact, ManagedDiskParameters, NetworkInterfaceReference, NetworkProfile, @@ -81,6 +87,8 @@ export { OSDiskImage, OSProfile, Plan, + ProximityPlacementGroup, + ProximityPlacementGroupUpdate, PurchasePlan, RecommendedMachineConfiguration, RegionalReplicationStatus, @@ -91,6 +99,7 @@ export { RollingUpgradeProgressInfo, RollingUpgradeRunningStatus, RollingUpgradeStatusInfo, + ScheduledEventsProfile, Sku, Snapshot, SnapshotSku, @@ -101,6 +110,7 @@ export { SubResource, SubResourceReadOnly, TargetRegion, + TerminateNotificationProfile, UpdateResource, UpgradePolicy, VaultCertificate, diff --git a/sdk/compute/arm-compute/src/models/virtualMachineImagesMappers.ts b/sdk/compute/arm-compute/src/models/virtualMachineImagesMappers.ts index dfab46557b41..75f71dc2bcd0 100644 --- a/sdk/compute/arm-compute/src/models/virtualMachineImagesMappers.ts +++ b/sdk/compute/arm-compute/src/models/virtualMachineImagesMappers.ts @@ -35,6 +35,13 @@ export { CreationData, DataDisk, DataDiskImage, + DedicatedHost, + DedicatedHostAllocatableVM, + DedicatedHostAvailableCapacity, + DedicatedHostGroup, + DedicatedHostGroupUpdate, + DedicatedHostInstanceView, + DedicatedHostUpdate, DiagnosticsProfile, DiffDiskSettings, Disallowed, @@ -46,7 +53,7 @@ export { EncryptionSettingsElement, Gallery, GalleryArtifactPublishingProfileBase, - GalleryArtifactSource, + GalleryArtifactVersionSource, GalleryDataDiskImage, GalleryDiskImage, GalleryIdentifier, @@ -73,7 +80,6 @@ export { KeyVaultSecretReference, LinuxConfiguration, MaintenanceRedeployStatus, - ManagedArtifact, ManagedDiskParameters, NetworkInterfaceReference, NetworkProfile, @@ -81,6 +87,8 @@ export { OSDiskImage, OSProfile, Plan, + ProximityPlacementGroup, + ProximityPlacementGroupUpdate, PurchasePlan, RecommendedMachineConfiguration, RegionalReplicationStatus, @@ -91,6 +99,7 @@ export { RollingUpgradeProgressInfo, RollingUpgradeRunningStatus, RollingUpgradeStatusInfo, + ScheduledEventsProfile, Sku, Snapshot, SnapshotSku, @@ -101,6 +110,7 @@ export { SubResource, SubResourceReadOnly, TargetRegion, + TerminateNotificationProfile, UpdateResource, UpgradePolicy, VaultCertificate, diff --git a/sdk/compute/arm-compute/src/models/virtualMachineScaleSetExtensionsMappers.ts b/sdk/compute/arm-compute/src/models/virtualMachineScaleSetExtensionsMappers.ts index cae9dd992f90..5c9432d1bca8 100644 --- a/sdk/compute/arm-compute/src/models/virtualMachineScaleSetExtensionsMappers.ts +++ b/sdk/compute/arm-compute/src/models/virtualMachineScaleSetExtensionsMappers.ts @@ -35,6 +35,13 @@ export { CreationData, DataDisk, DataDiskImage, + DedicatedHost, + DedicatedHostAllocatableVM, + DedicatedHostAvailableCapacity, + DedicatedHostGroup, + DedicatedHostGroupUpdate, + DedicatedHostInstanceView, + DedicatedHostUpdate, DiagnosticsProfile, DiffDiskSettings, Disallowed, @@ -46,7 +53,7 @@ export { EncryptionSettingsElement, Gallery, GalleryArtifactPublishingProfileBase, - GalleryArtifactSource, + GalleryArtifactVersionSource, GalleryDataDiskImage, GalleryDiskImage, GalleryIdentifier, @@ -73,7 +80,6 @@ export { KeyVaultSecretReference, LinuxConfiguration, MaintenanceRedeployStatus, - ManagedArtifact, ManagedDiskParameters, NetworkInterfaceReference, NetworkProfile, @@ -81,6 +87,8 @@ export { OSDiskImage, OSProfile, Plan, + ProximityPlacementGroup, + ProximityPlacementGroupUpdate, PurchasePlan, RecommendedMachineConfiguration, RegionalReplicationStatus, @@ -91,6 +99,7 @@ export { RollingUpgradeProgressInfo, RollingUpgradeRunningStatus, RollingUpgradeStatusInfo, + ScheduledEventsProfile, Sku, Snapshot, SnapshotSku, @@ -101,6 +110,7 @@ export { SubResource, SubResourceReadOnly, TargetRegion, + TerminateNotificationProfile, UpdateResource, UpgradePolicy, VaultCertificate, diff --git a/sdk/compute/arm-compute/src/models/virtualMachineScaleSetRollingUpgradesMappers.ts b/sdk/compute/arm-compute/src/models/virtualMachineScaleSetRollingUpgradesMappers.ts index dfab46557b41..75f71dc2bcd0 100644 --- a/sdk/compute/arm-compute/src/models/virtualMachineScaleSetRollingUpgradesMappers.ts +++ b/sdk/compute/arm-compute/src/models/virtualMachineScaleSetRollingUpgradesMappers.ts @@ -35,6 +35,13 @@ export { CreationData, DataDisk, DataDiskImage, + DedicatedHost, + DedicatedHostAllocatableVM, + DedicatedHostAvailableCapacity, + DedicatedHostGroup, + DedicatedHostGroupUpdate, + DedicatedHostInstanceView, + DedicatedHostUpdate, DiagnosticsProfile, DiffDiskSettings, Disallowed, @@ -46,7 +53,7 @@ export { EncryptionSettingsElement, Gallery, GalleryArtifactPublishingProfileBase, - GalleryArtifactSource, + GalleryArtifactVersionSource, GalleryDataDiskImage, GalleryDiskImage, GalleryIdentifier, @@ -73,7 +80,6 @@ export { KeyVaultSecretReference, LinuxConfiguration, MaintenanceRedeployStatus, - ManagedArtifact, ManagedDiskParameters, NetworkInterfaceReference, NetworkProfile, @@ -81,6 +87,8 @@ export { OSDiskImage, OSProfile, Plan, + ProximityPlacementGroup, + ProximityPlacementGroupUpdate, PurchasePlan, RecommendedMachineConfiguration, RegionalReplicationStatus, @@ -91,6 +99,7 @@ export { RollingUpgradeProgressInfo, RollingUpgradeRunningStatus, RollingUpgradeStatusInfo, + ScheduledEventsProfile, Sku, Snapshot, SnapshotSku, @@ -101,6 +110,7 @@ export { SubResource, SubResourceReadOnly, TargetRegion, + TerminateNotificationProfile, UpdateResource, UpgradePolicy, VaultCertificate, diff --git a/sdk/compute/arm-compute/src/models/virtualMachineScaleSetVMsMappers.ts b/sdk/compute/arm-compute/src/models/virtualMachineScaleSetVMsMappers.ts index 3d8a305c5d94..e598541fa7fd 100644 --- a/sdk/compute/arm-compute/src/models/virtualMachineScaleSetVMsMappers.ts +++ b/sdk/compute/arm-compute/src/models/virtualMachineScaleSetVMsMappers.ts @@ -35,6 +35,13 @@ export { CreationData, DataDisk, DataDiskImage, + DedicatedHost, + DedicatedHostAllocatableVM, + DedicatedHostAvailableCapacity, + DedicatedHostGroup, + DedicatedHostGroupUpdate, + DedicatedHostInstanceView, + DedicatedHostUpdate, DiagnosticsProfile, DiffDiskSettings, Disallowed, @@ -46,7 +53,7 @@ export { EncryptionSettingsElement, Gallery, GalleryArtifactPublishingProfileBase, - GalleryArtifactSource, + GalleryArtifactVersionSource, GalleryDataDiskImage, GalleryDiskImage, GalleryIdentifier, @@ -73,7 +80,6 @@ export { KeyVaultSecretReference, LinuxConfiguration, MaintenanceRedeployStatus, - ManagedArtifact, ManagedDiskParameters, NetworkInterfaceReference, NetworkProfile, @@ -81,6 +87,8 @@ export { OSDiskImage, OSProfile, Plan, + ProximityPlacementGroup, + ProximityPlacementGroupUpdate, PurchasePlan, RecommendedMachineConfiguration, RegionalReplicationStatus, @@ -94,6 +102,7 @@ export { RunCommandInput, RunCommandInputParameter, RunCommandResult, + ScheduledEventsProfile, Sku, Snapshot, SnapshotSku, @@ -104,6 +113,7 @@ export { SubResource, SubResourceReadOnly, TargetRegion, + TerminateNotificationProfile, UpdateResource, UpgradePolicy, VaultCertificate, diff --git a/sdk/compute/arm-compute/src/models/virtualMachineScaleSetsMappers.ts b/sdk/compute/arm-compute/src/models/virtualMachineScaleSetsMappers.ts index 9e55ea9e679c..fb063ed15407 100644 --- a/sdk/compute/arm-compute/src/models/virtualMachineScaleSetsMappers.ts +++ b/sdk/compute/arm-compute/src/models/virtualMachineScaleSetsMappers.ts @@ -35,6 +35,13 @@ export { CreationData, DataDisk, DataDiskImage, + DedicatedHost, + DedicatedHostAllocatableVM, + DedicatedHostAvailableCapacity, + DedicatedHostGroup, + DedicatedHostGroupUpdate, + DedicatedHostInstanceView, + DedicatedHostUpdate, DiagnosticsProfile, DiffDiskSettings, Disallowed, @@ -46,7 +53,7 @@ export { EncryptionSettingsElement, Gallery, GalleryArtifactPublishingProfileBase, - GalleryArtifactSource, + GalleryArtifactVersionSource, GalleryDataDiskImage, GalleryDiskImage, GalleryIdentifier, @@ -73,7 +80,6 @@ export { KeyVaultSecretReference, LinuxConfiguration, MaintenanceRedeployStatus, - ManagedArtifact, ManagedDiskParameters, NetworkInterfaceReference, NetworkProfile, @@ -81,6 +87,8 @@ export { OSDiskImage, OSProfile, Plan, + ProximityPlacementGroup, + ProximityPlacementGroupUpdate, PurchasePlan, RecommendedMachineConfiguration, RecoveryWalkResponse, @@ -93,6 +101,7 @@ export { RollingUpgradeProgressInfo, RollingUpgradeRunningStatus, RollingUpgradeStatusInfo, + ScheduledEventsProfile, Sku, Snapshot, SnapshotSku, @@ -103,6 +112,7 @@ export { SubResource, SubResourceReadOnly, TargetRegion, + TerminateNotificationProfile, UpdateResource, UpgradeOperationHistoricalStatusInfo, UpgradeOperationHistoricalStatusInfoProperties, @@ -172,6 +182,7 @@ export { VirtualMachineScaleSetVMReimageParameters, VirtualMachineStatusCodeCount, VirtualMachineUpdate, + VMScaleSetConvertToSinglePlacementGroupInput, WindowsConfiguration, WinRMConfiguration, WinRMListener diff --git a/sdk/compute/arm-compute/src/models/virtualMachinesMappers.ts b/sdk/compute/arm-compute/src/models/virtualMachinesMappers.ts index ea80fe8b1d31..e3833cfa8045 100644 --- a/sdk/compute/arm-compute/src/models/virtualMachinesMappers.ts +++ b/sdk/compute/arm-compute/src/models/virtualMachinesMappers.ts @@ -35,6 +35,13 @@ export { CreationData, DataDisk, DataDiskImage, + DedicatedHost, + DedicatedHostAllocatableVM, + DedicatedHostAvailableCapacity, + DedicatedHostGroup, + DedicatedHostGroupUpdate, + DedicatedHostInstanceView, + DedicatedHostUpdate, DiagnosticsProfile, DiffDiskSettings, Disallowed, @@ -46,7 +53,7 @@ export { EncryptionSettingsElement, Gallery, GalleryArtifactPublishingProfileBase, - GalleryArtifactSource, + GalleryArtifactVersionSource, GalleryDataDiskImage, GalleryDiskImage, GalleryIdentifier, @@ -73,7 +80,6 @@ export { KeyVaultSecretReference, LinuxConfiguration, MaintenanceRedeployStatus, - ManagedArtifact, ManagedDiskParameters, NetworkInterfaceReference, NetworkProfile, @@ -81,6 +87,8 @@ export { OSDiskImage, OSProfile, Plan, + ProximityPlacementGroup, + ProximityPlacementGroupUpdate, PurchasePlan, RecommendedMachineConfiguration, RegionalReplicationStatus, @@ -94,6 +102,7 @@ export { RunCommandInput, RunCommandInputParameter, RunCommandResult, + ScheduledEventsProfile, Sku, Snapshot, SnapshotSku, @@ -104,6 +113,7 @@ export { SubResource, SubResourceReadOnly, TargetRegion, + TerminateNotificationProfile, UpdateResource, UpgradePolicy, VaultCertificate, diff --git a/sdk/compute/arm-compute/src/operations/containerServices.ts b/sdk/compute/arm-compute/src/operations/containerServices.ts index fb409253f04a..a0b681fc5406 100644 --- a/sdk/compute/arm-compute/src/operations/containerServices.ts +++ b/sdk/compute/arm-compute/src/operations/containerServices.ts @@ -274,7 +274,7 @@ const listOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion3 + Parameters.apiVersion4 ], headerParameters: [ Parameters.acceptLanguage @@ -299,7 +299,7 @@ const getOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion3 + Parameters.apiVersion4 ], headerParameters: [ Parameters.acceptLanguage @@ -323,7 +323,7 @@ const listByResourceGroupOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion3 + Parameters.apiVersion4 ], headerParameters: [ Parameters.acceptLanguage @@ -348,7 +348,7 @@ const beginCreateOrUpdateOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion3 + Parameters.apiVersion4 ], headerParameters: [ Parameters.acceptLanguage @@ -386,7 +386,7 @@ const beginDeleteMethodOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion3 + 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 new file mode 100644 index 000000000000..bfbb911ad51a --- /dev/null +++ b/sdk/compute/arm-compute/src/operations/dedicatedHostGroups.ts @@ -0,0 +1,484 @@ +/* + * Copyright (c) Microsoft Corporation. All rights reserved. + * Licensed under the MIT License. See License.txt in the project root for + * license information. + * + * 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/dedicatedHostGroupsMappers"; +import * as Parameters from "../models/parameters"; +import { ComputeManagementClientContext } from "../computeManagementClientContext"; + +/** Class representing a DedicatedHostGroups. */ +export class DedicatedHostGroups { + private readonly client: ComputeManagementClientContext; + + /** + * Create a DedicatedHostGroups. + * @param {ComputeManagementClientContext} client Reference to the service client. + */ + constructor(client: ComputeManagementClientContext) { + this.client = client; + } + + /** + * Create or update a dedicated host group. For details of Dedicated Host and Dedicated Host Groups + * please see [Dedicated Host Documentation] (https://go.microsoft.com/fwlink/?linkid=2082596) + * @param resourceGroupName The name of the resource group. + * @param hostGroupName The name of the dedicated host group. + * @param parameters Parameters supplied to the Create Dedicated Host Group. + * @param [options] The optional parameters + * @returns Promise + */ + createOrUpdate(resourceGroupName: string, hostGroupName: string, parameters: Models.DedicatedHostGroup, options?: msRest.RequestOptionsBase): Promise; + /** + * @param resourceGroupName The name of the resource group. + * @param hostGroupName The name of the dedicated host group. + * @param parameters Parameters supplied to the Create Dedicated Host Group. + * @param callback The callback + */ + createOrUpdate(resourceGroupName: string, hostGroupName: string, parameters: Models.DedicatedHostGroup, callback: msRest.ServiceCallback): void; + /** + * @param resourceGroupName The name of the resource group. + * @param hostGroupName The name of the dedicated host group. + * @param parameters Parameters supplied to the Create Dedicated Host Group. + * @param options The optional parameters + * @param callback The callback + */ + createOrUpdate(resourceGroupName: string, hostGroupName: string, parameters: Models.DedicatedHostGroup, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + createOrUpdate(resourceGroupName: string, hostGroupName: string, parameters: Models.DedicatedHostGroup, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + resourceGroupName, + hostGroupName, + parameters, + options + }, + createOrUpdateOperationSpec, + callback) as Promise; + } + + /** + * Update an dedicated host group. + * @param resourceGroupName The name of the resource group. + * @param hostGroupName The name of the dedicated host group. + * @param parameters Parameters supplied to the Update Dedicated Host Group operation. + * @param [options] The optional parameters + * @returns Promise + */ + update(resourceGroupName: string, hostGroupName: string, parameters: Models.DedicatedHostGroupUpdate, options?: msRest.RequestOptionsBase): Promise; + /** + * @param resourceGroupName The name of the resource group. + * @param hostGroupName The name of the dedicated host group. + * @param parameters Parameters supplied to the Update Dedicated Host Group operation. + * @param callback The callback + */ + update(resourceGroupName: string, hostGroupName: string, parameters: Models.DedicatedHostGroupUpdate, callback: msRest.ServiceCallback): void; + /** + * @param resourceGroupName The name of the resource group. + * @param hostGroupName The name of the dedicated host group. + * @param parameters Parameters supplied to the Update Dedicated Host Group operation. + * @param options The optional parameters + * @param callback The callback + */ + update(resourceGroupName: string, hostGroupName: string, parameters: Models.DedicatedHostGroupUpdate, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + update(resourceGroupName: string, hostGroupName: string, parameters: Models.DedicatedHostGroupUpdate, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + resourceGroupName, + hostGroupName, + parameters, + options + }, + updateOperationSpec, + callback) as Promise; + } + + /** + * Delete a dedicated host group. + * @param resourceGroupName The name of the resource group. + * @param hostGroupName The name of the dedicated host group. + * @param [options] The optional parameters + * @returns Promise + */ + deleteMethod(resourceGroupName: string, hostGroupName: string, options?: msRest.RequestOptionsBase): Promise; + /** + * @param resourceGroupName The name of the resource group. + * @param hostGroupName The name of the dedicated host group. + * @param callback The callback + */ + deleteMethod(resourceGroupName: string, hostGroupName: string, callback: msRest.ServiceCallback): void; + /** + * @param resourceGroupName The name of the resource group. + * @param hostGroupName The name of the dedicated host group. + * @param options The optional parameters + * @param callback The callback + */ + deleteMethod(resourceGroupName: string, hostGroupName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + deleteMethod(resourceGroupName: string, hostGroupName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + resourceGroupName, + hostGroupName, + options + }, + deleteMethodOperationSpec, + callback); + } + + /** + * Retrieves information about a dedicated host group. + * @param resourceGroupName The name of the resource group. + * @param hostGroupName The name of the dedicated host group. + * @param [options] The optional parameters + * @returns Promise + */ + get(resourceGroupName: string, hostGroupName: string, options?: msRest.RequestOptionsBase): Promise; + /** + * @param resourceGroupName The name of the resource group. + * @param hostGroupName The name of the dedicated host group. + * @param callback The callback + */ + get(resourceGroupName: string, hostGroupName: string, callback: msRest.ServiceCallback): void; + /** + * @param resourceGroupName The name of the resource group. + * @param hostGroupName The name of the dedicated host group. + * @param options The optional parameters + * @param callback The callback + */ + get(resourceGroupName: string, hostGroupName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + get(resourceGroupName: string, hostGroupName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + resourceGroupName, + hostGroupName, + options + }, + getOperationSpec, + callback) as Promise; + } + + /** + * Lists all of the dedicated host groups in the specified resource group. Use the nextLink + * property in the response to get the next page of dedicated host groups. + * @param resourceGroupName The name of the resource group. + * @param [options] The optional parameters + * @returns Promise + */ + listByResourceGroup(resourceGroupName: string, options?: msRest.RequestOptionsBase): Promise; + /** + * @param resourceGroupName The name of the resource group. + * @param callback The callback + */ + listByResourceGroup(resourceGroupName: string, callback: msRest.ServiceCallback): void; + /** + * @param resourceGroupName The name of the resource group. + * @param options The optional parameters + * @param callback The callback + */ + listByResourceGroup(resourceGroupName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + listByResourceGroup(resourceGroupName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + resourceGroupName, + options + }, + listByResourceGroupOperationSpec, + callback) as Promise; + } + + /** + * Lists all of the dedicated host groups in the subscription. Use the nextLink property in the + * response to get the next page of dedicated host groups. + * @param [options] The optional parameters + * @returns Promise + */ + listBySubscription(options?: msRest.RequestOptionsBase): Promise; + /** + * @param callback The callback + */ + listBySubscription(callback: msRest.ServiceCallback): void; + /** + * @param options The optional parameters + * @param callback The callback + */ + listBySubscription(options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + listBySubscription(options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + options + }, + listBySubscriptionOperationSpec, + callback) as Promise; + } + + /** + * Lists all of the dedicated host groups in the specified resource group. Use the nextLink + * property in the response to get the next page of dedicated host groups. + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @param [options] The optional parameters + * @returns Promise + */ + listByResourceGroupNext(nextPageLink: string, options?: msRest.RequestOptionsBase): Promise; + /** + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @param callback The callback + */ + listByResourceGroupNext(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 + */ + listByResourceGroupNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + listByResourceGroupNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + nextPageLink, + options + }, + listByResourceGroupNextOperationSpec, + callback) as Promise; + } + + /** + * Lists all of the dedicated host groups in the subscription. Use the nextLink property in the + * response to get the next page of dedicated host groups. + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @param [options] The optional parameters + * @returns Promise + */ + listBySubscriptionNext(nextPageLink: string, options?: msRest.RequestOptionsBase): Promise; + /** + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @param callback The callback + */ + listBySubscriptionNext(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 + */ + listBySubscriptionNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + listBySubscriptionNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + nextPageLink, + options + }, + listBySubscriptionNextOperationSpec, + callback) as Promise; + } +} + +// Operation Specifications +const serializer = new msRest.Serializer(Mappers); +const createOrUpdateOperationSpec: msRest.OperationSpec = { + httpMethod: "PUT", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/hostGroups/{hostGroupName}", + urlParameters: [ + Parameters.resourceGroupName, + Parameters.hostGroupName, + Parameters.subscriptionId + ], + queryParameters: [ + Parameters.apiVersion0 + ], + headerParameters: [ + Parameters.acceptLanguage + ], + requestBody: { + parameterPath: "parameters", + mapper: { + ...Mappers.DedicatedHostGroup, + required: true + } + }, + responses: { + 200: { + bodyMapper: Mappers.DedicatedHostGroup + }, + 201: { + bodyMapper: Mappers.DedicatedHostGroup + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + +const updateOperationSpec: msRest.OperationSpec = { + httpMethod: "PATCH", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/hostGroups/{hostGroupName}", + urlParameters: [ + Parameters.resourceGroupName, + Parameters.hostGroupName, + Parameters.subscriptionId + ], + queryParameters: [ + Parameters.apiVersion0 + ], + headerParameters: [ + Parameters.acceptLanguage + ], + requestBody: { + parameterPath: "parameters", + mapper: { + ...Mappers.DedicatedHostGroupUpdate, + required: true + } + }, + responses: { + 200: { + bodyMapper: Mappers.DedicatedHostGroup + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + +const deleteMethodOperationSpec: msRest.OperationSpec = { + httpMethod: "DELETE", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/hostGroups/{hostGroupName}", + urlParameters: [ + Parameters.resourceGroupName, + Parameters.hostGroupName, + Parameters.subscriptionId + ], + queryParameters: [ + Parameters.apiVersion0 + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: {}, + 204: {}, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + +const getOperationSpec: msRest.OperationSpec = { + httpMethod: "GET", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/hostGroups/{hostGroupName}", + urlParameters: [ + Parameters.resourceGroupName, + Parameters.hostGroupName, + Parameters.subscriptionId + ], + queryParameters: [ + Parameters.apiVersion0 + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: { + bodyMapper: Mappers.DedicatedHostGroup + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + +const listByResourceGroupOperationSpec: msRest.OperationSpec = { + httpMethod: "GET", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/hostGroups", + urlParameters: [ + Parameters.resourceGroupName, + Parameters.subscriptionId + ], + queryParameters: [ + Parameters.apiVersion0 + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: { + bodyMapper: Mappers.DedicatedHostGroupListResult + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + +const listBySubscriptionOperationSpec: msRest.OperationSpec = { + httpMethod: "GET", + path: "subscriptions/{subscriptionId}/providers/Microsoft.Compute/hostGroups", + urlParameters: [ + Parameters.subscriptionId + ], + queryParameters: [ + Parameters.apiVersion0 + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: { + bodyMapper: Mappers.DedicatedHostGroupListResult + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + +const listByResourceGroupNextOperationSpec: msRest.OperationSpec = { + httpMethod: "GET", + baseUrl: "https://management.azure.com", + path: "{nextLink}", + urlParameters: [ + Parameters.nextPageLink + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: { + bodyMapper: Mappers.DedicatedHostGroupListResult + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + +const listBySubscriptionNextOperationSpec: msRest.OperationSpec = { + httpMethod: "GET", + baseUrl: "https://management.azure.com", + path: "{nextLink}", + urlParameters: [ + Parameters.nextPageLink + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: { + bodyMapper: Mappers.DedicatedHostGroupListResult + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; diff --git a/sdk/compute/arm-compute/src/operations/dedicatedHosts.ts b/sdk/compute/arm-compute/src/operations/dedicatedHosts.ts new file mode 100644 index 000000000000..6f4b69dee8c4 --- /dev/null +++ b/sdk/compute/arm-compute/src/operations/dedicatedHosts.ts @@ -0,0 +1,402 @@ +/* + * Copyright (c) Microsoft Corporation. All rights reserved. + * Licensed under the MIT License. See License.txt in the project root for + * license information. + * + * 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/dedicatedHostsMappers"; +import * as Parameters from "../models/parameters"; +import { ComputeManagementClientContext } from "../computeManagementClientContext"; + +/** Class representing a DedicatedHosts. */ +export class DedicatedHosts { + private readonly client: ComputeManagementClientContext; + + /** + * Create a DedicatedHosts. + * @param {ComputeManagementClientContext} client Reference to the service client. + */ + constructor(client: ComputeManagementClientContext) { + this.client = client; + } + + /** + * Create or update a dedicated host . + * @param resourceGroupName The name of the resource group. + * @param hostGroupName The name of the dedicated host group. + * @param hostName The name of the dedicated host . + * @param parameters Parameters supplied to the Create Dedicated Host. + * @param [options] The optional parameters + * @returns Promise + */ + createOrUpdate(resourceGroupName: string, hostGroupName: string, hostName: string, parameters: Models.DedicatedHost, options?: msRest.RequestOptionsBase): Promise { + return this.beginCreateOrUpdate(resourceGroupName,hostGroupName,hostName,parameters,options) + .then(lroPoller => lroPoller.pollUntilFinished()) as Promise; + } + + /** + * Update an dedicated host . + * @param resourceGroupName The name of the resource group. + * @param hostGroupName The name of the dedicated host group. + * @param hostName The name of the dedicated host . + * @param parameters Parameters supplied to the Update Dedicated Host operation. + * @param [options] The optional parameters + * @returns Promise + */ + update(resourceGroupName: string, hostGroupName: string, hostName: string, parameters: Models.DedicatedHostUpdate, options?: msRest.RequestOptionsBase): Promise { + return this.beginUpdate(resourceGroupName,hostGroupName,hostName,parameters,options) + .then(lroPoller => lroPoller.pollUntilFinished()) as Promise; + } + + /** + * Delete a dedicated host. + * @param resourceGroupName The name of the resource group. + * @param hostGroupName The name of the dedicated host group. + * @param hostName The name of the dedicated host. + * @param [options] The optional parameters + * @returns Promise + */ + deleteMethod(resourceGroupName: string, hostGroupName: string, hostName: string, options?: msRest.RequestOptionsBase): Promise { + return this.beginDeleteMethod(resourceGroupName,hostGroupName,hostName,options) + .then(lroPoller => lroPoller.pollUntilFinished()); + } + + /** + * Retrieves information about a dedicated host. + * @param resourceGroupName The name of the resource group. + * @param hostGroupName The name of the dedicated host group. + * @param hostName The name of the dedicated host. + * @param [options] The optional parameters + * @returns Promise + */ + get(resourceGroupName: string, hostGroupName: string, hostName: string, options?: Models.DedicatedHostsGetOptionalParams): Promise; + /** + * @param resourceGroupName The name of the resource group. + * @param hostGroupName The name of the dedicated host group. + * @param hostName The name of the dedicated host. + * @param callback The callback + */ + get(resourceGroupName: string, hostGroupName: string, hostName: string, callback: msRest.ServiceCallback): void; + /** + * @param resourceGroupName The name of the resource group. + * @param hostGroupName The name of the dedicated host group. + * @param hostName The name of the dedicated host. + * @param options The optional parameters + * @param callback The callback + */ + get(resourceGroupName: string, hostGroupName: string, hostName: string, options: Models.DedicatedHostsGetOptionalParams, callback: msRest.ServiceCallback): void; + get(resourceGroupName: string, hostGroupName: string, hostName: string, options?: Models.DedicatedHostsGetOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + resourceGroupName, + hostGroupName, + hostName, + options + }, + getOperationSpec, + callback) as Promise; + } + + /** + * Lists all of the dedicated hosts in the specified dedicated host group. Use the nextLink + * property in the response to get the next page of dedicated hosts. + * @param resourceGroupName The name of the resource group. + * @param hostGroupName The name of the dedicated host group. + * @param [options] The optional parameters + * @returns Promise + */ + listByHostGroup(resourceGroupName: string, hostGroupName: string, options?: msRest.RequestOptionsBase): Promise; + /** + * @param resourceGroupName The name of the resource group. + * @param hostGroupName The name of the dedicated host group. + * @param callback The callback + */ + listByHostGroup(resourceGroupName: string, hostGroupName: string, callback: msRest.ServiceCallback): void; + /** + * @param resourceGroupName The name of the resource group. + * @param hostGroupName The name of the dedicated host group. + * @param options The optional parameters + * @param callback The callback + */ + listByHostGroup(resourceGroupName: string, hostGroupName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + listByHostGroup(resourceGroupName: string, hostGroupName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + resourceGroupName, + hostGroupName, + options + }, + listByHostGroupOperationSpec, + callback) as Promise; + } + + /** + * Create or update a dedicated host . + * @param resourceGroupName The name of the resource group. + * @param hostGroupName The name of the dedicated host group. + * @param hostName The name of the dedicated host . + * @param parameters Parameters supplied to the Create Dedicated Host. + * @param [options] The optional parameters + * @returns Promise + */ + beginCreateOrUpdate(resourceGroupName: string, hostGroupName: string, hostName: string, parameters: Models.DedicatedHost, options?: msRest.RequestOptionsBase): Promise { + return this.client.sendLRORequest( + { + resourceGroupName, + hostGroupName, + hostName, + parameters, + options + }, + beginCreateOrUpdateOperationSpec, + options); + } + + /** + * Update an dedicated host . + * @param resourceGroupName The name of the resource group. + * @param hostGroupName The name of the dedicated host group. + * @param hostName The name of the dedicated host . + * @param parameters Parameters supplied to the Update Dedicated Host operation. + * @param [options] The optional parameters + * @returns Promise + */ + beginUpdate(resourceGroupName: string, hostGroupName: string, hostName: string, parameters: Models.DedicatedHostUpdate, options?: msRest.RequestOptionsBase): Promise { + return this.client.sendLRORequest( + { + resourceGroupName, + hostGroupName, + hostName, + parameters, + options + }, + beginUpdateOperationSpec, + options); + } + + /** + * Delete a dedicated host. + * @param resourceGroupName The name of the resource group. + * @param hostGroupName The name of the dedicated host group. + * @param hostName The name of the dedicated host. + * @param [options] The optional parameters + * @returns Promise + */ + beginDeleteMethod(resourceGroupName: string, hostGroupName: string, hostName: string, options?: msRest.RequestOptionsBase): Promise { + return this.client.sendLRORequest( + { + resourceGroupName, + hostGroupName, + hostName, + options + }, + beginDeleteMethodOperationSpec, + options); + } + + /** + * Lists all of the dedicated hosts in the specified dedicated host group. Use the nextLink + * property in the response to get the next page of dedicated hosts. + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @param [options] The optional parameters + * @returns Promise + */ + listByHostGroupNext(nextPageLink: string, options?: msRest.RequestOptionsBase): Promise; + /** + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @param callback The callback + */ + listByHostGroupNext(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 + */ + listByHostGroupNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + listByHostGroupNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + nextPageLink, + options + }, + listByHostGroupNextOperationSpec, + 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/hostGroups/{hostGroupName}/hosts/{hostName}", + urlParameters: [ + Parameters.resourceGroupName, + Parameters.hostGroupName, + Parameters.hostName, + Parameters.subscriptionId + ], + queryParameters: [ + Parameters.expand0, + Parameters.apiVersion0 + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: { + bodyMapper: Mappers.DedicatedHost + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + +const listByHostGroupOperationSpec: msRest.OperationSpec = { + httpMethod: "GET", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/hostGroups/{hostGroupName}/hosts", + urlParameters: [ + Parameters.resourceGroupName, + Parameters.hostGroupName, + Parameters.subscriptionId + ], + queryParameters: [ + Parameters.apiVersion0 + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: { + bodyMapper: Mappers.DedicatedHostListResult + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + +const beginCreateOrUpdateOperationSpec: msRest.OperationSpec = { + httpMethod: "PUT", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/hostGroups/{hostGroupName}/hosts/{hostName}", + urlParameters: [ + Parameters.resourceGroupName, + Parameters.hostGroupName, + Parameters.hostName, + Parameters.subscriptionId + ], + queryParameters: [ + Parameters.apiVersion0 + ], + headerParameters: [ + Parameters.acceptLanguage + ], + requestBody: { + parameterPath: "parameters", + mapper: { + ...Mappers.DedicatedHost, + required: true + } + }, + responses: { + 200: { + bodyMapper: Mappers.DedicatedHost + }, + 201: { + bodyMapper: Mappers.DedicatedHost + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + +const beginUpdateOperationSpec: msRest.OperationSpec = { + httpMethod: "PATCH", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/hostGroups/{hostGroupName}/hosts/{hostName}", + urlParameters: [ + Parameters.resourceGroupName, + Parameters.hostGroupName, + Parameters.hostName, + Parameters.subscriptionId + ], + queryParameters: [ + Parameters.apiVersion0 + ], + headerParameters: [ + Parameters.acceptLanguage + ], + requestBody: { + parameterPath: "parameters", + mapper: { + ...Mappers.DedicatedHostUpdate, + required: true + } + }, + responses: { + 200: { + bodyMapper: Mappers.DedicatedHost + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + +const beginDeleteMethodOperationSpec: msRest.OperationSpec = { + httpMethod: "DELETE", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/hostGroups/{hostGroupName}/hosts/{hostName}", + urlParameters: [ + Parameters.resourceGroupName, + Parameters.hostGroupName, + Parameters.hostName, + Parameters.subscriptionId + ], + queryParameters: [ + Parameters.apiVersion0 + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: {}, + 202: {}, + 204: {}, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + +const listByHostGroupNextOperationSpec: msRest.OperationSpec = { + httpMethod: "GET", + baseUrl: "https://management.azure.com", + path: "{nextLink}", + urlParameters: [ + Parameters.nextPageLink + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: { + bodyMapper: Mappers.DedicatedHostListResult + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; diff --git a/sdk/compute/arm-compute/src/operations/galleries.ts b/sdk/compute/arm-compute/src/operations/galleries.ts index bf566595c4a2..3ed0099d5551 100644 --- a/sdk/compute/arm-compute/src/operations/galleries.ts +++ b/sdk/compute/arm-compute/src/operations/galleries.ts @@ -244,7 +244,7 @@ const getOperationSpec: msRest.OperationSpec = { Parameters.galleryName ], queryParameters: [ - Parameters.apiVersion0 + Parameters.apiVersion3 ], headerParameters: [ Parameters.acceptLanguage @@ -268,7 +268,7 @@ const listByResourceGroupOperationSpec: msRest.OperationSpec = { Parameters.resourceGroupName ], queryParameters: [ - Parameters.apiVersion0 + Parameters.apiVersion3 ], headerParameters: [ Parameters.acceptLanguage @@ -291,7 +291,7 @@ const listOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion0 + Parameters.apiVersion3 ], headerParameters: [ Parameters.acceptLanguage @@ -316,7 +316,7 @@ const beginCreateOrUpdateOperationSpec: msRest.OperationSpec = { Parameters.galleryName ], queryParameters: [ - Parameters.apiVersion0 + Parameters.apiVersion3 ], headerParameters: [ Parameters.acceptLanguage @@ -354,7 +354,7 @@ const beginDeleteMethodOperationSpec: msRest.OperationSpec = { Parameters.galleryName ], queryParameters: [ - Parameters.apiVersion0 + 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 02c415f95c6e..439c5e351734 100644 --- a/sdk/compute/arm-compute/src/operations/galleryImageVersions.ts +++ b/sdk/compute/arm-compute/src/operations/galleryImageVersions.ts @@ -236,8 +236,8 @@ const getOperationSpec: msRest.OperationSpec = { Parameters.galleryImageVersionName ], queryParameters: [ - Parameters.expand0, - Parameters.apiVersion0 + Parameters.expand1, + Parameters.apiVersion3 ], headerParameters: [ Parameters.acceptLanguage @@ -263,7 +263,7 @@ const listByGalleryImageOperationSpec: msRest.OperationSpec = { Parameters.galleryImageName ], queryParameters: [ - Parameters.apiVersion0 + Parameters.apiVersion3 ], headerParameters: [ Parameters.acceptLanguage @@ -290,7 +290,7 @@ const beginCreateOrUpdateOperationSpec: msRest.OperationSpec = { Parameters.galleryImageVersionName ], queryParameters: [ - Parameters.apiVersion0 + Parameters.apiVersion3 ], headerParameters: [ Parameters.acceptLanguage @@ -330,7 +330,7 @@ const beginDeleteMethodOperationSpec: msRest.OperationSpec = { Parameters.galleryImageVersionName ], queryParameters: [ - Parameters.apiVersion0 + 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 1205d3f7d769..b951008c54f7 100644 --- a/sdk/compute/arm-compute/src/operations/galleryImages.ts +++ b/sdk/compute/arm-compute/src/operations/galleryImages.ts @@ -219,7 +219,7 @@ const getOperationSpec: msRest.OperationSpec = { Parameters.galleryImageName ], queryParameters: [ - Parameters.apiVersion0 + Parameters.apiVersion3 ], headerParameters: [ Parameters.acceptLanguage @@ -244,7 +244,7 @@ const listByGalleryOperationSpec: msRest.OperationSpec = { Parameters.galleryName ], queryParameters: [ - Parameters.apiVersion0 + Parameters.apiVersion3 ], headerParameters: [ Parameters.acceptLanguage @@ -270,7 +270,7 @@ const beginCreateOrUpdateOperationSpec: msRest.OperationSpec = { Parameters.galleryImageName ], queryParameters: [ - Parameters.apiVersion0 + Parameters.apiVersion3 ], headerParameters: [ Parameters.acceptLanguage @@ -309,7 +309,7 @@ const beginDeleteMethodOperationSpec: msRest.OperationSpec = { Parameters.galleryImageName ], queryParameters: [ - Parameters.apiVersion0 + 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..db6ade10fbf7 100644 --- a/sdk/compute/arm-compute/src/operations/images.ts +++ b/sdk/compute/arm-compute/src/operations/images.ts @@ -277,7 +277,7 @@ const getOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.expand0, + Parameters.expand1, Parameters.apiVersion0 ], headerParameters: [ diff --git a/sdk/compute/arm-compute/src/operations/index.ts b/sdk/compute/arm-compute/src/operations/index.ts index 1821b058d12d..4af74520b9ea 100644 --- a/sdk/compute/arm-compute/src/operations/index.ts +++ b/sdk/compute/arm-compute/src/operations/index.ts @@ -10,6 +10,9 @@ export * from "./operations"; export * from "./availabilitySets"; +export * from "./proximityPlacementGroups"; +export * from "./dedicatedHostGroups"; +export * from "./dedicatedHosts"; export * from "./virtualMachineExtensionImages"; export * from "./virtualMachineExtensions"; export * from "./virtualMachineImages"; @@ -20,7 +23,6 @@ export * from "./images"; export * from "./virtualMachineScaleSets"; export * from "./virtualMachineScaleSetExtensions"; export * from "./virtualMachineScaleSetRollingUpgrades"; -export * from "./virtualMachineScaleSetOperations"; export * from "./virtualMachineScaleSetVMs"; export * from "./logAnalytics"; export * from "./virtualMachineRunCommands"; diff --git a/sdk/compute/arm-compute/src/operations/proximityPlacementGroups.ts b/sdk/compute/arm-compute/src/operations/proximityPlacementGroups.ts new file mode 100644 index 000000000000..5a5ed3f4bbf0 --- /dev/null +++ b/sdk/compute/arm-compute/src/operations/proximityPlacementGroups.ts @@ -0,0 +1,478 @@ +/* + * Copyright (c) Microsoft Corporation. All rights reserved. + * Licensed under the MIT License. See License.txt in the project root for + * license information. + * + * 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/proximityPlacementGroupsMappers"; +import * as Parameters from "../models/parameters"; +import { ComputeManagementClientContext } from "../computeManagementClientContext"; + +/** Class representing a ProximityPlacementGroups. */ +export class ProximityPlacementGroups { + private readonly client: ComputeManagementClientContext; + + /** + * Create a ProximityPlacementGroups. + * @param {ComputeManagementClientContext} client Reference to the service client. + */ + constructor(client: ComputeManagementClientContext) { + this.client = client; + } + + /** + * Create or update a proximity placement group. + * @param resourceGroupName The name of the resource group. + * @param proximityPlacementGroupName The name of the proximity placement group. + * @param parameters Parameters supplied to the Create Proximity Placement Group operation. + * @param [options] The optional parameters + * @returns Promise + */ + createOrUpdate(resourceGroupName: string, proximityPlacementGroupName: string, parameters: Models.ProximityPlacementGroup, options?: msRest.RequestOptionsBase): Promise; + /** + * @param resourceGroupName The name of the resource group. + * @param proximityPlacementGroupName The name of the proximity placement group. + * @param parameters Parameters supplied to the Create Proximity Placement Group operation. + * @param callback The callback + */ + createOrUpdate(resourceGroupName: string, proximityPlacementGroupName: string, parameters: Models.ProximityPlacementGroup, callback: msRest.ServiceCallback): void; + /** + * @param resourceGroupName The name of the resource group. + * @param proximityPlacementGroupName The name of the proximity placement group. + * @param parameters Parameters supplied to the Create Proximity Placement Group operation. + * @param options The optional parameters + * @param callback The callback + */ + createOrUpdate(resourceGroupName: string, proximityPlacementGroupName: string, parameters: Models.ProximityPlacementGroup, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + createOrUpdate(resourceGroupName: string, proximityPlacementGroupName: string, parameters: Models.ProximityPlacementGroup, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + resourceGroupName, + proximityPlacementGroupName, + parameters, + options + }, + createOrUpdateOperationSpec, + callback) as Promise; + } + + /** + * Update a proximity placement group. + * @param resourceGroupName The name of the resource group. + * @param proximityPlacementGroupName The name of the proximity placement group. + * @param parameters Parameters supplied to the Update Proximity Placement Group operation. + * @param [options] The optional parameters + * @returns Promise + */ + update(resourceGroupName: string, proximityPlacementGroupName: string, parameters: Models.ProximityPlacementGroupUpdate, options?: msRest.RequestOptionsBase): Promise; + /** + * @param resourceGroupName The name of the resource group. + * @param proximityPlacementGroupName The name of the proximity placement group. + * @param parameters Parameters supplied to the Update Proximity Placement Group operation. + * @param callback The callback + */ + update(resourceGroupName: string, proximityPlacementGroupName: string, parameters: Models.ProximityPlacementGroupUpdate, callback: msRest.ServiceCallback): void; + /** + * @param resourceGroupName The name of the resource group. + * @param proximityPlacementGroupName The name of the proximity placement group. + * @param parameters Parameters supplied to the Update Proximity Placement Group operation. + * @param options The optional parameters + * @param callback The callback + */ + update(resourceGroupName: string, proximityPlacementGroupName: string, parameters: Models.ProximityPlacementGroupUpdate, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + update(resourceGroupName: string, proximityPlacementGroupName: string, parameters: Models.ProximityPlacementGroupUpdate, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + resourceGroupName, + proximityPlacementGroupName, + parameters, + options + }, + updateOperationSpec, + callback) as Promise; + } + + /** + * Delete a proximity placement group. + * @param resourceGroupName The name of the resource group. + * @param proximityPlacementGroupName The name of the proximity placement group. + * @param [options] The optional parameters + * @returns Promise + */ + deleteMethod(resourceGroupName: string, proximityPlacementGroupName: string, options?: msRest.RequestOptionsBase): Promise; + /** + * @param resourceGroupName The name of the resource group. + * @param proximityPlacementGroupName The name of the proximity placement group. + * @param callback The callback + */ + deleteMethod(resourceGroupName: string, proximityPlacementGroupName: string, callback: msRest.ServiceCallback): void; + /** + * @param resourceGroupName The name of the resource group. + * @param proximityPlacementGroupName The name of the proximity placement group. + * @param options The optional parameters + * @param callback The callback + */ + deleteMethod(resourceGroupName: string, proximityPlacementGroupName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + deleteMethod(resourceGroupName: string, proximityPlacementGroupName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + resourceGroupName, + proximityPlacementGroupName, + options + }, + deleteMethodOperationSpec, + callback); + } + + /** + * Retrieves information about a proximity placement group . + * @param resourceGroupName The name of the resource group. + * @param proximityPlacementGroupName The name of the proximity placement group. + * @param [options] The optional parameters + * @returns Promise + */ + get(resourceGroupName: string, proximityPlacementGroupName: string, options?: msRest.RequestOptionsBase): Promise; + /** + * @param resourceGroupName The name of the resource group. + * @param proximityPlacementGroupName The name of the proximity placement group. + * @param callback The callback + */ + get(resourceGroupName: string, proximityPlacementGroupName: string, callback: msRest.ServiceCallback): void; + /** + * @param resourceGroupName The name of the resource group. + * @param proximityPlacementGroupName The name of the proximity placement group. + * @param options The optional parameters + * @param callback The callback + */ + get(resourceGroupName: string, proximityPlacementGroupName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + get(resourceGroupName: string, proximityPlacementGroupName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + resourceGroupName, + proximityPlacementGroupName, + options + }, + getOperationSpec, + callback) as Promise; + } + + /** + * Lists all proximity placement groups in a subscription. + * @param [options] The optional parameters + * @returns Promise + */ + listBySubscription(options?: msRest.RequestOptionsBase): Promise; + /** + * @param callback The callback + */ + listBySubscription(callback: msRest.ServiceCallback): void; + /** + * @param options The optional parameters + * @param callback The callback + */ + listBySubscription(options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + listBySubscription(options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + options + }, + listBySubscriptionOperationSpec, + callback) as Promise; + } + + /** + * Lists all proximity placement groups in a resource group. + * @param resourceGroupName The name of the resource group. + * @param [options] The optional parameters + * @returns Promise + */ + listByResourceGroup(resourceGroupName: string, options?: msRest.RequestOptionsBase): Promise; + /** + * @param resourceGroupName The name of the resource group. + * @param callback The callback + */ + listByResourceGroup(resourceGroupName: string, callback: msRest.ServiceCallback): void; + /** + * @param resourceGroupName The name of the resource group. + * @param options The optional parameters + * @param callback The callback + */ + listByResourceGroup(resourceGroupName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + listByResourceGroup(resourceGroupName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + resourceGroupName, + options + }, + listByResourceGroupOperationSpec, + callback) as Promise; + } + + /** + * Lists all proximity placement groups in a subscription. + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @param [options] The optional parameters + * @returns Promise + */ + listBySubscriptionNext(nextPageLink: string, options?: msRest.RequestOptionsBase): Promise; + /** + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @param callback The callback + */ + listBySubscriptionNext(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 + */ + listBySubscriptionNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + listBySubscriptionNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + nextPageLink, + options + }, + listBySubscriptionNextOperationSpec, + callback) as Promise; + } + + /** + * Lists all proximity placement groups in a resource group. + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @param [options] The optional parameters + * @returns Promise + */ + listByResourceGroupNext(nextPageLink: string, options?: msRest.RequestOptionsBase): Promise; + /** + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @param callback The callback + */ + listByResourceGroupNext(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 + */ + listByResourceGroupNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + listByResourceGroupNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + nextPageLink, + options + }, + listByResourceGroupNextOperationSpec, + callback) as Promise; + } +} + +// Operation Specifications +const serializer = new msRest.Serializer(Mappers); +const createOrUpdateOperationSpec: msRest.OperationSpec = { + httpMethod: "PUT", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/proximityPlacementGroups/{proximityPlacementGroupName}", + urlParameters: [ + Parameters.resourceGroupName, + Parameters.proximityPlacementGroupName, + Parameters.subscriptionId + ], + queryParameters: [ + Parameters.apiVersion0 + ], + headerParameters: [ + Parameters.acceptLanguage + ], + requestBody: { + parameterPath: "parameters", + mapper: { + ...Mappers.ProximityPlacementGroup, + required: true + } + }, + responses: { + 200: { + bodyMapper: Mappers.ProximityPlacementGroup + }, + 201: { + bodyMapper: Mappers.ProximityPlacementGroup + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + +const updateOperationSpec: msRest.OperationSpec = { + httpMethod: "PATCH", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/proximityPlacementGroups/{proximityPlacementGroupName}", + urlParameters: [ + Parameters.resourceGroupName, + Parameters.proximityPlacementGroupName, + Parameters.subscriptionId + ], + queryParameters: [ + Parameters.apiVersion0 + ], + headerParameters: [ + Parameters.acceptLanguage + ], + requestBody: { + parameterPath: "parameters", + mapper: { + ...Mappers.ProximityPlacementGroupUpdate, + required: true + } + }, + responses: { + 200: { + bodyMapper: Mappers.ProximityPlacementGroup + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + +const deleteMethodOperationSpec: msRest.OperationSpec = { + httpMethod: "DELETE", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/proximityPlacementGroups/{proximityPlacementGroupName}", + urlParameters: [ + Parameters.resourceGroupName, + Parameters.proximityPlacementGroupName, + Parameters.subscriptionId + ], + queryParameters: [ + Parameters.apiVersion0 + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: {}, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + +const getOperationSpec: msRest.OperationSpec = { + httpMethod: "GET", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/proximityPlacementGroups/{proximityPlacementGroupName}", + urlParameters: [ + Parameters.resourceGroupName, + Parameters.proximityPlacementGroupName, + Parameters.subscriptionId + ], + queryParameters: [ + Parameters.apiVersion0 + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: { + bodyMapper: Mappers.ProximityPlacementGroup + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + +const listBySubscriptionOperationSpec: msRest.OperationSpec = { + httpMethod: "GET", + path: "subscriptions/{subscriptionId}/providers/Microsoft.Compute/proximityPlacementGroups", + urlParameters: [ + Parameters.subscriptionId + ], + queryParameters: [ + Parameters.apiVersion0 + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: { + bodyMapper: Mappers.ProximityPlacementGroupListResult + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + +const listByResourceGroupOperationSpec: msRest.OperationSpec = { + httpMethod: "GET", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/proximityPlacementGroups", + urlParameters: [ + Parameters.resourceGroupName, + Parameters.subscriptionId + ], + queryParameters: [ + Parameters.apiVersion0 + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: { + bodyMapper: Mappers.ProximityPlacementGroupListResult + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + +const listBySubscriptionNextOperationSpec: msRest.OperationSpec = { + httpMethod: "GET", + baseUrl: "https://management.azure.com", + path: "{nextLink}", + urlParameters: [ + Parameters.nextPageLink + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: { + bodyMapper: Mappers.ProximityPlacementGroupListResult + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + +const listByResourceGroupNextOperationSpec: msRest.OperationSpec = { + httpMethod: "GET", + baseUrl: "https://management.azure.com", + path: "{nextLink}", + urlParameters: [ + Parameters.nextPageLink + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: { + bodyMapper: Mappers.ProximityPlacementGroupListResult + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; diff --git a/sdk/compute/arm-compute/src/operations/virtualMachineExtensions.ts b/sdk/compute/arm-compute/src/operations/virtualMachineExtensions.ts index 289e3d3134e9..97c97b72adf0 100644 --- a/sdk/compute/arm-compute/src/operations/virtualMachineExtensions.ts +++ b/sdk/compute/arm-compute/src/operations/virtualMachineExtensions.ts @@ -217,7 +217,7 @@ const getOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.expand0, + Parameters.expand1, Parameters.apiVersion0 ], headerParameters: [ @@ -243,7 +243,7 @@ const listOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.expand0, + Parameters.expand1, Parameters.apiVersion0 ], headerParameters: [ diff --git a/sdk/compute/arm-compute/src/operations/virtualMachineScaleSetExtensions.ts b/sdk/compute/arm-compute/src/operations/virtualMachineScaleSetExtensions.ts index ede0b80fda8d..f2671c9c93cb 100644 --- a/sdk/compute/arm-compute/src/operations/virtualMachineScaleSetExtensions.ts +++ b/sdk/compute/arm-compute/src/operations/virtualMachineScaleSetExtensions.ts @@ -207,7 +207,7 @@ const getOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.expand0, + Parameters.expand1, Parameters.apiVersion0 ], headerParameters: [ diff --git a/sdk/compute/arm-compute/src/operations/virtualMachineScaleSetVMs.ts b/sdk/compute/arm-compute/src/operations/virtualMachineScaleSetVMs.ts index 158980afb9a6..247b0fdec459 100644 --- a/sdk/compute/arm-compute/src/operations/virtualMachineScaleSetVMs.ts +++ b/sdk/compute/arm-compute/src/operations/virtualMachineScaleSetVMs.ts @@ -105,7 +105,7 @@ export class VirtualMachineScaleSetVMs { * @param [options] The optional parameters * @returns Promise */ - get(resourceGroupName: string, vmScaleSetName: string, instanceId: string, options?: msRest.RequestOptionsBase): Promise; + get(resourceGroupName: string, vmScaleSetName: string, instanceId: string, options?: Models.VirtualMachineScaleSetVMsGetOptionalParams): Promise; /** * @param resourceGroupName The name of the resource group. * @param vmScaleSetName The name of the VM scale set. @@ -120,8 +120,8 @@ export class VirtualMachineScaleSetVMs { * @param options The optional parameters * @param callback The callback */ - get(resourceGroupName: string, vmScaleSetName: string, instanceId: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - get(resourceGroupName: string, vmScaleSetName: string, instanceId: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + get(resourceGroupName: string, vmScaleSetName: string, instanceId: string, options: Models.VirtualMachineScaleSetVMsGetOptionalParams, callback: msRest.ServiceCallback): void; + get(resourceGroupName: string, vmScaleSetName: string, instanceId: string, options?: Models.VirtualMachineScaleSetVMsGetOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -553,6 +553,7 @@ const getOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ + Parameters.expand0, Parameters.apiVersion0 ], headerParameters: [ @@ -606,7 +607,7 @@ const listOperationSpec: msRest.OperationSpec = { queryParameters: [ Parameters.filter, Parameters.select, - Parameters.expand0, + Parameters.expand1, Parameters.apiVersion0 ], headerParameters: [ diff --git a/sdk/compute/arm-compute/src/operations/virtualMachineScaleSets.ts b/sdk/compute/arm-compute/src/operations/virtualMachineScaleSets.ts index e7dfd2b78aff..5aa9dbc78a1b 100644 --- a/sdk/compute/arm-compute/src/operations/virtualMachineScaleSets.ts +++ b/sdk/compute/arm-compute/src/operations/virtualMachineScaleSets.ts @@ -421,6 +421,42 @@ export class VirtualMachineScaleSets { callback) as Promise; } + /** + * Converts SinglePlacementGroup property to false for a existing virtual machine scale set. + * @param resourceGroupName The name of the resource group. + * @param vmScaleSetName The name of the virtual machine scale set to create or update. + * @param parameters The input object for ConvertToSinglePlacementGroup API. + * @param [options] The optional parameters + * @returns Promise + */ + convertToSinglePlacementGroup(resourceGroupName: string, vmScaleSetName: string, parameters: Models.VMScaleSetConvertToSinglePlacementGroupInput, options?: msRest.RequestOptionsBase): Promise; + /** + * @param resourceGroupName The name of the resource group. + * @param vmScaleSetName The name of the virtual machine scale set to create or update. + * @param parameters The input object for ConvertToSinglePlacementGroup API. + * @param callback The callback + */ + convertToSinglePlacementGroup(resourceGroupName: string, vmScaleSetName: string, parameters: Models.VMScaleSetConvertToSinglePlacementGroupInput, callback: msRest.ServiceCallback): void; + /** + * @param resourceGroupName The name of the resource group. + * @param vmScaleSetName The name of the virtual machine scale set to create or update. + * @param parameters The input object for ConvertToSinglePlacementGroup API. + * @param options The optional parameters + * @param callback The callback + */ + convertToSinglePlacementGroup(resourceGroupName: string, vmScaleSetName: string, parameters: Models.VMScaleSetConvertToSinglePlacementGroupInput, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + convertToSinglePlacementGroup(resourceGroupName: string, vmScaleSetName: string, parameters: Models.VMScaleSetConvertToSinglePlacementGroupInput, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + resourceGroupName, + vmScaleSetName, + parameters, + options + }, + convertToSinglePlacementGroupOperationSpec, + callback); + } + /** * Create or update a VM scale set. * @param resourceGroupName The name of the resource group. @@ -964,6 +1000,33 @@ const forceRecoveryServiceFabricPlatformUpdateDomainWalkOperationSpec: msRest.Op serializer }; +const convertToSinglePlacementGroupOperationSpec: msRest.OperationSpec = { + httpMethod: "POST", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}/convertToSinglePlacementGroup", + urlParameters: [ + Parameters.resourceGroupName, + Parameters.vmScaleSetName, + Parameters.subscriptionId + ], + headerParameters: [ + Parameters.acceptLanguage + ], + requestBody: { + parameterPath: "parameters", + mapper: { + ...Mappers.VMScaleSetConvertToSinglePlacementGroupInput, + required: true + } + }, + responses: { + 200: {}, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + const beginCreateOrUpdateOperationSpec: msRest.OperationSpec = { httpMethod: "PUT", path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}", diff --git a/sdk/compute/arm-compute/src/operations/virtualMachines.ts b/sdk/compute/arm-compute/src/operations/virtualMachines.ts index a535ced3f9da..369fc36d833e 100644 --- a/sdk/compute/arm-compute/src/operations/virtualMachines.ts +++ b/sdk/compute/arm-compute/src/operations/virtualMachines.ts @@ -769,7 +769,7 @@ const getOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.expand1, + Parameters.expand0, Parameters.apiVersion0 ], headerParameters: [ diff --git a/sdk/compute/arm-compute/tsconfig.json b/sdk/compute/arm-compute/tsconfig.json index 87bbf5b5fa49..422b584abd5e 100644 --- a/sdk/compute/arm-compute/tsconfig.json +++ b/sdk/compute/arm-compute/tsconfig.json @@ -9,7 +9,7 @@ "esModuleInterop": true, "allowSyntheticDefaultImports": true, "forceConsistentCasingInFileNames": true, - "lib": ["es6"], + "lib": ["es6", "dom"], "declaration": true, "outDir": "./esm", "importHelpers": true From 0611e237cad2a285de3789a1c3df76e7183f8f66 Mon Sep 17 00:00:00 2001 From: Phoenix He Date: Wed, 7 Aug 2019 11:23:22 +0800 Subject: [PATCH 02/16] Add pull config --- .github/pull.yml | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 .github/pull.yml diff --git a/.github/pull.yml b/.github/pull.yml new file mode 100644 index 000000000000..cba38338ca1b --- /dev/null +++ b/.github/pull.yml @@ -0,0 +1,7 @@ +# https://github.com/wei/pull#advanced-setup-with-config +version: "1" +rules: + - base: master + upstream: Azure:master + mergeMethod: rebase +label: "AutoPull" From 3ca7d6c51d03a8072a06752e602ce31208fd7b32 Mon Sep 17 00:00:00 2001 From: bsiegel <96068+bsiegel@users.noreply.github.com> Date: Wed, 7 Aug 2019 15:58:38 -0700 Subject: [PATCH 03/16] Analyze dependencies during the build (#4706) --- README.md | 18 ++++++++++++------ eng/pipelines/client.yml | 2 +- .../templates/jobs/archetype-sdk-client.yml | 14 ++++++++++++-- 3 files changed, 25 insertions(+), 9 deletions(-) diff --git a/README.md b/README.md index fdf85d783301..f907d9992997 100644 --- a/README.md +++ b/README.md @@ -1,10 +1,5 @@ # Azure SDK for JavaScript -| Component | Build Status | -| -------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| Management Libraries | [![Build Status](https://dev.azure.com/azure-sdk/public/_apis/build/status/138?branchName=master)](https://dev.azure.com/azure-sdk/public/_build/latest?definitionId=138&branchName=master) | -| Client Libraries | [![Build Status](https://dev.azure.com/azure-sdk/public/_apis/build/status/614?branchName=master)](https://dev.azure.com/azure-sdk/public/_build/latest?definitionId=614&branchName=master) | - This repository contains official JavaScript libraries and TypeScript definitions for Azure services. For documentation go to [Azure SDK for JavaScript documentation](https://aka.ms/js-docs). You can find a complete list of these libraries in [packages.md](https://github.com/Azure/azure-sdk-for-js/blob/master/packages.md). @@ -49,7 +44,18 @@ Libraries which enable you to provision specific resources. They are responsible - Check [previous questions](https://stackoverflow.com/questions/tagged/azure-sdk-js) or ask new ones on StackOverflow using `azure-sdk-js` tag. ## Contributing +For details on contributing to this repository, see the [contributing guide](CONTRIBUTING.md). + +This project welcomes contributions and suggestions. Most contributions require you to agree to a Contributor License Agreement (CLA) declaring that you have the right to, and actually do, grant us the rights to use your contribution. For details, visit +https://cla.microsoft.com. -For details on contributing to this repository, see the [contributing guide](https://github.com/Azure/azure-sdk-for-js/blob/master/CONTRIBUTING.md). +When you submit a pull request, a CLA-bot will automatically determine whether you need to provide a CLA and decorate the PR appropriately (e.g., label, comment). Simply follow the instructions provided by the bot. You will only need to do this once across all repositories using our CLA. + +This project has adopted the [Microsoft Open Source Code of Conduct](https://opensource.microsoft.com/codeofconduct/). For more information see the [Code of Conduct FAQ](https://opensource.microsoft.com/codeofconduct/faq/) or contact [opencode@microsoft.com](mailto:opencode@microsoft.com) with any additional questions or comments. + +| Component | Build Status | +| -------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| Client Libraries | [![Build Status](https://dev.azure.com/azure-sdk/public/_apis/build/status/614?branchName=master)](https://dev.azure.com/azure-sdk/public/_build/latest?definitionId=614&branchName=master) [![Dependencies](https://img.shields.io/badge/dependencies-analyzed-blue.svg)](https://azuresdkartifacts.blob.core.windows.net/azure-sdk-for-js/dependencies/dependencies.html) | +| Management Libraries | [![Build Status](https://dev.azure.com/azure-sdk/public/_apis/build/status/138?branchName=master)](https://dev.azure.com/azure-sdk/public/_build/latest?definitionId=138&branchName=master) | ![Impressions](https://azure-sdk-impressions.azurewebsites.net/api/impressions/azure-sdk-for-js%2FREADME.png) diff --git a/eng/pipelines/client.yml b/eng/pipelines/client.yml index e31c3fd14211..9edf5008ee59 100644 --- a/eng/pipelines/client.yml +++ b/eng/pipelines/client.yml @@ -6,6 +6,6 @@ trigger: none pr: none jobs: - - template: ../../eng/pipelines/templates/jobs/archetype-sdk-client.yml + - template: templates/jobs/archetype-sdk-client.yml parameters: ServiceDirectory: $(ServiceDirectory) diff --git a/eng/pipelines/templates/jobs/archetype-sdk-client.yml b/eng/pipelines/templates/jobs/archetype-sdk-client.yml index 911e38345844..551a81c9e77f 100644 --- a/eng/pipelines/templates/jobs/archetype-sdk-client.yml +++ b/eng/pipelines/templates/jobs/archetype-sdk-client.yml @@ -70,9 +70,19 @@ jobs: ward scan -d $(Build.SourcesDirectory) -c $(Build.SourcesDirectory)/.docsettings.yml displayName: "Verify Readmes" + - script: | + npm ci + workingDirectory: $(System.DefaultWorkingDirectory)/eng/tools/analyze-deps + displayName: "Install tool dependencies" + + - script: | + node index.js --verbose --out "$(Build.ArtifactStagingDirectory)/dependencies.html" + workingDirectory: $(System.DefaultWorkingDirectory)/eng/tools/analyze-deps + displayName: "Analyze library dependencies" + - script: | node common/scripts/install-run-rush.js install - displayName: "Install dependencies" + displayName: "Install library dependencies" - script: | node common/scripts/install-run-rush.js lint $(GeneratedPackageTargets) @@ -87,7 +97,7 @@ jobs: - task: PublishPipelineArtifact@1 condition: succeededOrFailed() - displayName: "Publish lint reports" + displayName: "Publish Report Artifacts" inputs: artifactName: reports path: $(Build.ArtifactStagingDirectory) From 48c41df6724e6c58a7e8819ebbc75a9da6dfbd0b Mon Sep 17 00:00:00 2001 From: chradek <51000525+chradek@users.noreply.github.com> Date: Wed, 7 Aug 2019 16:41:12 -0700 Subject: [PATCH 04/16] [Event Hubs] updates version constant (#4710) --- sdk/eventhub/event-hubs/src/util/constants.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sdk/eventhub/event-hubs/src/util/constants.ts b/sdk/eventhub/event-hubs/src/util/constants.ts index a612d42360b1..80085f513d5c 100644 --- a/sdk/eventhub/event-hubs/src/util/constants.ts +++ b/sdk/eventhub/event-hubs/src/util/constants.ts @@ -6,5 +6,5 @@ */ export const packageJsonInfo = { name: "@azure/event-hubs", - version: "5.0.0-preview.2" + version: "5.0.0-preview.3" }; From a64d6d79cf76af53af0b330446e106539618a542 Mon Sep 17 00:00:00 2001 From: chradek <51000525+chradek@users.noreply.github.com> Date: Wed, 7 Aug 2019 16:55:13 -0700 Subject: [PATCH 05/16] [core] updates core-arm/http/tracing version numbers (#4709) --- common/config/rush/pnpm-lock.yaml | 310 ++++++++++++++++------------- sdk/core/core-arm/package.json | 2 +- sdk/core/core-http/package.json | 2 +- sdk/core/core-tracing/package.json | 2 +- 4 files changed, 180 insertions(+), 136 deletions(-) diff --git a/common/config/rush/pnpm-lock.yaml b/common/config/rush/pnpm-lock.yaml index 119f5b7af91d..67aa7bf19e8d 100644 --- a/common/config/rush/pnpm-lock.yaml +++ b/common/config/rush/pnpm-lock.yaml @@ -2,9 +2,12 @@ dependencies: '@azure/abort-controller': 1.0.0-preview.1 '@azure/amqp-common': 1.0.0-preview.6_rhea-promise@0.1.15 '@azure/arm-servicebus': 3.2.0 + '@azure/core-arm': 1.0.0-preview.2 '@azure/core-asynciterator-polyfill': 1.0.0-preview.1 '@azure/core-auth': 1.0.0-preview.2 + '@azure/core-http': 1.0.0-preview.2 '@azure/core-paging': 1.0.0-preview.1 + '@azure/core-tracing': 1.0.0-preview.1 '@azure/event-hubs': 2.1.1 '@azure/logger-js': 1.3.2 '@azure/ms-rest-js': 2.0.4 @@ -118,7 +121,7 @@ dependencies: karma-mocha: 1.3.0 karma-mocha-reporter: 2.2.5_karma@4.2.0 karma-remap-coverage: 0.1.5_karma-coverage@1.1.2 - karma-rollup-preprocessor: 7.0.2_rollup@1.19.3 + karma-rollup-preprocessor: 7.0.2_rollup@1.19.4 karma-sourcemap-loader: 0.3.7 karma-typescript-es6-transform: 4.1.1 karma-webpack: 4.0.2_webpack@4.39.1 @@ -146,21 +149,21 @@ dependencies: rhea: 1.0.8 rhea-promise: 0.1.15 rimraf: 2.6.3 - rollup: 1.19.3 + rollup: 1.19.4 rollup-plugin-alias: 1.5.2 - rollup-plugin-commonjs: 10.0.2_rollup@1.19.3 + rollup-plugin-commonjs: 10.0.2_rollup@1.19.4 rollup-plugin-inject: 3.0.1 rollup-plugin-json: 4.0.0 rollup-plugin-multi-entry: 2.1.0 rollup-plugin-node-globals: 1.4.0 - rollup-plugin-node-resolve: 5.2.0_rollup@1.19.3 + rollup-plugin-node-resolve: 5.2.0_rollup@1.19.4 rollup-plugin-replace: 2.2.0 rollup-plugin-resolve: 0.0.1-predev.1 rollup-plugin-shim: 1.0.0 - rollup-plugin-sourcemaps: 0.4.2_rollup@1.19.3 - rollup-plugin-terser: 5.1.1_rollup@1.19.3 - rollup-plugin-uglify: 6.0.2_rollup@1.19.3 - rollup-plugin-visualizer: 2.5.4_rollup@1.19.3 + rollup-plugin-sourcemaps: 0.4.2_rollup@1.19.4 + rollup-plugin-terser: 5.1.1_rollup@1.19.4 + rollup-plugin-uglify: 6.0.2_rollup@1.19.4 + rollup-plugin-visualizer: 2.5.4_rollup@1.19.4 semaphore: 1.0.5 semver: 5.7.0 shx: 0.3.2 @@ -225,6 +228,13 @@ packages: dev: false resolution: integrity: sha512-e0nNyP0O802YMb4jq0nsVduIBHRWtmX/AtiWMCDI1f0KtcEmNRPfbP8DxU6iNgwnV09qy3EfaRfSY0vMsYs5cg== + /@azure/core-arm/1.0.0-preview.2: + dependencies: + '@azure/core-http': 1.0.0-preview.2 + tslib: 1.10.0 + dev: false + resolution: + integrity: sha512-aQw0E1bolHMZaIniOXNAuAe808q9DGhUBH0GHQr77NcKa+0D5yeElCZnl+UVY+MhI7cUSMxEQzsTpMXOulvsPg== /@azure/core-asynciterator-polyfill/1.0.0-preview.1: dev: false resolution: @@ -236,12 +246,33 @@ packages: dev: false resolution: integrity: sha512-QATxlKPP2Yld8+eg8Hz8mXmowlG/z9B53HTkjBz0oJIzR+dBm9HJY2bPnT7RB8nyqdnm8JpU2mIp8YVZZO6ubg== + /@azure/core-http/1.0.0-preview.2: + dependencies: + '@azure/core-auth': 1.0.0-preview.2 + '@types/tunnel': 0.0.1 + axios: 0.19.0 + form-data: 2.5.0 + process: 0.11.10 + tough-cookie: 3.0.1 + tslib: 1.10.0 + tunnel: 0.0.6 + uuid: 3.3.2 + xml2js: 0.4.19 + dev: false + resolution: + integrity: sha512-7zvbuMxwFjqvZ8knyEky+tWJYq6nK/pDIOI44nuCsdzdeCA8G9Ul3tXuQ+1lI4NOUfd2Scj8Ckgb4Xh9+ckOuw== /@azure/core-paging/1.0.0-preview.1: dependencies: '@azure/core-asynciterator-polyfill': 1.0.0-preview.1 dev: false resolution: integrity: sha512-mZHkadyAbhV1+brHEsWICnURW6E72D2HReM+8MWDn5oVJdlxD51w14PeqsOZC4UDYv4x2Eww5+PFRTEOrNB1Uw== + /@azure/core-tracing/1.0.0-preview.1: + dependencies: + tslib: 1.10.0 + dev: false + resolution: + integrity: sha512-nDfxQopw7lfJG5N845BOS6Vcl84GcB1Q3BHKJAHghLOmdHQjV9Z92M4ziFAQ60UnOj2zrUefM6yDZcKjANCcyg== /@azure/event-hubs/2.1.1: dependencies: '@azure/amqp-common': 1.0.0-preview.6_rhea-promise@0.1.15 @@ -791,7 +822,7 @@ packages: eslint-utils: 1.4.0 functional-red-black-tree: 1.0.1 regexpp: 2.0.1 - tsutils: 3.17.0_typescript@3.5.3 + tsutils: 3.17.1_typescript@3.5.3 dev: false engines: node: ^6.14.0 || ^8.10.0 || >=9.10.0 @@ -2194,7 +2225,7 @@ packages: /browserslist/3.2.8: dependencies: caniuse-lite: 1.0.30000989 - electron-to-chromium: 1.3.216 + electron-to-chromium: 1.3.219 dev: false hasBin: true resolution: @@ -3229,10 +3260,10 @@ packages: dev: false resolution: integrity: sha1-WQxhFWsK4vTwJVcyoViyZrxWsh0= - /electron-to-chromium/1.3.216: + /electron-to-chromium/1.3.219: dev: false resolution: - integrity: sha512-G2rJKCdDLTaAP56WKMj0mcr7jtr3LBBL2EaF73DamfFpvcl0PzKUIaUocPP8NLu9s/RbbHLMGkbFOkDRK5PQIQ== + integrity: sha512-xANtM7YNFQGCMl+a0ZceXnPedpAatcIIyDNM56nQKzJFwuCyIzKVtBvLzyMOU0cczwO900TP309EkSeudrGRbQ== /elliptic/6.5.0: dependencies: bn.js: 4.11.8 @@ -5459,11 +5490,11 @@ packages: karma-coverage: '>=0.5.4' resolution: integrity: sha512-FM5h8eHcHbMMR+2INBUxD+4+wUbkCnobfn5uWprkLyj6Xcm2MRFQOuAJn9h2H13nNso6rk+QoNpHd5xCevlPOw== - /karma-rollup-preprocessor/7.0.2_rollup@1.19.3: + /karma-rollup-preprocessor/7.0.2_rollup@1.19.4: dependencies: chokidar: 3.0.2 debounce: 1.2.0 - rollup: 1.19.3 + rollup: 1.19.4 dev: false engines: node: '>= 8.0.0' @@ -6401,7 +6432,7 @@ packages: readable-stream: 2.3.6 stream-browserify: 2.0.2 stream-http: 2.8.3 - string_decoder: 1.2.0 + string_decoder: 1.3.0 timers-browserify: 2.0.10 tty-browserify: 0.0.0 url: 0.11.0 @@ -7374,7 +7405,7 @@ packages: /readable-stream/3.4.0: dependencies: inherits: 2.0.4 - string_decoder: 1.2.0 + string_decoder: 1.3.0 util-deprecate: 1.0.2 dev: false engines: @@ -7728,13 +7759,13 @@ packages: dev: false resolution: integrity: sha512-ODeZXhTxpD48sfcYLAFc1BGrsXKDj7o1CSNH3uYbdK3o0NxyMmaQPTNgW+ko+am92DLC8QSTe4kyxTuEkI5S5w== - /rollup-plugin-commonjs/10.0.2_rollup@1.19.3: + /rollup-plugin-commonjs/10.0.2_rollup@1.19.4: dependencies: estree-walker: 0.6.1 is-reference: 1.1.3 magic-string: 0.25.3 resolve: 1.12.0 - rollup: 1.19.3 + rollup: 1.19.4 rollup-pluginutils: 2.8.1 dev: false peerDependencies: @@ -7772,13 +7803,13 @@ packages: dev: false resolution: integrity: sha512-xRkB+W/m1KLIzPUmG0ofvR+CPNcvuCuNdjVBVS7ALKSxr3EDhnzNceGkGi1m8MToSli13AzKFYH4ie9w3I5L3g== - /rollup-plugin-node-resolve/5.2.0_rollup@1.19.3: + /rollup-plugin-node-resolve/5.2.0_rollup@1.19.4: dependencies: '@types/resolve': 0.0.8 builtin-modules: 3.1.0 is-module: 1.0.0 resolve: 1.12.0 - rollup: 1.19.3 + rollup: 1.19.4 rollup-pluginutils: 2.8.1 dev: false peerDependencies: @@ -7800,9 +7831,9 @@ packages: dev: false resolution: integrity: sha512-rZqFD43y4U9nSqVq3iyWBiDwmBQJY8Txi04yI9jTKD3xcl7CbFjh1qRpQshUB3sONLubDzm7vJiwB+1MEGv67w== - /rollup-plugin-sourcemaps/0.4.2_rollup@1.19.3: + /rollup-plugin-sourcemaps/0.4.2_rollup@1.19.4: dependencies: - rollup: 1.19.3 + rollup: 1.19.4 rollup-pluginutils: 2.8.1 source-map-resolve: 0.5.2 dev: false @@ -7813,11 +7844,11 @@ packages: rollup: '>=0.31.2' resolution: integrity: sha1-YhJaqUCHqt97g+9N+vYptHMTXoc= - /rollup-plugin-terser/5.1.1_rollup@1.19.3: + /rollup-plugin-terser/5.1.1_rollup@1.19.4: dependencies: '@babel/code-frame': 7.5.5 jest-worker: 24.6.0 - rollup: 1.19.3 + rollup: 1.19.4 rollup-pluginutils: 2.8.1 serialize-javascript: 1.7.0 terser: 4.1.3 @@ -7826,11 +7857,11 @@ packages: rollup: '>=0.66.0 <2' resolution: integrity: sha512-McIMCDEY8EU6Y839C09UopeRR56wXHGdvKKjlfiZG/GrP6wvZQ62u2ko/Xh1MNH2M9WDL+obAAHySljIZYCuPQ== - /rollup-plugin-uglify/6.0.2_rollup@1.19.3: + /rollup-plugin-uglify/6.0.2_rollup@1.19.4: dependencies: '@babel/code-frame': 7.5.5 jest-worker: 24.6.0 - rollup: 1.19.3 + rollup: 1.19.4 serialize-javascript: 1.7.0 uglify-js: 3.6.0 dev: false @@ -7838,12 +7869,12 @@ packages: rollup: '>=0.66.0 <2' resolution: integrity: sha512-qwz2Tryspn5QGtPUowq5oumKSxANKdrnfz7C0jm4lKxvRDsNe/hSGsB9FntUul7UeC4TsZEWKErVgE1qWSO0gw== - /rollup-plugin-visualizer/2.5.4_rollup@1.19.3: + /rollup-plugin-visualizer/2.5.4_rollup@1.19.4: dependencies: mkdirp: 0.5.1 open: 6.4.0 pupa: 2.0.1 - rollup: 1.19.3 + rollup: 1.19.4 source-map: 0.7.3 dev: false engines: @@ -7858,7 +7889,7 @@ packages: dev: false resolution: integrity: sha512-J5oAoysWar6GuZo0s+3bZ6sVZAC0pfqKz68De7ZgDi5z63jOVZn1uJL/+z1jeKHNbGII8kAyHF5q8LnxSX5lQg== - /rollup/1.19.3: + /rollup/1.19.4: dependencies: '@types/estree': 0.0.39 '@types/node': 12.7.0 @@ -7866,7 +7897,7 @@ packages: dev: false hasBin: true resolution: - integrity: sha512-+6VtYadkQEp6OTSa6ms1eAE/CYW+kD9rCd3fq4E2T3VaVqwTcY4vq0zBcB4nhQANnId+SwSpgCn4RFfOUAsWjQ== + integrity: sha512-G24w409GNj7i/Yam2cQla6qV2k6Nug8bD2DZg9v63QX/cH/dEdbNJg8H4lUm5M1bRpPKRUC465Rm9H51JTKOfQ== /run-async/2.3.0: dependencies: is-promise: 2.1.0 @@ -8451,12 +8482,12 @@ packages: dev: false resolution: integrity: sha512-n/ShnvDi6FHbbVfviro+WojiFzv+s8MPMHBczVePfUpDJLwoLT0ht1l4YwBCbi8pJAveEEdnkHyPyTP/mzRfwg== - /string_decoder/1.2.0: + /string_decoder/1.3.0: dependencies: - safe-buffer: 5.1.2 + safe-buffer: 5.2.0 dev: false resolution: - integrity: sha512-6YqyX6ZWEYguAxgZzHGL7SsCeGx3V2TtOTqZz1xSTSWnqsbWwbptafNyvf/ACquZUXV3DANr5BDIwNYe1mN42w== + integrity: sha512-hkRX8U1WjJFd8LsDJ2yQ/wWWxaopEsABU1XfkM8A+j0+85JAGppt16cr1Whg6KIbb4okU6Mql6BOj+uup/wKeA== /strip-ansi/3.0.1: dependencies: ansi-regex: 2.1.1 @@ -8883,7 +8914,7 @@ packages: dev: false resolution: integrity: sha512-qOebF53frne81cf0S9B41ByenJ3/IuH8yJKngAX35CmiZySA0khhkovshKK+jGCaMnVomla7gVlIcc3EvKPbTQ== - /tsutils/3.17.0_typescript@3.5.3: + /tsutils/3.17.1_typescript@3.5.3: dependencies: tslib: 1.10.0 typescript: 3.5.3 @@ -8893,7 +8924,7 @@ packages: peerDependencies: typescript: '>=2.8.0 || >= 3.2.0-dev || >= 3.3.0-dev || >= 3.4.0-dev || >= 3.5.0-dev || >= 3.6.0-dev || >= 3.6.0-beta || >= 3.7.0-dev || >= 3.7.0-beta' resolution: - integrity: sha512-fyveWOtAXfumAxIqkcMHuPaaVyLBKjB8Y00ANZkqh+HITBAQscCbQIHwwBTJdvQq7RykLEbOPcUUnJ16X4NA0g== + integrity: sha512-kzeQ5B8H3w60nFY2g8cJIuH7JDpsALXySGtwGJ0p2LSjLgay3NdIpqq5SoOBe46bKDW2iq25irHCr8wjomUS2g== /tty-browserify/0.0.0: dev: false resolution: @@ -9650,13 +9681,13 @@ packages: nyc: 14.1.1 prettier: 1.18.2 rimraf: 2.6.3 - rollup: 1.19.3 - rollup-plugin-commonjs: 10.0.2_rollup@1.19.3 + rollup: 1.19.4 + rollup-plugin-commonjs: 10.0.2_rollup@1.19.4 rollup-plugin-multi-entry: 2.1.0 - rollup-plugin-node-resolve: 5.2.0_rollup@1.19.3 + rollup-plugin-node-resolve: 5.2.0_rollup@1.19.4 rollup-plugin-replace: 2.2.0 - rollup-plugin-sourcemaps: 0.4.2_rollup@1.19.3 - rollup-plugin-terser: 5.1.1_rollup@1.19.3 + rollup-plugin-sourcemaps: 0.4.2_rollup@1.19.4 + rollup-plugin-terser: 5.1.1_rollup@1.19.4 ts-node: 8.3.0_typescript@3.5.3 tslib: 1.10.0 typescript: 3.5.3 @@ -9712,17 +9743,17 @@ packages: rhea: 1.0.8 rhea-promise: 1.0.0 rimraf: 2.6.3 - rollup: 1.19.3 - rollup-plugin-commonjs: 10.0.2_rollup@1.19.3 + rollup: 1.19.4 + rollup-plugin-commonjs: 10.0.2_rollup@1.19.4 rollup-plugin-inject: 3.0.1 rollup-plugin-json: 4.0.0 rollup-plugin-multi-entry: 2.1.0 rollup-plugin-node-globals: 1.4.0 - rollup-plugin-node-resolve: 5.2.0_rollup@1.19.3 + rollup-plugin-node-resolve: 5.2.0_rollup@1.19.4 rollup-plugin-replace: 2.2.0 rollup-plugin-shim: 1.0.0 - rollup-plugin-sourcemaps: 0.4.2_rollup@1.19.3 - rollup-plugin-terser: 5.1.1_rollup@1.19.3 + rollup-plugin-sourcemaps: 0.4.2_rollup@1.19.4 + rollup-plugin-terser: 5.1.1_rollup@1.19.4 sinon: 7.4.1 stream-browserify: 2.0.2 ts-node: 8.3.0_typescript@3.5.3 @@ -9739,6 +9770,7 @@ packages: version: 0.0.0 'file:projects/core-arm.tgz': dependencies: + '@azure/core-http': 1.0.0-preview.2 '@types/chai': 4.1.7 '@types/mocha': 5.2.7 '@types/node': 8.10.51 @@ -9757,10 +9789,10 @@ packages: npm-run-all: 4.1.5 nyc: 14.1.1 rimraf: 2.6.3 - rollup: 1.19.3 - rollup-plugin-node-resolve: 5.2.0_rollup@1.19.3 - rollup-plugin-sourcemaps: 0.4.2_rollup@1.19.3 - rollup-plugin-visualizer: 2.5.4_rollup@1.19.3 + rollup: 1.19.4 + rollup-plugin-node-resolve: 5.2.0_rollup@1.19.4 + rollup-plugin-sourcemaps: 0.4.2_rollup@1.19.4 + rollup-plugin-visualizer: 2.5.4_rollup@1.19.4 shx: 0.3.2 ts-node: 8.3.0_typescript@3.5.3 tslib: 1.10.0 @@ -9770,7 +9802,7 @@ packages: dev: false name: '@rush-temp/core-arm' resolution: - integrity: sha512-pyEiD37YlrRGFw/QdPkmVy1yOIEbpAp1shPzktFxYfuN/BWicVa+I62AF14J3DdqXkG4wsRaaUNIfrTCvMJNVQ== + integrity: sha512-zS4qSLcPPe/3Ngb8XWVfkuntVkN/f8c1gUYkXo+Wv/743A+OIJk+SopB3ImRY6jXLjyfjnsoX8w1Q2RM3guahQ== tarball: 'file:projects/core-arm.tgz' version: 0.0.0 'file:projects/core-asynciterator-polyfill.tgz': @@ -9814,15 +9846,15 @@ packages: mocha-multi: 1.1.0_mocha@5.2.0 prettier: 1.18.2 rimraf: 2.6.3 - rollup: 1.19.3 - rollup-plugin-commonjs: 10.0.2_rollup@1.19.3 + rollup: 1.19.4 + rollup-plugin-commonjs: 10.0.2_rollup@1.19.4 rollup-plugin-json: 4.0.0 rollup-plugin-multi-entry: 2.1.0 - rollup-plugin-node-resolve: 5.2.0_rollup@1.19.3 + rollup-plugin-node-resolve: 5.2.0_rollup@1.19.4 rollup-plugin-replace: 2.2.0 - rollup-plugin-sourcemaps: 0.4.2_rollup@1.19.3 - rollup-plugin-terser: 5.1.1_rollup@1.19.3 - rollup-plugin-visualizer: 2.5.4_rollup@1.19.3 + rollup-plugin-sourcemaps: 0.4.2_rollup@1.19.4 + rollup-plugin-terser: 5.1.1_rollup@1.19.4 + rollup-plugin-visualizer: 2.5.4_rollup@1.19.4 tslib: 1.10.0 typescript: 3.5.3 util: 0.12.1 @@ -9869,7 +9901,7 @@ packages: karma-chai: 0.1.0_chai@4.2.0+karma@4.2.0 karma-chrome-launcher: 3.0.0 karma-mocha: 1.3.0 - karma-rollup-preprocessor: 7.0.2_rollup@1.19.3 + karma-rollup-preprocessor: 7.0.2_rollup@1.19.4 karma-sourcemap-loader: 0.3.7 karma-typescript-es6-transform: 4.1.1 karma-webpack: 4.0.2_webpack@4.39.1 @@ -9882,15 +9914,15 @@ packages: process: 0.11.10 puppeteer: 1.19.0 rimraf: 2.6.3 - rollup: 1.19.3 + rollup: 1.19.4 rollup-plugin-alias: 1.5.2 - rollup-plugin-commonjs: 10.0.2_rollup@1.19.3 + rollup-plugin-commonjs: 10.0.2_rollup@1.19.4 rollup-plugin-json: 4.0.0 rollup-plugin-multi-entry: 2.1.0 - rollup-plugin-node-resolve: 5.2.0_rollup@1.19.3 + rollup-plugin-node-resolve: 5.2.0_rollup@1.19.4 rollup-plugin-resolve: 0.0.1-predev.1 - rollup-plugin-sourcemaps: 0.4.2_rollup@1.19.3 - rollup-plugin-visualizer: 2.5.4_rollup@1.19.3 + rollup-plugin-sourcemaps: 0.4.2_rollup@1.19.4 + rollup-plugin-visualizer: 2.5.4_rollup@1.19.4 semver: 5.7.0 shx: 0.3.2 sinon: 7.4.1 @@ -9955,15 +9987,15 @@ packages: mocha-multi: 1.1.0_mocha@5.2.0 prettier: 1.18.2 rimraf: 2.6.3 - rollup: 1.19.3 - rollup-plugin-commonjs: 10.0.2_rollup@1.19.3 + rollup: 1.19.4 + rollup-plugin-commonjs: 10.0.2_rollup@1.19.4 rollup-plugin-json: 4.0.0 rollup-plugin-multi-entry: 2.1.0 - rollup-plugin-node-resolve: 5.2.0_rollup@1.19.3 + rollup-plugin-node-resolve: 5.2.0_rollup@1.19.4 rollup-plugin-replace: 2.2.0 - rollup-plugin-sourcemaps: 0.4.2_rollup@1.19.3 - rollup-plugin-terser: 5.1.1_rollup@1.19.3 - rollup-plugin-visualizer: 2.5.4_rollup@1.19.3 + rollup-plugin-sourcemaps: 0.4.2_rollup@1.19.4 + rollup-plugin-terser: 5.1.1_rollup@1.19.4 + rollup-plugin-visualizer: 2.5.4_rollup@1.19.4 tslib: 1.10.0 typescript: 3.5.3 util: 0.12.1 @@ -10071,16 +10103,16 @@ packages: puppeteer: 1.19.0 rhea-promise: 1.0.0 rimraf: 2.6.3 - rollup: 1.19.3 - rollup-plugin-commonjs: 10.0.2_rollup@1.19.3 + rollup: 1.19.4 + rollup-plugin-commonjs: 10.0.2_rollup@1.19.4 rollup-plugin-inject: 3.0.1 rollup-plugin-json: 4.0.0 rollup-plugin-multi-entry: 2.1.0 - rollup-plugin-node-resolve: 5.2.0_rollup@1.19.3 + rollup-plugin-node-resolve: 5.2.0_rollup@1.19.4 rollup-plugin-replace: 2.2.0 rollup-plugin-shim: 1.0.0 - rollup-plugin-sourcemaps: 0.4.2_rollup@1.19.3 - rollup-plugin-terser: 5.1.1_rollup@1.19.3 + rollup-plugin-sourcemaps: 0.4.2_rollup@1.19.4 + rollup-plugin-terser: 5.1.1_rollup@1.19.4 ts-mocha: 6.0.0_mocha@5.2.0 ts-node: 8.3.0_typescript@3.5.3 tslib: 1.10.0 @@ -10132,14 +10164,14 @@ packages: path-browserify: 1.0.0 prettier: 1.18.2 rimraf: 2.6.3 - rollup: 1.19.3 - rollup-plugin-commonjs: 10.0.2_rollup@1.19.3 + rollup: 1.19.4 + rollup-plugin-commonjs: 10.0.2_rollup@1.19.4 rollup-plugin-json: 4.0.0 rollup-plugin-multi-entry: 2.1.0 - rollup-plugin-node-resolve: 5.2.0_rollup@1.19.3 + rollup-plugin-node-resolve: 5.2.0_rollup@1.19.4 rollup-plugin-replace: 2.2.0 - rollup-plugin-sourcemaps: 0.4.2_rollup@1.19.3 - rollup-plugin-uglify: 6.0.2_rollup@1.19.3 + rollup-plugin-sourcemaps: 0.4.2_rollup@1.19.4 + rollup-plugin-uglify: 6.0.2_rollup@1.19.4 ts-node: 8.3.0_typescript@3.5.3 tslib: 1.10.0 typescript: 3.5.3 @@ -10154,6 +10186,7 @@ packages: 'file:projects/identity.tgz': dependencies: '@azure/abort-controller': 1.0.0-preview.1 + '@azure/core-http': 1.0.0-preview.2 '@types/jws': 3.2.0 '@types/mocha': 5.2.7 '@types/node': 8.10.51 @@ -10185,15 +10218,15 @@ packages: puppeteer: 1.19.0 qs: 6.7.0 rimraf: 2.6.3 - rollup: 1.19.3 - rollup-plugin-commonjs: 10.0.2_rollup@1.19.3 + rollup: 1.19.4 + rollup-plugin-commonjs: 10.0.2_rollup@1.19.4 rollup-plugin-json: 4.0.0 rollup-plugin-multi-entry: 2.1.0 - rollup-plugin-node-resolve: 5.2.0_rollup@1.19.3 + rollup-plugin-node-resolve: 5.2.0_rollup@1.19.4 rollup-plugin-replace: 2.2.0 - rollup-plugin-sourcemaps: 0.4.2_rollup@1.19.3 - rollup-plugin-terser: 5.1.1_rollup@1.19.3 - rollup-plugin-visualizer: 2.5.4_rollup@1.19.3 + rollup-plugin-sourcemaps: 0.4.2_rollup@1.19.4 + rollup-plugin-terser: 5.1.1_rollup@1.19.4 + rollup-plugin-visualizer: 2.5.4_rollup@1.19.4 tslib: 1.10.0 typescript: 3.5.3 util: 0.12.1 @@ -10201,11 +10234,13 @@ packages: dev: false name: '@rush-temp/identity' resolution: - integrity: sha512-rPq+X0EvzWqNt1MOyk7X2ETCY+yaXZMes2nbUN88dOOIT5YLa7AVZU5+cyueLjEugUy7pSLyK7OeFLc0E1wO3w== + integrity: sha512-ooaU/oS0hxlRosg7mxEycsdl1Wv7CLVd0Bvg3MUWILF+uwzSe9iePFj7e0vgVmt4QYXIOokcl/5T+iai04UiDQ== tarball: 'file:projects/identity.tgz' version: 0.0.0 'file:projects/keyvault-certificates.tgz': dependencies: + '@azure/core-arm': 1.0.0-preview.2 + '@azure/core-http': 1.0.0-preview.2 '@microsoft/api-extractor': 7.3.5 '@types/chai': 4.1.7 '@types/node': 8.10.51 @@ -10220,9 +10255,9 @@ packages: eslint-plugin-promise: 4.2.1 prettier: 1.18.2 rimraf: 2.6.3 - rollup: 1.19.3 - rollup-plugin-commonjs: 10.0.2_rollup@1.19.3 - rollup-plugin-node-resolve: 5.2.0_rollup@1.19.3 + rollup: 1.19.4 + rollup-plugin-commonjs: 10.0.2_rollup@1.19.4 + rollup-plugin-node-resolve: 5.2.0_rollup@1.19.4 tslib: 1.10.0 typescript: 3.5.3 uglify-js: 3.6.0 @@ -10230,13 +10265,16 @@ packages: dev: false name: '@rush-temp/keyvault-certificates' resolution: - integrity: sha512-chpyZ7ntkMyiVzN6BTFCdw/mzSpZj8O8Gi4JznOkO7bBOQzgBLmVIQ/pwJqUoJg8YUnfqNZMV/xqJD6Irkjl1w== + integrity: sha512-fvdm0x/jZa2NjdhHc3T54qZdSCXT/f1OTIocofIIITxlh3/KnPbsrEN0NA6hMuEd5OQRjIu8XCzLeKMnMMjq+A== tarball: 'file:projects/keyvault-certificates.tgz' version: 0.0.0 'file:projects/keyvault-keys.tgz': dependencies: '@azure/abort-controller': 1.0.0-preview.1 + '@azure/core-arm': 1.0.0-preview.2 + '@azure/core-http': 1.0.0-preview.2 '@azure/core-paging': 1.0.0-preview.1 + '@azure/core-tracing': 1.0.0-preview.1 '@microsoft/api-extractor': 7.3.5 '@trust/keyto': 0.3.7 '@types/chai': 4.1.7 @@ -10283,15 +10321,15 @@ packages: puppeteer: 1.19.0 query-string: 5.1.1 rimraf: 2.6.3 - rollup: 1.19.3 - rollup-plugin-commonjs: 10.0.2_rollup@1.19.3 + rollup: 1.19.4 + rollup-plugin-commonjs: 10.0.2_rollup@1.19.4 rollup-plugin-multi-entry: 2.1.0 - rollup-plugin-node-resolve: 5.2.0_rollup@1.19.3 + rollup-plugin-node-resolve: 5.2.0_rollup@1.19.4 rollup-plugin-replace: 2.2.0 rollup-plugin-shim: 1.0.0 - rollup-plugin-sourcemaps: 0.4.2_rollup@1.19.3 - rollup-plugin-terser: 5.1.1_rollup@1.19.3 - rollup-plugin-visualizer: 2.5.4_rollup@1.19.3 + rollup-plugin-sourcemaps: 0.4.2_rollup@1.19.4 + rollup-plugin-terser: 5.1.1_rollup@1.19.4 + rollup-plugin-visualizer: 2.5.4_rollup@1.19.4 source-map-support: 0.5.13 tslib: 1.10.0 typescript: 3.5.3 @@ -10300,12 +10338,14 @@ packages: dev: false name: '@rush-temp/keyvault-keys' resolution: - integrity: sha512-evoClvMDBejPNJSHETo18rYrOn1rF768A8wuVbtiKONS4njvF6JrYFytxBuuH/bsHK15WiKzabTYcfwfnbchKQ== + integrity: sha512-NrVNw2RB6a2DCcccvimYt7KuOveFUpDnIkY9QjoZyprz25DwiFXHMvMR4/Wv7Wb8j0fZSVcouXVsxl7ZaS4rYQ== tarball: 'file:projects/keyvault-keys.tgz' version: 0.0.0 'file:projects/keyvault-secrets.tgz': dependencies: '@azure/abort-controller': 1.0.0-preview.1 + '@azure/core-arm': 1.0.0-preview.2 + '@azure/core-http': 1.0.0-preview.2 '@azure/core-paging': 1.0.0-preview.1 '@microsoft/api-extractor': 7.3.5 '@types/chai': 4.1.7 @@ -10352,15 +10392,15 @@ packages: puppeteer: 1.19.0 query-string: 5.1.1 rimraf: 2.6.3 - rollup: 1.19.3 - rollup-plugin-commonjs: 10.0.2_rollup@1.19.3 + rollup: 1.19.4 + rollup-plugin-commonjs: 10.0.2_rollup@1.19.4 rollup-plugin-multi-entry: 2.1.0 - rollup-plugin-node-resolve: 5.2.0_rollup@1.19.3 + rollup-plugin-node-resolve: 5.2.0_rollup@1.19.4 rollup-plugin-replace: 2.2.0 rollup-plugin-shim: 1.0.0 - rollup-plugin-sourcemaps: 0.4.2_rollup@1.19.3 - rollup-plugin-terser: 5.1.1_rollup@1.19.3 - rollup-plugin-visualizer: 2.5.4_rollup@1.19.3 + rollup-plugin-sourcemaps: 0.4.2_rollup@1.19.4 + rollup-plugin-terser: 5.1.1_rollup@1.19.4 + rollup-plugin-visualizer: 2.5.4_rollup@1.19.4 source-map-support: 0.5.13 tslib: 1.10.0 typescript: 3.5.3 @@ -10369,7 +10409,7 @@ packages: dev: false name: '@rush-temp/keyvault-secrets' resolution: - integrity: sha512-a/Il5P+9dNOUYtFC0EB5PZIhy5LouW+8oqc+uBvwlIKAA/NzUVTy5ZjkMskqiH5aMleJeV4ZMYOSBigU8O8e7Q== + integrity: sha512-x1BkPE5NV5dqU/vfyhq+A79QdpqVD0p7WPMd3lI+tjl7i1GYSjzTBJa5MKU/aXDB85G2KaLoYsdAbT9t9Ca10g== tarball: 'file:projects/keyvault-secrets.tgz' version: 0.0.0 'file:projects/service-bus.tgz': @@ -10430,16 +10470,16 @@ packages: rhea: 1.0.8 rhea-promise: 0.1.15 rimraf: 2.6.3 - rollup: 1.19.3 - rollup-plugin-commonjs: 10.0.2_rollup@1.19.3 + rollup: 1.19.4 + rollup-plugin-commonjs: 10.0.2_rollup@1.19.4 rollup-plugin-inject: 3.0.1 rollup-plugin-json: 4.0.0 rollup-plugin-multi-entry: 2.1.0 - rollup-plugin-node-resolve: 5.2.0_rollup@1.19.3 + rollup-plugin-node-resolve: 5.2.0_rollup@1.19.4 rollup-plugin-replace: 2.2.0 rollup-plugin-shim: 1.0.0 - rollup-plugin-sourcemaps: 0.4.2_rollup@1.19.3 - rollup-plugin-terser: 5.1.1_rollup@1.19.3 + rollup-plugin-sourcemaps: 0.4.2_rollup@1.19.4 + rollup-plugin-terser: 5.1.1_rollup@1.19.4 ts-node: 8.3.0_typescript@3.5.3 tslib: 1.10.0 typescript: 3.5.3 @@ -10501,15 +10541,15 @@ packages: puppeteer: 1.19.0 query-string: 5.1.1 rimraf: 2.6.3 - rollup: 1.19.3 - rollup-plugin-commonjs: 10.0.2_rollup@1.19.3 + rollup: 1.19.4 + rollup-plugin-commonjs: 10.0.2_rollup@1.19.4 rollup-plugin-multi-entry: 2.1.0 - rollup-plugin-node-resolve: 5.2.0_rollup@1.19.3 + rollup-plugin-node-resolve: 5.2.0_rollup@1.19.4 rollup-plugin-replace: 2.2.0 rollup-plugin-shim: 1.0.0 - rollup-plugin-sourcemaps: 0.4.2_rollup@1.19.3 - rollup-plugin-terser: 5.1.1_rollup@1.19.3 - rollup-plugin-visualizer: 2.5.4_rollup@1.19.3 + rollup-plugin-sourcemaps: 0.4.2_rollup@1.19.4 + rollup-plugin-terser: 5.1.1_rollup@1.19.4 + rollup-plugin-visualizer: 2.5.4_rollup@1.19.4 source-map-support: 0.5.13 ts-node: 8.3.0_typescript@3.5.3 tslib: 1.10.0 @@ -10572,15 +10612,15 @@ packages: puppeteer: 1.19.0 query-string: 5.1.1 rimraf: 2.6.3 - rollup: 1.19.3 - rollup-plugin-commonjs: 10.0.2_rollup@1.19.3 + rollup: 1.19.4 + rollup-plugin-commonjs: 10.0.2_rollup@1.19.4 rollup-plugin-multi-entry: 2.1.0 - rollup-plugin-node-resolve: 5.2.0_rollup@1.19.3 + rollup-plugin-node-resolve: 5.2.0_rollup@1.19.4 rollup-plugin-replace: 2.2.0 rollup-plugin-shim: 1.0.0 - rollup-plugin-sourcemaps: 0.4.2_rollup@1.19.3 - rollup-plugin-terser: 5.1.1_rollup@1.19.3 - rollup-plugin-visualizer: 2.5.4_rollup@1.19.3 + rollup-plugin-sourcemaps: 0.4.2_rollup@1.19.4 + rollup-plugin-terser: 5.1.1_rollup@1.19.4 + rollup-plugin-visualizer: 2.5.4_rollup@1.19.4 source-map-support: 0.5.13 ts-node: 8.3.0_typescript@3.5.3 tslib: 1.10.0 @@ -10642,15 +10682,15 @@ packages: puppeteer: 1.19.0 query-string: 5.1.1 rimraf: 2.6.3 - rollup: 1.19.3 - rollup-plugin-commonjs: 10.0.2_rollup@1.19.3 + rollup: 1.19.4 + rollup-plugin-commonjs: 10.0.2_rollup@1.19.4 rollup-plugin-multi-entry: 2.1.0 - rollup-plugin-node-resolve: 5.2.0_rollup@1.19.3 + rollup-plugin-node-resolve: 5.2.0_rollup@1.19.4 rollup-plugin-replace: 2.2.0 rollup-plugin-shim: 1.0.0 - rollup-plugin-sourcemaps: 0.4.2_rollup@1.19.3 - rollup-plugin-terser: 5.1.1_rollup@1.19.3 - rollup-plugin-visualizer: 2.5.4_rollup@1.19.3 + rollup-plugin-sourcemaps: 0.4.2_rollup@1.19.4 + rollup-plugin-terser: 5.1.1_rollup@1.19.4 + rollup-plugin-visualizer: 2.5.4_rollup@1.19.4 source-map-support: 0.5.13 ts-node: 8.3.0_typescript@3.5.3 tslib: 1.10.0 @@ -10664,6 +10704,7 @@ packages: version: 0.0.0 'file:projects/template.tgz': dependencies: + '@azure/core-http': 1.0.0-preview.2 '@microsoft/api-extractor': 7.3.5 '@types/mocha': 5.2.7 '@types/node': 8.10.51 @@ -10695,22 +10736,22 @@ packages: mocha-multi: 1.1.0_mocha@5.2.0 prettier: 1.18.2 rimraf: 2.6.3 - rollup: 1.19.3 - rollup-plugin-commonjs: 10.0.2_rollup@1.19.3 + rollup: 1.19.4 + rollup-plugin-commonjs: 10.0.2_rollup@1.19.4 rollup-plugin-json: 4.0.0 rollup-plugin-multi-entry: 2.1.0 - rollup-plugin-node-resolve: 5.2.0_rollup@1.19.3 + rollup-plugin-node-resolve: 5.2.0_rollup@1.19.4 rollup-plugin-replace: 2.2.0 - rollup-plugin-sourcemaps: 0.4.2_rollup@1.19.3 - rollup-plugin-terser: 5.1.1_rollup@1.19.3 - rollup-plugin-visualizer: 2.5.4_rollup@1.19.3 + rollup-plugin-sourcemaps: 0.4.2_rollup@1.19.4 + rollup-plugin-terser: 5.1.1_rollup@1.19.4 + rollup-plugin-visualizer: 2.5.4_rollup@1.19.4 tslib: 1.10.0 typescript: 3.5.3 util: 0.12.1 dev: false name: '@rush-temp/template' resolution: - integrity: sha512-MxtFJnVO6Nw4g+5rIx/QWGh/+i5iimaZLDDEisDKv4PY/K8OfoV4Z/dZikDd22rhLUIoT4+yRizXbKtLM7zLxg== + integrity: sha512-AMpPTEkUgSl26Ex8ssFDn2Ta7mAMlev/lR8OY/ExGmiZsPxICKmcnCozgxYmqaHSO//W21/x1Xa0rzIpjGKW3Q== tarball: 'file:projects/template.tgz' version: 0.0.0 'file:projects/testhub.tgz': @@ -10738,9 +10779,12 @@ specifiers: '@azure/abort-controller': 1.0.0-preview.1 '@azure/amqp-common': 1.0.0-preview.6 '@azure/arm-servicebus': ^3.2.0 + '@azure/core-arm': 1.0.0-preview.2 '@azure/core-asynciterator-polyfill': 1.0.0-preview.1 '@azure/core-auth': 1.0.0-preview.2 + '@azure/core-http': 1.0.0-preview.2 '@azure/core-paging': 1.0.0-preview.1 + '@azure/core-tracing': 1.0.0-preview.1 '@azure/event-hubs': ^2.1.1 '@azure/logger-js': ^1.0.2 '@azure/ms-rest-js': ^2.0.0 diff --git a/sdk/core/core-arm/package.json b/sdk/core/core-arm/package.json index fdcba38f0bbf..49698721a5cd 100644 --- a/sdk/core/core-arm/package.json +++ b/sdk/core/core-arm/package.json @@ -6,7 +6,7 @@ "url": "https://github.com/Azure/azure-sdk-for-js" }, "sdk-type": "client", - "version": "1.0.0-preview.2", + "version": "1.0.0-preview.3", "description": "Isomorphic Azure client runtime for Typescript/node.js/browser javascript client libraries generated using AutoRest", "tags": [ "isomorphic", diff --git a/sdk/core/core-http/package.json b/sdk/core/core-http/package.json index db48dff0ef84..9851b682a7a1 100644 --- a/sdk/core/core-http/package.json +++ b/sdk/core/core-http/package.json @@ -6,7 +6,7 @@ "email": "azsdkteam@microsoft.com", "url": "https://github.com/Azure/azure-sdk-for-js" }, - "version": "1.0.0-preview.2", + "version": "1.0.0-preview.3", "description": "Isomorphic client Runtime for Typescript/node.js/browser javascript client libraries generated using AutoRest", "tags": [ "isomorphic", diff --git a/sdk/core/core-tracing/package.json b/sdk/core/core-tracing/package.json index a60918077b51..ebc448ce7c22 100644 --- a/sdk/core/core-tracing/package.json +++ b/sdk/core/core-tracing/package.json @@ -1,6 +1,6 @@ { "name": "@azure/core-tracing", - "version": "1.0.0-preview.1", + "version": "1.0.0-preview.2", "description": "Provides low-level interfaces and helper methods for tracing in Azure SDK", "sdk-type": "client", "main": "dist/index.js", From 07da49c1f24190c862365fd3093fc63b4d1df265 Mon Sep 17 00:00:00 2001 From: Zhiqing Qiu Date: Thu, 8 Aug 2019 12:41:39 +0800 Subject: [PATCH 06/16] generate apimanagement mgmt plane package (#4702) * generate apimanagement mgmt plane package * bump minor version * bump patch version --- sdk/apimanagement/arm-apimanagement/README.md | 2 + .../arm-apimanagement/package.json | 8 +- .../arm-apimanagement/src/models/index.ts | 78 ++++++++++++++++--- .../src/models/parameters.ts | 18 ++--- 4 files changed, 78 insertions(+), 28 deletions(-) diff --git a/sdk/apimanagement/arm-apimanagement/README.md b/sdk/apimanagement/arm-apimanagement/README.md index 862f3d10a47b..9745441bb19d 100644 --- a/sdk/apimanagement/arm-apimanagement/README.md +++ b/sdk/apimanagement/arm-apimanagement/README.md @@ -108,3 +108,5 @@ See https://github.com/Azure/ms-rest-browserauth to learn how to authenticate to ## Related projects - [Microsoft Azure SDK for Javascript](https://github.com/Azure/azure-sdk-for-js) + +![Impressions](https://azure-sdk-impressions.azurewebsites.net/api/impressions/azure-sdk-for-js/sdk/apimanagement/arm-apimanagement/README.png) diff --git a/sdk/apimanagement/arm-apimanagement/package.json b/sdk/apimanagement/arm-apimanagement/package.json index 3dc6a1e94b14..ce5065797769 100644 --- a/sdk/apimanagement/arm-apimanagement/package.json +++ b/sdk/apimanagement/arm-apimanagement/package.json @@ -2,7 +2,7 @@ "name": "@azure/arm-apimanagement", "author": "Microsoft Corporation", "description": "ApiManagementClient Library with typescript type definitions for node.js and browser.", - "version": "5.1.0", + "version": "5.1.1", "dependencies": { "@azure/ms-rest-azure-js": "^1.3.2", "@azure/ms-rest-js": "^1.8.1", @@ -26,13 +26,13 @@ "rollup-plugin-sourcemaps": "^0.4.2", "uglify-js": "^3.4.9" }, - "homepage": "https://github.com/azure/azure-sdk-for-js", + "homepage": "https://github.com/Azure/azure-sdk-for-js/tree/master/sdk/apimanagement/arm-apimanagement", "repository": { "type": "git", - "url": "https://github.com/azure/azure-sdk-for-js.git" + "url": "https://github.com/Azure/azure-sdk-for-js.git" }, "bugs": { - "url": "https://github.com/azure/azure-sdk-for-js/issues" + "url": "https://github.com/Azure/azure-sdk-for-js/issues" }, "files": [ "dist/**/*.js", diff --git a/sdk/apimanagement/arm-apimanagement/src/models/index.ts b/sdk/apimanagement/arm-apimanagement/src/models/index.ts index f91afeb3611d..670bb7eeb4b8 100644 --- a/sdk/apimanagement/arm-apimanagement/src/models/index.ts +++ b/sdk/apimanagement/arm-apimanagement/src/models/index.ts @@ -2355,13 +2355,31 @@ export interface ApiManagementServiceBaseProperties { */ additionalLocations?: AdditionalLocation[]; /** - * Custom properties of the API Management service. Setting + * Custom properties of the API Management service.
Setting * `Microsoft.WindowsAzure.ApiManagement.Gateway.Security.Ciphers.TripleDes168` will disable the - * cipher TLS_RSA_WITH_3DES_EDE_CBC_SHA for all TLS(1.0, 1.1 and 1.2). Setting + * cipher TLS_RSA_WITH_3DES_EDE_CBC_SHA for all TLS(1.0, 1.1 and 1.2).
Setting * `Microsoft.WindowsAzure.ApiManagement.Gateway.Security.Protocols.Tls11` can be used to disable - * just TLS 1.1 and setting + * just TLS 1.1.
Setting * `Microsoft.WindowsAzure.ApiManagement.Gateway.Security.Protocols.Tls10` can be used to disable - * TLS 1.0 on an API Management service. + * TLS 1.0 on an API Management service.
Setting + * `Microsoft.WindowsAzure.ApiManagement.Gateway.Security.Backend.Protocols.Tls11` can be used to + * disable just TLS 1.1 for communications with backends.
Setting + * `Microsoft.WindowsAzure.ApiManagement.Gateway.Security.Backend.Protocols.Tls10` can be used to + * disable TLS 1.0 for communications with backends.
Setting + * `Microsoft.WindowsAzure.ApiManagement.Gateway.Protocols.Server.Http2` can be used to enable + * HTTP2 protocol on an API Management service.
Not specifying any of these properties on + * PATCH operation will reset omitted properties' values to their defaults. For all the settings + * except Http2 the default value is `True` if the service was created on or before April 1st + * 2018 and `False` otherwise. Http2 setting's default value is `False`.

You can disable + * any of next ciphers by using settings + * `Microsoft.WindowsAzure.ApiManagement.Gateway.Security.Ciphers.[cipher_name]`: + * TLS_ECDHE_ECDSA_WITH_AES_256_CBC_SHA, TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA, + * TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA, TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA, + * TLS_RSA_WITH_AES_128_GCM_SHA256, TLS_RSA_WITH_AES_256_CBC_SHA256, + * TLS_RSA_WITH_AES_128_CBC_SHA256, TLS_RSA_WITH_AES_256_CBC_SHA, TLS_RSA_WITH_AES_128_CBC_SHA. + * For example, + * `Microsoft.WindowsAzure.ApiManagement.Gateway.Security.Ciphers.TLS_RSA_WITH_AES_128_CBC_SHA256`:`false`. + * The default value is `true` for them. */ customProperties?: { [propertyName: string]: string }; /** @@ -2505,13 +2523,31 @@ export interface ApiManagementServiceResource extends ApimResource { */ additionalLocations?: AdditionalLocation[]; /** - * Custom properties of the API Management service. Setting + * Custom properties of the API Management service.
Setting * `Microsoft.WindowsAzure.ApiManagement.Gateway.Security.Ciphers.TripleDes168` will disable the - * cipher TLS_RSA_WITH_3DES_EDE_CBC_SHA for all TLS(1.0, 1.1 and 1.2). Setting + * cipher TLS_RSA_WITH_3DES_EDE_CBC_SHA for all TLS(1.0, 1.1 and 1.2).
Setting * `Microsoft.WindowsAzure.ApiManagement.Gateway.Security.Protocols.Tls11` can be used to disable - * just TLS 1.1 and setting + * just TLS 1.1.
Setting * `Microsoft.WindowsAzure.ApiManagement.Gateway.Security.Protocols.Tls10` can be used to disable - * TLS 1.0 on an API Management service. + * TLS 1.0 on an API Management service.
Setting + * `Microsoft.WindowsAzure.ApiManagement.Gateway.Security.Backend.Protocols.Tls11` can be used to + * disable just TLS 1.1 for communications with backends.
Setting + * `Microsoft.WindowsAzure.ApiManagement.Gateway.Security.Backend.Protocols.Tls10` can be used to + * disable TLS 1.0 for communications with backends.
Setting + * `Microsoft.WindowsAzure.ApiManagement.Gateway.Protocols.Server.Http2` can be used to enable + * HTTP2 protocol on an API Management service.
Not specifying any of these properties on + * PATCH operation will reset omitted properties' values to their defaults. For all the settings + * except Http2 the default value is `True` if the service was created on or before April 1st + * 2018 and `False` otherwise. Http2 setting's default value is `False`.

You can disable + * any of next ciphers by using settings + * `Microsoft.WindowsAzure.ApiManagement.Gateway.Security.Ciphers.[cipher_name]`: + * TLS_ECDHE_ECDSA_WITH_AES_256_CBC_SHA, TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA, + * TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA, TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA, + * TLS_RSA_WITH_AES_128_GCM_SHA256, TLS_RSA_WITH_AES_256_CBC_SHA256, + * TLS_RSA_WITH_AES_128_CBC_SHA256, TLS_RSA_WITH_AES_256_CBC_SHA, TLS_RSA_WITH_AES_128_CBC_SHA. + * For example, + * `Microsoft.WindowsAzure.ApiManagement.Gateway.Security.Ciphers.TLS_RSA_WITH_AES_128_CBC_SHA256`:`false`. + * The default value is `true` for them. */ customProperties?: { [propertyName: string]: string }; /** @@ -2639,13 +2675,31 @@ export interface ApiManagementServiceUpdateParameters extends ApimResource { */ additionalLocations?: AdditionalLocation[]; /** - * Custom properties of the API Management service. Setting + * Custom properties of the API Management service.
Setting * `Microsoft.WindowsAzure.ApiManagement.Gateway.Security.Ciphers.TripleDes168` will disable the - * cipher TLS_RSA_WITH_3DES_EDE_CBC_SHA for all TLS(1.0, 1.1 and 1.2). Setting + * cipher TLS_RSA_WITH_3DES_EDE_CBC_SHA for all TLS(1.0, 1.1 and 1.2).
Setting * `Microsoft.WindowsAzure.ApiManagement.Gateway.Security.Protocols.Tls11` can be used to disable - * just TLS 1.1 and setting + * just TLS 1.1.
Setting * `Microsoft.WindowsAzure.ApiManagement.Gateway.Security.Protocols.Tls10` can be used to disable - * TLS 1.0 on an API Management service. + * TLS 1.0 on an API Management service.
Setting + * `Microsoft.WindowsAzure.ApiManagement.Gateway.Security.Backend.Protocols.Tls11` can be used to + * disable just TLS 1.1 for communications with backends.
Setting + * `Microsoft.WindowsAzure.ApiManagement.Gateway.Security.Backend.Protocols.Tls10` can be used to + * disable TLS 1.0 for communications with backends.
Setting + * `Microsoft.WindowsAzure.ApiManagement.Gateway.Protocols.Server.Http2` can be used to enable + * HTTP2 protocol on an API Management service.
Not specifying any of these properties on + * PATCH operation will reset omitted properties' values to their defaults. For all the settings + * except Http2 the default value is `True` if the service was created on or before April 1st + * 2018 and `False` otherwise. Http2 setting's default value is `False`.

You can disable + * any of next ciphers by using settings + * `Microsoft.WindowsAzure.ApiManagement.Gateway.Security.Ciphers.[cipher_name]`: + * TLS_ECDHE_ECDSA_WITH_AES_256_CBC_SHA, TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA, + * TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA, TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA, + * TLS_RSA_WITH_AES_128_GCM_SHA256, TLS_RSA_WITH_AES_256_CBC_SHA256, + * TLS_RSA_WITH_AES_128_CBC_SHA256, TLS_RSA_WITH_AES_256_CBC_SHA, TLS_RSA_WITH_AES_128_CBC_SHA. + * For example, + * `Microsoft.WindowsAzure.ApiManagement.Gateway.Security.Ciphers.TLS_RSA_WITH_AES_128_CBC_SHA256`:`false`. + * The default value is `true` for them. */ customProperties?: { [propertyName: string]: string }; /** diff --git a/sdk/apimanagement/arm-apimanagement/src/models/parameters.ts b/sdk/apimanagement/arm-apimanagement/src/models/parameters.ts index b300ade09092..ecefc49f61d1 100644 --- a/sdk/apimanagement/arm-apimanagement/src/models/parameters.ts +++ b/sdk/apimanagement/arm-apimanagement/src/models/parameters.ts @@ -54,8 +54,7 @@ export const apiId1: msRest.OperationURLParameter = { serializedName: "apiId", constraints: { MaxLength: 80, - MinLength: 1, - Pattern: /^[^*#&+:<>?]+$/ + MinLength: 1 }, type: { name: "String" @@ -109,8 +108,7 @@ export const backendId: msRest.OperationURLParameter = { serializedName: "backendId", constraints: { MaxLength: 80, - MinLength: 1, - Pattern: /^[^*#&+:<>?]+$/ + MinLength: 1 }, type: { name: "String" @@ -335,8 +333,7 @@ export const groupId: msRest.OperationURLParameter = { serializedName: "groupId", constraints: { MaxLength: 256, - MinLength: 1, - Pattern: /^[^*#&+:<>?]+$/ + MinLength: 1 }, type: { name: "String" @@ -503,8 +500,7 @@ export const operationId: msRest.OperationURLParameter = { serializedName: "operationId", constraints: { MaxLength: 80, - MinLength: 1, - Pattern: /^[^*#&+:<>?]+$/ + MinLength: 1 }, type: { name: "String" @@ -556,8 +552,7 @@ export const productId: msRest.OperationURLParameter = { serializedName: "productId", constraints: { MaxLength: 256, - MinLength: 1, - Pattern: /^[^*#&+:<>?]+$/ + MinLength: 1 }, type: { name: "String" @@ -782,8 +777,7 @@ export const userId: msRest.OperationURLParameter = { serializedName: "userId", constraints: { MaxLength: 80, - MinLength: 1, - Pattern: /^[^*#&+:<>?]+$/ + MinLength: 1 }, type: { name: "String" From f07fd8638445a9f77603246c3964df2e92d6b140 Mon Sep 17 00:00:00 2001 From: Zhiqing Qiu Date: Thu, 8 Aug 2019 12:42:13 +0800 Subject: [PATCH 07/16] generate hdinsight mgmt plane package (#4703) * generate hdinsight mgmt plane package * bump minor version --- sdk/hdinsight/arm-hdinsight/package.json | 2 +- .../src/models/applicationsMappers.ts | 5 + .../src/models/clustersMappers.ts | 5 + .../arm-hdinsight/src/models/index.ts | 399 +++++++++- .../src/models/locationsMappers.ts | 15 +- .../arm-hdinsight/src/models/mappers.ts | 689 ++++++++++++++++++ .../arm-hdinsight/src/operations/locations.ts | 110 ++- 7 files changed, 1219 insertions(+), 6 deletions(-) diff --git a/sdk/hdinsight/arm-hdinsight/package.json b/sdk/hdinsight/arm-hdinsight/package.json index 0a8c63e3cfb4..f688990fe903 100644 --- a/sdk/hdinsight/arm-hdinsight/package.json +++ b/sdk/hdinsight/arm-hdinsight/package.json @@ -2,7 +2,7 @@ "name": "@azure/arm-hdinsight", "author": "Microsoft Corporation", "description": "HDInsightManagementClient Library with typescript type definitions for node.js and browser.", - "version": "0.14.0", + "version": "0.15.0", "dependencies": { "@azure/ms-rest-azure-js": "^1.3.2", "@azure/ms-rest-js": "^1.8.1", diff --git a/sdk/hdinsight/arm-hdinsight/src/models/applicationsMappers.ts b/sdk/hdinsight/arm-hdinsight/src/models/applicationsMappers.ts index 9e4d011634ff..abef6ef057e7 100644 --- a/sdk/hdinsight/arm-hdinsight/src/models/applicationsMappers.ts +++ b/sdk/hdinsight/arm-hdinsight/src/models/applicationsMappers.ts @@ -12,6 +12,11 @@ export { ApplicationGetHttpsEndpoint, ApplicationListResult, ApplicationProperties, + Autoscale, + AutoscaleCapacity, + AutoscaleRecurrence, + AutoscaleSchedule, + AutoscaleTimeAndCapacity, BaseResource, Cluster, ClusterDefinition, diff --git a/sdk/hdinsight/arm-hdinsight/src/models/clustersMappers.ts b/sdk/hdinsight/arm-hdinsight/src/models/clustersMappers.ts index 5a79d1d53c27..94986db631b3 100644 --- a/sdk/hdinsight/arm-hdinsight/src/models/clustersMappers.ts +++ b/sdk/hdinsight/arm-hdinsight/src/models/clustersMappers.ts @@ -11,6 +11,11 @@ export { ApplicationGetEndpoint, ApplicationGetHttpsEndpoint, ApplicationProperties, + Autoscale, + AutoscaleCapacity, + AutoscaleRecurrence, + AutoscaleSchedule, + AutoscaleTimeAndCapacity, BaseResource, Cluster, ClusterCreateParametersExtended, diff --git a/sdk/hdinsight/arm-hdinsight/src/models/index.ts b/sdk/hdinsight/arm-hdinsight/src/models/index.ts index 02328c2995da..93a988e3179c 100644 --- a/sdk/hdinsight/arm-hdinsight/src/models/index.ts +++ b/sdk/hdinsight/arm-hdinsight/src/models/index.ts @@ -76,6 +76,81 @@ export interface SecurityProfile { msiResourceId?: string; } +/** + * Time and capacity request parameters + */ +export interface AutoscaleTimeAndCapacity { + /** + * 24-hour time in the form xx:xx + */ + time?: string; + /** + * The minimum instance count of the cluster + */ + minInstanceCount?: number; + /** + * The maximum instance count of the cluster + */ + maxInstanceCount?: number; +} + +/** + * Parameters for a schedule-based autoscale rule, consisting of an array of days + a time and + * capacity + */ +export interface AutoscaleSchedule { + /** + * Days of the week for a schedule-based autoscale rule + */ + days?: DaysOfWeek[]; + /** + * Time and capacity for a schedule-based autoscale rule + */ + timeAndCapacity?: AutoscaleTimeAndCapacity; +} + +/** + * The load-based autoscale request parameters + */ +export interface AutoscaleCapacity { + /** + * The minimum instance count of the cluster + */ + minInstanceCount?: number; + /** + * The maximum instance count of the cluster + */ + maxInstanceCount?: number; +} + +/** + * Schedule-based autoscale request parameters + */ +export interface AutoscaleRecurrence { + /** + * The time zone for the autoscale schedule times + */ + timeZone?: string; + /** + * Array of schedule-based autoscale rules + */ + schedule?: AutoscaleSchedule[]; +} + +/** + * The autoscale request parameters + */ +export interface Autoscale { + /** + * Parameters for load-based autoscale + */ + capacity?: AutoscaleCapacity; + /** + * Parameters for schedule-based autoscale + */ + recurrence?: AutoscaleRecurrence; +} + /** * The hardware profile. */ @@ -202,6 +277,10 @@ export interface Role { * The instance count of the cluster. */ targetInstanceCount?: number; + /** + * The autoscale configurations. + */ + autoscaleConfiguration?: Autoscale; /** * The hardware profile. */ @@ -833,7 +912,7 @@ export interface ApplicationGetHttpsEndpoint { */ publicPort?: number; /** - * The subDomainSuffix of the application. + * The subdomain suffix of the application. */ subDomainSuffix?: string; /** @@ -932,6 +1011,154 @@ export interface Application extends ProxyResource { properties?: ApplicationProperties; } +/** + * The version properties. + */ +export interface VersionSpec { + /** + * The friendly name + */ + friendlyName?: string; + /** + * The display name + */ + displayName?: string; + /** + * Whether or not the version is the default version. + */ + isDefault?: string; + /** + * The component version property. + */ + componentVersions?: { [propertyName: string]: string }; +} + +/** + * The version capability. + */ +export interface VersionsCapability { + /** + * The list of version capabilities. + */ + available?: VersionSpec[]; +} + +/** + * The regions capability. + */ +export interface RegionsCapability { + /** + * The list of region capabilities. + */ + available?: string[]; +} + +/** + * The virtual machine sizes capability. + */ +export interface VmSizesCapability { + /** + * The list of virtual machine size capabilities. + */ + available?: string[]; +} + +/** + * The virtual machine type compatibility filter. + */ +export interface VmSizeCompatibilityFilter { + /** + * The mode for the filter. + */ + filterMode?: string; + /** + * The list of regions. + */ + regions?: string[]; + /** + * The list of cluster types available. + */ + clusterFlavors?: string[]; + /** + * The list of node types. + */ + nodeTypes?: string[]; + /** + * The list of cluster versions. + */ + clusterVersions?: string[]; + /** + * The list of virtual machine sizes. + */ + vmsizes?: string[]; +} + +/** + * The regional quota capacity. + */ +export interface RegionalQuotaCapability { + /** + * The region name. + */ + regionName?: string; + /** + * The number of cores used in the region. + */ + coresUsed?: number; + /** + * The number of cores available in the region. + */ + coresAvailable?: number; +} + +/** + * The regional quota capability. + */ +export interface QuotaCapability { + /** + * The number of cores used in the subscription. + */ + coresUsed?: number; + /** + * The number of cores that the subscription allowed. + */ + maxCoresAllowed?: number; + /** + * The list of region quota capabilities. + */ + regionalQuotas?: RegionalQuotaCapability[]; +} + +/** + * The Get Capabilities operation response. + */ +export interface CapabilitiesResult { + /** + * The version capability. + */ + versions?: { [propertyName: string]: VersionsCapability }; + /** + * The virtual machine size compatibility features. + */ + regions?: { [propertyName: string]: RegionsCapability }; + /** + * The virtual machine sizes. + */ + vmSizes?: { [propertyName: string]: VmSizesCapability }; + /** + * The virtual machine size compatibility filters. + */ + vmSizeFilters?: VmSizeCompatibilityFilter[]; + /** + * The capability features. + */ + features?: string[]; + /** + * The quota capability. + */ + quota?: QuotaCapability; +} + /** * The details about the localizable name of a type of usage. */ @@ -978,6 +1205,119 @@ export interface UsagesListResult { value?: Usage[]; } +/** + * This class represent a single filter object that defines a multidimensional set. The dimensions + * of this set are Regions, ClusterFlavors, NodeTypes and ClusterVersions. The constraint should be + * defined based on the following: FilterMode (Exclude vs Include), VMSizes (the vm sizes in affect + * of exclusion/inclusion) and the ordering of the Filters. Later filters override previous + * settings if conflicted. + */ +export interface VmSizeCompatibilityFilterV2 { + /** + * The filtering mode. Effectively this can enabling or disabling the VM sizes in a particular + * set. Possible values include: 'Exclude', 'Include' + */ + filterMode?: FilterMode; + /** + * The list of regions under the effect of the filter. + */ + regions?: string[]; + /** + * The list of cluster flavors under the effect of the filter. + */ + clusterFlavors?: string[]; + /** + * The list of node types affected by the filter. + */ + nodeTypes?: string[]; + /** + * The list of cluster versions affected in Major.Minor format. + */ + clusterVersions?: string[]; + /** + * The OSType affected, Windows or Linux. + */ + osType?: OSType[]; + /** + * The list of virtual machine sizes to include or exclude. + */ + vmSizes?: string[]; +} + +/** + * The billing meters. + */ +export interface BillingMeters { + /** + * The virtual machine sizes. + */ + meterParameter?: string; + /** + * The HDInsight meter guid. + */ + meter?: string; + /** + * The unit of meter, VMHours or CoreHours. + */ + unit?: string; +} + +/** + * The disk billing meters. + */ +export interface DiskBillingMeters { + /** + * The managed disk meter guid. + */ + diskRpMeter?: string; + /** + * The managed disk billing sku, P30 or S30. + */ + sku?: string; + /** + * The managed disk billing tier, Standard or Premium. Possible values include: 'Standard', + * 'Premium' + */ + tier?: Tier; +} + +/** + * The billing resources. + */ +export interface BillingResources { + /** + * The region or location. + */ + region?: string; + /** + * The billing meter information. + */ + billingMeters?: BillingMeters[]; + /** + * The managed disk billing information. + */ + diskBillingMeters?: DiskBillingMeters[]; +} + +/** + * The response for the operation to get regional billingSpecs for a subscription. + */ +export interface BillingResponseListResult { + /** + * The virtual machine sizes to include or exclude. + */ + vmSizes?: string[]; + /** + * The virtual machine filtering mode. Effectively this can enabling or disabling the virtual + * machine sizes in a particular set. + */ + vmSizeFilters?: VmSizeCompatibilityFilterV2[]; + /** + * The billing and managed disk billing resources for a region. + */ + billingResources?: BillingResources[]; +} + /** * The configuration object for the specified cluster. */ @@ -1169,6 +1509,15 @@ export interface OperationListResult extends Array { */ export type DirectoryType = 'ActiveDirectory'; +/** + * Defines values for DaysOfWeek. + * Possible values include: 'Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', 'Saturday', + * 'Sunday' + * @readonly + * @enum {string} + */ +export type DaysOfWeek = 'Monday' | 'Tuesday' | 'Wednesday' | 'Thursday' | 'Friday' | 'Saturday' | 'Sunday'; + /** * Defines values for OSType. * Possible values include: 'Windows', 'Linux' @@ -1218,6 +1567,14 @@ export type HDInsightClusterProvisioningState = 'InProgress' | 'Failed' | 'Succe */ export type AsyncOperationState = 'InProgress' | 'Succeeded' | 'Failed'; +/** + * Defines values for FilterMode. + * Possible values include: 'Exclude', 'Include' + * @readonly + * @enum {string} + */ +export type FilterMode = 'Exclude' | 'Include'; + /** * Contains response data for the create operation. */ @@ -1498,6 +1855,26 @@ export type ApplicationsListByClusterNextResponse = ApplicationListResult & { }; }; +/** + * Contains response data for the getCapabilities operation. + */ +export type LocationsGetCapabilitiesResponse = CapabilitiesResult & { + /** + * 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: CapabilitiesResult; + }; +}; + /** * Contains response data for the listUsages operation. */ @@ -1518,6 +1895,26 @@ export type LocationsListUsagesResponse = UsagesListResult & { }; }; +/** + * Contains response data for the listBillingSpecs operation. + */ +export type LocationsListBillingSpecsResponse = BillingResponseListResult & { + /** + * 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: BillingResponseListResult; + }; +}; + /** * Contains response data for the list operation. */ diff --git a/sdk/hdinsight/arm-hdinsight/src/models/locationsMappers.ts b/sdk/hdinsight/arm-hdinsight/src/models/locationsMappers.ts index 7cc1406ffa0c..38927fcfbd4f 100644 --- a/sdk/hdinsight/arm-hdinsight/src/models/locationsMappers.ts +++ b/sdk/hdinsight/arm-hdinsight/src/models/locationsMappers.ts @@ -7,8 +7,21 @@ */ export { + BillingMeters, + BillingResources, + BillingResponseListResult, + CapabilitiesResult, + DiskBillingMeters, ErrorResponse, LocalizedName, + QuotaCapability, + RegionalQuotaCapability, + RegionsCapability, Usage, - UsagesListResult + UsagesListResult, + VersionsCapability, + VersionSpec, + VmSizeCompatibilityFilter, + VmSizeCompatibilityFilterV2, + VmSizesCapability } from "../models/mappers"; diff --git a/sdk/hdinsight/arm-hdinsight/src/models/mappers.ts b/sdk/hdinsight/arm-hdinsight/src/models/mappers.ts index d66b4a988aa2..523187c18e27 100644 --- a/sdk/hdinsight/arm-hdinsight/src/models/mappers.ts +++ b/sdk/hdinsight/arm-hdinsight/src/models/mappers.ts @@ -128,6 +128,145 @@ export const SecurityProfile: msRest.CompositeMapper = { } }; +export const AutoscaleTimeAndCapacity: msRest.CompositeMapper = { + serializedName: "AutoscaleTimeAndCapacity", + type: { + name: "Composite", + className: "AutoscaleTimeAndCapacity", + modelProperties: { + time: { + serializedName: "time", + type: { + name: "String" + } + }, + minInstanceCount: { + serializedName: "minInstanceCount", + type: { + name: "Number" + } + }, + maxInstanceCount: { + serializedName: "maxInstanceCount", + type: { + name: "Number" + } + } + } + } +}; + +export const AutoscaleSchedule: msRest.CompositeMapper = { + serializedName: "AutoscaleSchedule", + type: { + name: "Composite", + className: "AutoscaleSchedule", + modelProperties: { + days: { + serializedName: "days", + type: { + name: "Sequence", + element: { + type: { + name: "Enum", + allowedValues: [ + "Monday", + "Tuesday", + "Wednesday", + "Thursday", + "Friday", + "Saturday", + "Sunday" + ] + } + } + } + }, + timeAndCapacity: { + serializedName: "timeAndCapacity", + type: { + name: "Composite", + className: "AutoscaleTimeAndCapacity" + } + } + } + } +}; + +export const AutoscaleCapacity: msRest.CompositeMapper = { + serializedName: "AutoscaleCapacity", + type: { + name: "Composite", + className: "AutoscaleCapacity", + modelProperties: { + minInstanceCount: { + serializedName: "minInstanceCount", + type: { + name: "Number" + } + }, + maxInstanceCount: { + serializedName: "maxInstanceCount", + type: { + name: "Number" + } + } + } + } +}; + +export const AutoscaleRecurrence: msRest.CompositeMapper = { + serializedName: "AutoscaleRecurrence", + type: { + name: "Composite", + className: "AutoscaleRecurrence", + modelProperties: { + timeZone: { + serializedName: "timeZone", + type: { + name: "String" + } + }, + schedule: { + serializedName: "schedule", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "AutoscaleSchedule" + } + } + } + } + } + } +}; + +export const Autoscale: msRest.CompositeMapper = { + serializedName: "Autoscale", + type: { + name: "Composite", + className: "Autoscale", + modelProperties: { + capacity: { + serializedName: "capacity", + type: { + name: "Composite", + className: "AutoscaleCapacity" + } + }, + recurrence: { + serializedName: "recurrence", + type: { + name: "Composite", + className: "AutoscaleRecurrence" + } + } + } + } +}; + export const HardwareProfile: msRest.CompositeMapper = { serializedName: "HardwareProfile", type: { @@ -335,6 +474,13 @@ export const Role: msRest.CompositeMapper = { name: "Number" } }, + autoscaleConfiguration: { + serializedName: "autoscale", + type: { + name: "Composite", + className: "Autoscale" + } + }, hardwareProfile: { serializedName: "hardwareProfile", type: { @@ -1626,6 +1772,318 @@ export const Application: msRest.CompositeMapper = { } }; +export const VersionSpec: msRest.CompositeMapper = { + serializedName: "VersionSpec", + type: { + name: "Composite", + className: "VersionSpec", + modelProperties: { + friendlyName: { + serializedName: "friendlyName", + type: { + name: "String" + } + }, + displayName: { + serializedName: "displayName", + type: { + name: "String" + } + }, + isDefault: { + serializedName: "isDefault", + type: { + name: "String" + } + }, + componentVersions: { + serializedName: "componentVersions", + type: { + name: "Dictionary", + value: { + type: { + name: "String" + } + } + } + } + } + } +}; + +export const VersionsCapability: msRest.CompositeMapper = { + serializedName: "VersionsCapability", + type: { + name: "Composite", + className: "VersionsCapability", + modelProperties: { + available: { + serializedName: "available", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "VersionSpec" + } + } + } + } + } + } +}; + +export const RegionsCapability: msRest.CompositeMapper = { + serializedName: "RegionsCapability", + type: { + name: "Composite", + className: "RegionsCapability", + modelProperties: { + available: { + serializedName: "available", + type: { + name: "Sequence", + element: { + type: { + name: "String" + } + } + } + } + } + } +}; + +export const VmSizesCapability: msRest.CompositeMapper = { + serializedName: "VmSizesCapability", + type: { + name: "Composite", + className: "VmSizesCapability", + modelProperties: { + available: { + serializedName: "available", + type: { + name: "Sequence", + element: { + type: { + name: "String" + } + } + } + } + } + } +}; + +export const VmSizeCompatibilityFilter: msRest.CompositeMapper = { + serializedName: "VmSizeCompatibilityFilter", + type: { + name: "Composite", + className: "VmSizeCompatibilityFilter", + modelProperties: { + filterMode: { + serializedName: "FilterMode", + type: { + name: "String" + } + }, + regions: { + serializedName: "Regions", + type: { + name: "Sequence", + element: { + type: { + name: "String" + } + } + } + }, + clusterFlavors: { + serializedName: "ClusterFlavors", + type: { + name: "Sequence", + element: { + type: { + name: "String" + } + } + } + }, + nodeTypes: { + serializedName: "NodeTypes", + type: { + name: "Sequence", + element: { + type: { + name: "String" + } + } + } + }, + clusterVersions: { + serializedName: "ClusterVersions", + type: { + name: "Sequence", + element: { + type: { + name: "String" + } + } + } + }, + vmsizes: { + serializedName: "vmsizes", + type: { + name: "Sequence", + element: { + type: { + name: "String" + } + } + } + } + } + } +}; + +export const RegionalQuotaCapability: msRest.CompositeMapper = { + serializedName: "RegionalQuotaCapability", + type: { + name: "Composite", + className: "RegionalQuotaCapability", + modelProperties: { + regionName: { + serializedName: "region_name", + type: { + name: "String" + } + }, + coresUsed: { + serializedName: "cores_used", + type: { + name: "Number" + } + }, + coresAvailable: { + serializedName: "cores_available", + type: { + name: "Number" + } + } + } + } +}; + +export const QuotaCapability: msRest.CompositeMapper = { + serializedName: "QuotaCapability", + type: { + name: "Composite", + className: "QuotaCapability", + modelProperties: { + coresUsed: { + serializedName: "cores_used", + type: { + name: "Number" + } + }, + maxCoresAllowed: { + serializedName: "max_cores_allowed", + type: { + name: "Number" + } + }, + regionalQuotas: { + serializedName: "regionalQuotas", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "RegionalQuotaCapability" + } + } + } + } + } + } +}; + +export const CapabilitiesResult: msRest.CompositeMapper = { + serializedName: "CapabilitiesResult", + type: { + name: "Composite", + className: "CapabilitiesResult", + modelProperties: { + versions: { + serializedName: "versions", + type: { + name: "Dictionary", + value: { + type: { + name: "Composite", + className: "VersionsCapability" + } + } + } + }, + regions: { + serializedName: "regions", + type: { + name: "Dictionary", + value: { + type: { + name: "Composite", + className: "RegionsCapability" + } + } + } + }, + vmSizes: { + serializedName: "vmSizes", + type: { + name: "Dictionary", + value: { + type: { + name: "Composite", + className: "VmSizesCapability" + } + } + } + }, + vmSizeFilters: { + serializedName: "vmSize_filters", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "VmSizeCompatibilityFilter" + } + } + } + }, + features: { + serializedName: "features", + type: { + name: "Sequence", + element: { + type: { + name: "String" + } + } + } + }, + quota: { + serializedName: "quota", + type: { + name: "Composite", + className: "QuotaCapability" + } + } + } + } +}; + export const LocalizedName: msRest.CompositeMapper = { serializedName: "LocalizedName", type: { @@ -1705,6 +2163,237 @@ export const UsagesListResult: msRest.CompositeMapper = { } }; +export const VmSizeCompatibilityFilterV2: msRest.CompositeMapper = { + serializedName: "VmSizeCompatibilityFilterV2", + type: { + name: "Composite", + className: "VmSizeCompatibilityFilterV2", + modelProperties: { + filterMode: { + serializedName: "filterMode", + type: { + name: "String" + } + }, + regions: { + serializedName: "regions", + type: { + name: "Sequence", + element: { + type: { + name: "String" + } + } + } + }, + clusterFlavors: { + serializedName: "clusterFlavors", + type: { + name: "Sequence", + element: { + type: { + name: "String" + } + } + } + }, + nodeTypes: { + serializedName: "nodeTypes", + type: { + name: "Sequence", + element: { + type: { + name: "String" + } + } + } + }, + clusterVersions: { + serializedName: "clusterVersions", + type: { + name: "Sequence", + element: { + type: { + name: "String" + } + } + } + }, + osType: { + serializedName: "osType", + type: { + name: "Sequence", + element: { + type: { + name: "Enum", + allowedValues: [ + "Windows", + "Linux" + ] + } + } + } + }, + vmSizes: { + serializedName: "vmSizes", + type: { + name: "Sequence", + element: { + type: { + name: "String" + } + } + } + } + } + } +}; + +export const BillingMeters: msRest.CompositeMapper = { + serializedName: "BillingMeters", + type: { + name: "Composite", + className: "BillingMeters", + modelProperties: { + meterParameter: { + serializedName: "meterParameter", + type: { + name: "String" + } + }, + meter: { + serializedName: "meter", + type: { + name: "String" + } + }, + unit: { + serializedName: "unit", + type: { + name: "String" + } + } + } + } +}; + +export const DiskBillingMeters: msRest.CompositeMapper = { + serializedName: "DiskBillingMeters", + type: { + name: "Composite", + className: "DiskBillingMeters", + modelProperties: { + diskRpMeter: { + serializedName: "diskRpMeter", + type: { + name: "String" + } + }, + sku: { + serializedName: "sku", + type: { + name: "String" + } + }, + tier: { + serializedName: "tier", + type: { + name: "Enum", + allowedValues: [ + "Standard", + "Premium" + ] + } + } + } + } +}; + +export const BillingResources: msRest.CompositeMapper = { + serializedName: "BillingResources", + type: { + name: "Composite", + className: "BillingResources", + modelProperties: { + region: { + serializedName: "region", + type: { + name: "String" + } + }, + billingMeters: { + serializedName: "billingMeters", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "BillingMeters" + } + } + } + }, + diskBillingMeters: { + serializedName: "diskBillingMeters", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "DiskBillingMeters" + } + } + } + } + } + } +}; + +export const BillingResponseListResult: msRest.CompositeMapper = { + serializedName: "BillingResponseListResult", + type: { + name: "Composite", + className: "BillingResponseListResult", + modelProperties: { + vmSizes: { + serializedName: "vmSizes", + type: { + name: "Sequence", + element: { + type: { + name: "String" + } + } + } + }, + vmSizeFilters: { + serializedName: "vmSizeFilters", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "VmSizeCompatibilityFilterV2" + } + } + } + }, + billingResources: { + serializedName: "billingResources", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "BillingResources" + } + } + } + } + } + } +}; + export const ClusterConfigurations: msRest.CompositeMapper = { serializedName: "ClusterConfigurations", type: { diff --git a/sdk/hdinsight/arm-hdinsight/src/operations/locations.ts b/sdk/hdinsight/arm-hdinsight/src/operations/locations.ts index 9baa0166ffad..7770e558b4aa 100644 --- a/sdk/hdinsight/arm-hdinsight/src/operations/locations.ts +++ b/sdk/hdinsight/arm-hdinsight/src/operations/locations.ts @@ -26,20 +26,48 @@ export class Locations { this.client = client; } + /** + * Gets the capabilities for the specified location. + * @param location The Azure location (region) for which to make the request. + * @param [options] The optional parameters + * @returns Promise + */ + getCapabilities(location: string, options?: msRest.RequestOptionsBase): Promise; + /** + * @param location The Azure location (region) for which to make the request. + * @param callback The callback + */ + getCapabilities(location: string, callback: msRest.ServiceCallback): void; + /** + * @param location The Azure location (region) for which to make the request. + * @param options The optional parameters + * @param callback The callback + */ + getCapabilities(location: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + getCapabilities(location: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + location, + options + }, + getCapabilitiesOperationSpec, + callback) as Promise; + } + /** * Lists the usages for the specified location. - * @param location The location to get capabilities for. + * @param location The Azure location (region) for which to make the request. * @param [options] The optional parameters * @returns Promise */ listUsages(location: string, options?: msRest.RequestOptionsBase): Promise; /** - * @param location The location to get capabilities for. + * @param location The Azure location (region) for which to make the request. * @param callback The callback */ listUsages(location: string, callback: msRest.ServiceCallback): void; /** - * @param location The location to get capabilities for. + * @param location The Azure location (region) for which to make the request. * @param options The optional parameters * @param callback The callback */ @@ -53,10 +81,62 @@ export class Locations { listUsagesOperationSpec, callback) as Promise; } + + /** + * Lists the billingSpecs for the specified subscription and location. + * @param location The Azure location (region) for which to make the request. + * @param [options] The optional parameters + * @returns Promise + */ + listBillingSpecs(location: string, options?: msRest.RequestOptionsBase): Promise; + /** + * @param location The Azure location (region) for which to make the request. + * @param callback The callback + */ + listBillingSpecs(location: string, callback: msRest.ServiceCallback): void; + /** + * @param location The Azure location (region) for which to make the request. + * @param options The optional parameters + * @param callback The callback + */ + listBillingSpecs(location: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + listBillingSpecs(location: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + location, + options + }, + listBillingSpecsOperationSpec, + callback) as Promise; + } } // Operation Specifications const serializer = new msRest.Serializer(Mappers); +const getCapabilitiesOperationSpec: msRest.OperationSpec = { + httpMethod: "GET", + path: "subscriptions/{subscriptionId}/providers/Microsoft.HDInsight/locations/{location}/capabilities", + urlParameters: [ + Parameters.subscriptionId, + Parameters.location + ], + queryParameters: [ + Parameters.apiVersion + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: { + bodyMapper: Mappers.CapabilitiesResult + }, + default: { + bodyMapper: Mappers.ErrorResponse + } + }, + serializer +}; + const listUsagesOperationSpec: msRest.OperationSpec = { httpMethod: "GET", path: "subscriptions/{subscriptionId}/providers/Microsoft.HDInsight/locations/{location}/usages", @@ -80,3 +160,27 @@ const listUsagesOperationSpec: msRest.OperationSpec = { }, serializer }; + +const listBillingSpecsOperationSpec: msRest.OperationSpec = { + httpMethod: "GET", + path: "subscriptions/{subscriptionId}/providers/Microsoft.HDInsight/locations/{location}/billingSpecs", + urlParameters: [ + Parameters.subscriptionId, + Parameters.location + ], + queryParameters: [ + Parameters.apiVersion + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: { + bodyMapper: Mappers.BillingResponseListResult + }, + default: { + bodyMapper: Mappers.ErrorResponse + } + }, + serializer +}; From 3cbdc6e775c7232026002c2f46fffcd8ed21c94d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20Rodr=C3=ADguez?= Date: Thu, 8 Aug 2019 15:16:11 -0400 Subject: [PATCH 08/16] [KeyVault] Fix flaky tests around the getDeleted* tests (#4688) * [KeyVault] Fix flaky tests around the getDeleted* tests The issue is likely to be that we weren't waiting for both entities to be deleted before we moved on. * Update list.test.ts * Update list.test.ts --- sdk/keyvault/keyvault-keys/tests/list.test.ts | 12 ++++++++---- sdk/keyvault/keyvault-secrets/tests/list.test.ts | 12 ++++++++---- 2 files changed, 16 insertions(+), 8 deletions(-) diff --git a/sdk/keyvault/keyvault-keys/tests/list.test.ts b/sdk/keyvault/keyvault-keys/tests/list.test.ts index 0a316b7921dd..8e089e3658ac 100644 --- a/sdk/keyvault/keyvault-keys/tests/list.test.ts +++ b/sdk/keyvault/keyvault-keys/tests/list.test.ts @@ -138,8 +138,10 @@ describe("Keys client - list keys in various ways", () => { await client.deleteKey(name); } - // Waiting until the key is deleted - await retry(async () => client.getDeletedKey(keyNames[0])); + // Waiting until the keys are deleted + for (const name of keyNames) { + await retry(async () => client.getDeletedKey(name)); + } let found = 0; for await (const key of client.listDeletedKeys()) { @@ -165,8 +167,10 @@ describe("Keys client - list keys in various ways", () => { await client.deleteKey(name); } - // Waiting until the key is deleted - await retry(async () => client.getDeletedKey(keyNames[0])); + // Waiting until the keys are deleted + for (const name of keyNames) { + await retry(async () => client.getDeletedKey(name)); + } let found = 0; for await (const page of client.listDeletedKeys().byPage()) { diff --git a/sdk/keyvault/keyvault-secrets/tests/list.test.ts b/sdk/keyvault/keyvault-secrets/tests/list.test.ts index 3d08aa6f8df5..a8f44915e3f0 100644 --- a/sdk/keyvault/keyvault-secrets/tests/list.test.ts +++ b/sdk/keyvault/keyvault-secrets/tests/list.test.ts @@ -66,8 +66,10 @@ describe("Secret client - list secrets in various ways", () => { await client.deleteSecret(name); } - // Waiting until the key is deleted - await retry(async () => client.getDeletedSecret(secretNames[0])); + // Waiting until the secrets are deleted + for (const name of secretNames) { + await retry(async () => client.getDeletedSecret(name)); + } let found = 0; for await (const secret of client.listDeletedSecrets()) { @@ -164,8 +166,10 @@ describe("Secret client - list secrets in various ways", () => { await client.deleteSecret(name); } - // Waiting until the key is deleted - await retry(async () => client.getDeletedSecret(secretNames[0])); + // Waiting until the secrets are deleted + for (const name of secretNames) { + await retry(async () => client.getDeletedSecret(name)); + } let found = 0; for await (const page of client.listDeletedSecrets().byPage()) { From 27695733bf98cd143276a37437f0441babe129b1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jonathan=20C=C3=A1rdenas?= Date: Thu, 8 Aug 2019 14:09:58 -0700 Subject: [PATCH 09/16] Concurrency supported in Smoke Tests for JS (#4699) * Unit tests for Key Vault Secrets Client and Event Hub Client * Close the EventHubs client after sending or receiving the events * New approach as samples instead of Unit Testing Creation of files for the new approach as a test of samples * EventHubs working in new approach * Folder Rename * Unit Testing files deleted * Smoke Test Sample for TS * package.json restored The packages json in root and event hubs have been restored to their original when then project was forked. * JS files deleted The only files in the repo are going to be the TS ones. * Static classes All classes now are static * Update CosmosDB.ts * Syntaxis corrections * tsconfig setup properly * Types fixes * Create README.md * Await the delete method of blobClient * update README.md * Update README.md * Update README.md * Update KeyVaultTest.ts * Validate number of events received. * CleanUp the resource ahead * Revert changes in package.json files * Use of template literals * Use of Prettier * RegEx code for readme tittle modified The tittle now will accept "Azure Smoke Tests for JS" * Update README.md * Update tsconfig.json * Use of template literals * Dedent messages * Adapted for concurrency tests * Use of template literals * Update package.json --- samples/SmokeTest/BlobStorage.ts | 19 ++++++++++++------- samples/SmokeTest/CosmosDB.ts | 14 ++++++++++---- .../{EventHubsTest.ts => EventHub.ts} | 8 ++++++-- .../{KeyVaultTest.ts => KeyVault.ts} | 14 ++++++++++---- samples/SmokeTest/app.ts | 12 ++++++++---- samples/SmokeTest/package.json | 3 ++- 6 files changed, 48 insertions(+), 22 deletions(-) rename samples/SmokeTest/{EventHubsTest.ts => EventHub.ts} (90%) rename samples/SmokeTest/{KeyVaultTest.ts => KeyVault.ts} (84%) diff --git a/samples/SmokeTest/BlobStorage.ts b/samples/SmokeTest/BlobStorage.ts index 4611283aeef8..d2c97fc76536 100644 --- a/samples/SmokeTest/BlobStorage.ts +++ b/samples/SmokeTest/BlobStorage.ts @@ -1,5 +1,11 @@ +// ------------------------------------ +// Copyright(c) Microsoft Corporation. +// Licensed under the MIT License. +// ------------------------------------ import { SharedKeyCredential, BlobServiceClient, ContainerClient } from "@azure/storage-blob"; +const uuidv1 = require('uuid/v1'); + export class BlobStorage { private static ContainerClient: ContainerClient; private static blobName: string; @@ -10,13 +16,13 @@ export class BlobStorage { Storage - Blobs ------------------------ 1) Upload Blob - 2) Delete Blob (Clean up the resource + 2) Delete Blob (Clean up the resource) `); const account = process.env["STORAGE_ACCOUNT_NAME"] || ""; const accountKey = process.env["STORAGE_ACCOUNT_KEY"] || ""; const containerName = "mycontainer"; - BlobStorage.blobName = "JSNewBlob"; + BlobStorage.blobName = `JSNewBlob-${uuidv1()}.txt`; const credential = new SharedKeyCredential(account, accountKey); const serviceClient = new BlobServiceClient( @@ -28,7 +34,7 @@ export class BlobStorage { //Ensure that the blob does not already existis try { await BlobStorage.CleanUp(); - } catch {} + } catch { } await BlobStorage.UploadBlob(); await BlobStorage.CleanUp(); @@ -40,9 +46,8 @@ export class BlobStorage { //If the blob already exists in the container, this will override it. console.log("Uploading blob..."); const content = "This is the content for the sample blob"; - const blobName = "JSNewBlob"; - const blobClient = BlobStorage.ContainerClient.getBlobClient(blobName); + const blobClient = BlobStorage.ContainerClient.getBlobClient(BlobStorage.blobName); const blockBlobClient = blobClient.getBlockBlobClient(); await blockBlobClient.upload(content, content.length); @@ -56,7 +61,7 @@ export class BlobStorage { console.log("\tdone"); } - private static dedent(str:ReadonlyArray){ - return str[0].replace(/^\ */gm,''); + private static dedent(str: ReadonlyArray) { + return str[0].replace(/^\ */gm, ''); } } diff --git a/samples/SmokeTest/CosmosDB.ts b/samples/SmokeTest/CosmosDB.ts index 0616a35d8e4f..892f2d0b98ee 100644 --- a/samples/SmokeTest/CosmosDB.ts +++ b/samples/SmokeTest/CosmosDB.ts @@ -1,7 +1,13 @@ +// ------------------------------------ +// Copyright(c) Microsoft Corporation. +// Licensed under the MIT License. +// ------------------------------------ import { CosmosClient, Database, Container } from "@azure/cosmos"; +const uuidv1 = require('uuid/v1'); + export class CosmosDB { - private static dataBaseName = "jsSolarSystem"; + private static dataBaseName = `jsSolarSystem-${uuidv1()}`; private static collectionName = "PlanetsCollection"; private static client: CosmosClient; private static db: Database; @@ -25,7 +31,7 @@ export class CosmosDB { //Ensure that the resource is clean try { await CosmosDB.DeleteDatabase(); - } catch {} + } catch { } await CosmosDB.CreateDatabase(); await CosmosDB.CreateCollection(); @@ -90,7 +96,7 @@ export class CosmosDB { console.log("\tdone"); } - private static dedent(str:ReadonlyArray){ - return str[0].replace(/^\ */gm,''); + private static dedent(str: ReadonlyArray) { + return str[0].replace(/^\ */gm, ''); } } diff --git a/samples/SmokeTest/EventHubsTest.ts b/samples/SmokeTest/EventHub.ts similarity index 90% rename from samples/SmokeTest/EventHubsTest.ts rename to samples/SmokeTest/EventHub.ts index b8fc3f8c2255..daf7dde173dd 100644 --- a/samples/SmokeTest/EventHubsTest.ts +++ b/samples/SmokeTest/EventHub.ts @@ -1,3 +1,7 @@ +// ------------------------------------ +// Copyright(c) Microsoft Corporation. +// Licensed under the MIT License. +// ------------------------------------ import { EventHubClient, EventPosition } from "@azure/event-hubs"; export class EventHubs { @@ -68,7 +72,7 @@ export class EventHubs { console.log("\tdone"); } - private static dedent(str:ReadonlyArray){ - return str[0].replace(/^\ */gm,''); + private static dedent(str: ReadonlyArray) { + return str[0].replace(/^\ */gm, ''); } } diff --git a/samples/SmokeTest/KeyVaultTest.ts b/samples/SmokeTest/KeyVault.ts similarity index 84% rename from samples/SmokeTest/KeyVaultTest.ts rename to samples/SmokeTest/KeyVault.ts index 73f97c6b021c..6e39de8974ed 100644 --- a/samples/SmokeTest/KeyVaultTest.ts +++ b/samples/SmokeTest/KeyVault.ts @@ -1,6 +1,12 @@ +// ------------------------------------ +// Copyright(c) Microsoft Corporation. +// Licensed under the MIT License. +// ------------------------------------ import { EnvironmentCredential } from "@azure/identity"; import { SecretsClient } from "@azure/keyvault-secrets"; +const uuidv1 = require('uuid/v1'); + export class KeyVaultSecrets { private static client: SecretsClient; private static secretName: string; @@ -26,7 +32,7 @@ export class KeyVaultSecrets { KeyVaultSecrets.client = new SecretsClient(url, credential); - KeyVaultSecrets.secretName = "MySecretName"; + KeyVaultSecrets.secretName = `MySecretName-${uuidv1()}`; KeyVaultSecrets.secretValue = "MySecretValue"; try { @@ -45,7 +51,7 @@ export class KeyVaultSecrets { KeyVaultSecrets.secretName, KeyVaultSecrets.secretValue ); - console.log("\tSecret = (" + result.name + "," + result.value + ")"); + console.log(`\tSecret = (${result.name},${result.value})`); console.log("\tdone"); } @@ -69,7 +75,7 @@ export class KeyVaultSecrets { console.log("\tdone"); } - private static dedent(str:ReadonlyArray){ - return str[0].replace(/^\ */gm,''); + private static dedent(str: ReadonlyArray) { + return str[0].replace(/^\ */gm, ''); } } diff --git a/samples/SmokeTest/app.ts b/samples/SmokeTest/app.ts index 2806526f1c90..8382b545c0a6 100644 --- a/samples/SmokeTest/app.ts +++ b/samples/SmokeTest/app.ts @@ -1,10 +1,14 @@ -import { KeyVaultSecrets } from "./KeyVaultTest"; -import { EventHubs } from "./EventHubsTest"; +// ------------------------------------ +// Copyright(c) Microsoft Corporation. +// Licensed under the MIT License. +// ------------------------------------ +import { KeyVaultSecrets } from "./KeyVault"; +import { EventHubs } from "./EventHub"; import { BlobStorage } from "./BlobStorage"; import { CosmosDB } from "./CosmosDB"; -function dedent(str:ReadonlyArray){ - return str[0].replace(/^\ */gm,''); +function dedent(str: ReadonlyArray) { + return str[0].replace(/^\ */gm, ''); } function welcomeMessage() { diff --git a/samples/SmokeTest/package.json b/samples/SmokeTest/package.json index 2e79cb3e90b1..6daadd31d076 100644 --- a/samples/SmokeTest/package.json +++ b/samples/SmokeTest/package.json @@ -13,6 +13,7 @@ "@azure/event-hubs": "^5.0.0-preview.1", "@azure/keyvault-secrets": "^4.0.0-preview.2", "@azure/storage-blob": "^12.0.0-preview.1", - "@types/node": "^12.6.2" + "@types/node": "^12.6.2", + "uuid": "^3.3.2" } } From 36cbc758fd6edb269dcb786170143c9d16499cf7 Mon Sep 17 00:00:00 2001 From: "openapi-bot[bot]" <37845953+openapi-bot[bot]@users.noreply.github.com> Date: Thu, 1 Aug 2019 22:53:25 +0000 Subject: [PATCH 10/16] Generated from 19a6129d7c58da0c40d08c605f051a8b6d559af7 (#4499) Add example reference into compute.json --- sdk/compute/arm-compute/README.md | 1 - sdk/compute/arm-compute/package.json | 12 +- .../src/computeManagementClient.ts | 8 +- .../src/models/availabilitySetsMappers.ts | 14 +- .../src/models/containerServicesMappers.ts | 14 +- .../src/models/dedicatedHostGroupsMappers.ts | 169 +++ .../src/models/dedicatedHostsMappers.ts | 169 +++ .../arm-compute/src/models/disksMappers.ts | 14 +- .../src/models/galleriesMappers.ts | 14 +- .../src/models/galleryImageVersionsMappers.ts | 14 +- .../src/models/galleryImagesMappers.ts | 14 +- .../arm-compute/src/models/imagesMappers.ts | 14 +- sdk/compute/arm-compute/src/models/index.ts | 971 ++++++++++++++++-- sdk/compute/arm-compute/src/models/mappers.ts | 825 +++++++++++++-- .../arm-compute/src/models/parameters.ts | 54 +- .../models/proximityPlacementGroupsMappers.ts | 169 +++ .../src/models/resourceSkusMappers.ts | 3 +- .../src/models/snapshotsMappers.ts | 14 +- .../virtualMachineExtensionImagesMappers.ts | 14 +- .../models/virtualMachineExtensionsMappers.ts | 14 +- .../src/models/virtualMachineImagesMappers.ts | 14 +- ...virtualMachineScaleSetExtensionsMappers.ts | 14 +- ...alMachineScaleSetRollingUpgradesMappers.ts | 14 +- .../virtualMachineScaleSetVMsMappers.ts | 14 +- .../models/virtualMachineScaleSetsMappers.ts | 15 +- .../src/models/virtualMachinesMappers.ts | 14 +- .../src/operations/containerServices.ts | 10 +- .../src/operations/dedicatedHostGroups.ts | 484 +++++++++ .../src/operations/dedicatedHosts.ts | 402 ++++++++ .../arm-compute/src/operations/galleries.ts | 10 +- .../src/operations/galleryImageVersions.ts | 10 +- .../src/operations/galleryImages.ts | 8 +- .../arm-compute/src/operations/images.ts | 2 +- .../arm-compute/src/operations/index.ts | 4 +- .../operations/proximityPlacementGroups.ts | 478 +++++++++ .../operations/virtualMachineExtensions.ts | 4 +- .../virtualMachineScaleSetExtensions.ts | 2 +- .../operations/virtualMachineScaleSetVMs.ts | 9 +- .../src/operations/virtualMachineScaleSets.ts | 63 ++ .../src/operations/virtualMachines.ts | 2 +- sdk/compute/arm-compute/tsconfig.json | 2 +- 41 files changed, 3876 insertions(+), 220 deletions(-) create mode 100644 sdk/compute/arm-compute/src/models/dedicatedHostGroupsMappers.ts create mode 100644 sdk/compute/arm-compute/src/models/dedicatedHostsMappers.ts create mode 100644 sdk/compute/arm-compute/src/models/proximityPlacementGroupsMappers.ts create mode 100644 sdk/compute/arm-compute/src/operations/dedicatedHostGroups.ts create mode 100644 sdk/compute/arm-compute/src/operations/dedicatedHosts.ts create mode 100644 sdk/compute/arm-compute/src/operations/proximityPlacementGroups.ts diff --git a/sdk/compute/arm-compute/README.md b/sdk/compute/arm-compute/README.md index cff2a236f79d..f781c80eaa28 100644 --- a/sdk/compute/arm-compute/README.md +++ b/sdk/compute/arm-compute/README.md @@ -95,5 +95,4 @@ See https://github.com/Azure/ms-rest-browserauth to learn how to authenticate to - [Microsoft Azure SDK for Javascript](https://github.com/Azure/azure-sdk-for-js) - ![Impressions](https://azure-sdk-impressions.azurewebsites.net/api/impressions/azure-sdk-for-js/sdk/compute/arm-compute/README.png) diff --git a/sdk/compute/arm-compute/package.json b/sdk/compute/arm-compute/package.json index 9a2d123f805d..df8e0c31d07b 100644 --- a/sdk/compute/arm-compute/package.json +++ b/sdk/compute/arm-compute/package.json @@ -4,9 +4,9 @@ "description": "ComputeManagementClient Library with typescript type definitions for node.js and browser.", "version": "10.0.0", "dependencies": { - "@azure/ms-rest-azure-js": "^1.3.2", - "@azure/ms-rest-js": "^1.8.1", - "tslib": "^1.9.3" + "@azure/ms-rest-azure-js": "^2.0.0", + "@azure/ms-rest-js": "^2.0.3", + "tslib": "^1.10.0" }, "keywords": [ "node", @@ -26,13 +26,13 @@ "rollup-plugin-sourcemaps": "^0.4.2", "uglify-js": "^3.4.9" }, - "homepage": "https://github.com/azure/azure-sdk-for-js/tree/master/sdk/compute/arm-compute", + "homepage": "https://github.com/Azure/azure-sdk-for-js/tree/master/sdk/compute/arm-compute", "repository": { "type": "git", - "url": "https://github.com/azure/azure-sdk-for-js.git" + "url": "https://github.com/Azure/azure-sdk-for-js.git" }, "bugs": { - "url": "https://github.com/azure/azure-sdk-for-js/issues" + "url": "https://github.com/Azure/azure-sdk-for-js/issues" }, "files": [ "dist/**/*.js", diff --git a/sdk/compute/arm-compute/src/computeManagementClient.ts b/sdk/compute/arm-compute/src/computeManagementClient.ts index 2a6a78e79ac0..aad1875795c6 100644 --- a/sdk/compute/arm-compute/src/computeManagementClient.ts +++ b/sdk/compute/arm-compute/src/computeManagementClient.ts @@ -19,6 +19,9 @@ class ComputeManagementClient extends ComputeManagementClientContext { // Operation groups operations: operations.Operations; availabilitySets: operations.AvailabilitySets; + proximityPlacementGroups: operations.ProximityPlacementGroups; + dedicatedHostGroups: operations.DedicatedHostGroups; + dedicatedHosts: operations.DedicatedHosts; virtualMachineExtensionImages: operations.VirtualMachineExtensionImages; virtualMachineExtensions: operations.VirtualMachineExtensions; virtualMachineImages: operations.VirtualMachineImages; @@ -29,7 +32,6 @@ class ComputeManagementClient extends ComputeManagementClientContext { virtualMachineScaleSets: operations.VirtualMachineScaleSets; virtualMachineScaleSetExtensions: operations.VirtualMachineScaleSetExtensions; virtualMachineScaleSetRollingUpgrades: operations.VirtualMachineScaleSetRollingUpgrades; - virtualMachineScaleSet: operations.VirtualMachineScaleSetOperations; virtualMachineScaleSetVMs: operations.VirtualMachineScaleSetVMs; logAnalytics: operations.LogAnalytics; virtualMachineRunCommands: operations.VirtualMachineRunCommands; @@ -52,6 +54,9 @@ class ComputeManagementClient extends ComputeManagementClientContext { super(credentials, subscriptionId, options); this.operations = new operations.Operations(this); this.availabilitySets = new operations.AvailabilitySets(this); + this.proximityPlacementGroups = new operations.ProximityPlacementGroups(this); + this.dedicatedHostGroups = new operations.DedicatedHostGroups(this); + this.dedicatedHosts = new operations.DedicatedHosts(this); this.virtualMachineExtensionImages = new operations.VirtualMachineExtensionImages(this); this.virtualMachineExtensions = new operations.VirtualMachineExtensions(this); this.virtualMachineImages = new operations.VirtualMachineImages(this); @@ -62,7 +67,6 @@ class ComputeManagementClient extends ComputeManagementClientContext { this.virtualMachineScaleSets = new operations.VirtualMachineScaleSets(this); this.virtualMachineScaleSetExtensions = new operations.VirtualMachineScaleSetExtensions(this); this.virtualMachineScaleSetRollingUpgrades = new operations.VirtualMachineScaleSetRollingUpgrades(this); - this.virtualMachineScaleSet = new operations.VirtualMachineScaleSetOperations(this); this.virtualMachineScaleSetVMs = new operations.VirtualMachineScaleSetVMs(this); this.logAnalytics = new operations.LogAnalytics(this); this.virtualMachineRunCommands = new operations.VirtualMachineRunCommands(this); diff --git a/sdk/compute/arm-compute/src/models/availabilitySetsMappers.ts b/sdk/compute/arm-compute/src/models/availabilitySetsMappers.ts index fcf14403d584..c398b0cd0f9e 100644 --- a/sdk/compute/arm-compute/src/models/availabilitySetsMappers.ts +++ b/sdk/compute/arm-compute/src/models/availabilitySetsMappers.ts @@ -36,6 +36,13 @@ export { CreationData, DataDisk, DataDiskImage, + DedicatedHost, + DedicatedHostAllocatableVM, + DedicatedHostAvailableCapacity, + DedicatedHostGroup, + DedicatedHostGroupUpdate, + DedicatedHostInstanceView, + DedicatedHostUpdate, DiagnosticsProfile, DiffDiskSettings, Disallowed, @@ -47,7 +54,7 @@ export { EncryptionSettingsElement, Gallery, GalleryArtifactPublishingProfileBase, - GalleryArtifactSource, + GalleryArtifactVersionSource, GalleryDataDiskImage, GalleryDiskImage, GalleryIdentifier, @@ -74,7 +81,6 @@ export { KeyVaultSecretReference, LinuxConfiguration, MaintenanceRedeployStatus, - ManagedArtifact, ManagedDiskParameters, NetworkInterfaceReference, NetworkProfile, @@ -82,6 +88,8 @@ export { OSDiskImage, OSProfile, Plan, + ProximityPlacementGroup, + ProximityPlacementGroupUpdate, PurchasePlan, RecommendedMachineConfiguration, RegionalReplicationStatus, @@ -92,6 +100,7 @@ export { RollingUpgradeProgressInfo, RollingUpgradeRunningStatus, RollingUpgradeStatusInfo, + ScheduledEventsProfile, Sku, Snapshot, SnapshotSku, @@ -102,6 +111,7 @@ export { SubResource, SubResourceReadOnly, TargetRegion, + TerminateNotificationProfile, UpdateResource, UpgradePolicy, VaultCertificate, diff --git a/sdk/compute/arm-compute/src/models/containerServicesMappers.ts b/sdk/compute/arm-compute/src/models/containerServicesMappers.ts index a9f0f2c86211..12d67256a45d 100644 --- a/sdk/compute/arm-compute/src/models/containerServicesMappers.ts +++ b/sdk/compute/arm-compute/src/models/containerServicesMappers.ts @@ -36,6 +36,13 @@ export { CreationData, DataDisk, DataDiskImage, + DedicatedHost, + DedicatedHostAllocatableVM, + DedicatedHostAvailableCapacity, + DedicatedHostGroup, + DedicatedHostGroupUpdate, + DedicatedHostInstanceView, + DedicatedHostUpdate, DiagnosticsProfile, DiffDiskSettings, Disallowed, @@ -47,7 +54,7 @@ export { EncryptionSettingsElement, Gallery, GalleryArtifactPublishingProfileBase, - GalleryArtifactSource, + GalleryArtifactVersionSource, GalleryDataDiskImage, GalleryDiskImage, GalleryIdentifier, @@ -74,7 +81,6 @@ export { KeyVaultSecretReference, LinuxConfiguration, MaintenanceRedeployStatus, - ManagedArtifact, ManagedDiskParameters, NetworkInterfaceReference, NetworkProfile, @@ -82,6 +88,8 @@ export { OSDiskImage, OSProfile, Plan, + ProximityPlacementGroup, + ProximityPlacementGroupUpdate, PurchasePlan, RecommendedMachineConfiguration, RegionalReplicationStatus, @@ -92,6 +100,7 @@ export { RollingUpgradeProgressInfo, RollingUpgradeRunningStatus, RollingUpgradeStatusInfo, + ScheduledEventsProfile, Sku, Snapshot, SnapshotSku, @@ -102,6 +111,7 @@ export { SubResource, SubResourceReadOnly, TargetRegion, + TerminateNotificationProfile, UpdateResource, UpgradePolicy, VaultCertificate, diff --git a/sdk/compute/arm-compute/src/models/dedicatedHostGroupsMappers.ts b/sdk/compute/arm-compute/src/models/dedicatedHostGroupsMappers.ts new file mode 100644 index 000000000000..0e28e914df7e --- /dev/null +++ b/sdk/compute/arm-compute/src/models/dedicatedHostGroupsMappers.ts @@ -0,0 +1,169 @@ +/* + * Copyright (c) Microsoft Corporation. All rights reserved. + * Licensed under the MIT License. See License.txt in the project root for license information. + * + * 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, + AvailabilitySet, + AvailabilitySetUpdate, + BaseResource, + BootDiagnostics, + BootDiagnosticsInstanceView, + CloudError, + ContainerService, + ContainerServiceAgentPoolProfile, + ContainerServiceCustomProfile, + ContainerServiceDiagnosticsProfile, + ContainerServiceLinuxProfile, + ContainerServiceMasterProfile, + ContainerServiceOrchestratorProfile, + ContainerServiceServicePrincipalProfile, + ContainerServiceSshConfiguration, + ContainerServiceSshPublicKey, + ContainerServiceVMDiagnostics, + ContainerServiceWindowsProfile, + CreationData, + DataDisk, + DataDiskImage, + DedicatedHost, + DedicatedHostAllocatableVM, + DedicatedHostAvailableCapacity, + DedicatedHostGroup, + DedicatedHostGroupListResult, + DedicatedHostGroupUpdate, + DedicatedHostInstanceView, + DedicatedHostUpdate, + DiagnosticsProfile, + DiffDiskSettings, + Disallowed, + Disk, + DiskEncryptionSettings, + DiskInstanceView, + DiskSku, + EncryptionSettingsCollection, + EncryptionSettingsElement, + Gallery, + GalleryArtifactPublishingProfileBase, + GalleryArtifactVersionSource, + GalleryDataDiskImage, + GalleryDiskImage, + GalleryIdentifier, + GalleryImage, + GalleryImageIdentifier, + GalleryImageVersion, + GalleryImageVersionPublishingProfile, + GalleryImageVersionStorageProfile, + GalleryOSDiskImage, + HardwareProfile, + Image, + ImageDataDisk, + ImageDiskReference, + ImageOSDisk, + ImagePurchasePlan, + ImageReference, + ImageStorageProfile, + ImageUpdate, + InnerError, + InstanceViewStatus, + KeyVaultAndKeyReference, + KeyVaultAndSecretReference, + KeyVaultKeyReference, + KeyVaultSecretReference, + LinuxConfiguration, + MaintenanceRedeployStatus, + ManagedDiskParameters, + NetworkInterfaceReference, + NetworkProfile, + OSDisk, + OSDiskImage, + OSProfile, + Plan, + ProximityPlacementGroup, + ProximityPlacementGroupUpdate, + PurchasePlan, + RecommendedMachineConfiguration, + RegionalReplicationStatus, + ReplicationStatus, + Resource, + ResourceRange, + RollingUpgradePolicy, + RollingUpgradeProgressInfo, + RollingUpgradeRunningStatus, + RollingUpgradeStatusInfo, + ScheduledEventsProfile, + Sku, + Snapshot, + SnapshotSku, + SourceVault, + SshConfiguration, + SshPublicKey, + StorageProfile, + SubResource, + SubResourceReadOnly, + TargetRegion, + TerminateNotificationProfile, + UpdateResource, + UpgradePolicy, + VaultCertificate, + VaultSecretGroup, + VirtualHardDisk, + VirtualMachine, + VirtualMachineAgentInstanceView, + VirtualMachineCaptureResult, + VirtualMachineExtension, + VirtualMachineExtensionHandlerInstanceView, + VirtualMachineExtensionImage, + VirtualMachineExtensionInstanceView, + VirtualMachineExtensionUpdate, + VirtualMachineHealthStatus, + VirtualMachineIdentity, + VirtualMachineIdentityUserAssignedIdentitiesValue, + VirtualMachineImage, + VirtualMachineImageResource, + VirtualMachineInstanceView, + VirtualMachineScaleSet, + VirtualMachineScaleSetDataDisk, + VirtualMachineScaleSetExtension, + VirtualMachineScaleSetExtensionProfile, + VirtualMachineScaleSetIdentity, + VirtualMachineScaleSetIdentityUserAssignedIdentitiesValue, + VirtualMachineScaleSetIPConfiguration, + VirtualMachineScaleSetIpTag, + VirtualMachineScaleSetManagedDiskParameters, + VirtualMachineScaleSetNetworkConfiguration, + VirtualMachineScaleSetNetworkConfigurationDnsSettings, + VirtualMachineScaleSetNetworkProfile, + VirtualMachineScaleSetOSDisk, + VirtualMachineScaleSetOSProfile, + VirtualMachineScaleSetPublicIPAddressConfiguration, + VirtualMachineScaleSetPublicIPAddressConfigurationDnsSettings, + VirtualMachineScaleSetStorageProfile, + VirtualMachineScaleSetUpdate, + VirtualMachineScaleSetUpdateIPConfiguration, + VirtualMachineScaleSetUpdateNetworkConfiguration, + VirtualMachineScaleSetUpdateNetworkProfile, + VirtualMachineScaleSetUpdateOSDisk, + VirtualMachineScaleSetUpdateOSProfile, + VirtualMachineScaleSetUpdatePublicIPAddressConfiguration, + VirtualMachineScaleSetUpdateStorageProfile, + VirtualMachineScaleSetUpdateVMProfile, + VirtualMachineScaleSetVM, + VirtualMachineScaleSetVMInstanceView, + VirtualMachineScaleSetVMNetworkProfileConfiguration, + VirtualMachineScaleSetVMProfile, + VirtualMachineScaleSetVMProtectionPolicy, + VirtualMachineUpdate, + WindowsConfiguration, + WinRMConfiguration, + WinRMListener +} from "../models/mappers"; diff --git a/sdk/compute/arm-compute/src/models/dedicatedHostsMappers.ts b/sdk/compute/arm-compute/src/models/dedicatedHostsMappers.ts new file mode 100644 index 000000000000..f78b7b1889ae --- /dev/null +++ b/sdk/compute/arm-compute/src/models/dedicatedHostsMappers.ts @@ -0,0 +1,169 @@ +/* + * Copyright (c) Microsoft Corporation. All rights reserved. + * Licensed under the MIT License. See License.txt in the project root for license information. + * + * 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, + AvailabilitySet, + AvailabilitySetUpdate, + BaseResource, + BootDiagnostics, + BootDiagnosticsInstanceView, + CloudError, + ContainerService, + ContainerServiceAgentPoolProfile, + ContainerServiceCustomProfile, + ContainerServiceDiagnosticsProfile, + ContainerServiceLinuxProfile, + ContainerServiceMasterProfile, + ContainerServiceOrchestratorProfile, + ContainerServiceServicePrincipalProfile, + ContainerServiceSshConfiguration, + ContainerServiceSshPublicKey, + ContainerServiceVMDiagnostics, + ContainerServiceWindowsProfile, + CreationData, + DataDisk, + DataDiskImage, + DedicatedHost, + DedicatedHostAllocatableVM, + DedicatedHostAvailableCapacity, + DedicatedHostGroup, + DedicatedHostGroupUpdate, + DedicatedHostInstanceView, + DedicatedHostListResult, + DedicatedHostUpdate, + DiagnosticsProfile, + DiffDiskSettings, + Disallowed, + Disk, + DiskEncryptionSettings, + DiskInstanceView, + DiskSku, + EncryptionSettingsCollection, + EncryptionSettingsElement, + Gallery, + GalleryArtifactPublishingProfileBase, + GalleryArtifactVersionSource, + GalleryDataDiskImage, + GalleryDiskImage, + GalleryIdentifier, + GalleryImage, + GalleryImageIdentifier, + GalleryImageVersion, + GalleryImageVersionPublishingProfile, + GalleryImageVersionStorageProfile, + GalleryOSDiskImage, + HardwareProfile, + Image, + ImageDataDisk, + ImageDiskReference, + ImageOSDisk, + ImagePurchasePlan, + ImageReference, + ImageStorageProfile, + ImageUpdate, + InnerError, + InstanceViewStatus, + KeyVaultAndKeyReference, + KeyVaultAndSecretReference, + KeyVaultKeyReference, + KeyVaultSecretReference, + LinuxConfiguration, + MaintenanceRedeployStatus, + ManagedDiskParameters, + NetworkInterfaceReference, + NetworkProfile, + OSDisk, + OSDiskImage, + OSProfile, + Plan, + ProximityPlacementGroup, + ProximityPlacementGroupUpdate, + PurchasePlan, + RecommendedMachineConfiguration, + RegionalReplicationStatus, + ReplicationStatus, + Resource, + ResourceRange, + RollingUpgradePolicy, + RollingUpgradeProgressInfo, + RollingUpgradeRunningStatus, + RollingUpgradeStatusInfo, + ScheduledEventsProfile, + Sku, + Snapshot, + SnapshotSku, + SourceVault, + SshConfiguration, + SshPublicKey, + StorageProfile, + SubResource, + SubResourceReadOnly, + TargetRegion, + TerminateNotificationProfile, + UpdateResource, + UpgradePolicy, + VaultCertificate, + VaultSecretGroup, + VirtualHardDisk, + VirtualMachine, + VirtualMachineAgentInstanceView, + VirtualMachineCaptureResult, + VirtualMachineExtension, + VirtualMachineExtensionHandlerInstanceView, + VirtualMachineExtensionImage, + VirtualMachineExtensionInstanceView, + VirtualMachineExtensionUpdate, + VirtualMachineHealthStatus, + VirtualMachineIdentity, + VirtualMachineIdentityUserAssignedIdentitiesValue, + VirtualMachineImage, + VirtualMachineImageResource, + VirtualMachineInstanceView, + VirtualMachineScaleSet, + VirtualMachineScaleSetDataDisk, + VirtualMachineScaleSetExtension, + VirtualMachineScaleSetExtensionProfile, + VirtualMachineScaleSetIdentity, + VirtualMachineScaleSetIdentityUserAssignedIdentitiesValue, + VirtualMachineScaleSetIPConfiguration, + VirtualMachineScaleSetIpTag, + VirtualMachineScaleSetManagedDiskParameters, + VirtualMachineScaleSetNetworkConfiguration, + VirtualMachineScaleSetNetworkConfigurationDnsSettings, + VirtualMachineScaleSetNetworkProfile, + VirtualMachineScaleSetOSDisk, + VirtualMachineScaleSetOSProfile, + VirtualMachineScaleSetPublicIPAddressConfiguration, + VirtualMachineScaleSetPublicIPAddressConfigurationDnsSettings, + VirtualMachineScaleSetStorageProfile, + VirtualMachineScaleSetUpdate, + VirtualMachineScaleSetUpdateIPConfiguration, + VirtualMachineScaleSetUpdateNetworkConfiguration, + VirtualMachineScaleSetUpdateNetworkProfile, + VirtualMachineScaleSetUpdateOSDisk, + VirtualMachineScaleSetUpdateOSProfile, + VirtualMachineScaleSetUpdatePublicIPAddressConfiguration, + VirtualMachineScaleSetUpdateStorageProfile, + VirtualMachineScaleSetUpdateVMProfile, + VirtualMachineScaleSetVM, + VirtualMachineScaleSetVMInstanceView, + VirtualMachineScaleSetVMNetworkProfileConfiguration, + VirtualMachineScaleSetVMProfile, + VirtualMachineScaleSetVMProtectionPolicy, + VirtualMachineUpdate, + WindowsConfiguration, + WinRMConfiguration, + WinRMListener +} from "../models/mappers"; diff --git a/sdk/compute/arm-compute/src/models/disksMappers.ts b/sdk/compute/arm-compute/src/models/disksMappers.ts index 95e2dfea55a3..933336b4e3d1 100644 --- a/sdk/compute/arm-compute/src/models/disksMappers.ts +++ b/sdk/compute/arm-compute/src/models/disksMappers.ts @@ -36,6 +36,13 @@ export { CreationData, DataDisk, DataDiskImage, + DedicatedHost, + DedicatedHostAllocatableVM, + DedicatedHostAvailableCapacity, + DedicatedHostGroup, + DedicatedHostGroupUpdate, + DedicatedHostInstanceView, + DedicatedHostUpdate, DiagnosticsProfile, DiffDiskSettings, Disallowed, @@ -49,7 +56,7 @@ export { EncryptionSettingsElement, Gallery, GalleryArtifactPublishingProfileBase, - GalleryArtifactSource, + GalleryArtifactVersionSource, GalleryDataDiskImage, GalleryDiskImage, GalleryIdentifier, @@ -77,7 +84,6 @@ export { KeyVaultSecretReference, LinuxConfiguration, MaintenanceRedeployStatus, - ManagedArtifact, ManagedDiskParameters, NetworkInterfaceReference, NetworkProfile, @@ -85,6 +91,8 @@ export { OSDiskImage, OSProfile, Plan, + ProximityPlacementGroup, + ProximityPlacementGroupUpdate, PurchasePlan, RecommendedMachineConfiguration, RegionalReplicationStatus, @@ -95,6 +103,7 @@ export { RollingUpgradeProgressInfo, RollingUpgradeRunningStatus, RollingUpgradeStatusInfo, + ScheduledEventsProfile, Sku, Snapshot, SnapshotSku, @@ -105,6 +114,7 @@ export { SubResource, SubResourceReadOnly, TargetRegion, + TerminateNotificationProfile, UpdateResource, UpgradePolicy, VaultCertificate, diff --git a/sdk/compute/arm-compute/src/models/galleriesMappers.ts b/sdk/compute/arm-compute/src/models/galleriesMappers.ts index 4687700e7133..e6dfd400aa99 100644 --- a/sdk/compute/arm-compute/src/models/galleriesMappers.ts +++ b/sdk/compute/arm-compute/src/models/galleriesMappers.ts @@ -35,6 +35,13 @@ export { CreationData, DataDisk, DataDiskImage, + DedicatedHost, + DedicatedHostAllocatableVM, + DedicatedHostAvailableCapacity, + DedicatedHostGroup, + DedicatedHostGroupUpdate, + DedicatedHostInstanceView, + DedicatedHostUpdate, DiagnosticsProfile, DiffDiskSettings, Disallowed, @@ -46,7 +53,7 @@ export { EncryptionSettingsElement, Gallery, GalleryArtifactPublishingProfileBase, - GalleryArtifactSource, + GalleryArtifactVersionSource, GalleryDataDiskImage, GalleryDiskImage, GalleryIdentifier, @@ -74,7 +81,6 @@ export { KeyVaultSecretReference, LinuxConfiguration, MaintenanceRedeployStatus, - ManagedArtifact, ManagedDiskParameters, NetworkInterfaceReference, NetworkProfile, @@ -82,6 +88,8 @@ export { OSDiskImage, OSProfile, Plan, + ProximityPlacementGroup, + ProximityPlacementGroupUpdate, PurchasePlan, RecommendedMachineConfiguration, RegionalReplicationStatus, @@ -92,6 +100,7 @@ export { RollingUpgradeProgressInfo, RollingUpgradeRunningStatus, RollingUpgradeStatusInfo, + ScheduledEventsProfile, Sku, Snapshot, SnapshotSku, @@ -102,6 +111,7 @@ export { SubResource, SubResourceReadOnly, TargetRegion, + TerminateNotificationProfile, UpdateResource, UpgradePolicy, VaultCertificate, diff --git a/sdk/compute/arm-compute/src/models/galleryImageVersionsMappers.ts b/sdk/compute/arm-compute/src/models/galleryImageVersionsMappers.ts index 49635438d1f8..bf2fcfd9c4e1 100644 --- a/sdk/compute/arm-compute/src/models/galleryImageVersionsMappers.ts +++ b/sdk/compute/arm-compute/src/models/galleryImageVersionsMappers.ts @@ -35,6 +35,13 @@ export { CreationData, DataDisk, DataDiskImage, + DedicatedHost, + DedicatedHostAllocatableVM, + DedicatedHostAvailableCapacity, + DedicatedHostGroup, + DedicatedHostGroupUpdate, + DedicatedHostInstanceView, + DedicatedHostUpdate, DiagnosticsProfile, DiffDiskSettings, Disallowed, @@ -46,7 +53,7 @@ export { EncryptionSettingsElement, Gallery, GalleryArtifactPublishingProfileBase, - GalleryArtifactSource, + GalleryArtifactVersionSource, GalleryDataDiskImage, GalleryDiskImage, GalleryIdentifier, @@ -74,7 +81,6 @@ export { KeyVaultSecretReference, LinuxConfiguration, MaintenanceRedeployStatus, - ManagedArtifact, ManagedDiskParameters, NetworkInterfaceReference, NetworkProfile, @@ -82,6 +88,8 @@ export { OSDiskImage, OSProfile, Plan, + ProximityPlacementGroup, + ProximityPlacementGroupUpdate, PurchasePlan, RecommendedMachineConfiguration, RegionalReplicationStatus, @@ -92,6 +100,7 @@ export { RollingUpgradeProgressInfo, RollingUpgradeRunningStatus, RollingUpgradeStatusInfo, + ScheduledEventsProfile, Sku, Snapshot, SnapshotSku, @@ -102,6 +111,7 @@ export { SubResource, SubResourceReadOnly, TargetRegion, + TerminateNotificationProfile, UpdateResource, UpgradePolicy, VaultCertificate, diff --git a/sdk/compute/arm-compute/src/models/galleryImagesMappers.ts b/sdk/compute/arm-compute/src/models/galleryImagesMappers.ts index 3d94ca5fa3a2..74a0f94af187 100644 --- a/sdk/compute/arm-compute/src/models/galleryImagesMappers.ts +++ b/sdk/compute/arm-compute/src/models/galleryImagesMappers.ts @@ -35,6 +35,13 @@ export { CreationData, DataDisk, DataDiskImage, + DedicatedHost, + DedicatedHostAllocatableVM, + DedicatedHostAvailableCapacity, + DedicatedHostGroup, + DedicatedHostGroupUpdate, + DedicatedHostInstanceView, + DedicatedHostUpdate, DiagnosticsProfile, DiffDiskSettings, Disallowed, @@ -46,7 +53,7 @@ export { EncryptionSettingsElement, Gallery, GalleryArtifactPublishingProfileBase, - GalleryArtifactSource, + GalleryArtifactVersionSource, GalleryDataDiskImage, GalleryDiskImage, GalleryIdentifier, @@ -74,7 +81,6 @@ export { KeyVaultSecretReference, LinuxConfiguration, MaintenanceRedeployStatus, - ManagedArtifact, ManagedDiskParameters, NetworkInterfaceReference, NetworkProfile, @@ -82,6 +88,8 @@ export { OSDiskImage, OSProfile, Plan, + ProximityPlacementGroup, + ProximityPlacementGroupUpdate, PurchasePlan, RecommendedMachineConfiguration, RegionalReplicationStatus, @@ -92,6 +100,7 @@ export { RollingUpgradeProgressInfo, RollingUpgradeRunningStatus, RollingUpgradeStatusInfo, + ScheduledEventsProfile, Sku, Snapshot, SnapshotSku, @@ -102,6 +111,7 @@ export { SubResource, SubResourceReadOnly, TargetRegion, + TerminateNotificationProfile, UpdateResource, UpgradePolicy, VaultCertificate, diff --git a/sdk/compute/arm-compute/src/models/imagesMappers.ts b/sdk/compute/arm-compute/src/models/imagesMappers.ts index 9d476228fb50..49af9be82511 100644 --- a/sdk/compute/arm-compute/src/models/imagesMappers.ts +++ b/sdk/compute/arm-compute/src/models/imagesMappers.ts @@ -35,6 +35,13 @@ export { CreationData, DataDisk, DataDiskImage, + DedicatedHost, + DedicatedHostAllocatableVM, + DedicatedHostAvailableCapacity, + DedicatedHostGroup, + DedicatedHostGroupUpdate, + DedicatedHostInstanceView, + DedicatedHostUpdate, DiagnosticsProfile, DiffDiskSettings, Disallowed, @@ -46,7 +53,7 @@ export { EncryptionSettingsElement, Gallery, GalleryArtifactPublishingProfileBase, - GalleryArtifactSource, + GalleryArtifactVersionSource, GalleryDataDiskImage, GalleryDiskImage, GalleryIdentifier, @@ -74,7 +81,6 @@ export { KeyVaultSecretReference, LinuxConfiguration, MaintenanceRedeployStatus, - ManagedArtifact, ManagedDiskParameters, NetworkInterfaceReference, NetworkProfile, @@ -82,6 +88,8 @@ export { OSDiskImage, OSProfile, Plan, + ProximityPlacementGroup, + ProximityPlacementGroupUpdate, PurchasePlan, RecommendedMachineConfiguration, RegionalReplicationStatus, @@ -92,6 +100,7 @@ export { RollingUpgradeProgressInfo, RollingUpgradeRunningStatus, RollingUpgradeStatusInfo, + ScheduledEventsProfile, Sku, Snapshot, SnapshotSku, @@ -102,6 +111,7 @@ export { SubResource, SubResourceReadOnly, TargetRegion, + TerminateNotificationProfile, UpdateResource, UpgradePolicy, VaultCertificate, diff --git a/sdk/compute/arm-compute/src/models/index.ts b/sdk/compute/arm-compute/src/models/index.ts index ab37a5df853a..68d208b7ba58 100644 --- a/sdk/compute/arm-compute/src/models/index.ts +++ b/sdk/compute/arm-compute/src/models/index.ts @@ -156,6 +156,11 @@ export interface AvailabilitySet extends Resource { * A list of references to all virtual machines in the availability set. */ virtualMachines?: SubResource[]; + /** + * Specifies information about the proximity placement group that the availability set should be + * assigned to.

Minimum api-version: 2018-04-01. + */ + proximityPlacementGroup?: SubResource; /** * The resource status information. * **NOTE: This property will not be serialized. It can only be populated by the server.** @@ -196,6 +201,11 @@ export interface AvailabilitySetUpdate extends UpdateResource { * A list of references to all virtual machines in the availability set. */ virtualMachines?: SubResource[]; + /** + * Specifies information about the proximity placement group that the availability set should be + * assigned to.

Minimum api-version: 2018-04-01. + */ + proximityPlacementGroup?: SubResource; /** * The resource status information. * **NOTE: This property will not be serialized. It can only be populated by the server.** @@ -207,6 +217,241 @@ export interface AvailabilitySetUpdate extends UpdateResource { sku?: Sku; } +/** + * Specifies information about the proximity placement group. + */ +export interface ProximityPlacementGroup extends Resource { + /** + * Specifies the type of the proximity placement group.

Possible values are:

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

+ * **Ultra** : For future use. Possible values include: 'Standard', 'Ultra' + */ + proximityPlacementGroupType?: ProximityPlacementGroupType; + /** + * A list of references to all virtual machines in the proximity placement group. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly virtualMachines?: SubResource[]; + /** + * A list of references to all virtual machine scale sets in the proximity placement group. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly virtualMachineScaleSets?: SubResource[]; + /** + * A list of references to all availability sets in the proximity placement group. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly availabilitySets?: SubResource[]; +} + +/** + * Specifies information about the proximity placement group. + */ +export interface ProximityPlacementGroupUpdate extends UpdateResource { +} + +/** + * An interface representing SubResourceReadOnly. + */ +export interface SubResourceReadOnly extends BaseResource { + /** + * Resource Id + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly id?: string; +} + +/** + * Specifies information about the dedicated host group that the dedicated hosts should be assigned + * to.

Currently, a dedicated host can only be added to a dedicated host group at creation + * time. An existing dedicated host cannot be added to another dedicated host group. + */ +export interface DedicatedHostGroup extends Resource { + /** + * Number of fault domains that the host group can span. + */ + platformFaultDomainCount: number; + /** + * A list of references to all dedicated hosts in the dedicated host group. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly hosts?: SubResourceReadOnly[]; + /** + * Availability Zone to use for this host group. Only single zone is supported. The zone can be + * assigned only during creation. If not provided, the group supports all zones in the region. If + * provided, enforces each host in the group to be in the same zone. + */ + zones?: string[]; +} + +/** + * Specifies information about the dedicated host group that the dedicated host should be assigned + * to. Only tags may be updated. + */ +export interface DedicatedHostGroupUpdate extends UpdateResource { + /** + * Number of fault domains that the host group can span. + */ + platformFaultDomainCount: number; + /** + * A list of references to all dedicated hosts in the dedicated host group. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly hosts?: SubResourceReadOnly[]; + /** + * Availability Zone to use for this host group. Only single zone is supported. The zone can be + * assigned only during creation. If not provided, the group supports all zones in the region. If + * provided, enforces each host in the group to be in the same zone. + */ + zones?: string[]; +} + +/** + * Represents the dedicated host unutilized capacity in terms of a specific VM size. + */ +export interface DedicatedHostAllocatableVM { + /** + * VM size in terms of which the unutilized capacity is represented. + */ + vmSize?: string; + /** + * Maximum number of VMs of size vmSize that can fit in the dedicated host's remaining capacity. + */ + count?: number; +} + +/** + * Dedicated host unutilized capacity. + */ +export interface DedicatedHostAvailableCapacity { + /** + * The unutilized capacity of the dedicated host represented in terms of each VM size that is + * allowed to be deployed to the dedicated host. + */ + allocatableVMs?: DedicatedHostAllocatableVM[]; +} + +/** + * The instance view of a dedicated host. + */ +export interface DedicatedHostInstanceView { + /** + * Specifies the unique id of the dedicated physical machine on which the dedicated host resides. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly assetId?: string; + /** + * Unutilized capacity of the dedicated host. + */ + availableCapacity?: DedicatedHostAvailableCapacity; + /** + * The resource status information. + */ + statuses?: InstanceViewStatus[]; +} + +/** + * Specifies information about the Dedicated host. + */ +export interface DedicatedHost extends Resource { + /** + * Fault domain of the dedicated host within a dedicated host group. + */ + platformFaultDomain?: number; + /** + * Specifies whether the dedicated host should be replaced automatically in case of a failure. + * The value is defaulted to 'true' when not provided. + */ + autoReplaceOnFailure?: boolean; + /** + * A unique id generated and assigned to the dedicated host by the platform.

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

Possible values are:

**None**

**Windows_Server_Hybrid** + *

**Windows_Server_Perpetual**

Default: **None**. Possible values include: + * 'None', 'Windows_Server_Hybrid', 'Windows_Server_Perpetual' + */ + licenseType?: DedicatedHostLicenseTypes; + /** + * The date when the host was first provisioned. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly provisioningTime?: Date; + /** + * The provisioning state, which only appears in the response. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly provisioningState?: string; + /** + * The dedicated host instance view. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly instanceView?: DedicatedHostInstanceView; + /** + * SKU of the dedicated host for Hardware Generation and VM family. Only name is required to be + * set. List Microsoft.Compute SKUs for a list of possible values. + */ + sku: Sku; +} + +/** + * Specifies information about the dedicated host. Only tags, autoReplaceOnFailure and licenseType + * may be updated. + */ +export interface DedicatedHostUpdate extends UpdateResource { + /** + * Fault domain of the dedicated host within a dedicated host group. + */ + platformFaultDomain?: number; + /** + * Specifies whether the dedicated host should be replaced automatically in case of a failure. + * The value is defaulted to 'true' when not provided. + */ + autoReplaceOnFailure?: boolean; + /** + * A unique id generated and assigned to the dedicated host by the platform.

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

Possible values are:

**None**

**Windows_Server_Hybrid** + *

**Windows_Server_Perpetual**

Default: **None**. Possible values include: + * 'None', 'Windows_Server_Hybrid', 'Windows_Server_Perpetual' + */ + licenseType?: DedicatedHostLicenseTypes; + /** + * The date when the host was first provisioned. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly provisioningTime?: Date; + /** + * The provisioning state, which only appears in the response. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly provisioningState?: string; + /** + * The dedicated host instance view. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly instanceView?: DedicatedHostInstanceView; +} + /** * Describes the properties of a VM size. */ @@ -505,7 +750,8 @@ export interface Usage { */ export interface VirtualMachineReimageParameters { /** - * Specifies whether to reimage temp disk. Default value: false. + * Specifies whether to reimage temp disk. Default value: false. Note: This temp disk reimage + * parameter is only supported for VM/VMSS with Ephemeral OS disk. */ tempDisk?: boolean; } @@ -863,6 +1109,11 @@ export interface DataDisk { * The managed disk parameters. */ managedDisk?: ManagedDiskParameters; + /** + * Specifies whether the data disk is in process of detachment from the + * VirtualMachine/VirtualMachineScaleset + */ + toBeDetached?: boolean; } /** @@ -974,7 +1225,9 @@ export interface WindowsConfiguration { */ provisionVMAgent?: boolean; /** - * Indicates whether virtual machine is enabled for automatic updates. + * Indicates whether Automatic Updates is enabled for the Windows virtual machine. Default value + * is true.

For virtual machine scale sets, this property can be updated and updates + * will take effect on OS reprovisioning. */ enableAutomaticUpdates?: boolean; /** @@ -1390,6 +1643,11 @@ export interface VirtualMachineInstanceView { * The version of Operating System running on the virtual machine. */ osVersion?: string; + /** + * Specifies the HyperVGeneration Type associated with a resource. Possible values include: 'V1', + * 'V2' + */ + hyperVGeneration?: HyperVGenerationType; /** * The Remote desktop certificate thumbprint. */ @@ -1471,6 +1729,16 @@ export interface VirtualMachine extends Resource { * VM cannot be added to an availability set. */ availabilitySet?: SubResource; + /** + * Specifies information about the proximity placement group that the virtual machine should be + * assigned to.

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

Minimum api-version: 2018-10-01. + */ + host?: SubResource; /** * The provisioning state, which only appears in the response. * **NOTE: This property will not be serialized. It can only be populated by the server.** @@ -1561,6 +1829,16 @@ export interface VirtualMachineUpdate extends UpdateResource { * VM cannot be added to an availability set. */ availabilitySet?: SubResource; + /** + * Specifies information about the proximity placement group that the virtual machine should be + * assigned to.

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

Minimum api-version: 2018-10-01. + */ + host?: SubResource; /** * The provisioning state, which only appears in the response. * **NOTE: This property will not be serialized. It can only be populated by the server.** @@ -1602,8 +1880,11 @@ export interface VirtualMachineUpdate extends UpdateResource { */ export interface AutomaticOSUpgradePolicy { /** - * Whether OS upgrades should automatically be applied to scale set instances in a rolling - * fashion when a newer version of the image becomes available. Default value is false. + * Indicates whether OS upgrades should automatically be applied to scale set instances in a + * rolling fashion when a newer version of the OS image becomes available. Default value is + * false.

If this is set to true for Windows based scale sets, + * [enableAutomaticUpdates](https://docs.microsoft.com/dotnet/api/microsoft.azure.management.compute.models.windowsconfiguration.enableautomaticupdates?view=azure-dotnet) + * is automatically set to false and cannot be set to true. */ enableAutomaticOSUpgrade?: boolean; /** @@ -1794,6 +2075,11 @@ export interface Image extends Resource { * **NOTE: This property will not be serialized. It can only be populated by the server.** */ readonly provisioningState?: string; + /** + * Gets the HyperVGenerationType of the VirtualMachine created from the image. Possible values + * include: 'V1', 'V2' + */ + hyperVGeneration?: HyperVGenerationTypes; } /** @@ -1813,6 +2099,11 @@ export interface ImageUpdate extends UpdateResource { * **NOTE: This property will not be serialized. It can only be populated by the server.** */ readonly provisioningState?: string; + /** + * Gets the HyperVGenerationType of the VirtualMachine created from the image. Possible values + * include: 'V1', 'V2' + */ + hyperVGeneration?: HyperVGenerationTypes; } /** @@ -2420,17 +2711,6 @@ export interface VirtualMachineScaleSetUpdateNetworkProfile { networkInterfaceConfigurations?: VirtualMachineScaleSetUpdateNetworkConfiguration[]; } -/** - * An interface representing SubResourceReadOnly. - */ -export interface SubResourceReadOnly extends BaseResource { - /** - * Resource Id - * **NOTE: This property will not be serialized. It can only be populated by the server.** - */ - readonly id?: string; -} - /** * Describes a Virtual Machine Scale Set Extension. */ @@ -2492,6 +2772,32 @@ export interface VirtualMachineScaleSetExtensionProfile { extensions?: VirtualMachineScaleSetExtension[]; } +/** + * An interface representing TerminateNotificationProfile. + */ +export interface TerminateNotificationProfile { + /** + * Configurable length of time a Virtual Machine being deleted will have to potentially approve + * the Terminate Scheduled Event before the event is auto approved (timed out). The configuration + * must be specified in ISO 8601 format, the default value is 5 minutes (PT5M) + */ + notBeforeTimeout?: string; + /** + * Specifies whether the Terminate Scheduled event is enabled or disabled. + */ + enable?: boolean; +} + +/** + * An interface representing ScheduledEventsProfile. + */ +export interface ScheduledEventsProfile { + /** + * Specifies Terminate Scheduled Event related configurations. + */ + terminateNotificationProfile?: TerminateNotificationProfile; +} + /** * Describes a virtual machine scale set virtual machine profile. */ @@ -2504,12 +2810,6 @@ export interface VirtualMachineScaleSetVMProfile { * Specifies the storage settings for the virtual machine disks. */ storageProfile?: VirtualMachineScaleSetStorageProfile; - /** - * Specifies additional capabilities enabled or disabled on the virtual machine in the scale set. - * For instance: whether the virtual machine has the capability to support attaching managed data - * disks with UltraSSD_LRS storage account type. - */ - additionalCapabilities?: AdditionalCapabilities; /** * Specifies properties of the network interfaces of the virtual machines in the scale set. */ @@ -2544,6 +2844,10 @@ export interface VirtualMachineScaleSetVMProfile { * 'Delete' */ evictionPolicy?: VirtualMachineEvictionPolicyTypes; + /** + * Specifies Scheduled Event related configurations. + */ + scheduledEventsProfile?: ScheduledEventsProfile; } /** @@ -2574,6 +2878,10 @@ export interface VirtualMachineScaleSetUpdateVMProfile { * The license type, which is for bring your own license scenario. */ licenseType?: string; + /** + * Specifies Scheduled Event related configurations. + */ + scheduledEventsProfile?: ScheduledEventsProfile; } /** @@ -2634,6 +2942,17 @@ export interface VirtualMachineScaleSet extends Resource { * Fault Domain count for each placement group. */ platformFaultDomainCount?: number; + /** + * Specifies information about the proximity placement group that the virtual machine scale set + * should be assigned to.

Minimum api-version: 2018-04-01. + */ + proximityPlacementGroup?: SubResource; + /** + * Specifies additional capabilities enabled or disabled on the Virtual Machines in the Virtual + * Machine Scale Set. For instance: whether the Virtual Machines have the capability to support + * attaching managed data disks with UltraSSD_LRS storage account type. + */ + additionalCapabilities?: AdditionalCapabilities; /** * The identity of the virtual machine scale set, if configured. */ @@ -2691,6 +3010,12 @@ export interface VirtualMachineScaleSetUpdate extends UpdateResource { * machines. */ singlePlacementGroup?: boolean; + /** + * Specifies additional capabilities enabled or disabled on the Virtual Machines in the Virtual + * Machine Scale Set. For instance: whether the Virtual Machines have the capability to support + * attaching managed data disks with UltraSSD_LRS storage account type. + */ + additionalCapabilities?: AdditionalCapabilities; /** * The identity of the virtual machine scale set, if configured. */ @@ -3540,6 +3865,22 @@ export interface ResourceSkuCapabilities { readonly value?: string; } +/** + * Describes The zonal capabilities of a SKU. + */ +export interface ResourceSkuZoneDetails { + /** + * The set of zones that the SKU is available in with the specified capabilities. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly name?: string[]; + /** + * A list of capabilities that are available for the SKU in the specified list of zones. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly capabilities?: ResourceSkuCapabilities[]; +} + /** * An interface representing ResourceSkuRestrictionInfo. */ @@ -3597,6 +3938,11 @@ export interface ResourceSkuLocationInfo { * **NOTE: This property will not be serialized. It can only be populated by the server.** */ readonly zones?: string[]; + /** + * Details of capabilities available to a SKU in specific zones. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly zoneDetails?: ResourceSkuZoneDetails[]; } /** @@ -4151,10 +4497,15 @@ export interface GalleryImage extends Resource { */ osType: OperatingSystemTypes; /** - * The allowed values for OS State are 'Generalized'. Possible values include: 'Generalized', - * 'Specialized' + * This property allows the user to specify whether the virtual machines created under this image + * are 'Generalized' or 'Specialized'. Possible values include: 'Generalized', 'Specialized' */ osState: OperatingSystemStateTypes; + /** + * The hypervisor generation of the Virtual Machine. Applicable to OS disks only. Possible values + * include: 'V1', 'V2' + */ + hyperVGeneration?: HyperVGeneration; /** * The end of life date of the gallery Image Definition. This property can be used for * decommissioning purposes. This property is updatable. @@ -4182,7 +4533,6 @@ export interface GalleryArtifactPublishingProfileBase { * updatable. */ targetRegions?: TargetRegion[]; - source: GalleryArtifactSource; } /** @@ -4216,6 +4566,17 @@ export interface GalleryImageVersionPublishingProfile extends GalleryArtifactPub storageAccountType?: StorageAccountType; } +/** + * The gallery artifact version source. + */ +export interface GalleryArtifactVersionSource { + /** + * The id of the gallery artifact version source. Can specify a disk uri, snapshot uri, or user + * image. + */ + id: string; +} + /** * This is the disk image base class. */ @@ -4228,9 +4589,9 @@ export interface GalleryDiskImage { /** * The host caching of the disk. Valid values are 'None', 'ReadOnly', and 'ReadWrite'. Possible * values include: 'None', 'ReadOnly', 'ReadWrite' - * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - readonly hostCaching?: HostCaching; + hostCaching?: HostCaching; + source?: GalleryArtifactVersionSource; } /** @@ -4247,24 +4608,20 @@ export interface GalleryDataDiskImage extends GalleryDiskImage { * This property specifies the logical unit number of the data disk. This value is used to * identify data disks within the Virtual Machine and therefore must be unique for each data disk * attached to the Virtual Machine. - * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - readonly lun?: number; + lun: number; } /** - * This is the storage profile of a gallery Image Version. + * This is the storage profile of a Gallery Image Version. */ export interface GalleryImageVersionStorageProfile { - /** - * **NOTE: This property will not be serialized. It can only be populated by the server.** - */ - readonly osDiskImage?: GalleryOSDiskImage; + source?: GalleryArtifactVersionSource; + osDiskImage?: GalleryOSDiskImage; /** * A list of data disk images. - * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - readonly dataDiskImages?: GalleryDataDiskImage[]; + dataDiskImages?: GalleryDataDiskImage[]; } /** @@ -4315,7 +4672,7 @@ export interface ReplicationStatus { * Specifies information about the gallery Image Version that you want to create or update. */ export interface GalleryImageVersion extends Resource { - publishingProfile: GalleryImageVersionPublishingProfile; + publishingProfile?: GalleryImageVersionPublishingProfile; /** * The current state of the gallery Image Version. The provisioning state, which only appears in * the response. Possible values include: 'Creating', 'Updating', 'Failed', 'Succeeded', @@ -4323,10 +4680,7 @@ export interface GalleryImageVersion extends Resource { * **NOTE: This property will not be serialized. It can only be populated by the server.** */ readonly provisioningState?: ProvisioningState2; - /** - * **NOTE: This property will not be serialized. It can only be populated by the server.** - */ - readonly storageProfile?: GalleryImageVersionStorageProfile; + storageProfile: GalleryImageVersionStorageProfile; /** * **NOTE: This property will not be serialized. It can only be populated by the server.** */ @@ -4353,23 +4707,6 @@ export interface TargetRegion { storageAccountType?: StorageAccountType; } -/** - * The managed artifact. - */ -export interface ManagedArtifact { - /** - * The managed artifact id. - */ - id: string; -} - -/** - * The source image from which the Image Version is going to be created. - */ -export interface GalleryArtifactSource { - managedImage: ManagedArtifact; -} - /** * Properties to configure a custom container service cluster. */ @@ -4583,9 +4920,19 @@ export interface ContainerService extends Resource { /** * Optional Parameters. */ -export interface VirtualMachineExtensionImagesListVersionsOptionalParams extends msRest.RequestOptionsBase { +export interface DedicatedHostsGetOptionalParams extends msRest.RequestOptionsBase { /** - * The filter to apply on the operation. + * The expand expression to apply on the operation. Possible values include: 'instanceView' + */ + expand?: InstanceViewTypes; +} + +/** + * Optional Parameters. + */ +export interface VirtualMachineExtensionImagesListVersionsOptionalParams extends msRest.RequestOptionsBase { + /** + * The filter to apply on the operation. */ filter?: string; top?: number; @@ -4880,6 +5227,16 @@ export interface VirtualMachineScaleSetVMsReimageOptionalParams extends msRest.R vmScaleSetVMReimageInput?: VirtualMachineScaleSetVMReimageParameters; } +/** + * Optional Parameters. + */ +export interface VirtualMachineScaleSetVMsGetOptionalParams extends msRest.RequestOptionsBase { + /** + * The expand expression to apply on the operation. Possible values include: 'instanceView' + */ + expand?: InstanceViewTypes; +} + /** * Optional Parameters. */ @@ -4978,6 +5335,44 @@ export interface AvailabilitySetListResult extends Array { export interface VirtualMachineSizeListResult extends Array { } +/** + * @interface + * The List Proximity Placement Group operation response. + * @extends Array + */ +export interface ProximityPlacementGroupListResult extends Array { + /** + * The URI to fetch the next page of proximity placement groups. + */ + nextLink?: string; +} + +/** + * @interface + * The List Dedicated Host Group with resource group response. + * @extends Array + */ +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; +} + +/** + * @interface + * The list dedicated host operation response. + * @extends Array + */ +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; +} + /** * @interface * The List Usages operation response. @@ -5110,13 +5505,13 @@ export interface RunCommandListResult extends Array { /** * @interface - * The Compute List Skus operation response. + * The List Resource Skus operation response. * @extends Array */ export interface ResourceSkusResult extends Array { /** - * The uri to fetch the next page of Compute Skus. Call ListNext() with this to fetch the next - * page of VMSS Skus. + * 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; } @@ -5198,6 +5593,14 @@ export interface ContainerServiceListResult extends Array { nextLink?: string; } +/** + * Defines values for HyperVGenerationTypes. + * Possible values include: 'V1', 'V2' + * @readonly + * @enum {string} + */ +export type HyperVGenerationTypes = 'V1' | 'V2'; + /** * Defines values for StatusLevelTypes. * Possible values include: 'Info', 'Warning', 'Error' @@ -5214,6 +5617,22 @@ export type StatusLevelTypes = 'Info' | 'Warning' | 'Error'; */ export type AvailabilitySetSkuTypes = 'Classic' | 'Aligned'; +/** + * Defines values for ProximityPlacementGroupType. + * Possible values include: 'Standard', 'Ultra' + * @readonly + * @enum {string} + */ +export type ProximityPlacementGroupType = 'Standard' | 'Ultra'; + +/** + * 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 OperatingSystemTypes. * Possible values include: 'Windows', 'Linux' @@ -5344,6 +5763,14 @@ export type ResourceIdentityType = 'SystemAssigned' | 'UserAssigned' | 'SystemAs */ 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 UpgradeMode. * Possible values include: 'Automatic', 'Manual', 'Rolling' @@ -5781,6 +6208,426 @@ export type AvailabilitySetsListNextResponse = 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 get operation. */ diff --git a/sdk/compute/arm-compute/src/models/mappers.ts b/sdk/compute/arm-compute/src/models/mappers.ts index 76794d65e587..903dfadb24a7 100644 --- a/sdk/compute/arm-compute/src/models/mappers.ts +++ b/sdk/compute/arm-compute/src/models/mappers.ts @@ -233,6 +233,13 @@ export const AvailabilitySet: msRest.CompositeMapper = { } } }, + proximityPlacementGroup: { + serializedName: "properties.proximityPlacementGroup", + type: { + name: "Composite", + className: "SubResource" + } + }, statuses: { readOnly: true, serializedName: "properties.statuses", @@ -309,6 +316,13 @@ export const AvailabilitySetUpdate: msRest.CompositeMapper = { } } }, + proximityPlacementGroup: { + serializedName: "properties.proximityPlacementGroup", + type: { + name: "Composite", + className: "SubResource" + } + }, statuses: { readOnly: true, serializedName: "properties.statuses", @@ -333,6 +347,430 @@ export const AvailabilitySetUpdate: msRest.CompositeMapper = { } }; +export const ProximityPlacementGroup: msRest.CompositeMapper = { + serializedName: "ProximityPlacementGroup", + type: { + name: "Composite", + className: "ProximityPlacementGroup", + modelProperties: { + ...Resource.type.modelProperties, + proximityPlacementGroupType: { + serializedName: "properties.proximityPlacementGroupType", + type: { + name: "String" + } + }, + virtualMachines: { + readOnly: true, + serializedName: "properties.virtualMachines", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "SubResource" + } + } + } + }, + virtualMachineScaleSets: { + readOnly: true, + serializedName: "properties.virtualMachineScaleSets", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "SubResource" + } + } + } + }, + availabilitySets: { + readOnly: true, + serializedName: "properties.availabilitySets", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "SubResource" + } + } + } + } + } + } +}; + +export const ProximityPlacementGroupUpdate: msRest.CompositeMapper = { + serializedName: "ProximityPlacementGroupUpdate", + type: { + name: "Composite", + className: "ProximityPlacementGroupUpdate", + modelProperties: { + ...UpdateResource.type.modelProperties + } + } +}; + +export const SubResourceReadOnly: msRest.CompositeMapper = { + serializedName: "SubResourceReadOnly", + type: { + name: "Composite", + className: "SubResourceReadOnly", + modelProperties: { + id: { + readOnly: true, + serializedName: "id", + type: { + name: "String" + } + } + } + } +}; + +export const DedicatedHostGroup: msRest.CompositeMapper = { + serializedName: "DedicatedHostGroup", + type: { + name: "Composite", + className: "DedicatedHostGroup", + modelProperties: { + ...Resource.type.modelProperties, + platformFaultDomainCount: { + required: true, + serializedName: "properties.platformFaultDomainCount", + constraints: { + InclusiveMaximum: 3, + InclusiveMinimum: 1 + }, + type: { + name: "Number" + } + }, + hosts: { + readOnly: true, + serializedName: "properties.hosts", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "SubResourceReadOnly" + } + } + } + }, + zones: { + serializedName: "zones", + type: { + name: "Sequence", + element: { + type: { + name: "String" + } + } + } + } + } + } +}; + +export const DedicatedHostGroupUpdate: msRest.CompositeMapper = { + serializedName: "DedicatedHostGroupUpdate", + type: { + name: "Composite", + className: "DedicatedHostGroupUpdate", + modelProperties: { + ...UpdateResource.type.modelProperties, + platformFaultDomainCount: { + required: true, + serializedName: "properties.platformFaultDomainCount", + constraints: { + InclusiveMaximum: 3, + InclusiveMinimum: 1 + }, + type: { + name: "Number" + } + }, + hosts: { + readOnly: true, + serializedName: "properties.hosts", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "SubResourceReadOnly" + } + } + } + }, + zones: { + serializedName: "zones", + type: { + name: "Sequence", + element: { + type: { + name: "String" + } + } + } + } + } + } +}; + +export const DedicatedHostAllocatableVM: msRest.CompositeMapper = { + serializedName: "DedicatedHostAllocatableVM", + type: { + name: "Composite", + className: "DedicatedHostAllocatableVM", + modelProperties: { + vmSize: { + serializedName: "vmSize", + type: { + name: "String" + } + }, + count: { + serializedName: "count", + type: { + name: "Number" + } + } + } + } +}; + +export const DedicatedHostAvailableCapacity: msRest.CompositeMapper = { + serializedName: "DedicatedHostAvailableCapacity", + type: { + name: "Composite", + className: "DedicatedHostAvailableCapacity", + modelProperties: { + allocatableVMs: { + serializedName: "allocatableVMs", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "DedicatedHostAllocatableVM" + } + } + } + } + } + } +}; + +export const DedicatedHostInstanceView: msRest.CompositeMapper = { + serializedName: "DedicatedHostInstanceView", + type: { + name: "Composite", + className: "DedicatedHostInstanceView", + modelProperties: { + assetId: { + readOnly: true, + serializedName: "assetId", + type: { + name: "String" + } + }, + availableCapacity: { + serializedName: "availableCapacity", + type: { + name: "Composite", + className: "DedicatedHostAvailableCapacity" + } + }, + statuses: { + serializedName: "statuses", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "InstanceViewStatus" + } + } + } + } + } + } +}; + +export const DedicatedHost: msRest.CompositeMapper = { + serializedName: "DedicatedHost", + type: { + name: "Composite", + className: "DedicatedHost", + modelProperties: { + ...Resource.type.modelProperties, + platformFaultDomain: { + serializedName: "properties.platformFaultDomain", + constraints: { + InclusiveMaximum: 2, + InclusiveMinimum: 0 + }, + type: { + name: "Number" + } + }, + autoReplaceOnFailure: { + serializedName: "properties.autoReplaceOnFailure", + type: { + name: "Boolean" + } + }, + hostId: { + readOnly: true, + serializedName: "properties.hostId", + type: { + name: "String" + } + }, + virtualMachines: { + readOnly: true, + serializedName: "properties.virtualMachines", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "SubResourceReadOnly" + } + } + } + }, + licenseType: { + serializedName: "properties.licenseType", + type: { + name: "Enum", + allowedValues: [ + "None", + "Windows_Server_Hybrid", + "Windows_Server_Perpetual" + ] + } + }, + provisioningTime: { + readOnly: true, + serializedName: "properties.provisioningTime", + type: { + name: "DateTime" + } + }, + provisioningState: { + readOnly: true, + serializedName: "properties.provisioningState", + type: { + name: "String" + } + }, + instanceView: { + readOnly: true, + serializedName: "properties.instanceView", + type: { + name: "Composite", + className: "DedicatedHostInstanceView" + } + }, + sku: { + required: true, + serializedName: "sku", + type: { + name: "Composite", + className: "Sku" + } + } + } + } +}; + +export const DedicatedHostUpdate: msRest.CompositeMapper = { + serializedName: "DedicatedHostUpdate", + type: { + name: "Composite", + className: "DedicatedHostUpdate", + modelProperties: { + ...UpdateResource.type.modelProperties, + platformFaultDomain: { + serializedName: "properties.platformFaultDomain", + constraints: { + InclusiveMaximum: 2, + InclusiveMinimum: 0 + }, + type: { + name: "Number" + } + }, + autoReplaceOnFailure: { + serializedName: "properties.autoReplaceOnFailure", + type: { + name: "Boolean" + } + }, + hostId: { + readOnly: true, + serializedName: "properties.hostId", + type: { + name: "String" + } + }, + virtualMachines: { + readOnly: true, + serializedName: "properties.virtualMachines", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "SubResourceReadOnly" + } + } + } + }, + licenseType: { + serializedName: "properties.licenseType", + type: { + name: "Enum", + allowedValues: [ + "None", + "Windows_Server_Hybrid", + "Windows_Server_Perpetual" + ] + } + }, + provisioningTime: { + readOnly: true, + serializedName: "properties.provisioningTime", + type: { + name: "DateTime" + } + }, + provisioningState: { + readOnly: true, + serializedName: "properties.provisioningState", + type: { + name: "String" + } + }, + instanceView: { + readOnly: true, + serializedName: "properties.instanceView", + type: { + name: "Composite", + className: "DedicatedHostInstanceView" + } + } + } + } +}; + export const VirtualMachineSize: msRest.CompositeMapper = { serializedName: "VirtualMachineSize", type: { @@ -1311,6 +1749,12 @@ export const DataDisk: msRest.CompositeMapper = { name: "Composite", className: "ManagedDiskParameters" } + }, + toBeDetached: { + serializedName: "toBeDetached", + type: { + name: "Boolean" + } } } } @@ -2082,6 +2526,12 @@ export const VirtualMachineInstanceView: msRest.CompositeMapper = { name: "String" } }, + hyperVGeneration: { + serializedName: "hyperVGeneration", + type: { + name: "String" + } + }, rdpThumbPrint: { serializedName: "rdpThumbPrint", type: { @@ -2212,6 +2662,20 @@ export const VirtualMachine: msRest.CompositeMapper = { className: "SubResource" } }, + proximityPlacementGroup: { + serializedName: "properties.proximityPlacementGroup", + type: { + name: "Composite", + className: "SubResource" + } + }, + host: { + serializedName: "properties.host", + type: { + name: "Composite", + className: "SubResource" + } + }, provisioningState: { readOnly: true, serializedName: "properties.provisioningState", @@ -2338,6 +2802,20 @@ export const VirtualMachineUpdate: msRest.CompositeMapper = { className: "SubResource" } }, + proximityPlacementGroup: { + serializedName: "properties.proximityPlacementGroup", + type: { + name: "Composite", + className: "SubResource" + } + }, + host: { + serializedName: "properties.host", + type: { + name: "Composite", + className: "SubResource" + } + }, provisioningState: { readOnly: true, serializedName: "properties.provisioningState", @@ -2688,6 +3166,12 @@ export const Image: msRest.CompositeMapper = { type: { name: "String" } + }, + hyperVGeneration: { + serializedName: "properties.hyperVGeneration", + type: { + name: "String" + } } } } @@ -2720,6 +3204,12 @@ export const ImageUpdate: msRest.CompositeMapper = { type: { name: "String" } + }, + hyperVGeneration: { + serializedName: "properties.hyperVGeneration", + type: { + name: "String" + } } } } @@ -3692,30 +4182,13 @@ export const VirtualMachineScaleSetUpdateNetworkProfile: msRest.CompositeMapper networkInterfaceConfigurations: { serializedName: "networkInterfaceConfigurations", type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "VirtualMachineScaleSetUpdateNetworkConfiguration" - } - } - } - } - } - } -}; - -export const SubResourceReadOnly: msRest.CompositeMapper = { - serializedName: "SubResourceReadOnly", - type: { - name: "Composite", - className: "SubResourceReadOnly", - modelProperties: { - id: { - readOnly: true, - serializedName: "id", - type: { - name: "String" + name: "Sequence", + element: { + type: { + name: "Composite", + className: "VirtualMachineScaleSetUpdateNetworkConfiguration" + } + } } } } @@ -3821,6 +4294,45 @@ export const VirtualMachineScaleSetExtensionProfile: msRest.CompositeMapper = { } }; +export const TerminateNotificationProfile: msRest.CompositeMapper = { + serializedName: "TerminateNotificationProfile", + type: { + name: "Composite", + className: "TerminateNotificationProfile", + modelProperties: { + notBeforeTimeout: { + serializedName: "notBeforeTimeout", + type: { + name: "String" + } + }, + enable: { + serializedName: "enable", + type: { + name: "Boolean" + } + } + } + } +}; + +export const ScheduledEventsProfile: msRest.CompositeMapper = { + serializedName: "ScheduledEventsProfile", + type: { + name: "Composite", + className: "ScheduledEventsProfile", + modelProperties: { + terminateNotificationProfile: { + serializedName: "terminateNotificationProfile", + type: { + name: "Composite", + className: "TerminateNotificationProfile" + } + } + } + } +}; + export const VirtualMachineScaleSetVMProfile: msRest.CompositeMapper = { serializedName: "VirtualMachineScaleSetVMProfile", type: { @@ -3841,13 +4353,6 @@ export const VirtualMachineScaleSetVMProfile: msRest.CompositeMapper = { className: "VirtualMachineScaleSetStorageProfile" } }, - additionalCapabilities: { - serializedName: "additionalCapabilities", - type: { - name: "Composite", - className: "AdditionalCapabilities" - } - }, networkProfile: { serializedName: "networkProfile", type: { @@ -3886,6 +4391,13 @@ export const VirtualMachineScaleSetVMProfile: msRest.CompositeMapper = { type: { name: "String" } + }, + scheduledEventsProfile: { + serializedName: "scheduledEventsProfile", + type: { + name: "Composite", + className: "ScheduledEventsProfile" + } } } } @@ -3937,6 +4449,13 @@ export const VirtualMachineScaleSetUpdateVMProfile: msRest.CompositeMapper = { type: { name: "String" } + }, + scheduledEventsProfile: { + serializedName: "scheduledEventsProfile", + type: { + name: "Composite", + className: "ScheduledEventsProfile" + } } } } @@ -4021,6 +4540,20 @@ export const VirtualMachineScaleSet: msRest.CompositeMapper = { name: "Number" } }, + proximityPlacementGroup: { + serializedName: "properties.proximityPlacementGroup", + type: { + name: "Composite", + className: "SubResource" + } + }, + additionalCapabilities: { + serializedName: "properties.additionalCapabilities", + type: { + name: "Composite", + className: "AdditionalCapabilities" + } + }, identity: { serializedName: "identity", type: { @@ -4123,6 +4656,13 @@ export const VirtualMachineScaleSetUpdate: msRest.CompositeMapper = { name: "Boolean" } }, + additionalCapabilities: { + serializedName: "properties.additionalCapabilities", + type: { + name: "Composite", + className: "AdditionalCapabilities" + } + }, identity: { serializedName: "identity", type: { @@ -5549,6 +6089,41 @@ export const ResourceSkuCapabilities: msRest.CompositeMapper = { } }; +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: { @@ -5659,6 +6234,19 @@ export const ResourceSkuLocationInfo: msRest.CompositeMapper = { } } } + }, + zoneDetails: { + readOnly: true, + serializedName: "zoneDetails", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "ResourceSkuZoneDetails" + } + } + } } } } @@ -6596,6 +7184,12 @@ export const GalleryImage: msRest.CompositeMapper = { ] } }, + hyperVGeneration: { + serializedName: "properties.hyperVGeneration", + type: { + name: "String" + } + }, endOfLifeDate: { serializedName: "properties.endOfLifeDate", type: { @@ -6659,14 +7253,6 @@ export const GalleryArtifactPublishingProfileBase: msRest.CompositeMapper = { } } } - }, - source: { - required: true, - serializedName: "source", - type: { - name: "Composite", - className: "GalleryArtifactSource" - } } } } @@ -6714,6 +7300,23 @@ export const GalleryImageVersionPublishingProfile: msRest.CompositeMapper = { } }; +export const GalleryArtifactVersionSource: msRest.CompositeMapper = { + serializedName: "GalleryArtifactVersionSource", + type: { + name: "Composite", + className: "GalleryArtifactVersionSource", + modelProperties: { + id: { + required: true, + serializedName: "id", + type: { + name: "String" + } + } + } + } +}; + export const GalleryDiskImage: msRest.CompositeMapper = { serializedName: "GalleryDiskImage", type: { @@ -6728,7 +7331,6 @@ export const GalleryDiskImage: msRest.CompositeMapper = { } }, hostCaching: { - readOnly: true, serializedName: "hostCaching", type: { name: "Enum", @@ -6738,6 +7340,13 @@ export const GalleryDiskImage: msRest.CompositeMapper = { "ReadWrite" ] } + }, + source: { + serializedName: "source", + type: { + name: "Composite", + className: "GalleryArtifactVersionSource" + } } } } @@ -6762,7 +7371,7 @@ export const GalleryDataDiskImage: msRest.CompositeMapper = { modelProperties: { ...GalleryDiskImage.type.modelProperties, lun: { - readOnly: true, + required: true, serializedName: "lun", type: { name: "Number" @@ -6778,8 +7387,14 @@ export const GalleryImageVersionStorageProfile: msRest.CompositeMapper = { name: "Composite", className: "GalleryImageVersionStorageProfile", modelProperties: { + source: { + serializedName: "source", + type: { + name: "Composite", + className: "GalleryArtifactVersionSource" + } + }, osDiskImage: { - readOnly: true, serializedName: "osDiskImage", type: { name: "Composite", @@ -6787,7 +7402,6 @@ export const GalleryImageVersionStorageProfile: msRest.CompositeMapper = { } }, dataDiskImages: { - readOnly: true, serializedName: "dataDiskImages", type: { name: "Sequence", @@ -6879,7 +7493,6 @@ export const GalleryImageVersion: msRest.CompositeMapper = { modelProperties: { ...Resource.type.modelProperties, publishingProfile: { - required: true, serializedName: "properties.publishingProfile", type: { name: "Composite", @@ -6894,7 +7507,7 @@ export const GalleryImageVersion: msRest.CompositeMapper = { } }, storageProfile: { - readOnly: true, + required: true, serializedName: "properties.storageProfile", type: { name: "Composite", @@ -6942,41 +7555,6 @@ export const TargetRegion: msRest.CompositeMapper = { } }; -export const ManagedArtifact: msRest.CompositeMapper = { - serializedName: "ManagedArtifact", - type: { - name: "Composite", - className: "ManagedArtifact", - modelProperties: { - id: { - required: true, - serializedName: "id", - type: { - name: "String" - } - } - } - } -}; - -export const GalleryArtifactSource: msRest.CompositeMapper = { - serializedName: "GalleryArtifactSource", - type: { - name: "Composite", - className: "GalleryArtifactSource", - modelProperties: { - managedImage: { - required: true, - serializedName: "managedImage", - type: { - name: "Composite", - className: "ManagedArtifact" - } - } - } - } -}; - export const ContainerServiceCustomProfile: msRest.CompositeMapper = { serializedName: "ContainerServiceCustomProfile", type: { @@ -7418,6 +7996,93 @@ export const VirtualMachineSizeListResult: msRest.CompositeMapper = { } }; +export const ProximityPlacementGroupListResult: msRest.CompositeMapper = { + serializedName: "ProximityPlacementGroupListResult", + type: { + name: "Composite", + className: "ProximityPlacementGroupListResult", + modelProperties: { + value: { + required: true, + serializedName: "", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "ProximityPlacementGroup" + } + } + } + }, + nextLink: { + serializedName: "nextLink", + type: { + name: "String" + } + } + } + } +}; + +export const DedicatedHostGroupListResult: msRest.CompositeMapper = { + serializedName: "DedicatedHostGroupListResult", + type: { + name: "Composite", + className: "DedicatedHostGroupListResult", + modelProperties: { + value: { + required: true, + serializedName: "", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "DedicatedHostGroup" + } + } + } + }, + nextLink: { + serializedName: "nextLink", + type: { + name: "String" + } + } + } + } +}; + +export const DedicatedHostListResult: msRest.CompositeMapper = { + serializedName: "DedicatedHostListResult", + type: { + name: "Composite", + className: "DedicatedHostListResult", + modelProperties: { + value: { + required: true, + serializedName: "", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "DedicatedHost" + } + } + } + }, + nextLink: { + serializedName: "nextLink", + type: { + name: "String" + } + } + } + } +}; + export const ListUsagesResult: msRest.CompositeMapper = { serializedName: "ListUsagesResult", type: { diff --git a/sdk/compute/arm-compute/src/models/parameters.ts b/sdk/compute/arm-compute/src/models/parameters.ts index 157b4c501e48..5f55768a4e3d 100644 --- a/sdk/compute/arm-compute/src/models/parameters.ts +++ b/sdk/compute/arm-compute/src/models/parameters.ts @@ -38,7 +38,7 @@ export const apiVersion1: msRest.OperationQueryParameter = { required: true, isConstant: true, serializedName: "api-version", - defaultValue: '2017-09-01', + defaultValue: '2019-04-01', type: { name: "String" } @@ -57,6 +57,18 @@ export const apiVersion2: msRest.OperationQueryParameter = { } }; export const apiVersion3: msRest.OperationQueryParameter = { + parameterPath: "apiVersion", + mapper: { + required: true, + isConstant: true, + serializedName: "api-version", + defaultValue: '2019-07-01', + type: { + name: "String" + } + } +}; +export const apiVersion4: msRest.OperationQueryParameter = { parameterPath: "apiVersion", mapper: { required: true, @@ -116,7 +128,10 @@ export const expand0: msRest.OperationQueryParameter = { mapper: { serializedName: "$expand", type: { - name: "String" + name: "Enum", + allowedValues: [ + "instanceView" + ] } } }; @@ -128,10 +143,7 @@ export const expand1: msRest.OperationQueryParameter = { mapper: { serializedName: "$expand", type: { - name: "Enum", - allowedValues: [ - "instanceView" - ] + name: "String" } } }; @@ -177,6 +189,26 @@ export const galleryName: msRest.OperationURLParameter = { } } }; +export const hostGroupName: msRest.OperationURLParameter = { + parameterPath: "hostGroupName", + mapper: { + required: true, + serializedName: "hostGroupName", + type: { + name: "String" + } + } +}; +export const hostName: msRest.OperationURLParameter = { + parameterPath: "hostName", + mapper: { + required: true, + serializedName: "hostName", + type: { + name: "String" + } + } +}; export const imageName: msRest.OperationURLParameter = { parameterPath: "imageName", mapper: { @@ -263,6 +295,16 @@ export const platformUpdateDomain: msRest.OperationQueryParameter = { } } }; +export const proximityPlacementGroupName: msRest.OperationURLParameter = { + parameterPath: "proximityPlacementGroupName", + mapper: { + required: true, + serializedName: "proximityPlacementGroupName", + type: { + name: "String" + } + } +}; export const publisherName: msRest.OperationURLParameter = { parameterPath: "publisherName", mapper: { diff --git a/sdk/compute/arm-compute/src/models/proximityPlacementGroupsMappers.ts b/sdk/compute/arm-compute/src/models/proximityPlacementGroupsMappers.ts new file mode 100644 index 000000000000..45468164fc11 --- /dev/null +++ b/sdk/compute/arm-compute/src/models/proximityPlacementGroupsMappers.ts @@ -0,0 +1,169 @@ +/* + * Copyright (c) Microsoft Corporation. All rights reserved. + * Licensed under the MIT License. See License.txt in the project root for license information. + * + * 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, + AvailabilitySet, + AvailabilitySetUpdate, + BaseResource, + BootDiagnostics, + BootDiagnosticsInstanceView, + CloudError, + ContainerService, + ContainerServiceAgentPoolProfile, + ContainerServiceCustomProfile, + ContainerServiceDiagnosticsProfile, + ContainerServiceLinuxProfile, + ContainerServiceMasterProfile, + ContainerServiceOrchestratorProfile, + ContainerServiceServicePrincipalProfile, + ContainerServiceSshConfiguration, + ContainerServiceSshPublicKey, + ContainerServiceVMDiagnostics, + ContainerServiceWindowsProfile, + CreationData, + DataDisk, + DataDiskImage, + DedicatedHost, + DedicatedHostAllocatableVM, + DedicatedHostAvailableCapacity, + DedicatedHostGroup, + DedicatedHostGroupUpdate, + DedicatedHostInstanceView, + DedicatedHostUpdate, + DiagnosticsProfile, + DiffDiskSettings, + Disallowed, + Disk, + DiskEncryptionSettings, + DiskInstanceView, + DiskSku, + EncryptionSettingsCollection, + EncryptionSettingsElement, + Gallery, + GalleryArtifactPublishingProfileBase, + GalleryArtifactVersionSource, + GalleryDataDiskImage, + GalleryDiskImage, + GalleryIdentifier, + GalleryImage, + GalleryImageIdentifier, + GalleryImageVersion, + GalleryImageVersionPublishingProfile, + GalleryImageVersionStorageProfile, + GalleryOSDiskImage, + HardwareProfile, + Image, + ImageDataDisk, + ImageDiskReference, + ImageOSDisk, + ImagePurchasePlan, + ImageReference, + ImageStorageProfile, + ImageUpdate, + InnerError, + InstanceViewStatus, + KeyVaultAndKeyReference, + KeyVaultAndSecretReference, + KeyVaultKeyReference, + KeyVaultSecretReference, + LinuxConfiguration, + MaintenanceRedeployStatus, + ManagedDiskParameters, + NetworkInterfaceReference, + NetworkProfile, + OSDisk, + OSDiskImage, + OSProfile, + Plan, + ProximityPlacementGroup, + ProximityPlacementGroupListResult, + ProximityPlacementGroupUpdate, + PurchasePlan, + RecommendedMachineConfiguration, + RegionalReplicationStatus, + ReplicationStatus, + Resource, + ResourceRange, + RollingUpgradePolicy, + RollingUpgradeProgressInfo, + RollingUpgradeRunningStatus, + RollingUpgradeStatusInfo, + ScheduledEventsProfile, + Sku, + Snapshot, + SnapshotSku, + SourceVault, + SshConfiguration, + SshPublicKey, + StorageProfile, + SubResource, + SubResourceReadOnly, + TargetRegion, + TerminateNotificationProfile, + UpdateResource, + UpgradePolicy, + VaultCertificate, + VaultSecretGroup, + VirtualHardDisk, + VirtualMachine, + VirtualMachineAgentInstanceView, + VirtualMachineCaptureResult, + VirtualMachineExtension, + VirtualMachineExtensionHandlerInstanceView, + VirtualMachineExtensionImage, + VirtualMachineExtensionInstanceView, + VirtualMachineExtensionUpdate, + VirtualMachineHealthStatus, + VirtualMachineIdentity, + VirtualMachineIdentityUserAssignedIdentitiesValue, + VirtualMachineImage, + VirtualMachineImageResource, + VirtualMachineInstanceView, + VirtualMachineScaleSet, + VirtualMachineScaleSetDataDisk, + VirtualMachineScaleSetExtension, + VirtualMachineScaleSetExtensionProfile, + VirtualMachineScaleSetIdentity, + VirtualMachineScaleSetIdentityUserAssignedIdentitiesValue, + VirtualMachineScaleSetIPConfiguration, + VirtualMachineScaleSetIpTag, + VirtualMachineScaleSetManagedDiskParameters, + VirtualMachineScaleSetNetworkConfiguration, + VirtualMachineScaleSetNetworkConfigurationDnsSettings, + VirtualMachineScaleSetNetworkProfile, + VirtualMachineScaleSetOSDisk, + VirtualMachineScaleSetOSProfile, + VirtualMachineScaleSetPublicIPAddressConfiguration, + VirtualMachineScaleSetPublicIPAddressConfigurationDnsSettings, + VirtualMachineScaleSetStorageProfile, + VirtualMachineScaleSetUpdate, + VirtualMachineScaleSetUpdateIPConfiguration, + VirtualMachineScaleSetUpdateNetworkConfiguration, + VirtualMachineScaleSetUpdateNetworkProfile, + VirtualMachineScaleSetUpdateOSDisk, + VirtualMachineScaleSetUpdateOSProfile, + VirtualMachineScaleSetUpdatePublicIPAddressConfiguration, + VirtualMachineScaleSetUpdateStorageProfile, + VirtualMachineScaleSetUpdateVMProfile, + VirtualMachineScaleSetVM, + VirtualMachineScaleSetVMInstanceView, + VirtualMachineScaleSetVMNetworkProfileConfiguration, + VirtualMachineScaleSetVMProfile, + VirtualMachineScaleSetVMProtectionPolicy, + VirtualMachineUpdate, + WindowsConfiguration, + WinRMConfiguration, + WinRMListener +} from "../models/mappers"; diff --git a/sdk/compute/arm-compute/src/models/resourceSkusMappers.ts b/sdk/compute/arm-compute/src/models/resourceSkusMappers.ts index 86ebcf340872..ff328d2b9d4d 100644 --- a/sdk/compute/arm-compute/src/models/resourceSkusMappers.ts +++ b/sdk/compute/arm-compute/src/models/resourceSkusMappers.ts @@ -15,5 +15,6 @@ export { ResourceSkuLocationInfo, ResourceSkuRestrictionInfo, ResourceSkuRestrictions, - ResourceSkusResult + ResourceSkusResult, + ResourceSkuZoneDetails } from "../models/mappers"; diff --git a/sdk/compute/arm-compute/src/models/snapshotsMappers.ts b/sdk/compute/arm-compute/src/models/snapshotsMappers.ts index 77370b79c1d6..846f4b996f67 100644 --- a/sdk/compute/arm-compute/src/models/snapshotsMappers.ts +++ b/sdk/compute/arm-compute/src/models/snapshotsMappers.ts @@ -36,6 +36,13 @@ export { CreationData, DataDisk, DataDiskImage, + DedicatedHost, + DedicatedHostAllocatableVM, + DedicatedHostAvailableCapacity, + DedicatedHostGroup, + DedicatedHostGroupUpdate, + DedicatedHostInstanceView, + DedicatedHostUpdate, DiagnosticsProfile, DiffDiskSettings, Disallowed, @@ -47,7 +54,7 @@ export { EncryptionSettingsElement, Gallery, GalleryArtifactPublishingProfileBase, - GalleryArtifactSource, + GalleryArtifactVersionSource, GalleryDataDiskImage, GalleryDiskImage, GalleryIdentifier, @@ -75,7 +82,6 @@ export { KeyVaultSecretReference, LinuxConfiguration, MaintenanceRedeployStatus, - ManagedArtifact, ManagedDiskParameters, NetworkInterfaceReference, NetworkProfile, @@ -83,6 +89,8 @@ export { OSDiskImage, OSProfile, Plan, + ProximityPlacementGroup, + ProximityPlacementGroupUpdate, PurchasePlan, RecommendedMachineConfiguration, RegionalReplicationStatus, @@ -93,6 +101,7 @@ export { RollingUpgradeProgressInfo, RollingUpgradeRunningStatus, RollingUpgradeStatusInfo, + ScheduledEventsProfile, Sku, Snapshot, SnapshotList, @@ -105,6 +114,7 @@ export { SubResource, SubResourceReadOnly, TargetRegion, + TerminateNotificationProfile, UpdateResource, UpgradePolicy, VaultCertificate, diff --git a/sdk/compute/arm-compute/src/models/virtualMachineExtensionImagesMappers.ts b/sdk/compute/arm-compute/src/models/virtualMachineExtensionImagesMappers.ts index dfab46557b41..75f71dc2bcd0 100644 --- a/sdk/compute/arm-compute/src/models/virtualMachineExtensionImagesMappers.ts +++ b/sdk/compute/arm-compute/src/models/virtualMachineExtensionImagesMappers.ts @@ -35,6 +35,13 @@ export { CreationData, DataDisk, DataDiskImage, + DedicatedHost, + DedicatedHostAllocatableVM, + DedicatedHostAvailableCapacity, + DedicatedHostGroup, + DedicatedHostGroupUpdate, + DedicatedHostInstanceView, + DedicatedHostUpdate, DiagnosticsProfile, DiffDiskSettings, Disallowed, @@ -46,7 +53,7 @@ export { EncryptionSettingsElement, Gallery, GalleryArtifactPublishingProfileBase, - GalleryArtifactSource, + GalleryArtifactVersionSource, GalleryDataDiskImage, GalleryDiskImage, GalleryIdentifier, @@ -73,7 +80,6 @@ export { KeyVaultSecretReference, LinuxConfiguration, MaintenanceRedeployStatus, - ManagedArtifact, ManagedDiskParameters, NetworkInterfaceReference, NetworkProfile, @@ -81,6 +87,8 @@ export { OSDiskImage, OSProfile, Plan, + ProximityPlacementGroup, + ProximityPlacementGroupUpdate, PurchasePlan, RecommendedMachineConfiguration, RegionalReplicationStatus, @@ -91,6 +99,7 @@ export { RollingUpgradeProgressInfo, RollingUpgradeRunningStatus, RollingUpgradeStatusInfo, + ScheduledEventsProfile, Sku, Snapshot, SnapshotSku, @@ -101,6 +110,7 @@ export { SubResource, SubResourceReadOnly, TargetRegion, + TerminateNotificationProfile, UpdateResource, UpgradePolicy, VaultCertificate, diff --git a/sdk/compute/arm-compute/src/models/virtualMachineExtensionsMappers.ts b/sdk/compute/arm-compute/src/models/virtualMachineExtensionsMappers.ts index 6d15f114c81d..5e2d34952fc3 100644 --- a/sdk/compute/arm-compute/src/models/virtualMachineExtensionsMappers.ts +++ b/sdk/compute/arm-compute/src/models/virtualMachineExtensionsMappers.ts @@ -35,6 +35,13 @@ export { CreationData, DataDisk, DataDiskImage, + DedicatedHost, + DedicatedHostAllocatableVM, + DedicatedHostAvailableCapacity, + DedicatedHostGroup, + DedicatedHostGroupUpdate, + DedicatedHostInstanceView, + DedicatedHostUpdate, DiagnosticsProfile, DiffDiskSettings, Disallowed, @@ -46,7 +53,7 @@ export { EncryptionSettingsElement, Gallery, GalleryArtifactPublishingProfileBase, - GalleryArtifactSource, + GalleryArtifactVersionSource, GalleryDataDiskImage, GalleryDiskImage, GalleryIdentifier, @@ -73,7 +80,6 @@ export { KeyVaultSecretReference, LinuxConfiguration, MaintenanceRedeployStatus, - ManagedArtifact, ManagedDiskParameters, NetworkInterfaceReference, NetworkProfile, @@ -81,6 +87,8 @@ export { OSDiskImage, OSProfile, Plan, + ProximityPlacementGroup, + ProximityPlacementGroupUpdate, PurchasePlan, RecommendedMachineConfiguration, RegionalReplicationStatus, @@ -91,6 +99,7 @@ export { RollingUpgradeProgressInfo, RollingUpgradeRunningStatus, RollingUpgradeStatusInfo, + ScheduledEventsProfile, Sku, Snapshot, SnapshotSku, @@ -101,6 +110,7 @@ export { SubResource, SubResourceReadOnly, TargetRegion, + TerminateNotificationProfile, UpdateResource, UpgradePolicy, VaultCertificate, diff --git a/sdk/compute/arm-compute/src/models/virtualMachineImagesMappers.ts b/sdk/compute/arm-compute/src/models/virtualMachineImagesMappers.ts index dfab46557b41..75f71dc2bcd0 100644 --- a/sdk/compute/arm-compute/src/models/virtualMachineImagesMappers.ts +++ b/sdk/compute/arm-compute/src/models/virtualMachineImagesMappers.ts @@ -35,6 +35,13 @@ export { CreationData, DataDisk, DataDiskImage, + DedicatedHost, + DedicatedHostAllocatableVM, + DedicatedHostAvailableCapacity, + DedicatedHostGroup, + DedicatedHostGroupUpdate, + DedicatedHostInstanceView, + DedicatedHostUpdate, DiagnosticsProfile, DiffDiskSettings, Disallowed, @@ -46,7 +53,7 @@ export { EncryptionSettingsElement, Gallery, GalleryArtifactPublishingProfileBase, - GalleryArtifactSource, + GalleryArtifactVersionSource, GalleryDataDiskImage, GalleryDiskImage, GalleryIdentifier, @@ -73,7 +80,6 @@ export { KeyVaultSecretReference, LinuxConfiguration, MaintenanceRedeployStatus, - ManagedArtifact, ManagedDiskParameters, NetworkInterfaceReference, NetworkProfile, @@ -81,6 +87,8 @@ export { OSDiskImage, OSProfile, Plan, + ProximityPlacementGroup, + ProximityPlacementGroupUpdate, PurchasePlan, RecommendedMachineConfiguration, RegionalReplicationStatus, @@ -91,6 +99,7 @@ export { RollingUpgradeProgressInfo, RollingUpgradeRunningStatus, RollingUpgradeStatusInfo, + ScheduledEventsProfile, Sku, Snapshot, SnapshotSku, @@ -101,6 +110,7 @@ export { SubResource, SubResourceReadOnly, TargetRegion, + TerminateNotificationProfile, UpdateResource, UpgradePolicy, VaultCertificate, diff --git a/sdk/compute/arm-compute/src/models/virtualMachineScaleSetExtensionsMappers.ts b/sdk/compute/arm-compute/src/models/virtualMachineScaleSetExtensionsMappers.ts index cae9dd992f90..5c9432d1bca8 100644 --- a/sdk/compute/arm-compute/src/models/virtualMachineScaleSetExtensionsMappers.ts +++ b/sdk/compute/arm-compute/src/models/virtualMachineScaleSetExtensionsMappers.ts @@ -35,6 +35,13 @@ export { CreationData, DataDisk, DataDiskImage, + DedicatedHost, + DedicatedHostAllocatableVM, + DedicatedHostAvailableCapacity, + DedicatedHostGroup, + DedicatedHostGroupUpdate, + DedicatedHostInstanceView, + DedicatedHostUpdate, DiagnosticsProfile, DiffDiskSettings, Disallowed, @@ -46,7 +53,7 @@ export { EncryptionSettingsElement, Gallery, GalleryArtifactPublishingProfileBase, - GalleryArtifactSource, + GalleryArtifactVersionSource, GalleryDataDiskImage, GalleryDiskImage, GalleryIdentifier, @@ -73,7 +80,6 @@ export { KeyVaultSecretReference, LinuxConfiguration, MaintenanceRedeployStatus, - ManagedArtifact, ManagedDiskParameters, NetworkInterfaceReference, NetworkProfile, @@ -81,6 +87,8 @@ export { OSDiskImage, OSProfile, Plan, + ProximityPlacementGroup, + ProximityPlacementGroupUpdate, PurchasePlan, RecommendedMachineConfiguration, RegionalReplicationStatus, @@ -91,6 +99,7 @@ export { RollingUpgradeProgressInfo, RollingUpgradeRunningStatus, RollingUpgradeStatusInfo, + ScheduledEventsProfile, Sku, Snapshot, SnapshotSku, @@ -101,6 +110,7 @@ export { SubResource, SubResourceReadOnly, TargetRegion, + TerminateNotificationProfile, UpdateResource, UpgradePolicy, VaultCertificate, diff --git a/sdk/compute/arm-compute/src/models/virtualMachineScaleSetRollingUpgradesMappers.ts b/sdk/compute/arm-compute/src/models/virtualMachineScaleSetRollingUpgradesMappers.ts index dfab46557b41..75f71dc2bcd0 100644 --- a/sdk/compute/arm-compute/src/models/virtualMachineScaleSetRollingUpgradesMappers.ts +++ b/sdk/compute/arm-compute/src/models/virtualMachineScaleSetRollingUpgradesMappers.ts @@ -35,6 +35,13 @@ export { CreationData, DataDisk, DataDiskImage, + DedicatedHost, + DedicatedHostAllocatableVM, + DedicatedHostAvailableCapacity, + DedicatedHostGroup, + DedicatedHostGroupUpdate, + DedicatedHostInstanceView, + DedicatedHostUpdate, DiagnosticsProfile, DiffDiskSettings, Disallowed, @@ -46,7 +53,7 @@ export { EncryptionSettingsElement, Gallery, GalleryArtifactPublishingProfileBase, - GalleryArtifactSource, + GalleryArtifactVersionSource, GalleryDataDiskImage, GalleryDiskImage, GalleryIdentifier, @@ -73,7 +80,6 @@ export { KeyVaultSecretReference, LinuxConfiguration, MaintenanceRedeployStatus, - ManagedArtifact, ManagedDiskParameters, NetworkInterfaceReference, NetworkProfile, @@ -81,6 +87,8 @@ export { OSDiskImage, OSProfile, Plan, + ProximityPlacementGroup, + ProximityPlacementGroupUpdate, PurchasePlan, RecommendedMachineConfiguration, RegionalReplicationStatus, @@ -91,6 +99,7 @@ export { RollingUpgradeProgressInfo, RollingUpgradeRunningStatus, RollingUpgradeStatusInfo, + ScheduledEventsProfile, Sku, Snapshot, SnapshotSku, @@ -101,6 +110,7 @@ export { SubResource, SubResourceReadOnly, TargetRegion, + TerminateNotificationProfile, UpdateResource, UpgradePolicy, VaultCertificate, diff --git a/sdk/compute/arm-compute/src/models/virtualMachineScaleSetVMsMappers.ts b/sdk/compute/arm-compute/src/models/virtualMachineScaleSetVMsMappers.ts index 3d8a305c5d94..e598541fa7fd 100644 --- a/sdk/compute/arm-compute/src/models/virtualMachineScaleSetVMsMappers.ts +++ b/sdk/compute/arm-compute/src/models/virtualMachineScaleSetVMsMappers.ts @@ -35,6 +35,13 @@ export { CreationData, DataDisk, DataDiskImage, + DedicatedHost, + DedicatedHostAllocatableVM, + DedicatedHostAvailableCapacity, + DedicatedHostGroup, + DedicatedHostGroupUpdate, + DedicatedHostInstanceView, + DedicatedHostUpdate, DiagnosticsProfile, DiffDiskSettings, Disallowed, @@ -46,7 +53,7 @@ export { EncryptionSettingsElement, Gallery, GalleryArtifactPublishingProfileBase, - GalleryArtifactSource, + GalleryArtifactVersionSource, GalleryDataDiskImage, GalleryDiskImage, GalleryIdentifier, @@ -73,7 +80,6 @@ export { KeyVaultSecretReference, LinuxConfiguration, MaintenanceRedeployStatus, - ManagedArtifact, ManagedDiskParameters, NetworkInterfaceReference, NetworkProfile, @@ -81,6 +87,8 @@ export { OSDiskImage, OSProfile, Plan, + ProximityPlacementGroup, + ProximityPlacementGroupUpdate, PurchasePlan, RecommendedMachineConfiguration, RegionalReplicationStatus, @@ -94,6 +102,7 @@ export { RunCommandInput, RunCommandInputParameter, RunCommandResult, + ScheduledEventsProfile, Sku, Snapshot, SnapshotSku, @@ -104,6 +113,7 @@ export { SubResource, SubResourceReadOnly, TargetRegion, + TerminateNotificationProfile, UpdateResource, UpgradePolicy, VaultCertificate, diff --git a/sdk/compute/arm-compute/src/models/virtualMachineScaleSetsMappers.ts b/sdk/compute/arm-compute/src/models/virtualMachineScaleSetsMappers.ts index 9e55ea9e679c..fb063ed15407 100644 --- a/sdk/compute/arm-compute/src/models/virtualMachineScaleSetsMappers.ts +++ b/sdk/compute/arm-compute/src/models/virtualMachineScaleSetsMappers.ts @@ -35,6 +35,13 @@ export { CreationData, DataDisk, DataDiskImage, + DedicatedHost, + DedicatedHostAllocatableVM, + DedicatedHostAvailableCapacity, + DedicatedHostGroup, + DedicatedHostGroupUpdate, + DedicatedHostInstanceView, + DedicatedHostUpdate, DiagnosticsProfile, DiffDiskSettings, Disallowed, @@ -46,7 +53,7 @@ export { EncryptionSettingsElement, Gallery, GalleryArtifactPublishingProfileBase, - GalleryArtifactSource, + GalleryArtifactVersionSource, GalleryDataDiskImage, GalleryDiskImage, GalleryIdentifier, @@ -73,7 +80,6 @@ export { KeyVaultSecretReference, LinuxConfiguration, MaintenanceRedeployStatus, - ManagedArtifact, ManagedDiskParameters, NetworkInterfaceReference, NetworkProfile, @@ -81,6 +87,8 @@ export { OSDiskImage, OSProfile, Plan, + ProximityPlacementGroup, + ProximityPlacementGroupUpdate, PurchasePlan, RecommendedMachineConfiguration, RecoveryWalkResponse, @@ -93,6 +101,7 @@ export { RollingUpgradeProgressInfo, RollingUpgradeRunningStatus, RollingUpgradeStatusInfo, + ScheduledEventsProfile, Sku, Snapshot, SnapshotSku, @@ -103,6 +112,7 @@ export { SubResource, SubResourceReadOnly, TargetRegion, + TerminateNotificationProfile, UpdateResource, UpgradeOperationHistoricalStatusInfo, UpgradeOperationHistoricalStatusInfoProperties, @@ -172,6 +182,7 @@ export { VirtualMachineScaleSetVMReimageParameters, VirtualMachineStatusCodeCount, VirtualMachineUpdate, + VMScaleSetConvertToSinglePlacementGroupInput, WindowsConfiguration, WinRMConfiguration, WinRMListener diff --git a/sdk/compute/arm-compute/src/models/virtualMachinesMappers.ts b/sdk/compute/arm-compute/src/models/virtualMachinesMappers.ts index ea80fe8b1d31..e3833cfa8045 100644 --- a/sdk/compute/arm-compute/src/models/virtualMachinesMappers.ts +++ b/sdk/compute/arm-compute/src/models/virtualMachinesMappers.ts @@ -35,6 +35,13 @@ export { CreationData, DataDisk, DataDiskImage, + DedicatedHost, + DedicatedHostAllocatableVM, + DedicatedHostAvailableCapacity, + DedicatedHostGroup, + DedicatedHostGroupUpdate, + DedicatedHostInstanceView, + DedicatedHostUpdate, DiagnosticsProfile, DiffDiskSettings, Disallowed, @@ -46,7 +53,7 @@ export { EncryptionSettingsElement, Gallery, GalleryArtifactPublishingProfileBase, - GalleryArtifactSource, + GalleryArtifactVersionSource, GalleryDataDiskImage, GalleryDiskImage, GalleryIdentifier, @@ -73,7 +80,6 @@ export { KeyVaultSecretReference, LinuxConfiguration, MaintenanceRedeployStatus, - ManagedArtifact, ManagedDiskParameters, NetworkInterfaceReference, NetworkProfile, @@ -81,6 +87,8 @@ export { OSDiskImage, OSProfile, Plan, + ProximityPlacementGroup, + ProximityPlacementGroupUpdate, PurchasePlan, RecommendedMachineConfiguration, RegionalReplicationStatus, @@ -94,6 +102,7 @@ export { RunCommandInput, RunCommandInputParameter, RunCommandResult, + ScheduledEventsProfile, Sku, Snapshot, SnapshotSku, @@ -104,6 +113,7 @@ export { SubResource, SubResourceReadOnly, TargetRegion, + TerminateNotificationProfile, UpdateResource, UpgradePolicy, VaultCertificate, diff --git a/sdk/compute/arm-compute/src/operations/containerServices.ts b/sdk/compute/arm-compute/src/operations/containerServices.ts index fb409253f04a..a0b681fc5406 100644 --- a/sdk/compute/arm-compute/src/operations/containerServices.ts +++ b/sdk/compute/arm-compute/src/operations/containerServices.ts @@ -274,7 +274,7 @@ const listOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion3 + Parameters.apiVersion4 ], headerParameters: [ Parameters.acceptLanguage @@ -299,7 +299,7 @@ const getOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion3 + Parameters.apiVersion4 ], headerParameters: [ Parameters.acceptLanguage @@ -323,7 +323,7 @@ const listByResourceGroupOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion3 + Parameters.apiVersion4 ], headerParameters: [ Parameters.acceptLanguage @@ -348,7 +348,7 @@ const beginCreateOrUpdateOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion3 + Parameters.apiVersion4 ], headerParameters: [ Parameters.acceptLanguage @@ -386,7 +386,7 @@ const beginDeleteMethodOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion3 + 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 new file mode 100644 index 000000000000..bfbb911ad51a --- /dev/null +++ b/sdk/compute/arm-compute/src/operations/dedicatedHostGroups.ts @@ -0,0 +1,484 @@ +/* + * Copyright (c) Microsoft Corporation. All rights reserved. + * Licensed under the MIT License. See License.txt in the project root for + * license information. + * + * 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/dedicatedHostGroupsMappers"; +import * as Parameters from "../models/parameters"; +import { ComputeManagementClientContext } from "../computeManagementClientContext"; + +/** Class representing a DedicatedHostGroups. */ +export class DedicatedHostGroups { + private readonly client: ComputeManagementClientContext; + + /** + * Create a DedicatedHostGroups. + * @param {ComputeManagementClientContext} client Reference to the service client. + */ + constructor(client: ComputeManagementClientContext) { + this.client = client; + } + + /** + * Create or update a dedicated host group. For details of Dedicated Host and Dedicated Host Groups + * please see [Dedicated Host Documentation] (https://go.microsoft.com/fwlink/?linkid=2082596) + * @param resourceGroupName The name of the resource group. + * @param hostGroupName The name of the dedicated host group. + * @param parameters Parameters supplied to the Create Dedicated Host Group. + * @param [options] The optional parameters + * @returns Promise + */ + createOrUpdate(resourceGroupName: string, hostGroupName: string, parameters: Models.DedicatedHostGroup, options?: msRest.RequestOptionsBase): Promise; + /** + * @param resourceGroupName The name of the resource group. + * @param hostGroupName The name of the dedicated host group. + * @param parameters Parameters supplied to the Create Dedicated Host Group. + * @param callback The callback + */ + createOrUpdate(resourceGroupName: string, hostGroupName: string, parameters: Models.DedicatedHostGroup, callback: msRest.ServiceCallback): void; + /** + * @param resourceGroupName The name of the resource group. + * @param hostGroupName The name of the dedicated host group. + * @param parameters Parameters supplied to the Create Dedicated Host Group. + * @param options The optional parameters + * @param callback The callback + */ + createOrUpdate(resourceGroupName: string, hostGroupName: string, parameters: Models.DedicatedHostGroup, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + createOrUpdate(resourceGroupName: string, hostGroupName: string, parameters: Models.DedicatedHostGroup, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + resourceGroupName, + hostGroupName, + parameters, + options + }, + createOrUpdateOperationSpec, + callback) as Promise; + } + + /** + * Update an dedicated host group. + * @param resourceGroupName The name of the resource group. + * @param hostGroupName The name of the dedicated host group. + * @param parameters Parameters supplied to the Update Dedicated Host Group operation. + * @param [options] The optional parameters + * @returns Promise + */ + update(resourceGroupName: string, hostGroupName: string, parameters: Models.DedicatedHostGroupUpdate, options?: msRest.RequestOptionsBase): Promise; + /** + * @param resourceGroupName The name of the resource group. + * @param hostGroupName The name of the dedicated host group. + * @param parameters Parameters supplied to the Update Dedicated Host Group operation. + * @param callback The callback + */ + update(resourceGroupName: string, hostGroupName: string, parameters: Models.DedicatedHostGroupUpdate, callback: msRest.ServiceCallback): void; + /** + * @param resourceGroupName The name of the resource group. + * @param hostGroupName The name of the dedicated host group. + * @param parameters Parameters supplied to the Update Dedicated Host Group operation. + * @param options The optional parameters + * @param callback The callback + */ + update(resourceGroupName: string, hostGroupName: string, parameters: Models.DedicatedHostGroupUpdate, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + update(resourceGroupName: string, hostGroupName: string, parameters: Models.DedicatedHostGroupUpdate, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + resourceGroupName, + hostGroupName, + parameters, + options + }, + updateOperationSpec, + callback) as Promise; + } + + /** + * Delete a dedicated host group. + * @param resourceGroupName The name of the resource group. + * @param hostGroupName The name of the dedicated host group. + * @param [options] The optional parameters + * @returns Promise + */ + deleteMethod(resourceGroupName: string, hostGroupName: string, options?: msRest.RequestOptionsBase): Promise; + /** + * @param resourceGroupName The name of the resource group. + * @param hostGroupName The name of the dedicated host group. + * @param callback The callback + */ + deleteMethod(resourceGroupName: string, hostGroupName: string, callback: msRest.ServiceCallback): void; + /** + * @param resourceGroupName The name of the resource group. + * @param hostGroupName The name of the dedicated host group. + * @param options The optional parameters + * @param callback The callback + */ + deleteMethod(resourceGroupName: string, hostGroupName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + deleteMethod(resourceGroupName: string, hostGroupName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + resourceGroupName, + hostGroupName, + options + }, + deleteMethodOperationSpec, + callback); + } + + /** + * Retrieves information about a dedicated host group. + * @param resourceGroupName The name of the resource group. + * @param hostGroupName The name of the dedicated host group. + * @param [options] The optional parameters + * @returns Promise + */ + get(resourceGroupName: string, hostGroupName: string, options?: msRest.RequestOptionsBase): Promise; + /** + * @param resourceGroupName The name of the resource group. + * @param hostGroupName The name of the dedicated host group. + * @param callback The callback + */ + get(resourceGroupName: string, hostGroupName: string, callback: msRest.ServiceCallback): void; + /** + * @param resourceGroupName The name of the resource group. + * @param hostGroupName The name of the dedicated host group. + * @param options The optional parameters + * @param callback The callback + */ + get(resourceGroupName: string, hostGroupName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + get(resourceGroupName: string, hostGroupName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + resourceGroupName, + hostGroupName, + options + }, + getOperationSpec, + callback) as Promise; + } + + /** + * Lists all of the dedicated host groups in the specified resource group. Use the nextLink + * property in the response to get the next page of dedicated host groups. + * @param resourceGroupName The name of the resource group. + * @param [options] The optional parameters + * @returns Promise + */ + listByResourceGroup(resourceGroupName: string, options?: msRest.RequestOptionsBase): Promise; + /** + * @param resourceGroupName The name of the resource group. + * @param callback The callback + */ + listByResourceGroup(resourceGroupName: string, callback: msRest.ServiceCallback): void; + /** + * @param resourceGroupName The name of the resource group. + * @param options The optional parameters + * @param callback The callback + */ + listByResourceGroup(resourceGroupName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + listByResourceGroup(resourceGroupName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + resourceGroupName, + options + }, + listByResourceGroupOperationSpec, + callback) as Promise; + } + + /** + * Lists all of the dedicated host groups in the subscription. Use the nextLink property in the + * response to get the next page of dedicated host groups. + * @param [options] The optional parameters + * @returns Promise + */ + listBySubscription(options?: msRest.RequestOptionsBase): Promise; + /** + * @param callback The callback + */ + listBySubscription(callback: msRest.ServiceCallback): void; + /** + * @param options The optional parameters + * @param callback The callback + */ + listBySubscription(options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + listBySubscription(options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + options + }, + listBySubscriptionOperationSpec, + callback) as Promise; + } + + /** + * Lists all of the dedicated host groups in the specified resource group. Use the nextLink + * property in the response to get the next page of dedicated host groups. + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @param [options] The optional parameters + * @returns Promise + */ + listByResourceGroupNext(nextPageLink: string, options?: msRest.RequestOptionsBase): Promise; + /** + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @param callback The callback + */ + listByResourceGroupNext(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 + */ + listByResourceGroupNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + listByResourceGroupNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + nextPageLink, + options + }, + listByResourceGroupNextOperationSpec, + callback) as Promise; + } + + /** + * Lists all of the dedicated host groups in the subscription. Use the nextLink property in the + * response to get the next page of dedicated host groups. + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @param [options] The optional parameters + * @returns Promise + */ + listBySubscriptionNext(nextPageLink: string, options?: msRest.RequestOptionsBase): Promise; + /** + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @param callback The callback + */ + listBySubscriptionNext(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 + */ + listBySubscriptionNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + listBySubscriptionNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + nextPageLink, + options + }, + listBySubscriptionNextOperationSpec, + callback) as Promise; + } +} + +// Operation Specifications +const serializer = new msRest.Serializer(Mappers); +const createOrUpdateOperationSpec: msRest.OperationSpec = { + httpMethod: "PUT", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/hostGroups/{hostGroupName}", + urlParameters: [ + Parameters.resourceGroupName, + Parameters.hostGroupName, + Parameters.subscriptionId + ], + queryParameters: [ + Parameters.apiVersion0 + ], + headerParameters: [ + Parameters.acceptLanguage + ], + requestBody: { + parameterPath: "parameters", + mapper: { + ...Mappers.DedicatedHostGroup, + required: true + } + }, + responses: { + 200: { + bodyMapper: Mappers.DedicatedHostGroup + }, + 201: { + bodyMapper: Mappers.DedicatedHostGroup + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + +const updateOperationSpec: msRest.OperationSpec = { + httpMethod: "PATCH", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/hostGroups/{hostGroupName}", + urlParameters: [ + Parameters.resourceGroupName, + Parameters.hostGroupName, + Parameters.subscriptionId + ], + queryParameters: [ + Parameters.apiVersion0 + ], + headerParameters: [ + Parameters.acceptLanguage + ], + requestBody: { + parameterPath: "parameters", + mapper: { + ...Mappers.DedicatedHostGroupUpdate, + required: true + } + }, + responses: { + 200: { + bodyMapper: Mappers.DedicatedHostGroup + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + +const deleteMethodOperationSpec: msRest.OperationSpec = { + httpMethod: "DELETE", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/hostGroups/{hostGroupName}", + urlParameters: [ + Parameters.resourceGroupName, + Parameters.hostGroupName, + Parameters.subscriptionId + ], + queryParameters: [ + Parameters.apiVersion0 + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: {}, + 204: {}, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + +const getOperationSpec: msRest.OperationSpec = { + httpMethod: "GET", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/hostGroups/{hostGroupName}", + urlParameters: [ + Parameters.resourceGroupName, + Parameters.hostGroupName, + Parameters.subscriptionId + ], + queryParameters: [ + Parameters.apiVersion0 + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: { + bodyMapper: Mappers.DedicatedHostGroup + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + +const listByResourceGroupOperationSpec: msRest.OperationSpec = { + httpMethod: "GET", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/hostGroups", + urlParameters: [ + Parameters.resourceGroupName, + Parameters.subscriptionId + ], + queryParameters: [ + Parameters.apiVersion0 + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: { + bodyMapper: Mappers.DedicatedHostGroupListResult + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + +const listBySubscriptionOperationSpec: msRest.OperationSpec = { + httpMethod: "GET", + path: "subscriptions/{subscriptionId}/providers/Microsoft.Compute/hostGroups", + urlParameters: [ + Parameters.subscriptionId + ], + queryParameters: [ + Parameters.apiVersion0 + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: { + bodyMapper: Mappers.DedicatedHostGroupListResult + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + +const listByResourceGroupNextOperationSpec: msRest.OperationSpec = { + httpMethod: "GET", + baseUrl: "https://management.azure.com", + path: "{nextLink}", + urlParameters: [ + Parameters.nextPageLink + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: { + bodyMapper: Mappers.DedicatedHostGroupListResult + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + +const listBySubscriptionNextOperationSpec: msRest.OperationSpec = { + httpMethod: "GET", + baseUrl: "https://management.azure.com", + path: "{nextLink}", + urlParameters: [ + Parameters.nextPageLink + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: { + bodyMapper: Mappers.DedicatedHostGroupListResult + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; diff --git a/sdk/compute/arm-compute/src/operations/dedicatedHosts.ts b/sdk/compute/arm-compute/src/operations/dedicatedHosts.ts new file mode 100644 index 000000000000..6f4b69dee8c4 --- /dev/null +++ b/sdk/compute/arm-compute/src/operations/dedicatedHosts.ts @@ -0,0 +1,402 @@ +/* + * Copyright (c) Microsoft Corporation. All rights reserved. + * Licensed under the MIT License. See License.txt in the project root for + * license information. + * + * 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/dedicatedHostsMappers"; +import * as Parameters from "../models/parameters"; +import { ComputeManagementClientContext } from "../computeManagementClientContext"; + +/** Class representing a DedicatedHosts. */ +export class DedicatedHosts { + private readonly client: ComputeManagementClientContext; + + /** + * Create a DedicatedHosts. + * @param {ComputeManagementClientContext} client Reference to the service client. + */ + constructor(client: ComputeManagementClientContext) { + this.client = client; + } + + /** + * Create or update a dedicated host . + * @param resourceGroupName The name of the resource group. + * @param hostGroupName The name of the dedicated host group. + * @param hostName The name of the dedicated host . + * @param parameters Parameters supplied to the Create Dedicated Host. + * @param [options] The optional parameters + * @returns Promise + */ + createOrUpdate(resourceGroupName: string, hostGroupName: string, hostName: string, parameters: Models.DedicatedHost, options?: msRest.RequestOptionsBase): Promise { + return this.beginCreateOrUpdate(resourceGroupName,hostGroupName,hostName,parameters,options) + .then(lroPoller => lroPoller.pollUntilFinished()) as Promise; + } + + /** + * Update an dedicated host . + * @param resourceGroupName The name of the resource group. + * @param hostGroupName The name of the dedicated host group. + * @param hostName The name of the dedicated host . + * @param parameters Parameters supplied to the Update Dedicated Host operation. + * @param [options] The optional parameters + * @returns Promise + */ + update(resourceGroupName: string, hostGroupName: string, hostName: string, parameters: Models.DedicatedHostUpdate, options?: msRest.RequestOptionsBase): Promise { + return this.beginUpdate(resourceGroupName,hostGroupName,hostName,parameters,options) + .then(lroPoller => lroPoller.pollUntilFinished()) as Promise; + } + + /** + * Delete a dedicated host. + * @param resourceGroupName The name of the resource group. + * @param hostGroupName The name of the dedicated host group. + * @param hostName The name of the dedicated host. + * @param [options] The optional parameters + * @returns Promise + */ + deleteMethod(resourceGroupName: string, hostGroupName: string, hostName: string, options?: msRest.RequestOptionsBase): Promise { + return this.beginDeleteMethod(resourceGroupName,hostGroupName,hostName,options) + .then(lroPoller => lroPoller.pollUntilFinished()); + } + + /** + * Retrieves information about a dedicated host. + * @param resourceGroupName The name of the resource group. + * @param hostGroupName The name of the dedicated host group. + * @param hostName The name of the dedicated host. + * @param [options] The optional parameters + * @returns Promise + */ + get(resourceGroupName: string, hostGroupName: string, hostName: string, options?: Models.DedicatedHostsGetOptionalParams): Promise; + /** + * @param resourceGroupName The name of the resource group. + * @param hostGroupName The name of the dedicated host group. + * @param hostName The name of the dedicated host. + * @param callback The callback + */ + get(resourceGroupName: string, hostGroupName: string, hostName: string, callback: msRest.ServiceCallback): void; + /** + * @param resourceGroupName The name of the resource group. + * @param hostGroupName The name of the dedicated host group. + * @param hostName The name of the dedicated host. + * @param options The optional parameters + * @param callback The callback + */ + get(resourceGroupName: string, hostGroupName: string, hostName: string, options: Models.DedicatedHostsGetOptionalParams, callback: msRest.ServiceCallback): void; + get(resourceGroupName: string, hostGroupName: string, hostName: string, options?: Models.DedicatedHostsGetOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + resourceGroupName, + hostGroupName, + hostName, + options + }, + getOperationSpec, + callback) as Promise; + } + + /** + * Lists all of the dedicated hosts in the specified dedicated host group. Use the nextLink + * property in the response to get the next page of dedicated hosts. + * @param resourceGroupName The name of the resource group. + * @param hostGroupName The name of the dedicated host group. + * @param [options] The optional parameters + * @returns Promise + */ + listByHostGroup(resourceGroupName: string, hostGroupName: string, options?: msRest.RequestOptionsBase): Promise; + /** + * @param resourceGroupName The name of the resource group. + * @param hostGroupName The name of the dedicated host group. + * @param callback The callback + */ + listByHostGroup(resourceGroupName: string, hostGroupName: string, callback: msRest.ServiceCallback): void; + /** + * @param resourceGroupName The name of the resource group. + * @param hostGroupName The name of the dedicated host group. + * @param options The optional parameters + * @param callback The callback + */ + listByHostGroup(resourceGroupName: string, hostGroupName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + listByHostGroup(resourceGroupName: string, hostGroupName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + resourceGroupName, + hostGroupName, + options + }, + listByHostGroupOperationSpec, + callback) as Promise; + } + + /** + * Create or update a dedicated host . + * @param resourceGroupName The name of the resource group. + * @param hostGroupName The name of the dedicated host group. + * @param hostName The name of the dedicated host . + * @param parameters Parameters supplied to the Create Dedicated Host. + * @param [options] The optional parameters + * @returns Promise + */ + beginCreateOrUpdate(resourceGroupName: string, hostGroupName: string, hostName: string, parameters: Models.DedicatedHost, options?: msRest.RequestOptionsBase): Promise { + return this.client.sendLRORequest( + { + resourceGroupName, + hostGroupName, + hostName, + parameters, + options + }, + beginCreateOrUpdateOperationSpec, + options); + } + + /** + * Update an dedicated host . + * @param resourceGroupName The name of the resource group. + * @param hostGroupName The name of the dedicated host group. + * @param hostName The name of the dedicated host . + * @param parameters Parameters supplied to the Update Dedicated Host operation. + * @param [options] The optional parameters + * @returns Promise + */ + beginUpdate(resourceGroupName: string, hostGroupName: string, hostName: string, parameters: Models.DedicatedHostUpdate, options?: msRest.RequestOptionsBase): Promise { + return this.client.sendLRORequest( + { + resourceGroupName, + hostGroupName, + hostName, + parameters, + options + }, + beginUpdateOperationSpec, + options); + } + + /** + * Delete a dedicated host. + * @param resourceGroupName The name of the resource group. + * @param hostGroupName The name of the dedicated host group. + * @param hostName The name of the dedicated host. + * @param [options] The optional parameters + * @returns Promise + */ + beginDeleteMethod(resourceGroupName: string, hostGroupName: string, hostName: string, options?: msRest.RequestOptionsBase): Promise { + return this.client.sendLRORequest( + { + resourceGroupName, + hostGroupName, + hostName, + options + }, + beginDeleteMethodOperationSpec, + options); + } + + /** + * Lists all of the dedicated hosts in the specified dedicated host group. Use the nextLink + * property in the response to get the next page of dedicated hosts. + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @param [options] The optional parameters + * @returns Promise + */ + listByHostGroupNext(nextPageLink: string, options?: msRest.RequestOptionsBase): Promise; + /** + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @param callback The callback + */ + listByHostGroupNext(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 + */ + listByHostGroupNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + listByHostGroupNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + nextPageLink, + options + }, + listByHostGroupNextOperationSpec, + 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/hostGroups/{hostGroupName}/hosts/{hostName}", + urlParameters: [ + Parameters.resourceGroupName, + Parameters.hostGroupName, + Parameters.hostName, + Parameters.subscriptionId + ], + queryParameters: [ + Parameters.expand0, + Parameters.apiVersion0 + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: { + bodyMapper: Mappers.DedicatedHost + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + +const listByHostGroupOperationSpec: msRest.OperationSpec = { + httpMethod: "GET", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/hostGroups/{hostGroupName}/hosts", + urlParameters: [ + Parameters.resourceGroupName, + Parameters.hostGroupName, + Parameters.subscriptionId + ], + queryParameters: [ + Parameters.apiVersion0 + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: { + bodyMapper: Mappers.DedicatedHostListResult + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + +const beginCreateOrUpdateOperationSpec: msRest.OperationSpec = { + httpMethod: "PUT", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/hostGroups/{hostGroupName}/hosts/{hostName}", + urlParameters: [ + Parameters.resourceGroupName, + Parameters.hostGroupName, + Parameters.hostName, + Parameters.subscriptionId + ], + queryParameters: [ + Parameters.apiVersion0 + ], + headerParameters: [ + Parameters.acceptLanguage + ], + requestBody: { + parameterPath: "parameters", + mapper: { + ...Mappers.DedicatedHost, + required: true + } + }, + responses: { + 200: { + bodyMapper: Mappers.DedicatedHost + }, + 201: { + bodyMapper: Mappers.DedicatedHost + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + +const beginUpdateOperationSpec: msRest.OperationSpec = { + httpMethod: "PATCH", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/hostGroups/{hostGroupName}/hosts/{hostName}", + urlParameters: [ + Parameters.resourceGroupName, + Parameters.hostGroupName, + Parameters.hostName, + Parameters.subscriptionId + ], + queryParameters: [ + Parameters.apiVersion0 + ], + headerParameters: [ + Parameters.acceptLanguage + ], + requestBody: { + parameterPath: "parameters", + mapper: { + ...Mappers.DedicatedHostUpdate, + required: true + } + }, + responses: { + 200: { + bodyMapper: Mappers.DedicatedHost + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + +const beginDeleteMethodOperationSpec: msRest.OperationSpec = { + httpMethod: "DELETE", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/hostGroups/{hostGroupName}/hosts/{hostName}", + urlParameters: [ + Parameters.resourceGroupName, + Parameters.hostGroupName, + Parameters.hostName, + Parameters.subscriptionId + ], + queryParameters: [ + Parameters.apiVersion0 + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: {}, + 202: {}, + 204: {}, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + +const listByHostGroupNextOperationSpec: msRest.OperationSpec = { + httpMethod: "GET", + baseUrl: "https://management.azure.com", + path: "{nextLink}", + urlParameters: [ + Parameters.nextPageLink + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: { + bodyMapper: Mappers.DedicatedHostListResult + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; diff --git a/sdk/compute/arm-compute/src/operations/galleries.ts b/sdk/compute/arm-compute/src/operations/galleries.ts index bf566595c4a2..3ed0099d5551 100644 --- a/sdk/compute/arm-compute/src/operations/galleries.ts +++ b/sdk/compute/arm-compute/src/operations/galleries.ts @@ -244,7 +244,7 @@ const getOperationSpec: msRest.OperationSpec = { Parameters.galleryName ], queryParameters: [ - Parameters.apiVersion0 + Parameters.apiVersion3 ], headerParameters: [ Parameters.acceptLanguage @@ -268,7 +268,7 @@ const listByResourceGroupOperationSpec: msRest.OperationSpec = { Parameters.resourceGroupName ], queryParameters: [ - Parameters.apiVersion0 + Parameters.apiVersion3 ], headerParameters: [ Parameters.acceptLanguage @@ -291,7 +291,7 @@ const listOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion0 + Parameters.apiVersion3 ], headerParameters: [ Parameters.acceptLanguage @@ -316,7 +316,7 @@ const beginCreateOrUpdateOperationSpec: msRest.OperationSpec = { Parameters.galleryName ], queryParameters: [ - Parameters.apiVersion0 + Parameters.apiVersion3 ], headerParameters: [ Parameters.acceptLanguage @@ -354,7 +354,7 @@ const beginDeleteMethodOperationSpec: msRest.OperationSpec = { Parameters.galleryName ], queryParameters: [ - Parameters.apiVersion0 + 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 02c415f95c6e..439c5e351734 100644 --- a/sdk/compute/arm-compute/src/operations/galleryImageVersions.ts +++ b/sdk/compute/arm-compute/src/operations/galleryImageVersions.ts @@ -236,8 +236,8 @@ const getOperationSpec: msRest.OperationSpec = { Parameters.galleryImageVersionName ], queryParameters: [ - Parameters.expand0, - Parameters.apiVersion0 + Parameters.expand1, + Parameters.apiVersion3 ], headerParameters: [ Parameters.acceptLanguage @@ -263,7 +263,7 @@ const listByGalleryImageOperationSpec: msRest.OperationSpec = { Parameters.galleryImageName ], queryParameters: [ - Parameters.apiVersion0 + Parameters.apiVersion3 ], headerParameters: [ Parameters.acceptLanguage @@ -290,7 +290,7 @@ const beginCreateOrUpdateOperationSpec: msRest.OperationSpec = { Parameters.galleryImageVersionName ], queryParameters: [ - Parameters.apiVersion0 + Parameters.apiVersion3 ], headerParameters: [ Parameters.acceptLanguage @@ -330,7 +330,7 @@ const beginDeleteMethodOperationSpec: msRest.OperationSpec = { Parameters.galleryImageVersionName ], queryParameters: [ - Parameters.apiVersion0 + 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 1205d3f7d769..b951008c54f7 100644 --- a/sdk/compute/arm-compute/src/operations/galleryImages.ts +++ b/sdk/compute/arm-compute/src/operations/galleryImages.ts @@ -219,7 +219,7 @@ const getOperationSpec: msRest.OperationSpec = { Parameters.galleryImageName ], queryParameters: [ - Parameters.apiVersion0 + Parameters.apiVersion3 ], headerParameters: [ Parameters.acceptLanguage @@ -244,7 +244,7 @@ const listByGalleryOperationSpec: msRest.OperationSpec = { Parameters.galleryName ], queryParameters: [ - Parameters.apiVersion0 + Parameters.apiVersion3 ], headerParameters: [ Parameters.acceptLanguage @@ -270,7 +270,7 @@ const beginCreateOrUpdateOperationSpec: msRest.OperationSpec = { Parameters.galleryImageName ], queryParameters: [ - Parameters.apiVersion0 + Parameters.apiVersion3 ], headerParameters: [ Parameters.acceptLanguage @@ -309,7 +309,7 @@ const beginDeleteMethodOperationSpec: msRest.OperationSpec = { Parameters.galleryImageName ], queryParameters: [ - Parameters.apiVersion0 + 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..db6ade10fbf7 100644 --- a/sdk/compute/arm-compute/src/operations/images.ts +++ b/sdk/compute/arm-compute/src/operations/images.ts @@ -277,7 +277,7 @@ const getOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.expand0, + Parameters.expand1, Parameters.apiVersion0 ], headerParameters: [ diff --git a/sdk/compute/arm-compute/src/operations/index.ts b/sdk/compute/arm-compute/src/operations/index.ts index 1821b058d12d..4af74520b9ea 100644 --- a/sdk/compute/arm-compute/src/operations/index.ts +++ b/sdk/compute/arm-compute/src/operations/index.ts @@ -10,6 +10,9 @@ export * from "./operations"; export * from "./availabilitySets"; +export * from "./proximityPlacementGroups"; +export * from "./dedicatedHostGroups"; +export * from "./dedicatedHosts"; export * from "./virtualMachineExtensionImages"; export * from "./virtualMachineExtensions"; export * from "./virtualMachineImages"; @@ -20,7 +23,6 @@ export * from "./images"; export * from "./virtualMachineScaleSets"; export * from "./virtualMachineScaleSetExtensions"; export * from "./virtualMachineScaleSetRollingUpgrades"; -export * from "./virtualMachineScaleSetOperations"; export * from "./virtualMachineScaleSetVMs"; export * from "./logAnalytics"; export * from "./virtualMachineRunCommands"; diff --git a/sdk/compute/arm-compute/src/operations/proximityPlacementGroups.ts b/sdk/compute/arm-compute/src/operations/proximityPlacementGroups.ts new file mode 100644 index 000000000000..5a5ed3f4bbf0 --- /dev/null +++ b/sdk/compute/arm-compute/src/operations/proximityPlacementGroups.ts @@ -0,0 +1,478 @@ +/* + * Copyright (c) Microsoft Corporation. All rights reserved. + * Licensed under the MIT License. See License.txt in the project root for + * license information. + * + * 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/proximityPlacementGroupsMappers"; +import * as Parameters from "../models/parameters"; +import { ComputeManagementClientContext } from "../computeManagementClientContext"; + +/** Class representing a ProximityPlacementGroups. */ +export class ProximityPlacementGroups { + private readonly client: ComputeManagementClientContext; + + /** + * Create a ProximityPlacementGroups. + * @param {ComputeManagementClientContext} client Reference to the service client. + */ + constructor(client: ComputeManagementClientContext) { + this.client = client; + } + + /** + * Create or update a proximity placement group. + * @param resourceGroupName The name of the resource group. + * @param proximityPlacementGroupName The name of the proximity placement group. + * @param parameters Parameters supplied to the Create Proximity Placement Group operation. + * @param [options] The optional parameters + * @returns Promise + */ + createOrUpdate(resourceGroupName: string, proximityPlacementGroupName: string, parameters: Models.ProximityPlacementGroup, options?: msRest.RequestOptionsBase): Promise; + /** + * @param resourceGroupName The name of the resource group. + * @param proximityPlacementGroupName The name of the proximity placement group. + * @param parameters Parameters supplied to the Create Proximity Placement Group operation. + * @param callback The callback + */ + createOrUpdate(resourceGroupName: string, proximityPlacementGroupName: string, parameters: Models.ProximityPlacementGroup, callback: msRest.ServiceCallback): void; + /** + * @param resourceGroupName The name of the resource group. + * @param proximityPlacementGroupName The name of the proximity placement group. + * @param parameters Parameters supplied to the Create Proximity Placement Group operation. + * @param options The optional parameters + * @param callback The callback + */ + createOrUpdate(resourceGroupName: string, proximityPlacementGroupName: string, parameters: Models.ProximityPlacementGroup, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + createOrUpdate(resourceGroupName: string, proximityPlacementGroupName: string, parameters: Models.ProximityPlacementGroup, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + resourceGroupName, + proximityPlacementGroupName, + parameters, + options + }, + createOrUpdateOperationSpec, + callback) as Promise; + } + + /** + * Update a proximity placement group. + * @param resourceGroupName The name of the resource group. + * @param proximityPlacementGroupName The name of the proximity placement group. + * @param parameters Parameters supplied to the Update Proximity Placement Group operation. + * @param [options] The optional parameters + * @returns Promise + */ + update(resourceGroupName: string, proximityPlacementGroupName: string, parameters: Models.ProximityPlacementGroupUpdate, options?: msRest.RequestOptionsBase): Promise; + /** + * @param resourceGroupName The name of the resource group. + * @param proximityPlacementGroupName The name of the proximity placement group. + * @param parameters Parameters supplied to the Update Proximity Placement Group operation. + * @param callback The callback + */ + update(resourceGroupName: string, proximityPlacementGroupName: string, parameters: Models.ProximityPlacementGroupUpdate, callback: msRest.ServiceCallback): void; + /** + * @param resourceGroupName The name of the resource group. + * @param proximityPlacementGroupName The name of the proximity placement group. + * @param parameters Parameters supplied to the Update Proximity Placement Group operation. + * @param options The optional parameters + * @param callback The callback + */ + update(resourceGroupName: string, proximityPlacementGroupName: string, parameters: Models.ProximityPlacementGroupUpdate, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + update(resourceGroupName: string, proximityPlacementGroupName: string, parameters: Models.ProximityPlacementGroupUpdate, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + resourceGroupName, + proximityPlacementGroupName, + parameters, + options + }, + updateOperationSpec, + callback) as Promise; + } + + /** + * Delete a proximity placement group. + * @param resourceGroupName The name of the resource group. + * @param proximityPlacementGroupName The name of the proximity placement group. + * @param [options] The optional parameters + * @returns Promise + */ + deleteMethod(resourceGroupName: string, proximityPlacementGroupName: string, options?: msRest.RequestOptionsBase): Promise; + /** + * @param resourceGroupName The name of the resource group. + * @param proximityPlacementGroupName The name of the proximity placement group. + * @param callback The callback + */ + deleteMethod(resourceGroupName: string, proximityPlacementGroupName: string, callback: msRest.ServiceCallback): void; + /** + * @param resourceGroupName The name of the resource group. + * @param proximityPlacementGroupName The name of the proximity placement group. + * @param options The optional parameters + * @param callback The callback + */ + deleteMethod(resourceGroupName: string, proximityPlacementGroupName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + deleteMethod(resourceGroupName: string, proximityPlacementGroupName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + resourceGroupName, + proximityPlacementGroupName, + options + }, + deleteMethodOperationSpec, + callback); + } + + /** + * Retrieves information about a proximity placement group . + * @param resourceGroupName The name of the resource group. + * @param proximityPlacementGroupName The name of the proximity placement group. + * @param [options] The optional parameters + * @returns Promise + */ + get(resourceGroupName: string, proximityPlacementGroupName: string, options?: msRest.RequestOptionsBase): Promise; + /** + * @param resourceGroupName The name of the resource group. + * @param proximityPlacementGroupName The name of the proximity placement group. + * @param callback The callback + */ + get(resourceGroupName: string, proximityPlacementGroupName: string, callback: msRest.ServiceCallback): void; + /** + * @param resourceGroupName The name of the resource group. + * @param proximityPlacementGroupName The name of the proximity placement group. + * @param options The optional parameters + * @param callback The callback + */ + get(resourceGroupName: string, proximityPlacementGroupName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + get(resourceGroupName: string, proximityPlacementGroupName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + resourceGroupName, + proximityPlacementGroupName, + options + }, + getOperationSpec, + callback) as Promise; + } + + /** + * Lists all proximity placement groups in a subscription. + * @param [options] The optional parameters + * @returns Promise + */ + listBySubscription(options?: msRest.RequestOptionsBase): Promise; + /** + * @param callback The callback + */ + listBySubscription(callback: msRest.ServiceCallback): void; + /** + * @param options The optional parameters + * @param callback The callback + */ + listBySubscription(options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + listBySubscription(options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + options + }, + listBySubscriptionOperationSpec, + callback) as Promise; + } + + /** + * Lists all proximity placement groups in a resource group. + * @param resourceGroupName The name of the resource group. + * @param [options] The optional parameters + * @returns Promise + */ + listByResourceGroup(resourceGroupName: string, options?: msRest.RequestOptionsBase): Promise; + /** + * @param resourceGroupName The name of the resource group. + * @param callback The callback + */ + listByResourceGroup(resourceGroupName: string, callback: msRest.ServiceCallback): void; + /** + * @param resourceGroupName The name of the resource group. + * @param options The optional parameters + * @param callback The callback + */ + listByResourceGroup(resourceGroupName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + listByResourceGroup(resourceGroupName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + resourceGroupName, + options + }, + listByResourceGroupOperationSpec, + callback) as Promise; + } + + /** + * Lists all proximity placement groups in a subscription. + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @param [options] The optional parameters + * @returns Promise + */ + listBySubscriptionNext(nextPageLink: string, options?: msRest.RequestOptionsBase): Promise; + /** + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @param callback The callback + */ + listBySubscriptionNext(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 + */ + listBySubscriptionNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + listBySubscriptionNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + nextPageLink, + options + }, + listBySubscriptionNextOperationSpec, + callback) as Promise; + } + + /** + * Lists all proximity placement groups in a resource group. + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @param [options] The optional parameters + * @returns Promise + */ + listByResourceGroupNext(nextPageLink: string, options?: msRest.RequestOptionsBase): Promise; + /** + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @param callback The callback + */ + listByResourceGroupNext(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 + */ + listByResourceGroupNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + listByResourceGroupNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + nextPageLink, + options + }, + listByResourceGroupNextOperationSpec, + callback) as Promise; + } +} + +// Operation Specifications +const serializer = new msRest.Serializer(Mappers); +const createOrUpdateOperationSpec: msRest.OperationSpec = { + httpMethod: "PUT", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/proximityPlacementGroups/{proximityPlacementGroupName}", + urlParameters: [ + Parameters.resourceGroupName, + Parameters.proximityPlacementGroupName, + Parameters.subscriptionId + ], + queryParameters: [ + Parameters.apiVersion0 + ], + headerParameters: [ + Parameters.acceptLanguage + ], + requestBody: { + parameterPath: "parameters", + mapper: { + ...Mappers.ProximityPlacementGroup, + required: true + } + }, + responses: { + 200: { + bodyMapper: Mappers.ProximityPlacementGroup + }, + 201: { + bodyMapper: Mappers.ProximityPlacementGroup + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + +const updateOperationSpec: msRest.OperationSpec = { + httpMethod: "PATCH", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/proximityPlacementGroups/{proximityPlacementGroupName}", + urlParameters: [ + Parameters.resourceGroupName, + Parameters.proximityPlacementGroupName, + Parameters.subscriptionId + ], + queryParameters: [ + Parameters.apiVersion0 + ], + headerParameters: [ + Parameters.acceptLanguage + ], + requestBody: { + parameterPath: "parameters", + mapper: { + ...Mappers.ProximityPlacementGroupUpdate, + required: true + } + }, + responses: { + 200: { + bodyMapper: Mappers.ProximityPlacementGroup + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + +const deleteMethodOperationSpec: msRest.OperationSpec = { + httpMethod: "DELETE", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/proximityPlacementGroups/{proximityPlacementGroupName}", + urlParameters: [ + Parameters.resourceGroupName, + Parameters.proximityPlacementGroupName, + Parameters.subscriptionId + ], + queryParameters: [ + Parameters.apiVersion0 + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: {}, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + +const getOperationSpec: msRest.OperationSpec = { + httpMethod: "GET", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/proximityPlacementGroups/{proximityPlacementGroupName}", + urlParameters: [ + Parameters.resourceGroupName, + Parameters.proximityPlacementGroupName, + Parameters.subscriptionId + ], + queryParameters: [ + Parameters.apiVersion0 + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: { + bodyMapper: Mappers.ProximityPlacementGroup + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + +const listBySubscriptionOperationSpec: msRest.OperationSpec = { + httpMethod: "GET", + path: "subscriptions/{subscriptionId}/providers/Microsoft.Compute/proximityPlacementGroups", + urlParameters: [ + Parameters.subscriptionId + ], + queryParameters: [ + Parameters.apiVersion0 + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: { + bodyMapper: Mappers.ProximityPlacementGroupListResult + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + +const listByResourceGroupOperationSpec: msRest.OperationSpec = { + httpMethod: "GET", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/proximityPlacementGroups", + urlParameters: [ + Parameters.resourceGroupName, + Parameters.subscriptionId + ], + queryParameters: [ + Parameters.apiVersion0 + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: { + bodyMapper: Mappers.ProximityPlacementGroupListResult + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + +const listBySubscriptionNextOperationSpec: msRest.OperationSpec = { + httpMethod: "GET", + baseUrl: "https://management.azure.com", + path: "{nextLink}", + urlParameters: [ + Parameters.nextPageLink + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: { + bodyMapper: Mappers.ProximityPlacementGroupListResult + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + +const listByResourceGroupNextOperationSpec: msRest.OperationSpec = { + httpMethod: "GET", + baseUrl: "https://management.azure.com", + path: "{nextLink}", + urlParameters: [ + Parameters.nextPageLink + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: { + bodyMapper: Mappers.ProximityPlacementGroupListResult + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; diff --git a/sdk/compute/arm-compute/src/operations/virtualMachineExtensions.ts b/sdk/compute/arm-compute/src/operations/virtualMachineExtensions.ts index 289e3d3134e9..97c97b72adf0 100644 --- a/sdk/compute/arm-compute/src/operations/virtualMachineExtensions.ts +++ b/sdk/compute/arm-compute/src/operations/virtualMachineExtensions.ts @@ -217,7 +217,7 @@ const getOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.expand0, + Parameters.expand1, Parameters.apiVersion0 ], headerParameters: [ @@ -243,7 +243,7 @@ const listOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.expand0, + Parameters.expand1, Parameters.apiVersion0 ], headerParameters: [ diff --git a/sdk/compute/arm-compute/src/operations/virtualMachineScaleSetExtensions.ts b/sdk/compute/arm-compute/src/operations/virtualMachineScaleSetExtensions.ts index ede0b80fda8d..f2671c9c93cb 100644 --- a/sdk/compute/arm-compute/src/operations/virtualMachineScaleSetExtensions.ts +++ b/sdk/compute/arm-compute/src/operations/virtualMachineScaleSetExtensions.ts @@ -207,7 +207,7 @@ const getOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.expand0, + Parameters.expand1, Parameters.apiVersion0 ], headerParameters: [ diff --git a/sdk/compute/arm-compute/src/operations/virtualMachineScaleSetVMs.ts b/sdk/compute/arm-compute/src/operations/virtualMachineScaleSetVMs.ts index 158980afb9a6..247b0fdec459 100644 --- a/sdk/compute/arm-compute/src/operations/virtualMachineScaleSetVMs.ts +++ b/sdk/compute/arm-compute/src/operations/virtualMachineScaleSetVMs.ts @@ -105,7 +105,7 @@ export class VirtualMachineScaleSetVMs { * @param [options] The optional parameters * @returns Promise */ - get(resourceGroupName: string, vmScaleSetName: string, instanceId: string, options?: msRest.RequestOptionsBase): Promise; + get(resourceGroupName: string, vmScaleSetName: string, instanceId: string, options?: Models.VirtualMachineScaleSetVMsGetOptionalParams): Promise; /** * @param resourceGroupName The name of the resource group. * @param vmScaleSetName The name of the VM scale set. @@ -120,8 +120,8 @@ export class VirtualMachineScaleSetVMs { * @param options The optional parameters * @param callback The callback */ - get(resourceGroupName: string, vmScaleSetName: string, instanceId: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - get(resourceGroupName: string, vmScaleSetName: string, instanceId: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + get(resourceGroupName: string, vmScaleSetName: string, instanceId: string, options: Models.VirtualMachineScaleSetVMsGetOptionalParams, callback: msRest.ServiceCallback): void; + get(resourceGroupName: string, vmScaleSetName: string, instanceId: string, options?: Models.VirtualMachineScaleSetVMsGetOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -553,6 +553,7 @@ const getOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ + Parameters.expand0, Parameters.apiVersion0 ], headerParameters: [ @@ -606,7 +607,7 @@ const listOperationSpec: msRest.OperationSpec = { queryParameters: [ Parameters.filter, Parameters.select, - Parameters.expand0, + Parameters.expand1, Parameters.apiVersion0 ], headerParameters: [ diff --git a/sdk/compute/arm-compute/src/operations/virtualMachineScaleSets.ts b/sdk/compute/arm-compute/src/operations/virtualMachineScaleSets.ts index e7dfd2b78aff..5aa9dbc78a1b 100644 --- a/sdk/compute/arm-compute/src/operations/virtualMachineScaleSets.ts +++ b/sdk/compute/arm-compute/src/operations/virtualMachineScaleSets.ts @@ -421,6 +421,42 @@ export class VirtualMachineScaleSets { callback) as Promise; } + /** + * Converts SinglePlacementGroup property to false for a existing virtual machine scale set. + * @param resourceGroupName The name of the resource group. + * @param vmScaleSetName The name of the virtual machine scale set to create or update. + * @param parameters The input object for ConvertToSinglePlacementGroup API. + * @param [options] The optional parameters + * @returns Promise + */ + convertToSinglePlacementGroup(resourceGroupName: string, vmScaleSetName: string, parameters: Models.VMScaleSetConvertToSinglePlacementGroupInput, options?: msRest.RequestOptionsBase): Promise; + /** + * @param resourceGroupName The name of the resource group. + * @param vmScaleSetName The name of the virtual machine scale set to create or update. + * @param parameters The input object for ConvertToSinglePlacementGroup API. + * @param callback The callback + */ + convertToSinglePlacementGroup(resourceGroupName: string, vmScaleSetName: string, parameters: Models.VMScaleSetConvertToSinglePlacementGroupInput, callback: msRest.ServiceCallback): void; + /** + * @param resourceGroupName The name of the resource group. + * @param vmScaleSetName The name of the virtual machine scale set to create or update. + * @param parameters The input object for ConvertToSinglePlacementGroup API. + * @param options The optional parameters + * @param callback The callback + */ + convertToSinglePlacementGroup(resourceGroupName: string, vmScaleSetName: string, parameters: Models.VMScaleSetConvertToSinglePlacementGroupInput, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + convertToSinglePlacementGroup(resourceGroupName: string, vmScaleSetName: string, parameters: Models.VMScaleSetConvertToSinglePlacementGroupInput, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + resourceGroupName, + vmScaleSetName, + parameters, + options + }, + convertToSinglePlacementGroupOperationSpec, + callback); + } + /** * Create or update a VM scale set. * @param resourceGroupName The name of the resource group. @@ -964,6 +1000,33 @@ const forceRecoveryServiceFabricPlatformUpdateDomainWalkOperationSpec: msRest.Op serializer }; +const convertToSinglePlacementGroupOperationSpec: msRest.OperationSpec = { + httpMethod: "POST", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}/convertToSinglePlacementGroup", + urlParameters: [ + Parameters.resourceGroupName, + Parameters.vmScaleSetName, + Parameters.subscriptionId + ], + headerParameters: [ + Parameters.acceptLanguage + ], + requestBody: { + parameterPath: "parameters", + mapper: { + ...Mappers.VMScaleSetConvertToSinglePlacementGroupInput, + required: true + } + }, + responses: { + 200: {}, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + const beginCreateOrUpdateOperationSpec: msRest.OperationSpec = { httpMethod: "PUT", path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}", diff --git a/sdk/compute/arm-compute/src/operations/virtualMachines.ts b/sdk/compute/arm-compute/src/operations/virtualMachines.ts index a535ced3f9da..369fc36d833e 100644 --- a/sdk/compute/arm-compute/src/operations/virtualMachines.ts +++ b/sdk/compute/arm-compute/src/operations/virtualMachines.ts @@ -769,7 +769,7 @@ const getOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.expand1, + Parameters.expand0, Parameters.apiVersion0 ], headerParameters: [ diff --git a/sdk/compute/arm-compute/tsconfig.json b/sdk/compute/arm-compute/tsconfig.json index 87bbf5b5fa49..422b584abd5e 100644 --- a/sdk/compute/arm-compute/tsconfig.json +++ b/sdk/compute/arm-compute/tsconfig.json @@ -9,7 +9,7 @@ "esModuleInterop": true, "allowSyntheticDefaultImports": true, "forceConsistentCasingInFileNames": true, - "lib": ["es6"], + "lib": ["es6", "dom"], "declaration": true, "outDir": "./esm", "importHelpers": true From f7c323d47a1672081e2adc0c66f908bd8c90fd11 Mon Sep 17 00:00:00 2001 From: "openapi-bot[bot]" <37845953+openapi-bot[bot]@users.noreply.github.com> Date: Thu, 1 Aug 2019 22:53:25 +0000 Subject: [PATCH 11/16] Generated from 19a6129d7c58da0c40d08c605f051a8b6d559af7 (#4499) Add example reference into compute.json --- sdk/compute/arm-compute/README.md | 1 - sdk/compute/arm-compute/package.json | 12 +- .../src/computeManagementClient.ts | 8 +- .../src/models/availabilitySetsMappers.ts | 14 +- .../src/models/containerServicesMappers.ts | 14 +- .../src/models/dedicatedHostGroupsMappers.ts | 169 +++ .../src/models/dedicatedHostsMappers.ts | 169 +++ .../arm-compute/src/models/disksMappers.ts | 14 +- .../src/models/galleriesMappers.ts | 14 +- .../src/models/galleryImageVersionsMappers.ts | 14 +- .../src/models/galleryImagesMappers.ts | 14 +- .../arm-compute/src/models/imagesMappers.ts | 14 +- sdk/compute/arm-compute/src/models/index.ts | 971 ++++++++++++++++-- sdk/compute/arm-compute/src/models/mappers.ts | 825 +++++++++++++-- .../arm-compute/src/models/parameters.ts | 54 +- .../models/proximityPlacementGroupsMappers.ts | 169 +++ .../src/models/resourceSkusMappers.ts | 3 +- .../src/models/snapshotsMappers.ts | 14 +- .../virtualMachineExtensionImagesMappers.ts | 14 +- .../models/virtualMachineExtensionsMappers.ts | 14 +- .../src/models/virtualMachineImagesMappers.ts | 14 +- ...virtualMachineScaleSetExtensionsMappers.ts | 14 +- ...alMachineScaleSetRollingUpgradesMappers.ts | 14 +- .../virtualMachineScaleSetVMsMappers.ts | 14 +- .../models/virtualMachineScaleSetsMappers.ts | 15 +- .../src/models/virtualMachinesMappers.ts | 14 +- .../src/operations/containerServices.ts | 10 +- .../src/operations/dedicatedHostGroups.ts | 484 +++++++++ .../src/operations/dedicatedHosts.ts | 402 ++++++++ .../arm-compute/src/operations/galleries.ts | 10 +- .../src/operations/galleryImageVersions.ts | 10 +- .../src/operations/galleryImages.ts | 8 +- .../arm-compute/src/operations/images.ts | 2 +- .../arm-compute/src/operations/index.ts | 4 +- .../operations/proximityPlacementGroups.ts | 478 +++++++++ .../operations/virtualMachineExtensions.ts | 4 +- .../virtualMachineScaleSetExtensions.ts | 2 +- .../operations/virtualMachineScaleSetVMs.ts | 9 +- .../src/operations/virtualMachineScaleSets.ts | 63 ++ .../src/operations/virtualMachines.ts | 2 +- sdk/compute/arm-compute/tsconfig.json | 2 +- 41 files changed, 3876 insertions(+), 220 deletions(-) create mode 100644 sdk/compute/arm-compute/src/models/dedicatedHostGroupsMappers.ts create mode 100644 sdk/compute/arm-compute/src/models/dedicatedHostsMappers.ts create mode 100644 sdk/compute/arm-compute/src/models/proximityPlacementGroupsMappers.ts create mode 100644 sdk/compute/arm-compute/src/operations/dedicatedHostGroups.ts create mode 100644 sdk/compute/arm-compute/src/operations/dedicatedHosts.ts create mode 100644 sdk/compute/arm-compute/src/operations/proximityPlacementGroups.ts diff --git a/sdk/compute/arm-compute/README.md b/sdk/compute/arm-compute/README.md index cff2a236f79d..f781c80eaa28 100644 --- a/sdk/compute/arm-compute/README.md +++ b/sdk/compute/arm-compute/README.md @@ -95,5 +95,4 @@ See https://github.com/Azure/ms-rest-browserauth to learn how to authenticate to - [Microsoft Azure SDK for Javascript](https://github.com/Azure/azure-sdk-for-js) - ![Impressions](https://azure-sdk-impressions.azurewebsites.net/api/impressions/azure-sdk-for-js/sdk/compute/arm-compute/README.png) diff --git a/sdk/compute/arm-compute/package.json b/sdk/compute/arm-compute/package.json index 9a2d123f805d..df8e0c31d07b 100644 --- a/sdk/compute/arm-compute/package.json +++ b/sdk/compute/arm-compute/package.json @@ -4,9 +4,9 @@ "description": "ComputeManagementClient Library with typescript type definitions for node.js and browser.", "version": "10.0.0", "dependencies": { - "@azure/ms-rest-azure-js": "^1.3.2", - "@azure/ms-rest-js": "^1.8.1", - "tslib": "^1.9.3" + "@azure/ms-rest-azure-js": "^2.0.0", + "@azure/ms-rest-js": "^2.0.3", + "tslib": "^1.10.0" }, "keywords": [ "node", @@ -26,13 +26,13 @@ "rollup-plugin-sourcemaps": "^0.4.2", "uglify-js": "^3.4.9" }, - "homepage": "https://github.com/azure/azure-sdk-for-js/tree/master/sdk/compute/arm-compute", + "homepage": "https://github.com/Azure/azure-sdk-for-js/tree/master/sdk/compute/arm-compute", "repository": { "type": "git", - "url": "https://github.com/azure/azure-sdk-for-js.git" + "url": "https://github.com/Azure/azure-sdk-for-js.git" }, "bugs": { - "url": "https://github.com/azure/azure-sdk-for-js/issues" + "url": "https://github.com/Azure/azure-sdk-for-js/issues" }, "files": [ "dist/**/*.js", diff --git a/sdk/compute/arm-compute/src/computeManagementClient.ts b/sdk/compute/arm-compute/src/computeManagementClient.ts index 2a6a78e79ac0..aad1875795c6 100644 --- a/sdk/compute/arm-compute/src/computeManagementClient.ts +++ b/sdk/compute/arm-compute/src/computeManagementClient.ts @@ -19,6 +19,9 @@ class ComputeManagementClient extends ComputeManagementClientContext { // Operation groups operations: operations.Operations; availabilitySets: operations.AvailabilitySets; + proximityPlacementGroups: operations.ProximityPlacementGroups; + dedicatedHostGroups: operations.DedicatedHostGroups; + dedicatedHosts: operations.DedicatedHosts; virtualMachineExtensionImages: operations.VirtualMachineExtensionImages; virtualMachineExtensions: operations.VirtualMachineExtensions; virtualMachineImages: operations.VirtualMachineImages; @@ -29,7 +32,6 @@ class ComputeManagementClient extends ComputeManagementClientContext { virtualMachineScaleSets: operations.VirtualMachineScaleSets; virtualMachineScaleSetExtensions: operations.VirtualMachineScaleSetExtensions; virtualMachineScaleSetRollingUpgrades: operations.VirtualMachineScaleSetRollingUpgrades; - virtualMachineScaleSet: operations.VirtualMachineScaleSetOperations; virtualMachineScaleSetVMs: operations.VirtualMachineScaleSetVMs; logAnalytics: operations.LogAnalytics; virtualMachineRunCommands: operations.VirtualMachineRunCommands; @@ -52,6 +54,9 @@ class ComputeManagementClient extends ComputeManagementClientContext { super(credentials, subscriptionId, options); this.operations = new operations.Operations(this); this.availabilitySets = new operations.AvailabilitySets(this); + this.proximityPlacementGroups = new operations.ProximityPlacementGroups(this); + this.dedicatedHostGroups = new operations.DedicatedHostGroups(this); + this.dedicatedHosts = new operations.DedicatedHosts(this); this.virtualMachineExtensionImages = new operations.VirtualMachineExtensionImages(this); this.virtualMachineExtensions = new operations.VirtualMachineExtensions(this); this.virtualMachineImages = new operations.VirtualMachineImages(this); @@ -62,7 +67,6 @@ class ComputeManagementClient extends ComputeManagementClientContext { this.virtualMachineScaleSets = new operations.VirtualMachineScaleSets(this); this.virtualMachineScaleSetExtensions = new operations.VirtualMachineScaleSetExtensions(this); this.virtualMachineScaleSetRollingUpgrades = new operations.VirtualMachineScaleSetRollingUpgrades(this); - this.virtualMachineScaleSet = new operations.VirtualMachineScaleSetOperations(this); this.virtualMachineScaleSetVMs = new operations.VirtualMachineScaleSetVMs(this); this.logAnalytics = new operations.LogAnalytics(this); this.virtualMachineRunCommands = new operations.VirtualMachineRunCommands(this); diff --git a/sdk/compute/arm-compute/src/models/availabilitySetsMappers.ts b/sdk/compute/arm-compute/src/models/availabilitySetsMappers.ts index fcf14403d584..c398b0cd0f9e 100644 --- a/sdk/compute/arm-compute/src/models/availabilitySetsMappers.ts +++ b/sdk/compute/arm-compute/src/models/availabilitySetsMappers.ts @@ -36,6 +36,13 @@ export { CreationData, DataDisk, DataDiskImage, + DedicatedHost, + DedicatedHostAllocatableVM, + DedicatedHostAvailableCapacity, + DedicatedHostGroup, + DedicatedHostGroupUpdate, + DedicatedHostInstanceView, + DedicatedHostUpdate, DiagnosticsProfile, DiffDiskSettings, Disallowed, @@ -47,7 +54,7 @@ export { EncryptionSettingsElement, Gallery, GalleryArtifactPublishingProfileBase, - GalleryArtifactSource, + GalleryArtifactVersionSource, GalleryDataDiskImage, GalleryDiskImage, GalleryIdentifier, @@ -74,7 +81,6 @@ export { KeyVaultSecretReference, LinuxConfiguration, MaintenanceRedeployStatus, - ManagedArtifact, ManagedDiskParameters, NetworkInterfaceReference, NetworkProfile, @@ -82,6 +88,8 @@ export { OSDiskImage, OSProfile, Plan, + ProximityPlacementGroup, + ProximityPlacementGroupUpdate, PurchasePlan, RecommendedMachineConfiguration, RegionalReplicationStatus, @@ -92,6 +100,7 @@ export { RollingUpgradeProgressInfo, RollingUpgradeRunningStatus, RollingUpgradeStatusInfo, + ScheduledEventsProfile, Sku, Snapshot, SnapshotSku, @@ -102,6 +111,7 @@ export { SubResource, SubResourceReadOnly, TargetRegion, + TerminateNotificationProfile, UpdateResource, UpgradePolicy, VaultCertificate, diff --git a/sdk/compute/arm-compute/src/models/containerServicesMappers.ts b/sdk/compute/arm-compute/src/models/containerServicesMappers.ts index a9f0f2c86211..12d67256a45d 100644 --- a/sdk/compute/arm-compute/src/models/containerServicesMappers.ts +++ b/sdk/compute/arm-compute/src/models/containerServicesMappers.ts @@ -36,6 +36,13 @@ export { CreationData, DataDisk, DataDiskImage, + DedicatedHost, + DedicatedHostAllocatableVM, + DedicatedHostAvailableCapacity, + DedicatedHostGroup, + DedicatedHostGroupUpdate, + DedicatedHostInstanceView, + DedicatedHostUpdate, DiagnosticsProfile, DiffDiskSettings, Disallowed, @@ -47,7 +54,7 @@ export { EncryptionSettingsElement, Gallery, GalleryArtifactPublishingProfileBase, - GalleryArtifactSource, + GalleryArtifactVersionSource, GalleryDataDiskImage, GalleryDiskImage, GalleryIdentifier, @@ -74,7 +81,6 @@ export { KeyVaultSecretReference, LinuxConfiguration, MaintenanceRedeployStatus, - ManagedArtifact, ManagedDiskParameters, NetworkInterfaceReference, NetworkProfile, @@ -82,6 +88,8 @@ export { OSDiskImage, OSProfile, Plan, + ProximityPlacementGroup, + ProximityPlacementGroupUpdate, PurchasePlan, RecommendedMachineConfiguration, RegionalReplicationStatus, @@ -92,6 +100,7 @@ export { RollingUpgradeProgressInfo, RollingUpgradeRunningStatus, RollingUpgradeStatusInfo, + ScheduledEventsProfile, Sku, Snapshot, SnapshotSku, @@ -102,6 +111,7 @@ export { SubResource, SubResourceReadOnly, TargetRegion, + TerminateNotificationProfile, UpdateResource, UpgradePolicy, VaultCertificate, diff --git a/sdk/compute/arm-compute/src/models/dedicatedHostGroupsMappers.ts b/sdk/compute/arm-compute/src/models/dedicatedHostGroupsMappers.ts new file mode 100644 index 000000000000..0e28e914df7e --- /dev/null +++ b/sdk/compute/arm-compute/src/models/dedicatedHostGroupsMappers.ts @@ -0,0 +1,169 @@ +/* + * Copyright (c) Microsoft Corporation. All rights reserved. + * Licensed under the MIT License. See License.txt in the project root for license information. + * + * 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, + AvailabilitySet, + AvailabilitySetUpdate, + BaseResource, + BootDiagnostics, + BootDiagnosticsInstanceView, + CloudError, + ContainerService, + ContainerServiceAgentPoolProfile, + ContainerServiceCustomProfile, + ContainerServiceDiagnosticsProfile, + ContainerServiceLinuxProfile, + ContainerServiceMasterProfile, + ContainerServiceOrchestratorProfile, + ContainerServiceServicePrincipalProfile, + ContainerServiceSshConfiguration, + ContainerServiceSshPublicKey, + ContainerServiceVMDiagnostics, + ContainerServiceWindowsProfile, + CreationData, + DataDisk, + DataDiskImage, + DedicatedHost, + DedicatedHostAllocatableVM, + DedicatedHostAvailableCapacity, + DedicatedHostGroup, + DedicatedHostGroupListResult, + DedicatedHostGroupUpdate, + DedicatedHostInstanceView, + DedicatedHostUpdate, + DiagnosticsProfile, + DiffDiskSettings, + Disallowed, + Disk, + DiskEncryptionSettings, + DiskInstanceView, + DiskSku, + EncryptionSettingsCollection, + EncryptionSettingsElement, + Gallery, + GalleryArtifactPublishingProfileBase, + GalleryArtifactVersionSource, + GalleryDataDiskImage, + GalleryDiskImage, + GalleryIdentifier, + GalleryImage, + GalleryImageIdentifier, + GalleryImageVersion, + GalleryImageVersionPublishingProfile, + GalleryImageVersionStorageProfile, + GalleryOSDiskImage, + HardwareProfile, + Image, + ImageDataDisk, + ImageDiskReference, + ImageOSDisk, + ImagePurchasePlan, + ImageReference, + ImageStorageProfile, + ImageUpdate, + InnerError, + InstanceViewStatus, + KeyVaultAndKeyReference, + KeyVaultAndSecretReference, + KeyVaultKeyReference, + KeyVaultSecretReference, + LinuxConfiguration, + MaintenanceRedeployStatus, + ManagedDiskParameters, + NetworkInterfaceReference, + NetworkProfile, + OSDisk, + OSDiskImage, + OSProfile, + Plan, + ProximityPlacementGroup, + ProximityPlacementGroupUpdate, + PurchasePlan, + RecommendedMachineConfiguration, + RegionalReplicationStatus, + ReplicationStatus, + Resource, + ResourceRange, + RollingUpgradePolicy, + RollingUpgradeProgressInfo, + RollingUpgradeRunningStatus, + RollingUpgradeStatusInfo, + ScheduledEventsProfile, + Sku, + Snapshot, + SnapshotSku, + SourceVault, + SshConfiguration, + SshPublicKey, + StorageProfile, + SubResource, + SubResourceReadOnly, + TargetRegion, + TerminateNotificationProfile, + UpdateResource, + UpgradePolicy, + VaultCertificate, + VaultSecretGroup, + VirtualHardDisk, + VirtualMachine, + VirtualMachineAgentInstanceView, + VirtualMachineCaptureResult, + VirtualMachineExtension, + VirtualMachineExtensionHandlerInstanceView, + VirtualMachineExtensionImage, + VirtualMachineExtensionInstanceView, + VirtualMachineExtensionUpdate, + VirtualMachineHealthStatus, + VirtualMachineIdentity, + VirtualMachineIdentityUserAssignedIdentitiesValue, + VirtualMachineImage, + VirtualMachineImageResource, + VirtualMachineInstanceView, + VirtualMachineScaleSet, + VirtualMachineScaleSetDataDisk, + VirtualMachineScaleSetExtension, + VirtualMachineScaleSetExtensionProfile, + VirtualMachineScaleSetIdentity, + VirtualMachineScaleSetIdentityUserAssignedIdentitiesValue, + VirtualMachineScaleSetIPConfiguration, + VirtualMachineScaleSetIpTag, + VirtualMachineScaleSetManagedDiskParameters, + VirtualMachineScaleSetNetworkConfiguration, + VirtualMachineScaleSetNetworkConfigurationDnsSettings, + VirtualMachineScaleSetNetworkProfile, + VirtualMachineScaleSetOSDisk, + VirtualMachineScaleSetOSProfile, + VirtualMachineScaleSetPublicIPAddressConfiguration, + VirtualMachineScaleSetPublicIPAddressConfigurationDnsSettings, + VirtualMachineScaleSetStorageProfile, + VirtualMachineScaleSetUpdate, + VirtualMachineScaleSetUpdateIPConfiguration, + VirtualMachineScaleSetUpdateNetworkConfiguration, + VirtualMachineScaleSetUpdateNetworkProfile, + VirtualMachineScaleSetUpdateOSDisk, + VirtualMachineScaleSetUpdateOSProfile, + VirtualMachineScaleSetUpdatePublicIPAddressConfiguration, + VirtualMachineScaleSetUpdateStorageProfile, + VirtualMachineScaleSetUpdateVMProfile, + VirtualMachineScaleSetVM, + VirtualMachineScaleSetVMInstanceView, + VirtualMachineScaleSetVMNetworkProfileConfiguration, + VirtualMachineScaleSetVMProfile, + VirtualMachineScaleSetVMProtectionPolicy, + VirtualMachineUpdate, + WindowsConfiguration, + WinRMConfiguration, + WinRMListener +} from "../models/mappers"; diff --git a/sdk/compute/arm-compute/src/models/dedicatedHostsMappers.ts b/sdk/compute/arm-compute/src/models/dedicatedHostsMappers.ts new file mode 100644 index 000000000000..f78b7b1889ae --- /dev/null +++ b/sdk/compute/arm-compute/src/models/dedicatedHostsMappers.ts @@ -0,0 +1,169 @@ +/* + * Copyright (c) Microsoft Corporation. All rights reserved. + * Licensed under the MIT License. See License.txt in the project root for license information. + * + * 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, + AvailabilitySet, + AvailabilitySetUpdate, + BaseResource, + BootDiagnostics, + BootDiagnosticsInstanceView, + CloudError, + ContainerService, + ContainerServiceAgentPoolProfile, + ContainerServiceCustomProfile, + ContainerServiceDiagnosticsProfile, + ContainerServiceLinuxProfile, + ContainerServiceMasterProfile, + ContainerServiceOrchestratorProfile, + ContainerServiceServicePrincipalProfile, + ContainerServiceSshConfiguration, + ContainerServiceSshPublicKey, + ContainerServiceVMDiagnostics, + ContainerServiceWindowsProfile, + CreationData, + DataDisk, + DataDiskImage, + DedicatedHost, + DedicatedHostAllocatableVM, + DedicatedHostAvailableCapacity, + DedicatedHostGroup, + DedicatedHostGroupUpdate, + DedicatedHostInstanceView, + DedicatedHostListResult, + DedicatedHostUpdate, + DiagnosticsProfile, + DiffDiskSettings, + Disallowed, + Disk, + DiskEncryptionSettings, + DiskInstanceView, + DiskSku, + EncryptionSettingsCollection, + EncryptionSettingsElement, + Gallery, + GalleryArtifactPublishingProfileBase, + GalleryArtifactVersionSource, + GalleryDataDiskImage, + GalleryDiskImage, + GalleryIdentifier, + GalleryImage, + GalleryImageIdentifier, + GalleryImageVersion, + GalleryImageVersionPublishingProfile, + GalleryImageVersionStorageProfile, + GalleryOSDiskImage, + HardwareProfile, + Image, + ImageDataDisk, + ImageDiskReference, + ImageOSDisk, + ImagePurchasePlan, + ImageReference, + ImageStorageProfile, + ImageUpdate, + InnerError, + InstanceViewStatus, + KeyVaultAndKeyReference, + KeyVaultAndSecretReference, + KeyVaultKeyReference, + KeyVaultSecretReference, + LinuxConfiguration, + MaintenanceRedeployStatus, + ManagedDiskParameters, + NetworkInterfaceReference, + NetworkProfile, + OSDisk, + OSDiskImage, + OSProfile, + Plan, + ProximityPlacementGroup, + ProximityPlacementGroupUpdate, + PurchasePlan, + RecommendedMachineConfiguration, + RegionalReplicationStatus, + ReplicationStatus, + Resource, + ResourceRange, + RollingUpgradePolicy, + RollingUpgradeProgressInfo, + RollingUpgradeRunningStatus, + RollingUpgradeStatusInfo, + ScheduledEventsProfile, + Sku, + Snapshot, + SnapshotSku, + SourceVault, + SshConfiguration, + SshPublicKey, + StorageProfile, + SubResource, + SubResourceReadOnly, + TargetRegion, + TerminateNotificationProfile, + UpdateResource, + UpgradePolicy, + VaultCertificate, + VaultSecretGroup, + VirtualHardDisk, + VirtualMachine, + VirtualMachineAgentInstanceView, + VirtualMachineCaptureResult, + VirtualMachineExtension, + VirtualMachineExtensionHandlerInstanceView, + VirtualMachineExtensionImage, + VirtualMachineExtensionInstanceView, + VirtualMachineExtensionUpdate, + VirtualMachineHealthStatus, + VirtualMachineIdentity, + VirtualMachineIdentityUserAssignedIdentitiesValue, + VirtualMachineImage, + VirtualMachineImageResource, + VirtualMachineInstanceView, + VirtualMachineScaleSet, + VirtualMachineScaleSetDataDisk, + VirtualMachineScaleSetExtension, + VirtualMachineScaleSetExtensionProfile, + VirtualMachineScaleSetIdentity, + VirtualMachineScaleSetIdentityUserAssignedIdentitiesValue, + VirtualMachineScaleSetIPConfiguration, + VirtualMachineScaleSetIpTag, + VirtualMachineScaleSetManagedDiskParameters, + VirtualMachineScaleSetNetworkConfiguration, + VirtualMachineScaleSetNetworkConfigurationDnsSettings, + VirtualMachineScaleSetNetworkProfile, + VirtualMachineScaleSetOSDisk, + VirtualMachineScaleSetOSProfile, + VirtualMachineScaleSetPublicIPAddressConfiguration, + VirtualMachineScaleSetPublicIPAddressConfigurationDnsSettings, + VirtualMachineScaleSetStorageProfile, + VirtualMachineScaleSetUpdate, + VirtualMachineScaleSetUpdateIPConfiguration, + VirtualMachineScaleSetUpdateNetworkConfiguration, + VirtualMachineScaleSetUpdateNetworkProfile, + VirtualMachineScaleSetUpdateOSDisk, + VirtualMachineScaleSetUpdateOSProfile, + VirtualMachineScaleSetUpdatePublicIPAddressConfiguration, + VirtualMachineScaleSetUpdateStorageProfile, + VirtualMachineScaleSetUpdateVMProfile, + VirtualMachineScaleSetVM, + VirtualMachineScaleSetVMInstanceView, + VirtualMachineScaleSetVMNetworkProfileConfiguration, + VirtualMachineScaleSetVMProfile, + VirtualMachineScaleSetVMProtectionPolicy, + VirtualMachineUpdate, + WindowsConfiguration, + WinRMConfiguration, + WinRMListener +} from "../models/mappers"; diff --git a/sdk/compute/arm-compute/src/models/disksMappers.ts b/sdk/compute/arm-compute/src/models/disksMappers.ts index 95e2dfea55a3..933336b4e3d1 100644 --- a/sdk/compute/arm-compute/src/models/disksMappers.ts +++ b/sdk/compute/arm-compute/src/models/disksMappers.ts @@ -36,6 +36,13 @@ export { CreationData, DataDisk, DataDiskImage, + DedicatedHost, + DedicatedHostAllocatableVM, + DedicatedHostAvailableCapacity, + DedicatedHostGroup, + DedicatedHostGroupUpdate, + DedicatedHostInstanceView, + DedicatedHostUpdate, DiagnosticsProfile, DiffDiskSettings, Disallowed, @@ -49,7 +56,7 @@ export { EncryptionSettingsElement, Gallery, GalleryArtifactPublishingProfileBase, - GalleryArtifactSource, + GalleryArtifactVersionSource, GalleryDataDiskImage, GalleryDiskImage, GalleryIdentifier, @@ -77,7 +84,6 @@ export { KeyVaultSecretReference, LinuxConfiguration, MaintenanceRedeployStatus, - ManagedArtifact, ManagedDiskParameters, NetworkInterfaceReference, NetworkProfile, @@ -85,6 +91,8 @@ export { OSDiskImage, OSProfile, Plan, + ProximityPlacementGroup, + ProximityPlacementGroupUpdate, PurchasePlan, RecommendedMachineConfiguration, RegionalReplicationStatus, @@ -95,6 +103,7 @@ export { RollingUpgradeProgressInfo, RollingUpgradeRunningStatus, RollingUpgradeStatusInfo, + ScheduledEventsProfile, Sku, Snapshot, SnapshotSku, @@ -105,6 +114,7 @@ export { SubResource, SubResourceReadOnly, TargetRegion, + TerminateNotificationProfile, UpdateResource, UpgradePolicy, VaultCertificate, diff --git a/sdk/compute/arm-compute/src/models/galleriesMappers.ts b/sdk/compute/arm-compute/src/models/galleriesMappers.ts index 4687700e7133..e6dfd400aa99 100644 --- a/sdk/compute/arm-compute/src/models/galleriesMappers.ts +++ b/sdk/compute/arm-compute/src/models/galleriesMappers.ts @@ -35,6 +35,13 @@ export { CreationData, DataDisk, DataDiskImage, + DedicatedHost, + DedicatedHostAllocatableVM, + DedicatedHostAvailableCapacity, + DedicatedHostGroup, + DedicatedHostGroupUpdate, + DedicatedHostInstanceView, + DedicatedHostUpdate, DiagnosticsProfile, DiffDiskSettings, Disallowed, @@ -46,7 +53,7 @@ export { EncryptionSettingsElement, Gallery, GalleryArtifactPublishingProfileBase, - GalleryArtifactSource, + GalleryArtifactVersionSource, GalleryDataDiskImage, GalleryDiskImage, GalleryIdentifier, @@ -74,7 +81,6 @@ export { KeyVaultSecretReference, LinuxConfiguration, MaintenanceRedeployStatus, - ManagedArtifact, ManagedDiskParameters, NetworkInterfaceReference, NetworkProfile, @@ -82,6 +88,8 @@ export { OSDiskImage, OSProfile, Plan, + ProximityPlacementGroup, + ProximityPlacementGroupUpdate, PurchasePlan, RecommendedMachineConfiguration, RegionalReplicationStatus, @@ -92,6 +100,7 @@ export { RollingUpgradeProgressInfo, RollingUpgradeRunningStatus, RollingUpgradeStatusInfo, + ScheduledEventsProfile, Sku, Snapshot, SnapshotSku, @@ -102,6 +111,7 @@ export { SubResource, SubResourceReadOnly, TargetRegion, + TerminateNotificationProfile, UpdateResource, UpgradePolicy, VaultCertificate, diff --git a/sdk/compute/arm-compute/src/models/galleryImageVersionsMappers.ts b/sdk/compute/arm-compute/src/models/galleryImageVersionsMappers.ts index 49635438d1f8..bf2fcfd9c4e1 100644 --- a/sdk/compute/arm-compute/src/models/galleryImageVersionsMappers.ts +++ b/sdk/compute/arm-compute/src/models/galleryImageVersionsMappers.ts @@ -35,6 +35,13 @@ export { CreationData, DataDisk, DataDiskImage, + DedicatedHost, + DedicatedHostAllocatableVM, + DedicatedHostAvailableCapacity, + DedicatedHostGroup, + DedicatedHostGroupUpdate, + DedicatedHostInstanceView, + DedicatedHostUpdate, DiagnosticsProfile, DiffDiskSettings, Disallowed, @@ -46,7 +53,7 @@ export { EncryptionSettingsElement, Gallery, GalleryArtifactPublishingProfileBase, - GalleryArtifactSource, + GalleryArtifactVersionSource, GalleryDataDiskImage, GalleryDiskImage, GalleryIdentifier, @@ -74,7 +81,6 @@ export { KeyVaultSecretReference, LinuxConfiguration, MaintenanceRedeployStatus, - ManagedArtifact, ManagedDiskParameters, NetworkInterfaceReference, NetworkProfile, @@ -82,6 +88,8 @@ export { OSDiskImage, OSProfile, Plan, + ProximityPlacementGroup, + ProximityPlacementGroupUpdate, PurchasePlan, RecommendedMachineConfiguration, RegionalReplicationStatus, @@ -92,6 +100,7 @@ export { RollingUpgradeProgressInfo, RollingUpgradeRunningStatus, RollingUpgradeStatusInfo, + ScheduledEventsProfile, Sku, Snapshot, SnapshotSku, @@ -102,6 +111,7 @@ export { SubResource, SubResourceReadOnly, TargetRegion, + TerminateNotificationProfile, UpdateResource, UpgradePolicy, VaultCertificate, diff --git a/sdk/compute/arm-compute/src/models/galleryImagesMappers.ts b/sdk/compute/arm-compute/src/models/galleryImagesMappers.ts index 3d94ca5fa3a2..74a0f94af187 100644 --- a/sdk/compute/arm-compute/src/models/galleryImagesMappers.ts +++ b/sdk/compute/arm-compute/src/models/galleryImagesMappers.ts @@ -35,6 +35,13 @@ export { CreationData, DataDisk, DataDiskImage, + DedicatedHost, + DedicatedHostAllocatableVM, + DedicatedHostAvailableCapacity, + DedicatedHostGroup, + DedicatedHostGroupUpdate, + DedicatedHostInstanceView, + DedicatedHostUpdate, DiagnosticsProfile, DiffDiskSettings, Disallowed, @@ -46,7 +53,7 @@ export { EncryptionSettingsElement, Gallery, GalleryArtifactPublishingProfileBase, - GalleryArtifactSource, + GalleryArtifactVersionSource, GalleryDataDiskImage, GalleryDiskImage, GalleryIdentifier, @@ -74,7 +81,6 @@ export { KeyVaultSecretReference, LinuxConfiguration, MaintenanceRedeployStatus, - ManagedArtifact, ManagedDiskParameters, NetworkInterfaceReference, NetworkProfile, @@ -82,6 +88,8 @@ export { OSDiskImage, OSProfile, Plan, + ProximityPlacementGroup, + ProximityPlacementGroupUpdate, PurchasePlan, RecommendedMachineConfiguration, RegionalReplicationStatus, @@ -92,6 +100,7 @@ export { RollingUpgradeProgressInfo, RollingUpgradeRunningStatus, RollingUpgradeStatusInfo, + ScheduledEventsProfile, Sku, Snapshot, SnapshotSku, @@ -102,6 +111,7 @@ export { SubResource, SubResourceReadOnly, TargetRegion, + TerminateNotificationProfile, UpdateResource, UpgradePolicy, VaultCertificate, diff --git a/sdk/compute/arm-compute/src/models/imagesMappers.ts b/sdk/compute/arm-compute/src/models/imagesMappers.ts index 9d476228fb50..49af9be82511 100644 --- a/sdk/compute/arm-compute/src/models/imagesMappers.ts +++ b/sdk/compute/arm-compute/src/models/imagesMappers.ts @@ -35,6 +35,13 @@ export { CreationData, DataDisk, DataDiskImage, + DedicatedHost, + DedicatedHostAllocatableVM, + DedicatedHostAvailableCapacity, + DedicatedHostGroup, + DedicatedHostGroupUpdate, + DedicatedHostInstanceView, + DedicatedHostUpdate, DiagnosticsProfile, DiffDiskSettings, Disallowed, @@ -46,7 +53,7 @@ export { EncryptionSettingsElement, Gallery, GalleryArtifactPublishingProfileBase, - GalleryArtifactSource, + GalleryArtifactVersionSource, GalleryDataDiskImage, GalleryDiskImage, GalleryIdentifier, @@ -74,7 +81,6 @@ export { KeyVaultSecretReference, LinuxConfiguration, MaintenanceRedeployStatus, - ManagedArtifact, ManagedDiskParameters, NetworkInterfaceReference, NetworkProfile, @@ -82,6 +88,8 @@ export { OSDiskImage, OSProfile, Plan, + ProximityPlacementGroup, + ProximityPlacementGroupUpdate, PurchasePlan, RecommendedMachineConfiguration, RegionalReplicationStatus, @@ -92,6 +100,7 @@ export { RollingUpgradeProgressInfo, RollingUpgradeRunningStatus, RollingUpgradeStatusInfo, + ScheduledEventsProfile, Sku, Snapshot, SnapshotSku, @@ -102,6 +111,7 @@ export { SubResource, SubResourceReadOnly, TargetRegion, + TerminateNotificationProfile, UpdateResource, UpgradePolicy, VaultCertificate, diff --git a/sdk/compute/arm-compute/src/models/index.ts b/sdk/compute/arm-compute/src/models/index.ts index ab37a5df853a..68d208b7ba58 100644 --- a/sdk/compute/arm-compute/src/models/index.ts +++ b/sdk/compute/arm-compute/src/models/index.ts @@ -156,6 +156,11 @@ export interface AvailabilitySet extends Resource { * A list of references to all virtual machines in the availability set. */ virtualMachines?: SubResource[]; + /** + * Specifies information about the proximity placement group that the availability set should be + * assigned to.

Minimum api-version: 2018-04-01. + */ + proximityPlacementGroup?: SubResource; /** * The resource status information. * **NOTE: This property will not be serialized. It can only be populated by the server.** @@ -196,6 +201,11 @@ export interface AvailabilitySetUpdate extends UpdateResource { * A list of references to all virtual machines in the availability set. */ virtualMachines?: SubResource[]; + /** + * Specifies information about the proximity placement group that the availability set should be + * assigned to.

Minimum api-version: 2018-04-01. + */ + proximityPlacementGroup?: SubResource; /** * The resource status information. * **NOTE: This property will not be serialized. It can only be populated by the server.** @@ -207,6 +217,241 @@ export interface AvailabilitySetUpdate extends UpdateResource { sku?: Sku; } +/** + * Specifies information about the proximity placement group. + */ +export interface ProximityPlacementGroup extends Resource { + /** + * Specifies the type of the proximity placement group.

Possible values are:

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

+ * **Ultra** : For future use. Possible values include: 'Standard', 'Ultra' + */ + proximityPlacementGroupType?: ProximityPlacementGroupType; + /** + * A list of references to all virtual machines in the proximity placement group. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly virtualMachines?: SubResource[]; + /** + * A list of references to all virtual machine scale sets in the proximity placement group. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly virtualMachineScaleSets?: SubResource[]; + /** + * A list of references to all availability sets in the proximity placement group. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly availabilitySets?: SubResource[]; +} + +/** + * Specifies information about the proximity placement group. + */ +export interface ProximityPlacementGroupUpdate extends UpdateResource { +} + +/** + * An interface representing SubResourceReadOnly. + */ +export interface SubResourceReadOnly extends BaseResource { + /** + * Resource Id + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly id?: string; +} + +/** + * Specifies information about the dedicated host group that the dedicated hosts should be assigned + * to.

Currently, a dedicated host can only be added to a dedicated host group at creation + * time. An existing dedicated host cannot be added to another dedicated host group. + */ +export interface DedicatedHostGroup extends Resource { + /** + * Number of fault domains that the host group can span. + */ + platformFaultDomainCount: number; + /** + * A list of references to all dedicated hosts in the dedicated host group. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly hosts?: SubResourceReadOnly[]; + /** + * Availability Zone to use for this host group. Only single zone is supported. The zone can be + * assigned only during creation. If not provided, the group supports all zones in the region. If + * provided, enforces each host in the group to be in the same zone. + */ + zones?: string[]; +} + +/** + * Specifies information about the dedicated host group that the dedicated host should be assigned + * to. Only tags may be updated. + */ +export interface DedicatedHostGroupUpdate extends UpdateResource { + /** + * Number of fault domains that the host group can span. + */ + platformFaultDomainCount: number; + /** + * A list of references to all dedicated hosts in the dedicated host group. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly hosts?: SubResourceReadOnly[]; + /** + * Availability Zone to use for this host group. Only single zone is supported. The zone can be + * assigned only during creation. If not provided, the group supports all zones in the region. If + * provided, enforces each host in the group to be in the same zone. + */ + zones?: string[]; +} + +/** + * Represents the dedicated host unutilized capacity in terms of a specific VM size. + */ +export interface DedicatedHostAllocatableVM { + /** + * VM size in terms of which the unutilized capacity is represented. + */ + vmSize?: string; + /** + * Maximum number of VMs of size vmSize that can fit in the dedicated host's remaining capacity. + */ + count?: number; +} + +/** + * Dedicated host unutilized capacity. + */ +export interface DedicatedHostAvailableCapacity { + /** + * The unutilized capacity of the dedicated host represented in terms of each VM size that is + * allowed to be deployed to the dedicated host. + */ + allocatableVMs?: DedicatedHostAllocatableVM[]; +} + +/** + * The instance view of a dedicated host. + */ +export interface DedicatedHostInstanceView { + /** + * Specifies the unique id of the dedicated physical machine on which the dedicated host resides. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly assetId?: string; + /** + * Unutilized capacity of the dedicated host. + */ + availableCapacity?: DedicatedHostAvailableCapacity; + /** + * The resource status information. + */ + statuses?: InstanceViewStatus[]; +} + +/** + * Specifies information about the Dedicated host. + */ +export interface DedicatedHost extends Resource { + /** + * Fault domain of the dedicated host within a dedicated host group. + */ + platformFaultDomain?: number; + /** + * Specifies whether the dedicated host should be replaced automatically in case of a failure. + * The value is defaulted to 'true' when not provided. + */ + autoReplaceOnFailure?: boolean; + /** + * A unique id generated and assigned to the dedicated host by the platform.

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

Possible values are:

**None**

**Windows_Server_Hybrid** + *

**Windows_Server_Perpetual**

Default: **None**. Possible values include: + * 'None', 'Windows_Server_Hybrid', 'Windows_Server_Perpetual' + */ + licenseType?: DedicatedHostLicenseTypes; + /** + * The date when the host was first provisioned. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly provisioningTime?: Date; + /** + * The provisioning state, which only appears in the response. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly provisioningState?: string; + /** + * The dedicated host instance view. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly instanceView?: DedicatedHostInstanceView; + /** + * SKU of the dedicated host for Hardware Generation and VM family. Only name is required to be + * set. List Microsoft.Compute SKUs for a list of possible values. + */ + sku: Sku; +} + +/** + * Specifies information about the dedicated host. Only tags, autoReplaceOnFailure and licenseType + * may be updated. + */ +export interface DedicatedHostUpdate extends UpdateResource { + /** + * Fault domain of the dedicated host within a dedicated host group. + */ + platformFaultDomain?: number; + /** + * Specifies whether the dedicated host should be replaced automatically in case of a failure. + * The value is defaulted to 'true' when not provided. + */ + autoReplaceOnFailure?: boolean; + /** + * A unique id generated and assigned to the dedicated host by the platform.

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

Possible values are:

**None**

**Windows_Server_Hybrid** + *

**Windows_Server_Perpetual**

Default: **None**. Possible values include: + * 'None', 'Windows_Server_Hybrid', 'Windows_Server_Perpetual' + */ + licenseType?: DedicatedHostLicenseTypes; + /** + * The date when the host was first provisioned. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly provisioningTime?: Date; + /** + * The provisioning state, which only appears in the response. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly provisioningState?: string; + /** + * The dedicated host instance view. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly instanceView?: DedicatedHostInstanceView; +} + /** * Describes the properties of a VM size. */ @@ -505,7 +750,8 @@ export interface Usage { */ export interface VirtualMachineReimageParameters { /** - * Specifies whether to reimage temp disk. Default value: false. + * Specifies whether to reimage temp disk. Default value: false. Note: This temp disk reimage + * parameter is only supported for VM/VMSS with Ephemeral OS disk. */ tempDisk?: boolean; } @@ -863,6 +1109,11 @@ export interface DataDisk { * The managed disk parameters. */ managedDisk?: ManagedDiskParameters; + /** + * Specifies whether the data disk is in process of detachment from the + * VirtualMachine/VirtualMachineScaleset + */ + toBeDetached?: boolean; } /** @@ -974,7 +1225,9 @@ export interface WindowsConfiguration { */ provisionVMAgent?: boolean; /** - * Indicates whether virtual machine is enabled for automatic updates. + * Indicates whether Automatic Updates is enabled for the Windows virtual machine. Default value + * is true.

For virtual machine scale sets, this property can be updated and updates + * will take effect on OS reprovisioning. */ enableAutomaticUpdates?: boolean; /** @@ -1390,6 +1643,11 @@ export interface VirtualMachineInstanceView { * The version of Operating System running on the virtual machine. */ osVersion?: string; + /** + * Specifies the HyperVGeneration Type associated with a resource. Possible values include: 'V1', + * 'V2' + */ + hyperVGeneration?: HyperVGenerationType; /** * The Remote desktop certificate thumbprint. */ @@ -1471,6 +1729,16 @@ export interface VirtualMachine extends Resource { * VM cannot be added to an availability set. */ availabilitySet?: SubResource; + /** + * Specifies information about the proximity placement group that the virtual machine should be + * assigned to.

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

Minimum api-version: 2018-10-01. + */ + host?: SubResource; /** * The provisioning state, which only appears in the response. * **NOTE: This property will not be serialized. It can only be populated by the server.** @@ -1561,6 +1829,16 @@ export interface VirtualMachineUpdate extends UpdateResource { * VM cannot be added to an availability set. */ availabilitySet?: SubResource; + /** + * Specifies information about the proximity placement group that the virtual machine should be + * assigned to.

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

Minimum api-version: 2018-10-01. + */ + host?: SubResource; /** * The provisioning state, which only appears in the response. * **NOTE: This property will not be serialized. It can only be populated by the server.** @@ -1602,8 +1880,11 @@ export interface VirtualMachineUpdate extends UpdateResource { */ export interface AutomaticOSUpgradePolicy { /** - * Whether OS upgrades should automatically be applied to scale set instances in a rolling - * fashion when a newer version of the image becomes available. Default value is false. + * Indicates whether OS upgrades should automatically be applied to scale set instances in a + * rolling fashion when a newer version of the OS image becomes available. Default value is + * false.

If this is set to true for Windows based scale sets, + * [enableAutomaticUpdates](https://docs.microsoft.com/dotnet/api/microsoft.azure.management.compute.models.windowsconfiguration.enableautomaticupdates?view=azure-dotnet) + * is automatically set to false and cannot be set to true. */ enableAutomaticOSUpgrade?: boolean; /** @@ -1794,6 +2075,11 @@ export interface Image extends Resource { * **NOTE: This property will not be serialized. It can only be populated by the server.** */ readonly provisioningState?: string; + /** + * Gets the HyperVGenerationType of the VirtualMachine created from the image. Possible values + * include: 'V1', 'V2' + */ + hyperVGeneration?: HyperVGenerationTypes; } /** @@ -1813,6 +2099,11 @@ export interface ImageUpdate extends UpdateResource { * **NOTE: This property will not be serialized. It can only be populated by the server.** */ readonly provisioningState?: string; + /** + * Gets the HyperVGenerationType of the VirtualMachine created from the image. Possible values + * include: 'V1', 'V2' + */ + hyperVGeneration?: HyperVGenerationTypes; } /** @@ -2420,17 +2711,6 @@ export interface VirtualMachineScaleSetUpdateNetworkProfile { networkInterfaceConfigurations?: VirtualMachineScaleSetUpdateNetworkConfiguration[]; } -/** - * An interface representing SubResourceReadOnly. - */ -export interface SubResourceReadOnly extends BaseResource { - /** - * Resource Id - * **NOTE: This property will not be serialized. It can only be populated by the server.** - */ - readonly id?: string; -} - /** * Describes a Virtual Machine Scale Set Extension. */ @@ -2492,6 +2772,32 @@ export interface VirtualMachineScaleSetExtensionProfile { extensions?: VirtualMachineScaleSetExtension[]; } +/** + * An interface representing TerminateNotificationProfile. + */ +export interface TerminateNotificationProfile { + /** + * Configurable length of time a Virtual Machine being deleted will have to potentially approve + * the Terminate Scheduled Event before the event is auto approved (timed out). The configuration + * must be specified in ISO 8601 format, the default value is 5 minutes (PT5M) + */ + notBeforeTimeout?: string; + /** + * Specifies whether the Terminate Scheduled event is enabled or disabled. + */ + enable?: boolean; +} + +/** + * An interface representing ScheduledEventsProfile. + */ +export interface ScheduledEventsProfile { + /** + * Specifies Terminate Scheduled Event related configurations. + */ + terminateNotificationProfile?: TerminateNotificationProfile; +} + /** * Describes a virtual machine scale set virtual machine profile. */ @@ -2504,12 +2810,6 @@ export interface VirtualMachineScaleSetVMProfile { * Specifies the storage settings for the virtual machine disks. */ storageProfile?: VirtualMachineScaleSetStorageProfile; - /** - * Specifies additional capabilities enabled or disabled on the virtual machine in the scale set. - * For instance: whether the virtual machine has the capability to support attaching managed data - * disks with UltraSSD_LRS storage account type. - */ - additionalCapabilities?: AdditionalCapabilities; /** * Specifies properties of the network interfaces of the virtual machines in the scale set. */ @@ -2544,6 +2844,10 @@ export interface VirtualMachineScaleSetVMProfile { * 'Delete' */ evictionPolicy?: VirtualMachineEvictionPolicyTypes; + /** + * Specifies Scheduled Event related configurations. + */ + scheduledEventsProfile?: ScheduledEventsProfile; } /** @@ -2574,6 +2878,10 @@ export interface VirtualMachineScaleSetUpdateVMProfile { * The license type, which is for bring your own license scenario. */ licenseType?: string; + /** + * Specifies Scheduled Event related configurations. + */ + scheduledEventsProfile?: ScheduledEventsProfile; } /** @@ -2634,6 +2942,17 @@ export interface VirtualMachineScaleSet extends Resource { * Fault Domain count for each placement group. */ platformFaultDomainCount?: number; + /** + * Specifies information about the proximity placement group that the virtual machine scale set + * should be assigned to.

Minimum api-version: 2018-04-01. + */ + proximityPlacementGroup?: SubResource; + /** + * Specifies additional capabilities enabled or disabled on the Virtual Machines in the Virtual + * Machine Scale Set. For instance: whether the Virtual Machines have the capability to support + * attaching managed data disks with UltraSSD_LRS storage account type. + */ + additionalCapabilities?: AdditionalCapabilities; /** * The identity of the virtual machine scale set, if configured. */ @@ -2691,6 +3010,12 @@ export interface VirtualMachineScaleSetUpdate extends UpdateResource { * machines. */ singlePlacementGroup?: boolean; + /** + * Specifies additional capabilities enabled or disabled on the Virtual Machines in the Virtual + * Machine Scale Set. For instance: whether the Virtual Machines have the capability to support + * attaching managed data disks with UltraSSD_LRS storage account type. + */ + additionalCapabilities?: AdditionalCapabilities; /** * The identity of the virtual machine scale set, if configured. */ @@ -3540,6 +3865,22 @@ export interface ResourceSkuCapabilities { readonly value?: string; } +/** + * Describes The zonal capabilities of a SKU. + */ +export interface ResourceSkuZoneDetails { + /** + * The set of zones that the SKU is available in with the specified capabilities. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly name?: string[]; + /** + * A list of capabilities that are available for the SKU in the specified list of zones. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly capabilities?: ResourceSkuCapabilities[]; +} + /** * An interface representing ResourceSkuRestrictionInfo. */ @@ -3597,6 +3938,11 @@ export interface ResourceSkuLocationInfo { * **NOTE: This property will not be serialized. It can only be populated by the server.** */ readonly zones?: string[]; + /** + * Details of capabilities available to a SKU in specific zones. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly zoneDetails?: ResourceSkuZoneDetails[]; } /** @@ -4151,10 +4497,15 @@ export interface GalleryImage extends Resource { */ osType: OperatingSystemTypes; /** - * The allowed values for OS State are 'Generalized'. Possible values include: 'Generalized', - * 'Specialized' + * This property allows the user to specify whether the virtual machines created under this image + * are 'Generalized' or 'Specialized'. Possible values include: 'Generalized', 'Specialized' */ osState: OperatingSystemStateTypes; + /** + * The hypervisor generation of the Virtual Machine. Applicable to OS disks only. Possible values + * include: 'V1', 'V2' + */ + hyperVGeneration?: HyperVGeneration; /** * The end of life date of the gallery Image Definition. This property can be used for * decommissioning purposes. This property is updatable. @@ -4182,7 +4533,6 @@ export interface GalleryArtifactPublishingProfileBase { * updatable. */ targetRegions?: TargetRegion[]; - source: GalleryArtifactSource; } /** @@ -4216,6 +4566,17 @@ export interface GalleryImageVersionPublishingProfile extends GalleryArtifactPub storageAccountType?: StorageAccountType; } +/** + * The gallery artifact version source. + */ +export interface GalleryArtifactVersionSource { + /** + * The id of the gallery artifact version source. Can specify a disk uri, snapshot uri, or user + * image. + */ + id: string; +} + /** * This is the disk image base class. */ @@ -4228,9 +4589,9 @@ export interface GalleryDiskImage { /** * The host caching of the disk. Valid values are 'None', 'ReadOnly', and 'ReadWrite'. Possible * values include: 'None', 'ReadOnly', 'ReadWrite' - * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - readonly hostCaching?: HostCaching; + hostCaching?: HostCaching; + source?: GalleryArtifactVersionSource; } /** @@ -4247,24 +4608,20 @@ export interface GalleryDataDiskImage extends GalleryDiskImage { * This property specifies the logical unit number of the data disk. This value is used to * identify data disks within the Virtual Machine and therefore must be unique for each data disk * attached to the Virtual Machine. - * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - readonly lun?: number; + lun: number; } /** - * This is the storage profile of a gallery Image Version. + * This is the storage profile of a Gallery Image Version. */ export interface GalleryImageVersionStorageProfile { - /** - * **NOTE: This property will not be serialized. It can only be populated by the server.** - */ - readonly osDiskImage?: GalleryOSDiskImage; + source?: GalleryArtifactVersionSource; + osDiskImage?: GalleryOSDiskImage; /** * A list of data disk images. - * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - readonly dataDiskImages?: GalleryDataDiskImage[]; + dataDiskImages?: GalleryDataDiskImage[]; } /** @@ -4315,7 +4672,7 @@ export interface ReplicationStatus { * Specifies information about the gallery Image Version that you want to create or update. */ export interface GalleryImageVersion extends Resource { - publishingProfile: GalleryImageVersionPublishingProfile; + publishingProfile?: GalleryImageVersionPublishingProfile; /** * The current state of the gallery Image Version. The provisioning state, which only appears in * the response. Possible values include: 'Creating', 'Updating', 'Failed', 'Succeeded', @@ -4323,10 +4680,7 @@ export interface GalleryImageVersion extends Resource { * **NOTE: This property will not be serialized. It can only be populated by the server.** */ readonly provisioningState?: ProvisioningState2; - /** - * **NOTE: This property will not be serialized. It can only be populated by the server.** - */ - readonly storageProfile?: GalleryImageVersionStorageProfile; + storageProfile: GalleryImageVersionStorageProfile; /** * **NOTE: This property will not be serialized. It can only be populated by the server.** */ @@ -4353,23 +4707,6 @@ export interface TargetRegion { storageAccountType?: StorageAccountType; } -/** - * The managed artifact. - */ -export interface ManagedArtifact { - /** - * The managed artifact id. - */ - id: string; -} - -/** - * The source image from which the Image Version is going to be created. - */ -export interface GalleryArtifactSource { - managedImage: ManagedArtifact; -} - /** * Properties to configure a custom container service cluster. */ @@ -4583,9 +4920,19 @@ export interface ContainerService extends Resource { /** * Optional Parameters. */ -export interface VirtualMachineExtensionImagesListVersionsOptionalParams extends msRest.RequestOptionsBase { +export interface DedicatedHostsGetOptionalParams extends msRest.RequestOptionsBase { /** - * The filter to apply on the operation. + * The expand expression to apply on the operation. Possible values include: 'instanceView' + */ + expand?: InstanceViewTypes; +} + +/** + * Optional Parameters. + */ +export interface VirtualMachineExtensionImagesListVersionsOptionalParams extends msRest.RequestOptionsBase { + /** + * The filter to apply on the operation. */ filter?: string; top?: number; @@ -4880,6 +5227,16 @@ export interface VirtualMachineScaleSetVMsReimageOptionalParams extends msRest.R vmScaleSetVMReimageInput?: VirtualMachineScaleSetVMReimageParameters; } +/** + * Optional Parameters. + */ +export interface VirtualMachineScaleSetVMsGetOptionalParams extends msRest.RequestOptionsBase { + /** + * The expand expression to apply on the operation. Possible values include: 'instanceView' + */ + expand?: InstanceViewTypes; +} + /** * Optional Parameters. */ @@ -4978,6 +5335,44 @@ export interface AvailabilitySetListResult extends Array { export interface VirtualMachineSizeListResult extends Array { } +/** + * @interface + * The List Proximity Placement Group operation response. + * @extends Array + */ +export interface ProximityPlacementGroupListResult extends Array { + /** + * The URI to fetch the next page of proximity placement groups. + */ + nextLink?: string; +} + +/** + * @interface + * The List Dedicated Host Group with resource group response. + * @extends Array + */ +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; +} + +/** + * @interface + * The list dedicated host operation response. + * @extends Array + */ +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; +} + /** * @interface * The List Usages operation response. @@ -5110,13 +5505,13 @@ export interface RunCommandListResult extends Array { /** * @interface - * The Compute List Skus operation response. + * The List Resource Skus operation response. * @extends Array */ export interface ResourceSkusResult extends Array { /** - * The uri to fetch the next page of Compute Skus. Call ListNext() with this to fetch the next - * page of VMSS Skus. + * 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; } @@ -5198,6 +5593,14 @@ export interface ContainerServiceListResult extends Array { nextLink?: string; } +/** + * Defines values for HyperVGenerationTypes. + * Possible values include: 'V1', 'V2' + * @readonly + * @enum {string} + */ +export type HyperVGenerationTypes = 'V1' | 'V2'; + /** * Defines values for StatusLevelTypes. * Possible values include: 'Info', 'Warning', 'Error' @@ -5214,6 +5617,22 @@ export type StatusLevelTypes = 'Info' | 'Warning' | 'Error'; */ export type AvailabilitySetSkuTypes = 'Classic' | 'Aligned'; +/** + * Defines values for ProximityPlacementGroupType. + * Possible values include: 'Standard', 'Ultra' + * @readonly + * @enum {string} + */ +export type ProximityPlacementGroupType = 'Standard' | 'Ultra'; + +/** + * 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 OperatingSystemTypes. * Possible values include: 'Windows', 'Linux' @@ -5344,6 +5763,14 @@ export type ResourceIdentityType = 'SystemAssigned' | 'UserAssigned' | 'SystemAs */ 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 UpgradeMode. * Possible values include: 'Automatic', 'Manual', 'Rolling' @@ -5781,6 +6208,426 @@ export type AvailabilitySetsListNextResponse = 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 get operation. */ diff --git a/sdk/compute/arm-compute/src/models/mappers.ts b/sdk/compute/arm-compute/src/models/mappers.ts index 76794d65e587..903dfadb24a7 100644 --- a/sdk/compute/arm-compute/src/models/mappers.ts +++ b/sdk/compute/arm-compute/src/models/mappers.ts @@ -233,6 +233,13 @@ export const AvailabilitySet: msRest.CompositeMapper = { } } }, + proximityPlacementGroup: { + serializedName: "properties.proximityPlacementGroup", + type: { + name: "Composite", + className: "SubResource" + } + }, statuses: { readOnly: true, serializedName: "properties.statuses", @@ -309,6 +316,13 @@ export const AvailabilitySetUpdate: msRest.CompositeMapper = { } } }, + proximityPlacementGroup: { + serializedName: "properties.proximityPlacementGroup", + type: { + name: "Composite", + className: "SubResource" + } + }, statuses: { readOnly: true, serializedName: "properties.statuses", @@ -333,6 +347,430 @@ export const AvailabilitySetUpdate: msRest.CompositeMapper = { } }; +export const ProximityPlacementGroup: msRest.CompositeMapper = { + serializedName: "ProximityPlacementGroup", + type: { + name: "Composite", + className: "ProximityPlacementGroup", + modelProperties: { + ...Resource.type.modelProperties, + proximityPlacementGroupType: { + serializedName: "properties.proximityPlacementGroupType", + type: { + name: "String" + } + }, + virtualMachines: { + readOnly: true, + serializedName: "properties.virtualMachines", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "SubResource" + } + } + } + }, + virtualMachineScaleSets: { + readOnly: true, + serializedName: "properties.virtualMachineScaleSets", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "SubResource" + } + } + } + }, + availabilitySets: { + readOnly: true, + serializedName: "properties.availabilitySets", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "SubResource" + } + } + } + } + } + } +}; + +export const ProximityPlacementGroupUpdate: msRest.CompositeMapper = { + serializedName: "ProximityPlacementGroupUpdate", + type: { + name: "Composite", + className: "ProximityPlacementGroupUpdate", + modelProperties: { + ...UpdateResource.type.modelProperties + } + } +}; + +export const SubResourceReadOnly: msRest.CompositeMapper = { + serializedName: "SubResourceReadOnly", + type: { + name: "Composite", + className: "SubResourceReadOnly", + modelProperties: { + id: { + readOnly: true, + serializedName: "id", + type: { + name: "String" + } + } + } + } +}; + +export const DedicatedHostGroup: msRest.CompositeMapper = { + serializedName: "DedicatedHostGroup", + type: { + name: "Composite", + className: "DedicatedHostGroup", + modelProperties: { + ...Resource.type.modelProperties, + platformFaultDomainCount: { + required: true, + serializedName: "properties.platformFaultDomainCount", + constraints: { + InclusiveMaximum: 3, + InclusiveMinimum: 1 + }, + type: { + name: "Number" + } + }, + hosts: { + readOnly: true, + serializedName: "properties.hosts", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "SubResourceReadOnly" + } + } + } + }, + zones: { + serializedName: "zones", + type: { + name: "Sequence", + element: { + type: { + name: "String" + } + } + } + } + } + } +}; + +export const DedicatedHostGroupUpdate: msRest.CompositeMapper = { + serializedName: "DedicatedHostGroupUpdate", + type: { + name: "Composite", + className: "DedicatedHostGroupUpdate", + modelProperties: { + ...UpdateResource.type.modelProperties, + platformFaultDomainCount: { + required: true, + serializedName: "properties.platformFaultDomainCount", + constraints: { + InclusiveMaximum: 3, + InclusiveMinimum: 1 + }, + type: { + name: "Number" + } + }, + hosts: { + readOnly: true, + serializedName: "properties.hosts", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "SubResourceReadOnly" + } + } + } + }, + zones: { + serializedName: "zones", + type: { + name: "Sequence", + element: { + type: { + name: "String" + } + } + } + } + } + } +}; + +export const DedicatedHostAllocatableVM: msRest.CompositeMapper = { + serializedName: "DedicatedHostAllocatableVM", + type: { + name: "Composite", + className: "DedicatedHostAllocatableVM", + modelProperties: { + vmSize: { + serializedName: "vmSize", + type: { + name: "String" + } + }, + count: { + serializedName: "count", + type: { + name: "Number" + } + } + } + } +}; + +export const DedicatedHostAvailableCapacity: msRest.CompositeMapper = { + serializedName: "DedicatedHostAvailableCapacity", + type: { + name: "Composite", + className: "DedicatedHostAvailableCapacity", + modelProperties: { + allocatableVMs: { + serializedName: "allocatableVMs", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "DedicatedHostAllocatableVM" + } + } + } + } + } + } +}; + +export const DedicatedHostInstanceView: msRest.CompositeMapper = { + serializedName: "DedicatedHostInstanceView", + type: { + name: "Composite", + className: "DedicatedHostInstanceView", + modelProperties: { + assetId: { + readOnly: true, + serializedName: "assetId", + type: { + name: "String" + } + }, + availableCapacity: { + serializedName: "availableCapacity", + type: { + name: "Composite", + className: "DedicatedHostAvailableCapacity" + } + }, + statuses: { + serializedName: "statuses", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "InstanceViewStatus" + } + } + } + } + } + } +}; + +export const DedicatedHost: msRest.CompositeMapper = { + serializedName: "DedicatedHost", + type: { + name: "Composite", + className: "DedicatedHost", + modelProperties: { + ...Resource.type.modelProperties, + platformFaultDomain: { + serializedName: "properties.platformFaultDomain", + constraints: { + InclusiveMaximum: 2, + InclusiveMinimum: 0 + }, + type: { + name: "Number" + } + }, + autoReplaceOnFailure: { + serializedName: "properties.autoReplaceOnFailure", + type: { + name: "Boolean" + } + }, + hostId: { + readOnly: true, + serializedName: "properties.hostId", + type: { + name: "String" + } + }, + virtualMachines: { + readOnly: true, + serializedName: "properties.virtualMachines", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "SubResourceReadOnly" + } + } + } + }, + licenseType: { + serializedName: "properties.licenseType", + type: { + name: "Enum", + allowedValues: [ + "None", + "Windows_Server_Hybrid", + "Windows_Server_Perpetual" + ] + } + }, + provisioningTime: { + readOnly: true, + serializedName: "properties.provisioningTime", + type: { + name: "DateTime" + } + }, + provisioningState: { + readOnly: true, + serializedName: "properties.provisioningState", + type: { + name: "String" + } + }, + instanceView: { + readOnly: true, + serializedName: "properties.instanceView", + type: { + name: "Composite", + className: "DedicatedHostInstanceView" + } + }, + sku: { + required: true, + serializedName: "sku", + type: { + name: "Composite", + className: "Sku" + } + } + } + } +}; + +export const DedicatedHostUpdate: msRest.CompositeMapper = { + serializedName: "DedicatedHostUpdate", + type: { + name: "Composite", + className: "DedicatedHostUpdate", + modelProperties: { + ...UpdateResource.type.modelProperties, + platformFaultDomain: { + serializedName: "properties.platformFaultDomain", + constraints: { + InclusiveMaximum: 2, + InclusiveMinimum: 0 + }, + type: { + name: "Number" + } + }, + autoReplaceOnFailure: { + serializedName: "properties.autoReplaceOnFailure", + type: { + name: "Boolean" + } + }, + hostId: { + readOnly: true, + serializedName: "properties.hostId", + type: { + name: "String" + } + }, + virtualMachines: { + readOnly: true, + serializedName: "properties.virtualMachines", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "SubResourceReadOnly" + } + } + } + }, + licenseType: { + serializedName: "properties.licenseType", + type: { + name: "Enum", + allowedValues: [ + "None", + "Windows_Server_Hybrid", + "Windows_Server_Perpetual" + ] + } + }, + provisioningTime: { + readOnly: true, + serializedName: "properties.provisioningTime", + type: { + name: "DateTime" + } + }, + provisioningState: { + readOnly: true, + serializedName: "properties.provisioningState", + type: { + name: "String" + } + }, + instanceView: { + readOnly: true, + serializedName: "properties.instanceView", + type: { + name: "Composite", + className: "DedicatedHostInstanceView" + } + } + } + } +}; + export const VirtualMachineSize: msRest.CompositeMapper = { serializedName: "VirtualMachineSize", type: { @@ -1311,6 +1749,12 @@ export const DataDisk: msRest.CompositeMapper = { name: "Composite", className: "ManagedDiskParameters" } + }, + toBeDetached: { + serializedName: "toBeDetached", + type: { + name: "Boolean" + } } } } @@ -2082,6 +2526,12 @@ export const VirtualMachineInstanceView: msRest.CompositeMapper = { name: "String" } }, + hyperVGeneration: { + serializedName: "hyperVGeneration", + type: { + name: "String" + } + }, rdpThumbPrint: { serializedName: "rdpThumbPrint", type: { @@ -2212,6 +2662,20 @@ export const VirtualMachine: msRest.CompositeMapper = { className: "SubResource" } }, + proximityPlacementGroup: { + serializedName: "properties.proximityPlacementGroup", + type: { + name: "Composite", + className: "SubResource" + } + }, + host: { + serializedName: "properties.host", + type: { + name: "Composite", + className: "SubResource" + } + }, provisioningState: { readOnly: true, serializedName: "properties.provisioningState", @@ -2338,6 +2802,20 @@ export const VirtualMachineUpdate: msRest.CompositeMapper = { className: "SubResource" } }, + proximityPlacementGroup: { + serializedName: "properties.proximityPlacementGroup", + type: { + name: "Composite", + className: "SubResource" + } + }, + host: { + serializedName: "properties.host", + type: { + name: "Composite", + className: "SubResource" + } + }, provisioningState: { readOnly: true, serializedName: "properties.provisioningState", @@ -2688,6 +3166,12 @@ export const Image: msRest.CompositeMapper = { type: { name: "String" } + }, + hyperVGeneration: { + serializedName: "properties.hyperVGeneration", + type: { + name: "String" + } } } } @@ -2720,6 +3204,12 @@ export const ImageUpdate: msRest.CompositeMapper = { type: { name: "String" } + }, + hyperVGeneration: { + serializedName: "properties.hyperVGeneration", + type: { + name: "String" + } } } } @@ -3692,30 +4182,13 @@ export const VirtualMachineScaleSetUpdateNetworkProfile: msRest.CompositeMapper networkInterfaceConfigurations: { serializedName: "networkInterfaceConfigurations", type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "VirtualMachineScaleSetUpdateNetworkConfiguration" - } - } - } - } - } - } -}; - -export const SubResourceReadOnly: msRest.CompositeMapper = { - serializedName: "SubResourceReadOnly", - type: { - name: "Composite", - className: "SubResourceReadOnly", - modelProperties: { - id: { - readOnly: true, - serializedName: "id", - type: { - name: "String" + name: "Sequence", + element: { + type: { + name: "Composite", + className: "VirtualMachineScaleSetUpdateNetworkConfiguration" + } + } } } } @@ -3821,6 +4294,45 @@ export const VirtualMachineScaleSetExtensionProfile: msRest.CompositeMapper = { } }; +export const TerminateNotificationProfile: msRest.CompositeMapper = { + serializedName: "TerminateNotificationProfile", + type: { + name: "Composite", + className: "TerminateNotificationProfile", + modelProperties: { + notBeforeTimeout: { + serializedName: "notBeforeTimeout", + type: { + name: "String" + } + }, + enable: { + serializedName: "enable", + type: { + name: "Boolean" + } + } + } + } +}; + +export const ScheduledEventsProfile: msRest.CompositeMapper = { + serializedName: "ScheduledEventsProfile", + type: { + name: "Composite", + className: "ScheduledEventsProfile", + modelProperties: { + terminateNotificationProfile: { + serializedName: "terminateNotificationProfile", + type: { + name: "Composite", + className: "TerminateNotificationProfile" + } + } + } + } +}; + export const VirtualMachineScaleSetVMProfile: msRest.CompositeMapper = { serializedName: "VirtualMachineScaleSetVMProfile", type: { @@ -3841,13 +4353,6 @@ export const VirtualMachineScaleSetVMProfile: msRest.CompositeMapper = { className: "VirtualMachineScaleSetStorageProfile" } }, - additionalCapabilities: { - serializedName: "additionalCapabilities", - type: { - name: "Composite", - className: "AdditionalCapabilities" - } - }, networkProfile: { serializedName: "networkProfile", type: { @@ -3886,6 +4391,13 @@ export const VirtualMachineScaleSetVMProfile: msRest.CompositeMapper = { type: { name: "String" } + }, + scheduledEventsProfile: { + serializedName: "scheduledEventsProfile", + type: { + name: "Composite", + className: "ScheduledEventsProfile" + } } } } @@ -3937,6 +4449,13 @@ export const VirtualMachineScaleSetUpdateVMProfile: msRest.CompositeMapper = { type: { name: "String" } + }, + scheduledEventsProfile: { + serializedName: "scheduledEventsProfile", + type: { + name: "Composite", + className: "ScheduledEventsProfile" + } } } } @@ -4021,6 +4540,20 @@ export const VirtualMachineScaleSet: msRest.CompositeMapper = { name: "Number" } }, + proximityPlacementGroup: { + serializedName: "properties.proximityPlacementGroup", + type: { + name: "Composite", + className: "SubResource" + } + }, + additionalCapabilities: { + serializedName: "properties.additionalCapabilities", + type: { + name: "Composite", + className: "AdditionalCapabilities" + } + }, identity: { serializedName: "identity", type: { @@ -4123,6 +4656,13 @@ export const VirtualMachineScaleSetUpdate: msRest.CompositeMapper = { name: "Boolean" } }, + additionalCapabilities: { + serializedName: "properties.additionalCapabilities", + type: { + name: "Composite", + className: "AdditionalCapabilities" + } + }, identity: { serializedName: "identity", type: { @@ -5549,6 +6089,41 @@ export const ResourceSkuCapabilities: msRest.CompositeMapper = { } }; +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: { @@ -5659,6 +6234,19 @@ export const ResourceSkuLocationInfo: msRest.CompositeMapper = { } } } + }, + zoneDetails: { + readOnly: true, + serializedName: "zoneDetails", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "ResourceSkuZoneDetails" + } + } + } } } } @@ -6596,6 +7184,12 @@ export const GalleryImage: msRest.CompositeMapper = { ] } }, + hyperVGeneration: { + serializedName: "properties.hyperVGeneration", + type: { + name: "String" + } + }, endOfLifeDate: { serializedName: "properties.endOfLifeDate", type: { @@ -6659,14 +7253,6 @@ export const GalleryArtifactPublishingProfileBase: msRest.CompositeMapper = { } } } - }, - source: { - required: true, - serializedName: "source", - type: { - name: "Composite", - className: "GalleryArtifactSource" - } } } } @@ -6714,6 +7300,23 @@ export const GalleryImageVersionPublishingProfile: msRest.CompositeMapper = { } }; +export const GalleryArtifactVersionSource: msRest.CompositeMapper = { + serializedName: "GalleryArtifactVersionSource", + type: { + name: "Composite", + className: "GalleryArtifactVersionSource", + modelProperties: { + id: { + required: true, + serializedName: "id", + type: { + name: "String" + } + } + } + } +}; + export const GalleryDiskImage: msRest.CompositeMapper = { serializedName: "GalleryDiskImage", type: { @@ -6728,7 +7331,6 @@ export const GalleryDiskImage: msRest.CompositeMapper = { } }, hostCaching: { - readOnly: true, serializedName: "hostCaching", type: { name: "Enum", @@ -6738,6 +7340,13 @@ export const GalleryDiskImage: msRest.CompositeMapper = { "ReadWrite" ] } + }, + source: { + serializedName: "source", + type: { + name: "Composite", + className: "GalleryArtifactVersionSource" + } } } } @@ -6762,7 +7371,7 @@ export const GalleryDataDiskImage: msRest.CompositeMapper = { modelProperties: { ...GalleryDiskImage.type.modelProperties, lun: { - readOnly: true, + required: true, serializedName: "lun", type: { name: "Number" @@ -6778,8 +7387,14 @@ export const GalleryImageVersionStorageProfile: msRest.CompositeMapper = { name: "Composite", className: "GalleryImageVersionStorageProfile", modelProperties: { + source: { + serializedName: "source", + type: { + name: "Composite", + className: "GalleryArtifactVersionSource" + } + }, osDiskImage: { - readOnly: true, serializedName: "osDiskImage", type: { name: "Composite", @@ -6787,7 +7402,6 @@ export const GalleryImageVersionStorageProfile: msRest.CompositeMapper = { } }, dataDiskImages: { - readOnly: true, serializedName: "dataDiskImages", type: { name: "Sequence", @@ -6879,7 +7493,6 @@ export const GalleryImageVersion: msRest.CompositeMapper = { modelProperties: { ...Resource.type.modelProperties, publishingProfile: { - required: true, serializedName: "properties.publishingProfile", type: { name: "Composite", @@ -6894,7 +7507,7 @@ export const GalleryImageVersion: msRest.CompositeMapper = { } }, storageProfile: { - readOnly: true, + required: true, serializedName: "properties.storageProfile", type: { name: "Composite", @@ -6942,41 +7555,6 @@ export const TargetRegion: msRest.CompositeMapper = { } }; -export const ManagedArtifact: msRest.CompositeMapper = { - serializedName: "ManagedArtifact", - type: { - name: "Composite", - className: "ManagedArtifact", - modelProperties: { - id: { - required: true, - serializedName: "id", - type: { - name: "String" - } - } - } - } -}; - -export const GalleryArtifactSource: msRest.CompositeMapper = { - serializedName: "GalleryArtifactSource", - type: { - name: "Composite", - className: "GalleryArtifactSource", - modelProperties: { - managedImage: { - required: true, - serializedName: "managedImage", - type: { - name: "Composite", - className: "ManagedArtifact" - } - } - } - } -}; - export const ContainerServiceCustomProfile: msRest.CompositeMapper = { serializedName: "ContainerServiceCustomProfile", type: { @@ -7418,6 +7996,93 @@ export const VirtualMachineSizeListResult: msRest.CompositeMapper = { } }; +export const ProximityPlacementGroupListResult: msRest.CompositeMapper = { + serializedName: "ProximityPlacementGroupListResult", + type: { + name: "Composite", + className: "ProximityPlacementGroupListResult", + modelProperties: { + value: { + required: true, + serializedName: "", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "ProximityPlacementGroup" + } + } + } + }, + nextLink: { + serializedName: "nextLink", + type: { + name: "String" + } + } + } + } +}; + +export const DedicatedHostGroupListResult: msRest.CompositeMapper = { + serializedName: "DedicatedHostGroupListResult", + type: { + name: "Composite", + className: "DedicatedHostGroupListResult", + modelProperties: { + value: { + required: true, + serializedName: "", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "DedicatedHostGroup" + } + } + } + }, + nextLink: { + serializedName: "nextLink", + type: { + name: "String" + } + } + } + } +}; + +export const DedicatedHostListResult: msRest.CompositeMapper = { + serializedName: "DedicatedHostListResult", + type: { + name: "Composite", + className: "DedicatedHostListResult", + modelProperties: { + value: { + required: true, + serializedName: "", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "DedicatedHost" + } + } + } + }, + nextLink: { + serializedName: "nextLink", + type: { + name: "String" + } + } + } + } +}; + export const ListUsagesResult: msRest.CompositeMapper = { serializedName: "ListUsagesResult", type: { diff --git a/sdk/compute/arm-compute/src/models/parameters.ts b/sdk/compute/arm-compute/src/models/parameters.ts index 157b4c501e48..5f55768a4e3d 100644 --- a/sdk/compute/arm-compute/src/models/parameters.ts +++ b/sdk/compute/arm-compute/src/models/parameters.ts @@ -38,7 +38,7 @@ export const apiVersion1: msRest.OperationQueryParameter = { required: true, isConstant: true, serializedName: "api-version", - defaultValue: '2017-09-01', + defaultValue: '2019-04-01', type: { name: "String" } @@ -57,6 +57,18 @@ export const apiVersion2: msRest.OperationQueryParameter = { } }; export const apiVersion3: msRest.OperationQueryParameter = { + parameterPath: "apiVersion", + mapper: { + required: true, + isConstant: true, + serializedName: "api-version", + defaultValue: '2019-07-01', + type: { + name: "String" + } + } +}; +export const apiVersion4: msRest.OperationQueryParameter = { parameterPath: "apiVersion", mapper: { required: true, @@ -116,7 +128,10 @@ export const expand0: msRest.OperationQueryParameter = { mapper: { serializedName: "$expand", type: { - name: "String" + name: "Enum", + allowedValues: [ + "instanceView" + ] } } }; @@ -128,10 +143,7 @@ export const expand1: msRest.OperationQueryParameter = { mapper: { serializedName: "$expand", type: { - name: "Enum", - allowedValues: [ - "instanceView" - ] + name: "String" } } }; @@ -177,6 +189,26 @@ export const galleryName: msRest.OperationURLParameter = { } } }; +export const hostGroupName: msRest.OperationURLParameter = { + parameterPath: "hostGroupName", + mapper: { + required: true, + serializedName: "hostGroupName", + type: { + name: "String" + } + } +}; +export const hostName: msRest.OperationURLParameter = { + parameterPath: "hostName", + mapper: { + required: true, + serializedName: "hostName", + type: { + name: "String" + } + } +}; export const imageName: msRest.OperationURLParameter = { parameterPath: "imageName", mapper: { @@ -263,6 +295,16 @@ export const platformUpdateDomain: msRest.OperationQueryParameter = { } } }; +export const proximityPlacementGroupName: msRest.OperationURLParameter = { + parameterPath: "proximityPlacementGroupName", + mapper: { + required: true, + serializedName: "proximityPlacementGroupName", + type: { + name: "String" + } + } +}; export const publisherName: msRest.OperationURLParameter = { parameterPath: "publisherName", mapper: { diff --git a/sdk/compute/arm-compute/src/models/proximityPlacementGroupsMappers.ts b/sdk/compute/arm-compute/src/models/proximityPlacementGroupsMappers.ts new file mode 100644 index 000000000000..45468164fc11 --- /dev/null +++ b/sdk/compute/arm-compute/src/models/proximityPlacementGroupsMappers.ts @@ -0,0 +1,169 @@ +/* + * Copyright (c) Microsoft Corporation. All rights reserved. + * Licensed under the MIT License. See License.txt in the project root for license information. + * + * 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, + AvailabilitySet, + AvailabilitySetUpdate, + BaseResource, + BootDiagnostics, + BootDiagnosticsInstanceView, + CloudError, + ContainerService, + ContainerServiceAgentPoolProfile, + ContainerServiceCustomProfile, + ContainerServiceDiagnosticsProfile, + ContainerServiceLinuxProfile, + ContainerServiceMasterProfile, + ContainerServiceOrchestratorProfile, + ContainerServiceServicePrincipalProfile, + ContainerServiceSshConfiguration, + ContainerServiceSshPublicKey, + ContainerServiceVMDiagnostics, + ContainerServiceWindowsProfile, + CreationData, + DataDisk, + DataDiskImage, + DedicatedHost, + DedicatedHostAllocatableVM, + DedicatedHostAvailableCapacity, + DedicatedHostGroup, + DedicatedHostGroupUpdate, + DedicatedHostInstanceView, + DedicatedHostUpdate, + DiagnosticsProfile, + DiffDiskSettings, + Disallowed, + Disk, + DiskEncryptionSettings, + DiskInstanceView, + DiskSku, + EncryptionSettingsCollection, + EncryptionSettingsElement, + Gallery, + GalleryArtifactPublishingProfileBase, + GalleryArtifactVersionSource, + GalleryDataDiskImage, + GalleryDiskImage, + GalleryIdentifier, + GalleryImage, + GalleryImageIdentifier, + GalleryImageVersion, + GalleryImageVersionPublishingProfile, + GalleryImageVersionStorageProfile, + GalleryOSDiskImage, + HardwareProfile, + Image, + ImageDataDisk, + ImageDiskReference, + ImageOSDisk, + ImagePurchasePlan, + ImageReference, + ImageStorageProfile, + ImageUpdate, + InnerError, + InstanceViewStatus, + KeyVaultAndKeyReference, + KeyVaultAndSecretReference, + KeyVaultKeyReference, + KeyVaultSecretReference, + LinuxConfiguration, + MaintenanceRedeployStatus, + ManagedDiskParameters, + NetworkInterfaceReference, + NetworkProfile, + OSDisk, + OSDiskImage, + OSProfile, + Plan, + ProximityPlacementGroup, + ProximityPlacementGroupListResult, + ProximityPlacementGroupUpdate, + PurchasePlan, + RecommendedMachineConfiguration, + RegionalReplicationStatus, + ReplicationStatus, + Resource, + ResourceRange, + RollingUpgradePolicy, + RollingUpgradeProgressInfo, + RollingUpgradeRunningStatus, + RollingUpgradeStatusInfo, + ScheduledEventsProfile, + Sku, + Snapshot, + SnapshotSku, + SourceVault, + SshConfiguration, + SshPublicKey, + StorageProfile, + SubResource, + SubResourceReadOnly, + TargetRegion, + TerminateNotificationProfile, + UpdateResource, + UpgradePolicy, + VaultCertificate, + VaultSecretGroup, + VirtualHardDisk, + VirtualMachine, + VirtualMachineAgentInstanceView, + VirtualMachineCaptureResult, + VirtualMachineExtension, + VirtualMachineExtensionHandlerInstanceView, + VirtualMachineExtensionImage, + VirtualMachineExtensionInstanceView, + VirtualMachineExtensionUpdate, + VirtualMachineHealthStatus, + VirtualMachineIdentity, + VirtualMachineIdentityUserAssignedIdentitiesValue, + VirtualMachineImage, + VirtualMachineImageResource, + VirtualMachineInstanceView, + VirtualMachineScaleSet, + VirtualMachineScaleSetDataDisk, + VirtualMachineScaleSetExtension, + VirtualMachineScaleSetExtensionProfile, + VirtualMachineScaleSetIdentity, + VirtualMachineScaleSetIdentityUserAssignedIdentitiesValue, + VirtualMachineScaleSetIPConfiguration, + VirtualMachineScaleSetIpTag, + VirtualMachineScaleSetManagedDiskParameters, + VirtualMachineScaleSetNetworkConfiguration, + VirtualMachineScaleSetNetworkConfigurationDnsSettings, + VirtualMachineScaleSetNetworkProfile, + VirtualMachineScaleSetOSDisk, + VirtualMachineScaleSetOSProfile, + VirtualMachineScaleSetPublicIPAddressConfiguration, + VirtualMachineScaleSetPublicIPAddressConfigurationDnsSettings, + VirtualMachineScaleSetStorageProfile, + VirtualMachineScaleSetUpdate, + VirtualMachineScaleSetUpdateIPConfiguration, + VirtualMachineScaleSetUpdateNetworkConfiguration, + VirtualMachineScaleSetUpdateNetworkProfile, + VirtualMachineScaleSetUpdateOSDisk, + VirtualMachineScaleSetUpdateOSProfile, + VirtualMachineScaleSetUpdatePublicIPAddressConfiguration, + VirtualMachineScaleSetUpdateStorageProfile, + VirtualMachineScaleSetUpdateVMProfile, + VirtualMachineScaleSetVM, + VirtualMachineScaleSetVMInstanceView, + VirtualMachineScaleSetVMNetworkProfileConfiguration, + VirtualMachineScaleSetVMProfile, + VirtualMachineScaleSetVMProtectionPolicy, + VirtualMachineUpdate, + WindowsConfiguration, + WinRMConfiguration, + WinRMListener +} from "../models/mappers"; diff --git a/sdk/compute/arm-compute/src/models/resourceSkusMappers.ts b/sdk/compute/arm-compute/src/models/resourceSkusMappers.ts index 86ebcf340872..ff328d2b9d4d 100644 --- a/sdk/compute/arm-compute/src/models/resourceSkusMappers.ts +++ b/sdk/compute/arm-compute/src/models/resourceSkusMappers.ts @@ -15,5 +15,6 @@ export { ResourceSkuLocationInfo, ResourceSkuRestrictionInfo, ResourceSkuRestrictions, - ResourceSkusResult + ResourceSkusResult, + ResourceSkuZoneDetails } from "../models/mappers"; diff --git a/sdk/compute/arm-compute/src/models/snapshotsMappers.ts b/sdk/compute/arm-compute/src/models/snapshotsMappers.ts index 77370b79c1d6..846f4b996f67 100644 --- a/sdk/compute/arm-compute/src/models/snapshotsMappers.ts +++ b/sdk/compute/arm-compute/src/models/snapshotsMappers.ts @@ -36,6 +36,13 @@ export { CreationData, DataDisk, DataDiskImage, + DedicatedHost, + DedicatedHostAllocatableVM, + DedicatedHostAvailableCapacity, + DedicatedHostGroup, + DedicatedHostGroupUpdate, + DedicatedHostInstanceView, + DedicatedHostUpdate, DiagnosticsProfile, DiffDiskSettings, Disallowed, @@ -47,7 +54,7 @@ export { EncryptionSettingsElement, Gallery, GalleryArtifactPublishingProfileBase, - GalleryArtifactSource, + GalleryArtifactVersionSource, GalleryDataDiskImage, GalleryDiskImage, GalleryIdentifier, @@ -75,7 +82,6 @@ export { KeyVaultSecretReference, LinuxConfiguration, MaintenanceRedeployStatus, - ManagedArtifact, ManagedDiskParameters, NetworkInterfaceReference, NetworkProfile, @@ -83,6 +89,8 @@ export { OSDiskImage, OSProfile, Plan, + ProximityPlacementGroup, + ProximityPlacementGroupUpdate, PurchasePlan, RecommendedMachineConfiguration, RegionalReplicationStatus, @@ -93,6 +101,7 @@ export { RollingUpgradeProgressInfo, RollingUpgradeRunningStatus, RollingUpgradeStatusInfo, + ScheduledEventsProfile, Sku, Snapshot, SnapshotList, @@ -105,6 +114,7 @@ export { SubResource, SubResourceReadOnly, TargetRegion, + TerminateNotificationProfile, UpdateResource, UpgradePolicy, VaultCertificate, diff --git a/sdk/compute/arm-compute/src/models/virtualMachineExtensionImagesMappers.ts b/sdk/compute/arm-compute/src/models/virtualMachineExtensionImagesMappers.ts index dfab46557b41..75f71dc2bcd0 100644 --- a/sdk/compute/arm-compute/src/models/virtualMachineExtensionImagesMappers.ts +++ b/sdk/compute/arm-compute/src/models/virtualMachineExtensionImagesMappers.ts @@ -35,6 +35,13 @@ export { CreationData, DataDisk, DataDiskImage, + DedicatedHost, + DedicatedHostAllocatableVM, + DedicatedHostAvailableCapacity, + DedicatedHostGroup, + DedicatedHostGroupUpdate, + DedicatedHostInstanceView, + DedicatedHostUpdate, DiagnosticsProfile, DiffDiskSettings, Disallowed, @@ -46,7 +53,7 @@ export { EncryptionSettingsElement, Gallery, GalleryArtifactPublishingProfileBase, - GalleryArtifactSource, + GalleryArtifactVersionSource, GalleryDataDiskImage, GalleryDiskImage, GalleryIdentifier, @@ -73,7 +80,6 @@ export { KeyVaultSecretReference, LinuxConfiguration, MaintenanceRedeployStatus, - ManagedArtifact, ManagedDiskParameters, NetworkInterfaceReference, NetworkProfile, @@ -81,6 +87,8 @@ export { OSDiskImage, OSProfile, Plan, + ProximityPlacementGroup, + ProximityPlacementGroupUpdate, PurchasePlan, RecommendedMachineConfiguration, RegionalReplicationStatus, @@ -91,6 +99,7 @@ export { RollingUpgradeProgressInfo, RollingUpgradeRunningStatus, RollingUpgradeStatusInfo, + ScheduledEventsProfile, Sku, Snapshot, SnapshotSku, @@ -101,6 +110,7 @@ export { SubResource, SubResourceReadOnly, TargetRegion, + TerminateNotificationProfile, UpdateResource, UpgradePolicy, VaultCertificate, diff --git a/sdk/compute/arm-compute/src/models/virtualMachineExtensionsMappers.ts b/sdk/compute/arm-compute/src/models/virtualMachineExtensionsMappers.ts index 6d15f114c81d..5e2d34952fc3 100644 --- a/sdk/compute/arm-compute/src/models/virtualMachineExtensionsMappers.ts +++ b/sdk/compute/arm-compute/src/models/virtualMachineExtensionsMappers.ts @@ -35,6 +35,13 @@ export { CreationData, DataDisk, DataDiskImage, + DedicatedHost, + DedicatedHostAllocatableVM, + DedicatedHostAvailableCapacity, + DedicatedHostGroup, + DedicatedHostGroupUpdate, + DedicatedHostInstanceView, + DedicatedHostUpdate, DiagnosticsProfile, DiffDiskSettings, Disallowed, @@ -46,7 +53,7 @@ export { EncryptionSettingsElement, Gallery, GalleryArtifactPublishingProfileBase, - GalleryArtifactSource, + GalleryArtifactVersionSource, GalleryDataDiskImage, GalleryDiskImage, GalleryIdentifier, @@ -73,7 +80,6 @@ export { KeyVaultSecretReference, LinuxConfiguration, MaintenanceRedeployStatus, - ManagedArtifact, ManagedDiskParameters, NetworkInterfaceReference, NetworkProfile, @@ -81,6 +87,8 @@ export { OSDiskImage, OSProfile, Plan, + ProximityPlacementGroup, + ProximityPlacementGroupUpdate, PurchasePlan, RecommendedMachineConfiguration, RegionalReplicationStatus, @@ -91,6 +99,7 @@ export { RollingUpgradeProgressInfo, RollingUpgradeRunningStatus, RollingUpgradeStatusInfo, + ScheduledEventsProfile, Sku, Snapshot, SnapshotSku, @@ -101,6 +110,7 @@ export { SubResource, SubResourceReadOnly, TargetRegion, + TerminateNotificationProfile, UpdateResource, UpgradePolicy, VaultCertificate, diff --git a/sdk/compute/arm-compute/src/models/virtualMachineImagesMappers.ts b/sdk/compute/arm-compute/src/models/virtualMachineImagesMappers.ts index dfab46557b41..75f71dc2bcd0 100644 --- a/sdk/compute/arm-compute/src/models/virtualMachineImagesMappers.ts +++ b/sdk/compute/arm-compute/src/models/virtualMachineImagesMappers.ts @@ -35,6 +35,13 @@ export { CreationData, DataDisk, DataDiskImage, + DedicatedHost, + DedicatedHostAllocatableVM, + DedicatedHostAvailableCapacity, + DedicatedHostGroup, + DedicatedHostGroupUpdate, + DedicatedHostInstanceView, + DedicatedHostUpdate, DiagnosticsProfile, DiffDiskSettings, Disallowed, @@ -46,7 +53,7 @@ export { EncryptionSettingsElement, Gallery, GalleryArtifactPublishingProfileBase, - GalleryArtifactSource, + GalleryArtifactVersionSource, GalleryDataDiskImage, GalleryDiskImage, GalleryIdentifier, @@ -73,7 +80,6 @@ export { KeyVaultSecretReference, LinuxConfiguration, MaintenanceRedeployStatus, - ManagedArtifact, ManagedDiskParameters, NetworkInterfaceReference, NetworkProfile, @@ -81,6 +87,8 @@ export { OSDiskImage, OSProfile, Plan, + ProximityPlacementGroup, + ProximityPlacementGroupUpdate, PurchasePlan, RecommendedMachineConfiguration, RegionalReplicationStatus, @@ -91,6 +99,7 @@ export { RollingUpgradeProgressInfo, RollingUpgradeRunningStatus, RollingUpgradeStatusInfo, + ScheduledEventsProfile, Sku, Snapshot, SnapshotSku, @@ -101,6 +110,7 @@ export { SubResource, SubResourceReadOnly, TargetRegion, + TerminateNotificationProfile, UpdateResource, UpgradePolicy, VaultCertificate, diff --git a/sdk/compute/arm-compute/src/models/virtualMachineScaleSetExtensionsMappers.ts b/sdk/compute/arm-compute/src/models/virtualMachineScaleSetExtensionsMappers.ts index cae9dd992f90..5c9432d1bca8 100644 --- a/sdk/compute/arm-compute/src/models/virtualMachineScaleSetExtensionsMappers.ts +++ b/sdk/compute/arm-compute/src/models/virtualMachineScaleSetExtensionsMappers.ts @@ -35,6 +35,13 @@ export { CreationData, DataDisk, DataDiskImage, + DedicatedHost, + DedicatedHostAllocatableVM, + DedicatedHostAvailableCapacity, + DedicatedHostGroup, + DedicatedHostGroupUpdate, + DedicatedHostInstanceView, + DedicatedHostUpdate, DiagnosticsProfile, DiffDiskSettings, Disallowed, @@ -46,7 +53,7 @@ export { EncryptionSettingsElement, Gallery, GalleryArtifactPublishingProfileBase, - GalleryArtifactSource, + GalleryArtifactVersionSource, GalleryDataDiskImage, GalleryDiskImage, GalleryIdentifier, @@ -73,7 +80,6 @@ export { KeyVaultSecretReference, LinuxConfiguration, MaintenanceRedeployStatus, - ManagedArtifact, ManagedDiskParameters, NetworkInterfaceReference, NetworkProfile, @@ -81,6 +87,8 @@ export { OSDiskImage, OSProfile, Plan, + ProximityPlacementGroup, + ProximityPlacementGroupUpdate, PurchasePlan, RecommendedMachineConfiguration, RegionalReplicationStatus, @@ -91,6 +99,7 @@ export { RollingUpgradeProgressInfo, RollingUpgradeRunningStatus, RollingUpgradeStatusInfo, + ScheduledEventsProfile, Sku, Snapshot, SnapshotSku, @@ -101,6 +110,7 @@ export { SubResource, SubResourceReadOnly, TargetRegion, + TerminateNotificationProfile, UpdateResource, UpgradePolicy, VaultCertificate, diff --git a/sdk/compute/arm-compute/src/models/virtualMachineScaleSetRollingUpgradesMappers.ts b/sdk/compute/arm-compute/src/models/virtualMachineScaleSetRollingUpgradesMappers.ts index dfab46557b41..75f71dc2bcd0 100644 --- a/sdk/compute/arm-compute/src/models/virtualMachineScaleSetRollingUpgradesMappers.ts +++ b/sdk/compute/arm-compute/src/models/virtualMachineScaleSetRollingUpgradesMappers.ts @@ -35,6 +35,13 @@ export { CreationData, DataDisk, DataDiskImage, + DedicatedHost, + DedicatedHostAllocatableVM, + DedicatedHostAvailableCapacity, + DedicatedHostGroup, + DedicatedHostGroupUpdate, + DedicatedHostInstanceView, + DedicatedHostUpdate, DiagnosticsProfile, DiffDiskSettings, Disallowed, @@ -46,7 +53,7 @@ export { EncryptionSettingsElement, Gallery, GalleryArtifactPublishingProfileBase, - GalleryArtifactSource, + GalleryArtifactVersionSource, GalleryDataDiskImage, GalleryDiskImage, GalleryIdentifier, @@ -73,7 +80,6 @@ export { KeyVaultSecretReference, LinuxConfiguration, MaintenanceRedeployStatus, - ManagedArtifact, ManagedDiskParameters, NetworkInterfaceReference, NetworkProfile, @@ -81,6 +87,8 @@ export { OSDiskImage, OSProfile, Plan, + ProximityPlacementGroup, + ProximityPlacementGroupUpdate, PurchasePlan, RecommendedMachineConfiguration, RegionalReplicationStatus, @@ -91,6 +99,7 @@ export { RollingUpgradeProgressInfo, RollingUpgradeRunningStatus, RollingUpgradeStatusInfo, + ScheduledEventsProfile, Sku, Snapshot, SnapshotSku, @@ -101,6 +110,7 @@ export { SubResource, SubResourceReadOnly, TargetRegion, + TerminateNotificationProfile, UpdateResource, UpgradePolicy, VaultCertificate, diff --git a/sdk/compute/arm-compute/src/models/virtualMachineScaleSetVMsMappers.ts b/sdk/compute/arm-compute/src/models/virtualMachineScaleSetVMsMappers.ts index 3d8a305c5d94..e598541fa7fd 100644 --- a/sdk/compute/arm-compute/src/models/virtualMachineScaleSetVMsMappers.ts +++ b/sdk/compute/arm-compute/src/models/virtualMachineScaleSetVMsMappers.ts @@ -35,6 +35,13 @@ export { CreationData, DataDisk, DataDiskImage, + DedicatedHost, + DedicatedHostAllocatableVM, + DedicatedHostAvailableCapacity, + DedicatedHostGroup, + DedicatedHostGroupUpdate, + DedicatedHostInstanceView, + DedicatedHostUpdate, DiagnosticsProfile, DiffDiskSettings, Disallowed, @@ -46,7 +53,7 @@ export { EncryptionSettingsElement, Gallery, GalleryArtifactPublishingProfileBase, - GalleryArtifactSource, + GalleryArtifactVersionSource, GalleryDataDiskImage, GalleryDiskImage, GalleryIdentifier, @@ -73,7 +80,6 @@ export { KeyVaultSecretReference, LinuxConfiguration, MaintenanceRedeployStatus, - ManagedArtifact, ManagedDiskParameters, NetworkInterfaceReference, NetworkProfile, @@ -81,6 +87,8 @@ export { OSDiskImage, OSProfile, Plan, + ProximityPlacementGroup, + ProximityPlacementGroupUpdate, PurchasePlan, RecommendedMachineConfiguration, RegionalReplicationStatus, @@ -94,6 +102,7 @@ export { RunCommandInput, RunCommandInputParameter, RunCommandResult, + ScheduledEventsProfile, Sku, Snapshot, SnapshotSku, @@ -104,6 +113,7 @@ export { SubResource, SubResourceReadOnly, TargetRegion, + TerminateNotificationProfile, UpdateResource, UpgradePolicy, VaultCertificate, diff --git a/sdk/compute/arm-compute/src/models/virtualMachineScaleSetsMappers.ts b/sdk/compute/arm-compute/src/models/virtualMachineScaleSetsMappers.ts index 9e55ea9e679c..fb063ed15407 100644 --- a/sdk/compute/arm-compute/src/models/virtualMachineScaleSetsMappers.ts +++ b/sdk/compute/arm-compute/src/models/virtualMachineScaleSetsMappers.ts @@ -35,6 +35,13 @@ export { CreationData, DataDisk, DataDiskImage, + DedicatedHost, + DedicatedHostAllocatableVM, + DedicatedHostAvailableCapacity, + DedicatedHostGroup, + DedicatedHostGroupUpdate, + DedicatedHostInstanceView, + DedicatedHostUpdate, DiagnosticsProfile, DiffDiskSettings, Disallowed, @@ -46,7 +53,7 @@ export { EncryptionSettingsElement, Gallery, GalleryArtifactPublishingProfileBase, - GalleryArtifactSource, + GalleryArtifactVersionSource, GalleryDataDiskImage, GalleryDiskImage, GalleryIdentifier, @@ -73,7 +80,6 @@ export { KeyVaultSecretReference, LinuxConfiguration, MaintenanceRedeployStatus, - ManagedArtifact, ManagedDiskParameters, NetworkInterfaceReference, NetworkProfile, @@ -81,6 +87,8 @@ export { OSDiskImage, OSProfile, Plan, + ProximityPlacementGroup, + ProximityPlacementGroupUpdate, PurchasePlan, RecommendedMachineConfiguration, RecoveryWalkResponse, @@ -93,6 +101,7 @@ export { RollingUpgradeProgressInfo, RollingUpgradeRunningStatus, RollingUpgradeStatusInfo, + ScheduledEventsProfile, Sku, Snapshot, SnapshotSku, @@ -103,6 +112,7 @@ export { SubResource, SubResourceReadOnly, TargetRegion, + TerminateNotificationProfile, UpdateResource, UpgradeOperationHistoricalStatusInfo, UpgradeOperationHistoricalStatusInfoProperties, @@ -172,6 +182,7 @@ export { VirtualMachineScaleSetVMReimageParameters, VirtualMachineStatusCodeCount, VirtualMachineUpdate, + VMScaleSetConvertToSinglePlacementGroupInput, WindowsConfiguration, WinRMConfiguration, WinRMListener diff --git a/sdk/compute/arm-compute/src/models/virtualMachinesMappers.ts b/sdk/compute/arm-compute/src/models/virtualMachinesMappers.ts index ea80fe8b1d31..e3833cfa8045 100644 --- a/sdk/compute/arm-compute/src/models/virtualMachinesMappers.ts +++ b/sdk/compute/arm-compute/src/models/virtualMachinesMappers.ts @@ -35,6 +35,13 @@ export { CreationData, DataDisk, DataDiskImage, + DedicatedHost, + DedicatedHostAllocatableVM, + DedicatedHostAvailableCapacity, + DedicatedHostGroup, + DedicatedHostGroupUpdate, + DedicatedHostInstanceView, + DedicatedHostUpdate, DiagnosticsProfile, DiffDiskSettings, Disallowed, @@ -46,7 +53,7 @@ export { EncryptionSettingsElement, Gallery, GalleryArtifactPublishingProfileBase, - GalleryArtifactSource, + GalleryArtifactVersionSource, GalleryDataDiskImage, GalleryDiskImage, GalleryIdentifier, @@ -73,7 +80,6 @@ export { KeyVaultSecretReference, LinuxConfiguration, MaintenanceRedeployStatus, - ManagedArtifact, ManagedDiskParameters, NetworkInterfaceReference, NetworkProfile, @@ -81,6 +87,8 @@ export { OSDiskImage, OSProfile, Plan, + ProximityPlacementGroup, + ProximityPlacementGroupUpdate, PurchasePlan, RecommendedMachineConfiguration, RegionalReplicationStatus, @@ -94,6 +102,7 @@ export { RunCommandInput, RunCommandInputParameter, RunCommandResult, + ScheduledEventsProfile, Sku, Snapshot, SnapshotSku, @@ -104,6 +113,7 @@ export { SubResource, SubResourceReadOnly, TargetRegion, + TerminateNotificationProfile, UpdateResource, UpgradePolicy, VaultCertificate, diff --git a/sdk/compute/arm-compute/src/operations/containerServices.ts b/sdk/compute/arm-compute/src/operations/containerServices.ts index fb409253f04a..a0b681fc5406 100644 --- a/sdk/compute/arm-compute/src/operations/containerServices.ts +++ b/sdk/compute/arm-compute/src/operations/containerServices.ts @@ -274,7 +274,7 @@ const listOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion3 + Parameters.apiVersion4 ], headerParameters: [ Parameters.acceptLanguage @@ -299,7 +299,7 @@ const getOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion3 + Parameters.apiVersion4 ], headerParameters: [ Parameters.acceptLanguage @@ -323,7 +323,7 @@ const listByResourceGroupOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion3 + Parameters.apiVersion4 ], headerParameters: [ Parameters.acceptLanguage @@ -348,7 +348,7 @@ const beginCreateOrUpdateOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion3 + Parameters.apiVersion4 ], headerParameters: [ Parameters.acceptLanguage @@ -386,7 +386,7 @@ const beginDeleteMethodOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion3 + 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 new file mode 100644 index 000000000000..bfbb911ad51a --- /dev/null +++ b/sdk/compute/arm-compute/src/operations/dedicatedHostGroups.ts @@ -0,0 +1,484 @@ +/* + * Copyright (c) Microsoft Corporation. All rights reserved. + * Licensed under the MIT License. See License.txt in the project root for + * license information. + * + * 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/dedicatedHostGroupsMappers"; +import * as Parameters from "../models/parameters"; +import { ComputeManagementClientContext } from "../computeManagementClientContext"; + +/** Class representing a DedicatedHostGroups. */ +export class DedicatedHostGroups { + private readonly client: ComputeManagementClientContext; + + /** + * Create a DedicatedHostGroups. + * @param {ComputeManagementClientContext} client Reference to the service client. + */ + constructor(client: ComputeManagementClientContext) { + this.client = client; + } + + /** + * Create or update a dedicated host group. For details of Dedicated Host and Dedicated Host Groups + * please see [Dedicated Host Documentation] (https://go.microsoft.com/fwlink/?linkid=2082596) + * @param resourceGroupName The name of the resource group. + * @param hostGroupName The name of the dedicated host group. + * @param parameters Parameters supplied to the Create Dedicated Host Group. + * @param [options] The optional parameters + * @returns Promise + */ + createOrUpdate(resourceGroupName: string, hostGroupName: string, parameters: Models.DedicatedHostGroup, options?: msRest.RequestOptionsBase): Promise; + /** + * @param resourceGroupName The name of the resource group. + * @param hostGroupName The name of the dedicated host group. + * @param parameters Parameters supplied to the Create Dedicated Host Group. + * @param callback The callback + */ + createOrUpdate(resourceGroupName: string, hostGroupName: string, parameters: Models.DedicatedHostGroup, callback: msRest.ServiceCallback): void; + /** + * @param resourceGroupName The name of the resource group. + * @param hostGroupName The name of the dedicated host group. + * @param parameters Parameters supplied to the Create Dedicated Host Group. + * @param options The optional parameters + * @param callback The callback + */ + createOrUpdate(resourceGroupName: string, hostGroupName: string, parameters: Models.DedicatedHostGroup, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + createOrUpdate(resourceGroupName: string, hostGroupName: string, parameters: Models.DedicatedHostGroup, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + resourceGroupName, + hostGroupName, + parameters, + options + }, + createOrUpdateOperationSpec, + callback) as Promise; + } + + /** + * Update an dedicated host group. + * @param resourceGroupName The name of the resource group. + * @param hostGroupName The name of the dedicated host group. + * @param parameters Parameters supplied to the Update Dedicated Host Group operation. + * @param [options] The optional parameters + * @returns Promise + */ + update(resourceGroupName: string, hostGroupName: string, parameters: Models.DedicatedHostGroupUpdate, options?: msRest.RequestOptionsBase): Promise; + /** + * @param resourceGroupName The name of the resource group. + * @param hostGroupName The name of the dedicated host group. + * @param parameters Parameters supplied to the Update Dedicated Host Group operation. + * @param callback The callback + */ + update(resourceGroupName: string, hostGroupName: string, parameters: Models.DedicatedHostGroupUpdate, callback: msRest.ServiceCallback): void; + /** + * @param resourceGroupName The name of the resource group. + * @param hostGroupName The name of the dedicated host group. + * @param parameters Parameters supplied to the Update Dedicated Host Group operation. + * @param options The optional parameters + * @param callback The callback + */ + update(resourceGroupName: string, hostGroupName: string, parameters: Models.DedicatedHostGroupUpdate, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + update(resourceGroupName: string, hostGroupName: string, parameters: Models.DedicatedHostGroupUpdate, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + resourceGroupName, + hostGroupName, + parameters, + options + }, + updateOperationSpec, + callback) as Promise; + } + + /** + * Delete a dedicated host group. + * @param resourceGroupName The name of the resource group. + * @param hostGroupName The name of the dedicated host group. + * @param [options] The optional parameters + * @returns Promise + */ + deleteMethod(resourceGroupName: string, hostGroupName: string, options?: msRest.RequestOptionsBase): Promise; + /** + * @param resourceGroupName The name of the resource group. + * @param hostGroupName The name of the dedicated host group. + * @param callback The callback + */ + deleteMethod(resourceGroupName: string, hostGroupName: string, callback: msRest.ServiceCallback): void; + /** + * @param resourceGroupName The name of the resource group. + * @param hostGroupName The name of the dedicated host group. + * @param options The optional parameters + * @param callback The callback + */ + deleteMethod(resourceGroupName: string, hostGroupName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + deleteMethod(resourceGroupName: string, hostGroupName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + resourceGroupName, + hostGroupName, + options + }, + deleteMethodOperationSpec, + callback); + } + + /** + * Retrieves information about a dedicated host group. + * @param resourceGroupName The name of the resource group. + * @param hostGroupName The name of the dedicated host group. + * @param [options] The optional parameters + * @returns Promise + */ + get(resourceGroupName: string, hostGroupName: string, options?: msRest.RequestOptionsBase): Promise; + /** + * @param resourceGroupName The name of the resource group. + * @param hostGroupName The name of the dedicated host group. + * @param callback The callback + */ + get(resourceGroupName: string, hostGroupName: string, callback: msRest.ServiceCallback): void; + /** + * @param resourceGroupName The name of the resource group. + * @param hostGroupName The name of the dedicated host group. + * @param options The optional parameters + * @param callback The callback + */ + get(resourceGroupName: string, hostGroupName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + get(resourceGroupName: string, hostGroupName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + resourceGroupName, + hostGroupName, + options + }, + getOperationSpec, + callback) as Promise; + } + + /** + * Lists all of the dedicated host groups in the specified resource group. Use the nextLink + * property in the response to get the next page of dedicated host groups. + * @param resourceGroupName The name of the resource group. + * @param [options] The optional parameters + * @returns Promise + */ + listByResourceGroup(resourceGroupName: string, options?: msRest.RequestOptionsBase): Promise; + /** + * @param resourceGroupName The name of the resource group. + * @param callback The callback + */ + listByResourceGroup(resourceGroupName: string, callback: msRest.ServiceCallback): void; + /** + * @param resourceGroupName The name of the resource group. + * @param options The optional parameters + * @param callback The callback + */ + listByResourceGroup(resourceGroupName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + listByResourceGroup(resourceGroupName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + resourceGroupName, + options + }, + listByResourceGroupOperationSpec, + callback) as Promise; + } + + /** + * Lists all of the dedicated host groups in the subscription. Use the nextLink property in the + * response to get the next page of dedicated host groups. + * @param [options] The optional parameters + * @returns Promise + */ + listBySubscription(options?: msRest.RequestOptionsBase): Promise; + /** + * @param callback The callback + */ + listBySubscription(callback: msRest.ServiceCallback): void; + /** + * @param options The optional parameters + * @param callback The callback + */ + listBySubscription(options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + listBySubscription(options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + options + }, + listBySubscriptionOperationSpec, + callback) as Promise; + } + + /** + * Lists all of the dedicated host groups in the specified resource group. Use the nextLink + * property in the response to get the next page of dedicated host groups. + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @param [options] The optional parameters + * @returns Promise + */ + listByResourceGroupNext(nextPageLink: string, options?: msRest.RequestOptionsBase): Promise; + /** + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @param callback The callback + */ + listByResourceGroupNext(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 + */ + listByResourceGroupNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + listByResourceGroupNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + nextPageLink, + options + }, + listByResourceGroupNextOperationSpec, + callback) as Promise; + } + + /** + * Lists all of the dedicated host groups in the subscription. Use the nextLink property in the + * response to get the next page of dedicated host groups. + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @param [options] The optional parameters + * @returns Promise + */ + listBySubscriptionNext(nextPageLink: string, options?: msRest.RequestOptionsBase): Promise; + /** + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @param callback The callback + */ + listBySubscriptionNext(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 + */ + listBySubscriptionNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + listBySubscriptionNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + nextPageLink, + options + }, + listBySubscriptionNextOperationSpec, + callback) as Promise; + } +} + +// Operation Specifications +const serializer = new msRest.Serializer(Mappers); +const createOrUpdateOperationSpec: msRest.OperationSpec = { + httpMethod: "PUT", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/hostGroups/{hostGroupName}", + urlParameters: [ + Parameters.resourceGroupName, + Parameters.hostGroupName, + Parameters.subscriptionId + ], + queryParameters: [ + Parameters.apiVersion0 + ], + headerParameters: [ + Parameters.acceptLanguage + ], + requestBody: { + parameterPath: "parameters", + mapper: { + ...Mappers.DedicatedHostGroup, + required: true + } + }, + responses: { + 200: { + bodyMapper: Mappers.DedicatedHostGroup + }, + 201: { + bodyMapper: Mappers.DedicatedHostGroup + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + +const updateOperationSpec: msRest.OperationSpec = { + httpMethod: "PATCH", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/hostGroups/{hostGroupName}", + urlParameters: [ + Parameters.resourceGroupName, + Parameters.hostGroupName, + Parameters.subscriptionId + ], + queryParameters: [ + Parameters.apiVersion0 + ], + headerParameters: [ + Parameters.acceptLanguage + ], + requestBody: { + parameterPath: "parameters", + mapper: { + ...Mappers.DedicatedHostGroupUpdate, + required: true + } + }, + responses: { + 200: { + bodyMapper: Mappers.DedicatedHostGroup + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + +const deleteMethodOperationSpec: msRest.OperationSpec = { + httpMethod: "DELETE", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/hostGroups/{hostGroupName}", + urlParameters: [ + Parameters.resourceGroupName, + Parameters.hostGroupName, + Parameters.subscriptionId + ], + queryParameters: [ + Parameters.apiVersion0 + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: {}, + 204: {}, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + +const getOperationSpec: msRest.OperationSpec = { + httpMethod: "GET", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/hostGroups/{hostGroupName}", + urlParameters: [ + Parameters.resourceGroupName, + Parameters.hostGroupName, + Parameters.subscriptionId + ], + queryParameters: [ + Parameters.apiVersion0 + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: { + bodyMapper: Mappers.DedicatedHostGroup + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + +const listByResourceGroupOperationSpec: msRest.OperationSpec = { + httpMethod: "GET", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/hostGroups", + urlParameters: [ + Parameters.resourceGroupName, + Parameters.subscriptionId + ], + queryParameters: [ + Parameters.apiVersion0 + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: { + bodyMapper: Mappers.DedicatedHostGroupListResult + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + +const listBySubscriptionOperationSpec: msRest.OperationSpec = { + httpMethod: "GET", + path: "subscriptions/{subscriptionId}/providers/Microsoft.Compute/hostGroups", + urlParameters: [ + Parameters.subscriptionId + ], + queryParameters: [ + Parameters.apiVersion0 + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: { + bodyMapper: Mappers.DedicatedHostGroupListResult + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + +const listByResourceGroupNextOperationSpec: msRest.OperationSpec = { + httpMethod: "GET", + baseUrl: "https://management.azure.com", + path: "{nextLink}", + urlParameters: [ + Parameters.nextPageLink + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: { + bodyMapper: Mappers.DedicatedHostGroupListResult + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + +const listBySubscriptionNextOperationSpec: msRest.OperationSpec = { + httpMethod: "GET", + baseUrl: "https://management.azure.com", + path: "{nextLink}", + urlParameters: [ + Parameters.nextPageLink + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: { + bodyMapper: Mappers.DedicatedHostGroupListResult + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; diff --git a/sdk/compute/arm-compute/src/operations/dedicatedHosts.ts b/sdk/compute/arm-compute/src/operations/dedicatedHosts.ts new file mode 100644 index 000000000000..6f4b69dee8c4 --- /dev/null +++ b/sdk/compute/arm-compute/src/operations/dedicatedHosts.ts @@ -0,0 +1,402 @@ +/* + * Copyright (c) Microsoft Corporation. All rights reserved. + * Licensed under the MIT License. See License.txt in the project root for + * license information. + * + * 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/dedicatedHostsMappers"; +import * as Parameters from "../models/parameters"; +import { ComputeManagementClientContext } from "../computeManagementClientContext"; + +/** Class representing a DedicatedHosts. */ +export class DedicatedHosts { + private readonly client: ComputeManagementClientContext; + + /** + * Create a DedicatedHosts. + * @param {ComputeManagementClientContext} client Reference to the service client. + */ + constructor(client: ComputeManagementClientContext) { + this.client = client; + } + + /** + * Create or update a dedicated host . + * @param resourceGroupName The name of the resource group. + * @param hostGroupName The name of the dedicated host group. + * @param hostName The name of the dedicated host . + * @param parameters Parameters supplied to the Create Dedicated Host. + * @param [options] The optional parameters + * @returns Promise + */ + createOrUpdate(resourceGroupName: string, hostGroupName: string, hostName: string, parameters: Models.DedicatedHost, options?: msRest.RequestOptionsBase): Promise { + return this.beginCreateOrUpdate(resourceGroupName,hostGroupName,hostName,parameters,options) + .then(lroPoller => lroPoller.pollUntilFinished()) as Promise; + } + + /** + * Update an dedicated host . + * @param resourceGroupName The name of the resource group. + * @param hostGroupName The name of the dedicated host group. + * @param hostName The name of the dedicated host . + * @param parameters Parameters supplied to the Update Dedicated Host operation. + * @param [options] The optional parameters + * @returns Promise + */ + update(resourceGroupName: string, hostGroupName: string, hostName: string, parameters: Models.DedicatedHostUpdate, options?: msRest.RequestOptionsBase): Promise { + return this.beginUpdate(resourceGroupName,hostGroupName,hostName,parameters,options) + .then(lroPoller => lroPoller.pollUntilFinished()) as Promise; + } + + /** + * Delete a dedicated host. + * @param resourceGroupName The name of the resource group. + * @param hostGroupName The name of the dedicated host group. + * @param hostName The name of the dedicated host. + * @param [options] The optional parameters + * @returns Promise + */ + deleteMethod(resourceGroupName: string, hostGroupName: string, hostName: string, options?: msRest.RequestOptionsBase): Promise { + return this.beginDeleteMethod(resourceGroupName,hostGroupName,hostName,options) + .then(lroPoller => lroPoller.pollUntilFinished()); + } + + /** + * Retrieves information about a dedicated host. + * @param resourceGroupName The name of the resource group. + * @param hostGroupName The name of the dedicated host group. + * @param hostName The name of the dedicated host. + * @param [options] The optional parameters + * @returns Promise + */ + get(resourceGroupName: string, hostGroupName: string, hostName: string, options?: Models.DedicatedHostsGetOptionalParams): Promise; + /** + * @param resourceGroupName The name of the resource group. + * @param hostGroupName The name of the dedicated host group. + * @param hostName The name of the dedicated host. + * @param callback The callback + */ + get(resourceGroupName: string, hostGroupName: string, hostName: string, callback: msRest.ServiceCallback): void; + /** + * @param resourceGroupName The name of the resource group. + * @param hostGroupName The name of the dedicated host group. + * @param hostName The name of the dedicated host. + * @param options The optional parameters + * @param callback The callback + */ + get(resourceGroupName: string, hostGroupName: string, hostName: string, options: Models.DedicatedHostsGetOptionalParams, callback: msRest.ServiceCallback): void; + get(resourceGroupName: string, hostGroupName: string, hostName: string, options?: Models.DedicatedHostsGetOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + resourceGroupName, + hostGroupName, + hostName, + options + }, + getOperationSpec, + callback) as Promise; + } + + /** + * Lists all of the dedicated hosts in the specified dedicated host group. Use the nextLink + * property in the response to get the next page of dedicated hosts. + * @param resourceGroupName The name of the resource group. + * @param hostGroupName The name of the dedicated host group. + * @param [options] The optional parameters + * @returns Promise + */ + listByHostGroup(resourceGroupName: string, hostGroupName: string, options?: msRest.RequestOptionsBase): Promise; + /** + * @param resourceGroupName The name of the resource group. + * @param hostGroupName The name of the dedicated host group. + * @param callback The callback + */ + listByHostGroup(resourceGroupName: string, hostGroupName: string, callback: msRest.ServiceCallback): void; + /** + * @param resourceGroupName The name of the resource group. + * @param hostGroupName The name of the dedicated host group. + * @param options The optional parameters + * @param callback The callback + */ + listByHostGroup(resourceGroupName: string, hostGroupName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + listByHostGroup(resourceGroupName: string, hostGroupName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + resourceGroupName, + hostGroupName, + options + }, + listByHostGroupOperationSpec, + callback) as Promise; + } + + /** + * Create or update a dedicated host . + * @param resourceGroupName The name of the resource group. + * @param hostGroupName The name of the dedicated host group. + * @param hostName The name of the dedicated host . + * @param parameters Parameters supplied to the Create Dedicated Host. + * @param [options] The optional parameters + * @returns Promise + */ + beginCreateOrUpdate(resourceGroupName: string, hostGroupName: string, hostName: string, parameters: Models.DedicatedHost, options?: msRest.RequestOptionsBase): Promise { + return this.client.sendLRORequest( + { + resourceGroupName, + hostGroupName, + hostName, + parameters, + options + }, + beginCreateOrUpdateOperationSpec, + options); + } + + /** + * Update an dedicated host . + * @param resourceGroupName The name of the resource group. + * @param hostGroupName The name of the dedicated host group. + * @param hostName The name of the dedicated host . + * @param parameters Parameters supplied to the Update Dedicated Host operation. + * @param [options] The optional parameters + * @returns Promise + */ + beginUpdate(resourceGroupName: string, hostGroupName: string, hostName: string, parameters: Models.DedicatedHostUpdate, options?: msRest.RequestOptionsBase): Promise { + return this.client.sendLRORequest( + { + resourceGroupName, + hostGroupName, + hostName, + parameters, + options + }, + beginUpdateOperationSpec, + options); + } + + /** + * Delete a dedicated host. + * @param resourceGroupName The name of the resource group. + * @param hostGroupName The name of the dedicated host group. + * @param hostName The name of the dedicated host. + * @param [options] The optional parameters + * @returns Promise + */ + beginDeleteMethod(resourceGroupName: string, hostGroupName: string, hostName: string, options?: msRest.RequestOptionsBase): Promise { + return this.client.sendLRORequest( + { + resourceGroupName, + hostGroupName, + hostName, + options + }, + beginDeleteMethodOperationSpec, + options); + } + + /** + * Lists all of the dedicated hosts in the specified dedicated host group. Use the nextLink + * property in the response to get the next page of dedicated hosts. + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @param [options] The optional parameters + * @returns Promise + */ + listByHostGroupNext(nextPageLink: string, options?: msRest.RequestOptionsBase): Promise; + /** + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @param callback The callback + */ + listByHostGroupNext(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 + */ + listByHostGroupNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + listByHostGroupNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + nextPageLink, + options + }, + listByHostGroupNextOperationSpec, + 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/hostGroups/{hostGroupName}/hosts/{hostName}", + urlParameters: [ + Parameters.resourceGroupName, + Parameters.hostGroupName, + Parameters.hostName, + Parameters.subscriptionId + ], + queryParameters: [ + Parameters.expand0, + Parameters.apiVersion0 + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: { + bodyMapper: Mappers.DedicatedHost + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + +const listByHostGroupOperationSpec: msRest.OperationSpec = { + httpMethod: "GET", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/hostGroups/{hostGroupName}/hosts", + urlParameters: [ + Parameters.resourceGroupName, + Parameters.hostGroupName, + Parameters.subscriptionId + ], + queryParameters: [ + Parameters.apiVersion0 + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: { + bodyMapper: Mappers.DedicatedHostListResult + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + +const beginCreateOrUpdateOperationSpec: msRest.OperationSpec = { + httpMethod: "PUT", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/hostGroups/{hostGroupName}/hosts/{hostName}", + urlParameters: [ + Parameters.resourceGroupName, + Parameters.hostGroupName, + Parameters.hostName, + Parameters.subscriptionId + ], + queryParameters: [ + Parameters.apiVersion0 + ], + headerParameters: [ + Parameters.acceptLanguage + ], + requestBody: { + parameterPath: "parameters", + mapper: { + ...Mappers.DedicatedHost, + required: true + } + }, + responses: { + 200: { + bodyMapper: Mappers.DedicatedHost + }, + 201: { + bodyMapper: Mappers.DedicatedHost + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + +const beginUpdateOperationSpec: msRest.OperationSpec = { + httpMethod: "PATCH", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/hostGroups/{hostGroupName}/hosts/{hostName}", + urlParameters: [ + Parameters.resourceGroupName, + Parameters.hostGroupName, + Parameters.hostName, + Parameters.subscriptionId + ], + queryParameters: [ + Parameters.apiVersion0 + ], + headerParameters: [ + Parameters.acceptLanguage + ], + requestBody: { + parameterPath: "parameters", + mapper: { + ...Mappers.DedicatedHostUpdate, + required: true + } + }, + responses: { + 200: { + bodyMapper: Mappers.DedicatedHost + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + +const beginDeleteMethodOperationSpec: msRest.OperationSpec = { + httpMethod: "DELETE", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/hostGroups/{hostGroupName}/hosts/{hostName}", + urlParameters: [ + Parameters.resourceGroupName, + Parameters.hostGroupName, + Parameters.hostName, + Parameters.subscriptionId + ], + queryParameters: [ + Parameters.apiVersion0 + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: {}, + 202: {}, + 204: {}, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + +const listByHostGroupNextOperationSpec: msRest.OperationSpec = { + httpMethod: "GET", + baseUrl: "https://management.azure.com", + path: "{nextLink}", + urlParameters: [ + Parameters.nextPageLink + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: { + bodyMapper: Mappers.DedicatedHostListResult + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; diff --git a/sdk/compute/arm-compute/src/operations/galleries.ts b/sdk/compute/arm-compute/src/operations/galleries.ts index bf566595c4a2..3ed0099d5551 100644 --- a/sdk/compute/arm-compute/src/operations/galleries.ts +++ b/sdk/compute/arm-compute/src/operations/galleries.ts @@ -244,7 +244,7 @@ const getOperationSpec: msRest.OperationSpec = { Parameters.galleryName ], queryParameters: [ - Parameters.apiVersion0 + Parameters.apiVersion3 ], headerParameters: [ Parameters.acceptLanguage @@ -268,7 +268,7 @@ const listByResourceGroupOperationSpec: msRest.OperationSpec = { Parameters.resourceGroupName ], queryParameters: [ - Parameters.apiVersion0 + Parameters.apiVersion3 ], headerParameters: [ Parameters.acceptLanguage @@ -291,7 +291,7 @@ const listOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion0 + Parameters.apiVersion3 ], headerParameters: [ Parameters.acceptLanguage @@ -316,7 +316,7 @@ const beginCreateOrUpdateOperationSpec: msRest.OperationSpec = { Parameters.galleryName ], queryParameters: [ - Parameters.apiVersion0 + Parameters.apiVersion3 ], headerParameters: [ Parameters.acceptLanguage @@ -354,7 +354,7 @@ const beginDeleteMethodOperationSpec: msRest.OperationSpec = { Parameters.galleryName ], queryParameters: [ - Parameters.apiVersion0 + 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 02c415f95c6e..439c5e351734 100644 --- a/sdk/compute/arm-compute/src/operations/galleryImageVersions.ts +++ b/sdk/compute/arm-compute/src/operations/galleryImageVersions.ts @@ -236,8 +236,8 @@ const getOperationSpec: msRest.OperationSpec = { Parameters.galleryImageVersionName ], queryParameters: [ - Parameters.expand0, - Parameters.apiVersion0 + Parameters.expand1, + Parameters.apiVersion3 ], headerParameters: [ Parameters.acceptLanguage @@ -263,7 +263,7 @@ const listByGalleryImageOperationSpec: msRest.OperationSpec = { Parameters.galleryImageName ], queryParameters: [ - Parameters.apiVersion0 + Parameters.apiVersion3 ], headerParameters: [ Parameters.acceptLanguage @@ -290,7 +290,7 @@ const beginCreateOrUpdateOperationSpec: msRest.OperationSpec = { Parameters.galleryImageVersionName ], queryParameters: [ - Parameters.apiVersion0 + Parameters.apiVersion3 ], headerParameters: [ Parameters.acceptLanguage @@ -330,7 +330,7 @@ const beginDeleteMethodOperationSpec: msRest.OperationSpec = { Parameters.galleryImageVersionName ], queryParameters: [ - Parameters.apiVersion0 + 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 1205d3f7d769..b951008c54f7 100644 --- a/sdk/compute/arm-compute/src/operations/galleryImages.ts +++ b/sdk/compute/arm-compute/src/operations/galleryImages.ts @@ -219,7 +219,7 @@ const getOperationSpec: msRest.OperationSpec = { Parameters.galleryImageName ], queryParameters: [ - Parameters.apiVersion0 + Parameters.apiVersion3 ], headerParameters: [ Parameters.acceptLanguage @@ -244,7 +244,7 @@ const listByGalleryOperationSpec: msRest.OperationSpec = { Parameters.galleryName ], queryParameters: [ - Parameters.apiVersion0 + Parameters.apiVersion3 ], headerParameters: [ Parameters.acceptLanguage @@ -270,7 +270,7 @@ const beginCreateOrUpdateOperationSpec: msRest.OperationSpec = { Parameters.galleryImageName ], queryParameters: [ - Parameters.apiVersion0 + Parameters.apiVersion3 ], headerParameters: [ Parameters.acceptLanguage @@ -309,7 +309,7 @@ const beginDeleteMethodOperationSpec: msRest.OperationSpec = { Parameters.galleryImageName ], queryParameters: [ - Parameters.apiVersion0 + 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..db6ade10fbf7 100644 --- a/sdk/compute/arm-compute/src/operations/images.ts +++ b/sdk/compute/arm-compute/src/operations/images.ts @@ -277,7 +277,7 @@ const getOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.expand0, + Parameters.expand1, Parameters.apiVersion0 ], headerParameters: [ diff --git a/sdk/compute/arm-compute/src/operations/index.ts b/sdk/compute/arm-compute/src/operations/index.ts index 1821b058d12d..4af74520b9ea 100644 --- a/sdk/compute/arm-compute/src/operations/index.ts +++ b/sdk/compute/arm-compute/src/operations/index.ts @@ -10,6 +10,9 @@ export * from "./operations"; export * from "./availabilitySets"; +export * from "./proximityPlacementGroups"; +export * from "./dedicatedHostGroups"; +export * from "./dedicatedHosts"; export * from "./virtualMachineExtensionImages"; export * from "./virtualMachineExtensions"; export * from "./virtualMachineImages"; @@ -20,7 +23,6 @@ export * from "./images"; export * from "./virtualMachineScaleSets"; export * from "./virtualMachineScaleSetExtensions"; export * from "./virtualMachineScaleSetRollingUpgrades"; -export * from "./virtualMachineScaleSetOperations"; export * from "./virtualMachineScaleSetVMs"; export * from "./logAnalytics"; export * from "./virtualMachineRunCommands"; diff --git a/sdk/compute/arm-compute/src/operations/proximityPlacementGroups.ts b/sdk/compute/arm-compute/src/operations/proximityPlacementGroups.ts new file mode 100644 index 000000000000..5a5ed3f4bbf0 --- /dev/null +++ b/sdk/compute/arm-compute/src/operations/proximityPlacementGroups.ts @@ -0,0 +1,478 @@ +/* + * Copyright (c) Microsoft Corporation. All rights reserved. + * Licensed under the MIT License. See License.txt in the project root for + * license information. + * + * 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/proximityPlacementGroupsMappers"; +import * as Parameters from "../models/parameters"; +import { ComputeManagementClientContext } from "../computeManagementClientContext"; + +/** Class representing a ProximityPlacementGroups. */ +export class ProximityPlacementGroups { + private readonly client: ComputeManagementClientContext; + + /** + * Create a ProximityPlacementGroups. + * @param {ComputeManagementClientContext} client Reference to the service client. + */ + constructor(client: ComputeManagementClientContext) { + this.client = client; + } + + /** + * Create or update a proximity placement group. + * @param resourceGroupName The name of the resource group. + * @param proximityPlacementGroupName The name of the proximity placement group. + * @param parameters Parameters supplied to the Create Proximity Placement Group operation. + * @param [options] The optional parameters + * @returns Promise + */ + createOrUpdate(resourceGroupName: string, proximityPlacementGroupName: string, parameters: Models.ProximityPlacementGroup, options?: msRest.RequestOptionsBase): Promise; + /** + * @param resourceGroupName The name of the resource group. + * @param proximityPlacementGroupName The name of the proximity placement group. + * @param parameters Parameters supplied to the Create Proximity Placement Group operation. + * @param callback The callback + */ + createOrUpdate(resourceGroupName: string, proximityPlacementGroupName: string, parameters: Models.ProximityPlacementGroup, callback: msRest.ServiceCallback): void; + /** + * @param resourceGroupName The name of the resource group. + * @param proximityPlacementGroupName The name of the proximity placement group. + * @param parameters Parameters supplied to the Create Proximity Placement Group operation. + * @param options The optional parameters + * @param callback The callback + */ + createOrUpdate(resourceGroupName: string, proximityPlacementGroupName: string, parameters: Models.ProximityPlacementGroup, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + createOrUpdate(resourceGroupName: string, proximityPlacementGroupName: string, parameters: Models.ProximityPlacementGroup, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + resourceGroupName, + proximityPlacementGroupName, + parameters, + options + }, + createOrUpdateOperationSpec, + callback) as Promise; + } + + /** + * Update a proximity placement group. + * @param resourceGroupName The name of the resource group. + * @param proximityPlacementGroupName The name of the proximity placement group. + * @param parameters Parameters supplied to the Update Proximity Placement Group operation. + * @param [options] The optional parameters + * @returns Promise + */ + update(resourceGroupName: string, proximityPlacementGroupName: string, parameters: Models.ProximityPlacementGroupUpdate, options?: msRest.RequestOptionsBase): Promise; + /** + * @param resourceGroupName The name of the resource group. + * @param proximityPlacementGroupName The name of the proximity placement group. + * @param parameters Parameters supplied to the Update Proximity Placement Group operation. + * @param callback The callback + */ + update(resourceGroupName: string, proximityPlacementGroupName: string, parameters: Models.ProximityPlacementGroupUpdate, callback: msRest.ServiceCallback): void; + /** + * @param resourceGroupName The name of the resource group. + * @param proximityPlacementGroupName The name of the proximity placement group. + * @param parameters Parameters supplied to the Update Proximity Placement Group operation. + * @param options The optional parameters + * @param callback The callback + */ + update(resourceGroupName: string, proximityPlacementGroupName: string, parameters: Models.ProximityPlacementGroupUpdate, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + update(resourceGroupName: string, proximityPlacementGroupName: string, parameters: Models.ProximityPlacementGroupUpdate, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + resourceGroupName, + proximityPlacementGroupName, + parameters, + options + }, + updateOperationSpec, + callback) as Promise; + } + + /** + * Delete a proximity placement group. + * @param resourceGroupName The name of the resource group. + * @param proximityPlacementGroupName The name of the proximity placement group. + * @param [options] The optional parameters + * @returns Promise + */ + deleteMethod(resourceGroupName: string, proximityPlacementGroupName: string, options?: msRest.RequestOptionsBase): Promise; + /** + * @param resourceGroupName The name of the resource group. + * @param proximityPlacementGroupName The name of the proximity placement group. + * @param callback The callback + */ + deleteMethod(resourceGroupName: string, proximityPlacementGroupName: string, callback: msRest.ServiceCallback): void; + /** + * @param resourceGroupName The name of the resource group. + * @param proximityPlacementGroupName The name of the proximity placement group. + * @param options The optional parameters + * @param callback The callback + */ + deleteMethod(resourceGroupName: string, proximityPlacementGroupName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + deleteMethod(resourceGroupName: string, proximityPlacementGroupName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + resourceGroupName, + proximityPlacementGroupName, + options + }, + deleteMethodOperationSpec, + callback); + } + + /** + * Retrieves information about a proximity placement group . + * @param resourceGroupName The name of the resource group. + * @param proximityPlacementGroupName The name of the proximity placement group. + * @param [options] The optional parameters + * @returns Promise + */ + get(resourceGroupName: string, proximityPlacementGroupName: string, options?: msRest.RequestOptionsBase): Promise; + /** + * @param resourceGroupName The name of the resource group. + * @param proximityPlacementGroupName The name of the proximity placement group. + * @param callback The callback + */ + get(resourceGroupName: string, proximityPlacementGroupName: string, callback: msRest.ServiceCallback): void; + /** + * @param resourceGroupName The name of the resource group. + * @param proximityPlacementGroupName The name of the proximity placement group. + * @param options The optional parameters + * @param callback The callback + */ + get(resourceGroupName: string, proximityPlacementGroupName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + get(resourceGroupName: string, proximityPlacementGroupName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + resourceGroupName, + proximityPlacementGroupName, + options + }, + getOperationSpec, + callback) as Promise; + } + + /** + * Lists all proximity placement groups in a subscription. + * @param [options] The optional parameters + * @returns Promise + */ + listBySubscription(options?: msRest.RequestOptionsBase): Promise; + /** + * @param callback The callback + */ + listBySubscription(callback: msRest.ServiceCallback): void; + /** + * @param options The optional parameters + * @param callback The callback + */ + listBySubscription(options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + listBySubscription(options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + options + }, + listBySubscriptionOperationSpec, + callback) as Promise; + } + + /** + * Lists all proximity placement groups in a resource group. + * @param resourceGroupName The name of the resource group. + * @param [options] The optional parameters + * @returns Promise + */ + listByResourceGroup(resourceGroupName: string, options?: msRest.RequestOptionsBase): Promise; + /** + * @param resourceGroupName The name of the resource group. + * @param callback The callback + */ + listByResourceGroup(resourceGroupName: string, callback: msRest.ServiceCallback): void; + /** + * @param resourceGroupName The name of the resource group. + * @param options The optional parameters + * @param callback The callback + */ + listByResourceGroup(resourceGroupName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + listByResourceGroup(resourceGroupName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + resourceGroupName, + options + }, + listByResourceGroupOperationSpec, + callback) as Promise; + } + + /** + * Lists all proximity placement groups in a subscription. + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @param [options] The optional parameters + * @returns Promise + */ + listBySubscriptionNext(nextPageLink: string, options?: msRest.RequestOptionsBase): Promise; + /** + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @param callback The callback + */ + listBySubscriptionNext(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 + */ + listBySubscriptionNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + listBySubscriptionNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + nextPageLink, + options + }, + listBySubscriptionNextOperationSpec, + callback) as Promise; + } + + /** + * Lists all proximity placement groups in a resource group. + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @param [options] The optional parameters + * @returns Promise + */ + listByResourceGroupNext(nextPageLink: string, options?: msRest.RequestOptionsBase): Promise; + /** + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @param callback The callback + */ + listByResourceGroupNext(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 + */ + listByResourceGroupNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + listByResourceGroupNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + nextPageLink, + options + }, + listByResourceGroupNextOperationSpec, + callback) as Promise; + } +} + +// Operation Specifications +const serializer = new msRest.Serializer(Mappers); +const createOrUpdateOperationSpec: msRest.OperationSpec = { + httpMethod: "PUT", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/proximityPlacementGroups/{proximityPlacementGroupName}", + urlParameters: [ + Parameters.resourceGroupName, + Parameters.proximityPlacementGroupName, + Parameters.subscriptionId + ], + queryParameters: [ + Parameters.apiVersion0 + ], + headerParameters: [ + Parameters.acceptLanguage + ], + requestBody: { + parameterPath: "parameters", + mapper: { + ...Mappers.ProximityPlacementGroup, + required: true + } + }, + responses: { + 200: { + bodyMapper: Mappers.ProximityPlacementGroup + }, + 201: { + bodyMapper: Mappers.ProximityPlacementGroup + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + +const updateOperationSpec: msRest.OperationSpec = { + httpMethod: "PATCH", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/proximityPlacementGroups/{proximityPlacementGroupName}", + urlParameters: [ + Parameters.resourceGroupName, + Parameters.proximityPlacementGroupName, + Parameters.subscriptionId + ], + queryParameters: [ + Parameters.apiVersion0 + ], + headerParameters: [ + Parameters.acceptLanguage + ], + requestBody: { + parameterPath: "parameters", + mapper: { + ...Mappers.ProximityPlacementGroupUpdate, + required: true + } + }, + responses: { + 200: { + bodyMapper: Mappers.ProximityPlacementGroup + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + +const deleteMethodOperationSpec: msRest.OperationSpec = { + httpMethod: "DELETE", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/proximityPlacementGroups/{proximityPlacementGroupName}", + urlParameters: [ + Parameters.resourceGroupName, + Parameters.proximityPlacementGroupName, + Parameters.subscriptionId + ], + queryParameters: [ + Parameters.apiVersion0 + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: {}, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + +const getOperationSpec: msRest.OperationSpec = { + httpMethod: "GET", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/proximityPlacementGroups/{proximityPlacementGroupName}", + urlParameters: [ + Parameters.resourceGroupName, + Parameters.proximityPlacementGroupName, + Parameters.subscriptionId + ], + queryParameters: [ + Parameters.apiVersion0 + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: { + bodyMapper: Mappers.ProximityPlacementGroup + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + +const listBySubscriptionOperationSpec: msRest.OperationSpec = { + httpMethod: "GET", + path: "subscriptions/{subscriptionId}/providers/Microsoft.Compute/proximityPlacementGroups", + urlParameters: [ + Parameters.subscriptionId + ], + queryParameters: [ + Parameters.apiVersion0 + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: { + bodyMapper: Mappers.ProximityPlacementGroupListResult + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + +const listByResourceGroupOperationSpec: msRest.OperationSpec = { + httpMethod: "GET", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/proximityPlacementGroups", + urlParameters: [ + Parameters.resourceGroupName, + Parameters.subscriptionId + ], + queryParameters: [ + Parameters.apiVersion0 + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: { + bodyMapper: Mappers.ProximityPlacementGroupListResult + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + +const listBySubscriptionNextOperationSpec: msRest.OperationSpec = { + httpMethod: "GET", + baseUrl: "https://management.azure.com", + path: "{nextLink}", + urlParameters: [ + Parameters.nextPageLink + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: { + bodyMapper: Mappers.ProximityPlacementGroupListResult + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + +const listByResourceGroupNextOperationSpec: msRest.OperationSpec = { + httpMethod: "GET", + baseUrl: "https://management.azure.com", + path: "{nextLink}", + urlParameters: [ + Parameters.nextPageLink + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: { + bodyMapper: Mappers.ProximityPlacementGroupListResult + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; diff --git a/sdk/compute/arm-compute/src/operations/virtualMachineExtensions.ts b/sdk/compute/arm-compute/src/operations/virtualMachineExtensions.ts index 289e3d3134e9..97c97b72adf0 100644 --- a/sdk/compute/arm-compute/src/operations/virtualMachineExtensions.ts +++ b/sdk/compute/arm-compute/src/operations/virtualMachineExtensions.ts @@ -217,7 +217,7 @@ const getOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.expand0, + Parameters.expand1, Parameters.apiVersion0 ], headerParameters: [ @@ -243,7 +243,7 @@ const listOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.expand0, + Parameters.expand1, Parameters.apiVersion0 ], headerParameters: [ diff --git a/sdk/compute/arm-compute/src/operations/virtualMachineScaleSetExtensions.ts b/sdk/compute/arm-compute/src/operations/virtualMachineScaleSetExtensions.ts index ede0b80fda8d..f2671c9c93cb 100644 --- a/sdk/compute/arm-compute/src/operations/virtualMachineScaleSetExtensions.ts +++ b/sdk/compute/arm-compute/src/operations/virtualMachineScaleSetExtensions.ts @@ -207,7 +207,7 @@ const getOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.expand0, + Parameters.expand1, Parameters.apiVersion0 ], headerParameters: [ diff --git a/sdk/compute/arm-compute/src/operations/virtualMachineScaleSetVMs.ts b/sdk/compute/arm-compute/src/operations/virtualMachineScaleSetVMs.ts index 158980afb9a6..247b0fdec459 100644 --- a/sdk/compute/arm-compute/src/operations/virtualMachineScaleSetVMs.ts +++ b/sdk/compute/arm-compute/src/operations/virtualMachineScaleSetVMs.ts @@ -105,7 +105,7 @@ export class VirtualMachineScaleSetVMs { * @param [options] The optional parameters * @returns Promise */ - get(resourceGroupName: string, vmScaleSetName: string, instanceId: string, options?: msRest.RequestOptionsBase): Promise; + get(resourceGroupName: string, vmScaleSetName: string, instanceId: string, options?: Models.VirtualMachineScaleSetVMsGetOptionalParams): Promise; /** * @param resourceGroupName The name of the resource group. * @param vmScaleSetName The name of the VM scale set. @@ -120,8 +120,8 @@ export class VirtualMachineScaleSetVMs { * @param options The optional parameters * @param callback The callback */ - get(resourceGroupName: string, vmScaleSetName: string, instanceId: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - get(resourceGroupName: string, vmScaleSetName: string, instanceId: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + get(resourceGroupName: string, vmScaleSetName: string, instanceId: string, options: Models.VirtualMachineScaleSetVMsGetOptionalParams, callback: msRest.ServiceCallback): void; + get(resourceGroupName: string, vmScaleSetName: string, instanceId: string, options?: Models.VirtualMachineScaleSetVMsGetOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -553,6 +553,7 @@ const getOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ + Parameters.expand0, Parameters.apiVersion0 ], headerParameters: [ @@ -606,7 +607,7 @@ const listOperationSpec: msRest.OperationSpec = { queryParameters: [ Parameters.filter, Parameters.select, - Parameters.expand0, + Parameters.expand1, Parameters.apiVersion0 ], headerParameters: [ diff --git a/sdk/compute/arm-compute/src/operations/virtualMachineScaleSets.ts b/sdk/compute/arm-compute/src/operations/virtualMachineScaleSets.ts index e7dfd2b78aff..5aa9dbc78a1b 100644 --- a/sdk/compute/arm-compute/src/operations/virtualMachineScaleSets.ts +++ b/sdk/compute/arm-compute/src/operations/virtualMachineScaleSets.ts @@ -421,6 +421,42 @@ export class VirtualMachineScaleSets { callback) as Promise; } + /** + * Converts SinglePlacementGroup property to false for a existing virtual machine scale set. + * @param resourceGroupName The name of the resource group. + * @param vmScaleSetName The name of the virtual machine scale set to create or update. + * @param parameters The input object for ConvertToSinglePlacementGroup API. + * @param [options] The optional parameters + * @returns Promise + */ + convertToSinglePlacementGroup(resourceGroupName: string, vmScaleSetName: string, parameters: Models.VMScaleSetConvertToSinglePlacementGroupInput, options?: msRest.RequestOptionsBase): Promise; + /** + * @param resourceGroupName The name of the resource group. + * @param vmScaleSetName The name of the virtual machine scale set to create or update. + * @param parameters The input object for ConvertToSinglePlacementGroup API. + * @param callback The callback + */ + convertToSinglePlacementGroup(resourceGroupName: string, vmScaleSetName: string, parameters: Models.VMScaleSetConvertToSinglePlacementGroupInput, callback: msRest.ServiceCallback): void; + /** + * @param resourceGroupName The name of the resource group. + * @param vmScaleSetName The name of the virtual machine scale set to create or update. + * @param parameters The input object for ConvertToSinglePlacementGroup API. + * @param options The optional parameters + * @param callback The callback + */ + convertToSinglePlacementGroup(resourceGroupName: string, vmScaleSetName: string, parameters: Models.VMScaleSetConvertToSinglePlacementGroupInput, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + convertToSinglePlacementGroup(resourceGroupName: string, vmScaleSetName: string, parameters: Models.VMScaleSetConvertToSinglePlacementGroupInput, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + resourceGroupName, + vmScaleSetName, + parameters, + options + }, + convertToSinglePlacementGroupOperationSpec, + callback); + } + /** * Create or update a VM scale set. * @param resourceGroupName The name of the resource group. @@ -964,6 +1000,33 @@ const forceRecoveryServiceFabricPlatformUpdateDomainWalkOperationSpec: msRest.Op serializer }; +const convertToSinglePlacementGroupOperationSpec: msRest.OperationSpec = { + httpMethod: "POST", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}/convertToSinglePlacementGroup", + urlParameters: [ + Parameters.resourceGroupName, + Parameters.vmScaleSetName, + Parameters.subscriptionId + ], + headerParameters: [ + Parameters.acceptLanguage + ], + requestBody: { + parameterPath: "parameters", + mapper: { + ...Mappers.VMScaleSetConvertToSinglePlacementGroupInput, + required: true + } + }, + responses: { + 200: {}, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + const beginCreateOrUpdateOperationSpec: msRest.OperationSpec = { httpMethod: "PUT", path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}", diff --git a/sdk/compute/arm-compute/src/operations/virtualMachines.ts b/sdk/compute/arm-compute/src/operations/virtualMachines.ts index a535ced3f9da..369fc36d833e 100644 --- a/sdk/compute/arm-compute/src/operations/virtualMachines.ts +++ b/sdk/compute/arm-compute/src/operations/virtualMachines.ts @@ -769,7 +769,7 @@ const getOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.expand1, + Parameters.expand0, Parameters.apiVersion0 ], headerParameters: [ diff --git a/sdk/compute/arm-compute/tsconfig.json b/sdk/compute/arm-compute/tsconfig.json index 87bbf5b5fa49..422b584abd5e 100644 --- a/sdk/compute/arm-compute/tsconfig.json +++ b/sdk/compute/arm-compute/tsconfig.json @@ -9,7 +9,7 @@ "esModuleInterop": true, "allowSyntheticDefaultImports": true, "forceConsistentCasingInFileNames": true, - "lib": ["es6"], + "lib": ["es6", "dom"], "declaration": true, "outDir": "./esm", "importHelpers": true From 52544be27aba740589d2994fc5a709aaa9f22b0d Mon Sep 17 00:00:00 2001 From: chradek <51000525+chradek@users.noreply.github.com> Date: Wed, 7 Aug 2019 16:55:13 -0700 Subject: [PATCH 12/16] [core] updates core-arm/http/tracing version numbers (#4709) --- common/config/rush/pnpm-lock.yaml | 1007 ++++++++++++++++------------- 1 file changed, 561 insertions(+), 446 deletions(-) diff --git a/common/config/rush/pnpm-lock.yaml b/common/config/rush/pnpm-lock.yaml index fe73d258db05..67aa7bf19e8d 100644 --- a/common/config/rush/pnpm-lock.yaml +++ b/common/config/rush/pnpm-lock.yaml @@ -12,7 +12,7 @@ dependencies: '@azure/logger-js': 1.3.2 '@azure/ms-rest-js': 2.0.4 '@azure/ms-rest-nodeauth': 0.9.3 - '@microsoft/api-extractor': 7.3.8 + '@microsoft/api-extractor': 7.3.5 '@rush-temp/abort-controller': 'file:projects/abort-controller.tgz' '@rush-temp/core-amqp': 'file:projects/core-amqp.tgz' '@rush-temp/core-arm': 'file:projects/core-arm.tgz' @@ -21,6 +21,7 @@ dependencies: '@rush-temp/core-http': 'file:projects/core-http.tgz' '@rush-temp/core-paging': 'file:projects/core-paging.tgz' '@rush-temp/core-tracing': 'file:projects/core-tracing.tgz' + '@rush-temp/cosmos': 'file:projects/cosmos.tgz' '@rush-temp/event-hubs': 'file:projects/event-hubs.tgz' '@rush-temp/event-processor-host': 'file:projects/event-processor-host.tgz' '@rush-temp/identity': 'file:projects/identity.tgz' @@ -35,9 +36,9 @@ dependencies: '@rush-temp/testhub': 'file:projects/testhub.tgz' '@trust/keyto': 0.3.7 '@types/async-lock': 1.1.1 - '@types/chai': 4.2.0 - '@types/chai-as-promised': 7.1.2 - '@types/chai-string': 1.4.2 + '@types/chai': 4.1.7 + '@types/chai-as-promised': 7.1.1 + '@types/chai-string': 1.4.1 '@types/debug': 0.0.31 '@types/dotenv': 6.1.1 '@types/express': 4.17.0 @@ -52,42 +53,49 @@ dependencies: '@types/nise': 1.4.0 '@types/nock': 10.0.3 '@types/node': 8.10.51 + '@types/priorityqueuejs': 1.0.1 '@types/qs': 6.5.3 '@types/query-string': 6.2.0 + '@types/semaphore': 1.1.0 '@types/semver': 5.5.0 '@types/sinon': 7.0.13 '@types/tough-cookie': 2.3.5 '@types/tunnel': 0.0.1 + '@types/underscore': 1.9.2 '@types/uuid': 3.4.5 '@types/webpack': 4.32.1 '@types/webpack-dev-middleware': 2.0.3 '@types/ws': 6.0.2 '@types/xml2js': 0.4.4 '@types/yargs': 13.0.2 - '@typescript-eslint/eslint-plugin': 2.0.0_2597c16b46d7eff3ec2c0c583ca4ae44 - '@typescript-eslint/parser': 2.0.0_eslint@6.1.0 + '@typescript-eslint/eslint-plugin': 1.13.0_0b5e999c52a893676e7127c05369c7b6 + '@typescript-eslint/parser': 1.13.0_eslint@5.16.0 abortcontroller-polyfill: 1.3.0 assert: 1.5.0 async-lock: 1.2.2 axios: 0.19.0 axios-mock-adapter: 1.17.0_axios@0.19.0 azure-storage: 2.10.3 - buffer: 5.4.0 + binary-search-bounds: 2.0.3 + buffer: 5.2.1 chai: 4.2.0 chai-as-promised: 7.1.1_chai@4.2.0 chai-string: 1.5.0_chai@4.2.0 + create-hmac: 1.1.7 cross-env: 5.2.0 death: 1.1.0 debug: 3.2.6 delay: 4.3.0 dotenv: 8.0.0 es6-promise: 4.2.8 - eslint: 6.1.0 - eslint-config-prettier: 6.0.0_eslint@6.1.0 - eslint-plugin-no-null: 1.0.2_eslint@6.1.0 + eslint: 5.16.0 + eslint-config-prettier: 6.0.0_eslint@5.16.0 + eslint-detailed-reporter: 0.8.0_eslint@5.16.0 + eslint-plugin-no-null: 1.0.2_eslint@5.16.0 eslint-plugin-no-only-tests: 2.3.1 eslint-plugin-promise: 4.2.1 events: 3.0.0 + execa: 1.0.0 express: 4.17.1 form-data: 2.5.0 fs-extra: 8.1.0 @@ -101,11 +109,11 @@ dependencies: jws: 3.2.2 karma: 4.2.0 karma-chai: 0.1.0_chai@4.2.0+karma@4.2.0 - karma-chrome-launcher: 3.1.0 + karma-chrome-launcher: 3.0.0 karma-coverage: 1.1.2 karma-edge-launcher: 0.4.2_karma@4.2.0 karma-env-preprocessor: 0.1.1 - karma-firefox-launcher: 1.2.0 + karma-firefox-launcher: 1.1.0 karma-ie-launcher: 1.0.0_karma@4.2.0 karma-json-preprocessor: 0.3.3_karma@4.2.0 karma-json-to-file-reporter: 1.0.1 @@ -116,7 +124,7 @@ dependencies: karma-rollup-preprocessor: 7.0.2_rollup@1.19.4 karma-sourcemap-loader: 0.3.7 karma-typescript-es6-transform: 4.1.1 - karma-webpack: 4.0.2_webpack@4.39.2 + karma-webpack: 4.0.2_webpack@4.39.1 long: 4.0.0 mocha: 5.2.0 mocha-chrome: 2.0.0 @@ -131,14 +139,16 @@ dependencies: nyc: 14.1.1 path-browserify: 1.0.0 prettier: 1.18.2 + priorityqueuejs: 1.0.0 process: 0.11.10 promise: 8.0.3 puppeteer: 1.19.0 qs: 6.7.0 query-string: 5.1.1 + requirejs: 2.3.6 rhea: 1.0.8 rhea-promise: 0.1.15 - rimraf: 2.7.0 + rimraf: 2.6.3 rollup: 1.19.4 rollup-plugin-alias: 1.5.2 rollup-plugin-commonjs: 10.0.2_rollup@1.19.4 @@ -154,11 +164,13 @@ dependencies: rollup-plugin-terser: 5.1.1_rollup@1.19.4 rollup-plugin-uglify: 6.0.2_rollup@1.19.4 rollup-plugin-visualizer: 2.5.4_rollup@1.19.4 - semver: 5.7.1 + semaphore: 1.0.5 + semver: 5.7.0 shx: 0.3.2 sinon: 7.4.1 source-map-support: 0.5.13 stream-browserify: 2.0.2 + stream-http: 2.8.3 tough-cookie: 3.0.1 ts-loader: 6.0.4_typescript@3.5.3 ts-mocha: 6.0.0_mocha@5.2.0 @@ -170,10 +182,10 @@ dependencies: url: 0.11.0 util: 0.12.1 uuid: 3.3.2 - webpack: 4.39.2_webpack@4.39.2 - webpack-cli: 3.3.6_webpack@4.39.2 - webpack-dev-middleware: 3.7.0_webpack@4.39.2 - ws: 7.1.2 + webpack: 4.39.1_webpack@4.39.1 + webpack-cli: 3.3.6_webpack@4.39.1 + webpack-dev-middleware: 3.7.0_webpack@4.39.1 + ws: 7.1.1 xhr-mock: 2.5.0 xml2js: 0.4.19 yargs: 13.3.0 @@ -192,7 +204,7 @@ packages: '@types/async-lock': 1.1.1 '@types/is-buffer': 2.0.0 async-lock: 1.2.2 - buffer: 5.4.0 + buffer: 5.2.1 debug: 3.2.6 events: 3.0.0 is-buffer: 2.0.3 @@ -409,20 +421,20 @@ packages: dev: false resolution: integrity: sha512-s63F9nJioLqOlW3UkyMd+BYhXt44YuaFm/VV0VwuteqjYwRrObkU7ra9pY4wAJR3oXi8hJrMcrcJdO/HH33vtw== - /@microsoft/api-extractor-model/7.3.2: + /@microsoft/api-extractor-model/7.3.0: dependencies: - '@microsoft/node-core-library': 3.14.0 - '@microsoft/tsdoc': 0.12.12 + '@microsoft/node-core-library': 3.13.0 + '@microsoft/tsdoc': 0.12.10 '@types/node': 8.5.8 dev: false resolution: - integrity: sha512-2yNbQsQl5PI36l5WzHQshwjBHPe5IeIcmidWad0E+wjyaAxGMLx5pBp5AgXY2JG9S9VQjFmmGmqJJBXn8tzu+w== - /@microsoft/api-extractor/7.3.8: + integrity: sha512-GfRaGz6d8fPhMOG70l2zS1s6Z8rCxcTHnwfVjb+6ln25eB4fN/jeDRlLKot+HOsVcbxvVseoeB0ZQL9nIsfbXw== + /@microsoft/api-extractor/7.3.5: dependencies: - '@microsoft/api-extractor-model': 7.3.2 - '@microsoft/node-core-library': 3.14.0 - '@microsoft/ts-command-line': 4.2.7 - '@microsoft/tsdoc': 0.12.12 + '@microsoft/api-extractor-model': 7.3.0 + '@microsoft/node-core-library': 3.13.0 + '@microsoft/ts-command-line': 4.2.6 + '@microsoft/tsdoc': 0.12.10 colors: 1.2.5 lodash: 4.17.15 resolve: 1.8.1 @@ -431,8 +443,8 @@ packages: dev: false hasBin: true resolution: - integrity: sha512-zw3HWmPW9vWWIoI3SPb2tuJ2suXVoF9ty37Mww+00I4gKLPPDooVad1kBiNtdjHXBj0QwYAOsGcfoBN9Qgt2bw== - /@microsoft/node-core-library/3.14.0: + integrity: sha512-g6Cu3mPZnbVB/YindJGLDDFnervDD7VruuC8Ve+48UctXHXcfJC4yJhhuSV79SwE58wNx9wXdLDihdFtnDWcnQ== + /@microsoft/node-core-library/3.13.0: dependencies: '@types/fs-extra': 5.0.4 '@types/jju': 1.4.1 @@ -444,8 +456,8 @@ packages: z-schema: 3.18.4 dev: false resolution: - integrity: sha512-+gbTXTRfvR40hTH+C3Vno/RJ51sU/RZAyHb2bo9af8GCdOgxCxCs+qp2KCXklbpuolmIPFfbCmdTwv90yH5tJw== - /@microsoft/ts-command-line/4.2.7: + integrity: sha512-mnsL/1ikVWHl8sPNssavaAgtUaIM3hkQ8zeySuApU5dNmsMPzovJPfx9m5JGiMvs1v5QNAIVeiS9jnWwe/7anw== + /@microsoft/ts-command-line/4.2.6: dependencies: '@types/argparse': 1.0.33 '@types/node': 8.5.8 @@ -453,11 +465,11 @@ packages: colors: 1.2.5 dev: false resolution: - integrity: sha512-PwUMIIDl8oWyl64Y5DW5FAuoRk4KWTBZdk4FEh366KEm5xYFBQhCeatHGURIj8nEYm0Xb2coCrXF77dGDlp/Qw== - /@microsoft/tsdoc/0.12.12: + integrity: sha512-GFLPg9Z5yiNca3di/V6Zt3tAvj1de9EK0eL88tE+1eckQSH405UQcm7D+H8LbEhRpqpG+ZqN9LXCAEw4L5uchg== + /@microsoft/tsdoc/0.12.10: dev: false resolution: - integrity: sha512-5EzH1gHIonvvgA/xWRmVAJmRkTQj/yayUXyr66hFwNZiFE4j7lP8is9YQeXhwxGZEjO1PVMblAmFF0CyjNtPGw== + integrity: sha512-tsog/HTdM88/WyR0Jz7XWTI0ghbJkt9soFXnQJrINDyaTGzbCoJjRttaW/IY5eAp4eqDyfg++jq6o+byEDOkIQ== /@sinonjs/commons/1.4.0: dependencies: type-detect: 4.0.8 @@ -514,22 +526,22 @@ packages: dev: false resolution: integrity: sha512-a2+YeUjPkztKJu5aIF2yArYFQQp8d51wZ7DavSHjFuY1mqVgidGyzEQ41JIVNy82fXj8yPgy2vJmfIywgESW6w== - /@types/chai-as-promised/7.1.2: + /@types/chai-as-promised/7.1.1: dependencies: - '@types/chai': 4.2.0 + '@types/chai': 4.1.7 dev: false resolution: - integrity: sha512-PO2gcfR3Oxa+u0QvECLe1xKXOqYTzCmWf0FhLhjREoW3fPAVamjihL7v1MOVLJLsnAMdLcjkfrs01yvDMwVK4Q== - /@types/chai-string/1.4.2: + integrity: sha512-dberBxQW/XWv6BMj0su1lV9/C9AUx5Hqu2pisuS6S4YK/Qt6vurcj/BmcbEsobIWWCQzhesNY8k73kIxx4X7Mg== + /@types/chai-string/1.4.1: dependencies: - '@types/chai': 4.2.0 + '@types/chai': 4.1.7 dev: false resolution: - integrity: sha512-ld/1hV5qcPRGuwlPdvRfvM3Ka/iofOk2pH4VkasK4b1JJP1LjNmWWn0LsISf6RRzyhVOvs93rb9tM09e+UuF8Q== - /@types/chai/4.2.0: + integrity: sha512-aRNMs6TKgjgPlCHwDfq/YNy5VtRR2hJ4AUWByddrT0TRVVD8eX4MiHW6/iHvmQHRlVuuPZcwnTUE7b4yFt7bEA== + /@types/chai/4.1.7: dev: false resolution: - integrity: sha512-zw8UvoBEImn392tLjxoavuonblX/4Yb9ha4KBU10FirCfwgzhKO0dvyJSF9ByxV1xK1r2AgnAi/tvQaLgxQqxA== + integrity: sha512-2Y8uPt0/jwjhQ6EiluT0XCri1Dbplr0ZxfFXUz+ye13gaqE8u5gL5ppao1JrUYr9cIip5S6MvQzBS7Kke7U9VA== /@types/connect/3.4.32: dependencies: '@types/node': 8.10.51 @@ -668,10 +680,10 @@ packages: dev: false resolution: integrity: sha512-TLFRywthBgL68auWj+ziWu+vnmmcHCDFC/sqCOQf1xTz4hRq8cu79z8CtHU9lncExGBsB8fXA4TiLDLt6xvMzw== - /@types/node/12.7.1: + /@types/node/12.7.0: dev: false resolution: - integrity: sha512-aK9jxMypeSrhiYofWWBf/T7O+KwaiAHzM4sveCdWPn71lzUSMimRnKzhXDKfKwV1kWoBo2P1aGgaIYGLf9/ljw== + integrity: sha512-vqcj1MVm2Sla4PpMfYKh1MyDN4D2f/mPIZD7RdAGqEsbE+JxfeqQHHVbRDQ0Nqn8i73gJa1HQ1Pu3+nH4Q0Yiw== /@types/node/8.10.51: dev: false resolution: @@ -680,6 +692,10 @@ packages: dev: false resolution: integrity: sha512-8KmlRxwbKZfjUHFIt3q8TF5S2B+/E5BaAoo/3mgc5h6FJzqxXkCK/VMetO+IRDtwtU6HUvovHMBn+XRj7SV9Qg== + /@types/priorityqueuejs/1.0.1: + dev: false + resolution: + integrity: sha1-bqrDJHpMXO/JRILl2Hw3MLNfUFM= /@types/qs/6.5.3: dev: false resolution: @@ -698,6 +714,10 @@ packages: dev: false resolution: integrity: sha512-auApPaJf3NPfe18hSoJkp8EbZzer2ISk7o8mCC3M9he/a04+gbMF97NkpD2S8riMGvm4BMRI59/SZQSaLTKpsQ== + /@types/semaphore/1.1.0: + dev: false + resolution: + integrity: sha512-YD+lyrPhrsJdSOaxmA9K1lzsCoN0J29IsQGMKd67SbkPDXxJPdwdqpok1sytD19NEozUaFpjIsKOWnJDOYO/GA== /@types/semver/5.5.0: dev: false resolution: @@ -739,6 +759,10 @@ packages: dev: false resolution: integrity: sha512-SudIN9TRJ+v8g5pTG8RRCqfqTMNqgWCKKd3vtynhGzkIIjxaicNAMuY5TRadJ6tzDu3Dotf3ngaMILtmOdmWEQ== + /@types/underscore/1.9.2: + dev: false + resolution: + integrity: sha512-KgOKTAD+9X+qvZnB5S1+onqKc4E+PZ+T6CM/NA5ohRPLHJXb+yCJMVf8pWOnvuBuKFNUAJW8N97IA6lba6mZGg== /@types/uuid/3.4.5: dependencies: '@types/node': 8.10.51 @@ -790,60 +814,60 @@ packages: dev: false resolution: integrity: sha1-LrHQCl5Ow/pYx2r94S4YK2bcXBw= - /@typescript-eslint/eslint-plugin/2.0.0_2597c16b46d7eff3ec2c0c583ca4ae44: + /@typescript-eslint/eslint-plugin/1.13.0_0b5e999c52a893676e7127c05369c7b6: dependencies: - '@typescript-eslint/experimental-utils': 2.0.0_eslint@6.1.0 - '@typescript-eslint/parser': 2.0.0_eslint@6.1.0 - eslint: 6.1.0 + '@typescript-eslint/experimental-utils': 1.13.0_eslint@5.16.0 + '@typescript-eslint/parser': 1.13.0_eslint@5.16.0 + eslint: 5.16.0 eslint-utils: 1.4.0 functional-red-black-tree: 1.0.1 regexpp: 2.0.1 tsutils: 3.17.1_typescript@3.5.3 dev: false engines: - node: ^8.10.0 || ^10.13.0 || >=11.10.1 + node: ^6.14.0 || ^8.10.0 || >=9.10.0 peerDependencies: - '@typescript-eslint/parser': ^2.0.0-alpha.0 - eslint: ^5.0.0 || ^6.0.0 + '@typescript-eslint/parser': ^1.9.0 + eslint: ^5.0.0 typescript: '*' resolution: - integrity: sha512-Mo45nxTTELODdl7CgpZKJISvLb+Fu64OOO2ZFc2x8sYSnUpFrBUW3H+H/ZGYmEkfnL6VkdtOSxgdt+Av79j0sA== - /@typescript-eslint/experimental-utils/2.0.0_eslint@6.1.0: + integrity: sha512-WQHCozMnuNADiqMtsNzp96FNox5sOVpU8Xt4meaT4em8lOG1SrOv92/mUbEHQVh90sldKSfcOc/I0FOb/14G1g== + /@typescript-eslint/experimental-utils/1.13.0_eslint@5.16.0: dependencies: '@types/json-schema': 7.0.3 - '@typescript-eslint/typescript-estree': 2.0.0 - eslint: 6.1.0 + '@typescript-eslint/typescript-estree': 1.13.0 + eslint: 5.16.0 eslint-scope: 4.0.3 dev: false engines: - node: ^8.10.0 || ^10.13.0 || >=11.10.1 + node: ^6.14.0 || ^8.10.0 || >=9.10.0 peerDependencies: eslint: '*' resolution: - integrity: sha512-XGJG6GNBXIEx/mN4eTRypN/EUmsd0VhVGQ1AG+WTgdvjHl0G8vHhVBHrd/5oI6RRYBRnedNymSYWW1HAdivtmg== - /@typescript-eslint/parser/2.0.0_eslint@6.1.0: + integrity: sha512-zmpS6SyqG4ZF64ffaJ6uah6tWWWgZ8m+c54XXgwFtUv0jNz8aJAVx8chMCvnk7yl6xwn8d+d96+tWp7fXzTuDg== + /@typescript-eslint/parser/1.13.0_eslint@5.16.0: dependencies: '@types/eslint-visitor-keys': 1.0.0 - '@typescript-eslint/experimental-utils': 2.0.0_eslint@6.1.0 - '@typescript-eslint/typescript-estree': 2.0.0 - eslint: 6.1.0 - eslint-visitor-keys: 1.1.0 + '@typescript-eslint/experimental-utils': 1.13.0_eslint@5.16.0 + '@typescript-eslint/typescript-estree': 1.13.0 + eslint: 5.16.0 + eslint-visitor-keys: 1.0.0 dev: false engines: - node: ^8.10.0 || ^10.13.0 || >=11.10.1 + node: ^6.14.0 || ^8.10.0 || >=9.10.0 peerDependencies: - eslint: ^5.0.0 || ^6.0.0 + eslint: ^5.0.0 resolution: - integrity: sha512-ibyMBMr0383ZKserIsp67+WnNVoM402HKkxqXGlxEZsXtnGGurbnY90pBO3e0nBUM7chEEOcxUhgw9aPq7fEBA== - /@typescript-eslint/typescript-estree/2.0.0: + integrity: sha512-ITMBs52PCPgLb2nGPoeT4iU3HdQZHcPaZVw+7CsFagRJHUhyeTgorEwHXhFf3e7Evzi8oujKNpHc8TONth8AdQ== + /@typescript-eslint/typescript-estree/1.13.0: dependencies: lodash.unescape: 4.0.1 - semver: 6.3.0 + semver: 5.5.0 dev: false engines: - node: ^8.10.0 || ^10.13.0 || >=11.10.1 + node: '>=6.14.0' resolution: - integrity: sha512-NXbmzA3vWrSgavymlzMWNecgNOuiMMp62MO3kI7awZRLRcsA1QrYWo6q08m++uuAGVbXH/prZi2y1AWuhSu63w== + integrity: sha512-b5rCmd2e6DCC6tCTN9GSUAuxdYwCM/k/2wdjHGrIRGPSJotWMCe/dGpi66u42bhuh8q3QBzqM4TMA1GUUCJvdw== /@webassemblyjs/ast/1.8.5: dependencies: '@webassemblyjs/helper-module-context': 1.8.5 @@ -1009,9 +1033,9 @@ packages: node: '>= 0.6' resolution: integrity: sha512-Il80Qs2WjYlJIBNzNkK6KYqlVMTbZLXgHx2oT0pU/fjRHyEp+PEfEPY0R3WCwAGVOtauxh1hOxNgIf5bv7dQpA== - /acorn-jsx/5.0.1_acorn@6.3.0: + /acorn-jsx/5.0.1_acorn@6.2.1: dependencies: - acorn: 6.3.0 + acorn: 6.2.1 dev: false peerDependencies: acorn: ^6.0.0 @@ -1030,13 +1054,13 @@ packages: hasBin: true resolution: integrity: sha512-T/zvzYRfbVojPWahDsE5evJdHb3oJoQfFbsrKM7w5Zcs++Tr257tia3BmMP8XYVjp1S9RZXQMh7gao96BlqZOw== - /acorn/6.3.0: + /acorn/6.2.1: dev: false engines: node: '>=0.4.0' hasBin: true resolution: - integrity: sha512-/czfa8BwS88b9gWQVhc8eknunSA2DoJpJyTQkhheIf5E48u1N0R4q/YxxsAeqRrmK9TQ/uYfgLDfZo91UlANIA== + integrity: sha512-JD0xT5FCRDNyjDda3Lrg/IxFscp9q4tiYtxE1/nOzlKCk7hIRuYjhq1kCNkbPjMRMZuFq20HNQn1I9k8Oj0E+Q== /adal-node/0.1.28: dependencies: '@types/node': 8.10.51 @@ -1118,14 +1142,12 @@ packages: node: '>=0.10.0' resolution: integrity: sha1-U4rlKK+JgvKK4w2G8vF0VtJgmHM= - /ansi-escapes/4.2.1: - dependencies: - type-fest: 0.5.2 + /ansi-escapes/3.2.0: dev: false engines: - node: '>=8' + node: '>=4' resolution: - integrity: sha512-Cg3ymMAdN10wOk/VYfLV7KCQyv7EDirJ64500sU7n9UlmioEtDuU5Gd+hj73hXSU/ex7tHJSssmyftDdkMLO8Q== + integrity: sha512-cBhpre4ma+U0T1oM5fXg7Dy1Jw7zzwv7lt/GoCpr+hDQJoYnKVPLL4dCvSEFMmQurOQvSrwT7SL/DAlhBI97RQ== /ansi-gray/0.1.1: dependencies: ansi-wrap: 0.1.0 @@ -1283,6 +1305,10 @@ packages: node: '>=0.10.0' resolution: integrity: sha1-p5SvDAWrF1KEbudTofIRoFugxE8= + /array-filter/0.0.1: + dev: false + resolution: + integrity: sha1-fajPLiZijtcygDWB/SH2fKzS7uw= /array-find-index/1.0.2: dev: false engines: @@ -1314,6 +1340,14 @@ packages: node: '>=0.10.0' resolution: integrity: sha512-eOCut5rXlI6aCOS7Z7kCplKRKyiFQ6dHFBem4PwlwKeNFk2/XxTrhRh5T9PyaEWGy/NHTZWbY+nsZlNFJu9rYg== + /array-map/0.0.0: + dev: false + resolution: + integrity: sha1-iKK6tz0c97zVwbEYoAP2b2ZfpmI= + /array-reduce/0.0.0: + dev: false + resolution: + integrity: sha1-FziZ0//Rx9k4PkR5Ul2+J4yrXys= /array-slice/0.2.3: dev: false engines: @@ -1909,7 +1943,7 @@ packages: babel-plugin-transform-regenerator: 6.26.0 browserslist: 3.2.8 invariant: 2.2.4 - semver: 5.7.1 + semver: 5.7.0 dev: false resolution: integrity: sha512-9OR2afuKDneX2/q2EurSftUYM0xGu4O2D9adAhVfADDhrYDaxXV0rBbevVYoY9n6nyX1PmQW/0jtpJvUNr9CHg== @@ -2058,6 +2092,10 @@ packages: node: '>=8' resolution: integrity: sha512-Phlt0plgpIIBOGTT/ehfFnbNlfsDEiqmzE2KRXoX1bLIlir4X/MR+zSyBEkL05ffWgnRSf/DXv+WrUAVr93/ow== + /binary-search-bounds/2.0.3: + dev: false + resolution: + integrity: sha1-X/hhbW3SylOIvIWy1iZuK52lAtw= /blob/0.0.5: dev: false resolution: @@ -2187,7 +2225,7 @@ packages: /browserslist/3.2.8: dependencies: caniuse-lite: 1.0.30000989 - electron-to-chromium: 1.3.225 + electron-to-chromium: 1.3.219 dev: false hasBin: true resolution: @@ -2241,13 +2279,13 @@ packages: dev: false resolution: integrity: sha1-bRu2AbB6TvztlwlBMgkwJ8lbwpg= - /buffer/5.4.0: + /buffer/5.2.1: dependencies: base64-js: 1.3.1 ieee754: 1.1.13 dev: false resolution: - integrity: sha512-Xpgy0IwHK2N01ncykXTy6FpCWuM+CJSHoPVBLyNqyrWxsedpLvwsYUhf0ME3WRFNUhos0dMamz9cOS/xRDtU5g== + integrity: sha512-c+Ko0loDaFfuPWiL02ls9Xd3GO3cPVmUobQ6t3rXNUk304u6hGq+8N/kFi+QEIKhzK3uwolVhLzszmfLmMLnqg== /builtin-modules/3.1.0: dev: false engines: @@ -2277,7 +2315,7 @@ packages: mkdirp: 0.5.1 move-concurrently: 1.0.1 promise-inflight: 1.0.1 - rimraf: 2.7.0 + rimraf: 2.6.3 ssri: 6.0.1 unique-filename: 1.1.1 y18n: 4.0.0 @@ -2480,7 +2518,7 @@ packages: is-wsl: 1.1.0 lighthouse-logger: 1.2.0 mkdirp: 0.5.1 - rimraf: 2.7.0 + rimraf: 2.6.3 dev: false resolution: integrity: sha512-IoQLp64s2n8OQuvKZwt77CscVj3UlV2Dj7yZtd1EBMld9mSdGcsGy9fN5hd/r4vJuWZR09it78n1+A17gB+AIQ== @@ -2530,14 +2568,14 @@ packages: node: '>=0.10.0' resolution: integrity: sha512-qOhPa/Fj7s6TY8H8esGu5QNpMMQxz79h+urzrNYN6mn+9BnxlDGf5QZ+XeCDsxSjPqsSR56XOZOJmpeurnLMeg== - /cli-cursor/3.1.0: + /cli-cursor/2.1.0: dependencies: - restore-cursor: 3.1.0 + restore-cursor: 2.0.0 dev: false engines: - node: '>=8' + node: '>=4' resolution: - integrity: sha512-I/zHAwsKf9FqGoXM4WWRACob9+SNukZTd94DWF57E4toouRulbCxcUh6RKUEOQlYTHJnzkPMySvPNaaSLNfLZw== + integrity: sha1-s12sN2R5+sw+lHR9QdDQ9SOP/LU= /cli-width/2.2.0: dev: false resolution: @@ -2762,7 +2800,7 @@ packages: fs-write-stream-atomic: 1.0.10 iferr: 0.1.5 mkdirp: 0.5.1 - rimraf: 2.7.0 + rimraf: 2.6.3 run-queue: 1.0.3 dev: false resolution: @@ -2785,11 +2823,11 @@ packages: requiresBuild: true resolution: integrity: sha512-HOpZf6eXmnl7la+cUdMnLvUxKNqLUzJvgIziQ0DiF3JwSImNphIqdGqzj6hIKyX04MmV0poclQ7+wjWvxQyR2A== - /core-js/3.2.1: + /core-js/3.1.4: dev: false requiresBuild: true resolution: - integrity: sha512-Qa5XSVefSVPRxy2XfUC13WbvqkxhkwB3ve+pgCQveNgYzbM/UxZeu1dcOX/xr4UmfUd+muuvsaxilQzCyUurMw== + integrity: sha512-YNZN8lt82XIMLnLirj9MhKDFZHalwzzrL9YLt6eb0T5D0EDl4IQ90IGkua8mHbnxNrkj1d8hbdizMc0Qmg1WnQ== /core-util-is/1.0.2: dev: false resolution: @@ -2855,7 +2893,7 @@ packages: dependencies: nice-try: 1.0.5 path-key: 2.0.1 - semver: 5.7.1 + semver: 5.7.0 shebang-command: 1.2.0 which: 1.3.1 dev: false @@ -3222,10 +3260,10 @@ packages: dev: false resolution: integrity: sha1-WQxhFWsK4vTwJVcyoViyZrxWsh0= - /electron-to-chromium/1.3.225: + /electron-to-chromium/1.3.219: dev: false resolution: - integrity: sha512-7W/L3jw7HYE+tUPbcVOGBmnSrlUmyZ/Uyg24QS7Vx0a9KodtNrN0r0Q/LyGHrcYMtw2rv7E49F/vTXwlV/fuaA== + integrity: sha512-xANtM7YNFQGCMl+a0ZceXnPedpAatcIIyDNM56nQKzJFwuCyIzKVtBvLzyMOU0cczwO900TP309EkSeudrGRbQ== /elliptic/6.5.0: dependencies: bn.js: 4.11.8 @@ -3242,10 +3280,6 @@ packages: dev: false resolution: integrity: sha512-CwBLREIQ7LvYFB0WyRvwhq5N5qPhc6PMjD6bYggFlI5YyDgl+0vxq5VHbMOFqLg7hfWzmu8T5Z1QofhmTIhItA== - /emoji-regex/8.0.0: - dev: false - resolution: - integrity: sha512-MSjYzcWNOA0ewAHpz0MxpYFvwg6yjy1NG3xteoqz644VCo/RPgnr1/GGt+ic3iJTzQ8Eu3TdM14SawnVUmGE6A== /emojis-list/2.1.0: dev: false engines: @@ -3431,9 +3465,9 @@ packages: source-map: 0.2.0 resolution: integrity: sha1-WltTr0aTEQvrsIZ6o0MN07cKEBg= - /eslint-config-prettier/6.0.0_eslint@6.1.0: + /eslint-config-prettier/6.0.0_eslint@5.16.0: dependencies: - eslint: 6.1.0 + eslint: 5.16.0 get-stdin: 6.0.0 dev: false hasBin: true @@ -3441,9 +3475,18 @@ packages: eslint: '>=3.14.1' resolution: integrity: sha512-vDrcCFE3+2ixNT5H83g28bO/uYAwibJxerXPj+E7op4qzBCsAV36QfvdAyVOoNxKAH2Os/e01T/2x++V0LPukA== - /eslint-plugin-no-null/1.0.2_eslint@6.1.0: + /eslint-detailed-reporter/0.8.0_eslint@5.16.0: + dependencies: + eslint: 5.16.0 + lodash: 4.17.15 + dev: false + peerDependencies: + eslint: 3.0.0 - 5.9999.9999 + resolution: + integrity: sha512-u/LAPwSQ8udUiWXJ2aYZfvV4gd7uhS77ZctOv8FZ8SDxzEG5aV18dgOTMilT8uEHBJyv3MpGHoQH7A3tXOfm/Q== + /eslint-plugin-no-null/1.0.2_eslint@5.16.0: dependencies: - eslint: 6.1.0 + eslint: 5.16.0 dev: false engines: node: '>=5.0.0' @@ -3466,36 +3509,27 @@ packages: /eslint-scope/4.0.3: dependencies: esrecurse: 4.2.1 - estraverse: 4.3.0 + estraverse: 4.2.0 dev: false engines: node: '>=4.0.0' resolution: integrity: sha512-p7VutNr1O/QrxysMo3E45FjYDTeXBy0iTltPFNSqKAIfjDSXC+4dj+qfyuD8bfAXrW/y6lW3O76VaYNPKfpKrg== - /eslint-scope/5.0.0: - dependencies: - esrecurse: 4.2.1 - estraverse: 4.3.0 - dev: false - engines: - node: '>=8.0.0' - resolution: - integrity: sha512-oYrhJW7S0bxAFDvWqzvMPRm6pcgcnWc4QnofCAqRTRfQC0JcwenzGglTtsLyIuuWFfkqDG9vz67cnttSd53djw== /eslint-utils/1.4.0: dependencies: - eslint-visitor-keys: 1.1.0 + eslint-visitor-keys: 1.0.0 dev: false engines: node: '>=6' resolution: integrity: sha512-7ehnzPaP5IIEh1r1tkjuIrxqhNkzUJa9z3R92tLJdZIVdWaczEhr3EbhGtsMrVxi1KeR8qA7Off6SWc5WNQqyQ== - /eslint-visitor-keys/1.1.0: + /eslint-visitor-keys/1.0.0: dev: false engines: node: '>=4' resolution: - integrity: sha512-8y9YjtM1JBJU/A9Kc+SbaOV4y29sSWckBwMHa+FGtVj5gN/sbnKDf6xJUl+8g7FAij9LVaP8C24DUiH/f/2Z9A== - /eslint/6.1.0: + integrity: sha512-qzm/XxIbxm/FHyH341ZrbnMUpe+5Bocte9xkmFMzPMjRaZMcXww+MpBptFvtU+79L362nqiLhekCxCxDPaUMBQ== + /eslint/5.16.0: dependencies: '@babel/code-frame': 7.5.5 ajv: 6.10.2 @@ -3503,21 +3537,20 @@ packages: cross-spawn: 6.0.5 debug: 4.1.1 doctrine: 3.0.0 - eslint-scope: 5.0.0 + eslint-scope: 4.0.3 eslint-utils: 1.4.0 - eslint-visitor-keys: 1.1.0 - espree: 6.0.0 + eslint-visitor-keys: 1.0.0 + espree: 5.0.1 esquery: 1.0.1 esutils: 2.0.3 file-entry-cache: 5.0.1 functional-red-black-tree: 1.0.1 - glob-parent: 5.0.0 + glob: 7.1.4 globals: 11.12.0 ignore: 4.0.6 import-fresh: 3.1.0 imurmurhash: 0.1.4 - inquirer: 6.5.1 - is-glob: 4.0.1 + inquirer: 6.5.0 js-yaml: 3.13.1 json-stable-stringify-without-jsonify: 1.0.1 levn: 0.3.0 @@ -3526,30 +3559,30 @@ packages: mkdirp: 0.5.1 natural-compare: 1.4.0 optionator: 0.8.2 + path-is-inside: 1.0.2 progress: 2.0.3 regexpp: 2.0.1 - semver: 6.3.0 - strip-ansi: 5.2.0 - strip-json-comments: 3.0.1 + semver: 5.7.0 + strip-ansi: 4.0.0 + strip-json-comments: 2.0.1 table: 5.4.5 text-table: 0.2.0 - v8-compile-cache: 2.1.0 dev: false engines: - node: ^8.10.0 || ^10.13.0 || >=11.10.1 + node: ^6.14.0 || ^8.10.0 || >=9.10.0 hasBin: true resolution: - integrity: sha512-QhrbdRD7ofuV09IuE2ySWBz0FyXCq0rriLTZXZqaWSI79CVtHVRdkFuFTViiqzZhkCgfOh9USpriuGN2gIpZDQ== - /espree/6.0.0: + integrity: sha512-S3Rz11i7c8AA5JPv7xAH+dOyq/Cu/VXHiHXBPOU1k/JAM5dXqQPt3qcrhpHSorXmrpu2g0gkIBVXAqCpzfoZIg== + /espree/5.0.1: dependencies: - acorn: 6.3.0 - acorn-jsx: 5.0.1_acorn@6.3.0 - eslint-visitor-keys: 1.1.0 + acorn: 6.2.1 + acorn-jsx: 5.0.1_acorn@6.2.1 + eslint-visitor-keys: 1.0.0 dev: false engines: node: '>=6.0.0' resolution: - integrity: sha512-lJvCS6YbCn3ImT3yKkPe0+tJ+mH6ljhGNjHQH9mRtiO6gjhVAOhVXW1yjnwqGwTkK3bGbye+hb00nFNmu0l/1Q== + integrity: sha512-qWAZcWh4XE/RwzLJejfcofscgMc9CamR6Tn1+XRXNzrvUSSbiAjGOI/fggztjIi7y9VLPqnICMIPiGyr8JaZ0A== /esprima/2.7.3: dev: false engines: @@ -3566,7 +3599,7 @@ packages: integrity: sha512-eGuFFw7Upda+g4p+QHvnW0RyTX/SVeJBDM/gCtMARO0cLuT2HcEKnTPvhjV6aGeqrCB/sbNop0Kszm0jsaWU4A== /esquery/1.0.1: dependencies: - estraverse: 4.3.0 + estraverse: 4.2.0 dev: false engines: node: '>=0.6' @@ -3574,7 +3607,7 @@ packages: integrity: sha512-SmiyZ5zIWH9VM+SRUReLS5Q8a7GxtRdxEBVZpm98rJM7Sb+A9DVCndXfkeFUd3byderg+EbDkfnevfCwynWaNA== /esrecurse/4.2.1: dependencies: - estraverse: 4.3.0 + estraverse: 4.2.0 dev: false engines: node: '>=4.0' @@ -3586,12 +3619,12 @@ packages: node: '>=0.10.0' resolution: integrity: sha1-r2fy3JIlgkFZUJJgkaQAXSnJu0Q= - /estraverse/4.3.0: + /estraverse/4.2.0: dev: false engines: - node: '>=4.0' + node: '>=0.10.0' resolution: - integrity: sha512-39nnKffWz8xN1BU/2c79n9nB9HDzo0niYUqx6xyqUnyoAnQyyWpOTdZEeiCch8BBu515t4wp9ZmgVfVhn9EBpw== + integrity: sha1-De4/7TH81GlhjOc0IJn8GvoL2xM= /estree-walker/0.5.2: dev: false resolution: @@ -3817,14 +3850,14 @@ packages: dev: false resolution: integrity: sha512-vNKxJHTEKNThjfrdJwHc7brvM6eVevuO5nTj6ez8ZQ1qbXTvGthucRF7S4vf2cr71QVnT70V34v0S1DyQsti0w== - /figures/3.0.0: + /figures/2.0.0: dependencies: escape-string-regexp: 1.0.5 dev: false engines: - node: '>=8' + node: '>=4' resolution: - integrity: sha512-HKri+WoWoUgr83pehn/SIgLOMZ9nAWC6dcGj26RY2R4F50u4+RTUz0RCrUlOV3nKRAICW1UGzyb+kcX2qK1S/g== + integrity: sha1-OrGi0qYsi/tDGgyUy3l6L84nyWI= /file-entry-cache/5.0.1: dependencies: flat-cache: 2.0.1 @@ -4557,10 +4590,12 @@ packages: node: '>=0.10.0' resolution: integrity: sha512-eSmmWE5bZTK2Nou4g0AI3zZ9rswp7GRKoKXS1BLUkvPviOqs4YTN1djQIqrXy9k5gEtdLPy86JjRwsNM9tnDcA== - /hosted-git-info/2.8.4: + /hosted-git-info/2.8.2: + dependencies: + lru-cache: 5.1.1 dev: false resolution: - integrity: sha512-pzXIvANXEFrc5oFFXRMkbLPQ2rXRoDERwDLyrcUxGhaZhgP54BBSl9Oheh7Vv0T090cszWBxPjkQQ5Sq1PbBRQ== + integrity: sha512-CyjlXII6LMsPMyUzxpTt8fzh5QwzGqPmQXgY/Jyf4Zfp27t/FvfhwoE/8laaMUcMy816CkWF20I7NeQhwwY88w== /http-errors/1.7.2: dependencies: depd: 1.1.2 @@ -4711,26 +4746,26 @@ packages: dev: false resolution: integrity: sha512-RZY5huIKCMRWDUqZlEi72f/lmXKMvuszcMBduliQ3nnWbx9X/ZBQO7DijMEYS9EhHBb2qacRUMtC7svLwe0lcw== - /inquirer/6.5.1: + /inquirer/6.5.0: dependencies: - ansi-escapes: 4.2.1 + ansi-escapes: 3.2.0 chalk: 2.4.2 - cli-cursor: 3.1.0 + cli-cursor: 2.1.0 cli-width: 2.2.0 external-editor: 3.1.0 - figures: 3.0.0 + figures: 2.0.0 lodash: 4.17.15 - mute-stream: 0.0.8 + mute-stream: 0.0.7 run-async: 2.3.0 rxjs: 6.5.2 - string-width: 4.1.0 + string-width: 2.1.1 strip-ansi: 5.2.0 through: 2.3.8 dev: false engines: node: '>=6.0.0' resolution: - integrity: sha512-uxNHBeQhRXIoHWTSNYUFhQVrHYFThIt6IVo2fFmSe8aBwdR3/w6b58hJpiL/fMukFkvGzjg+hSxFtwvVmKZmXw== + integrity: sha512-scfHejeG/lVZSpvCXpsB4j/wQNPM5JC8kiElOI0OUTwmc1RTpXr4H32/HOlQHcZiYl2z2VElwuCVDRG8vFmbnA== /interpret/1.2.0: dev: false engines: @@ -4918,12 +4953,6 @@ packages: node: '>=4' resolution: integrity: sha1-o7MKXE8ZkYMWeqq5O+764937ZU8= - /is-fullwidth-code-point/3.0.0: - dev: false - engines: - node: '>=8' - resolution: - integrity: sha512-zymm5+u+sCsSWyD9qNaejV3DFvhCKclKdizYaJUuHA83RLjb7nSuGnddCHGv0hk+KY7BMAlsWeK4Ueg6EV6XQg== /is-generator-function/1.0.7: dev: false engines: @@ -5076,12 +5105,6 @@ packages: node: '>=4' resolution: integrity: sha1-HxbkqiKwTRM2tmGIpmrzxgDDpm0= - /is-wsl/2.1.0: - dev: false - engines: - node: '>=8' - resolution: - integrity: sha512-pFTjpv/x5HRj8kbZ/Msxi9VrvtOMRBqaDi3OIcbwPI3OuH+r3lLxVWukLITBaOGJIbA/w2+M1eVmVa4XNQlAmQ== /isarray/0.0.1: dev: false resolution: @@ -5167,7 +5190,7 @@ packages: debug: 4.1.1 istanbul-lib-coverage: 2.0.5 make-dir: 2.1.0 - rimraf: 2.7.0 + rimraf: 2.6.3 source-map: 0.6.1 dev: false engines: @@ -5313,6 +5336,10 @@ packages: graceful-fs: 4.2.1 resolution: integrity: sha1-h3Gq4HmbZAdrdmQPygWPnBDjPss= + /jsonify/0.0.0: + dev: false + resolution: + integrity: sha1-LHS27kHZPKUbe1qu6PUDYx0lKnM= /jsonparse/1.2.0: dev: false engines: @@ -5367,12 +5394,12 @@ packages: karma: '>=0.10.9' resolution: integrity: sha1-vuWtQEAFF4Ea40u5RfdikJEIt5o= - /karma-chrome-launcher/3.1.0: + /karma-chrome-launcher/3.0.0: dependencies: which: 1.3.1 dev: false resolution: - integrity: sha512-3dPs/n7vgz1rxxtynpzZTvb9y/GIaW8xjAwcIGttLbycqoFtI7yo1NGnQi6oFTherRE+GIhCAHZC4vEqWGhNvg== + integrity: sha512-u/PnVgDOP97AUe/gJeABlC6Wa6aQ83MZsm0JgsJQ5bGQ9XcXON/7b2aRhl59A62Zom+q3PFveBkczc7E1RT7TA== /karma-coverage/1.1.2: dependencies: dateformat: 1.0.12 @@ -5398,12 +5425,10 @@ packages: dev: false resolution: integrity: sha1-u+jIfVnADtt2BwvTwxtLOdXcfhU= - /karma-firefox-launcher/1.2.0: - dependencies: - is-wsl: 2.1.0 + /karma-firefox-launcher/1.1.0: dev: false resolution: - integrity: sha512-j9Zp8M8+VLq1nI/5xZGfzeaEPtGQ/vk3G+Y8vpmFWLvKLNZ2TDjD6cu2dUu7lDbu1HXNgatsAX4jgCZTkR9qhQ== + integrity: sha512-LbZ5/XlIXLeQ3cqnCbYLn+rOVhuMIK9aZwlP6eOLGzWdo1UVp7t6CN3DP4SafiRLjexKwHeKHDm0c38Mtd3VxA== /karma-ie-launcher/1.0.0_karma@4.2.0: dependencies: karma: 4.2.0 @@ -5485,7 +5510,7 @@ packages: integrity: sha1-kTIsd/jxPUb+0GKwQuEAnUxFBdg= /karma-typescript-es6-transform/4.1.1: dependencies: - acorn: 6.3.0 + acorn: 6.2.1 acorn-walk: 6.2.0 babel-core: 6.26.3 babel-preset-env: 1.7.0 @@ -5494,15 +5519,15 @@ packages: dev: false resolution: integrity: sha512-WTGGThwufBT73c20q30iTcXq8Jb3Wat/h+JW1lwKgMtymT5rVxLknoaUVNfenaV3+cRMiTEsBT773kz9jWk6IQ== - /karma-webpack/4.0.2_webpack@4.39.2: + /karma-webpack/4.0.2_webpack@4.39.1: dependencies: clone-deep: 4.0.1 loader-utils: 1.2.3 neo-async: 2.6.1 schema-utils: 1.0.0 source-map: 0.7.3 - webpack: 4.39.2_webpack@4.39.2 - webpack-dev-middleware: 3.7.0_webpack@4.39.2 + webpack: 4.39.1_webpack@4.39.1 + webpack-dev-middleware: 3.7.0_webpack@4.39.1 dev: false engines: node: '>= 8.9.0' @@ -5518,7 +5543,7 @@ packages: chokidar: 3.0.2 colors: 1.3.3 connect: 3.7.0 - core-js: 3.2.1 + core-js: 3.1.4 di: 0.0.1 dom-serialize: 2.2.1 flatted: 2.0.1 @@ -5533,7 +5558,7 @@ packages: optimist: 0.6.1 qjobs: 1.2.0 range-parser: 1.2.1 - rimraf: 2.7.0 + rimraf: 2.6.3 safe-buffer: 5.2.0 socket.io: 2.1.1 source-map: 0.6.1 @@ -5822,7 +5847,7 @@ packages: /make-dir/2.1.0: dependencies: pify: 4.0.1 - semver: 5.7.1 + semver: 5.7.0 dev: false engines: node: '>=6' @@ -6078,6 +6103,12 @@ packages: hasBin: true resolution: integrity: sha512-LRxmNwziLPT828z+4YkNzloCFC2YM4wrB99k+AV5ZbEyfGNWfG8SO1FUXLmLDBSo89NrJZ4DIWeLjy1CHGhMGA== + /mimic-fn/1.2.0: + dev: false + engines: + node: '>=4' + resolution: + integrity: sha512-jf84uxzwiuiIVKiOLpfYk7N46TSy8ubTonmneY9vrpHNAnp0QBt2BxWV9dO3/j+BoVAb+a5G6YDPW3M5HOdMWQ== /mimic-fn/2.1.0: dev: false engines: @@ -6240,7 +6271,7 @@ packages: copy-concurrently: 1.0.5 fs-write-stream-atomic: 1.0.10 mkdirp: 0.5.1 - rimraf: 2.7.0 + rimraf: 2.6.3 run-queue: 1.0.3 dev: false resolution: @@ -6272,10 +6303,10 @@ packages: node: '>= 0.10' resolution: integrity: sha512-kDcwXR4PS7caBpuRYYBUz9iVixUk3anO3f5OYFiIPwK/20vCzKCHyKoulbiDY1S53zD2bxUpxN/IJ+TnXjfvxg== - /mute-stream/0.0.8: + /mute-stream/0.0.7: dev: false resolution: - integrity: sha512-nnbWWOkoWyUsTjKrhgD0dcz22mdkSnpYqbEjIm2nhwhuxlSkpywJmBo8h0ZqJdkp73mb90SssHkN4rsRaBAfAA== + integrity: sha1-MHXOk7whuPq0PhvE2n6BFe0ee6s= /nan/2.14.0: dev: false optional: true @@ -6370,7 +6401,7 @@ packages: mkdirp: 0.5.1 propagate: 1.0.0 qs: 6.7.0 - semver: 5.7.1 + semver: 5.7.0 dev: false engines: node: '>= 6.0' @@ -6402,7 +6433,7 @@ packages: stream-browserify: 2.0.2 stream-http: 2.8.3 string_decoder: 1.3.0 - timers-browserify: 2.0.11 + timers-browserify: 2.0.10 tty-browserify: 0.0.0 url: 0.11.0 util: 0.11.1 @@ -6419,9 +6450,9 @@ packages: integrity: sha1-xkZdvwirzU2zWTF/eaxopkayj/k= /normalize-package-data/2.5.0: dependencies: - hosted-git-info: 2.8.4 + hosted-git-info: 2.8.2 resolve: 1.12.0 - semver: 5.7.1 + semver: 5.7.0 validate-npm-package-license: 3.0.4 dev: false resolution: @@ -6457,7 +6488,7 @@ packages: minimatch: 3.0.4 pidtree: 0.3.0 read-pkg: 3.0.0 - shell-quote: 1.7.1 + shell-quote: 1.6.1 string.prototype.padend: 3.0.0 dev: false engines: @@ -6499,7 +6530,7 @@ packages: make-dir: 2.1.0 merge-source-map: 1.1.0 resolve-from: 4.0.0 - rimraf: 2.7.0 + rimraf: 2.6.3 signal-exit: 3.0.2 spawn-wrap: 1.4.2 test-exclude: 5.2.3 @@ -6623,14 +6654,14 @@ packages: dev: false resolution: integrity: sha1-WDsap3WWHUsROsF9nFC6753Xa9E= - /onetime/5.1.0: + /onetime/2.0.1: dependencies: - mimic-fn: 2.1.0 + mimic-fn: 1.2.0 dev: false engines: - node: '>=6' + node: '>=4' resolution: - integrity: sha512-5NcSkPHhwTVFIQN+TUqXoS5+dlElHXdpAWu9I0HP20YOtIi+aZ0Ct82jdlILDxjLEAWwvm+qj1m6aEtsDVmm6Q== + integrity: sha1-BnQoIw/WdEOyeUsiu6UotoZ5YtQ= /open/6.4.0: dependencies: is-wsl: 1.1.0 @@ -6898,6 +6929,10 @@ packages: node: '>=0.10.0' resolution: integrity: sha1-F0uSaHNVNP+8es5r9TpanhtcX18= + /path-is-inside/1.0.2: + dev: false + resolution: + integrity: sha1-NlQX3t5EQw0cEa9hAn+s8HS9/FM= /path-key/2.0.1: dev: false engines: @@ -7075,6 +7110,10 @@ packages: node: '>= 0.8' resolution: integrity: sha1-t+PqQkNaTJsnWdmeDyAesZWALuE= + /priorityqueuejs/1.0.0: + dev: false + resolution: + integrity: sha1-LuTyPCVgkT4IwHzlzN1t498sWvg= /private/0.1.8: dev: false engines: @@ -7209,7 +7248,7 @@ packages: mime: 2.4.4 progress: 2.0.3 proxy-from-env: 1.0.0 - rimraf: 2.7.0 + rimraf: 2.6.3 ws: 6.2.1 dev: false engines: @@ -7591,6 +7630,13 @@ packages: dev: false resolution: integrity: sha512-NKN5kMDylKuldxYLSUfrbo5Tuzh4hd+2E8NPPX02mZtn1VuREQToYe/ZdlJy+J3uCpfaiGF05e7B8W0iXbQHmg== + /requirejs/2.3.6: + dev: false + engines: + node: '>=0.4.0' + hasBin: true + resolution: + integrity: sha512-ipEzlWQe6RK3jkzikgCupiTbTvm4S0/CAU5GlgptkN5SO6F3u0UD0K18wy6ErDqiCyP4J4YYe1HuAShvsxePLg== /requires-port/1.0.0: dev: false resolution: @@ -7652,15 +7698,15 @@ packages: dev: false resolution: integrity: sha512-AicPrAC7Qu1JxPCZ9ZgCZlY35QgFnNqc+0LtbRNxnVw4TXvjQ72wnuL9JQcEBgXkI9JM8MsT9kaQoHcpCRJOYA== - /restore-cursor/3.1.0: + /restore-cursor/2.0.0: dependencies: - onetime: 5.1.0 + onetime: 2.0.1 signal-exit: 3.0.2 dev: false engines: - node: '>=8' + node: '>=4' resolution: - integrity: sha512-l+sSefzHpj5qimhFSE5a8nufZYAM3sBSVMAPtYkmC+4EH2anSGaEMXSD0izRQbu9nfyQ9y5JrVmp7E8oZrUjvA== + integrity: sha1-n37ih/gv0ybU/RYpI9YhKe7g368= /ret/0.1.15: dev: false engines: @@ -7700,13 +7746,6 @@ packages: hasBin: true resolution: integrity: sha512-mwqeW5XsA2qAejG46gYdENaxXjx9onRNCfn7L0duuP4hCuTIi/QO7PDK07KJfp1d+izWPrzEJDcSqBa0OZQriA== - /rimraf/2.7.0: - dependencies: - glob: 7.1.4 - dev: false - hasBin: true - resolution: - integrity: sha512-4Liqw7ccABzsWV5BzeZeGRSq7KWIgQYzOcmRDEwSX4WAawlQpcAFXZ1Kid72XYrjSnK5yxOS6Gez/iGusYE/Pw== /ripemd160/2.0.2: dependencies: hash-base: 3.0.4 @@ -7812,7 +7851,7 @@ packages: rollup: 1.19.4 rollup-pluginutils: 2.8.1 serialize-javascript: 1.7.0 - terser: 4.1.4 + terser: 4.1.3 dev: false peerDependencies: rollup: '>=0.66.0 <2' @@ -7853,8 +7892,8 @@ packages: /rollup/1.19.4: dependencies: '@types/estree': 0.0.39 - '@types/node': 12.7.1 - acorn: 6.3.0 + '@types/node': 12.7.0 + acorn: 6.2.1 dev: false hasBin: true resolution: @@ -7917,6 +7956,12 @@ packages: node: '>= 4' resolution: integrity: sha512-i27Mic4KovM/lnGsy8whRCHhc7VicJajAjTrYg11K9zfZXnYIt4k5F+kZkwjnrhKzLic/HLU4j11mjsz2G/75g== + /semaphore/1.0.5: + dev: false + engines: + node: '>=0.8.0' + resolution: + integrity: sha1-tJJXbmavGT25XWXiXsU/Xxl5jWA= /semver-greatest-satisfied-range/1.1.0: dependencies: sver-compat: 1.5.0 @@ -7925,11 +7970,16 @@ packages: node: '>= 0.10' resolution: integrity: sha1-E+jCZYq5aRywzXEJMkAoDTb3els= - /semver/5.7.1: + /semver/5.5.0: dev: false hasBin: true resolution: - integrity: sha512-sauaDf/PZdVgrLTNYHRtpXa1iRiKcaebiKQ1BJdpQlWH2lCvexQdX55snPFyK7QzpudqbCI0qXFfOasHdyNDGQ== + integrity: sha512-4SJ3dm0WAwWy/NVeioZh5AntkdJoWKxHxcmyP622fOkgHa4z3R0TdBJICINyaSDE6uNwVc8gZr+ZinwZAH4xIA== + /semver/5.7.0: + dev: false + hasBin: true + resolution: + integrity: sha512-Ya52jSX2u7QKghxeoFGpLwCtGlt7j0oY9DYb5apt9nPlJ42ID+ulTXESnt/qAQcoSERyZ5sl3LDIOw0nAn/5DA== /semver/6.3.0: dev: false hasBin: true @@ -8023,10 +8073,15 @@ packages: node: '>=0.10.0' resolution: integrity: sha1-2kL0l0DAtC2yypcoVxyxkMmO/qM= - /shell-quote/1.7.1: + /shell-quote/1.6.1: + dependencies: + array-filter: 0.0.1 + array-map: 0.0.0 + array-reduce: 0.0.0 + jsonify: 0.0.0 dev: false resolution: - integrity: sha512-2kUqeAGnMAu6YrTPX4E3LfxacH9gKljzVjlkUeSqY0soGwK4KLl7TURXCem712tkhBCeeaFP9QK4dKn88s3Icg== + integrity: sha1-9HgZSczkAmlxJ0MOo7PFR29IF2c= /shelljs/0.8.3: dependencies: glob: 7.1.4 @@ -8235,7 +8290,7 @@ packages: foreground-child: 1.5.6 mkdirp: 0.5.1 os-homedir: 1.0.2 - rimraf: 2.7.0 + rimraf: 2.6.3 signal-exit: 3.0.2 which: 1.3.1 dev: false @@ -8388,26 +8443,25 @@ packages: node: '>=0.10.0' resolution: integrity: sha1-EYvfW4zcUaKn5w0hHgfisLmxB9M= - /string-width/3.1.0: + /string-width/2.1.1: dependencies: - emoji-regex: 7.0.3 is-fullwidth-code-point: 2.0.0 - strip-ansi: 5.2.0 + strip-ansi: 4.0.0 dev: false engines: - node: '>=6' + node: '>=4' resolution: - integrity: sha512-vafcv6KjVZKSgz06oM/H6GDBrAtz8vdhQakGjFIvNrHA6y3HCF1CInLy+QLq8dTJPQ1b+KDUqDFctkdRW44e1w== - /string-width/4.1.0: + integrity: sha512-nOqH59deCq9SRHlxq1Aw85Jnt4w6KvLKqWVik6oA9ZklXLNIOlqg4F2yrT1MVaTjAqvVwdfeZ7w7aCvJD7ugkw== + /string-width/3.1.0: dependencies: - emoji-regex: 8.0.0 - is-fullwidth-code-point: 3.0.0 + emoji-regex: 7.0.3 + is-fullwidth-code-point: 2.0.0 strip-ansi: 5.2.0 dev: false engines: - node: '>=8' + node: '>=6' resolution: - integrity: sha512-NrX+1dVVh+6Y9dnQ19pR0pP4FiEIlUvdTGn8pw6CKTNq5sgib2nIhmUNT5TAmhWmvKr3WcxBcP3E8nWezuipuQ== + integrity: sha512-vafcv6KjVZKSgz06oM/H6GDBrAtz8vdhQakGjFIvNrHA6y3HCF1CInLy+QLq8dTJPQ1b+KDUqDFctkdRW44e1w== /string.prototype.padend/3.0.0: dependencies: define-properties: 1.1.3 @@ -8493,12 +8547,12 @@ packages: node: '>=4' resolution: integrity: sha1-XvjbKV0B5u1sv3qrlpmNeCJSe2g= - /strip-json-comments/3.0.1: + /strip-json-comments/2.0.1: dev: false engines: - node: '>=8' + node: '>=0.10.0' resolution: - integrity: sha512-VTyMAUfdm047mwKl+u79WIdrZxtFtn+nBxHeb844XBQ9uMNTuTHdx2hc5RiAJYqwTj3wc/xe5HLSdJSkJ+WfZw== + integrity: sha1-PFMZQukIwml8DsNEhYwobHygpgo= /supports-color/2.0.0: dev: false engines: @@ -8561,7 +8615,7 @@ packages: node: '>=6' resolution: integrity: sha512-4WK/bYZmj8xLr+HUCODHGF1ZFzsYffasLUgEiMBY4fgtltdO6B4WJtlSbPaDTLpYTcGVwM2qLnFTICEcNxs3kA== - /terser-webpack-plugin/1.4.1_webpack@4.39.2: + /terser-webpack-plugin/1.4.1_webpack@4.39.1: dependencies: cacache: 12.0.2 find-cache-dir: 2.1.0 @@ -8569,8 +8623,8 @@ packages: schema-utils: 1.0.0 serialize-javascript: 1.7.0 source-map: 0.6.1 - terser: 4.1.4 - webpack: 4.39.2_webpack@4.39.2 + terser: 4.1.3 + webpack: 4.39.1_webpack@4.39.1 webpack-sources: 1.4.3 worker-farm: 1.7.0 dev: false @@ -8580,7 +8634,7 @@ packages: webpack: ^4.0.0 resolution: integrity: sha512-ZXmmfiwtCLfz8WKZyYUuuHf3dMYEjg8NrjHMb0JqHVHVOSkzp3cW2/XG1fP3tRhqEqSzMwzzRQGtAPbs4Cncxg== - /terser/4.1.4: + /terser/4.1.3: dependencies: commander: 2.20.0 source-map: 0.6.1 @@ -8590,7 +8644,7 @@ packages: node: '>=6.0.0' hasBin: true resolution: - integrity: sha512-+ZwXJvdSwbd60jG0Illav0F06GDJF0R4ydZ21Q3wGAFKoBGyJGo34F63vzJHgvYxc1ukOtIjvwEvl9MkjzM6Pg== + integrity: sha512-on13d+cnpn5bMouZu+J8tPYQecsdRJCJuxFJ+FVoPBoLJgk5bCBkp+Uen2hWyi0KIUm6eDarnlAlH+KgIx/PuQ== /test-exclude/5.2.3: dependencies: glob: 7.1.4 @@ -8643,14 +8697,14 @@ packages: node: '>=0.10.0' resolution: integrity: sha1-dkpaEa9QVhkhsTPztE5hhofg9cM= - /timers-browserify/2.0.11: + /timers-browserify/2.0.10: dependencies: setimmediate: 1.0.5 dev: false engines: node: '>=0.6.0' resolution: - integrity: sha512-60aV6sgJ5YEbzUdn9c8kYGIqOubPoUdqQCul3SBAsRCZ40s6Y5cMcrW4dt3/k/EsbLVJNl9n6Vz3fTc+k2GeKQ== + integrity: sha512-YvC1SV1XdOUaL6gx5CoGroT3Gu49pK9+TZ38ErPldOWW4j49GI1HKs9DV+KGq/w6y+LZ72W1c8cKz2vzY+qpzg== /tmp/0.0.33: dependencies: os-tmpdir: 1.0.2 @@ -8905,12 +8959,6 @@ packages: node: '>=4' resolution: integrity: sha512-0fr/mIH1dlO+x7TlcMy+bIDqKPsw/70tVyeHW787goQjhmqaZe10uwLujubK9q9Lg6Fiho1KUKDYz0Z7k7g5/g== - /type-fest/0.5.2: - dev: false - engines: - node: '>=6' - resolution: - integrity: sha512-DWkS49EQKVX//Tbupb9TFa19c7+MK1XmzkrZUR8TAktmE/DizXoaoJV6TZ/tSIPXipqNiRI6CyAe7x69Jb6RSw== /type-is/1.6.18: dependencies: media-typer: 0.3.0 @@ -9113,10 +9161,6 @@ packages: dev: false resolution: integrity: sha512-CNmdbwQMBjwr9Gsmohvm0pbL954tJrNzf6gWL3K+QMQf00PF7ERGrEiLgjuU3mKreLC2MeGhUsNV9ybTbLgd3w== - /v8-compile-cache/2.1.0: - dev: false - resolution: - integrity: sha512-usZBT3PW+LOjM25wbqIlZwPeJV+3OSz3M1k1Ws8snlW39dZyYL9lOGC5FgPVHfk0jKmjiDV8Z0mIbVQPiwFs7g== /v8flags/3.1.3: dependencies: homedir-polyfill: 1.0.3 @@ -9239,7 +9283,7 @@ packages: dev: false resolution: integrity: sha512-i6dHe3EyLjMmDlU1/bGQpEw25XSjkJULPuAVKCbNRefQVq48yXKUpwg538F7AZTf9kyr57zj++pQFltUa5H7yA== - /webpack-cli/3.3.6_webpack@4.39.2: + /webpack-cli/3.3.6_webpack@4.39.1: dependencies: chalk: 2.4.2 cross-spawn: 6.0.5 @@ -9251,7 +9295,7 @@ packages: loader-utils: 1.2.3 supports-color: 6.1.0 v8-compile-cache: 2.0.3 - webpack: 4.39.2_webpack@4.39.2 + webpack: 4.39.1_webpack@4.39.1 yargs: 13.2.4 dev: false engines: @@ -9261,12 +9305,12 @@ packages: webpack: 4.x.x resolution: integrity: sha512-0vEa83M7kJtxK/jUhlpZ27WHIOndz5mghWL2O53kiDoA9DIxSKnfqB92LoqEn77cT4f3H2cZm1BMEat/6AZz3A== - /webpack-dev-middleware/3.7.0_webpack@4.39.2: + /webpack-dev-middleware/3.7.0_webpack@4.39.1: dependencies: memory-fs: 0.4.1 mime: 2.4.4 range-parser: 1.2.1 - webpack: 4.39.2_webpack@4.39.2 + webpack: 4.39.1_webpack@4.39.1 webpack-log: 2.0.0 dev: false engines: @@ -9291,13 +9335,13 @@ packages: dev: false resolution: integrity: sha512-lgTS3Xhv1lCOKo7SA5TjKXMjpSM4sBjNV5+q2bqesbSPs5FjGmU6jjtBSkX9b4qW87vDIsCIlUPOEhbZrMdjeQ== - /webpack/4.39.2_webpack@4.39.2: + /webpack/4.39.1_webpack@4.39.1: dependencies: '@webassemblyjs/ast': 1.8.5 '@webassemblyjs/helper-module-context': 1.8.5 '@webassemblyjs/wasm-edit': 1.8.5 '@webassemblyjs/wasm-parser': 1.8.5 - acorn: 6.3.0 + acorn: 6.2.1 ajv: 6.10.2 ajv-keywords: 3.4.1_ajv@6.10.2 chrome-trace-event: 1.0.2 @@ -9313,7 +9357,7 @@ packages: node-libs-browser: 2.2.1 schema-utils: 1.0.0 tapable: 1.1.3 - terser-webpack-plugin: 1.4.1_webpack@4.39.2 + terser-webpack-plugin: 1.4.1_webpack@4.39.1 watchpack: 1.6.0 webpack-sources: 1.4.3 dev: false @@ -9323,7 +9367,7 @@ packages: peerDependencies: webpack: '*' resolution: - integrity: sha512-AKgTfz3xPSsEibH00JfZ9sHXGUwIQ6eZ9tLN8+VLzachk1Cw2LVmy+4R7ZiwTa9cZZ15tzySjeMui/UnSCAZhA== + integrity: sha512-/LAb2TJ2z+eVwisldp3dqTEoNhzp/TLCZlmZm3GGGAlnfIWDgOEE758j/9atklNLfRyhKbZTCOIoPqLJXeBLbQ== /which-module/1.0.0: dev: false resolution: @@ -9408,12 +9452,12 @@ packages: dev: false resolution: integrity: sha512-GIyAXC2cB7LjvpgMt9EKS2ldqr0MTrORaleiOno6TweZ6r3TKtoFQWay/2PceJ3RuBasOHzXNn5Lrw1X0bEjqA== - /ws/7.1.2: + /ws/7.1.1: dependencies: async-limiter: 1.0.1 dev: false resolution: - integrity: sha512-gftXq3XI81cJCgkUiAVixA0raD9IVmXqsylCrjRygw4+UOOGzPoxnQ6r/CnVL9i+mDncJo94tSkyrtuuQVBmrg== + integrity: sha512-o41D/WmDeca0BqYhsr3nJzQyg9NF5X8l/UdnFNux9cS3lwB+swm8qGWX5rn+aD6xfBU3rGmtHij7g7x6LxFU3A== /xhr-mock/2.5.0: dependencies: global: 4.4.0 @@ -9606,25 +9650,26 @@ packages: integrity: sha512-DUOKC/IhbkdLKKiV89gw9DUauTV8U/8yJl1sjf6MtDmzevLKOF2duNJ495S3MFVjqZarr+qNGCPbkg4mu4PpLw== 'file:projects/abort-controller.tgz': dependencies: - '@microsoft/api-extractor': 7.3.8 + '@microsoft/api-extractor': 7.3.5 '@types/mocha': 5.2.7 '@types/node': 8.10.51 - '@typescript-eslint/eslint-plugin': 2.0.0_2597c16b46d7eff3ec2c0c583ca4ae44 - '@typescript-eslint/parser': 2.0.0_eslint@6.1.0 + '@typescript-eslint/eslint-plugin': 1.13.0_0b5e999c52a893676e7127c05369c7b6 + '@typescript-eslint/parser': 1.13.0_eslint@5.16.0 assert: 1.5.0 cross-env: 5.2.0 delay: 4.3.0 - eslint: 6.1.0 - eslint-config-prettier: 6.0.0_eslint@6.1.0 - eslint-plugin-no-null: 1.0.2_eslint@6.1.0 + eslint: 5.16.0 + eslint-config-prettier: 6.0.0_eslint@5.16.0 + eslint-detailed-reporter: 0.8.0_eslint@5.16.0 + eslint-plugin-no-null: 1.0.2_eslint@5.16.0 eslint-plugin-no-only-tests: 2.3.1 eslint-plugin-promise: 4.2.1 karma: 4.2.0 - karma-chrome-launcher: 3.1.0 + karma-chrome-launcher: 3.0.0 karma-coverage: 1.1.2 karma-edge-launcher: 0.4.2_karma@4.2.0 karma-env-preprocessor: 0.1.1 - karma-firefox-launcher: 1.2.0 + karma-firefox-launcher: 1.1.0 karma-ie-launcher: 1.0.0_karma@4.2.0 karma-junit-reporter: 1.2.0_karma@4.2.0 karma-mocha: 1.3.0 @@ -9635,7 +9680,7 @@ packages: mocha-multi-reporters: 1.1.7 nyc: 14.1.1 prettier: 1.18.2 - rimraf: 2.7.0 + rimraf: 2.6.3 rollup: 1.19.4 rollup-plugin-commonjs: 10.0.2_rollup@1.19.4 rollup-plugin-multi-entry: 2.1.0 @@ -9649,7 +9694,7 @@ packages: dev: false name: '@rush-temp/abort-controller' resolution: - integrity: sha512-BoVxHViVS71lSi8IASIY6SKhDSjSoG1xLh/P1D8yG0LGNECg2BU9pm2WwXs5qIOWtg5+zIvJqA4YAWK7F/d0Ig== + integrity: sha512-MMUffH4NZW/NawCA13C0bdKqjytoja1BQSwuA7bQHzMmINYCA+3lE9scchzm8CV5N5RIdtPPABCTkPAdI/2w6A== tarball: 'file:projects/abort-controller.tgz' version: 0.0.0 'file:projects/core-amqp.tgz': @@ -9657,8 +9702,8 @@ packages: '@azure/abort-controller': 1.0.0-preview.1 '@azure/core-auth': 1.0.0-preview.2 '@types/async-lock': 1.1.1 - '@types/chai': 4.2.0 - '@types/chai-as-promised': 7.1.2 + '@types/chai': 4.1.7 + '@types/chai-as-promised': 7.1.1 '@types/debug': 0.0.31 '@types/dotenv': 6.1.1 '@types/is-buffer': 2.0.0 @@ -9666,26 +9711,27 @@ packages: '@types/mocha': 5.2.7 '@types/node': 8.10.51 '@types/sinon': 7.0.13 - '@typescript-eslint/eslint-plugin': 2.0.0_2597c16b46d7eff3ec2c0c583ca4ae44 - '@typescript-eslint/parser': 2.0.0_eslint@6.1.0 + '@typescript-eslint/eslint-plugin': 1.13.0_0b5e999c52a893676e7127c05369c7b6 + '@typescript-eslint/parser': 1.13.0_eslint@5.16.0 assert: 1.5.0 async-lock: 1.2.2 - buffer: 5.4.0 + buffer: 5.2.1 chai: 4.2.0 chai-as-promised: 7.1.1_chai@4.2.0 cross-env: 5.2.0 debug: 3.2.6 dotenv: 8.0.0 - eslint: 6.1.0 - eslint-config-prettier: 6.0.0_eslint@6.1.0 - eslint-plugin-no-null: 1.0.2_eslint@6.1.0 + eslint: 5.16.0 + eslint-config-prettier: 6.0.0_eslint@5.16.0 + eslint-detailed-reporter: 0.8.0_eslint@5.16.0 + eslint-plugin-no-null: 1.0.2_eslint@5.16.0 eslint-plugin-no-only-tests: 2.3.1 eslint-plugin-promise: 4.2.1 events: 3.0.0 is-buffer: 2.0.3 jssha: 2.3.1 karma: 4.2.0 - karma-chrome-launcher: 3.1.0 + karma-chrome-launcher: 3.0.0 karma-mocha: 1.3.0 mocha: 5.2.0 mocha-junit-reporter: 1.23.1_mocha@5.2.0 @@ -9696,7 +9742,7 @@ packages: puppeteer: 1.19.0 rhea: 1.0.8 rhea-promise: 1.0.0 - rimraf: 2.7.0 + rimraf: 2.6.3 rollup: 1.19.4 rollup-plugin-commonjs: 10.0.2_rollup@1.19.4 rollup-plugin-inject: 3.0.1 @@ -9715,25 +9761,26 @@ packages: typescript: 3.5.3 url: 0.11.0 util: 0.12.1 - ws: 7.1.2 + ws: 7.1.1 dev: false name: '@rush-temp/core-amqp' resolution: - integrity: sha512-p54+559mlj4EW2LkAJgJBjUyFRJ8HdKgtQrcM73S/0ULC9okROg/EV/cfRm64TdQcHj+UZw1UijG4CRdmrMJCA== + integrity: sha512-IMcjrA174Vhx0YMmlVOokpIqGdPX+18gFxJeCsGpMp9S4mqd0c/TsXU+3fjvdJGHaxJzvqoyrzrdjxMaoAASYw== tarball: 'file:projects/core-amqp.tgz' version: 0.0.0 'file:projects/core-arm.tgz': dependencies: '@azure/core-http': 1.0.0-preview.2 - '@types/chai': 4.2.0 + '@types/chai': 4.1.7 '@types/mocha': 5.2.7 '@types/node': 8.10.51 - '@typescript-eslint/eslint-plugin': 2.0.0_2597c16b46d7eff3ec2c0c583ca4ae44 - '@typescript-eslint/parser': 2.0.0_eslint@6.1.0 + '@typescript-eslint/eslint-plugin': 1.13.0_0b5e999c52a893676e7127c05369c7b6 + '@typescript-eslint/parser': 1.13.0_eslint@5.16.0 chai: 4.2.0 - eslint: 6.1.0 - eslint-config-prettier: 6.0.0_eslint@6.1.0 - eslint-plugin-no-null: 1.0.2_eslint@6.1.0 + eslint: 5.16.0 + eslint-config-prettier: 6.0.0_eslint@5.16.0 + eslint-detailed-reporter: 0.8.0_eslint@5.16.0 + eslint-plugin-no-null: 1.0.2_eslint@5.16.0 eslint-plugin-no-only-tests: 2.3.1 eslint-plugin-promise: 4.2.1 mocha: 5.2.0 @@ -9741,7 +9788,7 @@ packages: mocha-multi-reporters: 1.1.7 npm-run-all: 4.1.5 nyc: 14.1.1 - rimraf: 2.7.0 + rimraf: 2.6.3 rollup: 1.19.4 rollup-plugin-node-resolve: 5.2.0_rollup@1.19.4 rollup-plugin-sourcemaps: 0.4.2_rollup@1.19.4 @@ -9755,17 +9802,18 @@ packages: dev: false name: '@rush-temp/core-arm' resolution: - integrity: sha512-qK9sLw1l0fSEK3j/tZEc/GaMZ68SG/c2/vGOmhH4sNbC6rMgbUZXCl5dRZR5QVaSROXIDnfxr4v6bDWXLnMRsQ== + integrity: sha512-zS4qSLcPPe/3Ngb8XWVfkuntVkN/f8c1gUYkXo+Wv/743A+OIJk+SopB3ImRY6jXLjyfjnsoX8w1Q2RM3guahQ== tarball: 'file:projects/core-arm.tgz' version: 0.0.0 'file:projects/core-asynciterator-polyfill.tgz': dependencies: '@types/node': 8.10.51 - '@typescript-eslint/eslint-plugin': 2.0.0_2597c16b46d7eff3ec2c0c583ca4ae44 - '@typescript-eslint/parser': 2.0.0_eslint@6.1.0 - eslint: 6.1.0 - eslint-config-prettier: 6.0.0_eslint@6.1.0 - eslint-plugin-no-null: 1.0.2_eslint@6.1.0 + '@typescript-eslint/eslint-plugin': 1.13.0_0b5e999c52a893676e7127c05369c7b6 + '@typescript-eslint/parser': 1.13.0_eslint@5.16.0 + eslint: 5.16.0 + eslint-config-prettier: 6.0.0_eslint@5.16.0 + eslint-detailed-reporter: 0.8.0_eslint@5.16.0 + eslint-plugin-no-null: 1.0.2_eslint@5.16.0 eslint-plugin-no-only-tests: 2.3.1 eslint-plugin-promise: 4.2.1 prettier: 1.18.2 @@ -9773,22 +9821,23 @@ packages: dev: false name: '@rush-temp/core-asynciterator-polyfill' resolution: - integrity: sha512-X2qR67x/Wgwcs8VjH/m3EA7HFB22mL2sf9YJCvpdIUXvz5ENGH54U4TC8IAc2AxcqlKjOi1pwFUAf9yBf4nAJQ== + integrity: sha512-eM85h9SCt/WXjcDWnOd1RZAKQWwPRSpsOgNeNHm/RZ84rEDmAp/8Lv1t1vaJLLqn6bExzexX/a3MjS57kuNY/g== tarball: 'file:projects/core-asynciterator-polyfill.tgz' version: 0.0.0 'file:projects/core-auth.tgz': dependencies: '@azure/abort-controller': 1.0.0-preview.1 - '@microsoft/api-extractor': 7.3.8 + '@microsoft/api-extractor': 7.3.5 '@types/mocha': 5.2.7 '@types/node': 8.10.51 - '@typescript-eslint/eslint-plugin': 2.0.0_2597c16b46d7eff3ec2c0c583ca4ae44 - '@typescript-eslint/parser': 2.0.0_eslint@6.1.0 + '@typescript-eslint/eslint-plugin': 1.13.0_0b5e999c52a893676e7127c05369c7b6 + '@typescript-eslint/parser': 1.13.0_eslint@5.16.0 assert: 1.5.0 cross-env: 5.2.0 - eslint: 6.1.0 - eslint-config-prettier: 6.0.0_eslint@6.1.0 - eslint-plugin-no-null: 1.0.2_eslint@6.1.0 + eslint: 5.16.0 + eslint-config-prettier: 6.0.0_eslint@5.16.0 + eslint-detailed-reporter: 0.8.0_eslint@5.16.0 + eslint-plugin-no-null: 1.0.2_eslint@5.16.0 eslint-plugin-no-only-tests: 2.3.1 eslint-plugin-promise: 4.2.1 inherits: 2.0.4 @@ -9796,7 +9845,7 @@ packages: mocha-junit-reporter: 1.23.1_mocha@5.2.0 mocha-multi: 1.1.0_mocha@5.2.0 prettier: 1.18.2 - rimraf: 2.7.0 + rimraf: 2.6.3 rollup: 1.19.4 rollup-plugin-commonjs: 10.0.2_rollup@1.19.4 rollup-plugin-json: 4.0.0 @@ -9812,14 +9861,14 @@ packages: dev: false name: '@rush-temp/core-auth' resolution: - integrity: sha512-poIE3YcALUSumoWHzEPa4NytNulJKfa/FEJrnk8iZaMA+sRXPJTtdWWgdUQ2ZAvUcFvRjbE4wphJiYN7NqrTqw== + integrity: sha512-BzCXSUB2kZHpKe4LcJmw1ttav09XKk0gCebGj3pric2r8D4dKZIpzS5KRJ+t+X8TcyupVuBv2kx/U2ZeTTX6QA== tarball: 'file:projects/core-auth.tgz' version: 0.0.0 'file:projects/core-http.tgz': dependencies: '@azure/core-auth': 1.0.0-preview.2 '@azure/logger-js': 1.3.2 - '@types/chai': 4.2.0 + '@types/chai': 4.1.7 '@types/express': 4.17.0 '@types/glob': 7.1.1 '@types/karma': 3.0.3 @@ -9833,15 +9882,16 @@ packages: '@types/webpack': 4.32.1 '@types/webpack-dev-middleware': 2.0.3 '@types/xml2js': 0.4.4 - '@typescript-eslint/eslint-plugin': 2.0.0_2597c16b46d7eff3ec2c0c583ca4ae44 - '@typescript-eslint/parser': 2.0.0_eslint@6.1.0 + '@typescript-eslint/eslint-plugin': 1.13.0_0b5e999c52a893676e7127c05369c7b6 + '@typescript-eslint/parser': 1.13.0_eslint@5.16.0 abortcontroller-polyfill: 1.3.0 axios: 0.19.0 axios-mock-adapter: 1.17.0_axios@0.19.0 chai: 4.2.0 - eslint: 6.1.0 - eslint-config-prettier: 6.0.0_eslint@6.1.0 - eslint-plugin-no-null: 1.0.2_eslint@6.1.0 + eslint: 5.16.0 + eslint-config-prettier: 6.0.0_eslint@5.16.0 + eslint-detailed-reporter: 0.8.0_eslint@5.16.0 + eslint-plugin-no-null: 1.0.2_eslint@5.16.0 eslint-plugin-no-only-tests: 2.3.1 eslint-plugin-promise: 4.2.1 express: 4.17.1 @@ -9849,12 +9899,12 @@ packages: glob: 7.1.4 karma: 4.2.0 karma-chai: 0.1.0_chai@4.2.0+karma@4.2.0 - karma-chrome-launcher: 3.1.0 + karma-chrome-launcher: 3.0.0 karma-mocha: 1.3.0 karma-rollup-preprocessor: 7.0.2_rollup@1.19.4 karma-sourcemap-loader: 0.3.7 karma-typescript-es6-transform: 4.1.1 - karma-webpack: 4.0.2_webpack@4.39.2 + karma-webpack: 4.0.2_webpack@4.39.1 mocha: 5.2.0 mocha-chrome: 2.0.0 mocha-junit-reporter: 1.23.1_mocha@5.2.0 @@ -9863,7 +9913,7 @@ packages: nyc: 14.1.1 process: 0.11.10 puppeteer: 1.19.0 - rimraf: 2.7.0 + rimraf: 2.6.3 rollup: 1.19.4 rollup-plugin-alias: 1.5.2 rollup-plugin-commonjs: 10.0.2_rollup@1.19.4 @@ -9873,7 +9923,7 @@ packages: rollup-plugin-resolve: 0.0.1-predev.1 rollup-plugin-sourcemaps: 0.4.2_rollup@1.19.4 rollup-plugin-visualizer: 2.5.4_rollup@1.19.4 - semver: 5.7.1 + semver: 5.7.0 shx: 0.3.2 sinon: 7.4.1 tough-cookie: 3.0.1 @@ -9884,27 +9934,28 @@ packages: typescript: 3.5.3 uglify-js: 3.6.0 uuid: 3.3.2 - webpack: 4.39.2_webpack@4.39.2 - webpack-cli: 3.3.6_webpack@4.39.2 - webpack-dev-middleware: 3.7.0_webpack@4.39.2 + webpack: 4.39.1_webpack@4.39.1 + webpack-cli: 3.3.6_webpack@4.39.1 + webpack-dev-middleware: 3.7.0_webpack@4.39.1 xhr-mock: 2.5.0 xml2js: 0.4.19 yarn: 1.17.3 dev: false name: '@rush-temp/core-http' resolution: - integrity: sha512-cIWLeQLCxaGc//eGv6GQS5eD+U0PtDYWIfhD7YQbTJQ/17cs+d+MEI2htP59a94kaSnkQhDy9nJZBGxxdQFvhw== + integrity: sha512-7IhE+RIsCZy2i1mRHlNnCcs2Lb/4MD3yOOQNTKDvSHsUqapfdjKB0vL/5lNfFB1lnz4Ty7Zwnx4S8ejzisgQFQ== tarball: 'file:projects/core-http.tgz' version: 0.0.0 'file:projects/core-paging.tgz': dependencies: '@azure/core-asynciterator-polyfill': 1.0.0-preview.1 '@types/node': 8.10.51 - '@typescript-eslint/eslint-plugin': 2.0.0_2597c16b46d7eff3ec2c0c583ca4ae44 - '@typescript-eslint/parser': 2.0.0_eslint@6.1.0 - eslint: 6.1.0 - eslint-config-prettier: 6.0.0_eslint@6.1.0 - eslint-plugin-no-null: 1.0.2_eslint@6.1.0 + '@typescript-eslint/eslint-plugin': 1.13.0_0b5e999c52a893676e7127c05369c7b6 + '@typescript-eslint/parser': 1.13.0_eslint@5.16.0 + eslint: 5.16.0 + eslint-config-prettier: 6.0.0_eslint@5.16.0 + eslint-detailed-reporter: 0.8.0_eslint@5.16.0 + eslint-plugin-no-null: 1.0.2_eslint@5.16.0 eslint-plugin-no-only-tests: 2.3.1 eslint-plugin-promise: 4.2.1 prettier: 1.18.2 @@ -9912,21 +9963,22 @@ packages: dev: false name: '@rush-temp/core-paging' resolution: - integrity: sha512-/l5SA2u/jUrYjvQBf24YFdaoYW4GAdU3iDoGDekLbjH2fSP8wOt/3oDlBM8pxGD54TB7s06Oi4OjBsQN6F5tgw== + integrity: sha512-EnQl2fTIIG6a5I/I3EzV+4vYTEJcb4TBBeW/olyfoCWioVWC9Mmq5u4S83XXAgY3m98/ctbNHzEcEuCdgSdVrA== tarball: 'file:projects/core-paging.tgz' version: 0.0.0 'file:projects/core-tracing.tgz': dependencies: - '@microsoft/api-extractor': 7.3.8 + '@microsoft/api-extractor': 7.3.5 '@types/mocha': 5.2.7 '@types/node': 8.10.51 - '@typescript-eslint/eslint-plugin': 2.0.0_2597c16b46d7eff3ec2c0c583ca4ae44 - '@typescript-eslint/parser': 2.0.0_eslint@6.1.0 + '@typescript-eslint/eslint-plugin': 1.13.0_0b5e999c52a893676e7127c05369c7b6 + '@typescript-eslint/parser': 1.13.0_eslint@5.16.0 assert: 1.5.0 cross-env: 5.2.0 - eslint: 6.1.0 - eslint-config-prettier: 6.0.0_eslint@6.1.0 - eslint-plugin-no-null: 1.0.2_eslint@6.1.0 + eslint: 5.16.0 + eslint-config-prettier: 6.0.0_eslint@5.16.0 + eslint-detailed-reporter: 0.8.0_eslint@5.16.0 + eslint-plugin-no-null: 1.0.2_eslint@5.16.0 eslint-plugin-no-only-tests: 2.3.1 eslint-plugin-promise: 4.2.1 inherits: 2.0.4 @@ -9934,7 +9986,7 @@ packages: mocha-junit-reporter: 1.23.1_mocha@5.2.0 mocha-multi: 1.1.0_mocha@5.2.0 prettier: 1.18.2 - rimraf: 2.7.0 + rimraf: 2.6.3 rollup: 1.19.4 rollup-plugin-commonjs: 10.0.2_rollup@1.19.4 rollup-plugin-json: 4.0.0 @@ -9950,18 +10002,60 @@ packages: dev: false name: '@rush-temp/core-tracing' resolution: - integrity: sha512-N2yZqv6ETc8CxkgSQPlNECLNSUxbhzSewajYGFnF9oy3tbJFQCrS299//muVzpECytxGOvjv4PlQ6r5tilptTg== + integrity: sha512-bn/Ll8t/8EkxyT5d7wI1brmQduZ0wwAYOc9wmiXsvACidExUHHbcFUYDdzIEABYDxE1KnUGTeme0ExBk/6zJIQ== tarball: 'file:projects/core-tracing.tgz' version: 0.0.0 + 'file:projects/cosmos.tgz': + dependencies: + '@types/mocha': 5.2.7 + '@types/node': 8.10.51 + '@types/priorityqueuejs': 1.0.1 + '@types/semaphore': 1.1.0 + '@types/sinon': 7.0.13 + '@types/tunnel': 0.0.1 + '@types/underscore': 1.9.2 + '@typescript-eslint/eslint-plugin': 1.13.0_0b5e999c52a893676e7127c05369c7b6 + '@typescript-eslint/parser': 1.13.0_eslint@5.16.0 + binary-search-bounds: 2.0.3 + create-hmac: 1.1.7 + eslint: 5.16.0 + eslint-config-prettier: 6.0.0_eslint@5.16.0 + eslint-detailed-reporter: 0.8.0_eslint@5.16.0 + eslint-plugin-no-null: 1.0.2_eslint@5.16.0 + eslint-plugin-no-only-tests: 2.3.1 + eslint-plugin-promise: 4.2.1 + execa: 1.0.0 + mocha: 5.2.0 + mocha-junit-reporter: 1.23.1_mocha@5.2.0 + mocha-multi: 1.1.0_mocha@5.2.0 + prettier: 1.18.2 + priorityqueuejs: 1.0.0 + requirejs: 2.3.6 + rimraf: 2.6.3 + semaphore: 1.0.5 + sinon: 7.4.1 + stream-http: 2.8.3 + ts-node: 8.3.0_typescript@3.5.3 + tslib: 1.10.0 + tunnel: 0.0.6 + typescript: 3.5.3 + webpack: 4.39.1_webpack@4.39.1 + webpack-cli: 3.3.6_webpack@4.39.1 + dev: false + name: '@rush-temp/cosmos' + resolution: + integrity: sha512-5OtuHMLHmJ9wohJDESFRqKwMm3IMXzj6ffj2BkZZqroUioGo4xLqSOAVrnaqPaiBzlQWp96viBp8mhxgc+2prA== + tarball: 'file:projects/cosmos.tgz' + version: 0.0.0 'file:projects/event-hubs.tgz': dependencies: '@azure/abort-controller': 1.0.0-preview.1 '@azure/core-asynciterator-polyfill': 1.0.0-preview.1 - '@microsoft/api-extractor': 7.3.8 + '@microsoft/api-extractor': 7.3.5 '@types/async-lock': 1.1.1 - '@types/chai': 4.2.0 - '@types/chai-as-promised': 7.1.2 - '@types/chai-string': 1.4.2 + '@types/chai': 4.1.7 + '@types/chai-as-promised': 7.1.1 + '@types/chai-string': 1.4.1 '@types/debug': 0.0.31 '@types/dotenv': 6.1.1 '@types/long': 4.0.0 @@ -9969,31 +10063,32 @@ packages: '@types/node': 8.10.51 '@types/uuid': 3.4.5 '@types/ws': 6.0.2 - '@typescript-eslint/eslint-plugin': 2.0.0_2597c16b46d7eff3ec2c0c583ca4ae44 - '@typescript-eslint/parser': 2.0.0_eslint@6.1.0 + '@typescript-eslint/eslint-plugin': 1.13.0_0b5e999c52a893676e7127c05369c7b6 + '@typescript-eslint/parser': 1.13.0_eslint@5.16.0 assert: 1.5.0 async-lock: 1.2.2 - buffer: 5.4.0 + buffer: 5.2.1 chai: 4.2.0 chai-as-promised: 7.1.1_chai@4.2.0 chai-string: 1.5.0_chai@4.2.0 cross-env: 5.2.0 debug: 3.2.6 dotenv: 8.0.0 - eslint: 6.1.0 - eslint-config-prettier: 6.0.0_eslint@6.1.0 - eslint-plugin-no-null: 1.0.2_eslint@6.1.0 + eslint: 5.16.0 + eslint-config-prettier: 6.0.0_eslint@5.16.0 + eslint-detailed-reporter: 0.8.0_eslint@5.16.0 + eslint-plugin-no-null: 1.0.2_eslint@5.16.0 eslint-plugin-no-only-tests: 2.3.1 eslint-plugin-promise: 4.2.1 https-proxy-agent: 2.2.2 is-buffer: 2.0.3 jssha: 2.3.1 karma: 4.2.0 - karma-chrome-launcher: 3.1.0 + karma-chrome-launcher: 3.0.0 karma-coverage: 1.1.2 karma-edge-launcher: 0.4.2_karma@4.2.0 karma-env-preprocessor: 0.1.1 - karma-firefox-launcher: 1.2.0 + karma-firefox-launcher: 1.1.0 karma-ie-launcher: 1.0.0_karma@4.2.0 karma-junit-reporter: 1.2.0_karma@4.2.0 karma-mocha: 1.3.0 @@ -10007,7 +10102,7 @@ packages: process: 0.11.10 puppeteer: 1.19.0 rhea-promise: 1.0.0 - rimraf: 2.7.0 + rimraf: 2.6.3 rollup: 1.19.4 rollup-plugin-commonjs: 10.0.2_rollup@1.19.4 rollup-plugin-inject: 3.0.1 @@ -10023,30 +10118,30 @@ packages: tslib: 1.10.0 typescript: 3.5.3 uuid: 3.3.2 - ws: 7.1.2 + ws: 7.1.1 dev: false name: '@rush-temp/event-hubs' resolution: - integrity: sha512-6oIsVxqCq8FoAnm44hK9onl+HpdSSMKQF+uKIN2nW9Un2Jv2F+x3P2/8x/X8liS35AALPF7/E30LsPv4bHCBkQ== + integrity: sha512-Twj5EmP7npdlRoh1VdXgIbGaE/xuQfqK06NAUpMwdhDXL6/cK59cOLmxnGSf+8lqiDCFnaV/BHFwwwQHlMSPag== tarball: 'file:projects/event-hubs.tgz' version: 0.0.0 'file:projects/event-processor-host.tgz': dependencies: '@azure/event-hubs': 2.1.1 '@azure/ms-rest-nodeauth': 0.9.3 - '@microsoft/api-extractor': 7.3.8 + '@microsoft/api-extractor': 7.3.5 '@types/async-lock': 1.1.1 - '@types/chai': 4.2.0 - '@types/chai-as-promised': 7.1.2 - '@types/chai-string': 1.4.2 + '@types/chai': 4.1.7 + '@types/chai-as-promised': 7.1.1 + '@types/chai-string': 1.4.1 '@types/debug': 0.0.31 '@types/dotenv': 6.1.1 '@types/mocha': 5.2.7 '@types/node': 8.10.51 '@types/uuid': 3.4.5 '@types/ws': 6.0.2 - '@typescript-eslint/eslint-plugin': 2.0.0_2597c16b46d7eff3ec2c0c583ca4ae44 - '@typescript-eslint/parser': 2.0.0_eslint@6.1.0 + '@typescript-eslint/eslint-plugin': 1.13.0_0b5e999c52a893676e7127c05369c7b6 + '@typescript-eslint/parser': 1.13.0_eslint@5.16.0 async-lock: 1.2.2 azure-storage: 2.10.3 chai: 4.2.0 @@ -10055,9 +10150,10 @@ packages: cross-env: 5.2.0 debug: 3.2.6 dotenv: 8.0.0 - eslint: 6.1.0 - eslint-config-prettier: 6.0.0_eslint@6.1.0 - eslint-plugin-no-null: 1.0.2_eslint@6.1.0 + eslint: 5.16.0 + eslint-config-prettier: 6.0.0_eslint@5.16.0 + eslint-detailed-reporter: 0.8.0_eslint@5.16.0 + eslint-plugin-no-null: 1.0.2_eslint@5.16.0 eslint-plugin-no-only-tests: 2.3.1 eslint-plugin-promise: 4.2.1 https-proxy-agent: 2.2.2 @@ -10067,7 +10163,7 @@ packages: nyc: 14.1.1 path-browserify: 1.0.0 prettier: 1.18.2 - rimraf: 2.7.0 + rimraf: 2.6.3 rollup: 1.19.4 rollup-plugin-commonjs: 10.0.2_rollup@1.19.4 rollup-plugin-json: 4.0.0 @@ -10080,11 +10176,11 @@ packages: tslib: 1.10.0 typescript: 3.5.3 uuid: 3.3.2 - ws: 7.1.2 + ws: 7.1.1 dev: false name: '@rush-temp/event-processor-host' resolution: - integrity: sha512-xGmUL6qWotI3HXUCpFmTc2GPunbglcrS1k8Rw35kMNojt+U0on+JAdm78BF2lhaxD8Ae1vVdd1Ue544Z1jflTg== + integrity: sha512-NA3u7hYUX4M4rPCK+aTFtGaZfbMDWvsxHdV0No6sppjjLiHEKDL2yBdBwhuhKsy4/Ty/VIpfJQQjfUoYPOn/nw== tarball: 'file:projects/event-processor-host.tgz' version: 0.0.0 'file:projects/identity.tgz': @@ -10096,16 +10192,16 @@ packages: '@types/node': 8.10.51 '@types/qs': 6.5.3 '@types/uuid': 3.4.5 - '@typescript-eslint/eslint-plugin': 2.0.0_2597c16b46d7eff3ec2c0c583ca4ae44 - '@typescript-eslint/parser': 2.0.0_eslint@6.1.0 + '@typescript-eslint/eslint-plugin': 1.13.0_0b5e999c52a893676e7127c05369c7b6 + '@typescript-eslint/parser': 1.13.0_eslint@5.16.0 assert: 1.5.0 cross-env: 5.2.0 - eslint: 6.1.0 + eslint: 5.16.0 events: 3.0.0 inherits: 2.0.4 jws: 3.2.2 karma: 4.2.0 - karma-chrome-launcher: 3.1.0 + karma-chrome-launcher: 3.0.0 karma-coverage: 1.1.2 karma-env-preprocessor: 0.1.1 karma-json-preprocessor: 0.3.3_karma@4.2.0 @@ -10121,7 +10217,7 @@ packages: prettier: 1.18.2 puppeteer: 1.19.0 qs: 6.7.0 - rimraf: 2.7.0 + rimraf: 2.6.3 rollup: 1.19.4 rollup-plugin-commonjs: 10.0.2_rollup@1.19.4 rollup-plugin-json: 4.0.0 @@ -10138,27 +10234,27 @@ packages: dev: false name: '@rush-temp/identity' resolution: - integrity: sha512-pTrZBhzusW/eAOYNC6PTg1Pf1e+fk2zt34Bk/yVsupPPFEDfESZ2hYYP0vR1DFmE/zm/d2kRPDWKxTovOrlA3w== + integrity: sha512-ooaU/oS0hxlRosg7mxEycsdl1Wv7CLVd0Bvg3MUWILF+uwzSe9iePFj7e0vgVmt4QYXIOokcl/5T+iai04UiDQ== tarball: 'file:projects/identity.tgz' version: 0.0.0 'file:projects/keyvault-certificates.tgz': dependencies: '@azure/core-arm': 1.0.0-preview.2 '@azure/core-http': 1.0.0-preview.2 - '@azure/core-paging': 1.0.0-preview.1 - '@microsoft/api-extractor': 7.3.8 - '@types/chai': 4.2.0 + '@microsoft/api-extractor': 7.3.5 + '@types/chai': 4.1.7 '@types/node': 8.10.51 - '@typescript-eslint/eslint-plugin': 2.0.0_2597c16b46d7eff3ec2c0c583ca4ae44 - '@typescript-eslint/parser': 2.0.0_eslint@6.1.0 + '@typescript-eslint/eslint-plugin': 1.13.0_0b5e999c52a893676e7127c05369c7b6 + '@typescript-eslint/parser': 1.13.0_eslint@5.16.0 chai: 4.2.0 - eslint: 6.1.0 - eslint-config-prettier: 6.0.0_eslint@6.1.0 - eslint-plugin-no-null: 1.0.2_eslint@6.1.0 + eslint: 5.16.0 + eslint-config-prettier: 6.0.0_eslint@5.16.0 + eslint-detailed-reporter: 0.8.0_eslint@5.16.0 + eslint-plugin-no-null: 1.0.2_eslint@5.16.0 eslint-plugin-no-only-tests: 2.3.1 eslint-plugin-promise: 4.2.1 prettier: 1.18.2 - rimraf: 2.7.0 + rimraf: 2.6.3 rollup: 1.19.4 rollup-plugin-commonjs: 10.0.2_rollup@1.19.4 rollup-plugin-node-resolve: 5.2.0_rollup@1.19.4 @@ -10169,7 +10265,7 @@ packages: dev: false name: '@rush-temp/keyvault-certificates' resolution: - integrity: sha512-hMUsul3fovobeW632U17FgNDxpkqn8IFR8n2myL3vv4s81VOUAVgTw05ZJaVvITNuALUZ3Ggxq8SCVjgp3Pttg== + integrity: sha512-fvdm0x/jZa2NjdhHc3T54qZdSCXT/f1OTIocofIIITxlh3/KnPbsrEN0NA6hMuEd5OQRjIu8XCzLeKMnMMjq+A== tarball: 'file:projects/keyvault-certificates.tgz' version: 0.0.0 'file:projects/keyvault-keys.tgz': @@ -10179,9 +10275,9 @@ packages: '@azure/core-http': 1.0.0-preview.2 '@azure/core-paging': 1.0.0-preview.1 '@azure/core-tracing': 1.0.0-preview.1 - '@microsoft/api-extractor': 7.3.8 + '@microsoft/api-extractor': 7.3.5 '@trust/keyto': 0.3.7 - '@types/chai': 4.2.0 + '@types/chai': 4.1.7 '@types/dotenv': 6.1.1 '@types/fs-extra': 8.0.0 '@types/mocha': 5.2.7 @@ -10189,24 +10285,25 @@ packages: '@types/nock': 10.0.3 '@types/node': 8.10.51 '@types/query-string': 6.2.0 - '@typescript-eslint/eslint-plugin': 2.0.0_2597c16b46d7eff3ec2c0c583ca4ae44 - '@typescript-eslint/parser': 2.0.0_eslint@6.1.0 + '@typescript-eslint/eslint-plugin': 1.13.0_0b5e999c52a893676e7127c05369c7b6 + '@typescript-eslint/parser': 1.13.0_eslint@5.16.0 assert: 1.5.0 chai: 4.2.0 cross-env: 5.2.0 dotenv: 8.0.0 - eslint: 6.1.0 - eslint-config-prettier: 6.0.0_eslint@6.1.0 - eslint-plugin-no-null: 1.0.2_eslint@6.1.0 + eslint: 5.16.0 + eslint-config-prettier: 6.0.0_eslint@5.16.0 + eslint-detailed-reporter: 0.8.0_eslint@5.16.0 + eslint-plugin-no-null: 1.0.2_eslint@5.16.0 eslint-plugin-no-only-tests: 2.3.1 eslint-plugin-promise: 4.2.1 fs-extra: 8.1.0 karma: 4.2.0 - karma-chrome-launcher: 3.1.0 + karma-chrome-launcher: 3.0.0 karma-coverage: 1.1.2 karma-edge-launcher: 0.4.2_karma@4.2.0 karma-env-preprocessor: 0.1.1 - karma-firefox-launcher: 1.2.0 + karma-firefox-launcher: 1.1.0 karma-ie-launcher: 1.0.0_karma@4.2.0 karma-json-preprocessor: 0.3.3_karma@4.2.0 karma-json-to-file-reporter: 1.0.1 @@ -10223,7 +10320,7 @@ packages: prettier: 1.18.2 puppeteer: 1.19.0 query-string: 5.1.1 - rimraf: 2.7.0 + rimraf: 2.6.3 rollup: 1.19.4 rollup-plugin-commonjs: 10.0.2_rollup@1.19.4 rollup-plugin-multi-entry: 2.1.0 @@ -10241,7 +10338,7 @@ packages: dev: false name: '@rush-temp/keyvault-keys' resolution: - integrity: sha512-JIwqtBN279m4D5Dmkp6yASfsZMdfYIQAswYHYRXBud5JRQjZCVJQf1iE1PkXgX7hFR6WWt05jZsDVtBfs3CRAw== + integrity: sha512-NrVNw2RB6a2DCcccvimYt7KuOveFUpDnIkY9QjoZyprz25DwiFXHMvMR4/Wv7Wb8j0fZSVcouXVsxl7ZaS4rYQ== tarball: 'file:projects/keyvault-keys.tgz' version: 0.0.0 'file:projects/keyvault-secrets.tgz': @@ -10250,8 +10347,8 @@ packages: '@azure/core-arm': 1.0.0-preview.2 '@azure/core-http': 1.0.0-preview.2 '@azure/core-paging': 1.0.0-preview.1 - '@microsoft/api-extractor': 7.3.8 - '@types/chai': 4.2.0 + '@microsoft/api-extractor': 7.3.5 + '@types/chai': 4.1.7 '@types/dotenv': 6.1.1 '@types/fs-extra': 8.0.0 '@types/mocha': 5.2.7 @@ -10259,24 +10356,25 @@ packages: '@types/nock': 10.0.3 '@types/node': 8.10.51 '@types/query-string': 6.2.0 - '@typescript-eslint/eslint-plugin': 2.0.0_2597c16b46d7eff3ec2c0c583ca4ae44 - '@typescript-eslint/parser': 2.0.0_eslint@6.1.0 + '@typescript-eslint/eslint-plugin': 1.13.0_0b5e999c52a893676e7127c05369c7b6 + '@typescript-eslint/parser': 1.13.0_eslint@5.16.0 assert: 1.5.0 chai: 4.2.0 cross-env: 5.2.0 dotenv: 8.0.0 - eslint: 6.1.0 - eslint-config-prettier: 6.0.0_eslint@6.1.0 - eslint-plugin-no-null: 1.0.2_eslint@6.1.0 + eslint: 5.16.0 + eslint-config-prettier: 6.0.0_eslint@5.16.0 + eslint-detailed-reporter: 0.8.0_eslint@5.16.0 + eslint-plugin-no-null: 1.0.2_eslint@5.16.0 eslint-plugin-no-only-tests: 2.3.1 eslint-plugin-promise: 4.2.1 fs-extra: 8.1.0 karma: 4.2.0 - karma-chrome-launcher: 3.1.0 + karma-chrome-launcher: 3.0.0 karma-coverage: 1.1.2 karma-edge-launcher: 0.4.2_karma@4.2.0 karma-env-preprocessor: 0.1.1 - karma-firefox-launcher: 1.2.0 + karma-firefox-launcher: 1.1.0 karma-ie-launcher: 1.0.0_karma@4.2.0 karma-json-preprocessor: 0.3.3_karma@4.2.0 karma-json-to-file-reporter: 1.0.1 @@ -10293,7 +10391,7 @@ packages: prettier: 1.18.2 puppeteer: 1.19.0 query-string: 5.1.1 - rimraf: 2.7.0 + rimraf: 2.6.3 rollup: 1.19.4 rollup-plugin-commonjs: 10.0.2_rollup@1.19.4 rollup-plugin-multi-entry: 2.1.0 @@ -10311,7 +10409,7 @@ packages: dev: false name: '@rush-temp/keyvault-secrets' resolution: - integrity: sha512-0ZNKztvn60lEBBtDemq+enbGWsOsCRmHGQJzXHr3Rs+whSu9zMo3V+Pegfj1JruFh6U4y0HKjmQOYCLFltrNPA== + integrity: sha512-x1BkPE5NV5dqU/vfyhq+A79QdpqVD0p7WPMd3lI+tjl7i1GYSjzTBJa5MKU/aXDB85G2KaLoYsdAbT9t9Ca10g== tarball: 'file:projects/keyvault-secrets.tgz' version: 0.0.0 'file:projects/service-bus.tgz': @@ -10319,10 +10417,10 @@ packages: '@azure/amqp-common': 1.0.0-preview.6_rhea-promise@0.1.15 '@azure/arm-servicebus': 3.2.0 '@azure/ms-rest-nodeauth': 0.9.3 - '@microsoft/api-extractor': 7.3.8 + '@microsoft/api-extractor': 7.3.5 '@types/async-lock': 1.1.1 - '@types/chai': 4.2.0 - '@types/chai-as-promised': 7.1.2 + '@types/chai': 4.1.7 + '@types/chai-as-promised': 7.1.1 '@types/debug': 0.0.31 '@types/dotenv': 6.1.1 '@types/is-buffer': 2.0.0 @@ -10330,29 +10428,30 @@ packages: '@types/mocha': 5.2.7 '@types/node': 8.10.51 '@types/ws': 6.0.2 - '@typescript-eslint/eslint-plugin': 2.0.0_2597c16b46d7eff3ec2c0c583ca4ae44 - '@typescript-eslint/parser': 2.0.0_eslint@6.1.0 + '@typescript-eslint/eslint-plugin': 1.13.0_0b5e999c52a893676e7127c05369c7b6 + '@typescript-eslint/parser': 1.13.0_eslint@5.16.0 assert: 1.5.0 - buffer: 5.4.0 + buffer: 5.2.1 chai: 4.2.0 chai-as-promised: 7.1.1_chai@4.2.0 cross-env: 5.2.0 debug: 3.2.6 delay: 4.3.0 dotenv: 8.0.0 - eslint: 6.1.0 - eslint-config-prettier: 6.0.0_eslint@6.1.0 - eslint-plugin-no-null: 1.0.2_eslint@6.1.0 + eslint: 5.16.0 + eslint-config-prettier: 6.0.0_eslint@5.16.0 + eslint-detailed-reporter: 0.8.0_eslint@5.16.0 + eslint-plugin-no-null: 1.0.2_eslint@5.16.0 eslint-plugin-no-only-tests: 2.3.1 eslint-plugin-promise: 4.2.1 https-proxy-agent: 2.2.2 is-buffer: 2.0.3 karma: 4.2.0 - karma-chrome-launcher: 3.1.0 + karma-chrome-launcher: 3.0.0 karma-coverage: 1.1.2 karma-edge-launcher: 0.4.2_karma@4.2.0 karma-env-preprocessor: 0.1.1 - karma-firefox-launcher: 1.2.0 + karma-firefox-launcher: 1.1.0 karma-ie-launcher: 1.0.0_karma@4.2.0 karma-junit-reporter: 1.2.0_karma@4.2.0 karma-mocha: 1.3.0 @@ -10370,7 +10469,7 @@ packages: puppeteer: 1.19.0 rhea: 1.0.8 rhea-promise: 0.1.15 - rimraf: 2.7.0 + rimraf: 2.6.3 rollup: 1.19.4 rollup-plugin-commonjs: 10.0.2_rollup@1.19.4 rollup-plugin-inject: 3.0.1 @@ -10384,17 +10483,17 @@ packages: ts-node: 8.3.0_typescript@3.5.3 tslib: 1.10.0 typescript: 3.5.3 - ws: 7.1.2 + ws: 7.1.1 dev: false name: '@rush-temp/service-bus' resolution: - integrity: sha512-/X7uvDxjHGYZ0Y9Vp3HfLivsoTkV0rk/41X8JyB+JH0KGtC22VcZlMWvOh3P1hqdNzuz2NTwMSA7/jKHIs33LQ== + integrity: sha512-YZz3mASz3qrM577g17GK1eoOiOyH8DiSGxfkIw28W+qGFSBhPNXKs1qdOwDySMs9iypb3z8UjPMeEiBJYFfj/Q== tarball: 'file:projects/service-bus.tgz' version: 0.0.0 'file:projects/storage-blob.tgz': dependencies: '@azure/ms-rest-js': 2.0.4 - '@microsoft/api-extractor': 7.3.8 + '@microsoft/api-extractor': 7.3.5 '@types/dotenv': 6.1.1 '@types/fs-extra': 8.0.0 '@types/mocha': 5.2.7 @@ -10402,15 +10501,16 @@ packages: '@types/nock': 10.0.3 '@types/node': 8.10.51 '@types/query-string': 6.2.0 - '@typescript-eslint/eslint-plugin': 2.0.0_2597c16b46d7eff3ec2c0c583ca4ae44 - '@typescript-eslint/parser': 2.0.0_eslint@6.1.0 + '@typescript-eslint/eslint-plugin': 1.13.0_0b5e999c52a893676e7127c05369c7b6 + '@typescript-eslint/parser': 1.13.0_eslint@5.16.0 assert: 1.5.0 cross-env: 5.2.0 dotenv: 8.0.0 es6-promise: 4.2.8 - eslint: 6.1.0 - eslint-config-prettier: 6.0.0_eslint@6.1.0 - eslint-plugin-no-null: 1.0.2_eslint@6.1.0 + eslint: 5.16.0 + eslint-config-prettier: 6.0.0_eslint@5.16.0 + eslint-detailed-reporter: 0.8.0_eslint@5.16.0 + eslint-plugin-no-null: 1.0.2_eslint@5.16.0 eslint-plugin-no-only-tests: 2.3.1 eslint-plugin-promise: 4.2.1 events: 3.0.0 @@ -10419,11 +10519,11 @@ packages: gulp-zip: 5.0.0_gulp@4.0.2 inherits: 2.0.4 karma: 4.2.0 - karma-chrome-launcher: 3.1.0 + karma-chrome-launcher: 3.0.0 karma-coverage: 1.1.2 karma-edge-launcher: 0.4.2_karma@4.2.0 karma-env-preprocessor: 0.1.1 - karma-firefox-launcher: 1.2.0 + karma-firefox-launcher: 1.1.0 karma-ie-launcher: 1.0.0_karma@4.2.0 karma-json-preprocessor: 0.3.3_karma@4.2.0 karma-json-to-file-reporter: 1.0.1 @@ -10440,7 +10540,7 @@ packages: prettier: 1.18.2 puppeteer: 1.19.0 query-string: 5.1.1 - rimraf: 2.7.0 + rimraf: 2.6.3 rollup: 1.19.4 rollup-plugin-commonjs: 10.0.2_rollup@1.19.4 rollup-plugin-multi-entry: 2.1.0 @@ -10458,13 +10558,13 @@ packages: dev: false name: '@rush-temp/storage-blob' resolution: - integrity: sha512-aRdPzPqKHfcuvV0sTZFcu67pqSDvoh57+uDGAUgeF7myGmp/kswq3rJKFJXe7du8okGpOZ9annR70wkhAOBbow== + integrity: sha512-/pzOlT+BOxng1QpYdbv3xj6EbqP2+biLw7Lsj8MuQ/JlkecQ/vq7uFRuu67Pv7RMA66kzwBu4PRvpkN3CyCsWg== tarball: 'file:projects/storage-blob.tgz' version: 0.0.0 'file:projects/storage-file.tgz': dependencies: '@azure/ms-rest-js': 2.0.4 - '@microsoft/api-extractor': 7.3.8 + '@microsoft/api-extractor': 7.3.5 '@types/dotenv': 6.1.1 '@types/fs-extra': 8.0.0 '@types/mocha': 5.2.7 @@ -10472,15 +10572,16 @@ packages: '@types/nock': 10.0.3 '@types/node': 8.10.51 '@types/query-string': 6.2.0 - '@typescript-eslint/eslint-plugin': 2.0.0_2597c16b46d7eff3ec2c0c583ca4ae44 - '@typescript-eslint/parser': 2.0.0_eslint@6.1.0 + '@typescript-eslint/eslint-plugin': 1.13.0_0b5e999c52a893676e7127c05369c7b6 + '@typescript-eslint/parser': 1.13.0_eslint@5.16.0 assert: 1.5.0 cross-env: 5.2.0 dotenv: 8.0.0 es6-promise: 4.2.8 - eslint: 6.1.0 - eslint-config-prettier: 6.0.0_eslint@6.1.0 - eslint-plugin-no-null: 1.0.2_eslint@6.1.0 + eslint: 5.16.0 + eslint-config-prettier: 6.0.0_eslint@5.16.0 + eslint-detailed-reporter: 0.8.0_eslint@5.16.0 + eslint-plugin-no-null: 1.0.2_eslint@5.16.0 eslint-plugin-no-only-tests: 2.3.1 eslint-plugin-promise: 4.2.1 events: 3.0.0 @@ -10489,11 +10590,11 @@ packages: gulp-zip: 5.0.0_gulp@4.0.2 inherits: 2.0.4 karma: 4.2.0 - karma-chrome-launcher: 3.1.0 + karma-chrome-launcher: 3.0.0 karma-coverage: 1.1.2 karma-edge-launcher: 0.4.2_karma@4.2.0 karma-env-preprocessor: 0.1.1 - karma-firefox-launcher: 1.2.0 + karma-firefox-launcher: 1.1.0 karma-ie-launcher: 1.0.0_karma@4.2.0 karma-json-preprocessor: 0.3.3_karma@4.2.0 karma-json-to-file-reporter: 1.0.1 @@ -10510,7 +10611,7 @@ packages: prettier: 1.18.2 puppeteer: 1.19.0 query-string: 5.1.1 - rimraf: 2.7.0 + rimraf: 2.6.3 rollup: 1.19.4 rollup-plugin-commonjs: 10.0.2_rollup@1.19.4 rollup-plugin-multi-entry: 2.1.0 @@ -10528,13 +10629,13 @@ packages: dev: false name: '@rush-temp/storage-file' resolution: - integrity: sha512-KrfCHFVWfElUeqzm7iab591o3cxSzbGwn4u9F8214TK0vOdyN35kNLwgqJKy5gIrYsyCOuHw6R9i0manZcNxpg== + integrity: sha512-AcWoeC5WyCxKB+KVvceLsoq/zSf5HFzVdXpVvX+Mc/+uaP6XItcvGGsLQfwUojuQ5P7y08AMNMzFMh++vCn7qA== tarball: 'file:projects/storage-file.tgz' version: 0.0.0 'file:projects/storage-queue.tgz': dependencies: '@azure/ms-rest-js': 2.0.4 - '@microsoft/api-extractor': 7.3.8 + '@microsoft/api-extractor': 7.3.5 '@types/dotenv': 6.1.1 '@types/fs-extra': 8.0.0 '@types/mocha': 5.2.7 @@ -10542,15 +10643,16 @@ packages: '@types/nock': 10.0.3 '@types/node': 8.10.51 '@types/query-string': 6.2.0 - '@typescript-eslint/eslint-plugin': 2.0.0_2597c16b46d7eff3ec2c0c583ca4ae44 - '@typescript-eslint/parser': 2.0.0_eslint@6.1.0 + '@typescript-eslint/eslint-plugin': 1.13.0_0b5e999c52a893676e7127c05369c7b6 + '@typescript-eslint/parser': 1.13.0_eslint@5.16.0 assert: 1.5.0 cross-env: 5.2.0 dotenv: 8.0.0 es6-promise: 4.2.8 - eslint: 6.1.0 - eslint-config-prettier: 6.0.0_eslint@6.1.0 - eslint-plugin-no-null: 1.0.2_eslint@6.1.0 + eslint: 5.16.0 + eslint-config-prettier: 6.0.0_eslint@5.16.0 + eslint-detailed-reporter: 0.8.0_eslint@5.16.0 + eslint-plugin-no-null: 1.0.2_eslint@5.16.0 eslint-plugin-no-only-tests: 2.3.1 eslint-plugin-promise: 4.2.1 fs-extra: 8.1.0 @@ -10558,11 +10660,11 @@ packages: gulp-zip: 5.0.0_gulp@4.0.2 inherits: 2.0.4 karma: 4.2.0 - karma-chrome-launcher: 3.1.0 + karma-chrome-launcher: 3.0.0 karma-coverage: 1.1.2 karma-edge-launcher: 0.4.2_karma@4.2.0 karma-env-preprocessor: 0.1.1 - karma-firefox-launcher: 1.2.0 + karma-firefox-launcher: 1.1.0 karma-ie-launcher: 1.0.0_karma@4.2.0 karma-json-preprocessor: 0.3.3_karma@4.2.0 karma-json-to-file-reporter: 1.0.1 @@ -10579,7 +10681,7 @@ packages: prettier: 1.18.2 puppeteer: 1.19.0 query-string: 5.1.1 - rimraf: 2.7.0 + rimraf: 2.6.3 rollup: 1.19.4 rollup-plugin-commonjs: 10.0.2_rollup@1.19.4 rollup-plugin-multi-entry: 2.1.0 @@ -10597,32 +10699,33 @@ packages: dev: false name: '@rush-temp/storage-queue' resolution: - integrity: sha512-YEnScgntT0JsmdrUGYfl7/I4olxlAKvsffXw1pLYLT79P66lW4uIZnntGvRKp8s6RJPOFws9h3pp2FnQvIJJfw== + integrity: sha512-2O9eUkSpX6m28VxTLOykmO3qCo7wybjtfDi6ITx3AhyuRghzv7JwMQNoQKKZlipoD0C5xRzFt4kx51HSA1haPQ== tarball: 'file:projects/storage-queue.tgz' version: 0.0.0 'file:projects/template.tgz': dependencies: '@azure/core-http': 1.0.0-preview.2 - '@microsoft/api-extractor': 7.3.8 + '@microsoft/api-extractor': 7.3.5 '@types/mocha': 5.2.7 '@types/node': 8.10.51 - '@typescript-eslint/eslint-plugin': 2.0.0_2597c16b46d7eff3ec2c0c583ca4ae44 - '@typescript-eslint/parser': 2.0.0_eslint@6.1.0 + '@typescript-eslint/eslint-plugin': 1.13.0_0b5e999c52a893676e7127c05369c7b6 + '@typescript-eslint/parser': 1.13.0_eslint@5.16.0 assert: 1.5.0 cross-env: 5.2.0 - eslint: 6.1.0 - eslint-config-prettier: 6.0.0_eslint@6.1.0 - eslint-plugin-no-null: 1.0.2_eslint@6.1.0 + eslint: 5.16.0 + eslint-config-prettier: 6.0.0_eslint@5.16.0 + eslint-detailed-reporter: 0.8.0_eslint@5.16.0 + eslint-plugin-no-null: 1.0.2_eslint@5.16.0 eslint-plugin-no-only-tests: 2.3.1 eslint-plugin-promise: 4.2.1 events: 3.0.0 inherits: 2.0.4 karma: 4.2.0 - karma-chrome-launcher: 3.1.0 + karma-chrome-launcher: 3.0.0 karma-coverage: 1.1.2 karma-edge-launcher: 0.4.2_karma@4.2.0 karma-env-preprocessor: 0.1.1 - karma-firefox-launcher: 1.2.0 + karma-firefox-launcher: 1.1.0 karma-ie-launcher: 1.0.0_karma@4.2.0 karma-junit-reporter: 1.2.0_karma@4.2.0 karma-mocha: 1.3.0 @@ -10632,7 +10735,7 @@ packages: mocha-junit-reporter: 1.23.1_mocha@5.2.0 mocha-multi: 1.1.0_mocha@5.2.0 prettier: 1.18.2 - rimraf: 2.7.0 + rimraf: 2.6.3 rollup: 1.19.4 rollup-plugin-commonjs: 10.0.2_rollup@1.19.4 rollup-plugin-json: 4.0.0 @@ -10648,7 +10751,7 @@ packages: dev: false name: '@rush-temp/template' resolution: - integrity: sha512-k+j+oVVsGtuHnarX70kvHZEzdBuPsS7mpQOiTr92L+Na7XQoUJTN7MpKAWw3dUZlIv8QBOmrB7AD+9IP1MenYA== + integrity: sha512-AMpPTEkUgSl26Ex8ssFDn2Ta7mAMlev/lR8OY/ExGmiZsPxICKmcnCozgxYmqaHSO//W21/x1Xa0rzIpjGKW3Q== tarball: 'file:projects/template.tgz' version: 0.0.0 'file:projects/testhub.tgz': @@ -10661,7 +10764,7 @@ packages: death: 1.1.0 debug: 3.2.6 rhea: 1.0.8 - rimraf: 2.7.0 + rimraf: 2.6.3 tslib: 1.10.0 typescript: 3.5.3 uuid: 3.3.2 @@ -10695,6 +10798,7 @@ specifiers: '@rush-temp/core-http': 'file:./projects/core-http.tgz' '@rush-temp/core-paging': 'file:./projects/core-paging.tgz' '@rush-temp/core-tracing': 'file:./projects/core-tracing.tgz' + '@rush-temp/cosmos': 'file:./projects/cosmos.tgz' '@rush-temp/event-hubs': 'file:./projects/event-hubs.tgz' '@rush-temp/event-processor-host': 'file:./projects/event-processor-host.tgz' '@rush-temp/identity': 'file:./projects/identity.tgz' @@ -10726,42 +10830,49 @@ specifiers: '@types/nise': ^1.4.0 '@types/nock': ^10.0.1 '@types/node': ^8.0.0 + '@types/priorityqueuejs': ^1.0.1 '@types/qs': ~6.5.3 '@types/query-string': 6.2.0 + '@types/semaphore': ^1.1.0 '@types/semver': ^5.5.0 '@types/sinon': ^7.0.13 '@types/tough-cookie': ^2.3.5 '@types/tunnel': ^0.0.1 + '@types/underscore': ^1.8.8 '@types/uuid': ^3.4.3 '@types/webpack': ^4.4.13 '@types/webpack-dev-middleware': ^2.0.2 '@types/ws': ^6.0.1 '@types/xml2js': ^0.4.3 '@types/yargs': ^13.0.0 - '@typescript-eslint/eslint-plugin': ^2.0.0 - '@typescript-eslint/parser': ^2.0.0 + '@typescript-eslint/eslint-plugin': ^1.11.0 + '@typescript-eslint/parser': ^1.11.0 abortcontroller-polyfill: ^1.1.9 assert: ^1.4.1 async-lock: ^1.1.3 axios: ^0.19.0 axios-mock-adapter: ^1.16.0 azure-storage: ^2.10.2 + binary-search-bounds: 2.0.3 buffer: ^5.2.1 chai: ^4.2.0 chai-as-promised: ^7.1.1 chai-string: ^1.5.0 + create-hmac: ^1.1.7 cross-env: ^5.2.0 death: ^1.1.0 debug: ^3.1.0 delay: ^4.2.0 dotenv: ^8.0.0 es6-promise: ^4.2.5 - eslint: ^6.1.0 + eslint: ^5.16.0 eslint-config-prettier: ^6.0.0 + eslint-detailed-reporter: ^0.8.0 eslint-plugin-no-null: ^1.0.2 eslint-plugin-no-only-tests: ^2.3.0 eslint-plugin-promise: ^4.1.1 events: ^3.0.0 + execa: 1.0.0 express: ^4.16.3 form-data: ^2.5.0 fs-extra: ^8.1.0 @@ -10805,11 +10916,13 @@ specifiers: nyc: ^14.0.0 path-browserify: ^1.0.0 prettier: ^1.16.4 + priorityqueuejs: 1.0.0 process: ^0.11.10 promise: ^8.0.3 puppeteer: ^1.11.0 qs: 6.7.0 query-string: ^5.0.0 + requirejs: ^2.3.5 rhea: ^1.0.4 rhea-promise: ^0.1.15 rimraf: ^2.6.2 @@ -10828,11 +10941,13 @@ specifiers: rollup-plugin-terser: ^5.1.1 rollup-plugin-uglify: ^6.0.0 rollup-plugin-visualizer: ^2.0.0 + semaphore: 1.0.5 semver: ^5.5.0 shx: ^0.3.2 sinon: ^7.1.0 source-map-support: ^0.5.9 stream-browserify: ^2.0.2 + stream-http: ^2.8.3 tough-cookie: ^3.0.1 ts-loader: ^6.0.4 ts-mocha: ^6.0.0 From 7748cc1f4329ba7a243e9f860ef1391293d22071 Mon Sep 17 00:00:00 2001 From: "openapi-bot[bot]" <37845953+openapi-bot[bot]@users.noreply.github.com> Date: Thu, 1 Aug 2019 22:53:25 +0000 Subject: [PATCH 13/16] Generated from 19a6129d7c58da0c40d08c605f051a8b6d559af7 (#4499) Add example reference into compute.json --- sdk/compute/arm-compute/README.md | 1 - sdk/compute/arm-compute/package.json | 12 +- .../src/computeManagementClient.ts | 8 +- .../src/models/availabilitySetsMappers.ts | 14 +- .../src/models/containerServicesMappers.ts | 14 +- .../src/models/dedicatedHostGroupsMappers.ts | 169 +++ .../src/models/dedicatedHostsMappers.ts | 169 +++ .../arm-compute/src/models/disksMappers.ts | 14 +- .../src/models/galleriesMappers.ts | 14 +- .../src/models/galleryImageVersionsMappers.ts | 14 +- .../src/models/galleryImagesMappers.ts | 14 +- .../arm-compute/src/models/imagesMappers.ts | 14 +- sdk/compute/arm-compute/src/models/index.ts | 971 ++++++++++++++++-- sdk/compute/arm-compute/src/models/mappers.ts | 825 +++++++++++++-- .../arm-compute/src/models/parameters.ts | 54 +- .../models/proximityPlacementGroupsMappers.ts | 169 +++ .../src/models/resourceSkusMappers.ts | 3 +- .../src/models/snapshotsMappers.ts | 14 +- .../virtualMachineExtensionImagesMappers.ts | 14 +- .../models/virtualMachineExtensionsMappers.ts | 14 +- .../src/models/virtualMachineImagesMappers.ts | 14 +- ...virtualMachineScaleSetExtensionsMappers.ts | 14 +- ...alMachineScaleSetRollingUpgradesMappers.ts | 14 +- .../virtualMachineScaleSetVMsMappers.ts | 14 +- .../models/virtualMachineScaleSetsMappers.ts | 15 +- .../src/models/virtualMachinesMappers.ts | 14 +- .../src/operations/containerServices.ts | 10 +- .../src/operations/dedicatedHostGroups.ts | 484 +++++++++ .../src/operations/dedicatedHosts.ts | 402 ++++++++ .../arm-compute/src/operations/galleries.ts | 10 +- .../src/operations/galleryImageVersions.ts | 10 +- .../src/operations/galleryImages.ts | 8 +- .../arm-compute/src/operations/images.ts | 2 +- .../arm-compute/src/operations/index.ts | 4 +- .../operations/proximityPlacementGroups.ts | 478 +++++++++ .../operations/virtualMachineExtensions.ts | 4 +- .../virtualMachineScaleSetExtensions.ts | 2 +- .../operations/virtualMachineScaleSetVMs.ts | 9 +- .../src/operations/virtualMachineScaleSets.ts | 63 ++ .../src/operations/virtualMachines.ts | 2 +- sdk/compute/arm-compute/tsconfig.json | 2 +- 41 files changed, 3876 insertions(+), 220 deletions(-) create mode 100644 sdk/compute/arm-compute/src/models/dedicatedHostGroupsMappers.ts create mode 100644 sdk/compute/arm-compute/src/models/dedicatedHostsMappers.ts create mode 100644 sdk/compute/arm-compute/src/models/proximityPlacementGroupsMappers.ts create mode 100644 sdk/compute/arm-compute/src/operations/dedicatedHostGroups.ts create mode 100644 sdk/compute/arm-compute/src/operations/dedicatedHosts.ts create mode 100644 sdk/compute/arm-compute/src/operations/proximityPlacementGroups.ts diff --git a/sdk/compute/arm-compute/README.md b/sdk/compute/arm-compute/README.md index cff2a236f79d..f781c80eaa28 100644 --- a/sdk/compute/arm-compute/README.md +++ b/sdk/compute/arm-compute/README.md @@ -95,5 +95,4 @@ See https://github.com/Azure/ms-rest-browserauth to learn how to authenticate to - [Microsoft Azure SDK for Javascript](https://github.com/Azure/azure-sdk-for-js) - ![Impressions](https://azure-sdk-impressions.azurewebsites.net/api/impressions/azure-sdk-for-js/sdk/compute/arm-compute/README.png) diff --git a/sdk/compute/arm-compute/package.json b/sdk/compute/arm-compute/package.json index 9a2d123f805d..df8e0c31d07b 100644 --- a/sdk/compute/arm-compute/package.json +++ b/sdk/compute/arm-compute/package.json @@ -4,9 +4,9 @@ "description": "ComputeManagementClient Library with typescript type definitions for node.js and browser.", "version": "10.0.0", "dependencies": { - "@azure/ms-rest-azure-js": "^1.3.2", - "@azure/ms-rest-js": "^1.8.1", - "tslib": "^1.9.3" + "@azure/ms-rest-azure-js": "^2.0.0", + "@azure/ms-rest-js": "^2.0.3", + "tslib": "^1.10.0" }, "keywords": [ "node", @@ -26,13 +26,13 @@ "rollup-plugin-sourcemaps": "^0.4.2", "uglify-js": "^3.4.9" }, - "homepage": "https://github.com/azure/azure-sdk-for-js/tree/master/sdk/compute/arm-compute", + "homepage": "https://github.com/Azure/azure-sdk-for-js/tree/master/sdk/compute/arm-compute", "repository": { "type": "git", - "url": "https://github.com/azure/azure-sdk-for-js.git" + "url": "https://github.com/Azure/azure-sdk-for-js.git" }, "bugs": { - "url": "https://github.com/azure/azure-sdk-for-js/issues" + "url": "https://github.com/Azure/azure-sdk-for-js/issues" }, "files": [ "dist/**/*.js", diff --git a/sdk/compute/arm-compute/src/computeManagementClient.ts b/sdk/compute/arm-compute/src/computeManagementClient.ts index 2a6a78e79ac0..aad1875795c6 100644 --- a/sdk/compute/arm-compute/src/computeManagementClient.ts +++ b/sdk/compute/arm-compute/src/computeManagementClient.ts @@ -19,6 +19,9 @@ class ComputeManagementClient extends ComputeManagementClientContext { // Operation groups operations: operations.Operations; availabilitySets: operations.AvailabilitySets; + proximityPlacementGroups: operations.ProximityPlacementGroups; + dedicatedHostGroups: operations.DedicatedHostGroups; + dedicatedHosts: operations.DedicatedHosts; virtualMachineExtensionImages: operations.VirtualMachineExtensionImages; virtualMachineExtensions: operations.VirtualMachineExtensions; virtualMachineImages: operations.VirtualMachineImages; @@ -29,7 +32,6 @@ class ComputeManagementClient extends ComputeManagementClientContext { virtualMachineScaleSets: operations.VirtualMachineScaleSets; virtualMachineScaleSetExtensions: operations.VirtualMachineScaleSetExtensions; virtualMachineScaleSetRollingUpgrades: operations.VirtualMachineScaleSetRollingUpgrades; - virtualMachineScaleSet: operations.VirtualMachineScaleSetOperations; virtualMachineScaleSetVMs: operations.VirtualMachineScaleSetVMs; logAnalytics: operations.LogAnalytics; virtualMachineRunCommands: operations.VirtualMachineRunCommands; @@ -52,6 +54,9 @@ class ComputeManagementClient extends ComputeManagementClientContext { super(credentials, subscriptionId, options); this.operations = new operations.Operations(this); this.availabilitySets = new operations.AvailabilitySets(this); + this.proximityPlacementGroups = new operations.ProximityPlacementGroups(this); + this.dedicatedHostGroups = new operations.DedicatedHostGroups(this); + this.dedicatedHosts = new operations.DedicatedHosts(this); this.virtualMachineExtensionImages = new operations.VirtualMachineExtensionImages(this); this.virtualMachineExtensions = new operations.VirtualMachineExtensions(this); this.virtualMachineImages = new operations.VirtualMachineImages(this); @@ -62,7 +67,6 @@ class ComputeManagementClient extends ComputeManagementClientContext { this.virtualMachineScaleSets = new operations.VirtualMachineScaleSets(this); this.virtualMachineScaleSetExtensions = new operations.VirtualMachineScaleSetExtensions(this); this.virtualMachineScaleSetRollingUpgrades = new operations.VirtualMachineScaleSetRollingUpgrades(this); - this.virtualMachineScaleSet = new operations.VirtualMachineScaleSetOperations(this); this.virtualMachineScaleSetVMs = new operations.VirtualMachineScaleSetVMs(this); this.logAnalytics = new operations.LogAnalytics(this); this.virtualMachineRunCommands = new operations.VirtualMachineRunCommands(this); diff --git a/sdk/compute/arm-compute/src/models/availabilitySetsMappers.ts b/sdk/compute/arm-compute/src/models/availabilitySetsMappers.ts index fcf14403d584..c398b0cd0f9e 100644 --- a/sdk/compute/arm-compute/src/models/availabilitySetsMappers.ts +++ b/sdk/compute/arm-compute/src/models/availabilitySetsMappers.ts @@ -36,6 +36,13 @@ export { CreationData, DataDisk, DataDiskImage, + DedicatedHost, + DedicatedHostAllocatableVM, + DedicatedHostAvailableCapacity, + DedicatedHostGroup, + DedicatedHostGroupUpdate, + DedicatedHostInstanceView, + DedicatedHostUpdate, DiagnosticsProfile, DiffDiskSettings, Disallowed, @@ -47,7 +54,7 @@ export { EncryptionSettingsElement, Gallery, GalleryArtifactPublishingProfileBase, - GalleryArtifactSource, + GalleryArtifactVersionSource, GalleryDataDiskImage, GalleryDiskImage, GalleryIdentifier, @@ -74,7 +81,6 @@ export { KeyVaultSecretReference, LinuxConfiguration, MaintenanceRedeployStatus, - ManagedArtifact, ManagedDiskParameters, NetworkInterfaceReference, NetworkProfile, @@ -82,6 +88,8 @@ export { OSDiskImage, OSProfile, Plan, + ProximityPlacementGroup, + ProximityPlacementGroupUpdate, PurchasePlan, RecommendedMachineConfiguration, RegionalReplicationStatus, @@ -92,6 +100,7 @@ export { RollingUpgradeProgressInfo, RollingUpgradeRunningStatus, RollingUpgradeStatusInfo, + ScheduledEventsProfile, Sku, Snapshot, SnapshotSku, @@ -102,6 +111,7 @@ export { SubResource, SubResourceReadOnly, TargetRegion, + TerminateNotificationProfile, UpdateResource, UpgradePolicy, VaultCertificate, diff --git a/sdk/compute/arm-compute/src/models/containerServicesMappers.ts b/sdk/compute/arm-compute/src/models/containerServicesMappers.ts index a9f0f2c86211..12d67256a45d 100644 --- a/sdk/compute/arm-compute/src/models/containerServicesMappers.ts +++ b/sdk/compute/arm-compute/src/models/containerServicesMappers.ts @@ -36,6 +36,13 @@ export { CreationData, DataDisk, DataDiskImage, + DedicatedHost, + DedicatedHostAllocatableVM, + DedicatedHostAvailableCapacity, + DedicatedHostGroup, + DedicatedHostGroupUpdate, + DedicatedHostInstanceView, + DedicatedHostUpdate, DiagnosticsProfile, DiffDiskSettings, Disallowed, @@ -47,7 +54,7 @@ export { EncryptionSettingsElement, Gallery, GalleryArtifactPublishingProfileBase, - GalleryArtifactSource, + GalleryArtifactVersionSource, GalleryDataDiskImage, GalleryDiskImage, GalleryIdentifier, @@ -74,7 +81,6 @@ export { KeyVaultSecretReference, LinuxConfiguration, MaintenanceRedeployStatus, - ManagedArtifact, ManagedDiskParameters, NetworkInterfaceReference, NetworkProfile, @@ -82,6 +88,8 @@ export { OSDiskImage, OSProfile, Plan, + ProximityPlacementGroup, + ProximityPlacementGroupUpdate, PurchasePlan, RecommendedMachineConfiguration, RegionalReplicationStatus, @@ -92,6 +100,7 @@ export { RollingUpgradeProgressInfo, RollingUpgradeRunningStatus, RollingUpgradeStatusInfo, + ScheduledEventsProfile, Sku, Snapshot, SnapshotSku, @@ -102,6 +111,7 @@ export { SubResource, SubResourceReadOnly, TargetRegion, + TerminateNotificationProfile, UpdateResource, UpgradePolicy, VaultCertificate, diff --git a/sdk/compute/arm-compute/src/models/dedicatedHostGroupsMappers.ts b/sdk/compute/arm-compute/src/models/dedicatedHostGroupsMappers.ts new file mode 100644 index 000000000000..0e28e914df7e --- /dev/null +++ b/sdk/compute/arm-compute/src/models/dedicatedHostGroupsMappers.ts @@ -0,0 +1,169 @@ +/* + * Copyright (c) Microsoft Corporation. All rights reserved. + * Licensed under the MIT License. See License.txt in the project root for license information. + * + * 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, + AvailabilitySet, + AvailabilitySetUpdate, + BaseResource, + BootDiagnostics, + BootDiagnosticsInstanceView, + CloudError, + ContainerService, + ContainerServiceAgentPoolProfile, + ContainerServiceCustomProfile, + ContainerServiceDiagnosticsProfile, + ContainerServiceLinuxProfile, + ContainerServiceMasterProfile, + ContainerServiceOrchestratorProfile, + ContainerServiceServicePrincipalProfile, + ContainerServiceSshConfiguration, + ContainerServiceSshPublicKey, + ContainerServiceVMDiagnostics, + ContainerServiceWindowsProfile, + CreationData, + DataDisk, + DataDiskImage, + DedicatedHost, + DedicatedHostAllocatableVM, + DedicatedHostAvailableCapacity, + DedicatedHostGroup, + DedicatedHostGroupListResult, + DedicatedHostGroupUpdate, + DedicatedHostInstanceView, + DedicatedHostUpdate, + DiagnosticsProfile, + DiffDiskSettings, + Disallowed, + Disk, + DiskEncryptionSettings, + DiskInstanceView, + DiskSku, + EncryptionSettingsCollection, + EncryptionSettingsElement, + Gallery, + GalleryArtifactPublishingProfileBase, + GalleryArtifactVersionSource, + GalleryDataDiskImage, + GalleryDiskImage, + GalleryIdentifier, + GalleryImage, + GalleryImageIdentifier, + GalleryImageVersion, + GalleryImageVersionPublishingProfile, + GalleryImageVersionStorageProfile, + GalleryOSDiskImage, + HardwareProfile, + Image, + ImageDataDisk, + ImageDiskReference, + ImageOSDisk, + ImagePurchasePlan, + ImageReference, + ImageStorageProfile, + ImageUpdate, + InnerError, + InstanceViewStatus, + KeyVaultAndKeyReference, + KeyVaultAndSecretReference, + KeyVaultKeyReference, + KeyVaultSecretReference, + LinuxConfiguration, + MaintenanceRedeployStatus, + ManagedDiskParameters, + NetworkInterfaceReference, + NetworkProfile, + OSDisk, + OSDiskImage, + OSProfile, + Plan, + ProximityPlacementGroup, + ProximityPlacementGroupUpdate, + PurchasePlan, + RecommendedMachineConfiguration, + RegionalReplicationStatus, + ReplicationStatus, + Resource, + ResourceRange, + RollingUpgradePolicy, + RollingUpgradeProgressInfo, + RollingUpgradeRunningStatus, + RollingUpgradeStatusInfo, + ScheduledEventsProfile, + Sku, + Snapshot, + SnapshotSku, + SourceVault, + SshConfiguration, + SshPublicKey, + StorageProfile, + SubResource, + SubResourceReadOnly, + TargetRegion, + TerminateNotificationProfile, + UpdateResource, + UpgradePolicy, + VaultCertificate, + VaultSecretGroup, + VirtualHardDisk, + VirtualMachine, + VirtualMachineAgentInstanceView, + VirtualMachineCaptureResult, + VirtualMachineExtension, + VirtualMachineExtensionHandlerInstanceView, + VirtualMachineExtensionImage, + VirtualMachineExtensionInstanceView, + VirtualMachineExtensionUpdate, + VirtualMachineHealthStatus, + VirtualMachineIdentity, + VirtualMachineIdentityUserAssignedIdentitiesValue, + VirtualMachineImage, + VirtualMachineImageResource, + VirtualMachineInstanceView, + VirtualMachineScaleSet, + VirtualMachineScaleSetDataDisk, + VirtualMachineScaleSetExtension, + VirtualMachineScaleSetExtensionProfile, + VirtualMachineScaleSetIdentity, + VirtualMachineScaleSetIdentityUserAssignedIdentitiesValue, + VirtualMachineScaleSetIPConfiguration, + VirtualMachineScaleSetIpTag, + VirtualMachineScaleSetManagedDiskParameters, + VirtualMachineScaleSetNetworkConfiguration, + VirtualMachineScaleSetNetworkConfigurationDnsSettings, + VirtualMachineScaleSetNetworkProfile, + VirtualMachineScaleSetOSDisk, + VirtualMachineScaleSetOSProfile, + VirtualMachineScaleSetPublicIPAddressConfiguration, + VirtualMachineScaleSetPublicIPAddressConfigurationDnsSettings, + VirtualMachineScaleSetStorageProfile, + VirtualMachineScaleSetUpdate, + VirtualMachineScaleSetUpdateIPConfiguration, + VirtualMachineScaleSetUpdateNetworkConfiguration, + VirtualMachineScaleSetUpdateNetworkProfile, + VirtualMachineScaleSetUpdateOSDisk, + VirtualMachineScaleSetUpdateOSProfile, + VirtualMachineScaleSetUpdatePublicIPAddressConfiguration, + VirtualMachineScaleSetUpdateStorageProfile, + VirtualMachineScaleSetUpdateVMProfile, + VirtualMachineScaleSetVM, + VirtualMachineScaleSetVMInstanceView, + VirtualMachineScaleSetVMNetworkProfileConfiguration, + VirtualMachineScaleSetVMProfile, + VirtualMachineScaleSetVMProtectionPolicy, + VirtualMachineUpdate, + WindowsConfiguration, + WinRMConfiguration, + WinRMListener +} from "../models/mappers"; diff --git a/sdk/compute/arm-compute/src/models/dedicatedHostsMappers.ts b/sdk/compute/arm-compute/src/models/dedicatedHostsMappers.ts new file mode 100644 index 000000000000..f78b7b1889ae --- /dev/null +++ b/sdk/compute/arm-compute/src/models/dedicatedHostsMappers.ts @@ -0,0 +1,169 @@ +/* + * Copyright (c) Microsoft Corporation. All rights reserved. + * Licensed under the MIT License. See License.txt in the project root for license information. + * + * 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, + AvailabilitySet, + AvailabilitySetUpdate, + BaseResource, + BootDiagnostics, + BootDiagnosticsInstanceView, + CloudError, + ContainerService, + ContainerServiceAgentPoolProfile, + ContainerServiceCustomProfile, + ContainerServiceDiagnosticsProfile, + ContainerServiceLinuxProfile, + ContainerServiceMasterProfile, + ContainerServiceOrchestratorProfile, + ContainerServiceServicePrincipalProfile, + ContainerServiceSshConfiguration, + ContainerServiceSshPublicKey, + ContainerServiceVMDiagnostics, + ContainerServiceWindowsProfile, + CreationData, + DataDisk, + DataDiskImage, + DedicatedHost, + DedicatedHostAllocatableVM, + DedicatedHostAvailableCapacity, + DedicatedHostGroup, + DedicatedHostGroupUpdate, + DedicatedHostInstanceView, + DedicatedHostListResult, + DedicatedHostUpdate, + DiagnosticsProfile, + DiffDiskSettings, + Disallowed, + Disk, + DiskEncryptionSettings, + DiskInstanceView, + DiskSku, + EncryptionSettingsCollection, + EncryptionSettingsElement, + Gallery, + GalleryArtifactPublishingProfileBase, + GalleryArtifactVersionSource, + GalleryDataDiskImage, + GalleryDiskImage, + GalleryIdentifier, + GalleryImage, + GalleryImageIdentifier, + GalleryImageVersion, + GalleryImageVersionPublishingProfile, + GalleryImageVersionStorageProfile, + GalleryOSDiskImage, + HardwareProfile, + Image, + ImageDataDisk, + ImageDiskReference, + ImageOSDisk, + ImagePurchasePlan, + ImageReference, + ImageStorageProfile, + ImageUpdate, + InnerError, + InstanceViewStatus, + KeyVaultAndKeyReference, + KeyVaultAndSecretReference, + KeyVaultKeyReference, + KeyVaultSecretReference, + LinuxConfiguration, + MaintenanceRedeployStatus, + ManagedDiskParameters, + NetworkInterfaceReference, + NetworkProfile, + OSDisk, + OSDiskImage, + OSProfile, + Plan, + ProximityPlacementGroup, + ProximityPlacementGroupUpdate, + PurchasePlan, + RecommendedMachineConfiguration, + RegionalReplicationStatus, + ReplicationStatus, + Resource, + ResourceRange, + RollingUpgradePolicy, + RollingUpgradeProgressInfo, + RollingUpgradeRunningStatus, + RollingUpgradeStatusInfo, + ScheduledEventsProfile, + Sku, + Snapshot, + SnapshotSku, + SourceVault, + SshConfiguration, + SshPublicKey, + StorageProfile, + SubResource, + SubResourceReadOnly, + TargetRegion, + TerminateNotificationProfile, + UpdateResource, + UpgradePolicy, + VaultCertificate, + VaultSecretGroup, + VirtualHardDisk, + VirtualMachine, + VirtualMachineAgentInstanceView, + VirtualMachineCaptureResult, + VirtualMachineExtension, + VirtualMachineExtensionHandlerInstanceView, + VirtualMachineExtensionImage, + VirtualMachineExtensionInstanceView, + VirtualMachineExtensionUpdate, + VirtualMachineHealthStatus, + VirtualMachineIdentity, + VirtualMachineIdentityUserAssignedIdentitiesValue, + VirtualMachineImage, + VirtualMachineImageResource, + VirtualMachineInstanceView, + VirtualMachineScaleSet, + VirtualMachineScaleSetDataDisk, + VirtualMachineScaleSetExtension, + VirtualMachineScaleSetExtensionProfile, + VirtualMachineScaleSetIdentity, + VirtualMachineScaleSetIdentityUserAssignedIdentitiesValue, + VirtualMachineScaleSetIPConfiguration, + VirtualMachineScaleSetIpTag, + VirtualMachineScaleSetManagedDiskParameters, + VirtualMachineScaleSetNetworkConfiguration, + VirtualMachineScaleSetNetworkConfigurationDnsSettings, + VirtualMachineScaleSetNetworkProfile, + VirtualMachineScaleSetOSDisk, + VirtualMachineScaleSetOSProfile, + VirtualMachineScaleSetPublicIPAddressConfiguration, + VirtualMachineScaleSetPublicIPAddressConfigurationDnsSettings, + VirtualMachineScaleSetStorageProfile, + VirtualMachineScaleSetUpdate, + VirtualMachineScaleSetUpdateIPConfiguration, + VirtualMachineScaleSetUpdateNetworkConfiguration, + VirtualMachineScaleSetUpdateNetworkProfile, + VirtualMachineScaleSetUpdateOSDisk, + VirtualMachineScaleSetUpdateOSProfile, + VirtualMachineScaleSetUpdatePublicIPAddressConfiguration, + VirtualMachineScaleSetUpdateStorageProfile, + VirtualMachineScaleSetUpdateVMProfile, + VirtualMachineScaleSetVM, + VirtualMachineScaleSetVMInstanceView, + VirtualMachineScaleSetVMNetworkProfileConfiguration, + VirtualMachineScaleSetVMProfile, + VirtualMachineScaleSetVMProtectionPolicy, + VirtualMachineUpdate, + WindowsConfiguration, + WinRMConfiguration, + WinRMListener +} from "../models/mappers"; diff --git a/sdk/compute/arm-compute/src/models/disksMappers.ts b/sdk/compute/arm-compute/src/models/disksMappers.ts index 95e2dfea55a3..933336b4e3d1 100644 --- a/sdk/compute/arm-compute/src/models/disksMappers.ts +++ b/sdk/compute/arm-compute/src/models/disksMappers.ts @@ -36,6 +36,13 @@ export { CreationData, DataDisk, DataDiskImage, + DedicatedHost, + DedicatedHostAllocatableVM, + DedicatedHostAvailableCapacity, + DedicatedHostGroup, + DedicatedHostGroupUpdate, + DedicatedHostInstanceView, + DedicatedHostUpdate, DiagnosticsProfile, DiffDiskSettings, Disallowed, @@ -49,7 +56,7 @@ export { EncryptionSettingsElement, Gallery, GalleryArtifactPublishingProfileBase, - GalleryArtifactSource, + GalleryArtifactVersionSource, GalleryDataDiskImage, GalleryDiskImage, GalleryIdentifier, @@ -77,7 +84,6 @@ export { KeyVaultSecretReference, LinuxConfiguration, MaintenanceRedeployStatus, - ManagedArtifact, ManagedDiskParameters, NetworkInterfaceReference, NetworkProfile, @@ -85,6 +91,8 @@ export { OSDiskImage, OSProfile, Plan, + ProximityPlacementGroup, + ProximityPlacementGroupUpdate, PurchasePlan, RecommendedMachineConfiguration, RegionalReplicationStatus, @@ -95,6 +103,7 @@ export { RollingUpgradeProgressInfo, RollingUpgradeRunningStatus, RollingUpgradeStatusInfo, + ScheduledEventsProfile, Sku, Snapshot, SnapshotSku, @@ -105,6 +114,7 @@ export { SubResource, SubResourceReadOnly, TargetRegion, + TerminateNotificationProfile, UpdateResource, UpgradePolicy, VaultCertificate, diff --git a/sdk/compute/arm-compute/src/models/galleriesMappers.ts b/sdk/compute/arm-compute/src/models/galleriesMappers.ts index 4687700e7133..e6dfd400aa99 100644 --- a/sdk/compute/arm-compute/src/models/galleriesMappers.ts +++ b/sdk/compute/arm-compute/src/models/galleriesMappers.ts @@ -35,6 +35,13 @@ export { CreationData, DataDisk, DataDiskImage, + DedicatedHost, + DedicatedHostAllocatableVM, + DedicatedHostAvailableCapacity, + DedicatedHostGroup, + DedicatedHostGroupUpdate, + DedicatedHostInstanceView, + DedicatedHostUpdate, DiagnosticsProfile, DiffDiskSettings, Disallowed, @@ -46,7 +53,7 @@ export { EncryptionSettingsElement, Gallery, GalleryArtifactPublishingProfileBase, - GalleryArtifactSource, + GalleryArtifactVersionSource, GalleryDataDiskImage, GalleryDiskImage, GalleryIdentifier, @@ -74,7 +81,6 @@ export { KeyVaultSecretReference, LinuxConfiguration, MaintenanceRedeployStatus, - ManagedArtifact, ManagedDiskParameters, NetworkInterfaceReference, NetworkProfile, @@ -82,6 +88,8 @@ export { OSDiskImage, OSProfile, Plan, + ProximityPlacementGroup, + ProximityPlacementGroupUpdate, PurchasePlan, RecommendedMachineConfiguration, RegionalReplicationStatus, @@ -92,6 +100,7 @@ export { RollingUpgradeProgressInfo, RollingUpgradeRunningStatus, RollingUpgradeStatusInfo, + ScheduledEventsProfile, Sku, Snapshot, SnapshotSku, @@ -102,6 +111,7 @@ export { SubResource, SubResourceReadOnly, TargetRegion, + TerminateNotificationProfile, UpdateResource, UpgradePolicy, VaultCertificate, diff --git a/sdk/compute/arm-compute/src/models/galleryImageVersionsMappers.ts b/sdk/compute/arm-compute/src/models/galleryImageVersionsMappers.ts index 49635438d1f8..bf2fcfd9c4e1 100644 --- a/sdk/compute/arm-compute/src/models/galleryImageVersionsMappers.ts +++ b/sdk/compute/arm-compute/src/models/galleryImageVersionsMappers.ts @@ -35,6 +35,13 @@ export { CreationData, DataDisk, DataDiskImage, + DedicatedHost, + DedicatedHostAllocatableVM, + DedicatedHostAvailableCapacity, + DedicatedHostGroup, + DedicatedHostGroupUpdate, + DedicatedHostInstanceView, + DedicatedHostUpdate, DiagnosticsProfile, DiffDiskSettings, Disallowed, @@ -46,7 +53,7 @@ export { EncryptionSettingsElement, Gallery, GalleryArtifactPublishingProfileBase, - GalleryArtifactSource, + GalleryArtifactVersionSource, GalleryDataDiskImage, GalleryDiskImage, GalleryIdentifier, @@ -74,7 +81,6 @@ export { KeyVaultSecretReference, LinuxConfiguration, MaintenanceRedeployStatus, - ManagedArtifact, ManagedDiskParameters, NetworkInterfaceReference, NetworkProfile, @@ -82,6 +88,8 @@ export { OSDiskImage, OSProfile, Plan, + ProximityPlacementGroup, + ProximityPlacementGroupUpdate, PurchasePlan, RecommendedMachineConfiguration, RegionalReplicationStatus, @@ -92,6 +100,7 @@ export { RollingUpgradeProgressInfo, RollingUpgradeRunningStatus, RollingUpgradeStatusInfo, + ScheduledEventsProfile, Sku, Snapshot, SnapshotSku, @@ -102,6 +111,7 @@ export { SubResource, SubResourceReadOnly, TargetRegion, + TerminateNotificationProfile, UpdateResource, UpgradePolicy, VaultCertificate, diff --git a/sdk/compute/arm-compute/src/models/galleryImagesMappers.ts b/sdk/compute/arm-compute/src/models/galleryImagesMappers.ts index 3d94ca5fa3a2..74a0f94af187 100644 --- a/sdk/compute/arm-compute/src/models/galleryImagesMappers.ts +++ b/sdk/compute/arm-compute/src/models/galleryImagesMappers.ts @@ -35,6 +35,13 @@ export { CreationData, DataDisk, DataDiskImage, + DedicatedHost, + DedicatedHostAllocatableVM, + DedicatedHostAvailableCapacity, + DedicatedHostGroup, + DedicatedHostGroupUpdate, + DedicatedHostInstanceView, + DedicatedHostUpdate, DiagnosticsProfile, DiffDiskSettings, Disallowed, @@ -46,7 +53,7 @@ export { EncryptionSettingsElement, Gallery, GalleryArtifactPublishingProfileBase, - GalleryArtifactSource, + GalleryArtifactVersionSource, GalleryDataDiskImage, GalleryDiskImage, GalleryIdentifier, @@ -74,7 +81,6 @@ export { KeyVaultSecretReference, LinuxConfiguration, MaintenanceRedeployStatus, - ManagedArtifact, ManagedDiskParameters, NetworkInterfaceReference, NetworkProfile, @@ -82,6 +88,8 @@ export { OSDiskImage, OSProfile, Plan, + ProximityPlacementGroup, + ProximityPlacementGroupUpdate, PurchasePlan, RecommendedMachineConfiguration, RegionalReplicationStatus, @@ -92,6 +100,7 @@ export { RollingUpgradeProgressInfo, RollingUpgradeRunningStatus, RollingUpgradeStatusInfo, + ScheduledEventsProfile, Sku, Snapshot, SnapshotSku, @@ -102,6 +111,7 @@ export { SubResource, SubResourceReadOnly, TargetRegion, + TerminateNotificationProfile, UpdateResource, UpgradePolicy, VaultCertificate, diff --git a/sdk/compute/arm-compute/src/models/imagesMappers.ts b/sdk/compute/arm-compute/src/models/imagesMappers.ts index 9d476228fb50..49af9be82511 100644 --- a/sdk/compute/arm-compute/src/models/imagesMappers.ts +++ b/sdk/compute/arm-compute/src/models/imagesMappers.ts @@ -35,6 +35,13 @@ export { CreationData, DataDisk, DataDiskImage, + DedicatedHost, + DedicatedHostAllocatableVM, + DedicatedHostAvailableCapacity, + DedicatedHostGroup, + DedicatedHostGroupUpdate, + DedicatedHostInstanceView, + DedicatedHostUpdate, DiagnosticsProfile, DiffDiskSettings, Disallowed, @@ -46,7 +53,7 @@ export { EncryptionSettingsElement, Gallery, GalleryArtifactPublishingProfileBase, - GalleryArtifactSource, + GalleryArtifactVersionSource, GalleryDataDiskImage, GalleryDiskImage, GalleryIdentifier, @@ -74,7 +81,6 @@ export { KeyVaultSecretReference, LinuxConfiguration, MaintenanceRedeployStatus, - ManagedArtifact, ManagedDiskParameters, NetworkInterfaceReference, NetworkProfile, @@ -82,6 +88,8 @@ export { OSDiskImage, OSProfile, Plan, + ProximityPlacementGroup, + ProximityPlacementGroupUpdate, PurchasePlan, RecommendedMachineConfiguration, RegionalReplicationStatus, @@ -92,6 +100,7 @@ export { RollingUpgradeProgressInfo, RollingUpgradeRunningStatus, RollingUpgradeStatusInfo, + ScheduledEventsProfile, Sku, Snapshot, SnapshotSku, @@ -102,6 +111,7 @@ export { SubResource, SubResourceReadOnly, TargetRegion, + TerminateNotificationProfile, UpdateResource, UpgradePolicy, VaultCertificate, diff --git a/sdk/compute/arm-compute/src/models/index.ts b/sdk/compute/arm-compute/src/models/index.ts index ab37a5df853a..68d208b7ba58 100644 --- a/sdk/compute/arm-compute/src/models/index.ts +++ b/sdk/compute/arm-compute/src/models/index.ts @@ -156,6 +156,11 @@ export interface AvailabilitySet extends Resource { * A list of references to all virtual machines in the availability set. */ virtualMachines?: SubResource[]; + /** + * Specifies information about the proximity placement group that the availability set should be + * assigned to.

Minimum api-version: 2018-04-01. + */ + proximityPlacementGroup?: SubResource; /** * The resource status information. * **NOTE: This property will not be serialized. It can only be populated by the server.** @@ -196,6 +201,11 @@ export interface AvailabilitySetUpdate extends UpdateResource { * A list of references to all virtual machines in the availability set. */ virtualMachines?: SubResource[]; + /** + * Specifies information about the proximity placement group that the availability set should be + * assigned to.

Minimum api-version: 2018-04-01. + */ + proximityPlacementGroup?: SubResource; /** * The resource status information. * **NOTE: This property will not be serialized. It can only be populated by the server.** @@ -207,6 +217,241 @@ export interface AvailabilitySetUpdate extends UpdateResource { sku?: Sku; } +/** + * Specifies information about the proximity placement group. + */ +export interface ProximityPlacementGroup extends Resource { + /** + * Specifies the type of the proximity placement group.

Possible values are:

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

+ * **Ultra** : For future use. Possible values include: 'Standard', 'Ultra' + */ + proximityPlacementGroupType?: ProximityPlacementGroupType; + /** + * A list of references to all virtual machines in the proximity placement group. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly virtualMachines?: SubResource[]; + /** + * A list of references to all virtual machine scale sets in the proximity placement group. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly virtualMachineScaleSets?: SubResource[]; + /** + * A list of references to all availability sets in the proximity placement group. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly availabilitySets?: SubResource[]; +} + +/** + * Specifies information about the proximity placement group. + */ +export interface ProximityPlacementGroupUpdate extends UpdateResource { +} + +/** + * An interface representing SubResourceReadOnly. + */ +export interface SubResourceReadOnly extends BaseResource { + /** + * Resource Id + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly id?: string; +} + +/** + * Specifies information about the dedicated host group that the dedicated hosts should be assigned + * to.

Currently, a dedicated host can only be added to a dedicated host group at creation + * time. An existing dedicated host cannot be added to another dedicated host group. + */ +export interface DedicatedHostGroup extends Resource { + /** + * Number of fault domains that the host group can span. + */ + platformFaultDomainCount: number; + /** + * A list of references to all dedicated hosts in the dedicated host group. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly hosts?: SubResourceReadOnly[]; + /** + * Availability Zone to use for this host group. Only single zone is supported. The zone can be + * assigned only during creation. If not provided, the group supports all zones in the region. If + * provided, enforces each host in the group to be in the same zone. + */ + zones?: string[]; +} + +/** + * Specifies information about the dedicated host group that the dedicated host should be assigned + * to. Only tags may be updated. + */ +export interface DedicatedHostGroupUpdate extends UpdateResource { + /** + * Number of fault domains that the host group can span. + */ + platformFaultDomainCount: number; + /** + * A list of references to all dedicated hosts in the dedicated host group. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly hosts?: SubResourceReadOnly[]; + /** + * Availability Zone to use for this host group. Only single zone is supported. The zone can be + * assigned only during creation. If not provided, the group supports all zones in the region. If + * provided, enforces each host in the group to be in the same zone. + */ + zones?: string[]; +} + +/** + * Represents the dedicated host unutilized capacity in terms of a specific VM size. + */ +export interface DedicatedHostAllocatableVM { + /** + * VM size in terms of which the unutilized capacity is represented. + */ + vmSize?: string; + /** + * Maximum number of VMs of size vmSize that can fit in the dedicated host's remaining capacity. + */ + count?: number; +} + +/** + * Dedicated host unutilized capacity. + */ +export interface DedicatedHostAvailableCapacity { + /** + * The unutilized capacity of the dedicated host represented in terms of each VM size that is + * allowed to be deployed to the dedicated host. + */ + allocatableVMs?: DedicatedHostAllocatableVM[]; +} + +/** + * The instance view of a dedicated host. + */ +export interface DedicatedHostInstanceView { + /** + * Specifies the unique id of the dedicated physical machine on which the dedicated host resides. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly assetId?: string; + /** + * Unutilized capacity of the dedicated host. + */ + availableCapacity?: DedicatedHostAvailableCapacity; + /** + * The resource status information. + */ + statuses?: InstanceViewStatus[]; +} + +/** + * Specifies information about the Dedicated host. + */ +export interface DedicatedHost extends Resource { + /** + * Fault domain of the dedicated host within a dedicated host group. + */ + platformFaultDomain?: number; + /** + * Specifies whether the dedicated host should be replaced automatically in case of a failure. + * The value is defaulted to 'true' when not provided. + */ + autoReplaceOnFailure?: boolean; + /** + * A unique id generated and assigned to the dedicated host by the platform.

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

Possible values are:

**None**

**Windows_Server_Hybrid** + *

**Windows_Server_Perpetual**

Default: **None**. Possible values include: + * 'None', 'Windows_Server_Hybrid', 'Windows_Server_Perpetual' + */ + licenseType?: DedicatedHostLicenseTypes; + /** + * The date when the host was first provisioned. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly provisioningTime?: Date; + /** + * The provisioning state, which only appears in the response. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly provisioningState?: string; + /** + * The dedicated host instance view. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly instanceView?: DedicatedHostInstanceView; + /** + * SKU of the dedicated host for Hardware Generation and VM family. Only name is required to be + * set. List Microsoft.Compute SKUs for a list of possible values. + */ + sku: Sku; +} + +/** + * Specifies information about the dedicated host. Only tags, autoReplaceOnFailure and licenseType + * may be updated. + */ +export interface DedicatedHostUpdate extends UpdateResource { + /** + * Fault domain of the dedicated host within a dedicated host group. + */ + platformFaultDomain?: number; + /** + * Specifies whether the dedicated host should be replaced automatically in case of a failure. + * The value is defaulted to 'true' when not provided. + */ + autoReplaceOnFailure?: boolean; + /** + * A unique id generated and assigned to the dedicated host by the platform.

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

Possible values are:

**None**

**Windows_Server_Hybrid** + *

**Windows_Server_Perpetual**

Default: **None**. Possible values include: + * 'None', 'Windows_Server_Hybrid', 'Windows_Server_Perpetual' + */ + licenseType?: DedicatedHostLicenseTypes; + /** + * The date when the host was first provisioned. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly provisioningTime?: Date; + /** + * The provisioning state, which only appears in the response. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly provisioningState?: string; + /** + * The dedicated host instance view. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly instanceView?: DedicatedHostInstanceView; +} + /** * Describes the properties of a VM size. */ @@ -505,7 +750,8 @@ export interface Usage { */ export interface VirtualMachineReimageParameters { /** - * Specifies whether to reimage temp disk. Default value: false. + * Specifies whether to reimage temp disk. Default value: false. Note: This temp disk reimage + * parameter is only supported for VM/VMSS with Ephemeral OS disk. */ tempDisk?: boolean; } @@ -863,6 +1109,11 @@ export interface DataDisk { * The managed disk parameters. */ managedDisk?: ManagedDiskParameters; + /** + * Specifies whether the data disk is in process of detachment from the + * VirtualMachine/VirtualMachineScaleset + */ + toBeDetached?: boolean; } /** @@ -974,7 +1225,9 @@ export interface WindowsConfiguration { */ provisionVMAgent?: boolean; /** - * Indicates whether virtual machine is enabled for automatic updates. + * Indicates whether Automatic Updates is enabled for the Windows virtual machine. Default value + * is true.

For virtual machine scale sets, this property can be updated and updates + * will take effect on OS reprovisioning. */ enableAutomaticUpdates?: boolean; /** @@ -1390,6 +1643,11 @@ export interface VirtualMachineInstanceView { * The version of Operating System running on the virtual machine. */ osVersion?: string; + /** + * Specifies the HyperVGeneration Type associated with a resource. Possible values include: 'V1', + * 'V2' + */ + hyperVGeneration?: HyperVGenerationType; /** * The Remote desktop certificate thumbprint. */ @@ -1471,6 +1729,16 @@ export interface VirtualMachine extends Resource { * VM cannot be added to an availability set. */ availabilitySet?: SubResource; + /** + * Specifies information about the proximity placement group that the virtual machine should be + * assigned to.

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

Minimum api-version: 2018-10-01. + */ + host?: SubResource; /** * The provisioning state, which only appears in the response. * **NOTE: This property will not be serialized. It can only be populated by the server.** @@ -1561,6 +1829,16 @@ export interface VirtualMachineUpdate extends UpdateResource { * VM cannot be added to an availability set. */ availabilitySet?: SubResource; + /** + * Specifies information about the proximity placement group that the virtual machine should be + * assigned to.

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

Minimum api-version: 2018-10-01. + */ + host?: SubResource; /** * The provisioning state, which only appears in the response. * **NOTE: This property will not be serialized. It can only be populated by the server.** @@ -1602,8 +1880,11 @@ export interface VirtualMachineUpdate extends UpdateResource { */ export interface AutomaticOSUpgradePolicy { /** - * Whether OS upgrades should automatically be applied to scale set instances in a rolling - * fashion when a newer version of the image becomes available. Default value is false. + * Indicates whether OS upgrades should automatically be applied to scale set instances in a + * rolling fashion when a newer version of the OS image becomes available. Default value is + * false.

If this is set to true for Windows based scale sets, + * [enableAutomaticUpdates](https://docs.microsoft.com/dotnet/api/microsoft.azure.management.compute.models.windowsconfiguration.enableautomaticupdates?view=azure-dotnet) + * is automatically set to false and cannot be set to true. */ enableAutomaticOSUpgrade?: boolean; /** @@ -1794,6 +2075,11 @@ export interface Image extends Resource { * **NOTE: This property will not be serialized. It can only be populated by the server.** */ readonly provisioningState?: string; + /** + * Gets the HyperVGenerationType of the VirtualMachine created from the image. Possible values + * include: 'V1', 'V2' + */ + hyperVGeneration?: HyperVGenerationTypes; } /** @@ -1813,6 +2099,11 @@ export interface ImageUpdate extends UpdateResource { * **NOTE: This property will not be serialized. It can only be populated by the server.** */ readonly provisioningState?: string; + /** + * Gets the HyperVGenerationType of the VirtualMachine created from the image. Possible values + * include: 'V1', 'V2' + */ + hyperVGeneration?: HyperVGenerationTypes; } /** @@ -2420,17 +2711,6 @@ export interface VirtualMachineScaleSetUpdateNetworkProfile { networkInterfaceConfigurations?: VirtualMachineScaleSetUpdateNetworkConfiguration[]; } -/** - * An interface representing SubResourceReadOnly. - */ -export interface SubResourceReadOnly extends BaseResource { - /** - * Resource Id - * **NOTE: This property will not be serialized. It can only be populated by the server.** - */ - readonly id?: string; -} - /** * Describes a Virtual Machine Scale Set Extension. */ @@ -2492,6 +2772,32 @@ export interface VirtualMachineScaleSetExtensionProfile { extensions?: VirtualMachineScaleSetExtension[]; } +/** + * An interface representing TerminateNotificationProfile. + */ +export interface TerminateNotificationProfile { + /** + * Configurable length of time a Virtual Machine being deleted will have to potentially approve + * the Terminate Scheduled Event before the event is auto approved (timed out). The configuration + * must be specified in ISO 8601 format, the default value is 5 minutes (PT5M) + */ + notBeforeTimeout?: string; + /** + * Specifies whether the Terminate Scheduled event is enabled or disabled. + */ + enable?: boolean; +} + +/** + * An interface representing ScheduledEventsProfile. + */ +export interface ScheduledEventsProfile { + /** + * Specifies Terminate Scheduled Event related configurations. + */ + terminateNotificationProfile?: TerminateNotificationProfile; +} + /** * Describes a virtual machine scale set virtual machine profile. */ @@ -2504,12 +2810,6 @@ export interface VirtualMachineScaleSetVMProfile { * Specifies the storage settings for the virtual machine disks. */ storageProfile?: VirtualMachineScaleSetStorageProfile; - /** - * Specifies additional capabilities enabled or disabled on the virtual machine in the scale set. - * For instance: whether the virtual machine has the capability to support attaching managed data - * disks with UltraSSD_LRS storage account type. - */ - additionalCapabilities?: AdditionalCapabilities; /** * Specifies properties of the network interfaces of the virtual machines in the scale set. */ @@ -2544,6 +2844,10 @@ export interface VirtualMachineScaleSetVMProfile { * 'Delete' */ evictionPolicy?: VirtualMachineEvictionPolicyTypes; + /** + * Specifies Scheduled Event related configurations. + */ + scheduledEventsProfile?: ScheduledEventsProfile; } /** @@ -2574,6 +2878,10 @@ export interface VirtualMachineScaleSetUpdateVMProfile { * The license type, which is for bring your own license scenario. */ licenseType?: string; + /** + * Specifies Scheduled Event related configurations. + */ + scheduledEventsProfile?: ScheduledEventsProfile; } /** @@ -2634,6 +2942,17 @@ export interface VirtualMachineScaleSet extends Resource { * Fault Domain count for each placement group. */ platformFaultDomainCount?: number; + /** + * Specifies information about the proximity placement group that the virtual machine scale set + * should be assigned to.

Minimum api-version: 2018-04-01. + */ + proximityPlacementGroup?: SubResource; + /** + * Specifies additional capabilities enabled or disabled on the Virtual Machines in the Virtual + * Machine Scale Set. For instance: whether the Virtual Machines have the capability to support + * attaching managed data disks with UltraSSD_LRS storage account type. + */ + additionalCapabilities?: AdditionalCapabilities; /** * The identity of the virtual machine scale set, if configured. */ @@ -2691,6 +3010,12 @@ export interface VirtualMachineScaleSetUpdate extends UpdateResource { * machines. */ singlePlacementGroup?: boolean; + /** + * Specifies additional capabilities enabled or disabled on the Virtual Machines in the Virtual + * Machine Scale Set. For instance: whether the Virtual Machines have the capability to support + * attaching managed data disks with UltraSSD_LRS storage account type. + */ + additionalCapabilities?: AdditionalCapabilities; /** * The identity of the virtual machine scale set, if configured. */ @@ -3540,6 +3865,22 @@ export interface ResourceSkuCapabilities { readonly value?: string; } +/** + * Describes The zonal capabilities of a SKU. + */ +export interface ResourceSkuZoneDetails { + /** + * The set of zones that the SKU is available in with the specified capabilities. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly name?: string[]; + /** + * A list of capabilities that are available for the SKU in the specified list of zones. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly capabilities?: ResourceSkuCapabilities[]; +} + /** * An interface representing ResourceSkuRestrictionInfo. */ @@ -3597,6 +3938,11 @@ export interface ResourceSkuLocationInfo { * **NOTE: This property will not be serialized. It can only be populated by the server.** */ readonly zones?: string[]; + /** + * Details of capabilities available to a SKU in specific zones. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly zoneDetails?: ResourceSkuZoneDetails[]; } /** @@ -4151,10 +4497,15 @@ export interface GalleryImage extends Resource { */ osType: OperatingSystemTypes; /** - * The allowed values for OS State are 'Generalized'. Possible values include: 'Generalized', - * 'Specialized' + * This property allows the user to specify whether the virtual machines created under this image + * are 'Generalized' or 'Specialized'. Possible values include: 'Generalized', 'Specialized' */ osState: OperatingSystemStateTypes; + /** + * The hypervisor generation of the Virtual Machine. Applicable to OS disks only. Possible values + * include: 'V1', 'V2' + */ + hyperVGeneration?: HyperVGeneration; /** * The end of life date of the gallery Image Definition. This property can be used for * decommissioning purposes. This property is updatable. @@ -4182,7 +4533,6 @@ export interface GalleryArtifactPublishingProfileBase { * updatable. */ targetRegions?: TargetRegion[]; - source: GalleryArtifactSource; } /** @@ -4216,6 +4566,17 @@ export interface GalleryImageVersionPublishingProfile extends GalleryArtifactPub storageAccountType?: StorageAccountType; } +/** + * The gallery artifact version source. + */ +export interface GalleryArtifactVersionSource { + /** + * The id of the gallery artifact version source. Can specify a disk uri, snapshot uri, or user + * image. + */ + id: string; +} + /** * This is the disk image base class. */ @@ -4228,9 +4589,9 @@ export interface GalleryDiskImage { /** * The host caching of the disk. Valid values are 'None', 'ReadOnly', and 'ReadWrite'. Possible * values include: 'None', 'ReadOnly', 'ReadWrite' - * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - readonly hostCaching?: HostCaching; + hostCaching?: HostCaching; + source?: GalleryArtifactVersionSource; } /** @@ -4247,24 +4608,20 @@ export interface GalleryDataDiskImage extends GalleryDiskImage { * This property specifies the logical unit number of the data disk. This value is used to * identify data disks within the Virtual Machine and therefore must be unique for each data disk * attached to the Virtual Machine. - * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - readonly lun?: number; + lun: number; } /** - * This is the storage profile of a gallery Image Version. + * This is the storage profile of a Gallery Image Version. */ export interface GalleryImageVersionStorageProfile { - /** - * **NOTE: This property will not be serialized. It can only be populated by the server.** - */ - readonly osDiskImage?: GalleryOSDiskImage; + source?: GalleryArtifactVersionSource; + osDiskImage?: GalleryOSDiskImage; /** * A list of data disk images. - * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - readonly dataDiskImages?: GalleryDataDiskImage[]; + dataDiskImages?: GalleryDataDiskImage[]; } /** @@ -4315,7 +4672,7 @@ export interface ReplicationStatus { * Specifies information about the gallery Image Version that you want to create or update. */ export interface GalleryImageVersion extends Resource { - publishingProfile: GalleryImageVersionPublishingProfile; + publishingProfile?: GalleryImageVersionPublishingProfile; /** * The current state of the gallery Image Version. The provisioning state, which only appears in * the response. Possible values include: 'Creating', 'Updating', 'Failed', 'Succeeded', @@ -4323,10 +4680,7 @@ export interface GalleryImageVersion extends Resource { * **NOTE: This property will not be serialized. It can only be populated by the server.** */ readonly provisioningState?: ProvisioningState2; - /** - * **NOTE: This property will not be serialized. It can only be populated by the server.** - */ - readonly storageProfile?: GalleryImageVersionStorageProfile; + storageProfile: GalleryImageVersionStorageProfile; /** * **NOTE: This property will not be serialized. It can only be populated by the server.** */ @@ -4353,23 +4707,6 @@ export interface TargetRegion { storageAccountType?: StorageAccountType; } -/** - * The managed artifact. - */ -export interface ManagedArtifact { - /** - * The managed artifact id. - */ - id: string; -} - -/** - * The source image from which the Image Version is going to be created. - */ -export interface GalleryArtifactSource { - managedImage: ManagedArtifact; -} - /** * Properties to configure a custom container service cluster. */ @@ -4583,9 +4920,19 @@ export interface ContainerService extends Resource { /** * Optional Parameters. */ -export interface VirtualMachineExtensionImagesListVersionsOptionalParams extends msRest.RequestOptionsBase { +export interface DedicatedHostsGetOptionalParams extends msRest.RequestOptionsBase { /** - * The filter to apply on the operation. + * The expand expression to apply on the operation. Possible values include: 'instanceView' + */ + expand?: InstanceViewTypes; +} + +/** + * Optional Parameters. + */ +export interface VirtualMachineExtensionImagesListVersionsOptionalParams extends msRest.RequestOptionsBase { + /** + * The filter to apply on the operation. */ filter?: string; top?: number; @@ -4880,6 +5227,16 @@ export interface VirtualMachineScaleSetVMsReimageOptionalParams extends msRest.R vmScaleSetVMReimageInput?: VirtualMachineScaleSetVMReimageParameters; } +/** + * Optional Parameters. + */ +export interface VirtualMachineScaleSetVMsGetOptionalParams extends msRest.RequestOptionsBase { + /** + * The expand expression to apply on the operation. Possible values include: 'instanceView' + */ + expand?: InstanceViewTypes; +} + /** * Optional Parameters. */ @@ -4978,6 +5335,44 @@ export interface AvailabilitySetListResult extends Array { export interface VirtualMachineSizeListResult extends Array { } +/** + * @interface + * The List Proximity Placement Group operation response. + * @extends Array + */ +export interface ProximityPlacementGroupListResult extends Array { + /** + * The URI to fetch the next page of proximity placement groups. + */ + nextLink?: string; +} + +/** + * @interface + * The List Dedicated Host Group with resource group response. + * @extends Array + */ +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; +} + +/** + * @interface + * The list dedicated host operation response. + * @extends Array + */ +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; +} + /** * @interface * The List Usages operation response. @@ -5110,13 +5505,13 @@ export interface RunCommandListResult extends Array { /** * @interface - * The Compute List Skus operation response. + * The List Resource Skus operation response. * @extends Array */ export interface ResourceSkusResult extends Array { /** - * The uri to fetch the next page of Compute Skus. Call ListNext() with this to fetch the next - * page of VMSS Skus. + * 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; } @@ -5198,6 +5593,14 @@ export interface ContainerServiceListResult extends Array { nextLink?: string; } +/** + * Defines values for HyperVGenerationTypes. + * Possible values include: 'V1', 'V2' + * @readonly + * @enum {string} + */ +export type HyperVGenerationTypes = 'V1' | 'V2'; + /** * Defines values for StatusLevelTypes. * Possible values include: 'Info', 'Warning', 'Error' @@ -5214,6 +5617,22 @@ export type StatusLevelTypes = 'Info' | 'Warning' | 'Error'; */ export type AvailabilitySetSkuTypes = 'Classic' | 'Aligned'; +/** + * Defines values for ProximityPlacementGroupType. + * Possible values include: 'Standard', 'Ultra' + * @readonly + * @enum {string} + */ +export type ProximityPlacementGroupType = 'Standard' | 'Ultra'; + +/** + * 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 OperatingSystemTypes. * Possible values include: 'Windows', 'Linux' @@ -5344,6 +5763,14 @@ export type ResourceIdentityType = 'SystemAssigned' | 'UserAssigned' | 'SystemAs */ 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 UpgradeMode. * Possible values include: 'Automatic', 'Manual', 'Rolling' @@ -5781,6 +6208,426 @@ export type AvailabilitySetsListNextResponse = 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 get operation. */ diff --git a/sdk/compute/arm-compute/src/models/mappers.ts b/sdk/compute/arm-compute/src/models/mappers.ts index 76794d65e587..903dfadb24a7 100644 --- a/sdk/compute/arm-compute/src/models/mappers.ts +++ b/sdk/compute/arm-compute/src/models/mappers.ts @@ -233,6 +233,13 @@ export const AvailabilitySet: msRest.CompositeMapper = { } } }, + proximityPlacementGroup: { + serializedName: "properties.proximityPlacementGroup", + type: { + name: "Composite", + className: "SubResource" + } + }, statuses: { readOnly: true, serializedName: "properties.statuses", @@ -309,6 +316,13 @@ export const AvailabilitySetUpdate: msRest.CompositeMapper = { } } }, + proximityPlacementGroup: { + serializedName: "properties.proximityPlacementGroup", + type: { + name: "Composite", + className: "SubResource" + } + }, statuses: { readOnly: true, serializedName: "properties.statuses", @@ -333,6 +347,430 @@ export const AvailabilitySetUpdate: msRest.CompositeMapper = { } }; +export const ProximityPlacementGroup: msRest.CompositeMapper = { + serializedName: "ProximityPlacementGroup", + type: { + name: "Composite", + className: "ProximityPlacementGroup", + modelProperties: { + ...Resource.type.modelProperties, + proximityPlacementGroupType: { + serializedName: "properties.proximityPlacementGroupType", + type: { + name: "String" + } + }, + virtualMachines: { + readOnly: true, + serializedName: "properties.virtualMachines", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "SubResource" + } + } + } + }, + virtualMachineScaleSets: { + readOnly: true, + serializedName: "properties.virtualMachineScaleSets", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "SubResource" + } + } + } + }, + availabilitySets: { + readOnly: true, + serializedName: "properties.availabilitySets", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "SubResource" + } + } + } + } + } + } +}; + +export const ProximityPlacementGroupUpdate: msRest.CompositeMapper = { + serializedName: "ProximityPlacementGroupUpdate", + type: { + name: "Composite", + className: "ProximityPlacementGroupUpdate", + modelProperties: { + ...UpdateResource.type.modelProperties + } + } +}; + +export const SubResourceReadOnly: msRest.CompositeMapper = { + serializedName: "SubResourceReadOnly", + type: { + name: "Composite", + className: "SubResourceReadOnly", + modelProperties: { + id: { + readOnly: true, + serializedName: "id", + type: { + name: "String" + } + } + } + } +}; + +export const DedicatedHostGroup: msRest.CompositeMapper = { + serializedName: "DedicatedHostGroup", + type: { + name: "Composite", + className: "DedicatedHostGroup", + modelProperties: { + ...Resource.type.modelProperties, + platformFaultDomainCount: { + required: true, + serializedName: "properties.platformFaultDomainCount", + constraints: { + InclusiveMaximum: 3, + InclusiveMinimum: 1 + }, + type: { + name: "Number" + } + }, + hosts: { + readOnly: true, + serializedName: "properties.hosts", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "SubResourceReadOnly" + } + } + } + }, + zones: { + serializedName: "zones", + type: { + name: "Sequence", + element: { + type: { + name: "String" + } + } + } + } + } + } +}; + +export const DedicatedHostGroupUpdate: msRest.CompositeMapper = { + serializedName: "DedicatedHostGroupUpdate", + type: { + name: "Composite", + className: "DedicatedHostGroupUpdate", + modelProperties: { + ...UpdateResource.type.modelProperties, + platformFaultDomainCount: { + required: true, + serializedName: "properties.platformFaultDomainCount", + constraints: { + InclusiveMaximum: 3, + InclusiveMinimum: 1 + }, + type: { + name: "Number" + } + }, + hosts: { + readOnly: true, + serializedName: "properties.hosts", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "SubResourceReadOnly" + } + } + } + }, + zones: { + serializedName: "zones", + type: { + name: "Sequence", + element: { + type: { + name: "String" + } + } + } + } + } + } +}; + +export const DedicatedHostAllocatableVM: msRest.CompositeMapper = { + serializedName: "DedicatedHostAllocatableVM", + type: { + name: "Composite", + className: "DedicatedHostAllocatableVM", + modelProperties: { + vmSize: { + serializedName: "vmSize", + type: { + name: "String" + } + }, + count: { + serializedName: "count", + type: { + name: "Number" + } + } + } + } +}; + +export const DedicatedHostAvailableCapacity: msRest.CompositeMapper = { + serializedName: "DedicatedHostAvailableCapacity", + type: { + name: "Composite", + className: "DedicatedHostAvailableCapacity", + modelProperties: { + allocatableVMs: { + serializedName: "allocatableVMs", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "DedicatedHostAllocatableVM" + } + } + } + } + } + } +}; + +export const DedicatedHostInstanceView: msRest.CompositeMapper = { + serializedName: "DedicatedHostInstanceView", + type: { + name: "Composite", + className: "DedicatedHostInstanceView", + modelProperties: { + assetId: { + readOnly: true, + serializedName: "assetId", + type: { + name: "String" + } + }, + availableCapacity: { + serializedName: "availableCapacity", + type: { + name: "Composite", + className: "DedicatedHostAvailableCapacity" + } + }, + statuses: { + serializedName: "statuses", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "InstanceViewStatus" + } + } + } + } + } + } +}; + +export const DedicatedHost: msRest.CompositeMapper = { + serializedName: "DedicatedHost", + type: { + name: "Composite", + className: "DedicatedHost", + modelProperties: { + ...Resource.type.modelProperties, + platformFaultDomain: { + serializedName: "properties.platformFaultDomain", + constraints: { + InclusiveMaximum: 2, + InclusiveMinimum: 0 + }, + type: { + name: "Number" + } + }, + autoReplaceOnFailure: { + serializedName: "properties.autoReplaceOnFailure", + type: { + name: "Boolean" + } + }, + hostId: { + readOnly: true, + serializedName: "properties.hostId", + type: { + name: "String" + } + }, + virtualMachines: { + readOnly: true, + serializedName: "properties.virtualMachines", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "SubResourceReadOnly" + } + } + } + }, + licenseType: { + serializedName: "properties.licenseType", + type: { + name: "Enum", + allowedValues: [ + "None", + "Windows_Server_Hybrid", + "Windows_Server_Perpetual" + ] + } + }, + provisioningTime: { + readOnly: true, + serializedName: "properties.provisioningTime", + type: { + name: "DateTime" + } + }, + provisioningState: { + readOnly: true, + serializedName: "properties.provisioningState", + type: { + name: "String" + } + }, + instanceView: { + readOnly: true, + serializedName: "properties.instanceView", + type: { + name: "Composite", + className: "DedicatedHostInstanceView" + } + }, + sku: { + required: true, + serializedName: "sku", + type: { + name: "Composite", + className: "Sku" + } + } + } + } +}; + +export const DedicatedHostUpdate: msRest.CompositeMapper = { + serializedName: "DedicatedHostUpdate", + type: { + name: "Composite", + className: "DedicatedHostUpdate", + modelProperties: { + ...UpdateResource.type.modelProperties, + platformFaultDomain: { + serializedName: "properties.platformFaultDomain", + constraints: { + InclusiveMaximum: 2, + InclusiveMinimum: 0 + }, + type: { + name: "Number" + } + }, + autoReplaceOnFailure: { + serializedName: "properties.autoReplaceOnFailure", + type: { + name: "Boolean" + } + }, + hostId: { + readOnly: true, + serializedName: "properties.hostId", + type: { + name: "String" + } + }, + virtualMachines: { + readOnly: true, + serializedName: "properties.virtualMachines", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "SubResourceReadOnly" + } + } + } + }, + licenseType: { + serializedName: "properties.licenseType", + type: { + name: "Enum", + allowedValues: [ + "None", + "Windows_Server_Hybrid", + "Windows_Server_Perpetual" + ] + } + }, + provisioningTime: { + readOnly: true, + serializedName: "properties.provisioningTime", + type: { + name: "DateTime" + } + }, + provisioningState: { + readOnly: true, + serializedName: "properties.provisioningState", + type: { + name: "String" + } + }, + instanceView: { + readOnly: true, + serializedName: "properties.instanceView", + type: { + name: "Composite", + className: "DedicatedHostInstanceView" + } + } + } + } +}; + export const VirtualMachineSize: msRest.CompositeMapper = { serializedName: "VirtualMachineSize", type: { @@ -1311,6 +1749,12 @@ export const DataDisk: msRest.CompositeMapper = { name: "Composite", className: "ManagedDiskParameters" } + }, + toBeDetached: { + serializedName: "toBeDetached", + type: { + name: "Boolean" + } } } } @@ -2082,6 +2526,12 @@ export const VirtualMachineInstanceView: msRest.CompositeMapper = { name: "String" } }, + hyperVGeneration: { + serializedName: "hyperVGeneration", + type: { + name: "String" + } + }, rdpThumbPrint: { serializedName: "rdpThumbPrint", type: { @@ -2212,6 +2662,20 @@ export const VirtualMachine: msRest.CompositeMapper = { className: "SubResource" } }, + proximityPlacementGroup: { + serializedName: "properties.proximityPlacementGroup", + type: { + name: "Composite", + className: "SubResource" + } + }, + host: { + serializedName: "properties.host", + type: { + name: "Composite", + className: "SubResource" + } + }, provisioningState: { readOnly: true, serializedName: "properties.provisioningState", @@ -2338,6 +2802,20 @@ export const VirtualMachineUpdate: msRest.CompositeMapper = { className: "SubResource" } }, + proximityPlacementGroup: { + serializedName: "properties.proximityPlacementGroup", + type: { + name: "Composite", + className: "SubResource" + } + }, + host: { + serializedName: "properties.host", + type: { + name: "Composite", + className: "SubResource" + } + }, provisioningState: { readOnly: true, serializedName: "properties.provisioningState", @@ -2688,6 +3166,12 @@ export const Image: msRest.CompositeMapper = { type: { name: "String" } + }, + hyperVGeneration: { + serializedName: "properties.hyperVGeneration", + type: { + name: "String" + } } } } @@ -2720,6 +3204,12 @@ export const ImageUpdate: msRest.CompositeMapper = { type: { name: "String" } + }, + hyperVGeneration: { + serializedName: "properties.hyperVGeneration", + type: { + name: "String" + } } } } @@ -3692,30 +4182,13 @@ export const VirtualMachineScaleSetUpdateNetworkProfile: msRest.CompositeMapper networkInterfaceConfigurations: { serializedName: "networkInterfaceConfigurations", type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "VirtualMachineScaleSetUpdateNetworkConfiguration" - } - } - } - } - } - } -}; - -export const SubResourceReadOnly: msRest.CompositeMapper = { - serializedName: "SubResourceReadOnly", - type: { - name: "Composite", - className: "SubResourceReadOnly", - modelProperties: { - id: { - readOnly: true, - serializedName: "id", - type: { - name: "String" + name: "Sequence", + element: { + type: { + name: "Composite", + className: "VirtualMachineScaleSetUpdateNetworkConfiguration" + } + } } } } @@ -3821,6 +4294,45 @@ export const VirtualMachineScaleSetExtensionProfile: msRest.CompositeMapper = { } }; +export const TerminateNotificationProfile: msRest.CompositeMapper = { + serializedName: "TerminateNotificationProfile", + type: { + name: "Composite", + className: "TerminateNotificationProfile", + modelProperties: { + notBeforeTimeout: { + serializedName: "notBeforeTimeout", + type: { + name: "String" + } + }, + enable: { + serializedName: "enable", + type: { + name: "Boolean" + } + } + } + } +}; + +export const ScheduledEventsProfile: msRest.CompositeMapper = { + serializedName: "ScheduledEventsProfile", + type: { + name: "Composite", + className: "ScheduledEventsProfile", + modelProperties: { + terminateNotificationProfile: { + serializedName: "terminateNotificationProfile", + type: { + name: "Composite", + className: "TerminateNotificationProfile" + } + } + } + } +}; + export const VirtualMachineScaleSetVMProfile: msRest.CompositeMapper = { serializedName: "VirtualMachineScaleSetVMProfile", type: { @@ -3841,13 +4353,6 @@ export const VirtualMachineScaleSetVMProfile: msRest.CompositeMapper = { className: "VirtualMachineScaleSetStorageProfile" } }, - additionalCapabilities: { - serializedName: "additionalCapabilities", - type: { - name: "Composite", - className: "AdditionalCapabilities" - } - }, networkProfile: { serializedName: "networkProfile", type: { @@ -3886,6 +4391,13 @@ export const VirtualMachineScaleSetVMProfile: msRest.CompositeMapper = { type: { name: "String" } + }, + scheduledEventsProfile: { + serializedName: "scheduledEventsProfile", + type: { + name: "Composite", + className: "ScheduledEventsProfile" + } } } } @@ -3937,6 +4449,13 @@ export const VirtualMachineScaleSetUpdateVMProfile: msRest.CompositeMapper = { type: { name: "String" } + }, + scheduledEventsProfile: { + serializedName: "scheduledEventsProfile", + type: { + name: "Composite", + className: "ScheduledEventsProfile" + } } } } @@ -4021,6 +4540,20 @@ export const VirtualMachineScaleSet: msRest.CompositeMapper = { name: "Number" } }, + proximityPlacementGroup: { + serializedName: "properties.proximityPlacementGroup", + type: { + name: "Composite", + className: "SubResource" + } + }, + additionalCapabilities: { + serializedName: "properties.additionalCapabilities", + type: { + name: "Composite", + className: "AdditionalCapabilities" + } + }, identity: { serializedName: "identity", type: { @@ -4123,6 +4656,13 @@ export const VirtualMachineScaleSetUpdate: msRest.CompositeMapper = { name: "Boolean" } }, + additionalCapabilities: { + serializedName: "properties.additionalCapabilities", + type: { + name: "Composite", + className: "AdditionalCapabilities" + } + }, identity: { serializedName: "identity", type: { @@ -5549,6 +6089,41 @@ export const ResourceSkuCapabilities: msRest.CompositeMapper = { } }; +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: { @@ -5659,6 +6234,19 @@ export const ResourceSkuLocationInfo: msRest.CompositeMapper = { } } } + }, + zoneDetails: { + readOnly: true, + serializedName: "zoneDetails", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "ResourceSkuZoneDetails" + } + } + } } } } @@ -6596,6 +7184,12 @@ export const GalleryImage: msRest.CompositeMapper = { ] } }, + hyperVGeneration: { + serializedName: "properties.hyperVGeneration", + type: { + name: "String" + } + }, endOfLifeDate: { serializedName: "properties.endOfLifeDate", type: { @@ -6659,14 +7253,6 @@ export const GalleryArtifactPublishingProfileBase: msRest.CompositeMapper = { } } } - }, - source: { - required: true, - serializedName: "source", - type: { - name: "Composite", - className: "GalleryArtifactSource" - } } } } @@ -6714,6 +7300,23 @@ export const GalleryImageVersionPublishingProfile: msRest.CompositeMapper = { } }; +export const GalleryArtifactVersionSource: msRest.CompositeMapper = { + serializedName: "GalleryArtifactVersionSource", + type: { + name: "Composite", + className: "GalleryArtifactVersionSource", + modelProperties: { + id: { + required: true, + serializedName: "id", + type: { + name: "String" + } + } + } + } +}; + export const GalleryDiskImage: msRest.CompositeMapper = { serializedName: "GalleryDiskImage", type: { @@ -6728,7 +7331,6 @@ export const GalleryDiskImage: msRest.CompositeMapper = { } }, hostCaching: { - readOnly: true, serializedName: "hostCaching", type: { name: "Enum", @@ -6738,6 +7340,13 @@ export const GalleryDiskImage: msRest.CompositeMapper = { "ReadWrite" ] } + }, + source: { + serializedName: "source", + type: { + name: "Composite", + className: "GalleryArtifactVersionSource" + } } } } @@ -6762,7 +7371,7 @@ export const GalleryDataDiskImage: msRest.CompositeMapper = { modelProperties: { ...GalleryDiskImage.type.modelProperties, lun: { - readOnly: true, + required: true, serializedName: "lun", type: { name: "Number" @@ -6778,8 +7387,14 @@ export const GalleryImageVersionStorageProfile: msRest.CompositeMapper = { name: "Composite", className: "GalleryImageVersionStorageProfile", modelProperties: { + source: { + serializedName: "source", + type: { + name: "Composite", + className: "GalleryArtifactVersionSource" + } + }, osDiskImage: { - readOnly: true, serializedName: "osDiskImage", type: { name: "Composite", @@ -6787,7 +7402,6 @@ export const GalleryImageVersionStorageProfile: msRest.CompositeMapper = { } }, dataDiskImages: { - readOnly: true, serializedName: "dataDiskImages", type: { name: "Sequence", @@ -6879,7 +7493,6 @@ export const GalleryImageVersion: msRest.CompositeMapper = { modelProperties: { ...Resource.type.modelProperties, publishingProfile: { - required: true, serializedName: "properties.publishingProfile", type: { name: "Composite", @@ -6894,7 +7507,7 @@ export const GalleryImageVersion: msRest.CompositeMapper = { } }, storageProfile: { - readOnly: true, + required: true, serializedName: "properties.storageProfile", type: { name: "Composite", @@ -6942,41 +7555,6 @@ export const TargetRegion: msRest.CompositeMapper = { } }; -export const ManagedArtifact: msRest.CompositeMapper = { - serializedName: "ManagedArtifact", - type: { - name: "Composite", - className: "ManagedArtifact", - modelProperties: { - id: { - required: true, - serializedName: "id", - type: { - name: "String" - } - } - } - } -}; - -export const GalleryArtifactSource: msRest.CompositeMapper = { - serializedName: "GalleryArtifactSource", - type: { - name: "Composite", - className: "GalleryArtifactSource", - modelProperties: { - managedImage: { - required: true, - serializedName: "managedImage", - type: { - name: "Composite", - className: "ManagedArtifact" - } - } - } - } -}; - export const ContainerServiceCustomProfile: msRest.CompositeMapper = { serializedName: "ContainerServiceCustomProfile", type: { @@ -7418,6 +7996,93 @@ export const VirtualMachineSizeListResult: msRest.CompositeMapper = { } }; +export const ProximityPlacementGroupListResult: msRest.CompositeMapper = { + serializedName: "ProximityPlacementGroupListResult", + type: { + name: "Composite", + className: "ProximityPlacementGroupListResult", + modelProperties: { + value: { + required: true, + serializedName: "", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "ProximityPlacementGroup" + } + } + } + }, + nextLink: { + serializedName: "nextLink", + type: { + name: "String" + } + } + } + } +}; + +export const DedicatedHostGroupListResult: msRest.CompositeMapper = { + serializedName: "DedicatedHostGroupListResult", + type: { + name: "Composite", + className: "DedicatedHostGroupListResult", + modelProperties: { + value: { + required: true, + serializedName: "", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "DedicatedHostGroup" + } + } + } + }, + nextLink: { + serializedName: "nextLink", + type: { + name: "String" + } + } + } + } +}; + +export const DedicatedHostListResult: msRest.CompositeMapper = { + serializedName: "DedicatedHostListResult", + type: { + name: "Composite", + className: "DedicatedHostListResult", + modelProperties: { + value: { + required: true, + serializedName: "", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "DedicatedHost" + } + } + } + }, + nextLink: { + serializedName: "nextLink", + type: { + name: "String" + } + } + } + } +}; + export const ListUsagesResult: msRest.CompositeMapper = { serializedName: "ListUsagesResult", type: { diff --git a/sdk/compute/arm-compute/src/models/parameters.ts b/sdk/compute/arm-compute/src/models/parameters.ts index 157b4c501e48..5f55768a4e3d 100644 --- a/sdk/compute/arm-compute/src/models/parameters.ts +++ b/sdk/compute/arm-compute/src/models/parameters.ts @@ -38,7 +38,7 @@ export const apiVersion1: msRest.OperationQueryParameter = { required: true, isConstant: true, serializedName: "api-version", - defaultValue: '2017-09-01', + defaultValue: '2019-04-01', type: { name: "String" } @@ -57,6 +57,18 @@ export const apiVersion2: msRest.OperationQueryParameter = { } }; export const apiVersion3: msRest.OperationQueryParameter = { + parameterPath: "apiVersion", + mapper: { + required: true, + isConstant: true, + serializedName: "api-version", + defaultValue: '2019-07-01', + type: { + name: "String" + } + } +}; +export const apiVersion4: msRest.OperationQueryParameter = { parameterPath: "apiVersion", mapper: { required: true, @@ -116,7 +128,10 @@ export const expand0: msRest.OperationQueryParameter = { mapper: { serializedName: "$expand", type: { - name: "String" + name: "Enum", + allowedValues: [ + "instanceView" + ] } } }; @@ -128,10 +143,7 @@ export const expand1: msRest.OperationQueryParameter = { mapper: { serializedName: "$expand", type: { - name: "Enum", - allowedValues: [ - "instanceView" - ] + name: "String" } } }; @@ -177,6 +189,26 @@ export const galleryName: msRest.OperationURLParameter = { } } }; +export const hostGroupName: msRest.OperationURLParameter = { + parameterPath: "hostGroupName", + mapper: { + required: true, + serializedName: "hostGroupName", + type: { + name: "String" + } + } +}; +export const hostName: msRest.OperationURLParameter = { + parameterPath: "hostName", + mapper: { + required: true, + serializedName: "hostName", + type: { + name: "String" + } + } +}; export const imageName: msRest.OperationURLParameter = { parameterPath: "imageName", mapper: { @@ -263,6 +295,16 @@ export const platformUpdateDomain: msRest.OperationQueryParameter = { } } }; +export const proximityPlacementGroupName: msRest.OperationURLParameter = { + parameterPath: "proximityPlacementGroupName", + mapper: { + required: true, + serializedName: "proximityPlacementGroupName", + type: { + name: "String" + } + } +}; export const publisherName: msRest.OperationURLParameter = { parameterPath: "publisherName", mapper: { diff --git a/sdk/compute/arm-compute/src/models/proximityPlacementGroupsMappers.ts b/sdk/compute/arm-compute/src/models/proximityPlacementGroupsMappers.ts new file mode 100644 index 000000000000..45468164fc11 --- /dev/null +++ b/sdk/compute/arm-compute/src/models/proximityPlacementGroupsMappers.ts @@ -0,0 +1,169 @@ +/* + * Copyright (c) Microsoft Corporation. All rights reserved. + * Licensed under the MIT License. See License.txt in the project root for license information. + * + * 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, + AvailabilitySet, + AvailabilitySetUpdate, + BaseResource, + BootDiagnostics, + BootDiagnosticsInstanceView, + CloudError, + ContainerService, + ContainerServiceAgentPoolProfile, + ContainerServiceCustomProfile, + ContainerServiceDiagnosticsProfile, + ContainerServiceLinuxProfile, + ContainerServiceMasterProfile, + ContainerServiceOrchestratorProfile, + ContainerServiceServicePrincipalProfile, + ContainerServiceSshConfiguration, + ContainerServiceSshPublicKey, + ContainerServiceVMDiagnostics, + ContainerServiceWindowsProfile, + CreationData, + DataDisk, + DataDiskImage, + DedicatedHost, + DedicatedHostAllocatableVM, + DedicatedHostAvailableCapacity, + DedicatedHostGroup, + DedicatedHostGroupUpdate, + DedicatedHostInstanceView, + DedicatedHostUpdate, + DiagnosticsProfile, + DiffDiskSettings, + Disallowed, + Disk, + DiskEncryptionSettings, + DiskInstanceView, + DiskSku, + EncryptionSettingsCollection, + EncryptionSettingsElement, + Gallery, + GalleryArtifactPublishingProfileBase, + GalleryArtifactVersionSource, + GalleryDataDiskImage, + GalleryDiskImage, + GalleryIdentifier, + GalleryImage, + GalleryImageIdentifier, + GalleryImageVersion, + GalleryImageVersionPublishingProfile, + GalleryImageVersionStorageProfile, + GalleryOSDiskImage, + HardwareProfile, + Image, + ImageDataDisk, + ImageDiskReference, + ImageOSDisk, + ImagePurchasePlan, + ImageReference, + ImageStorageProfile, + ImageUpdate, + InnerError, + InstanceViewStatus, + KeyVaultAndKeyReference, + KeyVaultAndSecretReference, + KeyVaultKeyReference, + KeyVaultSecretReference, + LinuxConfiguration, + MaintenanceRedeployStatus, + ManagedDiskParameters, + NetworkInterfaceReference, + NetworkProfile, + OSDisk, + OSDiskImage, + OSProfile, + Plan, + ProximityPlacementGroup, + ProximityPlacementGroupListResult, + ProximityPlacementGroupUpdate, + PurchasePlan, + RecommendedMachineConfiguration, + RegionalReplicationStatus, + ReplicationStatus, + Resource, + ResourceRange, + RollingUpgradePolicy, + RollingUpgradeProgressInfo, + RollingUpgradeRunningStatus, + RollingUpgradeStatusInfo, + ScheduledEventsProfile, + Sku, + Snapshot, + SnapshotSku, + SourceVault, + SshConfiguration, + SshPublicKey, + StorageProfile, + SubResource, + SubResourceReadOnly, + TargetRegion, + TerminateNotificationProfile, + UpdateResource, + UpgradePolicy, + VaultCertificate, + VaultSecretGroup, + VirtualHardDisk, + VirtualMachine, + VirtualMachineAgentInstanceView, + VirtualMachineCaptureResult, + VirtualMachineExtension, + VirtualMachineExtensionHandlerInstanceView, + VirtualMachineExtensionImage, + VirtualMachineExtensionInstanceView, + VirtualMachineExtensionUpdate, + VirtualMachineHealthStatus, + VirtualMachineIdentity, + VirtualMachineIdentityUserAssignedIdentitiesValue, + VirtualMachineImage, + VirtualMachineImageResource, + VirtualMachineInstanceView, + VirtualMachineScaleSet, + VirtualMachineScaleSetDataDisk, + VirtualMachineScaleSetExtension, + VirtualMachineScaleSetExtensionProfile, + VirtualMachineScaleSetIdentity, + VirtualMachineScaleSetIdentityUserAssignedIdentitiesValue, + VirtualMachineScaleSetIPConfiguration, + VirtualMachineScaleSetIpTag, + VirtualMachineScaleSetManagedDiskParameters, + VirtualMachineScaleSetNetworkConfiguration, + VirtualMachineScaleSetNetworkConfigurationDnsSettings, + VirtualMachineScaleSetNetworkProfile, + VirtualMachineScaleSetOSDisk, + VirtualMachineScaleSetOSProfile, + VirtualMachineScaleSetPublicIPAddressConfiguration, + VirtualMachineScaleSetPublicIPAddressConfigurationDnsSettings, + VirtualMachineScaleSetStorageProfile, + VirtualMachineScaleSetUpdate, + VirtualMachineScaleSetUpdateIPConfiguration, + VirtualMachineScaleSetUpdateNetworkConfiguration, + VirtualMachineScaleSetUpdateNetworkProfile, + VirtualMachineScaleSetUpdateOSDisk, + VirtualMachineScaleSetUpdateOSProfile, + VirtualMachineScaleSetUpdatePublicIPAddressConfiguration, + VirtualMachineScaleSetUpdateStorageProfile, + VirtualMachineScaleSetUpdateVMProfile, + VirtualMachineScaleSetVM, + VirtualMachineScaleSetVMInstanceView, + VirtualMachineScaleSetVMNetworkProfileConfiguration, + VirtualMachineScaleSetVMProfile, + VirtualMachineScaleSetVMProtectionPolicy, + VirtualMachineUpdate, + WindowsConfiguration, + WinRMConfiguration, + WinRMListener +} from "../models/mappers"; diff --git a/sdk/compute/arm-compute/src/models/resourceSkusMappers.ts b/sdk/compute/arm-compute/src/models/resourceSkusMappers.ts index 86ebcf340872..ff328d2b9d4d 100644 --- a/sdk/compute/arm-compute/src/models/resourceSkusMappers.ts +++ b/sdk/compute/arm-compute/src/models/resourceSkusMappers.ts @@ -15,5 +15,6 @@ export { ResourceSkuLocationInfo, ResourceSkuRestrictionInfo, ResourceSkuRestrictions, - ResourceSkusResult + ResourceSkusResult, + ResourceSkuZoneDetails } from "../models/mappers"; diff --git a/sdk/compute/arm-compute/src/models/snapshotsMappers.ts b/sdk/compute/arm-compute/src/models/snapshotsMappers.ts index 77370b79c1d6..846f4b996f67 100644 --- a/sdk/compute/arm-compute/src/models/snapshotsMappers.ts +++ b/sdk/compute/arm-compute/src/models/snapshotsMappers.ts @@ -36,6 +36,13 @@ export { CreationData, DataDisk, DataDiskImage, + DedicatedHost, + DedicatedHostAllocatableVM, + DedicatedHostAvailableCapacity, + DedicatedHostGroup, + DedicatedHostGroupUpdate, + DedicatedHostInstanceView, + DedicatedHostUpdate, DiagnosticsProfile, DiffDiskSettings, Disallowed, @@ -47,7 +54,7 @@ export { EncryptionSettingsElement, Gallery, GalleryArtifactPublishingProfileBase, - GalleryArtifactSource, + GalleryArtifactVersionSource, GalleryDataDiskImage, GalleryDiskImage, GalleryIdentifier, @@ -75,7 +82,6 @@ export { KeyVaultSecretReference, LinuxConfiguration, MaintenanceRedeployStatus, - ManagedArtifact, ManagedDiskParameters, NetworkInterfaceReference, NetworkProfile, @@ -83,6 +89,8 @@ export { OSDiskImage, OSProfile, Plan, + ProximityPlacementGroup, + ProximityPlacementGroupUpdate, PurchasePlan, RecommendedMachineConfiguration, RegionalReplicationStatus, @@ -93,6 +101,7 @@ export { RollingUpgradeProgressInfo, RollingUpgradeRunningStatus, RollingUpgradeStatusInfo, + ScheduledEventsProfile, Sku, Snapshot, SnapshotList, @@ -105,6 +114,7 @@ export { SubResource, SubResourceReadOnly, TargetRegion, + TerminateNotificationProfile, UpdateResource, UpgradePolicy, VaultCertificate, diff --git a/sdk/compute/arm-compute/src/models/virtualMachineExtensionImagesMappers.ts b/sdk/compute/arm-compute/src/models/virtualMachineExtensionImagesMappers.ts index dfab46557b41..75f71dc2bcd0 100644 --- a/sdk/compute/arm-compute/src/models/virtualMachineExtensionImagesMappers.ts +++ b/sdk/compute/arm-compute/src/models/virtualMachineExtensionImagesMappers.ts @@ -35,6 +35,13 @@ export { CreationData, DataDisk, DataDiskImage, + DedicatedHost, + DedicatedHostAllocatableVM, + DedicatedHostAvailableCapacity, + DedicatedHostGroup, + DedicatedHostGroupUpdate, + DedicatedHostInstanceView, + DedicatedHostUpdate, DiagnosticsProfile, DiffDiskSettings, Disallowed, @@ -46,7 +53,7 @@ export { EncryptionSettingsElement, Gallery, GalleryArtifactPublishingProfileBase, - GalleryArtifactSource, + GalleryArtifactVersionSource, GalleryDataDiskImage, GalleryDiskImage, GalleryIdentifier, @@ -73,7 +80,6 @@ export { KeyVaultSecretReference, LinuxConfiguration, MaintenanceRedeployStatus, - ManagedArtifact, ManagedDiskParameters, NetworkInterfaceReference, NetworkProfile, @@ -81,6 +87,8 @@ export { OSDiskImage, OSProfile, Plan, + ProximityPlacementGroup, + ProximityPlacementGroupUpdate, PurchasePlan, RecommendedMachineConfiguration, RegionalReplicationStatus, @@ -91,6 +99,7 @@ export { RollingUpgradeProgressInfo, RollingUpgradeRunningStatus, RollingUpgradeStatusInfo, + ScheduledEventsProfile, Sku, Snapshot, SnapshotSku, @@ -101,6 +110,7 @@ export { SubResource, SubResourceReadOnly, TargetRegion, + TerminateNotificationProfile, UpdateResource, UpgradePolicy, VaultCertificate, diff --git a/sdk/compute/arm-compute/src/models/virtualMachineExtensionsMappers.ts b/sdk/compute/arm-compute/src/models/virtualMachineExtensionsMappers.ts index 6d15f114c81d..5e2d34952fc3 100644 --- a/sdk/compute/arm-compute/src/models/virtualMachineExtensionsMappers.ts +++ b/sdk/compute/arm-compute/src/models/virtualMachineExtensionsMappers.ts @@ -35,6 +35,13 @@ export { CreationData, DataDisk, DataDiskImage, + DedicatedHost, + DedicatedHostAllocatableVM, + DedicatedHostAvailableCapacity, + DedicatedHostGroup, + DedicatedHostGroupUpdate, + DedicatedHostInstanceView, + DedicatedHostUpdate, DiagnosticsProfile, DiffDiskSettings, Disallowed, @@ -46,7 +53,7 @@ export { EncryptionSettingsElement, Gallery, GalleryArtifactPublishingProfileBase, - GalleryArtifactSource, + GalleryArtifactVersionSource, GalleryDataDiskImage, GalleryDiskImage, GalleryIdentifier, @@ -73,7 +80,6 @@ export { KeyVaultSecretReference, LinuxConfiguration, MaintenanceRedeployStatus, - ManagedArtifact, ManagedDiskParameters, NetworkInterfaceReference, NetworkProfile, @@ -81,6 +87,8 @@ export { OSDiskImage, OSProfile, Plan, + ProximityPlacementGroup, + ProximityPlacementGroupUpdate, PurchasePlan, RecommendedMachineConfiguration, RegionalReplicationStatus, @@ -91,6 +99,7 @@ export { RollingUpgradeProgressInfo, RollingUpgradeRunningStatus, RollingUpgradeStatusInfo, + ScheduledEventsProfile, Sku, Snapshot, SnapshotSku, @@ -101,6 +110,7 @@ export { SubResource, SubResourceReadOnly, TargetRegion, + TerminateNotificationProfile, UpdateResource, UpgradePolicy, VaultCertificate, diff --git a/sdk/compute/arm-compute/src/models/virtualMachineImagesMappers.ts b/sdk/compute/arm-compute/src/models/virtualMachineImagesMappers.ts index dfab46557b41..75f71dc2bcd0 100644 --- a/sdk/compute/arm-compute/src/models/virtualMachineImagesMappers.ts +++ b/sdk/compute/arm-compute/src/models/virtualMachineImagesMappers.ts @@ -35,6 +35,13 @@ export { CreationData, DataDisk, DataDiskImage, + DedicatedHost, + DedicatedHostAllocatableVM, + DedicatedHostAvailableCapacity, + DedicatedHostGroup, + DedicatedHostGroupUpdate, + DedicatedHostInstanceView, + DedicatedHostUpdate, DiagnosticsProfile, DiffDiskSettings, Disallowed, @@ -46,7 +53,7 @@ export { EncryptionSettingsElement, Gallery, GalleryArtifactPublishingProfileBase, - GalleryArtifactSource, + GalleryArtifactVersionSource, GalleryDataDiskImage, GalleryDiskImage, GalleryIdentifier, @@ -73,7 +80,6 @@ export { KeyVaultSecretReference, LinuxConfiguration, MaintenanceRedeployStatus, - ManagedArtifact, ManagedDiskParameters, NetworkInterfaceReference, NetworkProfile, @@ -81,6 +87,8 @@ export { OSDiskImage, OSProfile, Plan, + ProximityPlacementGroup, + ProximityPlacementGroupUpdate, PurchasePlan, RecommendedMachineConfiguration, RegionalReplicationStatus, @@ -91,6 +99,7 @@ export { RollingUpgradeProgressInfo, RollingUpgradeRunningStatus, RollingUpgradeStatusInfo, + ScheduledEventsProfile, Sku, Snapshot, SnapshotSku, @@ -101,6 +110,7 @@ export { SubResource, SubResourceReadOnly, TargetRegion, + TerminateNotificationProfile, UpdateResource, UpgradePolicy, VaultCertificate, diff --git a/sdk/compute/arm-compute/src/models/virtualMachineScaleSetExtensionsMappers.ts b/sdk/compute/arm-compute/src/models/virtualMachineScaleSetExtensionsMappers.ts index cae9dd992f90..5c9432d1bca8 100644 --- a/sdk/compute/arm-compute/src/models/virtualMachineScaleSetExtensionsMappers.ts +++ b/sdk/compute/arm-compute/src/models/virtualMachineScaleSetExtensionsMappers.ts @@ -35,6 +35,13 @@ export { CreationData, DataDisk, DataDiskImage, + DedicatedHost, + DedicatedHostAllocatableVM, + DedicatedHostAvailableCapacity, + DedicatedHostGroup, + DedicatedHostGroupUpdate, + DedicatedHostInstanceView, + DedicatedHostUpdate, DiagnosticsProfile, DiffDiskSettings, Disallowed, @@ -46,7 +53,7 @@ export { EncryptionSettingsElement, Gallery, GalleryArtifactPublishingProfileBase, - GalleryArtifactSource, + GalleryArtifactVersionSource, GalleryDataDiskImage, GalleryDiskImage, GalleryIdentifier, @@ -73,7 +80,6 @@ export { KeyVaultSecretReference, LinuxConfiguration, MaintenanceRedeployStatus, - ManagedArtifact, ManagedDiskParameters, NetworkInterfaceReference, NetworkProfile, @@ -81,6 +87,8 @@ export { OSDiskImage, OSProfile, Plan, + ProximityPlacementGroup, + ProximityPlacementGroupUpdate, PurchasePlan, RecommendedMachineConfiguration, RegionalReplicationStatus, @@ -91,6 +99,7 @@ export { RollingUpgradeProgressInfo, RollingUpgradeRunningStatus, RollingUpgradeStatusInfo, + ScheduledEventsProfile, Sku, Snapshot, SnapshotSku, @@ -101,6 +110,7 @@ export { SubResource, SubResourceReadOnly, TargetRegion, + TerminateNotificationProfile, UpdateResource, UpgradePolicy, VaultCertificate, diff --git a/sdk/compute/arm-compute/src/models/virtualMachineScaleSetRollingUpgradesMappers.ts b/sdk/compute/arm-compute/src/models/virtualMachineScaleSetRollingUpgradesMappers.ts index dfab46557b41..75f71dc2bcd0 100644 --- a/sdk/compute/arm-compute/src/models/virtualMachineScaleSetRollingUpgradesMappers.ts +++ b/sdk/compute/arm-compute/src/models/virtualMachineScaleSetRollingUpgradesMappers.ts @@ -35,6 +35,13 @@ export { CreationData, DataDisk, DataDiskImage, + DedicatedHost, + DedicatedHostAllocatableVM, + DedicatedHostAvailableCapacity, + DedicatedHostGroup, + DedicatedHostGroupUpdate, + DedicatedHostInstanceView, + DedicatedHostUpdate, DiagnosticsProfile, DiffDiskSettings, Disallowed, @@ -46,7 +53,7 @@ export { EncryptionSettingsElement, Gallery, GalleryArtifactPublishingProfileBase, - GalleryArtifactSource, + GalleryArtifactVersionSource, GalleryDataDiskImage, GalleryDiskImage, GalleryIdentifier, @@ -73,7 +80,6 @@ export { KeyVaultSecretReference, LinuxConfiguration, MaintenanceRedeployStatus, - ManagedArtifact, ManagedDiskParameters, NetworkInterfaceReference, NetworkProfile, @@ -81,6 +87,8 @@ export { OSDiskImage, OSProfile, Plan, + ProximityPlacementGroup, + ProximityPlacementGroupUpdate, PurchasePlan, RecommendedMachineConfiguration, RegionalReplicationStatus, @@ -91,6 +99,7 @@ export { RollingUpgradeProgressInfo, RollingUpgradeRunningStatus, RollingUpgradeStatusInfo, + ScheduledEventsProfile, Sku, Snapshot, SnapshotSku, @@ -101,6 +110,7 @@ export { SubResource, SubResourceReadOnly, TargetRegion, + TerminateNotificationProfile, UpdateResource, UpgradePolicy, VaultCertificate, diff --git a/sdk/compute/arm-compute/src/models/virtualMachineScaleSetVMsMappers.ts b/sdk/compute/arm-compute/src/models/virtualMachineScaleSetVMsMappers.ts index 3d8a305c5d94..e598541fa7fd 100644 --- a/sdk/compute/arm-compute/src/models/virtualMachineScaleSetVMsMappers.ts +++ b/sdk/compute/arm-compute/src/models/virtualMachineScaleSetVMsMappers.ts @@ -35,6 +35,13 @@ export { CreationData, DataDisk, DataDiskImage, + DedicatedHost, + DedicatedHostAllocatableVM, + DedicatedHostAvailableCapacity, + DedicatedHostGroup, + DedicatedHostGroupUpdate, + DedicatedHostInstanceView, + DedicatedHostUpdate, DiagnosticsProfile, DiffDiskSettings, Disallowed, @@ -46,7 +53,7 @@ export { EncryptionSettingsElement, Gallery, GalleryArtifactPublishingProfileBase, - GalleryArtifactSource, + GalleryArtifactVersionSource, GalleryDataDiskImage, GalleryDiskImage, GalleryIdentifier, @@ -73,7 +80,6 @@ export { KeyVaultSecretReference, LinuxConfiguration, MaintenanceRedeployStatus, - ManagedArtifact, ManagedDiskParameters, NetworkInterfaceReference, NetworkProfile, @@ -81,6 +87,8 @@ export { OSDiskImage, OSProfile, Plan, + ProximityPlacementGroup, + ProximityPlacementGroupUpdate, PurchasePlan, RecommendedMachineConfiguration, RegionalReplicationStatus, @@ -94,6 +102,7 @@ export { RunCommandInput, RunCommandInputParameter, RunCommandResult, + ScheduledEventsProfile, Sku, Snapshot, SnapshotSku, @@ -104,6 +113,7 @@ export { SubResource, SubResourceReadOnly, TargetRegion, + TerminateNotificationProfile, UpdateResource, UpgradePolicy, VaultCertificate, diff --git a/sdk/compute/arm-compute/src/models/virtualMachineScaleSetsMappers.ts b/sdk/compute/arm-compute/src/models/virtualMachineScaleSetsMappers.ts index 9e55ea9e679c..fb063ed15407 100644 --- a/sdk/compute/arm-compute/src/models/virtualMachineScaleSetsMappers.ts +++ b/sdk/compute/arm-compute/src/models/virtualMachineScaleSetsMappers.ts @@ -35,6 +35,13 @@ export { CreationData, DataDisk, DataDiskImage, + DedicatedHost, + DedicatedHostAllocatableVM, + DedicatedHostAvailableCapacity, + DedicatedHostGroup, + DedicatedHostGroupUpdate, + DedicatedHostInstanceView, + DedicatedHostUpdate, DiagnosticsProfile, DiffDiskSettings, Disallowed, @@ -46,7 +53,7 @@ export { EncryptionSettingsElement, Gallery, GalleryArtifactPublishingProfileBase, - GalleryArtifactSource, + GalleryArtifactVersionSource, GalleryDataDiskImage, GalleryDiskImage, GalleryIdentifier, @@ -73,7 +80,6 @@ export { KeyVaultSecretReference, LinuxConfiguration, MaintenanceRedeployStatus, - ManagedArtifact, ManagedDiskParameters, NetworkInterfaceReference, NetworkProfile, @@ -81,6 +87,8 @@ export { OSDiskImage, OSProfile, Plan, + ProximityPlacementGroup, + ProximityPlacementGroupUpdate, PurchasePlan, RecommendedMachineConfiguration, RecoveryWalkResponse, @@ -93,6 +101,7 @@ export { RollingUpgradeProgressInfo, RollingUpgradeRunningStatus, RollingUpgradeStatusInfo, + ScheduledEventsProfile, Sku, Snapshot, SnapshotSku, @@ -103,6 +112,7 @@ export { SubResource, SubResourceReadOnly, TargetRegion, + TerminateNotificationProfile, UpdateResource, UpgradeOperationHistoricalStatusInfo, UpgradeOperationHistoricalStatusInfoProperties, @@ -172,6 +182,7 @@ export { VirtualMachineScaleSetVMReimageParameters, VirtualMachineStatusCodeCount, VirtualMachineUpdate, + VMScaleSetConvertToSinglePlacementGroupInput, WindowsConfiguration, WinRMConfiguration, WinRMListener diff --git a/sdk/compute/arm-compute/src/models/virtualMachinesMappers.ts b/sdk/compute/arm-compute/src/models/virtualMachinesMappers.ts index ea80fe8b1d31..e3833cfa8045 100644 --- a/sdk/compute/arm-compute/src/models/virtualMachinesMappers.ts +++ b/sdk/compute/arm-compute/src/models/virtualMachinesMappers.ts @@ -35,6 +35,13 @@ export { CreationData, DataDisk, DataDiskImage, + DedicatedHost, + DedicatedHostAllocatableVM, + DedicatedHostAvailableCapacity, + DedicatedHostGroup, + DedicatedHostGroupUpdate, + DedicatedHostInstanceView, + DedicatedHostUpdate, DiagnosticsProfile, DiffDiskSettings, Disallowed, @@ -46,7 +53,7 @@ export { EncryptionSettingsElement, Gallery, GalleryArtifactPublishingProfileBase, - GalleryArtifactSource, + GalleryArtifactVersionSource, GalleryDataDiskImage, GalleryDiskImage, GalleryIdentifier, @@ -73,7 +80,6 @@ export { KeyVaultSecretReference, LinuxConfiguration, MaintenanceRedeployStatus, - ManagedArtifact, ManagedDiskParameters, NetworkInterfaceReference, NetworkProfile, @@ -81,6 +87,8 @@ export { OSDiskImage, OSProfile, Plan, + ProximityPlacementGroup, + ProximityPlacementGroupUpdate, PurchasePlan, RecommendedMachineConfiguration, RegionalReplicationStatus, @@ -94,6 +102,7 @@ export { RunCommandInput, RunCommandInputParameter, RunCommandResult, + ScheduledEventsProfile, Sku, Snapshot, SnapshotSku, @@ -104,6 +113,7 @@ export { SubResource, SubResourceReadOnly, TargetRegion, + TerminateNotificationProfile, UpdateResource, UpgradePolicy, VaultCertificate, diff --git a/sdk/compute/arm-compute/src/operations/containerServices.ts b/sdk/compute/arm-compute/src/operations/containerServices.ts index fb409253f04a..a0b681fc5406 100644 --- a/sdk/compute/arm-compute/src/operations/containerServices.ts +++ b/sdk/compute/arm-compute/src/operations/containerServices.ts @@ -274,7 +274,7 @@ const listOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion3 + Parameters.apiVersion4 ], headerParameters: [ Parameters.acceptLanguage @@ -299,7 +299,7 @@ const getOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion3 + Parameters.apiVersion4 ], headerParameters: [ Parameters.acceptLanguage @@ -323,7 +323,7 @@ const listByResourceGroupOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion3 + Parameters.apiVersion4 ], headerParameters: [ Parameters.acceptLanguage @@ -348,7 +348,7 @@ const beginCreateOrUpdateOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion3 + Parameters.apiVersion4 ], headerParameters: [ Parameters.acceptLanguage @@ -386,7 +386,7 @@ const beginDeleteMethodOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion3 + 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 new file mode 100644 index 000000000000..bfbb911ad51a --- /dev/null +++ b/sdk/compute/arm-compute/src/operations/dedicatedHostGroups.ts @@ -0,0 +1,484 @@ +/* + * Copyright (c) Microsoft Corporation. All rights reserved. + * Licensed under the MIT License. See License.txt in the project root for + * license information. + * + * 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/dedicatedHostGroupsMappers"; +import * as Parameters from "../models/parameters"; +import { ComputeManagementClientContext } from "../computeManagementClientContext"; + +/** Class representing a DedicatedHostGroups. */ +export class DedicatedHostGroups { + private readonly client: ComputeManagementClientContext; + + /** + * Create a DedicatedHostGroups. + * @param {ComputeManagementClientContext} client Reference to the service client. + */ + constructor(client: ComputeManagementClientContext) { + this.client = client; + } + + /** + * Create or update a dedicated host group. For details of Dedicated Host and Dedicated Host Groups + * please see [Dedicated Host Documentation] (https://go.microsoft.com/fwlink/?linkid=2082596) + * @param resourceGroupName The name of the resource group. + * @param hostGroupName The name of the dedicated host group. + * @param parameters Parameters supplied to the Create Dedicated Host Group. + * @param [options] The optional parameters + * @returns Promise + */ + createOrUpdate(resourceGroupName: string, hostGroupName: string, parameters: Models.DedicatedHostGroup, options?: msRest.RequestOptionsBase): Promise; + /** + * @param resourceGroupName The name of the resource group. + * @param hostGroupName The name of the dedicated host group. + * @param parameters Parameters supplied to the Create Dedicated Host Group. + * @param callback The callback + */ + createOrUpdate(resourceGroupName: string, hostGroupName: string, parameters: Models.DedicatedHostGroup, callback: msRest.ServiceCallback): void; + /** + * @param resourceGroupName The name of the resource group. + * @param hostGroupName The name of the dedicated host group. + * @param parameters Parameters supplied to the Create Dedicated Host Group. + * @param options The optional parameters + * @param callback The callback + */ + createOrUpdate(resourceGroupName: string, hostGroupName: string, parameters: Models.DedicatedHostGroup, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + createOrUpdate(resourceGroupName: string, hostGroupName: string, parameters: Models.DedicatedHostGroup, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + resourceGroupName, + hostGroupName, + parameters, + options + }, + createOrUpdateOperationSpec, + callback) as Promise; + } + + /** + * Update an dedicated host group. + * @param resourceGroupName The name of the resource group. + * @param hostGroupName The name of the dedicated host group. + * @param parameters Parameters supplied to the Update Dedicated Host Group operation. + * @param [options] The optional parameters + * @returns Promise + */ + update(resourceGroupName: string, hostGroupName: string, parameters: Models.DedicatedHostGroupUpdate, options?: msRest.RequestOptionsBase): Promise; + /** + * @param resourceGroupName The name of the resource group. + * @param hostGroupName The name of the dedicated host group. + * @param parameters Parameters supplied to the Update Dedicated Host Group operation. + * @param callback The callback + */ + update(resourceGroupName: string, hostGroupName: string, parameters: Models.DedicatedHostGroupUpdate, callback: msRest.ServiceCallback): void; + /** + * @param resourceGroupName The name of the resource group. + * @param hostGroupName The name of the dedicated host group. + * @param parameters Parameters supplied to the Update Dedicated Host Group operation. + * @param options The optional parameters + * @param callback The callback + */ + update(resourceGroupName: string, hostGroupName: string, parameters: Models.DedicatedHostGroupUpdate, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + update(resourceGroupName: string, hostGroupName: string, parameters: Models.DedicatedHostGroupUpdate, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + resourceGroupName, + hostGroupName, + parameters, + options + }, + updateOperationSpec, + callback) as Promise; + } + + /** + * Delete a dedicated host group. + * @param resourceGroupName The name of the resource group. + * @param hostGroupName The name of the dedicated host group. + * @param [options] The optional parameters + * @returns Promise + */ + deleteMethod(resourceGroupName: string, hostGroupName: string, options?: msRest.RequestOptionsBase): Promise; + /** + * @param resourceGroupName The name of the resource group. + * @param hostGroupName The name of the dedicated host group. + * @param callback The callback + */ + deleteMethod(resourceGroupName: string, hostGroupName: string, callback: msRest.ServiceCallback): void; + /** + * @param resourceGroupName The name of the resource group. + * @param hostGroupName The name of the dedicated host group. + * @param options The optional parameters + * @param callback The callback + */ + deleteMethod(resourceGroupName: string, hostGroupName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + deleteMethod(resourceGroupName: string, hostGroupName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + resourceGroupName, + hostGroupName, + options + }, + deleteMethodOperationSpec, + callback); + } + + /** + * Retrieves information about a dedicated host group. + * @param resourceGroupName The name of the resource group. + * @param hostGroupName The name of the dedicated host group. + * @param [options] The optional parameters + * @returns Promise + */ + get(resourceGroupName: string, hostGroupName: string, options?: msRest.RequestOptionsBase): Promise; + /** + * @param resourceGroupName The name of the resource group. + * @param hostGroupName The name of the dedicated host group. + * @param callback The callback + */ + get(resourceGroupName: string, hostGroupName: string, callback: msRest.ServiceCallback): void; + /** + * @param resourceGroupName The name of the resource group. + * @param hostGroupName The name of the dedicated host group. + * @param options The optional parameters + * @param callback The callback + */ + get(resourceGroupName: string, hostGroupName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + get(resourceGroupName: string, hostGroupName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + resourceGroupName, + hostGroupName, + options + }, + getOperationSpec, + callback) as Promise; + } + + /** + * Lists all of the dedicated host groups in the specified resource group. Use the nextLink + * property in the response to get the next page of dedicated host groups. + * @param resourceGroupName The name of the resource group. + * @param [options] The optional parameters + * @returns Promise + */ + listByResourceGroup(resourceGroupName: string, options?: msRest.RequestOptionsBase): Promise; + /** + * @param resourceGroupName The name of the resource group. + * @param callback The callback + */ + listByResourceGroup(resourceGroupName: string, callback: msRest.ServiceCallback): void; + /** + * @param resourceGroupName The name of the resource group. + * @param options The optional parameters + * @param callback The callback + */ + listByResourceGroup(resourceGroupName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + listByResourceGroup(resourceGroupName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + resourceGroupName, + options + }, + listByResourceGroupOperationSpec, + callback) as Promise; + } + + /** + * Lists all of the dedicated host groups in the subscription. Use the nextLink property in the + * response to get the next page of dedicated host groups. + * @param [options] The optional parameters + * @returns Promise + */ + listBySubscription(options?: msRest.RequestOptionsBase): Promise; + /** + * @param callback The callback + */ + listBySubscription(callback: msRest.ServiceCallback): void; + /** + * @param options The optional parameters + * @param callback The callback + */ + listBySubscription(options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + listBySubscription(options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + options + }, + listBySubscriptionOperationSpec, + callback) as Promise; + } + + /** + * Lists all of the dedicated host groups in the specified resource group. Use the nextLink + * property in the response to get the next page of dedicated host groups. + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @param [options] The optional parameters + * @returns Promise + */ + listByResourceGroupNext(nextPageLink: string, options?: msRest.RequestOptionsBase): Promise; + /** + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @param callback The callback + */ + listByResourceGroupNext(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 + */ + listByResourceGroupNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + listByResourceGroupNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + nextPageLink, + options + }, + listByResourceGroupNextOperationSpec, + callback) as Promise; + } + + /** + * Lists all of the dedicated host groups in the subscription. Use the nextLink property in the + * response to get the next page of dedicated host groups. + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @param [options] The optional parameters + * @returns Promise + */ + listBySubscriptionNext(nextPageLink: string, options?: msRest.RequestOptionsBase): Promise; + /** + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @param callback The callback + */ + listBySubscriptionNext(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 + */ + listBySubscriptionNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + listBySubscriptionNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + nextPageLink, + options + }, + listBySubscriptionNextOperationSpec, + callback) as Promise; + } +} + +// Operation Specifications +const serializer = new msRest.Serializer(Mappers); +const createOrUpdateOperationSpec: msRest.OperationSpec = { + httpMethod: "PUT", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/hostGroups/{hostGroupName}", + urlParameters: [ + Parameters.resourceGroupName, + Parameters.hostGroupName, + Parameters.subscriptionId + ], + queryParameters: [ + Parameters.apiVersion0 + ], + headerParameters: [ + Parameters.acceptLanguage + ], + requestBody: { + parameterPath: "parameters", + mapper: { + ...Mappers.DedicatedHostGroup, + required: true + } + }, + responses: { + 200: { + bodyMapper: Mappers.DedicatedHostGroup + }, + 201: { + bodyMapper: Mappers.DedicatedHostGroup + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + +const updateOperationSpec: msRest.OperationSpec = { + httpMethod: "PATCH", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/hostGroups/{hostGroupName}", + urlParameters: [ + Parameters.resourceGroupName, + Parameters.hostGroupName, + Parameters.subscriptionId + ], + queryParameters: [ + Parameters.apiVersion0 + ], + headerParameters: [ + Parameters.acceptLanguage + ], + requestBody: { + parameterPath: "parameters", + mapper: { + ...Mappers.DedicatedHostGroupUpdate, + required: true + } + }, + responses: { + 200: { + bodyMapper: Mappers.DedicatedHostGroup + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + +const deleteMethodOperationSpec: msRest.OperationSpec = { + httpMethod: "DELETE", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/hostGroups/{hostGroupName}", + urlParameters: [ + Parameters.resourceGroupName, + Parameters.hostGroupName, + Parameters.subscriptionId + ], + queryParameters: [ + Parameters.apiVersion0 + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: {}, + 204: {}, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + +const getOperationSpec: msRest.OperationSpec = { + httpMethod: "GET", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/hostGroups/{hostGroupName}", + urlParameters: [ + Parameters.resourceGroupName, + Parameters.hostGroupName, + Parameters.subscriptionId + ], + queryParameters: [ + Parameters.apiVersion0 + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: { + bodyMapper: Mappers.DedicatedHostGroup + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + +const listByResourceGroupOperationSpec: msRest.OperationSpec = { + httpMethod: "GET", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/hostGroups", + urlParameters: [ + Parameters.resourceGroupName, + Parameters.subscriptionId + ], + queryParameters: [ + Parameters.apiVersion0 + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: { + bodyMapper: Mappers.DedicatedHostGroupListResult + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + +const listBySubscriptionOperationSpec: msRest.OperationSpec = { + httpMethod: "GET", + path: "subscriptions/{subscriptionId}/providers/Microsoft.Compute/hostGroups", + urlParameters: [ + Parameters.subscriptionId + ], + queryParameters: [ + Parameters.apiVersion0 + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: { + bodyMapper: Mappers.DedicatedHostGroupListResult + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + +const listByResourceGroupNextOperationSpec: msRest.OperationSpec = { + httpMethod: "GET", + baseUrl: "https://management.azure.com", + path: "{nextLink}", + urlParameters: [ + Parameters.nextPageLink + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: { + bodyMapper: Mappers.DedicatedHostGroupListResult + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + +const listBySubscriptionNextOperationSpec: msRest.OperationSpec = { + httpMethod: "GET", + baseUrl: "https://management.azure.com", + path: "{nextLink}", + urlParameters: [ + Parameters.nextPageLink + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: { + bodyMapper: Mappers.DedicatedHostGroupListResult + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; diff --git a/sdk/compute/arm-compute/src/operations/dedicatedHosts.ts b/sdk/compute/arm-compute/src/operations/dedicatedHosts.ts new file mode 100644 index 000000000000..6f4b69dee8c4 --- /dev/null +++ b/sdk/compute/arm-compute/src/operations/dedicatedHosts.ts @@ -0,0 +1,402 @@ +/* + * Copyright (c) Microsoft Corporation. All rights reserved. + * Licensed under the MIT License. See License.txt in the project root for + * license information. + * + * 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/dedicatedHostsMappers"; +import * as Parameters from "../models/parameters"; +import { ComputeManagementClientContext } from "../computeManagementClientContext"; + +/** Class representing a DedicatedHosts. */ +export class DedicatedHosts { + private readonly client: ComputeManagementClientContext; + + /** + * Create a DedicatedHosts. + * @param {ComputeManagementClientContext} client Reference to the service client. + */ + constructor(client: ComputeManagementClientContext) { + this.client = client; + } + + /** + * Create or update a dedicated host . + * @param resourceGroupName The name of the resource group. + * @param hostGroupName The name of the dedicated host group. + * @param hostName The name of the dedicated host . + * @param parameters Parameters supplied to the Create Dedicated Host. + * @param [options] The optional parameters + * @returns Promise + */ + createOrUpdate(resourceGroupName: string, hostGroupName: string, hostName: string, parameters: Models.DedicatedHost, options?: msRest.RequestOptionsBase): Promise { + return this.beginCreateOrUpdate(resourceGroupName,hostGroupName,hostName,parameters,options) + .then(lroPoller => lroPoller.pollUntilFinished()) as Promise; + } + + /** + * Update an dedicated host . + * @param resourceGroupName The name of the resource group. + * @param hostGroupName The name of the dedicated host group. + * @param hostName The name of the dedicated host . + * @param parameters Parameters supplied to the Update Dedicated Host operation. + * @param [options] The optional parameters + * @returns Promise + */ + update(resourceGroupName: string, hostGroupName: string, hostName: string, parameters: Models.DedicatedHostUpdate, options?: msRest.RequestOptionsBase): Promise { + return this.beginUpdate(resourceGroupName,hostGroupName,hostName,parameters,options) + .then(lroPoller => lroPoller.pollUntilFinished()) as Promise; + } + + /** + * Delete a dedicated host. + * @param resourceGroupName The name of the resource group. + * @param hostGroupName The name of the dedicated host group. + * @param hostName The name of the dedicated host. + * @param [options] The optional parameters + * @returns Promise + */ + deleteMethod(resourceGroupName: string, hostGroupName: string, hostName: string, options?: msRest.RequestOptionsBase): Promise { + return this.beginDeleteMethod(resourceGroupName,hostGroupName,hostName,options) + .then(lroPoller => lroPoller.pollUntilFinished()); + } + + /** + * Retrieves information about a dedicated host. + * @param resourceGroupName The name of the resource group. + * @param hostGroupName The name of the dedicated host group. + * @param hostName The name of the dedicated host. + * @param [options] The optional parameters + * @returns Promise + */ + get(resourceGroupName: string, hostGroupName: string, hostName: string, options?: Models.DedicatedHostsGetOptionalParams): Promise; + /** + * @param resourceGroupName The name of the resource group. + * @param hostGroupName The name of the dedicated host group. + * @param hostName The name of the dedicated host. + * @param callback The callback + */ + get(resourceGroupName: string, hostGroupName: string, hostName: string, callback: msRest.ServiceCallback): void; + /** + * @param resourceGroupName The name of the resource group. + * @param hostGroupName The name of the dedicated host group. + * @param hostName The name of the dedicated host. + * @param options The optional parameters + * @param callback The callback + */ + get(resourceGroupName: string, hostGroupName: string, hostName: string, options: Models.DedicatedHostsGetOptionalParams, callback: msRest.ServiceCallback): void; + get(resourceGroupName: string, hostGroupName: string, hostName: string, options?: Models.DedicatedHostsGetOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + resourceGroupName, + hostGroupName, + hostName, + options + }, + getOperationSpec, + callback) as Promise; + } + + /** + * Lists all of the dedicated hosts in the specified dedicated host group. Use the nextLink + * property in the response to get the next page of dedicated hosts. + * @param resourceGroupName The name of the resource group. + * @param hostGroupName The name of the dedicated host group. + * @param [options] The optional parameters + * @returns Promise + */ + listByHostGroup(resourceGroupName: string, hostGroupName: string, options?: msRest.RequestOptionsBase): Promise; + /** + * @param resourceGroupName The name of the resource group. + * @param hostGroupName The name of the dedicated host group. + * @param callback The callback + */ + listByHostGroup(resourceGroupName: string, hostGroupName: string, callback: msRest.ServiceCallback): void; + /** + * @param resourceGroupName The name of the resource group. + * @param hostGroupName The name of the dedicated host group. + * @param options The optional parameters + * @param callback The callback + */ + listByHostGroup(resourceGroupName: string, hostGroupName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + listByHostGroup(resourceGroupName: string, hostGroupName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + resourceGroupName, + hostGroupName, + options + }, + listByHostGroupOperationSpec, + callback) as Promise; + } + + /** + * Create or update a dedicated host . + * @param resourceGroupName The name of the resource group. + * @param hostGroupName The name of the dedicated host group. + * @param hostName The name of the dedicated host . + * @param parameters Parameters supplied to the Create Dedicated Host. + * @param [options] The optional parameters + * @returns Promise + */ + beginCreateOrUpdate(resourceGroupName: string, hostGroupName: string, hostName: string, parameters: Models.DedicatedHost, options?: msRest.RequestOptionsBase): Promise { + return this.client.sendLRORequest( + { + resourceGroupName, + hostGroupName, + hostName, + parameters, + options + }, + beginCreateOrUpdateOperationSpec, + options); + } + + /** + * Update an dedicated host . + * @param resourceGroupName The name of the resource group. + * @param hostGroupName The name of the dedicated host group. + * @param hostName The name of the dedicated host . + * @param parameters Parameters supplied to the Update Dedicated Host operation. + * @param [options] The optional parameters + * @returns Promise + */ + beginUpdate(resourceGroupName: string, hostGroupName: string, hostName: string, parameters: Models.DedicatedHostUpdate, options?: msRest.RequestOptionsBase): Promise { + return this.client.sendLRORequest( + { + resourceGroupName, + hostGroupName, + hostName, + parameters, + options + }, + beginUpdateOperationSpec, + options); + } + + /** + * Delete a dedicated host. + * @param resourceGroupName The name of the resource group. + * @param hostGroupName The name of the dedicated host group. + * @param hostName The name of the dedicated host. + * @param [options] The optional parameters + * @returns Promise + */ + beginDeleteMethod(resourceGroupName: string, hostGroupName: string, hostName: string, options?: msRest.RequestOptionsBase): Promise { + return this.client.sendLRORequest( + { + resourceGroupName, + hostGroupName, + hostName, + options + }, + beginDeleteMethodOperationSpec, + options); + } + + /** + * Lists all of the dedicated hosts in the specified dedicated host group. Use the nextLink + * property in the response to get the next page of dedicated hosts. + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @param [options] The optional parameters + * @returns Promise + */ + listByHostGroupNext(nextPageLink: string, options?: msRest.RequestOptionsBase): Promise; + /** + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @param callback The callback + */ + listByHostGroupNext(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 + */ + listByHostGroupNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + listByHostGroupNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + nextPageLink, + options + }, + listByHostGroupNextOperationSpec, + 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/hostGroups/{hostGroupName}/hosts/{hostName}", + urlParameters: [ + Parameters.resourceGroupName, + Parameters.hostGroupName, + Parameters.hostName, + Parameters.subscriptionId + ], + queryParameters: [ + Parameters.expand0, + Parameters.apiVersion0 + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: { + bodyMapper: Mappers.DedicatedHost + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + +const listByHostGroupOperationSpec: msRest.OperationSpec = { + httpMethod: "GET", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/hostGroups/{hostGroupName}/hosts", + urlParameters: [ + Parameters.resourceGroupName, + Parameters.hostGroupName, + Parameters.subscriptionId + ], + queryParameters: [ + Parameters.apiVersion0 + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: { + bodyMapper: Mappers.DedicatedHostListResult + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + +const beginCreateOrUpdateOperationSpec: msRest.OperationSpec = { + httpMethod: "PUT", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/hostGroups/{hostGroupName}/hosts/{hostName}", + urlParameters: [ + Parameters.resourceGroupName, + Parameters.hostGroupName, + Parameters.hostName, + Parameters.subscriptionId + ], + queryParameters: [ + Parameters.apiVersion0 + ], + headerParameters: [ + Parameters.acceptLanguage + ], + requestBody: { + parameterPath: "parameters", + mapper: { + ...Mappers.DedicatedHost, + required: true + } + }, + responses: { + 200: { + bodyMapper: Mappers.DedicatedHost + }, + 201: { + bodyMapper: Mappers.DedicatedHost + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + +const beginUpdateOperationSpec: msRest.OperationSpec = { + httpMethod: "PATCH", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/hostGroups/{hostGroupName}/hosts/{hostName}", + urlParameters: [ + Parameters.resourceGroupName, + Parameters.hostGroupName, + Parameters.hostName, + Parameters.subscriptionId + ], + queryParameters: [ + Parameters.apiVersion0 + ], + headerParameters: [ + Parameters.acceptLanguage + ], + requestBody: { + parameterPath: "parameters", + mapper: { + ...Mappers.DedicatedHostUpdate, + required: true + } + }, + responses: { + 200: { + bodyMapper: Mappers.DedicatedHost + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + +const beginDeleteMethodOperationSpec: msRest.OperationSpec = { + httpMethod: "DELETE", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/hostGroups/{hostGroupName}/hosts/{hostName}", + urlParameters: [ + Parameters.resourceGroupName, + Parameters.hostGroupName, + Parameters.hostName, + Parameters.subscriptionId + ], + queryParameters: [ + Parameters.apiVersion0 + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: {}, + 202: {}, + 204: {}, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + +const listByHostGroupNextOperationSpec: msRest.OperationSpec = { + httpMethod: "GET", + baseUrl: "https://management.azure.com", + path: "{nextLink}", + urlParameters: [ + Parameters.nextPageLink + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: { + bodyMapper: Mappers.DedicatedHostListResult + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; diff --git a/sdk/compute/arm-compute/src/operations/galleries.ts b/sdk/compute/arm-compute/src/operations/galleries.ts index bf566595c4a2..3ed0099d5551 100644 --- a/sdk/compute/arm-compute/src/operations/galleries.ts +++ b/sdk/compute/arm-compute/src/operations/galleries.ts @@ -244,7 +244,7 @@ const getOperationSpec: msRest.OperationSpec = { Parameters.galleryName ], queryParameters: [ - Parameters.apiVersion0 + Parameters.apiVersion3 ], headerParameters: [ Parameters.acceptLanguage @@ -268,7 +268,7 @@ const listByResourceGroupOperationSpec: msRest.OperationSpec = { Parameters.resourceGroupName ], queryParameters: [ - Parameters.apiVersion0 + Parameters.apiVersion3 ], headerParameters: [ Parameters.acceptLanguage @@ -291,7 +291,7 @@ const listOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion0 + Parameters.apiVersion3 ], headerParameters: [ Parameters.acceptLanguage @@ -316,7 +316,7 @@ const beginCreateOrUpdateOperationSpec: msRest.OperationSpec = { Parameters.galleryName ], queryParameters: [ - Parameters.apiVersion0 + Parameters.apiVersion3 ], headerParameters: [ Parameters.acceptLanguage @@ -354,7 +354,7 @@ const beginDeleteMethodOperationSpec: msRest.OperationSpec = { Parameters.galleryName ], queryParameters: [ - Parameters.apiVersion0 + 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 02c415f95c6e..439c5e351734 100644 --- a/sdk/compute/arm-compute/src/operations/galleryImageVersions.ts +++ b/sdk/compute/arm-compute/src/operations/galleryImageVersions.ts @@ -236,8 +236,8 @@ const getOperationSpec: msRest.OperationSpec = { Parameters.galleryImageVersionName ], queryParameters: [ - Parameters.expand0, - Parameters.apiVersion0 + Parameters.expand1, + Parameters.apiVersion3 ], headerParameters: [ Parameters.acceptLanguage @@ -263,7 +263,7 @@ const listByGalleryImageOperationSpec: msRest.OperationSpec = { Parameters.galleryImageName ], queryParameters: [ - Parameters.apiVersion0 + Parameters.apiVersion3 ], headerParameters: [ Parameters.acceptLanguage @@ -290,7 +290,7 @@ const beginCreateOrUpdateOperationSpec: msRest.OperationSpec = { Parameters.galleryImageVersionName ], queryParameters: [ - Parameters.apiVersion0 + Parameters.apiVersion3 ], headerParameters: [ Parameters.acceptLanguage @@ -330,7 +330,7 @@ const beginDeleteMethodOperationSpec: msRest.OperationSpec = { Parameters.galleryImageVersionName ], queryParameters: [ - Parameters.apiVersion0 + 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 1205d3f7d769..b951008c54f7 100644 --- a/sdk/compute/arm-compute/src/operations/galleryImages.ts +++ b/sdk/compute/arm-compute/src/operations/galleryImages.ts @@ -219,7 +219,7 @@ const getOperationSpec: msRest.OperationSpec = { Parameters.galleryImageName ], queryParameters: [ - Parameters.apiVersion0 + Parameters.apiVersion3 ], headerParameters: [ Parameters.acceptLanguage @@ -244,7 +244,7 @@ const listByGalleryOperationSpec: msRest.OperationSpec = { Parameters.galleryName ], queryParameters: [ - Parameters.apiVersion0 + Parameters.apiVersion3 ], headerParameters: [ Parameters.acceptLanguage @@ -270,7 +270,7 @@ const beginCreateOrUpdateOperationSpec: msRest.OperationSpec = { Parameters.galleryImageName ], queryParameters: [ - Parameters.apiVersion0 + Parameters.apiVersion3 ], headerParameters: [ Parameters.acceptLanguage @@ -309,7 +309,7 @@ const beginDeleteMethodOperationSpec: msRest.OperationSpec = { Parameters.galleryImageName ], queryParameters: [ - Parameters.apiVersion0 + 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..db6ade10fbf7 100644 --- a/sdk/compute/arm-compute/src/operations/images.ts +++ b/sdk/compute/arm-compute/src/operations/images.ts @@ -277,7 +277,7 @@ const getOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.expand0, + Parameters.expand1, Parameters.apiVersion0 ], headerParameters: [ diff --git a/sdk/compute/arm-compute/src/operations/index.ts b/sdk/compute/arm-compute/src/operations/index.ts index 1821b058d12d..4af74520b9ea 100644 --- a/sdk/compute/arm-compute/src/operations/index.ts +++ b/sdk/compute/arm-compute/src/operations/index.ts @@ -10,6 +10,9 @@ export * from "./operations"; export * from "./availabilitySets"; +export * from "./proximityPlacementGroups"; +export * from "./dedicatedHostGroups"; +export * from "./dedicatedHosts"; export * from "./virtualMachineExtensionImages"; export * from "./virtualMachineExtensions"; export * from "./virtualMachineImages"; @@ -20,7 +23,6 @@ export * from "./images"; export * from "./virtualMachineScaleSets"; export * from "./virtualMachineScaleSetExtensions"; export * from "./virtualMachineScaleSetRollingUpgrades"; -export * from "./virtualMachineScaleSetOperations"; export * from "./virtualMachineScaleSetVMs"; export * from "./logAnalytics"; export * from "./virtualMachineRunCommands"; diff --git a/sdk/compute/arm-compute/src/operations/proximityPlacementGroups.ts b/sdk/compute/arm-compute/src/operations/proximityPlacementGroups.ts new file mode 100644 index 000000000000..5a5ed3f4bbf0 --- /dev/null +++ b/sdk/compute/arm-compute/src/operations/proximityPlacementGroups.ts @@ -0,0 +1,478 @@ +/* + * Copyright (c) Microsoft Corporation. All rights reserved. + * Licensed under the MIT License. See License.txt in the project root for + * license information. + * + * 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/proximityPlacementGroupsMappers"; +import * as Parameters from "../models/parameters"; +import { ComputeManagementClientContext } from "../computeManagementClientContext"; + +/** Class representing a ProximityPlacementGroups. */ +export class ProximityPlacementGroups { + private readonly client: ComputeManagementClientContext; + + /** + * Create a ProximityPlacementGroups. + * @param {ComputeManagementClientContext} client Reference to the service client. + */ + constructor(client: ComputeManagementClientContext) { + this.client = client; + } + + /** + * Create or update a proximity placement group. + * @param resourceGroupName The name of the resource group. + * @param proximityPlacementGroupName The name of the proximity placement group. + * @param parameters Parameters supplied to the Create Proximity Placement Group operation. + * @param [options] The optional parameters + * @returns Promise + */ + createOrUpdate(resourceGroupName: string, proximityPlacementGroupName: string, parameters: Models.ProximityPlacementGroup, options?: msRest.RequestOptionsBase): Promise; + /** + * @param resourceGroupName The name of the resource group. + * @param proximityPlacementGroupName The name of the proximity placement group. + * @param parameters Parameters supplied to the Create Proximity Placement Group operation. + * @param callback The callback + */ + createOrUpdate(resourceGroupName: string, proximityPlacementGroupName: string, parameters: Models.ProximityPlacementGroup, callback: msRest.ServiceCallback): void; + /** + * @param resourceGroupName The name of the resource group. + * @param proximityPlacementGroupName The name of the proximity placement group. + * @param parameters Parameters supplied to the Create Proximity Placement Group operation. + * @param options The optional parameters + * @param callback The callback + */ + createOrUpdate(resourceGroupName: string, proximityPlacementGroupName: string, parameters: Models.ProximityPlacementGroup, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + createOrUpdate(resourceGroupName: string, proximityPlacementGroupName: string, parameters: Models.ProximityPlacementGroup, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + resourceGroupName, + proximityPlacementGroupName, + parameters, + options + }, + createOrUpdateOperationSpec, + callback) as Promise; + } + + /** + * Update a proximity placement group. + * @param resourceGroupName The name of the resource group. + * @param proximityPlacementGroupName The name of the proximity placement group. + * @param parameters Parameters supplied to the Update Proximity Placement Group operation. + * @param [options] The optional parameters + * @returns Promise + */ + update(resourceGroupName: string, proximityPlacementGroupName: string, parameters: Models.ProximityPlacementGroupUpdate, options?: msRest.RequestOptionsBase): Promise; + /** + * @param resourceGroupName The name of the resource group. + * @param proximityPlacementGroupName The name of the proximity placement group. + * @param parameters Parameters supplied to the Update Proximity Placement Group operation. + * @param callback The callback + */ + update(resourceGroupName: string, proximityPlacementGroupName: string, parameters: Models.ProximityPlacementGroupUpdate, callback: msRest.ServiceCallback): void; + /** + * @param resourceGroupName The name of the resource group. + * @param proximityPlacementGroupName The name of the proximity placement group. + * @param parameters Parameters supplied to the Update Proximity Placement Group operation. + * @param options The optional parameters + * @param callback The callback + */ + update(resourceGroupName: string, proximityPlacementGroupName: string, parameters: Models.ProximityPlacementGroupUpdate, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + update(resourceGroupName: string, proximityPlacementGroupName: string, parameters: Models.ProximityPlacementGroupUpdate, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + resourceGroupName, + proximityPlacementGroupName, + parameters, + options + }, + updateOperationSpec, + callback) as Promise; + } + + /** + * Delete a proximity placement group. + * @param resourceGroupName The name of the resource group. + * @param proximityPlacementGroupName The name of the proximity placement group. + * @param [options] The optional parameters + * @returns Promise + */ + deleteMethod(resourceGroupName: string, proximityPlacementGroupName: string, options?: msRest.RequestOptionsBase): Promise; + /** + * @param resourceGroupName The name of the resource group. + * @param proximityPlacementGroupName The name of the proximity placement group. + * @param callback The callback + */ + deleteMethod(resourceGroupName: string, proximityPlacementGroupName: string, callback: msRest.ServiceCallback): void; + /** + * @param resourceGroupName The name of the resource group. + * @param proximityPlacementGroupName The name of the proximity placement group. + * @param options The optional parameters + * @param callback The callback + */ + deleteMethod(resourceGroupName: string, proximityPlacementGroupName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + deleteMethod(resourceGroupName: string, proximityPlacementGroupName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + resourceGroupName, + proximityPlacementGroupName, + options + }, + deleteMethodOperationSpec, + callback); + } + + /** + * Retrieves information about a proximity placement group . + * @param resourceGroupName The name of the resource group. + * @param proximityPlacementGroupName The name of the proximity placement group. + * @param [options] The optional parameters + * @returns Promise + */ + get(resourceGroupName: string, proximityPlacementGroupName: string, options?: msRest.RequestOptionsBase): Promise; + /** + * @param resourceGroupName The name of the resource group. + * @param proximityPlacementGroupName The name of the proximity placement group. + * @param callback The callback + */ + get(resourceGroupName: string, proximityPlacementGroupName: string, callback: msRest.ServiceCallback): void; + /** + * @param resourceGroupName The name of the resource group. + * @param proximityPlacementGroupName The name of the proximity placement group. + * @param options The optional parameters + * @param callback The callback + */ + get(resourceGroupName: string, proximityPlacementGroupName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + get(resourceGroupName: string, proximityPlacementGroupName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + resourceGroupName, + proximityPlacementGroupName, + options + }, + getOperationSpec, + callback) as Promise; + } + + /** + * Lists all proximity placement groups in a subscription. + * @param [options] The optional parameters + * @returns Promise + */ + listBySubscription(options?: msRest.RequestOptionsBase): Promise; + /** + * @param callback The callback + */ + listBySubscription(callback: msRest.ServiceCallback): void; + /** + * @param options The optional parameters + * @param callback The callback + */ + listBySubscription(options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + listBySubscription(options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + options + }, + listBySubscriptionOperationSpec, + callback) as Promise; + } + + /** + * Lists all proximity placement groups in a resource group. + * @param resourceGroupName The name of the resource group. + * @param [options] The optional parameters + * @returns Promise + */ + listByResourceGroup(resourceGroupName: string, options?: msRest.RequestOptionsBase): Promise; + /** + * @param resourceGroupName The name of the resource group. + * @param callback The callback + */ + listByResourceGroup(resourceGroupName: string, callback: msRest.ServiceCallback): void; + /** + * @param resourceGroupName The name of the resource group. + * @param options The optional parameters + * @param callback The callback + */ + listByResourceGroup(resourceGroupName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + listByResourceGroup(resourceGroupName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + resourceGroupName, + options + }, + listByResourceGroupOperationSpec, + callback) as Promise; + } + + /** + * Lists all proximity placement groups in a subscription. + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @param [options] The optional parameters + * @returns Promise + */ + listBySubscriptionNext(nextPageLink: string, options?: msRest.RequestOptionsBase): Promise; + /** + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @param callback The callback + */ + listBySubscriptionNext(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 + */ + listBySubscriptionNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + listBySubscriptionNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + nextPageLink, + options + }, + listBySubscriptionNextOperationSpec, + callback) as Promise; + } + + /** + * Lists all proximity placement groups in a resource group. + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @param [options] The optional parameters + * @returns Promise + */ + listByResourceGroupNext(nextPageLink: string, options?: msRest.RequestOptionsBase): Promise; + /** + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @param callback The callback + */ + listByResourceGroupNext(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 + */ + listByResourceGroupNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + listByResourceGroupNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + nextPageLink, + options + }, + listByResourceGroupNextOperationSpec, + callback) as Promise; + } +} + +// Operation Specifications +const serializer = new msRest.Serializer(Mappers); +const createOrUpdateOperationSpec: msRest.OperationSpec = { + httpMethod: "PUT", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/proximityPlacementGroups/{proximityPlacementGroupName}", + urlParameters: [ + Parameters.resourceGroupName, + Parameters.proximityPlacementGroupName, + Parameters.subscriptionId + ], + queryParameters: [ + Parameters.apiVersion0 + ], + headerParameters: [ + Parameters.acceptLanguage + ], + requestBody: { + parameterPath: "parameters", + mapper: { + ...Mappers.ProximityPlacementGroup, + required: true + } + }, + responses: { + 200: { + bodyMapper: Mappers.ProximityPlacementGroup + }, + 201: { + bodyMapper: Mappers.ProximityPlacementGroup + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + +const updateOperationSpec: msRest.OperationSpec = { + httpMethod: "PATCH", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/proximityPlacementGroups/{proximityPlacementGroupName}", + urlParameters: [ + Parameters.resourceGroupName, + Parameters.proximityPlacementGroupName, + Parameters.subscriptionId + ], + queryParameters: [ + Parameters.apiVersion0 + ], + headerParameters: [ + Parameters.acceptLanguage + ], + requestBody: { + parameterPath: "parameters", + mapper: { + ...Mappers.ProximityPlacementGroupUpdate, + required: true + } + }, + responses: { + 200: { + bodyMapper: Mappers.ProximityPlacementGroup + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + +const deleteMethodOperationSpec: msRest.OperationSpec = { + httpMethod: "DELETE", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/proximityPlacementGroups/{proximityPlacementGroupName}", + urlParameters: [ + Parameters.resourceGroupName, + Parameters.proximityPlacementGroupName, + Parameters.subscriptionId + ], + queryParameters: [ + Parameters.apiVersion0 + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: {}, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + +const getOperationSpec: msRest.OperationSpec = { + httpMethod: "GET", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/proximityPlacementGroups/{proximityPlacementGroupName}", + urlParameters: [ + Parameters.resourceGroupName, + Parameters.proximityPlacementGroupName, + Parameters.subscriptionId + ], + queryParameters: [ + Parameters.apiVersion0 + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: { + bodyMapper: Mappers.ProximityPlacementGroup + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + +const listBySubscriptionOperationSpec: msRest.OperationSpec = { + httpMethod: "GET", + path: "subscriptions/{subscriptionId}/providers/Microsoft.Compute/proximityPlacementGroups", + urlParameters: [ + Parameters.subscriptionId + ], + queryParameters: [ + Parameters.apiVersion0 + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: { + bodyMapper: Mappers.ProximityPlacementGroupListResult + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + +const listByResourceGroupOperationSpec: msRest.OperationSpec = { + httpMethod: "GET", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/proximityPlacementGroups", + urlParameters: [ + Parameters.resourceGroupName, + Parameters.subscriptionId + ], + queryParameters: [ + Parameters.apiVersion0 + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: { + bodyMapper: Mappers.ProximityPlacementGroupListResult + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + +const listBySubscriptionNextOperationSpec: msRest.OperationSpec = { + httpMethod: "GET", + baseUrl: "https://management.azure.com", + path: "{nextLink}", + urlParameters: [ + Parameters.nextPageLink + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: { + bodyMapper: Mappers.ProximityPlacementGroupListResult + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + +const listByResourceGroupNextOperationSpec: msRest.OperationSpec = { + httpMethod: "GET", + baseUrl: "https://management.azure.com", + path: "{nextLink}", + urlParameters: [ + Parameters.nextPageLink + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: { + bodyMapper: Mappers.ProximityPlacementGroupListResult + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; diff --git a/sdk/compute/arm-compute/src/operations/virtualMachineExtensions.ts b/sdk/compute/arm-compute/src/operations/virtualMachineExtensions.ts index 289e3d3134e9..97c97b72adf0 100644 --- a/sdk/compute/arm-compute/src/operations/virtualMachineExtensions.ts +++ b/sdk/compute/arm-compute/src/operations/virtualMachineExtensions.ts @@ -217,7 +217,7 @@ const getOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.expand0, + Parameters.expand1, Parameters.apiVersion0 ], headerParameters: [ @@ -243,7 +243,7 @@ const listOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.expand0, + Parameters.expand1, Parameters.apiVersion0 ], headerParameters: [ diff --git a/sdk/compute/arm-compute/src/operations/virtualMachineScaleSetExtensions.ts b/sdk/compute/arm-compute/src/operations/virtualMachineScaleSetExtensions.ts index ede0b80fda8d..f2671c9c93cb 100644 --- a/sdk/compute/arm-compute/src/operations/virtualMachineScaleSetExtensions.ts +++ b/sdk/compute/arm-compute/src/operations/virtualMachineScaleSetExtensions.ts @@ -207,7 +207,7 @@ const getOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.expand0, + Parameters.expand1, Parameters.apiVersion0 ], headerParameters: [ diff --git a/sdk/compute/arm-compute/src/operations/virtualMachineScaleSetVMs.ts b/sdk/compute/arm-compute/src/operations/virtualMachineScaleSetVMs.ts index 158980afb9a6..247b0fdec459 100644 --- a/sdk/compute/arm-compute/src/operations/virtualMachineScaleSetVMs.ts +++ b/sdk/compute/arm-compute/src/operations/virtualMachineScaleSetVMs.ts @@ -105,7 +105,7 @@ export class VirtualMachineScaleSetVMs { * @param [options] The optional parameters * @returns Promise */ - get(resourceGroupName: string, vmScaleSetName: string, instanceId: string, options?: msRest.RequestOptionsBase): Promise; + get(resourceGroupName: string, vmScaleSetName: string, instanceId: string, options?: Models.VirtualMachineScaleSetVMsGetOptionalParams): Promise; /** * @param resourceGroupName The name of the resource group. * @param vmScaleSetName The name of the VM scale set. @@ -120,8 +120,8 @@ export class VirtualMachineScaleSetVMs { * @param options The optional parameters * @param callback The callback */ - get(resourceGroupName: string, vmScaleSetName: string, instanceId: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - get(resourceGroupName: string, vmScaleSetName: string, instanceId: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + get(resourceGroupName: string, vmScaleSetName: string, instanceId: string, options: Models.VirtualMachineScaleSetVMsGetOptionalParams, callback: msRest.ServiceCallback): void; + get(resourceGroupName: string, vmScaleSetName: string, instanceId: string, options?: Models.VirtualMachineScaleSetVMsGetOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -553,6 +553,7 @@ const getOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ + Parameters.expand0, Parameters.apiVersion0 ], headerParameters: [ @@ -606,7 +607,7 @@ const listOperationSpec: msRest.OperationSpec = { queryParameters: [ Parameters.filter, Parameters.select, - Parameters.expand0, + Parameters.expand1, Parameters.apiVersion0 ], headerParameters: [ diff --git a/sdk/compute/arm-compute/src/operations/virtualMachineScaleSets.ts b/sdk/compute/arm-compute/src/operations/virtualMachineScaleSets.ts index e7dfd2b78aff..5aa9dbc78a1b 100644 --- a/sdk/compute/arm-compute/src/operations/virtualMachineScaleSets.ts +++ b/sdk/compute/arm-compute/src/operations/virtualMachineScaleSets.ts @@ -421,6 +421,42 @@ export class VirtualMachineScaleSets { callback) as Promise; } + /** + * Converts SinglePlacementGroup property to false for a existing virtual machine scale set. + * @param resourceGroupName The name of the resource group. + * @param vmScaleSetName The name of the virtual machine scale set to create or update. + * @param parameters The input object for ConvertToSinglePlacementGroup API. + * @param [options] The optional parameters + * @returns Promise + */ + convertToSinglePlacementGroup(resourceGroupName: string, vmScaleSetName: string, parameters: Models.VMScaleSetConvertToSinglePlacementGroupInput, options?: msRest.RequestOptionsBase): Promise; + /** + * @param resourceGroupName The name of the resource group. + * @param vmScaleSetName The name of the virtual machine scale set to create or update. + * @param parameters The input object for ConvertToSinglePlacementGroup API. + * @param callback The callback + */ + convertToSinglePlacementGroup(resourceGroupName: string, vmScaleSetName: string, parameters: Models.VMScaleSetConvertToSinglePlacementGroupInput, callback: msRest.ServiceCallback): void; + /** + * @param resourceGroupName The name of the resource group. + * @param vmScaleSetName The name of the virtual machine scale set to create or update. + * @param parameters The input object for ConvertToSinglePlacementGroup API. + * @param options The optional parameters + * @param callback The callback + */ + convertToSinglePlacementGroup(resourceGroupName: string, vmScaleSetName: string, parameters: Models.VMScaleSetConvertToSinglePlacementGroupInput, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + convertToSinglePlacementGroup(resourceGroupName: string, vmScaleSetName: string, parameters: Models.VMScaleSetConvertToSinglePlacementGroupInput, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + resourceGroupName, + vmScaleSetName, + parameters, + options + }, + convertToSinglePlacementGroupOperationSpec, + callback); + } + /** * Create or update a VM scale set. * @param resourceGroupName The name of the resource group. @@ -964,6 +1000,33 @@ const forceRecoveryServiceFabricPlatformUpdateDomainWalkOperationSpec: msRest.Op serializer }; +const convertToSinglePlacementGroupOperationSpec: msRest.OperationSpec = { + httpMethod: "POST", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}/convertToSinglePlacementGroup", + urlParameters: [ + Parameters.resourceGroupName, + Parameters.vmScaleSetName, + Parameters.subscriptionId + ], + headerParameters: [ + Parameters.acceptLanguage + ], + requestBody: { + parameterPath: "parameters", + mapper: { + ...Mappers.VMScaleSetConvertToSinglePlacementGroupInput, + required: true + } + }, + responses: { + 200: {}, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + const beginCreateOrUpdateOperationSpec: msRest.OperationSpec = { httpMethod: "PUT", path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}", diff --git a/sdk/compute/arm-compute/src/operations/virtualMachines.ts b/sdk/compute/arm-compute/src/operations/virtualMachines.ts index a535ced3f9da..369fc36d833e 100644 --- a/sdk/compute/arm-compute/src/operations/virtualMachines.ts +++ b/sdk/compute/arm-compute/src/operations/virtualMachines.ts @@ -769,7 +769,7 @@ const getOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.expand1, + Parameters.expand0, Parameters.apiVersion0 ], headerParameters: [ diff --git a/sdk/compute/arm-compute/tsconfig.json b/sdk/compute/arm-compute/tsconfig.json index 87bbf5b5fa49..422b584abd5e 100644 --- a/sdk/compute/arm-compute/tsconfig.json +++ b/sdk/compute/arm-compute/tsconfig.json @@ -9,7 +9,7 @@ "esModuleInterop": true, "allowSyntheticDefaultImports": true, "forceConsistentCasingInFileNames": true, - "lib": ["es6"], + "lib": ["es6", "dom"], "declaration": true, "outDir": "./esm", "importHelpers": true From 9d4885374df4fd58d6ff031d00a655bdcdc51717 Mon Sep 17 00:00:00 2001 From: chradek <51000525+chradek@users.noreply.github.com> Date: Wed, 7 Aug 2019 16:55:13 -0700 Subject: [PATCH 14/16] [core] updates core-arm/http/tracing version numbers (#4709) --- common/config/rush/pnpm-lock.yaml | 1007 ++++++++++++++++------------- 1 file changed, 561 insertions(+), 446 deletions(-) diff --git a/common/config/rush/pnpm-lock.yaml b/common/config/rush/pnpm-lock.yaml index fe73d258db05..67aa7bf19e8d 100644 --- a/common/config/rush/pnpm-lock.yaml +++ b/common/config/rush/pnpm-lock.yaml @@ -12,7 +12,7 @@ dependencies: '@azure/logger-js': 1.3.2 '@azure/ms-rest-js': 2.0.4 '@azure/ms-rest-nodeauth': 0.9.3 - '@microsoft/api-extractor': 7.3.8 + '@microsoft/api-extractor': 7.3.5 '@rush-temp/abort-controller': 'file:projects/abort-controller.tgz' '@rush-temp/core-amqp': 'file:projects/core-amqp.tgz' '@rush-temp/core-arm': 'file:projects/core-arm.tgz' @@ -21,6 +21,7 @@ dependencies: '@rush-temp/core-http': 'file:projects/core-http.tgz' '@rush-temp/core-paging': 'file:projects/core-paging.tgz' '@rush-temp/core-tracing': 'file:projects/core-tracing.tgz' + '@rush-temp/cosmos': 'file:projects/cosmos.tgz' '@rush-temp/event-hubs': 'file:projects/event-hubs.tgz' '@rush-temp/event-processor-host': 'file:projects/event-processor-host.tgz' '@rush-temp/identity': 'file:projects/identity.tgz' @@ -35,9 +36,9 @@ dependencies: '@rush-temp/testhub': 'file:projects/testhub.tgz' '@trust/keyto': 0.3.7 '@types/async-lock': 1.1.1 - '@types/chai': 4.2.0 - '@types/chai-as-promised': 7.1.2 - '@types/chai-string': 1.4.2 + '@types/chai': 4.1.7 + '@types/chai-as-promised': 7.1.1 + '@types/chai-string': 1.4.1 '@types/debug': 0.0.31 '@types/dotenv': 6.1.1 '@types/express': 4.17.0 @@ -52,42 +53,49 @@ dependencies: '@types/nise': 1.4.0 '@types/nock': 10.0.3 '@types/node': 8.10.51 + '@types/priorityqueuejs': 1.0.1 '@types/qs': 6.5.3 '@types/query-string': 6.2.0 + '@types/semaphore': 1.1.0 '@types/semver': 5.5.0 '@types/sinon': 7.0.13 '@types/tough-cookie': 2.3.5 '@types/tunnel': 0.0.1 + '@types/underscore': 1.9.2 '@types/uuid': 3.4.5 '@types/webpack': 4.32.1 '@types/webpack-dev-middleware': 2.0.3 '@types/ws': 6.0.2 '@types/xml2js': 0.4.4 '@types/yargs': 13.0.2 - '@typescript-eslint/eslint-plugin': 2.0.0_2597c16b46d7eff3ec2c0c583ca4ae44 - '@typescript-eslint/parser': 2.0.0_eslint@6.1.0 + '@typescript-eslint/eslint-plugin': 1.13.0_0b5e999c52a893676e7127c05369c7b6 + '@typescript-eslint/parser': 1.13.0_eslint@5.16.0 abortcontroller-polyfill: 1.3.0 assert: 1.5.0 async-lock: 1.2.2 axios: 0.19.0 axios-mock-adapter: 1.17.0_axios@0.19.0 azure-storage: 2.10.3 - buffer: 5.4.0 + binary-search-bounds: 2.0.3 + buffer: 5.2.1 chai: 4.2.0 chai-as-promised: 7.1.1_chai@4.2.0 chai-string: 1.5.0_chai@4.2.0 + create-hmac: 1.1.7 cross-env: 5.2.0 death: 1.1.0 debug: 3.2.6 delay: 4.3.0 dotenv: 8.0.0 es6-promise: 4.2.8 - eslint: 6.1.0 - eslint-config-prettier: 6.0.0_eslint@6.1.0 - eslint-plugin-no-null: 1.0.2_eslint@6.1.0 + eslint: 5.16.0 + eslint-config-prettier: 6.0.0_eslint@5.16.0 + eslint-detailed-reporter: 0.8.0_eslint@5.16.0 + eslint-plugin-no-null: 1.0.2_eslint@5.16.0 eslint-plugin-no-only-tests: 2.3.1 eslint-plugin-promise: 4.2.1 events: 3.0.0 + execa: 1.0.0 express: 4.17.1 form-data: 2.5.0 fs-extra: 8.1.0 @@ -101,11 +109,11 @@ dependencies: jws: 3.2.2 karma: 4.2.0 karma-chai: 0.1.0_chai@4.2.0+karma@4.2.0 - karma-chrome-launcher: 3.1.0 + karma-chrome-launcher: 3.0.0 karma-coverage: 1.1.2 karma-edge-launcher: 0.4.2_karma@4.2.0 karma-env-preprocessor: 0.1.1 - karma-firefox-launcher: 1.2.0 + karma-firefox-launcher: 1.1.0 karma-ie-launcher: 1.0.0_karma@4.2.0 karma-json-preprocessor: 0.3.3_karma@4.2.0 karma-json-to-file-reporter: 1.0.1 @@ -116,7 +124,7 @@ dependencies: karma-rollup-preprocessor: 7.0.2_rollup@1.19.4 karma-sourcemap-loader: 0.3.7 karma-typescript-es6-transform: 4.1.1 - karma-webpack: 4.0.2_webpack@4.39.2 + karma-webpack: 4.0.2_webpack@4.39.1 long: 4.0.0 mocha: 5.2.0 mocha-chrome: 2.0.0 @@ -131,14 +139,16 @@ dependencies: nyc: 14.1.1 path-browserify: 1.0.0 prettier: 1.18.2 + priorityqueuejs: 1.0.0 process: 0.11.10 promise: 8.0.3 puppeteer: 1.19.0 qs: 6.7.0 query-string: 5.1.1 + requirejs: 2.3.6 rhea: 1.0.8 rhea-promise: 0.1.15 - rimraf: 2.7.0 + rimraf: 2.6.3 rollup: 1.19.4 rollup-plugin-alias: 1.5.2 rollup-plugin-commonjs: 10.0.2_rollup@1.19.4 @@ -154,11 +164,13 @@ dependencies: rollup-plugin-terser: 5.1.1_rollup@1.19.4 rollup-plugin-uglify: 6.0.2_rollup@1.19.4 rollup-plugin-visualizer: 2.5.4_rollup@1.19.4 - semver: 5.7.1 + semaphore: 1.0.5 + semver: 5.7.0 shx: 0.3.2 sinon: 7.4.1 source-map-support: 0.5.13 stream-browserify: 2.0.2 + stream-http: 2.8.3 tough-cookie: 3.0.1 ts-loader: 6.0.4_typescript@3.5.3 ts-mocha: 6.0.0_mocha@5.2.0 @@ -170,10 +182,10 @@ dependencies: url: 0.11.0 util: 0.12.1 uuid: 3.3.2 - webpack: 4.39.2_webpack@4.39.2 - webpack-cli: 3.3.6_webpack@4.39.2 - webpack-dev-middleware: 3.7.0_webpack@4.39.2 - ws: 7.1.2 + webpack: 4.39.1_webpack@4.39.1 + webpack-cli: 3.3.6_webpack@4.39.1 + webpack-dev-middleware: 3.7.0_webpack@4.39.1 + ws: 7.1.1 xhr-mock: 2.5.0 xml2js: 0.4.19 yargs: 13.3.0 @@ -192,7 +204,7 @@ packages: '@types/async-lock': 1.1.1 '@types/is-buffer': 2.0.0 async-lock: 1.2.2 - buffer: 5.4.0 + buffer: 5.2.1 debug: 3.2.6 events: 3.0.0 is-buffer: 2.0.3 @@ -409,20 +421,20 @@ packages: dev: false resolution: integrity: sha512-s63F9nJioLqOlW3UkyMd+BYhXt44YuaFm/VV0VwuteqjYwRrObkU7ra9pY4wAJR3oXi8hJrMcrcJdO/HH33vtw== - /@microsoft/api-extractor-model/7.3.2: + /@microsoft/api-extractor-model/7.3.0: dependencies: - '@microsoft/node-core-library': 3.14.0 - '@microsoft/tsdoc': 0.12.12 + '@microsoft/node-core-library': 3.13.0 + '@microsoft/tsdoc': 0.12.10 '@types/node': 8.5.8 dev: false resolution: - integrity: sha512-2yNbQsQl5PI36l5WzHQshwjBHPe5IeIcmidWad0E+wjyaAxGMLx5pBp5AgXY2JG9S9VQjFmmGmqJJBXn8tzu+w== - /@microsoft/api-extractor/7.3.8: + integrity: sha512-GfRaGz6d8fPhMOG70l2zS1s6Z8rCxcTHnwfVjb+6ln25eB4fN/jeDRlLKot+HOsVcbxvVseoeB0ZQL9nIsfbXw== + /@microsoft/api-extractor/7.3.5: dependencies: - '@microsoft/api-extractor-model': 7.3.2 - '@microsoft/node-core-library': 3.14.0 - '@microsoft/ts-command-line': 4.2.7 - '@microsoft/tsdoc': 0.12.12 + '@microsoft/api-extractor-model': 7.3.0 + '@microsoft/node-core-library': 3.13.0 + '@microsoft/ts-command-line': 4.2.6 + '@microsoft/tsdoc': 0.12.10 colors: 1.2.5 lodash: 4.17.15 resolve: 1.8.1 @@ -431,8 +443,8 @@ packages: dev: false hasBin: true resolution: - integrity: sha512-zw3HWmPW9vWWIoI3SPb2tuJ2suXVoF9ty37Mww+00I4gKLPPDooVad1kBiNtdjHXBj0QwYAOsGcfoBN9Qgt2bw== - /@microsoft/node-core-library/3.14.0: + integrity: sha512-g6Cu3mPZnbVB/YindJGLDDFnervDD7VruuC8Ve+48UctXHXcfJC4yJhhuSV79SwE58wNx9wXdLDihdFtnDWcnQ== + /@microsoft/node-core-library/3.13.0: dependencies: '@types/fs-extra': 5.0.4 '@types/jju': 1.4.1 @@ -444,8 +456,8 @@ packages: z-schema: 3.18.4 dev: false resolution: - integrity: sha512-+gbTXTRfvR40hTH+C3Vno/RJ51sU/RZAyHb2bo9af8GCdOgxCxCs+qp2KCXklbpuolmIPFfbCmdTwv90yH5tJw== - /@microsoft/ts-command-line/4.2.7: + integrity: sha512-mnsL/1ikVWHl8sPNssavaAgtUaIM3hkQ8zeySuApU5dNmsMPzovJPfx9m5JGiMvs1v5QNAIVeiS9jnWwe/7anw== + /@microsoft/ts-command-line/4.2.6: dependencies: '@types/argparse': 1.0.33 '@types/node': 8.5.8 @@ -453,11 +465,11 @@ packages: colors: 1.2.5 dev: false resolution: - integrity: sha512-PwUMIIDl8oWyl64Y5DW5FAuoRk4KWTBZdk4FEh366KEm5xYFBQhCeatHGURIj8nEYm0Xb2coCrXF77dGDlp/Qw== - /@microsoft/tsdoc/0.12.12: + integrity: sha512-GFLPg9Z5yiNca3di/V6Zt3tAvj1de9EK0eL88tE+1eckQSH405UQcm7D+H8LbEhRpqpG+ZqN9LXCAEw4L5uchg== + /@microsoft/tsdoc/0.12.10: dev: false resolution: - integrity: sha512-5EzH1gHIonvvgA/xWRmVAJmRkTQj/yayUXyr66hFwNZiFE4j7lP8is9YQeXhwxGZEjO1PVMblAmFF0CyjNtPGw== + integrity: sha512-tsog/HTdM88/WyR0Jz7XWTI0ghbJkt9soFXnQJrINDyaTGzbCoJjRttaW/IY5eAp4eqDyfg++jq6o+byEDOkIQ== /@sinonjs/commons/1.4.0: dependencies: type-detect: 4.0.8 @@ -514,22 +526,22 @@ packages: dev: false resolution: integrity: sha512-a2+YeUjPkztKJu5aIF2yArYFQQp8d51wZ7DavSHjFuY1mqVgidGyzEQ41JIVNy82fXj8yPgy2vJmfIywgESW6w== - /@types/chai-as-promised/7.1.2: + /@types/chai-as-promised/7.1.1: dependencies: - '@types/chai': 4.2.0 + '@types/chai': 4.1.7 dev: false resolution: - integrity: sha512-PO2gcfR3Oxa+u0QvECLe1xKXOqYTzCmWf0FhLhjREoW3fPAVamjihL7v1MOVLJLsnAMdLcjkfrs01yvDMwVK4Q== - /@types/chai-string/1.4.2: + integrity: sha512-dberBxQW/XWv6BMj0su1lV9/C9AUx5Hqu2pisuS6S4YK/Qt6vurcj/BmcbEsobIWWCQzhesNY8k73kIxx4X7Mg== + /@types/chai-string/1.4.1: dependencies: - '@types/chai': 4.2.0 + '@types/chai': 4.1.7 dev: false resolution: - integrity: sha512-ld/1hV5qcPRGuwlPdvRfvM3Ka/iofOk2pH4VkasK4b1JJP1LjNmWWn0LsISf6RRzyhVOvs93rb9tM09e+UuF8Q== - /@types/chai/4.2.0: + integrity: sha512-aRNMs6TKgjgPlCHwDfq/YNy5VtRR2hJ4AUWByddrT0TRVVD8eX4MiHW6/iHvmQHRlVuuPZcwnTUE7b4yFt7bEA== + /@types/chai/4.1.7: dev: false resolution: - integrity: sha512-zw8UvoBEImn392tLjxoavuonblX/4Yb9ha4KBU10FirCfwgzhKO0dvyJSF9ByxV1xK1r2AgnAi/tvQaLgxQqxA== + integrity: sha512-2Y8uPt0/jwjhQ6EiluT0XCri1Dbplr0ZxfFXUz+ye13gaqE8u5gL5ppao1JrUYr9cIip5S6MvQzBS7Kke7U9VA== /@types/connect/3.4.32: dependencies: '@types/node': 8.10.51 @@ -668,10 +680,10 @@ packages: dev: false resolution: integrity: sha512-TLFRywthBgL68auWj+ziWu+vnmmcHCDFC/sqCOQf1xTz4hRq8cu79z8CtHU9lncExGBsB8fXA4TiLDLt6xvMzw== - /@types/node/12.7.1: + /@types/node/12.7.0: dev: false resolution: - integrity: sha512-aK9jxMypeSrhiYofWWBf/T7O+KwaiAHzM4sveCdWPn71lzUSMimRnKzhXDKfKwV1kWoBo2P1aGgaIYGLf9/ljw== + integrity: sha512-vqcj1MVm2Sla4PpMfYKh1MyDN4D2f/mPIZD7RdAGqEsbE+JxfeqQHHVbRDQ0Nqn8i73gJa1HQ1Pu3+nH4Q0Yiw== /@types/node/8.10.51: dev: false resolution: @@ -680,6 +692,10 @@ packages: dev: false resolution: integrity: sha512-8KmlRxwbKZfjUHFIt3q8TF5S2B+/E5BaAoo/3mgc5h6FJzqxXkCK/VMetO+IRDtwtU6HUvovHMBn+XRj7SV9Qg== + /@types/priorityqueuejs/1.0.1: + dev: false + resolution: + integrity: sha1-bqrDJHpMXO/JRILl2Hw3MLNfUFM= /@types/qs/6.5.3: dev: false resolution: @@ -698,6 +714,10 @@ packages: dev: false resolution: integrity: sha512-auApPaJf3NPfe18hSoJkp8EbZzer2ISk7o8mCC3M9he/a04+gbMF97NkpD2S8riMGvm4BMRI59/SZQSaLTKpsQ== + /@types/semaphore/1.1.0: + dev: false + resolution: + integrity: sha512-YD+lyrPhrsJdSOaxmA9K1lzsCoN0J29IsQGMKd67SbkPDXxJPdwdqpok1sytD19NEozUaFpjIsKOWnJDOYO/GA== /@types/semver/5.5.0: dev: false resolution: @@ -739,6 +759,10 @@ packages: dev: false resolution: integrity: sha512-SudIN9TRJ+v8g5pTG8RRCqfqTMNqgWCKKd3vtynhGzkIIjxaicNAMuY5TRadJ6tzDu3Dotf3ngaMILtmOdmWEQ== + /@types/underscore/1.9.2: + dev: false + resolution: + integrity: sha512-KgOKTAD+9X+qvZnB5S1+onqKc4E+PZ+T6CM/NA5ohRPLHJXb+yCJMVf8pWOnvuBuKFNUAJW8N97IA6lba6mZGg== /@types/uuid/3.4.5: dependencies: '@types/node': 8.10.51 @@ -790,60 +814,60 @@ packages: dev: false resolution: integrity: sha1-LrHQCl5Ow/pYx2r94S4YK2bcXBw= - /@typescript-eslint/eslint-plugin/2.0.0_2597c16b46d7eff3ec2c0c583ca4ae44: + /@typescript-eslint/eslint-plugin/1.13.0_0b5e999c52a893676e7127c05369c7b6: dependencies: - '@typescript-eslint/experimental-utils': 2.0.0_eslint@6.1.0 - '@typescript-eslint/parser': 2.0.0_eslint@6.1.0 - eslint: 6.1.0 + '@typescript-eslint/experimental-utils': 1.13.0_eslint@5.16.0 + '@typescript-eslint/parser': 1.13.0_eslint@5.16.0 + eslint: 5.16.0 eslint-utils: 1.4.0 functional-red-black-tree: 1.0.1 regexpp: 2.0.1 tsutils: 3.17.1_typescript@3.5.3 dev: false engines: - node: ^8.10.0 || ^10.13.0 || >=11.10.1 + node: ^6.14.0 || ^8.10.0 || >=9.10.0 peerDependencies: - '@typescript-eslint/parser': ^2.0.0-alpha.0 - eslint: ^5.0.0 || ^6.0.0 + '@typescript-eslint/parser': ^1.9.0 + eslint: ^5.0.0 typescript: '*' resolution: - integrity: sha512-Mo45nxTTELODdl7CgpZKJISvLb+Fu64OOO2ZFc2x8sYSnUpFrBUW3H+H/ZGYmEkfnL6VkdtOSxgdt+Av79j0sA== - /@typescript-eslint/experimental-utils/2.0.0_eslint@6.1.0: + integrity: sha512-WQHCozMnuNADiqMtsNzp96FNox5sOVpU8Xt4meaT4em8lOG1SrOv92/mUbEHQVh90sldKSfcOc/I0FOb/14G1g== + /@typescript-eslint/experimental-utils/1.13.0_eslint@5.16.0: dependencies: '@types/json-schema': 7.0.3 - '@typescript-eslint/typescript-estree': 2.0.0 - eslint: 6.1.0 + '@typescript-eslint/typescript-estree': 1.13.0 + eslint: 5.16.0 eslint-scope: 4.0.3 dev: false engines: - node: ^8.10.0 || ^10.13.0 || >=11.10.1 + node: ^6.14.0 || ^8.10.0 || >=9.10.0 peerDependencies: eslint: '*' resolution: - integrity: sha512-XGJG6GNBXIEx/mN4eTRypN/EUmsd0VhVGQ1AG+WTgdvjHl0G8vHhVBHrd/5oI6RRYBRnedNymSYWW1HAdivtmg== - /@typescript-eslint/parser/2.0.0_eslint@6.1.0: + integrity: sha512-zmpS6SyqG4ZF64ffaJ6uah6tWWWgZ8m+c54XXgwFtUv0jNz8aJAVx8chMCvnk7yl6xwn8d+d96+tWp7fXzTuDg== + /@typescript-eslint/parser/1.13.0_eslint@5.16.0: dependencies: '@types/eslint-visitor-keys': 1.0.0 - '@typescript-eslint/experimental-utils': 2.0.0_eslint@6.1.0 - '@typescript-eslint/typescript-estree': 2.0.0 - eslint: 6.1.0 - eslint-visitor-keys: 1.1.0 + '@typescript-eslint/experimental-utils': 1.13.0_eslint@5.16.0 + '@typescript-eslint/typescript-estree': 1.13.0 + eslint: 5.16.0 + eslint-visitor-keys: 1.0.0 dev: false engines: - node: ^8.10.0 || ^10.13.0 || >=11.10.1 + node: ^6.14.0 || ^8.10.0 || >=9.10.0 peerDependencies: - eslint: ^5.0.0 || ^6.0.0 + eslint: ^5.0.0 resolution: - integrity: sha512-ibyMBMr0383ZKserIsp67+WnNVoM402HKkxqXGlxEZsXtnGGurbnY90pBO3e0nBUM7chEEOcxUhgw9aPq7fEBA== - /@typescript-eslint/typescript-estree/2.0.0: + integrity: sha512-ITMBs52PCPgLb2nGPoeT4iU3HdQZHcPaZVw+7CsFagRJHUhyeTgorEwHXhFf3e7Evzi8oujKNpHc8TONth8AdQ== + /@typescript-eslint/typescript-estree/1.13.0: dependencies: lodash.unescape: 4.0.1 - semver: 6.3.0 + semver: 5.5.0 dev: false engines: - node: ^8.10.0 || ^10.13.0 || >=11.10.1 + node: '>=6.14.0' resolution: - integrity: sha512-NXbmzA3vWrSgavymlzMWNecgNOuiMMp62MO3kI7awZRLRcsA1QrYWo6q08m++uuAGVbXH/prZi2y1AWuhSu63w== + integrity: sha512-b5rCmd2e6DCC6tCTN9GSUAuxdYwCM/k/2wdjHGrIRGPSJotWMCe/dGpi66u42bhuh8q3QBzqM4TMA1GUUCJvdw== /@webassemblyjs/ast/1.8.5: dependencies: '@webassemblyjs/helper-module-context': 1.8.5 @@ -1009,9 +1033,9 @@ packages: node: '>= 0.6' resolution: integrity: sha512-Il80Qs2WjYlJIBNzNkK6KYqlVMTbZLXgHx2oT0pU/fjRHyEp+PEfEPY0R3WCwAGVOtauxh1hOxNgIf5bv7dQpA== - /acorn-jsx/5.0.1_acorn@6.3.0: + /acorn-jsx/5.0.1_acorn@6.2.1: dependencies: - acorn: 6.3.0 + acorn: 6.2.1 dev: false peerDependencies: acorn: ^6.0.0 @@ -1030,13 +1054,13 @@ packages: hasBin: true resolution: integrity: sha512-T/zvzYRfbVojPWahDsE5evJdHb3oJoQfFbsrKM7w5Zcs++Tr257tia3BmMP8XYVjp1S9RZXQMh7gao96BlqZOw== - /acorn/6.3.0: + /acorn/6.2.1: dev: false engines: node: '>=0.4.0' hasBin: true resolution: - integrity: sha512-/czfa8BwS88b9gWQVhc8eknunSA2DoJpJyTQkhheIf5E48u1N0R4q/YxxsAeqRrmK9TQ/uYfgLDfZo91UlANIA== + integrity: sha512-JD0xT5FCRDNyjDda3Lrg/IxFscp9q4tiYtxE1/nOzlKCk7hIRuYjhq1kCNkbPjMRMZuFq20HNQn1I9k8Oj0E+Q== /adal-node/0.1.28: dependencies: '@types/node': 8.10.51 @@ -1118,14 +1142,12 @@ packages: node: '>=0.10.0' resolution: integrity: sha1-U4rlKK+JgvKK4w2G8vF0VtJgmHM= - /ansi-escapes/4.2.1: - dependencies: - type-fest: 0.5.2 + /ansi-escapes/3.2.0: dev: false engines: - node: '>=8' + node: '>=4' resolution: - integrity: sha512-Cg3ymMAdN10wOk/VYfLV7KCQyv7EDirJ64500sU7n9UlmioEtDuU5Gd+hj73hXSU/ex7tHJSssmyftDdkMLO8Q== + integrity: sha512-cBhpre4ma+U0T1oM5fXg7Dy1Jw7zzwv7lt/GoCpr+hDQJoYnKVPLL4dCvSEFMmQurOQvSrwT7SL/DAlhBI97RQ== /ansi-gray/0.1.1: dependencies: ansi-wrap: 0.1.0 @@ -1283,6 +1305,10 @@ packages: node: '>=0.10.0' resolution: integrity: sha1-p5SvDAWrF1KEbudTofIRoFugxE8= + /array-filter/0.0.1: + dev: false + resolution: + integrity: sha1-fajPLiZijtcygDWB/SH2fKzS7uw= /array-find-index/1.0.2: dev: false engines: @@ -1314,6 +1340,14 @@ packages: node: '>=0.10.0' resolution: integrity: sha512-eOCut5rXlI6aCOS7Z7kCplKRKyiFQ6dHFBem4PwlwKeNFk2/XxTrhRh5T9PyaEWGy/NHTZWbY+nsZlNFJu9rYg== + /array-map/0.0.0: + dev: false + resolution: + integrity: sha1-iKK6tz0c97zVwbEYoAP2b2ZfpmI= + /array-reduce/0.0.0: + dev: false + resolution: + integrity: sha1-FziZ0//Rx9k4PkR5Ul2+J4yrXys= /array-slice/0.2.3: dev: false engines: @@ -1909,7 +1943,7 @@ packages: babel-plugin-transform-regenerator: 6.26.0 browserslist: 3.2.8 invariant: 2.2.4 - semver: 5.7.1 + semver: 5.7.0 dev: false resolution: integrity: sha512-9OR2afuKDneX2/q2EurSftUYM0xGu4O2D9adAhVfADDhrYDaxXV0rBbevVYoY9n6nyX1PmQW/0jtpJvUNr9CHg== @@ -2058,6 +2092,10 @@ packages: node: '>=8' resolution: integrity: sha512-Phlt0plgpIIBOGTT/ehfFnbNlfsDEiqmzE2KRXoX1bLIlir4X/MR+zSyBEkL05ffWgnRSf/DXv+WrUAVr93/ow== + /binary-search-bounds/2.0.3: + dev: false + resolution: + integrity: sha1-X/hhbW3SylOIvIWy1iZuK52lAtw= /blob/0.0.5: dev: false resolution: @@ -2187,7 +2225,7 @@ packages: /browserslist/3.2.8: dependencies: caniuse-lite: 1.0.30000989 - electron-to-chromium: 1.3.225 + electron-to-chromium: 1.3.219 dev: false hasBin: true resolution: @@ -2241,13 +2279,13 @@ packages: dev: false resolution: integrity: sha1-bRu2AbB6TvztlwlBMgkwJ8lbwpg= - /buffer/5.4.0: + /buffer/5.2.1: dependencies: base64-js: 1.3.1 ieee754: 1.1.13 dev: false resolution: - integrity: sha512-Xpgy0IwHK2N01ncykXTy6FpCWuM+CJSHoPVBLyNqyrWxsedpLvwsYUhf0ME3WRFNUhos0dMamz9cOS/xRDtU5g== + integrity: sha512-c+Ko0loDaFfuPWiL02ls9Xd3GO3cPVmUobQ6t3rXNUk304u6hGq+8N/kFi+QEIKhzK3uwolVhLzszmfLmMLnqg== /builtin-modules/3.1.0: dev: false engines: @@ -2277,7 +2315,7 @@ packages: mkdirp: 0.5.1 move-concurrently: 1.0.1 promise-inflight: 1.0.1 - rimraf: 2.7.0 + rimraf: 2.6.3 ssri: 6.0.1 unique-filename: 1.1.1 y18n: 4.0.0 @@ -2480,7 +2518,7 @@ packages: is-wsl: 1.1.0 lighthouse-logger: 1.2.0 mkdirp: 0.5.1 - rimraf: 2.7.0 + rimraf: 2.6.3 dev: false resolution: integrity: sha512-IoQLp64s2n8OQuvKZwt77CscVj3UlV2Dj7yZtd1EBMld9mSdGcsGy9fN5hd/r4vJuWZR09it78n1+A17gB+AIQ== @@ -2530,14 +2568,14 @@ packages: node: '>=0.10.0' resolution: integrity: sha512-qOhPa/Fj7s6TY8H8esGu5QNpMMQxz79h+urzrNYN6mn+9BnxlDGf5QZ+XeCDsxSjPqsSR56XOZOJmpeurnLMeg== - /cli-cursor/3.1.0: + /cli-cursor/2.1.0: dependencies: - restore-cursor: 3.1.0 + restore-cursor: 2.0.0 dev: false engines: - node: '>=8' + node: '>=4' resolution: - integrity: sha512-I/zHAwsKf9FqGoXM4WWRACob9+SNukZTd94DWF57E4toouRulbCxcUh6RKUEOQlYTHJnzkPMySvPNaaSLNfLZw== + integrity: sha1-s12sN2R5+sw+lHR9QdDQ9SOP/LU= /cli-width/2.2.0: dev: false resolution: @@ -2762,7 +2800,7 @@ packages: fs-write-stream-atomic: 1.0.10 iferr: 0.1.5 mkdirp: 0.5.1 - rimraf: 2.7.0 + rimraf: 2.6.3 run-queue: 1.0.3 dev: false resolution: @@ -2785,11 +2823,11 @@ packages: requiresBuild: true resolution: integrity: sha512-HOpZf6eXmnl7la+cUdMnLvUxKNqLUzJvgIziQ0DiF3JwSImNphIqdGqzj6hIKyX04MmV0poclQ7+wjWvxQyR2A== - /core-js/3.2.1: + /core-js/3.1.4: dev: false requiresBuild: true resolution: - integrity: sha512-Qa5XSVefSVPRxy2XfUC13WbvqkxhkwB3ve+pgCQveNgYzbM/UxZeu1dcOX/xr4UmfUd+muuvsaxilQzCyUurMw== + integrity: sha512-YNZN8lt82XIMLnLirj9MhKDFZHalwzzrL9YLt6eb0T5D0EDl4IQ90IGkua8mHbnxNrkj1d8hbdizMc0Qmg1WnQ== /core-util-is/1.0.2: dev: false resolution: @@ -2855,7 +2893,7 @@ packages: dependencies: nice-try: 1.0.5 path-key: 2.0.1 - semver: 5.7.1 + semver: 5.7.0 shebang-command: 1.2.0 which: 1.3.1 dev: false @@ -3222,10 +3260,10 @@ packages: dev: false resolution: integrity: sha1-WQxhFWsK4vTwJVcyoViyZrxWsh0= - /electron-to-chromium/1.3.225: + /electron-to-chromium/1.3.219: dev: false resolution: - integrity: sha512-7W/L3jw7HYE+tUPbcVOGBmnSrlUmyZ/Uyg24QS7Vx0a9KodtNrN0r0Q/LyGHrcYMtw2rv7E49F/vTXwlV/fuaA== + integrity: sha512-xANtM7YNFQGCMl+a0ZceXnPedpAatcIIyDNM56nQKzJFwuCyIzKVtBvLzyMOU0cczwO900TP309EkSeudrGRbQ== /elliptic/6.5.0: dependencies: bn.js: 4.11.8 @@ -3242,10 +3280,6 @@ packages: dev: false resolution: integrity: sha512-CwBLREIQ7LvYFB0WyRvwhq5N5qPhc6PMjD6bYggFlI5YyDgl+0vxq5VHbMOFqLg7hfWzmu8T5Z1QofhmTIhItA== - /emoji-regex/8.0.0: - dev: false - resolution: - integrity: sha512-MSjYzcWNOA0ewAHpz0MxpYFvwg6yjy1NG3xteoqz644VCo/RPgnr1/GGt+ic3iJTzQ8Eu3TdM14SawnVUmGE6A== /emojis-list/2.1.0: dev: false engines: @@ -3431,9 +3465,9 @@ packages: source-map: 0.2.0 resolution: integrity: sha1-WltTr0aTEQvrsIZ6o0MN07cKEBg= - /eslint-config-prettier/6.0.0_eslint@6.1.0: + /eslint-config-prettier/6.0.0_eslint@5.16.0: dependencies: - eslint: 6.1.0 + eslint: 5.16.0 get-stdin: 6.0.0 dev: false hasBin: true @@ -3441,9 +3475,18 @@ packages: eslint: '>=3.14.1' resolution: integrity: sha512-vDrcCFE3+2ixNT5H83g28bO/uYAwibJxerXPj+E7op4qzBCsAV36QfvdAyVOoNxKAH2Os/e01T/2x++V0LPukA== - /eslint-plugin-no-null/1.0.2_eslint@6.1.0: + /eslint-detailed-reporter/0.8.0_eslint@5.16.0: + dependencies: + eslint: 5.16.0 + lodash: 4.17.15 + dev: false + peerDependencies: + eslint: 3.0.0 - 5.9999.9999 + resolution: + integrity: sha512-u/LAPwSQ8udUiWXJ2aYZfvV4gd7uhS77ZctOv8FZ8SDxzEG5aV18dgOTMilT8uEHBJyv3MpGHoQH7A3tXOfm/Q== + /eslint-plugin-no-null/1.0.2_eslint@5.16.0: dependencies: - eslint: 6.1.0 + eslint: 5.16.0 dev: false engines: node: '>=5.0.0' @@ -3466,36 +3509,27 @@ packages: /eslint-scope/4.0.3: dependencies: esrecurse: 4.2.1 - estraverse: 4.3.0 + estraverse: 4.2.0 dev: false engines: node: '>=4.0.0' resolution: integrity: sha512-p7VutNr1O/QrxysMo3E45FjYDTeXBy0iTltPFNSqKAIfjDSXC+4dj+qfyuD8bfAXrW/y6lW3O76VaYNPKfpKrg== - /eslint-scope/5.0.0: - dependencies: - esrecurse: 4.2.1 - estraverse: 4.3.0 - dev: false - engines: - node: '>=8.0.0' - resolution: - integrity: sha512-oYrhJW7S0bxAFDvWqzvMPRm6pcgcnWc4QnofCAqRTRfQC0JcwenzGglTtsLyIuuWFfkqDG9vz67cnttSd53djw== /eslint-utils/1.4.0: dependencies: - eslint-visitor-keys: 1.1.0 + eslint-visitor-keys: 1.0.0 dev: false engines: node: '>=6' resolution: integrity: sha512-7ehnzPaP5IIEh1r1tkjuIrxqhNkzUJa9z3R92tLJdZIVdWaczEhr3EbhGtsMrVxi1KeR8qA7Off6SWc5WNQqyQ== - /eslint-visitor-keys/1.1.0: + /eslint-visitor-keys/1.0.0: dev: false engines: node: '>=4' resolution: - integrity: sha512-8y9YjtM1JBJU/A9Kc+SbaOV4y29sSWckBwMHa+FGtVj5gN/sbnKDf6xJUl+8g7FAij9LVaP8C24DUiH/f/2Z9A== - /eslint/6.1.0: + integrity: sha512-qzm/XxIbxm/FHyH341ZrbnMUpe+5Bocte9xkmFMzPMjRaZMcXww+MpBptFvtU+79L362nqiLhekCxCxDPaUMBQ== + /eslint/5.16.0: dependencies: '@babel/code-frame': 7.5.5 ajv: 6.10.2 @@ -3503,21 +3537,20 @@ packages: cross-spawn: 6.0.5 debug: 4.1.1 doctrine: 3.0.0 - eslint-scope: 5.0.0 + eslint-scope: 4.0.3 eslint-utils: 1.4.0 - eslint-visitor-keys: 1.1.0 - espree: 6.0.0 + eslint-visitor-keys: 1.0.0 + espree: 5.0.1 esquery: 1.0.1 esutils: 2.0.3 file-entry-cache: 5.0.1 functional-red-black-tree: 1.0.1 - glob-parent: 5.0.0 + glob: 7.1.4 globals: 11.12.0 ignore: 4.0.6 import-fresh: 3.1.0 imurmurhash: 0.1.4 - inquirer: 6.5.1 - is-glob: 4.0.1 + inquirer: 6.5.0 js-yaml: 3.13.1 json-stable-stringify-without-jsonify: 1.0.1 levn: 0.3.0 @@ -3526,30 +3559,30 @@ packages: mkdirp: 0.5.1 natural-compare: 1.4.0 optionator: 0.8.2 + path-is-inside: 1.0.2 progress: 2.0.3 regexpp: 2.0.1 - semver: 6.3.0 - strip-ansi: 5.2.0 - strip-json-comments: 3.0.1 + semver: 5.7.0 + strip-ansi: 4.0.0 + strip-json-comments: 2.0.1 table: 5.4.5 text-table: 0.2.0 - v8-compile-cache: 2.1.0 dev: false engines: - node: ^8.10.0 || ^10.13.0 || >=11.10.1 + node: ^6.14.0 || ^8.10.0 || >=9.10.0 hasBin: true resolution: - integrity: sha512-QhrbdRD7ofuV09IuE2ySWBz0FyXCq0rriLTZXZqaWSI79CVtHVRdkFuFTViiqzZhkCgfOh9USpriuGN2gIpZDQ== - /espree/6.0.0: + integrity: sha512-S3Rz11i7c8AA5JPv7xAH+dOyq/Cu/VXHiHXBPOU1k/JAM5dXqQPt3qcrhpHSorXmrpu2g0gkIBVXAqCpzfoZIg== + /espree/5.0.1: dependencies: - acorn: 6.3.0 - acorn-jsx: 5.0.1_acorn@6.3.0 - eslint-visitor-keys: 1.1.0 + acorn: 6.2.1 + acorn-jsx: 5.0.1_acorn@6.2.1 + eslint-visitor-keys: 1.0.0 dev: false engines: node: '>=6.0.0' resolution: - integrity: sha512-lJvCS6YbCn3ImT3yKkPe0+tJ+mH6ljhGNjHQH9mRtiO6gjhVAOhVXW1yjnwqGwTkK3bGbye+hb00nFNmu0l/1Q== + integrity: sha512-qWAZcWh4XE/RwzLJejfcofscgMc9CamR6Tn1+XRXNzrvUSSbiAjGOI/fggztjIi7y9VLPqnICMIPiGyr8JaZ0A== /esprima/2.7.3: dev: false engines: @@ -3566,7 +3599,7 @@ packages: integrity: sha512-eGuFFw7Upda+g4p+QHvnW0RyTX/SVeJBDM/gCtMARO0cLuT2HcEKnTPvhjV6aGeqrCB/sbNop0Kszm0jsaWU4A== /esquery/1.0.1: dependencies: - estraverse: 4.3.0 + estraverse: 4.2.0 dev: false engines: node: '>=0.6' @@ -3574,7 +3607,7 @@ packages: integrity: sha512-SmiyZ5zIWH9VM+SRUReLS5Q8a7GxtRdxEBVZpm98rJM7Sb+A9DVCndXfkeFUd3byderg+EbDkfnevfCwynWaNA== /esrecurse/4.2.1: dependencies: - estraverse: 4.3.0 + estraverse: 4.2.0 dev: false engines: node: '>=4.0' @@ -3586,12 +3619,12 @@ packages: node: '>=0.10.0' resolution: integrity: sha1-r2fy3JIlgkFZUJJgkaQAXSnJu0Q= - /estraverse/4.3.0: + /estraverse/4.2.0: dev: false engines: - node: '>=4.0' + node: '>=0.10.0' resolution: - integrity: sha512-39nnKffWz8xN1BU/2c79n9nB9HDzo0niYUqx6xyqUnyoAnQyyWpOTdZEeiCch8BBu515t4wp9ZmgVfVhn9EBpw== + integrity: sha1-De4/7TH81GlhjOc0IJn8GvoL2xM= /estree-walker/0.5.2: dev: false resolution: @@ -3817,14 +3850,14 @@ packages: dev: false resolution: integrity: sha512-vNKxJHTEKNThjfrdJwHc7brvM6eVevuO5nTj6ez8ZQ1qbXTvGthucRF7S4vf2cr71QVnT70V34v0S1DyQsti0w== - /figures/3.0.0: + /figures/2.0.0: dependencies: escape-string-regexp: 1.0.5 dev: false engines: - node: '>=8' + node: '>=4' resolution: - integrity: sha512-HKri+WoWoUgr83pehn/SIgLOMZ9nAWC6dcGj26RY2R4F50u4+RTUz0RCrUlOV3nKRAICW1UGzyb+kcX2qK1S/g== + integrity: sha1-OrGi0qYsi/tDGgyUy3l6L84nyWI= /file-entry-cache/5.0.1: dependencies: flat-cache: 2.0.1 @@ -4557,10 +4590,12 @@ packages: node: '>=0.10.0' resolution: integrity: sha512-eSmmWE5bZTK2Nou4g0AI3zZ9rswp7GRKoKXS1BLUkvPviOqs4YTN1djQIqrXy9k5gEtdLPy86JjRwsNM9tnDcA== - /hosted-git-info/2.8.4: + /hosted-git-info/2.8.2: + dependencies: + lru-cache: 5.1.1 dev: false resolution: - integrity: sha512-pzXIvANXEFrc5oFFXRMkbLPQ2rXRoDERwDLyrcUxGhaZhgP54BBSl9Oheh7Vv0T090cszWBxPjkQQ5Sq1PbBRQ== + integrity: sha512-CyjlXII6LMsPMyUzxpTt8fzh5QwzGqPmQXgY/Jyf4Zfp27t/FvfhwoE/8laaMUcMy816CkWF20I7NeQhwwY88w== /http-errors/1.7.2: dependencies: depd: 1.1.2 @@ -4711,26 +4746,26 @@ packages: dev: false resolution: integrity: sha512-RZY5huIKCMRWDUqZlEi72f/lmXKMvuszcMBduliQ3nnWbx9X/ZBQO7DijMEYS9EhHBb2qacRUMtC7svLwe0lcw== - /inquirer/6.5.1: + /inquirer/6.5.0: dependencies: - ansi-escapes: 4.2.1 + ansi-escapes: 3.2.0 chalk: 2.4.2 - cli-cursor: 3.1.0 + cli-cursor: 2.1.0 cli-width: 2.2.0 external-editor: 3.1.0 - figures: 3.0.0 + figures: 2.0.0 lodash: 4.17.15 - mute-stream: 0.0.8 + mute-stream: 0.0.7 run-async: 2.3.0 rxjs: 6.5.2 - string-width: 4.1.0 + string-width: 2.1.1 strip-ansi: 5.2.0 through: 2.3.8 dev: false engines: node: '>=6.0.0' resolution: - integrity: sha512-uxNHBeQhRXIoHWTSNYUFhQVrHYFThIt6IVo2fFmSe8aBwdR3/w6b58hJpiL/fMukFkvGzjg+hSxFtwvVmKZmXw== + integrity: sha512-scfHejeG/lVZSpvCXpsB4j/wQNPM5JC8kiElOI0OUTwmc1RTpXr4H32/HOlQHcZiYl2z2VElwuCVDRG8vFmbnA== /interpret/1.2.0: dev: false engines: @@ -4918,12 +4953,6 @@ packages: node: '>=4' resolution: integrity: sha1-o7MKXE8ZkYMWeqq5O+764937ZU8= - /is-fullwidth-code-point/3.0.0: - dev: false - engines: - node: '>=8' - resolution: - integrity: sha512-zymm5+u+sCsSWyD9qNaejV3DFvhCKclKdizYaJUuHA83RLjb7nSuGnddCHGv0hk+KY7BMAlsWeK4Ueg6EV6XQg== /is-generator-function/1.0.7: dev: false engines: @@ -5076,12 +5105,6 @@ packages: node: '>=4' resolution: integrity: sha1-HxbkqiKwTRM2tmGIpmrzxgDDpm0= - /is-wsl/2.1.0: - dev: false - engines: - node: '>=8' - resolution: - integrity: sha512-pFTjpv/x5HRj8kbZ/Msxi9VrvtOMRBqaDi3OIcbwPI3OuH+r3lLxVWukLITBaOGJIbA/w2+M1eVmVa4XNQlAmQ== /isarray/0.0.1: dev: false resolution: @@ -5167,7 +5190,7 @@ packages: debug: 4.1.1 istanbul-lib-coverage: 2.0.5 make-dir: 2.1.0 - rimraf: 2.7.0 + rimraf: 2.6.3 source-map: 0.6.1 dev: false engines: @@ -5313,6 +5336,10 @@ packages: graceful-fs: 4.2.1 resolution: integrity: sha1-h3Gq4HmbZAdrdmQPygWPnBDjPss= + /jsonify/0.0.0: + dev: false + resolution: + integrity: sha1-LHS27kHZPKUbe1qu6PUDYx0lKnM= /jsonparse/1.2.0: dev: false engines: @@ -5367,12 +5394,12 @@ packages: karma: '>=0.10.9' resolution: integrity: sha1-vuWtQEAFF4Ea40u5RfdikJEIt5o= - /karma-chrome-launcher/3.1.0: + /karma-chrome-launcher/3.0.0: dependencies: which: 1.3.1 dev: false resolution: - integrity: sha512-3dPs/n7vgz1rxxtynpzZTvb9y/GIaW8xjAwcIGttLbycqoFtI7yo1NGnQi6oFTherRE+GIhCAHZC4vEqWGhNvg== + integrity: sha512-u/PnVgDOP97AUe/gJeABlC6Wa6aQ83MZsm0JgsJQ5bGQ9XcXON/7b2aRhl59A62Zom+q3PFveBkczc7E1RT7TA== /karma-coverage/1.1.2: dependencies: dateformat: 1.0.12 @@ -5398,12 +5425,10 @@ packages: dev: false resolution: integrity: sha1-u+jIfVnADtt2BwvTwxtLOdXcfhU= - /karma-firefox-launcher/1.2.0: - dependencies: - is-wsl: 2.1.0 + /karma-firefox-launcher/1.1.0: dev: false resolution: - integrity: sha512-j9Zp8M8+VLq1nI/5xZGfzeaEPtGQ/vk3G+Y8vpmFWLvKLNZ2TDjD6cu2dUu7lDbu1HXNgatsAX4jgCZTkR9qhQ== + integrity: sha512-LbZ5/XlIXLeQ3cqnCbYLn+rOVhuMIK9aZwlP6eOLGzWdo1UVp7t6CN3DP4SafiRLjexKwHeKHDm0c38Mtd3VxA== /karma-ie-launcher/1.0.0_karma@4.2.0: dependencies: karma: 4.2.0 @@ -5485,7 +5510,7 @@ packages: integrity: sha1-kTIsd/jxPUb+0GKwQuEAnUxFBdg= /karma-typescript-es6-transform/4.1.1: dependencies: - acorn: 6.3.0 + acorn: 6.2.1 acorn-walk: 6.2.0 babel-core: 6.26.3 babel-preset-env: 1.7.0 @@ -5494,15 +5519,15 @@ packages: dev: false resolution: integrity: sha512-WTGGThwufBT73c20q30iTcXq8Jb3Wat/h+JW1lwKgMtymT5rVxLknoaUVNfenaV3+cRMiTEsBT773kz9jWk6IQ== - /karma-webpack/4.0.2_webpack@4.39.2: + /karma-webpack/4.0.2_webpack@4.39.1: dependencies: clone-deep: 4.0.1 loader-utils: 1.2.3 neo-async: 2.6.1 schema-utils: 1.0.0 source-map: 0.7.3 - webpack: 4.39.2_webpack@4.39.2 - webpack-dev-middleware: 3.7.0_webpack@4.39.2 + webpack: 4.39.1_webpack@4.39.1 + webpack-dev-middleware: 3.7.0_webpack@4.39.1 dev: false engines: node: '>= 8.9.0' @@ -5518,7 +5543,7 @@ packages: chokidar: 3.0.2 colors: 1.3.3 connect: 3.7.0 - core-js: 3.2.1 + core-js: 3.1.4 di: 0.0.1 dom-serialize: 2.2.1 flatted: 2.0.1 @@ -5533,7 +5558,7 @@ packages: optimist: 0.6.1 qjobs: 1.2.0 range-parser: 1.2.1 - rimraf: 2.7.0 + rimraf: 2.6.3 safe-buffer: 5.2.0 socket.io: 2.1.1 source-map: 0.6.1 @@ -5822,7 +5847,7 @@ packages: /make-dir/2.1.0: dependencies: pify: 4.0.1 - semver: 5.7.1 + semver: 5.7.0 dev: false engines: node: '>=6' @@ -6078,6 +6103,12 @@ packages: hasBin: true resolution: integrity: sha512-LRxmNwziLPT828z+4YkNzloCFC2YM4wrB99k+AV5ZbEyfGNWfG8SO1FUXLmLDBSo89NrJZ4DIWeLjy1CHGhMGA== + /mimic-fn/1.2.0: + dev: false + engines: + node: '>=4' + resolution: + integrity: sha512-jf84uxzwiuiIVKiOLpfYk7N46TSy8ubTonmneY9vrpHNAnp0QBt2BxWV9dO3/j+BoVAb+a5G6YDPW3M5HOdMWQ== /mimic-fn/2.1.0: dev: false engines: @@ -6240,7 +6271,7 @@ packages: copy-concurrently: 1.0.5 fs-write-stream-atomic: 1.0.10 mkdirp: 0.5.1 - rimraf: 2.7.0 + rimraf: 2.6.3 run-queue: 1.0.3 dev: false resolution: @@ -6272,10 +6303,10 @@ packages: node: '>= 0.10' resolution: integrity: sha512-kDcwXR4PS7caBpuRYYBUz9iVixUk3anO3f5OYFiIPwK/20vCzKCHyKoulbiDY1S53zD2bxUpxN/IJ+TnXjfvxg== - /mute-stream/0.0.8: + /mute-stream/0.0.7: dev: false resolution: - integrity: sha512-nnbWWOkoWyUsTjKrhgD0dcz22mdkSnpYqbEjIm2nhwhuxlSkpywJmBo8h0ZqJdkp73mb90SssHkN4rsRaBAfAA== + integrity: sha1-MHXOk7whuPq0PhvE2n6BFe0ee6s= /nan/2.14.0: dev: false optional: true @@ -6370,7 +6401,7 @@ packages: mkdirp: 0.5.1 propagate: 1.0.0 qs: 6.7.0 - semver: 5.7.1 + semver: 5.7.0 dev: false engines: node: '>= 6.0' @@ -6402,7 +6433,7 @@ packages: stream-browserify: 2.0.2 stream-http: 2.8.3 string_decoder: 1.3.0 - timers-browserify: 2.0.11 + timers-browserify: 2.0.10 tty-browserify: 0.0.0 url: 0.11.0 util: 0.11.1 @@ -6419,9 +6450,9 @@ packages: integrity: sha1-xkZdvwirzU2zWTF/eaxopkayj/k= /normalize-package-data/2.5.0: dependencies: - hosted-git-info: 2.8.4 + hosted-git-info: 2.8.2 resolve: 1.12.0 - semver: 5.7.1 + semver: 5.7.0 validate-npm-package-license: 3.0.4 dev: false resolution: @@ -6457,7 +6488,7 @@ packages: minimatch: 3.0.4 pidtree: 0.3.0 read-pkg: 3.0.0 - shell-quote: 1.7.1 + shell-quote: 1.6.1 string.prototype.padend: 3.0.0 dev: false engines: @@ -6499,7 +6530,7 @@ packages: make-dir: 2.1.0 merge-source-map: 1.1.0 resolve-from: 4.0.0 - rimraf: 2.7.0 + rimraf: 2.6.3 signal-exit: 3.0.2 spawn-wrap: 1.4.2 test-exclude: 5.2.3 @@ -6623,14 +6654,14 @@ packages: dev: false resolution: integrity: sha1-WDsap3WWHUsROsF9nFC6753Xa9E= - /onetime/5.1.0: + /onetime/2.0.1: dependencies: - mimic-fn: 2.1.0 + mimic-fn: 1.2.0 dev: false engines: - node: '>=6' + node: '>=4' resolution: - integrity: sha512-5NcSkPHhwTVFIQN+TUqXoS5+dlElHXdpAWu9I0HP20YOtIi+aZ0Ct82jdlILDxjLEAWwvm+qj1m6aEtsDVmm6Q== + integrity: sha1-BnQoIw/WdEOyeUsiu6UotoZ5YtQ= /open/6.4.0: dependencies: is-wsl: 1.1.0 @@ -6898,6 +6929,10 @@ packages: node: '>=0.10.0' resolution: integrity: sha1-F0uSaHNVNP+8es5r9TpanhtcX18= + /path-is-inside/1.0.2: + dev: false + resolution: + integrity: sha1-NlQX3t5EQw0cEa9hAn+s8HS9/FM= /path-key/2.0.1: dev: false engines: @@ -7075,6 +7110,10 @@ packages: node: '>= 0.8' resolution: integrity: sha1-t+PqQkNaTJsnWdmeDyAesZWALuE= + /priorityqueuejs/1.0.0: + dev: false + resolution: + integrity: sha1-LuTyPCVgkT4IwHzlzN1t498sWvg= /private/0.1.8: dev: false engines: @@ -7209,7 +7248,7 @@ packages: mime: 2.4.4 progress: 2.0.3 proxy-from-env: 1.0.0 - rimraf: 2.7.0 + rimraf: 2.6.3 ws: 6.2.1 dev: false engines: @@ -7591,6 +7630,13 @@ packages: dev: false resolution: integrity: sha512-NKN5kMDylKuldxYLSUfrbo5Tuzh4hd+2E8NPPX02mZtn1VuREQToYe/ZdlJy+J3uCpfaiGF05e7B8W0iXbQHmg== + /requirejs/2.3.6: + dev: false + engines: + node: '>=0.4.0' + hasBin: true + resolution: + integrity: sha512-ipEzlWQe6RK3jkzikgCupiTbTvm4S0/CAU5GlgptkN5SO6F3u0UD0K18wy6ErDqiCyP4J4YYe1HuAShvsxePLg== /requires-port/1.0.0: dev: false resolution: @@ -7652,15 +7698,15 @@ packages: dev: false resolution: integrity: sha512-AicPrAC7Qu1JxPCZ9ZgCZlY35QgFnNqc+0LtbRNxnVw4TXvjQ72wnuL9JQcEBgXkI9JM8MsT9kaQoHcpCRJOYA== - /restore-cursor/3.1.0: + /restore-cursor/2.0.0: dependencies: - onetime: 5.1.0 + onetime: 2.0.1 signal-exit: 3.0.2 dev: false engines: - node: '>=8' + node: '>=4' resolution: - integrity: sha512-l+sSefzHpj5qimhFSE5a8nufZYAM3sBSVMAPtYkmC+4EH2anSGaEMXSD0izRQbu9nfyQ9y5JrVmp7E8oZrUjvA== + integrity: sha1-n37ih/gv0ybU/RYpI9YhKe7g368= /ret/0.1.15: dev: false engines: @@ -7700,13 +7746,6 @@ packages: hasBin: true resolution: integrity: sha512-mwqeW5XsA2qAejG46gYdENaxXjx9onRNCfn7L0duuP4hCuTIi/QO7PDK07KJfp1d+izWPrzEJDcSqBa0OZQriA== - /rimraf/2.7.0: - dependencies: - glob: 7.1.4 - dev: false - hasBin: true - resolution: - integrity: sha512-4Liqw7ccABzsWV5BzeZeGRSq7KWIgQYzOcmRDEwSX4WAawlQpcAFXZ1Kid72XYrjSnK5yxOS6Gez/iGusYE/Pw== /ripemd160/2.0.2: dependencies: hash-base: 3.0.4 @@ -7812,7 +7851,7 @@ packages: rollup: 1.19.4 rollup-pluginutils: 2.8.1 serialize-javascript: 1.7.0 - terser: 4.1.4 + terser: 4.1.3 dev: false peerDependencies: rollup: '>=0.66.0 <2' @@ -7853,8 +7892,8 @@ packages: /rollup/1.19.4: dependencies: '@types/estree': 0.0.39 - '@types/node': 12.7.1 - acorn: 6.3.0 + '@types/node': 12.7.0 + acorn: 6.2.1 dev: false hasBin: true resolution: @@ -7917,6 +7956,12 @@ packages: node: '>= 4' resolution: integrity: sha512-i27Mic4KovM/lnGsy8whRCHhc7VicJajAjTrYg11K9zfZXnYIt4k5F+kZkwjnrhKzLic/HLU4j11mjsz2G/75g== + /semaphore/1.0.5: + dev: false + engines: + node: '>=0.8.0' + resolution: + integrity: sha1-tJJXbmavGT25XWXiXsU/Xxl5jWA= /semver-greatest-satisfied-range/1.1.0: dependencies: sver-compat: 1.5.0 @@ -7925,11 +7970,16 @@ packages: node: '>= 0.10' resolution: integrity: sha1-E+jCZYq5aRywzXEJMkAoDTb3els= - /semver/5.7.1: + /semver/5.5.0: dev: false hasBin: true resolution: - integrity: sha512-sauaDf/PZdVgrLTNYHRtpXa1iRiKcaebiKQ1BJdpQlWH2lCvexQdX55snPFyK7QzpudqbCI0qXFfOasHdyNDGQ== + integrity: sha512-4SJ3dm0WAwWy/NVeioZh5AntkdJoWKxHxcmyP622fOkgHa4z3R0TdBJICINyaSDE6uNwVc8gZr+ZinwZAH4xIA== + /semver/5.7.0: + dev: false + hasBin: true + resolution: + integrity: sha512-Ya52jSX2u7QKghxeoFGpLwCtGlt7j0oY9DYb5apt9nPlJ42ID+ulTXESnt/qAQcoSERyZ5sl3LDIOw0nAn/5DA== /semver/6.3.0: dev: false hasBin: true @@ -8023,10 +8073,15 @@ packages: node: '>=0.10.0' resolution: integrity: sha1-2kL0l0DAtC2yypcoVxyxkMmO/qM= - /shell-quote/1.7.1: + /shell-quote/1.6.1: + dependencies: + array-filter: 0.0.1 + array-map: 0.0.0 + array-reduce: 0.0.0 + jsonify: 0.0.0 dev: false resolution: - integrity: sha512-2kUqeAGnMAu6YrTPX4E3LfxacH9gKljzVjlkUeSqY0soGwK4KLl7TURXCem712tkhBCeeaFP9QK4dKn88s3Icg== + integrity: sha1-9HgZSczkAmlxJ0MOo7PFR29IF2c= /shelljs/0.8.3: dependencies: glob: 7.1.4 @@ -8235,7 +8290,7 @@ packages: foreground-child: 1.5.6 mkdirp: 0.5.1 os-homedir: 1.0.2 - rimraf: 2.7.0 + rimraf: 2.6.3 signal-exit: 3.0.2 which: 1.3.1 dev: false @@ -8388,26 +8443,25 @@ packages: node: '>=0.10.0' resolution: integrity: sha1-EYvfW4zcUaKn5w0hHgfisLmxB9M= - /string-width/3.1.0: + /string-width/2.1.1: dependencies: - emoji-regex: 7.0.3 is-fullwidth-code-point: 2.0.0 - strip-ansi: 5.2.0 + strip-ansi: 4.0.0 dev: false engines: - node: '>=6' + node: '>=4' resolution: - integrity: sha512-vafcv6KjVZKSgz06oM/H6GDBrAtz8vdhQakGjFIvNrHA6y3HCF1CInLy+QLq8dTJPQ1b+KDUqDFctkdRW44e1w== - /string-width/4.1.0: + integrity: sha512-nOqH59deCq9SRHlxq1Aw85Jnt4w6KvLKqWVik6oA9ZklXLNIOlqg4F2yrT1MVaTjAqvVwdfeZ7w7aCvJD7ugkw== + /string-width/3.1.0: dependencies: - emoji-regex: 8.0.0 - is-fullwidth-code-point: 3.0.0 + emoji-regex: 7.0.3 + is-fullwidth-code-point: 2.0.0 strip-ansi: 5.2.0 dev: false engines: - node: '>=8' + node: '>=6' resolution: - integrity: sha512-NrX+1dVVh+6Y9dnQ19pR0pP4FiEIlUvdTGn8pw6CKTNq5sgib2nIhmUNT5TAmhWmvKr3WcxBcP3E8nWezuipuQ== + integrity: sha512-vafcv6KjVZKSgz06oM/H6GDBrAtz8vdhQakGjFIvNrHA6y3HCF1CInLy+QLq8dTJPQ1b+KDUqDFctkdRW44e1w== /string.prototype.padend/3.0.0: dependencies: define-properties: 1.1.3 @@ -8493,12 +8547,12 @@ packages: node: '>=4' resolution: integrity: sha1-XvjbKV0B5u1sv3qrlpmNeCJSe2g= - /strip-json-comments/3.0.1: + /strip-json-comments/2.0.1: dev: false engines: - node: '>=8' + node: '>=0.10.0' resolution: - integrity: sha512-VTyMAUfdm047mwKl+u79WIdrZxtFtn+nBxHeb844XBQ9uMNTuTHdx2hc5RiAJYqwTj3wc/xe5HLSdJSkJ+WfZw== + integrity: sha1-PFMZQukIwml8DsNEhYwobHygpgo= /supports-color/2.0.0: dev: false engines: @@ -8561,7 +8615,7 @@ packages: node: '>=6' resolution: integrity: sha512-4WK/bYZmj8xLr+HUCODHGF1ZFzsYffasLUgEiMBY4fgtltdO6B4WJtlSbPaDTLpYTcGVwM2qLnFTICEcNxs3kA== - /terser-webpack-plugin/1.4.1_webpack@4.39.2: + /terser-webpack-plugin/1.4.1_webpack@4.39.1: dependencies: cacache: 12.0.2 find-cache-dir: 2.1.0 @@ -8569,8 +8623,8 @@ packages: schema-utils: 1.0.0 serialize-javascript: 1.7.0 source-map: 0.6.1 - terser: 4.1.4 - webpack: 4.39.2_webpack@4.39.2 + terser: 4.1.3 + webpack: 4.39.1_webpack@4.39.1 webpack-sources: 1.4.3 worker-farm: 1.7.0 dev: false @@ -8580,7 +8634,7 @@ packages: webpack: ^4.0.0 resolution: integrity: sha512-ZXmmfiwtCLfz8WKZyYUuuHf3dMYEjg8NrjHMb0JqHVHVOSkzp3cW2/XG1fP3tRhqEqSzMwzzRQGtAPbs4Cncxg== - /terser/4.1.4: + /terser/4.1.3: dependencies: commander: 2.20.0 source-map: 0.6.1 @@ -8590,7 +8644,7 @@ packages: node: '>=6.0.0' hasBin: true resolution: - integrity: sha512-+ZwXJvdSwbd60jG0Illav0F06GDJF0R4ydZ21Q3wGAFKoBGyJGo34F63vzJHgvYxc1ukOtIjvwEvl9MkjzM6Pg== + integrity: sha512-on13d+cnpn5bMouZu+J8tPYQecsdRJCJuxFJ+FVoPBoLJgk5bCBkp+Uen2hWyi0KIUm6eDarnlAlH+KgIx/PuQ== /test-exclude/5.2.3: dependencies: glob: 7.1.4 @@ -8643,14 +8697,14 @@ packages: node: '>=0.10.0' resolution: integrity: sha1-dkpaEa9QVhkhsTPztE5hhofg9cM= - /timers-browserify/2.0.11: + /timers-browserify/2.0.10: dependencies: setimmediate: 1.0.5 dev: false engines: node: '>=0.6.0' resolution: - integrity: sha512-60aV6sgJ5YEbzUdn9c8kYGIqOubPoUdqQCul3SBAsRCZ40s6Y5cMcrW4dt3/k/EsbLVJNl9n6Vz3fTc+k2GeKQ== + integrity: sha512-YvC1SV1XdOUaL6gx5CoGroT3Gu49pK9+TZ38ErPldOWW4j49GI1HKs9DV+KGq/w6y+LZ72W1c8cKz2vzY+qpzg== /tmp/0.0.33: dependencies: os-tmpdir: 1.0.2 @@ -8905,12 +8959,6 @@ packages: node: '>=4' resolution: integrity: sha512-0fr/mIH1dlO+x7TlcMy+bIDqKPsw/70tVyeHW787goQjhmqaZe10uwLujubK9q9Lg6Fiho1KUKDYz0Z7k7g5/g== - /type-fest/0.5.2: - dev: false - engines: - node: '>=6' - resolution: - integrity: sha512-DWkS49EQKVX//Tbupb9TFa19c7+MK1XmzkrZUR8TAktmE/DizXoaoJV6TZ/tSIPXipqNiRI6CyAe7x69Jb6RSw== /type-is/1.6.18: dependencies: media-typer: 0.3.0 @@ -9113,10 +9161,6 @@ packages: dev: false resolution: integrity: sha512-CNmdbwQMBjwr9Gsmohvm0pbL954tJrNzf6gWL3K+QMQf00PF7ERGrEiLgjuU3mKreLC2MeGhUsNV9ybTbLgd3w== - /v8-compile-cache/2.1.0: - dev: false - resolution: - integrity: sha512-usZBT3PW+LOjM25wbqIlZwPeJV+3OSz3M1k1Ws8snlW39dZyYL9lOGC5FgPVHfk0jKmjiDV8Z0mIbVQPiwFs7g== /v8flags/3.1.3: dependencies: homedir-polyfill: 1.0.3 @@ -9239,7 +9283,7 @@ packages: dev: false resolution: integrity: sha512-i6dHe3EyLjMmDlU1/bGQpEw25XSjkJULPuAVKCbNRefQVq48yXKUpwg538F7AZTf9kyr57zj++pQFltUa5H7yA== - /webpack-cli/3.3.6_webpack@4.39.2: + /webpack-cli/3.3.6_webpack@4.39.1: dependencies: chalk: 2.4.2 cross-spawn: 6.0.5 @@ -9251,7 +9295,7 @@ packages: loader-utils: 1.2.3 supports-color: 6.1.0 v8-compile-cache: 2.0.3 - webpack: 4.39.2_webpack@4.39.2 + webpack: 4.39.1_webpack@4.39.1 yargs: 13.2.4 dev: false engines: @@ -9261,12 +9305,12 @@ packages: webpack: 4.x.x resolution: integrity: sha512-0vEa83M7kJtxK/jUhlpZ27WHIOndz5mghWL2O53kiDoA9DIxSKnfqB92LoqEn77cT4f3H2cZm1BMEat/6AZz3A== - /webpack-dev-middleware/3.7.0_webpack@4.39.2: + /webpack-dev-middleware/3.7.0_webpack@4.39.1: dependencies: memory-fs: 0.4.1 mime: 2.4.4 range-parser: 1.2.1 - webpack: 4.39.2_webpack@4.39.2 + webpack: 4.39.1_webpack@4.39.1 webpack-log: 2.0.0 dev: false engines: @@ -9291,13 +9335,13 @@ packages: dev: false resolution: integrity: sha512-lgTS3Xhv1lCOKo7SA5TjKXMjpSM4sBjNV5+q2bqesbSPs5FjGmU6jjtBSkX9b4qW87vDIsCIlUPOEhbZrMdjeQ== - /webpack/4.39.2_webpack@4.39.2: + /webpack/4.39.1_webpack@4.39.1: dependencies: '@webassemblyjs/ast': 1.8.5 '@webassemblyjs/helper-module-context': 1.8.5 '@webassemblyjs/wasm-edit': 1.8.5 '@webassemblyjs/wasm-parser': 1.8.5 - acorn: 6.3.0 + acorn: 6.2.1 ajv: 6.10.2 ajv-keywords: 3.4.1_ajv@6.10.2 chrome-trace-event: 1.0.2 @@ -9313,7 +9357,7 @@ packages: node-libs-browser: 2.2.1 schema-utils: 1.0.0 tapable: 1.1.3 - terser-webpack-plugin: 1.4.1_webpack@4.39.2 + terser-webpack-plugin: 1.4.1_webpack@4.39.1 watchpack: 1.6.0 webpack-sources: 1.4.3 dev: false @@ -9323,7 +9367,7 @@ packages: peerDependencies: webpack: '*' resolution: - integrity: sha512-AKgTfz3xPSsEibH00JfZ9sHXGUwIQ6eZ9tLN8+VLzachk1Cw2LVmy+4R7ZiwTa9cZZ15tzySjeMui/UnSCAZhA== + integrity: sha512-/LAb2TJ2z+eVwisldp3dqTEoNhzp/TLCZlmZm3GGGAlnfIWDgOEE758j/9atklNLfRyhKbZTCOIoPqLJXeBLbQ== /which-module/1.0.0: dev: false resolution: @@ -9408,12 +9452,12 @@ packages: dev: false resolution: integrity: sha512-GIyAXC2cB7LjvpgMt9EKS2ldqr0MTrORaleiOno6TweZ6r3TKtoFQWay/2PceJ3RuBasOHzXNn5Lrw1X0bEjqA== - /ws/7.1.2: + /ws/7.1.1: dependencies: async-limiter: 1.0.1 dev: false resolution: - integrity: sha512-gftXq3XI81cJCgkUiAVixA0raD9IVmXqsylCrjRygw4+UOOGzPoxnQ6r/CnVL9i+mDncJo94tSkyrtuuQVBmrg== + integrity: sha512-o41D/WmDeca0BqYhsr3nJzQyg9NF5X8l/UdnFNux9cS3lwB+swm8qGWX5rn+aD6xfBU3rGmtHij7g7x6LxFU3A== /xhr-mock/2.5.0: dependencies: global: 4.4.0 @@ -9606,25 +9650,26 @@ packages: integrity: sha512-DUOKC/IhbkdLKKiV89gw9DUauTV8U/8yJl1sjf6MtDmzevLKOF2duNJ495S3MFVjqZarr+qNGCPbkg4mu4PpLw== 'file:projects/abort-controller.tgz': dependencies: - '@microsoft/api-extractor': 7.3.8 + '@microsoft/api-extractor': 7.3.5 '@types/mocha': 5.2.7 '@types/node': 8.10.51 - '@typescript-eslint/eslint-plugin': 2.0.0_2597c16b46d7eff3ec2c0c583ca4ae44 - '@typescript-eslint/parser': 2.0.0_eslint@6.1.0 + '@typescript-eslint/eslint-plugin': 1.13.0_0b5e999c52a893676e7127c05369c7b6 + '@typescript-eslint/parser': 1.13.0_eslint@5.16.0 assert: 1.5.0 cross-env: 5.2.0 delay: 4.3.0 - eslint: 6.1.0 - eslint-config-prettier: 6.0.0_eslint@6.1.0 - eslint-plugin-no-null: 1.0.2_eslint@6.1.0 + eslint: 5.16.0 + eslint-config-prettier: 6.0.0_eslint@5.16.0 + eslint-detailed-reporter: 0.8.0_eslint@5.16.0 + eslint-plugin-no-null: 1.0.2_eslint@5.16.0 eslint-plugin-no-only-tests: 2.3.1 eslint-plugin-promise: 4.2.1 karma: 4.2.0 - karma-chrome-launcher: 3.1.0 + karma-chrome-launcher: 3.0.0 karma-coverage: 1.1.2 karma-edge-launcher: 0.4.2_karma@4.2.0 karma-env-preprocessor: 0.1.1 - karma-firefox-launcher: 1.2.0 + karma-firefox-launcher: 1.1.0 karma-ie-launcher: 1.0.0_karma@4.2.0 karma-junit-reporter: 1.2.0_karma@4.2.0 karma-mocha: 1.3.0 @@ -9635,7 +9680,7 @@ packages: mocha-multi-reporters: 1.1.7 nyc: 14.1.1 prettier: 1.18.2 - rimraf: 2.7.0 + rimraf: 2.6.3 rollup: 1.19.4 rollup-plugin-commonjs: 10.0.2_rollup@1.19.4 rollup-plugin-multi-entry: 2.1.0 @@ -9649,7 +9694,7 @@ packages: dev: false name: '@rush-temp/abort-controller' resolution: - integrity: sha512-BoVxHViVS71lSi8IASIY6SKhDSjSoG1xLh/P1D8yG0LGNECg2BU9pm2WwXs5qIOWtg5+zIvJqA4YAWK7F/d0Ig== + integrity: sha512-MMUffH4NZW/NawCA13C0bdKqjytoja1BQSwuA7bQHzMmINYCA+3lE9scchzm8CV5N5RIdtPPABCTkPAdI/2w6A== tarball: 'file:projects/abort-controller.tgz' version: 0.0.0 'file:projects/core-amqp.tgz': @@ -9657,8 +9702,8 @@ packages: '@azure/abort-controller': 1.0.0-preview.1 '@azure/core-auth': 1.0.0-preview.2 '@types/async-lock': 1.1.1 - '@types/chai': 4.2.0 - '@types/chai-as-promised': 7.1.2 + '@types/chai': 4.1.7 + '@types/chai-as-promised': 7.1.1 '@types/debug': 0.0.31 '@types/dotenv': 6.1.1 '@types/is-buffer': 2.0.0 @@ -9666,26 +9711,27 @@ packages: '@types/mocha': 5.2.7 '@types/node': 8.10.51 '@types/sinon': 7.0.13 - '@typescript-eslint/eslint-plugin': 2.0.0_2597c16b46d7eff3ec2c0c583ca4ae44 - '@typescript-eslint/parser': 2.0.0_eslint@6.1.0 + '@typescript-eslint/eslint-plugin': 1.13.0_0b5e999c52a893676e7127c05369c7b6 + '@typescript-eslint/parser': 1.13.0_eslint@5.16.0 assert: 1.5.0 async-lock: 1.2.2 - buffer: 5.4.0 + buffer: 5.2.1 chai: 4.2.0 chai-as-promised: 7.1.1_chai@4.2.0 cross-env: 5.2.0 debug: 3.2.6 dotenv: 8.0.0 - eslint: 6.1.0 - eslint-config-prettier: 6.0.0_eslint@6.1.0 - eslint-plugin-no-null: 1.0.2_eslint@6.1.0 + eslint: 5.16.0 + eslint-config-prettier: 6.0.0_eslint@5.16.0 + eslint-detailed-reporter: 0.8.0_eslint@5.16.0 + eslint-plugin-no-null: 1.0.2_eslint@5.16.0 eslint-plugin-no-only-tests: 2.3.1 eslint-plugin-promise: 4.2.1 events: 3.0.0 is-buffer: 2.0.3 jssha: 2.3.1 karma: 4.2.0 - karma-chrome-launcher: 3.1.0 + karma-chrome-launcher: 3.0.0 karma-mocha: 1.3.0 mocha: 5.2.0 mocha-junit-reporter: 1.23.1_mocha@5.2.0 @@ -9696,7 +9742,7 @@ packages: puppeteer: 1.19.0 rhea: 1.0.8 rhea-promise: 1.0.0 - rimraf: 2.7.0 + rimraf: 2.6.3 rollup: 1.19.4 rollup-plugin-commonjs: 10.0.2_rollup@1.19.4 rollup-plugin-inject: 3.0.1 @@ -9715,25 +9761,26 @@ packages: typescript: 3.5.3 url: 0.11.0 util: 0.12.1 - ws: 7.1.2 + ws: 7.1.1 dev: false name: '@rush-temp/core-amqp' resolution: - integrity: sha512-p54+559mlj4EW2LkAJgJBjUyFRJ8HdKgtQrcM73S/0ULC9okROg/EV/cfRm64TdQcHj+UZw1UijG4CRdmrMJCA== + integrity: sha512-IMcjrA174Vhx0YMmlVOokpIqGdPX+18gFxJeCsGpMp9S4mqd0c/TsXU+3fjvdJGHaxJzvqoyrzrdjxMaoAASYw== tarball: 'file:projects/core-amqp.tgz' version: 0.0.0 'file:projects/core-arm.tgz': dependencies: '@azure/core-http': 1.0.0-preview.2 - '@types/chai': 4.2.0 + '@types/chai': 4.1.7 '@types/mocha': 5.2.7 '@types/node': 8.10.51 - '@typescript-eslint/eslint-plugin': 2.0.0_2597c16b46d7eff3ec2c0c583ca4ae44 - '@typescript-eslint/parser': 2.0.0_eslint@6.1.0 + '@typescript-eslint/eslint-plugin': 1.13.0_0b5e999c52a893676e7127c05369c7b6 + '@typescript-eslint/parser': 1.13.0_eslint@5.16.0 chai: 4.2.0 - eslint: 6.1.0 - eslint-config-prettier: 6.0.0_eslint@6.1.0 - eslint-plugin-no-null: 1.0.2_eslint@6.1.0 + eslint: 5.16.0 + eslint-config-prettier: 6.0.0_eslint@5.16.0 + eslint-detailed-reporter: 0.8.0_eslint@5.16.0 + eslint-plugin-no-null: 1.0.2_eslint@5.16.0 eslint-plugin-no-only-tests: 2.3.1 eslint-plugin-promise: 4.2.1 mocha: 5.2.0 @@ -9741,7 +9788,7 @@ packages: mocha-multi-reporters: 1.1.7 npm-run-all: 4.1.5 nyc: 14.1.1 - rimraf: 2.7.0 + rimraf: 2.6.3 rollup: 1.19.4 rollup-plugin-node-resolve: 5.2.0_rollup@1.19.4 rollup-plugin-sourcemaps: 0.4.2_rollup@1.19.4 @@ -9755,17 +9802,18 @@ packages: dev: false name: '@rush-temp/core-arm' resolution: - integrity: sha512-qK9sLw1l0fSEK3j/tZEc/GaMZ68SG/c2/vGOmhH4sNbC6rMgbUZXCl5dRZR5QVaSROXIDnfxr4v6bDWXLnMRsQ== + integrity: sha512-zS4qSLcPPe/3Ngb8XWVfkuntVkN/f8c1gUYkXo+Wv/743A+OIJk+SopB3ImRY6jXLjyfjnsoX8w1Q2RM3guahQ== tarball: 'file:projects/core-arm.tgz' version: 0.0.0 'file:projects/core-asynciterator-polyfill.tgz': dependencies: '@types/node': 8.10.51 - '@typescript-eslint/eslint-plugin': 2.0.0_2597c16b46d7eff3ec2c0c583ca4ae44 - '@typescript-eslint/parser': 2.0.0_eslint@6.1.0 - eslint: 6.1.0 - eslint-config-prettier: 6.0.0_eslint@6.1.0 - eslint-plugin-no-null: 1.0.2_eslint@6.1.0 + '@typescript-eslint/eslint-plugin': 1.13.0_0b5e999c52a893676e7127c05369c7b6 + '@typescript-eslint/parser': 1.13.0_eslint@5.16.0 + eslint: 5.16.0 + eslint-config-prettier: 6.0.0_eslint@5.16.0 + eslint-detailed-reporter: 0.8.0_eslint@5.16.0 + eslint-plugin-no-null: 1.0.2_eslint@5.16.0 eslint-plugin-no-only-tests: 2.3.1 eslint-plugin-promise: 4.2.1 prettier: 1.18.2 @@ -9773,22 +9821,23 @@ packages: dev: false name: '@rush-temp/core-asynciterator-polyfill' resolution: - integrity: sha512-X2qR67x/Wgwcs8VjH/m3EA7HFB22mL2sf9YJCvpdIUXvz5ENGH54U4TC8IAc2AxcqlKjOi1pwFUAf9yBf4nAJQ== + integrity: sha512-eM85h9SCt/WXjcDWnOd1RZAKQWwPRSpsOgNeNHm/RZ84rEDmAp/8Lv1t1vaJLLqn6bExzexX/a3MjS57kuNY/g== tarball: 'file:projects/core-asynciterator-polyfill.tgz' version: 0.0.0 'file:projects/core-auth.tgz': dependencies: '@azure/abort-controller': 1.0.0-preview.1 - '@microsoft/api-extractor': 7.3.8 + '@microsoft/api-extractor': 7.3.5 '@types/mocha': 5.2.7 '@types/node': 8.10.51 - '@typescript-eslint/eslint-plugin': 2.0.0_2597c16b46d7eff3ec2c0c583ca4ae44 - '@typescript-eslint/parser': 2.0.0_eslint@6.1.0 + '@typescript-eslint/eslint-plugin': 1.13.0_0b5e999c52a893676e7127c05369c7b6 + '@typescript-eslint/parser': 1.13.0_eslint@5.16.0 assert: 1.5.0 cross-env: 5.2.0 - eslint: 6.1.0 - eslint-config-prettier: 6.0.0_eslint@6.1.0 - eslint-plugin-no-null: 1.0.2_eslint@6.1.0 + eslint: 5.16.0 + eslint-config-prettier: 6.0.0_eslint@5.16.0 + eslint-detailed-reporter: 0.8.0_eslint@5.16.0 + eslint-plugin-no-null: 1.0.2_eslint@5.16.0 eslint-plugin-no-only-tests: 2.3.1 eslint-plugin-promise: 4.2.1 inherits: 2.0.4 @@ -9796,7 +9845,7 @@ packages: mocha-junit-reporter: 1.23.1_mocha@5.2.0 mocha-multi: 1.1.0_mocha@5.2.0 prettier: 1.18.2 - rimraf: 2.7.0 + rimraf: 2.6.3 rollup: 1.19.4 rollup-plugin-commonjs: 10.0.2_rollup@1.19.4 rollup-plugin-json: 4.0.0 @@ -9812,14 +9861,14 @@ packages: dev: false name: '@rush-temp/core-auth' resolution: - integrity: sha512-poIE3YcALUSumoWHzEPa4NytNulJKfa/FEJrnk8iZaMA+sRXPJTtdWWgdUQ2ZAvUcFvRjbE4wphJiYN7NqrTqw== + integrity: sha512-BzCXSUB2kZHpKe4LcJmw1ttav09XKk0gCebGj3pric2r8D4dKZIpzS5KRJ+t+X8TcyupVuBv2kx/U2ZeTTX6QA== tarball: 'file:projects/core-auth.tgz' version: 0.0.0 'file:projects/core-http.tgz': dependencies: '@azure/core-auth': 1.0.0-preview.2 '@azure/logger-js': 1.3.2 - '@types/chai': 4.2.0 + '@types/chai': 4.1.7 '@types/express': 4.17.0 '@types/glob': 7.1.1 '@types/karma': 3.0.3 @@ -9833,15 +9882,16 @@ packages: '@types/webpack': 4.32.1 '@types/webpack-dev-middleware': 2.0.3 '@types/xml2js': 0.4.4 - '@typescript-eslint/eslint-plugin': 2.0.0_2597c16b46d7eff3ec2c0c583ca4ae44 - '@typescript-eslint/parser': 2.0.0_eslint@6.1.0 + '@typescript-eslint/eslint-plugin': 1.13.0_0b5e999c52a893676e7127c05369c7b6 + '@typescript-eslint/parser': 1.13.0_eslint@5.16.0 abortcontroller-polyfill: 1.3.0 axios: 0.19.0 axios-mock-adapter: 1.17.0_axios@0.19.0 chai: 4.2.0 - eslint: 6.1.0 - eslint-config-prettier: 6.0.0_eslint@6.1.0 - eslint-plugin-no-null: 1.0.2_eslint@6.1.0 + eslint: 5.16.0 + eslint-config-prettier: 6.0.0_eslint@5.16.0 + eslint-detailed-reporter: 0.8.0_eslint@5.16.0 + eslint-plugin-no-null: 1.0.2_eslint@5.16.0 eslint-plugin-no-only-tests: 2.3.1 eslint-plugin-promise: 4.2.1 express: 4.17.1 @@ -9849,12 +9899,12 @@ packages: glob: 7.1.4 karma: 4.2.0 karma-chai: 0.1.0_chai@4.2.0+karma@4.2.0 - karma-chrome-launcher: 3.1.0 + karma-chrome-launcher: 3.0.0 karma-mocha: 1.3.0 karma-rollup-preprocessor: 7.0.2_rollup@1.19.4 karma-sourcemap-loader: 0.3.7 karma-typescript-es6-transform: 4.1.1 - karma-webpack: 4.0.2_webpack@4.39.2 + karma-webpack: 4.0.2_webpack@4.39.1 mocha: 5.2.0 mocha-chrome: 2.0.0 mocha-junit-reporter: 1.23.1_mocha@5.2.0 @@ -9863,7 +9913,7 @@ packages: nyc: 14.1.1 process: 0.11.10 puppeteer: 1.19.0 - rimraf: 2.7.0 + rimraf: 2.6.3 rollup: 1.19.4 rollup-plugin-alias: 1.5.2 rollup-plugin-commonjs: 10.0.2_rollup@1.19.4 @@ -9873,7 +9923,7 @@ packages: rollup-plugin-resolve: 0.0.1-predev.1 rollup-plugin-sourcemaps: 0.4.2_rollup@1.19.4 rollup-plugin-visualizer: 2.5.4_rollup@1.19.4 - semver: 5.7.1 + semver: 5.7.0 shx: 0.3.2 sinon: 7.4.1 tough-cookie: 3.0.1 @@ -9884,27 +9934,28 @@ packages: typescript: 3.5.3 uglify-js: 3.6.0 uuid: 3.3.2 - webpack: 4.39.2_webpack@4.39.2 - webpack-cli: 3.3.6_webpack@4.39.2 - webpack-dev-middleware: 3.7.0_webpack@4.39.2 + webpack: 4.39.1_webpack@4.39.1 + webpack-cli: 3.3.6_webpack@4.39.1 + webpack-dev-middleware: 3.7.0_webpack@4.39.1 xhr-mock: 2.5.0 xml2js: 0.4.19 yarn: 1.17.3 dev: false name: '@rush-temp/core-http' resolution: - integrity: sha512-cIWLeQLCxaGc//eGv6GQS5eD+U0PtDYWIfhD7YQbTJQ/17cs+d+MEI2htP59a94kaSnkQhDy9nJZBGxxdQFvhw== + integrity: sha512-7IhE+RIsCZy2i1mRHlNnCcs2Lb/4MD3yOOQNTKDvSHsUqapfdjKB0vL/5lNfFB1lnz4Ty7Zwnx4S8ejzisgQFQ== tarball: 'file:projects/core-http.tgz' version: 0.0.0 'file:projects/core-paging.tgz': dependencies: '@azure/core-asynciterator-polyfill': 1.0.0-preview.1 '@types/node': 8.10.51 - '@typescript-eslint/eslint-plugin': 2.0.0_2597c16b46d7eff3ec2c0c583ca4ae44 - '@typescript-eslint/parser': 2.0.0_eslint@6.1.0 - eslint: 6.1.0 - eslint-config-prettier: 6.0.0_eslint@6.1.0 - eslint-plugin-no-null: 1.0.2_eslint@6.1.0 + '@typescript-eslint/eslint-plugin': 1.13.0_0b5e999c52a893676e7127c05369c7b6 + '@typescript-eslint/parser': 1.13.0_eslint@5.16.0 + eslint: 5.16.0 + eslint-config-prettier: 6.0.0_eslint@5.16.0 + eslint-detailed-reporter: 0.8.0_eslint@5.16.0 + eslint-plugin-no-null: 1.0.2_eslint@5.16.0 eslint-plugin-no-only-tests: 2.3.1 eslint-plugin-promise: 4.2.1 prettier: 1.18.2 @@ -9912,21 +9963,22 @@ packages: dev: false name: '@rush-temp/core-paging' resolution: - integrity: sha512-/l5SA2u/jUrYjvQBf24YFdaoYW4GAdU3iDoGDekLbjH2fSP8wOt/3oDlBM8pxGD54TB7s06Oi4OjBsQN6F5tgw== + integrity: sha512-EnQl2fTIIG6a5I/I3EzV+4vYTEJcb4TBBeW/olyfoCWioVWC9Mmq5u4S83XXAgY3m98/ctbNHzEcEuCdgSdVrA== tarball: 'file:projects/core-paging.tgz' version: 0.0.0 'file:projects/core-tracing.tgz': dependencies: - '@microsoft/api-extractor': 7.3.8 + '@microsoft/api-extractor': 7.3.5 '@types/mocha': 5.2.7 '@types/node': 8.10.51 - '@typescript-eslint/eslint-plugin': 2.0.0_2597c16b46d7eff3ec2c0c583ca4ae44 - '@typescript-eslint/parser': 2.0.0_eslint@6.1.0 + '@typescript-eslint/eslint-plugin': 1.13.0_0b5e999c52a893676e7127c05369c7b6 + '@typescript-eslint/parser': 1.13.0_eslint@5.16.0 assert: 1.5.0 cross-env: 5.2.0 - eslint: 6.1.0 - eslint-config-prettier: 6.0.0_eslint@6.1.0 - eslint-plugin-no-null: 1.0.2_eslint@6.1.0 + eslint: 5.16.0 + eslint-config-prettier: 6.0.0_eslint@5.16.0 + eslint-detailed-reporter: 0.8.0_eslint@5.16.0 + eslint-plugin-no-null: 1.0.2_eslint@5.16.0 eslint-plugin-no-only-tests: 2.3.1 eslint-plugin-promise: 4.2.1 inherits: 2.0.4 @@ -9934,7 +9986,7 @@ packages: mocha-junit-reporter: 1.23.1_mocha@5.2.0 mocha-multi: 1.1.0_mocha@5.2.0 prettier: 1.18.2 - rimraf: 2.7.0 + rimraf: 2.6.3 rollup: 1.19.4 rollup-plugin-commonjs: 10.0.2_rollup@1.19.4 rollup-plugin-json: 4.0.0 @@ -9950,18 +10002,60 @@ packages: dev: false name: '@rush-temp/core-tracing' resolution: - integrity: sha512-N2yZqv6ETc8CxkgSQPlNECLNSUxbhzSewajYGFnF9oy3tbJFQCrS299//muVzpECytxGOvjv4PlQ6r5tilptTg== + integrity: sha512-bn/Ll8t/8EkxyT5d7wI1brmQduZ0wwAYOc9wmiXsvACidExUHHbcFUYDdzIEABYDxE1KnUGTeme0ExBk/6zJIQ== tarball: 'file:projects/core-tracing.tgz' version: 0.0.0 + 'file:projects/cosmos.tgz': + dependencies: + '@types/mocha': 5.2.7 + '@types/node': 8.10.51 + '@types/priorityqueuejs': 1.0.1 + '@types/semaphore': 1.1.0 + '@types/sinon': 7.0.13 + '@types/tunnel': 0.0.1 + '@types/underscore': 1.9.2 + '@typescript-eslint/eslint-plugin': 1.13.0_0b5e999c52a893676e7127c05369c7b6 + '@typescript-eslint/parser': 1.13.0_eslint@5.16.0 + binary-search-bounds: 2.0.3 + create-hmac: 1.1.7 + eslint: 5.16.0 + eslint-config-prettier: 6.0.0_eslint@5.16.0 + eslint-detailed-reporter: 0.8.0_eslint@5.16.0 + eslint-plugin-no-null: 1.0.2_eslint@5.16.0 + eslint-plugin-no-only-tests: 2.3.1 + eslint-plugin-promise: 4.2.1 + execa: 1.0.0 + mocha: 5.2.0 + mocha-junit-reporter: 1.23.1_mocha@5.2.0 + mocha-multi: 1.1.0_mocha@5.2.0 + prettier: 1.18.2 + priorityqueuejs: 1.0.0 + requirejs: 2.3.6 + rimraf: 2.6.3 + semaphore: 1.0.5 + sinon: 7.4.1 + stream-http: 2.8.3 + ts-node: 8.3.0_typescript@3.5.3 + tslib: 1.10.0 + tunnel: 0.0.6 + typescript: 3.5.3 + webpack: 4.39.1_webpack@4.39.1 + webpack-cli: 3.3.6_webpack@4.39.1 + dev: false + name: '@rush-temp/cosmos' + resolution: + integrity: sha512-5OtuHMLHmJ9wohJDESFRqKwMm3IMXzj6ffj2BkZZqroUioGo4xLqSOAVrnaqPaiBzlQWp96viBp8mhxgc+2prA== + tarball: 'file:projects/cosmos.tgz' + version: 0.0.0 'file:projects/event-hubs.tgz': dependencies: '@azure/abort-controller': 1.0.0-preview.1 '@azure/core-asynciterator-polyfill': 1.0.0-preview.1 - '@microsoft/api-extractor': 7.3.8 + '@microsoft/api-extractor': 7.3.5 '@types/async-lock': 1.1.1 - '@types/chai': 4.2.0 - '@types/chai-as-promised': 7.1.2 - '@types/chai-string': 1.4.2 + '@types/chai': 4.1.7 + '@types/chai-as-promised': 7.1.1 + '@types/chai-string': 1.4.1 '@types/debug': 0.0.31 '@types/dotenv': 6.1.1 '@types/long': 4.0.0 @@ -9969,31 +10063,32 @@ packages: '@types/node': 8.10.51 '@types/uuid': 3.4.5 '@types/ws': 6.0.2 - '@typescript-eslint/eslint-plugin': 2.0.0_2597c16b46d7eff3ec2c0c583ca4ae44 - '@typescript-eslint/parser': 2.0.0_eslint@6.1.0 + '@typescript-eslint/eslint-plugin': 1.13.0_0b5e999c52a893676e7127c05369c7b6 + '@typescript-eslint/parser': 1.13.0_eslint@5.16.0 assert: 1.5.0 async-lock: 1.2.2 - buffer: 5.4.0 + buffer: 5.2.1 chai: 4.2.0 chai-as-promised: 7.1.1_chai@4.2.0 chai-string: 1.5.0_chai@4.2.0 cross-env: 5.2.0 debug: 3.2.6 dotenv: 8.0.0 - eslint: 6.1.0 - eslint-config-prettier: 6.0.0_eslint@6.1.0 - eslint-plugin-no-null: 1.0.2_eslint@6.1.0 + eslint: 5.16.0 + eslint-config-prettier: 6.0.0_eslint@5.16.0 + eslint-detailed-reporter: 0.8.0_eslint@5.16.0 + eslint-plugin-no-null: 1.0.2_eslint@5.16.0 eslint-plugin-no-only-tests: 2.3.1 eslint-plugin-promise: 4.2.1 https-proxy-agent: 2.2.2 is-buffer: 2.0.3 jssha: 2.3.1 karma: 4.2.0 - karma-chrome-launcher: 3.1.0 + karma-chrome-launcher: 3.0.0 karma-coverage: 1.1.2 karma-edge-launcher: 0.4.2_karma@4.2.0 karma-env-preprocessor: 0.1.1 - karma-firefox-launcher: 1.2.0 + karma-firefox-launcher: 1.1.0 karma-ie-launcher: 1.0.0_karma@4.2.0 karma-junit-reporter: 1.2.0_karma@4.2.0 karma-mocha: 1.3.0 @@ -10007,7 +10102,7 @@ packages: process: 0.11.10 puppeteer: 1.19.0 rhea-promise: 1.0.0 - rimraf: 2.7.0 + rimraf: 2.6.3 rollup: 1.19.4 rollup-plugin-commonjs: 10.0.2_rollup@1.19.4 rollup-plugin-inject: 3.0.1 @@ -10023,30 +10118,30 @@ packages: tslib: 1.10.0 typescript: 3.5.3 uuid: 3.3.2 - ws: 7.1.2 + ws: 7.1.1 dev: false name: '@rush-temp/event-hubs' resolution: - integrity: sha512-6oIsVxqCq8FoAnm44hK9onl+HpdSSMKQF+uKIN2nW9Un2Jv2F+x3P2/8x/X8liS35AALPF7/E30LsPv4bHCBkQ== + integrity: sha512-Twj5EmP7npdlRoh1VdXgIbGaE/xuQfqK06NAUpMwdhDXL6/cK59cOLmxnGSf+8lqiDCFnaV/BHFwwwQHlMSPag== tarball: 'file:projects/event-hubs.tgz' version: 0.0.0 'file:projects/event-processor-host.tgz': dependencies: '@azure/event-hubs': 2.1.1 '@azure/ms-rest-nodeauth': 0.9.3 - '@microsoft/api-extractor': 7.3.8 + '@microsoft/api-extractor': 7.3.5 '@types/async-lock': 1.1.1 - '@types/chai': 4.2.0 - '@types/chai-as-promised': 7.1.2 - '@types/chai-string': 1.4.2 + '@types/chai': 4.1.7 + '@types/chai-as-promised': 7.1.1 + '@types/chai-string': 1.4.1 '@types/debug': 0.0.31 '@types/dotenv': 6.1.1 '@types/mocha': 5.2.7 '@types/node': 8.10.51 '@types/uuid': 3.4.5 '@types/ws': 6.0.2 - '@typescript-eslint/eslint-plugin': 2.0.0_2597c16b46d7eff3ec2c0c583ca4ae44 - '@typescript-eslint/parser': 2.0.0_eslint@6.1.0 + '@typescript-eslint/eslint-plugin': 1.13.0_0b5e999c52a893676e7127c05369c7b6 + '@typescript-eslint/parser': 1.13.0_eslint@5.16.0 async-lock: 1.2.2 azure-storage: 2.10.3 chai: 4.2.0 @@ -10055,9 +10150,10 @@ packages: cross-env: 5.2.0 debug: 3.2.6 dotenv: 8.0.0 - eslint: 6.1.0 - eslint-config-prettier: 6.0.0_eslint@6.1.0 - eslint-plugin-no-null: 1.0.2_eslint@6.1.0 + eslint: 5.16.0 + eslint-config-prettier: 6.0.0_eslint@5.16.0 + eslint-detailed-reporter: 0.8.0_eslint@5.16.0 + eslint-plugin-no-null: 1.0.2_eslint@5.16.0 eslint-plugin-no-only-tests: 2.3.1 eslint-plugin-promise: 4.2.1 https-proxy-agent: 2.2.2 @@ -10067,7 +10163,7 @@ packages: nyc: 14.1.1 path-browserify: 1.0.0 prettier: 1.18.2 - rimraf: 2.7.0 + rimraf: 2.6.3 rollup: 1.19.4 rollup-plugin-commonjs: 10.0.2_rollup@1.19.4 rollup-plugin-json: 4.0.0 @@ -10080,11 +10176,11 @@ packages: tslib: 1.10.0 typescript: 3.5.3 uuid: 3.3.2 - ws: 7.1.2 + ws: 7.1.1 dev: false name: '@rush-temp/event-processor-host' resolution: - integrity: sha512-xGmUL6qWotI3HXUCpFmTc2GPunbglcrS1k8Rw35kMNojt+U0on+JAdm78BF2lhaxD8Ae1vVdd1Ue544Z1jflTg== + integrity: sha512-NA3u7hYUX4M4rPCK+aTFtGaZfbMDWvsxHdV0No6sppjjLiHEKDL2yBdBwhuhKsy4/Ty/VIpfJQQjfUoYPOn/nw== tarball: 'file:projects/event-processor-host.tgz' version: 0.0.0 'file:projects/identity.tgz': @@ -10096,16 +10192,16 @@ packages: '@types/node': 8.10.51 '@types/qs': 6.5.3 '@types/uuid': 3.4.5 - '@typescript-eslint/eslint-plugin': 2.0.0_2597c16b46d7eff3ec2c0c583ca4ae44 - '@typescript-eslint/parser': 2.0.0_eslint@6.1.0 + '@typescript-eslint/eslint-plugin': 1.13.0_0b5e999c52a893676e7127c05369c7b6 + '@typescript-eslint/parser': 1.13.0_eslint@5.16.0 assert: 1.5.0 cross-env: 5.2.0 - eslint: 6.1.0 + eslint: 5.16.0 events: 3.0.0 inherits: 2.0.4 jws: 3.2.2 karma: 4.2.0 - karma-chrome-launcher: 3.1.0 + karma-chrome-launcher: 3.0.0 karma-coverage: 1.1.2 karma-env-preprocessor: 0.1.1 karma-json-preprocessor: 0.3.3_karma@4.2.0 @@ -10121,7 +10217,7 @@ packages: prettier: 1.18.2 puppeteer: 1.19.0 qs: 6.7.0 - rimraf: 2.7.0 + rimraf: 2.6.3 rollup: 1.19.4 rollup-plugin-commonjs: 10.0.2_rollup@1.19.4 rollup-plugin-json: 4.0.0 @@ -10138,27 +10234,27 @@ packages: dev: false name: '@rush-temp/identity' resolution: - integrity: sha512-pTrZBhzusW/eAOYNC6PTg1Pf1e+fk2zt34Bk/yVsupPPFEDfESZ2hYYP0vR1DFmE/zm/d2kRPDWKxTovOrlA3w== + integrity: sha512-ooaU/oS0hxlRosg7mxEycsdl1Wv7CLVd0Bvg3MUWILF+uwzSe9iePFj7e0vgVmt4QYXIOokcl/5T+iai04UiDQ== tarball: 'file:projects/identity.tgz' version: 0.0.0 'file:projects/keyvault-certificates.tgz': dependencies: '@azure/core-arm': 1.0.0-preview.2 '@azure/core-http': 1.0.0-preview.2 - '@azure/core-paging': 1.0.0-preview.1 - '@microsoft/api-extractor': 7.3.8 - '@types/chai': 4.2.0 + '@microsoft/api-extractor': 7.3.5 + '@types/chai': 4.1.7 '@types/node': 8.10.51 - '@typescript-eslint/eslint-plugin': 2.0.0_2597c16b46d7eff3ec2c0c583ca4ae44 - '@typescript-eslint/parser': 2.0.0_eslint@6.1.0 + '@typescript-eslint/eslint-plugin': 1.13.0_0b5e999c52a893676e7127c05369c7b6 + '@typescript-eslint/parser': 1.13.0_eslint@5.16.0 chai: 4.2.0 - eslint: 6.1.0 - eslint-config-prettier: 6.0.0_eslint@6.1.0 - eslint-plugin-no-null: 1.0.2_eslint@6.1.0 + eslint: 5.16.0 + eslint-config-prettier: 6.0.0_eslint@5.16.0 + eslint-detailed-reporter: 0.8.0_eslint@5.16.0 + eslint-plugin-no-null: 1.0.2_eslint@5.16.0 eslint-plugin-no-only-tests: 2.3.1 eslint-plugin-promise: 4.2.1 prettier: 1.18.2 - rimraf: 2.7.0 + rimraf: 2.6.3 rollup: 1.19.4 rollup-plugin-commonjs: 10.0.2_rollup@1.19.4 rollup-plugin-node-resolve: 5.2.0_rollup@1.19.4 @@ -10169,7 +10265,7 @@ packages: dev: false name: '@rush-temp/keyvault-certificates' resolution: - integrity: sha512-hMUsul3fovobeW632U17FgNDxpkqn8IFR8n2myL3vv4s81VOUAVgTw05ZJaVvITNuALUZ3Ggxq8SCVjgp3Pttg== + integrity: sha512-fvdm0x/jZa2NjdhHc3T54qZdSCXT/f1OTIocofIIITxlh3/KnPbsrEN0NA6hMuEd5OQRjIu8XCzLeKMnMMjq+A== tarball: 'file:projects/keyvault-certificates.tgz' version: 0.0.0 'file:projects/keyvault-keys.tgz': @@ -10179,9 +10275,9 @@ packages: '@azure/core-http': 1.0.0-preview.2 '@azure/core-paging': 1.0.0-preview.1 '@azure/core-tracing': 1.0.0-preview.1 - '@microsoft/api-extractor': 7.3.8 + '@microsoft/api-extractor': 7.3.5 '@trust/keyto': 0.3.7 - '@types/chai': 4.2.0 + '@types/chai': 4.1.7 '@types/dotenv': 6.1.1 '@types/fs-extra': 8.0.0 '@types/mocha': 5.2.7 @@ -10189,24 +10285,25 @@ packages: '@types/nock': 10.0.3 '@types/node': 8.10.51 '@types/query-string': 6.2.0 - '@typescript-eslint/eslint-plugin': 2.0.0_2597c16b46d7eff3ec2c0c583ca4ae44 - '@typescript-eslint/parser': 2.0.0_eslint@6.1.0 + '@typescript-eslint/eslint-plugin': 1.13.0_0b5e999c52a893676e7127c05369c7b6 + '@typescript-eslint/parser': 1.13.0_eslint@5.16.0 assert: 1.5.0 chai: 4.2.0 cross-env: 5.2.0 dotenv: 8.0.0 - eslint: 6.1.0 - eslint-config-prettier: 6.0.0_eslint@6.1.0 - eslint-plugin-no-null: 1.0.2_eslint@6.1.0 + eslint: 5.16.0 + eslint-config-prettier: 6.0.0_eslint@5.16.0 + eslint-detailed-reporter: 0.8.0_eslint@5.16.0 + eslint-plugin-no-null: 1.0.2_eslint@5.16.0 eslint-plugin-no-only-tests: 2.3.1 eslint-plugin-promise: 4.2.1 fs-extra: 8.1.0 karma: 4.2.0 - karma-chrome-launcher: 3.1.0 + karma-chrome-launcher: 3.0.0 karma-coverage: 1.1.2 karma-edge-launcher: 0.4.2_karma@4.2.0 karma-env-preprocessor: 0.1.1 - karma-firefox-launcher: 1.2.0 + karma-firefox-launcher: 1.1.0 karma-ie-launcher: 1.0.0_karma@4.2.0 karma-json-preprocessor: 0.3.3_karma@4.2.0 karma-json-to-file-reporter: 1.0.1 @@ -10223,7 +10320,7 @@ packages: prettier: 1.18.2 puppeteer: 1.19.0 query-string: 5.1.1 - rimraf: 2.7.0 + rimraf: 2.6.3 rollup: 1.19.4 rollup-plugin-commonjs: 10.0.2_rollup@1.19.4 rollup-plugin-multi-entry: 2.1.0 @@ -10241,7 +10338,7 @@ packages: dev: false name: '@rush-temp/keyvault-keys' resolution: - integrity: sha512-JIwqtBN279m4D5Dmkp6yASfsZMdfYIQAswYHYRXBud5JRQjZCVJQf1iE1PkXgX7hFR6WWt05jZsDVtBfs3CRAw== + integrity: sha512-NrVNw2RB6a2DCcccvimYt7KuOveFUpDnIkY9QjoZyprz25DwiFXHMvMR4/Wv7Wb8j0fZSVcouXVsxl7ZaS4rYQ== tarball: 'file:projects/keyvault-keys.tgz' version: 0.0.0 'file:projects/keyvault-secrets.tgz': @@ -10250,8 +10347,8 @@ packages: '@azure/core-arm': 1.0.0-preview.2 '@azure/core-http': 1.0.0-preview.2 '@azure/core-paging': 1.0.0-preview.1 - '@microsoft/api-extractor': 7.3.8 - '@types/chai': 4.2.0 + '@microsoft/api-extractor': 7.3.5 + '@types/chai': 4.1.7 '@types/dotenv': 6.1.1 '@types/fs-extra': 8.0.0 '@types/mocha': 5.2.7 @@ -10259,24 +10356,25 @@ packages: '@types/nock': 10.0.3 '@types/node': 8.10.51 '@types/query-string': 6.2.0 - '@typescript-eslint/eslint-plugin': 2.0.0_2597c16b46d7eff3ec2c0c583ca4ae44 - '@typescript-eslint/parser': 2.0.0_eslint@6.1.0 + '@typescript-eslint/eslint-plugin': 1.13.0_0b5e999c52a893676e7127c05369c7b6 + '@typescript-eslint/parser': 1.13.0_eslint@5.16.0 assert: 1.5.0 chai: 4.2.0 cross-env: 5.2.0 dotenv: 8.0.0 - eslint: 6.1.0 - eslint-config-prettier: 6.0.0_eslint@6.1.0 - eslint-plugin-no-null: 1.0.2_eslint@6.1.0 + eslint: 5.16.0 + eslint-config-prettier: 6.0.0_eslint@5.16.0 + eslint-detailed-reporter: 0.8.0_eslint@5.16.0 + eslint-plugin-no-null: 1.0.2_eslint@5.16.0 eslint-plugin-no-only-tests: 2.3.1 eslint-plugin-promise: 4.2.1 fs-extra: 8.1.0 karma: 4.2.0 - karma-chrome-launcher: 3.1.0 + karma-chrome-launcher: 3.0.0 karma-coverage: 1.1.2 karma-edge-launcher: 0.4.2_karma@4.2.0 karma-env-preprocessor: 0.1.1 - karma-firefox-launcher: 1.2.0 + karma-firefox-launcher: 1.1.0 karma-ie-launcher: 1.0.0_karma@4.2.0 karma-json-preprocessor: 0.3.3_karma@4.2.0 karma-json-to-file-reporter: 1.0.1 @@ -10293,7 +10391,7 @@ packages: prettier: 1.18.2 puppeteer: 1.19.0 query-string: 5.1.1 - rimraf: 2.7.0 + rimraf: 2.6.3 rollup: 1.19.4 rollup-plugin-commonjs: 10.0.2_rollup@1.19.4 rollup-plugin-multi-entry: 2.1.0 @@ -10311,7 +10409,7 @@ packages: dev: false name: '@rush-temp/keyvault-secrets' resolution: - integrity: sha512-0ZNKztvn60lEBBtDemq+enbGWsOsCRmHGQJzXHr3Rs+whSu9zMo3V+Pegfj1JruFh6U4y0HKjmQOYCLFltrNPA== + integrity: sha512-x1BkPE5NV5dqU/vfyhq+A79QdpqVD0p7WPMd3lI+tjl7i1GYSjzTBJa5MKU/aXDB85G2KaLoYsdAbT9t9Ca10g== tarball: 'file:projects/keyvault-secrets.tgz' version: 0.0.0 'file:projects/service-bus.tgz': @@ -10319,10 +10417,10 @@ packages: '@azure/amqp-common': 1.0.0-preview.6_rhea-promise@0.1.15 '@azure/arm-servicebus': 3.2.0 '@azure/ms-rest-nodeauth': 0.9.3 - '@microsoft/api-extractor': 7.3.8 + '@microsoft/api-extractor': 7.3.5 '@types/async-lock': 1.1.1 - '@types/chai': 4.2.0 - '@types/chai-as-promised': 7.1.2 + '@types/chai': 4.1.7 + '@types/chai-as-promised': 7.1.1 '@types/debug': 0.0.31 '@types/dotenv': 6.1.1 '@types/is-buffer': 2.0.0 @@ -10330,29 +10428,30 @@ packages: '@types/mocha': 5.2.7 '@types/node': 8.10.51 '@types/ws': 6.0.2 - '@typescript-eslint/eslint-plugin': 2.0.0_2597c16b46d7eff3ec2c0c583ca4ae44 - '@typescript-eslint/parser': 2.0.0_eslint@6.1.0 + '@typescript-eslint/eslint-plugin': 1.13.0_0b5e999c52a893676e7127c05369c7b6 + '@typescript-eslint/parser': 1.13.0_eslint@5.16.0 assert: 1.5.0 - buffer: 5.4.0 + buffer: 5.2.1 chai: 4.2.0 chai-as-promised: 7.1.1_chai@4.2.0 cross-env: 5.2.0 debug: 3.2.6 delay: 4.3.0 dotenv: 8.0.0 - eslint: 6.1.0 - eslint-config-prettier: 6.0.0_eslint@6.1.0 - eslint-plugin-no-null: 1.0.2_eslint@6.1.0 + eslint: 5.16.0 + eslint-config-prettier: 6.0.0_eslint@5.16.0 + eslint-detailed-reporter: 0.8.0_eslint@5.16.0 + eslint-plugin-no-null: 1.0.2_eslint@5.16.0 eslint-plugin-no-only-tests: 2.3.1 eslint-plugin-promise: 4.2.1 https-proxy-agent: 2.2.2 is-buffer: 2.0.3 karma: 4.2.0 - karma-chrome-launcher: 3.1.0 + karma-chrome-launcher: 3.0.0 karma-coverage: 1.1.2 karma-edge-launcher: 0.4.2_karma@4.2.0 karma-env-preprocessor: 0.1.1 - karma-firefox-launcher: 1.2.0 + karma-firefox-launcher: 1.1.0 karma-ie-launcher: 1.0.0_karma@4.2.0 karma-junit-reporter: 1.2.0_karma@4.2.0 karma-mocha: 1.3.0 @@ -10370,7 +10469,7 @@ packages: puppeteer: 1.19.0 rhea: 1.0.8 rhea-promise: 0.1.15 - rimraf: 2.7.0 + rimraf: 2.6.3 rollup: 1.19.4 rollup-plugin-commonjs: 10.0.2_rollup@1.19.4 rollup-plugin-inject: 3.0.1 @@ -10384,17 +10483,17 @@ packages: ts-node: 8.3.0_typescript@3.5.3 tslib: 1.10.0 typescript: 3.5.3 - ws: 7.1.2 + ws: 7.1.1 dev: false name: '@rush-temp/service-bus' resolution: - integrity: sha512-/X7uvDxjHGYZ0Y9Vp3HfLivsoTkV0rk/41X8JyB+JH0KGtC22VcZlMWvOh3P1hqdNzuz2NTwMSA7/jKHIs33LQ== + integrity: sha512-YZz3mASz3qrM577g17GK1eoOiOyH8DiSGxfkIw28W+qGFSBhPNXKs1qdOwDySMs9iypb3z8UjPMeEiBJYFfj/Q== tarball: 'file:projects/service-bus.tgz' version: 0.0.0 'file:projects/storage-blob.tgz': dependencies: '@azure/ms-rest-js': 2.0.4 - '@microsoft/api-extractor': 7.3.8 + '@microsoft/api-extractor': 7.3.5 '@types/dotenv': 6.1.1 '@types/fs-extra': 8.0.0 '@types/mocha': 5.2.7 @@ -10402,15 +10501,16 @@ packages: '@types/nock': 10.0.3 '@types/node': 8.10.51 '@types/query-string': 6.2.0 - '@typescript-eslint/eslint-plugin': 2.0.0_2597c16b46d7eff3ec2c0c583ca4ae44 - '@typescript-eslint/parser': 2.0.0_eslint@6.1.0 + '@typescript-eslint/eslint-plugin': 1.13.0_0b5e999c52a893676e7127c05369c7b6 + '@typescript-eslint/parser': 1.13.0_eslint@5.16.0 assert: 1.5.0 cross-env: 5.2.0 dotenv: 8.0.0 es6-promise: 4.2.8 - eslint: 6.1.0 - eslint-config-prettier: 6.0.0_eslint@6.1.0 - eslint-plugin-no-null: 1.0.2_eslint@6.1.0 + eslint: 5.16.0 + eslint-config-prettier: 6.0.0_eslint@5.16.0 + eslint-detailed-reporter: 0.8.0_eslint@5.16.0 + eslint-plugin-no-null: 1.0.2_eslint@5.16.0 eslint-plugin-no-only-tests: 2.3.1 eslint-plugin-promise: 4.2.1 events: 3.0.0 @@ -10419,11 +10519,11 @@ packages: gulp-zip: 5.0.0_gulp@4.0.2 inherits: 2.0.4 karma: 4.2.0 - karma-chrome-launcher: 3.1.0 + karma-chrome-launcher: 3.0.0 karma-coverage: 1.1.2 karma-edge-launcher: 0.4.2_karma@4.2.0 karma-env-preprocessor: 0.1.1 - karma-firefox-launcher: 1.2.0 + karma-firefox-launcher: 1.1.0 karma-ie-launcher: 1.0.0_karma@4.2.0 karma-json-preprocessor: 0.3.3_karma@4.2.0 karma-json-to-file-reporter: 1.0.1 @@ -10440,7 +10540,7 @@ packages: prettier: 1.18.2 puppeteer: 1.19.0 query-string: 5.1.1 - rimraf: 2.7.0 + rimraf: 2.6.3 rollup: 1.19.4 rollup-plugin-commonjs: 10.0.2_rollup@1.19.4 rollup-plugin-multi-entry: 2.1.0 @@ -10458,13 +10558,13 @@ packages: dev: false name: '@rush-temp/storage-blob' resolution: - integrity: sha512-aRdPzPqKHfcuvV0sTZFcu67pqSDvoh57+uDGAUgeF7myGmp/kswq3rJKFJXe7du8okGpOZ9annR70wkhAOBbow== + integrity: sha512-/pzOlT+BOxng1QpYdbv3xj6EbqP2+biLw7Lsj8MuQ/JlkecQ/vq7uFRuu67Pv7RMA66kzwBu4PRvpkN3CyCsWg== tarball: 'file:projects/storage-blob.tgz' version: 0.0.0 'file:projects/storage-file.tgz': dependencies: '@azure/ms-rest-js': 2.0.4 - '@microsoft/api-extractor': 7.3.8 + '@microsoft/api-extractor': 7.3.5 '@types/dotenv': 6.1.1 '@types/fs-extra': 8.0.0 '@types/mocha': 5.2.7 @@ -10472,15 +10572,16 @@ packages: '@types/nock': 10.0.3 '@types/node': 8.10.51 '@types/query-string': 6.2.0 - '@typescript-eslint/eslint-plugin': 2.0.0_2597c16b46d7eff3ec2c0c583ca4ae44 - '@typescript-eslint/parser': 2.0.0_eslint@6.1.0 + '@typescript-eslint/eslint-plugin': 1.13.0_0b5e999c52a893676e7127c05369c7b6 + '@typescript-eslint/parser': 1.13.0_eslint@5.16.0 assert: 1.5.0 cross-env: 5.2.0 dotenv: 8.0.0 es6-promise: 4.2.8 - eslint: 6.1.0 - eslint-config-prettier: 6.0.0_eslint@6.1.0 - eslint-plugin-no-null: 1.0.2_eslint@6.1.0 + eslint: 5.16.0 + eslint-config-prettier: 6.0.0_eslint@5.16.0 + eslint-detailed-reporter: 0.8.0_eslint@5.16.0 + eslint-plugin-no-null: 1.0.2_eslint@5.16.0 eslint-plugin-no-only-tests: 2.3.1 eslint-plugin-promise: 4.2.1 events: 3.0.0 @@ -10489,11 +10590,11 @@ packages: gulp-zip: 5.0.0_gulp@4.0.2 inherits: 2.0.4 karma: 4.2.0 - karma-chrome-launcher: 3.1.0 + karma-chrome-launcher: 3.0.0 karma-coverage: 1.1.2 karma-edge-launcher: 0.4.2_karma@4.2.0 karma-env-preprocessor: 0.1.1 - karma-firefox-launcher: 1.2.0 + karma-firefox-launcher: 1.1.0 karma-ie-launcher: 1.0.0_karma@4.2.0 karma-json-preprocessor: 0.3.3_karma@4.2.0 karma-json-to-file-reporter: 1.0.1 @@ -10510,7 +10611,7 @@ packages: prettier: 1.18.2 puppeteer: 1.19.0 query-string: 5.1.1 - rimraf: 2.7.0 + rimraf: 2.6.3 rollup: 1.19.4 rollup-plugin-commonjs: 10.0.2_rollup@1.19.4 rollup-plugin-multi-entry: 2.1.0 @@ -10528,13 +10629,13 @@ packages: dev: false name: '@rush-temp/storage-file' resolution: - integrity: sha512-KrfCHFVWfElUeqzm7iab591o3cxSzbGwn4u9F8214TK0vOdyN35kNLwgqJKy5gIrYsyCOuHw6R9i0manZcNxpg== + integrity: sha512-AcWoeC5WyCxKB+KVvceLsoq/zSf5HFzVdXpVvX+Mc/+uaP6XItcvGGsLQfwUojuQ5P7y08AMNMzFMh++vCn7qA== tarball: 'file:projects/storage-file.tgz' version: 0.0.0 'file:projects/storage-queue.tgz': dependencies: '@azure/ms-rest-js': 2.0.4 - '@microsoft/api-extractor': 7.3.8 + '@microsoft/api-extractor': 7.3.5 '@types/dotenv': 6.1.1 '@types/fs-extra': 8.0.0 '@types/mocha': 5.2.7 @@ -10542,15 +10643,16 @@ packages: '@types/nock': 10.0.3 '@types/node': 8.10.51 '@types/query-string': 6.2.0 - '@typescript-eslint/eslint-plugin': 2.0.0_2597c16b46d7eff3ec2c0c583ca4ae44 - '@typescript-eslint/parser': 2.0.0_eslint@6.1.0 + '@typescript-eslint/eslint-plugin': 1.13.0_0b5e999c52a893676e7127c05369c7b6 + '@typescript-eslint/parser': 1.13.0_eslint@5.16.0 assert: 1.5.0 cross-env: 5.2.0 dotenv: 8.0.0 es6-promise: 4.2.8 - eslint: 6.1.0 - eslint-config-prettier: 6.0.0_eslint@6.1.0 - eslint-plugin-no-null: 1.0.2_eslint@6.1.0 + eslint: 5.16.0 + eslint-config-prettier: 6.0.0_eslint@5.16.0 + eslint-detailed-reporter: 0.8.0_eslint@5.16.0 + eslint-plugin-no-null: 1.0.2_eslint@5.16.0 eslint-plugin-no-only-tests: 2.3.1 eslint-plugin-promise: 4.2.1 fs-extra: 8.1.0 @@ -10558,11 +10660,11 @@ packages: gulp-zip: 5.0.0_gulp@4.0.2 inherits: 2.0.4 karma: 4.2.0 - karma-chrome-launcher: 3.1.0 + karma-chrome-launcher: 3.0.0 karma-coverage: 1.1.2 karma-edge-launcher: 0.4.2_karma@4.2.0 karma-env-preprocessor: 0.1.1 - karma-firefox-launcher: 1.2.0 + karma-firefox-launcher: 1.1.0 karma-ie-launcher: 1.0.0_karma@4.2.0 karma-json-preprocessor: 0.3.3_karma@4.2.0 karma-json-to-file-reporter: 1.0.1 @@ -10579,7 +10681,7 @@ packages: prettier: 1.18.2 puppeteer: 1.19.0 query-string: 5.1.1 - rimraf: 2.7.0 + rimraf: 2.6.3 rollup: 1.19.4 rollup-plugin-commonjs: 10.0.2_rollup@1.19.4 rollup-plugin-multi-entry: 2.1.0 @@ -10597,32 +10699,33 @@ packages: dev: false name: '@rush-temp/storage-queue' resolution: - integrity: sha512-YEnScgntT0JsmdrUGYfl7/I4olxlAKvsffXw1pLYLT79P66lW4uIZnntGvRKp8s6RJPOFws9h3pp2FnQvIJJfw== + integrity: sha512-2O9eUkSpX6m28VxTLOykmO3qCo7wybjtfDi6ITx3AhyuRghzv7JwMQNoQKKZlipoD0C5xRzFt4kx51HSA1haPQ== tarball: 'file:projects/storage-queue.tgz' version: 0.0.0 'file:projects/template.tgz': dependencies: '@azure/core-http': 1.0.0-preview.2 - '@microsoft/api-extractor': 7.3.8 + '@microsoft/api-extractor': 7.3.5 '@types/mocha': 5.2.7 '@types/node': 8.10.51 - '@typescript-eslint/eslint-plugin': 2.0.0_2597c16b46d7eff3ec2c0c583ca4ae44 - '@typescript-eslint/parser': 2.0.0_eslint@6.1.0 + '@typescript-eslint/eslint-plugin': 1.13.0_0b5e999c52a893676e7127c05369c7b6 + '@typescript-eslint/parser': 1.13.0_eslint@5.16.0 assert: 1.5.0 cross-env: 5.2.0 - eslint: 6.1.0 - eslint-config-prettier: 6.0.0_eslint@6.1.0 - eslint-plugin-no-null: 1.0.2_eslint@6.1.0 + eslint: 5.16.0 + eslint-config-prettier: 6.0.0_eslint@5.16.0 + eslint-detailed-reporter: 0.8.0_eslint@5.16.0 + eslint-plugin-no-null: 1.0.2_eslint@5.16.0 eslint-plugin-no-only-tests: 2.3.1 eslint-plugin-promise: 4.2.1 events: 3.0.0 inherits: 2.0.4 karma: 4.2.0 - karma-chrome-launcher: 3.1.0 + karma-chrome-launcher: 3.0.0 karma-coverage: 1.1.2 karma-edge-launcher: 0.4.2_karma@4.2.0 karma-env-preprocessor: 0.1.1 - karma-firefox-launcher: 1.2.0 + karma-firefox-launcher: 1.1.0 karma-ie-launcher: 1.0.0_karma@4.2.0 karma-junit-reporter: 1.2.0_karma@4.2.0 karma-mocha: 1.3.0 @@ -10632,7 +10735,7 @@ packages: mocha-junit-reporter: 1.23.1_mocha@5.2.0 mocha-multi: 1.1.0_mocha@5.2.0 prettier: 1.18.2 - rimraf: 2.7.0 + rimraf: 2.6.3 rollup: 1.19.4 rollup-plugin-commonjs: 10.0.2_rollup@1.19.4 rollup-plugin-json: 4.0.0 @@ -10648,7 +10751,7 @@ packages: dev: false name: '@rush-temp/template' resolution: - integrity: sha512-k+j+oVVsGtuHnarX70kvHZEzdBuPsS7mpQOiTr92L+Na7XQoUJTN7MpKAWw3dUZlIv8QBOmrB7AD+9IP1MenYA== + integrity: sha512-AMpPTEkUgSl26Ex8ssFDn2Ta7mAMlev/lR8OY/ExGmiZsPxICKmcnCozgxYmqaHSO//W21/x1Xa0rzIpjGKW3Q== tarball: 'file:projects/template.tgz' version: 0.0.0 'file:projects/testhub.tgz': @@ -10661,7 +10764,7 @@ packages: death: 1.1.0 debug: 3.2.6 rhea: 1.0.8 - rimraf: 2.7.0 + rimraf: 2.6.3 tslib: 1.10.0 typescript: 3.5.3 uuid: 3.3.2 @@ -10695,6 +10798,7 @@ specifiers: '@rush-temp/core-http': 'file:./projects/core-http.tgz' '@rush-temp/core-paging': 'file:./projects/core-paging.tgz' '@rush-temp/core-tracing': 'file:./projects/core-tracing.tgz' + '@rush-temp/cosmos': 'file:./projects/cosmos.tgz' '@rush-temp/event-hubs': 'file:./projects/event-hubs.tgz' '@rush-temp/event-processor-host': 'file:./projects/event-processor-host.tgz' '@rush-temp/identity': 'file:./projects/identity.tgz' @@ -10726,42 +10830,49 @@ specifiers: '@types/nise': ^1.4.0 '@types/nock': ^10.0.1 '@types/node': ^8.0.0 + '@types/priorityqueuejs': ^1.0.1 '@types/qs': ~6.5.3 '@types/query-string': 6.2.0 + '@types/semaphore': ^1.1.0 '@types/semver': ^5.5.0 '@types/sinon': ^7.0.13 '@types/tough-cookie': ^2.3.5 '@types/tunnel': ^0.0.1 + '@types/underscore': ^1.8.8 '@types/uuid': ^3.4.3 '@types/webpack': ^4.4.13 '@types/webpack-dev-middleware': ^2.0.2 '@types/ws': ^6.0.1 '@types/xml2js': ^0.4.3 '@types/yargs': ^13.0.0 - '@typescript-eslint/eslint-plugin': ^2.0.0 - '@typescript-eslint/parser': ^2.0.0 + '@typescript-eslint/eslint-plugin': ^1.11.0 + '@typescript-eslint/parser': ^1.11.0 abortcontroller-polyfill: ^1.1.9 assert: ^1.4.1 async-lock: ^1.1.3 axios: ^0.19.0 axios-mock-adapter: ^1.16.0 azure-storage: ^2.10.2 + binary-search-bounds: 2.0.3 buffer: ^5.2.1 chai: ^4.2.0 chai-as-promised: ^7.1.1 chai-string: ^1.5.0 + create-hmac: ^1.1.7 cross-env: ^5.2.0 death: ^1.1.0 debug: ^3.1.0 delay: ^4.2.0 dotenv: ^8.0.0 es6-promise: ^4.2.5 - eslint: ^6.1.0 + eslint: ^5.16.0 eslint-config-prettier: ^6.0.0 + eslint-detailed-reporter: ^0.8.0 eslint-plugin-no-null: ^1.0.2 eslint-plugin-no-only-tests: ^2.3.0 eslint-plugin-promise: ^4.1.1 events: ^3.0.0 + execa: 1.0.0 express: ^4.16.3 form-data: ^2.5.0 fs-extra: ^8.1.0 @@ -10805,11 +10916,13 @@ specifiers: nyc: ^14.0.0 path-browserify: ^1.0.0 prettier: ^1.16.4 + priorityqueuejs: 1.0.0 process: ^0.11.10 promise: ^8.0.3 puppeteer: ^1.11.0 qs: 6.7.0 query-string: ^5.0.0 + requirejs: ^2.3.5 rhea: ^1.0.4 rhea-promise: ^0.1.15 rimraf: ^2.6.2 @@ -10828,11 +10941,13 @@ specifiers: rollup-plugin-terser: ^5.1.1 rollup-plugin-uglify: ^6.0.0 rollup-plugin-visualizer: ^2.0.0 + semaphore: 1.0.5 semver: ^5.5.0 shx: ^0.3.2 sinon: ^7.1.0 source-map-support: ^0.5.9 stream-browserify: ^2.0.2 + stream-http: ^2.8.3 tough-cookie: ^3.0.1 ts-loader: ^6.0.4 ts-mocha: ^6.0.0 From ee7991a23b65cb159a6f4327bf5555734a034965 Mon Sep 17 00:00:00 2001 From: "openapi-bot[bot]" <37845953+openapi-bot[bot]@users.noreply.github.com> Date: Thu, 1 Aug 2019 22:53:25 +0000 Subject: [PATCH 15/16] Generated from 19a6129d7c58da0c40d08c605f051a8b6d559af7 (#4499) Add example reference into compute.json --- sdk/compute/arm-compute/README.md | 1 - sdk/compute/arm-compute/package.json | 12 +- .../src/computeManagementClient.ts | 8 +- .../src/models/availabilitySetsMappers.ts | 14 +- .../src/models/containerServicesMappers.ts | 14 +- .../src/models/dedicatedHostGroupsMappers.ts | 169 +++ .../src/models/dedicatedHostsMappers.ts | 169 +++ .../arm-compute/src/models/disksMappers.ts | 14 +- .../src/models/galleriesMappers.ts | 14 +- .../src/models/galleryImageVersionsMappers.ts | 14 +- .../src/models/galleryImagesMappers.ts | 14 +- .../arm-compute/src/models/imagesMappers.ts | 14 +- sdk/compute/arm-compute/src/models/index.ts | 971 ++++++++++++++++-- sdk/compute/arm-compute/src/models/mappers.ts | 825 +++++++++++++-- .../arm-compute/src/models/parameters.ts | 54 +- .../models/proximityPlacementGroupsMappers.ts | 169 +++ .../src/models/resourceSkusMappers.ts | 3 +- .../src/models/snapshotsMappers.ts | 14 +- .../virtualMachineExtensionImagesMappers.ts | 14 +- .../models/virtualMachineExtensionsMappers.ts | 14 +- .../src/models/virtualMachineImagesMappers.ts | 14 +- ...virtualMachineScaleSetExtensionsMappers.ts | 14 +- ...alMachineScaleSetRollingUpgradesMappers.ts | 14 +- .../virtualMachineScaleSetVMsMappers.ts | 14 +- .../models/virtualMachineScaleSetsMappers.ts | 15 +- .../src/models/virtualMachinesMappers.ts | 14 +- .../src/operations/containerServices.ts | 10 +- .../src/operations/dedicatedHostGroups.ts | 484 +++++++++ .../src/operations/dedicatedHosts.ts | 402 ++++++++ .../arm-compute/src/operations/galleries.ts | 10 +- .../src/operations/galleryImageVersions.ts | 10 +- .../src/operations/galleryImages.ts | 8 +- .../arm-compute/src/operations/images.ts | 2 +- .../arm-compute/src/operations/index.ts | 4 +- .../operations/proximityPlacementGroups.ts | 478 +++++++++ .../operations/virtualMachineExtensions.ts | 4 +- .../virtualMachineScaleSetExtensions.ts | 2 +- .../operations/virtualMachineScaleSetVMs.ts | 9 +- .../src/operations/virtualMachineScaleSets.ts | 63 ++ .../src/operations/virtualMachines.ts | 2 +- sdk/compute/arm-compute/tsconfig.json | 2 +- 41 files changed, 3876 insertions(+), 220 deletions(-) create mode 100644 sdk/compute/arm-compute/src/models/dedicatedHostGroupsMappers.ts create mode 100644 sdk/compute/arm-compute/src/models/dedicatedHostsMappers.ts create mode 100644 sdk/compute/arm-compute/src/models/proximityPlacementGroupsMappers.ts create mode 100644 sdk/compute/arm-compute/src/operations/dedicatedHostGroups.ts create mode 100644 sdk/compute/arm-compute/src/operations/dedicatedHosts.ts create mode 100644 sdk/compute/arm-compute/src/operations/proximityPlacementGroups.ts diff --git a/sdk/compute/arm-compute/README.md b/sdk/compute/arm-compute/README.md index cff2a236f79d..f781c80eaa28 100644 --- a/sdk/compute/arm-compute/README.md +++ b/sdk/compute/arm-compute/README.md @@ -95,5 +95,4 @@ See https://github.com/Azure/ms-rest-browserauth to learn how to authenticate to - [Microsoft Azure SDK for Javascript](https://github.com/Azure/azure-sdk-for-js) - ![Impressions](https://azure-sdk-impressions.azurewebsites.net/api/impressions/azure-sdk-for-js/sdk/compute/arm-compute/README.png) diff --git a/sdk/compute/arm-compute/package.json b/sdk/compute/arm-compute/package.json index 9a2d123f805d..df8e0c31d07b 100644 --- a/sdk/compute/arm-compute/package.json +++ b/sdk/compute/arm-compute/package.json @@ -4,9 +4,9 @@ "description": "ComputeManagementClient Library with typescript type definitions for node.js and browser.", "version": "10.0.0", "dependencies": { - "@azure/ms-rest-azure-js": "^1.3.2", - "@azure/ms-rest-js": "^1.8.1", - "tslib": "^1.9.3" + "@azure/ms-rest-azure-js": "^2.0.0", + "@azure/ms-rest-js": "^2.0.3", + "tslib": "^1.10.0" }, "keywords": [ "node", @@ -26,13 +26,13 @@ "rollup-plugin-sourcemaps": "^0.4.2", "uglify-js": "^3.4.9" }, - "homepage": "https://github.com/azure/azure-sdk-for-js/tree/master/sdk/compute/arm-compute", + "homepage": "https://github.com/Azure/azure-sdk-for-js/tree/master/sdk/compute/arm-compute", "repository": { "type": "git", - "url": "https://github.com/azure/azure-sdk-for-js.git" + "url": "https://github.com/Azure/azure-sdk-for-js.git" }, "bugs": { - "url": "https://github.com/azure/azure-sdk-for-js/issues" + "url": "https://github.com/Azure/azure-sdk-for-js/issues" }, "files": [ "dist/**/*.js", diff --git a/sdk/compute/arm-compute/src/computeManagementClient.ts b/sdk/compute/arm-compute/src/computeManagementClient.ts index 2a6a78e79ac0..aad1875795c6 100644 --- a/sdk/compute/arm-compute/src/computeManagementClient.ts +++ b/sdk/compute/arm-compute/src/computeManagementClient.ts @@ -19,6 +19,9 @@ class ComputeManagementClient extends ComputeManagementClientContext { // Operation groups operations: operations.Operations; availabilitySets: operations.AvailabilitySets; + proximityPlacementGroups: operations.ProximityPlacementGroups; + dedicatedHostGroups: operations.DedicatedHostGroups; + dedicatedHosts: operations.DedicatedHosts; virtualMachineExtensionImages: operations.VirtualMachineExtensionImages; virtualMachineExtensions: operations.VirtualMachineExtensions; virtualMachineImages: operations.VirtualMachineImages; @@ -29,7 +32,6 @@ class ComputeManagementClient extends ComputeManagementClientContext { virtualMachineScaleSets: operations.VirtualMachineScaleSets; virtualMachineScaleSetExtensions: operations.VirtualMachineScaleSetExtensions; virtualMachineScaleSetRollingUpgrades: operations.VirtualMachineScaleSetRollingUpgrades; - virtualMachineScaleSet: operations.VirtualMachineScaleSetOperations; virtualMachineScaleSetVMs: operations.VirtualMachineScaleSetVMs; logAnalytics: operations.LogAnalytics; virtualMachineRunCommands: operations.VirtualMachineRunCommands; @@ -52,6 +54,9 @@ class ComputeManagementClient extends ComputeManagementClientContext { super(credentials, subscriptionId, options); this.operations = new operations.Operations(this); this.availabilitySets = new operations.AvailabilitySets(this); + this.proximityPlacementGroups = new operations.ProximityPlacementGroups(this); + this.dedicatedHostGroups = new operations.DedicatedHostGroups(this); + this.dedicatedHosts = new operations.DedicatedHosts(this); this.virtualMachineExtensionImages = new operations.VirtualMachineExtensionImages(this); this.virtualMachineExtensions = new operations.VirtualMachineExtensions(this); this.virtualMachineImages = new operations.VirtualMachineImages(this); @@ -62,7 +67,6 @@ class ComputeManagementClient extends ComputeManagementClientContext { this.virtualMachineScaleSets = new operations.VirtualMachineScaleSets(this); this.virtualMachineScaleSetExtensions = new operations.VirtualMachineScaleSetExtensions(this); this.virtualMachineScaleSetRollingUpgrades = new operations.VirtualMachineScaleSetRollingUpgrades(this); - this.virtualMachineScaleSet = new operations.VirtualMachineScaleSetOperations(this); this.virtualMachineScaleSetVMs = new operations.VirtualMachineScaleSetVMs(this); this.logAnalytics = new operations.LogAnalytics(this); this.virtualMachineRunCommands = new operations.VirtualMachineRunCommands(this); diff --git a/sdk/compute/arm-compute/src/models/availabilitySetsMappers.ts b/sdk/compute/arm-compute/src/models/availabilitySetsMappers.ts index fcf14403d584..c398b0cd0f9e 100644 --- a/sdk/compute/arm-compute/src/models/availabilitySetsMappers.ts +++ b/sdk/compute/arm-compute/src/models/availabilitySetsMappers.ts @@ -36,6 +36,13 @@ export { CreationData, DataDisk, DataDiskImage, + DedicatedHost, + DedicatedHostAllocatableVM, + DedicatedHostAvailableCapacity, + DedicatedHostGroup, + DedicatedHostGroupUpdate, + DedicatedHostInstanceView, + DedicatedHostUpdate, DiagnosticsProfile, DiffDiskSettings, Disallowed, @@ -47,7 +54,7 @@ export { EncryptionSettingsElement, Gallery, GalleryArtifactPublishingProfileBase, - GalleryArtifactSource, + GalleryArtifactVersionSource, GalleryDataDiskImage, GalleryDiskImage, GalleryIdentifier, @@ -74,7 +81,6 @@ export { KeyVaultSecretReference, LinuxConfiguration, MaintenanceRedeployStatus, - ManagedArtifact, ManagedDiskParameters, NetworkInterfaceReference, NetworkProfile, @@ -82,6 +88,8 @@ export { OSDiskImage, OSProfile, Plan, + ProximityPlacementGroup, + ProximityPlacementGroupUpdate, PurchasePlan, RecommendedMachineConfiguration, RegionalReplicationStatus, @@ -92,6 +100,7 @@ export { RollingUpgradeProgressInfo, RollingUpgradeRunningStatus, RollingUpgradeStatusInfo, + ScheduledEventsProfile, Sku, Snapshot, SnapshotSku, @@ -102,6 +111,7 @@ export { SubResource, SubResourceReadOnly, TargetRegion, + TerminateNotificationProfile, UpdateResource, UpgradePolicy, VaultCertificate, diff --git a/sdk/compute/arm-compute/src/models/containerServicesMappers.ts b/sdk/compute/arm-compute/src/models/containerServicesMappers.ts index a9f0f2c86211..12d67256a45d 100644 --- a/sdk/compute/arm-compute/src/models/containerServicesMappers.ts +++ b/sdk/compute/arm-compute/src/models/containerServicesMappers.ts @@ -36,6 +36,13 @@ export { CreationData, DataDisk, DataDiskImage, + DedicatedHost, + DedicatedHostAllocatableVM, + DedicatedHostAvailableCapacity, + DedicatedHostGroup, + DedicatedHostGroupUpdate, + DedicatedHostInstanceView, + DedicatedHostUpdate, DiagnosticsProfile, DiffDiskSettings, Disallowed, @@ -47,7 +54,7 @@ export { EncryptionSettingsElement, Gallery, GalleryArtifactPublishingProfileBase, - GalleryArtifactSource, + GalleryArtifactVersionSource, GalleryDataDiskImage, GalleryDiskImage, GalleryIdentifier, @@ -74,7 +81,6 @@ export { KeyVaultSecretReference, LinuxConfiguration, MaintenanceRedeployStatus, - ManagedArtifact, ManagedDiskParameters, NetworkInterfaceReference, NetworkProfile, @@ -82,6 +88,8 @@ export { OSDiskImage, OSProfile, Plan, + ProximityPlacementGroup, + ProximityPlacementGroupUpdate, PurchasePlan, RecommendedMachineConfiguration, RegionalReplicationStatus, @@ -92,6 +100,7 @@ export { RollingUpgradeProgressInfo, RollingUpgradeRunningStatus, RollingUpgradeStatusInfo, + ScheduledEventsProfile, Sku, Snapshot, SnapshotSku, @@ -102,6 +111,7 @@ export { SubResource, SubResourceReadOnly, TargetRegion, + TerminateNotificationProfile, UpdateResource, UpgradePolicy, VaultCertificate, diff --git a/sdk/compute/arm-compute/src/models/dedicatedHostGroupsMappers.ts b/sdk/compute/arm-compute/src/models/dedicatedHostGroupsMappers.ts new file mode 100644 index 000000000000..0e28e914df7e --- /dev/null +++ b/sdk/compute/arm-compute/src/models/dedicatedHostGroupsMappers.ts @@ -0,0 +1,169 @@ +/* + * Copyright (c) Microsoft Corporation. All rights reserved. + * Licensed under the MIT License. See License.txt in the project root for license information. + * + * 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, + AvailabilitySet, + AvailabilitySetUpdate, + BaseResource, + BootDiagnostics, + BootDiagnosticsInstanceView, + CloudError, + ContainerService, + ContainerServiceAgentPoolProfile, + ContainerServiceCustomProfile, + ContainerServiceDiagnosticsProfile, + ContainerServiceLinuxProfile, + ContainerServiceMasterProfile, + ContainerServiceOrchestratorProfile, + ContainerServiceServicePrincipalProfile, + ContainerServiceSshConfiguration, + ContainerServiceSshPublicKey, + ContainerServiceVMDiagnostics, + ContainerServiceWindowsProfile, + CreationData, + DataDisk, + DataDiskImage, + DedicatedHost, + DedicatedHostAllocatableVM, + DedicatedHostAvailableCapacity, + DedicatedHostGroup, + DedicatedHostGroupListResult, + DedicatedHostGroupUpdate, + DedicatedHostInstanceView, + DedicatedHostUpdate, + DiagnosticsProfile, + DiffDiskSettings, + Disallowed, + Disk, + DiskEncryptionSettings, + DiskInstanceView, + DiskSku, + EncryptionSettingsCollection, + EncryptionSettingsElement, + Gallery, + GalleryArtifactPublishingProfileBase, + GalleryArtifactVersionSource, + GalleryDataDiskImage, + GalleryDiskImage, + GalleryIdentifier, + GalleryImage, + GalleryImageIdentifier, + GalleryImageVersion, + GalleryImageVersionPublishingProfile, + GalleryImageVersionStorageProfile, + GalleryOSDiskImage, + HardwareProfile, + Image, + ImageDataDisk, + ImageDiskReference, + ImageOSDisk, + ImagePurchasePlan, + ImageReference, + ImageStorageProfile, + ImageUpdate, + InnerError, + InstanceViewStatus, + KeyVaultAndKeyReference, + KeyVaultAndSecretReference, + KeyVaultKeyReference, + KeyVaultSecretReference, + LinuxConfiguration, + MaintenanceRedeployStatus, + ManagedDiskParameters, + NetworkInterfaceReference, + NetworkProfile, + OSDisk, + OSDiskImage, + OSProfile, + Plan, + ProximityPlacementGroup, + ProximityPlacementGroupUpdate, + PurchasePlan, + RecommendedMachineConfiguration, + RegionalReplicationStatus, + ReplicationStatus, + Resource, + ResourceRange, + RollingUpgradePolicy, + RollingUpgradeProgressInfo, + RollingUpgradeRunningStatus, + RollingUpgradeStatusInfo, + ScheduledEventsProfile, + Sku, + Snapshot, + SnapshotSku, + SourceVault, + SshConfiguration, + SshPublicKey, + StorageProfile, + SubResource, + SubResourceReadOnly, + TargetRegion, + TerminateNotificationProfile, + UpdateResource, + UpgradePolicy, + VaultCertificate, + VaultSecretGroup, + VirtualHardDisk, + VirtualMachine, + VirtualMachineAgentInstanceView, + VirtualMachineCaptureResult, + VirtualMachineExtension, + VirtualMachineExtensionHandlerInstanceView, + VirtualMachineExtensionImage, + VirtualMachineExtensionInstanceView, + VirtualMachineExtensionUpdate, + VirtualMachineHealthStatus, + VirtualMachineIdentity, + VirtualMachineIdentityUserAssignedIdentitiesValue, + VirtualMachineImage, + VirtualMachineImageResource, + VirtualMachineInstanceView, + VirtualMachineScaleSet, + VirtualMachineScaleSetDataDisk, + VirtualMachineScaleSetExtension, + VirtualMachineScaleSetExtensionProfile, + VirtualMachineScaleSetIdentity, + VirtualMachineScaleSetIdentityUserAssignedIdentitiesValue, + VirtualMachineScaleSetIPConfiguration, + VirtualMachineScaleSetIpTag, + VirtualMachineScaleSetManagedDiskParameters, + VirtualMachineScaleSetNetworkConfiguration, + VirtualMachineScaleSetNetworkConfigurationDnsSettings, + VirtualMachineScaleSetNetworkProfile, + VirtualMachineScaleSetOSDisk, + VirtualMachineScaleSetOSProfile, + VirtualMachineScaleSetPublicIPAddressConfiguration, + VirtualMachineScaleSetPublicIPAddressConfigurationDnsSettings, + VirtualMachineScaleSetStorageProfile, + VirtualMachineScaleSetUpdate, + VirtualMachineScaleSetUpdateIPConfiguration, + VirtualMachineScaleSetUpdateNetworkConfiguration, + VirtualMachineScaleSetUpdateNetworkProfile, + VirtualMachineScaleSetUpdateOSDisk, + VirtualMachineScaleSetUpdateOSProfile, + VirtualMachineScaleSetUpdatePublicIPAddressConfiguration, + VirtualMachineScaleSetUpdateStorageProfile, + VirtualMachineScaleSetUpdateVMProfile, + VirtualMachineScaleSetVM, + VirtualMachineScaleSetVMInstanceView, + VirtualMachineScaleSetVMNetworkProfileConfiguration, + VirtualMachineScaleSetVMProfile, + VirtualMachineScaleSetVMProtectionPolicy, + VirtualMachineUpdate, + WindowsConfiguration, + WinRMConfiguration, + WinRMListener +} from "../models/mappers"; diff --git a/sdk/compute/arm-compute/src/models/dedicatedHostsMappers.ts b/sdk/compute/arm-compute/src/models/dedicatedHostsMappers.ts new file mode 100644 index 000000000000..f78b7b1889ae --- /dev/null +++ b/sdk/compute/arm-compute/src/models/dedicatedHostsMappers.ts @@ -0,0 +1,169 @@ +/* + * Copyright (c) Microsoft Corporation. All rights reserved. + * Licensed under the MIT License. See License.txt in the project root for license information. + * + * 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, + AvailabilitySet, + AvailabilitySetUpdate, + BaseResource, + BootDiagnostics, + BootDiagnosticsInstanceView, + CloudError, + ContainerService, + ContainerServiceAgentPoolProfile, + ContainerServiceCustomProfile, + ContainerServiceDiagnosticsProfile, + ContainerServiceLinuxProfile, + ContainerServiceMasterProfile, + ContainerServiceOrchestratorProfile, + ContainerServiceServicePrincipalProfile, + ContainerServiceSshConfiguration, + ContainerServiceSshPublicKey, + ContainerServiceVMDiagnostics, + ContainerServiceWindowsProfile, + CreationData, + DataDisk, + DataDiskImage, + DedicatedHost, + DedicatedHostAllocatableVM, + DedicatedHostAvailableCapacity, + DedicatedHostGroup, + DedicatedHostGroupUpdate, + DedicatedHostInstanceView, + DedicatedHostListResult, + DedicatedHostUpdate, + DiagnosticsProfile, + DiffDiskSettings, + Disallowed, + Disk, + DiskEncryptionSettings, + DiskInstanceView, + DiskSku, + EncryptionSettingsCollection, + EncryptionSettingsElement, + Gallery, + GalleryArtifactPublishingProfileBase, + GalleryArtifactVersionSource, + GalleryDataDiskImage, + GalleryDiskImage, + GalleryIdentifier, + GalleryImage, + GalleryImageIdentifier, + GalleryImageVersion, + GalleryImageVersionPublishingProfile, + GalleryImageVersionStorageProfile, + GalleryOSDiskImage, + HardwareProfile, + Image, + ImageDataDisk, + ImageDiskReference, + ImageOSDisk, + ImagePurchasePlan, + ImageReference, + ImageStorageProfile, + ImageUpdate, + InnerError, + InstanceViewStatus, + KeyVaultAndKeyReference, + KeyVaultAndSecretReference, + KeyVaultKeyReference, + KeyVaultSecretReference, + LinuxConfiguration, + MaintenanceRedeployStatus, + ManagedDiskParameters, + NetworkInterfaceReference, + NetworkProfile, + OSDisk, + OSDiskImage, + OSProfile, + Plan, + ProximityPlacementGroup, + ProximityPlacementGroupUpdate, + PurchasePlan, + RecommendedMachineConfiguration, + RegionalReplicationStatus, + ReplicationStatus, + Resource, + ResourceRange, + RollingUpgradePolicy, + RollingUpgradeProgressInfo, + RollingUpgradeRunningStatus, + RollingUpgradeStatusInfo, + ScheduledEventsProfile, + Sku, + Snapshot, + SnapshotSku, + SourceVault, + SshConfiguration, + SshPublicKey, + StorageProfile, + SubResource, + SubResourceReadOnly, + TargetRegion, + TerminateNotificationProfile, + UpdateResource, + UpgradePolicy, + VaultCertificate, + VaultSecretGroup, + VirtualHardDisk, + VirtualMachine, + VirtualMachineAgentInstanceView, + VirtualMachineCaptureResult, + VirtualMachineExtension, + VirtualMachineExtensionHandlerInstanceView, + VirtualMachineExtensionImage, + VirtualMachineExtensionInstanceView, + VirtualMachineExtensionUpdate, + VirtualMachineHealthStatus, + VirtualMachineIdentity, + VirtualMachineIdentityUserAssignedIdentitiesValue, + VirtualMachineImage, + VirtualMachineImageResource, + VirtualMachineInstanceView, + VirtualMachineScaleSet, + VirtualMachineScaleSetDataDisk, + VirtualMachineScaleSetExtension, + VirtualMachineScaleSetExtensionProfile, + VirtualMachineScaleSetIdentity, + VirtualMachineScaleSetIdentityUserAssignedIdentitiesValue, + VirtualMachineScaleSetIPConfiguration, + VirtualMachineScaleSetIpTag, + VirtualMachineScaleSetManagedDiskParameters, + VirtualMachineScaleSetNetworkConfiguration, + VirtualMachineScaleSetNetworkConfigurationDnsSettings, + VirtualMachineScaleSetNetworkProfile, + VirtualMachineScaleSetOSDisk, + VirtualMachineScaleSetOSProfile, + VirtualMachineScaleSetPublicIPAddressConfiguration, + VirtualMachineScaleSetPublicIPAddressConfigurationDnsSettings, + VirtualMachineScaleSetStorageProfile, + VirtualMachineScaleSetUpdate, + VirtualMachineScaleSetUpdateIPConfiguration, + VirtualMachineScaleSetUpdateNetworkConfiguration, + VirtualMachineScaleSetUpdateNetworkProfile, + VirtualMachineScaleSetUpdateOSDisk, + VirtualMachineScaleSetUpdateOSProfile, + VirtualMachineScaleSetUpdatePublicIPAddressConfiguration, + VirtualMachineScaleSetUpdateStorageProfile, + VirtualMachineScaleSetUpdateVMProfile, + VirtualMachineScaleSetVM, + VirtualMachineScaleSetVMInstanceView, + VirtualMachineScaleSetVMNetworkProfileConfiguration, + VirtualMachineScaleSetVMProfile, + VirtualMachineScaleSetVMProtectionPolicy, + VirtualMachineUpdate, + WindowsConfiguration, + WinRMConfiguration, + WinRMListener +} from "../models/mappers"; diff --git a/sdk/compute/arm-compute/src/models/disksMappers.ts b/sdk/compute/arm-compute/src/models/disksMappers.ts index 95e2dfea55a3..933336b4e3d1 100644 --- a/sdk/compute/arm-compute/src/models/disksMappers.ts +++ b/sdk/compute/arm-compute/src/models/disksMappers.ts @@ -36,6 +36,13 @@ export { CreationData, DataDisk, DataDiskImage, + DedicatedHost, + DedicatedHostAllocatableVM, + DedicatedHostAvailableCapacity, + DedicatedHostGroup, + DedicatedHostGroupUpdate, + DedicatedHostInstanceView, + DedicatedHostUpdate, DiagnosticsProfile, DiffDiskSettings, Disallowed, @@ -49,7 +56,7 @@ export { EncryptionSettingsElement, Gallery, GalleryArtifactPublishingProfileBase, - GalleryArtifactSource, + GalleryArtifactVersionSource, GalleryDataDiskImage, GalleryDiskImage, GalleryIdentifier, @@ -77,7 +84,6 @@ export { KeyVaultSecretReference, LinuxConfiguration, MaintenanceRedeployStatus, - ManagedArtifact, ManagedDiskParameters, NetworkInterfaceReference, NetworkProfile, @@ -85,6 +91,8 @@ export { OSDiskImage, OSProfile, Plan, + ProximityPlacementGroup, + ProximityPlacementGroupUpdate, PurchasePlan, RecommendedMachineConfiguration, RegionalReplicationStatus, @@ -95,6 +103,7 @@ export { RollingUpgradeProgressInfo, RollingUpgradeRunningStatus, RollingUpgradeStatusInfo, + ScheduledEventsProfile, Sku, Snapshot, SnapshotSku, @@ -105,6 +114,7 @@ export { SubResource, SubResourceReadOnly, TargetRegion, + TerminateNotificationProfile, UpdateResource, UpgradePolicy, VaultCertificate, diff --git a/sdk/compute/arm-compute/src/models/galleriesMappers.ts b/sdk/compute/arm-compute/src/models/galleriesMappers.ts index 4687700e7133..e6dfd400aa99 100644 --- a/sdk/compute/arm-compute/src/models/galleriesMappers.ts +++ b/sdk/compute/arm-compute/src/models/galleriesMappers.ts @@ -35,6 +35,13 @@ export { CreationData, DataDisk, DataDiskImage, + DedicatedHost, + DedicatedHostAllocatableVM, + DedicatedHostAvailableCapacity, + DedicatedHostGroup, + DedicatedHostGroupUpdate, + DedicatedHostInstanceView, + DedicatedHostUpdate, DiagnosticsProfile, DiffDiskSettings, Disallowed, @@ -46,7 +53,7 @@ export { EncryptionSettingsElement, Gallery, GalleryArtifactPublishingProfileBase, - GalleryArtifactSource, + GalleryArtifactVersionSource, GalleryDataDiskImage, GalleryDiskImage, GalleryIdentifier, @@ -74,7 +81,6 @@ export { KeyVaultSecretReference, LinuxConfiguration, MaintenanceRedeployStatus, - ManagedArtifact, ManagedDiskParameters, NetworkInterfaceReference, NetworkProfile, @@ -82,6 +88,8 @@ export { OSDiskImage, OSProfile, Plan, + ProximityPlacementGroup, + ProximityPlacementGroupUpdate, PurchasePlan, RecommendedMachineConfiguration, RegionalReplicationStatus, @@ -92,6 +100,7 @@ export { RollingUpgradeProgressInfo, RollingUpgradeRunningStatus, RollingUpgradeStatusInfo, + ScheduledEventsProfile, Sku, Snapshot, SnapshotSku, @@ -102,6 +111,7 @@ export { SubResource, SubResourceReadOnly, TargetRegion, + TerminateNotificationProfile, UpdateResource, UpgradePolicy, VaultCertificate, diff --git a/sdk/compute/arm-compute/src/models/galleryImageVersionsMappers.ts b/sdk/compute/arm-compute/src/models/galleryImageVersionsMappers.ts index 49635438d1f8..bf2fcfd9c4e1 100644 --- a/sdk/compute/arm-compute/src/models/galleryImageVersionsMappers.ts +++ b/sdk/compute/arm-compute/src/models/galleryImageVersionsMappers.ts @@ -35,6 +35,13 @@ export { CreationData, DataDisk, DataDiskImage, + DedicatedHost, + DedicatedHostAllocatableVM, + DedicatedHostAvailableCapacity, + DedicatedHostGroup, + DedicatedHostGroupUpdate, + DedicatedHostInstanceView, + DedicatedHostUpdate, DiagnosticsProfile, DiffDiskSettings, Disallowed, @@ -46,7 +53,7 @@ export { EncryptionSettingsElement, Gallery, GalleryArtifactPublishingProfileBase, - GalleryArtifactSource, + GalleryArtifactVersionSource, GalleryDataDiskImage, GalleryDiskImage, GalleryIdentifier, @@ -74,7 +81,6 @@ export { KeyVaultSecretReference, LinuxConfiguration, MaintenanceRedeployStatus, - ManagedArtifact, ManagedDiskParameters, NetworkInterfaceReference, NetworkProfile, @@ -82,6 +88,8 @@ export { OSDiskImage, OSProfile, Plan, + ProximityPlacementGroup, + ProximityPlacementGroupUpdate, PurchasePlan, RecommendedMachineConfiguration, RegionalReplicationStatus, @@ -92,6 +100,7 @@ export { RollingUpgradeProgressInfo, RollingUpgradeRunningStatus, RollingUpgradeStatusInfo, + ScheduledEventsProfile, Sku, Snapshot, SnapshotSku, @@ -102,6 +111,7 @@ export { SubResource, SubResourceReadOnly, TargetRegion, + TerminateNotificationProfile, UpdateResource, UpgradePolicy, VaultCertificate, diff --git a/sdk/compute/arm-compute/src/models/galleryImagesMappers.ts b/sdk/compute/arm-compute/src/models/galleryImagesMappers.ts index 3d94ca5fa3a2..74a0f94af187 100644 --- a/sdk/compute/arm-compute/src/models/galleryImagesMappers.ts +++ b/sdk/compute/arm-compute/src/models/galleryImagesMappers.ts @@ -35,6 +35,13 @@ export { CreationData, DataDisk, DataDiskImage, + DedicatedHost, + DedicatedHostAllocatableVM, + DedicatedHostAvailableCapacity, + DedicatedHostGroup, + DedicatedHostGroupUpdate, + DedicatedHostInstanceView, + DedicatedHostUpdate, DiagnosticsProfile, DiffDiskSettings, Disallowed, @@ -46,7 +53,7 @@ export { EncryptionSettingsElement, Gallery, GalleryArtifactPublishingProfileBase, - GalleryArtifactSource, + GalleryArtifactVersionSource, GalleryDataDiskImage, GalleryDiskImage, GalleryIdentifier, @@ -74,7 +81,6 @@ export { KeyVaultSecretReference, LinuxConfiguration, MaintenanceRedeployStatus, - ManagedArtifact, ManagedDiskParameters, NetworkInterfaceReference, NetworkProfile, @@ -82,6 +88,8 @@ export { OSDiskImage, OSProfile, Plan, + ProximityPlacementGroup, + ProximityPlacementGroupUpdate, PurchasePlan, RecommendedMachineConfiguration, RegionalReplicationStatus, @@ -92,6 +100,7 @@ export { RollingUpgradeProgressInfo, RollingUpgradeRunningStatus, RollingUpgradeStatusInfo, + ScheduledEventsProfile, Sku, Snapshot, SnapshotSku, @@ -102,6 +111,7 @@ export { SubResource, SubResourceReadOnly, TargetRegion, + TerminateNotificationProfile, UpdateResource, UpgradePolicy, VaultCertificate, diff --git a/sdk/compute/arm-compute/src/models/imagesMappers.ts b/sdk/compute/arm-compute/src/models/imagesMappers.ts index 9d476228fb50..49af9be82511 100644 --- a/sdk/compute/arm-compute/src/models/imagesMappers.ts +++ b/sdk/compute/arm-compute/src/models/imagesMappers.ts @@ -35,6 +35,13 @@ export { CreationData, DataDisk, DataDiskImage, + DedicatedHost, + DedicatedHostAllocatableVM, + DedicatedHostAvailableCapacity, + DedicatedHostGroup, + DedicatedHostGroupUpdate, + DedicatedHostInstanceView, + DedicatedHostUpdate, DiagnosticsProfile, DiffDiskSettings, Disallowed, @@ -46,7 +53,7 @@ export { EncryptionSettingsElement, Gallery, GalleryArtifactPublishingProfileBase, - GalleryArtifactSource, + GalleryArtifactVersionSource, GalleryDataDiskImage, GalleryDiskImage, GalleryIdentifier, @@ -74,7 +81,6 @@ export { KeyVaultSecretReference, LinuxConfiguration, MaintenanceRedeployStatus, - ManagedArtifact, ManagedDiskParameters, NetworkInterfaceReference, NetworkProfile, @@ -82,6 +88,8 @@ export { OSDiskImage, OSProfile, Plan, + ProximityPlacementGroup, + ProximityPlacementGroupUpdate, PurchasePlan, RecommendedMachineConfiguration, RegionalReplicationStatus, @@ -92,6 +100,7 @@ export { RollingUpgradeProgressInfo, RollingUpgradeRunningStatus, RollingUpgradeStatusInfo, + ScheduledEventsProfile, Sku, Snapshot, SnapshotSku, @@ -102,6 +111,7 @@ export { SubResource, SubResourceReadOnly, TargetRegion, + TerminateNotificationProfile, UpdateResource, UpgradePolicy, VaultCertificate, diff --git a/sdk/compute/arm-compute/src/models/index.ts b/sdk/compute/arm-compute/src/models/index.ts index ab37a5df853a..68d208b7ba58 100644 --- a/sdk/compute/arm-compute/src/models/index.ts +++ b/sdk/compute/arm-compute/src/models/index.ts @@ -156,6 +156,11 @@ export interface AvailabilitySet extends Resource { * A list of references to all virtual machines in the availability set. */ virtualMachines?: SubResource[]; + /** + * Specifies information about the proximity placement group that the availability set should be + * assigned to.

Minimum api-version: 2018-04-01. + */ + proximityPlacementGroup?: SubResource; /** * The resource status information. * **NOTE: This property will not be serialized. It can only be populated by the server.** @@ -196,6 +201,11 @@ export interface AvailabilitySetUpdate extends UpdateResource { * A list of references to all virtual machines in the availability set. */ virtualMachines?: SubResource[]; + /** + * Specifies information about the proximity placement group that the availability set should be + * assigned to.

Minimum api-version: 2018-04-01. + */ + proximityPlacementGroup?: SubResource; /** * The resource status information. * **NOTE: This property will not be serialized. It can only be populated by the server.** @@ -207,6 +217,241 @@ export interface AvailabilitySetUpdate extends UpdateResource { sku?: Sku; } +/** + * Specifies information about the proximity placement group. + */ +export interface ProximityPlacementGroup extends Resource { + /** + * Specifies the type of the proximity placement group.

Possible values are:

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

+ * **Ultra** : For future use. Possible values include: 'Standard', 'Ultra' + */ + proximityPlacementGroupType?: ProximityPlacementGroupType; + /** + * A list of references to all virtual machines in the proximity placement group. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly virtualMachines?: SubResource[]; + /** + * A list of references to all virtual machine scale sets in the proximity placement group. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly virtualMachineScaleSets?: SubResource[]; + /** + * A list of references to all availability sets in the proximity placement group. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly availabilitySets?: SubResource[]; +} + +/** + * Specifies information about the proximity placement group. + */ +export interface ProximityPlacementGroupUpdate extends UpdateResource { +} + +/** + * An interface representing SubResourceReadOnly. + */ +export interface SubResourceReadOnly extends BaseResource { + /** + * Resource Id + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly id?: string; +} + +/** + * Specifies information about the dedicated host group that the dedicated hosts should be assigned + * to.

Currently, a dedicated host can only be added to a dedicated host group at creation + * time. An existing dedicated host cannot be added to another dedicated host group. + */ +export interface DedicatedHostGroup extends Resource { + /** + * Number of fault domains that the host group can span. + */ + platformFaultDomainCount: number; + /** + * A list of references to all dedicated hosts in the dedicated host group. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly hosts?: SubResourceReadOnly[]; + /** + * Availability Zone to use for this host group. Only single zone is supported. The zone can be + * assigned only during creation. If not provided, the group supports all zones in the region. If + * provided, enforces each host in the group to be in the same zone. + */ + zones?: string[]; +} + +/** + * Specifies information about the dedicated host group that the dedicated host should be assigned + * to. Only tags may be updated. + */ +export interface DedicatedHostGroupUpdate extends UpdateResource { + /** + * Number of fault domains that the host group can span. + */ + platformFaultDomainCount: number; + /** + * A list of references to all dedicated hosts in the dedicated host group. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly hosts?: SubResourceReadOnly[]; + /** + * Availability Zone to use for this host group. Only single zone is supported. The zone can be + * assigned only during creation. If not provided, the group supports all zones in the region. If + * provided, enforces each host in the group to be in the same zone. + */ + zones?: string[]; +} + +/** + * Represents the dedicated host unutilized capacity in terms of a specific VM size. + */ +export interface DedicatedHostAllocatableVM { + /** + * VM size in terms of which the unutilized capacity is represented. + */ + vmSize?: string; + /** + * Maximum number of VMs of size vmSize that can fit in the dedicated host's remaining capacity. + */ + count?: number; +} + +/** + * Dedicated host unutilized capacity. + */ +export interface DedicatedHostAvailableCapacity { + /** + * The unutilized capacity of the dedicated host represented in terms of each VM size that is + * allowed to be deployed to the dedicated host. + */ + allocatableVMs?: DedicatedHostAllocatableVM[]; +} + +/** + * The instance view of a dedicated host. + */ +export interface DedicatedHostInstanceView { + /** + * Specifies the unique id of the dedicated physical machine on which the dedicated host resides. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly assetId?: string; + /** + * Unutilized capacity of the dedicated host. + */ + availableCapacity?: DedicatedHostAvailableCapacity; + /** + * The resource status information. + */ + statuses?: InstanceViewStatus[]; +} + +/** + * Specifies information about the Dedicated host. + */ +export interface DedicatedHost extends Resource { + /** + * Fault domain of the dedicated host within a dedicated host group. + */ + platformFaultDomain?: number; + /** + * Specifies whether the dedicated host should be replaced automatically in case of a failure. + * The value is defaulted to 'true' when not provided. + */ + autoReplaceOnFailure?: boolean; + /** + * A unique id generated and assigned to the dedicated host by the platform.

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

Possible values are:

**None**

**Windows_Server_Hybrid** + *

**Windows_Server_Perpetual**

Default: **None**. Possible values include: + * 'None', 'Windows_Server_Hybrid', 'Windows_Server_Perpetual' + */ + licenseType?: DedicatedHostLicenseTypes; + /** + * The date when the host was first provisioned. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly provisioningTime?: Date; + /** + * The provisioning state, which only appears in the response. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly provisioningState?: string; + /** + * The dedicated host instance view. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly instanceView?: DedicatedHostInstanceView; + /** + * SKU of the dedicated host for Hardware Generation and VM family. Only name is required to be + * set. List Microsoft.Compute SKUs for a list of possible values. + */ + sku: Sku; +} + +/** + * Specifies information about the dedicated host. Only tags, autoReplaceOnFailure and licenseType + * may be updated. + */ +export interface DedicatedHostUpdate extends UpdateResource { + /** + * Fault domain of the dedicated host within a dedicated host group. + */ + platformFaultDomain?: number; + /** + * Specifies whether the dedicated host should be replaced automatically in case of a failure. + * The value is defaulted to 'true' when not provided. + */ + autoReplaceOnFailure?: boolean; + /** + * A unique id generated and assigned to the dedicated host by the platform.

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

Possible values are:

**None**

**Windows_Server_Hybrid** + *

**Windows_Server_Perpetual**

Default: **None**. Possible values include: + * 'None', 'Windows_Server_Hybrid', 'Windows_Server_Perpetual' + */ + licenseType?: DedicatedHostLicenseTypes; + /** + * The date when the host was first provisioned. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly provisioningTime?: Date; + /** + * The provisioning state, which only appears in the response. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly provisioningState?: string; + /** + * The dedicated host instance view. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly instanceView?: DedicatedHostInstanceView; +} + /** * Describes the properties of a VM size. */ @@ -505,7 +750,8 @@ export interface Usage { */ export interface VirtualMachineReimageParameters { /** - * Specifies whether to reimage temp disk. Default value: false. + * Specifies whether to reimage temp disk. Default value: false. Note: This temp disk reimage + * parameter is only supported for VM/VMSS with Ephemeral OS disk. */ tempDisk?: boolean; } @@ -863,6 +1109,11 @@ export interface DataDisk { * The managed disk parameters. */ managedDisk?: ManagedDiskParameters; + /** + * Specifies whether the data disk is in process of detachment from the + * VirtualMachine/VirtualMachineScaleset + */ + toBeDetached?: boolean; } /** @@ -974,7 +1225,9 @@ export interface WindowsConfiguration { */ provisionVMAgent?: boolean; /** - * Indicates whether virtual machine is enabled for automatic updates. + * Indicates whether Automatic Updates is enabled for the Windows virtual machine. Default value + * is true.

For virtual machine scale sets, this property can be updated and updates + * will take effect on OS reprovisioning. */ enableAutomaticUpdates?: boolean; /** @@ -1390,6 +1643,11 @@ export interface VirtualMachineInstanceView { * The version of Operating System running on the virtual machine. */ osVersion?: string; + /** + * Specifies the HyperVGeneration Type associated with a resource. Possible values include: 'V1', + * 'V2' + */ + hyperVGeneration?: HyperVGenerationType; /** * The Remote desktop certificate thumbprint. */ @@ -1471,6 +1729,16 @@ export interface VirtualMachine extends Resource { * VM cannot be added to an availability set. */ availabilitySet?: SubResource; + /** + * Specifies information about the proximity placement group that the virtual machine should be + * assigned to.

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

Minimum api-version: 2018-10-01. + */ + host?: SubResource; /** * The provisioning state, which only appears in the response. * **NOTE: This property will not be serialized. It can only be populated by the server.** @@ -1561,6 +1829,16 @@ export interface VirtualMachineUpdate extends UpdateResource { * VM cannot be added to an availability set. */ availabilitySet?: SubResource; + /** + * Specifies information about the proximity placement group that the virtual machine should be + * assigned to.

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

Minimum api-version: 2018-10-01. + */ + host?: SubResource; /** * The provisioning state, which only appears in the response. * **NOTE: This property will not be serialized. It can only be populated by the server.** @@ -1602,8 +1880,11 @@ export interface VirtualMachineUpdate extends UpdateResource { */ export interface AutomaticOSUpgradePolicy { /** - * Whether OS upgrades should automatically be applied to scale set instances in a rolling - * fashion when a newer version of the image becomes available. Default value is false. + * Indicates whether OS upgrades should automatically be applied to scale set instances in a + * rolling fashion when a newer version of the OS image becomes available. Default value is + * false.

If this is set to true for Windows based scale sets, + * [enableAutomaticUpdates](https://docs.microsoft.com/dotnet/api/microsoft.azure.management.compute.models.windowsconfiguration.enableautomaticupdates?view=azure-dotnet) + * is automatically set to false and cannot be set to true. */ enableAutomaticOSUpgrade?: boolean; /** @@ -1794,6 +2075,11 @@ export interface Image extends Resource { * **NOTE: This property will not be serialized. It can only be populated by the server.** */ readonly provisioningState?: string; + /** + * Gets the HyperVGenerationType of the VirtualMachine created from the image. Possible values + * include: 'V1', 'V2' + */ + hyperVGeneration?: HyperVGenerationTypes; } /** @@ -1813,6 +2099,11 @@ export interface ImageUpdate extends UpdateResource { * **NOTE: This property will not be serialized. It can only be populated by the server.** */ readonly provisioningState?: string; + /** + * Gets the HyperVGenerationType of the VirtualMachine created from the image. Possible values + * include: 'V1', 'V2' + */ + hyperVGeneration?: HyperVGenerationTypes; } /** @@ -2420,17 +2711,6 @@ export interface VirtualMachineScaleSetUpdateNetworkProfile { networkInterfaceConfigurations?: VirtualMachineScaleSetUpdateNetworkConfiguration[]; } -/** - * An interface representing SubResourceReadOnly. - */ -export interface SubResourceReadOnly extends BaseResource { - /** - * Resource Id - * **NOTE: This property will not be serialized. It can only be populated by the server.** - */ - readonly id?: string; -} - /** * Describes a Virtual Machine Scale Set Extension. */ @@ -2492,6 +2772,32 @@ export interface VirtualMachineScaleSetExtensionProfile { extensions?: VirtualMachineScaleSetExtension[]; } +/** + * An interface representing TerminateNotificationProfile. + */ +export interface TerminateNotificationProfile { + /** + * Configurable length of time a Virtual Machine being deleted will have to potentially approve + * the Terminate Scheduled Event before the event is auto approved (timed out). The configuration + * must be specified in ISO 8601 format, the default value is 5 minutes (PT5M) + */ + notBeforeTimeout?: string; + /** + * Specifies whether the Terminate Scheduled event is enabled or disabled. + */ + enable?: boolean; +} + +/** + * An interface representing ScheduledEventsProfile. + */ +export interface ScheduledEventsProfile { + /** + * Specifies Terminate Scheduled Event related configurations. + */ + terminateNotificationProfile?: TerminateNotificationProfile; +} + /** * Describes a virtual machine scale set virtual machine profile. */ @@ -2504,12 +2810,6 @@ export interface VirtualMachineScaleSetVMProfile { * Specifies the storage settings for the virtual machine disks. */ storageProfile?: VirtualMachineScaleSetStorageProfile; - /** - * Specifies additional capabilities enabled or disabled on the virtual machine in the scale set. - * For instance: whether the virtual machine has the capability to support attaching managed data - * disks with UltraSSD_LRS storage account type. - */ - additionalCapabilities?: AdditionalCapabilities; /** * Specifies properties of the network interfaces of the virtual machines in the scale set. */ @@ -2544,6 +2844,10 @@ export interface VirtualMachineScaleSetVMProfile { * 'Delete' */ evictionPolicy?: VirtualMachineEvictionPolicyTypes; + /** + * Specifies Scheduled Event related configurations. + */ + scheduledEventsProfile?: ScheduledEventsProfile; } /** @@ -2574,6 +2878,10 @@ export interface VirtualMachineScaleSetUpdateVMProfile { * The license type, which is for bring your own license scenario. */ licenseType?: string; + /** + * Specifies Scheduled Event related configurations. + */ + scheduledEventsProfile?: ScheduledEventsProfile; } /** @@ -2634,6 +2942,17 @@ export interface VirtualMachineScaleSet extends Resource { * Fault Domain count for each placement group. */ platformFaultDomainCount?: number; + /** + * Specifies information about the proximity placement group that the virtual machine scale set + * should be assigned to.

Minimum api-version: 2018-04-01. + */ + proximityPlacementGroup?: SubResource; + /** + * Specifies additional capabilities enabled or disabled on the Virtual Machines in the Virtual + * Machine Scale Set. For instance: whether the Virtual Machines have the capability to support + * attaching managed data disks with UltraSSD_LRS storage account type. + */ + additionalCapabilities?: AdditionalCapabilities; /** * The identity of the virtual machine scale set, if configured. */ @@ -2691,6 +3010,12 @@ export interface VirtualMachineScaleSetUpdate extends UpdateResource { * machines. */ singlePlacementGroup?: boolean; + /** + * Specifies additional capabilities enabled or disabled on the Virtual Machines in the Virtual + * Machine Scale Set. For instance: whether the Virtual Machines have the capability to support + * attaching managed data disks with UltraSSD_LRS storage account type. + */ + additionalCapabilities?: AdditionalCapabilities; /** * The identity of the virtual machine scale set, if configured. */ @@ -3540,6 +3865,22 @@ export interface ResourceSkuCapabilities { readonly value?: string; } +/** + * Describes The zonal capabilities of a SKU. + */ +export interface ResourceSkuZoneDetails { + /** + * The set of zones that the SKU is available in with the specified capabilities. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly name?: string[]; + /** + * A list of capabilities that are available for the SKU in the specified list of zones. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly capabilities?: ResourceSkuCapabilities[]; +} + /** * An interface representing ResourceSkuRestrictionInfo. */ @@ -3597,6 +3938,11 @@ export interface ResourceSkuLocationInfo { * **NOTE: This property will not be serialized. It can only be populated by the server.** */ readonly zones?: string[]; + /** + * Details of capabilities available to a SKU in specific zones. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly zoneDetails?: ResourceSkuZoneDetails[]; } /** @@ -4151,10 +4497,15 @@ export interface GalleryImage extends Resource { */ osType: OperatingSystemTypes; /** - * The allowed values for OS State are 'Generalized'. Possible values include: 'Generalized', - * 'Specialized' + * This property allows the user to specify whether the virtual machines created under this image + * are 'Generalized' or 'Specialized'. Possible values include: 'Generalized', 'Specialized' */ osState: OperatingSystemStateTypes; + /** + * The hypervisor generation of the Virtual Machine. Applicable to OS disks only. Possible values + * include: 'V1', 'V2' + */ + hyperVGeneration?: HyperVGeneration; /** * The end of life date of the gallery Image Definition. This property can be used for * decommissioning purposes. This property is updatable. @@ -4182,7 +4533,6 @@ export interface GalleryArtifactPublishingProfileBase { * updatable. */ targetRegions?: TargetRegion[]; - source: GalleryArtifactSource; } /** @@ -4216,6 +4566,17 @@ export interface GalleryImageVersionPublishingProfile extends GalleryArtifactPub storageAccountType?: StorageAccountType; } +/** + * The gallery artifact version source. + */ +export interface GalleryArtifactVersionSource { + /** + * The id of the gallery artifact version source. Can specify a disk uri, snapshot uri, or user + * image. + */ + id: string; +} + /** * This is the disk image base class. */ @@ -4228,9 +4589,9 @@ export interface GalleryDiskImage { /** * The host caching of the disk. Valid values are 'None', 'ReadOnly', and 'ReadWrite'. Possible * values include: 'None', 'ReadOnly', 'ReadWrite' - * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - readonly hostCaching?: HostCaching; + hostCaching?: HostCaching; + source?: GalleryArtifactVersionSource; } /** @@ -4247,24 +4608,20 @@ export interface GalleryDataDiskImage extends GalleryDiskImage { * This property specifies the logical unit number of the data disk. This value is used to * identify data disks within the Virtual Machine and therefore must be unique for each data disk * attached to the Virtual Machine. - * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - readonly lun?: number; + lun: number; } /** - * This is the storage profile of a gallery Image Version. + * This is the storage profile of a Gallery Image Version. */ export interface GalleryImageVersionStorageProfile { - /** - * **NOTE: This property will not be serialized. It can only be populated by the server.** - */ - readonly osDiskImage?: GalleryOSDiskImage; + source?: GalleryArtifactVersionSource; + osDiskImage?: GalleryOSDiskImage; /** * A list of data disk images. - * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - readonly dataDiskImages?: GalleryDataDiskImage[]; + dataDiskImages?: GalleryDataDiskImage[]; } /** @@ -4315,7 +4672,7 @@ export interface ReplicationStatus { * Specifies information about the gallery Image Version that you want to create or update. */ export interface GalleryImageVersion extends Resource { - publishingProfile: GalleryImageVersionPublishingProfile; + publishingProfile?: GalleryImageVersionPublishingProfile; /** * The current state of the gallery Image Version. The provisioning state, which only appears in * the response. Possible values include: 'Creating', 'Updating', 'Failed', 'Succeeded', @@ -4323,10 +4680,7 @@ export interface GalleryImageVersion extends Resource { * **NOTE: This property will not be serialized. It can only be populated by the server.** */ readonly provisioningState?: ProvisioningState2; - /** - * **NOTE: This property will not be serialized. It can only be populated by the server.** - */ - readonly storageProfile?: GalleryImageVersionStorageProfile; + storageProfile: GalleryImageVersionStorageProfile; /** * **NOTE: This property will not be serialized. It can only be populated by the server.** */ @@ -4353,23 +4707,6 @@ export interface TargetRegion { storageAccountType?: StorageAccountType; } -/** - * The managed artifact. - */ -export interface ManagedArtifact { - /** - * The managed artifact id. - */ - id: string; -} - -/** - * The source image from which the Image Version is going to be created. - */ -export interface GalleryArtifactSource { - managedImage: ManagedArtifact; -} - /** * Properties to configure a custom container service cluster. */ @@ -4583,9 +4920,19 @@ export interface ContainerService extends Resource { /** * Optional Parameters. */ -export interface VirtualMachineExtensionImagesListVersionsOptionalParams extends msRest.RequestOptionsBase { +export interface DedicatedHostsGetOptionalParams extends msRest.RequestOptionsBase { /** - * The filter to apply on the operation. + * The expand expression to apply on the operation. Possible values include: 'instanceView' + */ + expand?: InstanceViewTypes; +} + +/** + * Optional Parameters. + */ +export interface VirtualMachineExtensionImagesListVersionsOptionalParams extends msRest.RequestOptionsBase { + /** + * The filter to apply on the operation. */ filter?: string; top?: number; @@ -4880,6 +5227,16 @@ export interface VirtualMachineScaleSetVMsReimageOptionalParams extends msRest.R vmScaleSetVMReimageInput?: VirtualMachineScaleSetVMReimageParameters; } +/** + * Optional Parameters. + */ +export interface VirtualMachineScaleSetVMsGetOptionalParams extends msRest.RequestOptionsBase { + /** + * The expand expression to apply on the operation. Possible values include: 'instanceView' + */ + expand?: InstanceViewTypes; +} + /** * Optional Parameters. */ @@ -4978,6 +5335,44 @@ export interface AvailabilitySetListResult extends Array { export interface VirtualMachineSizeListResult extends Array { } +/** + * @interface + * The List Proximity Placement Group operation response. + * @extends Array + */ +export interface ProximityPlacementGroupListResult extends Array { + /** + * The URI to fetch the next page of proximity placement groups. + */ + nextLink?: string; +} + +/** + * @interface + * The List Dedicated Host Group with resource group response. + * @extends Array + */ +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; +} + +/** + * @interface + * The list dedicated host operation response. + * @extends Array + */ +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; +} + /** * @interface * The List Usages operation response. @@ -5110,13 +5505,13 @@ export interface RunCommandListResult extends Array { /** * @interface - * The Compute List Skus operation response. + * The List Resource Skus operation response. * @extends Array */ export interface ResourceSkusResult extends Array { /** - * The uri to fetch the next page of Compute Skus. Call ListNext() with this to fetch the next - * page of VMSS Skus. + * 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; } @@ -5198,6 +5593,14 @@ export interface ContainerServiceListResult extends Array { nextLink?: string; } +/** + * Defines values for HyperVGenerationTypes. + * Possible values include: 'V1', 'V2' + * @readonly + * @enum {string} + */ +export type HyperVGenerationTypes = 'V1' | 'V2'; + /** * Defines values for StatusLevelTypes. * Possible values include: 'Info', 'Warning', 'Error' @@ -5214,6 +5617,22 @@ export type StatusLevelTypes = 'Info' | 'Warning' | 'Error'; */ export type AvailabilitySetSkuTypes = 'Classic' | 'Aligned'; +/** + * Defines values for ProximityPlacementGroupType. + * Possible values include: 'Standard', 'Ultra' + * @readonly + * @enum {string} + */ +export type ProximityPlacementGroupType = 'Standard' | 'Ultra'; + +/** + * 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 OperatingSystemTypes. * Possible values include: 'Windows', 'Linux' @@ -5344,6 +5763,14 @@ export type ResourceIdentityType = 'SystemAssigned' | 'UserAssigned' | 'SystemAs */ 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 UpgradeMode. * Possible values include: 'Automatic', 'Manual', 'Rolling' @@ -5781,6 +6208,426 @@ export type AvailabilitySetsListNextResponse = 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 get operation. */ diff --git a/sdk/compute/arm-compute/src/models/mappers.ts b/sdk/compute/arm-compute/src/models/mappers.ts index 76794d65e587..903dfadb24a7 100644 --- a/sdk/compute/arm-compute/src/models/mappers.ts +++ b/sdk/compute/arm-compute/src/models/mappers.ts @@ -233,6 +233,13 @@ export const AvailabilitySet: msRest.CompositeMapper = { } } }, + proximityPlacementGroup: { + serializedName: "properties.proximityPlacementGroup", + type: { + name: "Composite", + className: "SubResource" + } + }, statuses: { readOnly: true, serializedName: "properties.statuses", @@ -309,6 +316,13 @@ export const AvailabilitySetUpdate: msRest.CompositeMapper = { } } }, + proximityPlacementGroup: { + serializedName: "properties.proximityPlacementGroup", + type: { + name: "Composite", + className: "SubResource" + } + }, statuses: { readOnly: true, serializedName: "properties.statuses", @@ -333,6 +347,430 @@ export const AvailabilitySetUpdate: msRest.CompositeMapper = { } }; +export const ProximityPlacementGroup: msRest.CompositeMapper = { + serializedName: "ProximityPlacementGroup", + type: { + name: "Composite", + className: "ProximityPlacementGroup", + modelProperties: { + ...Resource.type.modelProperties, + proximityPlacementGroupType: { + serializedName: "properties.proximityPlacementGroupType", + type: { + name: "String" + } + }, + virtualMachines: { + readOnly: true, + serializedName: "properties.virtualMachines", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "SubResource" + } + } + } + }, + virtualMachineScaleSets: { + readOnly: true, + serializedName: "properties.virtualMachineScaleSets", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "SubResource" + } + } + } + }, + availabilitySets: { + readOnly: true, + serializedName: "properties.availabilitySets", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "SubResource" + } + } + } + } + } + } +}; + +export const ProximityPlacementGroupUpdate: msRest.CompositeMapper = { + serializedName: "ProximityPlacementGroupUpdate", + type: { + name: "Composite", + className: "ProximityPlacementGroupUpdate", + modelProperties: { + ...UpdateResource.type.modelProperties + } + } +}; + +export const SubResourceReadOnly: msRest.CompositeMapper = { + serializedName: "SubResourceReadOnly", + type: { + name: "Composite", + className: "SubResourceReadOnly", + modelProperties: { + id: { + readOnly: true, + serializedName: "id", + type: { + name: "String" + } + } + } + } +}; + +export const DedicatedHostGroup: msRest.CompositeMapper = { + serializedName: "DedicatedHostGroup", + type: { + name: "Composite", + className: "DedicatedHostGroup", + modelProperties: { + ...Resource.type.modelProperties, + platformFaultDomainCount: { + required: true, + serializedName: "properties.platformFaultDomainCount", + constraints: { + InclusiveMaximum: 3, + InclusiveMinimum: 1 + }, + type: { + name: "Number" + } + }, + hosts: { + readOnly: true, + serializedName: "properties.hosts", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "SubResourceReadOnly" + } + } + } + }, + zones: { + serializedName: "zones", + type: { + name: "Sequence", + element: { + type: { + name: "String" + } + } + } + } + } + } +}; + +export const DedicatedHostGroupUpdate: msRest.CompositeMapper = { + serializedName: "DedicatedHostGroupUpdate", + type: { + name: "Composite", + className: "DedicatedHostGroupUpdate", + modelProperties: { + ...UpdateResource.type.modelProperties, + platformFaultDomainCount: { + required: true, + serializedName: "properties.platformFaultDomainCount", + constraints: { + InclusiveMaximum: 3, + InclusiveMinimum: 1 + }, + type: { + name: "Number" + } + }, + hosts: { + readOnly: true, + serializedName: "properties.hosts", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "SubResourceReadOnly" + } + } + } + }, + zones: { + serializedName: "zones", + type: { + name: "Sequence", + element: { + type: { + name: "String" + } + } + } + } + } + } +}; + +export const DedicatedHostAllocatableVM: msRest.CompositeMapper = { + serializedName: "DedicatedHostAllocatableVM", + type: { + name: "Composite", + className: "DedicatedHostAllocatableVM", + modelProperties: { + vmSize: { + serializedName: "vmSize", + type: { + name: "String" + } + }, + count: { + serializedName: "count", + type: { + name: "Number" + } + } + } + } +}; + +export const DedicatedHostAvailableCapacity: msRest.CompositeMapper = { + serializedName: "DedicatedHostAvailableCapacity", + type: { + name: "Composite", + className: "DedicatedHostAvailableCapacity", + modelProperties: { + allocatableVMs: { + serializedName: "allocatableVMs", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "DedicatedHostAllocatableVM" + } + } + } + } + } + } +}; + +export const DedicatedHostInstanceView: msRest.CompositeMapper = { + serializedName: "DedicatedHostInstanceView", + type: { + name: "Composite", + className: "DedicatedHostInstanceView", + modelProperties: { + assetId: { + readOnly: true, + serializedName: "assetId", + type: { + name: "String" + } + }, + availableCapacity: { + serializedName: "availableCapacity", + type: { + name: "Composite", + className: "DedicatedHostAvailableCapacity" + } + }, + statuses: { + serializedName: "statuses", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "InstanceViewStatus" + } + } + } + } + } + } +}; + +export const DedicatedHost: msRest.CompositeMapper = { + serializedName: "DedicatedHost", + type: { + name: "Composite", + className: "DedicatedHost", + modelProperties: { + ...Resource.type.modelProperties, + platformFaultDomain: { + serializedName: "properties.platformFaultDomain", + constraints: { + InclusiveMaximum: 2, + InclusiveMinimum: 0 + }, + type: { + name: "Number" + } + }, + autoReplaceOnFailure: { + serializedName: "properties.autoReplaceOnFailure", + type: { + name: "Boolean" + } + }, + hostId: { + readOnly: true, + serializedName: "properties.hostId", + type: { + name: "String" + } + }, + virtualMachines: { + readOnly: true, + serializedName: "properties.virtualMachines", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "SubResourceReadOnly" + } + } + } + }, + licenseType: { + serializedName: "properties.licenseType", + type: { + name: "Enum", + allowedValues: [ + "None", + "Windows_Server_Hybrid", + "Windows_Server_Perpetual" + ] + } + }, + provisioningTime: { + readOnly: true, + serializedName: "properties.provisioningTime", + type: { + name: "DateTime" + } + }, + provisioningState: { + readOnly: true, + serializedName: "properties.provisioningState", + type: { + name: "String" + } + }, + instanceView: { + readOnly: true, + serializedName: "properties.instanceView", + type: { + name: "Composite", + className: "DedicatedHostInstanceView" + } + }, + sku: { + required: true, + serializedName: "sku", + type: { + name: "Composite", + className: "Sku" + } + } + } + } +}; + +export const DedicatedHostUpdate: msRest.CompositeMapper = { + serializedName: "DedicatedHostUpdate", + type: { + name: "Composite", + className: "DedicatedHostUpdate", + modelProperties: { + ...UpdateResource.type.modelProperties, + platformFaultDomain: { + serializedName: "properties.platformFaultDomain", + constraints: { + InclusiveMaximum: 2, + InclusiveMinimum: 0 + }, + type: { + name: "Number" + } + }, + autoReplaceOnFailure: { + serializedName: "properties.autoReplaceOnFailure", + type: { + name: "Boolean" + } + }, + hostId: { + readOnly: true, + serializedName: "properties.hostId", + type: { + name: "String" + } + }, + virtualMachines: { + readOnly: true, + serializedName: "properties.virtualMachines", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "SubResourceReadOnly" + } + } + } + }, + licenseType: { + serializedName: "properties.licenseType", + type: { + name: "Enum", + allowedValues: [ + "None", + "Windows_Server_Hybrid", + "Windows_Server_Perpetual" + ] + } + }, + provisioningTime: { + readOnly: true, + serializedName: "properties.provisioningTime", + type: { + name: "DateTime" + } + }, + provisioningState: { + readOnly: true, + serializedName: "properties.provisioningState", + type: { + name: "String" + } + }, + instanceView: { + readOnly: true, + serializedName: "properties.instanceView", + type: { + name: "Composite", + className: "DedicatedHostInstanceView" + } + } + } + } +}; + export const VirtualMachineSize: msRest.CompositeMapper = { serializedName: "VirtualMachineSize", type: { @@ -1311,6 +1749,12 @@ export const DataDisk: msRest.CompositeMapper = { name: "Composite", className: "ManagedDiskParameters" } + }, + toBeDetached: { + serializedName: "toBeDetached", + type: { + name: "Boolean" + } } } } @@ -2082,6 +2526,12 @@ export const VirtualMachineInstanceView: msRest.CompositeMapper = { name: "String" } }, + hyperVGeneration: { + serializedName: "hyperVGeneration", + type: { + name: "String" + } + }, rdpThumbPrint: { serializedName: "rdpThumbPrint", type: { @@ -2212,6 +2662,20 @@ export const VirtualMachine: msRest.CompositeMapper = { className: "SubResource" } }, + proximityPlacementGroup: { + serializedName: "properties.proximityPlacementGroup", + type: { + name: "Composite", + className: "SubResource" + } + }, + host: { + serializedName: "properties.host", + type: { + name: "Composite", + className: "SubResource" + } + }, provisioningState: { readOnly: true, serializedName: "properties.provisioningState", @@ -2338,6 +2802,20 @@ export const VirtualMachineUpdate: msRest.CompositeMapper = { className: "SubResource" } }, + proximityPlacementGroup: { + serializedName: "properties.proximityPlacementGroup", + type: { + name: "Composite", + className: "SubResource" + } + }, + host: { + serializedName: "properties.host", + type: { + name: "Composite", + className: "SubResource" + } + }, provisioningState: { readOnly: true, serializedName: "properties.provisioningState", @@ -2688,6 +3166,12 @@ export const Image: msRest.CompositeMapper = { type: { name: "String" } + }, + hyperVGeneration: { + serializedName: "properties.hyperVGeneration", + type: { + name: "String" + } } } } @@ -2720,6 +3204,12 @@ export const ImageUpdate: msRest.CompositeMapper = { type: { name: "String" } + }, + hyperVGeneration: { + serializedName: "properties.hyperVGeneration", + type: { + name: "String" + } } } } @@ -3692,30 +4182,13 @@ export const VirtualMachineScaleSetUpdateNetworkProfile: msRest.CompositeMapper networkInterfaceConfigurations: { serializedName: "networkInterfaceConfigurations", type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "VirtualMachineScaleSetUpdateNetworkConfiguration" - } - } - } - } - } - } -}; - -export const SubResourceReadOnly: msRest.CompositeMapper = { - serializedName: "SubResourceReadOnly", - type: { - name: "Composite", - className: "SubResourceReadOnly", - modelProperties: { - id: { - readOnly: true, - serializedName: "id", - type: { - name: "String" + name: "Sequence", + element: { + type: { + name: "Composite", + className: "VirtualMachineScaleSetUpdateNetworkConfiguration" + } + } } } } @@ -3821,6 +4294,45 @@ export const VirtualMachineScaleSetExtensionProfile: msRest.CompositeMapper = { } }; +export const TerminateNotificationProfile: msRest.CompositeMapper = { + serializedName: "TerminateNotificationProfile", + type: { + name: "Composite", + className: "TerminateNotificationProfile", + modelProperties: { + notBeforeTimeout: { + serializedName: "notBeforeTimeout", + type: { + name: "String" + } + }, + enable: { + serializedName: "enable", + type: { + name: "Boolean" + } + } + } + } +}; + +export const ScheduledEventsProfile: msRest.CompositeMapper = { + serializedName: "ScheduledEventsProfile", + type: { + name: "Composite", + className: "ScheduledEventsProfile", + modelProperties: { + terminateNotificationProfile: { + serializedName: "terminateNotificationProfile", + type: { + name: "Composite", + className: "TerminateNotificationProfile" + } + } + } + } +}; + export const VirtualMachineScaleSetVMProfile: msRest.CompositeMapper = { serializedName: "VirtualMachineScaleSetVMProfile", type: { @@ -3841,13 +4353,6 @@ export const VirtualMachineScaleSetVMProfile: msRest.CompositeMapper = { className: "VirtualMachineScaleSetStorageProfile" } }, - additionalCapabilities: { - serializedName: "additionalCapabilities", - type: { - name: "Composite", - className: "AdditionalCapabilities" - } - }, networkProfile: { serializedName: "networkProfile", type: { @@ -3886,6 +4391,13 @@ export const VirtualMachineScaleSetVMProfile: msRest.CompositeMapper = { type: { name: "String" } + }, + scheduledEventsProfile: { + serializedName: "scheduledEventsProfile", + type: { + name: "Composite", + className: "ScheduledEventsProfile" + } } } } @@ -3937,6 +4449,13 @@ export const VirtualMachineScaleSetUpdateVMProfile: msRest.CompositeMapper = { type: { name: "String" } + }, + scheduledEventsProfile: { + serializedName: "scheduledEventsProfile", + type: { + name: "Composite", + className: "ScheduledEventsProfile" + } } } } @@ -4021,6 +4540,20 @@ export const VirtualMachineScaleSet: msRest.CompositeMapper = { name: "Number" } }, + proximityPlacementGroup: { + serializedName: "properties.proximityPlacementGroup", + type: { + name: "Composite", + className: "SubResource" + } + }, + additionalCapabilities: { + serializedName: "properties.additionalCapabilities", + type: { + name: "Composite", + className: "AdditionalCapabilities" + } + }, identity: { serializedName: "identity", type: { @@ -4123,6 +4656,13 @@ export const VirtualMachineScaleSetUpdate: msRest.CompositeMapper = { name: "Boolean" } }, + additionalCapabilities: { + serializedName: "properties.additionalCapabilities", + type: { + name: "Composite", + className: "AdditionalCapabilities" + } + }, identity: { serializedName: "identity", type: { @@ -5549,6 +6089,41 @@ export const ResourceSkuCapabilities: msRest.CompositeMapper = { } }; +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: { @@ -5659,6 +6234,19 @@ export const ResourceSkuLocationInfo: msRest.CompositeMapper = { } } } + }, + zoneDetails: { + readOnly: true, + serializedName: "zoneDetails", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "ResourceSkuZoneDetails" + } + } + } } } } @@ -6596,6 +7184,12 @@ export const GalleryImage: msRest.CompositeMapper = { ] } }, + hyperVGeneration: { + serializedName: "properties.hyperVGeneration", + type: { + name: "String" + } + }, endOfLifeDate: { serializedName: "properties.endOfLifeDate", type: { @@ -6659,14 +7253,6 @@ export const GalleryArtifactPublishingProfileBase: msRest.CompositeMapper = { } } } - }, - source: { - required: true, - serializedName: "source", - type: { - name: "Composite", - className: "GalleryArtifactSource" - } } } } @@ -6714,6 +7300,23 @@ export const GalleryImageVersionPublishingProfile: msRest.CompositeMapper = { } }; +export const GalleryArtifactVersionSource: msRest.CompositeMapper = { + serializedName: "GalleryArtifactVersionSource", + type: { + name: "Composite", + className: "GalleryArtifactVersionSource", + modelProperties: { + id: { + required: true, + serializedName: "id", + type: { + name: "String" + } + } + } + } +}; + export const GalleryDiskImage: msRest.CompositeMapper = { serializedName: "GalleryDiskImage", type: { @@ -6728,7 +7331,6 @@ export const GalleryDiskImage: msRest.CompositeMapper = { } }, hostCaching: { - readOnly: true, serializedName: "hostCaching", type: { name: "Enum", @@ -6738,6 +7340,13 @@ export const GalleryDiskImage: msRest.CompositeMapper = { "ReadWrite" ] } + }, + source: { + serializedName: "source", + type: { + name: "Composite", + className: "GalleryArtifactVersionSource" + } } } } @@ -6762,7 +7371,7 @@ export const GalleryDataDiskImage: msRest.CompositeMapper = { modelProperties: { ...GalleryDiskImage.type.modelProperties, lun: { - readOnly: true, + required: true, serializedName: "lun", type: { name: "Number" @@ -6778,8 +7387,14 @@ export const GalleryImageVersionStorageProfile: msRest.CompositeMapper = { name: "Composite", className: "GalleryImageVersionStorageProfile", modelProperties: { + source: { + serializedName: "source", + type: { + name: "Composite", + className: "GalleryArtifactVersionSource" + } + }, osDiskImage: { - readOnly: true, serializedName: "osDiskImage", type: { name: "Composite", @@ -6787,7 +7402,6 @@ export const GalleryImageVersionStorageProfile: msRest.CompositeMapper = { } }, dataDiskImages: { - readOnly: true, serializedName: "dataDiskImages", type: { name: "Sequence", @@ -6879,7 +7493,6 @@ export const GalleryImageVersion: msRest.CompositeMapper = { modelProperties: { ...Resource.type.modelProperties, publishingProfile: { - required: true, serializedName: "properties.publishingProfile", type: { name: "Composite", @@ -6894,7 +7507,7 @@ export const GalleryImageVersion: msRest.CompositeMapper = { } }, storageProfile: { - readOnly: true, + required: true, serializedName: "properties.storageProfile", type: { name: "Composite", @@ -6942,41 +7555,6 @@ export const TargetRegion: msRest.CompositeMapper = { } }; -export const ManagedArtifact: msRest.CompositeMapper = { - serializedName: "ManagedArtifact", - type: { - name: "Composite", - className: "ManagedArtifact", - modelProperties: { - id: { - required: true, - serializedName: "id", - type: { - name: "String" - } - } - } - } -}; - -export const GalleryArtifactSource: msRest.CompositeMapper = { - serializedName: "GalleryArtifactSource", - type: { - name: "Composite", - className: "GalleryArtifactSource", - modelProperties: { - managedImage: { - required: true, - serializedName: "managedImage", - type: { - name: "Composite", - className: "ManagedArtifact" - } - } - } - } -}; - export const ContainerServiceCustomProfile: msRest.CompositeMapper = { serializedName: "ContainerServiceCustomProfile", type: { @@ -7418,6 +7996,93 @@ export const VirtualMachineSizeListResult: msRest.CompositeMapper = { } }; +export const ProximityPlacementGroupListResult: msRest.CompositeMapper = { + serializedName: "ProximityPlacementGroupListResult", + type: { + name: "Composite", + className: "ProximityPlacementGroupListResult", + modelProperties: { + value: { + required: true, + serializedName: "", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "ProximityPlacementGroup" + } + } + } + }, + nextLink: { + serializedName: "nextLink", + type: { + name: "String" + } + } + } + } +}; + +export const DedicatedHostGroupListResult: msRest.CompositeMapper = { + serializedName: "DedicatedHostGroupListResult", + type: { + name: "Composite", + className: "DedicatedHostGroupListResult", + modelProperties: { + value: { + required: true, + serializedName: "", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "DedicatedHostGroup" + } + } + } + }, + nextLink: { + serializedName: "nextLink", + type: { + name: "String" + } + } + } + } +}; + +export const DedicatedHostListResult: msRest.CompositeMapper = { + serializedName: "DedicatedHostListResult", + type: { + name: "Composite", + className: "DedicatedHostListResult", + modelProperties: { + value: { + required: true, + serializedName: "", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "DedicatedHost" + } + } + } + }, + nextLink: { + serializedName: "nextLink", + type: { + name: "String" + } + } + } + } +}; + export const ListUsagesResult: msRest.CompositeMapper = { serializedName: "ListUsagesResult", type: { diff --git a/sdk/compute/arm-compute/src/models/parameters.ts b/sdk/compute/arm-compute/src/models/parameters.ts index 157b4c501e48..5f55768a4e3d 100644 --- a/sdk/compute/arm-compute/src/models/parameters.ts +++ b/sdk/compute/arm-compute/src/models/parameters.ts @@ -38,7 +38,7 @@ export const apiVersion1: msRest.OperationQueryParameter = { required: true, isConstant: true, serializedName: "api-version", - defaultValue: '2017-09-01', + defaultValue: '2019-04-01', type: { name: "String" } @@ -57,6 +57,18 @@ export const apiVersion2: msRest.OperationQueryParameter = { } }; export const apiVersion3: msRest.OperationQueryParameter = { + parameterPath: "apiVersion", + mapper: { + required: true, + isConstant: true, + serializedName: "api-version", + defaultValue: '2019-07-01', + type: { + name: "String" + } + } +}; +export const apiVersion4: msRest.OperationQueryParameter = { parameterPath: "apiVersion", mapper: { required: true, @@ -116,7 +128,10 @@ export const expand0: msRest.OperationQueryParameter = { mapper: { serializedName: "$expand", type: { - name: "String" + name: "Enum", + allowedValues: [ + "instanceView" + ] } } }; @@ -128,10 +143,7 @@ export const expand1: msRest.OperationQueryParameter = { mapper: { serializedName: "$expand", type: { - name: "Enum", - allowedValues: [ - "instanceView" - ] + name: "String" } } }; @@ -177,6 +189,26 @@ export const galleryName: msRest.OperationURLParameter = { } } }; +export const hostGroupName: msRest.OperationURLParameter = { + parameterPath: "hostGroupName", + mapper: { + required: true, + serializedName: "hostGroupName", + type: { + name: "String" + } + } +}; +export const hostName: msRest.OperationURLParameter = { + parameterPath: "hostName", + mapper: { + required: true, + serializedName: "hostName", + type: { + name: "String" + } + } +}; export const imageName: msRest.OperationURLParameter = { parameterPath: "imageName", mapper: { @@ -263,6 +295,16 @@ export const platformUpdateDomain: msRest.OperationQueryParameter = { } } }; +export const proximityPlacementGroupName: msRest.OperationURLParameter = { + parameterPath: "proximityPlacementGroupName", + mapper: { + required: true, + serializedName: "proximityPlacementGroupName", + type: { + name: "String" + } + } +}; export const publisherName: msRest.OperationURLParameter = { parameterPath: "publisherName", mapper: { diff --git a/sdk/compute/arm-compute/src/models/proximityPlacementGroupsMappers.ts b/sdk/compute/arm-compute/src/models/proximityPlacementGroupsMappers.ts new file mode 100644 index 000000000000..45468164fc11 --- /dev/null +++ b/sdk/compute/arm-compute/src/models/proximityPlacementGroupsMappers.ts @@ -0,0 +1,169 @@ +/* + * Copyright (c) Microsoft Corporation. All rights reserved. + * Licensed under the MIT License. See License.txt in the project root for license information. + * + * 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, + AvailabilitySet, + AvailabilitySetUpdate, + BaseResource, + BootDiagnostics, + BootDiagnosticsInstanceView, + CloudError, + ContainerService, + ContainerServiceAgentPoolProfile, + ContainerServiceCustomProfile, + ContainerServiceDiagnosticsProfile, + ContainerServiceLinuxProfile, + ContainerServiceMasterProfile, + ContainerServiceOrchestratorProfile, + ContainerServiceServicePrincipalProfile, + ContainerServiceSshConfiguration, + ContainerServiceSshPublicKey, + ContainerServiceVMDiagnostics, + ContainerServiceWindowsProfile, + CreationData, + DataDisk, + DataDiskImage, + DedicatedHost, + DedicatedHostAllocatableVM, + DedicatedHostAvailableCapacity, + DedicatedHostGroup, + DedicatedHostGroupUpdate, + DedicatedHostInstanceView, + DedicatedHostUpdate, + DiagnosticsProfile, + DiffDiskSettings, + Disallowed, + Disk, + DiskEncryptionSettings, + DiskInstanceView, + DiskSku, + EncryptionSettingsCollection, + EncryptionSettingsElement, + Gallery, + GalleryArtifactPublishingProfileBase, + GalleryArtifactVersionSource, + GalleryDataDiskImage, + GalleryDiskImage, + GalleryIdentifier, + GalleryImage, + GalleryImageIdentifier, + GalleryImageVersion, + GalleryImageVersionPublishingProfile, + GalleryImageVersionStorageProfile, + GalleryOSDiskImage, + HardwareProfile, + Image, + ImageDataDisk, + ImageDiskReference, + ImageOSDisk, + ImagePurchasePlan, + ImageReference, + ImageStorageProfile, + ImageUpdate, + InnerError, + InstanceViewStatus, + KeyVaultAndKeyReference, + KeyVaultAndSecretReference, + KeyVaultKeyReference, + KeyVaultSecretReference, + LinuxConfiguration, + MaintenanceRedeployStatus, + ManagedDiskParameters, + NetworkInterfaceReference, + NetworkProfile, + OSDisk, + OSDiskImage, + OSProfile, + Plan, + ProximityPlacementGroup, + ProximityPlacementGroupListResult, + ProximityPlacementGroupUpdate, + PurchasePlan, + RecommendedMachineConfiguration, + RegionalReplicationStatus, + ReplicationStatus, + Resource, + ResourceRange, + RollingUpgradePolicy, + RollingUpgradeProgressInfo, + RollingUpgradeRunningStatus, + RollingUpgradeStatusInfo, + ScheduledEventsProfile, + Sku, + Snapshot, + SnapshotSku, + SourceVault, + SshConfiguration, + SshPublicKey, + StorageProfile, + SubResource, + SubResourceReadOnly, + TargetRegion, + TerminateNotificationProfile, + UpdateResource, + UpgradePolicy, + VaultCertificate, + VaultSecretGroup, + VirtualHardDisk, + VirtualMachine, + VirtualMachineAgentInstanceView, + VirtualMachineCaptureResult, + VirtualMachineExtension, + VirtualMachineExtensionHandlerInstanceView, + VirtualMachineExtensionImage, + VirtualMachineExtensionInstanceView, + VirtualMachineExtensionUpdate, + VirtualMachineHealthStatus, + VirtualMachineIdentity, + VirtualMachineIdentityUserAssignedIdentitiesValue, + VirtualMachineImage, + VirtualMachineImageResource, + VirtualMachineInstanceView, + VirtualMachineScaleSet, + VirtualMachineScaleSetDataDisk, + VirtualMachineScaleSetExtension, + VirtualMachineScaleSetExtensionProfile, + VirtualMachineScaleSetIdentity, + VirtualMachineScaleSetIdentityUserAssignedIdentitiesValue, + VirtualMachineScaleSetIPConfiguration, + VirtualMachineScaleSetIpTag, + VirtualMachineScaleSetManagedDiskParameters, + VirtualMachineScaleSetNetworkConfiguration, + VirtualMachineScaleSetNetworkConfigurationDnsSettings, + VirtualMachineScaleSetNetworkProfile, + VirtualMachineScaleSetOSDisk, + VirtualMachineScaleSetOSProfile, + VirtualMachineScaleSetPublicIPAddressConfiguration, + VirtualMachineScaleSetPublicIPAddressConfigurationDnsSettings, + VirtualMachineScaleSetStorageProfile, + VirtualMachineScaleSetUpdate, + VirtualMachineScaleSetUpdateIPConfiguration, + VirtualMachineScaleSetUpdateNetworkConfiguration, + VirtualMachineScaleSetUpdateNetworkProfile, + VirtualMachineScaleSetUpdateOSDisk, + VirtualMachineScaleSetUpdateOSProfile, + VirtualMachineScaleSetUpdatePublicIPAddressConfiguration, + VirtualMachineScaleSetUpdateStorageProfile, + VirtualMachineScaleSetUpdateVMProfile, + VirtualMachineScaleSetVM, + VirtualMachineScaleSetVMInstanceView, + VirtualMachineScaleSetVMNetworkProfileConfiguration, + VirtualMachineScaleSetVMProfile, + VirtualMachineScaleSetVMProtectionPolicy, + VirtualMachineUpdate, + WindowsConfiguration, + WinRMConfiguration, + WinRMListener +} from "../models/mappers"; diff --git a/sdk/compute/arm-compute/src/models/resourceSkusMappers.ts b/sdk/compute/arm-compute/src/models/resourceSkusMappers.ts index 86ebcf340872..ff328d2b9d4d 100644 --- a/sdk/compute/arm-compute/src/models/resourceSkusMappers.ts +++ b/sdk/compute/arm-compute/src/models/resourceSkusMappers.ts @@ -15,5 +15,6 @@ export { ResourceSkuLocationInfo, ResourceSkuRestrictionInfo, ResourceSkuRestrictions, - ResourceSkusResult + ResourceSkusResult, + ResourceSkuZoneDetails } from "../models/mappers"; diff --git a/sdk/compute/arm-compute/src/models/snapshotsMappers.ts b/sdk/compute/arm-compute/src/models/snapshotsMappers.ts index 77370b79c1d6..846f4b996f67 100644 --- a/sdk/compute/arm-compute/src/models/snapshotsMappers.ts +++ b/sdk/compute/arm-compute/src/models/snapshotsMappers.ts @@ -36,6 +36,13 @@ export { CreationData, DataDisk, DataDiskImage, + DedicatedHost, + DedicatedHostAllocatableVM, + DedicatedHostAvailableCapacity, + DedicatedHostGroup, + DedicatedHostGroupUpdate, + DedicatedHostInstanceView, + DedicatedHostUpdate, DiagnosticsProfile, DiffDiskSettings, Disallowed, @@ -47,7 +54,7 @@ export { EncryptionSettingsElement, Gallery, GalleryArtifactPublishingProfileBase, - GalleryArtifactSource, + GalleryArtifactVersionSource, GalleryDataDiskImage, GalleryDiskImage, GalleryIdentifier, @@ -75,7 +82,6 @@ export { KeyVaultSecretReference, LinuxConfiguration, MaintenanceRedeployStatus, - ManagedArtifact, ManagedDiskParameters, NetworkInterfaceReference, NetworkProfile, @@ -83,6 +89,8 @@ export { OSDiskImage, OSProfile, Plan, + ProximityPlacementGroup, + ProximityPlacementGroupUpdate, PurchasePlan, RecommendedMachineConfiguration, RegionalReplicationStatus, @@ -93,6 +101,7 @@ export { RollingUpgradeProgressInfo, RollingUpgradeRunningStatus, RollingUpgradeStatusInfo, + ScheduledEventsProfile, Sku, Snapshot, SnapshotList, @@ -105,6 +114,7 @@ export { SubResource, SubResourceReadOnly, TargetRegion, + TerminateNotificationProfile, UpdateResource, UpgradePolicy, VaultCertificate, diff --git a/sdk/compute/arm-compute/src/models/virtualMachineExtensionImagesMappers.ts b/sdk/compute/arm-compute/src/models/virtualMachineExtensionImagesMappers.ts index dfab46557b41..75f71dc2bcd0 100644 --- a/sdk/compute/arm-compute/src/models/virtualMachineExtensionImagesMappers.ts +++ b/sdk/compute/arm-compute/src/models/virtualMachineExtensionImagesMappers.ts @@ -35,6 +35,13 @@ export { CreationData, DataDisk, DataDiskImage, + DedicatedHost, + DedicatedHostAllocatableVM, + DedicatedHostAvailableCapacity, + DedicatedHostGroup, + DedicatedHostGroupUpdate, + DedicatedHostInstanceView, + DedicatedHostUpdate, DiagnosticsProfile, DiffDiskSettings, Disallowed, @@ -46,7 +53,7 @@ export { EncryptionSettingsElement, Gallery, GalleryArtifactPublishingProfileBase, - GalleryArtifactSource, + GalleryArtifactVersionSource, GalleryDataDiskImage, GalleryDiskImage, GalleryIdentifier, @@ -73,7 +80,6 @@ export { KeyVaultSecretReference, LinuxConfiguration, MaintenanceRedeployStatus, - ManagedArtifact, ManagedDiskParameters, NetworkInterfaceReference, NetworkProfile, @@ -81,6 +87,8 @@ export { OSDiskImage, OSProfile, Plan, + ProximityPlacementGroup, + ProximityPlacementGroupUpdate, PurchasePlan, RecommendedMachineConfiguration, RegionalReplicationStatus, @@ -91,6 +99,7 @@ export { RollingUpgradeProgressInfo, RollingUpgradeRunningStatus, RollingUpgradeStatusInfo, + ScheduledEventsProfile, Sku, Snapshot, SnapshotSku, @@ -101,6 +110,7 @@ export { SubResource, SubResourceReadOnly, TargetRegion, + TerminateNotificationProfile, UpdateResource, UpgradePolicy, VaultCertificate, diff --git a/sdk/compute/arm-compute/src/models/virtualMachineExtensionsMappers.ts b/sdk/compute/arm-compute/src/models/virtualMachineExtensionsMappers.ts index 6d15f114c81d..5e2d34952fc3 100644 --- a/sdk/compute/arm-compute/src/models/virtualMachineExtensionsMappers.ts +++ b/sdk/compute/arm-compute/src/models/virtualMachineExtensionsMappers.ts @@ -35,6 +35,13 @@ export { CreationData, DataDisk, DataDiskImage, + DedicatedHost, + DedicatedHostAllocatableVM, + DedicatedHostAvailableCapacity, + DedicatedHostGroup, + DedicatedHostGroupUpdate, + DedicatedHostInstanceView, + DedicatedHostUpdate, DiagnosticsProfile, DiffDiskSettings, Disallowed, @@ -46,7 +53,7 @@ export { EncryptionSettingsElement, Gallery, GalleryArtifactPublishingProfileBase, - GalleryArtifactSource, + GalleryArtifactVersionSource, GalleryDataDiskImage, GalleryDiskImage, GalleryIdentifier, @@ -73,7 +80,6 @@ export { KeyVaultSecretReference, LinuxConfiguration, MaintenanceRedeployStatus, - ManagedArtifact, ManagedDiskParameters, NetworkInterfaceReference, NetworkProfile, @@ -81,6 +87,8 @@ export { OSDiskImage, OSProfile, Plan, + ProximityPlacementGroup, + ProximityPlacementGroupUpdate, PurchasePlan, RecommendedMachineConfiguration, RegionalReplicationStatus, @@ -91,6 +99,7 @@ export { RollingUpgradeProgressInfo, RollingUpgradeRunningStatus, RollingUpgradeStatusInfo, + ScheduledEventsProfile, Sku, Snapshot, SnapshotSku, @@ -101,6 +110,7 @@ export { SubResource, SubResourceReadOnly, TargetRegion, + TerminateNotificationProfile, UpdateResource, UpgradePolicy, VaultCertificate, diff --git a/sdk/compute/arm-compute/src/models/virtualMachineImagesMappers.ts b/sdk/compute/arm-compute/src/models/virtualMachineImagesMappers.ts index dfab46557b41..75f71dc2bcd0 100644 --- a/sdk/compute/arm-compute/src/models/virtualMachineImagesMappers.ts +++ b/sdk/compute/arm-compute/src/models/virtualMachineImagesMappers.ts @@ -35,6 +35,13 @@ export { CreationData, DataDisk, DataDiskImage, + DedicatedHost, + DedicatedHostAllocatableVM, + DedicatedHostAvailableCapacity, + DedicatedHostGroup, + DedicatedHostGroupUpdate, + DedicatedHostInstanceView, + DedicatedHostUpdate, DiagnosticsProfile, DiffDiskSettings, Disallowed, @@ -46,7 +53,7 @@ export { EncryptionSettingsElement, Gallery, GalleryArtifactPublishingProfileBase, - GalleryArtifactSource, + GalleryArtifactVersionSource, GalleryDataDiskImage, GalleryDiskImage, GalleryIdentifier, @@ -73,7 +80,6 @@ export { KeyVaultSecretReference, LinuxConfiguration, MaintenanceRedeployStatus, - ManagedArtifact, ManagedDiskParameters, NetworkInterfaceReference, NetworkProfile, @@ -81,6 +87,8 @@ export { OSDiskImage, OSProfile, Plan, + ProximityPlacementGroup, + ProximityPlacementGroupUpdate, PurchasePlan, RecommendedMachineConfiguration, RegionalReplicationStatus, @@ -91,6 +99,7 @@ export { RollingUpgradeProgressInfo, RollingUpgradeRunningStatus, RollingUpgradeStatusInfo, + ScheduledEventsProfile, Sku, Snapshot, SnapshotSku, @@ -101,6 +110,7 @@ export { SubResource, SubResourceReadOnly, TargetRegion, + TerminateNotificationProfile, UpdateResource, UpgradePolicy, VaultCertificate, diff --git a/sdk/compute/arm-compute/src/models/virtualMachineScaleSetExtensionsMappers.ts b/sdk/compute/arm-compute/src/models/virtualMachineScaleSetExtensionsMappers.ts index cae9dd992f90..5c9432d1bca8 100644 --- a/sdk/compute/arm-compute/src/models/virtualMachineScaleSetExtensionsMappers.ts +++ b/sdk/compute/arm-compute/src/models/virtualMachineScaleSetExtensionsMappers.ts @@ -35,6 +35,13 @@ export { CreationData, DataDisk, DataDiskImage, + DedicatedHost, + DedicatedHostAllocatableVM, + DedicatedHostAvailableCapacity, + DedicatedHostGroup, + DedicatedHostGroupUpdate, + DedicatedHostInstanceView, + DedicatedHostUpdate, DiagnosticsProfile, DiffDiskSettings, Disallowed, @@ -46,7 +53,7 @@ export { EncryptionSettingsElement, Gallery, GalleryArtifactPublishingProfileBase, - GalleryArtifactSource, + GalleryArtifactVersionSource, GalleryDataDiskImage, GalleryDiskImage, GalleryIdentifier, @@ -73,7 +80,6 @@ export { KeyVaultSecretReference, LinuxConfiguration, MaintenanceRedeployStatus, - ManagedArtifact, ManagedDiskParameters, NetworkInterfaceReference, NetworkProfile, @@ -81,6 +87,8 @@ export { OSDiskImage, OSProfile, Plan, + ProximityPlacementGroup, + ProximityPlacementGroupUpdate, PurchasePlan, RecommendedMachineConfiguration, RegionalReplicationStatus, @@ -91,6 +99,7 @@ export { RollingUpgradeProgressInfo, RollingUpgradeRunningStatus, RollingUpgradeStatusInfo, + ScheduledEventsProfile, Sku, Snapshot, SnapshotSku, @@ -101,6 +110,7 @@ export { SubResource, SubResourceReadOnly, TargetRegion, + TerminateNotificationProfile, UpdateResource, UpgradePolicy, VaultCertificate, diff --git a/sdk/compute/arm-compute/src/models/virtualMachineScaleSetRollingUpgradesMappers.ts b/sdk/compute/arm-compute/src/models/virtualMachineScaleSetRollingUpgradesMappers.ts index dfab46557b41..75f71dc2bcd0 100644 --- a/sdk/compute/arm-compute/src/models/virtualMachineScaleSetRollingUpgradesMappers.ts +++ b/sdk/compute/arm-compute/src/models/virtualMachineScaleSetRollingUpgradesMappers.ts @@ -35,6 +35,13 @@ export { CreationData, DataDisk, DataDiskImage, + DedicatedHost, + DedicatedHostAllocatableVM, + DedicatedHostAvailableCapacity, + DedicatedHostGroup, + DedicatedHostGroupUpdate, + DedicatedHostInstanceView, + DedicatedHostUpdate, DiagnosticsProfile, DiffDiskSettings, Disallowed, @@ -46,7 +53,7 @@ export { EncryptionSettingsElement, Gallery, GalleryArtifactPublishingProfileBase, - GalleryArtifactSource, + GalleryArtifactVersionSource, GalleryDataDiskImage, GalleryDiskImage, GalleryIdentifier, @@ -73,7 +80,6 @@ export { KeyVaultSecretReference, LinuxConfiguration, MaintenanceRedeployStatus, - ManagedArtifact, ManagedDiskParameters, NetworkInterfaceReference, NetworkProfile, @@ -81,6 +87,8 @@ export { OSDiskImage, OSProfile, Plan, + ProximityPlacementGroup, + ProximityPlacementGroupUpdate, PurchasePlan, RecommendedMachineConfiguration, RegionalReplicationStatus, @@ -91,6 +99,7 @@ export { RollingUpgradeProgressInfo, RollingUpgradeRunningStatus, RollingUpgradeStatusInfo, + ScheduledEventsProfile, Sku, Snapshot, SnapshotSku, @@ -101,6 +110,7 @@ export { SubResource, SubResourceReadOnly, TargetRegion, + TerminateNotificationProfile, UpdateResource, UpgradePolicy, VaultCertificate, diff --git a/sdk/compute/arm-compute/src/models/virtualMachineScaleSetVMsMappers.ts b/sdk/compute/arm-compute/src/models/virtualMachineScaleSetVMsMappers.ts index 3d8a305c5d94..e598541fa7fd 100644 --- a/sdk/compute/arm-compute/src/models/virtualMachineScaleSetVMsMappers.ts +++ b/sdk/compute/arm-compute/src/models/virtualMachineScaleSetVMsMappers.ts @@ -35,6 +35,13 @@ export { CreationData, DataDisk, DataDiskImage, + DedicatedHost, + DedicatedHostAllocatableVM, + DedicatedHostAvailableCapacity, + DedicatedHostGroup, + DedicatedHostGroupUpdate, + DedicatedHostInstanceView, + DedicatedHostUpdate, DiagnosticsProfile, DiffDiskSettings, Disallowed, @@ -46,7 +53,7 @@ export { EncryptionSettingsElement, Gallery, GalleryArtifactPublishingProfileBase, - GalleryArtifactSource, + GalleryArtifactVersionSource, GalleryDataDiskImage, GalleryDiskImage, GalleryIdentifier, @@ -73,7 +80,6 @@ export { KeyVaultSecretReference, LinuxConfiguration, MaintenanceRedeployStatus, - ManagedArtifact, ManagedDiskParameters, NetworkInterfaceReference, NetworkProfile, @@ -81,6 +87,8 @@ export { OSDiskImage, OSProfile, Plan, + ProximityPlacementGroup, + ProximityPlacementGroupUpdate, PurchasePlan, RecommendedMachineConfiguration, RegionalReplicationStatus, @@ -94,6 +102,7 @@ export { RunCommandInput, RunCommandInputParameter, RunCommandResult, + ScheduledEventsProfile, Sku, Snapshot, SnapshotSku, @@ -104,6 +113,7 @@ export { SubResource, SubResourceReadOnly, TargetRegion, + TerminateNotificationProfile, UpdateResource, UpgradePolicy, VaultCertificate, diff --git a/sdk/compute/arm-compute/src/models/virtualMachineScaleSetsMappers.ts b/sdk/compute/arm-compute/src/models/virtualMachineScaleSetsMappers.ts index 9e55ea9e679c..fb063ed15407 100644 --- a/sdk/compute/arm-compute/src/models/virtualMachineScaleSetsMappers.ts +++ b/sdk/compute/arm-compute/src/models/virtualMachineScaleSetsMappers.ts @@ -35,6 +35,13 @@ export { CreationData, DataDisk, DataDiskImage, + DedicatedHost, + DedicatedHostAllocatableVM, + DedicatedHostAvailableCapacity, + DedicatedHostGroup, + DedicatedHostGroupUpdate, + DedicatedHostInstanceView, + DedicatedHostUpdate, DiagnosticsProfile, DiffDiskSettings, Disallowed, @@ -46,7 +53,7 @@ export { EncryptionSettingsElement, Gallery, GalleryArtifactPublishingProfileBase, - GalleryArtifactSource, + GalleryArtifactVersionSource, GalleryDataDiskImage, GalleryDiskImage, GalleryIdentifier, @@ -73,7 +80,6 @@ export { KeyVaultSecretReference, LinuxConfiguration, MaintenanceRedeployStatus, - ManagedArtifact, ManagedDiskParameters, NetworkInterfaceReference, NetworkProfile, @@ -81,6 +87,8 @@ export { OSDiskImage, OSProfile, Plan, + ProximityPlacementGroup, + ProximityPlacementGroupUpdate, PurchasePlan, RecommendedMachineConfiguration, RecoveryWalkResponse, @@ -93,6 +101,7 @@ export { RollingUpgradeProgressInfo, RollingUpgradeRunningStatus, RollingUpgradeStatusInfo, + ScheduledEventsProfile, Sku, Snapshot, SnapshotSku, @@ -103,6 +112,7 @@ export { SubResource, SubResourceReadOnly, TargetRegion, + TerminateNotificationProfile, UpdateResource, UpgradeOperationHistoricalStatusInfo, UpgradeOperationHistoricalStatusInfoProperties, @@ -172,6 +182,7 @@ export { VirtualMachineScaleSetVMReimageParameters, VirtualMachineStatusCodeCount, VirtualMachineUpdate, + VMScaleSetConvertToSinglePlacementGroupInput, WindowsConfiguration, WinRMConfiguration, WinRMListener diff --git a/sdk/compute/arm-compute/src/models/virtualMachinesMappers.ts b/sdk/compute/arm-compute/src/models/virtualMachinesMappers.ts index ea80fe8b1d31..e3833cfa8045 100644 --- a/sdk/compute/arm-compute/src/models/virtualMachinesMappers.ts +++ b/sdk/compute/arm-compute/src/models/virtualMachinesMappers.ts @@ -35,6 +35,13 @@ export { CreationData, DataDisk, DataDiskImage, + DedicatedHost, + DedicatedHostAllocatableVM, + DedicatedHostAvailableCapacity, + DedicatedHostGroup, + DedicatedHostGroupUpdate, + DedicatedHostInstanceView, + DedicatedHostUpdate, DiagnosticsProfile, DiffDiskSettings, Disallowed, @@ -46,7 +53,7 @@ export { EncryptionSettingsElement, Gallery, GalleryArtifactPublishingProfileBase, - GalleryArtifactSource, + GalleryArtifactVersionSource, GalleryDataDiskImage, GalleryDiskImage, GalleryIdentifier, @@ -73,7 +80,6 @@ export { KeyVaultSecretReference, LinuxConfiguration, MaintenanceRedeployStatus, - ManagedArtifact, ManagedDiskParameters, NetworkInterfaceReference, NetworkProfile, @@ -81,6 +87,8 @@ export { OSDiskImage, OSProfile, Plan, + ProximityPlacementGroup, + ProximityPlacementGroupUpdate, PurchasePlan, RecommendedMachineConfiguration, RegionalReplicationStatus, @@ -94,6 +102,7 @@ export { RunCommandInput, RunCommandInputParameter, RunCommandResult, + ScheduledEventsProfile, Sku, Snapshot, SnapshotSku, @@ -104,6 +113,7 @@ export { SubResource, SubResourceReadOnly, TargetRegion, + TerminateNotificationProfile, UpdateResource, UpgradePolicy, VaultCertificate, diff --git a/sdk/compute/arm-compute/src/operations/containerServices.ts b/sdk/compute/arm-compute/src/operations/containerServices.ts index fb409253f04a..a0b681fc5406 100644 --- a/sdk/compute/arm-compute/src/operations/containerServices.ts +++ b/sdk/compute/arm-compute/src/operations/containerServices.ts @@ -274,7 +274,7 @@ const listOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion3 + Parameters.apiVersion4 ], headerParameters: [ Parameters.acceptLanguage @@ -299,7 +299,7 @@ const getOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion3 + Parameters.apiVersion4 ], headerParameters: [ Parameters.acceptLanguage @@ -323,7 +323,7 @@ const listByResourceGroupOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion3 + Parameters.apiVersion4 ], headerParameters: [ Parameters.acceptLanguage @@ -348,7 +348,7 @@ const beginCreateOrUpdateOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion3 + Parameters.apiVersion4 ], headerParameters: [ Parameters.acceptLanguage @@ -386,7 +386,7 @@ const beginDeleteMethodOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion3 + 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 new file mode 100644 index 000000000000..bfbb911ad51a --- /dev/null +++ b/sdk/compute/arm-compute/src/operations/dedicatedHostGroups.ts @@ -0,0 +1,484 @@ +/* + * Copyright (c) Microsoft Corporation. All rights reserved. + * Licensed under the MIT License. See License.txt in the project root for + * license information. + * + * 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/dedicatedHostGroupsMappers"; +import * as Parameters from "../models/parameters"; +import { ComputeManagementClientContext } from "../computeManagementClientContext"; + +/** Class representing a DedicatedHostGroups. */ +export class DedicatedHostGroups { + private readonly client: ComputeManagementClientContext; + + /** + * Create a DedicatedHostGroups. + * @param {ComputeManagementClientContext} client Reference to the service client. + */ + constructor(client: ComputeManagementClientContext) { + this.client = client; + } + + /** + * Create or update a dedicated host group. For details of Dedicated Host and Dedicated Host Groups + * please see [Dedicated Host Documentation] (https://go.microsoft.com/fwlink/?linkid=2082596) + * @param resourceGroupName The name of the resource group. + * @param hostGroupName The name of the dedicated host group. + * @param parameters Parameters supplied to the Create Dedicated Host Group. + * @param [options] The optional parameters + * @returns Promise + */ + createOrUpdate(resourceGroupName: string, hostGroupName: string, parameters: Models.DedicatedHostGroup, options?: msRest.RequestOptionsBase): Promise; + /** + * @param resourceGroupName The name of the resource group. + * @param hostGroupName The name of the dedicated host group. + * @param parameters Parameters supplied to the Create Dedicated Host Group. + * @param callback The callback + */ + createOrUpdate(resourceGroupName: string, hostGroupName: string, parameters: Models.DedicatedHostGroup, callback: msRest.ServiceCallback): void; + /** + * @param resourceGroupName The name of the resource group. + * @param hostGroupName The name of the dedicated host group. + * @param parameters Parameters supplied to the Create Dedicated Host Group. + * @param options The optional parameters + * @param callback The callback + */ + createOrUpdate(resourceGroupName: string, hostGroupName: string, parameters: Models.DedicatedHostGroup, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + createOrUpdate(resourceGroupName: string, hostGroupName: string, parameters: Models.DedicatedHostGroup, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + resourceGroupName, + hostGroupName, + parameters, + options + }, + createOrUpdateOperationSpec, + callback) as Promise; + } + + /** + * Update an dedicated host group. + * @param resourceGroupName The name of the resource group. + * @param hostGroupName The name of the dedicated host group. + * @param parameters Parameters supplied to the Update Dedicated Host Group operation. + * @param [options] The optional parameters + * @returns Promise + */ + update(resourceGroupName: string, hostGroupName: string, parameters: Models.DedicatedHostGroupUpdate, options?: msRest.RequestOptionsBase): Promise; + /** + * @param resourceGroupName The name of the resource group. + * @param hostGroupName The name of the dedicated host group. + * @param parameters Parameters supplied to the Update Dedicated Host Group operation. + * @param callback The callback + */ + update(resourceGroupName: string, hostGroupName: string, parameters: Models.DedicatedHostGroupUpdate, callback: msRest.ServiceCallback): void; + /** + * @param resourceGroupName The name of the resource group. + * @param hostGroupName The name of the dedicated host group. + * @param parameters Parameters supplied to the Update Dedicated Host Group operation. + * @param options The optional parameters + * @param callback The callback + */ + update(resourceGroupName: string, hostGroupName: string, parameters: Models.DedicatedHostGroupUpdate, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + update(resourceGroupName: string, hostGroupName: string, parameters: Models.DedicatedHostGroupUpdate, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + resourceGroupName, + hostGroupName, + parameters, + options + }, + updateOperationSpec, + callback) as Promise; + } + + /** + * Delete a dedicated host group. + * @param resourceGroupName The name of the resource group. + * @param hostGroupName The name of the dedicated host group. + * @param [options] The optional parameters + * @returns Promise + */ + deleteMethod(resourceGroupName: string, hostGroupName: string, options?: msRest.RequestOptionsBase): Promise; + /** + * @param resourceGroupName The name of the resource group. + * @param hostGroupName The name of the dedicated host group. + * @param callback The callback + */ + deleteMethod(resourceGroupName: string, hostGroupName: string, callback: msRest.ServiceCallback): void; + /** + * @param resourceGroupName The name of the resource group. + * @param hostGroupName The name of the dedicated host group. + * @param options The optional parameters + * @param callback The callback + */ + deleteMethod(resourceGroupName: string, hostGroupName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + deleteMethod(resourceGroupName: string, hostGroupName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + resourceGroupName, + hostGroupName, + options + }, + deleteMethodOperationSpec, + callback); + } + + /** + * Retrieves information about a dedicated host group. + * @param resourceGroupName The name of the resource group. + * @param hostGroupName The name of the dedicated host group. + * @param [options] The optional parameters + * @returns Promise + */ + get(resourceGroupName: string, hostGroupName: string, options?: msRest.RequestOptionsBase): Promise; + /** + * @param resourceGroupName The name of the resource group. + * @param hostGroupName The name of the dedicated host group. + * @param callback The callback + */ + get(resourceGroupName: string, hostGroupName: string, callback: msRest.ServiceCallback): void; + /** + * @param resourceGroupName The name of the resource group. + * @param hostGroupName The name of the dedicated host group. + * @param options The optional parameters + * @param callback The callback + */ + get(resourceGroupName: string, hostGroupName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + get(resourceGroupName: string, hostGroupName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + resourceGroupName, + hostGroupName, + options + }, + getOperationSpec, + callback) as Promise; + } + + /** + * Lists all of the dedicated host groups in the specified resource group. Use the nextLink + * property in the response to get the next page of dedicated host groups. + * @param resourceGroupName The name of the resource group. + * @param [options] The optional parameters + * @returns Promise + */ + listByResourceGroup(resourceGroupName: string, options?: msRest.RequestOptionsBase): Promise; + /** + * @param resourceGroupName The name of the resource group. + * @param callback The callback + */ + listByResourceGroup(resourceGroupName: string, callback: msRest.ServiceCallback): void; + /** + * @param resourceGroupName The name of the resource group. + * @param options The optional parameters + * @param callback The callback + */ + listByResourceGroup(resourceGroupName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + listByResourceGroup(resourceGroupName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + resourceGroupName, + options + }, + listByResourceGroupOperationSpec, + callback) as Promise; + } + + /** + * Lists all of the dedicated host groups in the subscription. Use the nextLink property in the + * response to get the next page of dedicated host groups. + * @param [options] The optional parameters + * @returns Promise + */ + listBySubscription(options?: msRest.RequestOptionsBase): Promise; + /** + * @param callback The callback + */ + listBySubscription(callback: msRest.ServiceCallback): void; + /** + * @param options The optional parameters + * @param callback The callback + */ + listBySubscription(options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + listBySubscription(options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + options + }, + listBySubscriptionOperationSpec, + callback) as Promise; + } + + /** + * Lists all of the dedicated host groups in the specified resource group. Use the nextLink + * property in the response to get the next page of dedicated host groups. + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @param [options] The optional parameters + * @returns Promise + */ + listByResourceGroupNext(nextPageLink: string, options?: msRest.RequestOptionsBase): Promise; + /** + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @param callback The callback + */ + listByResourceGroupNext(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 + */ + listByResourceGroupNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + listByResourceGroupNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + nextPageLink, + options + }, + listByResourceGroupNextOperationSpec, + callback) as Promise; + } + + /** + * Lists all of the dedicated host groups in the subscription. Use the nextLink property in the + * response to get the next page of dedicated host groups. + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @param [options] The optional parameters + * @returns Promise + */ + listBySubscriptionNext(nextPageLink: string, options?: msRest.RequestOptionsBase): Promise; + /** + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @param callback The callback + */ + listBySubscriptionNext(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 + */ + listBySubscriptionNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + listBySubscriptionNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + nextPageLink, + options + }, + listBySubscriptionNextOperationSpec, + callback) as Promise; + } +} + +// Operation Specifications +const serializer = new msRest.Serializer(Mappers); +const createOrUpdateOperationSpec: msRest.OperationSpec = { + httpMethod: "PUT", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/hostGroups/{hostGroupName}", + urlParameters: [ + Parameters.resourceGroupName, + Parameters.hostGroupName, + Parameters.subscriptionId + ], + queryParameters: [ + Parameters.apiVersion0 + ], + headerParameters: [ + Parameters.acceptLanguage + ], + requestBody: { + parameterPath: "parameters", + mapper: { + ...Mappers.DedicatedHostGroup, + required: true + } + }, + responses: { + 200: { + bodyMapper: Mappers.DedicatedHostGroup + }, + 201: { + bodyMapper: Mappers.DedicatedHostGroup + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + +const updateOperationSpec: msRest.OperationSpec = { + httpMethod: "PATCH", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/hostGroups/{hostGroupName}", + urlParameters: [ + Parameters.resourceGroupName, + Parameters.hostGroupName, + Parameters.subscriptionId + ], + queryParameters: [ + Parameters.apiVersion0 + ], + headerParameters: [ + Parameters.acceptLanguage + ], + requestBody: { + parameterPath: "parameters", + mapper: { + ...Mappers.DedicatedHostGroupUpdate, + required: true + } + }, + responses: { + 200: { + bodyMapper: Mappers.DedicatedHostGroup + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + +const deleteMethodOperationSpec: msRest.OperationSpec = { + httpMethod: "DELETE", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/hostGroups/{hostGroupName}", + urlParameters: [ + Parameters.resourceGroupName, + Parameters.hostGroupName, + Parameters.subscriptionId + ], + queryParameters: [ + Parameters.apiVersion0 + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: {}, + 204: {}, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + +const getOperationSpec: msRest.OperationSpec = { + httpMethod: "GET", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/hostGroups/{hostGroupName}", + urlParameters: [ + Parameters.resourceGroupName, + Parameters.hostGroupName, + Parameters.subscriptionId + ], + queryParameters: [ + Parameters.apiVersion0 + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: { + bodyMapper: Mappers.DedicatedHostGroup + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + +const listByResourceGroupOperationSpec: msRest.OperationSpec = { + httpMethod: "GET", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/hostGroups", + urlParameters: [ + Parameters.resourceGroupName, + Parameters.subscriptionId + ], + queryParameters: [ + Parameters.apiVersion0 + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: { + bodyMapper: Mappers.DedicatedHostGroupListResult + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + +const listBySubscriptionOperationSpec: msRest.OperationSpec = { + httpMethod: "GET", + path: "subscriptions/{subscriptionId}/providers/Microsoft.Compute/hostGroups", + urlParameters: [ + Parameters.subscriptionId + ], + queryParameters: [ + Parameters.apiVersion0 + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: { + bodyMapper: Mappers.DedicatedHostGroupListResult + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + +const listByResourceGroupNextOperationSpec: msRest.OperationSpec = { + httpMethod: "GET", + baseUrl: "https://management.azure.com", + path: "{nextLink}", + urlParameters: [ + Parameters.nextPageLink + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: { + bodyMapper: Mappers.DedicatedHostGroupListResult + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + +const listBySubscriptionNextOperationSpec: msRest.OperationSpec = { + httpMethod: "GET", + baseUrl: "https://management.azure.com", + path: "{nextLink}", + urlParameters: [ + Parameters.nextPageLink + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: { + bodyMapper: Mappers.DedicatedHostGroupListResult + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; diff --git a/sdk/compute/arm-compute/src/operations/dedicatedHosts.ts b/sdk/compute/arm-compute/src/operations/dedicatedHosts.ts new file mode 100644 index 000000000000..6f4b69dee8c4 --- /dev/null +++ b/sdk/compute/arm-compute/src/operations/dedicatedHosts.ts @@ -0,0 +1,402 @@ +/* + * Copyright (c) Microsoft Corporation. All rights reserved. + * Licensed under the MIT License. See License.txt in the project root for + * license information. + * + * 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/dedicatedHostsMappers"; +import * as Parameters from "../models/parameters"; +import { ComputeManagementClientContext } from "../computeManagementClientContext"; + +/** Class representing a DedicatedHosts. */ +export class DedicatedHosts { + private readonly client: ComputeManagementClientContext; + + /** + * Create a DedicatedHosts. + * @param {ComputeManagementClientContext} client Reference to the service client. + */ + constructor(client: ComputeManagementClientContext) { + this.client = client; + } + + /** + * Create or update a dedicated host . + * @param resourceGroupName The name of the resource group. + * @param hostGroupName The name of the dedicated host group. + * @param hostName The name of the dedicated host . + * @param parameters Parameters supplied to the Create Dedicated Host. + * @param [options] The optional parameters + * @returns Promise + */ + createOrUpdate(resourceGroupName: string, hostGroupName: string, hostName: string, parameters: Models.DedicatedHost, options?: msRest.RequestOptionsBase): Promise { + return this.beginCreateOrUpdate(resourceGroupName,hostGroupName,hostName,parameters,options) + .then(lroPoller => lroPoller.pollUntilFinished()) as Promise; + } + + /** + * Update an dedicated host . + * @param resourceGroupName The name of the resource group. + * @param hostGroupName The name of the dedicated host group. + * @param hostName The name of the dedicated host . + * @param parameters Parameters supplied to the Update Dedicated Host operation. + * @param [options] The optional parameters + * @returns Promise + */ + update(resourceGroupName: string, hostGroupName: string, hostName: string, parameters: Models.DedicatedHostUpdate, options?: msRest.RequestOptionsBase): Promise { + return this.beginUpdate(resourceGroupName,hostGroupName,hostName,parameters,options) + .then(lroPoller => lroPoller.pollUntilFinished()) as Promise; + } + + /** + * Delete a dedicated host. + * @param resourceGroupName The name of the resource group. + * @param hostGroupName The name of the dedicated host group. + * @param hostName The name of the dedicated host. + * @param [options] The optional parameters + * @returns Promise + */ + deleteMethod(resourceGroupName: string, hostGroupName: string, hostName: string, options?: msRest.RequestOptionsBase): Promise { + return this.beginDeleteMethod(resourceGroupName,hostGroupName,hostName,options) + .then(lroPoller => lroPoller.pollUntilFinished()); + } + + /** + * Retrieves information about a dedicated host. + * @param resourceGroupName The name of the resource group. + * @param hostGroupName The name of the dedicated host group. + * @param hostName The name of the dedicated host. + * @param [options] The optional parameters + * @returns Promise + */ + get(resourceGroupName: string, hostGroupName: string, hostName: string, options?: Models.DedicatedHostsGetOptionalParams): Promise; + /** + * @param resourceGroupName The name of the resource group. + * @param hostGroupName The name of the dedicated host group. + * @param hostName The name of the dedicated host. + * @param callback The callback + */ + get(resourceGroupName: string, hostGroupName: string, hostName: string, callback: msRest.ServiceCallback): void; + /** + * @param resourceGroupName The name of the resource group. + * @param hostGroupName The name of the dedicated host group. + * @param hostName The name of the dedicated host. + * @param options The optional parameters + * @param callback The callback + */ + get(resourceGroupName: string, hostGroupName: string, hostName: string, options: Models.DedicatedHostsGetOptionalParams, callback: msRest.ServiceCallback): void; + get(resourceGroupName: string, hostGroupName: string, hostName: string, options?: Models.DedicatedHostsGetOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + resourceGroupName, + hostGroupName, + hostName, + options + }, + getOperationSpec, + callback) as Promise; + } + + /** + * Lists all of the dedicated hosts in the specified dedicated host group. Use the nextLink + * property in the response to get the next page of dedicated hosts. + * @param resourceGroupName The name of the resource group. + * @param hostGroupName The name of the dedicated host group. + * @param [options] The optional parameters + * @returns Promise + */ + listByHostGroup(resourceGroupName: string, hostGroupName: string, options?: msRest.RequestOptionsBase): Promise; + /** + * @param resourceGroupName The name of the resource group. + * @param hostGroupName The name of the dedicated host group. + * @param callback The callback + */ + listByHostGroup(resourceGroupName: string, hostGroupName: string, callback: msRest.ServiceCallback): void; + /** + * @param resourceGroupName The name of the resource group. + * @param hostGroupName The name of the dedicated host group. + * @param options The optional parameters + * @param callback The callback + */ + listByHostGroup(resourceGroupName: string, hostGroupName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + listByHostGroup(resourceGroupName: string, hostGroupName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + resourceGroupName, + hostGroupName, + options + }, + listByHostGroupOperationSpec, + callback) as Promise; + } + + /** + * Create or update a dedicated host . + * @param resourceGroupName The name of the resource group. + * @param hostGroupName The name of the dedicated host group. + * @param hostName The name of the dedicated host . + * @param parameters Parameters supplied to the Create Dedicated Host. + * @param [options] The optional parameters + * @returns Promise + */ + beginCreateOrUpdate(resourceGroupName: string, hostGroupName: string, hostName: string, parameters: Models.DedicatedHost, options?: msRest.RequestOptionsBase): Promise { + return this.client.sendLRORequest( + { + resourceGroupName, + hostGroupName, + hostName, + parameters, + options + }, + beginCreateOrUpdateOperationSpec, + options); + } + + /** + * Update an dedicated host . + * @param resourceGroupName The name of the resource group. + * @param hostGroupName The name of the dedicated host group. + * @param hostName The name of the dedicated host . + * @param parameters Parameters supplied to the Update Dedicated Host operation. + * @param [options] The optional parameters + * @returns Promise + */ + beginUpdate(resourceGroupName: string, hostGroupName: string, hostName: string, parameters: Models.DedicatedHostUpdate, options?: msRest.RequestOptionsBase): Promise { + return this.client.sendLRORequest( + { + resourceGroupName, + hostGroupName, + hostName, + parameters, + options + }, + beginUpdateOperationSpec, + options); + } + + /** + * Delete a dedicated host. + * @param resourceGroupName The name of the resource group. + * @param hostGroupName The name of the dedicated host group. + * @param hostName The name of the dedicated host. + * @param [options] The optional parameters + * @returns Promise + */ + beginDeleteMethod(resourceGroupName: string, hostGroupName: string, hostName: string, options?: msRest.RequestOptionsBase): Promise { + return this.client.sendLRORequest( + { + resourceGroupName, + hostGroupName, + hostName, + options + }, + beginDeleteMethodOperationSpec, + options); + } + + /** + * Lists all of the dedicated hosts in the specified dedicated host group. Use the nextLink + * property in the response to get the next page of dedicated hosts. + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @param [options] The optional parameters + * @returns Promise + */ + listByHostGroupNext(nextPageLink: string, options?: msRest.RequestOptionsBase): Promise; + /** + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @param callback The callback + */ + listByHostGroupNext(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 + */ + listByHostGroupNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + listByHostGroupNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + nextPageLink, + options + }, + listByHostGroupNextOperationSpec, + 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/hostGroups/{hostGroupName}/hosts/{hostName}", + urlParameters: [ + Parameters.resourceGroupName, + Parameters.hostGroupName, + Parameters.hostName, + Parameters.subscriptionId + ], + queryParameters: [ + Parameters.expand0, + Parameters.apiVersion0 + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: { + bodyMapper: Mappers.DedicatedHost + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + +const listByHostGroupOperationSpec: msRest.OperationSpec = { + httpMethod: "GET", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/hostGroups/{hostGroupName}/hosts", + urlParameters: [ + Parameters.resourceGroupName, + Parameters.hostGroupName, + Parameters.subscriptionId + ], + queryParameters: [ + Parameters.apiVersion0 + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: { + bodyMapper: Mappers.DedicatedHostListResult + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + +const beginCreateOrUpdateOperationSpec: msRest.OperationSpec = { + httpMethod: "PUT", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/hostGroups/{hostGroupName}/hosts/{hostName}", + urlParameters: [ + Parameters.resourceGroupName, + Parameters.hostGroupName, + Parameters.hostName, + Parameters.subscriptionId + ], + queryParameters: [ + Parameters.apiVersion0 + ], + headerParameters: [ + Parameters.acceptLanguage + ], + requestBody: { + parameterPath: "parameters", + mapper: { + ...Mappers.DedicatedHost, + required: true + } + }, + responses: { + 200: { + bodyMapper: Mappers.DedicatedHost + }, + 201: { + bodyMapper: Mappers.DedicatedHost + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + +const beginUpdateOperationSpec: msRest.OperationSpec = { + httpMethod: "PATCH", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/hostGroups/{hostGroupName}/hosts/{hostName}", + urlParameters: [ + Parameters.resourceGroupName, + Parameters.hostGroupName, + Parameters.hostName, + Parameters.subscriptionId + ], + queryParameters: [ + Parameters.apiVersion0 + ], + headerParameters: [ + Parameters.acceptLanguage + ], + requestBody: { + parameterPath: "parameters", + mapper: { + ...Mappers.DedicatedHostUpdate, + required: true + } + }, + responses: { + 200: { + bodyMapper: Mappers.DedicatedHost + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + +const beginDeleteMethodOperationSpec: msRest.OperationSpec = { + httpMethod: "DELETE", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/hostGroups/{hostGroupName}/hosts/{hostName}", + urlParameters: [ + Parameters.resourceGroupName, + Parameters.hostGroupName, + Parameters.hostName, + Parameters.subscriptionId + ], + queryParameters: [ + Parameters.apiVersion0 + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: {}, + 202: {}, + 204: {}, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + +const listByHostGroupNextOperationSpec: msRest.OperationSpec = { + httpMethod: "GET", + baseUrl: "https://management.azure.com", + path: "{nextLink}", + urlParameters: [ + Parameters.nextPageLink + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: { + bodyMapper: Mappers.DedicatedHostListResult + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; diff --git a/sdk/compute/arm-compute/src/operations/galleries.ts b/sdk/compute/arm-compute/src/operations/galleries.ts index bf566595c4a2..3ed0099d5551 100644 --- a/sdk/compute/arm-compute/src/operations/galleries.ts +++ b/sdk/compute/arm-compute/src/operations/galleries.ts @@ -244,7 +244,7 @@ const getOperationSpec: msRest.OperationSpec = { Parameters.galleryName ], queryParameters: [ - Parameters.apiVersion0 + Parameters.apiVersion3 ], headerParameters: [ Parameters.acceptLanguage @@ -268,7 +268,7 @@ const listByResourceGroupOperationSpec: msRest.OperationSpec = { Parameters.resourceGroupName ], queryParameters: [ - Parameters.apiVersion0 + Parameters.apiVersion3 ], headerParameters: [ Parameters.acceptLanguage @@ -291,7 +291,7 @@ const listOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion0 + Parameters.apiVersion3 ], headerParameters: [ Parameters.acceptLanguage @@ -316,7 +316,7 @@ const beginCreateOrUpdateOperationSpec: msRest.OperationSpec = { Parameters.galleryName ], queryParameters: [ - Parameters.apiVersion0 + Parameters.apiVersion3 ], headerParameters: [ Parameters.acceptLanguage @@ -354,7 +354,7 @@ const beginDeleteMethodOperationSpec: msRest.OperationSpec = { Parameters.galleryName ], queryParameters: [ - Parameters.apiVersion0 + 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 02c415f95c6e..439c5e351734 100644 --- a/sdk/compute/arm-compute/src/operations/galleryImageVersions.ts +++ b/sdk/compute/arm-compute/src/operations/galleryImageVersions.ts @@ -236,8 +236,8 @@ const getOperationSpec: msRest.OperationSpec = { Parameters.galleryImageVersionName ], queryParameters: [ - Parameters.expand0, - Parameters.apiVersion0 + Parameters.expand1, + Parameters.apiVersion3 ], headerParameters: [ Parameters.acceptLanguage @@ -263,7 +263,7 @@ const listByGalleryImageOperationSpec: msRest.OperationSpec = { Parameters.galleryImageName ], queryParameters: [ - Parameters.apiVersion0 + Parameters.apiVersion3 ], headerParameters: [ Parameters.acceptLanguage @@ -290,7 +290,7 @@ const beginCreateOrUpdateOperationSpec: msRest.OperationSpec = { Parameters.galleryImageVersionName ], queryParameters: [ - Parameters.apiVersion0 + Parameters.apiVersion3 ], headerParameters: [ Parameters.acceptLanguage @@ -330,7 +330,7 @@ const beginDeleteMethodOperationSpec: msRest.OperationSpec = { Parameters.galleryImageVersionName ], queryParameters: [ - Parameters.apiVersion0 + 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 1205d3f7d769..b951008c54f7 100644 --- a/sdk/compute/arm-compute/src/operations/galleryImages.ts +++ b/sdk/compute/arm-compute/src/operations/galleryImages.ts @@ -219,7 +219,7 @@ const getOperationSpec: msRest.OperationSpec = { Parameters.galleryImageName ], queryParameters: [ - Parameters.apiVersion0 + Parameters.apiVersion3 ], headerParameters: [ Parameters.acceptLanguage @@ -244,7 +244,7 @@ const listByGalleryOperationSpec: msRest.OperationSpec = { Parameters.galleryName ], queryParameters: [ - Parameters.apiVersion0 + Parameters.apiVersion3 ], headerParameters: [ Parameters.acceptLanguage @@ -270,7 +270,7 @@ const beginCreateOrUpdateOperationSpec: msRest.OperationSpec = { Parameters.galleryImageName ], queryParameters: [ - Parameters.apiVersion0 + Parameters.apiVersion3 ], headerParameters: [ Parameters.acceptLanguage @@ -309,7 +309,7 @@ const beginDeleteMethodOperationSpec: msRest.OperationSpec = { Parameters.galleryImageName ], queryParameters: [ - Parameters.apiVersion0 + 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..db6ade10fbf7 100644 --- a/sdk/compute/arm-compute/src/operations/images.ts +++ b/sdk/compute/arm-compute/src/operations/images.ts @@ -277,7 +277,7 @@ const getOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.expand0, + Parameters.expand1, Parameters.apiVersion0 ], headerParameters: [ diff --git a/sdk/compute/arm-compute/src/operations/index.ts b/sdk/compute/arm-compute/src/operations/index.ts index 1821b058d12d..4af74520b9ea 100644 --- a/sdk/compute/arm-compute/src/operations/index.ts +++ b/sdk/compute/arm-compute/src/operations/index.ts @@ -10,6 +10,9 @@ export * from "./operations"; export * from "./availabilitySets"; +export * from "./proximityPlacementGroups"; +export * from "./dedicatedHostGroups"; +export * from "./dedicatedHosts"; export * from "./virtualMachineExtensionImages"; export * from "./virtualMachineExtensions"; export * from "./virtualMachineImages"; @@ -20,7 +23,6 @@ export * from "./images"; export * from "./virtualMachineScaleSets"; export * from "./virtualMachineScaleSetExtensions"; export * from "./virtualMachineScaleSetRollingUpgrades"; -export * from "./virtualMachineScaleSetOperations"; export * from "./virtualMachineScaleSetVMs"; export * from "./logAnalytics"; export * from "./virtualMachineRunCommands"; diff --git a/sdk/compute/arm-compute/src/operations/proximityPlacementGroups.ts b/sdk/compute/arm-compute/src/operations/proximityPlacementGroups.ts new file mode 100644 index 000000000000..5a5ed3f4bbf0 --- /dev/null +++ b/sdk/compute/arm-compute/src/operations/proximityPlacementGroups.ts @@ -0,0 +1,478 @@ +/* + * Copyright (c) Microsoft Corporation. All rights reserved. + * Licensed under the MIT License. See License.txt in the project root for + * license information. + * + * 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/proximityPlacementGroupsMappers"; +import * as Parameters from "../models/parameters"; +import { ComputeManagementClientContext } from "../computeManagementClientContext"; + +/** Class representing a ProximityPlacementGroups. */ +export class ProximityPlacementGroups { + private readonly client: ComputeManagementClientContext; + + /** + * Create a ProximityPlacementGroups. + * @param {ComputeManagementClientContext} client Reference to the service client. + */ + constructor(client: ComputeManagementClientContext) { + this.client = client; + } + + /** + * Create or update a proximity placement group. + * @param resourceGroupName The name of the resource group. + * @param proximityPlacementGroupName The name of the proximity placement group. + * @param parameters Parameters supplied to the Create Proximity Placement Group operation. + * @param [options] The optional parameters + * @returns Promise + */ + createOrUpdate(resourceGroupName: string, proximityPlacementGroupName: string, parameters: Models.ProximityPlacementGroup, options?: msRest.RequestOptionsBase): Promise; + /** + * @param resourceGroupName The name of the resource group. + * @param proximityPlacementGroupName The name of the proximity placement group. + * @param parameters Parameters supplied to the Create Proximity Placement Group operation. + * @param callback The callback + */ + createOrUpdate(resourceGroupName: string, proximityPlacementGroupName: string, parameters: Models.ProximityPlacementGroup, callback: msRest.ServiceCallback): void; + /** + * @param resourceGroupName The name of the resource group. + * @param proximityPlacementGroupName The name of the proximity placement group. + * @param parameters Parameters supplied to the Create Proximity Placement Group operation. + * @param options The optional parameters + * @param callback The callback + */ + createOrUpdate(resourceGroupName: string, proximityPlacementGroupName: string, parameters: Models.ProximityPlacementGroup, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + createOrUpdate(resourceGroupName: string, proximityPlacementGroupName: string, parameters: Models.ProximityPlacementGroup, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + resourceGroupName, + proximityPlacementGroupName, + parameters, + options + }, + createOrUpdateOperationSpec, + callback) as Promise; + } + + /** + * Update a proximity placement group. + * @param resourceGroupName The name of the resource group. + * @param proximityPlacementGroupName The name of the proximity placement group. + * @param parameters Parameters supplied to the Update Proximity Placement Group operation. + * @param [options] The optional parameters + * @returns Promise + */ + update(resourceGroupName: string, proximityPlacementGroupName: string, parameters: Models.ProximityPlacementGroupUpdate, options?: msRest.RequestOptionsBase): Promise; + /** + * @param resourceGroupName The name of the resource group. + * @param proximityPlacementGroupName The name of the proximity placement group. + * @param parameters Parameters supplied to the Update Proximity Placement Group operation. + * @param callback The callback + */ + update(resourceGroupName: string, proximityPlacementGroupName: string, parameters: Models.ProximityPlacementGroupUpdate, callback: msRest.ServiceCallback): void; + /** + * @param resourceGroupName The name of the resource group. + * @param proximityPlacementGroupName The name of the proximity placement group. + * @param parameters Parameters supplied to the Update Proximity Placement Group operation. + * @param options The optional parameters + * @param callback The callback + */ + update(resourceGroupName: string, proximityPlacementGroupName: string, parameters: Models.ProximityPlacementGroupUpdate, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + update(resourceGroupName: string, proximityPlacementGroupName: string, parameters: Models.ProximityPlacementGroupUpdate, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + resourceGroupName, + proximityPlacementGroupName, + parameters, + options + }, + updateOperationSpec, + callback) as Promise; + } + + /** + * Delete a proximity placement group. + * @param resourceGroupName The name of the resource group. + * @param proximityPlacementGroupName The name of the proximity placement group. + * @param [options] The optional parameters + * @returns Promise + */ + deleteMethod(resourceGroupName: string, proximityPlacementGroupName: string, options?: msRest.RequestOptionsBase): Promise; + /** + * @param resourceGroupName The name of the resource group. + * @param proximityPlacementGroupName The name of the proximity placement group. + * @param callback The callback + */ + deleteMethod(resourceGroupName: string, proximityPlacementGroupName: string, callback: msRest.ServiceCallback): void; + /** + * @param resourceGroupName The name of the resource group. + * @param proximityPlacementGroupName The name of the proximity placement group. + * @param options The optional parameters + * @param callback The callback + */ + deleteMethod(resourceGroupName: string, proximityPlacementGroupName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + deleteMethod(resourceGroupName: string, proximityPlacementGroupName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + resourceGroupName, + proximityPlacementGroupName, + options + }, + deleteMethodOperationSpec, + callback); + } + + /** + * Retrieves information about a proximity placement group . + * @param resourceGroupName The name of the resource group. + * @param proximityPlacementGroupName The name of the proximity placement group. + * @param [options] The optional parameters + * @returns Promise + */ + get(resourceGroupName: string, proximityPlacementGroupName: string, options?: msRest.RequestOptionsBase): Promise; + /** + * @param resourceGroupName The name of the resource group. + * @param proximityPlacementGroupName The name of the proximity placement group. + * @param callback The callback + */ + get(resourceGroupName: string, proximityPlacementGroupName: string, callback: msRest.ServiceCallback): void; + /** + * @param resourceGroupName The name of the resource group. + * @param proximityPlacementGroupName The name of the proximity placement group. + * @param options The optional parameters + * @param callback The callback + */ + get(resourceGroupName: string, proximityPlacementGroupName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + get(resourceGroupName: string, proximityPlacementGroupName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + resourceGroupName, + proximityPlacementGroupName, + options + }, + getOperationSpec, + callback) as Promise; + } + + /** + * Lists all proximity placement groups in a subscription. + * @param [options] The optional parameters + * @returns Promise + */ + listBySubscription(options?: msRest.RequestOptionsBase): Promise; + /** + * @param callback The callback + */ + listBySubscription(callback: msRest.ServiceCallback): void; + /** + * @param options The optional parameters + * @param callback The callback + */ + listBySubscription(options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + listBySubscription(options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + options + }, + listBySubscriptionOperationSpec, + callback) as Promise; + } + + /** + * Lists all proximity placement groups in a resource group. + * @param resourceGroupName The name of the resource group. + * @param [options] The optional parameters + * @returns Promise + */ + listByResourceGroup(resourceGroupName: string, options?: msRest.RequestOptionsBase): Promise; + /** + * @param resourceGroupName The name of the resource group. + * @param callback The callback + */ + listByResourceGroup(resourceGroupName: string, callback: msRest.ServiceCallback): void; + /** + * @param resourceGroupName The name of the resource group. + * @param options The optional parameters + * @param callback The callback + */ + listByResourceGroup(resourceGroupName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + listByResourceGroup(resourceGroupName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + resourceGroupName, + options + }, + listByResourceGroupOperationSpec, + callback) as Promise; + } + + /** + * Lists all proximity placement groups in a subscription. + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @param [options] The optional parameters + * @returns Promise + */ + listBySubscriptionNext(nextPageLink: string, options?: msRest.RequestOptionsBase): Promise; + /** + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @param callback The callback + */ + listBySubscriptionNext(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 + */ + listBySubscriptionNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + listBySubscriptionNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + nextPageLink, + options + }, + listBySubscriptionNextOperationSpec, + callback) as Promise; + } + + /** + * Lists all proximity placement groups in a resource group. + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @param [options] The optional parameters + * @returns Promise + */ + listByResourceGroupNext(nextPageLink: string, options?: msRest.RequestOptionsBase): Promise; + /** + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @param callback The callback + */ + listByResourceGroupNext(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 + */ + listByResourceGroupNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + listByResourceGroupNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + nextPageLink, + options + }, + listByResourceGroupNextOperationSpec, + callback) as Promise; + } +} + +// Operation Specifications +const serializer = new msRest.Serializer(Mappers); +const createOrUpdateOperationSpec: msRest.OperationSpec = { + httpMethod: "PUT", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/proximityPlacementGroups/{proximityPlacementGroupName}", + urlParameters: [ + Parameters.resourceGroupName, + Parameters.proximityPlacementGroupName, + Parameters.subscriptionId + ], + queryParameters: [ + Parameters.apiVersion0 + ], + headerParameters: [ + Parameters.acceptLanguage + ], + requestBody: { + parameterPath: "parameters", + mapper: { + ...Mappers.ProximityPlacementGroup, + required: true + } + }, + responses: { + 200: { + bodyMapper: Mappers.ProximityPlacementGroup + }, + 201: { + bodyMapper: Mappers.ProximityPlacementGroup + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + +const updateOperationSpec: msRest.OperationSpec = { + httpMethod: "PATCH", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/proximityPlacementGroups/{proximityPlacementGroupName}", + urlParameters: [ + Parameters.resourceGroupName, + Parameters.proximityPlacementGroupName, + Parameters.subscriptionId + ], + queryParameters: [ + Parameters.apiVersion0 + ], + headerParameters: [ + Parameters.acceptLanguage + ], + requestBody: { + parameterPath: "parameters", + mapper: { + ...Mappers.ProximityPlacementGroupUpdate, + required: true + } + }, + responses: { + 200: { + bodyMapper: Mappers.ProximityPlacementGroup + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + +const deleteMethodOperationSpec: msRest.OperationSpec = { + httpMethod: "DELETE", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/proximityPlacementGroups/{proximityPlacementGroupName}", + urlParameters: [ + Parameters.resourceGroupName, + Parameters.proximityPlacementGroupName, + Parameters.subscriptionId + ], + queryParameters: [ + Parameters.apiVersion0 + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: {}, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + +const getOperationSpec: msRest.OperationSpec = { + httpMethod: "GET", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/proximityPlacementGroups/{proximityPlacementGroupName}", + urlParameters: [ + Parameters.resourceGroupName, + Parameters.proximityPlacementGroupName, + Parameters.subscriptionId + ], + queryParameters: [ + Parameters.apiVersion0 + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: { + bodyMapper: Mappers.ProximityPlacementGroup + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + +const listBySubscriptionOperationSpec: msRest.OperationSpec = { + httpMethod: "GET", + path: "subscriptions/{subscriptionId}/providers/Microsoft.Compute/proximityPlacementGroups", + urlParameters: [ + Parameters.subscriptionId + ], + queryParameters: [ + Parameters.apiVersion0 + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: { + bodyMapper: Mappers.ProximityPlacementGroupListResult + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + +const listByResourceGroupOperationSpec: msRest.OperationSpec = { + httpMethod: "GET", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/proximityPlacementGroups", + urlParameters: [ + Parameters.resourceGroupName, + Parameters.subscriptionId + ], + queryParameters: [ + Parameters.apiVersion0 + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: { + bodyMapper: Mappers.ProximityPlacementGroupListResult + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + +const listBySubscriptionNextOperationSpec: msRest.OperationSpec = { + httpMethod: "GET", + baseUrl: "https://management.azure.com", + path: "{nextLink}", + urlParameters: [ + Parameters.nextPageLink + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: { + bodyMapper: Mappers.ProximityPlacementGroupListResult + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + +const listByResourceGroupNextOperationSpec: msRest.OperationSpec = { + httpMethod: "GET", + baseUrl: "https://management.azure.com", + path: "{nextLink}", + urlParameters: [ + Parameters.nextPageLink + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: { + bodyMapper: Mappers.ProximityPlacementGroupListResult + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; diff --git a/sdk/compute/arm-compute/src/operations/virtualMachineExtensions.ts b/sdk/compute/arm-compute/src/operations/virtualMachineExtensions.ts index 289e3d3134e9..97c97b72adf0 100644 --- a/sdk/compute/arm-compute/src/operations/virtualMachineExtensions.ts +++ b/sdk/compute/arm-compute/src/operations/virtualMachineExtensions.ts @@ -217,7 +217,7 @@ const getOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.expand0, + Parameters.expand1, Parameters.apiVersion0 ], headerParameters: [ @@ -243,7 +243,7 @@ const listOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.expand0, + Parameters.expand1, Parameters.apiVersion0 ], headerParameters: [ diff --git a/sdk/compute/arm-compute/src/operations/virtualMachineScaleSetExtensions.ts b/sdk/compute/arm-compute/src/operations/virtualMachineScaleSetExtensions.ts index ede0b80fda8d..f2671c9c93cb 100644 --- a/sdk/compute/arm-compute/src/operations/virtualMachineScaleSetExtensions.ts +++ b/sdk/compute/arm-compute/src/operations/virtualMachineScaleSetExtensions.ts @@ -207,7 +207,7 @@ const getOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.expand0, + Parameters.expand1, Parameters.apiVersion0 ], headerParameters: [ diff --git a/sdk/compute/arm-compute/src/operations/virtualMachineScaleSetVMs.ts b/sdk/compute/arm-compute/src/operations/virtualMachineScaleSetVMs.ts index 158980afb9a6..247b0fdec459 100644 --- a/sdk/compute/arm-compute/src/operations/virtualMachineScaleSetVMs.ts +++ b/sdk/compute/arm-compute/src/operations/virtualMachineScaleSetVMs.ts @@ -105,7 +105,7 @@ export class VirtualMachineScaleSetVMs { * @param [options] The optional parameters * @returns Promise */ - get(resourceGroupName: string, vmScaleSetName: string, instanceId: string, options?: msRest.RequestOptionsBase): Promise; + get(resourceGroupName: string, vmScaleSetName: string, instanceId: string, options?: Models.VirtualMachineScaleSetVMsGetOptionalParams): Promise; /** * @param resourceGroupName The name of the resource group. * @param vmScaleSetName The name of the VM scale set. @@ -120,8 +120,8 @@ export class VirtualMachineScaleSetVMs { * @param options The optional parameters * @param callback The callback */ - get(resourceGroupName: string, vmScaleSetName: string, instanceId: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - get(resourceGroupName: string, vmScaleSetName: string, instanceId: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + get(resourceGroupName: string, vmScaleSetName: string, instanceId: string, options: Models.VirtualMachineScaleSetVMsGetOptionalParams, callback: msRest.ServiceCallback): void; + get(resourceGroupName: string, vmScaleSetName: string, instanceId: string, options?: Models.VirtualMachineScaleSetVMsGetOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -553,6 +553,7 @@ const getOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ + Parameters.expand0, Parameters.apiVersion0 ], headerParameters: [ @@ -606,7 +607,7 @@ const listOperationSpec: msRest.OperationSpec = { queryParameters: [ Parameters.filter, Parameters.select, - Parameters.expand0, + Parameters.expand1, Parameters.apiVersion0 ], headerParameters: [ diff --git a/sdk/compute/arm-compute/src/operations/virtualMachineScaleSets.ts b/sdk/compute/arm-compute/src/operations/virtualMachineScaleSets.ts index e7dfd2b78aff..5aa9dbc78a1b 100644 --- a/sdk/compute/arm-compute/src/operations/virtualMachineScaleSets.ts +++ b/sdk/compute/arm-compute/src/operations/virtualMachineScaleSets.ts @@ -421,6 +421,42 @@ export class VirtualMachineScaleSets { callback) as Promise; } + /** + * Converts SinglePlacementGroup property to false for a existing virtual machine scale set. + * @param resourceGroupName The name of the resource group. + * @param vmScaleSetName The name of the virtual machine scale set to create or update. + * @param parameters The input object for ConvertToSinglePlacementGroup API. + * @param [options] The optional parameters + * @returns Promise + */ + convertToSinglePlacementGroup(resourceGroupName: string, vmScaleSetName: string, parameters: Models.VMScaleSetConvertToSinglePlacementGroupInput, options?: msRest.RequestOptionsBase): Promise; + /** + * @param resourceGroupName The name of the resource group. + * @param vmScaleSetName The name of the virtual machine scale set to create or update. + * @param parameters The input object for ConvertToSinglePlacementGroup API. + * @param callback The callback + */ + convertToSinglePlacementGroup(resourceGroupName: string, vmScaleSetName: string, parameters: Models.VMScaleSetConvertToSinglePlacementGroupInput, callback: msRest.ServiceCallback): void; + /** + * @param resourceGroupName The name of the resource group. + * @param vmScaleSetName The name of the virtual machine scale set to create or update. + * @param parameters The input object for ConvertToSinglePlacementGroup API. + * @param options The optional parameters + * @param callback The callback + */ + convertToSinglePlacementGroup(resourceGroupName: string, vmScaleSetName: string, parameters: Models.VMScaleSetConvertToSinglePlacementGroupInput, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + convertToSinglePlacementGroup(resourceGroupName: string, vmScaleSetName: string, parameters: Models.VMScaleSetConvertToSinglePlacementGroupInput, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + resourceGroupName, + vmScaleSetName, + parameters, + options + }, + convertToSinglePlacementGroupOperationSpec, + callback); + } + /** * Create or update a VM scale set. * @param resourceGroupName The name of the resource group. @@ -964,6 +1000,33 @@ const forceRecoveryServiceFabricPlatformUpdateDomainWalkOperationSpec: msRest.Op serializer }; +const convertToSinglePlacementGroupOperationSpec: msRest.OperationSpec = { + httpMethod: "POST", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}/convertToSinglePlacementGroup", + urlParameters: [ + Parameters.resourceGroupName, + Parameters.vmScaleSetName, + Parameters.subscriptionId + ], + headerParameters: [ + Parameters.acceptLanguage + ], + requestBody: { + parameterPath: "parameters", + mapper: { + ...Mappers.VMScaleSetConvertToSinglePlacementGroupInput, + required: true + } + }, + responses: { + 200: {}, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + const beginCreateOrUpdateOperationSpec: msRest.OperationSpec = { httpMethod: "PUT", path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}", diff --git a/sdk/compute/arm-compute/src/operations/virtualMachines.ts b/sdk/compute/arm-compute/src/operations/virtualMachines.ts index a535ced3f9da..369fc36d833e 100644 --- a/sdk/compute/arm-compute/src/operations/virtualMachines.ts +++ b/sdk/compute/arm-compute/src/operations/virtualMachines.ts @@ -769,7 +769,7 @@ const getOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.expand1, + Parameters.expand0, Parameters.apiVersion0 ], headerParameters: [ diff --git a/sdk/compute/arm-compute/tsconfig.json b/sdk/compute/arm-compute/tsconfig.json index 87bbf5b5fa49..422b584abd5e 100644 --- a/sdk/compute/arm-compute/tsconfig.json +++ b/sdk/compute/arm-compute/tsconfig.json @@ -9,7 +9,7 @@ "esModuleInterop": true, "allowSyntheticDefaultImports": true, "forceConsistentCasingInFileNames": true, - "lib": ["es6"], + "lib": ["es6", "dom"], "declaration": true, "outDir": "./esm", "importHelpers": true From a2f7f35b1393001ac156bf80a3ad0a27cc4a2af8 Mon Sep 17 00:00:00 2001 From: chradek <51000525+chradek@users.noreply.github.com> Date: Wed, 7 Aug 2019 16:55:13 -0700 Subject: [PATCH 16/16] [core] updates core-arm/http/tracing version numbers (#4709) --- common/config/rush/pnpm-lock.yaml | 1007 ++++++++++++++++------------- 1 file changed, 561 insertions(+), 446 deletions(-) diff --git a/common/config/rush/pnpm-lock.yaml b/common/config/rush/pnpm-lock.yaml index fe73d258db05..67aa7bf19e8d 100644 --- a/common/config/rush/pnpm-lock.yaml +++ b/common/config/rush/pnpm-lock.yaml @@ -12,7 +12,7 @@ dependencies: '@azure/logger-js': 1.3.2 '@azure/ms-rest-js': 2.0.4 '@azure/ms-rest-nodeauth': 0.9.3 - '@microsoft/api-extractor': 7.3.8 + '@microsoft/api-extractor': 7.3.5 '@rush-temp/abort-controller': 'file:projects/abort-controller.tgz' '@rush-temp/core-amqp': 'file:projects/core-amqp.tgz' '@rush-temp/core-arm': 'file:projects/core-arm.tgz' @@ -21,6 +21,7 @@ dependencies: '@rush-temp/core-http': 'file:projects/core-http.tgz' '@rush-temp/core-paging': 'file:projects/core-paging.tgz' '@rush-temp/core-tracing': 'file:projects/core-tracing.tgz' + '@rush-temp/cosmos': 'file:projects/cosmos.tgz' '@rush-temp/event-hubs': 'file:projects/event-hubs.tgz' '@rush-temp/event-processor-host': 'file:projects/event-processor-host.tgz' '@rush-temp/identity': 'file:projects/identity.tgz' @@ -35,9 +36,9 @@ dependencies: '@rush-temp/testhub': 'file:projects/testhub.tgz' '@trust/keyto': 0.3.7 '@types/async-lock': 1.1.1 - '@types/chai': 4.2.0 - '@types/chai-as-promised': 7.1.2 - '@types/chai-string': 1.4.2 + '@types/chai': 4.1.7 + '@types/chai-as-promised': 7.1.1 + '@types/chai-string': 1.4.1 '@types/debug': 0.0.31 '@types/dotenv': 6.1.1 '@types/express': 4.17.0 @@ -52,42 +53,49 @@ dependencies: '@types/nise': 1.4.0 '@types/nock': 10.0.3 '@types/node': 8.10.51 + '@types/priorityqueuejs': 1.0.1 '@types/qs': 6.5.3 '@types/query-string': 6.2.0 + '@types/semaphore': 1.1.0 '@types/semver': 5.5.0 '@types/sinon': 7.0.13 '@types/tough-cookie': 2.3.5 '@types/tunnel': 0.0.1 + '@types/underscore': 1.9.2 '@types/uuid': 3.4.5 '@types/webpack': 4.32.1 '@types/webpack-dev-middleware': 2.0.3 '@types/ws': 6.0.2 '@types/xml2js': 0.4.4 '@types/yargs': 13.0.2 - '@typescript-eslint/eslint-plugin': 2.0.0_2597c16b46d7eff3ec2c0c583ca4ae44 - '@typescript-eslint/parser': 2.0.0_eslint@6.1.0 + '@typescript-eslint/eslint-plugin': 1.13.0_0b5e999c52a893676e7127c05369c7b6 + '@typescript-eslint/parser': 1.13.0_eslint@5.16.0 abortcontroller-polyfill: 1.3.0 assert: 1.5.0 async-lock: 1.2.2 axios: 0.19.0 axios-mock-adapter: 1.17.0_axios@0.19.0 azure-storage: 2.10.3 - buffer: 5.4.0 + binary-search-bounds: 2.0.3 + buffer: 5.2.1 chai: 4.2.0 chai-as-promised: 7.1.1_chai@4.2.0 chai-string: 1.5.0_chai@4.2.0 + create-hmac: 1.1.7 cross-env: 5.2.0 death: 1.1.0 debug: 3.2.6 delay: 4.3.0 dotenv: 8.0.0 es6-promise: 4.2.8 - eslint: 6.1.0 - eslint-config-prettier: 6.0.0_eslint@6.1.0 - eslint-plugin-no-null: 1.0.2_eslint@6.1.0 + eslint: 5.16.0 + eslint-config-prettier: 6.0.0_eslint@5.16.0 + eslint-detailed-reporter: 0.8.0_eslint@5.16.0 + eslint-plugin-no-null: 1.0.2_eslint@5.16.0 eslint-plugin-no-only-tests: 2.3.1 eslint-plugin-promise: 4.2.1 events: 3.0.0 + execa: 1.0.0 express: 4.17.1 form-data: 2.5.0 fs-extra: 8.1.0 @@ -101,11 +109,11 @@ dependencies: jws: 3.2.2 karma: 4.2.0 karma-chai: 0.1.0_chai@4.2.0+karma@4.2.0 - karma-chrome-launcher: 3.1.0 + karma-chrome-launcher: 3.0.0 karma-coverage: 1.1.2 karma-edge-launcher: 0.4.2_karma@4.2.0 karma-env-preprocessor: 0.1.1 - karma-firefox-launcher: 1.2.0 + karma-firefox-launcher: 1.1.0 karma-ie-launcher: 1.0.0_karma@4.2.0 karma-json-preprocessor: 0.3.3_karma@4.2.0 karma-json-to-file-reporter: 1.0.1 @@ -116,7 +124,7 @@ dependencies: karma-rollup-preprocessor: 7.0.2_rollup@1.19.4 karma-sourcemap-loader: 0.3.7 karma-typescript-es6-transform: 4.1.1 - karma-webpack: 4.0.2_webpack@4.39.2 + karma-webpack: 4.0.2_webpack@4.39.1 long: 4.0.0 mocha: 5.2.0 mocha-chrome: 2.0.0 @@ -131,14 +139,16 @@ dependencies: nyc: 14.1.1 path-browserify: 1.0.0 prettier: 1.18.2 + priorityqueuejs: 1.0.0 process: 0.11.10 promise: 8.0.3 puppeteer: 1.19.0 qs: 6.7.0 query-string: 5.1.1 + requirejs: 2.3.6 rhea: 1.0.8 rhea-promise: 0.1.15 - rimraf: 2.7.0 + rimraf: 2.6.3 rollup: 1.19.4 rollup-plugin-alias: 1.5.2 rollup-plugin-commonjs: 10.0.2_rollup@1.19.4 @@ -154,11 +164,13 @@ dependencies: rollup-plugin-terser: 5.1.1_rollup@1.19.4 rollup-plugin-uglify: 6.0.2_rollup@1.19.4 rollup-plugin-visualizer: 2.5.4_rollup@1.19.4 - semver: 5.7.1 + semaphore: 1.0.5 + semver: 5.7.0 shx: 0.3.2 sinon: 7.4.1 source-map-support: 0.5.13 stream-browserify: 2.0.2 + stream-http: 2.8.3 tough-cookie: 3.0.1 ts-loader: 6.0.4_typescript@3.5.3 ts-mocha: 6.0.0_mocha@5.2.0 @@ -170,10 +182,10 @@ dependencies: url: 0.11.0 util: 0.12.1 uuid: 3.3.2 - webpack: 4.39.2_webpack@4.39.2 - webpack-cli: 3.3.6_webpack@4.39.2 - webpack-dev-middleware: 3.7.0_webpack@4.39.2 - ws: 7.1.2 + webpack: 4.39.1_webpack@4.39.1 + webpack-cli: 3.3.6_webpack@4.39.1 + webpack-dev-middleware: 3.7.0_webpack@4.39.1 + ws: 7.1.1 xhr-mock: 2.5.0 xml2js: 0.4.19 yargs: 13.3.0 @@ -192,7 +204,7 @@ packages: '@types/async-lock': 1.1.1 '@types/is-buffer': 2.0.0 async-lock: 1.2.2 - buffer: 5.4.0 + buffer: 5.2.1 debug: 3.2.6 events: 3.0.0 is-buffer: 2.0.3 @@ -409,20 +421,20 @@ packages: dev: false resolution: integrity: sha512-s63F9nJioLqOlW3UkyMd+BYhXt44YuaFm/VV0VwuteqjYwRrObkU7ra9pY4wAJR3oXi8hJrMcrcJdO/HH33vtw== - /@microsoft/api-extractor-model/7.3.2: + /@microsoft/api-extractor-model/7.3.0: dependencies: - '@microsoft/node-core-library': 3.14.0 - '@microsoft/tsdoc': 0.12.12 + '@microsoft/node-core-library': 3.13.0 + '@microsoft/tsdoc': 0.12.10 '@types/node': 8.5.8 dev: false resolution: - integrity: sha512-2yNbQsQl5PI36l5WzHQshwjBHPe5IeIcmidWad0E+wjyaAxGMLx5pBp5AgXY2JG9S9VQjFmmGmqJJBXn8tzu+w== - /@microsoft/api-extractor/7.3.8: + integrity: sha512-GfRaGz6d8fPhMOG70l2zS1s6Z8rCxcTHnwfVjb+6ln25eB4fN/jeDRlLKot+HOsVcbxvVseoeB0ZQL9nIsfbXw== + /@microsoft/api-extractor/7.3.5: dependencies: - '@microsoft/api-extractor-model': 7.3.2 - '@microsoft/node-core-library': 3.14.0 - '@microsoft/ts-command-line': 4.2.7 - '@microsoft/tsdoc': 0.12.12 + '@microsoft/api-extractor-model': 7.3.0 + '@microsoft/node-core-library': 3.13.0 + '@microsoft/ts-command-line': 4.2.6 + '@microsoft/tsdoc': 0.12.10 colors: 1.2.5 lodash: 4.17.15 resolve: 1.8.1 @@ -431,8 +443,8 @@ packages: dev: false hasBin: true resolution: - integrity: sha512-zw3HWmPW9vWWIoI3SPb2tuJ2suXVoF9ty37Mww+00I4gKLPPDooVad1kBiNtdjHXBj0QwYAOsGcfoBN9Qgt2bw== - /@microsoft/node-core-library/3.14.0: + integrity: sha512-g6Cu3mPZnbVB/YindJGLDDFnervDD7VruuC8Ve+48UctXHXcfJC4yJhhuSV79SwE58wNx9wXdLDihdFtnDWcnQ== + /@microsoft/node-core-library/3.13.0: dependencies: '@types/fs-extra': 5.0.4 '@types/jju': 1.4.1 @@ -444,8 +456,8 @@ packages: z-schema: 3.18.4 dev: false resolution: - integrity: sha512-+gbTXTRfvR40hTH+C3Vno/RJ51sU/RZAyHb2bo9af8GCdOgxCxCs+qp2KCXklbpuolmIPFfbCmdTwv90yH5tJw== - /@microsoft/ts-command-line/4.2.7: + integrity: sha512-mnsL/1ikVWHl8sPNssavaAgtUaIM3hkQ8zeySuApU5dNmsMPzovJPfx9m5JGiMvs1v5QNAIVeiS9jnWwe/7anw== + /@microsoft/ts-command-line/4.2.6: dependencies: '@types/argparse': 1.0.33 '@types/node': 8.5.8 @@ -453,11 +465,11 @@ packages: colors: 1.2.5 dev: false resolution: - integrity: sha512-PwUMIIDl8oWyl64Y5DW5FAuoRk4KWTBZdk4FEh366KEm5xYFBQhCeatHGURIj8nEYm0Xb2coCrXF77dGDlp/Qw== - /@microsoft/tsdoc/0.12.12: + integrity: sha512-GFLPg9Z5yiNca3di/V6Zt3tAvj1de9EK0eL88tE+1eckQSH405UQcm7D+H8LbEhRpqpG+ZqN9LXCAEw4L5uchg== + /@microsoft/tsdoc/0.12.10: dev: false resolution: - integrity: sha512-5EzH1gHIonvvgA/xWRmVAJmRkTQj/yayUXyr66hFwNZiFE4j7lP8is9YQeXhwxGZEjO1PVMblAmFF0CyjNtPGw== + integrity: sha512-tsog/HTdM88/WyR0Jz7XWTI0ghbJkt9soFXnQJrINDyaTGzbCoJjRttaW/IY5eAp4eqDyfg++jq6o+byEDOkIQ== /@sinonjs/commons/1.4.0: dependencies: type-detect: 4.0.8 @@ -514,22 +526,22 @@ packages: dev: false resolution: integrity: sha512-a2+YeUjPkztKJu5aIF2yArYFQQp8d51wZ7DavSHjFuY1mqVgidGyzEQ41JIVNy82fXj8yPgy2vJmfIywgESW6w== - /@types/chai-as-promised/7.1.2: + /@types/chai-as-promised/7.1.1: dependencies: - '@types/chai': 4.2.0 + '@types/chai': 4.1.7 dev: false resolution: - integrity: sha512-PO2gcfR3Oxa+u0QvECLe1xKXOqYTzCmWf0FhLhjREoW3fPAVamjihL7v1MOVLJLsnAMdLcjkfrs01yvDMwVK4Q== - /@types/chai-string/1.4.2: + integrity: sha512-dberBxQW/XWv6BMj0su1lV9/C9AUx5Hqu2pisuS6S4YK/Qt6vurcj/BmcbEsobIWWCQzhesNY8k73kIxx4X7Mg== + /@types/chai-string/1.4.1: dependencies: - '@types/chai': 4.2.0 + '@types/chai': 4.1.7 dev: false resolution: - integrity: sha512-ld/1hV5qcPRGuwlPdvRfvM3Ka/iofOk2pH4VkasK4b1JJP1LjNmWWn0LsISf6RRzyhVOvs93rb9tM09e+UuF8Q== - /@types/chai/4.2.0: + integrity: sha512-aRNMs6TKgjgPlCHwDfq/YNy5VtRR2hJ4AUWByddrT0TRVVD8eX4MiHW6/iHvmQHRlVuuPZcwnTUE7b4yFt7bEA== + /@types/chai/4.1.7: dev: false resolution: - integrity: sha512-zw8UvoBEImn392tLjxoavuonblX/4Yb9ha4KBU10FirCfwgzhKO0dvyJSF9ByxV1xK1r2AgnAi/tvQaLgxQqxA== + integrity: sha512-2Y8uPt0/jwjhQ6EiluT0XCri1Dbplr0ZxfFXUz+ye13gaqE8u5gL5ppao1JrUYr9cIip5S6MvQzBS7Kke7U9VA== /@types/connect/3.4.32: dependencies: '@types/node': 8.10.51 @@ -668,10 +680,10 @@ packages: dev: false resolution: integrity: sha512-TLFRywthBgL68auWj+ziWu+vnmmcHCDFC/sqCOQf1xTz4hRq8cu79z8CtHU9lncExGBsB8fXA4TiLDLt6xvMzw== - /@types/node/12.7.1: + /@types/node/12.7.0: dev: false resolution: - integrity: sha512-aK9jxMypeSrhiYofWWBf/T7O+KwaiAHzM4sveCdWPn71lzUSMimRnKzhXDKfKwV1kWoBo2P1aGgaIYGLf9/ljw== + integrity: sha512-vqcj1MVm2Sla4PpMfYKh1MyDN4D2f/mPIZD7RdAGqEsbE+JxfeqQHHVbRDQ0Nqn8i73gJa1HQ1Pu3+nH4Q0Yiw== /@types/node/8.10.51: dev: false resolution: @@ -680,6 +692,10 @@ packages: dev: false resolution: integrity: sha512-8KmlRxwbKZfjUHFIt3q8TF5S2B+/E5BaAoo/3mgc5h6FJzqxXkCK/VMetO+IRDtwtU6HUvovHMBn+XRj7SV9Qg== + /@types/priorityqueuejs/1.0.1: + dev: false + resolution: + integrity: sha1-bqrDJHpMXO/JRILl2Hw3MLNfUFM= /@types/qs/6.5.3: dev: false resolution: @@ -698,6 +714,10 @@ packages: dev: false resolution: integrity: sha512-auApPaJf3NPfe18hSoJkp8EbZzer2ISk7o8mCC3M9he/a04+gbMF97NkpD2S8riMGvm4BMRI59/SZQSaLTKpsQ== + /@types/semaphore/1.1.0: + dev: false + resolution: + integrity: sha512-YD+lyrPhrsJdSOaxmA9K1lzsCoN0J29IsQGMKd67SbkPDXxJPdwdqpok1sytD19NEozUaFpjIsKOWnJDOYO/GA== /@types/semver/5.5.0: dev: false resolution: @@ -739,6 +759,10 @@ packages: dev: false resolution: integrity: sha512-SudIN9TRJ+v8g5pTG8RRCqfqTMNqgWCKKd3vtynhGzkIIjxaicNAMuY5TRadJ6tzDu3Dotf3ngaMILtmOdmWEQ== + /@types/underscore/1.9.2: + dev: false + resolution: + integrity: sha512-KgOKTAD+9X+qvZnB5S1+onqKc4E+PZ+T6CM/NA5ohRPLHJXb+yCJMVf8pWOnvuBuKFNUAJW8N97IA6lba6mZGg== /@types/uuid/3.4.5: dependencies: '@types/node': 8.10.51 @@ -790,60 +814,60 @@ packages: dev: false resolution: integrity: sha1-LrHQCl5Ow/pYx2r94S4YK2bcXBw= - /@typescript-eslint/eslint-plugin/2.0.0_2597c16b46d7eff3ec2c0c583ca4ae44: + /@typescript-eslint/eslint-plugin/1.13.0_0b5e999c52a893676e7127c05369c7b6: dependencies: - '@typescript-eslint/experimental-utils': 2.0.0_eslint@6.1.0 - '@typescript-eslint/parser': 2.0.0_eslint@6.1.0 - eslint: 6.1.0 + '@typescript-eslint/experimental-utils': 1.13.0_eslint@5.16.0 + '@typescript-eslint/parser': 1.13.0_eslint@5.16.0 + eslint: 5.16.0 eslint-utils: 1.4.0 functional-red-black-tree: 1.0.1 regexpp: 2.0.1 tsutils: 3.17.1_typescript@3.5.3 dev: false engines: - node: ^8.10.0 || ^10.13.0 || >=11.10.1 + node: ^6.14.0 || ^8.10.0 || >=9.10.0 peerDependencies: - '@typescript-eslint/parser': ^2.0.0-alpha.0 - eslint: ^5.0.0 || ^6.0.0 + '@typescript-eslint/parser': ^1.9.0 + eslint: ^5.0.0 typescript: '*' resolution: - integrity: sha512-Mo45nxTTELODdl7CgpZKJISvLb+Fu64OOO2ZFc2x8sYSnUpFrBUW3H+H/ZGYmEkfnL6VkdtOSxgdt+Av79j0sA== - /@typescript-eslint/experimental-utils/2.0.0_eslint@6.1.0: + integrity: sha512-WQHCozMnuNADiqMtsNzp96FNox5sOVpU8Xt4meaT4em8lOG1SrOv92/mUbEHQVh90sldKSfcOc/I0FOb/14G1g== + /@typescript-eslint/experimental-utils/1.13.0_eslint@5.16.0: dependencies: '@types/json-schema': 7.0.3 - '@typescript-eslint/typescript-estree': 2.0.0 - eslint: 6.1.0 + '@typescript-eslint/typescript-estree': 1.13.0 + eslint: 5.16.0 eslint-scope: 4.0.3 dev: false engines: - node: ^8.10.0 || ^10.13.0 || >=11.10.1 + node: ^6.14.0 || ^8.10.0 || >=9.10.0 peerDependencies: eslint: '*' resolution: - integrity: sha512-XGJG6GNBXIEx/mN4eTRypN/EUmsd0VhVGQ1AG+WTgdvjHl0G8vHhVBHrd/5oI6RRYBRnedNymSYWW1HAdivtmg== - /@typescript-eslint/parser/2.0.0_eslint@6.1.0: + integrity: sha512-zmpS6SyqG4ZF64ffaJ6uah6tWWWgZ8m+c54XXgwFtUv0jNz8aJAVx8chMCvnk7yl6xwn8d+d96+tWp7fXzTuDg== + /@typescript-eslint/parser/1.13.0_eslint@5.16.0: dependencies: '@types/eslint-visitor-keys': 1.0.0 - '@typescript-eslint/experimental-utils': 2.0.0_eslint@6.1.0 - '@typescript-eslint/typescript-estree': 2.0.0 - eslint: 6.1.0 - eslint-visitor-keys: 1.1.0 + '@typescript-eslint/experimental-utils': 1.13.0_eslint@5.16.0 + '@typescript-eslint/typescript-estree': 1.13.0 + eslint: 5.16.0 + eslint-visitor-keys: 1.0.0 dev: false engines: - node: ^8.10.0 || ^10.13.0 || >=11.10.1 + node: ^6.14.0 || ^8.10.0 || >=9.10.0 peerDependencies: - eslint: ^5.0.0 || ^6.0.0 + eslint: ^5.0.0 resolution: - integrity: sha512-ibyMBMr0383ZKserIsp67+WnNVoM402HKkxqXGlxEZsXtnGGurbnY90pBO3e0nBUM7chEEOcxUhgw9aPq7fEBA== - /@typescript-eslint/typescript-estree/2.0.0: + integrity: sha512-ITMBs52PCPgLb2nGPoeT4iU3HdQZHcPaZVw+7CsFagRJHUhyeTgorEwHXhFf3e7Evzi8oujKNpHc8TONth8AdQ== + /@typescript-eslint/typescript-estree/1.13.0: dependencies: lodash.unescape: 4.0.1 - semver: 6.3.0 + semver: 5.5.0 dev: false engines: - node: ^8.10.0 || ^10.13.0 || >=11.10.1 + node: '>=6.14.0' resolution: - integrity: sha512-NXbmzA3vWrSgavymlzMWNecgNOuiMMp62MO3kI7awZRLRcsA1QrYWo6q08m++uuAGVbXH/prZi2y1AWuhSu63w== + integrity: sha512-b5rCmd2e6DCC6tCTN9GSUAuxdYwCM/k/2wdjHGrIRGPSJotWMCe/dGpi66u42bhuh8q3QBzqM4TMA1GUUCJvdw== /@webassemblyjs/ast/1.8.5: dependencies: '@webassemblyjs/helper-module-context': 1.8.5 @@ -1009,9 +1033,9 @@ packages: node: '>= 0.6' resolution: integrity: sha512-Il80Qs2WjYlJIBNzNkK6KYqlVMTbZLXgHx2oT0pU/fjRHyEp+PEfEPY0R3WCwAGVOtauxh1hOxNgIf5bv7dQpA== - /acorn-jsx/5.0.1_acorn@6.3.0: + /acorn-jsx/5.0.1_acorn@6.2.1: dependencies: - acorn: 6.3.0 + acorn: 6.2.1 dev: false peerDependencies: acorn: ^6.0.0 @@ -1030,13 +1054,13 @@ packages: hasBin: true resolution: integrity: sha512-T/zvzYRfbVojPWahDsE5evJdHb3oJoQfFbsrKM7w5Zcs++Tr257tia3BmMP8XYVjp1S9RZXQMh7gao96BlqZOw== - /acorn/6.3.0: + /acorn/6.2.1: dev: false engines: node: '>=0.4.0' hasBin: true resolution: - integrity: sha512-/czfa8BwS88b9gWQVhc8eknunSA2DoJpJyTQkhheIf5E48u1N0R4q/YxxsAeqRrmK9TQ/uYfgLDfZo91UlANIA== + integrity: sha512-JD0xT5FCRDNyjDda3Lrg/IxFscp9q4tiYtxE1/nOzlKCk7hIRuYjhq1kCNkbPjMRMZuFq20HNQn1I9k8Oj0E+Q== /adal-node/0.1.28: dependencies: '@types/node': 8.10.51 @@ -1118,14 +1142,12 @@ packages: node: '>=0.10.0' resolution: integrity: sha1-U4rlKK+JgvKK4w2G8vF0VtJgmHM= - /ansi-escapes/4.2.1: - dependencies: - type-fest: 0.5.2 + /ansi-escapes/3.2.0: dev: false engines: - node: '>=8' + node: '>=4' resolution: - integrity: sha512-Cg3ymMAdN10wOk/VYfLV7KCQyv7EDirJ64500sU7n9UlmioEtDuU5Gd+hj73hXSU/ex7tHJSssmyftDdkMLO8Q== + integrity: sha512-cBhpre4ma+U0T1oM5fXg7Dy1Jw7zzwv7lt/GoCpr+hDQJoYnKVPLL4dCvSEFMmQurOQvSrwT7SL/DAlhBI97RQ== /ansi-gray/0.1.1: dependencies: ansi-wrap: 0.1.0 @@ -1283,6 +1305,10 @@ packages: node: '>=0.10.0' resolution: integrity: sha1-p5SvDAWrF1KEbudTofIRoFugxE8= + /array-filter/0.0.1: + dev: false + resolution: + integrity: sha1-fajPLiZijtcygDWB/SH2fKzS7uw= /array-find-index/1.0.2: dev: false engines: @@ -1314,6 +1340,14 @@ packages: node: '>=0.10.0' resolution: integrity: sha512-eOCut5rXlI6aCOS7Z7kCplKRKyiFQ6dHFBem4PwlwKeNFk2/XxTrhRh5T9PyaEWGy/NHTZWbY+nsZlNFJu9rYg== + /array-map/0.0.0: + dev: false + resolution: + integrity: sha1-iKK6tz0c97zVwbEYoAP2b2ZfpmI= + /array-reduce/0.0.0: + dev: false + resolution: + integrity: sha1-FziZ0//Rx9k4PkR5Ul2+J4yrXys= /array-slice/0.2.3: dev: false engines: @@ -1909,7 +1943,7 @@ packages: babel-plugin-transform-regenerator: 6.26.0 browserslist: 3.2.8 invariant: 2.2.4 - semver: 5.7.1 + semver: 5.7.0 dev: false resolution: integrity: sha512-9OR2afuKDneX2/q2EurSftUYM0xGu4O2D9adAhVfADDhrYDaxXV0rBbevVYoY9n6nyX1PmQW/0jtpJvUNr9CHg== @@ -2058,6 +2092,10 @@ packages: node: '>=8' resolution: integrity: sha512-Phlt0plgpIIBOGTT/ehfFnbNlfsDEiqmzE2KRXoX1bLIlir4X/MR+zSyBEkL05ffWgnRSf/DXv+WrUAVr93/ow== + /binary-search-bounds/2.0.3: + dev: false + resolution: + integrity: sha1-X/hhbW3SylOIvIWy1iZuK52lAtw= /blob/0.0.5: dev: false resolution: @@ -2187,7 +2225,7 @@ packages: /browserslist/3.2.8: dependencies: caniuse-lite: 1.0.30000989 - electron-to-chromium: 1.3.225 + electron-to-chromium: 1.3.219 dev: false hasBin: true resolution: @@ -2241,13 +2279,13 @@ packages: dev: false resolution: integrity: sha1-bRu2AbB6TvztlwlBMgkwJ8lbwpg= - /buffer/5.4.0: + /buffer/5.2.1: dependencies: base64-js: 1.3.1 ieee754: 1.1.13 dev: false resolution: - integrity: sha512-Xpgy0IwHK2N01ncykXTy6FpCWuM+CJSHoPVBLyNqyrWxsedpLvwsYUhf0ME3WRFNUhos0dMamz9cOS/xRDtU5g== + integrity: sha512-c+Ko0loDaFfuPWiL02ls9Xd3GO3cPVmUobQ6t3rXNUk304u6hGq+8N/kFi+QEIKhzK3uwolVhLzszmfLmMLnqg== /builtin-modules/3.1.0: dev: false engines: @@ -2277,7 +2315,7 @@ packages: mkdirp: 0.5.1 move-concurrently: 1.0.1 promise-inflight: 1.0.1 - rimraf: 2.7.0 + rimraf: 2.6.3 ssri: 6.0.1 unique-filename: 1.1.1 y18n: 4.0.0 @@ -2480,7 +2518,7 @@ packages: is-wsl: 1.1.0 lighthouse-logger: 1.2.0 mkdirp: 0.5.1 - rimraf: 2.7.0 + rimraf: 2.6.3 dev: false resolution: integrity: sha512-IoQLp64s2n8OQuvKZwt77CscVj3UlV2Dj7yZtd1EBMld9mSdGcsGy9fN5hd/r4vJuWZR09it78n1+A17gB+AIQ== @@ -2530,14 +2568,14 @@ packages: node: '>=0.10.0' resolution: integrity: sha512-qOhPa/Fj7s6TY8H8esGu5QNpMMQxz79h+urzrNYN6mn+9BnxlDGf5QZ+XeCDsxSjPqsSR56XOZOJmpeurnLMeg== - /cli-cursor/3.1.0: + /cli-cursor/2.1.0: dependencies: - restore-cursor: 3.1.0 + restore-cursor: 2.0.0 dev: false engines: - node: '>=8' + node: '>=4' resolution: - integrity: sha512-I/zHAwsKf9FqGoXM4WWRACob9+SNukZTd94DWF57E4toouRulbCxcUh6RKUEOQlYTHJnzkPMySvPNaaSLNfLZw== + integrity: sha1-s12sN2R5+sw+lHR9QdDQ9SOP/LU= /cli-width/2.2.0: dev: false resolution: @@ -2762,7 +2800,7 @@ packages: fs-write-stream-atomic: 1.0.10 iferr: 0.1.5 mkdirp: 0.5.1 - rimraf: 2.7.0 + rimraf: 2.6.3 run-queue: 1.0.3 dev: false resolution: @@ -2785,11 +2823,11 @@ packages: requiresBuild: true resolution: integrity: sha512-HOpZf6eXmnl7la+cUdMnLvUxKNqLUzJvgIziQ0DiF3JwSImNphIqdGqzj6hIKyX04MmV0poclQ7+wjWvxQyR2A== - /core-js/3.2.1: + /core-js/3.1.4: dev: false requiresBuild: true resolution: - integrity: sha512-Qa5XSVefSVPRxy2XfUC13WbvqkxhkwB3ve+pgCQveNgYzbM/UxZeu1dcOX/xr4UmfUd+muuvsaxilQzCyUurMw== + integrity: sha512-YNZN8lt82XIMLnLirj9MhKDFZHalwzzrL9YLt6eb0T5D0EDl4IQ90IGkua8mHbnxNrkj1d8hbdizMc0Qmg1WnQ== /core-util-is/1.0.2: dev: false resolution: @@ -2855,7 +2893,7 @@ packages: dependencies: nice-try: 1.0.5 path-key: 2.0.1 - semver: 5.7.1 + semver: 5.7.0 shebang-command: 1.2.0 which: 1.3.1 dev: false @@ -3222,10 +3260,10 @@ packages: dev: false resolution: integrity: sha1-WQxhFWsK4vTwJVcyoViyZrxWsh0= - /electron-to-chromium/1.3.225: + /electron-to-chromium/1.3.219: dev: false resolution: - integrity: sha512-7W/L3jw7HYE+tUPbcVOGBmnSrlUmyZ/Uyg24QS7Vx0a9KodtNrN0r0Q/LyGHrcYMtw2rv7E49F/vTXwlV/fuaA== + integrity: sha512-xANtM7YNFQGCMl+a0ZceXnPedpAatcIIyDNM56nQKzJFwuCyIzKVtBvLzyMOU0cczwO900TP309EkSeudrGRbQ== /elliptic/6.5.0: dependencies: bn.js: 4.11.8 @@ -3242,10 +3280,6 @@ packages: dev: false resolution: integrity: sha512-CwBLREIQ7LvYFB0WyRvwhq5N5qPhc6PMjD6bYggFlI5YyDgl+0vxq5VHbMOFqLg7hfWzmu8T5Z1QofhmTIhItA== - /emoji-regex/8.0.0: - dev: false - resolution: - integrity: sha512-MSjYzcWNOA0ewAHpz0MxpYFvwg6yjy1NG3xteoqz644VCo/RPgnr1/GGt+ic3iJTzQ8Eu3TdM14SawnVUmGE6A== /emojis-list/2.1.0: dev: false engines: @@ -3431,9 +3465,9 @@ packages: source-map: 0.2.0 resolution: integrity: sha1-WltTr0aTEQvrsIZ6o0MN07cKEBg= - /eslint-config-prettier/6.0.0_eslint@6.1.0: + /eslint-config-prettier/6.0.0_eslint@5.16.0: dependencies: - eslint: 6.1.0 + eslint: 5.16.0 get-stdin: 6.0.0 dev: false hasBin: true @@ -3441,9 +3475,18 @@ packages: eslint: '>=3.14.1' resolution: integrity: sha512-vDrcCFE3+2ixNT5H83g28bO/uYAwibJxerXPj+E7op4qzBCsAV36QfvdAyVOoNxKAH2Os/e01T/2x++V0LPukA== - /eslint-plugin-no-null/1.0.2_eslint@6.1.0: + /eslint-detailed-reporter/0.8.0_eslint@5.16.0: + dependencies: + eslint: 5.16.0 + lodash: 4.17.15 + dev: false + peerDependencies: + eslint: 3.0.0 - 5.9999.9999 + resolution: + integrity: sha512-u/LAPwSQ8udUiWXJ2aYZfvV4gd7uhS77ZctOv8FZ8SDxzEG5aV18dgOTMilT8uEHBJyv3MpGHoQH7A3tXOfm/Q== + /eslint-plugin-no-null/1.0.2_eslint@5.16.0: dependencies: - eslint: 6.1.0 + eslint: 5.16.0 dev: false engines: node: '>=5.0.0' @@ -3466,36 +3509,27 @@ packages: /eslint-scope/4.0.3: dependencies: esrecurse: 4.2.1 - estraverse: 4.3.0 + estraverse: 4.2.0 dev: false engines: node: '>=4.0.0' resolution: integrity: sha512-p7VutNr1O/QrxysMo3E45FjYDTeXBy0iTltPFNSqKAIfjDSXC+4dj+qfyuD8bfAXrW/y6lW3O76VaYNPKfpKrg== - /eslint-scope/5.0.0: - dependencies: - esrecurse: 4.2.1 - estraverse: 4.3.0 - dev: false - engines: - node: '>=8.0.0' - resolution: - integrity: sha512-oYrhJW7S0bxAFDvWqzvMPRm6pcgcnWc4QnofCAqRTRfQC0JcwenzGglTtsLyIuuWFfkqDG9vz67cnttSd53djw== /eslint-utils/1.4.0: dependencies: - eslint-visitor-keys: 1.1.0 + eslint-visitor-keys: 1.0.0 dev: false engines: node: '>=6' resolution: integrity: sha512-7ehnzPaP5IIEh1r1tkjuIrxqhNkzUJa9z3R92tLJdZIVdWaczEhr3EbhGtsMrVxi1KeR8qA7Off6SWc5WNQqyQ== - /eslint-visitor-keys/1.1.0: + /eslint-visitor-keys/1.0.0: dev: false engines: node: '>=4' resolution: - integrity: sha512-8y9YjtM1JBJU/A9Kc+SbaOV4y29sSWckBwMHa+FGtVj5gN/sbnKDf6xJUl+8g7FAij9LVaP8C24DUiH/f/2Z9A== - /eslint/6.1.0: + integrity: sha512-qzm/XxIbxm/FHyH341ZrbnMUpe+5Bocte9xkmFMzPMjRaZMcXww+MpBptFvtU+79L362nqiLhekCxCxDPaUMBQ== + /eslint/5.16.0: dependencies: '@babel/code-frame': 7.5.5 ajv: 6.10.2 @@ -3503,21 +3537,20 @@ packages: cross-spawn: 6.0.5 debug: 4.1.1 doctrine: 3.0.0 - eslint-scope: 5.0.0 + eslint-scope: 4.0.3 eslint-utils: 1.4.0 - eslint-visitor-keys: 1.1.0 - espree: 6.0.0 + eslint-visitor-keys: 1.0.0 + espree: 5.0.1 esquery: 1.0.1 esutils: 2.0.3 file-entry-cache: 5.0.1 functional-red-black-tree: 1.0.1 - glob-parent: 5.0.0 + glob: 7.1.4 globals: 11.12.0 ignore: 4.0.6 import-fresh: 3.1.0 imurmurhash: 0.1.4 - inquirer: 6.5.1 - is-glob: 4.0.1 + inquirer: 6.5.0 js-yaml: 3.13.1 json-stable-stringify-without-jsonify: 1.0.1 levn: 0.3.0 @@ -3526,30 +3559,30 @@ packages: mkdirp: 0.5.1 natural-compare: 1.4.0 optionator: 0.8.2 + path-is-inside: 1.0.2 progress: 2.0.3 regexpp: 2.0.1 - semver: 6.3.0 - strip-ansi: 5.2.0 - strip-json-comments: 3.0.1 + semver: 5.7.0 + strip-ansi: 4.0.0 + strip-json-comments: 2.0.1 table: 5.4.5 text-table: 0.2.0 - v8-compile-cache: 2.1.0 dev: false engines: - node: ^8.10.0 || ^10.13.0 || >=11.10.1 + node: ^6.14.0 || ^8.10.0 || >=9.10.0 hasBin: true resolution: - integrity: sha512-QhrbdRD7ofuV09IuE2ySWBz0FyXCq0rriLTZXZqaWSI79CVtHVRdkFuFTViiqzZhkCgfOh9USpriuGN2gIpZDQ== - /espree/6.0.0: + integrity: sha512-S3Rz11i7c8AA5JPv7xAH+dOyq/Cu/VXHiHXBPOU1k/JAM5dXqQPt3qcrhpHSorXmrpu2g0gkIBVXAqCpzfoZIg== + /espree/5.0.1: dependencies: - acorn: 6.3.0 - acorn-jsx: 5.0.1_acorn@6.3.0 - eslint-visitor-keys: 1.1.0 + acorn: 6.2.1 + acorn-jsx: 5.0.1_acorn@6.2.1 + eslint-visitor-keys: 1.0.0 dev: false engines: node: '>=6.0.0' resolution: - integrity: sha512-lJvCS6YbCn3ImT3yKkPe0+tJ+mH6ljhGNjHQH9mRtiO6gjhVAOhVXW1yjnwqGwTkK3bGbye+hb00nFNmu0l/1Q== + integrity: sha512-qWAZcWh4XE/RwzLJejfcofscgMc9CamR6Tn1+XRXNzrvUSSbiAjGOI/fggztjIi7y9VLPqnICMIPiGyr8JaZ0A== /esprima/2.7.3: dev: false engines: @@ -3566,7 +3599,7 @@ packages: integrity: sha512-eGuFFw7Upda+g4p+QHvnW0RyTX/SVeJBDM/gCtMARO0cLuT2HcEKnTPvhjV6aGeqrCB/sbNop0Kszm0jsaWU4A== /esquery/1.0.1: dependencies: - estraverse: 4.3.0 + estraverse: 4.2.0 dev: false engines: node: '>=0.6' @@ -3574,7 +3607,7 @@ packages: integrity: sha512-SmiyZ5zIWH9VM+SRUReLS5Q8a7GxtRdxEBVZpm98rJM7Sb+A9DVCndXfkeFUd3byderg+EbDkfnevfCwynWaNA== /esrecurse/4.2.1: dependencies: - estraverse: 4.3.0 + estraverse: 4.2.0 dev: false engines: node: '>=4.0' @@ -3586,12 +3619,12 @@ packages: node: '>=0.10.0' resolution: integrity: sha1-r2fy3JIlgkFZUJJgkaQAXSnJu0Q= - /estraverse/4.3.0: + /estraverse/4.2.0: dev: false engines: - node: '>=4.0' + node: '>=0.10.0' resolution: - integrity: sha512-39nnKffWz8xN1BU/2c79n9nB9HDzo0niYUqx6xyqUnyoAnQyyWpOTdZEeiCch8BBu515t4wp9ZmgVfVhn9EBpw== + integrity: sha1-De4/7TH81GlhjOc0IJn8GvoL2xM= /estree-walker/0.5.2: dev: false resolution: @@ -3817,14 +3850,14 @@ packages: dev: false resolution: integrity: sha512-vNKxJHTEKNThjfrdJwHc7brvM6eVevuO5nTj6ez8ZQ1qbXTvGthucRF7S4vf2cr71QVnT70V34v0S1DyQsti0w== - /figures/3.0.0: + /figures/2.0.0: dependencies: escape-string-regexp: 1.0.5 dev: false engines: - node: '>=8' + node: '>=4' resolution: - integrity: sha512-HKri+WoWoUgr83pehn/SIgLOMZ9nAWC6dcGj26RY2R4F50u4+RTUz0RCrUlOV3nKRAICW1UGzyb+kcX2qK1S/g== + integrity: sha1-OrGi0qYsi/tDGgyUy3l6L84nyWI= /file-entry-cache/5.0.1: dependencies: flat-cache: 2.0.1 @@ -4557,10 +4590,12 @@ packages: node: '>=0.10.0' resolution: integrity: sha512-eSmmWE5bZTK2Nou4g0AI3zZ9rswp7GRKoKXS1BLUkvPviOqs4YTN1djQIqrXy9k5gEtdLPy86JjRwsNM9tnDcA== - /hosted-git-info/2.8.4: + /hosted-git-info/2.8.2: + dependencies: + lru-cache: 5.1.1 dev: false resolution: - integrity: sha512-pzXIvANXEFrc5oFFXRMkbLPQ2rXRoDERwDLyrcUxGhaZhgP54BBSl9Oheh7Vv0T090cszWBxPjkQQ5Sq1PbBRQ== + integrity: sha512-CyjlXII6LMsPMyUzxpTt8fzh5QwzGqPmQXgY/Jyf4Zfp27t/FvfhwoE/8laaMUcMy816CkWF20I7NeQhwwY88w== /http-errors/1.7.2: dependencies: depd: 1.1.2 @@ -4711,26 +4746,26 @@ packages: dev: false resolution: integrity: sha512-RZY5huIKCMRWDUqZlEi72f/lmXKMvuszcMBduliQ3nnWbx9X/ZBQO7DijMEYS9EhHBb2qacRUMtC7svLwe0lcw== - /inquirer/6.5.1: + /inquirer/6.5.0: dependencies: - ansi-escapes: 4.2.1 + ansi-escapes: 3.2.0 chalk: 2.4.2 - cli-cursor: 3.1.0 + cli-cursor: 2.1.0 cli-width: 2.2.0 external-editor: 3.1.0 - figures: 3.0.0 + figures: 2.0.0 lodash: 4.17.15 - mute-stream: 0.0.8 + mute-stream: 0.0.7 run-async: 2.3.0 rxjs: 6.5.2 - string-width: 4.1.0 + string-width: 2.1.1 strip-ansi: 5.2.0 through: 2.3.8 dev: false engines: node: '>=6.0.0' resolution: - integrity: sha512-uxNHBeQhRXIoHWTSNYUFhQVrHYFThIt6IVo2fFmSe8aBwdR3/w6b58hJpiL/fMukFkvGzjg+hSxFtwvVmKZmXw== + integrity: sha512-scfHejeG/lVZSpvCXpsB4j/wQNPM5JC8kiElOI0OUTwmc1RTpXr4H32/HOlQHcZiYl2z2VElwuCVDRG8vFmbnA== /interpret/1.2.0: dev: false engines: @@ -4918,12 +4953,6 @@ packages: node: '>=4' resolution: integrity: sha1-o7MKXE8ZkYMWeqq5O+764937ZU8= - /is-fullwidth-code-point/3.0.0: - dev: false - engines: - node: '>=8' - resolution: - integrity: sha512-zymm5+u+sCsSWyD9qNaejV3DFvhCKclKdizYaJUuHA83RLjb7nSuGnddCHGv0hk+KY7BMAlsWeK4Ueg6EV6XQg== /is-generator-function/1.0.7: dev: false engines: @@ -5076,12 +5105,6 @@ packages: node: '>=4' resolution: integrity: sha1-HxbkqiKwTRM2tmGIpmrzxgDDpm0= - /is-wsl/2.1.0: - dev: false - engines: - node: '>=8' - resolution: - integrity: sha512-pFTjpv/x5HRj8kbZ/Msxi9VrvtOMRBqaDi3OIcbwPI3OuH+r3lLxVWukLITBaOGJIbA/w2+M1eVmVa4XNQlAmQ== /isarray/0.0.1: dev: false resolution: @@ -5167,7 +5190,7 @@ packages: debug: 4.1.1 istanbul-lib-coverage: 2.0.5 make-dir: 2.1.0 - rimraf: 2.7.0 + rimraf: 2.6.3 source-map: 0.6.1 dev: false engines: @@ -5313,6 +5336,10 @@ packages: graceful-fs: 4.2.1 resolution: integrity: sha1-h3Gq4HmbZAdrdmQPygWPnBDjPss= + /jsonify/0.0.0: + dev: false + resolution: + integrity: sha1-LHS27kHZPKUbe1qu6PUDYx0lKnM= /jsonparse/1.2.0: dev: false engines: @@ -5367,12 +5394,12 @@ packages: karma: '>=0.10.9' resolution: integrity: sha1-vuWtQEAFF4Ea40u5RfdikJEIt5o= - /karma-chrome-launcher/3.1.0: + /karma-chrome-launcher/3.0.0: dependencies: which: 1.3.1 dev: false resolution: - integrity: sha512-3dPs/n7vgz1rxxtynpzZTvb9y/GIaW8xjAwcIGttLbycqoFtI7yo1NGnQi6oFTherRE+GIhCAHZC4vEqWGhNvg== + integrity: sha512-u/PnVgDOP97AUe/gJeABlC6Wa6aQ83MZsm0JgsJQ5bGQ9XcXON/7b2aRhl59A62Zom+q3PFveBkczc7E1RT7TA== /karma-coverage/1.1.2: dependencies: dateformat: 1.0.12 @@ -5398,12 +5425,10 @@ packages: dev: false resolution: integrity: sha1-u+jIfVnADtt2BwvTwxtLOdXcfhU= - /karma-firefox-launcher/1.2.0: - dependencies: - is-wsl: 2.1.0 + /karma-firefox-launcher/1.1.0: dev: false resolution: - integrity: sha512-j9Zp8M8+VLq1nI/5xZGfzeaEPtGQ/vk3G+Y8vpmFWLvKLNZ2TDjD6cu2dUu7lDbu1HXNgatsAX4jgCZTkR9qhQ== + integrity: sha512-LbZ5/XlIXLeQ3cqnCbYLn+rOVhuMIK9aZwlP6eOLGzWdo1UVp7t6CN3DP4SafiRLjexKwHeKHDm0c38Mtd3VxA== /karma-ie-launcher/1.0.0_karma@4.2.0: dependencies: karma: 4.2.0 @@ -5485,7 +5510,7 @@ packages: integrity: sha1-kTIsd/jxPUb+0GKwQuEAnUxFBdg= /karma-typescript-es6-transform/4.1.1: dependencies: - acorn: 6.3.0 + acorn: 6.2.1 acorn-walk: 6.2.0 babel-core: 6.26.3 babel-preset-env: 1.7.0 @@ -5494,15 +5519,15 @@ packages: dev: false resolution: integrity: sha512-WTGGThwufBT73c20q30iTcXq8Jb3Wat/h+JW1lwKgMtymT5rVxLknoaUVNfenaV3+cRMiTEsBT773kz9jWk6IQ== - /karma-webpack/4.0.2_webpack@4.39.2: + /karma-webpack/4.0.2_webpack@4.39.1: dependencies: clone-deep: 4.0.1 loader-utils: 1.2.3 neo-async: 2.6.1 schema-utils: 1.0.0 source-map: 0.7.3 - webpack: 4.39.2_webpack@4.39.2 - webpack-dev-middleware: 3.7.0_webpack@4.39.2 + webpack: 4.39.1_webpack@4.39.1 + webpack-dev-middleware: 3.7.0_webpack@4.39.1 dev: false engines: node: '>= 8.9.0' @@ -5518,7 +5543,7 @@ packages: chokidar: 3.0.2 colors: 1.3.3 connect: 3.7.0 - core-js: 3.2.1 + core-js: 3.1.4 di: 0.0.1 dom-serialize: 2.2.1 flatted: 2.0.1 @@ -5533,7 +5558,7 @@ packages: optimist: 0.6.1 qjobs: 1.2.0 range-parser: 1.2.1 - rimraf: 2.7.0 + rimraf: 2.6.3 safe-buffer: 5.2.0 socket.io: 2.1.1 source-map: 0.6.1 @@ -5822,7 +5847,7 @@ packages: /make-dir/2.1.0: dependencies: pify: 4.0.1 - semver: 5.7.1 + semver: 5.7.0 dev: false engines: node: '>=6' @@ -6078,6 +6103,12 @@ packages: hasBin: true resolution: integrity: sha512-LRxmNwziLPT828z+4YkNzloCFC2YM4wrB99k+AV5ZbEyfGNWfG8SO1FUXLmLDBSo89NrJZ4DIWeLjy1CHGhMGA== + /mimic-fn/1.2.0: + dev: false + engines: + node: '>=4' + resolution: + integrity: sha512-jf84uxzwiuiIVKiOLpfYk7N46TSy8ubTonmneY9vrpHNAnp0QBt2BxWV9dO3/j+BoVAb+a5G6YDPW3M5HOdMWQ== /mimic-fn/2.1.0: dev: false engines: @@ -6240,7 +6271,7 @@ packages: copy-concurrently: 1.0.5 fs-write-stream-atomic: 1.0.10 mkdirp: 0.5.1 - rimraf: 2.7.0 + rimraf: 2.6.3 run-queue: 1.0.3 dev: false resolution: @@ -6272,10 +6303,10 @@ packages: node: '>= 0.10' resolution: integrity: sha512-kDcwXR4PS7caBpuRYYBUz9iVixUk3anO3f5OYFiIPwK/20vCzKCHyKoulbiDY1S53zD2bxUpxN/IJ+TnXjfvxg== - /mute-stream/0.0.8: + /mute-stream/0.0.7: dev: false resolution: - integrity: sha512-nnbWWOkoWyUsTjKrhgD0dcz22mdkSnpYqbEjIm2nhwhuxlSkpywJmBo8h0ZqJdkp73mb90SssHkN4rsRaBAfAA== + integrity: sha1-MHXOk7whuPq0PhvE2n6BFe0ee6s= /nan/2.14.0: dev: false optional: true @@ -6370,7 +6401,7 @@ packages: mkdirp: 0.5.1 propagate: 1.0.0 qs: 6.7.0 - semver: 5.7.1 + semver: 5.7.0 dev: false engines: node: '>= 6.0' @@ -6402,7 +6433,7 @@ packages: stream-browserify: 2.0.2 stream-http: 2.8.3 string_decoder: 1.3.0 - timers-browserify: 2.0.11 + timers-browserify: 2.0.10 tty-browserify: 0.0.0 url: 0.11.0 util: 0.11.1 @@ -6419,9 +6450,9 @@ packages: integrity: sha1-xkZdvwirzU2zWTF/eaxopkayj/k= /normalize-package-data/2.5.0: dependencies: - hosted-git-info: 2.8.4 + hosted-git-info: 2.8.2 resolve: 1.12.0 - semver: 5.7.1 + semver: 5.7.0 validate-npm-package-license: 3.0.4 dev: false resolution: @@ -6457,7 +6488,7 @@ packages: minimatch: 3.0.4 pidtree: 0.3.0 read-pkg: 3.0.0 - shell-quote: 1.7.1 + shell-quote: 1.6.1 string.prototype.padend: 3.0.0 dev: false engines: @@ -6499,7 +6530,7 @@ packages: make-dir: 2.1.0 merge-source-map: 1.1.0 resolve-from: 4.0.0 - rimraf: 2.7.0 + rimraf: 2.6.3 signal-exit: 3.0.2 spawn-wrap: 1.4.2 test-exclude: 5.2.3 @@ -6623,14 +6654,14 @@ packages: dev: false resolution: integrity: sha1-WDsap3WWHUsROsF9nFC6753Xa9E= - /onetime/5.1.0: + /onetime/2.0.1: dependencies: - mimic-fn: 2.1.0 + mimic-fn: 1.2.0 dev: false engines: - node: '>=6' + node: '>=4' resolution: - integrity: sha512-5NcSkPHhwTVFIQN+TUqXoS5+dlElHXdpAWu9I0HP20YOtIi+aZ0Ct82jdlILDxjLEAWwvm+qj1m6aEtsDVmm6Q== + integrity: sha1-BnQoIw/WdEOyeUsiu6UotoZ5YtQ= /open/6.4.0: dependencies: is-wsl: 1.1.0 @@ -6898,6 +6929,10 @@ packages: node: '>=0.10.0' resolution: integrity: sha1-F0uSaHNVNP+8es5r9TpanhtcX18= + /path-is-inside/1.0.2: + dev: false + resolution: + integrity: sha1-NlQX3t5EQw0cEa9hAn+s8HS9/FM= /path-key/2.0.1: dev: false engines: @@ -7075,6 +7110,10 @@ packages: node: '>= 0.8' resolution: integrity: sha1-t+PqQkNaTJsnWdmeDyAesZWALuE= + /priorityqueuejs/1.0.0: + dev: false + resolution: + integrity: sha1-LuTyPCVgkT4IwHzlzN1t498sWvg= /private/0.1.8: dev: false engines: @@ -7209,7 +7248,7 @@ packages: mime: 2.4.4 progress: 2.0.3 proxy-from-env: 1.0.0 - rimraf: 2.7.0 + rimraf: 2.6.3 ws: 6.2.1 dev: false engines: @@ -7591,6 +7630,13 @@ packages: dev: false resolution: integrity: sha512-NKN5kMDylKuldxYLSUfrbo5Tuzh4hd+2E8NPPX02mZtn1VuREQToYe/ZdlJy+J3uCpfaiGF05e7B8W0iXbQHmg== + /requirejs/2.3.6: + dev: false + engines: + node: '>=0.4.0' + hasBin: true + resolution: + integrity: sha512-ipEzlWQe6RK3jkzikgCupiTbTvm4S0/CAU5GlgptkN5SO6F3u0UD0K18wy6ErDqiCyP4J4YYe1HuAShvsxePLg== /requires-port/1.0.0: dev: false resolution: @@ -7652,15 +7698,15 @@ packages: dev: false resolution: integrity: sha512-AicPrAC7Qu1JxPCZ9ZgCZlY35QgFnNqc+0LtbRNxnVw4TXvjQ72wnuL9JQcEBgXkI9JM8MsT9kaQoHcpCRJOYA== - /restore-cursor/3.1.0: + /restore-cursor/2.0.0: dependencies: - onetime: 5.1.0 + onetime: 2.0.1 signal-exit: 3.0.2 dev: false engines: - node: '>=8' + node: '>=4' resolution: - integrity: sha512-l+sSefzHpj5qimhFSE5a8nufZYAM3sBSVMAPtYkmC+4EH2anSGaEMXSD0izRQbu9nfyQ9y5JrVmp7E8oZrUjvA== + integrity: sha1-n37ih/gv0ybU/RYpI9YhKe7g368= /ret/0.1.15: dev: false engines: @@ -7700,13 +7746,6 @@ packages: hasBin: true resolution: integrity: sha512-mwqeW5XsA2qAejG46gYdENaxXjx9onRNCfn7L0duuP4hCuTIi/QO7PDK07KJfp1d+izWPrzEJDcSqBa0OZQriA== - /rimraf/2.7.0: - dependencies: - glob: 7.1.4 - dev: false - hasBin: true - resolution: - integrity: sha512-4Liqw7ccABzsWV5BzeZeGRSq7KWIgQYzOcmRDEwSX4WAawlQpcAFXZ1Kid72XYrjSnK5yxOS6Gez/iGusYE/Pw== /ripemd160/2.0.2: dependencies: hash-base: 3.0.4 @@ -7812,7 +7851,7 @@ packages: rollup: 1.19.4 rollup-pluginutils: 2.8.1 serialize-javascript: 1.7.0 - terser: 4.1.4 + terser: 4.1.3 dev: false peerDependencies: rollup: '>=0.66.0 <2' @@ -7853,8 +7892,8 @@ packages: /rollup/1.19.4: dependencies: '@types/estree': 0.0.39 - '@types/node': 12.7.1 - acorn: 6.3.0 + '@types/node': 12.7.0 + acorn: 6.2.1 dev: false hasBin: true resolution: @@ -7917,6 +7956,12 @@ packages: node: '>= 4' resolution: integrity: sha512-i27Mic4KovM/lnGsy8whRCHhc7VicJajAjTrYg11K9zfZXnYIt4k5F+kZkwjnrhKzLic/HLU4j11mjsz2G/75g== + /semaphore/1.0.5: + dev: false + engines: + node: '>=0.8.0' + resolution: + integrity: sha1-tJJXbmavGT25XWXiXsU/Xxl5jWA= /semver-greatest-satisfied-range/1.1.0: dependencies: sver-compat: 1.5.0 @@ -7925,11 +7970,16 @@ packages: node: '>= 0.10' resolution: integrity: sha1-E+jCZYq5aRywzXEJMkAoDTb3els= - /semver/5.7.1: + /semver/5.5.0: dev: false hasBin: true resolution: - integrity: sha512-sauaDf/PZdVgrLTNYHRtpXa1iRiKcaebiKQ1BJdpQlWH2lCvexQdX55snPFyK7QzpudqbCI0qXFfOasHdyNDGQ== + integrity: sha512-4SJ3dm0WAwWy/NVeioZh5AntkdJoWKxHxcmyP622fOkgHa4z3R0TdBJICINyaSDE6uNwVc8gZr+ZinwZAH4xIA== + /semver/5.7.0: + dev: false + hasBin: true + resolution: + integrity: sha512-Ya52jSX2u7QKghxeoFGpLwCtGlt7j0oY9DYb5apt9nPlJ42ID+ulTXESnt/qAQcoSERyZ5sl3LDIOw0nAn/5DA== /semver/6.3.0: dev: false hasBin: true @@ -8023,10 +8073,15 @@ packages: node: '>=0.10.0' resolution: integrity: sha1-2kL0l0DAtC2yypcoVxyxkMmO/qM= - /shell-quote/1.7.1: + /shell-quote/1.6.1: + dependencies: + array-filter: 0.0.1 + array-map: 0.0.0 + array-reduce: 0.0.0 + jsonify: 0.0.0 dev: false resolution: - integrity: sha512-2kUqeAGnMAu6YrTPX4E3LfxacH9gKljzVjlkUeSqY0soGwK4KLl7TURXCem712tkhBCeeaFP9QK4dKn88s3Icg== + integrity: sha1-9HgZSczkAmlxJ0MOo7PFR29IF2c= /shelljs/0.8.3: dependencies: glob: 7.1.4 @@ -8235,7 +8290,7 @@ packages: foreground-child: 1.5.6 mkdirp: 0.5.1 os-homedir: 1.0.2 - rimraf: 2.7.0 + rimraf: 2.6.3 signal-exit: 3.0.2 which: 1.3.1 dev: false @@ -8388,26 +8443,25 @@ packages: node: '>=0.10.0' resolution: integrity: sha1-EYvfW4zcUaKn5w0hHgfisLmxB9M= - /string-width/3.1.0: + /string-width/2.1.1: dependencies: - emoji-regex: 7.0.3 is-fullwidth-code-point: 2.0.0 - strip-ansi: 5.2.0 + strip-ansi: 4.0.0 dev: false engines: - node: '>=6' + node: '>=4' resolution: - integrity: sha512-vafcv6KjVZKSgz06oM/H6GDBrAtz8vdhQakGjFIvNrHA6y3HCF1CInLy+QLq8dTJPQ1b+KDUqDFctkdRW44e1w== - /string-width/4.1.0: + integrity: sha512-nOqH59deCq9SRHlxq1Aw85Jnt4w6KvLKqWVik6oA9ZklXLNIOlqg4F2yrT1MVaTjAqvVwdfeZ7w7aCvJD7ugkw== + /string-width/3.1.0: dependencies: - emoji-regex: 8.0.0 - is-fullwidth-code-point: 3.0.0 + emoji-regex: 7.0.3 + is-fullwidth-code-point: 2.0.0 strip-ansi: 5.2.0 dev: false engines: - node: '>=8' + node: '>=6' resolution: - integrity: sha512-NrX+1dVVh+6Y9dnQ19pR0pP4FiEIlUvdTGn8pw6CKTNq5sgib2nIhmUNT5TAmhWmvKr3WcxBcP3E8nWezuipuQ== + integrity: sha512-vafcv6KjVZKSgz06oM/H6GDBrAtz8vdhQakGjFIvNrHA6y3HCF1CInLy+QLq8dTJPQ1b+KDUqDFctkdRW44e1w== /string.prototype.padend/3.0.0: dependencies: define-properties: 1.1.3 @@ -8493,12 +8547,12 @@ packages: node: '>=4' resolution: integrity: sha1-XvjbKV0B5u1sv3qrlpmNeCJSe2g= - /strip-json-comments/3.0.1: + /strip-json-comments/2.0.1: dev: false engines: - node: '>=8' + node: '>=0.10.0' resolution: - integrity: sha512-VTyMAUfdm047mwKl+u79WIdrZxtFtn+nBxHeb844XBQ9uMNTuTHdx2hc5RiAJYqwTj3wc/xe5HLSdJSkJ+WfZw== + integrity: sha1-PFMZQukIwml8DsNEhYwobHygpgo= /supports-color/2.0.0: dev: false engines: @@ -8561,7 +8615,7 @@ packages: node: '>=6' resolution: integrity: sha512-4WK/bYZmj8xLr+HUCODHGF1ZFzsYffasLUgEiMBY4fgtltdO6B4WJtlSbPaDTLpYTcGVwM2qLnFTICEcNxs3kA== - /terser-webpack-plugin/1.4.1_webpack@4.39.2: + /terser-webpack-plugin/1.4.1_webpack@4.39.1: dependencies: cacache: 12.0.2 find-cache-dir: 2.1.0 @@ -8569,8 +8623,8 @@ packages: schema-utils: 1.0.0 serialize-javascript: 1.7.0 source-map: 0.6.1 - terser: 4.1.4 - webpack: 4.39.2_webpack@4.39.2 + terser: 4.1.3 + webpack: 4.39.1_webpack@4.39.1 webpack-sources: 1.4.3 worker-farm: 1.7.0 dev: false @@ -8580,7 +8634,7 @@ packages: webpack: ^4.0.0 resolution: integrity: sha512-ZXmmfiwtCLfz8WKZyYUuuHf3dMYEjg8NrjHMb0JqHVHVOSkzp3cW2/XG1fP3tRhqEqSzMwzzRQGtAPbs4Cncxg== - /terser/4.1.4: + /terser/4.1.3: dependencies: commander: 2.20.0 source-map: 0.6.1 @@ -8590,7 +8644,7 @@ packages: node: '>=6.0.0' hasBin: true resolution: - integrity: sha512-+ZwXJvdSwbd60jG0Illav0F06GDJF0R4ydZ21Q3wGAFKoBGyJGo34F63vzJHgvYxc1ukOtIjvwEvl9MkjzM6Pg== + integrity: sha512-on13d+cnpn5bMouZu+J8tPYQecsdRJCJuxFJ+FVoPBoLJgk5bCBkp+Uen2hWyi0KIUm6eDarnlAlH+KgIx/PuQ== /test-exclude/5.2.3: dependencies: glob: 7.1.4 @@ -8643,14 +8697,14 @@ packages: node: '>=0.10.0' resolution: integrity: sha1-dkpaEa9QVhkhsTPztE5hhofg9cM= - /timers-browserify/2.0.11: + /timers-browserify/2.0.10: dependencies: setimmediate: 1.0.5 dev: false engines: node: '>=0.6.0' resolution: - integrity: sha512-60aV6sgJ5YEbzUdn9c8kYGIqOubPoUdqQCul3SBAsRCZ40s6Y5cMcrW4dt3/k/EsbLVJNl9n6Vz3fTc+k2GeKQ== + integrity: sha512-YvC1SV1XdOUaL6gx5CoGroT3Gu49pK9+TZ38ErPldOWW4j49GI1HKs9DV+KGq/w6y+LZ72W1c8cKz2vzY+qpzg== /tmp/0.0.33: dependencies: os-tmpdir: 1.0.2 @@ -8905,12 +8959,6 @@ packages: node: '>=4' resolution: integrity: sha512-0fr/mIH1dlO+x7TlcMy+bIDqKPsw/70tVyeHW787goQjhmqaZe10uwLujubK9q9Lg6Fiho1KUKDYz0Z7k7g5/g== - /type-fest/0.5.2: - dev: false - engines: - node: '>=6' - resolution: - integrity: sha512-DWkS49EQKVX//Tbupb9TFa19c7+MK1XmzkrZUR8TAktmE/DizXoaoJV6TZ/tSIPXipqNiRI6CyAe7x69Jb6RSw== /type-is/1.6.18: dependencies: media-typer: 0.3.0 @@ -9113,10 +9161,6 @@ packages: dev: false resolution: integrity: sha512-CNmdbwQMBjwr9Gsmohvm0pbL954tJrNzf6gWL3K+QMQf00PF7ERGrEiLgjuU3mKreLC2MeGhUsNV9ybTbLgd3w== - /v8-compile-cache/2.1.0: - dev: false - resolution: - integrity: sha512-usZBT3PW+LOjM25wbqIlZwPeJV+3OSz3M1k1Ws8snlW39dZyYL9lOGC5FgPVHfk0jKmjiDV8Z0mIbVQPiwFs7g== /v8flags/3.1.3: dependencies: homedir-polyfill: 1.0.3 @@ -9239,7 +9283,7 @@ packages: dev: false resolution: integrity: sha512-i6dHe3EyLjMmDlU1/bGQpEw25XSjkJULPuAVKCbNRefQVq48yXKUpwg538F7AZTf9kyr57zj++pQFltUa5H7yA== - /webpack-cli/3.3.6_webpack@4.39.2: + /webpack-cli/3.3.6_webpack@4.39.1: dependencies: chalk: 2.4.2 cross-spawn: 6.0.5 @@ -9251,7 +9295,7 @@ packages: loader-utils: 1.2.3 supports-color: 6.1.0 v8-compile-cache: 2.0.3 - webpack: 4.39.2_webpack@4.39.2 + webpack: 4.39.1_webpack@4.39.1 yargs: 13.2.4 dev: false engines: @@ -9261,12 +9305,12 @@ packages: webpack: 4.x.x resolution: integrity: sha512-0vEa83M7kJtxK/jUhlpZ27WHIOndz5mghWL2O53kiDoA9DIxSKnfqB92LoqEn77cT4f3H2cZm1BMEat/6AZz3A== - /webpack-dev-middleware/3.7.0_webpack@4.39.2: + /webpack-dev-middleware/3.7.0_webpack@4.39.1: dependencies: memory-fs: 0.4.1 mime: 2.4.4 range-parser: 1.2.1 - webpack: 4.39.2_webpack@4.39.2 + webpack: 4.39.1_webpack@4.39.1 webpack-log: 2.0.0 dev: false engines: @@ -9291,13 +9335,13 @@ packages: dev: false resolution: integrity: sha512-lgTS3Xhv1lCOKo7SA5TjKXMjpSM4sBjNV5+q2bqesbSPs5FjGmU6jjtBSkX9b4qW87vDIsCIlUPOEhbZrMdjeQ== - /webpack/4.39.2_webpack@4.39.2: + /webpack/4.39.1_webpack@4.39.1: dependencies: '@webassemblyjs/ast': 1.8.5 '@webassemblyjs/helper-module-context': 1.8.5 '@webassemblyjs/wasm-edit': 1.8.5 '@webassemblyjs/wasm-parser': 1.8.5 - acorn: 6.3.0 + acorn: 6.2.1 ajv: 6.10.2 ajv-keywords: 3.4.1_ajv@6.10.2 chrome-trace-event: 1.0.2 @@ -9313,7 +9357,7 @@ packages: node-libs-browser: 2.2.1 schema-utils: 1.0.0 tapable: 1.1.3 - terser-webpack-plugin: 1.4.1_webpack@4.39.2 + terser-webpack-plugin: 1.4.1_webpack@4.39.1 watchpack: 1.6.0 webpack-sources: 1.4.3 dev: false @@ -9323,7 +9367,7 @@ packages: peerDependencies: webpack: '*' resolution: - integrity: sha512-AKgTfz3xPSsEibH00JfZ9sHXGUwIQ6eZ9tLN8+VLzachk1Cw2LVmy+4R7ZiwTa9cZZ15tzySjeMui/UnSCAZhA== + integrity: sha512-/LAb2TJ2z+eVwisldp3dqTEoNhzp/TLCZlmZm3GGGAlnfIWDgOEE758j/9atklNLfRyhKbZTCOIoPqLJXeBLbQ== /which-module/1.0.0: dev: false resolution: @@ -9408,12 +9452,12 @@ packages: dev: false resolution: integrity: sha512-GIyAXC2cB7LjvpgMt9EKS2ldqr0MTrORaleiOno6TweZ6r3TKtoFQWay/2PceJ3RuBasOHzXNn5Lrw1X0bEjqA== - /ws/7.1.2: + /ws/7.1.1: dependencies: async-limiter: 1.0.1 dev: false resolution: - integrity: sha512-gftXq3XI81cJCgkUiAVixA0raD9IVmXqsylCrjRygw4+UOOGzPoxnQ6r/CnVL9i+mDncJo94tSkyrtuuQVBmrg== + integrity: sha512-o41D/WmDeca0BqYhsr3nJzQyg9NF5X8l/UdnFNux9cS3lwB+swm8qGWX5rn+aD6xfBU3rGmtHij7g7x6LxFU3A== /xhr-mock/2.5.0: dependencies: global: 4.4.0 @@ -9606,25 +9650,26 @@ packages: integrity: sha512-DUOKC/IhbkdLKKiV89gw9DUauTV8U/8yJl1sjf6MtDmzevLKOF2duNJ495S3MFVjqZarr+qNGCPbkg4mu4PpLw== 'file:projects/abort-controller.tgz': dependencies: - '@microsoft/api-extractor': 7.3.8 + '@microsoft/api-extractor': 7.3.5 '@types/mocha': 5.2.7 '@types/node': 8.10.51 - '@typescript-eslint/eslint-plugin': 2.0.0_2597c16b46d7eff3ec2c0c583ca4ae44 - '@typescript-eslint/parser': 2.0.0_eslint@6.1.0 + '@typescript-eslint/eslint-plugin': 1.13.0_0b5e999c52a893676e7127c05369c7b6 + '@typescript-eslint/parser': 1.13.0_eslint@5.16.0 assert: 1.5.0 cross-env: 5.2.0 delay: 4.3.0 - eslint: 6.1.0 - eslint-config-prettier: 6.0.0_eslint@6.1.0 - eslint-plugin-no-null: 1.0.2_eslint@6.1.0 + eslint: 5.16.0 + eslint-config-prettier: 6.0.0_eslint@5.16.0 + eslint-detailed-reporter: 0.8.0_eslint@5.16.0 + eslint-plugin-no-null: 1.0.2_eslint@5.16.0 eslint-plugin-no-only-tests: 2.3.1 eslint-plugin-promise: 4.2.1 karma: 4.2.0 - karma-chrome-launcher: 3.1.0 + karma-chrome-launcher: 3.0.0 karma-coverage: 1.1.2 karma-edge-launcher: 0.4.2_karma@4.2.0 karma-env-preprocessor: 0.1.1 - karma-firefox-launcher: 1.2.0 + karma-firefox-launcher: 1.1.0 karma-ie-launcher: 1.0.0_karma@4.2.0 karma-junit-reporter: 1.2.0_karma@4.2.0 karma-mocha: 1.3.0 @@ -9635,7 +9680,7 @@ packages: mocha-multi-reporters: 1.1.7 nyc: 14.1.1 prettier: 1.18.2 - rimraf: 2.7.0 + rimraf: 2.6.3 rollup: 1.19.4 rollup-plugin-commonjs: 10.0.2_rollup@1.19.4 rollup-plugin-multi-entry: 2.1.0 @@ -9649,7 +9694,7 @@ packages: dev: false name: '@rush-temp/abort-controller' resolution: - integrity: sha512-BoVxHViVS71lSi8IASIY6SKhDSjSoG1xLh/P1D8yG0LGNECg2BU9pm2WwXs5qIOWtg5+zIvJqA4YAWK7F/d0Ig== + integrity: sha512-MMUffH4NZW/NawCA13C0bdKqjytoja1BQSwuA7bQHzMmINYCA+3lE9scchzm8CV5N5RIdtPPABCTkPAdI/2w6A== tarball: 'file:projects/abort-controller.tgz' version: 0.0.0 'file:projects/core-amqp.tgz': @@ -9657,8 +9702,8 @@ packages: '@azure/abort-controller': 1.0.0-preview.1 '@azure/core-auth': 1.0.0-preview.2 '@types/async-lock': 1.1.1 - '@types/chai': 4.2.0 - '@types/chai-as-promised': 7.1.2 + '@types/chai': 4.1.7 + '@types/chai-as-promised': 7.1.1 '@types/debug': 0.0.31 '@types/dotenv': 6.1.1 '@types/is-buffer': 2.0.0 @@ -9666,26 +9711,27 @@ packages: '@types/mocha': 5.2.7 '@types/node': 8.10.51 '@types/sinon': 7.0.13 - '@typescript-eslint/eslint-plugin': 2.0.0_2597c16b46d7eff3ec2c0c583ca4ae44 - '@typescript-eslint/parser': 2.0.0_eslint@6.1.0 + '@typescript-eslint/eslint-plugin': 1.13.0_0b5e999c52a893676e7127c05369c7b6 + '@typescript-eslint/parser': 1.13.0_eslint@5.16.0 assert: 1.5.0 async-lock: 1.2.2 - buffer: 5.4.0 + buffer: 5.2.1 chai: 4.2.0 chai-as-promised: 7.1.1_chai@4.2.0 cross-env: 5.2.0 debug: 3.2.6 dotenv: 8.0.0 - eslint: 6.1.0 - eslint-config-prettier: 6.0.0_eslint@6.1.0 - eslint-plugin-no-null: 1.0.2_eslint@6.1.0 + eslint: 5.16.0 + eslint-config-prettier: 6.0.0_eslint@5.16.0 + eslint-detailed-reporter: 0.8.0_eslint@5.16.0 + eslint-plugin-no-null: 1.0.2_eslint@5.16.0 eslint-plugin-no-only-tests: 2.3.1 eslint-plugin-promise: 4.2.1 events: 3.0.0 is-buffer: 2.0.3 jssha: 2.3.1 karma: 4.2.0 - karma-chrome-launcher: 3.1.0 + karma-chrome-launcher: 3.0.0 karma-mocha: 1.3.0 mocha: 5.2.0 mocha-junit-reporter: 1.23.1_mocha@5.2.0 @@ -9696,7 +9742,7 @@ packages: puppeteer: 1.19.0 rhea: 1.0.8 rhea-promise: 1.0.0 - rimraf: 2.7.0 + rimraf: 2.6.3 rollup: 1.19.4 rollup-plugin-commonjs: 10.0.2_rollup@1.19.4 rollup-plugin-inject: 3.0.1 @@ -9715,25 +9761,26 @@ packages: typescript: 3.5.3 url: 0.11.0 util: 0.12.1 - ws: 7.1.2 + ws: 7.1.1 dev: false name: '@rush-temp/core-amqp' resolution: - integrity: sha512-p54+559mlj4EW2LkAJgJBjUyFRJ8HdKgtQrcM73S/0ULC9okROg/EV/cfRm64TdQcHj+UZw1UijG4CRdmrMJCA== + integrity: sha512-IMcjrA174Vhx0YMmlVOokpIqGdPX+18gFxJeCsGpMp9S4mqd0c/TsXU+3fjvdJGHaxJzvqoyrzrdjxMaoAASYw== tarball: 'file:projects/core-amqp.tgz' version: 0.0.0 'file:projects/core-arm.tgz': dependencies: '@azure/core-http': 1.0.0-preview.2 - '@types/chai': 4.2.0 + '@types/chai': 4.1.7 '@types/mocha': 5.2.7 '@types/node': 8.10.51 - '@typescript-eslint/eslint-plugin': 2.0.0_2597c16b46d7eff3ec2c0c583ca4ae44 - '@typescript-eslint/parser': 2.0.0_eslint@6.1.0 + '@typescript-eslint/eslint-plugin': 1.13.0_0b5e999c52a893676e7127c05369c7b6 + '@typescript-eslint/parser': 1.13.0_eslint@5.16.0 chai: 4.2.0 - eslint: 6.1.0 - eslint-config-prettier: 6.0.0_eslint@6.1.0 - eslint-plugin-no-null: 1.0.2_eslint@6.1.0 + eslint: 5.16.0 + eslint-config-prettier: 6.0.0_eslint@5.16.0 + eslint-detailed-reporter: 0.8.0_eslint@5.16.0 + eslint-plugin-no-null: 1.0.2_eslint@5.16.0 eslint-plugin-no-only-tests: 2.3.1 eslint-plugin-promise: 4.2.1 mocha: 5.2.0 @@ -9741,7 +9788,7 @@ packages: mocha-multi-reporters: 1.1.7 npm-run-all: 4.1.5 nyc: 14.1.1 - rimraf: 2.7.0 + rimraf: 2.6.3 rollup: 1.19.4 rollup-plugin-node-resolve: 5.2.0_rollup@1.19.4 rollup-plugin-sourcemaps: 0.4.2_rollup@1.19.4 @@ -9755,17 +9802,18 @@ packages: dev: false name: '@rush-temp/core-arm' resolution: - integrity: sha512-qK9sLw1l0fSEK3j/tZEc/GaMZ68SG/c2/vGOmhH4sNbC6rMgbUZXCl5dRZR5QVaSROXIDnfxr4v6bDWXLnMRsQ== + integrity: sha512-zS4qSLcPPe/3Ngb8XWVfkuntVkN/f8c1gUYkXo+Wv/743A+OIJk+SopB3ImRY6jXLjyfjnsoX8w1Q2RM3guahQ== tarball: 'file:projects/core-arm.tgz' version: 0.0.0 'file:projects/core-asynciterator-polyfill.tgz': dependencies: '@types/node': 8.10.51 - '@typescript-eslint/eslint-plugin': 2.0.0_2597c16b46d7eff3ec2c0c583ca4ae44 - '@typescript-eslint/parser': 2.0.0_eslint@6.1.0 - eslint: 6.1.0 - eslint-config-prettier: 6.0.0_eslint@6.1.0 - eslint-plugin-no-null: 1.0.2_eslint@6.1.0 + '@typescript-eslint/eslint-plugin': 1.13.0_0b5e999c52a893676e7127c05369c7b6 + '@typescript-eslint/parser': 1.13.0_eslint@5.16.0 + eslint: 5.16.0 + eslint-config-prettier: 6.0.0_eslint@5.16.0 + eslint-detailed-reporter: 0.8.0_eslint@5.16.0 + eslint-plugin-no-null: 1.0.2_eslint@5.16.0 eslint-plugin-no-only-tests: 2.3.1 eslint-plugin-promise: 4.2.1 prettier: 1.18.2 @@ -9773,22 +9821,23 @@ packages: dev: false name: '@rush-temp/core-asynciterator-polyfill' resolution: - integrity: sha512-X2qR67x/Wgwcs8VjH/m3EA7HFB22mL2sf9YJCvpdIUXvz5ENGH54U4TC8IAc2AxcqlKjOi1pwFUAf9yBf4nAJQ== + integrity: sha512-eM85h9SCt/WXjcDWnOd1RZAKQWwPRSpsOgNeNHm/RZ84rEDmAp/8Lv1t1vaJLLqn6bExzexX/a3MjS57kuNY/g== tarball: 'file:projects/core-asynciterator-polyfill.tgz' version: 0.0.0 'file:projects/core-auth.tgz': dependencies: '@azure/abort-controller': 1.0.0-preview.1 - '@microsoft/api-extractor': 7.3.8 + '@microsoft/api-extractor': 7.3.5 '@types/mocha': 5.2.7 '@types/node': 8.10.51 - '@typescript-eslint/eslint-plugin': 2.0.0_2597c16b46d7eff3ec2c0c583ca4ae44 - '@typescript-eslint/parser': 2.0.0_eslint@6.1.0 + '@typescript-eslint/eslint-plugin': 1.13.0_0b5e999c52a893676e7127c05369c7b6 + '@typescript-eslint/parser': 1.13.0_eslint@5.16.0 assert: 1.5.0 cross-env: 5.2.0 - eslint: 6.1.0 - eslint-config-prettier: 6.0.0_eslint@6.1.0 - eslint-plugin-no-null: 1.0.2_eslint@6.1.0 + eslint: 5.16.0 + eslint-config-prettier: 6.0.0_eslint@5.16.0 + eslint-detailed-reporter: 0.8.0_eslint@5.16.0 + eslint-plugin-no-null: 1.0.2_eslint@5.16.0 eslint-plugin-no-only-tests: 2.3.1 eslint-plugin-promise: 4.2.1 inherits: 2.0.4 @@ -9796,7 +9845,7 @@ packages: mocha-junit-reporter: 1.23.1_mocha@5.2.0 mocha-multi: 1.1.0_mocha@5.2.0 prettier: 1.18.2 - rimraf: 2.7.0 + rimraf: 2.6.3 rollup: 1.19.4 rollup-plugin-commonjs: 10.0.2_rollup@1.19.4 rollup-plugin-json: 4.0.0 @@ -9812,14 +9861,14 @@ packages: dev: false name: '@rush-temp/core-auth' resolution: - integrity: sha512-poIE3YcALUSumoWHzEPa4NytNulJKfa/FEJrnk8iZaMA+sRXPJTtdWWgdUQ2ZAvUcFvRjbE4wphJiYN7NqrTqw== + integrity: sha512-BzCXSUB2kZHpKe4LcJmw1ttav09XKk0gCebGj3pric2r8D4dKZIpzS5KRJ+t+X8TcyupVuBv2kx/U2ZeTTX6QA== tarball: 'file:projects/core-auth.tgz' version: 0.0.0 'file:projects/core-http.tgz': dependencies: '@azure/core-auth': 1.0.0-preview.2 '@azure/logger-js': 1.3.2 - '@types/chai': 4.2.0 + '@types/chai': 4.1.7 '@types/express': 4.17.0 '@types/glob': 7.1.1 '@types/karma': 3.0.3 @@ -9833,15 +9882,16 @@ packages: '@types/webpack': 4.32.1 '@types/webpack-dev-middleware': 2.0.3 '@types/xml2js': 0.4.4 - '@typescript-eslint/eslint-plugin': 2.0.0_2597c16b46d7eff3ec2c0c583ca4ae44 - '@typescript-eslint/parser': 2.0.0_eslint@6.1.0 + '@typescript-eslint/eslint-plugin': 1.13.0_0b5e999c52a893676e7127c05369c7b6 + '@typescript-eslint/parser': 1.13.0_eslint@5.16.0 abortcontroller-polyfill: 1.3.0 axios: 0.19.0 axios-mock-adapter: 1.17.0_axios@0.19.0 chai: 4.2.0 - eslint: 6.1.0 - eslint-config-prettier: 6.0.0_eslint@6.1.0 - eslint-plugin-no-null: 1.0.2_eslint@6.1.0 + eslint: 5.16.0 + eslint-config-prettier: 6.0.0_eslint@5.16.0 + eslint-detailed-reporter: 0.8.0_eslint@5.16.0 + eslint-plugin-no-null: 1.0.2_eslint@5.16.0 eslint-plugin-no-only-tests: 2.3.1 eslint-plugin-promise: 4.2.1 express: 4.17.1 @@ -9849,12 +9899,12 @@ packages: glob: 7.1.4 karma: 4.2.0 karma-chai: 0.1.0_chai@4.2.0+karma@4.2.0 - karma-chrome-launcher: 3.1.0 + karma-chrome-launcher: 3.0.0 karma-mocha: 1.3.0 karma-rollup-preprocessor: 7.0.2_rollup@1.19.4 karma-sourcemap-loader: 0.3.7 karma-typescript-es6-transform: 4.1.1 - karma-webpack: 4.0.2_webpack@4.39.2 + karma-webpack: 4.0.2_webpack@4.39.1 mocha: 5.2.0 mocha-chrome: 2.0.0 mocha-junit-reporter: 1.23.1_mocha@5.2.0 @@ -9863,7 +9913,7 @@ packages: nyc: 14.1.1 process: 0.11.10 puppeteer: 1.19.0 - rimraf: 2.7.0 + rimraf: 2.6.3 rollup: 1.19.4 rollup-plugin-alias: 1.5.2 rollup-plugin-commonjs: 10.0.2_rollup@1.19.4 @@ -9873,7 +9923,7 @@ packages: rollup-plugin-resolve: 0.0.1-predev.1 rollup-plugin-sourcemaps: 0.4.2_rollup@1.19.4 rollup-plugin-visualizer: 2.5.4_rollup@1.19.4 - semver: 5.7.1 + semver: 5.7.0 shx: 0.3.2 sinon: 7.4.1 tough-cookie: 3.0.1 @@ -9884,27 +9934,28 @@ packages: typescript: 3.5.3 uglify-js: 3.6.0 uuid: 3.3.2 - webpack: 4.39.2_webpack@4.39.2 - webpack-cli: 3.3.6_webpack@4.39.2 - webpack-dev-middleware: 3.7.0_webpack@4.39.2 + webpack: 4.39.1_webpack@4.39.1 + webpack-cli: 3.3.6_webpack@4.39.1 + webpack-dev-middleware: 3.7.0_webpack@4.39.1 xhr-mock: 2.5.0 xml2js: 0.4.19 yarn: 1.17.3 dev: false name: '@rush-temp/core-http' resolution: - integrity: sha512-cIWLeQLCxaGc//eGv6GQS5eD+U0PtDYWIfhD7YQbTJQ/17cs+d+MEI2htP59a94kaSnkQhDy9nJZBGxxdQFvhw== + integrity: sha512-7IhE+RIsCZy2i1mRHlNnCcs2Lb/4MD3yOOQNTKDvSHsUqapfdjKB0vL/5lNfFB1lnz4Ty7Zwnx4S8ejzisgQFQ== tarball: 'file:projects/core-http.tgz' version: 0.0.0 'file:projects/core-paging.tgz': dependencies: '@azure/core-asynciterator-polyfill': 1.0.0-preview.1 '@types/node': 8.10.51 - '@typescript-eslint/eslint-plugin': 2.0.0_2597c16b46d7eff3ec2c0c583ca4ae44 - '@typescript-eslint/parser': 2.0.0_eslint@6.1.0 - eslint: 6.1.0 - eslint-config-prettier: 6.0.0_eslint@6.1.0 - eslint-plugin-no-null: 1.0.2_eslint@6.1.0 + '@typescript-eslint/eslint-plugin': 1.13.0_0b5e999c52a893676e7127c05369c7b6 + '@typescript-eslint/parser': 1.13.0_eslint@5.16.0 + eslint: 5.16.0 + eslint-config-prettier: 6.0.0_eslint@5.16.0 + eslint-detailed-reporter: 0.8.0_eslint@5.16.0 + eslint-plugin-no-null: 1.0.2_eslint@5.16.0 eslint-plugin-no-only-tests: 2.3.1 eslint-plugin-promise: 4.2.1 prettier: 1.18.2 @@ -9912,21 +9963,22 @@ packages: dev: false name: '@rush-temp/core-paging' resolution: - integrity: sha512-/l5SA2u/jUrYjvQBf24YFdaoYW4GAdU3iDoGDekLbjH2fSP8wOt/3oDlBM8pxGD54TB7s06Oi4OjBsQN6F5tgw== + integrity: sha512-EnQl2fTIIG6a5I/I3EzV+4vYTEJcb4TBBeW/olyfoCWioVWC9Mmq5u4S83XXAgY3m98/ctbNHzEcEuCdgSdVrA== tarball: 'file:projects/core-paging.tgz' version: 0.0.0 'file:projects/core-tracing.tgz': dependencies: - '@microsoft/api-extractor': 7.3.8 + '@microsoft/api-extractor': 7.3.5 '@types/mocha': 5.2.7 '@types/node': 8.10.51 - '@typescript-eslint/eslint-plugin': 2.0.0_2597c16b46d7eff3ec2c0c583ca4ae44 - '@typescript-eslint/parser': 2.0.0_eslint@6.1.0 + '@typescript-eslint/eslint-plugin': 1.13.0_0b5e999c52a893676e7127c05369c7b6 + '@typescript-eslint/parser': 1.13.0_eslint@5.16.0 assert: 1.5.0 cross-env: 5.2.0 - eslint: 6.1.0 - eslint-config-prettier: 6.0.0_eslint@6.1.0 - eslint-plugin-no-null: 1.0.2_eslint@6.1.0 + eslint: 5.16.0 + eslint-config-prettier: 6.0.0_eslint@5.16.0 + eslint-detailed-reporter: 0.8.0_eslint@5.16.0 + eslint-plugin-no-null: 1.0.2_eslint@5.16.0 eslint-plugin-no-only-tests: 2.3.1 eslint-plugin-promise: 4.2.1 inherits: 2.0.4 @@ -9934,7 +9986,7 @@ packages: mocha-junit-reporter: 1.23.1_mocha@5.2.0 mocha-multi: 1.1.0_mocha@5.2.0 prettier: 1.18.2 - rimraf: 2.7.0 + rimraf: 2.6.3 rollup: 1.19.4 rollup-plugin-commonjs: 10.0.2_rollup@1.19.4 rollup-plugin-json: 4.0.0 @@ -9950,18 +10002,60 @@ packages: dev: false name: '@rush-temp/core-tracing' resolution: - integrity: sha512-N2yZqv6ETc8CxkgSQPlNECLNSUxbhzSewajYGFnF9oy3tbJFQCrS299//muVzpECytxGOvjv4PlQ6r5tilptTg== + integrity: sha512-bn/Ll8t/8EkxyT5d7wI1brmQduZ0wwAYOc9wmiXsvACidExUHHbcFUYDdzIEABYDxE1KnUGTeme0ExBk/6zJIQ== tarball: 'file:projects/core-tracing.tgz' version: 0.0.0 + 'file:projects/cosmos.tgz': + dependencies: + '@types/mocha': 5.2.7 + '@types/node': 8.10.51 + '@types/priorityqueuejs': 1.0.1 + '@types/semaphore': 1.1.0 + '@types/sinon': 7.0.13 + '@types/tunnel': 0.0.1 + '@types/underscore': 1.9.2 + '@typescript-eslint/eslint-plugin': 1.13.0_0b5e999c52a893676e7127c05369c7b6 + '@typescript-eslint/parser': 1.13.0_eslint@5.16.0 + binary-search-bounds: 2.0.3 + create-hmac: 1.1.7 + eslint: 5.16.0 + eslint-config-prettier: 6.0.0_eslint@5.16.0 + eslint-detailed-reporter: 0.8.0_eslint@5.16.0 + eslint-plugin-no-null: 1.0.2_eslint@5.16.0 + eslint-plugin-no-only-tests: 2.3.1 + eslint-plugin-promise: 4.2.1 + execa: 1.0.0 + mocha: 5.2.0 + mocha-junit-reporter: 1.23.1_mocha@5.2.0 + mocha-multi: 1.1.0_mocha@5.2.0 + prettier: 1.18.2 + priorityqueuejs: 1.0.0 + requirejs: 2.3.6 + rimraf: 2.6.3 + semaphore: 1.0.5 + sinon: 7.4.1 + stream-http: 2.8.3 + ts-node: 8.3.0_typescript@3.5.3 + tslib: 1.10.0 + tunnel: 0.0.6 + typescript: 3.5.3 + webpack: 4.39.1_webpack@4.39.1 + webpack-cli: 3.3.6_webpack@4.39.1 + dev: false + name: '@rush-temp/cosmos' + resolution: + integrity: sha512-5OtuHMLHmJ9wohJDESFRqKwMm3IMXzj6ffj2BkZZqroUioGo4xLqSOAVrnaqPaiBzlQWp96viBp8mhxgc+2prA== + tarball: 'file:projects/cosmos.tgz' + version: 0.0.0 'file:projects/event-hubs.tgz': dependencies: '@azure/abort-controller': 1.0.0-preview.1 '@azure/core-asynciterator-polyfill': 1.0.0-preview.1 - '@microsoft/api-extractor': 7.3.8 + '@microsoft/api-extractor': 7.3.5 '@types/async-lock': 1.1.1 - '@types/chai': 4.2.0 - '@types/chai-as-promised': 7.1.2 - '@types/chai-string': 1.4.2 + '@types/chai': 4.1.7 + '@types/chai-as-promised': 7.1.1 + '@types/chai-string': 1.4.1 '@types/debug': 0.0.31 '@types/dotenv': 6.1.1 '@types/long': 4.0.0 @@ -9969,31 +10063,32 @@ packages: '@types/node': 8.10.51 '@types/uuid': 3.4.5 '@types/ws': 6.0.2 - '@typescript-eslint/eslint-plugin': 2.0.0_2597c16b46d7eff3ec2c0c583ca4ae44 - '@typescript-eslint/parser': 2.0.0_eslint@6.1.0 + '@typescript-eslint/eslint-plugin': 1.13.0_0b5e999c52a893676e7127c05369c7b6 + '@typescript-eslint/parser': 1.13.0_eslint@5.16.0 assert: 1.5.0 async-lock: 1.2.2 - buffer: 5.4.0 + buffer: 5.2.1 chai: 4.2.0 chai-as-promised: 7.1.1_chai@4.2.0 chai-string: 1.5.0_chai@4.2.0 cross-env: 5.2.0 debug: 3.2.6 dotenv: 8.0.0 - eslint: 6.1.0 - eslint-config-prettier: 6.0.0_eslint@6.1.0 - eslint-plugin-no-null: 1.0.2_eslint@6.1.0 + eslint: 5.16.0 + eslint-config-prettier: 6.0.0_eslint@5.16.0 + eslint-detailed-reporter: 0.8.0_eslint@5.16.0 + eslint-plugin-no-null: 1.0.2_eslint@5.16.0 eslint-plugin-no-only-tests: 2.3.1 eslint-plugin-promise: 4.2.1 https-proxy-agent: 2.2.2 is-buffer: 2.0.3 jssha: 2.3.1 karma: 4.2.0 - karma-chrome-launcher: 3.1.0 + karma-chrome-launcher: 3.0.0 karma-coverage: 1.1.2 karma-edge-launcher: 0.4.2_karma@4.2.0 karma-env-preprocessor: 0.1.1 - karma-firefox-launcher: 1.2.0 + karma-firefox-launcher: 1.1.0 karma-ie-launcher: 1.0.0_karma@4.2.0 karma-junit-reporter: 1.2.0_karma@4.2.0 karma-mocha: 1.3.0 @@ -10007,7 +10102,7 @@ packages: process: 0.11.10 puppeteer: 1.19.0 rhea-promise: 1.0.0 - rimraf: 2.7.0 + rimraf: 2.6.3 rollup: 1.19.4 rollup-plugin-commonjs: 10.0.2_rollup@1.19.4 rollup-plugin-inject: 3.0.1 @@ -10023,30 +10118,30 @@ packages: tslib: 1.10.0 typescript: 3.5.3 uuid: 3.3.2 - ws: 7.1.2 + ws: 7.1.1 dev: false name: '@rush-temp/event-hubs' resolution: - integrity: sha512-6oIsVxqCq8FoAnm44hK9onl+HpdSSMKQF+uKIN2nW9Un2Jv2F+x3P2/8x/X8liS35AALPF7/E30LsPv4bHCBkQ== + integrity: sha512-Twj5EmP7npdlRoh1VdXgIbGaE/xuQfqK06NAUpMwdhDXL6/cK59cOLmxnGSf+8lqiDCFnaV/BHFwwwQHlMSPag== tarball: 'file:projects/event-hubs.tgz' version: 0.0.0 'file:projects/event-processor-host.tgz': dependencies: '@azure/event-hubs': 2.1.1 '@azure/ms-rest-nodeauth': 0.9.3 - '@microsoft/api-extractor': 7.3.8 + '@microsoft/api-extractor': 7.3.5 '@types/async-lock': 1.1.1 - '@types/chai': 4.2.0 - '@types/chai-as-promised': 7.1.2 - '@types/chai-string': 1.4.2 + '@types/chai': 4.1.7 + '@types/chai-as-promised': 7.1.1 + '@types/chai-string': 1.4.1 '@types/debug': 0.0.31 '@types/dotenv': 6.1.1 '@types/mocha': 5.2.7 '@types/node': 8.10.51 '@types/uuid': 3.4.5 '@types/ws': 6.0.2 - '@typescript-eslint/eslint-plugin': 2.0.0_2597c16b46d7eff3ec2c0c583ca4ae44 - '@typescript-eslint/parser': 2.0.0_eslint@6.1.0 + '@typescript-eslint/eslint-plugin': 1.13.0_0b5e999c52a893676e7127c05369c7b6 + '@typescript-eslint/parser': 1.13.0_eslint@5.16.0 async-lock: 1.2.2 azure-storage: 2.10.3 chai: 4.2.0 @@ -10055,9 +10150,10 @@ packages: cross-env: 5.2.0 debug: 3.2.6 dotenv: 8.0.0 - eslint: 6.1.0 - eslint-config-prettier: 6.0.0_eslint@6.1.0 - eslint-plugin-no-null: 1.0.2_eslint@6.1.0 + eslint: 5.16.0 + eslint-config-prettier: 6.0.0_eslint@5.16.0 + eslint-detailed-reporter: 0.8.0_eslint@5.16.0 + eslint-plugin-no-null: 1.0.2_eslint@5.16.0 eslint-plugin-no-only-tests: 2.3.1 eslint-plugin-promise: 4.2.1 https-proxy-agent: 2.2.2 @@ -10067,7 +10163,7 @@ packages: nyc: 14.1.1 path-browserify: 1.0.0 prettier: 1.18.2 - rimraf: 2.7.0 + rimraf: 2.6.3 rollup: 1.19.4 rollup-plugin-commonjs: 10.0.2_rollup@1.19.4 rollup-plugin-json: 4.0.0 @@ -10080,11 +10176,11 @@ packages: tslib: 1.10.0 typescript: 3.5.3 uuid: 3.3.2 - ws: 7.1.2 + ws: 7.1.1 dev: false name: '@rush-temp/event-processor-host' resolution: - integrity: sha512-xGmUL6qWotI3HXUCpFmTc2GPunbglcrS1k8Rw35kMNojt+U0on+JAdm78BF2lhaxD8Ae1vVdd1Ue544Z1jflTg== + integrity: sha512-NA3u7hYUX4M4rPCK+aTFtGaZfbMDWvsxHdV0No6sppjjLiHEKDL2yBdBwhuhKsy4/Ty/VIpfJQQjfUoYPOn/nw== tarball: 'file:projects/event-processor-host.tgz' version: 0.0.0 'file:projects/identity.tgz': @@ -10096,16 +10192,16 @@ packages: '@types/node': 8.10.51 '@types/qs': 6.5.3 '@types/uuid': 3.4.5 - '@typescript-eslint/eslint-plugin': 2.0.0_2597c16b46d7eff3ec2c0c583ca4ae44 - '@typescript-eslint/parser': 2.0.0_eslint@6.1.0 + '@typescript-eslint/eslint-plugin': 1.13.0_0b5e999c52a893676e7127c05369c7b6 + '@typescript-eslint/parser': 1.13.0_eslint@5.16.0 assert: 1.5.0 cross-env: 5.2.0 - eslint: 6.1.0 + eslint: 5.16.0 events: 3.0.0 inherits: 2.0.4 jws: 3.2.2 karma: 4.2.0 - karma-chrome-launcher: 3.1.0 + karma-chrome-launcher: 3.0.0 karma-coverage: 1.1.2 karma-env-preprocessor: 0.1.1 karma-json-preprocessor: 0.3.3_karma@4.2.0 @@ -10121,7 +10217,7 @@ packages: prettier: 1.18.2 puppeteer: 1.19.0 qs: 6.7.0 - rimraf: 2.7.0 + rimraf: 2.6.3 rollup: 1.19.4 rollup-plugin-commonjs: 10.0.2_rollup@1.19.4 rollup-plugin-json: 4.0.0 @@ -10138,27 +10234,27 @@ packages: dev: false name: '@rush-temp/identity' resolution: - integrity: sha512-pTrZBhzusW/eAOYNC6PTg1Pf1e+fk2zt34Bk/yVsupPPFEDfESZ2hYYP0vR1DFmE/zm/d2kRPDWKxTovOrlA3w== + integrity: sha512-ooaU/oS0hxlRosg7mxEycsdl1Wv7CLVd0Bvg3MUWILF+uwzSe9iePFj7e0vgVmt4QYXIOokcl/5T+iai04UiDQ== tarball: 'file:projects/identity.tgz' version: 0.0.0 'file:projects/keyvault-certificates.tgz': dependencies: '@azure/core-arm': 1.0.0-preview.2 '@azure/core-http': 1.0.0-preview.2 - '@azure/core-paging': 1.0.0-preview.1 - '@microsoft/api-extractor': 7.3.8 - '@types/chai': 4.2.0 + '@microsoft/api-extractor': 7.3.5 + '@types/chai': 4.1.7 '@types/node': 8.10.51 - '@typescript-eslint/eslint-plugin': 2.0.0_2597c16b46d7eff3ec2c0c583ca4ae44 - '@typescript-eslint/parser': 2.0.0_eslint@6.1.0 + '@typescript-eslint/eslint-plugin': 1.13.0_0b5e999c52a893676e7127c05369c7b6 + '@typescript-eslint/parser': 1.13.0_eslint@5.16.0 chai: 4.2.0 - eslint: 6.1.0 - eslint-config-prettier: 6.0.0_eslint@6.1.0 - eslint-plugin-no-null: 1.0.2_eslint@6.1.0 + eslint: 5.16.0 + eslint-config-prettier: 6.0.0_eslint@5.16.0 + eslint-detailed-reporter: 0.8.0_eslint@5.16.0 + eslint-plugin-no-null: 1.0.2_eslint@5.16.0 eslint-plugin-no-only-tests: 2.3.1 eslint-plugin-promise: 4.2.1 prettier: 1.18.2 - rimraf: 2.7.0 + rimraf: 2.6.3 rollup: 1.19.4 rollup-plugin-commonjs: 10.0.2_rollup@1.19.4 rollup-plugin-node-resolve: 5.2.0_rollup@1.19.4 @@ -10169,7 +10265,7 @@ packages: dev: false name: '@rush-temp/keyvault-certificates' resolution: - integrity: sha512-hMUsul3fovobeW632U17FgNDxpkqn8IFR8n2myL3vv4s81VOUAVgTw05ZJaVvITNuALUZ3Ggxq8SCVjgp3Pttg== + integrity: sha512-fvdm0x/jZa2NjdhHc3T54qZdSCXT/f1OTIocofIIITxlh3/KnPbsrEN0NA6hMuEd5OQRjIu8XCzLeKMnMMjq+A== tarball: 'file:projects/keyvault-certificates.tgz' version: 0.0.0 'file:projects/keyvault-keys.tgz': @@ -10179,9 +10275,9 @@ packages: '@azure/core-http': 1.0.0-preview.2 '@azure/core-paging': 1.0.0-preview.1 '@azure/core-tracing': 1.0.0-preview.1 - '@microsoft/api-extractor': 7.3.8 + '@microsoft/api-extractor': 7.3.5 '@trust/keyto': 0.3.7 - '@types/chai': 4.2.0 + '@types/chai': 4.1.7 '@types/dotenv': 6.1.1 '@types/fs-extra': 8.0.0 '@types/mocha': 5.2.7 @@ -10189,24 +10285,25 @@ packages: '@types/nock': 10.0.3 '@types/node': 8.10.51 '@types/query-string': 6.2.0 - '@typescript-eslint/eslint-plugin': 2.0.0_2597c16b46d7eff3ec2c0c583ca4ae44 - '@typescript-eslint/parser': 2.0.0_eslint@6.1.0 + '@typescript-eslint/eslint-plugin': 1.13.0_0b5e999c52a893676e7127c05369c7b6 + '@typescript-eslint/parser': 1.13.0_eslint@5.16.0 assert: 1.5.0 chai: 4.2.0 cross-env: 5.2.0 dotenv: 8.0.0 - eslint: 6.1.0 - eslint-config-prettier: 6.0.0_eslint@6.1.0 - eslint-plugin-no-null: 1.0.2_eslint@6.1.0 + eslint: 5.16.0 + eslint-config-prettier: 6.0.0_eslint@5.16.0 + eslint-detailed-reporter: 0.8.0_eslint@5.16.0 + eslint-plugin-no-null: 1.0.2_eslint@5.16.0 eslint-plugin-no-only-tests: 2.3.1 eslint-plugin-promise: 4.2.1 fs-extra: 8.1.0 karma: 4.2.0 - karma-chrome-launcher: 3.1.0 + karma-chrome-launcher: 3.0.0 karma-coverage: 1.1.2 karma-edge-launcher: 0.4.2_karma@4.2.0 karma-env-preprocessor: 0.1.1 - karma-firefox-launcher: 1.2.0 + karma-firefox-launcher: 1.1.0 karma-ie-launcher: 1.0.0_karma@4.2.0 karma-json-preprocessor: 0.3.3_karma@4.2.0 karma-json-to-file-reporter: 1.0.1 @@ -10223,7 +10320,7 @@ packages: prettier: 1.18.2 puppeteer: 1.19.0 query-string: 5.1.1 - rimraf: 2.7.0 + rimraf: 2.6.3 rollup: 1.19.4 rollup-plugin-commonjs: 10.0.2_rollup@1.19.4 rollup-plugin-multi-entry: 2.1.0 @@ -10241,7 +10338,7 @@ packages: dev: false name: '@rush-temp/keyvault-keys' resolution: - integrity: sha512-JIwqtBN279m4D5Dmkp6yASfsZMdfYIQAswYHYRXBud5JRQjZCVJQf1iE1PkXgX7hFR6WWt05jZsDVtBfs3CRAw== + integrity: sha512-NrVNw2RB6a2DCcccvimYt7KuOveFUpDnIkY9QjoZyprz25DwiFXHMvMR4/Wv7Wb8j0fZSVcouXVsxl7ZaS4rYQ== tarball: 'file:projects/keyvault-keys.tgz' version: 0.0.0 'file:projects/keyvault-secrets.tgz': @@ -10250,8 +10347,8 @@ packages: '@azure/core-arm': 1.0.0-preview.2 '@azure/core-http': 1.0.0-preview.2 '@azure/core-paging': 1.0.0-preview.1 - '@microsoft/api-extractor': 7.3.8 - '@types/chai': 4.2.0 + '@microsoft/api-extractor': 7.3.5 + '@types/chai': 4.1.7 '@types/dotenv': 6.1.1 '@types/fs-extra': 8.0.0 '@types/mocha': 5.2.7 @@ -10259,24 +10356,25 @@ packages: '@types/nock': 10.0.3 '@types/node': 8.10.51 '@types/query-string': 6.2.0 - '@typescript-eslint/eslint-plugin': 2.0.0_2597c16b46d7eff3ec2c0c583ca4ae44 - '@typescript-eslint/parser': 2.0.0_eslint@6.1.0 + '@typescript-eslint/eslint-plugin': 1.13.0_0b5e999c52a893676e7127c05369c7b6 + '@typescript-eslint/parser': 1.13.0_eslint@5.16.0 assert: 1.5.0 chai: 4.2.0 cross-env: 5.2.0 dotenv: 8.0.0 - eslint: 6.1.0 - eslint-config-prettier: 6.0.0_eslint@6.1.0 - eslint-plugin-no-null: 1.0.2_eslint@6.1.0 + eslint: 5.16.0 + eslint-config-prettier: 6.0.0_eslint@5.16.0 + eslint-detailed-reporter: 0.8.0_eslint@5.16.0 + eslint-plugin-no-null: 1.0.2_eslint@5.16.0 eslint-plugin-no-only-tests: 2.3.1 eslint-plugin-promise: 4.2.1 fs-extra: 8.1.0 karma: 4.2.0 - karma-chrome-launcher: 3.1.0 + karma-chrome-launcher: 3.0.0 karma-coverage: 1.1.2 karma-edge-launcher: 0.4.2_karma@4.2.0 karma-env-preprocessor: 0.1.1 - karma-firefox-launcher: 1.2.0 + karma-firefox-launcher: 1.1.0 karma-ie-launcher: 1.0.0_karma@4.2.0 karma-json-preprocessor: 0.3.3_karma@4.2.0 karma-json-to-file-reporter: 1.0.1 @@ -10293,7 +10391,7 @@ packages: prettier: 1.18.2 puppeteer: 1.19.0 query-string: 5.1.1 - rimraf: 2.7.0 + rimraf: 2.6.3 rollup: 1.19.4 rollup-plugin-commonjs: 10.0.2_rollup@1.19.4 rollup-plugin-multi-entry: 2.1.0 @@ -10311,7 +10409,7 @@ packages: dev: false name: '@rush-temp/keyvault-secrets' resolution: - integrity: sha512-0ZNKztvn60lEBBtDemq+enbGWsOsCRmHGQJzXHr3Rs+whSu9zMo3V+Pegfj1JruFh6U4y0HKjmQOYCLFltrNPA== + integrity: sha512-x1BkPE5NV5dqU/vfyhq+A79QdpqVD0p7WPMd3lI+tjl7i1GYSjzTBJa5MKU/aXDB85G2KaLoYsdAbT9t9Ca10g== tarball: 'file:projects/keyvault-secrets.tgz' version: 0.0.0 'file:projects/service-bus.tgz': @@ -10319,10 +10417,10 @@ packages: '@azure/amqp-common': 1.0.0-preview.6_rhea-promise@0.1.15 '@azure/arm-servicebus': 3.2.0 '@azure/ms-rest-nodeauth': 0.9.3 - '@microsoft/api-extractor': 7.3.8 + '@microsoft/api-extractor': 7.3.5 '@types/async-lock': 1.1.1 - '@types/chai': 4.2.0 - '@types/chai-as-promised': 7.1.2 + '@types/chai': 4.1.7 + '@types/chai-as-promised': 7.1.1 '@types/debug': 0.0.31 '@types/dotenv': 6.1.1 '@types/is-buffer': 2.0.0 @@ -10330,29 +10428,30 @@ packages: '@types/mocha': 5.2.7 '@types/node': 8.10.51 '@types/ws': 6.0.2 - '@typescript-eslint/eslint-plugin': 2.0.0_2597c16b46d7eff3ec2c0c583ca4ae44 - '@typescript-eslint/parser': 2.0.0_eslint@6.1.0 + '@typescript-eslint/eslint-plugin': 1.13.0_0b5e999c52a893676e7127c05369c7b6 + '@typescript-eslint/parser': 1.13.0_eslint@5.16.0 assert: 1.5.0 - buffer: 5.4.0 + buffer: 5.2.1 chai: 4.2.0 chai-as-promised: 7.1.1_chai@4.2.0 cross-env: 5.2.0 debug: 3.2.6 delay: 4.3.0 dotenv: 8.0.0 - eslint: 6.1.0 - eslint-config-prettier: 6.0.0_eslint@6.1.0 - eslint-plugin-no-null: 1.0.2_eslint@6.1.0 + eslint: 5.16.0 + eslint-config-prettier: 6.0.0_eslint@5.16.0 + eslint-detailed-reporter: 0.8.0_eslint@5.16.0 + eslint-plugin-no-null: 1.0.2_eslint@5.16.0 eslint-plugin-no-only-tests: 2.3.1 eslint-plugin-promise: 4.2.1 https-proxy-agent: 2.2.2 is-buffer: 2.0.3 karma: 4.2.0 - karma-chrome-launcher: 3.1.0 + karma-chrome-launcher: 3.0.0 karma-coverage: 1.1.2 karma-edge-launcher: 0.4.2_karma@4.2.0 karma-env-preprocessor: 0.1.1 - karma-firefox-launcher: 1.2.0 + karma-firefox-launcher: 1.1.0 karma-ie-launcher: 1.0.0_karma@4.2.0 karma-junit-reporter: 1.2.0_karma@4.2.0 karma-mocha: 1.3.0 @@ -10370,7 +10469,7 @@ packages: puppeteer: 1.19.0 rhea: 1.0.8 rhea-promise: 0.1.15 - rimraf: 2.7.0 + rimraf: 2.6.3 rollup: 1.19.4 rollup-plugin-commonjs: 10.0.2_rollup@1.19.4 rollup-plugin-inject: 3.0.1 @@ -10384,17 +10483,17 @@ packages: ts-node: 8.3.0_typescript@3.5.3 tslib: 1.10.0 typescript: 3.5.3 - ws: 7.1.2 + ws: 7.1.1 dev: false name: '@rush-temp/service-bus' resolution: - integrity: sha512-/X7uvDxjHGYZ0Y9Vp3HfLivsoTkV0rk/41X8JyB+JH0KGtC22VcZlMWvOh3P1hqdNzuz2NTwMSA7/jKHIs33LQ== + integrity: sha512-YZz3mASz3qrM577g17GK1eoOiOyH8DiSGxfkIw28W+qGFSBhPNXKs1qdOwDySMs9iypb3z8UjPMeEiBJYFfj/Q== tarball: 'file:projects/service-bus.tgz' version: 0.0.0 'file:projects/storage-blob.tgz': dependencies: '@azure/ms-rest-js': 2.0.4 - '@microsoft/api-extractor': 7.3.8 + '@microsoft/api-extractor': 7.3.5 '@types/dotenv': 6.1.1 '@types/fs-extra': 8.0.0 '@types/mocha': 5.2.7 @@ -10402,15 +10501,16 @@ packages: '@types/nock': 10.0.3 '@types/node': 8.10.51 '@types/query-string': 6.2.0 - '@typescript-eslint/eslint-plugin': 2.0.0_2597c16b46d7eff3ec2c0c583ca4ae44 - '@typescript-eslint/parser': 2.0.0_eslint@6.1.0 + '@typescript-eslint/eslint-plugin': 1.13.0_0b5e999c52a893676e7127c05369c7b6 + '@typescript-eslint/parser': 1.13.0_eslint@5.16.0 assert: 1.5.0 cross-env: 5.2.0 dotenv: 8.0.0 es6-promise: 4.2.8 - eslint: 6.1.0 - eslint-config-prettier: 6.0.0_eslint@6.1.0 - eslint-plugin-no-null: 1.0.2_eslint@6.1.0 + eslint: 5.16.0 + eslint-config-prettier: 6.0.0_eslint@5.16.0 + eslint-detailed-reporter: 0.8.0_eslint@5.16.0 + eslint-plugin-no-null: 1.0.2_eslint@5.16.0 eslint-plugin-no-only-tests: 2.3.1 eslint-plugin-promise: 4.2.1 events: 3.0.0 @@ -10419,11 +10519,11 @@ packages: gulp-zip: 5.0.0_gulp@4.0.2 inherits: 2.0.4 karma: 4.2.0 - karma-chrome-launcher: 3.1.0 + karma-chrome-launcher: 3.0.0 karma-coverage: 1.1.2 karma-edge-launcher: 0.4.2_karma@4.2.0 karma-env-preprocessor: 0.1.1 - karma-firefox-launcher: 1.2.0 + karma-firefox-launcher: 1.1.0 karma-ie-launcher: 1.0.0_karma@4.2.0 karma-json-preprocessor: 0.3.3_karma@4.2.0 karma-json-to-file-reporter: 1.0.1 @@ -10440,7 +10540,7 @@ packages: prettier: 1.18.2 puppeteer: 1.19.0 query-string: 5.1.1 - rimraf: 2.7.0 + rimraf: 2.6.3 rollup: 1.19.4 rollup-plugin-commonjs: 10.0.2_rollup@1.19.4 rollup-plugin-multi-entry: 2.1.0 @@ -10458,13 +10558,13 @@ packages: dev: false name: '@rush-temp/storage-blob' resolution: - integrity: sha512-aRdPzPqKHfcuvV0sTZFcu67pqSDvoh57+uDGAUgeF7myGmp/kswq3rJKFJXe7du8okGpOZ9annR70wkhAOBbow== + integrity: sha512-/pzOlT+BOxng1QpYdbv3xj6EbqP2+biLw7Lsj8MuQ/JlkecQ/vq7uFRuu67Pv7RMA66kzwBu4PRvpkN3CyCsWg== tarball: 'file:projects/storage-blob.tgz' version: 0.0.0 'file:projects/storage-file.tgz': dependencies: '@azure/ms-rest-js': 2.0.4 - '@microsoft/api-extractor': 7.3.8 + '@microsoft/api-extractor': 7.3.5 '@types/dotenv': 6.1.1 '@types/fs-extra': 8.0.0 '@types/mocha': 5.2.7 @@ -10472,15 +10572,16 @@ packages: '@types/nock': 10.0.3 '@types/node': 8.10.51 '@types/query-string': 6.2.0 - '@typescript-eslint/eslint-plugin': 2.0.0_2597c16b46d7eff3ec2c0c583ca4ae44 - '@typescript-eslint/parser': 2.0.0_eslint@6.1.0 + '@typescript-eslint/eslint-plugin': 1.13.0_0b5e999c52a893676e7127c05369c7b6 + '@typescript-eslint/parser': 1.13.0_eslint@5.16.0 assert: 1.5.0 cross-env: 5.2.0 dotenv: 8.0.0 es6-promise: 4.2.8 - eslint: 6.1.0 - eslint-config-prettier: 6.0.0_eslint@6.1.0 - eslint-plugin-no-null: 1.0.2_eslint@6.1.0 + eslint: 5.16.0 + eslint-config-prettier: 6.0.0_eslint@5.16.0 + eslint-detailed-reporter: 0.8.0_eslint@5.16.0 + eslint-plugin-no-null: 1.0.2_eslint@5.16.0 eslint-plugin-no-only-tests: 2.3.1 eslint-plugin-promise: 4.2.1 events: 3.0.0 @@ -10489,11 +10590,11 @@ packages: gulp-zip: 5.0.0_gulp@4.0.2 inherits: 2.0.4 karma: 4.2.0 - karma-chrome-launcher: 3.1.0 + karma-chrome-launcher: 3.0.0 karma-coverage: 1.1.2 karma-edge-launcher: 0.4.2_karma@4.2.0 karma-env-preprocessor: 0.1.1 - karma-firefox-launcher: 1.2.0 + karma-firefox-launcher: 1.1.0 karma-ie-launcher: 1.0.0_karma@4.2.0 karma-json-preprocessor: 0.3.3_karma@4.2.0 karma-json-to-file-reporter: 1.0.1 @@ -10510,7 +10611,7 @@ packages: prettier: 1.18.2 puppeteer: 1.19.0 query-string: 5.1.1 - rimraf: 2.7.0 + rimraf: 2.6.3 rollup: 1.19.4 rollup-plugin-commonjs: 10.0.2_rollup@1.19.4 rollup-plugin-multi-entry: 2.1.0 @@ -10528,13 +10629,13 @@ packages: dev: false name: '@rush-temp/storage-file' resolution: - integrity: sha512-KrfCHFVWfElUeqzm7iab591o3cxSzbGwn4u9F8214TK0vOdyN35kNLwgqJKy5gIrYsyCOuHw6R9i0manZcNxpg== + integrity: sha512-AcWoeC5WyCxKB+KVvceLsoq/zSf5HFzVdXpVvX+Mc/+uaP6XItcvGGsLQfwUojuQ5P7y08AMNMzFMh++vCn7qA== tarball: 'file:projects/storage-file.tgz' version: 0.0.0 'file:projects/storage-queue.tgz': dependencies: '@azure/ms-rest-js': 2.0.4 - '@microsoft/api-extractor': 7.3.8 + '@microsoft/api-extractor': 7.3.5 '@types/dotenv': 6.1.1 '@types/fs-extra': 8.0.0 '@types/mocha': 5.2.7 @@ -10542,15 +10643,16 @@ packages: '@types/nock': 10.0.3 '@types/node': 8.10.51 '@types/query-string': 6.2.0 - '@typescript-eslint/eslint-plugin': 2.0.0_2597c16b46d7eff3ec2c0c583ca4ae44 - '@typescript-eslint/parser': 2.0.0_eslint@6.1.0 + '@typescript-eslint/eslint-plugin': 1.13.0_0b5e999c52a893676e7127c05369c7b6 + '@typescript-eslint/parser': 1.13.0_eslint@5.16.0 assert: 1.5.0 cross-env: 5.2.0 dotenv: 8.0.0 es6-promise: 4.2.8 - eslint: 6.1.0 - eslint-config-prettier: 6.0.0_eslint@6.1.0 - eslint-plugin-no-null: 1.0.2_eslint@6.1.0 + eslint: 5.16.0 + eslint-config-prettier: 6.0.0_eslint@5.16.0 + eslint-detailed-reporter: 0.8.0_eslint@5.16.0 + eslint-plugin-no-null: 1.0.2_eslint@5.16.0 eslint-plugin-no-only-tests: 2.3.1 eslint-plugin-promise: 4.2.1 fs-extra: 8.1.0 @@ -10558,11 +10660,11 @@ packages: gulp-zip: 5.0.0_gulp@4.0.2 inherits: 2.0.4 karma: 4.2.0 - karma-chrome-launcher: 3.1.0 + karma-chrome-launcher: 3.0.0 karma-coverage: 1.1.2 karma-edge-launcher: 0.4.2_karma@4.2.0 karma-env-preprocessor: 0.1.1 - karma-firefox-launcher: 1.2.0 + karma-firefox-launcher: 1.1.0 karma-ie-launcher: 1.0.0_karma@4.2.0 karma-json-preprocessor: 0.3.3_karma@4.2.0 karma-json-to-file-reporter: 1.0.1 @@ -10579,7 +10681,7 @@ packages: prettier: 1.18.2 puppeteer: 1.19.0 query-string: 5.1.1 - rimraf: 2.7.0 + rimraf: 2.6.3 rollup: 1.19.4 rollup-plugin-commonjs: 10.0.2_rollup@1.19.4 rollup-plugin-multi-entry: 2.1.0 @@ -10597,32 +10699,33 @@ packages: dev: false name: '@rush-temp/storage-queue' resolution: - integrity: sha512-YEnScgntT0JsmdrUGYfl7/I4olxlAKvsffXw1pLYLT79P66lW4uIZnntGvRKp8s6RJPOFws9h3pp2FnQvIJJfw== + integrity: sha512-2O9eUkSpX6m28VxTLOykmO3qCo7wybjtfDi6ITx3AhyuRghzv7JwMQNoQKKZlipoD0C5xRzFt4kx51HSA1haPQ== tarball: 'file:projects/storage-queue.tgz' version: 0.0.0 'file:projects/template.tgz': dependencies: '@azure/core-http': 1.0.0-preview.2 - '@microsoft/api-extractor': 7.3.8 + '@microsoft/api-extractor': 7.3.5 '@types/mocha': 5.2.7 '@types/node': 8.10.51 - '@typescript-eslint/eslint-plugin': 2.0.0_2597c16b46d7eff3ec2c0c583ca4ae44 - '@typescript-eslint/parser': 2.0.0_eslint@6.1.0 + '@typescript-eslint/eslint-plugin': 1.13.0_0b5e999c52a893676e7127c05369c7b6 + '@typescript-eslint/parser': 1.13.0_eslint@5.16.0 assert: 1.5.0 cross-env: 5.2.0 - eslint: 6.1.0 - eslint-config-prettier: 6.0.0_eslint@6.1.0 - eslint-plugin-no-null: 1.0.2_eslint@6.1.0 + eslint: 5.16.0 + eslint-config-prettier: 6.0.0_eslint@5.16.0 + eslint-detailed-reporter: 0.8.0_eslint@5.16.0 + eslint-plugin-no-null: 1.0.2_eslint@5.16.0 eslint-plugin-no-only-tests: 2.3.1 eslint-plugin-promise: 4.2.1 events: 3.0.0 inherits: 2.0.4 karma: 4.2.0 - karma-chrome-launcher: 3.1.0 + karma-chrome-launcher: 3.0.0 karma-coverage: 1.1.2 karma-edge-launcher: 0.4.2_karma@4.2.0 karma-env-preprocessor: 0.1.1 - karma-firefox-launcher: 1.2.0 + karma-firefox-launcher: 1.1.0 karma-ie-launcher: 1.0.0_karma@4.2.0 karma-junit-reporter: 1.2.0_karma@4.2.0 karma-mocha: 1.3.0 @@ -10632,7 +10735,7 @@ packages: mocha-junit-reporter: 1.23.1_mocha@5.2.0 mocha-multi: 1.1.0_mocha@5.2.0 prettier: 1.18.2 - rimraf: 2.7.0 + rimraf: 2.6.3 rollup: 1.19.4 rollup-plugin-commonjs: 10.0.2_rollup@1.19.4 rollup-plugin-json: 4.0.0 @@ -10648,7 +10751,7 @@ packages: dev: false name: '@rush-temp/template' resolution: - integrity: sha512-k+j+oVVsGtuHnarX70kvHZEzdBuPsS7mpQOiTr92L+Na7XQoUJTN7MpKAWw3dUZlIv8QBOmrB7AD+9IP1MenYA== + integrity: sha512-AMpPTEkUgSl26Ex8ssFDn2Ta7mAMlev/lR8OY/ExGmiZsPxICKmcnCozgxYmqaHSO//W21/x1Xa0rzIpjGKW3Q== tarball: 'file:projects/template.tgz' version: 0.0.0 'file:projects/testhub.tgz': @@ -10661,7 +10764,7 @@ packages: death: 1.1.0 debug: 3.2.6 rhea: 1.0.8 - rimraf: 2.7.0 + rimraf: 2.6.3 tslib: 1.10.0 typescript: 3.5.3 uuid: 3.3.2 @@ -10695,6 +10798,7 @@ specifiers: '@rush-temp/core-http': 'file:./projects/core-http.tgz' '@rush-temp/core-paging': 'file:./projects/core-paging.tgz' '@rush-temp/core-tracing': 'file:./projects/core-tracing.tgz' + '@rush-temp/cosmos': 'file:./projects/cosmos.tgz' '@rush-temp/event-hubs': 'file:./projects/event-hubs.tgz' '@rush-temp/event-processor-host': 'file:./projects/event-processor-host.tgz' '@rush-temp/identity': 'file:./projects/identity.tgz' @@ -10726,42 +10830,49 @@ specifiers: '@types/nise': ^1.4.0 '@types/nock': ^10.0.1 '@types/node': ^8.0.0 + '@types/priorityqueuejs': ^1.0.1 '@types/qs': ~6.5.3 '@types/query-string': 6.2.0 + '@types/semaphore': ^1.1.0 '@types/semver': ^5.5.0 '@types/sinon': ^7.0.13 '@types/tough-cookie': ^2.3.5 '@types/tunnel': ^0.0.1 + '@types/underscore': ^1.8.8 '@types/uuid': ^3.4.3 '@types/webpack': ^4.4.13 '@types/webpack-dev-middleware': ^2.0.2 '@types/ws': ^6.0.1 '@types/xml2js': ^0.4.3 '@types/yargs': ^13.0.0 - '@typescript-eslint/eslint-plugin': ^2.0.0 - '@typescript-eslint/parser': ^2.0.0 + '@typescript-eslint/eslint-plugin': ^1.11.0 + '@typescript-eslint/parser': ^1.11.0 abortcontroller-polyfill: ^1.1.9 assert: ^1.4.1 async-lock: ^1.1.3 axios: ^0.19.0 axios-mock-adapter: ^1.16.0 azure-storage: ^2.10.2 + binary-search-bounds: 2.0.3 buffer: ^5.2.1 chai: ^4.2.0 chai-as-promised: ^7.1.1 chai-string: ^1.5.0 + create-hmac: ^1.1.7 cross-env: ^5.2.0 death: ^1.1.0 debug: ^3.1.0 delay: ^4.2.0 dotenv: ^8.0.0 es6-promise: ^4.2.5 - eslint: ^6.1.0 + eslint: ^5.16.0 eslint-config-prettier: ^6.0.0 + eslint-detailed-reporter: ^0.8.0 eslint-plugin-no-null: ^1.0.2 eslint-plugin-no-only-tests: ^2.3.0 eslint-plugin-promise: ^4.1.1 events: ^3.0.0 + execa: 1.0.0 express: ^4.16.3 form-data: ^2.5.0 fs-extra: ^8.1.0 @@ -10805,11 +10916,13 @@ specifiers: nyc: ^14.0.0 path-browserify: ^1.0.0 prettier: ^1.16.4 + priorityqueuejs: 1.0.0 process: ^0.11.10 promise: ^8.0.3 puppeteer: ^1.11.0 qs: 6.7.0 query-string: ^5.0.0 + requirejs: ^2.3.5 rhea: ^1.0.4 rhea-promise: ^0.1.15 rimraf: ^2.6.2 @@ -10828,11 +10941,13 @@ specifiers: rollup-plugin-terser: ^5.1.1 rollup-plugin-uglify: ^6.0.0 rollup-plugin-visualizer: ^2.0.0 + semaphore: 1.0.5 semver: ^5.5.0 shx: ^0.3.2 sinon: ^7.1.0 source-map-support: ^0.5.9 stream-browserify: ^2.0.2 + stream-http: ^2.8.3 tough-cookie: ^3.0.1 ts-loader: ^6.0.4 ts-mocha: ^6.0.0