diff --git a/sdk/devtestlabs/arm-devtestlabs/LICENSE.txt b/sdk/devtestlabs/arm-devtestlabs/LICENSE.txt index b73b4a1293c3..2d3163745319 100644 --- a/sdk/devtestlabs/arm-devtestlabs/LICENSE.txt +++ b/sdk/devtestlabs/arm-devtestlabs/LICENSE.txt @@ -1,6 +1,6 @@ The MIT License (MIT) -Copyright (c) 2019 Microsoft +Copyright (c) 2021 Microsoft Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/sdk/devtestlabs/arm-devtestlabs/README.md b/sdk/devtestlabs/arm-devtestlabs/README.md index f00489748b4a..d4219a3f2d11 100644 --- a/sdk/devtestlabs/arm-devtestlabs/README.md +++ b/sdk/devtestlabs/arm-devtestlabs/README.md @@ -15,21 +15,21 @@ npm install @azure/arm-devtestlabs ### How to use -#### nodejs - Authentication, client creation and list providerOperations as an example written in TypeScript. +#### nodejs - client creation and list providerOperations as an example written in TypeScript. ##### Install @azure/ms-rest-nodeauth +- Please install minimum version of `"@azure/ms-rest-nodeauth": "^3.0.0"`. ```bash -npm install @azure/ms-rest-nodeauth +npm install @azure/ms-rest-nodeauth@"^3.0.0" ``` ##### Sample code +While the below sample uses the interactive login, other authentication options can be found in the [README.md file of @azure/ms-rest-nodeauth](https://www.npmjs.com/package/@azure/ms-rest-nodeauth) package ```typescript -import * as msRest from "@azure/ms-rest-js"; -import * as msRestAzure from "@azure/ms-rest-azure-js"; -import * as msRestNodeAuth from "@azure/ms-rest-nodeauth"; -import { DevTestLabsClient, DevTestLabsModels, DevTestLabsMappers } from "@azure/arm-devtestlabs"; +const msRestNodeAuth = require("@azure/ms-rest-nodeauth"); +const { DevTestLabsClient } = require("@azure/arm-devtestlabs"); const subscriptionId = process.env["AZURE_SUBSCRIPTION_ID"]; msRestNodeAuth.interactiveLogin().then((creds) => { @@ -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%2Fsdk%2Fdevtestlabs%2Farm-devtestlabs%2FREADME.png) +![Impressions](https://azure-sdk-impressions.azurewebsites.net/api/impressions/azure-sdk-for-js/sdk/devtestlabs/arm-devtestlabs/README.png) diff --git a/sdk/devtestlabs/arm-devtestlabs/package.json b/sdk/devtestlabs/arm-devtestlabs/package.json index bbe78efddd6d..90e6e1c776c5 100644 --- a/sdk/devtestlabs/arm-devtestlabs/package.json +++ b/sdk/devtestlabs/arm-devtestlabs/package.json @@ -4,9 +4,9 @@ "description": "DevTestLabsClient Library with typescript type definitions for node.js and browser.", "version": "3.2.0", "dependencies": { - "@azure/ms-rest-azure-js": "^1.3.1", - "@azure/ms-rest-js": "^1.2.6", - "tslib": "^1.9.3" + "@azure/ms-rest-azure-js": "^2.0.1", + "@azure/ms-rest-js": "^2.0.4", + "tslib": "^1.10.0" }, "keywords": [ "node", @@ -20,19 +20,19 @@ "module": "./esm/devTestLabsClient.js", "types": "./esm/devTestLabsClient.d.ts", "devDependencies": { - "typescript": "^3.1.1", - "rollup": "^0.66.2", - "rollup-plugin-node-resolve": "^3.4.0", + "typescript": "^3.5.3", + "rollup": "^1.18.0", + "rollup-plugin-node-resolve": "^5.2.0", "rollup-plugin-sourcemaps": "^0.4.2", - "uglify-js": "^3.4.9" + "uglify-js": "^3.6.0" }, - "homepage": "https://github.com/azure/azure-sdk-for-js/tree/master/sdk/devtestlabs/arm-devtestlabs", + "homepage": "https://github.com/Azure/azure-sdk-for-js/tree/master/sdk/devtestlabs/arm-devtestlabs", "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/devtestlabs/arm-devtestlabs/rollup.config.js b/sdk/devtestlabs/arm-devtestlabs/rollup.config.js index f42a0f237882..bf0329ea4946 100644 --- a/sdk/devtestlabs/arm-devtestlabs/rollup.config.js +++ b/sdk/devtestlabs/arm-devtestlabs/rollup.config.js @@ -21,15 +21,15 @@ const config = { "@azure/ms-rest-azure-js": "msRestAzure" }, banner: `/* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is regenerated. */` }, plugins: [ - nodeResolve({ module: true }), + nodeResolve({ mainFields: ['module', 'main'] }), sourcemaps() ] }; diff --git a/sdk/devtestlabs/arm-devtestlabs/src/devTestLabsClient.ts b/sdk/devtestlabs/arm-devtestlabs/src/devTestLabsClient.ts index 3661410b1c1e..19fbab1a1aad 100644 --- a/sdk/devtestlabs/arm-devtestlabs/src/devTestLabsClient.ts +++ b/sdk/devtestlabs/arm-devtestlabs/src/devTestLabsClient.ts @@ -1,7 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is diff --git a/sdk/devtestlabs/arm-devtestlabs/src/devTestLabsClientContext.ts b/sdk/devtestlabs/arm-devtestlabs/src/devTestLabsClientContext.ts index 4ea49aa18b6a..0b8ca57f2543 100644 --- a/sdk/devtestlabs/arm-devtestlabs/src/devTestLabsClientContext.ts +++ b/sdk/devtestlabs/arm-devtestlabs/src/devTestLabsClientContext.ts @@ -1,7 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is @@ -13,7 +12,7 @@ import * as msRest from "@azure/ms-rest-js"; import * as msRestAzure from "@azure/ms-rest-azure-js"; const packageName = "@azure/arm-devtestlabs"; -const packageVersion = "1.0.0"; +const packageVersion = "3.2.0"; export class DevTestLabsClientContext extends msRestAzure.AzureServiceClient { credentials: msRest.ServiceClientCredentials; diff --git a/sdk/devtestlabs/arm-devtestlabs/src/models/armTemplatesMappers.ts b/sdk/devtestlabs/arm-devtestlabs/src/models/armTemplatesMappers.ts index 9029e0573c48..21c83271b6f9 100644 --- a/sdk/devtestlabs/arm-devtestlabs/src/models/armTemplatesMappers.ts +++ b/sdk/devtestlabs/arm-devtestlabs/src/models/armTemplatesMappers.ts @@ -1,6 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is regenerated. diff --git a/sdk/devtestlabs/arm-devtestlabs/src/models/artifactSourcesMappers.ts b/sdk/devtestlabs/arm-devtestlabs/src/models/artifactSourcesMappers.ts index 4490f531b049..28be8d2e029c 100644 --- a/sdk/devtestlabs/arm-devtestlabs/src/models/artifactSourcesMappers.ts +++ b/sdk/devtestlabs/arm-devtestlabs/src/models/artifactSourcesMappers.ts @@ -1,6 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is regenerated. @@ -11,22 +11,16 @@ export { ApplicableScheduleFragment, ArmTemplate, ArmTemplateParameterProperties, - ArmTemplateParameterPropertiesFragment, Artifact, ArtifactDeploymentStatusProperties, - ArtifactDeploymentStatusPropertiesFragment, ArtifactInstallProperties, - ArtifactInstallPropertiesFragment, ArtifactParameterProperties, - ArtifactParameterPropertiesFragment, ArtifactSource, ArtifactSourceFragment, ArtifactSourceList, AttachNewDataDiskOptions, - AttachNewDataDiskOptionsFragment, BaseResource, BulkCreationParameters, - BulkCreationParametersFragment, CloudError, ComputeDataDisk, ComputeVmInstanceViewStatus, @@ -35,70 +29,50 @@ export { CustomImage, CustomImageFragment, CustomImagePropertiesCustom, - CustomImagePropertiesCustomFragment, CustomImagePropertiesFromPlan, - CustomImagePropertiesFromPlanFragment, CustomImagePropertiesFromVm, - CustomImagePropertiesFromVmFragment, DataDiskProperties, - DataDiskPropertiesFragment, DataDiskStorageTypeInfo, - DataDiskStorageTypeInfoFragment, DayDetails, - DayDetailsFragment, Disk, DiskFragment, DtlEnvironment, DtlEnvironmentFragment, EnvironmentDeploymentProperties, - EnvironmentDeploymentPropertiesFragment, Event, - EventFragment, ExternalSubnet, Formula, FormulaFragment, FormulaPropertiesFromVm, - FormulaPropertiesFromVmFragment, GalleryImage, GalleryImageReference, - GalleryImageReferenceFragment, HourDetails, - HourDetailsFragment, IdentityProperties, InboundNatRule, - InboundNatRuleFragment, Lab, LabAnnouncementProperties, - LabAnnouncementPropertiesFragment, LabCost, LabCostDetailsProperties, LabCostSummaryProperties, LabFragment, LabResourceCostProperties, LabSupportProperties, - LabSupportPropertiesFragment, LabVirtualMachine, LabVirtualMachineCreationParameter, - LabVirtualMachineCreationParameterFragment, LabVirtualMachineFragment, LinuxOsInfo, - LinuxOsInfoFragment, NetworkInterfaceProperties, - NetworkInterfacePropertiesFragment, NotificationChannel, NotificationChannelFragment, NotificationSettings, - NotificationSettingsFragment, ParametersValueFileInfo, PercentageCostThresholdProperties, Policy, PolicyFragment, Port, - PortFragment, Resource, Schedule, ScheduleCreationParameter, - ScheduleCreationParameterFragment, ScheduleFragment, Secret, SecretFragment, @@ -106,25 +80,17 @@ export { ServiceFabricFragment, ServiceRunner, SharedPublicIpAddressConfiguration, - SharedPublicIpAddressConfigurationFragment, Subnet, - SubnetFragment, SubnetOverride, - SubnetOverrideFragment, SubnetSharedPublicIpAddressConfiguration, - SubnetSharedPublicIpAddressConfigurationFragment, TargetCostProperties, UpdateResource, User, UserFragment, UserIdentity, - UserIdentityFragment, UserSecretStore, - UserSecretStoreFragment, VirtualNetwork, VirtualNetworkFragment, WeekDetails, - WeekDetailsFragment, - WindowsOsInfo, - WindowsOsInfoFragment + WindowsOsInfo } from "../models/mappers"; diff --git a/sdk/devtestlabs/arm-devtestlabs/src/models/artifactsMappers.ts b/sdk/devtestlabs/arm-devtestlabs/src/models/artifactsMappers.ts index 4e804b1760d0..ed2d98938eef 100644 --- a/sdk/devtestlabs/arm-devtestlabs/src/models/artifactsMappers.ts +++ b/sdk/devtestlabs/arm-devtestlabs/src/models/artifactsMappers.ts @@ -1,6 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is regenerated. diff --git a/sdk/devtestlabs/arm-devtestlabs/src/models/costsMappers.ts b/sdk/devtestlabs/arm-devtestlabs/src/models/costsMappers.ts index f704c7d2f7f3..88dc56285b50 100644 --- a/sdk/devtestlabs/arm-devtestlabs/src/models/costsMappers.ts +++ b/sdk/devtestlabs/arm-devtestlabs/src/models/costsMappers.ts @@ -1,6 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is regenerated. diff --git a/sdk/devtestlabs/arm-devtestlabs/src/models/customImagesMappers.ts b/sdk/devtestlabs/arm-devtestlabs/src/models/customImagesMappers.ts index b968e0b63305..eeb4965fadfa 100644 --- a/sdk/devtestlabs/arm-devtestlabs/src/models/customImagesMappers.ts +++ b/sdk/devtestlabs/arm-devtestlabs/src/models/customImagesMappers.ts @@ -1,6 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is regenerated. @@ -11,21 +11,15 @@ export { ApplicableScheduleFragment, ArmTemplate, ArmTemplateParameterProperties, - ArmTemplateParameterPropertiesFragment, Artifact, ArtifactDeploymentStatusProperties, - ArtifactDeploymentStatusPropertiesFragment, ArtifactInstallProperties, - ArtifactInstallPropertiesFragment, ArtifactParameterProperties, - ArtifactParameterPropertiesFragment, ArtifactSource, ArtifactSourceFragment, AttachNewDataDiskOptions, - AttachNewDataDiskOptionsFragment, BaseResource, BulkCreationParameters, - BulkCreationParametersFragment, CloudError, ComputeDataDisk, ComputeVmInstanceViewStatus, @@ -35,70 +29,50 @@ export { CustomImageFragment, CustomImageList, CustomImagePropertiesCustom, - CustomImagePropertiesCustomFragment, CustomImagePropertiesFromPlan, - CustomImagePropertiesFromPlanFragment, CustomImagePropertiesFromVm, - CustomImagePropertiesFromVmFragment, DataDiskProperties, - DataDiskPropertiesFragment, DataDiskStorageTypeInfo, - DataDiskStorageTypeInfoFragment, DayDetails, - DayDetailsFragment, Disk, DiskFragment, DtlEnvironment, DtlEnvironmentFragment, EnvironmentDeploymentProperties, - EnvironmentDeploymentPropertiesFragment, Event, - EventFragment, ExternalSubnet, Formula, FormulaFragment, FormulaPropertiesFromVm, - FormulaPropertiesFromVmFragment, GalleryImage, GalleryImageReference, - GalleryImageReferenceFragment, HourDetails, - HourDetailsFragment, IdentityProperties, InboundNatRule, - InboundNatRuleFragment, Lab, LabAnnouncementProperties, - LabAnnouncementPropertiesFragment, LabCost, LabCostDetailsProperties, LabCostSummaryProperties, LabFragment, LabResourceCostProperties, LabSupportProperties, - LabSupportPropertiesFragment, LabVirtualMachine, LabVirtualMachineCreationParameter, - LabVirtualMachineCreationParameterFragment, LabVirtualMachineFragment, LinuxOsInfo, - LinuxOsInfoFragment, NetworkInterfaceProperties, - NetworkInterfacePropertiesFragment, NotificationChannel, NotificationChannelFragment, NotificationSettings, - NotificationSettingsFragment, ParametersValueFileInfo, PercentageCostThresholdProperties, Policy, PolicyFragment, Port, - PortFragment, Resource, Schedule, ScheduleCreationParameter, - ScheduleCreationParameterFragment, ScheduleFragment, Secret, SecretFragment, @@ -106,25 +80,17 @@ export { ServiceFabricFragment, ServiceRunner, SharedPublicIpAddressConfiguration, - SharedPublicIpAddressConfigurationFragment, Subnet, - SubnetFragment, SubnetOverride, - SubnetOverrideFragment, SubnetSharedPublicIpAddressConfiguration, - SubnetSharedPublicIpAddressConfigurationFragment, TargetCostProperties, UpdateResource, User, UserFragment, UserIdentity, - UserIdentityFragment, UserSecretStore, - UserSecretStoreFragment, VirtualNetwork, VirtualNetworkFragment, WeekDetails, - WeekDetailsFragment, - WindowsOsInfo, - WindowsOsInfoFragment + WindowsOsInfo } from "../models/mappers"; diff --git a/sdk/devtestlabs/arm-devtestlabs/src/models/disksMappers.ts b/sdk/devtestlabs/arm-devtestlabs/src/models/disksMappers.ts index 390d1869cee3..8b4421358e65 100644 --- a/sdk/devtestlabs/arm-devtestlabs/src/models/disksMappers.ts +++ b/sdk/devtestlabs/arm-devtestlabs/src/models/disksMappers.ts @@ -1,6 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is regenerated. @@ -11,22 +11,16 @@ export { ApplicableScheduleFragment, ArmTemplate, ArmTemplateParameterProperties, - ArmTemplateParameterPropertiesFragment, Artifact, ArtifactDeploymentStatusProperties, - ArtifactDeploymentStatusPropertiesFragment, ArtifactInstallProperties, - ArtifactInstallPropertiesFragment, ArtifactParameterProperties, - ArtifactParameterPropertiesFragment, ArtifactSource, ArtifactSourceFragment, AttachDiskProperties, AttachNewDataDiskOptions, - AttachNewDataDiskOptionsFragment, BaseResource, BulkCreationParameters, - BulkCreationParametersFragment, CloudError, ComputeDataDisk, ComputeVmInstanceViewStatus, @@ -35,17 +29,11 @@ export { CustomImage, CustomImageFragment, CustomImagePropertiesCustom, - CustomImagePropertiesCustomFragment, CustomImagePropertiesFromPlan, - CustomImagePropertiesFromPlanFragment, CustomImagePropertiesFromVm, - CustomImagePropertiesFromVmFragment, DataDiskProperties, - DataDiskPropertiesFragment, DataDiskStorageTypeInfo, - DataDiskStorageTypeInfoFragment, DayDetails, - DayDetailsFragment, DetachDiskProperties, Disk, DiskFragment, @@ -53,54 +41,40 @@ export { DtlEnvironment, DtlEnvironmentFragment, EnvironmentDeploymentProperties, - EnvironmentDeploymentPropertiesFragment, Event, - EventFragment, ExternalSubnet, Formula, FormulaFragment, FormulaPropertiesFromVm, - FormulaPropertiesFromVmFragment, GalleryImage, GalleryImageReference, - GalleryImageReferenceFragment, HourDetails, - HourDetailsFragment, IdentityProperties, InboundNatRule, - InboundNatRuleFragment, Lab, LabAnnouncementProperties, - LabAnnouncementPropertiesFragment, LabCost, LabCostDetailsProperties, LabCostSummaryProperties, LabFragment, LabResourceCostProperties, LabSupportProperties, - LabSupportPropertiesFragment, LabVirtualMachine, LabVirtualMachineCreationParameter, - LabVirtualMachineCreationParameterFragment, LabVirtualMachineFragment, LinuxOsInfo, - LinuxOsInfoFragment, NetworkInterfaceProperties, - NetworkInterfacePropertiesFragment, NotificationChannel, NotificationChannelFragment, NotificationSettings, - NotificationSettingsFragment, ParametersValueFileInfo, PercentageCostThresholdProperties, Policy, PolicyFragment, Port, - PortFragment, Resource, Schedule, ScheduleCreationParameter, - ScheduleCreationParameterFragment, ScheduleFragment, Secret, SecretFragment, @@ -108,25 +82,17 @@ export { ServiceFabricFragment, ServiceRunner, SharedPublicIpAddressConfiguration, - SharedPublicIpAddressConfigurationFragment, Subnet, - SubnetFragment, SubnetOverride, - SubnetOverrideFragment, SubnetSharedPublicIpAddressConfiguration, - SubnetSharedPublicIpAddressConfigurationFragment, TargetCostProperties, UpdateResource, User, UserFragment, UserIdentity, - UserIdentityFragment, UserSecretStore, - UserSecretStoreFragment, VirtualNetwork, VirtualNetworkFragment, WeekDetails, - WeekDetailsFragment, - WindowsOsInfo, - WindowsOsInfoFragment + WindowsOsInfo } from "../models/mappers"; diff --git a/sdk/devtestlabs/arm-devtestlabs/src/models/environmentsMappers.ts b/sdk/devtestlabs/arm-devtestlabs/src/models/environmentsMappers.ts index bcc0dbf16a0e..bb399302794f 100644 --- a/sdk/devtestlabs/arm-devtestlabs/src/models/environmentsMappers.ts +++ b/sdk/devtestlabs/arm-devtestlabs/src/models/environmentsMappers.ts @@ -1,6 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is regenerated. @@ -11,21 +11,15 @@ export { ApplicableScheduleFragment, ArmTemplate, ArmTemplateParameterProperties, - ArmTemplateParameterPropertiesFragment, Artifact, ArtifactDeploymentStatusProperties, - ArtifactDeploymentStatusPropertiesFragment, ArtifactInstallProperties, - ArtifactInstallPropertiesFragment, ArtifactParameterProperties, - ArtifactParameterPropertiesFragment, ArtifactSource, ArtifactSourceFragment, AttachNewDataDiskOptions, - AttachNewDataDiskOptionsFragment, BaseResource, BulkCreationParameters, - BulkCreationParametersFragment, CloudError, ComputeDataDisk, ComputeVmInstanceViewStatus, @@ -34,71 +28,51 @@ export { CustomImage, CustomImageFragment, CustomImagePropertiesCustom, - CustomImagePropertiesCustomFragment, CustomImagePropertiesFromPlan, - CustomImagePropertiesFromPlanFragment, CustomImagePropertiesFromVm, - CustomImagePropertiesFromVmFragment, DataDiskProperties, - DataDiskPropertiesFragment, DataDiskStorageTypeInfo, - DataDiskStorageTypeInfoFragment, DayDetails, - DayDetailsFragment, Disk, DiskFragment, DtlEnvironment, DtlEnvironmentFragment, DtlEnvironmentList, EnvironmentDeploymentProperties, - EnvironmentDeploymentPropertiesFragment, Event, - EventFragment, ExternalSubnet, Formula, FormulaFragment, FormulaPropertiesFromVm, - FormulaPropertiesFromVmFragment, GalleryImage, GalleryImageReference, - GalleryImageReferenceFragment, HourDetails, - HourDetailsFragment, IdentityProperties, InboundNatRule, - InboundNatRuleFragment, Lab, LabAnnouncementProperties, - LabAnnouncementPropertiesFragment, LabCost, LabCostDetailsProperties, LabCostSummaryProperties, LabFragment, LabResourceCostProperties, LabSupportProperties, - LabSupportPropertiesFragment, LabVirtualMachine, LabVirtualMachineCreationParameter, - LabVirtualMachineCreationParameterFragment, LabVirtualMachineFragment, LinuxOsInfo, - LinuxOsInfoFragment, NetworkInterfaceProperties, - NetworkInterfacePropertiesFragment, NotificationChannel, NotificationChannelFragment, NotificationSettings, - NotificationSettingsFragment, ParametersValueFileInfo, PercentageCostThresholdProperties, Policy, PolicyFragment, Port, - PortFragment, Resource, Schedule, ScheduleCreationParameter, - ScheduleCreationParameterFragment, ScheduleFragment, Secret, SecretFragment, @@ -106,25 +80,17 @@ export { ServiceFabricFragment, ServiceRunner, SharedPublicIpAddressConfiguration, - SharedPublicIpAddressConfigurationFragment, Subnet, - SubnetFragment, SubnetOverride, - SubnetOverrideFragment, SubnetSharedPublicIpAddressConfiguration, - SubnetSharedPublicIpAddressConfigurationFragment, TargetCostProperties, UpdateResource, User, UserFragment, UserIdentity, - UserIdentityFragment, UserSecretStore, - UserSecretStoreFragment, VirtualNetwork, VirtualNetworkFragment, WeekDetails, - WeekDetailsFragment, - WindowsOsInfo, - WindowsOsInfoFragment + WindowsOsInfo } from "../models/mappers"; diff --git a/sdk/devtestlabs/arm-devtestlabs/src/models/formulasMappers.ts b/sdk/devtestlabs/arm-devtestlabs/src/models/formulasMappers.ts index 3d4ad5e725d4..41344f13aef2 100644 --- a/sdk/devtestlabs/arm-devtestlabs/src/models/formulasMappers.ts +++ b/sdk/devtestlabs/arm-devtestlabs/src/models/formulasMappers.ts @@ -1,6 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is regenerated. @@ -11,21 +11,15 @@ export { ApplicableScheduleFragment, ArmTemplate, ArmTemplateParameterProperties, - ArmTemplateParameterPropertiesFragment, Artifact, ArtifactDeploymentStatusProperties, - ArtifactDeploymentStatusPropertiesFragment, ArtifactInstallProperties, - ArtifactInstallPropertiesFragment, ArtifactParameterProperties, - ArtifactParameterPropertiesFragment, ArtifactSource, ArtifactSourceFragment, AttachNewDataDiskOptions, - AttachNewDataDiskOptionsFragment, BaseResource, BulkCreationParameters, - BulkCreationParametersFragment, CloudError, ComputeDataDisk, ComputeVmInstanceViewStatus, @@ -34,71 +28,51 @@ export { CustomImage, CustomImageFragment, CustomImagePropertiesCustom, - CustomImagePropertiesCustomFragment, CustomImagePropertiesFromPlan, - CustomImagePropertiesFromPlanFragment, CustomImagePropertiesFromVm, - CustomImagePropertiesFromVmFragment, DataDiskProperties, - DataDiskPropertiesFragment, DataDiskStorageTypeInfo, - DataDiskStorageTypeInfoFragment, DayDetails, - DayDetailsFragment, Disk, DiskFragment, DtlEnvironment, DtlEnvironmentFragment, EnvironmentDeploymentProperties, - EnvironmentDeploymentPropertiesFragment, Event, - EventFragment, ExternalSubnet, Formula, FormulaFragment, FormulaList, FormulaPropertiesFromVm, - FormulaPropertiesFromVmFragment, GalleryImage, GalleryImageReference, - GalleryImageReferenceFragment, HourDetails, - HourDetailsFragment, IdentityProperties, InboundNatRule, - InboundNatRuleFragment, Lab, LabAnnouncementProperties, - LabAnnouncementPropertiesFragment, LabCost, LabCostDetailsProperties, LabCostSummaryProperties, LabFragment, LabResourceCostProperties, LabSupportProperties, - LabSupportPropertiesFragment, LabVirtualMachine, LabVirtualMachineCreationParameter, - LabVirtualMachineCreationParameterFragment, LabVirtualMachineFragment, LinuxOsInfo, - LinuxOsInfoFragment, NetworkInterfaceProperties, - NetworkInterfacePropertiesFragment, NotificationChannel, NotificationChannelFragment, NotificationSettings, - NotificationSettingsFragment, ParametersValueFileInfo, PercentageCostThresholdProperties, Policy, PolicyFragment, Port, - PortFragment, Resource, Schedule, ScheduleCreationParameter, - ScheduleCreationParameterFragment, ScheduleFragment, Secret, SecretFragment, @@ -106,25 +80,17 @@ export { ServiceFabricFragment, ServiceRunner, SharedPublicIpAddressConfiguration, - SharedPublicIpAddressConfigurationFragment, Subnet, - SubnetFragment, SubnetOverride, - SubnetOverrideFragment, SubnetSharedPublicIpAddressConfiguration, - SubnetSharedPublicIpAddressConfigurationFragment, TargetCostProperties, UpdateResource, User, UserFragment, UserIdentity, - UserIdentityFragment, UserSecretStore, - UserSecretStoreFragment, VirtualNetwork, VirtualNetworkFragment, WeekDetails, - WeekDetailsFragment, - WindowsOsInfo, - WindowsOsInfoFragment + WindowsOsInfo } from "../models/mappers"; diff --git a/sdk/devtestlabs/arm-devtestlabs/src/models/galleryImagesMappers.ts b/sdk/devtestlabs/arm-devtestlabs/src/models/galleryImagesMappers.ts index 48dcc74fc425..72263fc4f20f 100644 --- a/sdk/devtestlabs/arm-devtestlabs/src/models/galleryImagesMappers.ts +++ b/sdk/devtestlabs/arm-devtestlabs/src/models/galleryImagesMappers.ts @@ -1,6 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is regenerated. diff --git a/sdk/devtestlabs/arm-devtestlabs/src/models/globalSchedulesMappers.ts b/sdk/devtestlabs/arm-devtestlabs/src/models/globalSchedulesMappers.ts index 730b2e7ae174..a921932412f6 100644 --- a/sdk/devtestlabs/arm-devtestlabs/src/models/globalSchedulesMappers.ts +++ b/sdk/devtestlabs/arm-devtestlabs/src/models/globalSchedulesMappers.ts @@ -1,6 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is regenerated. @@ -11,21 +11,15 @@ export { ApplicableScheduleFragment, ArmTemplate, ArmTemplateParameterProperties, - ArmTemplateParameterPropertiesFragment, Artifact, ArtifactDeploymentStatusProperties, - ArtifactDeploymentStatusPropertiesFragment, ArtifactInstallProperties, - ArtifactInstallPropertiesFragment, ArtifactParameterProperties, - ArtifactParameterPropertiesFragment, ArtifactSource, ArtifactSourceFragment, AttachNewDataDiskOptions, - AttachNewDataDiskOptionsFragment, BaseResource, BulkCreationParameters, - BulkCreationParametersFragment, CloudError, ComputeDataDisk, ComputeVmInstanceViewStatus, @@ -34,71 +28,51 @@ export { CustomImage, CustomImageFragment, CustomImagePropertiesCustom, - CustomImagePropertiesCustomFragment, CustomImagePropertiesFromPlan, - CustomImagePropertiesFromPlanFragment, CustomImagePropertiesFromVm, - CustomImagePropertiesFromVmFragment, DataDiskProperties, - DataDiskPropertiesFragment, DataDiskStorageTypeInfo, - DataDiskStorageTypeInfoFragment, DayDetails, - DayDetailsFragment, Disk, DiskFragment, DtlEnvironment, DtlEnvironmentFragment, EnvironmentDeploymentProperties, - EnvironmentDeploymentPropertiesFragment, Event, - EventFragment, ExternalSubnet, Formula, FormulaFragment, FormulaPropertiesFromVm, - FormulaPropertiesFromVmFragment, GalleryImage, GalleryImageReference, - GalleryImageReferenceFragment, HourDetails, - HourDetailsFragment, IdentityProperties, InboundNatRule, - InboundNatRuleFragment, Lab, LabAnnouncementProperties, - LabAnnouncementPropertiesFragment, LabCost, LabCostDetailsProperties, LabCostSummaryProperties, LabFragment, LabResourceCostProperties, LabSupportProperties, - LabSupportPropertiesFragment, LabVirtualMachine, LabVirtualMachineCreationParameter, - LabVirtualMachineCreationParameterFragment, LabVirtualMachineFragment, LinuxOsInfo, - LinuxOsInfoFragment, NetworkInterfaceProperties, - NetworkInterfacePropertiesFragment, NotificationChannel, NotificationChannelFragment, NotificationSettings, - NotificationSettingsFragment, ParametersValueFileInfo, PercentageCostThresholdProperties, Policy, PolicyFragment, Port, - PortFragment, Resource, RetargetScheduleProperties, Schedule, ScheduleCreationParameter, - ScheduleCreationParameterFragment, ScheduleFragment, ScheduleList, Secret, @@ -107,25 +81,17 @@ export { ServiceFabricFragment, ServiceRunner, SharedPublicIpAddressConfiguration, - SharedPublicIpAddressConfigurationFragment, Subnet, - SubnetFragment, SubnetOverride, - SubnetOverrideFragment, SubnetSharedPublicIpAddressConfiguration, - SubnetSharedPublicIpAddressConfigurationFragment, TargetCostProperties, UpdateResource, User, UserFragment, UserIdentity, - UserIdentityFragment, UserSecretStore, - UserSecretStoreFragment, VirtualNetwork, VirtualNetworkFragment, WeekDetails, - WeekDetailsFragment, - WindowsOsInfo, - WindowsOsInfoFragment + WindowsOsInfo } from "../models/mappers"; diff --git a/sdk/devtestlabs/arm-devtestlabs/src/models/index.ts b/sdk/devtestlabs/arm-devtestlabs/src/models/index.ts index d3c9ec2db1e7..807e8dbd7b8e 100644 --- a/sdk/devtestlabs/arm-devtestlabs/src/models/index.ts +++ b/sdk/devtestlabs/arm-devtestlabs/src/models/index.ts @@ -1,6 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is regenerated. @@ -171,68 +171,6 @@ export interface ApplicableSchedule extends Resource { labVmsStartup?: Schedule; } -/** - * Properties of a weekly schedule. - */ -export interface WeekDetailsFragment { - /** - * The days of the week for which the schedule is set (e.g. Sunday, Monday, Tuesday, etc.). - */ - weekdays?: string[]; - /** - * The time of the day the schedule will occur. - */ - time?: string; -} - -/** - * Properties of a daily schedule. - */ -export interface DayDetailsFragment { - /** - * The time of day the schedule will occur. - */ - time?: string; -} - -/** - * Properties of an hourly schedule. - */ -export interface HourDetailsFragment { - /** - * Minutes of the hour the schedule will run. - */ - minute?: number; -} - -/** - * Notification settings for a schedule. - */ -export interface NotificationSettingsFragment { - /** - * If notifications are enabled for this schedule (i.e. Enabled, Disabled). Possible values - * include: 'Enabled', 'Disabled' - */ - status?: EnableStatus; - /** - * Time in minutes before event at which notification will be sent. - */ - timeInMinutes?: number; - /** - * The webhook URL to which the notification will be sent. - */ - webhookUrl?: string; - /** - * The email recipient to send notifications to (can be a list of semi-colon separated email - * addresses). - */ - emailRecipient?: string; - /** - * The locale to use when sending a notification (fallback for unsupported languages is EN). - */ - notificationLocale?: string; -} - /** * Represents an update resource */ @@ -243,58 +181,11 @@ export interface UpdateResource { tags?: { [propertyName: string]: string }; } -/** - * A schedule. - */ -export interface ScheduleFragment extends UpdateResource { - /** - * The status of the schedule (i.e. Enabled, Disabled). Possible values include: 'Enabled', - * 'Disabled' - */ - status?: EnableStatus; - /** - * The task type of the schedule (e.g. LabVmsShutdownTask, LabVmAutoStart). - */ - taskType?: string; - /** - * If the schedule will occur only some days of the week, specify the weekly recurrence. - */ - weeklyRecurrence?: WeekDetailsFragment; - /** - * If the schedule will occur once each day of the week, specify the daily recurrence. - */ - dailyRecurrence?: DayDetailsFragment; - /** - * If the schedule will occur multiple times a day, specify the hourly recurrence. - */ - hourlyRecurrence?: HourDetailsFragment; - /** - * The time zone ID (e.g. Pacific Standard time). - */ - timeZoneId?: string; - /** - * Notification settings. - */ - notificationSettings?: NotificationSettingsFragment; - /** - * The resource ID to which the schedule belongs - */ - targetResourceId?: string; -} - /** * Schedules applicable to a virtual machine. The schedules may have been defined on a VM or on lab * level. */ export interface ApplicableScheduleFragment extends UpdateResource { - /** - * The auto-shutdown schedule, if one has been set at the lab or lab resource level. - */ - labVmsShutdown?: ScheduleFragment; - /** - * The auto-startup schedule, if one has been set at the lab or lab resource level. - */ - labVmsStartup?: ScheduleFragment; } /** @@ -444,20 +335,6 @@ export interface ArmTemplateParameterProperties { value?: string; } -/** - * Properties of an Azure Resource Manager template parameter. - */ -export interface ArmTemplateParameterPropertiesFragment { - /** - * The name of the template parameter. - */ - name?: string; - /** - * The value of the template parameter. - */ - value?: string; -} - /** * An artifact. */ @@ -522,72 +399,6 @@ export interface ArtifactDeploymentStatusProperties { totalArtifacts?: number; } -/** - * Properties of an artifact deployment. - */ -export interface ArtifactDeploymentStatusPropertiesFragment { - /** - * The deployment status of the artifact. - */ - deploymentStatus?: string; - /** - * The total count of the artifacts that were successfully applied. - */ - artifactsApplied?: number; - /** - * The total count of the artifacts that were tentatively applied. - */ - totalArtifacts?: number; -} - -/** - * Properties of an artifact parameter. - */ -export interface ArtifactParameterPropertiesFragment { - /** - * The name of the artifact parameter. - */ - name?: string; - /** - * The value of the artifact parameter. - */ - value?: string; -} - -/** - * Properties of an artifact. - */ -export interface ArtifactInstallPropertiesFragment { - /** - * The artifact's identifier. - */ - artifactId?: string; - /** - * The artifact's title. - */ - artifactTitle?: string; - /** - * The parameters of the artifact. - */ - parameters?: ArtifactParameterPropertiesFragment[]; - /** - * The status of the artifact. - */ - status?: string; - /** - * The status message from the deployment. - */ - deploymentStatusMessage?: string; - /** - * The status message from the virtual machine extension. - */ - vmExtensionStatusMessage?: string; - /** - * The time that the artifact starts to install on the virtual machine. - */ - installTime?: Date; -} - /** * Properties of an artifact source. */ @@ -601,7 +412,7 @@ export interface ArtifactSource extends Resource { */ uri?: string; /** - * The artifact source's type. Possible values include: 'VsoGit', 'GitHub' + * The artifact source's type. Possible values include: 'VsoGit', 'GitHub', 'StorageAccount' */ sourceType?: SourceControlType; /** @@ -646,39 +457,6 @@ export interface ArtifactSource extends Resource { * Properties of an artifact source. */ export interface ArtifactSourceFragment extends UpdateResource { - /** - * The artifact source's display name. - */ - displayName?: string; - /** - * The artifact source's URI. - */ - uri?: string; - /** - * The artifact source's type. Possible values include: 'VsoGit', 'GitHub' - */ - sourceType?: SourceControlType; - /** - * The folder containing artifacts. - */ - folderPath?: string; - /** - * The folder containing Azure Resource Manager templates. - */ - armTemplateFolderPath?: string; - /** - * The artifact source's branch reference. - */ - branchRef?: string; - /** - * The security token to authenticate to the artifact source. - */ - securityToken?: string; - /** - * Indicates if the artifact source is enabled (values: Enabled, Disabled). Possible values - * include: 'Enabled', 'Disabled' - */ - status?: EnableStatus; } /** @@ -705,26 +483,7 @@ export interface AttachNewDataDiskOptions { diskName?: string; /** * The storage type for the disk (i.e. Standard, Premium). Possible values include: 'Standard', - * 'Premium' - */ - diskType?: StorageType; -} - -/** - * Properties to attach new disk to the Virtual Machine. - */ -export interface AttachNewDataDiskOptionsFragment { - /** - * Size of the disk to be attached in Gibibytes. - */ - diskSizeGiB?: number; - /** - * The name of the disk to be attached. - */ - diskName?: string; - /** - * The storage type for the disk (i.e. Standard, Premium). Possible values include: 'Standard', - * 'Premium' + * 'Premium', 'StandardSSD' */ diskType?: StorageType; } @@ -739,16 +498,6 @@ export interface BulkCreationParameters { instanceCount?: number; } -/** - * Parameters for creating multiple virtual machines as a single action. - */ -export interface BulkCreationParametersFragment { - /** - * The number of virtual machine instances to create. - */ - instanceCount?: number; -} - /** * A data disks attached to a virtual machine. */ @@ -771,28 +520,6 @@ export interface ComputeDataDisk { diskSizeGiB?: number; } -/** - * A data disks attached to a virtual machine. - */ -export interface ComputeDataDiskFragment { - /** - * Gets data disk name. - */ - name?: string; - /** - * When backed by a blob, the URI of underlying blob. - */ - diskUri?: string; - /** - * When backed by managed disk, this is the ID of the compute disk resource. - */ - managedDiskId?: string; - /** - * Gets data disk size in GiB. - */ - diskSizeGiB?: number; -} - /** * Status information about a virtual machine. */ @@ -812,27 +539,9 @@ export interface ComputeVmInstanceViewStatus { } /** - * Status information about a virtual machine. + * Properties of a virtual machine returned by the Microsoft.Compute API. */ -export interface ComputeVmInstanceViewStatusFragment { - /** - * Gets the status Code. - */ - code?: string; - /** - * Gets the short localizable label for the status. - */ - displayStatus?: string; - /** - * Gets the message associated with the status. - */ - message?: string; -} - -/** - * Properties of a virtual machine returned by the Microsoft.Compute API. - */ -export interface ComputeVmProperties { +export interface ComputeVmProperties { /** * Gets the statuses of the virtual machine. */ @@ -863,40 +572,6 @@ export interface ComputeVmProperties { dataDisks?: ComputeDataDisk[]; } -/** - * Properties of a virtual machine returned by the Microsoft.Compute API. - */ -export interface ComputeVmPropertiesFragment { - /** - * Gets the statuses of the virtual machine. - */ - statuses?: ComputeVmInstanceViewStatusFragment[]; - /** - * Gets the OS type of the virtual machine. - */ - osType?: string; - /** - * Gets the size of the virtual machine. - */ - vmSize?: string; - /** - * Gets the network interface ID of the virtual machine. - */ - networkInterfaceId?: string; - /** - * Gets OS disk blob uri for the virtual machine. - */ - osDiskId?: string; - /** - * Gets data disks blob uri for the virtual machine. - */ - dataDiskIds?: string[]; - /** - * Gets all data disks attached to the virtual machine. - */ - dataDisks?: ComputeDataDiskFragment[]; -} - /** * Properties of a percentage cost threshold. */ @@ -1003,7 +678,7 @@ export interface DataDiskStorageTypeInfo { */ lun?: string; /** - * Disk Storage Type. Possible values include: 'Standard', 'Premium' + * Disk Storage Type. Possible values include: 'Standard', 'Premium', 'StandardSSD' */ storageType?: StorageType; } @@ -1084,138 +759,10 @@ export interface CustomImage extends Resource { readonly uniqueIdentifier?: string; } -/** - * Information about a Windows OS. - */ -export interface WindowsOsInfoFragment { - /** - * The state of the Windows OS (i.e. NonSysprepped, SysprepRequested, SysprepApplied). Possible - * values include: 'NonSysprepped', 'SysprepRequested', 'SysprepApplied' - */ - windowsOsState?: WindowsOsState; -} - -/** - * Information about a Linux OS. - */ -export interface LinuxOsInfoFragment { - /** - * The state of the Linux OS (i.e. NonDeprovisioned, DeprovisionRequested, DeprovisionApplied). - * Possible values include: 'NonDeprovisioned', 'DeprovisionRequested', 'DeprovisionApplied' - */ - linuxOsState?: LinuxOsState; -} - -/** - * Properties for creating a custom image from a virtual machine. - */ -export interface CustomImagePropertiesFromVmFragment { - /** - * The source vm identifier. - */ - sourceVmId?: string; - /** - * The Windows OS information of the VM. - */ - windowsOsInfo?: WindowsOsInfoFragment; - /** - * The Linux OS information of the VM. - */ - linuxOsInfo?: LinuxOsInfoFragment; -} - -/** - * Properties for creating a custom image from a VHD. - */ -export interface CustomImagePropertiesCustomFragment { - /** - * The image name. - */ - imageName?: string; - /** - * Indicates whether sysprep has been run on the VHD. - */ - sysPrep?: boolean; - /** - * The OS type of the custom image (i.e. Windows, Linux). Possible values include: 'Windows', - * 'Linux', 'None' - */ - osType?: CustomImageOsType; -} - -/** - * Storage information about the data disks present in the custom image - */ -export interface DataDiskStorageTypeInfoFragment { - /** - * Disk Lun - */ - lun?: string; - /** - * Disk Storage Type. Possible values include: 'Standard', 'Premium' - */ - storageType?: StorageType; -} - -/** - * Properties for plan on a custom image. - */ -export interface CustomImagePropertiesFromPlanFragment { - /** - * The id of the plan, equivalent to name of the plan - */ - id?: string; - /** - * The publisher for the plan from the marketplace image the custom image is derived from - */ - publisher?: string; - /** - * The offer for the plan from the marketplace image the custom image is derived from - */ - offer?: string; -} - /** * A custom image. */ export interface CustomImageFragment extends UpdateResource { - /** - * The virtual machine from which the image is to be created. - */ - vm?: CustomImagePropertiesFromVmFragment; - /** - * The VHD from which the image is to be created. - */ - vhd?: CustomImagePropertiesCustomFragment; - /** - * The description of the custom image. - */ - description?: string; - /** - * The author of the custom image. - */ - author?: string; - /** - * The Managed Image Id backing the custom image. - */ - managedImageId?: string; - /** - * The Managed Snapshot Id backing the custom image. - */ - managedSnapshotId?: string; - /** - * Storage information about the data disks present in the custom image - */ - dataDiskStorageInfo?: DataDiskStorageTypeInfoFragment[]; - /** - * Storage information about the plan related to this custom image - */ - customImagePlan?: CustomImagePropertiesFromPlanFragment; - /** - * Whether or not the custom images underlying offer/plan has been enabled for programmatic - * deployment - */ - isPlanAuthorized?: boolean; } /** @@ -1237,25 +784,6 @@ export interface DataDiskProperties { hostCaching?: HostCachingOptions; } -/** - * Request body for adding a new or existing data disk to a virtual machine. - */ -export interface DataDiskPropertiesFragment { - /** - * Specifies options to attach a new disk to the virtual machine. - */ - attachNewDataDiskOptions?: AttachNewDataDiskOptionsFragment; - /** - * Specifies the existing lab disk id to attach to virtual machine. - */ - existingLabDiskId?: string; - /** - * Caching option for a data disk (i.e. None, ReadOnly, ReadWrite). Possible values include: - * 'None', 'ReadOnly', 'ReadWrite' - */ - hostCaching?: HostCachingOptions; -} - /** * Request body for detaching data disk from a virtual machine. */ @@ -1282,7 +810,7 @@ export interface DetachDiskProperties { export interface Disk extends Resource { /** * The storage type for the disk (i.e. Standard, Premium). Possible values include: 'Standard', - * 'Premium' + * 'Premium', 'StandardSSD' */ diskType?: StorageType; /** @@ -1301,6 +829,10 @@ export interface Disk extends Resource { * When backed by a blob, the URI of underlying blob. */ diskUri?: string; + /** + * When backed by a blob, the storage account where the blob is. + */ + storageAccountId?: string; /** * The creation date of the disk. * **NOTE: This property will not be serialized. It can only be populated by the server.** @@ -1330,35 +862,6 @@ export interface Disk extends Resource { * A Disk. */ export interface DiskFragment extends UpdateResource { - /** - * The storage type for the disk (i.e. Standard, Premium). Possible values include: 'Standard', - * 'Premium' - */ - diskType?: StorageType; - /** - * The size of the disk in Gibibytes. - */ - diskSizeGiB?: number; - /** - * The resource ID of the VM to which this disk is leased. - */ - leasedByLabVmId?: string; - /** - * When backed by a blob, the name of the VHD blob without extension. - */ - diskBlobName?: string; - /** - * When backed by a blob, the URI of underlying blob. - */ - diskUri?: string; - /** - * The host caching policy of the disk (i.e. None, ReadOnly, ReadWrite). - */ - hostCaching?: string; - /** - * When backed by managed disk, this is the ID of the compute disk resource. - */ - managedDiskId?: string; } /** @@ -1409,32 +912,10 @@ export interface DtlEnvironment extends Resource { readonly uniqueIdentifier?: string; } -/** - * Properties of an environment deployment. - */ -export interface EnvironmentDeploymentPropertiesFragment { - /** - * The Azure Resource Manager template's identifier. - */ - armTemplateId?: string; - /** - * The parameters of the Azure Resource Manager template. - */ - parameters?: ArmTemplateParameterPropertiesFragment[]; -} - /** * An environment, which is essentially an ARM template deployment. */ export interface DtlEnvironmentFragment extends UpdateResource { - /** - * The deployment properties of the environment. - */ - deploymentProperties?: EnvironmentDeploymentPropertiesFragment; - /** - * The display name of the Azure Resource Manager template that produced the environment. - */ - armTemplateDisplayName?: string; } /** @@ -1518,17 +999,6 @@ export interface Event { eventName?: NotificationChannelEventType; } -/** - * An event to be notified for. - */ -export interface EventFragment { - /** - * The event type for which this notification is enabled (i.e. AutoShutdown, Cost). Possible - * values include: 'AutoShutdown', 'Cost' - */ - eventName?: NotificationChannelEventType; -} - /** * The parameters of the export operation. */ @@ -1559,20 +1029,6 @@ export interface ExternalSubnet { name?: string; } -/** - * Subnet information as returned by the Microsoft.Network API. - */ -export interface ExternalSubnetFragment { - /** - * Gets or sets the identifier. - */ - id?: string; - /** - * Gets or sets the name. - */ - name?: string; -} - /** * The reference information for an Azure Marketplace image. */ @@ -1737,7 +1193,7 @@ export interface LabVirtualMachineCreationParameter { */ notes?: string; /** - * The object identifier of the owner of the virtual machine. + * The object identifier of the owner of the virtual machine. Default value: 'dynamicValue'. */ ownerObjectId?: string; /** @@ -1745,29 +1201,13 @@ export interface LabVirtualMachineCreationParameter { */ ownerUserPrincipalName?: string; /** - * The object identifier of the creator of the virtual machine. + * The creation date of the virtual machine. */ - createdByUserId?: string; - /** - * The email address of creator of the virtual machine. - */ - createdByUser?: string; - /** - * The creation date of the virtual machine. - */ - createdDate?: Date; - /** - * The resource identifier (Microsoft.Compute) of the virtual machine. - */ - computeId?: string; + createdDate?: Date; /** * The custom image identifier of the virtual machine. */ customImageId?: string; - /** - * The OS type of the virtual machine. - */ - osType?: string; /** * The size of the virtual machine. */ @@ -1788,10 +1228,6 @@ export interface LabVirtualMachineCreationParameter { * Indicates whether this virtual machine uses an SSH key for authentication. */ isAuthenticationWithSshKey?: boolean; - /** - * The fully-qualified domain name of the virtual machine. - */ - fqdn?: string; /** * The lab subnet name of the virtual machine. */ @@ -1801,17 +1237,14 @@ export interface LabVirtualMachineCreationParameter { */ labVirtualNetworkId?: string; /** - * Indicates whether the virtual machine is to be created without a public IP address. + * Indicates whether the virtual machine is to be created without a public IP address. Default + * value: false. */ disallowPublicIpAddress?: boolean; /** * The artifacts to be installed on the virtual machine. */ artifacts?: ArtifactInstallProperties[]; - /** - * The artifact deployment status for the virtual machine. - */ - artifactDeploymentStatus?: ArtifactDeploymentStatusProperties; /** * The Microsoft Azure Marketplace image reference of the virtual machine. */ @@ -1829,18 +1262,14 @@ export interface LabVirtualMachineCreationParameter { */ expirationDate?: Date; /** - * Indicates whether another user can take ownership of the virtual machine + * Indicates whether another user can take ownership of the virtual machine. Default value: + * false. */ allowClaim?: boolean; /** * Storage type to use for virtual machine (i.e. Standard, Premium). */ storageType?: string; - /** - * Tells source of creation of lab virtual machine. Output property only. Possible values - * include: 'FromCustomImage', 'FromGalleryImage' - */ - virtualMachineCreationSource?: VirtualMachineCreationSource; /** * The resource ID of the environment that contains this virtual machine, if any. */ @@ -1853,10 +1282,6 @@ export interface LabVirtualMachineCreationParameter { * Virtual Machine schedules to be created */ scheduleParameters?: ScheduleCreationParameter[]; - /** - * Last known compute power state captured in DTL - */ - lastKnownPowerState?: string; /** * The name of the virtual machine or environment */ @@ -1891,8 +1316,9 @@ export interface Formula extends Resource { description?: string; /** * The author of the formula. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - author?: string; + readonly author?: string; /** * The OS type of the formula. */ @@ -1923,619 +1349,621 @@ export interface Formula extends Resource { } /** - * The reference information for an Azure Marketplace image. + * A formula for creating a VM, specifying an image base and other parameters + */ +export interface FormulaFragment extends UpdateResource { +} + +/** + * A gallery image. */ -export interface GalleryImageReferenceFragment { +export interface GalleryImage extends Resource { /** - * The offer of the gallery image. + * The author of the gallery image. */ - offer?: string; + author?: string; /** - * The publisher of the gallery image. + * The creation date of the gallery image. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - publisher?: string; + readonly createdDate?: Date; /** - * The SKU of the gallery image. + * The description of the gallery image. */ - sku?: string; + description?: string; /** - * The OS type of the gallery image. + * The image reference of the gallery image. */ - osType?: string; + imageReference?: GalleryImageReference; /** - * The version of the gallery image. + * The icon of the gallery image. */ - version?: string; -} - -/** - * A rule for NAT - exposing a VM's port (backendPort) on the public IP address using a load - * balancer. - */ -export interface InboundNatRuleFragment { + icon?: string; /** - * The transport protocol for the endpoint. Possible values include: 'Tcp', 'Udp' + * Indicates whether this gallery image is enabled. */ - transportProtocol?: TransportProtocol; + enabled?: boolean; /** - * The external endpoint port of the inbound connection. Possible values range between 1 and - * 65535, inclusive. If unspecified, a value will be allocated automatically. + * The third party plan that applies to this image */ - frontendPort?: number; + planId?: string; /** - * The port to which the external traffic will be redirected. + * Indicates if the plan has been authorized for programmatic deployment. */ - backendPort?: number; + isPlanAuthorized?: boolean; } /** - * Properties of a virtual machine that determine how it is connected to a load balancer. + * Information about an artifact's parameter. */ -export interface SharedPublicIpAddressConfigurationFragment { +export interface ParameterInfo { /** - * The incoming NAT rules + * The name of the artifact parameter. + */ + name?: string; + /** + * The value of the artifact parameter. */ - inboundNatRules?: InboundNatRuleFragment[]; + value?: string; } /** - * Properties of a network interface. + * Parameters for generating an ARM template for deploying artifacts. */ -export interface NetworkInterfacePropertiesFragment { +export interface GenerateArmTemplateRequest { /** - * The resource ID of the virtual network. + * The resource name of the virtual machine. */ - virtualNetworkId?: string; + virtualMachineName?: string; /** - * The resource ID of the sub net. + * The parameters of the ARM template. */ - subnetId?: string; + parameters?: ParameterInfo[]; /** - * The resource ID of the public IP address. + * The location of the virtual machine. */ - publicIpAddressId?: string; + location?: string; /** - * The public IP address. + * Options for uploading the files for the artifact. UploadFilesAndGenerateSasTokens is the + * default value. Possible values include: 'UploadFilesAndGenerateSasTokens', 'None' */ - publicIpAddress?: string; + fileUploadOptions?: FileUploadOptions; +} + +/** + * Properties for generating an upload URI. + */ +export interface GenerateUploadUriParameter { /** - * The private IP address. + * The blob name of the upload URI. */ - privateIpAddress?: string; + blobName?: string; +} + +/** + * Response body for generating an upload URI. + */ +export interface GenerateUploadUriResponse { /** - * The DNS name. + * The upload URI for the VHD. */ - dnsName?: string; + uploadUri?: string; +} + +/** + * Properties of a managed identity + */ +export interface IdentityProperties { /** - * The RdpAuthority property is a server DNS host name or IP address followed by the service port - * number for RDP (Remote Desktop Protocol). + * Managed identity. Possible values include: 'None', 'SystemAssigned', 'UserAssigned', + * 'SystemAssigned,UserAssigned' */ - rdpAuthority?: string; + type?: ManagedIdentityType; /** - * The SshAuthority property is a server DNS host name or IP address followed by the service port - * number for SSH. + * The principal id of resource identity. */ - sshAuthority?: string; + principalId?: string; /** - * The configuration for sharing a public IP address across multiple virtual machines. + * The tenant identifier of resource. + */ + tenantId?: string; + /** + * The client secret URL of the identity. */ - sharedPublicIpAddressConfiguration?: SharedPublicIpAddressConfigurationFragment; + clientSecretUrl?: string; } /** - * Properties for creating a schedule. + * This represents the payload required to import a virtual machine from a different lab into the + * current one */ -export interface ScheduleCreationParameterFragment { +export interface ImportLabVirtualMachineRequest { /** - * The status of the schedule (i.e. Enabled, Disabled). Possible values include: 'Enabled', - * 'Disabled' + * The full resource ID of the virtual machine to be imported. */ - status?: EnableStatus; + sourceVirtualMachineResourceId?: string; /** - * The task type of the schedule (e.g. LabVmsShutdownTask, LabVmAutoStart). + * The name of the virtual machine in the destination lab */ - taskType?: string; + destinationVirtualMachineName?: string; +} + +/** + * Properties of a lab's announcement banner + */ +export interface LabAnnouncementProperties { /** - * If the schedule will occur only some days of the week, specify the weekly recurrence. + * The plain text title for the lab announcement */ - weeklyRecurrence?: WeekDetailsFragment; + title?: string; /** - * If the schedule will occur once each day of the week, specify the daily recurrence. + * The markdown text (if any) that this lab displays in the UI. If left empty/null, nothing will + * be shown. */ - dailyRecurrence?: DayDetailsFragment; + markdown?: string; /** - * If the schedule will occur multiple times a day, specify the hourly recurrence. + * Is the lab announcement active/enabled at this time?. Possible values include: 'Enabled', + * 'Disabled' */ - hourlyRecurrence?: HourDetailsFragment; + enabled?: EnableStatus; /** - * The time zone ID (e.g. Pacific Standard time). + * The time at which the announcement expires (null for never) */ - timeZoneId?: string; + expirationDate?: Date; /** - * Notification settings. + * Has this announcement expired? */ - notificationSettings?: NotificationSettingsFragment; + expired?: boolean; /** - * The resource ID to which the schedule belongs + * The provisioning status of the resource. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - targetResourceId?: string; + readonly provisioningState?: string; /** - * The name of the virtual machine or environment + * The unique immutable identifier of a resource (Guid). + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - name?: string; + readonly uniqueIdentifier?: string; +} + +/** + * Properties of a lab's support banner + */ +export interface LabSupportProperties { /** - * The location of the new virtual machine or environment + * Is the lab support banner active/enabled at this time?. Possible values include: 'Enabled', + * 'Disabled' */ - location?: string; + enabled?: EnableStatus; /** - * The tags of the resource. + * The markdown text (if any) that this lab displays in the UI. If left empty/null, nothing will + * be shown. */ - tags?: { [propertyName: string]: string }; + markdown?: string; } /** - * Properties for creating a virtual machine. + * A lab. */ -export interface LabVirtualMachineCreationParameterFragment { - /** - * The number of virtual machine instances to create. - */ - bulkCreationParameters?: BulkCreationParametersFragment; +export interface Lab extends Resource { /** - * The notes of the virtual machine. + * The lab's default storage account. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - notes?: string; + readonly defaultStorageAccount?: string; /** - * The object identifier of the owner of the virtual machine. + * The lab's default premium storage account. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - ownerObjectId?: string; + readonly defaultPremiumStorageAccount?: string; /** - * The user principal name of the virtual machine owner. + * The lab's artifact storage account. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - ownerUserPrincipalName?: string; + readonly artifactsStorageAccount?: string; /** - * The object identifier of the creator of the virtual machine. + * The lab's premium data disk storage account. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - createdByUserId?: string; + readonly premiumDataDiskStorageAccount?: string; /** - * The email address of creator of the virtual machine. + * The lab's Key vault. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - createdByUser?: string; + readonly vaultName?: string; /** - * The creation date of the virtual machine. + * Type of storage used by the lab. It can be either Premium or Standard. Default is Premium. + * Possible values include: 'Standard', 'Premium', 'StandardSSD' */ - createdDate?: Date; + labStorageType?: StorageType; /** - * The resource identifier (Microsoft.Compute) of the virtual machine. + * The ordered list of artifact resource IDs that should be applied on all Linux VM creations by + * default, prior to the artifacts specified by the user. */ - computeId?: string; + mandatoryArtifactsResourceIdsLinux?: string[]; /** - * The custom image identifier of the virtual machine. + * The ordered list of artifact resource IDs that should be applied on all Windows VM creations + * by default, prior to the artifacts specified by the user. */ - customImageId?: string; + mandatoryArtifactsResourceIdsWindows?: string[]; /** - * The OS type of the virtual machine. + * The creation date of the lab. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - osType?: string; + readonly createdDate?: Date; /** - * The size of the virtual machine. - */ - size?: string; - /** - * The user name of the virtual machine. - */ - userName?: string; - /** - * The password of the virtual machine administrator. - */ - password?: string; - /** - * The SSH key of the virtual machine administrator. - */ - sshKey?: string; - /** - * Indicates whether this virtual machine uses an SSH key for authentication. - */ - isAuthenticationWithSshKey?: boolean; - /** - * The fully-qualified domain name of the virtual machine. - */ - fqdn?: string; - /** - * The lab subnet name of the virtual machine. - */ - labSubnetName?: string; - /** - * The lab virtual network identifier of the virtual machine. - */ - labVirtualNetworkId?: string; - /** - * Indicates whether the virtual machine is to be created without a public IP address. + * The setting to enable usage of premium data disks. + * When its value is 'Enabled', creation of standard or premium data disks is allowed. + * When its value is 'Disabled', only creation of standard data disks is allowed. Possible values + * include: 'Disabled', 'Enabled' */ - disallowPublicIpAddress?: boolean; + premiumDataDisks?: PremiumDataDisk; /** - * The artifacts to be installed on the virtual machine. + * The access rights to be granted to the user when provisioning an environment. Possible values + * include: 'Reader', 'Contributor' */ - artifacts?: ArtifactInstallPropertiesFragment[]; + environmentPermission?: EnvironmentPermission; /** - * The artifact deployment status for the virtual machine. + * The properties of any lab announcement associated with this lab */ - artifactDeploymentStatus?: ArtifactDeploymentStatusPropertiesFragment; + announcement?: LabAnnouncementProperties; /** - * The Microsoft Azure Marketplace image reference of the virtual machine. + * The properties of any lab support message associated with this lab */ - galleryImageReference?: GalleryImageReferenceFragment; + support?: LabSupportProperties; /** - * The id of the plan associated with the virtual machine image + * The resource group in which all new lab virtual machines will be created. To let DevTest Labs + * manage resource group creation, set this value to null. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - planId?: string; + readonly vmCreationResourceGroup?: string; /** - * The network interface properties. + * The public IP address for the lab's load balancer. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - networkInterface?: NetworkInterfacePropertiesFragment; + readonly publicIpId?: string; /** - * The expiration date for VM. + * The load balancer used to for lab VMs that use shared IP address. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - expirationDate?: Date; + readonly loadBalancerId?: string; /** - * Indicates whether another user can take ownership of the virtual machine + * The Network Security Group attached to the lab VMs Network interfaces to restrict open ports. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - allowClaim?: boolean; + readonly networkSecurityGroupId?: string; /** - * Storage type to use for virtual machine (i.e. Standard, Premium). + * Extended properties of the lab used for experimental features */ - storageType?: string; + extendedProperties?: { [propertyName: string]: string }; /** - * Tells source of creation of lab virtual machine. Output property only. Possible values - * include: 'FromCustomImage', 'FromGalleryImage' + * The provisioning status of the resource. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - virtualMachineCreationSource?: VirtualMachineCreationSource; + readonly provisioningState?: string; /** - * The resource ID of the environment that contains this virtual machine, if any. + * The unique immutable identifier of a resource (Guid). + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - environmentId?: string; + readonly uniqueIdentifier?: string; +} + +/** + * Properties of a cost target. + */ +export interface TargetCostProperties { /** - * New or existing data disks to attach to the virtual machine after creation + * Target cost status. Possible values include: 'Enabled', 'Disabled' */ - dataDiskParameters?: DataDiskPropertiesFragment[]; + status?: TargetCostStatus; /** - * Virtual Machine schedules to be created + * Lab target cost */ - scheduleParameters?: ScheduleCreationParameterFragment[]; + target?: number; /** - * Last known compute power state captured in DTL + * Cost thresholds. */ - lastKnownPowerState?: string; + costThresholds?: CostThresholdProperties[]; /** - * The name of the virtual machine or environment + * Reporting cycle start date. */ - name?: string; + cycleStartDateTime?: Date; /** - * The location of the new virtual machine or environment + * Reporting cycle end date. */ - location?: string; + cycleEndDateTime?: Date; /** - * The tags of the resource. + * Reporting cycle type. Possible values include: 'CalendarMonth', 'Custom' */ - tags?: { [propertyName: string]: string }; + cycleType?: ReportingCycleType; } /** - * Information about a VM from which a formula is to be created. + * The properties of the cost summary. */ -export interface FormulaPropertiesFromVmFragment { +export interface LabCostSummaryProperties { /** - * The identifier of the VM from which a formula is to be created. + * The cost component of the cost item. */ - labVmId?: string; + estimatedLabCost?: number; } /** - * A formula for creating a VM, specifying an image base and other parameters + * The properties of a lab cost item. */ -export interface FormulaFragment extends UpdateResource { - /** - * The description of the formula. - */ - description?: string; - /** - * The author of the formula. - */ - author?: string; +export interface LabCostDetailsProperties { /** - * The OS type of the formula. + * The date of the cost item. */ - osType?: string; + date?: Date; /** - * The content of the formula. + * The cost component of the cost item. */ - formulaContent?: LabVirtualMachineCreationParameterFragment; + cost?: number; /** - * Information about a VM from which a formula is to be created. + * The type of the cost. Possible values include: 'Unavailable', 'Reported', 'Projected' */ - vm?: FormulaPropertiesFromVmFragment; + costType?: CostType; } /** - * A gallery image. + * The properties of a resource cost item. */ -export interface GalleryImage extends Resource { +export interface LabResourceCostProperties { /** - * The author of the gallery image. + * The name of the resource. */ - author?: string; + resourcename?: string; /** - * The creation date of the gallery image. - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * The unique identifier of the resource. */ - readonly createdDate?: Date; + resourceUId?: string; /** - * The description of the gallery image. + * The cost component of the resource cost item. */ - description?: string; + resourceCost?: number; /** - * The image reference of the gallery image. + * The logical resource type (ex. virtualmachine, storageaccount) */ - imageReference?: GalleryImageReference; + resourceType?: string; /** - * The icon of the gallery image. + * The owner of the resource (ex. janedoe@microsoft.com) */ - icon?: string; + resourceOwner?: string; /** - * Indicates whether this gallery image is enabled. + * The category of the resource (ex. Premium_LRS, Standard_DS1) */ - enabled?: boolean; + resourcePricingTier?: string; /** - * The third party plan that applies to this image + * The status of the resource (ex. Active) */ - planId?: string; + resourceStatus?: string; /** - * Indicates if the plan has been authorized for programmatic deployment. + * The ID of the resource */ - isPlanAuthorized?: boolean; + resourceId?: string; + /** + * The ID of the external resource + */ + externalResourceId?: string; } /** - * Information about an artifact's parameter. + * A cost item. */ -export interface ParameterInfo { +export interface LabCost extends Resource { /** - * The name of the artifact parameter. + * The target cost properties */ - name?: string; + targetCost?: TargetCostProperties; /** - * The value of the artifact parameter. + * The lab cost summary component of the cost data. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - value?: string; -} - -/** - * Parameters for generating an ARM template for deploying artifacts. - */ -export interface GenerateArmTemplateRequest { + readonly labCostSummary?: LabCostSummaryProperties; /** - * The resource name of the virtual machine. + * The lab cost details component of the cost data. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - virtualMachineName?: string; + readonly labCostDetails?: LabCostDetailsProperties[]; /** - * The parameters of the ARM template. + * The resource cost component of the cost data. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - parameters?: ParameterInfo[]; + readonly resourceCosts?: LabResourceCostProperties[]; /** - * The location of the virtual machine. + * The currency code of the cost. */ - location?: string; + currencyCode?: string; /** - * Options for uploading the files for the artifact. UploadFilesAndGenerateSasTokens is the - * default value. Possible values include: 'UploadFilesAndGenerateSasTokens', 'None' + * The start time of the cost data. */ - fileUploadOptions?: FileUploadOptions; + startDateTime?: Date; + /** + * The end time of the cost data. + */ + endDateTime?: Date; + /** + * The creation date of the cost. + */ + createdDate?: Date; + /** + * The provisioning status of the resource. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly provisioningState?: string; + /** + * The unique immutable identifier of a resource (Guid). + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly uniqueIdentifier?: string; } /** - * Properties for generating an upload URI. + * A lab. */ -export interface GenerateUploadUriParameter { - /** - * The blob name of the upload URI. - */ - blobName?: string; +export interface LabFragment extends UpdateResource { } /** - * Response body for generating an upload URI. + * Properties of a VHD in the lab. */ -export interface GenerateUploadUriResponse { +export interface LabVhd { /** - * The upload URI for the VHD. + * The URI to the VHD. */ - uploadUri?: string; + id?: string; } /** - * Properties of a managed identity + * A virtual machine. */ -export interface IdentityProperties { +export interface LabVirtualMachine extends Resource { /** - * Managed identity. + * The notes of the virtual machine. */ - type?: string; + notes?: string; /** - * The principal id of resource identity. + * The object identifier of the owner of the virtual machine. Default value: 'dynamicValue'. */ - principalId?: string; + ownerObjectId?: string; /** - * The tenant identifier of resource. + * The user principal name of the virtual machine owner. */ - tenantId?: string; + ownerUserPrincipalName?: string; /** - * The client secret URL of the identity. + * The object identifier of the creator of the virtual machine. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - clientSecretUrl?: string; -} - -/** - * This represents the payload required to import a virtual machine from a different lab into the - * current one - */ -export interface ImportLabVirtualMachineRequest { + readonly createdByUserId?: string; /** - * The full resource ID of the virtual machine to be imported. + * The email address of creator of the virtual machine. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - sourceVirtualMachineResourceId?: string; + readonly createdByUser?: string; /** - * The name of the virtual machine in the destination lab + * The creation date of the virtual machine. */ - destinationVirtualMachineName?: string; -} - -/** - * Properties of a lab's announcement banner - */ -export interface LabAnnouncementProperties { + createdDate?: Date; /** - * The plain text title for the lab announcement + * The resource identifier (Microsoft.Compute) of the virtual machine. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - title?: string; + readonly computeId?: string; /** - * The markdown text (if any) that this lab displays in the UI. If left empty/null, nothing will - * be shown. + * The custom image identifier of the virtual machine. */ - markdown?: string; + customImageId?: string; /** - * Is the lab announcement active/enabled at this time?. Possible values include: 'Enabled', - * 'Disabled' + * The OS type of the virtual machine. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - enabled?: EnableStatus; + readonly osType?: string; /** - * The time at which the announcement expires (null for never) + * The size of the virtual machine. */ - expirationDate?: Date; + size?: string; /** - * Has this announcement expired? + * The user name of the virtual machine. */ - expired?: boolean; + userName?: string; /** - * The provisioning status of the resource. - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * The password of the virtual machine administrator. */ - readonly provisioningState?: string; + password?: string; /** - * The unique immutable identifier of a resource (Guid). - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * The SSH key of the virtual machine administrator. */ - readonly uniqueIdentifier?: string; -} - -/** - * Properties of a lab's support banner - */ -export interface LabSupportProperties { + sshKey?: string; /** - * Is the lab support banner active/enabled at this time?. Possible values include: 'Enabled', - * 'Disabled' + * Indicates whether this virtual machine uses an SSH key for authentication. */ - enabled?: EnableStatus; + isAuthenticationWithSshKey?: boolean; /** - * The markdown text (if any) that this lab displays in the UI. If left empty/null, nothing will - * be shown. + * The fully-qualified domain name of the virtual machine. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - markdown?: string; -} - -/** - * A lab. - */ -export interface Lab extends Resource { + readonly fqdn?: string; /** - * The lab's default storage account. - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * The lab subnet name of the virtual machine. */ - readonly defaultStorageAccount?: string; + labSubnetName?: string; /** - * The lab's default premium storage account. - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * The lab virtual network identifier of the virtual machine. */ - readonly defaultPremiumStorageAccount?: string; + labVirtualNetworkId?: string; /** - * The lab's artifact storage account. - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * Indicates whether the virtual machine is to be created without a public IP address. Default + * value: false. */ - readonly artifactsStorageAccount?: string; + disallowPublicIpAddress?: boolean; /** - * The lab's premium data disk storage account. - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * The artifacts to be installed on the virtual machine. */ - readonly premiumDataDiskStorageAccount?: string; + artifacts?: ArtifactInstallProperties[]; /** - * The lab's Key vault. + * The artifact deployment status for the virtual machine. * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - readonly vaultName?: string; + readonly artifactDeploymentStatus?: ArtifactDeploymentStatusProperties; /** - * Type of storage used by the lab. It can be either Premium or Standard. Default is Premium. - * Possible values include: 'Standard', 'Premium' + * The Microsoft Azure Marketplace image reference of the virtual machine. */ - labStorageType?: StorageType; + galleryImageReference?: GalleryImageReference; /** - * The ordered list of artifact resource IDs that should be applied on all Linux VM creations by - * default, prior to the artifacts specified by the user. + * The id of the plan associated with the virtual machine image */ - mandatoryArtifactsResourceIdsLinux?: string[]; + planId?: string; /** - * The ordered list of artifact resource IDs that should be applied on all Windows VM creations - * by default, prior to the artifacts specified by the user. + * The compute virtual machine properties. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - mandatoryArtifactsResourceIdsWindows?: string[]; + readonly computeVm?: ComputeVmProperties; /** - * The creation date of the lab. - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * The network interface properties. */ - readonly createdDate?: Date; + networkInterface?: NetworkInterfaceProperties; /** - * The setting to enable usage of premium data disks. - * When its value is 'Enabled', creation of standard or premium data disks is allowed. - * When its value is 'Disabled', only creation of standard data disks is allowed. Possible values - * include: 'Disabled', 'Enabled' + * The applicable schedule for the virtual machine. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - premiumDataDisks?: PremiumDataDisk; + readonly applicableSchedule?: ApplicableSchedule; /** - * The access rights to be granted to the user when provisioning an environment. Possible values - * include: 'Reader', 'Contributor' + * The expiration date for VM. */ - environmentPermission?: EnvironmentPermission; + expirationDate?: Date; /** - * The properties of any lab announcement associated with this lab + * Indicates whether another user can take ownership of the virtual machine. Default value: + * false. */ - announcement?: LabAnnouncementProperties; + allowClaim?: boolean; /** - * The properties of any lab support message associated with this lab + * Storage type to use for virtual machine (i.e. Standard, Premium). */ - support?: LabSupportProperties; + storageType?: string; /** - * The resource group in which lab virtual machines will be created in. + * Tells source of creation of lab virtual machine. Output property only. Possible values + * include: 'FromCustomImage', 'FromGalleryImage', 'FromSharedGalleryImage' * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - readonly vmCreationResourceGroup?: string; + readonly virtualMachineCreationSource?: VirtualMachineCreationSource; /** - * The public IP address for the lab's load balancer. - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * The resource ID of the environment that contains this virtual machine, if any. */ - readonly publicIpId?: string; + environmentId?: string; /** - * The load balancer used to for lab VMs that use shared IP address. - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * New or existing data disks to attach to the virtual machine after creation */ - readonly loadBalancerId?: string; + dataDiskParameters?: DataDiskProperties[]; /** - * The Network Security Group attached to the lab VMs Network interfaces to restrict open ports. - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * Virtual Machine schedules to be created */ - readonly networkSecurityGroupId?: string; + scheduleParameters?: ScheduleCreationParameter[]; /** - * Extended properties of the lab used for experimental features + * Last known compute power state captured in DTL + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - extendedProperties?: { [propertyName: string]: string }; + readonly lastKnownPowerState?: string; /** * The provisioning status of the resource. * **NOTE: This property will not be serialized. It can only be populated by the server.** @@ -2549,172 +1977,189 @@ export interface Lab extends Resource { } /** - * Properties of a lab's announcement banner + * A virtual machine. */ -export interface LabAnnouncementPropertiesFragment { - /** - * The plain text title for the lab announcement - */ - title?: string; - /** - * The markdown text (if any) that this lab displays in the UI. If left empty/null, nothing will - * be shown. - */ - markdown?: string; - /** - * Is the lab announcement active/enabled at this time?. Possible values include: 'Enabled', - * 'Disabled' - */ - enabled?: EnableStatus; - /** - * The time at which the announcement expires (null for never) - */ - expirationDate?: Date; - /** - * Has this announcement expired? - */ - expired?: boolean; +export interface LabVirtualMachineFragment extends UpdateResource { } /** - * Properties of a cost target. + * A notification. */ -export interface TargetCostProperties { +export interface NotificationChannel extends Resource { /** - * Target cost status. Possible values include: 'Enabled', 'Disabled' + * The webhook URL to send notifications to. */ - status?: TargetCostStatus; + webHookUrl?: string; /** - * Lab target cost + * The email recipient to send notifications to (can be a list of semi-colon separated email + * addresses). */ - target?: number; + emailRecipient?: string; /** - * Cost thresholds. + * The locale to use when sending a notification (fallback for unsupported languages is EN). */ - costThresholds?: CostThresholdProperties[]; + notificationLocale?: string; /** - * Reporting cycle start date. + * Description of notification. */ - cycleStartDateTime?: Date; + description?: string; /** - * Reporting cycle end date. + * The list of event for which this notification is enabled. */ - cycleEndDateTime?: Date; + events?: Event[]; /** - * Reporting cycle type. Possible values include: 'CalendarMonth', 'Custom' + * The creation date of the notification channel. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - cycleType?: ReportingCycleType; + readonly createdDate?: Date; + /** + * The provisioning status of the resource. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly provisioningState?: string; + /** + * The unique immutable identifier of a resource (Guid). + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly uniqueIdentifier?: string; } /** - * The properties of the cost summary. + * A notification. */ -export interface LabCostSummaryProperties { - /** - * The cost component of the cost item. - */ - estimatedLabCost?: number; +export interface NotificationChannelFragment extends UpdateResource { } /** - * The properties of a lab cost item. + * Properties for generating a Notification. */ -export interface LabCostDetailsProperties { - /** - * The date of the cost item. - */ - date?: Date; +export interface NotifyParameters { /** - * The cost component of the cost item. + * The type of event (i.e. AutoShutdown, Cost). Possible values include: 'AutoShutdown', 'Cost' */ - cost?: number; + eventName?: NotificationChannelEventType; /** - * The type of the cost. Possible values include: 'Unavailable', 'Reported', 'Projected' + * Properties for the notification in json format. */ - costType?: CostType; + jsonPayload?: string; } /** - * The properties of a resource cost item. + * Error details for the operation in case of a failure. */ -export interface LabResourceCostProperties { - /** - * The name of the resource. - */ - resourcename?: string; +export interface OperationError { /** - * The unique identifier of the resource. + * The error code of the operation error. */ - resourceUId?: string; + code?: string; /** - * The cost component of the resource cost item. + * The error message of the operation error. */ - resourceCost?: number; + message?: string; +} + +/** + * The object that describes the operations + */ +export interface OperationMetadataDisplay { /** - * The logical resource type (ex. virtualmachine, storageaccount) + * Friendly name of the resource provider */ - resourceType?: string; + provider?: string; /** - * The owner of the resource (ex. janedoe@microsoft.com) + * Resource type on which the operation is performed. */ - resourceOwner?: string; + resource?: string; /** - * The category of the resource (ex. Premium_LRS, Standard_DS1) + * Operation type: read, write, delete, listKeys/action, etc. */ - resourcePricingTier?: string; + operation?: string; /** - * The status of the resource (ex. Active) + * Friendly name of the operation */ - resourceStatus?: string; + description?: string; +} + +/** + * The REST API operation supported by DevTestLab ResourceProvider. + */ +export interface OperationMetadata { /** - * The ID of the resource + * Operation name: {provider}/{resource}/{operation} */ - resourceId?: string; + name?: string; /** - * The ID of the external resource + * The object that describes the operations */ - externalResourceId?: string; + display?: OperationMetadataDisplay; } /** - * A cost item. + * An Operation Result */ -export interface LabCost extends Resource { +export interface OperationResult { /** - * The target cost properties + * The operation status. */ - targetCost?: TargetCostProperties; + status?: string; /** - * The lab cost summary component of the cost data. - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * The status code for the operation. Possible values include: 'Continue', 'SwitchingProtocols', + * 'OK', 'Created', 'Accepted', 'NonAuthoritativeInformation', 'NoContent', 'ResetContent', + * 'PartialContent', 'MultipleChoices', 'Ambiguous', 'MovedPermanently', 'Moved', 'Found', + * 'Redirect', 'SeeOther', 'RedirectMethod', 'NotModified', 'UseProxy', 'Unused', + * 'TemporaryRedirect', 'RedirectKeepVerb', 'BadRequest', 'Unauthorized', 'PaymentRequired', + * 'Forbidden', 'NotFound', 'MethodNotAllowed', 'NotAcceptable', 'ProxyAuthenticationRequired', + * 'RequestTimeout', 'Conflict', 'Gone', 'LengthRequired', 'PreconditionFailed', + * 'RequestEntityTooLarge', 'RequestUriTooLong', 'UnsupportedMediaType', + * 'RequestedRangeNotSatisfiable', 'ExpectationFailed', 'UpgradeRequired', 'InternalServerError', + * 'NotImplemented', 'BadGateway', 'ServiceUnavailable', 'GatewayTimeout', + * 'HttpVersionNotSupported' */ - readonly labCostSummary?: LabCostSummaryProperties; + statusCode?: HttpStatusCode; /** - * The lab cost details component of the cost data. - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * Error details for the operation in case of a failure. */ - readonly labCostDetails?: LabCostDetailsProperties[]; + error?: OperationError; +} + +/** + * A Policy. + */ +export interface Policy extends Resource { /** - * The resource cost component of the cost data. - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * The description of the policy. */ - readonly resourceCosts?: LabResourceCostProperties[]; + description?: string; /** - * The currency code of the cost. + * The status of the policy. Possible values include: 'Enabled', 'Disabled' */ - currencyCode?: string; + status?: PolicyStatus; /** - * The start time of the cost data. + * The fact name of the policy (e.g. LabVmCount, LabVmSize, MaxVmsAllowedPerLab, etc. Possible + * values include: 'UserOwnedLabVmCount', 'UserOwnedLabPremiumVmCount', 'LabVmCount', + * 'LabPremiumVmCount', 'LabVmSize', 'GalleryImage', 'UserOwnedLabVmCountInSubnet', + * 'LabTargetCost', 'EnvironmentTemplate', 'ScheduleEditPermission' */ - startDateTime?: Date; + factName?: PolicyFactName; /** - * The end time of the cost data. + * The fact data of the policy. */ - endDateTime?: Date; + factData?: string; /** - * The creation date of the cost. + * The threshold of the policy (i.e. a number for MaxValuePolicy, and a JSON array of values for + * AllowedValuesPolicy). */ - createdDate?: Date; + threshold?: string; + /** + * The evaluator type of the policy (i.e. AllowedValuesPolicy, MaxValuePolicy). Possible values + * include: 'AllowedValuesPolicy', 'MaxValuePolicy' + */ + evaluatorType?: PolicyEvaluatorType; + /** + * The creation date of the policy. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly createdDate?: Date; /** * The provisioning status of the resource. * **NOTE: This property will not be serialized. It can only be populated by the server.** @@ -2728,215 +2173,108 @@ export interface LabCost extends Resource { } /** - * Properties of a lab's support banner + * A Policy. */ -export interface LabSupportPropertiesFragment { - /** - * Is the lab support banner active/enabled at this time?. Possible values include: 'Enabled', - * 'Disabled' - */ - enabled?: EnableStatus; - /** - * The markdown text (if any) that this lab displays in the UI. If left empty/null, nothing will - * be shown. - */ - markdown?: string; +export interface PolicyFragment extends UpdateResource { } /** - * A lab. + * Properties of a network port. */ -export interface LabFragment extends UpdateResource { - /** - * Type of storage used by the lab. It can be either Premium or Standard. Default is Premium. - * Possible values include: 'Standard', 'Premium' - */ - labStorageType?: StorageType; - /** - * The ordered list of artifact resource IDs that should be applied on all Linux VM creations by - * default, prior to the artifacts specified by the user. - */ - mandatoryArtifactsResourceIdsLinux?: string[]; - /** - * The ordered list of artifact resource IDs that should be applied on all Windows VM creations - * by default, prior to the artifacts specified by the user. - */ - mandatoryArtifactsResourceIdsWindows?: string[]; - /** - * The setting to enable usage of premium data disks. - * When its value is 'Enabled', creation of standard or premium data disks is allowed. - * When its value is 'Disabled', only creation of standard data disks is allowed. Possible values - * include: 'Disabled', 'Enabled' - */ - premiumDataDisks?: PremiumDataDisk; - /** - * The access rights to be granted to the user when provisioning an environment. Possible values - * include: 'Reader', 'Contributor' - */ - environmentPermission?: EnvironmentPermission; - /** - * The properties of any lab announcement associated with this lab - */ - announcement?: LabAnnouncementPropertiesFragment; +export interface Port { /** - * The properties of any lab support message associated with this lab + * Protocol type of the port. Possible values include: 'Tcp', 'Udp' */ - support?: LabSupportPropertiesFragment; + transportProtocol?: TransportProtocol; /** - * Extended properties of the lab used for experimental features + * Backend port of the target virtual machine. */ - extendedProperties?: { [propertyName: string]: string }; + backendPort?: number; } /** - * Properties of a VHD in the lab. + * Represents a .rdp file */ -export interface LabVhd { +export interface RdpConnection { /** - * The URI to the VHD. + * The contents of the .rdp file */ - id?: string; + contents?: string; } /** - * A virtual machine. + * Request body for resizing a virtual machine. */ -export interface LabVirtualMachine extends Resource { - /** - * The notes of the virtual machine. - */ - notes?: string; - /** - * The object identifier of the owner of the virtual machine. - */ - ownerObjectId?: string; - /** - * The user principal name of the virtual machine owner. - */ - ownerUserPrincipalName?: string; - /** - * The object identifier of the creator of the virtual machine. - */ - createdByUserId?: string; - /** - * The email address of creator of the virtual machine. - */ - createdByUser?: string; - /** - * The creation date of the virtual machine. - */ - createdDate?: Date; - /** - * The resource identifier (Microsoft.Compute) of the virtual machine. - */ - computeId?: string; - /** - * The custom image identifier of the virtual machine. - */ - customImageId?: string; - /** - * The OS type of the virtual machine. - */ - osType?: string; +export interface ResizeLabVirtualMachineProperties { /** - * The size of the virtual machine. + * Specifies the size of the virtual machine. */ size?: string; +} + +/** + * Properties for retargeting a virtual machine schedule. + */ +export interface RetargetScheduleProperties { /** - * The user name of the virtual machine. - */ - userName?: string; - /** - * The password of the virtual machine administrator. - */ - password?: string; - /** - * The SSH key of the virtual machine administrator. - */ - sshKey?: string; - /** - * Indicates whether this virtual machine uses an SSH key for authentication. - */ - isAuthenticationWithSshKey?: boolean; - /** - * The fully-qualified domain name of the virtual machine. - */ - fqdn?: string; - /** - * The lab subnet name of the virtual machine. - */ - labSubnetName?: string; - /** - * The lab virtual network identifier of the virtual machine. - */ - labVirtualNetworkId?: string; - /** - * Indicates whether the virtual machine is to be created without a public IP address. - */ - disallowPublicIpAddress?: boolean; - /** - * The artifacts to be installed on the virtual machine. - */ - artifacts?: ArtifactInstallProperties[]; - /** - * The artifact deployment status for the virtual machine. + * The resource Id of the virtual machine on which the schedule operates */ - artifactDeploymentStatus?: ArtifactDeploymentStatusProperties; + currentResourceId?: string; /** - * The Microsoft Azure Marketplace image reference of the virtual machine. + * The resource Id of the virtual machine that the schedule should be retargeted to */ - galleryImageReference?: GalleryImageReference; + targetResourceId?: string; +} + +/** + * A schedule. + */ +export interface ScheduleFragment extends UpdateResource { +} + +/** + * A secret. + */ +export interface Secret extends Resource { /** - * The id of the plan associated with the virtual machine image + * The value of the secret for secret creation. */ - planId?: string; + value?: string; /** - * The compute virtual machine properties. + * The provisioning status of the resource. * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - readonly computeVm?: ComputeVmProperties; - /** - * The network interface properties. - */ - networkInterface?: NetworkInterfaceProperties; + readonly provisioningState?: string; /** - * The applicable schedule for the virtual machine. + * The unique immutable identifier of a resource (Guid). * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - readonly applicableSchedule?: ApplicableSchedule; - /** - * The expiration date for VM. - */ - expirationDate?: Date; - /** - * Indicates whether another user can take ownership of the virtual machine - */ - allowClaim?: boolean; - /** - * Storage type to use for virtual machine (i.e. Standard, Premium). - */ - storageType?: string; + readonly uniqueIdentifier?: string; +} + +/** + * A secret. + */ +export interface SecretFragment extends UpdateResource { +} + +/** + * A Service Fabric. + */ +export interface ServiceFabric extends Resource { /** - * Tells source of creation of lab virtual machine. Output property only. Possible values - * include: 'FromCustomImage', 'FromGalleryImage' + * The backing service fabric resource's id */ - virtualMachineCreationSource?: VirtualMachineCreationSource; + externalServiceFabricId?: string; /** - * The resource ID of the environment that contains this virtual machine, if any. + * The resource id of the environment under which the service fabric resource is present */ environmentId?: string; /** - * New or existing data disks to attach to the virtual machine after creation - */ - dataDiskParameters?: DataDiskProperties[]; - /** - * Virtual Machine schedules to be created - */ - scheduleParameters?: ScheduleCreationParameter[]; - /** - * Last known compute power state captured in DTL + * The applicable schedule for the virtual machine. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - lastKnownPowerState?: string; + readonly applicableSchedule?: ApplicableSchedule; /** * The provisioning status of the resource. * **NOTE: This property will not be serialized. It can only be populated by the server.** @@ -2950,331 +2288,211 @@ export interface LabVirtualMachine extends Resource { } /** - * A virtual machine. + * A Service Fabric. */ -export interface LabVirtualMachineFragment extends UpdateResource { - /** - * The notes of the virtual machine. - */ - notes?: string; - /** - * The object identifier of the owner of the virtual machine. - */ - ownerObjectId?: string; - /** - * The user principal name of the virtual machine owner. - */ - ownerUserPrincipalName?: string; - /** - * The object identifier of the creator of the virtual machine. - */ - createdByUserId?: string; - /** - * The email address of creator of the virtual machine. - */ - createdByUser?: string; - /** - * The creation date of the virtual machine. - */ - createdDate?: Date; - /** - * The resource identifier (Microsoft.Compute) of the virtual machine. - */ - computeId?: string; - /** - * The custom image identifier of the virtual machine. - */ - customImageId?: string; - /** - * The OS type of the virtual machine. - */ - osType?: string; - /** - * The size of the virtual machine. - */ - size?: string; - /** - * The user name of the virtual machine. - */ - userName?: string; - /** - * The password of the virtual machine administrator. - */ - password?: string; - /** - * The SSH key of the virtual machine administrator. - */ - sshKey?: string; - /** - * Indicates whether this virtual machine uses an SSH key for authentication. - */ - isAuthenticationWithSshKey?: boolean; - /** - * The fully-qualified domain name of the virtual machine. - */ - fqdn?: string; - /** - * The lab subnet name of the virtual machine. - */ - labSubnetName?: string; - /** - * The lab virtual network identifier of the virtual machine. - */ - labVirtualNetworkId?: string; - /** - * Indicates whether the virtual machine is to be created without a public IP address. - */ - disallowPublicIpAddress?: boolean; - /** - * The artifacts to be installed on the virtual machine. - */ - artifacts?: ArtifactInstallPropertiesFragment[]; - /** - * The artifact deployment status for the virtual machine. - */ - artifactDeploymentStatus?: ArtifactDeploymentStatusPropertiesFragment; - /** - * The Microsoft Azure Marketplace image reference of the virtual machine. - */ - galleryImageReference?: GalleryImageReferenceFragment; - /** - * The id of the plan associated with the virtual machine image - */ - planId?: string; - /** - * The network interface properties. - */ - networkInterface?: NetworkInterfacePropertiesFragment; - /** - * The expiration date for VM. - */ - expirationDate?: Date; - /** - * Indicates whether another user can take ownership of the virtual machine - */ - allowClaim?: boolean; - /** - * Storage type to use for virtual machine (i.e. Standard, Premium). - */ - storageType?: string; - /** - * Tells source of creation of lab virtual machine. Output property only. Possible values - * include: 'FromCustomImage', 'FromGalleryImage' - */ - virtualMachineCreationSource?: VirtualMachineCreationSource; - /** - * The resource ID of the environment that contains this virtual machine, if any. - */ - environmentId?: string; +export interface ServiceFabricFragment extends UpdateResource { +} + +/** + * A container for a managed identity to execute DevTest lab services. + */ +export interface ServiceRunner extends Resource { /** - * New or existing data disks to attach to the virtual machine after creation + * The identity of the resource. */ - dataDiskParameters?: DataDiskPropertiesFragment[]; + identity?: IdentityProperties; +} + +/** + * The response of a list operation. + */ +export interface ServiceRunnerList { /** - * Virtual Machine schedules to be created + * Results of the list operation. */ - scheduleParameters?: ScheduleCreationParameterFragment[]; + value?: ServiceRunner[]; /** - * Last known compute power state captured in DTL + * Link for next set of results. */ - lastKnownPowerState?: string; + nextLink?: string; } /** - * A notification. + * The contents of a shutdown notification. Webhooks can use this type to deserialize the request + * body when they get notified of an imminent shutdown. */ -export interface NotificationChannel extends Resource { +export interface ShutdownNotificationContent { /** - * The webhook URL to send notifications to. + * The URL to skip auto-shutdown. */ - webHookUrl?: string; + skipUrl?: string; /** - * The email recipient to send notifications to (can be a list of semi-colon separated email - * addresses). + * The URL to delay shutdown by 60 minutes. */ - emailRecipient?: string; + delayUrl60?: string; /** - * The locale to use when sending a notification (fallback for unsupported languages is EN). + * The URL to delay shutdown by 2 hours. */ - notificationLocale?: string; + delayUrl120?: string; /** - * Description of notification. + * The virtual machine to be shut down. */ - description?: string; + vmName?: string; /** - * The list of event for which this notification is enabled. + * The GUID for the virtual machine to be shut down. */ - events?: Event[]; + guid?: string; /** - * The creation date of the notification channel. - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * The owner of the virtual machine. */ - readonly createdDate?: Date; + owner?: string; /** - * The provisioning status of the resource. - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * The URL of the virtual machine. */ - readonly provisioningState?: string; + vmUrl?: string; /** - * The unique immutable identifier of a resource (Guid). - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * Minutes remaining until shutdown */ - readonly uniqueIdentifier?: string; -} - -/** - * A notification. - */ -export interface NotificationChannelFragment extends UpdateResource { + minutesUntilShutdown?: string; /** - * The webhook URL to send notifications to. + * The event for which a notification will be sent. */ - webHookUrl?: string; + eventType?: string; /** - * The email recipient to send notifications to (can be a list of semi-colon separated email - * addresses). + * The text for the notification. */ - emailRecipient?: string; + text?: string; /** - * The locale to use when sending a notification (fallback for unsupported languages is EN). + * The subscription ID for the schedule. */ - notificationLocale?: string; + subscriptionId?: string; /** - * Description of notification. + * The resource group name for the schedule. */ - description?: string; + resourceGroupName?: string; /** - * The list of event for which this notification is enabled. + * The lab for the schedule. */ - events?: EventFragment[]; + labName?: string; } /** - * Properties for generating a Notification. + * Subnet information. */ -export interface NotifyParameters { +export interface Subnet { /** - * The type of event (i.e. AutoShutdown, Cost). Possible values include: 'AutoShutdown', 'Cost' + * The resource ID of the subnet. */ - eventName?: NotificationChannelEventType; + resourceId?: string; /** - * Properties for the notification in json format. + * The name of the subnet as seen in the lab. */ - jsonPayload?: string; + labSubnetName?: string; + /** + * The permission policy of the subnet for allowing public IP addresses (i.e. Allow, Deny)). + * Possible values include: 'Default', 'Deny', 'Allow' + */ + allowPublicIp?: UsagePermissionType; } /** - * Error details for the operation in case of a failure. + * Configuration for public IP address sharing. */ -export interface OperationError { - /** - * The error code of the operation error. - */ - code?: string; +export interface SubnetSharedPublicIpAddressConfiguration { /** - * The error message of the operation error. + * Backend ports that virtual machines on this subnet are allowed to expose */ - message?: string; + allowedPorts?: Port[]; } /** - * The object that describes the operations + * Property overrides on a subnet of a virtual network. */ -export interface OperationMetadataDisplay { +export interface SubnetOverride { /** - * Friendly name of the resource provider + * The resource ID of the subnet. */ - provider?: string; + resourceId?: string; /** - * Resource type on which the operation is performed. + * The name given to the subnet within the lab. */ - resource?: string; + labSubnetName?: string; /** - * Operation type: read, write, delete, listKeys/action, etc. + * Indicates whether this subnet can be used during virtual machine creation (i.e. Allow, Deny). + * Possible values include: 'Default', 'Deny', 'Allow' */ - operation?: string; + useInVmCreationPermission?: UsagePermissionType; /** - * Friendly name of the operation + * Indicates whether public IP addresses can be assigned to virtual machines on this subnet (i.e. + * Allow, Deny). Possible values include: 'Default', 'Deny', 'Allow' */ - description?: string; -} - -/** - * The REST API operation supported by DevTestLab ResourceProvider. - */ -export interface OperationMetadata { + usePublicIpAddressPermission?: UsagePermissionType; /** - * Operation name: {provider}/{resource}/{operation} + * Properties that virtual machines on this subnet will share. */ - name?: string; + sharedPublicIpAddressConfiguration?: SubnetSharedPublicIpAddressConfiguration; /** - * The object that describes the operations + * The virtual network pool associated with this subnet. */ - display?: OperationMetadataDisplay; + virtualNetworkPoolName?: string; } /** - * An Operation Result + * Identity attributes of a lab user. */ -export interface OperationResult { +export interface UserIdentity { /** - * The operation status. + * Set to the principal name / UPN of the client JWT making the request. */ - status?: string; + principalName?: string; /** - * The status code for the operation. Possible values include: 'Continue', 'SwitchingProtocols', - * 'OK', 'Created', 'Accepted', 'NonAuthoritativeInformation', 'NoContent', 'ResetContent', - * 'PartialContent', 'MultipleChoices', 'MovedPermanently', 'Redirect', 'SeeOther', - * 'NotModified', 'UseProxy', 'Unused', 'TemporaryRedirect', 'BadRequest', 'Unauthorized', - * 'PaymentRequired', 'Forbidden', 'NotFound', 'MethodNotAllowed', 'NotAcceptable', - * 'ProxyAuthenticationRequired', 'RequestTimeout', 'Conflict', 'Gone', 'LengthRequired', - * 'PreconditionFailed', 'RequestEntityTooLarge', 'RequestUriTooLong', 'UnsupportedMediaType', - * 'RequestedRangeNotSatisfiable', 'ExpectationFailed', 'UpgradeRequired', 'InternalServerError', - * 'NotImplemented', 'BadGateway', 'ServiceUnavailable', 'GatewayTimeout', - * 'HttpVersionNotSupported' + * Set to the principal Id of the client JWT making the request. Service principal will not have + * the principal Id. */ - statusCode?: HttpStatusCode; + principalId?: string; /** - * Error details for the operation in case of a failure. + * Set to the tenant ID of the client JWT making the request. */ - error?: OperationError; -} - -/** - * A Policy. - */ -export interface Policy extends Resource { + tenantId?: string; /** - * The description of the policy. + * Set to the object Id of the client JWT making the request. Not all users have object Id. For + * CSP (reseller) scenarios for example, object Id is not available. */ - description?: string; + objectId?: string; /** - * The status of the policy. Possible values include: 'Enabled', 'Disabled' + * Set to the app Id of the client JWT making the request. */ - status?: PolicyStatus; + appId?: string; +} + +/** + * Properties of a user's secret store. + */ +export interface UserSecretStore { /** - * The fact name of the policy (e.g. LabVmCount, LabVmSize, MaxVmsAllowedPerLab, etc. Possible - * values include: 'UserOwnedLabVmCount', 'UserOwnedLabPremiumVmCount', 'LabVmCount', - * 'LabPremiumVmCount', 'LabVmSize', 'GalleryImage', 'UserOwnedLabVmCountInSubnet', - * 'LabTargetCost', 'EnvironmentTemplate', 'ScheduleEditPermission' + * The URI of the user's Key vault. */ - factName?: PolicyFactName; + keyVaultUri?: string; /** - * The fact data of the policy. + * The ID of the user's Key vault. */ - factData?: string; + keyVaultId?: string; +} + +/** + * Profile of a lab user. + */ +export interface User extends Resource { /** - * The threshold of the policy (i.e. a number for MaxValuePolicy, and a JSON array of values for - * AllowedValuesPolicy). + * The identity of the user. */ - threshold?: string; + identity?: UserIdentity; /** - * The evaluator type of the policy (i.e. AllowedValuesPolicy, MaxValuePolicy). Possible values - * include: 'AllowedValuesPolicy', 'MaxValuePolicy' + * The secret store of the user. */ - evaluatorType?: PolicyEvaluatorType; + secretStore?: UserSecretStore; /** - * The creation date of the policy. + * The creation date of the user profile. * **NOTE: This property will not be serialized. It can only be populated by the server.** */ readonly createdDate?: Date; @@ -3291,563 +2509,563 @@ export interface Policy extends Resource { } /** - * A Policy. + * Profile of a lab user. */ -export interface PolicyFragment extends UpdateResource { +export interface UserFragment extends UpdateResource { +} + +/** + * A virtual network. + */ +export interface VirtualNetwork extends Resource { /** - * The description of the policy. + * The allowed subnets of the virtual network. */ - description?: string; + allowedSubnets?: Subnet[]; /** - * The status of the policy. Possible values include: 'Enabled', 'Disabled' + * The description of the virtual network. */ - status?: PolicyStatus; + description?: string; /** - * The fact name of the policy (e.g. LabVmCount, LabVmSize, MaxVmsAllowedPerLab, etc. Possible - * values include: 'UserOwnedLabVmCount', 'UserOwnedLabPremiumVmCount', 'LabVmCount', - * 'LabPremiumVmCount', 'LabVmSize', 'GalleryImage', 'UserOwnedLabVmCountInSubnet', - * 'LabTargetCost', 'EnvironmentTemplate', 'ScheduleEditPermission' + * The Microsoft.Network resource identifier of the virtual network. */ - factName?: PolicyFactName; + externalProviderResourceId?: string; /** - * The fact data of the policy. + * The external subnet properties. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - factData?: string; + readonly externalSubnets?: ExternalSubnet[]; /** - * The threshold of the policy (i.e. a number for MaxValuePolicy, and a JSON array of values for - * AllowedValuesPolicy). + * The subnet overrides of the virtual network. */ - threshold?: string; + subnetOverrides?: SubnetOverride[]; /** - * The evaluator type of the policy (i.e. AllowedValuesPolicy, MaxValuePolicy). Possible values - * include: 'AllowedValuesPolicy', 'MaxValuePolicy' + * The creation date of the virtual network. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - evaluatorType?: PolicyEvaluatorType; -} - -/** - * Properties of a network port. - */ -export interface Port { + readonly createdDate?: Date; /** - * Protocol type of the port. Possible values include: 'Tcp', 'Udp' + * The provisioning status of the resource. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - transportProtocol?: TransportProtocol; + readonly provisioningState?: string; /** - * Backend port of the target virtual machine. + * The unique immutable identifier of a resource (Guid). + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - backendPort?: number; + readonly uniqueIdentifier?: string; } /** - * Properties of a network port. + * A virtual network. */ -export interface PortFragment { - /** - * Protocol type of the port. Possible values include: 'Tcp', 'Udp' - */ - transportProtocol?: TransportProtocol; - /** - * Backend port of the target virtual machine. - */ - backendPort?: number; +export interface VirtualNetworkFragment extends UpdateResource { } /** - * Represents a .rdp file + * Optional Parameters. */ -export interface RdpConnection { +export interface LabsListBySubscriptionOptionalParams extends msRest.RequestOptionsBase { /** - * The contents of the .rdp file + * Specify the $expand query. Example: 'properties($select=defaultStorageAccount)' */ - contents?: string; -} - -/** - * Request body for resizing a virtual machine. - */ -export interface ResizeLabVirtualMachineProperties { + expand?: string; /** - * Specifies the size of the virtual machine. + * The filter to apply to the operation. Example: '$filter=contains(name,'myName') */ - size?: string; -} - -/** - * Properties for retargeting a virtual machine schedule. - */ -export interface RetargetScheduleProperties { + filter?: string; /** - * The resource Id of the virtual machine on which the schedule operates + * The maximum number of resources to return from the operation. Example: '$top=10' */ - currentResourceId?: string; + top?: number; /** - * The resource Id of the virtual machine that the schedule should be retargeted to + * The ordering expression for the results, using OData notation. Example: '$orderby=name desc' */ - targetResourceId?: string; + orderby?: string; } /** - * A secret. + * Optional Parameters. */ -export interface Secret extends Resource { +export interface LabsListByResourceGroupOptionalParams extends msRest.RequestOptionsBase { + /** + * Specify the $expand query. Example: 'properties($select=defaultStorageAccount)' + */ + expand?: string; /** - * The value of the secret for secret creation. + * The filter to apply to the operation. Example: '$filter=contains(name,'myName') */ - value?: string; + filter?: string; /** - * The provisioning status of the resource. - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * The maximum number of resources to return from the operation. Example: '$top=10' */ - readonly provisioningState?: string; + top?: number; /** - * The unique immutable identifier of a resource (Guid). - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * The ordering expression for the results, using OData notation. Example: '$orderby=name desc' */ - readonly uniqueIdentifier?: string; + orderby?: string; } /** - * A secret. + * Optional Parameters. */ -export interface SecretFragment extends UpdateResource { +export interface LabsGetOptionalParams extends msRest.RequestOptionsBase { /** - * The value of the secret for secret creation. + * Specify the $expand query. Example: 'properties($select=defaultStorageAccount)' */ - value?: string; + expand?: string; } /** - * A Service Fabric. + * Optional Parameters. */ -export interface ServiceFabric extends Resource { - /** - * The backing service fabric resource's id - */ - externalServiceFabricId?: string; +export interface LabsListBySubscriptionNextOptionalParams extends msRest.RequestOptionsBase { /** - * The resource id of the environment under which the service fabric resource is present + * Specify the $expand query. Example: 'properties($select=defaultStorageAccount)' */ - environmentId?: string; + expand?: string; /** - * The applicable schedule for the virtual machine. - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * The filter to apply to the operation. Example: '$filter=contains(name,'myName') */ - readonly applicableSchedule?: ApplicableSchedule; + filter?: string; /** - * The provisioning status of the resource. - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * The maximum number of resources to return from the operation. Example: '$top=10' */ - readonly provisioningState?: string; + top?: number; /** - * The unique immutable identifier of a resource (Guid). - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * The ordering expression for the results, using OData notation. Example: '$orderby=name desc' */ - readonly uniqueIdentifier?: string; + orderby?: string; } /** - * A Service Fabric. + * Optional Parameters. */ -export interface ServiceFabricFragment extends UpdateResource { +export interface LabsListByResourceGroupNextOptionalParams extends msRest.RequestOptionsBase { /** - * The backing service fabric resource's id + * Specify the $expand query. Example: 'properties($select=defaultStorageAccount)' */ - externalServiceFabricId?: string; + expand?: string; /** - * The resource id of the environment under which the service fabric resource is present + * The filter to apply to the operation. Example: '$filter=contains(name,'myName') */ - environmentId?: string; -} - -/** - * A container for a managed identity to execute DevTest lab services. - */ -export interface ServiceRunner extends Resource { + filter?: string; /** - * The identity of the resource. + * The maximum number of resources to return from the operation. Example: '$top=10' */ - identity?: IdentityProperties; + top?: number; + /** + * The ordering expression for the results, using OData notation. Example: '$orderby=name desc' + */ + orderby?: string; } /** - * The contents of a shutdown notification. Webhooks can use this type to deserialize the request - * body when they get notified of an imminent shutdown. + * Optional Parameters. */ -export interface ShutdownNotificationContent { +export interface GlobalSchedulesListBySubscriptionOptionalParams extends msRest.RequestOptionsBase { /** - * The URL to skip auto-shutdown. + * Specify the $expand query. Example: 'properties($select=status)' */ - skipUrl?: string; + expand?: string; /** - * The URL to delay shutdown by 60 minutes. + * The filter to apply to the operation. Example: '$filter=contains(name,'myName') */ - delayUrl60?: string; + filter?: string; /** - * The URL to delay shutdown by 2 hours. + * The maximum number of resources to return from the operation. Example: '$top=10' */ - delayUrl120?: string; + top?: number; /** - * The virtual machine to be shut down. + * The ordering expression for the results, using OData notation. Example: '$orderby=name desc' */ - vmName?: string; + orderby?: string; +} + +/** + * Optional Parameters. + */ +export interface GlobalSchedulesListByResourceGroupOptionalParams extends msRest.RequestOptionsBase { /** - * The GUID for the virtual machine to be shut down. + * Specify the $expand query. Example: 'properties($select=status)' */ - guid?: string; + expand?: string; /** - * The owner of the virtual machine. + * The filter to apply to the operation. Example: '$filter=contains(name,'myName') */ - owner?: string; + filter?: string; /** - * The URL of the virtual machine. + * The maximum number of resources to return from the operation. Example: '$top=10' */ - vmUrl?: string; + top?: number; /** - * Minutes remaining until shutdown + * The ordering expression for the results, using OData notation. Example: '$orderby=name desc' */ - minutesUntilShutdown?: string; + orderby?: string; +} + +/** + * Optional Parameters. + */ +export interface GlobalSchedulesGetOptionalParams extends msRest.RequestOptionsBase { /** - * The event for which a notification will be sent. + * Specify the $expand query. Example: 'properties($select=status)' */ - eventType?: string; + expand?: string; +} + +/** + * Optional Parameters. + */ +export interface GlobalSchedulesListBySubscriptionNextOptionalParams extends msRest.RequestOptionsBase { /** - * The text for the notification. + * Specify the $expand query. Example: 'properties($select=status)' */ - text?: string; + expand?: string; /** - * The subscription ID for the schedule. + * The filter to apply to the operation. Example: '$filter=contains(name,'myName') */ - subscriptionId?: string; + filter?: string; /** - * The resource group name for the schedule. + * The maximum number of resources to return from the operation. Example: '$top=10' */ - resourceGroupName?: string; + top?: number; /** - * The lab for the schedule. + * The ordering expression for the results, using OData notation. Example: '$orderby=name desc' */ - labName?: string; + orderby?: string; } /** - * Subnet information. + * Optional Parameters. */ -export interface Subnet { +export interface GlobalSchedulesListByResourceGroupNextOptionalParams extends msRest.RequestOptionsBase { /** - * The resource ID of the subnet. + * Specify the $expand query. Example: 'properties($select=status)' */ - resourceId?: string; + expand?: string; /** - * The name of the subnet as seen in the lab. + * The filter to apply to the operation. Example: '$filter=contains(name,'myName') */ - labSubnetName?: string; + filter?: string; /** - * The permission policy of the subnet for allowing public IP addresses (i.e. Allow, Deny)). - * Possible values include: 'Default', 'Deny', 'Allow' + * The maximum number of resources to return from the operation. Example: '$top=10' */ - allowPublicIp?: UsagePermissionType; + top?: number; + /** + * The ordering expression for the results, using OData notation. Example: '$orderby=name desc' + */ + orderby?: string; } /** - * Subnet information. + * Optional Parameters. */ -export interface SubnetFragment { +export interface ArtifactSourcesListOptionalParams extends msRest.RequestOptionsBase { /** - * The resource ID of the subnet. + * Specify the $expand query. Example: 'properties($select=displayName)' */ - resourceId?: string; + expand?: string; /** - * The name of the subnet as seen in the lab. + * The filter to apply to the operation. Example: '$filter=contains(name,'myName') */ - labSubnetName?: string; + filter?: string; /** - * The permission policy of the subnet for allowing public IP addresses (i.e. Allow, Deny)). - * Possible values include: 'Default', 'Deny', 'Allow' + * The maximum number of resources to return from the operation. Example: '$top=10' */ - allowPublicIp?: UsagePermissionType; + top?: number; + /** + * The ordering expression for the results, using OData notation. Example: '$orderby=name desc' + */ + orderby?: string; } /** - * Configuration for public IP address sharing. + * Optional Parameters. */ -export interface SubnetSharedPublicIpAddressConfiguration { +export interface ArtifactSourcesGetOptionalParams extends msRest.RequestOptionsBase { /** - * Backend ports that virtual machines on this subnet are allowed to expose + * Specify the $expand query. Example: 'properties($select=displayName)' */ - allowedPorts?: Port[]; + expand?: string; } /** - * Property overrides on a subnet of a virtual network. + * Optional Parameters. */ -export interface SubnetOverride { - /** - * The resource ID of the subnet. - */ - resourceId?: string; - /** - * The name given to the subnet within the lab. - */ - labSubnetName?: string; - /** - * Indicates whether this subnet can be used during virtual machine creation (i.e. Allow, Deny). - * Possible values include: 'Default', 'Deny', 'Allow' - */ - useInVmCreationPermission?: UsagePermissionType; +export interface ArtifactSourcesListNextOptionalParams extends msRest.RequestOptionsBase { /** - * Indicates whether public IP addresses can be assigned to virtual machines on this subnet (i.e. - * Allow, Deny). Possible values include: 'Default', 'Deny', 'Allow' + * Specify the $expand query. Example: 'properties($select=displayName)' */ - usePublicIpAddressPermission?: UsagePermissionType; + expand?: string; /** - * Properties that virtual machines on this subnet will share. + * The filter to apply to the operation. Example: '$filter=contains(name,'myName') */ - sharedPublicIpAddressConfiguration?: SubnetSharedPublicIpAddressConfiguration; + filter?: string; /** - * The virtual network pool associated with this subnet. + * The maximum number of resources to return from the operation. Example: '$top=10' */ - virtualNetworkPoolName?: string; -} - -/** - * Configuration for public IP address sharing. - */ -export interface SubnetSharedPublicIpAddressConfigurationFragment { + top?: number; /** - * Backend ports that virtual machines on this subnet are allowed to expose + * The ordering expression for the results, using OData notation. Example: '$orderby=name desc' */ - allowedPorts?: PortFragment[]; + orderby?: string; } /** - * Property overrides on a subnet of a virtual network. + * Optional Parameters. */ -export interface SubnetOverrideFragment { - /** - * The resource ID of the subnet. - */ - resourceId?: string; - /** - * The name given to the subnet within the lab. - */ - labSubnetName?: string; +export interface ArmTemplatesListOptionalParams extends msRest.RequestOptionsBase { /** - * Indicates whether this subnet can be used during virtual machine creation (i.e. Allow, Deny). - * Possible values include: 'Default', 'Deny', 'Allow' + * Specify the $expand query. Example: 'properties($select=displayName)' */ - useInVmCreationPermission?: UsagePermissionType; + expand?: string; /** - * Indicates whether public IP addresses can be assigned to virtual machines on this subnet (i.e. - * Allow, Deny). Possible values include: 'Default', 'Deny', 'Allow' + * The filter to apply to the operation. Example: '$filter=contains(name,'myName') */ - usePublicIpAddressPermission?: UsagePermissionType; + filter?: string; /** - * Properties that virtual machines on this subnet will share. + * The maximum number of resources to return from the operation. Example: '$top=10' */ - sharedPublicIpAddressConfiguration?: SubnetSharedPublicIpAddressConfigurationFragment; + top?: number; /** - * The virtual network pool associated with this subnet. + * The ordering expression for the results, using OData notation. Example: '$orderby=name desc' */ - virtualNetworkPoolName?: string; + orderby?: string; } /** - * Identity attributes of a lab user. + * Optional Parameters. */ -export interface UserIdentity { +export interface ArmTemplatesGetOptionalParams extends msRest.RequestOptionsBase { /** - * Set to the principal name / UPN of the client JWT making the request. + * Specify the $expand query. Example: 'properties($select=displayName)' */ - principalName?: string; + expand?: string; +} + +/** + * Optional Parameters. + */ +export interface ArmTemplatesListNextOptionalParams extends msRest.RequestOptionsBase { /** - * Set to the principal Id of the client JWT making the request. Service principal will not have - * the principal Id. + * Specify the $expand query. Example: 'properties($select=displayName)' */ - principalId?: string; + expand?: string; /** - * Set to the tenant ID of the client JWT making the request. + * The filter to apply to the operation. Example: '$filter=contains(name,'myName') */ - tenantId?: string; + filter?: string; /** - * Set to the object Id of the client JWT making the request. Not all users have object Id. For - * CSP (reseller) scenarios for example, object Id is not available. + * The maximum number of resources to return from the operation. Example: '$top=10' */ - objectId?: string; + top?: number; /** - * Set to the app Id of the client JWT making the request. + * The ordering expression for the results, using OData notation. Example: '$orderby=name desc' */ - appId?: string; + orderby?: string; } /** - * Properties of a user's secret store. + * Optional Parameters. */ -export interface UserSecretStore { +export interface ArtifactsListOptionalParams extends msRest.RequestOptionsBase { /** - * The URI of the user's Key vault. + * Specify the $expand query. Example: 'properties($select=title)' */ - keyVaultUri?: string; + expand?: string; /** - * The ID of the user's Key vault. + * The filter to apply to the operation. Example: '$filter=contains(name,'myName') */ - keyVaultId?: string; + filter?: string; + /** + * The maximum number of resources to return from the operation. Example: '$top=10' + */ + top?: number; + /** + * The ordering expression for the results, using OData notation. Example: '$orderby=name desc' + */ + orderby?: string; } /** - * Profile of a lab user. + * Optional Parameters. */ -export interface User extends Resource { +export interface ArtifactsGetOptionalParams extends msRest.RequestOptionsBase { /** - * The identity of the user. + * Specify the $expand query. Example: 'properties($select=title)' */ - identity?: UserIdentity; + expand?: string; +} + +/** + * Optional Parameters. + */ +export interface ArtifactsListNextOptionalParams extends msRest.RequestOptionsBase { /** - * The secret store of the user. + * Specify the $expand query. Example: 'properties($select=title)' */ - secretStore?: UserSecretStore; + expand?: string; /** - * The creation date of the user profile. - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * The filter to apply to the operation. Example: '$filter=contains(name,'myName') */ - readonly createdDate?: Date; + filter?: string; /** - * The provisioning status of the resource. - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * The maximum number of resources to return from the operation. Example: '$top=10' */ - readonly provisioningState?: string; + top?: number; /** - * The unique immutable identifier of a resource (Guid). - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * The ordering expression for the results, using OData notation. Example: '$orderby=name desc' */ - readonly uniqueIdentifier?: string; + orderby?: string; } /** - * Identity attributes of a lab user. + * Optional Parameters. */ -export interface UserIdentityFragment { +export interface CostsGetOptionalParams extends msRest.RequestOptionsBase { /** - * Set to the principal name / UPN of the client JWT making the request. + * Specify the $expand query. Example: 'properties($expand=labCostDetails)' */ - principalName?: string; + expand?: string; +} + +/** + * Optional Parameters. + */ +export interface CustomImagesListOptionalParams extends msRest.RequestOptionsBase { /** - * Set to the principal Id of the client JWT making the request. Service principal will not have - * the principal Id. + * Specify the $expand query. Example: 'properties($select=vm)' */ - principalId?: string; + expand?: string; /** - * Set to the tenant ID of the client JWT making the request. + * The filter to apply to the operation. Example: '$filter=contains(name,'myName') */ - tenantId?: string; + filter?: string; /** - * Set to the object Id of the client JWT making the request. Not all users have object Id. For - * CSP (reseller) scenarios for example, object Id is not available. + * The maximum number of resources to return from the operation. Example: '$top=10' */ - objectId?: string; + top?: number; /** - * Set to the app Id of the client JWT making the request. + * The ordering expression for the results, using OData notation. Example: '$orderby=name desc' */ - appId?: string; + orderby?: string; } /** - * Properties of a user's secret store. + * Optional Parameters. */ -export interface UserSecretStoreFragment { - /** - * The URI of the user's Key vault. - */ - keyVaultUri?: string; +export interface CustomImagesGetOptionalParams extends msRest.RequestOptionsBase { /** - * The ID of the user's Key vault. + * Specify the $expand query. Example: 'properties($select=vm)' */ - keyVaultId?: string; + expand?: string; } /** - * Profile of a lab user. + * Optional Parameters. */ -export interface UserFragment extends UpdateResource { +export interface CustomImagesListNextOptionalParams extends msRest.RequestOptionsBase { /** - * The identity of the user. + * Specify the $expand query. Example: 'properties($select=vm)' + */ + expand?: string; + /** + * The filter to apply to the operation. Example: '$filter=contains(name,'myName') */ - identity?: UserIdentityFragment; + filter?: string; /** - * The secret store of the user. + * The maximum number of resources to return from the operation. Example: '$top=10' + */ + top?: number; + /** + * The ordering expression for the results, using OData notation. Example: '$orderby=name desc' */ - secretStore?: UserSecretStoreFragment; + orderby?: string; } /** - * A virtual network. + * Optional Parameters. */ -export interface VirtualNetwork extends Resource { +export interface FormulasListOptionalParams extends msRest.RequestOptionsBase { /** - * The allowed subnets of the virtual network. + * Specify the $expand query. Example: 'properties($select=description)' */ - allowedSubnets?: Subnet[]; + expand?: string; /** - * The description of the virtual network. + * The filter to apply to the operation. Example: '$filter=contains(name,'myName') */ - description?: string; + filter?: string; /** - * The Microsoft.Network resource identifier of the virtual network. + * The maximum number of resources to return from the operation. Example: '$top=10' */ - externalProviderResourceId?: string; + top?: number; /** - * The external subnet properties. - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * The ordering expression for the results, using OData notation. Example: '$orderby=name desc' */ - readonly externalSubnets?: ExternalSubnet[]; + orderby?: string; +} + +/** + * Optional Parameters. + */ +export interface FormulasGetOptionalParams extends msRest.RequestOptionsBase { /** - * The subnet overrides of the virtual network. + * Specify the $expand query. Example: 'properties($select=description)' */ - subnetOverrides?: SubnetOverride[]; + expand?: string; +} + +/** + * Optional Parameters. + */ +export interface FormulasListNextOptionalParams extends msRest.RequestOptionsBase { /** - * The creation date of the virtual network. - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * Specify the $expand query. Example: 'properties($select=description)' */ - readonly createdDate?: Date; + expand?: string; /** - * The provisioning status of the resource. - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * The filter to apply to the operation. Example: '$filter=contains(name,'myName') */ - readonly provisioningState?: string; + filter?: string; /** - * The unique immutable identifier of a resource (Guid). - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * The maximum number of resources to return from the operation. Example: '$top=10' */ - readonly uniqueIdentifier?: string; + top?: number; + /** + * The ordering expression for the results, using OData notation. Example: '$orderby=name desc' + */ + orderby?: string; } /** - * A virtual network. + * Optional Parameters. */ -export interface VirtualNetworkFragment extends UpdateResource { +export interface GalleryImagesListOptionalParams extends msRest.RequestOptionsBase { /** - * The allowed subnets of the virtual network. + * Specify the $expand query. Example: 'properties($select=author)' */ - allowedSubnets?: SubnetFragment[]; + expand?: string; /** - * The description of the virtual network. + * The filter to apply to the operation. Example: '$filter=contains(name,'myName') */ - description?: string; + filter?: string; /** - * The Microsoft.Network resource identifier of the virtual network. + * The maximum number of resources to return from the operation. Example: '$top=10' */ - externalProviderResourceId?: string; + top?: number; /** - * The subnet overrides of the virtual network. + * The ordering expression for the results, using OData notation. Example: '$orderby=name desc' */ - subnetOverrides?: SubnetOverrideFragment[]; + orderby?: string; } /** * Optional Parameters. */ -export interface LabsListBySubscriptionOptionalParams extends msRest.RequestOptionsBase { +export interface GalleryImagesListNextOptionalParams extends msRest.RequestOptionsBase { /** - * Specify the $expand query. Example: 'properties($select=defaultStorageAccount)' + * Specify the $expand query. Example: 'properties($select=author)' */ expand?: string; /** @@ -3867,9 +3085,9 @@ export interface LabsListBySubscriptionOptionalParams extends msRest.RequestOpti /** * Optional Parameters. */ -export interface LabsListByResourceGroupOptionalParams extends msRest.RequestOptionsBase { +export interface NotificationChannelsListOptionalParams extends msRest.RequestOptionsBase { /** - * Specify the $expand query. Example: 'properties($select=defaultStorageAccount)' + * Specify the $expand query. Example: 'properties($select=webHookUrl)' */ expand?: string; /** @@ -3889,9 +3107,9 @@ export interface LabsListByResourceGroupOptionalParams extends msRest.RequestOpt /** * Optional Parameters. */ -export interface LabsGetOptionalParams extends msRest.RequestOptionsBase { +export interface NotificationChannelsGetOptionalParams extends msRest.RequestOptionsBase { /** - * Specify the $expand query. Example: 'properties($select=defaultStorageAccount)' + * Specify the $expand query. Example: 'properties($select=webHookUrl)' */ expand?: string; } @@ -3899,9 +3117,9 @@ export interface LabsGetOptionalParams extends msRest.RequestOptionsBase { /** * Optional Parameters. */ -export interface GlobalSchedulesListBySubscriptionOptionalParams extends msRest.RequestOptionsBase { +export interface NotificationChannelsListNextOptionalParams extends msRest.RequestOptionsBase { /** - * Specify the $expand query. Example: 'properties($select=status)' + * Specify the $expand query. Example: 'properties($select=webHookUrl)' */ expand?: string; /** @@ -3921,9 +3139,9 @@ export interface GlobalSchedulesListBySubscriptionOptionalParams extends msRest. /** * Optional Parameters. */ -export interface GlobalSchedulesListByResourceGroupOptionalParams extends msRest.RequestOptionsBase { +export interface PoliciesListOptionalParams extends msRest.RequestOptionsBase { /** - * Specify the $expand query. Example: 'properties($select=status)' + * Specify the $expand query. Example: 'properties($select=description)' */ expand?: string; /** @@ -3943,9 +3161,9 @@ export interface GlobalSchedulesListByResourceGroupOptionalParams extends msRest /** * Optional Parameters. */ -export interface GlobalSchedulesGetOptionalParams extends msRest.RequestOptionsBase { +export interface PoliciesGetOptionalParams extends msRest.RequestOptionsBase { /** - * Specify the $expand query. Example: 'properties($select=status)' + * Specify the $expand query. Example: 'properties($select=description)' */ expand?: string; } @@ -3953,9 +3171,9 @@ export interface GlobalSchedulesGetOptionalParams extends msRest.RequestOptionsB /** * Optional Parameters. */ -export interface ArtifactSourcesListOptionalParams extends msRest.RequestOptionsBase { +export interface PoliciesListNextOptionalParams extends msRest.RequestOptionsBase { /** - * Specify the $expand query. Example: 'properties($select=displayName)' + * Specify the $expand query. Example: 'properties($select=description)' */ expand?: string; /** @@ -3967,27 +3185,17 @@ export interface ArtifactSourcesListOptionalParams extends msRest.RequestOptions */ top?: number; /** - * The ordering expression for the results, using OData notation. Example: '$orderby=name desc' - */ - orderby?: string; -} - -/** - * Optional Parameters. - */ -export interface ArtifactSourcesGetOptionalParams extends msRest.RequestOptionsBase { - /** - * Specify the $expand query. Example: 'properties($select=displayName)' + * The ordering expression for the results, using OData notation. Example: '$orderby=name desc' */ - expand?: string; + orderby?: string; } /** * Optional Parameters. */ -export interface ArmTemplatesListOptionalParams extends msRest.RequestOptionsBase { +export interface SchedulesListOptionalParams extends msRest.RequestOptionsBase { /** - * Specify the $expand query. Example: 'properties($select=displayName)' + * Specify the $expand query. Example: 'properties($select=status)' */ expand?: string; /** @@ -4007,9 +3215,9 @@ export interface ArmTemplatesListOptionalParams extends msRest.RequestOptionsBas /** * Optional Parameters. */ -export interface ArmTemplatesGetOptionalParams extends msRest.RequestOptionsBase { +export interface SchedulesGetOptionalParams extends msRest.RequestOptionsBase { /** - * Specify the $expand query. Example: 'properties($select=displayName)' + * Specify the $expand query. Example: 'properties($select=status)' */ expand?: string; } @@ -4017,9 +3225,9 @@ export interface ArmTemplatesGetOptionalParams extends msRest.RequestOptionsBase /** * Optional Parameters. */ -export interface ArtifactsListOptionalParams extends msRest.RequestOptionsBase { +export interface SchedulesListNextOptionalParams extends msRest.RequestOptionsBase { /** - * Specify the $expand query. Example: 'properties($select=title)' + * Specify the $expand query. Example: 'properties($select=status)' */ expand?: string; /** @@ -4039,19 +3247,31 @@ export interface ArtifactsListOptionalParams extends msRest.RequestOptionsBase { /** * Optional Parameters. */ -export interface ArtifactsGetOptionalParams extends msRest.RequestOptionsBase { +export interface UsersListOptionalParams extends msRest.RequestOptionsBase { /** - * Specify the $expand query. Example: 'properties($select=title)' + * Specify the $expand query. Example: 'properties($select=identity)' */ expand?: string; + /** + * The filter to apply to the operation. Example: '$filter=contains(name,'myName') + */ + filter?: string; + /** + * The maximum number of resources to return from the operation. Example: '$top=10' + */ + top?: number; + /** + * The ordering expression for the results, using OData notation. Example: '$orderby=name desc' + */ + orderby?: string; } /** * Optional Parameters. */ -export interface CostsGetOptionalParams extends msRest.RequestOptionsBase { +export interface UsersGetOptionalParams extends msRest.RequestOptionsBase { /** - * Specify the $expand query. Example: 'properties($expand=labCostDetails)' + * Specify the $expand query. Example: 'properties($select=identity)' */ expand?: string; } @@ -4059,9 +3279,9 @@ export interface CostsGetOptionalParams extends msRest.RequestOptionsBase { /** * Optional Parameters. */ -export interface CustomImagesListOptionalParams extends msRest.RequestOptionsBase { +export interface UsersListNextOptionalParams extends msRest.RequestOptionsBase { /** - * Specify the $expand query. Example: 'properties($select=vm)' + * Specify the $expand query. Example: 'properties($select=identity)' */ expand?: string; /** @@ -4081,19 +3301,9 @@ export interface CustomImagesListOptionalParams extends msRest.RequestOptionsBas /** * Optional Parameters. */ -export interface CustomImagesGetOptionalParams extends msRest.RequestOptionsBase { - /** - * Specify the $expand query. Example: 'properties($select=vm)' - */ - expand?: string; -} - -/** - * Optional Parameters. - */ -export interface FormulasListOptionalParams extends msRest.RequestOptionsBase { +export interface DisksListOptionalParams extends msRest.RequestOptionsBase { /** - * Specify the $expand query. Example: 'properties($select=description)' + * Specify the $expand query. Example: 'properties($select=diskType)' */ expand?: string; /** @@ -4113,9 +3323,9 @@ export interface FormulasListOptionalParams extends msRest.RequestOptionsBase { /** * Optional Parameters. */ -export interface FormulasGetOptionalParams extends msRest.RequestOptionsBase { +export interface DisksGetOptionalParams extends msRest.RequestOptionsBase { /** - * Specify the $expand query. Example: 'properties($select=description)' + * Specify the $expand query. Example: 'properties($select=diskType)' */ expand?: string; } @@ -4123,9 +3333,9 @@ export interface FormulasGetOptionalParams extends msRest.RequestOptionsBase { /** * Optional Parameters. */ -export interface GalleryImagesListOptionalParams extends msRest.RequestOptionsBase { +export interface DisksListNextOptionalParams extends msRest.RequestOptionsBase { /** - * Specify the $expand query. Example: 'properties($select=author)' + * Specify the $expand query. Example: 'properties($select=diskType)' */ expand?: string; /** @@ -4145,9 +3355,9 @@ export interface GalleryImagesListOptionalParams extends msRest.RequestOptionsBa /** * Optional Parameters. */ -export interface NotificationChannelsListOptionalParams extends msRest.RequestOptionsBase { +export interface EnvironmentsListOptionalParams extends msRest.RequestOptionsBase { /** - * Specify the $expand query. Example: 'properties($select=webHookUrl)' + * Specify the $expand query. Example: 'properties($select=deploymentProperties)' */ expand?: string; /** @@ -4167,9 +3377,9 @@ export interface NotificationChannelsListOptionalParams extends msRest.RequestOp /** * Optional Parameters. */ -export interface NotificationChannelsGetOptionalParams extends msRest.RequestOptionsBase { +export interface EnvironmentsGetOptionalParams extends msRest.RequestOptionsBase { /** - * Specify the $expand query. Example: 'properties($select=webHookUrl)' + * Specify the $expand query. Example: 'properties($select=deploymentProperties)' */ expand?: string; } @@ -4177,9 +3387,9 @@ export interface NotificationChannelsGetOptionalParams extends msRest.RequestOpt /** * Optional Parameters. */ -export interface PoliciesListOptionalParams extends msRest.RequestOptionsBase { +export interface EnvironmentsListNextOptionalParams extends msRest.RequestOptionsBase { /** - * Specify the $expand query. Example: 'properties($select=description)' + * Specify the $expand query. Example: 'properties($select=deploymentProperties)' */ expand?: string; /** @@ -4199,19 +3409,9 @@ export interface PoliciesListOptionalParams extends msRest.RequestOptionsBase { /** * Optional Parameters. */ -export interface PoliciesGetOptionalParams extends msRest.RequestOptionsBase { - /** - * Specify the $expand query. Example: 'properties($select=description)' - */ - expand?: string; -} - -/** - * Optional Parameters. - */ -export interface SchedulesListOptionalParams extends msRest.RequestOptionsBase { +export interface SecretsListOptionalParams extends msRest.RequestOptionsBase { /** - * Specify the $expand query. Example: 'properties($select=status)' + * Specify the $expand query. Example: 'properties($select=value)' */ expand?: string; /** @@ -4231,9 +3431,9 @@ export interface SchedulesListOptionalParams extends msRest.RequestOptionsBase { /** * Optional Parameters. */ -export interface SchedulesGetOptionalParams extends msRest.RequestOptionsBase { +export interface SecretsGetOptionalParams extends msRest.RequestOptionsBase { /** - * Specify the $expand query. Example: 'properties($select=status)' + * Specify the $expand query. Example: 'properties($select=value)' */ expand?: string; } @@ -4241,7 +3441,11 @@ export interface SchedulesGetOptionalParams extends msRest.RequestOptionsBase { /** * Optional Parameters. */ -export interface ServiceRunnersListOptionalParams extends msRest.RequestOptionsBase { +export interface SecretsListNextOptionalParams extends msRest.RequestOptionsBase { + /** + * Specify the $expand query. Example: 'properties($select=value)' + */ + expand?: string; /** * The filter to apply to the operation. Example: '$filter=contains(name,'myName') */ @@ -4259,9 +3463,9 @@ export interface ServiceRunnersListOptionalParams extends msRest.RequestOptionsB /** * Optional Parameters. */ -export interface UsersListOptionalParams extends msRest.RequestOptionsBase { +export interface ServiceFabricsListOptionalParams extends msRest.RequestOptionsBase { /** - * Specify the $expand query. Example: 'properties($select=identity)' + * Specify the $expand query. Example: 'properties($expand=applicableSchedule)' */ expand?: string; /** @@ -4281,9 +3485,9 @@ export interface UsersListOptionalParams extends msRest.RequestOptionsBase { /** * Optional Parameters. */ -export interface UsersGetOptionalParams extends msRest.RequestOptionsBase { +export interface ServiceFabricsGetOptionalParams extends msRest.RequestOptionsBase { /** - * Specify the $expand query. Example: 'properties($select=identity)' + * Specify the $expand query. Example: 'properties($expand=applicableSchedule)' */ expand?: string; } @@ -4291,9 +3495,9 @@ export interface UsersGetOptionalParams extends msRest.RequestOptionsBase { /** * Optional Parameters. */ -export interface DisksListOptionalParams extends msRest.RequestOptionsBase { +export interface ServiceFabricsListNextOptionalParams extends msRest.RequestOptionsBase { /** - * Specify the $expand query. Example: 'properties($select=diskType)' + * Specify the $expand query. Example: 'properties($expand=applicableSchedule)' */ expand?: string; /** @@ -4313,19 +3517,9 @@ export interface DisksListOptionalParams extends msRest.RequestOptionsBase { /** * Optional Parameters. */ -export interface DisksGetOptionalParams extends msRest.RequestOptionsBase { - /** - * Specify the $expand query. Example: 'properties($select=diskType)' - */ - expand?: string; -} - -/** - * Optional Parameters. - */ -export interface EnvironmentsListOptionalParams extends msRest.RequestOptionsBase { +export interface ServiceFabricSchedulesListOptionalParams extends msRest.RequestOptionsBase { /** - * Specify the $expand query. Example: 'properties($select=deploymentProperties)' + * Specify the $expand query. Example: 'properties($select=status)' */ expand?: string; /** @@ -4345,9 +3539,9 @@ export interface EnvironmentsListOptionalParams extends msRest.RequestOptionsBas /** * Optional Parameters. */ -export interface EnvironmentsGetOptionalParams extends msRest.RequestOptionsBase { +export interface ServiceFabricSchedulesGetOptionalParams extends msRest.RequestOptionsBase { /** - * Specify the $expand query. Example: 'properties($select=deploymentProperties)' + * Specify the $expand query. Example: 'properties($select=status)' */ expand?: string; } @@ -4355,9 +3549,9 @@ export interface EnvironmentsGetOptionalParams extends msRest.RequestOptionsBase /** * Optional Parameters. */ -export interface SecretsListOptionalParams extends msRest.RequestOptionsBase { +export interface ServiceFabricSchedulesListNextOptionalParams extends msRest.RequestOptionsBase { /** - * Specify the $expand query. Example: 'properties($select=value)' + * Specify the $expand query. Example: 'properties($select=status)' */ expand?: string; /** @@ -4377,19 +3571,10 @@ export interface SecretsListOptionalParams extends msRest.RequestOptionsBase { /** * Optional Parameters. */ -export interface SecretsGetOptionalParams extends msRest.RequestOptionsBase { - /** - * Specify the $expand query. Example: 'properties($select=value)' - */ - expand?: string; -} - -/** - * Optional Parameters. - */ -export interface ServiceFabricsListOptionalParams extends msRest.RequestOptionsBase { +export interface VirtualMachinesListOptionalParams extends msRest.RequestOptionsBase { /** - * Specify the $expand query. Example: 'properties($expand=applicableSchedule)' + * Specify the $expand query. Example: + * 'properties($expand=artifacts,computeVm,networkInterface,applicableSchedule)' */ expand?: string; /** @@ -4409,9 +3594,10 @@ export interface ServiceFabricsListOptionalParams extends msRest.RequestOptionsB /** * Optional Parameters. */ -export interface ServiceFabricsGetOptionalParams extends msRest.RequestOptionsBase { +export interface VirtualMachinesGetOptionalParams extends msRest.RequestOptionsBase { /** - * Specify the $expand query. Example: 'properties($expand=applicableSchedule)' + * Specify the $expand query. Example: + * 'properties($expand=artifacts,computeVm,networkInterface,applicableSchedule)' */ expand?: string; } @@ -4419,9 +3605,10 @@ export interface ServiceFabricsGetOptionalParams extends msRest.RequestOptionsBa /** * Optional Parameters. */ -export interface ServiceFabricSchedulesListOptionalParams extends msRest.RequestOptionsBase { +export interface VirtualMachinesListNextOptionalParams extends msRest.RequestOptionsBase { /** - * Specify the $expand query. Example: 'properties($select=status)' + * Specify the $expand query. Example: + * 'properties($expand=artifacts,computeVm,networkInterface,applicableSchedule)' */ expand?: string; /** @@ -4441,22 +3628,11 @@ export interface ServiceFabricSchedulesListOptionalParams extends msRest.Request /** * Optional Parameters. */ -export interface ServiceFabricSchedulesGetOptionalParams extends msRest.RequestOptionsBase { +export interface VirtualMachineSchedulesListOptionalParams extends msRest.RequestOptionsBase { /** * Specify the $expand query. Example: 'properties($select=status)' */ expand?: string; -} - -/** - * Optional Parameters. - */ -export interface VirtualMachinesListOptionalParams extends msRest.RequestOptionsBase { - /** - * Specify the $expand query. Example: - * 'properties($expand=artifacts,computeVm,networkInterface,applicableSchedule)' - */ - expand?: string; /** * The filter to apply to the operation. Example: '$filter=contains(name,'myName') */ @@ -4474,10 +3650,9 @@ export interface VirtualMachinesListOptionalParams extends msRest.RequestOptions /** * Optional Parameters. */ -export interface VirtualMachinesGetOptionalParams extends msRest.RequestOptionsBase { +export interface VirtualMachineSchedulesGetOptionalParams extends msRest.RequestOptionsBase { /** - * Specify the $expand query. Example: - * 'properties($expand=artifacts,computeVm,networkInterface,applicableSchedule)' + * Specify the $expand query. Example: 'properties($select=status)' */ expand?: string; } @@ -4485,7 +3660,7 @@ export interface VirtualMachinesGetOptionalParams extends msRest.RequestOptionsB /** * Optional Parameters. */ -export interface VirtualMachineSchedulesListOptionalParams extends msRest.RequestOptionsBase { +export interface VirtualMachineSchedulesListNextOptionalParams extends msRest.RequestOptionsBase { /** * Specify the $expand query. Example: 'properties($select=status)' */ @@ -4504,16 +3679,6 @@ export interface VirtualMachineSchedulesListOptionalParams extends msRest.Reques orderby?: string; } -/** - * Optional Parameters. - */ -export interface VirtualMachineSchedulesGetOptionalParams extends msRest.RequestOptionsBase { - /** - * Specify the $expand query. Example: 'properties($select=status)' - */ - expand?: string; -} - /** * Optional Parameters. */ @@ -4546,6 +3711,28 @@ export interface VirtualNetworksGetOptionalParams extends msRest.RequestOptionsB expand?: string; } +/** + * Optional Parameters. + */ +export interface VirtualNetworksListNextOptionalParams extends msRest.RequestOptionsBase { + /** + * Specify the $expand query. Example: 'properties($expand=externalSubnets)' + */ + expand?: string; + /** + * The filter to apply to the operation. Example: '$filter=contains(name,'myName') + */ + filter?: string; + /** + * The maximum number of resources to return from the operation. Example: '$top=10' + */ + top?: number; + /** + * The ordering expression for the results, using OData notation. Example: '$orderby=name desc' + */ + orderby?: string; +} + /** * An interface representing DevTestLabsClientOptions. */ @@ -4698,18 +3885,6 @@ export interface PolicyList extends Array { nextLink?: string; } -/** - * @interface - * The response of a list operation. - * @extends Array - */ -export interface ServiceRunnerList extends Array { - /** - * Link for next set of results. - */ - nextLink?: string; -} - /** * @interface * The response of a list operation. @@ -4804,19 +3979,19 @@ export type EnableStatus = 'Enabled' | 'Disabled'; /** * Defines values for SourceControlType. - * Possible values include: 'VsoGit', 'GitHub' + * Possible values include: 'VsoGit', 'GitHub', 'StorageAccount' * @readonly * @enum {string} */ -export type SourceControlType = 'VsoGit' | 'GitHub'; +export type SourceControlType = 'VsoGit' | 'GitHub' | 'StorageAccount'; /** * Defines values for StorageType. - * Possible values include: 'Standard', 'Premium' + * Possible values include: 'Standard', 'Premium', 'StandardSSD' * @readonly * @enum {string} */ -export type StorageType = 'Standard' | 'Premium'; +export type StorageType = 'Standard' | 'Premium' | 'StandardSSD'; /** * Defines values for CostThresholdStatus. @@ -4875,20 +4050,20 @@ export type NotificationChannelEventType = 'AutoShutdown' | 'Cost'; export type TransportProtocol = 'Tcp' | 'Udp'; /** - * Defines values for VirtualMachineCreationSource. - * Possible values include: 'FromCustomImage', 'FromGalleryImage' + * Defines values for FileUploadOptions. + * Possible values include: 'UploadFilesAndGenerateSasTokens', 'None' * @readonly * @enum {string} */ -export type VirtualMachineCreationSource = 'FromCustomImage' | 'FromGalleryImage'; +export type FileUploadOptions = 'UploadFilesAndGenerateSasTokens' | 'None'; /** - * Defines values for FileUploadOptions. - * Possible values include: 'UploadFilesAndGenerateSasTokens', 'None' + * Defines values for ManagedIdentityType. + * Possible values include: 'None', 'SystemAssigned', 'UserAssigned', 'SystemAssigned,UserAssigned' * @readonly * @enum {string} */ -export type FileUploadOptions = 'UploadFilesAndGenerateSasTokens' | 'None'; +export type ManagedIdentityType = 'None' | 'SystemAssigned' | 'UserAssigned' | 'SystemAssigned,UserAssigned'; /** * Defines values for PremiumDataDisk. @@ -4930,21 +4105,30 @@ export type ReportingCycleType = 'CalendarMonth' | 'Custom'; */ export type CostType = 'Unavailable' | 'Reported' | 'Projected'; +/** + * Defines values for VirtualMachineCreationSource. + * Possible values include: 'FromCustomImage', 'FromGalleryImage', 'FromSharedGalleryImage' + * @readonly + * @enum {string} + */ +export type VirtualMachineCreationSource = 'FromCustomImage' | 'FromGalleryImage' | 'FromSharedGalleryImage'; + /** * Defines values for HttpStatusCode. * Possible values include: 'Continue', 'SwitchingProtocols', 'OK', 'Created', 'Accepted', * 'NonAuthoritativeInformation', 'NoContent', 'ResetContent', 'PartialContent', 'MultipleChoices', - * 'MovedPermanently', 'Redirect', 'SeeOther', 'NotModified', 'UseProxy', 'Unused', - * 'TemporaryRedirect', 'BadRequest', 'Unauthorized', 'PaymentRequired', 'Forbidden', 'NotFound', - * 'MethodNotAllowed', 'NotAcceptable', 'ProxyAuthenticationRequired', 'RequestTimeout', - * 'Conflict', 'Gone', 'LengthRequired', 'PreconditionFailed', 'RequestEntityTooLarge', - * 'RequestUriTooLong', 'UnsupportedMediaType', 'RequestedRangeNotSatisfiable', - * 'ExpectationFailed', 'UpgradeRequired', 'InternalServerError', 'NotImplemented', 'BadGateway', - * 'ServiceUnavailable', 'GatewayTimeout', 'HttpVersionNotSupported' + * 'Ambiguous', 'MovedPermanently', 'Moved', 'Found', 'Redirect', 'SeeOther', 'RedirectMethod', + * 'NotModified', 'UseProxy', 'Unused', 'TemporaryRedirect', 'RedirectKeepVerb', 'BadRequest', + * 'Unauthorized', 'PaymentRequired', 'Forbidden', 'NotFound', 'MethodNotAllowed', 'NotAcceptable', + * 'ProxyAuthenticationRequired', 'RequestTimeout', 'Conflict', 'Gone', 'LengthRequired', + * 'PreconditionFailed', 'RequestEntityTooLarge', 'RequestUriTooLong', 'UnsupportedMediaType', + * 'RequestedRangeNotSatisfiable', 'ExpectationFailed', 'UpgradeRequired', 'InternalServerError', + * 'NotImplemented', 'BadGateway', 'ServiceUnavailable', 'GatewayTimeout', + * 'HttpVersionNotSupported' * @readonly * @enum {string} */ -export type HttpStatusCode = 'Continue' | 'SwitchingProtocols' | 'OK' | 'Created' | 'Accepted' | 'NonAuthoritativeInformation' | 'NoContent' | 'ResetContent' | 'PartialContent' | 'MultipleChoices' | 'MovedPermanently' | 'Redirect' | 'SeeOther' | 'NotModified' | 'UseProxy' | 'Unused' | 'TemporaryRedirect' | 'BadRequest' | 'Unauthorized' | 'PaymentRequired' | 'Forbidden' | 'NotFound' | 'MethodNotAllowed' | 'NotAcceptable' | 'ProxyAuthenticationRequired' | 'RequestTimeout' | 'Conflict' | 'Gone' | 'LengthRequired' | 'PreconditionFailed' | 'RequestEntityTooLarge' | 'RequestUriTooLong' | 'UnsupportedMediaType' | 'RequestedRangeNotSatisfiable' | 'ExpectationFailed' | 'UpgradeRequired' | 'InternalServerError' | 'NotImplemented' | 'BadGateway' | 'ServiceUnavailable' | 'GatewayTimeout' | 'HttpVersionNotSupported'; +export type HttpStatusCode = 'Continue' | 'SwitchingProtocols' | 'OK' | 'Created' | 'Accepted' | 'NonAuthoritativeInformation' | 'NoContent' | 'ResetContent' | 'PartialContent' | 'MultipleChoices' | 'Ambiguous' | 'MovedPermanently' | 'Moved' | 'Found' | 'Redirect' | 'SeeOther' | 'RedirectMethod' | 'NotModified' | 'UseProxy' | 'Unused' | 'TemporaryRedirect' | 'RedirectKeepVerb' | 'BadRequest' | 'Unauthorized' | 'PaymentRequired' | 'Forbidden' | 'NotFound' | 'MethodNotAllowed' | 'NotAcceptable' | 'ProxyAuthenticationRequired' | 'RequestTimeout' | 'Conflict' | 'Gone' | 'LengthRequired' | 'PreconditionFailed' | 'RequestEntityTooLarge' | 'RequestUriTooLong' | 'UnsupportedMediaType' | 'RequestedRangeNotSatisfiable' | 'ExpectationFailed' | 'UpgradeRequired' | 'InternalServerError' | 'NotImplemented' | 'BadGateway' | 'ServiceUnavailable' | 'GatewayTimeout' | 'HttpVersionNotSupported'; /** * Defines values for PolicyStatus. @@ -6320,26 +5504,6 @@ export type SchedulesListApplicableNextResponse = ScheduleList & { }; }; -/** - * Contains response data for the list operation. - */ -export type ServiceRunnersListResponse = ServiceRunnerList & { - /** - * 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: ServiceRunnerList; - }; -}; - /** * Contains response data for the get operation. */ @@ -6380,26 +5544,6 @@ export type ServiceRunnersCreateOrUpdateResponse = ServiceRunner & { }; }; -/** - * Contains response data for the listNext operation. - */ -export type ServiceRunnersListNextResponse = ServiceRunnerList & { - /** - * 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: ServiceRunnerList; - }; -}; - /** * Contains response data for the list operation. */ diff --git a/sdk/devtestlabs/arm-devtestlabs/src/models/labsMappers.ts b/sdk/devtestlabs/arm-devtestlabs/src/models/labsMappers.ts index 9f61197f5851..5eb3beb95506 100644 --- a/sdk/devtestlabs/arm-devtestlabs/src/models/labsMappers.ts +++ b/sdk/devtestlabs/arm-devtestlabs/src/models/labsMappers.ts @@ -1,6 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is regenerated. @@ -11,21 +11,15 @@ export { ApplicableScheduleFragment, ArmTemplate, ArmTemplateParameterProperties, - ArmTemplateParameterPropertiesFragment, Artifact, ArtifactDeploymentStatusProperties, - ArtifactDeploymentStatusPropertiesFragment, ArtifactInstallProperties, - ArtifactInstallPropertiesFragment, ArtifactParameterProperties, - ArtifactParameterPropertiesFragment, ArtifactSource, ArtifactSourceFragment, AttachNewDataDiskOptions, - AttachNewDataDiskOptionsFragment, BaseResource, BulkCreationParameters, - BulkCreationParametersFragment, CloudError, ComputeDataDisk, ComputeVmInstanceViewStatus, @@ -34,45 +28,32 @@ export { CustomImage, CustomImageFragment, CustomImagePropertiesCustom, - CustomImagePropertiesCustomFragment, CustomImagePropertiesFromPlan, - CustomImagePropertiesFromPlanFragment, CustomImagePropertiesFromVm, - CustomImagePropertiesFromVmFragment, DataDiskProperties, - DataDiskPropertiesFragment, DataDiskStorageTypeInfo, - DataDiskStorageTypeInfoFragment, DayDetails, - DayDetailsFragment, Disk, DiskFragment, DtlEnvironment, DtlEnvironmentFragment, EnvironmentDeploymentProperties, - EnvironmentDeploymentPropertiesFragment, Event, - EventFragment, ExportResourceUsageParameters, ExternalSubnet, Formula, FormulaFragment, FormulaPropertiesFromVm, - FormulaPropertiesFromVmFragment, GalleryImage, GalleryImageReference, - GalleryImageReferenceFragment, GenerateUploadUriParameter, GenerateUploadUriResponse, HourDetails, - HourDetailsFragment, IdentityProperties, ImportLabVirtualMachineRequest, InboundNatRule, - InboundNatRuleFragment, Lab, LabAnnouncementProperties, - LabAnnouncementPropertiesFragment, LabCost, LabCostDetailsProperties, LabCostSummaryProperties, @@ -80,31 +61,24 @@ export { LabList, LabResourceCostProperties, LabSupportProperties, - LabSupportPropertiesFragment, LabVhd, LabVhdList, LabVirtualMachine, LabVirtualMachineCreationParameter, - LabVirtualMachineCreationParameterFragment, LabVirtualMachineFragment, LinuxOsInfo, - LinuxOsInfoFragment, NetworkInterfaceProperties, - NetworkInterfacePropertiesFragment, NotificationChannel, NotificationChannelFragment, NotificationSettings, - NotificationSettingsFragment, ParametersValueFileInfo, PercentageCostThresholdProperties, Policy, PolicyFragment, Port, - PortFragment, Resource, Schedule, ScheduleCreationParameter, - ScheduleCreationParameterFragment, ScheduleFragment, Secret, SecretFragment, @@ -112,25 +86,17 @@ export { ServiceFabricFragment, ServiceRunner, SharedPublicIpAddressConfiguration, - SharedPublicIpAddressConfigurationFragment, Subnet, - SubnetFragment, SubnetOverride, - SubnetOverrideFragment, SubnetSharedPublicIpAddressConfiguration, - SubnetSharedPublicIpAddressConfigurationFragment, TargetCostProperties, UpdateResource, User, UserFragment, UserIdentity, - UserIdentityFragment, UserSecretStore, - UserSecretStoreFragment, VirtualNetwork, VirtualNetworkFragment, WeekDetails, - WeekDetailsFragment, - WindowsOsInfo, - WindowsOsInfoFragment + WindowsOsInfo } from "../models/mappers"; diff --git a/sdk/devtestlabs/arm-devtestlabs/src/models/mappers.ts b/sdk/devtestlabs/arm-devtestlabs/src/models/mappers.ts index b59f71d75da2..433ada3d413c 100644 --- a/sdk/devtestlabs/arm-devtestlabs/src/models/mappers.ts +++ b/sdk/devtestlabs/arm-devtestlabs/src/models/mappers.ts @@ -1,6 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is regenerated. @@ -268,105 +268,6 @@ export const ApplicableSchedule: msRest.CompositeMapper = { } }; -export const WeekDetailsFragment: msRest.CompositeMapper = { - serializedName: "WeekDetailsFragment", - type: { - name: "Composite", - className: "WeekDetailsFragment", - modelProperties: { - weekdays: { - serializedName: "weekdays", - type: { - name: "Sequence", - element: { - type: { - name: "String" - } - } - } - }, - time: { - serializedName: "time", - type: { - name: "String" - } - } - } - } -}; - -export const DayDetailsFragment: msRest.CompositeMapper = { - serializedName: "DayDetailsFragment", - type: { - name: "Composite", - className: "DayDetailsFragment", - modelProperties: { - time: { - serializedName: "time", - type: { - name: "String" - } - } - } - } -}; - -export const HourDetailsFragment: msRest.CompositeMapper = { - serializedName: "HourDetailsFragment", - type: { - name: "Composite", - className: "HourDetailsFragment", - modelProperties: { - minute: { - serializedName: "minute", - type: { - name: "Number" - } - } - } - } -}; - -export const NotificationSettingsFragment: msRest.CompositeMapper = { - serializedName: "NotificationSettingsFragment", - type: { - name: "Composite", - className: "NotificationSettingsFragment", - modelProperties: { - status: { - serializedName: "status", - type: { - name: "String" - } - }, - timeInMinutes: { - serializedName: "timeInMinutes", - type: { - name: "Number" - } - }, - webhookUrl: { - serializedName: "webhookUrl", - type: { - name: "String" - } - }, - emailRecipient: { - serializedName: "emailRecipient", - type: { - name: "String" - } - }, - notificationLocale: { - serializedName: "notificationLocale", - type: { - name: "String" - } - } - } - } -}; - export const UpdateResource: msRest.CompositeMapper = { serializedName: "UpdateResource", type: { @@ -388,90 +289,13 @@ export const UpdateResource: msRest.CompositeMapper = { } }; -export const ScheduleFragment: msRest.CompositeMapper = { - serializedName: "ScheduleFragment", - type: { - name: "Composite", - className: "ScheduleFragment", - modelProperties: { - ...UpdateResource.type.modelProperties, - status: { - serializedName: "properties.status", - type: { - name: "String" - } - }, - taskType: { - serializedName: "properties.taskType", - type: { - name: "String" - } - }, - weeklyRecurrence: { - serializedName: "properties.weeklyRecurrence", - type: { - name: "Composite", - className: "WeekDetailsFragment" - } - }, - dailyRecurrence: { - serializedName: "properties.dailyRecurrence", - type: { - name: "Composite", - className: "DayDetailsFragment" - } - }, - hourlyRecurrence: { - serializedName: "properties.hourlyRecurrence", - type: { - name: "Composite", - className: "HourDetailsFragment" - } - }, - timeZoneId: { - serializedName: "properties.timeZoneId", - type: { - name: "String" - } - }, - notificationSettings: { - serializedName: "properties.notificationSettings", - type: { - name: "Composite", - className: "NotificationSettingsFragment" - } - }, - targetResourceId: { - serializedName: "properties.targetResourceId", - type: { - name: "String" - } - } - } - } -}; - export const ApplicableScheduleFragment: msRest.CompositeMapper = { serializedName: "ApplicableScheduleFragment", type: { name: "Composite", className: "ApplicableScheduleFragment", modelProperties: { - ...UpdateResource.type.modelProperties, - labVmsShutdown: { - serializedName: "properties.labVmsShutdown", - type: { - name: "Composite", - className: "ScheduleFragment" - } - }, - labVmsStartup: { - serializedName: "properties.labVmsStartup", - type: { - name: "Composite", - className: "ScheduleFragment" - } - } + ...UpdateResource.type.modelProperties } } }; @@ -717,28 +541,6 @@ export const ArmTemplateParameterProperties: msRest.CompositeMapper = { } }; -export const ArmTemplateParameterPropertiesFragment: msRest.CompositeMapper = { - serializedName: "ArmTemplateParameterPropertiesFragment", - type: { - name: "Composite", - className: "ArmTemplateParameterPropertiesFragment", - modelProperties: { - name: { - serializedName: "name", - type: { - name: "String" - } - }, - value: { - serializedName: "value", - type: { - name: "String" - } - } - } - } -}; - export const Artifact: msRest.CompositeMapper = { serializedName: "Artifact", type: { @@ -834,179 +636,71 @@ export const ArtifactDeploymentStatusProperties: msRest.CompositeMapper = { } }; -export const ArtifactDeploymentStatusPropertiesFragment: msRest.CompositeMapper = { - serializedName: "ArtifactDeploymentStatusPropertiesFragment", +export const ArtifactSource: msRest.CompositeMapper = { + serializedName: "ArtifactSource", type: { name: "Composite", - className: "ArtifactDeploymentStatusPropertiesFragment", + className: "ArtifactSource", modelProperties: { - deploymentStatus: { - serializedName: "deploymentStatus", + ...Resource.type.modelProperties, + displayName: { + serializedName: "properties.displayName", type: { name: "String" } }, - artifactsApplied: { - serializedName: "artifactsApplied", + uri: { + serializedName: "properties.uri", type: { - name: "Number" + name: "String" } }, - totalArtifacts: { - serializedName: "totalArtifacts", - type: { - name: "Number" - } - } - } - } -}; - -export const ArtifactParameterPropertiesFragment: msRest.CompositeMapper = { - serializedName: "ArtifactParameterPropertiesFragment", - type: { - name: "Composite", - className: "ArtifactParameterPropertiesFragment", - modelProperties: { - name: { - serializedName: "name", + sourceType: { + serializedName: "properties.sourceType", type: { name: "String" } }, - value: { - serializedName: "value", + folderPath: { + serializedName: "properties.folderPath", type: { name: "String" } - } - } - } -}; - -export const ArtifactInstallPropertiesFragment: msRest.CompositeMapper = { - serializedName: "ArtifactInstallPropertiesFragment", - type: { - name: "Composite", - className: "ArtifactInstallPropertiesFragment", - modelProperties: { - artifactId: { - serializedName: "artifactId", + }, + armTemplateFolderPath: { + serializedName: "properties.armTemplateFolderPath", type: { name: "String" } }, - artifactTitle: { - serializedName: "artifactTitle", + branchRef: { + serializedName: "properties.branchRef", type: { name: "String" } }, - parameters: { - serializedName: "parameters", + securityToken: { + serializedName: "properties.securityToken", type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "ArtifactParameterPropertiesFragment" - } - } + name: "String" } }, status: { - serializedName: "status", + serializedName: "properties.status", type: { name: "String" } }, - deploymentStatusMessage: { - serializedName: "deploymentStatusMessage", + createdDate: { + readOnly: true, + serializedName: "properties.createdDate", type: { - name: "String" + name: "DateTime" } }, - vmExtensionStatusMessage: { - serializedName: "vmExtensionStatusMessage", - type: { - name: "String" - } - }, - installTime: { - serializedName: "installTime", - type: { - name: "DateTime" - } - } - } - } -}; - -export const ArtifactSource: msRest.CompositeMapper = { - serializedName: "ArtifactSource", - type: { - name: "Composite", - className: "ArtifactSource", - modelProperties: { - ...Resource.type.modelProperties, - displayName: { - serializedName: "properties.displayName", - type: { - name: "String" - } - }, - uri: { - serializedName: "properties.uri", - type: { - name: "String" - } - }, - sourceType: { - serializedName: "properties.sourceType", - type: { - name: "String" - } - }, - folderPath: { - serializedName: "properties.folderPath", - type: { - name: "String" - } - }, - armTemplateFolderPath: { - serializedName: "properties.armTemplateFolderPath", - type: { - name: "String" - } - }, - branchRef: { - serializedName: "properties.branchRef", - type: { - name: "String" - } - }, - securityToken: { - serializedName: "properties.securityToken", - type: { - name: "String" - } - }, - status: { - serializedName: "properties.status", - type: { - name: "String" - } - }, - createdDate: { - readOnly: true, - serializedName: "properties.createdDate", - type: { - name: "DateTime" - } - }, - provisioningState: { - readOnly: true, - serializedName: "properties.provisioningState", + provisioningState: { + readOnly: true, + serializedName: "properties.provisioningState", type: { name: "String" } @@ -1028,55 +722,7 @@ export const ArtifactSourceFragment: msRest.CompositeMapper = { name: "Composite", className: "ArtifactSourceFragment", modelProperties: { - ...UpdateResource.type.modelProperties, - displayName: { - serializedName: "properties.displayName", - type: { - name: "String" - } - }, - uri: { - serializedName: "properties.uri", - type: { - name: "String" - } - }, - sourceType: { - serializedName: "properties.sourceType", - type: { - name: "String" - } - }, - folderPath: { - serializedName: "properties.folderPath", - type: { - name: "String" - } - }, - armTemplateFolderPath: { - serializedName: "properties.armTemplateFolderPath", - type: { - name: "String" - } - }, - branchRef: { - serializedName: "properties.branchRef", - type: { - name: "String" - } - }, - securityToken: { - serializedName: "properties.securityToken", - type: { - name: "String" - } - }, - status: { - serializedName: "properties.status", - type: { - name: "String" - } - } + ...UpdateResource.type.modelProperties } } }; @@ -1125,34 +771,6 @@ export const AttachNewDataDiskOptions: msRest.CompositeMapper = { } }; -export const AttachNewDataDiskOptionsFragment: msRest.CompositeMapper = { - serializedName: "AttachNewDataDiskOptionsFragment", - type: { - name: "Composite", - className: "AttachNewDataDiskOptionsFragment", - modelProperties: { - diskSizeGiB: { - serializedName: "diskSizeGiB", - type: { - name: "Number" - } - }, - diskName: { - serializedName: "diskName", - type: { - name: "String" - } - }, - diskType: { - serializedName: "diskType", - type: { - name: "String" - } - } - } - } -}; - export const BulkCreationParameters: msRest.CompositeMapper = { serializedName: "BulkCreationParameters", type: { @@ -1169,22 +787,6 @@ export const BulkCreationParameters: msRest.CompositeMapper = { } }; -export const BulkCreationParametersFragment: msRest.CompositeMapper = { - serializedName: "BulkCreationParametersFragment", - type: { - name: "Composite", - className: "BulkCreationParametersFragment", - modelProperties: { - instanceCount: { - serializedName: "instanceCount", - type: { - name: "Number" - } - } - } - } -}; - export const ComputeDataDisk: msRest.CompositeMapper = { serializedName: "ComputeDataDisk", type: { @@ -1219,40 +821,6 @@ export const ComputeDataDisk: msRest.CompositeMapper = { } }; -export const ComputeDataDiskFragment: msRest.CompositeMapper = { - serializedName: "ComputeDataDiskFragment", - type: { - name: "Composite", - className: "ComputeDataDiskFragment", - modelProperties: { - name: { - serializedName: "name", - type: { - name: "String" - } - }, - diskUri: { - serializedName: "diskUri", - type: { - name: "String" - } - }, - managedDiskId: { - serializedName: "managedDiskId", - type: { - name: "String" - } - }, - diskSizeGiB: { - serializedName: "diskSizeGiB", - type: { - name: "Number" - } - } - } - } -}; - export const ComputeVmInstanceViewStatus: msRest.CompositeMapper = { serializedName: "ComputeVmInstanceViewStatus", type: { @@ -1281,34 +849,6 @@ export const ComputeVmInstanceViewStatus: msRest.CompositeMapper = { } }; -export const ComputeVmInstanceViewStatusFragment: msRest.CompositeMapper = { - serializedName: "ComputeVmInstanceViewStatusFragment", - type: { - name: "Composite", - className: "ComputeVmInstanceViewStatusFragment", - modelProperties: { - code: { - serializedName: "code", - type: { - name: "String" - } - }, - displayStatus: { - serializedName: "displayStatus", - type: { - name: "String" - } - }, - message: { - serializedName: "message", - type: { - name: "String" - } - } - } - } -}; - export const ComputeVmProperties: msRest.CompositeMapper = { serializedName: "ComputeVmProperties", type: { @@ -1378,108 +918,39 @@ export const ComputeVmProperties: msRest.CompositeMapper = { } }; -export const ComputeVmPropertiesFragment: msRest.CompositeMapper = { - serializedName: "ComputeVmPropertiesFragment", +export const PercentageCostThresholdProperties: msRest.CompositeMapper = { + serializedName: "PercentageCostThresholdProperties", type: { name: "Composite", - className: "ComputeVmPropertiesFragment", + className: "PercentageCostThresholdProperties", modelProperties: { - statuses: { - serializedName: "statuses", + thresholdValue: { + serializedName: "thresholdValue", type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "ComputeVmInstanceViewStatusFragment" - } - } + name: "Number" } - }, - osType: { - serializedName: "osType", + } + } + } +}; + +export const CostThresholdProperties: msRest.CompositeMapper = { + serializedName: "CostThresholdProperties", + type: { + name: "Composite", + className: "CostThresholdProperties", + modelProperties: { + thresholdId: { + serializedName: "thresholdId", type: { name: "String" } }, - vmSize: { - serializedName: "vmSize", + percentageThreshold: { + serializedName: "percentageThreshold", type: { - name: "String" - } - }, - networkInterfaceId: { - serializedName: "networkInterfaceId", - type: { - name: "String" - } - }, - osDiskId: { - serializedName: "osDiskId", - type: { - name: "String" - } - }, - dataDiskIds: { - serializedName: "dataDiskIds", - type: { - name: "Sequence", - element: { - type: { - name: "String" - } - } - } - }, - dataDisks: { - serializedName: "dataDisks", - type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "ComputeDataDiskFragment" - } - } - } - } - } - } -}; - -export const PercentageCostThresholdProperties: msRest.CompositeMapper = { - serializedName: "PercentageCostThresholdProperties", - type: { - name: "Composite", - className: "PercentageCostThresholdProperties", - modelProperties: { - thresholdValue: { - serializedName: "thresholdValue", - type: { - name: "Number" - } - } - } - } -}; - -export const CostThresholdProperties: msRest.CompositeMapper = { - serializedName: "CostThresholdProperties", - type: { - name: "Composite", - className: "CostThresholdProperties", - modelProperties: { - thresholdId: { - serializedName: "thresholdId", - type: { - name: "String" - } - }, - percentageThreshold: { - serializedName: "percentageThreshold", - type: { - name: "Composite", - className: "PercentageCostThresholdProperties" + name: "Composite", + className: "PercentageCostThresholdProperties" } }, displayOnChart: { @@ -1740,88 +1211,38 @@ export const CustomImage: msRest.CompositeMapper = { } }; -export const WindowsOsInfoFragment: msRest.CompositeMapper = { - serializedName: "WindowsOsInfoFragment", - type: { - name: "Composite", - className: "WindowsOsInfoFragment", - modelProperties: { - windowsOsState: { - serializedName: "windowsOsState", - type: { - name: "String" - } - } - } - } -}; - -export const LinuxOsInfoFragment: msRest.CompositeMapper = { - serializedName: "LinuxOsInfoFragment", +export const CustomImageFragment: msRest.CompositeMapper = { + serializedName: "CustomImageFragment", type: { name: "Composite", - className: "LinuxOsInfoFragment", + className: "CustomImageFragment", modelProperties: { - linuxOsState: { - serializedName: "linuxOsState", - type: { - name: "String" - } - } + ...UpdateResource.type.modelProperties } } }; -export const CustomImagePropertiesFromVmFragment: msRest.CompositeMapper = { - serializedName: "CustomImagePropertiesFromVmFragment", +export const DataDiskProperties: msRest.CompositeMapper = { + serializedName: "DataDiskProperties", type: { name: "Composite", - className: "CustomImagePropertiesFromVmFragment", + className: "DataDiskProperties", modelProperties: { - sourceVmId: { - serializedName: "sourceVmId", - type: { - name: "String" - } - }, - windowsOsInfo: { - serializedName: "windowsOsInfo", + attachNewDataDiskOptions: { + serializedName: "attachNewDataDiskOptions", type: { name: "Composite", - className: "WindowsOsInfoFragment" + className: "AttachNewDataDiskOptions" } }, - linuxOsInfo: { - serializedName: "linuxOsInfo", - type: { - name: "Composite", - className: "LinuxOsInfoFragment" - } - } - } - } -}; - -export const CustomImagePropertiesCustomFragment: msRest.CompositeMapper = { - serializedName: "CustomImagePropertiesCustomFragment", - type: { - name: "Composite", - className: "CustomImagePropertiesCustomFragment", - modelProperties: { - imageName: { - serializedName: "imageName", + existingLabDiskId: { + serializedName: "existingLabDiskId", type: { name: "String" } }, - sysPrep: { - serializedName: "sysPrep", - type: { - name: "Boolean" - } - }, - osType: { - serializedName: "osType", + hostCaching: { + serializedName: "hostCaching", type: { name: "String" } @@ -1830,20 +1251,14 @@ export const CustomImagePropertiesCustomFragment: msRest.CompositeMapper = { } }; -export const DataDiskStorageTypeInfoFragment: msRest.CompositeMapper = { - serializedName: "DataDiskStorageTypeInfoFragment", +export const DetachDataDiskProperties: msRest.CompositeMapper = { + serializedName: "DetachDataDiskProperties", type: { name: "Composite", - className: "DataDiskStorageTypeInfoFragment", + className: "DetachDataDiskProperties", modelProperties: { - lun: { - serializedName: "lun", - type: { - name: "String" - } - }, - storageType: { - serializedName: "storageType", + existingLabDiskId: { + serializedName: "existingLabDiskId", type: { name: "String" } @@ -1852,26 +1267,14 @@ export const DataDiskStorageTypeInfoFragment: msRest.CompositeMapper = { } }; -export const CustomImagePropertiesFromPlanFragment: msRest.CompositeMapper = { - serializedName: "CustomImagePropertiesFromPlanFragment", +export const DetachDiskProperties: msRest.CompositeMapper = { + serializedName: "DetachDiskProperties", type: { name: "Composite", - className: "CustomImagePropertiesFromPlanFragment", + className: "DetachDiskProperties", modelProperties: { - id: { - serializedName: "id", - type: { - name: "String" - } - }, - publisher: { - serializedName: "publisher", - type: { - name: "String" - } - }, - offer: { - serializedName: "offer", + leasedByLabVmId: { + serializedName: "leasedByLabVmId", type: { name: "String" } @@ -1880,101 +1283,78 @@ export const CustomImagePropertiesFromPlanFragment: msRest.CompositeMapper = { } }; -export const CustomImageFragment: msRest.CompositeMapper = { - serializedName: "CustomImageFragment", +export const Disk: msRest.CompositeMapper = { + serializedName: "Disk", type: { name: "Composite", - className: "CustomImageFragment", + className: "Disk", modelProperties: { - ...UpdateResource.type.modelProperties, - vm: { - serializedName: "properties.vm", + ...Resource.type.modelProperties, + diskType: { + serializedName: "properties.diskType", type: { - name: "Composite", - className: "CustomImagePropertiesFromVmFragment" + name: "String" } }, - vhd: { - serializedName: "properties.vhd", + diskSizeGiB: { + serializedName: "properties.diskSizeGiB", type: { - name: "Composite", - className: "CustomImagePropertiesCustomFragment" + name: "Number" } }, - description: { - serializedName: "properties.description", + leasedByLabVmId: { + serializedName: "properties.leasedByLabVmId", type: { name: "String" } }, - author: { - serializedName: "properties.author", + diskBlobName: { + serializedName: "properties.diskBlobName", type: { name: "String" } }, - managedImageId: { - serializedName: "properties.managedImageId", + diskUri: { + serializedName: "properties.diskUri", type: { name: "String" } }, - managedSnapshotId: { - serializedName: "properties.managedSnapshotId", + storageAccountId: { + serializedName: "properties.storageAccountId", type: { name: "String" } }, - dataDiskStorageInfo: { - serializedName: "properties.dataDiskStorageInfo", + createdDate: { + readOnly: true, + serializedName: "properties.createdDate", type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "DataDiskStorageTypeInfoFragment" - } - } + name: "DateTime" } }, - customImagePlan: { - serializedName: "properties.customImagePlan", + hostCaching: { + serializedName: "properties.hostCaching", type: { - name: "Composite", - className: "CustomImagePropertiesFromPlanFragment" + name: "String" } }, - isPlanAuthorized: { - serializedName: "properties.isPlanAuthorized", - type: { - name: "Boolean" - } - } - } - } -}; - -export const DataDiskProperties: msRest.CompositeMapper = { - serializedName: "DataDiskProperties", - type: { - name: "Composite", - className: "DataDiskProperties", - modelProperties: { - attachNewDataDiskOptions: { - serializedName: "attachNewDataDiskOptions", + managedDiskId: { + serializedName: "properties.managedDiskId", type: { - name: "Composite", - className: "AttachNewDataDiskOptions" + name: "String" } }, - existingLabDiskId: { - serializedName: "existingLabDiskId", + provisioningState: { + readOnly: true, + serializedName: "properties.provisioningState", type: { name: "String" } }, - hostCaching: { - serializedName: "hostCaching", + uniqueIdentifier: { + readOnly: true, + serializedName: "properties.uniqueIdentifier", type: { name: "String" } @@ -1983,190 +1363,13 @@ export const DataDiskProperties: msRest.CompositeMapper = { } }; -export const DataDiskPropertiesFragment: msRest.CompositeMapper = { - serializedName: "DataDiskPropertiesFragment", +export const DiskFragment: msRest.CompositeMapper = { + serializedName: "DiskFragment", type: { name: "Composite", - className: "DataDiskPropertiesFragment", + className: "DiskFragment", modelProperties: { - attachNewDataDiskOptions: { - serializedName: "attachNewDataDiskOptions", - type: { - name: "Composite", - className: "AttachNewDataDiskOptionsFragment" - } - }, - existingLabDiskId: { - serializedName: "existingLabDiskId", - type: { - name: "String" - } - }, - hostCaching: { - serializedName: "hostCaching", - type: { - name: "String" - } - } - } - } -}; - -export const DetachDataDiskProperties: msRest.CompositeMapper = { - serializedName: "DetachDataDiskProperties", - type: { - name: "Composite", - className: "DetachDataDiskProperties", - modelProperties: { - existingLabDiskId: { - serializedName: "existingLabDiskId", - type: { - name: "String" - } - } - } - } -}; - -export const DetachDiskProperties: msRest.CompositeMapper = { - serializedName: "DetachDiskProperties", - type: { - name: "Composite", - className: "DetachDiskProperties", - modelProperties: { - leasedByLabVmId: { - serializedName: "leasedByLabVmId", - type: { - name: "String" - } - } - } - } -}; - -export const Disk: msRest.CompositeMapper = { - serializedName: "Disk", - type: { - name: "Composite", - className: "Disk", - modelProperties: { - ...Resource.type.modelProperties, - diskType: { - serializedName: "properties.diskType", - type: { - name: "String" - } - }, - diskSizeGiB: { - serializedName: "properties.diskSizeGiB", - type: { - name: "Number" - } - }, - leasedByLabVmId: { - serializedName: "properties.leasedByLabVmId", - type: { - name: "String" - } - }, - diskBlobName: { - serializedName: "properties.diskBlobName", - type: { - name: "String" - } - }, - diskUri: { - serializedName: "properties.diskUri", - type: { - name: "String" - } - }, - createdDate: { - readOnly: true, - serializedName: "properties.createdDate", - type: { - name: "DateTime" - } - }, - hostCaching: { - serializedName: "properties.hostCaching", - type: { - name: "String" - } - }, - managedDiskId: { - serializedName: "properties.managedDiskId", - type: { - name: "String" - } - }, - provisioningState: { - readOnly: true, - serializedName: "properties.provisioningState", - type: { - name: "String" - } - }, - uniqueIdentifier: { - readOnly: true, - serializedName: "properties.uniqueIdentifier", - type: { - name: "String" - } - } - } - } -}; - -export const DiskFragment: msRest.CompositeMapper = { - serializedName: "DiskFragment", - type: { - name: "Composite", - className: "DiskFragment", - modelProperties: { - ...UpdateResource.type.modelProperties, - diskType: { - serializedName: "properties.diskType", - type: { - name: "String" - } - }, - diskSizeGiB: { - serializedName: "properties.diskSizeGiB", - type: { - name: "Number" - } - }, - leasedByLabVmId: { - serializedName: "properties.leasedByLabVmId", - type: { - name: "String" - } - }, - diskBlobName: { - serializedName: "properties.diskBlobName", - type: { - name: "String" - } - }, - diskUri: { - serializedName: "properties.diskUri", - type: { - name: "String" - } - }, - hostCaching: { - serializedName: "properties.hostCaching", - type: { - name: "String" - } - }, - managedDiskId: { - serializedName: "properties.managedDiskId", - type: { - name: "String" - } - } + ...UpdateResource.type.modelProperties } } }; @@ -2251,54 +1454,13 @@ export const DtlEnvironment: msRest.CompositeMapper = { } }; -export const EnvironmentDeploymentPropertiesFragment: msRest.CompositeMapper = { - serializedName: "EnvironmentDeploymentPropertiesFragment", - type: { - name: "Composite", - className: "EnvironmentDeploymentPropertiesFragment", - modelProperties: { - armTemplateId: { - serializedName: "armTemplateId", - type: { - name: "String" - } - }, - parameters: { - serializedName: "parameters", - type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "ArmTemplateParameterPropertiesFragment" - } - } - } - } - } - } -}; - export const DtlEnvironmentFragment: msRest.CompositeMapper = { serializedName: "DtlEnvironmentFragment", type: { name: "Composite", className: "DtlEnvironmentFragment", modelProperties: { - ...UpdateResource.type.modelProperties, - deploymentProperties: { - serializedName: "properties.deploymentProperties", - type: { - name: "Composite", - className: "EnvironmentDeploymentPropertiesFragment" - } - }, - armTemplateDisplayName: { - serializedName: "properties.armTemplateDisplayName", - type: { - name: "String" - } - } + ...UpdateResource.type.modelProperties } } }; @@ -2447,22 +1609,6 @@ export const Event: msRest.CompositeMapper = { } }; -export const EventFragment: msRest.CompositeMapper = { - serializedName: "EventFragment", - type: { - name: "Composite", - className: "EventFragment", - modelProperties: { - eventName: { - serializedName: "eventName", - type: { - name: "String" - } - } - } - } -}; - export const ExportResourceUsageParameters: msRest.CompositeMapper = { serializedName: "ExportResourceUsageParameters", type: { @@ -2507,28 +1653,6 @@ export const ExternalSubnet: msRest.CompositeMapper = { } }; -export const ExternalSubnetFragment: msRest.CompositeMapper = { - serializedName: "ExternalSubnetFragment", - type: { - name: "Composite", - className: "ExternalSubnetFragment", - modelProperties: { - id: { - serializedName: "id", - type: { - name: "String" - } - }, - name: { - serializedName: "name", - type: { - name: "String" - } - } - } - } -}; - export const GalleryImageReference: msRest.CompositeMapper = { serializedName: "GalleryImageReference", type: { @@ -2790,6 +1914,7 @@ export const LabVirtualMachineCreationParameter: msRest.CompositeMapper = { }, ownerObjectId: { serializedName: "properties.ownerObjectId", + defaultValue: 'dynamicValue', type: { name: "String" } @@ -2800,44 +1925,20 @@ export const LabVirtualMachineCreationParameter: msRest.CompositeMapper = { name: "String" } }, - createdByUserId: { - serializedName: "properties.createdByUserId", + createdDate: { + serializedName: "properties.createdDate", type: { - name: "String" + name: "DateTime" } }, - createdByUser: { - serializedName: "properties.createdByUser", + customImageId: { + serializedName: "properties.customImageId", type: { name: "String" } }, - createdDate: { - serializedName: "properties.createdDate", - type: { - name: "DateTime" - } - }, - computeId: { - serializedName: "properties.computeId", - type: { - name: "String" - } - }, - customImageId: { - serializedName: "properties.customImageId", - type: { - name: "String" - } - }, - osType: { - serializedName: "properties.osType", - type: { - name: "String" - } - }, - size: { - serializedName: "properties.size", + size: { + serializedName: "properties.size", type: { name: "String" } @@ -2866,12 +1967,6 @@ export const LabVirtualMachineCreationParameter: msRest.CompositeMapper = { name: "Boolean" } }, - fqdn: { - serializedName: "properties.fqdn", - type: { - name: "String" - } - }, labSubnetName: { serializedName: "properties.labSubnetName", type: { @@ -2886,6 +1981,7 @@ export const LabVirtualMachineCreationParameter: msRest.CompositeMapper = { }, disallowPublicIpAddress: { serializedName: "properties.disallowPublicIpAddress", + defaultValue: false, type: { name: "Boolean" } @@ -2902,13 +1998,6 @@ export const LabVirtualMachineCreationParameter: msRest.CompositeMapper = { } } }, - artifactDeploymentStatus: { - serializedName: "properties.artifactDeploymentStatus", - type: { - name: "Composite", - className: "ArtifactDeploymentStatusProperties" - } - }, galleryImageReference: { serializedName: "properties.galleryImageReference", type: { @@ -2937,6 +2026,7 @@ export const LabVirtualMachineCreationParameter: msRest.CompositeMapper = { }, allowClaim: { serializedName: "properties.allowClaim", + defaultValue: false, type: { name: "Boolean" } @@ -2947,12 +2037,6 @@ export const LabVirtualMachineCreationParameter: msRest.CompositeMapper = { name: "String" } }, - virtualMachineCreationSource: { - serializedName: "properties.virtualMachineCreationSource", - type: { - name: "String" - } - }, environmentId: { serializedName: "properties.environmentId", type: { @@ -2983,12 +2067,6 @@ export const LabVirtualMachineCreationParameter: msRest.CompositeMapper = { } } }, - lastKnownPowerState: { - serializedName: "properties.lastKnownPowerState", - type: { - name: "String" - } - }, name: { serializedName: "name", type: { @@ -3046,6 +2124,7 @@ export const Formula: msRest.CompositeMapper = { } }, author: { + readOnly: true, serializedName: "properties.author", type: { name: "String" @@ -3096,1395 +2175,552 @@ export const Formula: msRest.CompositeMapper = { } }; -export const GalleryImageReferenceFragment: msRest.CompositeMapper = { - serializedName: "GalleryImageReferenceFragment", +export const FormulaFragment: msRest.CompositeMapper = { + serializedName: "FormulaFragment", type: { name: "Composite", - className: "GalleryImageReferenceFragment", + className: "FormulaFragment", modelProperties: { - offer: { - serializedName: "offer", + ...UpdateResource.type.modelProperties + } + } +}; + +export const GalleryImage: msRest.CompositeMapper = { + serializedName: "GalleryImage", + type: { + name: "Composite", + className: "GalleryImage", + modelProperties: { + ...Resource.type.modelProperties, + author: { + serializedName: "properties.author", type: { name: "String" } }, - publisher: { - serializedName: "publisher", + createdDate: { + readOnly: true, + serializedName: "properties.createdDate", type: { - name: "String" + name: "DateTime" } }, - sku: { - serializedName: "sku", + description: { + serializedName: "properties.description", type: { name: "String" } }, - osType: { - serializedName: "osType", + imageReference: { + serializedName: "properties.imageReference", + type: { + name: "Composite", + className: "GalleryImageReference" + } + }, + icon: { + serializedName: "properties.icon", type: { name: "String" } }, - version: { - serializedName: "version", + enabled: { + serializedName: "properties.enabled", + type: { + name: "Boolean" + } + }, + planId: { + serializedName: "properties.planId", type: { name: "String" } + }, + isPlanAuthorized: { + serializedName: "properties.isPlanAuthorized", + type: { + name: "Boolean" + } } } } }; -export const InboundNatRuleFragment: msRest.CompositeMapper = { - serializedName: "InboundNatRuleFragment", +export const ParameterInfo: msRest.CompositeMapper = { + serializedName: "ParameterInfo", type: { name: "Composite", - className: "InboundNatRuleFragment", + className: "ParameterInfo", modelProperties: { - transportProtocol: { - serializedName: "transportProtocol", + name: { + serializedName: "name", type: { name: "String" } }, - frontendPort: { - serializedName: "frontendPort", - type: { - name: "Number" - } - }, - backendPort: { - serializedName: "backendPort", + value: { + serializedName: "value", type: { - name: "Number" + name: "String" } } } } }; -export const SharedPublicIpAddressConfigurationFragment: msRest.CompositeMapper = { - serializedName: "SharedPublicIpAddressConfigurationFragment", +export const GenerateArmTemplateRequest: msRest.CompositeMapper = { + serializedName: "GenerateArmTemplateRequest", type: { name: "Composite", - className: "SharedPublicIpAddressConfigurationFragment", + className: "GenerateArmTemplateRequest", modelProperties: { - inboundNatRules: { - serializedName: "inboundNatRules", + virtualMachineName: { + serializedName: "virtualMachineName", + type: { + name: "String" + } + }, + parameters: { + serializedName: "parameters", type: { name: "Sequence", element: { type: { name: "Composite", - className: "InboundNatRuleFragment" + className: "ParameterInfo" } } } + }, + location: { + serializedName: "location", + type: { + name: "String" + } + }, + fileUploadOptions: { + serializedName: "fileUploadOptions", + type: { + name: "String" + } } } } }; -export const NetworkInterfacePropertiesFragment: msRest.CompositeMapper = { - serializedName: "NetworkInterfacePropertiesFragment", +export const GenerateUploadUriParameter: msRest.CompositeMapper = { + serializedName: "GenerateUploadUriParameter", type: { name: "Composite", - className: "NetworkInterfacePropertiesFragment", + className: "GenerateUploadUriParameter", modelProperties: { - virtualNetworkId: { - serializedName: "virtualNetworkId", + blobName: { + serializedName: "blobName", type: { name: "String" } - }, - subnetId: { - serializedName: "subnetId", + } + } + } +}; + +export const GenerateUploadUriResponse: msRest.CompositeMapper = { + serializedName: "GenerateUploadUriResponse", + type: { + name: "Composite", + className: "GenerateUploadUriResponse", + modelProperties: { + uploadUri: { + serializedName: "uploadUri", type: { name: "String" } - }, - publicIpAddressId: { - serializedName: "publicIpAddressId", + } + } + } +}; + +export const IdentityProperties: msRest.CompositeMapper = { + serializedName: "IdentityProperties", + type: { + name: "Composite", + className: "IdentityProperties", + modelProperties: { + type: { + serializedName: "type", type: { name: "String" } }, - publicIpAddress: { - serializedName: "publicIpAddress", + principalId: { + serializedName: "principalId", type: { name: "String" } }, - privateIpAddress: { - serializedName: "privateIpAddress", + tenantId: { + serializedName: "tenantId", type: { name: "String" } }, - dnsName: { - serializedName: "dnsName", + clientSecretUrl: { + serializedName: "clientSecretUrl", type: { name: "String" } - }, - rdpAuthority: { - serializedName: "rdpAuthority", + } + } + } +}; + +export const ImportLabVirtualMachineRequest: msRest.CompositeMapper = { + serializedName: "ImportLabVirtualMachineRequest", + type: { + name: "Composite", + className: "ImportLabVirtualMachineRequest", + modelProperties: { + sourceVirtualMachineResourceId: { + serializedName: "sourceVirtualMachineResourceId", type: { name: "String" } }, - sshAuthority: { - serializedName: "sshAuthority", + destinationVirtualMachineName: { + serializedName: "destinationVirtualMachineName", type: { name: "String" } - }, - sharedPublicIpAddressConfiguration: { - serializedName: "sharedPublicIpAddressConfiguration", - type: { - name: "Composite", - className: "SharedPublicIpAddressConfigurationFragment" - } } } } }; -export const ScheduleCreationParameterFragment: msRest.CompositeMapper = { - serializedName: "ScheduleCreationParameterFragment", +export const LabAnnouncementProperties: msRest.CompositeMapper = { + serializedName: "LabAnnouncementProperties", type: { name: "Composite", - className: "ScheduleCreationParameterFragment", + className: "LabAnnouncementProperties", modelProperties: { - status: { - serializedName: "properties.status", + title: { + serializedName: "title", type: { name: "String" } }, - taskType: { - serializedName: "properties.taskType", + markdown: { + serializedName: "markdown", type: { name: "String" } }, - weeklyRecurrence: { - serializedName: "properties.weeklyRecurrence", + enabled: { + serializedName: "enabled", type: { - name: "Composite", - className: "WeekDetailsFragment" + name: "String" } }, - dailyRecurrence: { - serializedName: "properties.dailyRecurrence", + expirationDate: { + serializedName: "expirationDate", type: { - name: "Composite", - className: "DayDetailsFragment" + name: "DateTime" } }, - hourlyRecurrence: { - serializedName: "properties.hourlyRecurrence", + expired: { + serializedName: "expired", type: { - name: "Composite", - className: "HourDetailsFragment" + name: "Boolean" } }, - timeZoneId: { - serializedName: "properties.timeZoneId", + provisioningState: { + readOnly: true, + serializedName: "provisioningState", type: { name: "String" } }, - notificationSettings: { - serializedName: "properties.notificationSettings", - type: { - name: "Composite", - className: "NotificationSettingsFragment" - } - }, - targetResourceId: { - serializedName: "properties.targetResourceId", + uniqueIdentifier: { + readOnly: true, + serializedName: "uniqueIdentifier", type: { name: "String" } - }, - name: { - serializedName: "name", + } + } + } +}; + +export const LabSupportProperties: msRest.CompositeMapper = { + serializedName: "LabSupportProperties", + type: { + name: "Composite", + className: "LabSupportProperties", + modelProperties: { + enabled: { + serializedName: "enabled", type: { name: "String" } }, - location: { - serializedName: "location", + markdown: { + serializedName: "markdown", type: { name: "String" } - }, - tags: { - serializedName: "tags", - type: { - name: "Dictionary", - value: { - type: { - name: "String" - } - } - } } } } }; -export const LabVirtualMachineCreationParameterFragment: msRest.CompositeMapper = { - serializedName: "LabVirtualMachineCreationParameterFragment", +export const Lab: msRest.CompositeMapper = { + serializedName: "Lab", type: { name: "Composite", - className: "LabVirtualMachineCreationParameterFragment", + className: "Lab", modelProperties: { - bulkCreationParameters: { - serializedName: "properties.bulkCreationParameters", + ...Resource.type.modelProperties, + defaultStorageAccount: { + readOnly: true, + serializedName: "properties.defaultStorageAccount", type: { - name: "Composite", - className: "BulkCreationParametersFragment" + name: "String" } }, - notes: { - serializedName: "properties.notes", + defaultPremiumStorageAccount: { + readOnly: true, + serializedName: "properties.defaultPremiumStorageAccount", type: { name: "String" } }, - ownerObjectId: { - serializedName: "properties.ownerObjectId", + artifactsStorageAccount: { + readOnly: true, + serializedName: "properties.artifactsStorageAccount", type: { name: "String" } }, - ownerUserPrincipalName: { - serializedName: "properties.ownerUserPrincipalName", + premiumDataDiskStorageAccount: { + readOnly: true, + serializedName: "properties.premiumDataDiskStorageAccount", type: { name: "String" } }, - createdByUserId: { - serializedName: "properties.createdByUserId", + vaultName: { + readOnly: true, + serializedName: "properties.vaultName", type: { name: "String" } }, - createdByUser: { - serializedName: "properties.createdByUser", + labStorageType: { + serializedName: "properties.labStorageType", type: { name: "String" } }, + mandatoryArtifactsResourceIdsLinux: { + serializedName: "properties.mandatoryArtifactsResourceIdsLinux", + type: { + name: "Sequence", + element: { + type: { + name: "String" + } + } + } + }, + mandatoryArtifactsResourceIdsWindows: { + serializedName: "properties.mandatoryArtifactsResourceIdsWindows", + type: { + name: "Sequence", + element: { + type: { + name: "String" + } + } + } + }, createdDate: { + readOnly: true, serializedName: "properties.createdDate", type: { name: "DateTime" } }, - computeId: { - serializedName: "properties.computeId", + premiumDataDisks: { + serializedName: "properties.premiumDataDisks", type: { name: "String" } }, - customImageId: { - serializedName: "properties.customImageId", + environmentPermission: { + serializedName: "properties.environmentPermission", type: { name: "String" } }, - osType: { - serializedName: "properties.osType", + announcement: { + serializedName: "properties.announcement", type: { - name: "String" + name: "Composite", + className: "LabAnnouncementProperties" } }, - size: { - serializedName: "properties.size", + support: { + serializedName: "properties.support", + type: { + name: "Composite", + className: "LabSupportProperties" + } + }, + vmCreationResourceGroup: { + readOnly: true, + serializedName: "properties.vmCreationResourceGroup", type: { name: "String" } }, - userName: { - serializedName: "properties.userName", + publicIpId: { + readOnly: true, + serializedName: "properties.publicIpId", type: { name: "String" } }, - password: { - serializedName: "properties.password", + loadBalancerId: { + readOnly: true, + serializedName: "properties.loadBalancerId", type: { name: "String" } }, - sshKey: { - serializedName: "properties.sshKey", + networkSecurityGroupId: { + readOnly: true, + serializedName: "properties.networkSecurityGroupId", type: { name: "String" } }, - isAuthenticationWithSshKey: { - serializedName: "properties.isAuthenticationWithSshKey", + extendedProperties: { + serializedName: "properties.extendedProperties", type: { - name: "Boolean" + name: "Dictionary", + value: { + type: { + name: "String" + } + } } }, - fqdn: { - serializedName: "properties.fqdn", + provisioningState: { + readOnly: true, + serializedName: "properties.provisioningState", type: { name: "String" } }, - labSubnetName: { - serializedName: "properties.labSubnetName", + uniqueIdentifier: { + readOnly: true, + serializedName: "properties.uniqueIdentifier", type: { name: "String" } - }, - labVirtualNetworkId: { - serializedName: "properties.labVirtualNetworkId", + } + } + } +}; + +export const TargetCostProperties: msRest.CompositeMapper = { + serializedName: "TargetCostProperties", + type: { + name: "Composite", + className: "TargetCostProperties", + modelProperties: { + status: { + serializedName: "status", type: { name: "String" } }, - disallowPublicIpAddress: { - serializedName: "properties.disallowPublicIpAddress", + target: { + serializedName: "target", type: { - name: "Boolean" + name: "Number" } }, - artifacts: { - serializedName: "properties.artifacts", + costThresholds: { + serializedName: "costThresholds", type: { name: "Sequence", element: { type: { name: "Composite", - className: "ArtifactInstallPropertiesFragment" + className: "CostThresholdProperties" } } } }, - artifactDeploymentStatus: { - serializedName: "properties.artifactDeploymentStatus", + cycleStartDateTime: { + serializedName: "cycleStartDateTime", type: { - name: "Composite", - className: "ArtifactDeploymentStatusPropertiesFragment" + name: "DateTime" } }, - galleryImageReference: { - serializedName: "properties.galleryImageReference", + cycleEndDateTime: { + serializedName: "cycleEndDateTime", type: { - name: "Composite", - className: "GalleryImageReferenceFragment" + name: "DateTime" } }, - planId: { - serializedName: "properties.planId", + cycleType: { + serializedName: "cycleType", type: { name: "String" } - }, - networkInterface: { - serializedName: "properties.networkInterface", + } + } + } +}; + +export const LabCostSummaryProperties: msRest.CompositeMapper = { + serializedName: "LabCostSummaryProperties", + type: { + name: "Composite", + className: "LabCostSummaryProperties", + modelProperties: { + estimatedLabCost: { + serializedName: "estimatedLabCost", type: { - name: "Composite", - className: "NetworkInterfacePropertiesFragment" + name: "Number" } - }, - expirationDate: { - serializedName: "properties.expirationDate", + } + } + } +}; + +export const LabCostDetailsProperties: msRest.CompositeMapper = { + serializedName: "LabCostDetailsProperties", + type: { + name: "Composite", + className: "LabCostDetailsProperties", + modelProperties: { + date: { + serializedName: "date", type: { name: "DateTime" } }, - allowClaim: { - serializedName: "properties.allowClaim", + cost: { + serializedName: "cost", type: { - name: "Boolean" + name: "Number" } }, - storageType: { - serializedName: "properties.storageType", - type: { - name: "String" - } - }, - virtualMachineCreationSource: { - serializedName: "properties.virtualMachineCreationSource", - type: { - name: "String" - } - }, - environmentId: { - serializedName: "properties.environmentId", - type: { - name: "String" - } - }, - dataDiskParameters: { - serializedName: "properties.dataDiskParameters", - type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "DataDiskPropertiesFragment" - } - } - } - }, - scheduleParameters: { - serializedName: "properties.scheduleParameters", - type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "ScheduleCreationParameterFragment" - } - } - } - }, - lastKnownPowerState: { - serializedName: "properties.lastKnownPowerState", - type: { - name: "String" - } - }, - name: { - serializedName: "name", - type: { - name: "String" - } - }, - location: { - serializedName: "location", - type: { - name: "String" - } - }, - tags: { - serializedName: "tags", - type: { - name: "Dictionary", - value: { - type: { - name: "String" - } - } - } - } - } - } -}; - -export const FormulaPropertiesFromVmFragment: msRest.CompositeMapper = { - serializedName: "FormulaPropertiesFromVmFragment", - type: { - name: "Composite", - className: "FormulaPropertiesFromVmFragment", - modelProperties: { - labVmId: { - serializedName: "labVmId", - type: { - name: "String" - } - } - } - } -}; - -export const FormulaFragment: msRest.CompositeMapper = { - serializedName: "FormulaFragment", - type: { - name: "Composite", - className: "FormulaFragment", - modelProperties: { - ...UpdateResource.type.modelProperties, - description: { - serializedName: "properties.description", - type: { - name: "String" - } - }, - author: { - serializedName: "properties.author", - type: { - name: "String" - } - }, - osType: { - serializedName: "properties.osType", - type: { - name: "String" - } - }, - formulaContent: { - serializedName: "properties.formulaContent", - type: { - name: "Composite", - className: "LabVirtualMachineCreationParameterFragment" - } - }, - vm: { - serializedName: "properties.vm", - type: { - name: "Composite", - className: "FormulaPropertiesFromVmFragment" - } - } - } - } -}; - -export const GalleryImage: msRest.CompositeMapper = { - serializedName: "GalleryImage", - type: { - name: "Composite", - className: "GalleryImage", - modelProperties: { - ...Resource.type.modelProperties, - author: { - serializedName: "properties.author", - type: { - name: "String" - } - }, - createdDate: { - readOnly: true, - serializedName: "properties.createdDate", - type: { - name: "DateTime" - } - }, - description: { - serializedName: "properties.description", - type: { - name: "String" - } - }, - imageReference: { - serializedName: "properties.imageReference", - type: { - name: "Composite", - className: "GalleryImageReference" - } - }, - icon: { - serializedName: "properties.icon", - type: { - name: "String" - } - }, - enabled: { - serializedName: "properties.enabled", - type: { - name: "Boolean" - } - }, - planId: { - serializedName: "properties.planId", - type: { - name: "String" - } - }, - isPlanAuthorized: { - serializedName: "properties.isPlanAuthorized", - type: { - name: "Boolean" - } - } - } - } -}; - -export const ParameterInfo: msRest.CompositeMapper = { - serializedName: "ParameterInfo", - type: { - name: "Composite", - className: "ParameterInfo", - modelProperties: { - name: { - serializedName: "name", - type: { - name: "String" - } - }, - value: { - serializedName: "value", - type: { - name: "String" - } - } - } - } -}; - -export const GenerateArmTemplateRequest: msRest.CompositeMapper = { - serializedName: "GenerateArmTemplateRequest", - type: { - name: "Composite", - className: "GenerateArmTemplateRequest", - modelProperties: { - virtualMachineName: { - serializedName: "virtualMachineName", - type: { - name: "String" - } - }, - parameters: { - serializedName: "parameters", - type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "ParameterInfo" - } - } - } - }, - location: { - serializedName: "location", - type: { - name: "String" - } - }, - fileUploadOptions: { - serializedName: "fileUploadOptions", - type: { - name: "String" - } - } - } - } -}; - -export const GenerateUploadUriParameter: msRest.CompositeMapper = { - serializedName: "GenerateUploadUriParameter", - type: { - name: "Composite", - className: "GenerateUploadUriParameter", - modelProperties: { - blobName: { - serializedName: "blobName", - type: { - name: "String" - } - } - } - } -}; - -export const GenerateUploadUriResponse: msRest.CompositeMapper = { - serializedName: "GenerateUploadUriResponse", - type: { - name: "Composite", - className: "GenerateUploadUriResponse", - modelProperties: { - uploadUri: { - serializedName: "uploadUri", - type: { - name: "String" - } - } - } - } -}; - -export const IdentityProperties: msRest.CompositeMapper = { - serializedName: "IdentityProperties", - type: { - name: "Composite", - className: "IdentityProperties", - modelProperties: { - type: { - serializedName: "type", - type: { - name: "String" - } - }, - principalId: { - serializedName: "principalId", - type: { - name: "String" - } - }, - tenantId: { - serializedName: "tenantId", - type: { - name: "String" - } - }, - clientSecretUrl: { - serializedName: "clientSecretUrl", - type: { - name: "String" - } - } - } - } -}; - -export const ImportLabVirtualMachineRequest: msRest.CompositeMapper = { - serializedName: "ImportLabVirtualMachineRequest", - type: { - name: "Composite", - className: "ImportLabVirtualMachineRequest", - modelProperties: { - sourceVirtualMachineResourceId: { - serializedName: "sourceVirtualMachineResourceId", - type: { - name: "String" - } - }, - destinationVirtualMachineName: { - serializedName: "destinationVirtualMachineName", - type: { - name: "String" - } - } - } - } -}; - -export const LabAnnouncementProperties: msRest.CompositeMapper = { - serializedName: "LabAnnouncementProperties", - type: { - name: "Composite", - className: "LabAnnouncementProperties", - modelProperties: { - title: { - serializedName: "title", - type: { - name: "String" - } - }, - markdown: { - serializedName: "markdown", - type: { - name: "String" - } - }, - enabled: { - serializedName: "enabled", - type: { - name: "String" - } - }, - expirationDate: { - serializedName: "expirationDate", - type: { - name: "DateTime" - } - }, - expired: { - serializedName: "expired", - type: { - name: "Boolean" - } - }, - provisioningState: { - readOnly: true, - serializedName: "provisioningState", - type: { - name: "String" - } - }, - uniqueIdentifier: { - readOnly: true, - serializedName: "uniqueIdentifier", - type: { - name: "String" - } - } - } - } -}; - -export const LabSupportProperties: msRest.CompositeMapper = { - serializedName: "LabSupportProperties", - type: { - name: "Composite", - className: "LabSupportProperties", - modelProperties: { - enabled: { - serializedName: "enabled", - type: { - name: "String" - } - }, - markdown: { - serializedName: "markdown", - type: { - name: "String" - } - } - } - } -}; - -export const Lab: msRest.CompositeMapper = { - serializedName: "Lab", - type: { - name: "Composite", - className: "Lab", - modelProperties: { - ...Resource.type.modelProperties, - defaultStorageAccount: { - readOnly: true, - serializedName: "properties.defaultStorageAccount", - type: { - name: "String" - } - }, - defaultPremiumStorageAccount: { - readOnly: true, - serializedName: "properties.defaultPremiumStorageAccount", - type: { - name: "String" - } - }, - artifactsStorageAccount: { - readOnly: true, - serializedName: "properties.artifactsStorageAccount", - type: { - name: "String" - } - }, - premiumDataDiskStorageAccount: { - readOnly: true, - serializedName: "properties.premiumDataDiskStorageAccount", - type: { - name: "String" - } - }, - vaultName: { - readOnly: true, - serializedName: "properties.vaultName", - type: { - name: "String" - } - }, - labStorageType: { - serializedName: "properties.labStorageType", - type: { - name: "String" - } - }, - mandatoryArtifactsResourceIdsLinux: { - serializedName: "properties.mandatoryArtifactsResourceIdsLinux", - type: { - name: "Sequence", - element: { - type: { - name: "String" - } - } - } - }, - mandatoryArtifactsResourceIdsWindows: { - serializedName: "properties.mandatoryArtifactsResourceIdsWindows", - type: { - name: "Sequence", - element: { - type: { - name: "String" - } - } - } - }, - createdDate: { - readOnly: true, - serializedName: "properties.createdDate", - type: { - name: "DateTime" - } - }, - premiumDataDisks: { - serializedName: "properties.premiumDataDisks", - type: { - name: "String" - } - }, - environmentPermission: { - serializedName: "properties.environmentPermission", - type: { - name: "String" - } - }, - announcement: { - serializedName: "properties.announcement", - type: { - name: "Composite", - className: "LabAnnouncementProperties" - } - }, - support: { - serializedName: "properties.support", - type: { - name: "Composite", - className: "LabSupportProperties" - } - }, - vmCreationResourceGroup: { - readOnly: true, - serializedName: "properties.vmCreationResourceGroup", - type: { - name: "String" - } - }, - publicIpId: { - readOnly: true, - serializedName: "properties.publicIpId", - type: { - name: "String" - } - }, - loadBalancerId: { - readOnly: true, - serializedName: "properties.loadBalancerId", - type: { - name: "String" - } - }, - networkSecurityGroupId: { - readOnly: true, - serializedName: "properties.networkSecurityGroupId", - type: { - name: "String" - } - }, - extendedProperties: { - serializedName: "properties.extendedProperties", - type: { - name: "Dictionary", - value: { - type: { - name: "String" - } - } - } - }, - provisioningState: { - readOnly: true, - serializedName: "properties.provisioningState", - type: { - name: "String" - } - }, - uniqueIdentifier: { - readOnly: true, - serializedName: "properties.uniqueIdentifier", - type: { - name: "String" - } - } - } - } -}; - -export const LabAnnouncementPropertiesFragment: msRest.CompositeMapper = { - serializedName: "LabAnnouncementPropertiesFragment", - type: { - name: "Composite", - className: "LabAnnouncementPropertiesFragment", - modelProperties: { - title: { - serializedName: "title", - type: { - name: "String" - } - }, - markdown: { - serializedName: "markdown", - type: { - name: "String" - } - }, - enabled: { - serializedName: "enabled", - type: { - name: "String" - } - }, - expirationDate: { - serializedName: "expirationDate", - type: { - name: "DateTime" - } - }, - expired: { - serializedName: "expired", - type: { - name: "Boolean" - } - } - } - } -}; - -export const TargetCostProperties: msRest.CompositeMapper = { - serializedName: "TargetCostProperties", - type: { - name: "Composite", - className: "TargetCostProperties", - modelProperties: { - status: { - serializedName: "status", - type: { - name: "String" - } - }, - target: { - serializedName: "target", - type: { - name: "Number" - } - }, - costThresholds: { - serializedName: "costThresholds", - type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "CostThresholdProperties" - } - } - } - }, - cycleStartDateTime: { - serializedName: "cycleStartDateTime", - type: { - name: "DateTime" - } - }, - cycleEndDateTime: { - serializedName: "cycleEndDateTime", - type: { - name: "DateTime" - } - }, - cycleType: { - serializedName: "cycleType", - type: { - name: "String" - } - } - } - } -}; - -export const LabCostSummaryProperties: msRest.CompositeMapper = { - serializedName: "LabCostSummaryProperties", - type: { - name: "Composite", - className: "LabCostSummaryProperties", - modelProperties: { - estimatedLabCost: { - serializedName: "estimatedLabCost", - type: { - name: "Number" - } - } - } - } -}; - -export const LabCostDetailsProperties: msRest.CompositeMapper = { - serializedName: "LabCostDetailsProperties", - type: { - name: "Composite", - className: "LabCostDetailsProperties", - modelProperties: { - date: { - serializedName: "date", - type: { - name: "DateTime" - } - }, - cost: { - serializedName: "cost", - type: { - name: "Number" - } - }, - costType: { - serializedName: "costType", - type: { - name: "String" - } - } - } - } -}; - -export const LabResourceCostProperties: msRest.CompositeMapper = { - serializedName: "LabResourceCostProperties", - type: { - name: "Composite", - className: "LabResourceCostProperties", - modelProperties: { - resourcename: { - serializedName: "resourcename", - type: { - name: "String" - } - }, - resourceUId: { - serializedName: "resourceUId", - type: { - name: "String" - } - }, - resourceCost: { - serializedName: "resourceCost", - type: { - name: "Number" - } - }, - resourceType: { - serializedName: "resourceType", - type: { - name: "String" - } - }, - resourceOwner: { - serializedName: "resourceOwner", - type: { - name: "String" - } - }, - resourcePricingTier: { - serializedName: "resourcePricingTier", - type: { - name: "String" - } - }, - resourceStatus: { - serializedName: "resourceStatus", - type: { - name: "String" - } - }, - resourceId: { - serializedName: "resourceId", - type: { - name: "String" - } - }, - externalResourceId: { - serializedName: "externalResourceId", - type: { - name: "String" - } - } - } - } -}; - -export const LabCost: msRest.CompositeMapper = { - serializedName: "LabCost", - type: { - name: "Composite", - className: "LabCost", - modelProperties: { - ...Resource.type.modelProperties, - targetCost: { - serializedName: "properties.targetCost", - type: { - name: "Composite", - className: "TargetCostProperties" - } - }, - labCostSummary: { - readOnly: true, - serializedName: "properties.labCostSummary", - type: { - name: "Composite", - className: "LabCostSummaryProperties" - } - }, - labCostDetails: { - readOnly: true, - serializedName: "properties.labCostDetails", - type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "LabCostDetailsProperties" - } - } - } - }, - resourceCosts: { - readOnly: true, - serializedName: "properties.resourceCosts", - type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "LabResourceCostProperties" - } - } - } - }, - currencyCode: { - serializedName: "properties.currencyCode", - type: { - name: "String" - } - }, - startDateTime: { - serializedName: "properties.startDateTime", - type: { - name: "DateTime" - } - }, - endDateTime: { - serializedName: "properties.endDateTime", - type: { - name: "DateTime" - } - }, - createdDate: { - serializedName: "properties.createdDate", - type: { - name: "DateTime" - } - }, - provisioningState: { - readOnly: true, - serializedName: "properties.provisioningState", - type: { - name: "String" - } - }, - uniqueIdentifier: { - readOnly: true, - serializedName: "properties.uniqueIdentifier", - type: { - name: "String" - } - } - } - } -}; - -export const LabSupportPropertiesFragment: msRest.CompositeMapper = { - serializedName: "LabSupportPropertiesFragment", - type: { - name: "Composite", - className: "LabSupportPropertiesFragment", - modelProperties: { - enabled: { - serializedName: "enabled", - type: { - name: "String" - } - }, - markdown: { - serializedName: "markdown", - type: { - name: "String" - } - } - } - } -}; - -export const LabFragment: msRest.CompositeMapper = { - serializedName: "LabFragment", - type: { - name: "Composite", - className: "LabFragment", - modelProperties: { - ...UpdateResource.type.modelProperties, - labStorageType: { - serializedName: "properties.labStorageType", - type: { - name: "String" - } - }, - mandatoryArtifactsResourceIdsLinux: { - serializedName: "properties.mandatoryArtifactsResourceIdsLinux", - type: { - name: "Sequence", - element: { - type: { - name: "String" - } - } - } - }, - mandatoryArtifactsResourceIdsWindows: { - serializedName: "properties.mandatoryArtifactsResourceIdsWindows", - type: { - name: "Sequence", - element: { - type: { - name: "String" - } - } - } - }, - premiumDataDisks: { - serializedName: "properties.premiumDataDisks", - type: { - name: "String" - } - }, - environmentPermission: { - serializedName: "properties.environmentPermission", - type: { - name: "String" - } - }, - announcement: { - serializedName: "properties.announcement", - type: { - name: "Composite", - className: "LabAnnouncementPropertiesFragment" - } - }, - support: { - serializedName: "properties.support", - type: { - name: "Composite", - className: "LabSupportPropertiesFragment" - } - }, - extendedProperties: { - serializedName: "properties.extendedProperties", - type: { - name: "Dictionary", - value: { - type: { - name: "String" - } - } - } - } - } - } -}; - -export const LabVhd: msRest.CompositeMapper = { - serializedName: "LabVhd", - type: { - name: "Composite", - className: "LabVhd", - modelProperties: { - id: { - serializedName: "id", + costType: { + serializedName: "costType", type: { name: "String" } @@ -4493,236 +2729,142 @@ export const LabVhd: msRest.CompositeMapper = { } }; -export const LabVirtualMachine: msRest.CompositeMapper = { - serializedName: "LabVirtualMachine", +export const LabResourceCostProperties: msRest.CompositeMapper = { + serializedName: "LabResourceCostProperties", type: { name: "Composite", - className: "LabVirtualMachine", + className: "LabResourceCostProperties", modelProperties: { - ...Resource.type.modelProperties, - notes: { - serializedName: "properties.notes", - type: { - name: "String" - } - }, - ownerObjectId: { - serializedName: "properties.ownerObjectId", - type: { - name: "String" - } - }, - ownerUserPrincipalName: { - serializedName: "properties.ownerUserPrincipalName", - type: { - name: "String" - } - }, - createdByUserId: { - serializedName: "properties.createdByUserId", - type: { - name: "String" - } - }, - createdByUser: { - serializedName: "properties.createdByUser", - type: { - name: "String" - } - }, - createdDate: { - serializedName: "properties.createdDate", - type: { - name: "DateTime" - } - }, - computeId: { - serializedName: "properties.computeId", - type: { - name: "String" - } - }, - customImageId: { - serializedName: "properties.customImageId", - type: { - name: "String" - } - }, - osType: { - serializedName: "properties.osType", - type: { - name: "String" - } - }, - size: { - serializedName: "properties.size", - type: { - name: "String" - } - }, - userName: { - serializedName: "properties.userName", - type: { - name: "String" - } - }, - password: { - serializedName: "properties.password", + resourcename: { + serializedName: "resourcename", type: { name: "String" } }, - sshKey: { - serializedName: "properties.sshKey", + resourceUId: { + serializedName: "resourceUId", type: { name: "String" } }, - isAuthenticationWithSshKey: { - serializedName: "properties.isAuthenticationWithSshKey", + resourceCost: { + serializedName: "resourceCost", type: { - name: "Boolean" + name: "Number" } }, - fqdn: { - serializedName: "properties.fqdn", + resourceType: { + serializedName: "resourceType", type: { name: "String" } }, - labSubnetName: { - serializedName: "properties.labSubnetName", + resourceOwner: { + serializedName: "resourceOwner", type: { name: "String" } }, - labVirtualNetworkId: { - serializedName: "properties.labVirtualNetworkId", + resourcePricingTier: { + serializedName: "resourcePricingTier", type: { name: "String" } }, - disallowPublicIpAddress: { - serializedName: "properties.disallowPublicIpAddress", - type: { - name: "Boolean" - } - }, - artifacts: { - serializedName: "properties.artifacts", - type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "ArtifactInstallProperties" - } - } - } - }, - artifactDeploymentStatus: { - serializedName: "properties.artifactDeploymentStatus", - type: { - name: "Composite", - className: "ArtifactDeploymentStatusProperties" - } - }, - galleryImageReference: { - serializedName: "properties.galleryImageReference", - type: { - name: "Composite", - className: "GalleryImageReference" - } - }, - planId: { - serializedName: "properties.planId", + resourceStatus: { + serializedName: "resourceStatus", type: { name: "String" } }, - computeVm: { - readOnly: true, - serializedName: "properties.computeVm", - type: { - name: "Composite", - className: "ComputeVmProperties" - } - }, - networkInterface: { - serializedName: "properties.networkInterface", - type: { - name: "Composite", - className: "NetworkInterfaceProperties" - } - }, - applicableSchedule: { - readOnly: true, - serializedName: "properties.applicableSchedule", - type: { - name: "Composite", - className: "ApplicableSchedule" - } - }, - expirationDate: { - serializedName: "properties.expirationDate", - type: { - name: "DateTime" - } - }, - allowClaim: { - serializedName: "properties.allowClaim", - type: { - name: "Boolean" - } - }, - storageType: { - serializedName: "properties.storageType", + resourceId: { + serializedName: "resourceId", type: { name: "String" } }, - virtualMachineCreationSource: { - serializedName: "properties.virtualMachineCreationSource", + externalResourceId: { + serializedName: "externalResourceId", type: { name: "String" } + } + } + } +}; + +export const LabCost: msRest.CompositeMapper = { + serializedName: "LabCost", + type: { + name: "Composite", + className: "LabCost", + modelProperties: { + ...Resource.type.modelProperties, + targetCost: { + serializedName: "properties.targetCost", + type: { + name: "Composite", + className: "TargetCostProperties" + } }, - environmentId: { - serializedName: "properties.environmentId", + labCostSummary: { + readOnly: true, + serializedName: "properties.labCostSummary", type: { - name: "String" + name: "Composite", + className: "LabCostSummaryProperties" } }, - dataDiskParameters: { - serializedName: "properties.dataDiskParameters", + labCostDetails: { + readOnly: true, + serializedName: "properties.labCostDetails", type: { name: "Sequence", element: { type: { name: "Composite", - className: "DataDiskProperties" + className: "LabCostDetailsProperties" } } } }, - scheduleParameters: { - serializedName: "properties.scheduleParameters", + resourceCosts: { + readOnly: true, + serializedName: "properties.resourceCosts", type: { name: "Sequence", element: { type: { name: "Composite", - className: "ScheduleCreationParameter" + className: "LabResourceCostProperties" } } } }, - lastKnownPowerState: { - serializedName: "properties.lastKnownPowerState", + currencyCode: { + serializedName: "properties.currencyCode", type: { name: "String" } }, + startDateTime: { + serializedName: "properties.startDateTime", + type: { + name: "DateTime" + } + }, + endDateTime: { + serializedName: "properties.endDateTime", + type: { + name: "DateTime" + } + }, + createdDate: { + serializedName: "properties.createdDate", + type: { + name: "DateTime" + } + }, provisioningState: { readOnly: true, serializedName: "properties.provisioningState", @@ -4741,13 +2883,40 @@ export const LabVirtualMachine: msRest.CompositeMapper = { } }; -export const LabVirtualMachineFragment: msRest.CompositeMapper = { - serializedName: "LabVirtualMachineFragment", +export const LabFragment: msRest.CompositeMapper = { + serializedName: "LabFragment", type: { name: "Composite", - className: "LabVirtualMachineFragment", + className: "LabFragment", + modelProperties: { + ...UpdateResource.type.modelProperties + } + } +}; + +export const LabVhd: msRest.CompositeMapper = { + serializedName: "LabVhd", + type: { + name: "Composite", + className: "LabVhd", + modelProperties: { + id: { + serializedName: "id", + type: { + name: "String" + } + } + } + } +}; + +export const LabVirtualMachine: msRest.CompositeMapper = { + serializedName: "LabVirtualMachine", + type: { + name: "Composite", + className: "LabVirtualMachine", modelProperties: { - ...UpdateResource.type.modelProperties, + ...Resource.type.modelProperties, notes: { serializedName: "properties.notes", type: { @@ -4756,6 +2925,7 @@ export const LabVirtualMachineFragment: msRest.CompositeMapper = { }, ownerObjectId: { serializedName: "properties.ownerObjectId", + defaultValue: 'dynamicValue', type: { name: "String" } @@ -4767,12 +2937,14 @@ export const LabVirtualMachineFragment: msRest.CompositeMapper = { } }, createdByUserId: { + readOnly: true, serializedName: "properties.createdByUserId", type: { name: "String" } }, createdByUser: { + readOnly: true, serializedName: "properties.createdByUser", type: { name: "String" @@ -4785,6 +2957,7 @@ export const LabVirtualMachineFragment: msRest.CompositeMapper = { } }, computeId: { + readOnly: true, serializedName: "properties.computeId", type: { name: "String" @@ -4797,6 +2970,7 @@ export const LabVirtualMachineFragment: msRest.CompositeMapper = { } }, osType: { + readOnly: true, serializedName: "properties.osType", type: { name: "String" @@ -4833,6 +3007,7 @@ export const LabVirtualMachineFragment: msRest.CompositeMapper = { } }, fqdn: { + readOnly: true, serializedName: "properties.fqdn", type: { name: "String" @@ -4852,6 +3027,7 @@ export const LabVirtualMachineFragment: msRest.CompositeMapper = { }, disallowPublicIpAddress: { serializedName: "properties.disallowPublicIpAddress", + defaultValue: false, type: { name: "Boolean" } @@ -4863,23 +3039,24 @@ export const LabVirtualMachineFragment: msRest.CompositeMapper = { element: { type: { name: "Composite", - className: "ArtifactInstallPropertiesFragment" + className: "ArtifactInstallProperties" } } } }, artifactDeploymentStatus: { + readOnly: true, serializedName: "properties.artifactDeploymentStatus", type: { name: "Composite", - className: "ArtifactDeploymentStatusPropertiesFragment" + className: "ArtifactDeploymentStatusProperties" } }, galleryImageReference: { serializedName: "properties.galleryImageReference", type: { name: "Composite", - className: "GalleryImageReferenceFragment" + className: "GalleryImageReference" } }, planId: { @@ -4888,11 +3065,27 @@ export const LabVirtualMachineFragment: msRest.CompositeMapper = { name: "String" } }, + computeVm: { + readOnly: true, + serializedName: "properties.computeVm", + type: { + name: "Composite", + className: "ComputeVmProperties" + } + }, networkInterface: { serializedName: "properties.networkInterface", type: { name: "Composite", - className: "NetworkInterfacePropertiesFragment" + className: "NetworkInterfaceProperties" + } + }, + applicableSchedule: { + readOnly: true, + serializedName: "properties.applicableSchedule", + type: { + name: "Composite", + className: "ApplicableSchedule" } }, expirationDate: { @@ -4903,6 +3096,7 @@ export const LabVirtualMachineFragment: msRest.CompositeMapper = { }, allowClaim: { serializedName: "properties.allowClaim", + defaultValue: false, type: { name: "Boolean" } @@ -4914,6 +3108,7 @@ export const LabVirtualMachineFragment: msRest.CompositeMapper = { } }, virtualMachineCreationSource: { + readOnly: true, serializedName: "properties.virtualMachineCreationSource", type: { name: "String" @@ -4932,7 +3127,7 @@ export const LabVirtualMachineFragment: msRest.CompositeMapper = { element: { type: { name: "Composite", - className: "DataDiskPropertiesFragment" + className: "DataDiskProperties" } } } @@ -4944,21 +3139,47 @@ export const LabVirtualMachineFragment: msRest.CompositeMapper = { element: { type: { name: "Composite", - className: "ScheduleCreationParameterFragment" + className: "ScheduleCreationParameter" } } } }, lastKnownPowerState: { + readOnly: true, serializedName: "properties.lastKnownPowerState", type: { name: "String" } + }, + provisioningState: { + readOnly: true, + serializedName: "properties.provisioningState", + type: { + name: "String" + } + }, + uniqueIdentifier: { + readOnly: true, + serializedName: "properties.uniqueIdentifier", + type: { + name: "String" + } } } } }; +export const LabVirtualMachineFragment: msRest.CompositeMapper = { + serializedName: "LabVirtualMachineFragment", + type: { + name: "Composite", + className: "LabVirtualMachineFragment", + modelProperties: { + ...UpdateResource.type.modelProperties + } + } +}; + export const NotificationChannel: msRest.CompositeMapper = { serializedName: "NotificationChannel", type: { @@ -5033,43 +3254,7 @@ export const NotificationChannelFragment: msRest.CompositeMapper = { name: "Composite", className: "NotificationChannelFragment", modelProperties: { - ...UpdateResource.type.modelProperties, - webHookUrl: { - serializedName: "properties.webHookUrl", - type: { - name: "String" - } - }, - emailRecipient: { - serializedName: "properties.emailRecipient", - type: { - name: "String" - } - }, - notificationLocale: { - serializedName: "properties.notificationLocale", - type: { - name: "String" - } - }, - description: { - serializedName: "properties.description", - type: { - name: "String" - } - }, - events: { - serializedName: "properties.events", - type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "EventFragment" - } - } - } - } + ...UpdateResource.type.modelProperties } } }; @@ -5278,43 +3463,7 @@ export const PolicyFragment: msRest.CompositeMapper = { name: "Composite", className: "PolicyFragment", modelProperties: { - ...UpdateResource.type.modelProperties, - description: { - serializedName: "properties.description", - type: { - name: "String" - } - }, - status: { - serializedName: "properties.status", - type: { - name: "String" - } - }, - factName: { - serializedName: "properties.factName", - type: { - name: "String" - } - }, - factData: { - serializedName: "properties.factData", - type: { - name: "String" - } - }, - threshold: { - serializedName: "properties.threshold", - type: { - name: "String" - } - }, - evaluatorType: { - serializedName: "properties.evaluatorType", - type: { - name: "String" - } - } + ...UpdateResource.type.modelProperties } } }; @@ -5341,28 +3490,6 @@ export const Port: msRest.CompositeMapper = { } }; -export const PortFragment: msRest.CompositeMapper = { - serializedName: "PortFragment", - type: { - name: "Composite", - className: "PortFragment", - modelProperties: { - transportProtocol: { - serializedName: "transportProtocol", - type: { - name: "String" - } - }, - backendPort: { - serializedName: "backendPort", - type: { - name: "Number" - } - } - } - } -}; - export const RdpConnection: msRest.CompositeMapper = { serializedName: "RdpConnection", type: { @@ -5417,6 +3544,17 @@ export const RetargetScheduleProperties: msRest.CompositeMapper = { } }; +export const ScheduleFragment: msRest.CompositeMapper = { + serializedName: "ScheduleFragment", + type: { + name: "Composite", + className: "ScheduleFragment", + modelProperties: { + ...UpdateResource.type.modelProperties + } + } +}; + export const Secret: msRest.CompositeMapper = { serializedName: "Secret", type: { @@ -5454,13 +3592,7 @@ export const SecretFragment: msRest.CompositeMapper = { name: "Composite", className: "SecretFragment", modelProperties: { - ...UpdateResource.type.modelProperties, - value: { - serializedName: "properties.value", - type: { - name: "String" - } - } + ...UpdateResource.type.modelProperties } } }; @@ -5516,19 +3648,7 @@ export const ServiceFabricFragment: msRest.CompositeMapper = { name: "Composite", className: "ServiceFabricFragment", modelProperties: { - ...UpdateResource.type.modelProperties, - externalServiceFabricId: { - serializedName: "properties.externalServiceFabricId", - type: { - name: "String" - } - }, - environmentId: { - serializedName: "properties.environmentId", - type: { - name: "String" - } - } + ...UpdateResource.type.modelProperties } } }; @@ -5551,6 +3671,34 @@ export const ServiceRunner: msRest.CompositeMapper = { } }; +export const ServiceRunnerList: msRest.CompositeMapper = { + serializedName: "ServiceRunnerList", + type: { + name: "Composite", + className: "ServiceRunnerList", + modelProperties: { + value: { + serializedName: "value", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "ServiceRunner" + } + } + } + }, + nextLink: { + serializedName: "nextLink", + type: { + name: "String" + } + } + } + } +}; + export const ShutdownNotificationContent: msRest.CompositeMapper = { serializedName: "ShutdownNotificationContent", type: { @@ -5667,34 +3815,6 @@ export const Subnet: msRest.CompositeMapper = { } }; -export const SubnetFragment: msRest.CompositeMapper = { - serializedName: "SubnetFragment", - type: { - name: "Composite", - className: "SubnetFragment", - modelProperties: { - resourceId: { - serializedName: "resourceId", - type: { - name: "String" - } - }, - labSubnetName: { - serializedName: "labSubnetName", - type: { - name: "String" - } - }, - allowPublicIp: { - serializedName: "allowPublicIp", - type: { - name: "String" - } - } - } - } -}; - export const SubnetSharedPublicIpAddressConfiguration: msRest.CompositeMapper = { serializedName: "SubnetSharedPublicIpAddressConfiguration", type: { @@ -5764,75 +3884,6 @@ export const SubnetOverride: msRest.CompositeMapper = { } }; -export const SubnetSharedPublicIpAddressConfigurationFragment: msRest.CompositeMapper = { - serializedName: "SubnetSharedPublicIpAddressConfigurationFragment", - type: { - name: "Composite", - className: "SubnetSharedPublicIpAddressConfigurationFragment", - modelProperties: { - allowedPorts: { - serializedName: "allowedPorts", - type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "PortFragment" - } - } - } - } - } - } -}; - -export const SubnetOverrideFragment: msRest.CompositeMapper = { - serializedName: "SubnetOverrideFragment", - type: { - name: "Composite", - className: "SubnetOverrideFragment", - modelProperties: { - resourceId: { - serializedName: "resourceId", - type: { - name: "String" - } - }, - labSubnetName: { - serializedName: "labSubnetName", - type: { - name: "String" - } - }, - useInVmCreationPermission: { - serializedName: "useInVmCreationPermission", - type: { - name: "String" - } - }, - usePublicIpAddressPermission: { - serializedName: "usePublicIpAddressPermission", - type: { - name: "String" - } - }, - sharedPublicIpAddressConfiguration: { - serializedName: "sharedPublicIpAddressConfiguration", - type: { - name: "Composite", - className: "SubnetSharedPublicIpAddressConfigurationFragment" - } - }, - virtualNetworkPoolName: { - serializedName: "virtualNetworkPoolName", - type: { - name: "String" - } - } - } - } -}; - export const UserIdentity: msRest.CompositeMapper = { serializedName: "UserIdentity", type: { @@ -5941,89 +3992,13 @@ export const User: msRest.CompositeMapper = { } }; -export const UserIdentityFragment: msRest.CompositeMapper = { - serializedName: "UserIdentityFragment", - type: { - name: "Composite", - className: "UserIdentityFragment", - modelProperties: { - principalName: { - serializedName: "principalName", - type: { - name: "String" - } - }, - principalId: { - serializedName: "principalId", - type: { - name: "String" - } - }, - tenantId: { - serializedName: "tenantId", - type: { - name: "String" - } - }, - objectId: { - serializedName: "objectId", - type: { - name: "String" - } - }, - appId: { - serializedName: "appId", - type: { - name: "String" - } - } - } - } -}; - -export const UserSecretStoreFragment: msRest.CompositeMapper = { - serializedName: "UserSecretStoreFragment", - type: { - name: "Composite", - className: "UserSecretStoreFragment", - modelProperties: { - keyVaultUri: { - serializedName: "keyVaultUri", - type: { - name: "String" - } - }, - keyVaultId: { - serializedName: "keyVaultId", - type: { - name: "String" - } - } - } - } -}; - export const UserFragment: msRest.CompositeMapper = { serializedName: "UserFragment", type: { name: "Composite", className: "UserFragment", modelProperties: { - ...UpdateResource.type.modelProperties, - identity: { - serializedName: "properties.identity", - type: { - name: "Composite", - className: "UserIdentityFragment" - } - }, - secretStore: { - serializedName: "properties.secretStore", - type: { - name: "Composite", - className: "UserSecretStoreFragment" - } - } + ...UpdateResource.type.modelProperties } } }; @@ -6115,43 +4090,7 @@ export const VirtualNetworkFragment: msRest.CompositeMapper = { name: "Composite", className: "VirtualNetworkFragment", modelProperties: { - ...UpdateResource.type.modelProperties, - allowedSubnets: { - serializedName: "properties.allowedSubnets", - type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "SubnetFragment" - } - } - } - }, - description: { - serializedName: "properties.description", - type: { - name: "String" - } - }, - externalProviderResourceId: { - serializedName: "properties.externalProviderResourceId", - type: { - name: "String" - } - }, - subnetOverrides: { - serializedName: "properties.subnetOverrides", - type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "SubnetOverrideFragment" - } - } - } - } + ...UpdateResource.type.modelProperties } } }; @@ -6493,34 +4432,6 @@ export const PolicyList: msRest.CompositeMapper = { } }; -export const ServiceRunnerList: msRest.CompositeMapper = { - serializedName: "ServiceRunnerList", - type: { - name: "Composite", - className: "ServiceRunnerList", - modelProperties: { - value: { - serializedName: "", - type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "ServiceRunner" - } - } - } - }, - nextLink: { - serializedName: "nextLink", - type: { - name: "String" - } - } - } - } -}; - export const UserList: msRest.CompositeMapper = { serializedName: "UserList", type: { diff --git a/sdk/devtestlabs/arm-devtestlabs/src/models/notificationChannelsMappers.ts b/sdk/devtestlabs/arm-devtestlabs/src/models/notificationChannelsMappers.ts index 0090ea0baf9e..9c5e486f5b9e 100644 --- a/sdk/devtestlabs/arm-devtestlabs/src/models/notificationChannelsMappers.ts +++ b/sdk/devtestlabs/arm-devtestlabs/src/models/notificationChannelsMappers.ts @@ -1,6 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is regenerated. @@ -11,21 +11,15 @@ export { ApplicableScheduleFragment, ArmTemplate, ArmTemplateParameterProperties, - ArmTemplateParameterPropertiesFragment, Artifact, ArtifactDeploymentStatusProperties, - ArtifactDeploymentStatusPropertiesFragment, ArtifactInstallProperties, - ArtifactInstallPropertiesFragment, ArtifactParameterProperties, - ArtifactParameterPropertiesFragment, ArtifactSource, ArtifactSourceFragment, AttachNewDataDiskOptions, - AttachNewDataDiskOptionsFragment, BaseResource, BulkCreationParameters, - BulkCreationParametersFragment, CloudError, ComputeDataDisk, ComputeVmInstanceViewStatus, @@ -34,72 +28,52 @@ export { CustomImage, CustomImageFragment, CustomImagePropertiesCustom, - CustomImagePropertiesCustomFragment, CustomImagePropertiesFromPlan, - CustomImagePropertiesFromPlanFragment, CustomImagePropertiesFromVm, - CustomImagePropertiesFromVmFragment, DataDiskProperties, - DataDiskPropertiesFragment, DataDiskStorageTypeInfo, - DataDiskStorageTypeInfoFragment, DayDetails, - DayDetailsFragment, Disk, DiskFragment, DtlEnvironment, DtlEnvironmentFragment, EnvironmentDeploymentProperties, - EnvironmentDeploymentPropertiesFragment, Event, - EventFragment, ExternalSubnet, Formula, FormulaFragment, FormulaPropertiesFromVm, - FormulaPropertiesFromVmFragment, GalleryImage, GalleryImageReference, - GalleryImageReferenceFragment, HourDetails, - HourDetailsFragment, IdentityProperties, InboundNatRule, - InboundNatRuleFragment, Lab, LabAnnouncementProperties, - LabAnnouncementPropertiesFragment, LabCost, LabCostDetailsProperties, LabCostSummaryProperties, LabFragment, LabResourceCostProperties, LabSupportProperties, - LabSupportPropertiesFragment, LabVirtualMachine, LabVirtualMachineCreationParameter, - LabVirtualMachineCreationParameterFragment, LabVirtualMachineFragment, LinuxOsInfo, - LinuxOsInfoFragment, NetworkInterfaceProperties, - NetworkInterfacePropertiesFragment, NotificationChannel, NotificationChannelFragment, NotificationChannelList, NotificationSettings, - NotificationSettingsFragment, NotifyParameters, ParametersValueFileInfo, PercentageCostThresholdProperties, Policy, PolicyFragment, Port, - PortFragment, Resource, Schedule, ScheduleCreationParameter, - ScheduleCreationParameterFragment, ScheduleFragment, Secret, SecretFragment, @@ -107,25 +81,17 @@ export { ServiceFabricFragment, ServiceRunner, SharedPublicIpAddressConfiguration, - SharedPublicIpAddressConfigurationFragment, Subnet, - SubnetFragment, SubnetOverride, - SubnetOverrideFragment, SubnetSharedPublicIpAddressConfiguration, - SubnetSharedPublicIpAddressConfigurationFragment, TargetCostProperties, UpdateResource, User, UserFragment, UserIdentity, - UserIdentityFragment, UserSecretStore, - UserSecretStoreFragment, VirtualNetwork, VirtualNetworkFragment, WeekDetails, - WeekDetailsFragment, - WindowsOsInfo, - WindowsOsInfoFragment + WindowsOsInfo } from "../models/mappers"; diff --git a/sdk/devtestlabs/arm-devtestlabs/src/models/operationsMappers.ts b/sdk/devtestlabs/arm-devtestlabs/src/models/operationsMappers.ts index 2ea848782dbd..47d83c598a5e 100644 --- a/sdk/devtestlabs/arm-devtestlabs/src/models/operationsMappers.ts +++ b/sdk/devtestlabs/arm-devtestlabs/src/models/operationsMappers.ts @@ -1,6 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is regenerated. diff --git a/sdk/devtestlabs/arm-devtestlabs/src/models/parameters.ts b/sdk/devtestlabs/arm-devtestlabs/src/models/parameters.ts index 3ba8b8e45ccc..c75e0034ebbd 100644 --- a/sdk/devtestlabs/arm-devtestlabs/src/models/parameters.ts +++ b/sdk/devtestlabs/arm-devtestlabs/src/models/parameters.ts @@ -1,7 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is diff --git a/sdk/devtestlabs/arm-devtestlabs/src/models/policiesMappers.ts b/sdk/devtestlabs/arm-devtestlabs/src/models/policiesMappers.ts index bfa35688c503..e4b7d7c90b8c 100644 --- a/sdk/devtestlabs/arm-devtestlabs/src/models/policiesMappers.ts +++ b/sdk/devtestlabs/arm-devtestlabs/src/models/policiesMappers.ts @@ -1,6 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is regenerated. @@ -11,21 +11,15 @@ export { ApplicableScheduleFragment, ArmTemplate, ArmTemplateParameterProperties, - ArmTemplateParameterPropertiesFragment, Artifact, ArtifactDeploymentStatusProperties, - ArtifactDeploymentStatusPropertiesFragment, ArtifactInstallProperties, - ArtifactInstallPropertiesFragment, ArtifactParameterProperties, - ArtifactParameterPropertiesFragment, ArtifactSource, ArtifactSourceFragment, AttachNewDataDiskOptions, - AttachNewDataDiskOptionsFragment, BaseResource, BulkCreationParameters, - BulkCreationParametersFragment, CloudError, ComputeDataDisk, ComputeVmInstanceViewStatus, @@ -34,71 +28,51 @@ export { CustomImage, CustomImageFragment, CustomImagePropertiesCustom, - CustomImagePropertiesCustomFragment, CustomImagePropertiesFromPlan, - CustomImagePropertiesFromPlanFragment, CustomImagePropertiesFromVm, - CustomImagePropertiesFromVmFragment, DataDiskProperties, - DataDiskPropertiesFragment, DataDiskStorageTypeInfo, - DataDiskStorageTypeInfoFragment, DayDetails, - DayDetailsFragment, Disk, DiskFragment, DtlEnvironment, DtlEnvironmentFragment, EnvironmentDeploymentProperties, - EnvironmentDeploymentPropertiesFragment, Event, - EventFragment, ExternalSubnet, Formula, FormulaFragment, FormulaPropertiesFromVm, - FormulaPropertiesFromVmFragment, GalleryImage, GalleryImageReference, - GalleryImageReferenceFragment, HourDetails, - HourDetailsFragment, IdentityProperties, InboundNatRule, - InboundNatRuleFragment, Lab, LabAnnouncementProperties, - LabAnnouncementPropertiesFragment, LabCost, LabCostDetailsProperties, LabCostSummaryProperties, LabFragment, LabResourceCostProperties, LabSupportProperties, - LabSupportPropertiesFragment, LabVirtualMachine, LabVirtualMachineCreationParameter, - LabVirtualMachineCreationParameterFragment, LabVirtualMachineFragment, LinuxOsInfo, - LinuxOsInfoFragment, NetworkInterfaceProperties, - NetworkInterfacePropertiesFragment, NotificationChannel, NotificationChannelFragment, NotificationSettings, - NotificationSettingsFragment, ParametersValueFileInfo, PercentageCostThresholdProperties, Policy, PolicyFragment, PolicyList, Port, - PortFragment, Resource, Schedule, ScheduleCreationParameter, - ScheduleCreationParameterFragment, ScheduleFragment, Secret, SecretFragment, @@ -106,25 +80,17 @@ export { ServiceFabricFragment, ServiceRunner, SharedPublicIpAddressConfiguration, - SharedPublicIpAddressConfigurationFragment, Subnet, - SubnetFragment, SubnetOverride, - SubnetOverrideFragment, SubnetSharedPublicIpAddressConfiguration, - SubnetSharedPublicIpAddressConfigurationFragment, TargetCostProperties, UpdateResource, User, UserFragment, UserIdentity, - UserIdentityFragment, UserSecretStore, - UserSecretStoreFragment, VirtualNetwork, VirtualNetworkFragment, WeekDetails, - WeekDetailsFragment, - WindowsOsInfo, - WindowsOsInfoFragment + WindowsOsInfo } from "../models/mappers"; diff --git a/sdk/devtestlabs/arm-devtestlabs/src/models/policySetsMappers.ts b/sdk/devtestlabs/arm-devtestlabs/src/models/policySetsMappers.ts index b504a82a986f..3d3000c8c4d3 100644 --- a/sdk/devtestlabs/arm-devtestlabs/src/models/policySetsMappers.ts +++ b/sdk/devtestlabs/arm-devtestlabs/src/models/policySetsMappers.ts @@ -1,6 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is regenerated. diff --git a/sdk/devtestlabs/arm-devtestlabs/src/models/providerOperationsMappers.ts b/sdk/devtestlabs/arm-devtestlabs/src/models/providerOperationsMappers.ts index 0e3a2c313781..922572295e93 100644 --- a/sdk/devtestlabs/arm-devtestlabs/src/models/providerOperationsMappers.ts +++ b/sdk/devtestlabs/arm-devtestlabs/src/models/providerOperationsMappers.ts @@ -1,6 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is regenerated. diff --git a/sdk/devtestlabs/arm-devtestlabs/src/models/schedulesMappers.ts b/sdk/devtestlabs/arm-devtestlabs/src/models/schedulesMappers.ts index 857fc155cbef..2a7d47168ebf 100644 --- a/sdk/devtestlabs/arm-devtestlabs/src/models/schedulesMappers.ts +++ b/sdk/devtestlabs/arm-devtestlabs/src/models/schedulesMappers.ts @@ -1,6 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is regenerated. @@ -11,21 +11,15 @@ export { ApplicableScheduleFragment, ArmTemplate, ArmTemplateParameterProperties, - ArmTemplateParameterPropertiesFragment, Artifact, ArtifactDeploymentStatusProperties, - ArtifactDeploymentStatusPropertiesFragment, ArtifactInstallProperties, - ArtifactInstallPropertiesFragment, ArtifactParameterProperties, - ArtifactParameterPropertiesFragment, ArtifactSource, ArtifactSourceFragment, AttachNewDataDiskOptions, - AttachNewDataDiskOptionsFragment, BaseResource, BulkCreationParameters, - BulkCreationParametersFragment, CloudError, ComputeDataDisk, ComputeVmInstanceViewStatus, @@ -34,70 +28,50 @@ export { CustomImage, CustomImageFragment, CustomImagePropertiesCustom, - CustomImagePropertiesCustomFragment, CustomImagePropertiesFromPlan, - CustomImagePropertiesFromPlanFragment, CustomImagePropertiesFromVm, - CustomImagePropertiesFromVmFragment, DataDiskProperties, - DataDiskPropertiesFragment, DataDiskStorageTypeInfo, - DataDiskStorageTypeInfoFragment, DayDetails, - DayDetailsFragment, Disk, DiskFragment, DtlEnvironment, DtlEnvironmentFragment, EnvironmentDeploymentProperties, - EnvironmentDeploymentPropertiesFragment, Event, - EventFragment, ExternalSubnet, Formula, FormulaFragment, FormulaPropertiesFromVm, - FormulaPropertiesFromVmFragment, GalleryImage, GalleryImageReference, - GalleryImageReferenceFragment, HourDetails, - HourDetailsFragment, IdentityProperties, InboundNatRule, - InboundNatRuleFragment, Lab, LabAnnouncementProperties, - LabAnnouncementPropertiesFragment, LabCost, LabCostDetailsProperties, LabCostSummaryProperties, LabFragment, LabResourceCostProperties, LabSupportProperties, - LabSupportPropertiesFragment, LabVirtualMachine, LabVirtualMachineCreationParameter, - LabVirtualMachineCreationParameterFragment, LabVirtualMachineFragment, LinuxOsInfo, - LinuxOsInfoFragment, NetworkInterfaceProperties, - NetworkInterfacePropertiesFragment, NotificationChannel, NotificationChannelFragment, NotificationSettings, - NotificationSettingsFragment, ParametersValueFileInfo, PercentageCostThresholdProperties, Policy, PolicyFragment, Port, - PortFragment, Resource, Schedule, ScheduleCreationParameter, - ScheduleCreationParameterFragment, ScheduleFragment, ScheduleList, Secret, @@ -106,25 +80,17 @@ export { ServiceFabricFragment, ServiceRunner, SharedPublicIpAddressConfiguration, - SharedPublicIpAddressConfigurationFragment, Subnet, - SubnetFragment, SubnetOverride, - SubnetOverrideFragment, SubnetSharedPublicIpAddressConfiguration, - SubnetSharedPublicIpAddressConfigurationFragment, TargetCostProperties, UpdateResource, User, UserFragment, UserIdentity, - UserIdentityFragment, UserSecretStore, - UserSecretStoreFragment, VirtualNetwork, VirtualNetworkFragment, WeekDetails, - WeekDetailsFragment, - WindowsOsInfo, - WindowsOsInfoFragment + WindowsOsInfo } from "../models/mappers"; diff --git a/sdk/devtestlabs/arm-devtestlabs/src/models/secretsMappers.ts b/sdk/devtestlabs/arm-devtestlabs/src/models/secretsMappers.ts index 423e8cbee700..e2de73bba436 100644 --- a/sdk/devtestlabs/arm-devtestlabs/src/models/secretsMappers.ts +++ b/sdk/devtestlabs/arm-devtestlabs/src/models/secretsMappers.ts @@ -1,6 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is regenerated. @@ -11,21 +11,15 @@ export { ApplicableScheduleFragment, ArmTemplate, ArmTemplateParameterProperties, - ArmTemplateParameterPropertiesFragment, Artifact, ArtifactDeploymentStatusProperties, - ArtifactDeploymentStatusPropertiesFragment, ArtifactInstallProperties, - ArtifactInstallPropertiesFragment, ArtifactParameterProperties, - ArtifactParameterPropertiesFragment, ArtifactSource, ArtifactSourceFragment, AttachNewDataDiskOptions, - AttachNewDataDiskOptionsFragment, BaseResource, BulkCreationParameters, - BulkCreationParametersFragment, CloudError, ComputeDataDisk, ComputeVmInstanceViewStatus, @@ -34,70 +28,50 @@ export { CustomImage, CustomImageFragment, CustomImagePropertiesCustom, - CustomImagePropertiesCustomFragment, CustomImagePropertiesFromPlan, - CustomImagePropertiesFromPlanFragment, CustomImagePropertiesFromVm, - CustomImagePropertiesFromVmFragment, DataDiskProperties, - DataDiskPropertiesFragment, DataDiskStorageTypeInfo, - DataDiskStorageTypeInfoFragment, DayDetails, - DayDetailsFragment, Disk, DiskFragment, DtlEnvironment, DtlEnvironmentFragment, EnvironmentDeploymentProperties, - EnvironmentDeploymentPropertiesFragment, Event, - EventFragment, ExternalSubnet, Formula, FormulaFragment, FormulaPropertiesFromVm, - FormulaPropertiesFromVmFragment, GalleryImage, GalleryImageReference, - GalleryImageReferenceFragment, HourDetails, - HourDetailsFragment, IdentityProperties, InboundNatRule, - InboundNatRuleFragment, Lab, LabAnnouncementProperties, - LabAnnouncementPropertiesFragment, LabCost, LabCostDetailsProperties, LabCostSummaryProperties, LabFragment, LabResourceCostProperties, LabSupportProperties, - LabSupportPropertiesFragment, LabVirtualMachine, LabVirtualMachineCreationParameter, - LabVirtualMachineCreationParameterFragment, LabVirtualMachineFragment, LinuxOsInfo, - LinuxOsInfoFragment, NetworkInterfaceProperties, - NetworkInterfacePropertiesFragment, NotificationChannel, NotificationChannelFragment, NotificationSettings, - NotificationSettingsFragment, ParametersValueFileInfo, PercentageCostThresholdProperties, Policy, PolicyFragment, Port, - PortFragment, Resource, Schedule, ScheduleCreationParameter, - ScheduleCreationParameterFragment, ScheduleFragment, Secret, SecretFragment, @@ -106,25 +80,17 @@ export { ServiceFabricFragment, ServiceRunner, SharedPublicIpAddressConfiguration, - SharedPublicIpAddressConfigurationFragment, Subnet, - SubnetFragment, SubnetOverride, - SubnetOverrideFragment, SubnetSharedPublicIpAddressConfiguration, - SubnetSharedPublicIpAddressConfigurationFragment, TargetCostProperties, UpdateResource, User, UserFragment, UserIdentity, - UserIdentityFragment, UserSecretStore, - UserSecretStoreFragment, VirtualNetwork, VirtualNetworkFragment, WeekDetails, - WeekDetailsFragment, - WindowsOsInfo, - WindowsOsInfoFragment + WindowsOsInfo } from "../models/mappers"; diff --git a/sdk/devtestlabs/arm-devtestlabs/src/models/serviceFabricSchedulesMappers.ts b/sdk/devtestlabs/arm-devtestlabs/src/models/serviceFabricSchedulesMappers.ts index 857fc155cbef..2a7d47168ebf 100644 --- a/sdk/devtestlabs/arm-devtestlabs/src/models/serviceFabricSchedulesMappers.ts +++ b/sdk/devtestlabs/arm-devtestlabs/src/models/serviceFabricSchedulesMappers.ts @@ -1,6 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is regenerated. @@ -11,21 +11,15 @@ export { ApplicableScheduleFragment, ArmTemplate, ArmTemplateParameterProperties, - ArmTemplateParameterPropertiesFragment, Artifact, ArtifactDeploymentStatusProperties, - ArtifactDeploymentStatusPropertiesFragment, ArtifactInstallProperties, - ArtifactInstallPropertiesFragment, ArtifactParameterProperties, - ArtifactParameterPropertiesFragment, ArtifactSource, ArtifactSourceFragment, AttachNewDataDiskOptions, - AttachNewDataDiskOptionsFragment, BaseResource, BulkCreationParameters, - BulkCreationParametersFragment, CloudError, ComputeDataDisk, ComputeVmInstanceViewStatus, @@ -34,70 +28,50 @@ export { CustomImage, CustomImageFragment, CustomImagePropertiesCustom, - CustomImagePropertiesCustomFragment, CustomImagePropertiesFromPlan, - CustomImagePropertiesFromPlanFragment, CustomImagePropertiesFromVm, - CustomImagePropertiesFromVmFragment, DataDiskProperties, - DataDiskPropertiesFragment, DataDiskStorageTypeInfo, - DataDiskStorageTypeInfoFragment, DayDetails, - DayDetailsFragment, Disk, DiskFragment, DtlEnvironment, DtlEnvironmentFragment, EnvironmentDeploymentProperties, - EnvironmentDeploymentPropertiesFragment, Event, - EventFragment, ExternalSubnet, Formula, FormulaFragment, FormulaPropertiesFromVm, - FormulaPropertiesFromVmFragment, GalleryImage, GalleryImageReference, - GalleryImageReferenceFragment, HourDetails, - HourDetailsFragment, IdentityProperties, InboundNatRule, - InboundNatRuleFragment, Lab, LabAnnouncementProperties, - LabAnnouncementPropertiesFragment, LabCost, LabCostDetailsProperties, LabCostSummaryProperties, LabFragment, LabResourceCostProperties, LabSupportProperties, - LabSupportPropertiesFragment, LabVirtualMachine, LabVirtualMachineCreationParameter, - LabVirtualMachineCreationParameterFragment, LabVirtualMachineFragment, LinuxOsInfo, - LinuxOsInfoFragment, NetworkInterfaceProperties, - NetworkInterfacePropertiesFragment, NotificationChannel, NotificationChannelFragment, NotificationSettings, - NotificationSettingsFragment, ParametersValueFileInfo, PercentageCostThresholdProperties, Policy, PolicyFragment, Port, - PortFragment, Resource, Schedule, ScheduleCreationParameter, - ScheduleCreationParameterFragment, ScheduleFragment, ScheduleList, Secret, @@ -106,25 +80,17 @@ export { ServiceFabricFragment, ServiceRunner, SharedPublicIpAddressConfiguration, - SharedPublicIpAddressConfigurationFragment, Subnet, - SubnetFragment, SubnetOverride, - SubnetOverrideFragment, SubnetSharedPublicIpAddressConfiguration, - SubnetSharedPublicIpAddressConfigurationFragment, TargetCostProperties, UpdateResource, User, UserFragment, UserIdentity, - UserIdentityFragment, UserSecretStore, - UserSecretStoreFragment, VirtualNetwork, VirtualNetworkFragment, WeekDetails, - WeekDetailsFragment, - WindowsOsInfo, - WindowsOsInfoFragment + WindowsOsInfo } from "../models/mappers"; diff --git a/sdk/devtestlabs/arm-devtestlabs/src/models/serviceFabricsMappers.ts b/sdk/devtestlabs/arm-devtestlabs/src/models/serviceFabricsMappers.ts index d0f3530182c3..a02445d35375 100644 --- a/sdk/devtestlabs/arm-devtestlabs/src/models/serviceFabricsMappers.ts +++ b/sdk/devtestlabs/arm-devtestlabs/src/models/serviceFabricsMappers.ts @@ -1,6 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is regenerated. @@ -11,21 +11,15 @@ export { ApplicableScheduleFragment, ArmTemplate, ArmTemplateParameterProperties, - ArmTemplateParameterPropertiesFragment, Artifact, ArtifactDeploymentStatusProperties, - ArtifactDeploymentStatusPropertiesFragment, ArtifactInstallProperties, - ArtifactInstallPropertiesFragment, ArtifactParameterProperties, - ArtifactParameterPropertiesFragment, ArtifactSource, ArtifactSourceFragment, AttachNewDataDiskOptions, - AttachNewDataDiskOptionsFragment, BaseResource, BulkCreationParameters, - BulkCreationParametersFragment, CloudError, ComputeDataDisk, ComputeVmInstanceViewStatus, @@ -34,70 +28,50 @@ export { CustomImage, CustomImageFragment, CustomImagePropertiesCustom, - CustomImagePropertiesCustomFragment, CustomImagePropertiesFromPlan, - CustomImagePropertiesFromPlanFragment, CustomImagePropertiesFromVm, - CustomImagePropertiesFromVmFragment, DataDiskProperties, - DataDiskPropertiesFragment, DataDiskStorageTypeInfo, - DataDiskStorageTypeInfoFragment, DayDetails, - DayDetailsFragment, Disk, DiskFragment, DtlEnvironment, DtlEnvironmentFragment, EnvironmentDeploymentProperties, - EnvironmentDeploymentPropertiesFragment, Event, - EventFragment, ExternalSubnet, Formula, FormulaFragment, FormulaPropertiesFromVm, - FormulaPropertiesFromVmFragment, GalleryImage, GalleryImageReference, - GalleryImageReferenceFragment, HourDetails, - HourDetailsFragment, IdentityProperties, InboundNatRule, - InboundNatRuleFragment, Lab, LabAnnouncementProperties, - LabAnnouncementPropertiesFragment, LabCost, LabCostDetailsProperties, LabCostSummaryProperties, LabFragment, LabResourceCostProperties, LabSupportProperties, - LabSupportPropertiesFragment, LabVirtualMachine, LabVirtualMachineCreationParameter, - LabVirtualMachineCreationParameterFragment, LabVirtualMachineFragment, LinuxOsInfo, - LinuxOsInfoFragment, NetworkInterfaceProperties, - NetworkInterfacePropertiesFragment, NotificationChannel, NotificationChannelFragment, NotificationSettings, - NotificationSettingsFragment, ParametersValueFileInfo, PercentageCostThresholdProperties, Policy, PolicyFragment, Port, - PortFragment, Resource, Schedule, ScheduleCreationParameter, - ScheduleCreationParameterFragment, ScheduleFragment, Secret, SecretFragment, @@ -106,25 +80,17 @@ export { ServiceFabricList, ServiceRunner, SharedPublicIpAddressConfiguration, - SharedPublicIpAddressConfigurationFragment, Subnet, - SubnetFragment, SubnetOverride, - SubnetOverrideFragment, SubnetSharedPublicIpAddressConfiguration, - SubnetSharedPublicIpAddressConfigurationFragment, TargetCostProperties, UpdateResource, User, UserFragment, UserIdentity, - UserIdentityFragment, UserSecretStore, - UserSecretStoreFragment, VirtualNetwork, VirtualNetworkFragment, WeekDetails, - WeekDetailsFragment, - WindowsOsInfo, - WindowsOsInfoFragment + WindowsOsInfo } from "../models/mappers"; diff --git a/sdk/devtestlabs/arm-devtestlabs/src/models/serviceRunnersMappers.ts b/sdk/devtestlabs/arm-devtestlabs/src/models/serviceRunnersMappers.ts index 320d4fa5459e..88dc56285b50 100644 --- a/sdk/devtestlabs/arm-devtestlabs/src/models/serviceRunnersMappers.ts +++ b/sdk/devtestlabs/arm-devtestlabs/src/models/serviceRunnersMappers.ts @@ -1,6 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is regenerated. @@ -65,7 +65,6 @@ export { Secret, ServiceFabric, ServiceRunner, - ServiceRunnerList, SharedPublicIpAddressConfiguration, Subnet, SubnetOverride, diff --git a/sdk/devtestlabs/arm-devtestlabs/src/models/usersMappers.ts b/sdk/devtestlabs/arm-devtestlabs/src/models/usersMappers.ts index 58a07b7aa6e4..bd96f2d1ac55 100644 --- a/sdk/devtestlabs/arm-devtestlabs/src/models/usersMappers.ts +++ b/sdk/devtestlabs/arm-devtestlabs/src/models/usersMappers.ts @@ -1,6 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is regenerated. @@ -11,21 +11,15 @@ export { ApplicableScheduleFragment, ArmTemplate, ArmTemplateParameterProperties, - ArmTemplateParameterPropertiesFragment, Artifact, ArtifactDeploymentStatusProperties, - ArtifactDeploymentStatusPropertiesFragment, ArtifactInstallProperties, - ArtifactInstallPropertiesFragment, ArtifactParameterProperties, - ArtifactParameterPropertiesFragment, ArtifactSource, ArtifactSourceFragment, AttachNewDataDiskOptions, - AttachNewDataDiskOptionsFragment, BaseResource, BulkCreationParameters, - BulkCreationParametersFragment, CloudError, ComputeDataDisk, ComputeVmInstanceViewStatus, @@ -34,70 +28,50 @@ export { CustomImage, CustomImageFragment, CustomImagePropertiesCustom, - CustomImagePropertiesCustomFragment, CustomImagePropertiesFromPlan, - CustomImagePropertiesFromPlanFragment, CustomImagePropertiesFromVm, - CustomImagePropertiesFromVmFragment, DataDiskProperties, - DataDiskPropertiesFragment, DataDiskStorageTypeInfo, - DataDiskStorageTypeInfoFragment, DayDetails, - DayDetailsFragment, Disk, DiskFragment, DtlEnvironment, DtlEnvironmentFragment, EnvironmentDeploymentProperties, - EnvironmentDeploymentPropertiesFragment, Event, - EventFragment, ExternalSubnet, Formula, FormulaFragment, FormulaPropertiesFromVm, - FormulaPropertiesFromVmFragment, GalleryImage, GalleryImageReference, - GalleryImageReferenceFragment, HourDetails, - HourDetailsFragment, IdentityProperties, InboundNatRule, - InboundNatRuleFragment, Lab, LabAnnouncementProperties, - LabAnnouncementPropertiesFragment, LabCost, LabCostDetailsProperties, LabCostSummaryProperties, LabFragment, LabResourceCostProperties, LabSupportProperties, - LabSupportPropertiesFragment, LabVirtualMachine, LabVirtualMachineCreationParameter, - LabVirtualMachineCreationParameterFragment, LabVirtualMachineFragment, LinuxOsInfo, - LinuxOsInfoFragment, NetworkInterfaceProperties, - NetworkInterfacePropertiesFragment, NotificationChannel, NotificationChannelFragment, NotificationSettings, - NotificationSettingsFragment, ParametersValueFileInfo, PercentageCostThresholdProperties, Policy, PolicyFragment, Port, - PortFragment, Resource, Schedule, ScheduleCreationParameter, - ScheduleCreationParameterFragment, ScheduleFragment, Secret, SecretFragment, @@ -105,26 +79,18 @@ export { ServiceFabricFragment, ServiceRunner, SharedPublicIpAddressConfiguration, - SharedPublicIpAddressConfigurationFragment, Subnet, - SubnetFragment, SubnetOverride, - SubnetOverrideFragment, SubnetSharedPublicIpAddressConfiguration, - SubnetSharedPublicIpAddressConfigurationFragment, TargetCostProperties, UpdateResource, User, UserFragment, UserIdentity, - UserIdentityFragment, UserList, UserSecretStore, - UserSecretStoreFragment, VirtualNetwork, VirtualNetworkFragment, WeekDetails, - WeekDetailsFragment, - WindowsOsInfo, - WindowsOsInfoFragment + WindowsOsInfo } from "../models/mappers"; diff --git a/sdk/devtestlabs/arm-devtestlabs/src/models/virtualMachineSchedulesMappers.ts b/sdk/devtestlabs/arm-devtestlabs/src/models/virtualMachineSchedulesMappers.ts index 857fc155cbef..2a7d47168ebf 100644 --- a/sdk/devtestlabs/arm-devtestlabs/src/models/virtualMachineSchedulesMappers.ts +++ b/sdk/devtestlabs/arm-devtestlabs/src/models/virtualMachineSchedulesMappers.ts @@ -1,6 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is regenerated. @@ -11,21 +11,15 @@ export { ApplicableScheduleFragment, ArmTemplate, ArmTemplateParameterProperties, - ArmTemplateParameterPropertiesFragment, Artifact, ArtifactDeploymentStatusProperties, - ArtifactDeploymentStatusPropertiesFragment, ArtifactInstallProperties, - ArtifactInstallPropertiesFragment, ArtifactParameterProperties, - ArtifactParameterPropertiesFragment, ArtifactSource, ArtifactSourceFragment, AttachNewDataDiskOptions, - AttachNewDataDiskOptionsFragment, BaseResource, BulkCreationParameters, - BulkCreationParametersFragment, CloudError, ComputeDataDisk, ComputeVmInstanceViewStatus, @@ -34,70 +28,50 @@ export { CustomImage, CustomImageFragment, CustomImagePropertiesCustom, - CustomImagePropertiesCustomFragment, CustomImagePropertiesFromPlan, - CustomImagePropertiesFromPlanFragment, CustomImagePropertiesFromVm, - CustomImagePropertiesFromVmFragment, DataDiskProperties, - DataDiskPropertiesFragment, DataDiskStorageTypeInfo, - DataDiskStorageTypeInfoFragment, DayDetails, - DayDetailsFragment, Disk, DiskFragment, DtlEnvironment, DtlEnvironmentFragment, EnvironmentDeploymentProperties, - EnvironmentDeploymentPropertiesFragment, Event, - EventFragment, ExternalSubnet, Formula, FormulaFragment, FormulaPropertiesFromVm, - FormulaPropertiesFromVmFragment, GalleryImage, GalleryImageReference, - GalleryImageReferenceFragment, HourDetails, - HourDetailsFragment, IdentityProperties, InboundNatRule, - InboundNatRuleFragment, Lab, LabAnnouncementProperties, - LabAnnouncementPropertiesFragment, LabCost, LabCostDetailsProperties, LabCostSummaryProperties, LabFragment, LabResourceCostProperties, LabSupportProperties, - LabSupportPropertiesFragment, LabVirtualMachine, LabVirtualMachineCreationParameter, - LabVirtualMachineCreationParameterFragment, LabVirtualMachineFragment, LinuxOsInfo, - LinuxOsInfoFragment, NetworkInterfaceProperties, - NetworkInterfacePropertiesFragment, NotificationChannel, NotificationChannelFragment, NotificationSettings, - NotificationSettingsFragment, ParametersValueFileInfo, PercentageCostThresholdProperties, Policy, PolicyFragment, Port, - PortFragment, Resource, Schedule, ScheduleCreationParameter, - ScheduleCreationParameterFragment, ScheduleFragment, ScheduleList, Secret, @@ -106,25 +80,17 @@ export { ServiceFabricFragment, ServiceRunner, SharedPublicIpAddressConfiguration, - SharedPublicIpAddressConfigurationFragment, Subnet, - SubnetFragment, SubnetOverride, - SubnetOverrideFragment, SubnetSharedPublicIpAddressConfiguration, - SubnetSharedPublicIpAddressConfigurationFragment, TargetCostProperties, UpdateResource, User, UserFragment, UserIdentity, - UserIdentityFragment, UserSecretStore, - UserSecretStoreFragment, VirtualNetwork, VirtualNetworkFragment, WeekDetails, - WeekDetailsFragment, - WindowsOsInfo, - WindowsOsInfoFragment + WindowsOsInfo } from "../models/mappers"; diff --git a/sdk/devtestlabs/arm-devtestlabs/src/models/virtualMachinesMappers.ts b/sdk/devtestlabs/arm-devtestlabs/src/models/virtualMachinesMappers.ts index 01e0bed10615..9f2f092b786e 100644 --- a/sdk/devtestlabs/arm-devtestlabs/src/models/virtualMachinesMappers.ts +++ b/sdk/devtestlabs/arm-devtestlabs/src/models/virtualMachinesMappers.ts @@ -1,6 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is regenerated. @@ -12,21 +12,15 @@ export { ApplyArtifactsRequest, ArmTemplate, ArmTemplateParameterProperties, - ArmTemplateParameterPropertiesFragment, Artifact, ArtifactDeploymentStatusProperties, - ArtifactDeploymentStatusPropertiesFragment, ArtifactInstallProperties, - ArtifactInstallPropertiesFragment, ArtifactParameterProperties, - ArtifactParameterPropertiesFragment, ArtifactSource, ArtifactSourceFragment, AttachNewDataDiskOptions, - AttachNewDataDiskOptionsFragment, BaseResource, BulkCreationParameters, - BulkCreationParametersFragment, CloudError, ComputeDataDisk, ComputeVmInstanceViewStatus, @@ -35,74 +29,54 @@ export { CustomImage, CustomImageFragment, CustomImagePropertiesCustom, - CustomImagePropertiesCustomFragment, CustomImagePropertiesFromPlan, - CustomImagePropertiesFromPlanFragment, CustomImagePropertiesFromVm, - CustomImagePropertiesFromVmFragment, DataDiskProperties, - DataDiskPropertiesFragment, DataDiskStorageTypeInfo, - DataDiskStorageTypeInfoFragment, DayDetails, - DayDetailsFragment, DetachDataDiskProperties, Disk, DiskFragment, DtlEnvironment, DtlEnvironmentFragment, EnvironmentDeploymentProperties, - EnvironmentDeploymentPropertiesFragment, Event, - EventFragment, ExternalSubnet, Formula, FormulaFragment, FormulaPropertiesFromVm, - FormulaPropertiesFromVmFragment, GalleryImage, GalleryImageReference, - GalleryImageReferenceFragment, HourDetails, - HourDetailsFragment, IdentityProperties, InboundNatRule, - InboundNatRuleFragment, Lab, LabAnnouncementProperties, - LabAnnouncementPropertiesFragment, LabCost, LabCostDetailsProperties, LabCostSummaryProperties, LabFragment, LabResourceCostProperties, LabSupportProperties, - LabSupportPropertiesFragment, LabVirtualMachine, LabVirtualMachineCreationParameter, - LabVirtualMachineCreationParameterFragment, LabVirtualMachineFragment, LabVirtualMachineList, LinuxOsInfo, - LinuxOsInfoFragment, NetworkInterfaceProperties, - NetworkInterfacePropertiesFragment, NotificationChannel, NotificationChannelFragment, NotificationSettings, - NotificationSettingsFragment, ParametersValueFileInfo, PercentageCostThresholdProperties, Policy, PolicyFragment, Port, - PortFragment, RdpConnection, ResizeLabVirtualMachineProperties, Resource, Schedule, ScheduleCreationParameter, - ScheduleCreationParameterFragment, ScheduleFragment, Secret, SecretFragment, @@ -110,25 +84,17 @@ export { ServiceFabricFragment, ServiceRunner, SharedPublicIpAddressConfiguration, - SharedPublicIpAddressConfigurationFragment, Subnet, - SubnetFragment, SubnetOverride, - SubnetOverrideFragment, SubnetSharedPublicIpAddressConfiguration, - SubnetSharedPublicIpAddressConfigurationFragment, TargetCostProperties, UpdateResource, User, UserFragment, UserIdentity, - UserIdentityFragment, UserSecretStore, - UserSecretStoreFragment, VirtualNetwork, VirtualNetworkFragment, WeekDetails, - WeekDetailsFragment, - WindowsOsInfo, - WindowsOsInfoFragment + WindowsOsInfo } from "../models/mappers"; diff --git a/sdk/devtestlabs/arm-devtestlabs/src/models/virtualNetworksMappers.ts b/sdk/devtestlabs/arm-devtestlabs/src/models/virtualNetworksMappers.ts index a7d4f33a1886..2aaa1884dfcb 100644 --- a/sdk/devtestlabs/arm-devtestlabs/src/models/virtualNetworksMappers.ts +++ b/sdk/devtestlabs/arm-devtestlabs/src/models/virtualNetworksMappers.ts @@ -1,6 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is regenerated. @@ -11,21 +11,15 @@ export { ApplicableScheduleFragment, ArmTemplate, ArmTemplateParameterProperties, - ArmTemplateParameterPropertiesFragment, Artifact, ArtifactDeploymentStatusProperties, - ArtifactDeploymentStatusPropertiesFragment, ArtifactInstallProperties, - ArtifactInstallPropertiesFragment, ArtifactParameterProperties, - ArtifactParameterPropertiesFragment, ArtifactSource, ArtifactSourceFragment, AttachNewDataDiskOptions, - AttachNewDataDiskOptionsFragment, BaseResource, BulkCreationParameters, - BulkCreationParametersFragment, CloudError, ComputeDataDisk, ComputeVmInstanceViewStatus, @@ -34,70 +28,50 @@ export { CustomImage, CustomImageFragment, CustomImagePropertiesCustom, - CustomImagePropertiesCustomFragment, CustomImagePropertiesFromPlan, - CustomImagePropertiesFromPlanFragment, CustomImagePropertiesFromVm, - CustomImagePropertiesFromVmFragment, DataDiskProperties, - DataDiskPropertiesFragment, DataDiskStorageTypeInfo, - DataDiskStorageTypeInfoFragment, DayDetails, - DayDetailsFragment, Disk, DiskFragment, DtlEnvironment, DtlEnvironmentFragment, EnvironmentDeploymentProperties, - EnvironmentDeploymentPropertiesFragment, Event, - EventFragment, ExternalSubnet, Formula, FormulaFragment, FormulaPropertiesFromVm, - FormulaPropertiesFromVmFragment, GalleryImage, GalleryImageReference, - GalleryImageReferenceFragment, HourDetails, - HourDetailsFragment, IdentityProperties, InboundNatRule, - InboundNatRuleFragment, Lab, LabAnnouncementProperties, - LabAnnouncementPropertiesFragment, LabCost, LabCostDetailsProperties, LabCostSummaryProperties, LabFragment, LabResourceCostProperties, LabSupportProperties, - LabSupportPropertiesFragment, LabVirtualMachine, LabVirtualMachineCreationParameter, - LabVirtualMachineCreationParameterFragment, LabVirtualMachineFragment, LinuxOsInfo, - LinuxOsInfoFragment, NetworkInterfaceProperties, - NetworkInterfacePropertiesFragment, NotificationChannel, NotificationChannelFragment, NotificationSettings, - NotificationSettingsFragment, ParametersValueFileInfo, PercentageCostThresholdProperties, Policy, PolicyFragment, Port, - PortFragment, Resource, Schedule, ScheduleCreationParameter, - ScheduleCreationParameterFragment, ScheduleFragment, Secret, SecretFragment, @@ -105,26 +79,18 @@ export { ServiceFabricFragment, ServiceRunner, SharedPublicIpAddressConfiguration, - SharedPublicIpAddressConfigurationFragment, Subnet, - SubnetFragment, SubnetOverride, - SubnetOverrideFragment, SubnetSharedPublicIpAddressConfiguration, - SubnetSharedPublicIpAddressConfigurationFragment, TargetCostProperties, UpdateResource, User, UserFragment, UserIdentity, - UserIdentityFragment, UserSecretStore, - UserSecretStoreFragment, VirtualNetwork, VirtualNetworkFragment, VirtualNetworkList, WeekDetails, - WeekDetailsFragment, - WindowsOsInfo, - WindowsOsInfoFragment + WindowsOsInfo } from "../models/mappers"; diff --git a/sdk/devtestlabs/arm-devtestlabs/src/operations/armTemplates.ts b/sdk/devtestlabs/arm-devtestlabs/src/operations/armTemplates.ts index 321013ad7c50..070937b46278 100644 --- a/sdk/devtestlabs/arm-devtestlabs/src/operations/armTemplates.ts +++ b/sdk/devtestlabs/arm-devtestlabs/src/operations/armTemplates.ts @@ -1,7 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is @@ -67,7 +66,7 @@ export class ArmTemplates { * @param resourceGroupName The name of the resource group. * @param labName The name of the lab. * @param artifactSourceName The name of the artifact source. - * @param name The name of the azure Resource Manager template. + * @param name The name of the azure resource manager template. * @param [options] The optional parameters * @returns Promise */ @@ -76,7 +75,7 @@ export class ArmTemplates { * @param resourceGroupName The name of the resource group. * @param labName The name of the lab. * @param artifactSourceName The name of the artifact source. - * @param name The name of the azure Resource Manager template. + * @param name The name of the azure resource manager template. * @param callback The callback */ get(resourceGroupName: string, labName: string, artifactSourceName: string, name: string, callback: msRest.ServiceCallback): void; @@ -84,7 +83,7 @@ export class ArmTemplates { * @param resourceGroupName The name of the resource group. * @param labName The name of the lab. * @param artifactSourceName The name of the artifact source. - * @param name The name of the azure Resource Manager template. + * @param name The name of the azure resource manager template. * @param options The optional parameters * @param callback The callback */ @@ -108,7 +107,7 @@ export class ArmTemplates { * @param [options] The optional parameters * @returns Promise */ - listNext(nextPageLink: string, options?: msRest.RequestOptionsBase): Promise; + listNext(nextPageLink: string, options?: Models.ArmTemplatesListNextOptionalParams): Promise; /** * @param nextPageLink The NextLink from the previous successful call to List operation. * @param callback The callback @@ -119,8 +118,8 @@ export class ArmTemplates { * @param options The optional parameters * @param callback The callback */ - listNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + listNext(nextPageLink: string, options: Models.ArmTemplatesListNextOptionalParams, callback: msRest.ServiceCallback): void; + listNext(nextPageLink: string, options?: Models.ArmTemplatesListNextOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, @@ -198,6 +197,13 @@ const listNextOperationSpec: msRest.OperationSpec = { urlParameters: [ Parameters.nextPageLink ], + queryParameters: [ + Parameters.expand, + Parameters.filter, + Parameters.top, + Parameters.orderby, + Parameters.apiVersion + ], headerParameters: [ Parameters.acceptLanguage ], diff --git a/sdk/devtestlabs/arm-devtestlabs/src/operations/artifactSources.ts b/sdk/devtestlabs/arm-devtestlabs/src/operations/artifactSources.ts index 0820c40006db..9554e03420be 100644 --- a/sdk/devtestlabs/arm-devtestlabs/src/operations/artifactSources.ts +++ b/sdk/devtestlabs/arm-devtestlabs/src/operations/artifactSources.ts @@ -1,7 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is @@ -171,7 +170,7 @@ export class ArtifactSources { } /** - * Modify properties of artifact sources. + * Allows modifying tags of artifact sources. All other properties will be ignored. * @param resourceGroupName The name of the resource group. * @param labName The name of the lab. * @param name The name of the artifact source. @@ -216,7 +215,7 @@ export class ArtifactSources { * @param [options] The optional parameters * @returns Promise */ - listNext(nextPageLink: string, options?: msRest.RequestOptionsBase): Promise; + listNext(nextPageLink: string, options?: Models.ArtifactSourcesListNextOptionalParams): Promise; /** * @param nextPageLink The NextLink from the previous successful call to List operation. * @param callback The callback @@ -227,8 +226,8 @@ export class ArtifactSources { * @param options The optional parameters * @param callback The callback */ - listNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + listNext(nextPageLink: string, options: Models.ArtifactSourcesListNextOptionalParams, callback: msRest.ServiceCallback): void; + listNext(nextPageLink: string, options?: Models.ArtifactSourcesListNextOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, @@ -398,6 +397,13 @@ const listNextOperationSpec: msRest.OperationSpec = { urlParameters: [ Parameters.nextPageLink ], + queryParameters: [ + Parameters.expand, + Parameters.filter, + Parameters.top, + Parameters.orderby, + Parameters.apiVersion + ], headerParameters: [ Parameters.acceptLanguage ], diff --git a/sdk/devtestlabs/arm-devtestlabs/src/operations/artifacts.ts b/sdk/devtestlabs/arm-devtestlabs/src/operations/artifacts.ts index 95452d5acfee..69904946a883 100644 --- a/sdk/devtestlabs/arm-devtestlabs/src/operations/artifacts.ts +++ b/sdk/devtestlabs/arm-devtestlabs/src/operations/artifacts.ts @@ -1,7 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is @@ -156,7 +155,7 @@ export class Artifacts { * @param [options] The optional parameters * @returns Promise */ - listNext(nextPageLink: string, options?: msRest.RequestOptionsBase): Promise; + listNext(nextPageLink: string, options?: Models.ArtifactsListNextOptionalParams): Promise; /** * @param nextPageLink The NextLink from the previous successful call to List operation. * @param callback The callback @@ -167,8 +166,8 @@ export class Artifacts { * @param options The optional parameters * @param callback The callback */ - listNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + listNext(nextPageLink: string, options: Models.ArtifactsListNextOptionalParams, callback: msRest.ServiceCallback): void; + listNext(nextPageLink: string, options?: Models.ArtifactsListNextOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, @@ -280,6 +279,13 @@ const listNextOperationSpec: msRest.OperationSpec = { urlParameters: [ Parameters.nextPageLink ], + queryParameters: [ + Parameters.expand, + Parameters.filter, + Parameters.top, + Parameters.orderby, + Parameters.apiVersion + ], headerParameters: [ Parameters.acceptLanguage ], diff --git a/sdk/devtestlabs/arm-devtestlabs/src/operations/costs.ts b/sdk/devtestlabs/arm-devtestlabs/src/operations/costs.ts index 16fcc5dab183..84c72f84a03b 100644 --- a/sdk/devtestlabs/arm-devtestlabs/src/operations/costs.ts +++ b/sdk/devtestlabs/arm-devtestlabs/src/operations/costs.ts @@ -1,7 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is diff --git a/sdk/devtestlabs/arm-devtestlabs/src/operations/customImages.ts b/sdk/devtestlabs/arm-devtestlabs/src/operations/customImages.ts index 4e20e6b45d3d..78f4e7d1e9a1 100644 --- a/sdk/devtestlabs/arm-devtestlabs/src/operations/customImages.ts +++ b/sdk/devtestlabs/arm-devtestlabs/src/operations/customImages.ts @@ -1,7 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is @@ -123,7 +122,7 @@ export class CustomImages { } /** - * Modify properties of custom images. + * Allows modifying tags of custom images. All other properties will be ignored. * @param resourceGroupName The name of the resource group. * @param labName The name of the lab. * @param name The name of the custom image. @@ -210,7 +209,7 @@ export class CustomImages { * @param [options] The optional parameters * @returns Promise */ - listNext(nextPageLink: string, options?: msRest.RequestOptionsBase): Promise; + listNext(nextPageLink: string, options?: Models.CustomImagesListNextOptionalParams): Promise; /** * @param nextPageLink The NextLink from the previous successful call to List operation. * @param callback The callback @@ -221,8 +220,8 @@ export class CustomImages { * @param options The optional parameters * @param callback The callback */ - listNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + listNext(nextPageLink: string, options: Models.CustomImagesListNextOptionalParams, callback: msRest.ServiceCallback): void; + listNext(nextPageLink: string, options?: Models.CustomImagesListNextOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, @@ -393,6 +392,13 @@ const listNextOperationSpec: msRest.OperationSpec = { urlParameters: [ Parameters.nextPageLink ], + queryParameters: [ + Parameters.expand, + Parameters.filter, + Parameters.top, + Parameters.orderby, + Parameters.apiVersion + ], headerParameters: [ Parameters.acceptLanguage ], diff --git a/sdk/devtestlabs/arm-devtestlabs/src/operations/disks.ts b/sdk/devtestlabs/arm-devtestlabs/src/operations/disks.ts index ba32267a81d3..ee6fe5ec3782 100644 --- a/sdk/devtestlabs/arm-devtestlabs/src/operations/disks.ts +++ b/sdk/devtestlabs/arm-devtestlabs/src/operations/disks.ts @@ -1,7 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is @@ -133,7 +132,7 @@ export class Disks { } /** - * Modify properties of disks. + * Allows modifying tags of disks. All other properties will be ignored. * @param resourceGroupName The name of the resource group. * @param labName The name of the lab. * @param userName The name of the user profile. @@ -310,7 +309,7 @@ export class Disks { * @param [options] The optional parameters * @returns Promise */ - listNext(nextPageLink: string, options?: msRest.RequestOptionsBase): Promise; + listNext(nextPageLink: string, options?: Models.DisksListNextOptionalParams): Promise; /** * @param nextPageLink The NextLink from the previous successful call to List operation. * @param callback The callback @@ -321,8 +320,8 @@ export class Disks { * @param options The optional parameters * @param callback The callback */ - listNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + listNext(nextPageLink: string, options: Models.DisksListNextOptionalParams, callback: msRest.ServiceCallback): void; + listNext(nextPageLink: string, options?: Models.DisksListNextOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, @@ -564,6 +563,13 @@ const listNextOperationSpec: msRest.OperationSpec = { urlParameters: [ Parameters.nextPageLink ], + queryParameters: [ + Parameters.expand, + Parameters.filter, + Parameters.top, + Parameters.orderby, + Parameters.apiVersion + ], headerParameters: [ Parameters.acceptLanguage ], diff --git a/sdk/devtestlabs/arm-devtestlabs/src/operations/environments.ts b/sdk/devtestlabs/arm-devtestlabs/src/operations/environments.ts index 2da4b6827c16..ba0b0e95bde3 100644 --- a/sdk/devtestlabs/arm-devtestlabs/src/operations/environments.ts +++ b/sdk/devtestlabs/arm-devtestlabs/src/operations/environments.ts @@ -1,7 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is @@ -133,7 +132,7 @@ export class Environments { } /** - * Modify properties of environments. + * Allows modifying tags of environments. All other properties will be ignored. * @param resourceGroupName The name of the resource group. * @param labName The name of the lab. * @param userName The name of the user profile. @@ -228,7 +227,7 @@ export class Environments { * @param [options] The optional parameters * @returns Promise */ - listNext(nextPageLink: string, options?: msRest.RequestOptionsBase): Promise; + listNext(nextPageLink: string, options?: Models.EnvironmentsListNextOptionalParams): Promise; /** * @param nextPageLink The NextLink from the previous successful call to List operation. * @param callback The callback @@ -239,8 +238,8 @@ export class Environments { * @param options The optional parameters * @param callback The callback */ - listNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + listNext(nextPageLink: string, options: Models.EnvironmentsListNextOptionalParams, callback: msRest.ServiceCallback): void; + listNext(nextPageLink: string, options?: Models.EnvironmentsListNextOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, @@ -416,6 +415,13 @@ const listNextOperationSpec: msRest.OperationSpec = { urlParameters: [ Parameters.nextPageLink ], + queryParameters: [ + Parameters.expand, + Parameters.filter, + Parameters.top, + Parameters.orderby, + Parameters.apiVersion + ], headerParameters: [ Parameters.acceptLanguage ], diff --git a/sdk/devtestlabs/arm-devtestlabs/src/operations/formulas.ts b/sdk/devtestlabs/arm-devtestlabs/src/operations/formulas.ts index cf109bc2d9ca..e4ce41661bec 100644 --- a/sdk/devtestlabs/arm-devtestlabs/src/operations/formulas.ts +++ b/sdk/devtestlabs/arm-devtestlabs/src/operations/formulas.ts @@ -1,7 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is @@ -96,7 +95,7 @@ export class Formulas { } /** - * Create or replace an existing Formula. This operation can take a while to complete. + * Create or replace an existing formula. This operation can take a while to complete. * @param resourceGroupName The name of the resource group. * @param labName The name of the lab. * @param name The name of the formula. @@ -146,7 +145,7 @@ export class Formulas { } /** - * Modify properties of formulas. + * Allows modifying tags of formulas. All other properties will be ignored. * @param resourceGroupName The name of the resource group. * @param labName The name of the lab. * @param name The name of the formula. @@ -186,7 +185,7 @@ export class Formulas { } /** - * Create or replace an existing Formula. This operation can take a while to complete. + * Create or replace an existing formula. This operation can take a while to complete. * @param resourceGroupName The name of the resource group. * @param labName The name of the lab. * @param name The name of the formula. @@ -213,7 +212,7 @@ export class Formulas { * @param [options] The optional parameters * @returns Promise */ - listNext(nextPageLink: string, options?: msRest.RequestOptionsBase): Promise; + listNext(nextPageLink: string, options?: Models.FormulasListNextOptionalParams): Promise; /** * @param nextPageLink The NextLink from the previous successful call to List operation. * @param callback The callback @@ -224,8 +223,8 @@ export class Formulas { * @param options The optional parameters * @param callback The callback */ - listNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + listNext(nextPageLink: string, options: Models.FormulasListNextOptionalParams, callback: msRest.ServiceCallback): void; + listNext(nextPageLink: string, options?: Models.FormulasListNextOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, @@ -395,6 +394,13 @@ const listNextOperationSpec: msRest.OperationSpec = { urlParameters: [ Parameters.nextPageLink ], + queryParameters: [ + Parameters.expand, + Parameters.filter, + Parameters.top, + Parameters.orderby, + Parameters.apiVersion + ], headerParameters: [ Parameters.acceptLanguage ], diff --git a/sdk/devtestlabs/arm-devtestlabs/src/operations/galleryImages.ts b/sdk/devtestlabs/arm-devtestlabs/src/operations/galleryImages.ts index 2e75c0446479..30c2e0165164 100644 --- a/sdk/devtestlabs/arm-devtestlabs/src/operations/galleryImages.ts +++ b/sdk/devtestlabs/arm-devtestlabs/src/operations/galleryImages.ts @@ -1,7 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is @@ -64,7 +63,7 @@ export class GalleryImages { * @param [options] The optional parameters * @returns Promise */ - listNext(nextPageLink: string, options?: msRest.RequestOptionsBase): Promise; + listNext(nextPageLink: string, options?: Models.GalleryImagesListNextOptionalParams): Promise; /** * @param nextPageLink The NextLink from the previous successful call to List operation. * @param callback The callback @@ -75,8 +74,8 @@ export class GalleryImages { * @param options The optional parameters * @param callback The callback */ - listNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + listNext(nextPageLink: string, options: Models.GalleryImagesListNextOptionalParams, callback: msRest.ServiceCallback): void; + listNext(nextPageLink: string, options?: Models.GalleryImagesListNextOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, @@ -125,6 +124,13 @@ const listNextOperationSpec: msRest.OperationSpec = { urlParameters: [ Parameters.nextPageLink ], + queryParameters: [ + Parameters.expand, + Parameters.filter, + Parameters.top, + Parameters.orderby, + Parameters.apiVersion + ], headerParameters: [ Parameters.acceptLanguage ], diff --git a/sdk/devtestlabs/arm-devtestlabs/src/operations/globalSchedules.ts b/sdk/devtestlabs/arm-devtestlabs/src/operations/globalSchedules.ts index 0d21826053d2..4a17b096dbe3 100644 --- a/sdk/devtestlabs/arm-devtestlabs/src/operations/globalSchedules.ts +++ b/sdk/devtestlabs/arm-devtestlabs/src/operations/globalSchedules.ts @@ -1,7 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is @@ -180,7 +179,7 @@ export class GlobalSchedules { } /** - * Modify properties of schedules. + * Allows modifying tags of schedules. All other properties will be ignored. * @param resourceGroupName The name of the resource group. * @param name The name of the schedule. * @param schedule A schedule. @@ -284,7 +283,7 @@ export class GlobalSchedules { * @param [options] The optional parameters * @returns Promise */ - listBySubscriptionNext(nextPageLink: string, options?: msRest.RequestOptionsBase): Promise; + listBySubscriptionNext(nextPageLink: string, options?: Models.GlobalSchedulesListBySubscriptionNextOptionalParams): Promise; /** * @param nextPageLink The NextLink from the previous successful call to List operation. * @param callback The callback @@ -295,8 +294,8 @@ export class GlobalSchedules { * @param options The optional parameters * @param callback The callback */ - listBySubscriptionNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listBySubscriptionNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + listBySubscriptionNext(nextPageLink: string, options: Models.GlobalSchedulesListBySubscriptionNextOptionalParams, callback: msRest.ServiceCallback): void; + listBySubscriptionNext(nextPageLink: string, options?: Models.GlobalSchedulesListBySubscriptionNextOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, @@ -312,7 +311,7 @@ export class GlobalSchedules { * @param [options] The optional parameters * @returns Promise */ - listByResourceGroupNext(nextPageLink: string, options?: msRest.RequestOptionsBase): Promise; + listByResourceGroupNext(nextPageLink: string, options?: Models.GlobalSchedulesListByResourceGroupNextOptionalParams): Promise; /** * @param nextPageLink The NextLink from the previous successful call to List operation. * @param callback The callback @@ -323,8 +322,8 @@ export class GlobalSchedules { * @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 { + listByResourceGroupNext(nextPageLink: string, options: Models.GlobalSchedulesListByResourceGroupNextOptionalParams, callback: msRest.ServiceCallback): void; + listByResourceGroupNext(nextPageLink: string, options?: Models.GlobalSchedulesListByResourceGroupNextOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, @@ -571,6 +570,13 @@ const listBySubscriptionNextOperationSpec: msRest.OperationSpec = { urlParameters: [ Parameters.nextPageLink ], + queryParameters: [ + Parameters.expand, + Parameters.filter, + Parameters.top, + Parameters.orderby, + Parameters.apiVersion + ], headerParameters: [ Parameters.acceptLanguage ], @@ -592,6 +598,13 @@ const listByResourceGroupNextOperationSpec: msRest.OperationSpec = { urlParameters: [ Parameters.nextPageLink ], + queryParameters: [ + Parameters.expand, + Parameters.filter, + Parameters.top, + Parameters.orderby, + Parameters.apiVersion + ], headerParameters: [ Parameters.acceptLanguage ], diff --git a/sdk/devtestlabs/arm-devtestlabs/src/operations/index.ts b/sdk/devtestlabs/arm-devtestlabs/src/operations/index.ts index be4417019e72..68b5cfb65cff 100644 --- a/sdk/devtestlabs/arm-devtestlabs/src/operations/index.ts +++ b/sdk/devtestlabs/arm-devtestlabs/src/operations/index.ts @@ -1,7 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is diff --git a/sdk/devtestlabs/arm-devtestlabs/src/operations/labs.ts b/sdk/devtestlabs/arm-devtestlabs/src/operations/labs.ts index f86dc41739aa..a8889736d5eb 100644 --- a/sdk/devtestlabs/arm-devtestlabs/src/operations/labs.ts +++ b/sdk/devtestlabs/arm-devtestlabs/src/operations/labs.ts @@ -1,7 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is @@ -137,7 +136,7 @@ export class Labs { } /** - * Modify properties of labs. + * Allows modifying tags of labs. All other properties will be ignored. * @param resourceGroupName The name of the resource group. * @param name The name of the lab. * @param lab A lab. @@ -419,7 +418,7 @@ export class Labs { * @param [options] The optional parameters * @returns Promise */ - listBySubscriptionNext(nextPageLink: string, options?: msRest.RequestOptionsBase): Promise; + listBySubscriptionNext(nextPageLink: string, options?: Models.LabsListBySubscriptionNextOptionalParams): Promise; /** * @param nextPageLink The NextLink from the previous successful call to List operation. * @param callback The callback @@ -430,8 +429,8 @@ export class Labs { * @param options The optional parameters * @param callback The callback */ - listBySubscriptionNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listBySubscriptionNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + listBySubscriptionNext(nextPageLink: string, options: Models.LabsListBySubscriptionNextOptionalParams, callback: msRest.ServiceCallback): void; + listBySubscriptionNext(nextPageLink: string, options?: Models.LabsListBySubscriptionNextOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, @@ -447,7 +446,7 @@ export class Labs { * @param [options] The optional parameters * @returns Promise */ - listByResourceGroupNext(nextPageLink: string, options?: msRest.RequestOptionsBase): Promise; + listByResourceGroupNext(nextPageLink: string, options?: Models.LabsListByResourceGroupNextOptionalParams): Promise; /** * @param nextPageLink The NextLink from the previous successful call to List operation. * @param callback The callback @@ -458,8 +457,8 @@ export class Labs { * @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 { + listByResourceGroupNext(nextPageLink: string, options: Models.LabsListByResourceGroupNextOptionalParams, callback: msRest.ServiceCallback): void; + listByResourceGroupNext(nextPageLink: string, options?: Models.LabsListByResourceGroupNextOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, @@ -854,6 +853,13 @@ const listBySubscriptionNextOperationSpec: msRest.OperationSpec = { urlParameters: [ Parameters.nextPageLink ], + queryParameters: [ + Parameters.expand, + Parameters.filter, + Parameters.top, + Parameters.orderby, + Parameters.apiVersion + ], headerParameters: [ Parameters.acceptLanguage ], @@ -875,6 +881,13 @@ const listByResourceGroupNextOperationSpec: msRest.OperationSpec = { urlParameters: [ Parameters.nextPageLink ], + queryParameters: [ + Parameters.expand, + Parameters.filter, + Parameters.top, + Parameters.orderby, + Parameters.apiVersion + ], headerParameters: [ Parameters.acceptLanguage ], @@ -896,6 +909,9 @@ const listVhdsNextOperationSpec: msRest.OperationSpec = { urlParameters: [ Parameters.nextPageLink ], + queryParameters: [ + Parameters.apiVersion + ], headerParameters: [ Parameters.acceptLanguage ], diff --git a/sdk/devtestlabs/arm-devtestlabs/src/operations/notificationChannels.ts b/sdk/devtestlabs/arm-devtestlabs/src/operations/notificationChannels.ts index 8ce165fb3844..83eb6e25d230 100644 --- a/sdk/devtestlabs/arm-devtestlabs/src/operations/notificationChannels.ts +++ b/sdk/devtestlabs/arm-devtestlabs/src/operations/notificationChannels.ts @@ -1,7 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is @@ -62,7 +61,7 @@ export class NotificationChannels { * Get notification channel. * @param resourceGroupName The name of the resource group. * @param labName The name of the lab. - * @param name The name of the notificationChannel. + * @param name The name of the notification channel. * @param [options] The optional parameters * @returns Promise */ @@ -70,14 +69,14 @@ export class NotificationChannels { /** * @param resourceGroupName The name of the resource group. * @param labName The name of the lab. - * @param name The name of the notificationChannel. + * @param name The name of the notification channel. * @param callback The callback */ get(resourceGroupName: string, labName: string, name: string, callback: msRest.ServiceCallback): void; /** * @param resourceGroupName The name of the resource group. * @param labName The name of the lab. - * @param name The name of the notificationChannel. + * @param name The name of the notification channel. * @param options The optional parameters * @param callback The callback */ @@ -95,10 +94,10 @@ export class NotificationChannels { } /** - * Create or replace an existing notificationChannel. + * Create or replace an existing notification channel. * @param resourceGroupName The name of the resource group. * @param labName The name of the lab. - * @param name The name of the notificationChannel. + * @param name The name of the notification channel. * @param notificationChannel A notification. * @param [options] The optional parameters * @returns Promise @@ -107,7 +106,7 @@ export class NotificationChannels { /** * @param resourceGroupName The name of the resource group. * @param labName The name of the lab. - * @param name The name of the notificationChannel. + * @param name The name of the notification channel. * @param notificationChannel A notification. * @param callback The callback */ @@ -115,7 +114,7 @@ export class NotificationChannels { /** * @param resourceGroupName The name of the resource group. * @param labName The name of the lab. - * @param name The name of the notificationChannel. + * @param name The name of the notification channel. * @param notificationChannel A notification. * @param options The optional parameters * @param callback The callback @@ -138,7 +137,7 @@ export class NotificationChannels { * Delete notification channel. * @param resourceGroupName The name of the resource group. * @param labName The name of the lab. - * @param name The name of the notificationChannel. + * @param name The name of the notification channel. * @param [options] The optional parameters * @returns Promise */ @@ -146,14 +145,14 @@ export class NotificationChannels { /** * @param resourceGroupName The name of the resource group. * @param labName The name of the lab. - * @param name The name of the notificationChannel. + * @param name The name of the notification channel. * @param callback The callback */ deleteMethod(resourceGroupName: string, labName: string, name: string, callback: msRest.ServiceCallback): void; /** * @param resourceGroupName The name of the resource group. * @param labName The name of the lab. - * @param name The name of the notificationChannel. + * @param name The name of the notification channel. * @param options The optional parameters * @param callback The callback */ @@ -171,10 +170,10 @@ export class NotificationChannels { } /** - * Modify properties of notification channels. + * Allows modifying tags of notification channels. All other properties will be ignored. * @param resourceGroupName The name of the resource group. * @param labName The name of the lab. - * @param name The name of the notificationChannel. + * @param name The name of the notification channel. * @param notificationChannel A notification. * @param [options] The optional parameters * @returns Promise @@ -183,7 +182,7 @@ export class NotificationChannels { /** * @param resourceGroupName The name of the resource group. * @param labName The name of the lab. - * @param name The name of the notificationChannel. + * @param name The name of the notification channel. * @param notificationChannel A notification. * @param callback The callback */ @@ -191,7 +190,7 @@ export class NotificationChannels { /** * @param resourceGroupName The name of the resource group. * @param labName The name of the lab. - * @param name The name of the notificationChannel. + * @param name The name of the notification channel. * @param notificationChannel A notification. * @param options The optional parameters * @param callback The callback @@ -214,7 +213,7 @@ export class NotificationChannels { * Send notification to provided channel. * @param resourceGroupName The name of the resource group. * @param labName The name of the lab. - * @param name The name of the notificationChannel. + * @param name The name of the notification channel. * @param notifyParameters Properties for generating a Notification. * @param [options] The optional parameters * @returns Promise @@ -223,7 +222,7 @@ export class NotificationChannels { /** * @param resourceGroupName The name of the resource group. * @param labName The name of the lab. - * @param name The name of the notificationChannel. + * @param name The name of the notification channel. * @param notifyParameters Properties for generating a Notification. * @param callback The callback */ @@ -231,7 +230,7 @@ export class NotificationChannels { /** * @param resourceGroupName The name of the resource group. * @param labName The name of the lab. - * @param name The name of the notificationChannel. + * @param name The name of the notification channel. * @param notifyParameters Properties for generating a Notification. * @param options The optional parameters * @param callback The callback @@ -256,7 +255,7 @@ export class NotificationChannels { * @param [options] The optional parameters * @returns Promise */ - listNext(nextPageLink: string, options?: msRest.RequestOptionsBase): Promise; + listNext(nextPageLink: string, options?: Models.NotificationChannelsListNextOptionalParams): Promise; /** * @param nextPageLink The NextLink from the previous successful call to List operation. * @param callback The callback @@ -267,8 +266,8 @@ export class NotificationChannels { * @param options The optional parameters * @param callback The callback */ - listNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + listNext(nextPageLink: string, options: Models.NotificationChannelsListNextOptionalParams, callback: msRest.ServiceCallback): void; + listNext(nextPageLink: string, options?: Models.NotificationChannelsListNextOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, @@ -469,6 +468,13 @@ const listNextOperationSpec: msRest.OperationSpec = { urlParameters: [ Parameters.nextPageLink ], + queryParameters: [ + Parameters.expand, + Parameters.filter, + Parameters.top, + Parameters.orderby, + Parameters.apiVersion + ], headerParameters: [ Parameters.acceptLanguage ], diff --git a/sdk/devtestlabs/arm-devtestlabs/src/operations/operations.ts b/sdk/devtestlabs/arm-devtestlabs/src/operations/operations.ts index e9516fa84bc3..7eb76341781c 100644 --- a/sdk/devtestlabs/arm-devtestlabs/src/operations/operations.ts +++ b/sdk/devtestlabs/arm-devtestlabs/src/operations/operations.ts @@ -1,7 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is @@ -79,6 +78,9 @@ const getOperationSpec: msRest.OperationSpec = { 200: { bodyMapper: Mappers.OperationResult }, + 202: { + bodyMapper: Mappers.OperationResult + }, default: { bodyMapper: Mappers.CloudError } diff --git a/sdk/devtestlabs/arm-devtestlabs/src/operations/policies.ts b/sdk/devtestlabs/arm-devtestlabs/src/operations/policies.ts index 596ef83cabe7..919fa686d62a 100644 --- a/sdk/devtestlabs/arm-devtestlabs/src/operations/policies.ts +++ b/sdk/devtestlabs/arm-devtestlabs/src/operations/policies.ts @@ -1,7 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is @@ -187,7 +186,7 @@ export class Policies { } /** - * Modify properties of policies. + * Allows modifying tags of policies. All other properties will be ignored. * @param resourceGroupName The name of the resource group. * @param labName The name of the lab. * @param policySetName The name of the policy set. @@ -236,7 +235,7 @@ export class Policies { * @param [options] The optional parameters * @returns Promise */ - listNext(nextPageLink: string, options?: msRest.RequestOptionsBase): Promise; + listNext(nextPageLink: string, options?: Models.PoliciesListNextOptionalParams): Promise; /** * @param nextPageLink The NextLink from the previous successful call to List operation. * @param callback The callback @@ -247,8 +246,8 @@ export class Policies { * @param options The optional parameters * @param callback The callback */ - listNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + listNext(nextPageLink: string, options: Models.PoliciesListNextOptionalParams, callback: msRest.ServiceCallback): void; + listNext(nextPageLink: string, options?: Models.PoliciesListNextOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, @@ -423,6 +422,13 @@ const listNextOperationSpec: msRest.OperationSpec = { urlParameters: [ Parameters.nextPageLink ], + queryParameters: [ + Parameters.expand, + Parameters.filter, + Parameters.top, + Parameters.orderby, + Parameters.apiVersion + ], headerParameters: [ Parameters.acceptLanguage ], diff --git a/sdk/devtestlabs/arm-devtestlabs/src/operations/policySets.ts b/sdk/devtestlabs/arm-devtestlabs/src/operations/policySets.ts index c35da19a1264..f0e01004b44c 100644 --- a/sdk/devtestlabs/arm-devtestlabs/src/operations/policySets.ts +++ b/sdk/devtestlabs/arm-devtestlabs/src/operations/policySets.ts @@ -1,7 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is diff --git a/sdk/devtestlabs/arm-devtestlabs/src/operations/providerOperations.ts b/sdk/devtestlabs/arm-devtestlabs/src/operations/providerOperations.ts index 163a0eadb7cc..4cf5ce4f8c79 100644 --- a/sdk/devtestlabs/arm-devtestlabs/src/operations/providerOperations.ts +++ b/sdk/devtestlabs/arm-devtestlabs/src/operations/providerOperations.ts @@ -1,7 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is @@ -108,6 +107,9 @@ const listNextOperationSpec: msRest.OperationSpec = { urlParameters: [ Parameters.nextPageLink ], + queryParameters: [ + Parameters.apiVersion + ], headerParameters: [ Parameters.acceptLanguage ], diff --git a/sdk/devtestlabs/arm-devtestlabs/src/operations/schedules.ts b/sdk/devtestlabs/arm-devtestlabs/src/operations/schedules.ts index 59afb9182540..787b463589ad 100644 --- a/sdk/devtestlabs/arm-devtestlabs/src/operations/schedules.ts +++ b/sdk/devtestlabs/arm-devtestlabs/src/operations/schedules.ts @@ -1,7 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is @@ -172,7 +171,7 @@ export class Schedules { } /** - * Modify properties of schedules. + * Allows modifying tags of schedules. All other properties will be ignored. * @param resourceGroupName The name of the resource group. * @param labName The name of the lab. * @param name The name of the schedule. @@ -286,7 +285,7 @@ export class Schedules { * @param [options] The optional parameters * @returns Promise */ - listNext(nextPageLink: string, options?: msRest.RequestOptionsBase): Promise; + listNext(nextPageLink: string, options?: Models.SchedulesListNextOptionalParams): Promise; /** * @param nextPageLink The NextLink from the previous successful call to List operation. * @param callback The callback @@ -297,8 +296,8 @@ export class Schedules { * @param options The optional parameters * @param callback The callback */ - listNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + listNext(nextPageLink: string, options: Models.SchedulesListNextOptionalParams, callback: msRest.ServiceCallback): void; + listNext(nextPageLink: string, options?: Models.SchedulesListNextOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, @@ -547,6 +546,13 @@ const listNextOperationSpec: msRest.OperationSpec = { urlParameters: [ Parameters.nextPageLink ], + queryParameters: [ + Parameters.expand, + Parameters.filter, + Parameters.top, + Parameters.orderby, + Parameters.apiVersion + ], headerParameters: [ Parameters.acceptLanguage ], @@ -568,6 +574,9 @@ const listApplicableNextOperationSpec: msRest.OperationSpec = { urlParameters: [ Parameters.nextPageLink ], + queryParameters: [ + Parameters.apiVersion + ], headerParameters: [ Parameters.acceptLanguage ], diff --git a/sdk/devtestlabs/arm-devtestlabs/src/operations/secrets.ts b/sdk/devtestlabs/arm-devtestlabs/src/operations/secrets.ts index 2b3a91a3c14c..0d6b98bac13d 100644 --- a/sdk/devtestlabs/arm-devtestlabs/src/operations/secrets.ts +++ b/sdk/devtestlabs/arm-devtestlabs/src/operations/secrets.ts @@ -1,7 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is @@ -159,7 +158,7 @@ export class Secrets { } /** - * Modify properties of secrets. + * Allows modifying tags of secrets. All other properties will be ignored. * @param resourceGroupName The name of the resource group. * @param labName The name of the lab. * @param userName The name of the user profile. @@ -232,7 +231,7 @@ export class Secrets { * @param [options] The optional parameters * @returns Promise */ - listNext(nextPageLink: string, options?: msRest.RequestOptionsBase): Promise; + listNext(nextPageLink: string, options?: Models.SecretsListNextOptionalParams): Promise; /** * @param nextPageLink The NextLink from the previous successful call to List operation. * @param callback The callback @@ -243,8 +242,8 @@ export class Secrets { * @param options The optional parameters * @param callback The callback */ - listNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + listNext(nextPageLink: string, options: Models.SecretsListNextOptionalParams, callback: msRest.ServiceCallback): void; + listNext(nextPageLink: string, options?: Models.SecretsListNextOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, @@ -419,6 +418,13 @@ const listNextOperationSpec: msRest.OperationSpec = { urlParameters: [ Parameters.nextPageLink ], + queryParameters: [ + Parameters.expand, + Parameters.filter, + Parameters.top, + Parameters.orderby, + Parameters.apiVersion + ], headerParameters: [ Parameters.acceptLanguage ], diff --git a/sdk/devtestlabs/arm-devtestlabs/src/operations/serviceFabricSchedules.ts b/sdk/devtestlabs/arm-devtestlabs/src/operations/serviceFabricSchedules.ts index 5174bf0d28b4..367052720c4f 100644 --- a/sdk/devtestlabs/arm-devtestlabs/src/operations/serviceFabricSchedules.ts +++ b/sdk/devtestlabs/arm-devtestlabs/src/operations/serviceFabricSchedules.ts @@ -1,7 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is @@ -32,7 +31,7 @@ export class ServiceFabricSchedules { * @param resourceGroupName The name of the resource group. * @param labName The name of the lab. * @param userName The name of the user profile. - * @param serviceFabricName The name of the service Fabric. + * @param serviceFabricName The name of the service fabric. * @param [options] The optional parameters * @returns Promise */ @@ -41,7 +40,7 @@ export class ServiceFabricSchedules { * @param resourceGroupName The name of the resource group. * @param labName The name of the lab. * @param userName The name of the user profile. - * @param serviceFabricName The name of the service Fabric. + * @param serviceFabricName The name of the service fabric. * @param callback The callback */ list(resourceGroupName: string, labName: string, userName: string, serviceFabricName: string, callback: msRest.ServiceCallback): void; @@ -49,7 +48,7 @@ export class ServiceFabricSchedules { * @param resourceGroupName The name of the resource group. * @param labName The name of the lab. * @param userName The name of the user profile. - * @param serviceFabricName The name of the service Fabric. + * @param serviceFabricName The name of the service fabric. * @param options The optional parameters * @param callback The callback */ @@ -72,7 +71,7 @@ export class ServiceFabricSchedules { * @param resourceGroupName The name of the resource group. * @param labName The name of the lab. * @param userName The name of the user profile. - * @param serviceFabricName The name of the service Fabric. + * @param serviceFabricName The name of the service fabric. * @param name The name of the schedule. * @param [options] The optional parameters * @returns Promise @@ -82,7 +81,7 @@ export class ServiceFabricSchedules { * @param resourceGroupName The name of the resource group. * @param labName The name of the lab. * @param userName The name of the user profile. - * @param serviceFabricName The name of the service Fabric. + * @param serviceFabricName The name of the service fabric. * @param name The name of the schedule. * @param callback The callback */ @@ -91,7 +90,7 @@ export class ServiceFabricSchedules { * @param resourceGroupName The name of the resource group. * @param labName The name of the lab. * @param userName The name of the user profile. - * @param serviceFabricName The name of the service Fabric. + * @param serviceFabricName The name of the service fabric. * @param name The name of the schedule. * @param options The optional parameters * @param callback The callback @@ -116,7 +115,7 @@ export class ServiceFabricSchedules { * @param resourceGroupName The name of the resource group. * @param labName The name of the lab. * @param userName The name of the user profile. - * @param serviceFabricName The name of the service Fabric. + * @param serviceFabricName The name of the service fabric. * @param name The name of the schedule. * @param schedule A schedule. * @param [options] The optional parameters @@ -127,7 +126,7 @@ export class ServiceFabricSchedules { * @param resourceGroupName The name of the resource group. * @param labName The name of the lab. * @param userName The name of the user profile. - * @param serviceFabricName The name of the service Fabric. + * @param serviceFabricName The name of the service fabric. * @param name The name of the schedule. * @param schedule A schedule. * @param callback The callback @@ -137,7 +136,7 @@ export class ServiceFabricSchedules { * @param resourceGroupName The name of the resource group. * @param labName The name of the lab. * @param userName The name of the user profile. - * @param serviceFabricName The name of the service Fabric. + * @param serviceFabricName The name of the service fabric. * @param name The name of the schedule. * @param schedule A schedule. * @param options The optional parameters @@ -164,7 +163,7 @@ export class ServiceFabricSchedules { * @param resourceGroupName The name of the resource group. * @param labName The name of the lab. * @param userName The name of the user profile. - * @param serviceFabricName The name of the service Fabric. + * @param serviceFabricName The name of the service fabric. * @param name The name of the schedule. * @param [options] The optional parameters * @returns Promise @@ -174,7 +173,7 @@ export class ServiceFabricSchedules { * @param resourceGroupName The name of the resource group. * @param labName The name of the lab. * @param userName The name of the user profile. - * @param serviceFabricName The name of the service Fabric. + * @param serviceFabricName The name of the service fabric. * @param name The name of the schedule. * @param callback The callback */ @@ -183,7 +182,7 @@ export class ServiceFabricSchedules { * @param resourceGroupName The name of the resource group. * @param labName The name of the lab. * @param userName The name of the user profile. - * @param serviceFabricName The name of the service Fabric. + * @param serviceFabricName The name of the service fabric. * @param name The name of the schedule. * @param options The optional parameters * @param callback The callback @@ -204,11 +203,11 @@ export class ServiceFabricSchedules { } /** - * Modify properties of schedules. + * Allows modifying tags of schedules. All other properties will be ignored. * @param resourceGroupName The name of the resource group. * @param labName The name of the lab. * @param userName The name of the user profile. - * @param serviceFabricName The name of the service Fabric. + * @param serviceFabricName The name of the service fabric. * @param name The name of the schedule. * @param schedule A schedule. * @param [options] The optional parameters @@ -219,7 +218,7 @@ export class ServiceFabricSchedules { * @param resourceGroupName The name of the resource group. * @param labName The name of the lab. * @param userName The name of the user profile. - * @param serviceFabricName The name of the service Fabric. + * @param serviceFabricName The name of the service fabric. * @param name The name of the schedule. * @param schedule A schedule. * @param callback The callback @@ -229,7 +228,7 @@ export class ServiceFabricSchedules { * @param resourceGroupName The name of the resource group. * @param labName The name of the lab. * @param userName The name of the user profile. - * @param serviceFabricName The name of the service Fabric. + * @param serviceFabricName The name of the service fabric. * @param name The name of the schedule. * @param schedule A schedule. * @param options The optional parameters @@ -256,7 +255,7 @@ export class ServiceFabricSchedules { * @param resourceGroupName The name of the resource group. * @param labName The name of the lab. * @param userName The name of the user profile. - * @param serviceFabricName The name of the service Fabric. + * @param serviceFabricName The name of the service fabric. * @param name The name of the schedule. * @param [options] The optional parameters * @returns Promise @@ -271,7 +270,7 @@ export class ServiceFabricSchedules { * @param resourceGroupName The name of the resource group. * @param labName The name of the lab. * @param userName The name of the user profile. - * @param serviceFabricName The name of the service Fabric. + * @param serviceFabricName The name of the service fabric. * @param name The name of the schedule. * @param [options] The optional parameters * @returns Promise @@ -296,7 +295,7 @@ export class ServiceFabricSchedules { * @param [options] The optional parameters * @returns Promise */ - listNext(nextPageLink: string, options?: msRest.RequestOptionsBase): Promise; + listNext(nextPageLink: string, options?: Models.ServiceFabricSchedulesListNextOptionalParams): Promise; /** * @param nextPageLink The NextLink from the previous successful call to List operation. * @param callback The callback @@ -307,8 +306,8 @@ export class ServiceFabricSchedules { * @param options The optional parameters * @param callback The callback */ - listNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + listNext(nextPageLink: string, options: Models.ServiceFabricSchedulesListNextOptionalParams, callback: msRest.ServiceCallback): void; + listNext(nextPageLink: string, options?: Models.ServiceFabricSchedulesListNextOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, @@ -515,6 +514,13 @@ const listNextOperationSpec: msRest.OperationSpec = { urlParameters: [ Parameters.nextPageLink ], + queryParameters: [ + Parameters.expand, + Parameters.filter, + Parameters.top, + Parameters.orderby, + Parameters.apiVersion + ], headerParameters: [ Parameters.acceptLanguage ], diff --git a/sdk/devtestlabs/arm-devtestlabs/src/operations/serviceFabrics.ts b/sdk/devtestlabs/arm-devtestlabs/src/operations/serviceFabrics.ts index 54257f84f509..f23af328acc2 100644 --- a/sdk/devtestlabs/arm-devtestlabs/src/operations/serviceFabrics.ts +++ b/sdk/devtestlabs/arm-devtestlabs/src/operations/serviceFabrics.ts @@ -1,7 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is @@ -68,7 +67,7 @@ export class ServiceFabrics { * @param resourceGroupName The name of the resource group. * @param labName The name of the lab. * @param userName The name of the user profile. - * @param name The name of the service Fabric. + * @param name The name of the service fabric. * @param [options] The optional parameters * @returns Promise */ @@ -77,7 +76,7 @@ export class ServiceFabrics { * @param resourceGroupName The name of the resource group. * @param labName The name of the lab. * @param userName The name of the user profile. - * @param name The name of the service Fabric. + * @param name The name of the service fabric. * @param callback The callback */ get(resourceGroupName: string, labName: string, userName: string, name: string, callback: msRest.ServiceCallback): void; @@ -85,7 +84,7 @@ export class ServiceFabrics { * @param resourceGroupName The name of the resource group. * @param labName The name of the lab. * @param userName The name of the user profile. - * @param name The name of the service Fabric. + * @param name The name of the service fabric. * @param options The optional parameters * @param callback The callback */ @@ -104,11 +103,11 @@ export class ServiceFabrics { } /** - * Create or replace an existing Service Fabric. This operation can take a while to complete. + * Create or replace an existing service fabric. This operation can take a while to complete. * @param resourceGroupName The name of the resource group. * @param labName The name of the lab. * @param userName The name of the user profile. - * @param name The name of the service Fabric. + * @param name The name of the service fabric. * @param serviceFabric A Service Fabric. * @param [options] The optional parameters * @returns Promise @@ -123,7 +122,7 @@ export class ServiceFabrics { * @param resourceGroupName The name of the resource group. * @param labName The name of the lab. * @param userName The name of the user profile. - * @param name The name of the service Fabric. + * @param name The name of the service fabric. * @param [options] The optional parameters * @returns Promise */ @@ -133,11 +132,11 @@ export class ServiceFabrics { } /** - * Modify properties of service fabrics. + * Allows modifying tags of service fabrics. All other properties will be ignored. * @param resourceGroupName The name of the resource group. * @param labName The name of the lab. * @param userName The name of the user profile. - * @param name The name of the service Fabric. + * @param name The name of the service fabric. * @param serviceFabric A Service Fabric. * @param [options] The optional parameters * @returns Promise @@ -147,7 +146,7 @@ export class ServiceFabrics { * @param resourceGroupName The name of the resource group. * @param labName The name of the lab. * @param userName The name of the user profile. - * @param name The name of the service Fabric. + * @param name The name of the service fabric. * @param serviceFabric A Service Fabric. * @param callback The callback */ @@ -156,7 +155,7 @@ export class ServiceFabrics { * @param resourceGroupName The name of the resource group. * @param labName The name of the lab. * @param userName The name of the user profile. - * @param name The name of the service Fabric. + * @param name The name of the service fabric. * @param serviceFabric A Service Fabric. * @param options The optional parameters * @param callback The callback @@ -181,7 +180,7 @@ export class ServiceFabrics { * @param resourceGroupName The name of the resource group. * @param labName The name of the lab. * @param userName The name of the user profile. - * @param name The name of the service Fabric. + * @param name The name of the service fabric. * @param [options] The optional parameters * @returns Promise */ @@ -190,7 +189,7 @@ export class ServiceFabrics { * @param resourceGroupName The name of the resource group. * @param labName The name of the lab. * @param userName The name of the user profile. - * @param name The name of the service Fabric. + * @param name The name of the service fabric. * @param callback The callback */ listApplicableSchedules(resourceGroupName: string, labName: string, userName: string, name: string, callback: msRest.ServiceCallback): void; @@ -198,7 +197,7 @@ export class ServiceFabrics { * @param resourceGroupName The name of the resource group. * @param labName The name of the lab. * @param userName The name of the user profile. - * @param name The name of the service Fabric. + * @param name The name of the service fabric. * @param options The optional parameters * @param callback The callback */ @@ -221,7 +220,7 @@ export class ServiceFabrics { * @param resourceGroupName The name of the resource group. * @param labName The name of the lab. * @param userName The name of the user profile. - * @param name The name of the service Fabric. + * @param name The name of the service fabric. * @param [options] The optional parameters * @returns Promise */ @@ -235,7 +234,7 @@ export class ServiceFabrics { * @param resourceGroupName The name of the resource group. * @param labName The name of the lab. * @param userName The name of the user profile. - * @param name The name of the service Fabric. + * @param name The name of the service fabric. * @param [options] The optional parameters * @returns Promise */ @@ -245,11 +244,11 @@ export class ServiceFabrics { } /** - * Create or replace an existing Service Fabric. This operation can take a while to complete. + * Create or replace an existing service fabric. This operation can take a while to complete. * @param resourceGroupName The name of the resource group. * @param labName The name of the lab. * @param userName The name of the user profile. - * @param name The name of the service Fabric. + * @param name The name of the service fabric. * @param serviceFabric A Service Fabric. * @param [options] The optional parameters * @returns Promise @@ -273,7 +272,7 @@ export class ServiceFabrics { * @param resourceGroupName The name of the resource group. * @param labName The name of the lab. * @param userName The name of the user profile. - * @param name The name of the service Fabric. + * @param name The name of the service fabric. * @param [options] The optional parameters * @returns Promise */ @@ -295,7 +294,7 @@ export class ServiceFabrics { * @param resourceGroupName The name of the resource group. * @param labName The name of the lab. * @param userName The name of the user profile. - * @param name The name of the service Fabric. + * @param name The name of the service fabric. * @param [options] The optional parameters * @returns Promise */ @@ -317,7 +316,7 @@ export class ServiceFabrics { * @param resourceGroupName The name of the resource group. * @param labName The name of the lab. * @param userName The name of the user profile. - * @param name The name of the service Fabric. + * @param name The name of the service fabric. * @param [options] The optional parameters * @returns Promise */ @@ -340,7 +339,7 @@ export class ServiceFabrics { * @param [options] The optional parameters * @returns Promise */ - listNext(nextPageLink: string, options?: msRest.RequestOptionsBase): Promise; + listNext(nextPageLink: string, options?: Models.ServiceFabricsListNextOptionalParams): Promise; /** * @param nextPageLink The NextLink from the previous successful call to List operation. * @param callback The callback @@ -351,8 +350,8 @@ export class ServiceFabrics { * @param options The optional parameters * @param callback The callback */ - listNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + listNext(nextPageLink: string, options: Models.ServiceFabricsListNextOptionalParams, callback: msRest.ServiceCallback): void; + listNext(nextPageLink: string, options?: Models.ServiceFabricsListNextOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, @@ -607,6 +606,13 @@ const listNextOperationSpec: msRest.OperationSpec = { urlParameters: [ Parameters.nextPageLink ], + queryParameters: [ + Parameters.expand, + Parameters.filter, + Parameters.top, + Parameters.orderby, + Parameters.apiVersion + ], headerParameters: [ Parameters.acceptLanguage ], diff --git a/sdk/devtestlabs/arm-devtestlabs/src/operations/serviceRunners.ts b/sdk/devtestlabs/arm-devtestlabs/src/operations/serviceRunners.ts index c4b933724cd7..23a269f7fb40 100644 --- a/sdk/devtestlabs/arm-devtestlabs/src/operations/serviceRunners.ts +++ b/sdk/devtestlabs/arm-devtestlabs/src/operations/serviceRunners.ts @@ -1,7 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is @@ -26,38 +25,6 @@ export class ServiceRunners { this.client = client; } - /** - * List service runners in a given lab. - * @param resourceGroupName The name of the resource group. - * @param labName The name of the lab. - * @param [options] The optional parameters - * @returns Promise - */ - list(resourceGroupName: string, labName: string, options?: Models.ServiceRunnersListOptionalParams): Promise; - /** - * @param resourceGroupName The name of the resource group. - * @param labName The name of the lab. - * @param callback The callback - */ - list(resourceGroupName: string, labName: string, callback: msRest.ServiceCallback): void; - /** - * @param resourceGroupName The name of the resource group. - * @param labName The name of the lab. - * @param options The optional parameters - * @param callback The callback - */ - list(resourceGroupName: string, labName: string, options: Models.ServiceRunnersListOptionalParams, callback: msRest.ServiceCallback): void; - list(resourceGroupName: string, labName: string, options?: Models.ServiceRunnersListOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { - return this.client.sendOperationRequest( - { - resourceGroupName, - labName, - options - }, - listOperationSpec, - callback) as Promise; - } - /** * Get service runner. * @param resourceGroupName The name of the resource group. @@ -95,7 +62,7 @@ export class ServiceRunners { } /** - * Create or replace an existing Service runner. + * Create or replace an existing service runner. * @param resourceGroupName The name of the resource group. * @param labName The name of the lab. * @param name The name of the service runner. @@ -169,66 +136,10 @@ export class ServiceRunners { deleteMethodOperationSpec, callback); } - - /** - * List service runners in a given lab. - * @param nextPageLink The NextLink from the previous successful call to List operation. - * @param [options] The optional parameters - * @returns Promise - */ - listNext(nextPageLink: string, options?: msRest.RequestOptionsBase): Promise; - /** - * @param nextPageLink The NextLink from the previous successful call to List operation. - * @param callback The callback - */ - listNext(nextPageLink: string, callback: msRest.ServiceCallback): void; - /** - * @param nextPageLink The NextLink from the previous successful call to List operation. - * @param options The optional parameters - * @param callback The callback - */ - listNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { - return this.client.sendOperationRequest( - { - nextPageLink, - options - }, - listNextOperationSpec, - callback) as Promise; - } } // Operation Specifications const serializer = new msRest.Serializer(Mappers); -const listOperationSpec: msRest.OperationSpec = { - httpMethod: "GET", - path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevTestLab/labs/{labName}/servicerunners", - urlParameters: [ - Parameters.subscriptionId, - Parameters.resourceGroupName, - Parameters.labName - ], - queryParameters: [ - Parameters.filter, - Parameters.top, - Parameters.orderby, - Parameters.apiVersion - ], - headerParameters: [ - Parameters.acceptLanguage - ], - responses: { - 200: { - bodyMapper: Mappers.ServiceRunnerList - }, - default: { - bodyMapper: Mappers.CloudError - } - }, - serializer -}; - const getOperationSpec: msRest.OperationSpec = { httpMethod: "GET", path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevTestLab/labs/{labName}/servicerunners/{name}", @@ -315,24 +226,3 @@ const deleteMethodOperationSpec: msRest.OperationSpec = { }, serializer }; - -const listNextOperationSpec: msRest.OperationSpec = { - httpMethod: "GET", - baseUrl: "https://management.azure.com", - path: "{nextLink}", - urlParameters: [ - Parameters.nextPageLink - ], - headerParameters: [ - Parameters.acceptLanguage - ], - responses: { - 200: { - bodyMapper: Mappers.ServiceRunnerList - }, - default: { - bodyMapper: Mappers.CloudError - } - }, - serializer -}; diff --git a/sdk/devtestlabs/arm-devtestlabs/src/operations/users.ts b/sdk/devtestlabs/arm-devtestlabs/src/operations/users.ts index 01a7d31f246d..de725534c03c 100644 --- a/sdk/devtestlabs/arm-devtestlabs/src/operations/users.ts +++ b/sdk/devtestlabs/arm-devtestlabs/src/operations/users.ts @@ -1,7 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is @@ -123,7 +122,7 @@ export class Users { } /** - * Modify properties of user profiles. + * Allows modifying tags of user profiles. All other properties will be ignored. * @param resourceGroupName The name of the resource group. * @param labName The name of the lab. * @param name The name of the user profile. @@ -210,7 +209,7 @@ export class Users { * @param [options] The optional parameters * @returns Promise */ - listNext(nextPageLink: string, options?: msRest.RequestOptionsBase): Promise; + listNext(nextPageLink: string, options?: Models.UsersListNextOptionalParams): Promise; /** * @param nextPageLink The NextLink from the previous successful call to List operation. * @param callback The callback @@ -221,8 +220,8 @@ export class Users { * @param options The optional parameters * @param callback The callback */ - listNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + listNext(nextPageLink: string, options: Models.UsersListNextOptionalParams, callback: msRest.ServiceCallback): void; + listNext(nextPageLink: string, options?: Models.UsersListNextOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, @@ -393,6 +392,13 @@ const listNextOperationSpec: msRest.OperationSpec = { urlParameters: [ Parameters.nextPageLink ], + queryParameters: [ + Parameters.expand, + Parameters.filter, + Parameters.top, + Parameters.orderby, + Parameters.apiVersion + ], headerParameters: [ Parameters.acceptLanguage ], diff --git a/sdk/devtestlabs/arm-devtestlabs/src/operations/virtualMachineSchedules.ts b/sdk/devtestlabs/arm-devtestlabs/src/operations/virtualMachineSchedules.ts index 460b610bf6f9..cdcb5e22228c 100644 --- a/sdk/devtestlabs/arm-devtestlabs/src/operations/virtualMachineSchedules.ts +++ b/sdk/devtestlabs/arm-devtestlabs/src/operations/virtualMachineSchedules.ts @@ -1,7 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is @@ -188,7 +187,7 @@ export class VirtualMachineSchedules { } /** - * Modify properties of schedules. + * Allows modifying tags of schedules. All other properties will be ignored. * @param resourceGroupName The name of the resource group. * @param labName The name of the lab. * @param virtualMachineName The name of the virtual machine. @@ -273,7 +272,7 @@ export class VirtualMachineSchedules { * @param [options] The optional parameters * @returns Promise */ - listNext(nextPageLink: string, options?: msRest.RequestOptionsBase): Promise; + listNext(nextPageLink: string, options?: Models.VirtualMachineSchedulesListNextOptionalParams): Promise; /** * @param nextPageLink The NextLink from the previous successful call to List operation. * @param callback The callback @@ -284,8 +283,8 @@ export class VirtualMachineSchedules { * @param options The optional parameters * @param callback The callback */ - listNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + listNext(nextPageLink: string, options: Models.VirtualMachineSchedulesListNextOptionalParams, callback: msRest.ServiceCallback): void; + listNext(nextPageLink: string, options?: Models.VirtualMachineSchedulesListNextOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, @@ -486,6 +485,13 @@ const listNextOperationSpec: msRest.OperationSpec = { urlParameters: [ Parameters.nextPageLink ], + queryParameters: [ + Parameters.expand, + Parameters.filter, + Parameters.top, + Parameters.orderby, + Parameters.apiVersion + ], headerParameters: [ Parameters.acceptLanguage ], diff --git a/sdk/devtestlabs/arm-devtestlabs/src/operations/virtualMachines.ts b/sdk/devtestlabs/arm-devtestlabs/src/operations/virtualMachines.ts index dbe0b61786d7..a9ae431cd977 100644 --- a/sdk/devtestlabs/arm-devtestlabs/src/operations/virtualMachines.ts +++ b/sdk/devtestlabs/arm-devtestlabs/src/operations/virtualMachines.ts @@ -1,7 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is @@ -96,7 +95,7 @@ export class VirtualMachines { } /** - * Create or replace an existing Virtual machine. This operation can take a while to complete. + * Create or replace an existing virtual machine. This operation can take a while to complete. * @param resourceGroupName The name of the resource group. * @param labName The name of the lab. * @param name The name of the virtual machine. @@ -123,7 +122,7 @@ export class VirtualMachines { } /** - * Modify properties of virtual machines. + * Allows modifying tags of virtual machines. All other properties will be ignored. * @param resourceGroupName The name of the resource group. * @param labName The name of the lab. * @param name The name of the virtual machine. @@ -385,7 +384,7 @@ export class VirtualMachines { } /** - * Create or replace an existing Virtual machine. This operation can take a while to complete. + * Create or replace an existing virtual machine. This operation can take a while to complete. * @param resourceGroupName The name of the resource group. * @param labName The name of the lab. * @param name The name of the virtual machine. @@ -663,7 +662,7 @@ export class VirtualMachines { * @param [options] The optional parameters * @returns Promise */ - listNext(nextPageLink: string, options?: msRest.RequestOptionsBase): Promise; + listNext(nextPageLink: string, options?: Models.VirtualMachinesListNextOptionalParams): Promise; /** * @param nextPageLink The NextLink from the previous successful call to List operation. * @param callback The callback @@ -674,8 +673,8 @@ export class VirtualMachines { * @param options The optional parameters * @param callback The callback */ - listNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + listNext(nextPageLink: string, options: Models.VirtualMachinesListNextOptionalParams, callback: msRest.ServiceCallback): void; + listNext(nextPageLink: string, options?: Models.VirtualMachinesListNextOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, @@ -1201,6 +1200,13 @@ const listNextOperationSpec: msRest.OperationSpec = { urlParameters: [ Parameters.nextPageLink ], + queryParameters: [ + Parameters.expand, + Parameters.filter, + Parameters.top, + Parameters.orderby, + Parameters.apiVersion + ], headerParameters: [ Parameters.acceptLanguage ], diff --git a/sdk/devtestlabs/arm-devtestlabs/src/operations/virtualNetworks.ts b/sdk/devtestlabs/arm-devtestlabs/src/operations/virtualNetworks.ts index 2529fd5ec8a0..797f0829ede3 100644 --- a/sdk/devtestlabs/arm-devtestlabs/src/operations/virtualNetworks.ts +++ b/sdk/devtestlabs/arm-devtestlabs/src/operations/virtualNetworks.ts @@ -1,7 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is @@ -123,7 +122,7 @@ export class VirtualNetworks { } /** - * Modify properties of virtual networks. + * Allows modifying tags of virtual networks. All other properties will be ignored. * @param resourceGroupName The name of the resource group. * @param labName The name of the lab. * @param name The name of the virtual network. @@ -210,7 +209,7 @@ export class VirtualNetworks { * @param [options] The optional parameters * @returns Promise */ - listNext(nextPageLink: string, options?: msRest.RequestOptionsBase): Promise; + listNext(nextPageLink: string, options?: Models.VirtualNetworksListNextOptionalParams): Promise; /** * @param nextPageLink The NextLink from the previous successful call to List operation. * @param callback The callback @@ -221,8 +220,8 @@ export class VirtualNetworks { * @param options The optional parameters * @param callback The callback */ - listNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + listNext(nextPageLink: string, options: Models.VirtualNetworksListNextOptionalParams, callback: msRest.ServiceCallback): void; + listNext(nextPageLink: string, options?: Models.VirtualNetworksListNextOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, @@ -393,6 +392,13 @@ const listNextOperationSpec: msRest.OperationSpec = { urlParameters: [ Parameters.nextPageLink ], + queryParameters: [ + Parameters.expand, + Parameters.filter, + Parameters.top, + Parameters.orderby, + Parameters.apiVersion + ], headerParameters: [ Parameters.acceptLanguage ], diff --git a/sdk/devtestlabs/arm-devtestlabs/tsconfig.json b/sdk/devtestlabs/arm-devtestlabs/tsconfig.json index 87bbf5b5fa49..422b584abd5e 100644 --- a/sdk/devtestlabs/arm-devtestlabs/tsconfig.json +++ b/sdk/devtestlabs/arm-devtestlabs/tsconfig.json @@ -9,7 +9,7 @@ "esModuleInterop": true, "allowSyntheticDefaultImports": true, "forceConsistentCasingInFileNames": true, - "lib": ["es6"], + "lib": ["es6", "dom"], "declaration": true, "outDir": "./esm", "importHelpers": true