diff --git a/sdk/compute/arm-compute/LICENSE.txt b/sdk/compute/arm-compute/LICENSE.txt index ea8fb1516028..2d3163745319 100644 --- a/sdk/compute/arm-compute/LICENSE.txt +++ b/sdk/compute/arm-compute/LICENSE.txt @@ -1,6 +1,6 @@ The MIT License (MIT) -Copyright (c) 2020 Microsoft +Copyright (c) 2021 Microsoft Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/sdk/compute/arm-compute/README.md b/sdk/compute/arm-compute/README.md index e9c72aae2c8b..64daf5f54b2d 100644 --- a/sdk/compute/arm-compute/README.md +++ b/sdk/compute/arm-compute/README.md @@ -15,7 +15,7 @@ npm install @azure/arm-compute ### How to use -#### nodejs - Authentication, client creation and list operations as an example written in TypeScript. +#### nodejs - client creation and list operations as an example written in TypeScript. ##### Install @azure/ms-rest-nodeauth @@ -26,11 +26,10 @@ npm install @azure/ms-rest-nodeauth@"^3.0.0" ##### Sample code +While the below sample uses the interactive login, other authentication options can be found in the [README.md file of @azure/ms-rest-nodeauth](https://www.npmjs.com/package/@azure/ms-rest-nodeauth) package ```typescript -import * as msRest from "@azure/ms-rest-js"; -import * as msRestAzure from "@azure/ms-rest-azure-js"; -import * as msRestNodeAuth from "@azure/ms-rest-nodeauth"; -import { ComputeManagementClient, ComputeManagementModels, ComputeManagementMappers } from "@azure/arm-compute"; +const msRestNodeAuth = require("@azure/ms-rest-nodeauth"); +const { ComputeManagementClient } = require("@azure/arm-compute"); const subscriptionId = process.env["AZURE_SUBSCRIPTION_ID"]; msRestNodeAuth.interactiveLogin().then((creds) => { diff --git a/sdk/compute/arm-compute/rollup.config.js b/sdk/compute/arm-compute/rollup.config.js index e7a527c7d3ad..21325d2ced2e 100644 --- a/sdk/compute/arm-compute/rollup.config.js +++ b/sdk/compute/arm-compute/rollup.config.js @@ -21,8 +21,8 @@ const config = { "@azure/ms-rest-azure-js": "msRestAzure" }, banner: `/* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is regenerated. diff --git a/sdk/compute/arm-compute/src/computeManagementClient.ts b/sdk/compute/arm-compute/src/computeManagementClient.ts index 4617fee5e9c3..23b3a6624ee8 100644 --- a/sdk/compute/arm-compute/src/computeManagementClient.ts +++ b/sdk/compute/arm-compute/src/computeManagementClient.ts @@ -1,7 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is @@ -26,28 +25,35 @@ class ComputeManagementClient extends ComputeManagementClientContext { virtualMachineExtensionImages: operations.VirtualMachineExtensionImages; virtualMachineExtensions: operations.VirtualMachineExtensions; virtualMachineImages: operations.VirtualMachineImages; + virtualMachineImagesEdgeZone: operations.VirtualMachineImagesEdgeZone; usage: operations.UsageOperations; virtualMachines: operations.VirtualMachines; + virtualMachineScaleSets: operations.VirtualMachineScaleSets; virtualMachineSizes: operations.VirtualMachineSizes; images: operations.Images; - virtualMachineScaleSets: operations.VirtualMachineScaleSets; virtualMachineScaleSetExtensions: operations.VirtualMachineScaleSetExtensions; virtualMachineScaleSetRollingUpgrades: operations.VirtualMachineScaleSetRollingUpgrades; virtualMachineScaleSetVMExtensions: operations.VirtualMachineScaleSetVMExtensions; virtualMachineScaleSetVMs: operations.VirtualMachineScaleSetVMs; logAnalytics: operations.LogAnalytics; virtualMachineRunCommands: operations.VirtualMachineRunCommands; + virtualMachineScaleSetVMRunCommands: operations.VirtualMachineScaleSetVMRunCommands; resourceSkus: operations.ResourceSkus; disks: operations.Disks; snapshots: operations.Snapshots; diskEncryptionSets: operations.DiskEncryptionSets; diskAccesses: operations.DiskAccesses; + diskRestorePoint: operations.DiskRestorePointOperations; galleries: operations.Galleries; galleryImages: operations.GalleryImages; galleryImageVersions: operations.GalleryImageVersions; galleryApplications: operations.GalleryApplications; galleryApplicationVersions: operations.GalleryApplicationVersions; - containerServices: operations.ContainerServices; + cloudServiceRoleInstances: operations.CloudServiceRoleInstances; + cloudServiceRoles: operations.CloudServiceRoles; + cloudServices: operations.CloudServices; + cloudServicesUpdateDomain: operations.CloudServicesUpdateDomain; + cloudServiceOperatingSystems: operations.CloudServiceOperatingSystems; /** * Initializes a new instance of the ComputeManagementClient class. @@ -67,28 +73,35 @@ class ComputeManagementClient extends ComputeManagementClientContext { this.virtualMachineExtensionImages = new operations.VirtualMachineExtensionImages(this); this.virtualMachineExtensions = new operations.VirtualMachineExtensions(this); this.virtualMachineImages = new operations.VirtualMachineImages(this); + this.virtualMachineImagesEdgeZone = new operations.VirtualMachineImagesEdgeZone(this); this.usage = new operations.UsageOperations(this); this.virtualMachines = new operations.VirtualMachines(this); + this.virtualMachineScaleSets = new operations.VirtualMachineScaleSets(this); this.virtualMachineSizes = new operations.VirtualMachineSizes(this); this.images = new operations.Images(this); - this.virtualMachineScaleSets = new operations.VirtualMachineScaleSets(this); this.virtualMachineScaleSetExtensions = new operations.VirtualMachineScaleSetExtensions(this); this.virtualMachineScaleSetRollingUpgrades = new operations.VirtualMachineScaleSetRollingUpgrades(this); this.virtualMachineScaleSetVMExtensions = new operations.VirtualMachineScaleSetVMExtensions(this); this.virtualMachineScaleSetVMs = new operations.VirtualMachineScaleSetVMs(this); this.logAnalytics = new operations.LogAnalytics(this); this.virtualMachineRunCommands = new operations.VirtualMachineRunCommands(this); + this.virtualMachineScaleSetVMRunCommands = new operations.VirtualMachineScaleSetVMRunCommands(this); this.resourceSkus = new operations.ResourceSkus(this); this.disks = new operations.Disks(this); this.snapshots = new operations.Snapshots(this); this.diskEncryptionSets = new operations.DiskEncryptionSets(this); this.diskAccesses = new operations.DiskAccesses(this); + this.diskRestorePoint = new operations.DiskRestorePointOperations(this); this.galleries = new operations.Galleries(this); this.galleryImages = new operations.GalleryImages(this); this.galleryImageVersions = new operations.GalleryImageVersions(this); this.galleryApplications = new operations.GalleryApplications(this); this.galleryApplicationVersions = new operations.GalleryApplicationVersions(this); - this.containerServices = new operations.ContainerServices(this); + this.cloudServiceRoleInstances = new operations.CloudServiceRoleInstances(this); + this.cloudServiceRoles = new operations.CloudServiceRoles(this); + this.cloudServices = new operations.CloudServices(this); + this.cloudServicesUpdateDomain = new operations.CloudServicesUpdateDomain(this); + this.cloudServiceOperatingSystems = new operations.CloudServiceOperatingSystems(this); } } diff --git a/sdk/compute/arm-compute/src/computeManagementClientContext.ts b/sdk/compute/arm-compute/src/computeManagementClientContext.ts index cebdc218eaf4..01d00869e6e2 100644 --- a/sdk/compute/arm-compute/src/computeManagementClientContext.ts +++ b/sdk/compute/arm-compute/src/computeManagementClientContext.ts @@ -1,7 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is diff --git a/sdk/compute/arm-compute/src/models/availabilitySetsMappers.ts b/sdk/compute/arm-compute/src/models/availabilitySetsMappers.ts index 81c92f5c003c..bf811a9890a5 100644 --- a/sdk/compute/arm-compute/src/models/availabilitySetsMappers.ts +++ b/sdk/compute/arm-compute/src/models/availabilitySetsMappers.ts @@ -1,6 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is regenerated. @@ -24,18 +24,18 @@ export { BootDiagnostics, BootDiagnosticsInstanceView, CloudError, - ContainerService, - ContainerServiceAgentPoolProfile, - ContainerServiceCustomProfile, - ContainerServiceDiagnosticsProfile, - ContainerServiceLinuxProfile, - ContainerServiceMasterProfile, - ContainerServiceOrchestratorProfile, - ContainerServiceServicePrincipalProfile, - ContainerServiceSshConfiguration, - ContainerServiceSshPublicKey, - ContainerServiceVMDiagnostics, - ContainerServiceWindowsProfile, + CloudService, + CloudServiceExtensionProfile, + CloudServiceExtensionProperties, + CloudServiceNetworkProfile, + CloudServiceOsProfile, + CloudServiceProperties, + CloudServiceRoleProfile, + CloudServiceRoleProfileProperties, + CloudServiceRoleSku, + CloudServiceVaultAndSecretReference, + CloudServiceVaultCertificate, + CloudServiceVaultSecretGroup, CreationData, DataDisk, DataDiskImage, @@ -66,6 +66,8 @@ export { EncryptionSetIdentity, EncryptionSettingsCollection, EncryptionSettingsElement, + ExtendedLocation, + Extension, Gallery, GalleryApplication, GalleryApplicationUpdate, @@ -98,12 +100,18 @@ export { ImageUpdate, InnerError, InstanceViewStatus, + KeyForDiskEncryptionSet, KeyVaultAndKeyReference, KeyVaultAndSecretReference, KeyVaultKeyReference, KeyVaultSecretReference, LastPatchInstallationSummary, LinuxConfiguration, + LinuxPatchSettings, + LoadBalancerConfiguration, + LoadBalancerConfigurationProperties, + LoadBalancerFrontendIPConfiguration, + LoadBalancerFrontendIPConfigurationProperties, MaintenanceRedeployStatus, ManagedDiskParameters, NetworkInterfaceReference, @@ -129,6 +137,7 @@ export { RollingUpgradeProgressInfo, RollingUpgradeRunningStatus, RollingUpgradeStatusInfo, + RunCommandInputParameter, ScaleInPolicy, ScheduledEventsProfile, SecurityProfile, @@ -147,9 +156,11 @@ export { SubResourceWithColocationStatus, TargetRegion, TerminateNotificationProfile, + UefiSettings, UpdateResource, UpdateResourceDefinition, UpgradePolicy, + UserArtifactManage, UserArtifactSource, VaultCertificate, VaultSecretGroup, @@ -166,9 +177,14 @@ export { VirtualMachineIdentity, VirtualMachineIdentityUserAssignedIdentitiesValue, VirtualMachineImage, + VirtualMachineImageFeature, VirtualMachineImageResource, VirtualMachineInstanceView, VirtualMachinePatchStatus, + VirtualMachineRunCommand, + VirtualMachineRunCommandInstanceView, + VirtualMachineRunCommandScriptSource, + VirtualMachineRunCommandUpdate, VirtualMachineScaleSet, VirtualMachineScaleSetDataDisk, VirtualMachineScaleSetExtension, @@ -197,6 +213,8 @@ export { VirtualMachineScaleSetUpdateStorageProfile, VirtualMachineScaleSetUpdateVMProfile, VirtualMachineScaleSetVM, + VirtualMachineScaleSetVMExtension, + VirtualMachineScaleSetVMExtensionUpdate, VirtualMachineScaleSetVMInstanceView, VirtualMachineScaleSetVMNetworkProfileConfiguration, VirtualMachineScaleSetVMProfile, diff --git a/sdk/compute/arm-compute/src/models/cloudServiceOperatingSystemsMappers.ts b/sdk/compute/arm-compute/src/models/cloudServiceOperatingSystemsMappers.ts new file mode 100644 index 000000000000..97ea70de5c8a --- /dev/null +++ b/sdk/compute/arm-compute/src/models/cloudServiceOperatingSystemsMappers.ts @@ -0,0 +1,21 @@ +/* + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. + * + * Code generated by Microsoft (R) AutoRest Code Generator. + * Changes may cause incorrect behavior and will be lost if the code is regenerated. + */ + +export { + ApiError, + ApiErrorBase, + CloudError, + InnerError, + OSFamily, + OSFamilyListResult, + OSFamilyProperties, + OSVersion, + OSVersionListResult, + OSVersionProperties, + OSVersionPropertiesBase +} from "../models/mappers"; diff --git a/sdk/compute/arm-compute/src/models/cloudServiceRoleInstancesMappers.ts b/sdk/compute/arm-compute/src/models/cloudServiceRoleInstancesMappers.ts new file mode 100644 index 000000000000..2077a0827eec --- /dev/null +++ b/sdk/compute/arm-compute/src/models/cloudServiceRoleInstancesMappers.ts @@ -0,0 +1,216 @@ +/* + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. + * + * Code generated by Microsoft (R) AutoRest Code Generator. + * Changes may cause incorrect behavior and will be lost if the code is regenerated. + */ + +export { + AdditionalCapabilities, + AdditionalUnattendContent, + ApiEntityReference, + ApiError, + ApiErrorBase, + AutomaticOSUpgradePolicy, + AutomaticOSUpgradeProperties, + AutomaticRepairsPolicy, + AvailabilitySet, + AvailablePatchSummary, + BaseResource, + BillingProfile, + BootDiagnostics, + BootDiagnosticsInstanceView, + CloudError, + CloudService, + CloudServiceExtensionProfile, + CloudServiceExtensionProperties, + CloudServiceNetworkProfile, + CloudServiceOsProfile, + CloudServiceProperties, + CloudServiceRoleProfile, + CloudServiceRoleProfileProperties, + CloudServiceRoleSku, + CloudServiceVaultAndSecretReference, + CloudServiceVaultCertificate, + CloudServiceVaultSecretGroup, + CreationData, + DataDisk, + DataDiskImage, + DataDiskImageEncryption, + DedicatedHost, + DedicatedHostAllocatableVM, + DedicatedHostAvailableCapacity, + DedicatedHostGroup, + DedicatedHostGroupInstanceView, + DedicatedHostInstanceView, + DedicatedHostInstanceViewWithName, + DiagnosticsProfile, + DiffDiskSettings, + Disallowed, + DisallowedConfiguration, + Disk, + DiskAccess, + DiskEncryptionSet, + DiskEncryptionSetParameters, + DiskEncryptionSettings, + DiskImageEncryption, + DiskInstanceView, + DiskSku, + Encryption, + EncryptionImages, + EncryptionSetIdentity, + EncryptionSettingsCollection, + EncryptionSettingsElement, + ExtendedLocation, + Extension, + Gallery, + GalleryApplication, + GalleryApplicationUpdate, + GalleryApplicationVersion, + GalleryApplicationVersionPublishingProfile, + GalleryApplicationVersionUpdate, + GalleryArtifactPublishingProfileBase, + GalleryArtifactVersionSource, + GalleryDataDiskImage, + GalleryDiskImage, + GalleryIdentifier, + GalleryImage, + GalleryImageIdentifier, + GalleryImageUpdate, + GalleryImageVersion, + GalleryImageVersionPublishingProfile, + GalleryImageVersionStorageProfile, + GalleryImageVersionUpdate, + GalleryOSDiskImage, + GalleryUpdate, + HardwareProfile, + Image, + ImageDataDisk, + ImageDisk, + ImageDiskReference, + ImageOSDisk, + ImagePurchasePlan, + ImageReference, + ImageStorageProfile, + InnerError, + InstanceSku, + InstanceViewStatus, + KeyForDiskEncryptionSet, + KeyVaultAndKeyReference, + KeyVaultAndSecretReference, + KeyVaultKeyReference, + KeyVaultSecretReference, + LastPatchInstallationSummary, + LinuxConfiguration, + LinuxPatchSettings, + LoadBalancerConfiguration, + LoadBalancerConfigurationProperties, + LoadBalancerFrontendIPConfiguration, + LoadBalancerFrontendIPConfigurationProperties, + MaintenanceRedeployStatus, + ManagedDiskParameters, + NetworkInterfaceReference, + NetworkProfile, + OSDisk, + OSDiskImage, + OSDiskImageEncryption, + OSProfile, + PatchSettings, + Plan, + PrivateEndpoint, + PrivateEndpointConnection, + PrivateLinkServiceConnectionState, + ProximityPlacementGroup, + PurchasePlan, + RecommendedMachineConfiguration, + RegionalReplicationStatus, + ReplicationStatus, + Resource, + ResourceInstanceViewStatus, + ResourceRange, + RoleInstance, + RoleInstanceInstanceView, + RoleInstanceListResult, + RoleInstanceNetworkProfile, + RoleInstanceProperties, + RollingUpgradePolicy, + RollingUpgradeProgressInfo, + RollingUpgradeRunningStatus, + RollingUpgradeStatusInfo, + RunCommandInputParameter, + ScaleInPolicy, + ScheduledEventsProfile, + SecurityProfile, + ShareInfoElement, + Sku, + Snapshot, + SnapshotSku, + SourceVault, + SshConfiguration, + SshPublicKey, + SshPublicKeyResource, + StorageProfile, + SubResource, + SubResourceReadOnly, + SubResourceWithColocationStatus, + TargetRegion, + TerminateNotificationProfile, + UefiSettings, + UpdateResourceDefinition, + UpgradePolicy, + UserArtifactManage, + UserArtifactSource, + VaultCertificate, + VaultSecretGroup, + VirtualHardDisk, + VirtualMachine, + VirtualMachineAgentInstanceView, + VirtualMachineCaptureResult, + VirtualMachineExtension, + VirtualMachineExtensionHandlerInstanceView, + VirtualMachineExtensionImage, + VirtualMachineExtensionInstanceView, + VirtualMachineHealthStatus, + VirtualMachineIdentity, + VirtualMachineIdentityUserAssignedIdentitiesValue, + VirtualMachineImage, + VirtualMachineImageFeature, + VirtualMachineImageResource, + VirtualMachineInstanceView, + VirtualMachinePatchStatus, + VirtualMachineRunCommand, + VirtualMachineRunCommandInstanceView, + VirtualMachineRunCommandScriptSource, + VirtualMachineScaleSet, + VirtualMachineScaleSetDataDisk, + VirtualMachineScaleSetExtension, + VirtualMachineScaleSetExtensionProfile, + VirtualMachineScaleSetExtensionUpdate, + VirtualMachineScaleSetIdentity, + VirtualMachineScaleSetIdentityUserAssignedIdentitiesValue, + VirtualMachineScaleSetIPConfiguration, + VirtualMachineScaleSetIpTag, + VirtualMachineScaleSetManagedDiskParameters, + VirtualMachineScaleSetNetworkConfiguration, + VirtualMachineScaleSetNetworkConfigurationDnsSettings, + VirtualMachineScaleSetNetworkProfile, + VirtualMachineScaleSetOSDisk, + VirtualMachineScaleSetOSProfile, + VirtualMachineScaleSetPublicIPAddressConfiguration, + VirtualMachineScaleSetPublicIPAddressConfigurationDnsSettings, + VirtualMachineScaleSetStorageProfile, + VirtualMachineScaleSetUpdateIPConfiguration, + VirtualMachineScaleSetUpdateNetworkConfiguration, + VirtualMachineScaleSetUpdatePublicIPAddressConfiguration, + VirtualMachineScaleSetVM, + VirtualMachineScaleSetVMExtension, + VirtualMachineScaleSetVMExtensionUpdate, + VirtualMachineScaleSetVMInstanceView, + VirtualMachineScaleSetVMNetworkProfileConfiguration, + VirtualMachineScaleSetVMProfile, + VirtualMachineScaleSetVMProtectionPolicy, + WindowsConfiguration, + WinRMConfiguration, + WinRMListener +} from "../models/mappers"; diff --git a/sdk/compute/arm-compute/src/models/cloudServiceRolesMappers.ts b/sdk/compute/arm-compute/src/models/cloudServiceRolesMappers.ts new file mode 100644 index 000000000000..5c9b68780c58 --- /dev/null +++ b/sdk/compute/arm-compute/src/models/cloudServiceRolesMappers.ts @@ -0,0 +1,18 @@ +/* + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. + * + * Code generated by Microsoft (R) AutoRest Code Generator. + * Changes may cause incorrect behavior and will be lost if the code is regenerated. + */ + +export { + ApiError, + ApiErrorBase, + CloudError, + CloudServiceRole, + CloudServiceRoleListResult, + CloudServiceRoleProperties, + CloudServiceRoleSku, + InnerError +} from "../models/mappers"; diff --git a/sdk/compute/arm-compute/src/models/cloudServicesMappers.ts b/sdk/compute/arm-compute/src/models/cloudServicesMappers.ts new file mode 100644 index 000000000000..e15fff86a822 --- /dev/null +++ b/sdk/compute/arm-compute/src/models/cloudServicesMappers.ts @@ -0,0 +1,216 @@ +/* + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. + * + * Code generated by Microsoft (R) AutoRest Code Generator. + * Changes may cause incorrect behavior and will be lost if the code is regenerated. + */ + +export { + AdditionalCapabilities, + AdditionalUnattendContent, + ApiEntityReference, + ApiError, + ApiErrorBase, + AutomaticOSUpgradePolicy, + AutomaticOSUpgradeProperties, + AutomaticRepairsPolicy, + AvailabilitySet, + AvailablePatchSummary, + BaseResource, + BillingProfile, + BootDiagnostics, + BootDiagnosticsInstanceView, + CloudError, + CloudService, + CloudServiceExtensionProfile, + CloudServiceExtensionProperties, + CloudServiceInstanceView, + CloudServiceListResult, + CloudServiceNetworkProfile, + CloudServiceOsProfile, + CloudServiceProperties, + CloudServiceRoleProfile, + CloudServiceRoleProfileProperties, + CloudServiceRoleSku, + CloudServiceUpdate, + CloudServiceVaultAndSecretReference, + CloudServiceVaultCertificate, + CloudServiceVaultSecretGroup, + CreationData, + DataDisk, + DataDiskImage, + DataDiskImageEncryption, + DedicatedHost, + DedicatedHostAllocatableVM, + DedicatedHostAvailableCapacity, + DedicatedHostGroup, + DedicatedHostGroupInstanceView, + DedicatedHostInstanceView, + DedicatedHostInstanceViewWithName, + DiagnosticsProfile, + DiffDiskSettings, + Disallowed, + DisallowedConfiguration, + Disk, + DiskAccess, + DiskEncryptionSet, + DiskEncryptionSetParameters, + DiskEncryptionSettings, + DiskImageEncryption, + DiskInstanceView, + DiskSku, + Encryption, + EncryptionImages, + EncryptionSetIdentity, + EncryptionSettingsCollection, + EncryptionSettingsElement, + ExtendedLocation, + Extension, + Gallery, + GalleryApplication, + GalleryApplicationUpdate, + GalleryApplicationVersion, + GalleryApplicationVersionPublishingProfile, + GalleryApplicationVersionUpdate, + GalleryArtifactPublishingProfileBase, + GalleryArtifactVersionSource, + GalleryDataDiskImage, + GalleryDiskImage, + GalleryIdentifier, + GalleryImage, + GalleryImageIdentifier, + GalleryImageUpdate, + GalleryImageVersion, + GalleryImageVersionPublishingProfile, + GalleryImageVersionStorageProfile, + GalleryImageVersionUpdate, + GalleryOSDiskImage, + GalleryUpdate, + HardwareProfile, + Image, + ImageDataDisk, + ImageDisk, + ImageDiskReference, + ImageOSDisk, + ImagePurchasePlan, + ImageReference, + ImageStorageProfile, + InnerError, + InstanceViewStatus, + InstanceViewStatusesSummary, + KeyForDiskEncryptionSet, + KeyVaultAndKeyReference, + KeyVaultAndSecretReference, + KeyVaultKeyReference, + KeyVaultSecretReference, + LastPatchInstallationSummary, + LinuxConfiguration, + LinuxPatchSettings, + LoadBalancerConfiguration, + LoadBalancerConfigurationProperties, + LoadBalancerFrontendIPConfiguration, + LoadBalancerFrontendIPConfigurationProperties, + MaintenanceRedeployStatus, + ManagedDiskParameters, + NetworkInterfaceReference, + NetworkProfile, + OSDisk, + OSDiskImage, + OSDiskImageEncryption, + OSProfile, + PatchSettings, + Plan, + PrivateEndpoint, + PrivateEndpointConnection, + PrivateLinkServiceConnectionState, + ProximityPlacementGroup, + PurchasePlan, + RecommendedMachineConfiguration, + RegionalReplicationStatus, + ReplicationStatus, + Resource, + ResourceInstanceViewStatus, + ResourceRange, + RoleInstances, + RollingUpgradePolicy, + RollingUpgradeProgressInfo, + RollingUpgradeRunningStatus, + RollingUpgradeStatusInfo, + RunCommandInputParameter, + ScaleInPolicy, + ScheduledEventsProfile, + SecurityProfile, + ShareInfoElement, + Sku, + Snapshot, + SnapshotSku, + SourceVault, + SshConfiguration, + SshPublicKey, + SshPublicKeyResource, + StatusCodeCount, + StorageProfile, + SubResource, + SubResourceReadOnly, + SubResourceWithColocationStatus, + TargetRegion, + TerminateNotificationProfile, + UefiSettings, + UpdateResourceDefinition, + UpgradePolicy, + UserArtifactManage, + UserArtifactSource, + VaultCertificate, + VaultSecretGroup, + VirtualHardDisk, + VirtualMachine, + VirtualMachineAgentInstanceView, + VirtualMachineCaptureResult, + VirtualMachineExtension, + VirtualMachineExtensionHandlerInstanceView, + VirtualMachineExtensionImage, + VirtualMachineExtensionInstanceView, + VirtualMachineHealthStatus, + VirtualMachineIdentity, + VirtualMachineIdentityUserAssignedIdentitiesValue, + VirtualMachineImage, + VirtualMachineImageFeature, + VirtualMachineImageResource, + VirtualMachineInstanceView, + VirtualMachinePatchStatus, + VirtualMachineRunCommand, + VirtualMachineRunCommandInstanceView, + VirtualMachineRunCommandScriptSource, + VirtualMachineScaleSet, + VirtualMachineScaleSetDataDisk, + VirtualMachineScaleSetExtension, + VirtualMachineScaleSetExtensionProfile, + VirtualMachineScaleSetExtensionUpdate, + VirtualMachineScaleSetIdentity, + VirtualMachineScaleSetIdentityUserAssignedIdentitiesValue, + VirtualMachineScaleSetIPConfiguration, + VirtualMachineScaleSetIpTag, + VirtualMachineScaleSetManagedDiskParameters, + VirtualMachineScaleSetNetworkConfiguration, + VirtualMachineScaleSetNetworkConfigurationDnsSettings, + VirtualMachineScaleSetNetworkProfile, + VirtualMachineScaleSetOSDisk, + VirtualMachineScaleSetOSProfile, + VirtualMachineScaleSetPublicIPAddressConfiguration, + VirtualMachineScaleSetPublicIPAddressConfigurationDnsSettings, + VirtualMachineScaleSetStorageProfile, + VirtualMachineScaleSetUpdateIPConfiguration, + VirtualMachineScaleSetUpdateNetworkConfiguration, + VirtualMachineScaleSetUpdatePublicIPAddressConfiguration, + VirtualMachineScaleSetVM, + VirtualMachineScaleSetVMExtension, + VirtualMachineScaleSetVMExtensionUpdate, + VirtualMachineScaleSetVMInstanceView, + VirtualMachineScaleSetVMNetworkProfileConfiguration, + VirtualMachineScaleSetVMProfile, + VirtualMachineScaleSetVMProtectionPolicy, + WindowsConfiguration, + WinRMConfiguration, + WinRMListener +} from "../models/mappers"; diff --git a/sdk/compute/arm-compute/src/models/cloudServicesUpdateDomainMappers.ts b/sdk/compute/arm-compute/src/models/cloudServicesUpdateDomainMappers.ts new file mode 100644 index 000000000000..263e5178c53a --- /dev/null +++ b/sdk/compute/arm-compute/src/models/cloudServicesUpdateDomainMappers.ts @@ -0,0 +1,16 @@ +/* + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. + * + * Code generated by Microsoft (R) AutoRest Code Generator. + * Changes may cause incorrect behavior and will be lost if the code is regenerated. + */ + +export { + ApiError, + ApiErrorBase, + CloudError, + InnerError, + UpdateDomain, + UpdateDomainListResult +} from "../models/mappers"; diff --git a/sdk/compute/arm-compute/src/models/dedicatedHostGroupsMappers.ts b/sdk/compute/arm-compute/src/models/dedicatedHostGroupsMappers.ts index d6492a5ccb31..e0d6f4077f95 100644 --- a/sdk/compute/arm-compute/src/models/dedicatedHostGroupsMappers.ts +++ b/sdk/compute/arm-compute/src/models/dedicatedHostGroupsMappers.ts @@ -1,6 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is regenerated. @@ -23,18 +23,18 @@ export { BootDiagnostics, BootDiagnosticsInstanceView, CloudError, - ContainerService, - ContainerServiceAgentPoolProfile, - ContainerServiceCustomProfile, - ContainerServiceDiagnosticsProfile, - ContainerServiceLinuxProfile, - ContainerServiceMasterProfile, - ContainerServiceOrchestratorProfile, - ContainerServiceServicePrincipalProfile, - ContainerServiceSshConfiguration, - ContainerServiceSshPublicKey, - ContainerServiceVMDiagnostics, - ContainerServiceWindowsProfile, + CloudService, + CloudServiceExtensionProfile, + CloudServiceExtensionProperties, + CloudServiceNetworkProfile, + CloudServiceOsProfile, + CloudServiceProperties, + CloudServiceRoleProfile, + CloudServiceRoleProfileProperties, + CloudServiceRoleSku, + CloudServiceVaultAndSecretReference, + CloudServiceVaultCertificate, + CloudServiceVaultSecretGroup, CreationData, DataDisk, DataDiskImage, @@ -66,6 +66,8 @@ export { EncryptionSetIdentity, EncryptionSettingsCollection, EncryptionSettingsElement, + ExtendedLocation, + Extension, Gallery, GalleryApplication, GalleryApplicationUpdate, @@ -98,12 +100,18 @@ export { ImageUpdate, InnerError, InstanceViewStatus, + KeyForDiskEncryptionSet, KeyVaultAndKeyReference, KeyVaultAndSecretReference, KeyVaultKeyReference, KeyVaultSecretReference, LastPatchInstallationSummary, LinuxConfiguration, + LinuxPatchSettings, + LoadBalancerConfiguration, + LoadBalancerConfigurationProperties, + LoadBalancerFrontendIPConfiguration, + LoadBalancerFrontendIPConfigurationProperties, MaintenanceRedeployStatus, ManagedDiskParameters, NetworkInterfaceReference, @@ -129,6 +137,7 @@ export { RollingUpgradeProgressInfo, RollingUpgradeRunningStatus, RollingUpgradeStatusInfo, + RunCommandInputParameter, ScaleInPolicy, ScheduledEventsProfile, SecurityProfile, @@ -147,9 +156,11 @@ export { SubResourceWithColocationStatus, TargetRegion, TerminateNotificationProfile, + UefiSettings, UpdateResource, UpdateResourceDefinition, UpgradePolicy, + UserArtifactManage, UserArtifactSource, VaultCertificate, VaultSecretGroup, @@ -166,9 +177,14 @@ export { VirtualMachineIdentity, VirtualMachineIdentityUserAssignedIdentitiesValue, VirtualMachineImage, + VirtualMachineImageFeature, VirtualMachineImageResource, VirtualMachineInstanceView, VirtualMachinePatchStatus, + VirtualMachineRunCommand, + VirtualMachineRunCommandInstanceView, + VirtualMachineRunCommandScriptSource, + VirtualMachineRunCommandUpdate, VirtualMachineScaleSet, VirtualMachineScaleSetDataDisk, VirtualMachineScaleSetExtension, @@ -197,6 +213,8 @@ export { VirtualMachineScaleSetUpdateStorageProfile, VirtualMachineScaleSetUpdateVMProfile, VirtualMachineScaleSetVM, + VirtualMachineScaleSetVMExtension, + VirtualMachineScaleSetVMExtensionUpdate, VirtualMachineScaleSetVMInstanceView, VirtualMachineScaleSetVMNetworkProfileConfiguration, VirtualMachineScaleSetVMProfile, diff --git a/sdk/compute/arm-compute/src/models/dedicatedHostsMappers.ts b/sdk/compute/arm-compute/src/models/dedicatedHostsMappers.ts index e13ef3198917..0e3a1471eb21 100644 --- a/sdk/compute/arm-compute/src/models/dedicatedHostsMappers.ts +++ b/sdk/compute/arm-compute/src/models/dedicatedHostsMappers.ts @@ -1,6 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is regenerated. @@ -23,18 +23,18 @@ export { BootDiagnostics, BootDiagnosticsInstanceView, CloudError, - ContainerService, - ContainerServiceAgentPoolProfile, - ContainerServiceCustomProfile, - ContainerServiceDiagnosticsProfile, - ContainerServiceLinuxProfile, - ContainerServiceMasterProfile, - ContainerServiceOrchestratorProfile, - ContainerServiceServicePrincipalProfile, - ContainerServiceSshConfiguration, - ContainerServiceSshPublicKey, - ContainerServiceVMDiagnostics, - ContainerServiceWindowsProfile, + CloudService, + CloudServiceExtensionProfile, + CloudServiceExtensionProperties, + CloudServiceNetworkProfile, + CloudServiceOsProfile, + CloudServiceProperties, + CloudServiceRoleProfile, + CloudServiceRoleProfileProperties, + CloudServiceRoleSku, + CloudServiceVaultAndSecretReference, + CloudServiceVaultCertificate, + CloudServiceVaultSecretGroup, CreationData, DataDisk, DataDiskImage, @@ -66,6 +66,8 @@ export { EncryptionSetIdentity, EncryptionSettingsCollection, EncryptionSettingsElement, + ExtendedLocation, + Extension, Gallery, GalleryApplication, GalleryApplicationUpdate, @@ -98,12 +100,18 @@ export { ImageUpdate, InnerError, InstanceViewStatus, + KeyForDiskEncryptionSet, KeyVaultAndKeyReference, KeyVaultAndSecretReference, KeyVaultKeyReference, KeyVaultSecretReference, LastPatchInstallationSummary, LinuxConfiguration, + LinuxPatchSettings, + LoadBalancerConfiguration, + LoadBalancerConfigurationProperties, + LoadBalancerFrontendIPConfiguration, + LoadBalancerFrontendIPConfigurationProperties, MaintenanceRedeployStatus, ManagedDiskParameters, NetworkInterfaceReference, @@ -129,6 +137,7 @@ export { RollingUpgradeProgressInfo, RollingUpgradeRunningStatus, RollingUpgradeStatusInfo, + RunCommandInputParameter, ScaleInPolicy, ScheduledEventsProfile, SecurityProfile, @@ -147,9 +156,11 @@ export { SubResourceWithColocationStatus, TargetRegion, TerminateNotificationProfile, + UefiSettings, UpdateResource, UpdateResourceDefinition, UpgradePolicy, + UserArtifactManage, UserArtifactSource, VaultCertificate, VaultSecretGroup, @@ -166,9 +177,14 @@ export { VirtualMachineIdentity, VirtualMachineIdentityUserAssignedIdentitiesValue, VirtualMachineImage, + VirtualMachineImageFeature, VirtualMachineImageResource, VirtualMachineInstanceView, VirtualMachinePatchStatus, + VirtualMachineRunCommand, + VirtualMachineRunCommandInstanceView, + VirtualMachineRunCommandScriptSource, + VirtualMachineRunCommandUpdate, VirtualMachineScaleSet, VirtualMachineScaleSetDataDisk, VirtualMachineScaleSetExtension, @@ -197,6 +213,8 @@ export { VirtualMachineScaleSetUpdateStorageProfile, VirtualMachineScaleSetUpdateVMProfile, VirtualMachineScaleSetVM, + VirtualMachineScaleSetVMExtension, + VirtualMachineScaleSetVMExtensionUpdate, VirtualMachineScaleSetVMInstanceView, VirtualMachineScaleSetVMNetworkProfileConfiguration, VirtualMachineScaleSetVMProfile, diff --git a/sdk/compute/arm-compute/src/models/diskAccessesMappers.ts b/sdk/compute/arm-compute/src/models/diskAccessesMappers.ts index 04693ac9ce02..6ee129898f8e 100644 --- a/sdk/compute/arm-compute/src/models/diskAccessesMappers.ts +++ b/sdk/compute/arm-compute/src/models/diskAccessesMappers.ts @@ -1,6 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is regenerated. @@ -22,18 +22,18 @@ export { BootDiagnostics, BootDiagnosticsInstanceView, CloudError, - ContainerService, - ContainerServiceAgentPoolProfile, - ContainerServiceCustomProfile, - ContainerServiceDiagnosticsProfile, - ContainerServiceLinuxProfile, - ContainerServiceMasterProfile, - ContainerServiceOrchestratorProfile, - ContainerServiceServicePrincipalProfile, - ContainerServiceSshConfiguration, - ContainerServiceSshPublicKey, - ContainerServiceVMDiagnostics, - ContainerServiceWindowsProfile, + CloudService, + CloudServiceExtensionProfile, + CloudServiceExtensionProperties, + CloudServiceNetworkProfile, + CloudServiceOsProfile, + CloudServiceProperties, + CloudServiceRoleProfile, + CloudServiceRoleProfileProperties, + CloudServiceRoleSku, + CloudServiceVaultAndSecretReference, + CloudServiceVaultCertificate, + CloudServiceVaultSecretGroup, CreationData, DataDisk, DataDiskImage, @@ -64,6 +64,8 @@ export { EncryptionSetIdentity, EncryptionSettingsCollection, EncryptionSettingsElement, + ExtendedLocation, + Extension, Gallery, GalleryApplication, GalleryApplicationUpdate, @@ -95,12 +97,18 @@ export { ImageStorageProfile, InnerError, InstanceViewStatus, + KeyForDiskEncryptionSet, KeyVaultAndKeyReference, KeyVaultAndSecretReference, KeyVaultKeyReference, KeyVaultSecretReference, LastPatchInstallationSummary, LinuxConfiguration, + LinuxPatchSettings, + LoadBalancerConfiguration, + LoadBalancerConfigurationProperties, + LoadBalancerFrontendIPConfiguration, + LoadBalancerFrontendIPConfigurationProperties, MaintenanceRedeployStatus, ManagedDiskParameters, NetworkInterfaceReference, @@ -113,6 +121,7 @@ export { Plan, PrivateEndpoint, PrivateEndpointConnection, + PrivateEndpointConnectionListResult, PrivateLinkResource, PrivateLinkResourceListResult, PrivateLinkServiceConnectionState, @@ -127,6 +136,7 @@ export { RollingUpgradeProgressInfo, RollingUpgradeRunningStatus, RollingUpgradeStatusInfo, + RunCommandInputParameter, ScaleInPolicy, ScheduledEventsProfile, SecurityProfile, @@ -144,8 +154,10 @@ export { SubResourceWithColocationStatus, TargetRegion, TerminateNotificationProfile, + UefiSettings, UpdateResourceDefinition, UpgradePolicy, + UserArtifactManage, UserArtifactSource, VaultCertificate, VaultSecretGroup, @@ -161,9 +173,13 @@ export { VirtualMachineIdentity, VirtualMachineIdentityUserAssignedIdentitiesValue, VirtualMachineImage, + VirtualMachineImageFeature, VirtualMachineImageResource, VirtualMachineInstanceView, VirtualMachinePatchStatus, + VirtualMachineRunCommand, + VirtualMachineRunCommandInstanceView, + VirtualMachineRunCommandScriptSource, VirtualMachineScaleSet, VirtualMachineScaleSetDataDisk, VirtualMachineScaleSetExtension, @@ -186,6 +202,8 @@ export { VirtualMachineScaleSetUpdateNetworkConfiguration, VirtualMachineScaleSetUpdatePublicIPAddressConfiguration, VirtualMachineScaleSetVM, + VirtualMachineScaleSetVMExtension, + VirtualMachineScaleSetVMExtensionUpdate, VirtualMachineScaleSetVMInstanceView, VirtualMachineScaleSetVMNetworkProfileConfiguration, VirtualMachineScaleSetVMProfile, diff --git a/sdk/compute/arm-compute/src/models/diskEncryptionSetsMappers.ts b/sdk/compute/arm-compute/src/models/diskEncryptionSetsMappers.ts index 1fb77b62ea0b..643f90e8483a 100644 --- a/sdk/compute/arm-compute/src/models/diskEncryptionSetsMappers.ts +++ b/sdk/compute/arm-compute/src/models/diskEncryptionSetsMappers.ts @@ -1,6 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is regenerated. @@ -22,18 +22,18 @@ export { BootDiagnostics, BootDiagnosticsInstanceView, CloudError, - ContainerService, - ContainerServiceAgentPoolProfile, - ContainerServiceCustomProfile, - ContainerServiceDiagnosticsProfile, - ContainerServiceLinuxProfile, - ContainerServiceMasterProfile, - ContainerServiceOrchestratorProfile, - ContainerServiceServicePrincipalProfile, - ContainerServiceSshConfiguration, - ContainerServiceSshPublicKey, - ContainerServiceVMDiagnostics, - ContainerServiceWindowsProfile, + CloudService, + CloudServiceExtensionProfile, + CloudServiceExtensionProperties, + CloudServiceNetworkProfile, + CloudServiceOsProfile, + CloudServiceProperties, + CloudServiceRoleProfile, + CloudServiceRoleProfileProperties, + CloudServiceRoleSku, + CloudServiceVaultAndSecretReference, + CloudServiceVaultCertificate, + CloudServiceVaultSecretGroup, CreationData, DataDisk, DataDiskImage, @@ -64,6 +64,8 @@ export { EncryptionSetIdentity, EncryptionSettingsCollection, EncryptionSettingsElement, + ExtendedLocation, + Extension, Gallery, GalleryApplication, GalleryApplicationUpdate, @@ -95,12 +97,18 @@ export { ImageStorageProfile, InnerError, InstanceViewStatus, + KeyForDiskEncryptionSet, KeyVaultAndKeyReference, KeyVaultAndSecretReference, KeyVaultKeyReference, KeyVaultSecretReference, LastPatchInstallationSummary, LinuxConfiguration, + LinuxPatchSettings, + LoadBalancerConfiguration, + LoadBalancerConfigurationProperties, + LoadBalancerFrontendIPConfiguration, + LoadBalancerFrontendIPConfigurationProperties, MaintenanceRedeployStatus, ManagedDiskParameters, NetworkInterfaceReference, @@ -126,6 +134,7 @@ export { RollingUpgradeProgressInfo, RollingUpgradeRunningStatus, RollingUpgradeStatusInfo, + RunCommandInputParameter, ScaleInPolicy, ScheduledEventsProfile, SecurityProfile, @@ -143,8 +152,10 @@ export { SubResourceWithColocationStatus, TargetRegion, TerminateNotificationProfile, + UefiSettings, UpdateResourceDefinition, UpgradePolicy, + UserArtifactManage, UserArtifactSource, VaultCertificate, VaultSecretGroup, @@ -160,9 +171,13 @@ export { VirtualMachineIdentity, VirtualMachineIdentityUserAssignedIdentitiesValue, VirtualMachineImage, + VirtualMachineImageFeature, VirtualMachineImageResource, VirtualMachineInstanceView, VirtualMachinePatchStatus, + VirtualMachineRunCommand, + VirtualMachineRunCommandInstanceView, + VirtualMachineRunCommandScriptSource, VirtualMachineScaleSet, VirtualMachineScaleSetDataDisk, VirtualMachineScaleSetExtension, @@ -185,6 +200,8 @@ export { VirtualMachineScaleSetUpdateNetworkConfiguration, VirtualMachineScaleSetUpdatePublicIPAddressConfiguration, VirtualMachineScaleSetVM, + VirtualMachineScaleSetVMExtension, + VirtualMachineScaleSetVMExtensionUpdate, VirtualMachineScaleSetVMInstanceView, VirtualMachineScaleSetVMNetworkProfileConfiguration, VirtualMachineScaleSetVMProfile, diff --git a/sdk/compute/arm-compute/src/models/diskRestorePointOperationsMappers.ts b/sdk/compute/arm-compute/src/models/diskRestorePointOperationsMappers.ts new file mode 100644 index 000000000000..abbb4f14eb06 --- /dev/null +++ b/sdk/compute/arm-compute/src/models/diskRestorePointOperationsMappers.ts @@ -0,0 +1,19 @@ +/* + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. + * + * Code generated by Microsoft (R) AutoRest Code Generator. + * Changes may cause incorrect behavior and will be lost if the code is regenerated. + */ + +export { + ApiError, + ApiErrorBase, + CloudError, + DiskRestorePoint, + DiskRestorePointList, + Encryption, + InnerError, + ProxyOnlyResource, + PurchasePlan +} from "../models/mappers"; diff --git a/sdk/compute/arm-compute/src/models/disksMappers.ts b/sdk/compute/arm-compute/src/models/disksMappers.ts index f4b1367453d6..06f50950ecf7 100644 --- a/sdk/compute/arm-compute/src/models/disksMappers.ts +++ b/sdk/compute/arm-compute/src/models/disksMappers.ts @@ -1,6 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is regenerated. @@ -23,18 +23,18 @@ export { BootDiagnostics, BootDiagnosticsInstanceView, CloudError, - ContainerService, - ContainerServiceAgentPoolProfile, - ContainerServiceCustomProfile, - ContainerServiceDiagnosticsProfile, - ContainerServiceLinuxProfile, - ContainerServiceMasterProfile, - ContainerServiceOrchestratorProfile, - ContainerServiceServicePrincipalProfile, - ContainerServiceSshConfiguration, - ContainerServiceSshPublicKey, - ContainerServiceVMDiagnostics, - ContainerServiceWindowsProfile, + CloudService, + CloudServiceExtensionProfile, + CloudServiceExtensionProperties, + CloudServiceNetworkProfile, + CloudServiceOsProfile, + CloudServiceProperties, + CloudServiceRoleProfile, + CloudServiceRoleProfileProperties, + CloudServiceRoleSku, + CloudServiceVaultAndSecretReference, + CloudServiceVaultCertificate, + CloudServiceVaultSecretGroup, CreationData, DataDisk, DataDiskImage, @@ -65,6 +65,8 @@ export { EncryptionSetIdentity, EncryptionSettingsCollection, EncryptionSettingsElement, + ExtendedLocation, + Extension, Gallery, GalleryApplication, GalleryApplicationUpdate, @@ -97,12 +99,18 @@ export { ImageStorageProfile, InnerError, InstanceViewStatus, + KeyForDiskEncryptionSet, KeyVaultAndKeyReference, KeyVaultAndSecretReference, KeyVaultKeyReference, KeyVaultSecretReference, LastPatchInstallationSummary, LinuxConfiguration, + LinuxPatchSettings, + LoadBalancerConfiguration, + LoadBalancerConfigurationProperties, + LoadBalancerFrontendIPConfiguration, + LoadBalancerFrontendIPConfigurationProperties, MaintenanceRedeployStatus, ManagedDiskParameters, NetworkInterfaceReference, @@ -127,6 +135,7 @@ export { RollingUpgradeProgressInfo, RollingUpgradeRunningStatus, RollingUpgradeStatusInfo, + RunCommandInputParameter, ScaleInPolicy, ScheduledEventsProfile, SecurityProfile, @@ -144,8 +153,10 @@ export { SubResourceWithColocationStatus, TargetRegion, TerminateNotificationProfile, + UefiSettings, UpdateResourceDefinition, UpgradePolicy, + UserArtifactManage, UserArtifactSource, VaultCertificate, VaultSecretGroup, @@ -161,9 +172,13 @@ export { VirtualMachineIdentity, VirtualMachineIdentityUserAssignedIdentitiesValue, VirtualMachineImage, + VirtualMachineImageFeature, VirtualMachineImageResource, VirtualMachineInstanceView, VirtualMachinePatchStatus, + VirtualMachineRunCommand, + VirtualMachineRunCommandInstanceView, + VirtualMachineRunCommandScriptSource, VirtualMachineScaleSet, VirtualMachineScaleSetDataDisk, VirtualMachineScaleSetExtension, @@ -186,6 +201,8 @@ export { VirtualMachineScaleSetUpdateNetworkConfiguration, VirtualMachineScaleSetUpdatePublicIPAddressConfiguration, VirtualMachineScaleSetVM, + VirtualMachineScaleSetVMExtension, + VirtualMachineScaleSetVMExtensionUpdate, VirtualMachineScaleSetVMInstanceView, VirtualMachineScaleSetVMNetworkProfileConfiguration, VirtualMachineScaleSetVMProfile, diff --git a/sdk/compute/arm-compute/src/models/galleriesMappers.ts b/sdk/compute/arm-compute/src/models/galleriesMappers.ts index e8848382bd37..2bde6a7ece8c 100644 --- a/sdk/compute/arm-compute/src/models/galleriesMappers.ts +++ b/sdk/compute/arm-compute/src/models/galleriesMappers.ts @@ -1,6 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is regenerated. @@ -22,18 +22,18 @@ export { BootDiagnostics, BootDiagnosticsInstanceView, CloudError, - ContainerService, - ContainerServiceAgentPoolProfile, - ContainerServiceCustomProfile, - ContainerServiceDiagnosticsProfile, - ContainerServiceLinuxProfile, - ContainerServiceMasterProfile, - ContainerServiceOrchestratorProfile, - ContainerServiceServicePrincipalProfile, - ContainerServiceSshConfiguration, - ContainerServiceSshPublicKey, - ContainerServiceVMDiagnostics, - ContainerServiceWindowsProfile, + CloudService, + CloudServiceExtensionProfile, + CloudServiceExtensionProperties, + CloudServiceNetworkProfile, + CloudServiceOsProfile, + CloudServiceProperties, + CloudServiceRoleProfile, + CloudServiceRoleProfileProperties, + CloudServiceRoleSku, + CloudServiceVaultAndSecretReference, + CloudServiceVaultCertificate, + CloudServiceVaultSecretGroup, CreationData, DataDisk, DataDiskImage, @@ -62,6 +62,8 @@ export { EncryptionSetIdentity, EncryptionSettingsCollection, EncryptionSettingsElement, + ExtendedLocation, + Extension, Gallery, GalleryApplication, GalleryApplicationUpdate, @@ -94,12 +96,18 @@ export { ImageStorageProfile, InnerError, InstanceViewStatus, + KeyForDiskEncryptionSet, KeyVaultAndKeyReference, KeyVaultAndSecretReference, KeyVaultKeyReference, KeyVaultSecretReference, LastPatchInstallationSummary, LinuxConfiguration, + LinuxPatchSettings, + LoadBalancerConfiguration, + LoadBalancerConfigurationProperties, + LoadBalancerFrontendIPConfiguration, + LoadBalancerFrontendIPConfigurationProperties, MaintenanceRedeployStatus, ManagedDiskParameters, NetworkInterfaceReference, @@ -124,6 +132,7 @@ export { RollingUpgradeProgressInfo, RollingUpgradeRunningStatus, RollingUpgradeStatusInfo, + RunCommandInputParameter, ScaleInPolicy, ScheduledEventsProfile, SecurityProfile, @@ -141,8 +150,10 @@ export { SubResourceWithColocationStatus, TargetRegion, TerminateNotificationProfile, + UefiSettings, UpdateResourceDefinition, UpgradePolicy, + UserArtifactManage, UserArtifactSource, VaultCertificate, VaultSecretGroup, @@ -158,9 +169,13 @@ export { VirtualMachineIdentity, VirtualMachineIdentityUserAssignedIdentitiesValue, VirtualMachineImage, + VirtualMachineImageFeature, VirtualMachineImageResource, VirtualMachineInstanceView, VirtualMachinePatchStatus, + VirtualMachineRunCommand, + VirtualMachineRunCommandInstanceView, + VirtualMachineRunCommandScriptSource, VirtualMachineScaleSet, VirtualMachineScaleSetDataDisk, VirtualMachineScaleSetExtension, @@ -183,6 +198,8 @@ export { VirtualMachineScaleSetUpdateNetworkConfiguration, VirtualMachineScaleSetUpdatePublicIPAddressConfiguration, VirtualMachineScaleSetVM, + VirtualMachineScaleSetVMExtension, + VirtualMachineScaleSetVMExtensionUpdate, VirtualMachineScaleSetVMInstanceView, VirtualMachineScaleSetVMNetworkProfileConfiguration, VirtualMachineScaleSetVMProfile, diff --git a/sdk/compute/arm-compute/src/models/galleryApplicationVersionsMappers.ts b/sdk/compute/arm-compute/src/models/galleryApplicationVersionsMappers.ts index 08917ccbf34c..dd041c4c1847 100644 --- a/sdk/compute/arm-compute/src/models/galleryApplicationVersionsMappers.ts +++ b/sdk/compute/arm-compute/src/models/galleryApplicationVersionsMappers.ts @@ -1,6 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is regenerated. @@ -22,18 +22,18 @@ export { BootDiagnostics, BootDiagnosticsInstanceView, CloudError, - ContainerService, - ContainerServiceAgentPoolProfile, - ContainerServiceCustomProfile, - ContainerServiceDiagnosticsProfile, - ContainerServiceLinuxProfile, - ContainerServiceMasterProfile, - ContainerServiceOrchestratorProfile, - ContainerServiceServicePrincipalProfile, - ContainerServiceSshConfiguration, - ContainerServiceSshPublicKey, - ContainerServiceVMDiagnostics, - ContainerServiceWindowsProfile, + CloudService, + CloudServiceExtensionProfile, + CloudServiceExtensionProperties, + CloudServiceNetworkProfile, + CloudServiceOsProfile, + CloudServiceProperties, + CloudServiceRoleProfile, + CloudServiceRoleProfileProperties, + CloudServiceRoleSku, + CloudServiceVaultAndSecretReference, + CloudServiceVaultCertificate, + CloudServiceVaultSecretGroup, CreationData, DataDisk, DataDiskImage, @@ -62,6 +62,8 @@ export { EncryptionSetIdentity, EncryptionSettingsCollection, EncryptionSettingsElement, + ExtendedLocation, + Extension, Gallery, GalleryApplication, GalleryApplicationUpdate, @@ -94,12 +96,18 @@ export { ImageStorageProfile, InnerError, InstanceViewStatus, + KeyForDiskEncryptionSet, KeyVaultAndKeyReference, KeyVaultAndSecretReference, KeyVaultKeyReference, KeyVaultSecretReference, LastPatchInstallationSummary, LinuxConfiguration, + LinuxPatchSettings, + LoadBalancerConfiguration, + LoadBalancerConfigurationProperties, + LoadBalancerFrontendIPConfiguration, + LoadBalancerFrontendIPConfigurationProperties, MaintenanceRedeployStatus, ManagedDiskParameters, NetworkInterfaceReference, @@ -124,6 +132,7 @@ export { RollingUpgradeProgressInfo, RollingUpgradeRunningStatus, RollingUpgradeStatusInfo, + RunCommandInputParameter, ScaleInPolicy, ScheduledEventsProfile, SecurityProfile, @@ -141,8 +150,10 @@ export { SubResourceWithColocationStatus, TargetRegion, TerminateNotificationProfile, + UefiSettings, UpdateResourceDefinition, UpgradePolicy, + UserArtifactManage, UserArtifactSource, VaultCertificate, VaultSecretGroup, @@ -158,9 +169,13 @@ export { VirtualMachineIdentity, VirtualMachineIdentityUserAssignedIdentitiesValue, VirtualMachineImage, + VirtualMachineImageFeature, VirtualMachineImageResource, VirtualMachineInstanceView, VirtualMachinePatchStatus, + VirtualMachineRunCommand, + VirtualMachineRunCommandInstanceView, + VirtualMachineRunCommandScriptSource, VirtualMachineScaleSet, VirtualMachineScaleSetDataDisk, VirtualMachineScaleSetExtension, @@ -183,6 +198,8 @@ export { VirtualMachineScaleSetUpdateNetworkConfiguration, VirtualMachineScaleSetUpdatePublicIPAddressConfiguration, VirtualMachineScaleSetVM, + VirtualMachineScaleSetVMExtension, + VirtualMachineScaleSetVMExtensionUpdate, VirtualMachineScaleSetVMInstanceView, VirtualMachineScaleSetVMNetworkProfileConfiguration, VirtualMachineScaleSetVMProfile, diff --git a/sdk/compute/arm-compute/src/models/galleryApplicationsMappers.ts b/sdk/compute/arm-compute/src/models/galleryApplicationsMappers.ts index 23e299c473a6..3e1c42394e52 100644 --- a/sdk/compute/arm-compute/src/models/galleryApplicationsMappers.ts +++ b/sdk/compute/arm-compute/src/models/galleryApplicationsMappers.ts @@ -1,6 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is regenerated. @@ -22,18 +22,18 @@ export { BootDiagnostics, BootDiagnosticsInstanceView, CloudError, - ContainerService, - ContainerServiceAgentPoolProfile, - ContainerServiceCustomProfile, - ContainerServiceDiagnosticsProfile, - ContainerServiceLinuxProfile, - ContainerServiceMasterProfile, - ContainerServiceOrchestratorProfile, - ContainerServiceServicePrincipalProfile, - ContainerServiceSshConfiguration, - ContainerServiceSshPublicKey, - ContainerServiceVMDiagnostics, - ContainerServiceWindowsProfile, + CloudService, + CloudServiceExtensionProfile, + CloudServiceExtensionProperties, + CloudServiceNetworkProfile, + CloudServiceOsProfile, + CloudServiceProperties, + CloudServiceRoleProfile, + CloudServiceRoleProfileProperties, + CloudServiceRoleSku, + CloudServiceVaultAndSecretReference, + CloudServiceVaultCertificate, + CloudServiceVaultSecretGroup, CreationData, DataDisk, DataDiskImage, @@ -62,6 +62,8 @@ export { EncryptionSetIdentity, EncryptionSettingsCollection, EncryptionSettingsElement, + ExtendedLocation, + Extension, Gallery, GalleryApplication, GalleryApplicationList, @@ -94,12 +96,18 @@ export { ImageStorageProfile, InnerError, InstanceViewStatus, + KeyForDiskEncryptionSet, KeyVaultAndKeyReference, KeyVaultAndSecretReference, KeyVaultKeyReference, KeyVaultSecretReference, LastPatchInstallationSummary, LinuxConfiguration, + LinuxPatchSettings, + LoadBalancerConfiguration, + LoadBalancerConfigurationProperties, + LoadBalancerFrontendIPConfiguration, + LoadBalancerFrontendIPConfigurationProperties, MaintenanceRedeployStatus, ManagedDiskParameters, NetworkInterfaceReference, @@ -124,6 +132,7 @@ export { RollingUpgradeProgressInfo, RollingUpgradeRunningStatus, RollingUpgradeStatusInfo, + RunCommandInputParameter, ScaleInPolicy, ScheduledEventsProfile, SecurityProfile, @@ -141,8 +150,10 @@ export { SubResourceWithColocationStatus, TargetRegion, TerminateNotificationProfile, + UefiSettings, UpdateResourceDefinition, UpgradePolicy, + UserArtifactManage, UserArtifactSource, VaultCertificate, VaultSecretGroup, @@ -158,9 +169,13 @@ export { VirtualMachineIdentity, VirtualMachineIdentityUserAssignedIdentitiesValue, VirtualMachineImage, + VirtualMachineImageFeature, VirtualMachineImageResource, VirtualMachineInstanceView, VirtualMachinePatchStatus, + VirtualMachineRunCommand, + VirtualMachineRunCommandInstanceView, + VirtualMachineRunCommandScriptSource, VirtualMachineScaleSet, VirtualMachineScaleSetDataDisk, VirtualMachineScaleSetExtension, @@ -183,6 +198,8 @@ export { VirtualMachineScaleSetUpdateNetworkConfiguration, VirtualMachineScaleSetUpdatePublicIPAddressConfiguration, VirtualMachineScaleSetVM, + VirtualMachineScaleSetVMExtension, + VirtualMachineScaleSetVMExtensionUpdate, VirtualMachineScaleSetVMInstanceView, VirtualMachineScaleSetVMNetworkProfileConfiguration, VirtualMachineScaleSetVMProfile, diff --git a/sdk/compute/arm-compute/src/models/galleryImageVersionsMappers.ts b/sdk/compute/arm-compute/src/models/galleryImageVersionsMappers.ts index f793a9a603e8..0a6233d062b6 100644 --- a/sdk/compute/arm-compute/src/models/galleryImageVersionsMappers.ts +++ b/sdk/compute/arm-compute/src/models/galleryImageVersionsMappers.ts @@ -1,6 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is regenerated. @@ -22,18 +22,18 @@ export { BootDiagnostics, BootDiagnosticsInstanceView, CloudError, - ContainerService, - ContainerServiceAgentPoolProfile, - ContainerServiceCustomProfile, - ContainerServiceDiagnosticsProfile, - ContainerServiceLinuxProfile, - ContainerServiceMasterProfile, - ContainerServiceOrchestratorProfile, - ContainerServiceServicePrincipalProfile, - ContainerServiceSshConfiguration, - ContainerServiceSshPublicKey, - ContainerServiceVMDiagnostics, - ContainerServiceWindowsProfile, + CloudService, + CloudServiceExtensionProfile, + CloudServiceExtensionProperties, + CloudServiceNetworkProfile, + CloudServiceOsProfile, + CloudServiceProperties, + CloudServiceRoleProfile, + CloudServiceRoleProfileProperties, + CloudServiceRoleSku, + CloudServiceVaultAndSecretReference, + CloudServiceVaultCertificate, + CloudServiceVaultSecretGroup, CreationData, DataDisk, DataDiskImage, @@ -62,6 +62,8 @@ export { EncryptionSetIdentity, EncryptionSettingsCollection, EncryptionSettingsElement, + ExtendedLocation, + Extension, Gallery, GalleryApplication, GalleryApplicationUpdate, @@ -94,12 +96,18 @@ export { ImageStorageProfile, InnerError, InstanceViewStatus, + KeyForDiskEncryptionSet, KeyVaultAndKeyReference, KeyVaultAndSecretReference, KeyVaultKeyReference, KeyVaultSecretReference, LastPatchInstallationSummary, LinuxConfiguration, + LinuxPatchSettings, + LoadBalancerConfiguration, + LoadBalancerConfigurationProperties, + LoadBalancerFrontendIPConfiguration, + LoadBalancerFrontendIPConfigurationProperties, MaintenanceRedeployStatus, ManagedDiskParameters, NetworkInterfaceReference, @@ -124,6 +132,7 @@ export { RollingUpgradeProgressInfo, RollingUpgradeRunningStatus, RollingUpgradeStatusInfo, + RunCommandInputParameter, ScaleInPolicy, ScheduledEventsProfile, SecurityProfile, @@ -141,8 +150,10 @@ export { SubResourceWithColocationStatus, TargetRegion, TerminateNotificationProfile, + UefiSettings, UpdateResourceDefinition, UpgradePolicy, + UserArtifactManage, UserArtifactSource, VaultCertificate, VaultSecretGroup, @@ -158,9 +169,13 @@ export { VirtualMachineIdentity, VirtualMachineIdentityUserAssignedIdentitiesValue, VirtualMachineImage, + VirtualMachineImageFeature, VirtualMachineImageResource, VirtualMachineInstanceView, VirtualMachinePatchStatus, + VirtualMachineRunCommand, + VirtualMachineRunCommandInstanceView, + VirtualMachineRunCommandScriptSource, VirtualMachineScaleSet, VirtualMachineScaleSetDataDisk, VirtualMachineScaleSetExtension, @@ -183,6 +198,8 @@ export { VirtualMachineScaleSetUpdateNetworkConfiguration, VirtualMachineScaleSetUpdatePublicIPAddressConfiguration, VirtualMachineScaleSetVM, + VirtualMachineScaleSetVMExtension, + VirtualMachineScaleSetVMExtensionUpdate, VirtualMachineScaleSetVMInstanceView, VirtualMachineScaleSetVMNetworkProfileConfiguration, VirtualMachineScaleSetVMProfile, diff --git a/sdk/compute/arm-compute/src/models/galleryImagesMappers.ts b/sdk/compute/arm-compute/src/models/galleryImagesMappers.ts index 578486eff4ca..4b4cf796ba65 100644 --- a/sdk/compute/arm-compute/src/models/galleryImagesMappers.ts +++ b/sdk/compute/arm-compute/src/models/galleryImagesMappers.ts @@ -1,6 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is regenerated. @@ -22,18 +22,18 @@ export { BootDiagnostics, BootDiagnosticsInstanceView, CloudError, - ContainerService, - ContainerServiceAgentPoolProfile, - ContainerServiceCustomProfile, - ContainerServiceDiagnosticsProfile, - ContainerServiceLinuxProfile, - ContainerServiceMasterProfile, - ContainerServiceOrchestratorProfile, - ContainerServiceServicePrincipalProfile, - ContainerServiceSshConfiguration, - ContainerServiceSshPublicKey, - ContainerServiceVMDiagnostics, - ContainerServiceWindowsProfile, + CloudService, + CloudServiceExtensionProfile, + CloudServiceExtensionProperties, + CloudServiceNetworkProfile, + CloudServiceOsProfile, + CloudServiceProperties, + CloudServiceRoleProfile, + CloudServiceRoleProfileProperties, + CloudServiceRoleSku, + CloudServiceVaultAndSecretReference, + CloudServiceVaultCertificate, + CloudServiceVaultSecretGroup, CreationData, DataDisk, DataDiskImage, @@ -62,6 +62,8 @@ export { EncryptionSetIdentity, EncryptionSettingsCollection, EncryptionSettingsElement, + ExtendedLocation, + Extension, Gallery, GalleryApplication, GalleryApplicationUpdate, @@ -94,12 +96,18 @@ export { ImageStorageProfile, InnerError, InstanceViewStatus, + KeyForDiskEncryptionSet, KeyVaultAndKeyReference, KeyVaultAndSecretReference, KeyVaultKeyReference, KeyVaultSecretReference, LastPatchInstallationSummary, LinuxConfiguration, + LinuxPatchSettings, + LoadBalancerConfiguration, + LoadBalancerConfigurationProperties, + LoadBalancerFrontendIPConfiguration, + LoadBalancerFrontendIPConfigurationProperties, MaintenanceRedeployStatus, ManagedDiskParameters, NetworkInterfaceReference, @@ -124,6 +132,7 @@ export { RollingUpgradeProgressInfo, RollingUpgradeRunningStatus, RollingUpgradeStatusInfo, + RunCommandInputParameter, ScaleInPolicy, ScheduledEventsProfile, SecurityProfile, @@ -141,8 +150,10 @@ export { SubResourceWithColocationStatus, TargetRegion, TerminateNotificationProfile, + UefiSettings, UpdateResourceDefinition, UpgradePolicy, + UserArtifactManage, UserArtifactSource, VaultCertificate, VaultSecretGroup, @@ -158,9 +169,13 @@ export { VirtualMachineIdentity, VirtualMachineIdentityUserAssignedIdentitiesValue, VirtualMachineImage, + VirtualMachineImageFeature, VirtualMachineImageResource, VirtualMachineInstanceView, VirtualMachinePatchStatus, + VirtualMachineRunCommand, + VirtualMachineRunCommandInstanceView, + VirtualMachineRunCommandScriptSource, VirtualMachineScaleSet, VirtualMachineScaleSetDataDisk, VirtualMachineScaleSetExtension, @@ -183,6 +198,8 @@ export { VirtualMachineScaleSetUpdateNetworkConfiguration, VirtualMachineScaleSetUpdatePublicIPAddressConfiguration, VirtualMachineScaleSetVM, + VirtualMachineScaleSetVMExtension, + VirtualMachineScaleSetVMExtensionUpdate, VirtualMachineScaleSetVMInstanceView, VirtualMachineScaleSetVMNetworkProfileConfiguration, VirtualMachineScaleSetVMProfile, diff --git a/sdk/compute/arm-compute/src/models/imagesMappers.ts b/sdk/compute/arm-compute/src/models/imagesMappers.ts index 69e44f43cd84..6e98038d0dcd 100644 --- a/sdk/compute/arm-compute/src/models/imagesMappers.ts +++ b/sdk/compute/arm-compute/src/models/imagesMappers.ts @@ -1,6 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is regenerated. @@ -23,18 +23,18 @@ export { BootDiagnostics, BootDiagnosticsInstanceView, CloudError, - ContainerService, - ContainerServiceAgentPoolProfile, - ContainerServiceCustomProfile, - ContainerServiceDiagnosticsProfile, - ContainerServiceLinuxProfile, - ContainerServiceMasterProfile, - ContainerServiceOrchestratorProfile, - ContainerServiceServicePrincipalProfile, - ContainerServiceSshConfiguration, - ContainerServiceSshPublicKey, - ContainerServiceVMDiagnostics, - ContainerServiceWindowsProfile, + CloudService, + CloudServiceExtensionProfile, + CloudServiceExtensionProperties, + CloudServiceNetworkProfile, + CloudServiceOsProfile, + CloudServiceProperties, + CloudServiceRoleProfile, + CloudServiceRoleProfileProperties, + CloudServiceRoleSku, + CloudServiceVaultAndSecretReference, + CloudServiceVaultCertificate, + CloudServiceVaultSecretGroup, CreationData, DataDisk, DataDiskImage, @@ -65,6 +65,8 @@ export { EncryptionSetIdentity, EncryptionSettingsCollection, EncryptionSettingsElement, + ExtendedLocation, + Extension, Gallery, GalleryApplication, GalleryApplicationUpdate, @@ -98,12 +100,18 @@ export { ImageUpdate, InnerError, InstanceViewStatus, + KeyForDiskEncryptionSet, KeyVaultAndKeyReference, KeyVaultAndSecretReference, KeyVaultKeyReference, KeyVaultSecretReference, LastPatchInstallationSummary, LinuxConfiguration, + LinuxPatchSettings, + LoadBalancerConfiguration, + LoadBalancerConfigurationProperties, + LoadBalancerFrontendIPConfiguration, + LoadBalancerFrontendIPConfigurationProperties, MaintenanceRedeployStatus, ManagedDiskParameters, NetworkInterfaceReference, @@ -129,6 +137,7 @@ export { RollingUpgradeProgressInfo, RollingUpgradeRunningStatus, RollingUpgradeStatusInfo, + RunCommandInputParameter, ScaleInPolicy, ScheduledEventsProfile, SecurityProfile, @@ -147,9 +156,11 @@ export { SubResourceWithColocationStatus, TargetRegion, TerminateNotificationProfile, + UefiSettings, UpdateResource, UpdateResourceDefinition, UpgradePolicy, + UserArtifactManage, UserArtifactSource, VaultCertificate, VaultSecretGroup, @@ -166,9 +177,14 @@ export { VirtualMachineIdentity, VirtualMachineIdentityUserAssignedIdentitiesValue, VirtualMachineImage, + VirtualMachineImageFeature, VirtualMachineImageResource, VirtualMachineInstanceView, VirtualMachinePatchStatus, + VirtualMachineRunCommand, + VirtualMachineRunCommandInstanceView, + VirtualMachineRunCommandScriptSource, + VirtualMachineRunCommandUpdate, VirtualMachineScaleSet, VirtualMachineScaleSetDataDisk, VirtualMachineScaleSetExtension, @@ -197,6 +213,8 @@ export { VirtualMachineScaleSetUpdateStorageProfile, VirtualMachineScaleSetUpdateVMProfile, VirtualMachineScaleSetVM, + VirtualMachineScaleSetVMExtension, + VirtualMachineScaleSetVMExtensionUpdate, VirtualMachineScaleSetVMInstanceView, VirtualMachineScaleSetVMNetworkProfileConfiguration, VirtualMachineScaleSetVMProfile, diff --git a/sdk/compute/arm-compute/src/models/index.ts b/sdk/compute/arm-compute/src/models/index.ts index cc59586f553f..67086f49197b 100644 --- a/sdk/compute/arm-compute/src/models/index.ts +++ b/sdk/compute/arm-compute/src/models/index.ts @@ -1,6 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is regenerated. @@ -369,7 +369,7 @@ export interface DedicatedHostGroup extends Resource { * Specifies whether virtual machines or virtual machine scale sets can be placed automatically * on the dedicated host group. Automatic placement means resources are allocated on dedicated * hosts, that are chosen by Azure, under the dedicated host group. The value is defaulted to - * 'true' when not provided.

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

Minimum api-version: 2020-06-01. */ supportAutomaticPlacement?: boolean; /** @@ -404,7 +404,7 @@ export interface DedicatedHostGroupUpdate extends UpdateResource { * Specifies whether virtual machines or virtual machine scale sets can be placed automatically * on the dedicated host group. Automatic placement means resources are allocated on dedicated * hosts, that are chosen by Azure, under the dedicated host group. The value is defaulted to - * 'true' when not provided.

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

Minimum api-version: 2020-06-01. */ supportAutomaticPlacement?: boolean; /** @@ -648,6 +648,20 @@ export interface VirtualMachineExtensionImage extends Resource { supportsMultipleExtensions?: boolean; } +/** + * The complex type of the extended location. + */ +export interface ExtendedLocation { + /** + * The name of the extended location. + */ + name?: string; + /** + * The type of the extended location. Possible values include: 'EdgeZone' + */ + type?: ExtendedLocationTypes; +} + /** * Virtual machine image resource information. */ @@ -666,6 +680,10 @@ export interface VirtualMachineImageResource extends SubResource { * resources](https://docs.microsoft.com/azure/azure-resource-manager/resource-group-using-tags.md). */ tags?: { [propertyName: string]: string }; + /** + * The extended location of the Virtual Machine. + */ + extendedLocation?: ExtendedLocation; } /** @@ -746,6 +764,68 @@ export interface VirtualMachineExtension extends Resource { instanceView?: VirtualMachineExtensionInstanceView; } +/** + * Describes a VMSS VM Extension. + */ +export interface VirtualMachineScaleSetVMExtension extends SubResourceReadOnly { + /** + * The name of the extension. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly name?: string; + /** + * Resource type + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly type?: string; + /** + * How the extension handler should be forced to update even if the extension configuration has + * not changed. + */ + forceUpdateTag?: string; + /** + * The name of the extension handler publisher. + */ + publisher?: string; + /** + * Specifies the type of the extension; an example is "CustomScriptExtension". + */ + type1?: string; + /** + * Specifies the version of the script handler. + */ + typeHandlerVersion?: string; + /** + * Indicates whether the extension should use a newer minor version if one is available at + * deployment time. Once deployed, however, the extension will not upgrade minor versions unless + * redeployed, even with this property set to true. + */ + autoUpgradeMinorVersion?: boolean; + /** + * Indicates whether the extension should be automatically upgraded by the platform if there is a + * newer version of the extension available. + */ + enableAutomaticUpgrade?: boolean; + /** + * Json formatted public settings for the extension. + */ + settings?: any; + /** + * The extension can contain either protectedSettings or protectedSettingsFromKeyVault or no + * protected settings at all. + */ + protectedSettings?: any; + /** + * The provisioning state, which only appears in the response. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly provisioningState?: string; + /** + * The virtual machine extension instance view. + */ + instanceView?: VirtualMachineExtensionInstanceView; +} + /** * Describes a Virtual Machine Extension. */ @@ -789,6 +869,59 @@ export interface VirtualMachineExtensionUpdate extends UpdateResource { protectedSettings?: any; } +/** + * Describes a VMSS VM Extension. + */ +export interface VirtualMachineScaleSetVMExtensionUpdate extends SubResourceReadOnly { + /** + * The name of the extension. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly name?: string; + /** + * Resource type + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly type?: string; + /** + * How the extension handler should be forced to update even if the extension configuration has + * not changed. + */ + forceUpdateTag?: string; + /** + * The name of the extension handler publisher. + */ + publisher?: string; + /** + * Specifies the type of the extension; an example is "CustomScriptExtension". + */ + type1?: string; + /** + * Specifies the version of the script handler. + */ + typeHandlerVersion?: string; + /** + * Indicates whether the extension should use a newer minor version if one is available at + * deployment time. Once deployed, however, the extension will not upgrade minor versions unless + * redeployed, even with this property set to true. + */ + autoUpgradeMinorVersion?: boolean; + /** + * Indicates whether the extension should be automatically upgraded by the platform if there is a + * newer version of the extension available. + */ + enableAutomaticUpgrade?: boolean; + /** + * Json formatted public settings for the extension. + */ + settings?: any; + /** + * The extension can contain either protectedSettings or protectedSettingsFromKeyVault or no + * protected settings at all. + */ + protectedSettings?: any; +} + /** * The List Extension operation response */ @@ -799,6 +932,16 @@ export interface VirtualMachineExtensionsListResult { value?: VirtualMachineExtension[]; } +/** + * The List VMSS VM Extension operation response + */ +export interface VirtualMachineScaleSetVMExtensionsListResult { + /** + * The list of VMSS VM extensions + */ + value?: VirtualMachineScaleSetVMExtension[]; +} + /** * Describes the properties of a Virtual Machine software patch. */ @@ -822,18 +965,18 @@ export interface VirtualMachineSoftwarePatchProperties { * The KBID of the patch. Only applies to Windows patches. * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - readonly kbid?: string; + readonly kbId?: string; /** * The classification(s) of the patch as provided by the patch publisher. * **NOTE: This property will not be serialized. It can only be populated by the server.** */ readonly classifications?: string[]; /** - * Describes the reboot requirements of the patch. Possible values include: 'NeverReboots', - * 'AlwaysRequiresReboot', 'CanRequestReboot' + * Describes the reboot requirements of the patch. Possible values include: 'Unknown', + * 'NeverReboots', 'AlwaysRequiresReboot', 'CanRequestReboot' * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - readonly rebootBehavior?: SoftwareUpdateRebootBehavior; + readonly rebootBehavior?: VMGuestPatchRebootBehavior; /** * The activity ID of the operation that produced this result. It is used to correlate across CRP * and extension logs. @@ -851,8 +994,7 @@ export interface VirtualMachineSoftwarePatchProperties { */ readonly lastModifiedDateTime?: Date; /** - * Describes the outcome of an install operation for a given patch. Possible values include: - * 'Installed', 'Failed', 'Excluded', 'NotSelected', 'Pending', 'Available' + * Describes the availability of a given patch. Possible values include: 'Unknown', 'Available' * **NOTE: This property will not be serialized. It can only be populated by the server.** */ readonly assessmentState?: PatchAssessmentState; @@ -922,9 +1064,9 @@ export interface ApiError { export interface VirtualMachineAssessPatchesResult { /** * The overall success or failure status of the operation. It remains "InProgress" until the - * operation completes. At that point it will become "Failed", "Succeeded", or - * "CompletedWithWarnings.". Possible values include: 'InProgress', 'Failed', 'Succeeded', - * 'CompletedWithWarnings' + * operation completes. At that point it will become "Unknown", "Failed", "Succeeded", or + * "CompletedWithWarnings.". Possible values include: 'Unknown', 'InProgress', 'Failed', + * 'Succeeded', 'CompletedWithWarnings' * **NOTE: This property will not be serialized. It can only be populated by the server.** */ readonly status?: PatchOperationStatus; @@ -960,7 +1102,7 @@ export interface VirtualMachineAssessPatchesResult { * The list of patches that have been detected as available for installation. * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - readonly patches?: VirtualMachineSoftwarePatchProperties[]; + readonly availablePatches?: VirtualMachineSoftwarePatchProperties[]; /** * The errors that were encountered during execution of the operation. The details array contains * the list of them. @@ -970,180 +1112,385 @@ export interface VirtualMachineAssessPatchesResult { } /** - * Used for establishing the purchase context of any 3rd Party artifact through MarketPlace. + * Input for InstallPatches on a Windows VM, as directly received by the API */ -export interface PurchasePlan { - /** - * The publisher ID. - */ - publisher: string; +export interface WindowsParameters { /** - * The plan ID. + * The update classifications to select when installing patches for Windows. */ - name: string; + classificationsToInclude?: VMGuestPatchClassificationWindows[]; /** - * Specifies the product of the image from the marketplace. This is the same value as Offer under - * the imageReference element. + * Kbs to include in the patch operation */ - product: string; -} - -/** - * Contains the os disk image information. - */ -export interface OSDiskImage { + kbNumbersToInclude?: string[]; /** - * The operating system of the osDiskImage. Possible values include: 'Windows', 'Linux' + * Kbs to exclude in the patch operation */ - operatingSystem: OperatingSystemTypes; -} - -/** - * Contains the data disk images information. - */ -export interface DataDiskImage { + kbNumbersToExclude?: string[]; /** - * Specifies the logical unit number of the data disk. This value is used to identify data disks - * within the VM and therefore must be unique for each data disk attached to a VM. - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * Filters out Kbs that don't have an InstallationRebootBehavior of 'NeverReboots' when this is + * set to true. */ - readonly lun?: number; -} - -/** - * Describes automatic OS upgrade properties on the image. - */ -export interface AutomaticOSUpgradeProperties { + excludeKbsRequiringReboot?: boolean; /** - * Specifies whether automatic OS upgrade is supported on the image. + * This is used to install patches that were published on or before this given max published + * date. */ - automaticOSUpgradeSupported: boolean; + maxPatchPublishDate?: Date; } /** - * Describes a Virtual Machine Image. + * Input for InstallPatches on a Linux VM, as directly received by the API */ -export interface VirtualMachineImage extends VirtualMachineImageResource { - plan?: PurchasePlan; - osDiskImage?: OSDiskImage; - dataDiskImages?: DataDiskImage[]; - automaticOSUpgradeProperties?: AutomaticOSUpgradeProperties; +export interface LinuxParameters { /** - * Possible values include: 'V1', 'V2' + * The update classifications to select when installing patches for Linux. */ - hyperVGeneration?: HyperVGenerationTypes; + classificationsToInclude?: VMGuestPatchClassificationLinux[]; /** - * Specifies disallowed configuration for the VirtualMachine created from the image + * packages to include in the patch operation. Format: packageName_packageVersion */ - disallowed?: DisallowedConfiguration; -} - -/** - * The Usage Names. - */ -export interface UsageName { + packageNameMasksToInclude?: string[]; /** - * The name of the resource. + * packages to exclude in the patch operation. Format: packageName_packageVersion */ - value?: string; + packageNameMasksToExclude?: string[]; /** - * The localized name of the resource. + * This is used as a maintenance run identifier for Auto VM Guest Patching in Linux. */ - localizedValue?: string; + maintenanceRunId?: string; } /** - * Describes Compute Resource Usage. + * Input for InstallPatches as directly received by the API */ -export interface Usage { +export interface VirtualMachineInstallPatchesParameters { /** - * The current usage of the resource. + * Specifies the maximum amount of time that the operation will run. It must be an ISO + * 8601-compliant duration string such as PT4H (4 hours) */ - currentValue: number; + maximumDuration: string; /** - * The maximum permitted usage of the resource. + * Defines when it is acceptable to reboot a VM during a software update operation. Possible + * values include: 'IfRequired', 'Never', 'Always' */ - limit: number; + rebootSetting: VMGuestPatchRebootSetting; /** - * The name of the type of usage. + * Input for InstallPatches on a Windows VM, as directly received by the API */ - name: UsageName; -} - -/** - * Parameters for Reimaging Virtual Machine. NOTE: Virtual Machine OS disk will always be reimaged - */ -export interface VirtualMachineReimageParameters { + windowsParameters?: WindowsParameters; /** - * Specifies whether to reimage temp disk. Default value: false. Note: This temp disk reimage - * parameter is only supported for VM/VMSS with Ephemeral OS disk. + * Input for InstallPatches on a Linux VM, as directly received by the API */ - tempDisk?: boolean; + linuxParameters?: LinuxParameters; } /** - * Capture Virtual Machine parameters. + * Information about a specific patch that was encountered during an installation action. */ -export interface VirtualMachineCaptureParameters { - /** - * The captured virtual hard disk's name prefix. - */ - vhdPrefix: string; +export interface PatchInstallationDetail { /** - * The destination container name. + * A unique identifier for the patch. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - destinationContainerName: string; + readonly patchId?: string; /** - * Specifies whether to overwrite the destination virtual hard disk, in case of conflict. + * The friendly name of the patch. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - overwriteVhds: boolean; -} - -/** - * Output of virtual machine capture operation. - */ -export interface VirtualMachineCaptureResult extends SubResource { + readonly name?: string; /** - * the schema of the captured virtual machine + * The version string of the package. It may conform to Semantic Versioning. Only applies to + * Linux. * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - readonly schema?: string; + readonly version?: string; /** - * the version of the content + * The KBID of the patch. Only applies to Windows patches. * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - readonly contentVersion?: string; + readonly kbId?: string; /** - * parameters of the captured virtual machine + * The classification(s) of the patch as provided by the patch publisher. * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - readonly parameters?: any; + readonly classifications?: string[]; /** - * a list of resource items of the captured virtual machine + * The state of the patch after the installation operation completed. Possible values include: + * 'Unknown', 'Installed', 'Failed', 'Excluded', 'NotSelected', 'Pending' * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - readonly resources?: any[]; + readonly installationState?: PatchInstallationState; } /** - * Specifies information about the marketplace image used to create the virtual machine. This - * element is only used for marketplace images. Before you can use a marketplace image from an API, - * you must enable the image for programmatic use. In the Azure portal, find the marketplace image - * that you want to use and then click **Want to deploy programmatically, Get Started ->**. Enter - * any required information and then click **Save**. + * The result summary of an installation operation. */ -export interface Plan { +export interface VirtualMachineInstallPatchesResult { /** - * The plan ID. + * The overall success or failure status of the operation. It remains "InProgress" until the + * operation completes. At that point it will become "Failed", "Succeeded", "Unknown" or + * "CompletedWithWarnings.". Possible values include: 'Unknown', 'InProgress', 'Failed', + * 'Succeeded', 'CompletedWithWarnings' + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - name?: string; + readonly status?: PatchOperationStatus; /** - * The publisher ID. + * The activity ID of the operation that produced this result. It is used to correlate across CRP + * and extension logs. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - publisher?: string; + readonly installationActivityId?: string; /** - * Specifies the product of the image from the marketplace. This is the same value as Offer under - * the imageReference element. + * The reboot state of the VM following completion of the operation. Possible values include: + * 'Unknown', 'NotNeeded', 'Required', 'Started', 'Failed', 'Completed' + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly rebootStatus?: VMGuestPatchRebootStatus; + /** + * Whether the operation ran out of time before it completed all its intended actions. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly maintenanceWindowExceeded?: boolean; + /** + * The number of patches that were not installed due to the user blocking their installation. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly excludedPatchCount?: number; + /** + * The number of patches that were detected as available for install, but did not meet the + * operation's criteria. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly notSelectedPatchCount?: number; + /** + * The number of patches that were identified as meeting the installation criteria, but were not + * able to be installed. Typically this happens when maintenanceWindowExceeded == true. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly pendingPatchCount?: number; + /** + * The number of patches successfully installed. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly installedPatchCount?: number; + /** + * The number of patches that could not be installed due to some issue. See errors for details. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly failedPatchCount?: number; + /** + * The patches that were installed during the operation. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly patches?: PatchInstallationDetail[]; + /** + * The UTC timestamp when the operation began. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly startDateTime?: Date; + /** + * The errors that were encountered during execution of the operation. The details array contains + * the list of them. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly error?: ApiError; +} + +/** + * Used for establishing the purchase context of any 3rd Party artifact through MarketPlace. + */ +export interface PurchasePlan { + /** + * The publisher ID. + */ + publisher: string; + /** + * The plan ID. + */ + name: string; + /** + * Specifies the product of the image from the marketplace. This is the same value as Offer under + * the imageReference element. + */ + product: string; + /** + * The Offer Promotion Code. + */ + promotionCode?: string; +} + +/** + * Contains the os disk image information. + */ +export interface OSDiskImage { + /** + * The operating system of the osDiskImage. Possible values include: 'Windows', 'Linux' + */ + operatingSystem: OperatingSystemTypes; +} + +/** + * Contains the data disk images information. + */ +export interface DataDiskImage { + /** + * Specifies the logical unit number of the data disk. This value is used to identify data disks + * within the VM and therefore must be unique for each data disk attached to a VM. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly lun?: number; +} + +/** + * Describes automatic OS upgrade properties on the image. + */ +export interface AutomaticOSUpgradeProperties { + /** + * Specifies whether automatic OS upgrade is supported on the image. + */ + automaticOSUpgradeSupported: boolean; +} + +/** + * Specifies additional capabilities supported by the image + */ +export interface VirtualMachineImageFeature { + /** + * The name of the feature. + */ + name?: string; + /** + * The corresponding value for the feature. + */ + value?: string; +} + +/** + * Describes a Virtual Machine Image. + */ +export interface VirtualMachineImage extends VirtualMachineImageResource { + plan?: PurchasePlan; + osDiskImage?: OSDiskImage; + dataDiskImages?: DataDiskImage[]; + automaticOSUpgradeProperties?: AutomaticOSUpgradeProperties; + /** + * Possible values include: 'V1', 'V2' + */ + hyperVGeneration?: HyperVGenerationTypes; + /** + * Specifies disallowed configuration for the VirtualMachine created from the image + */ + disallowed?: DisallowedConfiguration; + features?: VirtualMachineImageFeature[]; +} + +/** + * The Usage Names. + */ +export interface UsageName { + /** + * The name of the resource. + */ + value?: string; + /** + * The localized name of the resource. + */ + localizedValue?: string; +} + +/** + * Describes Compute Resource Usage. + */ +export interface Usage { + /** + * The current usage of the resource. + */ + currentValue: number; + /** + * The maximum permitted usage of the resource. + */ + limit: number; + /** + * The name of the type of usage. + */ + name: UsageName; +} + +/** + * Parameters for Reimaging Virtual Machine. NOTE: Virtual Machine OS disk will always be reimaged + */ +export interface VirtualMachineReimageParameters { + /** + * Specifies whether to reimage temp disk. Default value: false. Note: This temp disk reimage + * parameter is only supported for VM/VMSS with Ephemeral OS disk. + */ + tempDisk?: boolean; +} + +/** + * Capture Virtual Machine parameters. + */ +export interface VirtualMachineCaptureParameters { + /** + * The captured virtual hard disk's name prefix. + */ + vhdPrefix: string; + /** + * The destination container name. + */ + destinationContainerName: string; + /** + * Specifies whether to overwrite the destination virtual hard disk, in case of conflict. + */ + overwriteVhds: boolean; +} + +/** + * Output of virtual machine capture operation. + */ +export interface VirtualMachineCaptureResult extends SubResource { + /** + * the schema of the captured virtual machine + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly schema?: string; + /** + * the version of the content + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly contentVersion?: string; + /** + * parameters of the captured virtual machine + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly parameters?: any; + /** + * a list of resource items of the captured virtual machine + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly resources?: any[]; +} + +/** + * Specifies information about the marketplace image used to create the virtual machine. This + * element is only used for marketplace images. Before you can use a marketplace image from an API, + * you must enable the image for programmatic use. In the Azure portal, find the marketplace image + * that you want to use and then click **Want to deploy programmatically, Get Started ->**. Enter + * any required information and then click **Save**. + */ +export interface Plan { + /** + * The plan ID. + */ + name?: string; + /** + * The publisher ID. + */ + publisher?: string; + /** + * Specifies the product of the image from the marketplace. This is the same value as Offer under + * the imageReference element. */ product?: string; /** @@ -1157,51 +1504,52 @@ export interface Plan { */ export interface HardwareProfile { /** - * Specifies the size of the virtual machine. For more information about virtual machine sizes, - * see [Sizes for virtual - * machines](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-windows-sizes?toc=%2fazure%2fvirtual-machines%2fwindows%2ftoc.json). - *

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

[List all available virtual machine sizes in an availability + * Specifies the size of the virtual machine.

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

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

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

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

[List - * all available virtual machine sizes for - * resizing](https://docs.microsoft.com/rest/api/compute/virtualmachines/listavailablesizes). - * Possible values include: 'Basic_A0', 'Basic_A1', 'Basic_A2', 'Basic_A3', 'Basic_A4', - * 'Standard_A0', 'Standard_A1', 'Standard_A2', 'Standard_A3', 'Standard_A4', 'Standard_A5', - * 'Standard_A6', 'Standard_A7', 'Standard_A8', 'Standard_A9', 'Standard_A10', 'Standard_A11', - * 'Standard_A1_v2', 'Standard_A2_v2', 'Standard_A4_v2', 'Standard_A8_v2', 'Standard_A2m_v2', - * 'Standard_A4m_v2', 'Standard_A8m_v2', 'Standard_B1s', 'Standard_B1ms', 'Standard_B2s', - * 'Standard_B2ms', 'Standard_B4ms', 'Standard_B8ms', 'Standard_D1', 'Standard_D2', - * 'Standard_D3', 'Standard_D4', 'Standard_D11', 'Standard_D12', 'Standard_D13', 'Standard_D14', - * 'Standard_D1_v2', 'Standard_D2_v2', 'Standard_D3_v2', 'Standard_D4_v2', 'Standard_D5_v2', - * 'Standard_D2_v3', 'Standard_D4_v3', 'Standard_D8_v3', 'Standard_D16_v3', 'Standard_D32_v3', - * 'Standard_D64_v3', 'Standard_D2s_v3', 'Standard_D4s_v3', 'Standard_D8s_v3', - * 'Standard_D16s_v3', 'Standard_D32s_v3', 'Standard_D64s_v3', 'Standard_D11_v2', - * 'Standard_D12_v2', 'Standard_D13_v2', 'Standard_D14_v2', 'Standard_D15_v2', 'Standard_DS1', - * 'Standard_DS2', 'Standard_DS3', 'Standard_DS4', 'Standard_DS11', 'Standard_DS12', - * 'Standard_DS13', 'Standard_DS14', 'Standard_DS1_v2', 'Standard_DS2_v2', 'Standard_DS3_v2', - * 'Standard_DS4_v2', 'Standard_DS5_v2', 'Standard_DS11_v2', 'Standard_DS12_v2', - * 'Standard_DS13_v2', 'Standard_DS14_v2', 'Standard_DS15_v2', 'Standard_DS13-4_v2', - * 'Standard_DS13-2_v2', 'Standard_DS14-8_v2', 'Standard_DS14-4_v2', 'Standard_E2_v3', - * 'Standard_E4_v3', 'Standard_E8_v3', 'Standard_E16_v3', 'Standard_E32_v3', 'Standard_E64_v3', - * 'Standard_E2s_v3', 'Standard_E4s_v3', 'Standard_E8s_v3', 'Standard_E16s_v3', - * 'Standard_E32s_v3', 'Standard_E64s_v3', 'Standard_E32-16_v3', 'Standard_E32-8s_v3', - * 'Standard_E64-32s_v3', 'Standard_E64-16s_v3', 'Standard_F1', 'Standard_F2', 'Standard_F4', - * 'Standard_F8', 'Standard_F16', 'Standard_F1s', 'Standard_F2s', 'Standard_F4s', 'Standard_F8s', - * 'Standard_F16s', 'Standard_F2s_v2', 'Standard_F4s_v2', 'Standard_F8s_v2', 'Standard_F16s_v2', - * 'Standard_F32s_v2', 'Standard_F64s_v2', 'Standard_F72s_v2', 'Standard_G1', 'Standard_G2', - * 'Standard_G3', 'Standard_G4', 'Standard_G5', 'Standard_GS1', 'Standard_GS2', 'Standard_GS3', - * 'Standard_GS4', 'Standard_GS5', 'Standard_GS4-8', 'Standard_GS4-4', 'Standard_GS5-16', - * 'Standard_GS5-8', 'Standard_H8', 'Standard_H16', 'Standard_H8m', 'Standard_H16m', - * 'Standard_H16r', 'Standard_H16mr', 'Standard_L4s', 'Standard_L8s', 'Standard_L16s', - * 'Standard_L32s', 'Standard_M64s', 'Standard_M64ms', 'Standard_M128s', 'Standard_M128ms', - * 'Standard_M64-32ms', 'Standard_M64-16ms', 'Standard_M128-64ms', 'Standard_M128-32ms', - * 'Standard_NC6', 'Standard_NC12', 'Standard_NC24', 'Standard_NC24r', 'Standard_NC6s_v2', - * 'Standard_NC12s_v2', 'Standard_NC24s_v2', 'Standard_NC24rs_v2', 'Standard_NC6s_v3', - * 'Standard_NC12s_v3', 'Standard_NC24s_v3', 'Standard_NC24rs_v3', 'Standard_ND6s', - * 'Standard_ND12s', 'Standard_ND24s', 'Standard_ND24rs', 'Standard_NV6', 'Standard_NV12', - * 'Standard_NV24' + * [List all available virtual machine sizes in a region]( + * https://docs.microsoft.com/en-us/rest/api/compute/resourceskus/list)

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

The + * available VM sizes depend on region and availability set. Possible values include: 'Basic_A0', + * 'Basic_A1', 'Basic_A2', 'Basic_A3', 'Basic_A4', 'Standard_A0', 'Standard_A1', 'Standard_A2', + * 'Standard_A3', 'Standard_A4', 'Standard_A5', 'Standard_A6', 'Standard_A7', 'Standard_A8', + * 'Standard_A9', 'Standard_A10', 'Standard_A11', 'Standard_A1_v2', 'Standard_A2_v2', + * 'Standard_A4_v2', 'Standard_A8_v2', 'Standard_A2m_v2', 'Standard_A4m_v2', 'Standard_A8m_v2', + * 'Standard_B1s', 'Standard_B1ms', 'Standard_B2s', 'Standard_B2ms', 'Standard_B4ms', + * 'Standard_B8ms', 'Standard_D1', 'Standard_D2', 'Standard_D3', 'Standard_D4', 'Standard_D11', + * 'Standard_D12', 'Standard_D13', 'Standard_D14', 'Standard_D1_v2', 'Standard_D2_v2', + * 'Standard_D3_v2', 'Standard_D4_v2', 'Standard_D5_v2', 'Standard_D2_v3', 'Standard_D4_v3', + * 'Standard_D8_v3', 'Standard_D16_v3', 'Standard_D32_v3', 'Standard_D64_v3', 'Standard_D2s_v3', + * 'Standard_D4s_v3', 'Standard_D8s_v3', 'Standard_D16s_v3', 'Standard_D32s_v3', + * 'Standard_D64s_v3', 'Standard_D11_v2', 'Standard_D12_v2', 'Standard_D13_v2', + * 'Standard_D14_v2', 'Standard_D15_v2', 'Standard_DS1', 'Standard_DS2', 'Standard_DS3', + * 'Standard_DS4', 'Standard_DS11', 'Standard_DS12', 'Standard_DS13', 'Standard_DS14', + * 'Standard_DS1_v2', 'Standard_DS2_v2', 'Standard_DS3_v2', 'Standard_DS4_v2', 'Standard_DS5_v2', + * 'Standard_DS11_v2', 'Standard_DS12_v2', 'Standard_DS13_v2', 'Standard_DS14_v2', + * 'Standard_DS15_v2', 'Standard_DS13-4_v2', 'Standard_DS13-2_v2', 'Standard_DS14-8_v2', + * 'Standard_DS14-4_v2', 'Standard_E2_v3', 'Standard_E4_v3', 'Standard_E8_v3', 'Standard_E16_v3', + * 'Standard_E32_v3', 'Standard_E64_v3', 'Standard_E2s_v3', 'Standard_E4s_v3', 'Standard_E8s_v3', + * 'Standard_E16s_v3', 'Standard_E32s_v3', 'Standard_E64s_v3', 'Standard_E32-16_v3', + * 'Standard_E32-8s_v3', 'Standard_E64-32s_v3', 'Standard_E64-16s_v3', 'Standard_F1', + * 'Standard_F2', 'Standard_F4', 'Standard_F8', 'Standard_F16', 'Standard_F1s', 'Standard_F2s', + * 'Standard_F4s', 'Standard_F8s', 'Standard_F16s', 'Standard_F2s_v2', 'Standard_F4s_v2', + * 'Standard_F8s_v2', 'Standard_F16s_v2', 'Standard_F32s_v2', 'Standard_F64s_v2', + * 'Standard_F72s_v2', 'Standard_G1', 'Standard_G2', 'Standard_G3', 'Standard_G4', 'Standard_G5', + * 'Standard_GS1', 'Standard_GS2', 'Standard_GS3', 'Standard_GS4', 'Standard_GS5', + * 'Standard_GS4-8', 'Standard_GS4-4', 'Standard_GS5-16', 'Standard_GS5-8', 'Standard_H8', + * 'Standard_H16', 'Standard_H8m', 'Standard_H16m', 'Standard_H16r', 'Standard_H16mr', + * 'Standard_L4s', 'Standard_L8s', 'Standard_L16s', 'Standard_L32s', 'Standard_M64s', + * 'Standard_M64ms', 'Standard_M128s', 'Standard_M128ms', 'Standard_M64-32ms', + * 'Standard_M64-16ms', 'Standard_M128-64ms', 'Standard_M128-32ms', 'Standard_NC6', + * 'Standard_NC12', 'Standard_NC24', 'Standard_NC24r', 'Standard_NC6s_v2', 'Standard_NC12s_v2', + * 'Standard_NC24s_v2', 'Standard_NC24rs_v2', 'Standard_NC6s_v3', 'Standard_NC12s_v3', + * 'Standard_NC24s_v3', 'Standard_NC24rs_v3', 'Standard_ND6s', 'Standard_ND12s', + * 'Standard_ND24s', 'Standard_ND24rs', 'Standard_NV6', 'Standard_NV12', 'Standard_NV24' */ vmSize?: VirtualMachineSizeTypes; } @@ -1483,6 +1831,18 @@ export interface DataDisk { * **NOTE: This property will not be serialized. It can only be populated by the server.** */ readonly diskMBpsReadWrite?: number; + /** + * Specifies the detach behavior to be used while detaching a disk or which is already in the + * process of detachment from the virtual machine. Supported values: **ForceDetach**.

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

This feature is still in preview mode and is not + * supported for VirtualMachineScaleSet. To force-detach a data disk update toBeDetached to + * 'true' along with setting detachOption: 'ForceDetach'. Possible values include: 'ForceDetach' + */ + detachOption?: DiskDetachOptionTypes; } /** @@ -1510,10 +1870,32 @@ export interface StorageProfile { dataDisks?: DataDisk[]; } +/** + * Specifies the security settings like secure boot and vTPM used while creating the virtual + * machine.

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

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

Minimum api-version: + * 2020-12-01 + */ + vTpmEnabled?: boolean; +} + /** * Specifies the Security profile settings for the virtual machine or virtual machine scale set. */ export interface SecurityProfile { + /** + * Specifies the security settings like secure boot and vTPM used while creating the virtual + * machine.

Minimum api-version: 2020-12-01 + */ + uefiSettings?: UefiSettings; /** * This property can be used by user in the request to enable or disable the Host Encryption for * the virtual machine or virtual machine scale set. This will enable the encryption for all the @@ -1521,6 +1903,12 @@ export interface SecurityProfile { * will be disabled unless this property is set to true for the resource. */ encryptionAtHost?: boolean; + /** + * Specifies the SecurityType of the virtual machine. It is set as TrustedLaunch to enable + * UefiSettings.

Default: UefiSettings will not be enabled unless this property is set + * as TrustedLaunch. Possible values include: 'TrustedLaunch' + */ + securityType?: SecurityTypes; } /** @@ -1596,21 +1984,27 @@ export interface WinRMConfiguration { } /** - * An interface representing PatchSettings. + * Specifies settings related to VM Guest Patching on Windows. */ export interface PatchSettings { /** - * Specifies the mode of in-guest patching to IaaS virtual machine.

Possible values + * Specifies the mode of VM Guest Patching to IaaS virtual machine.

Possible values * are:

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

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

** - * AutomaticByPlatform** - the virtual machine will automatically updated by the platform. The - * properties provisionVMAgent and WindowsConfiguration.enableAutomaticUpdates must be true. - * Possible values include: 'Manual', 'AutomaticByOS', 'AutomaticByPlatform' + * WindowsConfiguration.enableAutomaticUpdates must be true.

**AutomaticByPlatform** + * - the virtual machine will automatically updated by the platform. The properties + * provisionVMAgent and WindowsConfiguration.enableAutomaticUpdates must be true. Possible values + * include: 'Manual', 'AutomaticByOS', 'AutomaticByPlatform' */ - patchMode?: InGuestPatchMode; + patchMode?: WindowsVMGuestPatchMode; + /** + * Enables customers to patch their Azure VMs without requiring a reboot. For enableHotpatching, + * the 'provisionVMAgent' must be set to true and 'patchMode' must be set to + * 'AutomaticByPlatform'. + */ + enableHotpatching?: boolean; } /** @@ -1644,7 +2038,7 @@ export interface WindowsConfiguration { */ additionalUnattendContent?: AdditionalUnattendContent[]; /** - * Specifies settings related to in-guest patching (KBs). + * [Preview Feature] Specifies settings related to VM Guest Patching on Windows. */ patchSettings?: PatchSettings; /** @@ -1667,7 +2061,7 @@ export interface SshPublicKey { * SSH public key certificate used to authenticate with the VM through ssh. The key needs to be * at least 2048-bit and in ssh-rsa format.

For creating ssh keys, see [Create SSH keys * on Linux and Mac for Linux VMs in - * Azure](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-linux-mac-create-ssh-keys?toc=%2fazure%2fvirtual-machines%2flinux%2ftoc.json). + * Azure](https://docs.microsoft.com/en-us/azure/virtual-machines/linux/mac-create-ssh-keys?toc=%2fazure%2fvirtual-machines%2flinux%2ftoc.json). */ keyData?: string; } @@ -1682,6 +2076,20 @@ export interface SshConfiguration { publicKeys?: SshPublicKey[]; } +/** + * Specifies settings related to VM Guest Patching on Linux. + */ +export interface LinuxPatchSettings { + /** + * Specifies the mode of VM Guest Patching to IaaS virtual machine.

Possible values + * are:

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

**AutomaticByPlatform** - The virtual machine will be automatically updated + * by the platform. The property provisionVMAgent must be true. Possible values include: + * 'ImageDefault', 'AutomaticByPlatform' + */ + patchMode?: LinuxVMGuestPatchMode; +} + /** * Specifies the Linux operating system settings on the virtual machine.

For a list of * supported Linux distributions, see [Linux on Azure-Endorsed @@ -1705,6 +2113,10 @@ export interface LinuxConfiguration { * to the VM later. */ provisionVMAgent?: boolean; + /** + * [Preview Feature] Specifies settings related to VM Guest Patching on Linux. + */ + patchSettings?: LinuxPatchSettings; } /** @@ -2099,9 +2511,9 @@ export interface VirtualMachineHealthStatus { export interface AvailablePatchSummary { /** * The overall success or failure status of the operation. It remains "InProgress" until the - * operation completes. At that point it will become "Failed", "Succeeded", or - * "CompletedWithWarnings.". Possible values include: 'InProgress', 'Failed', 'Succeeded', - * 'CompletedWithWarnings' + * operation completes. At that point it will become "Unknown", "Failed", "Succeeded", or + * "CompletedWithWarnings.". Possible values include: 'Unknown', 'InProgress', 'Failed', + * 'Succeeded', 'CompletedWithWarnings' * **NOTE: This property will not be serialized. It can only be populated by the server.** */ readonly status?: PatchOperationStatus; @@ -2152,9 +2564,9 @@ export interface AvailablePatchSummary { export interface LastPatchInstallationSummary { /** * The overall success or failure status of the operation. It remains "InProgress" until the - * operation completes. At that point it will become "Failed", "Succeeded", or - * "CompletedWithWarnings.". Possible values include: 'InProgress', 'Failed', 'Succeeded', - * 'CompletedWithWarnings' + * operation completes. At that point it will become "Unknown", "Failed", "Succeeded", or + * "CompletedWithWarnings.". Possible values include: 'Unknown', 'InProgress', 'Failed', + * 'Succeeded', 'CompletedWithWarnings' * **NOTE: This property will not be serialized. It can only be populated by the server.** */ readonly status?: PatchOperationStatus; @@ -2170,18 +2582,8 @@ export interface LastPatchInstallationSummary { */ readonly maintenanceWindowExceeded?: boolean; /** - * The reboot status of the machine after the patch operation. It will be in "NotNeeded" status - * if reboot is not needed after the patch operation. "Required" will be the status once the - * patch is applied and machine is required to reboot. "Started" will be the reboot status when - * the machine has started to reboot. "Failed" will be the status if the machine is failed to - * reboot. "Completed" will be the status once the machine is rebooted successfully. Possible - * values include: 'NotNeeded', 'Required', 'Started', 'Failed', 'Completed' - * **NOTE: This property will not be serialized. It can only be populated by the server.** - */ - readonly rebootStatus?: RebootStatus; - /** - * The number of all available patches but not going to be installed because it didn't match a - * classification or inclusion list entry. + * The number of all available patches but not going to be installed because it didn't match a + * classification or inclusion list entry. * **NOTE: This property will not be serialized. It can only be populated by the server.** */ readonly notSelectedPatchCount?: number; @@ -2217,11 +2619,6 @@ export interface LastPatchInstallationSummary { * **NOTE: This property will not be serialized. It can only be populated by the server.** */ readonly lastModifiedTime?: Date; - /** - * The person or system account that started the operation - * **NOTE: This property will not be serialized. It can only be populated by the server.** - */ - readonly startedBy?: string; /** * The errors that were encountered during execution of the operation. The details array contains * the list of them. @@ -2242,6 +2639,11 @@ export interface VirtualMachinePatchStatus { * The installation summary of the latest installation operation for the virtual machine. */ lastPatchInstallationSummary?: LastPatchInstallationSummary; + /** + * The enablement status of the specified patchMode + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly configurationStatuses?: InstanceViewStatus[]; } /** @@ -2316,7 +2718,7 @@ export interface VirtualMachineInstanceView { */ statuses?: InstanceViewStatus[]; /** - * The status of virtual machine patch operations. + * [Preview Feature] The status of virtual machine patch operations. */ patchStatus?: VirtualMachinePatchStatus; } @@ -2431,12 +2833,14 @@ export interface VirtualMachine extends Resource { */ readonly instanceView?: VirtualMachineInstanceView; /** - * Specifies that the image or disk that is being used was licensed on-premises. This element is - * only used for images that contain the Windows Server operating system.

Possible - * values are:

Windows_Client

Windows_Server

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

For more information, see [Azure Hybrid Use Benefit for Windows - * Server](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-windows-hybrid-use-benefit-licensing?toc=%2fazure%2fvirtual-machines%2fwindows%2ftoc.json) + * Specifies that the image or disk that is being used was licensed on-premises.

+ * Possible values for Windows Server operating system are:

Windows_Client

+ * Windows_Server

Possible values for Linux Server operating system are:

+ * RHEL_BYOS (for RHEL)

SLES_BYOS (for SUSE)

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

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

Minimum api-version: 2015-06-15 */ licenseType?: string; @@ -2452,6 +2856,16 @@ export interface VirtualMachine extends Resource { * value is 90 minutes (PT1H30M).

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

    Minimum api‐version: 2020‐12‐01 + */ + platformFaultDomain?: number; /** * The virtual machine child extension resources. * **NOTE: This property will not be serialized. It can only be populated by the server.** @@ -2465,6 +2879,10 @@ export interface VirtualMachine extends Resource { * The virtual machine zones. */ zones?: string[]; + /** + * The extended location of the Virtual Machine. + */ + extendedLocation?: ExtendedLocation; } /** @@ -2577,12 +2995,14 @@ export interface VirtualMachineUpdate extends UpdateResource { */ readonly instanceView?: VirtualMachineInstanceView; /** - * Specifies that the image or disk that is being used was licensed on-premises. This element is - * only used for images that contain the Windows Server operating system.

    Possible - * values are:

    Windows_Client

    Windows_Server

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

    For more information, see [Azure Hybrid Use Benefit for Windows - * Server](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-windows-hybrid-use-benefit-licensing?toc=%2fazure%2fvirtual-machines%2fwindows%2ftoc.json) + * Specifies that the image or disk that is being used was licensed on-premises.

    + * Possible values for Windows Server operating system are:

    Windows_Client

    + * Windows_Server

    Possible values for Linux Server operating system are:

    + * RHEL_BYOS (for RHEL)

    SLES_BYOS (for SUSE)

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

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

    Minimum api-version: 2015-06-15 */ licenseType?: string; @@ -2598,6 +3018,16 @@ export interface VirtualMachineUpdate extends UpdateResource { * value is 90 minutes (PT1H30M).

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

    Minimum api‐version: 2020‐12‐01 + */ + platformFaultDomain?: number; /** * The identity of the virtual machine, if configured. */ @@ -2657,6 +3087,15 @@ export interface RollingUpgradePolicy { * 0 seconds (PT0S). */ pauseTimeBetweenBatches?: string; + /** + * Allow VMSS to ignore AZ boundaries when constructing upgrade batches. Take into consideration + * the Update Domain and maxBatchInstancePercent to determine the batch size. + */ + enableCrossZoneUpgrade?: boolean; + /** + * Upgrade all unhealthy instances in a scale set before any healthy instances. + */ + prioritizeUnhealthyInstances?: boolean; } /** @@ -2816,6 +3255,10 @@ export interface Image extends Resource { * include: 'V1', 'V2' */ hyperVGeneration?: HyperVGenerationTypes; + /** + * The extended location of the Image. + */ + extendedLocation?: ExtendedLocation; } /** @@ -3393,6 +3836,10 @@ export interface VirtualMachineScaleSetNetworkConfiguration extends SubResource * Specifies whether the network interface is accelerated networking-enabled. */ enableAcceleratedNetworking?: boolean; + /** + * Specifies whether the network interface is FPGA networking-enabled. + */ + enableFpga?: boolean; /** * The network security group. */ @@ -3427,6 +3874,10 @@ export interface VirtualMachineScaleSetUpdateNetworkConfiguration extends SubRes * Specifies whether the network interface is accelerated networking-enabled. */ enableAcceleratedNetworking?: boolean; + /** + * Specifies whether the network interface is FPGA networking-enabled. + */ + enableFpga?: boolean; /** * The network security group. */ @@ -3672,12 +4123,14 @@ export interface VirtualMachineScaleSetVMProfile { */ extensionProfile?: VirtualMachineScaleSetExtensionProfile; /** - * Specifies that the image or disk that is being used was licensed on-premises. This element is - * only used for images that contain the Windows Server operating system.

    Possible - * values are:

    Windows_Client

    Windows_Server

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

    For more information, see [Azure Hybrid Use Benefit for Windows - * Server](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-windows-hybrid-use-benefit-licensing?toc=%2fazure%2fvirtual-machines%2fwindows%2ftoc.json) + * Specifies that the image or disk that is being used was licensed on-premises.

    + * Possible values for Windows Server operating system are:

    Windows_Client

    + * Windows_Server

    Possible values for Linux Server operating system are:

    + * RHEL_BYOS (for RHEL)

    SLES_BYOS (for SUSE)

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

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

    Minimum api-version: 2015-06-15 */ licenseType?: string; @@ -3832,6 +4285,11 @@ export interface VirtualMachineScaleSet extends Resource { * a Virtual Machine Scale Set is scaled-in. */ scaleInPolicy?: ScaleInPolicy; + /** + * Specifies the orchestration mode for the virtual machine scale set. Possible values include: + * 'Uniform', 'Flexible' + */ + orchestrationMode?: OrchestrationMode; /** * The identity of the virtual machine scale set, if configured. */ @@ -3841,6 +4299,10 @@ export interface VirtualMachineScaleSet extends Resource { * the scale set */ zones?: string[]; + /** + * The extended location of the Virtual Machine Scale Set. + */ + extendedLocation?: ExtendedLocation; } /** @@ -4373,12 +4835,14 @@ export interface VirtualMachineScaleSetVM extends Resource { */ readonly provisioningState?: string; /** - * Specifies that the image or disk that is being used was licensed on-premises. This element is - * only used for images that contain the Windows Server operating system.

    Possible - * values are:

    Windows_Client

    Windows_Server

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

    For more information, see [Azure Hybrid Use Benefit for Windows - * Server](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-windows-hybrid-use-benefit-licensing?toc=%2fazure%2fvirtual-machines%2fwindows%2ftoc.json) + * Specifies that the image or disk that is being used was licensed on-premises.

    + * Possible values for Windows Server operating system are:

    Windows_Client

    + * Windows_Server

    Possible values for Linux Server operating system are:

    + * RHEL_BYOS (for RHEL)

    SLES_BYOS (for SUSE)

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

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

    Minimum api-version: 2015-06-15 */ licenseType?: string; @@ -4510,6 +4974,14 @@ export interface LogAnalyticsInputBase { * Group query result by Resource Name. */ groupByResourceName?: boolean; + /** + * Group query result by Client Application ID. + */ + groupByClientApplicationId?: boolean; + /** + * Group query result by User Agent. + */ + groupByUserAgent?: boolean; } /** @@ -4683,6 +5155,169 @@ export interface RunCommandResult { value?: InstanceViewStatus[]; } +/** + * The instance view of a virtual machine run command. + */ +export interface VirtualMachineRunCommandInstanceView { + /** + * Script execution status. Possible values include: 'Unknown', 'Pending', 'Running', 'Failed', + * 'Succeeded', 'TimedOut', 'Canceled' + */ + executionState?: ExecutionState; + /** + * Communicate script configuration errors or execution messages. + */ + executionMessage?: string; + /** + * Exit code returned from script execution. + */ + exitCode?: number; + /** + * Script output stream. + */ + output?: string; + /** + * Script error stream. + */ + error?: string; + /** + * Script start time. + */ + startTime?: Date; + /** + * Script end time. + */ + endTime?: Date; + /** + * The resource status information. + */ + statuses?: InstanceViewStatus[]; +} + +/** + * Describes the script sources for run command. + */ +export interface VirtualMachineRunCommandScriptSource { + /** + * Specifies the script content to be executed on the VM. + */ + script?: string; + /** + * Specifies the script download location. + */ + scriptUri?: string; + /** + * Specifies a commandId of predefined built-in script. + */ + commandId?: string; +} + +/** + * Describes a Virtual Machine run command. + */ +export interface VirtualMachineRunCommand extends Resource { + /** + * The source of the run command script. + */ + source?: VirtualMachineRunCommandScriptSource; + /** + * The parameters used by the script. + */ + parameters?: RunCommandInputParameter[]; + /** + * The parameters used by the script. + */ + protectedParameters?: RunCommandInputParameter[]; + /** + * Optional. If set to true, provisioning will complete as soon as the script starts and will not + * wait for script to complete. Default value: false. + */ + asyncExecution?: boolean; + /** + * Specifies the user account on the VM when executing the run command. + */ + runAsUser?: string; + /** + * Specifies the user account password on the VM when executing the run command. + */ + runAsPassword?: string; + /** + * The timeout in seconds to execute the run command. + */ + timeoutInSeconds?: number; + /** + * Specifies the Azure storage blob where script output stream will be uploaded. + */ + outputBlobUri?: string; + /** + * Specifies the Azure storage blob where script error stream will be uploaded. + */ + errorBlobUri?: string; + /** + * The provisioning state, which only appears in the response. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly provisioningState?: string; + /** + * The virtual machine run command instance view. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly instanceView?: VirtualMachineRunCommandInstanceView; +} + +/** + * Describes a Virtual Machine run command. + */ +export interface VirtualMachineRunCommandUpdate extends UpdateResource { + /** + * The source of the run command script. + */ + source?: VirtualMachineRunCommandScriptSource; + /** + * The parameters used by the script. + */ + parameters?: RunCommandInputParameter[]; + /** + * The parameters used by the script. + */ + protectedParameters?: RunCommandInputParameter[]; + /** + * Optional. If set to true, provisioning will complete as soon as the script starts and will not + * wait for script to complete. Default value: false. + */ + asyncExecution?: boolean; + /** + * Specifies the user account on the VM when executing the run command. + */ + runAsUser?: string; + /** + * Specifies the user account password on the VM when executing the run command. + */ + runAsPassword?: string; + /** + * The timeout in seconds to execute the run command. + */ + timeoutInSeconds?: number; + /** + * Specifies the Azure storage blob where script output stream will be uploaded. + */ + outputBlobUri?: string; + /** + * Specifies the Azure storage blob where script error stream will be uploaded. + */ + errorBlobUri?: string; + /** + * The provisioning state, which only appears in the response. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly provisioningState?: string; + /** + * The virtual machine run command instance view. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly instanceView?: VirtualMachineRunCommandInstanceView; +} + /** * Describes scaling information of a SKU. */ @@ -4899,6 +5534,27 @@ export interface ResourceSku { readonly restrictions?: ResourceSkuRestrictions[]; } +/** + * The ProxyOnly Resource model definition. + */ +export interface ProxyOnlyResource { + /** + * Resource Id + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly id?: string; + /** + * Resource name + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly name?: string; + /** + * Resource type + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly type?: string; +} + /** * The disks sku name. Can be Standard_LRS, Premium_LRS, StandardSSD_LRS, or UltraSSD_LRS. */ @@ -5103,6 +5759,10 @@ export interface Disk extends Resource { * The Logical zone list for Disk. */ zones?: string[]; + /** + * The extended location where the disk will be created. Extended location cannot be changed. + */ + extendedLocation?: ExtendedLocation; /** * The time when the disk was created. * **NOTE: This property will not be serialized. It can only be populated by the server.** @@ -5117,6 +5777,11 @@ export interface Disk extends Resource { * include: 'V1', 'V2' */ hyperVGeneration?: HyperVGeneration; + /** + * Purchase plan information for the the image from which the OS disk was created. E.g. - {name: + * 2019-Datacenter, publisher: MicrosoftWindowsServer, product: WindowsServer} + */ + purchasePlan?: PurchasePlan; /** * Disk source information. CreationData information cannot be changed after the disk has been * created. @@ -5205,6 +5870,11 @@ export interface Disk extends Resource { * disks. */ tier?: string; + /** + * Set to true to enable bursting beyond the provisioned performance target of the disk. Bursting + * is disabled by default. Does not apply to Ultra disks. + */ + burstingEnabled?: boolean; } /** @@ -5272,6 +5942,15 @@ export interface DiskUpdate { * disks. */ tier?: string; + /** + * Set to true to enable bursting beyond the provisioned performance target of the disk. Bursting + * is disabled by default. Does not apply to Ultra disks. + */ + burstingEnabled?: boolean; + /** + * Purchase plan information to be added on the OS disk + */ + purchasePlan?: PurchasePlan; /** * Resource tags */ @@ -5280,7 +5959,9 @@ export interface DiskUpdate { } /** - * The snapshots sku name. Can be Standard_LRS, Premium_LRS, or Standard_ZRS. + * The snapshots sku name. Can be Standard_LRS, Premium_LRS, or Standard_ZRS. This is an optional + * parameter for incremental snapshot and the default behavior is the SKU will be set to the same + * sku as the previous snapshot */ export interface SnapshotSku { /** @@ -5294,6 +5975,21 @@ export interface SnapshotSku { readonly tier?: string; } +/** + * Key Vault Key Url to be used for server side encryption of Managed Disks and Snapshots + */ +export interface KeyForDiskEncryptionSet { + /** + * Resource id of the KeyVault containing the key or secret. This property is optional and cannot + * be used if the KeyVault subscription is not the same as the Disk Encryption Set subscription. + */ + sourceVault?: SourceVault; + /** + * Fully versioned Key Url pointing to a key in KeyVault + */ + keyUrl: string; +} + /** * Data used for requesting a SAS. */ @@ -5329,6 +6025,10 @@ export interface Snapshot extends Resource { */ readonly managedBy?: string; sku?: SnapshotSku; + /** + * The extended location where the snapshot will be created. Extended location cannot be changed. + */ + extendedLocation?: ExtendedLocation; /** * The time when the snapshot was created. * **NOTE: This property will not be serialized. It can only be populated by the server.** @@ -5343,6 +6043,11 @@ export interface Snapshot extends Resource { * include: 'V1', 'V2' */ hyperVGeneration?: HyperVGeneration; + /** + * Purchase plan information for the image from which the source disk for the snapshot was + * originally created. + */ + purchasePlan?: PurchasePlan; /** * Disk source information. CreationData information cannot be changed after the disk has been * created. @@ -5446,8 +6151,10 @@ export interface SnapshotUpdate { */ export interface EncryptionSetIdentity { /** - * The type of Managed Identity used by the DiskEncryptionSet. Only SystemAssigned is supported. - * Possible values include: 'SystemAssigned' + * The type of Managed Identity used by the DiskEncryptionSet. Only SystemAssigned is supported + * for new creations. Disk Encryption Sets can be updated with Identity type None during + * migration of subscription to a new Azure Active Directory tenant; it will cause the encrypted + * resources to lose access to the keys. Possible values include: 'SystemAssigned', 'None' */ type?: DiskEncryptionSetIdentityType; /** @@ -5479,13 +6186,13 @@ export interface DiskEncryptionSet extends Resource { /** * The key vault key which is currently used by this disk encryption set. */ - activeKey?: KeyVaultAndKeyReference; + activeKey?: KeyForDiskEncryptionSet; /** * A readonly collection of key vault keys previously used by this disk encryption set while a * key rotation is in progress. It will be empty if there is no ongoing key rotation. * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - readonly previousKeys?: KeyVaultAndKeyReference[]; + readonly previousKeys?: KeyForDiskEncryptionSet[]; /** * The disk encryption set provisioning state. * **NOTE: This property will not be serialized. It can only be populated by the server.** @@ -5502,7 +6209,7 @@ export interface DiskEncryptionSetUpdate { * 'EncryptionAtRestWithPlatformAndCustomerKeys' */ encryptionType?: DiskEncryptionSetType; - activeKey?: KeyVaultAndKeyReference; + activeKey?: KeyForDiskEncryptionSet; /** * Resource tags */ @@ -5543,7 +6250,7 @@ export interface PrivateLinkServiceConnectionState { /** * The Private Endpoint Connection resource. */ -export interface PrivateEndpointConnection { +export interface PrivateEndpointConnection extends BaseResource { /** * The resource of private end point. */ @@ -5642,6 +6349,52 @@ export interface PrivateLinkResource { readonly type?: string; } +/** + * Properties of disk restore point + */ +export interface DiskRestorePoint extends ProxyOnlyResource { + /** + * The timestamp of restorePoint creation + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly timeCreated?: Date; + /** + * arm id of source disk + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly sourceResourceId?: string; + /** + * The Operating System type. Possible values include: 'Windows', 'Linux' + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly osType?: OperatingSystemTypes; + /** + * The hypervisor generation of the Virtual Machine. Applicable to OS disks only. Possible values + * include: 'V1', 'V2' + */ + hyperVGeneration?: HyperVGeneration; + /** + * Purchase plan information for the the image from which the OS disk was created. + */ + purchasePlan?: PurchasePlan; + /** + * id of the backing snapshot's MIS family + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly familyId?: string; + /** + * unique incarnation id of the source disk + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly sourceUniqueId?: string; + /** + * Encryption property can be used to encrypt data at rest with customer managed keys or platform + * managed keys. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly encryption?: Encryption; +} + /** * A list of private link resources */ @@ -5796,13 +6549,35 @@ export interface GalleryApplicationUpdate extends UpdateResourceDefinition { */ export interface UserArtifactSource { /** - * Required. The fileName of the artifact. + * Required. The mediaLink of the artifact, must be a readable storage page blob. */ - fileName: string; + mediaLink: string; /** - * Required. The mediaLink of the artifact, must be a readable storage blob. + * Optional. The defaultConfigurationLink of the artifact, must be a readable storage page blob. */ - mediaLink: string; + defaultConfigurationLink?: string; +} + +/** + * An interface representing UserArtifactManage. + */ +export interface UserArtifactManage { + /** + * Required. The path and arguments to install the gallery application. This is limited to 4096 + * characters. + */ + install: string; + /** + * Required. The path and arguments to remove the gallery application. This is limited to 4096 + * characters. + */ + remove: string; + /** + * Optional. The path and arguments to update the gallery application. If not present, then + * update operation will invoke remove command on the previous version and install command on the + * current version of the gallery application. This is limited to 4096 characters. + */ + update?: string; } /** @@ -5842,15 +6617,11 @@ export interface GalleryArtifactPublishingProfileBase { } /** - * The publishing profile of a gallery Image Version. + * The publishing profile of a gallery image version. */ export interface GalleryApplicationVersionPublishingProfile extends GalleryArtifactPublishingProfileBase { source: UserArtifactSource; - /** - * Optional. May be used to help process this file. The type of file contained in the source, - * e.g. zip, json, etc. - */ - contentType?: string; + manageActions?: UserArtifactManage; /** * Optional. Whether or not this application reports health. */ @@ -6295,563 +7066,783 @@ export interface GalleryArtifactSource { } /** - * Properties to configure a custom container service cluster. - */ -export interface ContainerServiceCustomProfile { - /** - * The name of the custom orchestrator to use. - */ - orchestrator: string; -} - -/** - * Information about a service principal identity for the cluster to use for manipulating Azure - * APIs. + * An interface representing InstanceSku. */ -export interface ContainerServiceServicePrincipalProfile { +export interface InstanceSku { /** - * The ID for the service principal. + * The sku name. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - clientId: string; + readonly name?: string; /** - * The secret password associated with the service principal. + * The tier of the cloud service role instance. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - secret: string; + readonly tier?: string; } /** - * Profile for the container service orchestrator. + * Describes the network profile for the role instance. */ -export interface ContainerServiceOrchestratorProfile { +export interface RoleInstanceNetworkProfile { /** - * The orchestrator to use to manage container service cluster resources. Valid values are Swarm, - * DCOS, and Custom. Possible values include: 'Swarm', 'DCOS', 'Custom', 'Kubernetes' + * Specifies the list of resource Ids for the network interfaces associated with the role + * instance. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - orchestratorType: ContainerServiceOrchestratorTypes; + readonly networkInterfaces?: SubResource[]; } /** - * Profile for the container service master. + * Instance view status. */ -export interface ContainerServiceMasterProfile { +export interface ResourceInstanceViewStatus { + /** + * The status code. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly code?: string; /** - * Number of masters (VMs) in the container service cluster. Allowed values are 1, 3, and 5. The - * default value is 1. Default value: 1. + * The short localizable label for the status. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - count?: number; + readonly displayStatus?: string; /** - * DNS prefix to be used to create the FQDN for master. + * The detailed status message, including for alerts and error messages. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - dnsPrefix: string; + readonly message?: string; /** - * FQDN for the master. + * The time of the status. * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - readonly fqdn?: string; + readonly time?: Date; + /** + * The level code. Possible values include: 'Info', 'Warning', 'Error' + */ + level?: StatusLevelTypes; } /** - * Profile for the container service agent pool. + * The instance view of the role instance. */ -export interface ContainerServiceAgentPoolProfile { +export interface RoleInstanceInstanceView { /** - * Unique name of the agent pool profile in the context of the subscription and resource group. + * The Update Domain. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - name: string; + readonly platformUpdateDomain?: number; /** - * Number of agents (VMs) to host docker containers. Allowed values must be in the range of 1 to - * 100 (inclusive). The default value is 1. Default value: 1. - */ - count: number; - /** - * Size of agent VMs. Possible values include: 'Standard_A0', 'Standard_A1', 'Standard_A2', - * 'Standard_A3', 'Standard_A4', 'Standard_A5', 'Standard_A6', 'Standard_A7', 'Standard_A8', - * 'Standard_A9', 'Standard_A10', 'Standard_A11', 'Standard_D1', 'Standard_D2', 'Standard_D3', - * 'Standard_D4', 'Standard_D11', 'Standard_D12', 'Standard_D13', 'Standard_D14', - * 'Standard_D1_v2', 'Standard_D2_v2', 'Standard_D3_v2', 'Standard_D4_v2', 'Standard_D5_v2', - * 'Standard_D11_v2', 'Standard_D12_v2', 'Standard_D13_v2', 'Standard_D14_v2', 'Standard_G1', - * 'Standard_G2', 'Standard_G3', 'Standard_G4', 'Standard_G5', 'Standard_DS1', 'Standard_DS2', - * 'Standard_DS3', 'Standard_DS4', 'Standard_DS11', 'Standard_DS12', 'Standard_DS13', - * 'Standard_DS14', 'Standard_GS1', 'Standard_GS2', 'Standard_GS3', 'Standard_GS4', - * 'Standard_GS5' + * The Fault Domain. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - vmSize: ContainerServiceVMSizeTypes; + readonly platformFaultDomain?: number; /** - * DNS prefix to be used to create the FQDN for the agent pool. + * Specifies a unique identifier generated internally for the cloud service associated with this + * role instance.

    NOTE: If you are using Azure Diagnostics extension, this property + * can be used as 'DeploymentId' for querying details. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - dnsPrefix: string; + readonly privateId?: string; /** - * FQDN for the agent pool. * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - readonly fqdn?: string; + readonly statuses?: ResourceInstanceViewStatus[]; } /** - * Profile for Windows VMs in the container service cluster. + * An interface representing RoleInstanceProperties. */ -export interface ContainerServiceWindowsProfile { - /** - * The administrator username to use for Windows VMs. - */ - adminUsername: string; - /** - * The administrator password to use for Windows VMs. - */ - adminPassword: string; +export interface RoleInstanceProperties { + networkProfile?: RoleInstanceNetworkProfile; + instanceView?: RoleInstanceInstanceView; } /** - * Contains information about SSH certificate public key data. + * An interface representing RoleInstance. */ -export interface ContainerServiceSshPublicKey { +export interface RoleInstance { /** - * Certificate public key used to authenticate with VMs through SSH. The certificate must be in - * PEM format with or without headers. + * Resource Id + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - keyData: string; -} - -/** - * SSH configuration for Linux-based VMs running on Azure. - */ -export interface ContainerServiceSshConfiguration { + readonly id?: string; /** - * the list of SSH public keys used to authenticate with Linux-based VMs. + * Resource Name. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - publicKeys: ContainerServiceSshPublicKey[]; -} - -/** - * Profile for Linux VMs in the container service cluster. - */ -export interface ContainerServiceLinuxProfile { + readonly name?: string; + /** + * Resource Type. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly type?: string; /** - * The administrator username to use for Linux VMs. + * Resource Location. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - adminUsername: string; + readonly location?: string; /** - * The ssh key configuration for Linux VMs. + * Resource tags. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - ssh: ContainerServiceSshConfiguration; + readonly tags?: { [propertyName: string]: string }; + sku?: InstanceSku; + properties?: RoleInstanceProperties; } /** - * Profile for diagnostics on the container service VMs. + * Describes the cloud service role sku. */ -export interface ContainerServiceVMDiagnostics { +export interface CloudServiceRoleSku { /** - * Whether the VM diagnostic agent is provisioned on the VM. + * The sku name. NOTE: If the new SKU is not supported on the hardware the cloud service is + * currently on, you need to delete and recreate the cloud service or move back to the old sku. */ - enabled: boolean; + name?: string; /** - * The URI of the storage account where diagnostics are stored. - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * Specifies the tier of the cloud service. Possible Values are

    **Standard**

    **Basic** */ - readonly storageUri?: string; + tier?: string; + /** + * Specifies the number of role instances in the cloud service. + */ + capacity?: number; } /** - * An interface representing ContainerServiceDiagnosticsProfile. + * An interface representing CloudServiceRoleProperties. */ -export interface ContainerServiceDiagnosticsProfile { +export interface CloudServiceRoleProperties { /** - * Profile for the container service VM diagnostic agent. + * Specifies the ID which uniquely identifies a cloud service role. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - vmDiagnostics: ContainerServiceVMDiagnostics; + readonly uniqueId?: string; } /** - * Container service. + * Describes a role of the cloud service. */ -export interface ContainerService extends Resource { +export interface CloudServiceRole { /** - * the current deployment or provisioning state, which only appears in the response. + * Resource id * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - readonly provisioningState?: string; - /** - * Properties of the orchestrator. - */ - orchestratorProfile?: ContainerServiceOrchestratorProfile; - /** - * Properties for custom clusters. - */ - customProfile?: ContainerServiceCustomProfile; - /** - * Properties for cluster service principals. - */ - servicePrincipalProfile?: ContainerServiceServicePrincipalProfile; - /** - * Properties of master agents. - */ - masterProfile: ContainerServiceMasterProfile; - /** - * Properties of the agent pool. - */ - agentPoolProfiles: ContainerServiceAgentPoolProfile[]; + readonly id?: string; /** - * Properties of Windows VMs. + * Resource name + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - windowsProfile?: ContainerServiceWindowsProfile; + readonly name?: string; /** - * Properties of Linux VMs. + * Resource type + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - linuxProfile: ContainerServiceLinuxProfile; + readonly type?: string; /** - * Properties of the diagnostic agent. + * Resource location + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - diagnosticsProfile?: ContainerServiceDiagnosticsProfile; + readonly location?: string; + sku?: CloudServiceRoleSku; + properties?: CloudServiceRoleProperties; } /** - * Optional Parameters. + * Describes the role properties. */ -export interface AvailabilitySetsListBySubscriptionOptionalParams extends msRest.RequestOptionsBase { +export interface CloudServiceRoleProfileProperties { /** - * The expand expression to apply to the operation. Allowed values are 'instanceView'. + * Resource name. */ - expand?: string; + name?: string; + sku?: CloudServiceRoleSku; } /** - * Optional Parameters. + * Describes the role profile for the cloud service. */ -export interface ProximityPlacementGroupsGetOptionalParams extends msRest.RequestOptionsBase { +export interface CloudServiceRoleProfile { /** - * includeColocationStatus=true enables fetching the colocation status of all the resources in - * the proximity placement group. + * List of roles for the cloud service. */ - includeColocationStatus?: string; + roles?: CloudServiceRoleProfileProperties[]; } /** - * Optional Parameters. + * Describes a single certificate reference in a Key Vault, and where the certificate should reside + * on the role instance. */ -export interface DedicatedHostGroupsGetOptionalParams extends msRest.RequestOptionsBase { +export interface CloudServiceVaultCertificate { /** - * The expand expression to apply on the operation. The response shows the list of instance view - * of the dedicated hosts under the dedicated host group. Possible values include: 'instanceView' + * This is the URL of a certificate that has been uploaded to Key Vault as a secret. */ - expand?: InstanceViewTypes; + certificateUrl?: string; } /** - * Optional Parameters. + * Describes a set of certificates which are all in the same Key Vault. */ -export interface DedicatedHostsGetOptionalParams extends msRest.RequestOptionsBase { +export interface CloudServiceVaultSecretGroup { /** - * The expand expression to apply on the operation. Possible values include: 'instanceView' + * The relative URL of the Key Vault containing all of the certificates in VaultCertificates. */ - expand?: InstanceViewTypes; + sourceVault?: SubResource; + /** + * The list of key vault references in SourceVault which contain certificates. + */ + vaultCertificates?: CloudServiceVaultCertificate[]; } /** - * Optional Parameters. + * Describes the OS profile for the cloud service. */ -export interface VirtualMachineExtensionImagesListVersionsOptionalParams extends msRest.RequestOptionsBase { +export interface CloudServiceOsProfile { /** - * The filter to apply on the operation. + * Specifies set of certificates that should be installed onto the role instances. */ - filter?: string; - top?: number; - orderby?: string; + secrets?: CloudServiceVaultSecretGroup[]; } /** - * Optional Parameters. + * Describes a cloud service IP Configuration */ -export interface VirtualMachineExtensionsGetOptionalParams extends msRest.RequestOptionsBase { +export interface LoadBalancerFrontendIPConfigurationProperties { /** - * The expand expression to apply on the operation. + * The reference to the public ip address resource. */ - expand?: string; + publicIPAddress?: SubResource; + /** + * The reference to the virtual network subnet resource. + */ + subnet?: SubResource; + /** + * The virtual network private IP address of the IP configuration. + */ + privateIPAddress?: string; } /** - * Optional Parameters. + * An interface representing LoadBalancerFrontendIPConfiguration. */ -export interface VirtualMachineExtensionsListOptionalParams extends msRest.RequestOptionsBase { +export interface LoadBalancerFrontendIPConfiguration { /** - * The expand expression to apply on the operation. + * The name of the resource that is unique within the set of frontend IP configurations used by + * the load balancer. This name can be used to access the resource. */ - expand?: string; + name: string; + /** + * Properties of load balancer frontend ip configuration. + */ + properties: LoadBalancerFrontendIPConfigurationProperties; } /** - * Optional Parameters. + * An interface representing LoadBalancerConfigurationProperties. */ -export interface VirtualMachineImagesListOptionalParams extends msRest.RequestOptionsBase { +export interface LoadBalancerConfigurationProperties { /** - * The expand expression to apply on the operation. + * Specifies the frontend IP to be used for the load balancer. Only IPv4 frontend IP address is + * supported. Each load balancer configuration must have exactly one frontend IP configuration. */ - expand?: string; - top?: number; - orderby?: string; + frontendIPConfigurations: LoadBalancerFrontendIPConfiguration[]; } /** - * Optional Parameters. + * Describes the load balancer configuration. */ -export interface VirtualMachinesGetOptionalParams extends msRest.RequestOptionsBase { +export interface LoadBalancerConfiguration { /** - * The expand expression to apply on the operation. Possible values include: 'instanceView' + * Resource Id */ - expand?: InstanceViewTypes; + id?: string; + /** + * The name of the Load balancer + */ + name: string; + /** + * Properties of the load balancer configuration. + */ + properties: LoadBalancerConfigurationProperties; } /** - * Optional Parameters. + * Network Profile for the cloud service. */ -export interface VirtualMachinesListAllOptionalParams extends msRest.RequestOptionsBase { +export interface CloudServiceNetworkProfile { /** - * statusOnly=true enables fetching run time status of all Virtual Machines in the subscription. + * List of Load balancer configurations. Cloud service can have up to two load balancer + * configurations, corresponding to a Public Load Balancer and an Internal Load Balancer. */ - statusOnly?: string; + loadBalancerConfigurations?: LoadBalancerConfiguration[]; + /** + * The id reference of the cloud service containing the target IP with which the subject cloud + * service can perform a swap. This property cannot be updated once it is set. The swappable + * cloud service referred by this id must be present otherwise an error will be thrown. + */ + swappableCloudService?: SubResource; } /** - * Optional Parameters. + * An interface representing CloudServiceVaultAndSecretReference. */ -export interface VirtualMachinesPowerOffOptionalParams extends msRest.RequestOptionsBase { - /** - * The parameter to request non-graceful VM shutdown. True value for this flag indicates - * non-graceful shutdown whereas false indicates otherwise. Default value for this flag is false - * if not specified. Default value: false. - */ - skipShutdown?: boolean; +export interface CloudServiceVaultAndSecretReference { + sourceVault?: SubResource; + secretUrl?: string; } /** - * Optional Parameters. + * Extension Properties. */ -export interface VirtualMachinesReimageOptionalParams extends msRest.RequestOptionsBase { +export interface CloudServiceExtensionProperties { /** - * Parameters supplied to the Reimage Virtual Machine operation. + * The name of the extension handler publisher. */ - parameters?: VirtualMachineReimageParameters; + publisher?: string; + /** + * Specifies the type of the extension. + */ + type?: string; + /** + * Specifies the version of the extension. Specifies the version of the extension. If this + * element is not specified or an asterisk (*) is used as the value, the latest version of the + * extension is used. If the value is specified with a major version number and an asterisk as + * the minor version number (X.), the latest minor version of the specified major version is + * selected. If a major version number and a minor version number are specified (X.Y), the + * specific extension version is selected. If a version is specified, an auto-upgrade is + * performed on the role instance. + */ + typeHandlerVersion?: string; + /** + * Explicitly specify whether platform can automatically upgrade typeHandlerVersion to higher + * minor versions when they become available. + */ + autoUpgradeMinorVersion?: boolean; + /** + * Public settings for the extension. For JSON extensions, this is the JSON settings for the + * extension. For XML Extension (like RDP), this is the XML setting for the extension. + */ + settings?: string; + /** + * Protected settings for the extension which are encrypted before sent to the role instance. + */ + protectedSettings?: string; + protectedSettingsFromKeyVault?: CloudServiceVaultAndSecretReference; + /** + * Tag to force apply the provided public and protected settings. + * Changing the tag value allows for re-running the extension without changing any of the public + * or protected settings. + * If forceUpdateTag is not changed, updates to public or protected settings would still be + * applied by the handler. + * If neither forceUpdateTag nor any of public or protected settings change, extension would flow + * to the role instance with the same sequence-number, and + * it is up to handler implementation whether to re-run it or not + */ + forceUpdateTag?: string; + /** + * The provisioning state, which only appears in the response. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly provisioningState?: string; + /** + * Optional list of roles to apply this extension. If property is not specified or '*' is + * specified, extension is applied to all roles in the cloud service. + */ + rolesAppliedTo?: string[]; } /** - * Optional Parameters. + * Describes a cloud service Extension. */ -export interface VirtualMachinesRetrieveBootDiagnosticsDataOptionalParams extends msRest.RequestOptionsBase { +export interface Extension { /** - * Expiration duration in minutes for the SAS URIs with a value between 1 to 1440 minutes. - *

    NOTE: If not specified, SAS URIs will be generated with a default expiration duration - * of 120 minutes. + * The name of the extension. */ - sasUriExpirationTimeInMinutes?: number; + name?: string; + properties?: CloudServiceExtensionProperties; } /** - * Optional Parameters. + * Describes a cloud service extension profile. */ -export interface VirtualMachinesBeginPowerOffOptionalParams extends msRest.RequestOptionsBase { +export interface CloudServiceExtensionProfile { /** - * The parameter to request non-graceful VM shutdown. True value for this flag indicates - * non-graceful shutdown whereas false indicates otherwise. Default value for this flag is false - * if not specified. Default value: false. + * List of extensions for the cloud service. */ - skipShutdown?: boolean; + extensions?: Extension[]; } /** - * Optional Parameters. + * Cloud service properties */ -export interface VirtualMachinesBeginReimageOptionalParams extends msRest.RequestOptionsBase { +export interface CloudServiceProperties { /** - * Parameters supplied to the Reimage Virtual Machine operation. + * Specifies a URL that refers to the location of the service package in the Blob service. The + * service package URL can be Shared Access Signature (SAS) URI from any storage account. + * This is a write-only property and is not returned in GET calls. */ - parameters?: VirtualMachineReimageParameters; + packageUrl?: string; + /** + * Specifies the XML service configuration (.cscfg) for the cloud service. + */ + configuration?: string; + /** + * Specifies a URL that refers to the location of the service configuration in the Blob service. + * The service package URL can be Shared Access Signature (SAS) URI from any storage account. + * This is a write-only property and is not returned in GET calls. + */ + configurationUrl?: string; + /** + * (Optional) Indicates whether to start the cloud service immediately after it is created. The + * default value is `true`. + * If false, the service model is still deployed, but the code is not run immediately. Instead, + * the service is PoweredOff until you call Start, at which time the service will be started. A + * deployed service still incurs charges, even if it is poweredoff. + */ + startCloudService?: boolean; + /** + * Possible values include: 'Auto', 'Manual', 'Simultaneous' + */ + upgradeMode?: CloudServiceUpgradeMode; + roleProfile?: CloudServiceRoleProfile; + osProfile?: CloudServiceOsProfile; + networkProfile?: CloudServiceNetworkProfile; + extensionProfile?: CloudServiceExtensionProfile; + /** + * The provisioning state, which only appears in the response. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly provisioningState?: string; + /** + * The unique identifier for the cloud service. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly uniqueId?: string; } /** - * Optional Parameters. + * Describes the cloud service. */ -export interface ImagesGetOptionalParams extends msRest.RequestOptionsBase { +export interface CloudService extends BaseResource { /** - * The expand expression to apply on the operation. + * Resource Id. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - expand?: string; + readonly id?: string; + /** + * Resource name. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly name?: string; + /** + * Resource type. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly type?: string; + /** + * Resource location. + */ + location: string; + /** + * Resource tags. + */ + tags?: { [propertyName: string]: string }; + properties?: CloudServiceProperties; } /** - * Optional Parameters. + * An interface representing CloudServiceUpdate. */ -export interface VirtualMachineScaleSetsDeallocateOptionalParams extends msRest.RequestOptionsBase { +export interface CloudServiceUpdate { /** - * A list of virtual machine instance IDs from the VM scale set. + * Resource tags */ - vmInstanceIDs?: VirtualMachineScaleSetVMInstanceIDs; + tags?: { [propertyName: string]: string }; } /** - * Optional Parameters. + * An interface representing StatusCodeCount. */ -export interface VirtualMachineScaleSetsPowerOffOptionalParams extends msRest.RequestOptionsBase { +export interface StatusCodeCount { /** - * A list of virtual machine instance IDs from the VM scale set. + * The instance view status code + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - vmInstanceIDs?: VirtualMachineScaleSetVMInstanceIDs; + readonly code?: string; /** - * The parameter to request non-graceful VM shutdown. True value for this flag indicates - * non-graceful shutdown whereas false indicates otherwise. Default value for this flag is false - * if not specified. Default value: false. + * Number of instances having this status code + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - skipShutdown?: boolean; + readonly count?: number; } /** - * Optional Parameters. + * Instance view statuses. */ -export interface VirtualMachineScaleSetsRestartOptionalParams extends msRest.RequestOptionsBase { +export interface InstanceViewStatusesSummary { /** - * A list of virtual machine instance IDs from the VM scale set. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - vmInstanceIDs?: VirtualMachineScaleSetVMInstanceIDs; + readonly statusesSummary?: StatusCodeCount[]; } /** - * Optional Parameters. + * InstanceView of CloudService as a whole */ -export interface VirtualMachineScaleSetsStartOptionalParams extends msRest.RequestOptionsBase { +export interface CloudServiceInstanceView { + roleInstance?: InstanceViewStatusesSummary; /** - * A list of virtual machine instance IDs from the VM scale set. + * The version of the SDK that was used to generate the package for the cloud service. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - vmInstanceIDs?: VirtualMachineScaleSetVMInstanceIDs; -} - -/** - * Optional Parameters. - */ -export interface VirtualMachineScaleSetsRedeployOptionalParams extends msRest.RequestOptionsBase { + readonly sdkVersion?: string; /** - * A list of virtual machine instance IDs from the VM scale set. + * Specifies a list of unique identifiers generated internally for the cloud service.

    NOTE: If you are using Azure Diagnostics extension, this property can be used as + * 'DeploymentId' for querying details. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - vmInstanceIDs?: VirtualMachineScaleSetVMInstanceIDs; + readonly privateIds?: string[]; + /** + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly statuses?: ResourceInstanceViewStatus[]; } /** - * Optional Parameters. + * Specifies a list of role instances from the cloud service. */ -export interface VirtualMachineScaleSetsPerformMaintenanceOptionalParams extends msRest.RequestOptionsBase { +export interface RoleInstances { /** - * A list of virtual machine instance IDs from the VM scale set. + * List of cloud service role instance names. Value of '*' will signify all role instances of the + * cloud service. */ - vmInstanceIDs?: VirtualMachineScaleSetVMInstanceIDs; + roleInstances: string[]; } /** - * Optional Parameters. + * Defines an update domain for the cloud service. */ -export interface VirtualMachineScaleSetsReimageOptionalParams extends msRest.RequestOptionsBase { +export interface UpdateDomain { /** - * Parameters for Reimaging VM ScaleSet. + * Resource Id + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - vmScaleSetReimageInput?: VirtualMachineScaleSetReimageParameters; + readonly id?: string; + /** + * Resource Name + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly name?: string; } /** - * Optional Parameters. + * OS version properties. */ -export interface VirtualMachineScaleSetsReimageAllOptionalParams extends msRest.RequestOptionsBase { +export interface OSVersionProperties { /** - * A list of virtual machine instance IDs from the VM scale set. + * The family of this OS version. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - vmInstanceIDs?: VirtualMachineScaleSetVMInstanceIDs; + readonly family?: string; + /** + * The family label of this OS version. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly familyLabel?: string; + /** + * The OS version. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly version?: string; + /** + * The OS version label. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly label?: string; + /** + * Specifies whether this is the default OS version for its family. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly isDefault?: boolean; + /** + * Specifies whether this OS version is active. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly isActive?: boolean; } /** - * Optional Parameters. + * Describes a cloud service OS version. */ -export interface VirtualMachineScaleSetsBeginDeallocateOptionalParams extends msRest.RequestOptionsBase { +export interface OSVersion { /** - * A list of virtual machine instance IDs from the VM scale set. + * Resource Id. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - vmInstanceIDs?: VirtualMachineScaleSetVMInstanceIDs; + readonly id?: string; + /** + * Resource name. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly name?: string; + /** + * Resource type. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly type?: string; + /** + * Resource location. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly location?: string; + properties?: OSVersionProperties; } /** - * Optional Parameters. + * Configuration view of an OS version. */ -export interface VirtualMachineScaleSetsBeginPowerOffOptionalParams extends msRest.RequestOptionsBase { +export interface OSVersionPropertiesBase { /** - * A list of virtual machine instance IDs from the VM scale set. + * The OS version. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - vmInstanceIDs?: VirtualMachineScaleSetVMInstanceIDs; + readonly version?: string; /** - * The parameter to request non-graceful VM shutdown. True value for this flag indicates - * non-graceful shutdown whereas false indicates otherwise. Default value for this flag is false - * if not specified. Default value: false. + * The OS version label. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - skipShutdown?: boolean; + readonly label?: string; + /** + * Specifies whether this is the default OS version for its family. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly isDefault?: boolean; + /** + * Specifies whether this OS version is active. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly isActive?: boolean; +} + +/** + * OS family properties. + */ +export interface OSFamilyProperties { + /** + * The OS family name. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly name?: string; + /** + * The OS family label. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly label?: string; + /** + * List of OS versions belonging to this family. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly versions?: OSVersionPropertiesBase[]; +} + +/** + * Describes a cloud service OS family. + */ +export interface OSFamily { + /** + * Resource Id. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly id?: string; + /** + * Resource name. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly name?: string; + /** + * Resource type. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly type?: string; + /** + * Resource location. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly location?: string; + properties?: OSFamilyProperties; } /** * Optional Parameters. */ -export interface VirtualMachineScaleSetsBeginRestartOptionalParams extends msRest.RequestOptionsBase { +export interface AvailabilitySetsListBySubscriptionOptionalParams extends msRest.RequestOptionsBase { /** - * A list of virtual machine instance IDs from the VM scale set. + * The expand expression to apply to the operation. Allowed values are 'instanceView'. */ - vmInstanceIDs?: VirtualMachineScaleSetVMInstanceIDs; + expand?: string; } /** * Optional Parameters. */ -export interface VirtualMachineScaleSetsBeginStartOptionalParams extends msRest.RequestOptionsBase { +export interface AvailabilitySetsListBySubscriptionNextOptionalParams extends msRest.RequestOptionsBase { /** - * A list of virtual machine instance IDs from the VM scale set. + * The expand expression to apply to the operation. Allowed values are 'instanceView'. */ - vmInstanceIDs?: VirtualMachineScaleSetVMInstanceIDs; + expand?: string; } /** * Optional Parameters. */ -export interface VirtualMachineScaleSetsBeginRedeployOptionalParams extends msRest.RequestOptionsBase { +export interface ProximityPlacementGroupsGetOptionalParams extends msRest.RequestOptionsBase { /** - * A list of virtual machine instance IDs from the VM scale set. + * includeColocationStatus=true enables fetching the colocation status of all the resources in + * the proximity placement group. */ - vmInstanceIDs?: VirtualMachineScaleSetVMInstanceIDs; + includeColocationStatus?: string; } /** * Optional Parameters. */ -export interface VirtualMachineScaleSetsBeginPerformMaintenanceOptionalParams extends msRest.RequestOptionsBase { +export interface DedicatedHostGroupsGetOptionalParams extends msRest.RequestOptionsBase { /** - * A list of virtual machine instance IDs from the VM scale set. + * The expand expression to apply on the operation. The response shows the list of instance view + * of the dedicated hosts under the dedicated host group. Possible values include: 'instanceView' */ - vmInstanceIDs?: VirtualMachineScaleSetVMInstanceIDs; + expand?: InstanceViewTypes; } /** * Optional Parameters. */ -export interface VirtualMachineScaleSetsBeginReimageOptionalParams extends msRest.RequestOptionsBase { +export interface DedicatedHostsGetOptionalParams extends msRest.RequestOptionsBase { /** - * Parameters for Reimaging VM ScaleSet. + * The expand expression to apply on the operation. Possible values include: 'instanceView' */ - vmScaleSetReimageInput?: VirtualMachineScaleSetReimageParameters; + expand?: InstanceViewTypes; } /** * Optional Parameters. */ -export interface VirtualMachineScaleSetsBeginReimageAllOptionalParams extends msRest.RequestOptionsBase { +export interface VirtualMachineExtensionImagesListVersionsOptionalParams extends msRest.RequestOptionsBase { /** - * A list of virtual machine instance IDs from the VM scale set. + * The filter to apply on the operation. */ - vmInstanceIDs?: VirtualMachineScaleSetVMInstanceIDs; + filter?: string; + top?: number; + orderby?: string; } /** * Optional Parameters. */ -export interface VirtualMachineScaleSetExtensionsGetOptionalParams extends msRest.RequestOptionsBase { +export interface VirtualMachineExtensionsGetOptionalParams extends msRest.RequestOptionsBase { /** * The expand expression to apply on the operation. */ @@ -6861,7 +7852,7 @@ export interface VirtualMachineScaleSetExtensionsGetOptionalParams extends msRes /** * Optional Parameters. */ -export interface VirtualMachineScaleSetVMExtensionsGetOptionalParams extends msRest.RequestOptionsBase { +export interface VirtualMachineExtensionsListOptionalParams extends msRest.RequestOptionsBase { /** * The expand expression to apply on the operation. */ @@ -6871,27 +7862,47 @@ export interface VirtualMachineScaleSetVMExtensionsGetOptionalParams extends msR /** * Optional Parameters. */ -export interface VirtualMachineScaleSetVMExtensionsListOptionalParams extends msRest.RequestOptionsBase { +export interface VirtualMachineImagesListOptionalParams extends msRest.RequestOptionsBase { + /** + * The expand expression to apply on the operation. + */ + expand?: string; + top?: number; + orderby?: string; +} + +/** + * Optional Parameters. + */ +export interface VirtualMachineImagesEdgeZoneListOptionalParams extends msRest.RequestOptionsBase { /** * The expand expression to apply on the operation. */ expand?: string; + /** + * An integer value specifying the number of images to return that matches supplied values. + */ + top?: number; + /** + * Specifies the order of the results returned. Formatted as an OData query. + */ + orderby?: string; } /** * Optional Parameters. */ -export interface VirtualMachineScaleSetVMsReimageOptionalParams extends msRest.RequestOptionsBase { +export interface VirtualMachinesDeleteMethodOptionalParams extends msRest.RequestOptionsBase { /** - * Parameters for the Reimaging Virtual machine in ScaleSet. + * Optional parameter to force delete virtual machines.(Feature in Preview) */ - vmScaleSetVMReimageInput?: VirtualMachineScaleSetVMReimageParameters; + forceDeletion?: boolean; } /** * Optional Parameters. */ -export interface VirtualMachineScaleSetVMsGetOptionalParams extends msRest.RequestOptionsBase { +export interface VirtualMachinesGetOptionalParams extends msRest.RequestOptionsBase { /** * The expand expression to apply on the operation. Possible values include: 'instanceView' */ @@ -6901,27 +7912,17 @@ export interface VirtualMachineScaleSetVMsGetOptionalParams extends msRest.Reque /** * Optional Parameters. */ -export interface VirtualMachineScaleSetVMsListOptionalParams extends msRest.RequestOptionsBase { - /** - * The filter to apply to the operation. Allowed values are - * 'startswith(instanceView/statuses/code, 'PowerState') eq true', 'properties/latestModelApplied - * eq true', 'properties/latestModelApplied eq false'. - */ - filter?: string; - /** - * The list parameters. Allowed values are 'instanceView', 'instanceView/statuses'. - */ - select?: string; +export interface VirtualMachinesListAllOptionalParams extends msRest.RequestOptionsBase { /** - * The expand expression to apply to the operation. Allowed values are 'instanceView'. + * statusOnly=true enables fetching run time status of all Virtual Machines in the subscription. */ - expand?: string; + statusOnly?: string; } /** * Optional Parameters. */ -export interface VirtualMachineScaleSetVMsPowerOffOptionalParams extends msRest.RequestOptionsBase { +export interface VirtualMachinesPowerOffOptionalParams extends msRest.RequestOptionsBase { /** * The parameter to request non-graceful VM shutdown. True value for this flag indicates * non-graceful shutdown whereas false indicates otherwise. Default value for this flag is false @@ -6933,7 +7934,17 @@ export interface VirtualMachineScaleSetVMsPowerOffOptionalParams extends msRest. /** * Optional Parameters. */ -export interface VirtualMachineScaleSetVMsRetrieveBootDiagnosticsDataOptionalParams extends msRest.RequestOptionsBase { +export interface VirtualMachinesReimageOptionalParams extends msRest.RequestOptionsBase { + /** + * Parameters supplied to the Reimage Virtual Machine operation. + */ + parameters?: VirtualMachineReimageParameters; +} + +/** + * Optional Parameters. + */ +export interface VirtualMachinesRetrieveBootDiagnosticsDataOptionalParams extends msRest.RequestOptionsBase { /** * Expiration duration in minutes for the SAS URIs with a value between 1 to 1440 minutes. *

    NOTE: If not specified, SAS URIs will be generated with a default expiration duration @@ -6945,17 +7956,17 @@ export interface VirtualMachineScaleSetVMsRetrieveBootDiagnosticsDataOptionalPar /** * Optional Parameters. */ -export interface VirtualMachineScaleSetVMsBeginReimageOptionalParams extends msRest.RequestOptionsBase { +export interface VirtualMachinesBeginDeleteMethodOptionalParams extends msRest.RequestOptionsBase { /** - * Parameters for the Reimaging Virtual machine in ScaleSet. + * Optional parameter to force delete virtual machines.(Feature in Preview) */ - vmScaleSetVMReimageInput?: VirtualMachineScaleSetVMReimageParameters; + forceDeletion?: boolean; } /** * Optional Parameters. */ -export interface VirtualMachineScaleSetVMsBeginPowerOffOptionalParams extends msRest.RequestOptionsBase { +export interface VirtualMachinesBeginPowerOffOptionalParams extends msRest.RequestOptionsBase { /** * The parameter to request non-graceful VM shutdown. True value for this flag indicates * non-graceful shutdown whereas false indicates otherwise. Default value for this flag is false @@ -6967,991 +7978,2756 @@ export interface VirtualMachineScaleSetVMsBeginPowerOffOptionalParams extends ms /** * Optional Parameters. */ -export interface ResourceSkusListOptionalParams extends msRest.RequestOptionsBase { +export interface VirtualMachinesBeginReimageOptionalParams extends msRest.RequestOptionsBase { /** - * The filter to apply on the operation. Only **location** filter is supported currently. + * Parameters supplied to the Reimage Virtual Machine operation. */ - filter?: string; + parameters?: VirtualMachineReimageParameters; } /** * Optional Parameters. */ -export interface GalleryImageVersionsGetOptionalParams extends msRest.RequestOptionsBase { +export interface VirtualMachinesListAllNextOptionalParams extends msRest.RequestOptionsBase { /** - * The expand expression to apply on the operation. Possible values include: 'ReplicationStatus' + * statusOnly=true enables fetching run time status of all Virtual Machines in the subscription. */ - expand?: ReplicationStatusTypes; + statusOnly?: string; } /** * Optional Parameters. */ -export interface GalleryApplicationVersionsGetOptionalParams extends msRest.RequestOptionsBase { +export interface VirtualMachineScaleSetsDeleteMethodOptionalParams extends msRest.RequestOptionsBase { /** - * The expand expression to apply on the operation. Possible values include: 'ReplicationStatus' + * Optional parameter to force delete a VM scale set. (Feature in Preview) */ - expand?: ReplicationStatusTypes; + forceDeletion?: boolean; } /** - * An interface representing ComputeManagementClientOptions. + * Optional Parameters. */ -export interface ComputeManagementClientOptions extends AzureServiceClientOptions { - baseUri?: string; +export interface VirtualMachineScaleSetsDeallocateOptionalParams extends msRest.RequestOptionsBase { + /** + * A list of virtual machine instance IDs from the VM scale set. + */ + vmInstanceIDs?: VirtualMachineScaleSetVMInstanceIDs; } /** - * @interface - * The List Compute Operation operation response. - * @extends Array + * Optional Parameters. */ -export interface ComputeOperationListResult extends Array { +export interface VirtualMachineScaleSetsDeleteInstancesOptionalParams extends msRest.RequestOptionsBase { + /** + * Optional parameter to force delete virtual machines from the VM scale set. (Feature in + * Preview) + */ + forceDeletion?: boolean; } /** - * @interface - * The List Availability Set operation response. - * @extends Array + * Optional Parameters. */ -export interface AvailabilitySetListResult extends Array { +export interface VirtualMachineScaleSetsPowerOffOptionalParams extends msRest.RequestOptionsBase { /** - * The URI to fetch the next page of AvailabilitySets. Call ListNext() with this URI to fetch the - * next page of AvailabilitySets. + * A list of virtual machine instance IDs from the VM scale set. */ - nextLink?: string; -} + vmInstanceIDs?: VirtualMachineScaleSetVMInstanceIDs; + /** + * The parameter to request non-graceful VM shutdown. True value for this flag indicates + * non-graceful shutdown whereas false indicates otherwise. Default value for this flag is false + * if not specified. Default value: false. + */ + skipShutdown?: boolean; +} /** - * @interface - * The List Virtual Machine operation response. - * @extends Array + * Optional Parameters. */ -export interface VirtualMachineSizeListResult extends Array { +export interface VirtualMachineScaleSetsRestartOptionalParams extends msRest.RequestOptionsBase { + /** + * A list of virtual machine instance IDs from the VM scale set. + */ + vmInstanceIDs?: VirtualMachineScaleSetVMInstanceIDs; } /** - * @interface - * The List Proximity Placement Group operation response. - * @extends Array + * Optional Parameters. */ -export interface ProximityPlacementGroupListResult extends Array { +export interface VirtualMachineScaleSetsStartOptionalParams extends msRest.RequestOptionsBase { /** - * The URI to fetch the next page of proximity placement groups. + * A list of virtual machine instance IDs from the VM scale set. */ - nextLink?: string; + vmInstanceIDs?: VirtualMachineScaleSetVMInstanceIDs; } /** - * @interface - * The List Dedicated Host Group with resource group response. - * @extends Array + * Optional Parameters. */ -export interface DedicatedHostGroupListResult extends Array { +export interface VirtualMachineScaleSetsRedeployOptionalParams extends msRest.RequestOptionsBase { /** - * The URI to fetch the next page of Dedicated Host Groups. Call ListNext() with this URI to - * fetch the next page of Dedicated Host Groups. + * A list of virtual machine instance IDs from the VM scale set. */ - nextLink?: string; + vmInstanceIDs?: VirtualMachineScaleSetVMInstanceIDs; } /** - * @interface - * The list dedicated host operation response. - * @extends Array + * Optional Parameters. */ -export interface DedicatedHostListResult extends Array { +export interface VirtualMachineScaleSetsPerformMaintenanceOptionalParams extends msRest.RequestOptionsBase { /** - * The URI to fetch the next page of dedicated hosts. Call ListNext() with this URI to fetch the - * next page of dedicated hosts. + * A list of virtual machine instance IDs from the VM scale set. */ - nextLink?: string; + vmInstanceIDs?: VirtualMachineScaleSetVMInstanceIDs; } /** - * @interface - * The list SSH public keys operation response. - * @extends Array + * Optional Parameters. */ -export interface SshPublicKeysGroupListResult extends Array { +export interface VirtualMachineScaleSetsReimageOptionalParams extends msRest.RequestOptionsBase { /** - * The URI to fetch the next page of SSH public keys. Call ListNext() with this URI to fetch the - * next page of SSH public keys. + * Parameters for Reimaging VM ScaleSet. */ - nextLink?: string; + vmScaleSetReimageInput?: VirtualMachineScaleSetReimageParameters; } /** - * @interface - * The List Usages operation response. - * @extends Array + * Optional Parameters. */ -export interface ListUsagesResult extends Array { +export interface VirtualMachineScaleSetsReimageAllOptionalParams extends msRest.RequestOptionsBase { /** - * The URI to fetch the next page of compute resource usage information. Call ListNext() with - * this to fetch the next page of compute resource usage information. + * A list of virtual machine instance IDs from the VM scale set. */ - nextLink?: string; + vmInstanceIDs?: VirtualMachineScaleSetVMInstanceIDs; } /** - * @interface - * The List Virtual Machine operation response. - * @extends Array + * Optional Parameters. */ -export interface VirtualMachineListResult extends Array { +export interface VirtualMachineScaleSetsBeginDeleteMethodOptionalParams extends msRest.RequestOptionsBase { /** - * The URI to fetch the next page of VMs. Call ListNext() with this URI to fetch the next page of - * Virtual Machines. + * Optional parameter to force delete a VM scale set. (Feature in Preview) */ - nextLink?: string; + forceDeletion?: boolean; } /** - * @interface - * The List Image operation response. - * @extends Array + * Optional Parameters. */ -export interface ImageListResult extends Array { +export interface VirtualMachineScaleSetsBeginDeallocateOptionalParams extends msRest.RequestOptionsBase { /** - * The uri to fetch the next page of Images. Call ListNext() with this to fetch the next page of - * Images. + * A list of virtual machine instance IDs from the VM scale set. */ - nextLink?: string; + vmInstanceIDs?: VirtualMachineScaleSetVMInstanceIDs; } /** - * @interface - * The List Virtual Machine operation response. - * @extends Array + * Optional Parameters. */ -export interface VirtualMachineScaleSetListResult extends Array { +export interface VirtualMachineScaleSetsBeginDeleteInstancesOptionalParams extends msRest.RequestOptionsBase { /** - * The uri to fetch the next page of Virtual Machine Scale Sets. Call ListNext() with this to - * fetch the next page of VMSS. + * Optional parameter to force delete virtual machines from the VM scale set. (Feature in + * Preview) */ - nextLink?: string; + forceDeletion?: boolean; } /** - * @interface - * The List Virtual Machine operation response. - * @extends Array + * Optional Parameters. */ -export interface VirtualMachineScaleSetListWithLinkResult extends Array { +export interface VirtualMachineScaleSetsBeginPowerOffOptionalParams extends msRest.RequestOptionsBase { /** - * The uri to fetch the next page of Virtual Machine Scale Sets. Call ListNext() with this to - * fetch the next page of Virtual Machine Scale Sets. + * A list of virtual machine instance IDs from the VM scale set. */ - nextLink?: string; + vmInstanceIDs?: VirtualMachineScaleSetVMInstanceIDs; + /** + * The parameter to request non-graceful VM shutdown. True value for this flag indicates + * non-graceful shutdown whereas false indicates otherwise. Default value for this flag is false + * if not specified. Default value: false. + */ + skipShutdown?: boolean; } /** - * @interface - * The Virtual Machine Scale Set List Skus operation response. - * @extends Array + * Optional Parameters. */ -export interface VirtualMachineScaleSetListSkusResult extends Array { +export interface VirtualMachineScaleSetsBeginRestartOptionalParams extends msRest.RequestOptionsBase { /** - * The uri to fetch the next page of Virtual Machine Scale Set Skus. Call ListNext() with this to - * fetch the next page of VMSS Skus. + * A list of virtual machine instance IDs from the VM scale set. */ - nextLink?: string; + vmInstanceIDs?: VirtualMachineScaleSetVMInstanceIDs; } /** - * @interface - * List of Virtual Machine Scale Set OS Upgrade History operation response. - * @extends Array + * Optional Parameters. */ -export interface VirtualMachineScaleSetListOSUpgradeHistory extends Array { +export interface VirtualMachineScaleSetsBeginStartOptionalParams extends msRest.RequestOptionsBase { /** - * The uri to fetch the next page of OS Upgrade History. Call ListNext() with this to fetch the - * next page of history of upgrades. + * A list of virtual machine instance IDs from the VM scale set. */ - nextLink?: string; + vmInstanceIDs?: VirtualMachineScaleSetVMInstanceIDs; } /** - * @interface - * The List VM scale set extension operation response. - * @extends Array + * Optional Parameters. */ -export interface VirtualMachineScaleSetExtensionListResult extends Array { +export interface VirtualMachineScaleSetsBeginRedeployOptionalParams extends msRest.RequestOptionsBase { /** - * The uri to fetch the next page of VM scale set extensions. Call ListNext() with this to fetch - * the next page of VM scale set extensions. + * A list of virtual machine instance IDs from the VM scale set. */ - nextLink?: string; + vmInstanceIDs?: VirtualMachineScaleSetVMInstanceIDs; } /** - * @interface - * The List Virtual Machine Scale Set VMs operation response. - * @extends Array + * Optional Parameters. */ -export interface VirtualMachineScaleSetVMListResult extends Array { +export interface VirtualMachineScaleSetsBeginPerformMaintenanceOptionalParams extends msRest.RequestOptionsBase { /** - * The uri to fetch the next page of Virtual Machine Scale Set VMs. Call ListNext() with this to - * fetch the next page of VMSS VMs + * A list of virtual machine instance IDs from the VM scale set. */ - nextLink?: string; + vmInstanceIDs?: VirtualMachineScaleSetVMInstanceIDs; } /** - * @interface - * The List Virtual Machine operation response. - * @extends Array + * Optional Parameters. */ -export interface RunCommandListResult extends Array { +export interface VirtualMachineScaleSetsBeginReimageOptionalParams extends msRest.RequestOptionsBase { /** - * The uri to fetch the next page of run commands. Call ListNext() with this to fetch the next - * page of run commands. + * Parameters for Reimaging VM ScaleSet. */ - nextLink?: string; + vmScaleSetReimageInput?: VirtualMachineScaleSetReimageParameters; } /** - * @interface - * The List Resource Skus operation response. - * @extends Array + * Optional Parameters. */ -export interface ResourceSkusResult extends Array { +export interface VirtualMachineScaleSetsBeginReimageAllOptionalParams extends msRest.RequestOptionsBase { /** - * The URI to fetch the next page of Resource Skus. Call ListNext() with this URI to fetch the - * next page of Resource Skus + * A list of virtual machine instance IDs from the VM scale set. */ - nextLink?: string; + vmInstanceIDs?: VirtualMachineScaleSetVMInstanceIDs; } /** - * @interface - * The List Disks operation response. - * @extends Array + * Optional Parameters. */ -export interface DiskList extends Array { +export interface ImagesGetOptionalParams extends msRest.RequestOptionsBase { /** - * The uri to fetch the next page of disks. Call ListNext() with this to fetch the next page of - * disks. + * The expand expression to apply on the operation. */ - nextLink?: string; + expand?: string; } /** - * @interface - * The List Snapshots operation response. - * @extends Array + * Optional Parameters. */ -export interface SnapshotList extends Array { +export interface VirtualMachineScaleSetExtensionsGetOptionalParams extends msRest.RequestOptionsBase { /** - * The uri to fetch the next page of snapshots. Call ListNext() with this to fetch the next page - * of snapshots. + * The expand expression to apply on the operation. */ - nextLink?: string; + expand?: string; } /** - * @interface - * The List disk encryption set operation response. - * @extends Array + * Optional Parameters. */ -export interface DiskEncryptionSetList extends Array { +export interface VirtualMachineScaleSetVMExtensionsGetOptionalParams extends msRest.RequestOptionsBase { /** - * The uri to fetch the next page of disk encryption sets. Call ListNext() with this to fetch the - * next page of disk encryption sets. + * The expand expression to apply on the operation. */ - nextLink?: string; + expand?: string; } /** - * @interface - * The List resources which are encrypted with the disk encryption set. - * @extends Array + * Optional Parameters. */ -export interface ResourceUriList extends Array { +export interface VirtualMachineScaleSetVMExtensionsListOptionalParams extends msRest.RequestOptionsBase { /** - * The uri to fetch the next page of encrypted resources. Call ListNext() with this to fetch the - * next page of encrypted resources. + * The expand expression to apply on the operation. */ - nextLink?: string; + expand?: string; } /** - * @interface - * The List disk access operation response. - * @extends Array + * Optional Parameters. */ -export interface DiskAccessList extends Array { +export interface VirtualMachineScaleSetVMsReimageOptionalParams extends msRest.RequestOptionsBase { /** - * The uri to fetch the next page of disk access resources. Call ListNext() with this to fetch - * the next page of disk access resources. + * Parameters for the Reimaging Virtual machine in ScaleSet. */ - nextLink?: string; + vmScaleSetVMReimageInput?: VirtualMachineScaleSetVMReimageParameters; } /** - * @interface - * The List Galleries operation response. - * @extends Array + * Optional Parameters. */ -export interface GalleryList extends Array { +export interface VirtualMachineScaleSetVMsDeleteMethodOptionalParams extends msRest.RequestOptionsBase { /** - * The uri to fetch the next page of galleries. Call ListNext() with this to fetch the next page - * of galleries. + * Optional parameter to force delete a virtual machine from a VM scale set. (Feature in Preview) */ - nextLink?: string; + forceDeletion?: boolean; } /** - * @interface - * The List Gallery Images operation response. - * @extends Array + * Optional Parameters. */ -export interface GalleryImageList extends Array { +export interface VirtualMachineScaleSetVMsGetOptionalParams extends msRest.RequestOptionsBase { /** - * The uri to fetch the next page of Image Definitions in the Shared Image Gallery. Call - * ListNext() with this to fetch the next page of gallery Image Definitions. + * The expand expression to apply on the operation. Possible values include: 'instanceView' */ - nextLink?: string; + expand?: InstanceViewTypes; } /** - * @interface - * The List Gallery Image version operation response. - * @extends Array + * Optional Parameters. */ -export interface GalleryImageVersionList extends Array { +export interface VirtualMachineScaleSetVMsListOptionalParams extends msRest.RequestOptionsBase { /** - * The uri to fetch the next page of gallery Image Versions. Call ListNext() with this to fetch - * the next page of gallery Image Versions. + * The filter to apply to the operation. Allowed values are + * 'startswith(instanceView/statuses/code, 'PowerState') eq true', 'properties/latestModelApplied + * eq true', 'properties/latestModelApplied eq false'. */ - nextLink?: string; + filter?: string; + /** + * The list parameters. Allowed values are 'instanceView', 'instanceView/statuses'. + */ + select?: string; + /** + * The expand expression to apply to the operation. Allowed values are 'instanceView'. + */ + expand?: string; } /** - * @interface - * The List Gallery Applications operation response. - * @extends Array + * Optional Parameters. */ -export interface GalleryApplicationList extends Array { +export interface VirtualMachineScaleSetVMsPowerOffOptionalParams extends msRest.RequestOptionsBase { /** - * The uri to fetch the next page of Application Definitions in the Application Gallery. Call - * ListNext() with this to fetch the next page of gallery Application Definitions. + * The parameter to request non-graceful VM shutdown. True value for this flag indicates + * non-graceful shutdown whereas false indicates otherwise. Default value for this flag is false + * if not specified. Default value: false. */ - nextLink?: string; + skipShutdown?: boolean; } /** - * @interface - * The List Gallery Application version operation response. - * @extends Array + * Optional Parameters. */ -export interface GalleryApplicationVersionList extends Array { +export interface VirtualMachineScaleSetVMsRetrieveBootDiagnosticsDataOptionalParams extends msRest.RequestOptionsBase { /** - * The uri to fetch the next page of gallery Application Versions. Call ListNext() with this to - * fetch the next page of gallery Application Versions. + * Expiration duration in minutes for the SAS URIs with a value between 1 to 1440 minutes. + *

    NOTE: If not specified, SAS URIs will be generated with a default expiration duration + * of 120 minutes. */ - nextLink?: string; + sasUriExpirationTimeInMinutes?: number; } /** - * @interface - * The response from the List Container Services operation. - * @extends Array + * Optional Parameters. */ -export interface ContainerServiceListResult extends Array { +export interface VirtualMachineScaleSetVMsBeginReimageOptionalParams extends msRest.RequestOptionsBase { /** - * The URL to get the next set of container service results. + * Parameters for the Reimaging Virtual machine in ScaleSet. */ - nextLink?: string; + vmScaleSetVMReimageInput?: VirtualMachineScaleSetVMReimageParameters; } /** - * Defines values for VmDiskTypes. - * Possible values include: 'None', 'Unmanaged' - * @readonly - * @enum {string} + * Optional Parameters. */ -export type VmDiskTypes = 'None' | 'Unmanaged'; +export interface VirtualMachineScaleSetVMsBeginDeleteMethodOptionalParams extends msRest.RequestOptionsBase { + /** + * Optional parameter to force delete a virtual machine from a VM scale set. (Feature in Preview) + */ + forceDeletion?: boolean; +} /** - * Defines values for HyperVGenerationTypes. - * Possible values include: 'V1', 'V2' - * @readonly - * @enum {string} + * Optional Parameters. */ -export type HyperVGenerationTypes = 'V1' | 'V2'; +export interface VirtualMachineScaleSetVMsBeginPowerOffOptionalParams extends msRest.RequestOptionsBase { + /** + * The parameter to request non-graceful VM shutdown. True value for this flag indicates + * non-graceful shutdown whereas false indicates otherwise. Default value for this flag is false + * if not specified. Default value: false. + */ + skipShutdown?: boolean; +} /** - * Defines values for StatusLevelTypes. - * Possible values include: 'Info', 'Warning', 'Error' - * @readonly - * @enum {string} + * Optional Parameters. */ -export type StatusLevelTypes = 'Info' | 'Warning' | 'Error'; +export interface VirtualMachineScaleSetVMsListNextOptionalParams extends msRest.RequestOptionsBase { + /** + * The filter to apply to the operation. Allowed values are + * 'startswith(instanceView/statuses/code, 'PowerState') eq true', 'properties/latestModelApplied + * eq true', 'properties/latestModelApplied eq false'. + */ + filter?: string; + /** + * The list parameters. Allowed values are 'instanceView', 'instanceView/statuses'. + */ + select?: string; + /** + * The expand expression to apply to the operation. Allowed values are 'instanceView'. + */ + expand?: string; +} /** - * Defines values for AvailabilitySetSkuTypes. - * Possible values include: 'Classic', 'Aligned' - * @readonly - * @enum {string} + * Optional Parameters. */ -export type AvailabilitySetSkuTypes = 'Classic' | 'Aligned'; +export interface VirtualMachineRunCommandsGetByVirtualMachineOptionalParams extends msRest.RequestOptionsBase { + /** + * The expand expression to apply on the operation. + */ + expand?: string; +} /** - * Defines values for ProximityPlacementGroupType. - * Possible values include: 'Standard', 'Ultra' - * @readonly - * @enum {string} + * Optional Parameters. */ -export type ProximityPlacementGroupType = 'Standard' | 'Ultra'; +export interface VirtualMachineRunCommandsListByVirtualMachineOptionalParams extends msRest.RequestOptionsBase { + /** + * The expand expression to apply on the operation. + */ + expand?: string; +} /** - * Defines values for DedicatedHostLicenseTypes. - * Possible values include: 'None', 'Windows_Server_Hybrid', 'Windows_Server_Perpetual' - * @readonly - * @enum {string} + * Optional Parameters. */ -export type DedicatedHostLicenseTypes = 'None' | 'Windows_Server_Hybrid' | 'Windows_Server_Perpetual'; +export interface VirtualMachineRunCommandsListByVirtualMachineNextOptionalParams extends msRest.RequestOptionsBase { + /** + * The expand expression to apply on the operation. + */ + expand?: string; +} /** - * Defines values for SoftwareUpdateRebootBehavior. - * Possible values include: 'NeverReboots', 'AlwaysRequiresReboot', 'CanRequestReboot' - * @readonly - * @enum {string} + * Optional Parameters. */ -export type SoftwareUpdateRebootBehavior = 'NeverReboots' | 'AlwaysRequiresReboot' | 'CanRequestReboot'; +export interface VirtualMachineScaleSetVMRunCommandsGetOptionalParams extends msRest.RequestOptionsBase { + /** + * The expand expression to apply on the operation. + */ + expand?: string; +} /** - * Defines values for PatchAssessmentState. - * Possible values include: 'Installed', 'Failed', 'Excluded', 'NotSelected', 'Pending', - * 'Available' - * @readonly - * @enum {string} + * Optional Parameters. */ -export type PatchAssessmentState = 'Installed' | 'Failed' | 'Excluded' | 'NotSelected' | 'Pending' | 'Available'; +export interface VirtualMachineScaleSetVMRunCommandsListOptionalParams extends msRest.RequestOptionsBase { + /** + * The expand expression to apply on the operation. + */ + expand?: string; +} /** - * Defines values for PatchOperationStatus. - * Possible values include: 'InProgress', 'Failed', 'Succeeded', 'CompletedWithWarnings' - * @readonly - * @enum {string} + * Optional Parameters. */ -export type PatchOperationStatus = 'InProgress' | 'Failed' | 'Succeeded' | 'CompletedWithWarnings'; +export interface VirtualMachineScaleSetVMRunCommandsListNextOptionalParams extends msRest.RequestOptionsBase { + /** + * The expand expression to apply on the operation. + */ + expand?: string; +} /** - * Defines values for OperatingSystemTypes. - * Possible values include: 'Windows', 'Linux' - * @readonly - * @enum {string} + * Optional Parameters. */ -export type OperatingSystemTypes = 'Windows' | 'Linux'; +export interface ResourceSkusListOptionalParams extends msRest.RequestOptionsBase { + /** + * The filter to apply on the operation. Only **location** filter is supported currently. + */ + filter?: string; +} /** - * Defines values for VirtualMachineSizeTypes. - * Possible values include: 'Basic_A0', 'Basic_A1', 'Basic_A2', 'Basic_A3', 'Basic_A4', - * 'Standard_A0', 'Standard_A1', 'Standard_A2', 'Standard_A3', 'Standard_A4', 'Standard_A5', - * 'Standard_A6', 'Standard_A7', 'Standard_A8', 'Standard_A9', 'Standard_A10', 'Standard_A11', - * 'Standard_A1_v2', 'Standard_A2_v2', 'Standard_A4_v2', 'Standard_A8_v2', 'Standard_A2m_v2', - * 'Standard_A4m_v2', 'Standard_A8m_v2', 'Standard_B1s', 'Standard_B1ms', 'Standard_B2s', - * 'Standard_B2ms', 'Standard_B4ms', 'Standard_B8ms', 'Standard_D1', 'Standard_D2', 'Standard_D3', - * 'Standard_D4', 'Standard_D11', 'Standard_D12', 'Standard_D13', 'Standard_D14', 'Standard_D1_v2', - * 'Standard_D2_v2', 'Standard_D3_v2', 'Standard_D4_v2', 'Standard_D5_v2', 'Standard_D2_v3', - * 'Standard_D4_v3', 'Standard_D8_v3', 'Standard_D16_v3', 'Standard_D32_v3', 'Standard_D64_v3', - * 'Standard_D2s_v3', 'Standard_D4s_v3', 'Standard_D8s_v3', 'Standard_D16s_v3', 'Standard_D32s_v3', - * 'Standard_D64s_v3', 'Standard_D11_v2', 'Standard_D12_v2', 'Standard_D13_v2', 'Standard_D14_v2', - * 'Standard_D15_v2', 'Standard_DS1', 'Standard_DS2', 'Standard_DS3', 'Standard_DS4', - * 'Standard_DS11', 'Standard_DS12', 'Standard_DS13', 'Standard_DS14', 'Standard_DS1_v2', - * 'Standard_DS2_v2', 'Standard_DS3_v2', 'Standard_DS4_v2', 'Standard_DS5_v2', 'Standard_DS11_v2', - * 'Standard_DS12_v2', 'Standard_DS13_v2', 'Standard_DS14_v2', 'Standard_DS15_v2', - * 'Standard_DS13-4_v2', 'Standard_DS13-2_v2', 'Standard_DS14-8_v2', 'Standard_DS14-4_v2', - * 'Standard_E2_v3', 'Standard_E4_v3', 'Standard_E8_v3', 'Standard_E16_v3', 'Standard_E32_v3', - * 'Standard_E64_v3', 'Standard_E2s_v3', 'Standard_E4s_v3', 'Standard_E8s_v3', 'Standard_E16s_v3', - * 'Standard_E32s_v3', 'Standard_E64s_v3', 'Standard_E32-16_v3', 'Standard_E32-8s_v3', - * 'Standard_E64-32s_v3', 'Standard_E64-16s_v3', 'Standard_F1', 'Standard_F2', 'Standard_F4', - * 'Standard_F8', 'Standard_F16', 'Standard_F1s', 'Standard_F2s', 'Standard_F4s', 'Standard_F8s', - * 'Standard_F16s', 'Standard_F2s_v2', 'Standard_F4s_v2', 'Standard_F8s_v2', 'Standard_F16s_v2', - * 'Standard_F32s_v2', 'Standard_F64s_v2', 'Standard_F72s_v2', 'Standard_G1', 'Standard_G2', - * 'Standard_G3', 'Standard_G4', 'Standard_G5', 'Standard_GS1', 'Standard_GS2', 'Standard_GS3', - * 'Standard_GS4', 'Standard_GS5', 'Standard_GS4-8', 'Standard_GS4-4', 'Standard_GS5-16', - * 'Standard_GS5-8', 'Standard_H8', 'Standard_H16', 'Standard_H8m', 'Standard_H16m', - * 'Standard_H16r', 'Standard_H16mr', 'Standard_L4s', 'Standard_L8s', 'Standard_L16s', - * 'Standard_L32s', 'Standard_M64s', 'Standard_M64ms', 'Standard_M128s', 'Standard_M128ms', - * 'Standard_M64-32ms', 'Standard_M64-16ms', 'Standard_M128-64ms', 'Standard_M128-32ms', - * 'Standard_NC6', 'Standard_NC12', 'Standard_NC24', 'Standard_NC24r', 'Standard_NC6s_v2', - * 'Standard_NC12s_v2', 'Standard_NC24s_v2', 'Standard_NC24rs_v2', 'Standard_NC6s_v3', - * 'Standard_NC12s_v3', 'Standard_NC24s_v3', 'Standard_NC24rs_v3', 'Standard_ND6s', - * 'Standard_ND12s', 'Standard_ND24s', 'Standard_ND24rs', 'Standard_NV6', 'Standard_NV12', - * 'Standard_NV24' - * @readonly - * @enum {string} + * Optional Parameters. */ -export type VirtualMachineSizeTypes = 'Basic_A0' | 'Basic_A1' | 'Basic_A2' | 'Basic_A3' | 'Basic_A4' | 'Standard_A0' | 'Standard_A1' | 'Standard_A2' | 'Standard_A3' | 'Standard_A4' | 'Standard_A5' | 'Standard_A6' | 'Standard_A7' | 'Standard_A8' | 'Standard_A9' | 'Standard_A10' | 'Standard_A11' | 'Standard_A1_v2' | 'Standard_A2_v2' | 'Standard_A4_v2' | 'Standard_A8_v2' | 'Standard_A2m_v2' | 'Standard_A4m_v2' | 'Standard_A8m_v2' | 'Standard_B1s' | 'Standard_B1ms' | 'Standard_B2s' | 'Standard_B2ms' | 'Standard_B4ms' | 'Standard_B8ms' | 'Standard_D1' | 'Standard_D2' | 'Standard_D3' | 'Standard_D4' | 'Standard_D11' | 'Standard_D12' | 'Standard_D13' | 'Standard_D14' | 'Standard_D1_v2' | 'Standard_D2_v2' | 'Standard_D3_v2' | 'Standard_D4_v2' | 'Standard_D5_v2' | 'Standard_D2_v3' | 'Standard_D4_v3' | 'Standard_D8_v3' | 'Standard_D16_v3' | 'Standard_D32_v3' | 'Standard_D64_v3' | 'Standard_D2s_v3' | 'Standard_D4s_v3' | 'Standard_D8s_v3' | 'Standard_D16s_v3' | 'Standard_D32s_v3' | 'Standard_D64s_v3' | 'Standard_D11_v2' | 'Standard_D12_v2' | 'Standard_D13_v2' | 'Standard_D14_v2' | 'Standard_D15_v2' | 'Standard_DS1' | 'Standard_DS2' | 'Standard_DS3' | 'Standard_DS4' | 'Standard_DS11' | 'Standard_DS12' | 'Standard_DS13' | 'Standard_DS14' | 'Standard_DS1_v2' | 'Standard_DS2_v2' | 'Standard_DS3_v2' | 'Standard_DS4_v2' | 'Standard_DS5_v2' | 'Standard_DS11_v2' | 'Standard_DS12_v2' | 'Standard_DS13_v2' | 'Standard_DS14_v2' | 'Standard_DS15_v2' | 'Standard_DS13-4_v2' | 'Standard_DS13-2_v2' | 'Standard_DS14-8_v2' | 'Standard_DS14-4_v2' | 'Standard_E2_v3' | 'Standard_E4_v3' | 'Standard_E8_v3' | 'Standard_E16_v3' | 'Standard_E32_v3' | 'Standard_E64_v3' | 'Standard_E2s_v3' | 'Standard_E4s_v3' | 'Standard_E8s_v3' | 'Standard_E16s_v3' | 'Standard_E32s_v3' | 'Standard_E64s_v3' | 'Standard_E32-16_v3' | 'Standard_E32-8s_v3' | 'Standard_E64-32s_v3' | 'Standard_E64-16s_v3' | 'Standard_F1' | 'Standard_F2' | 'Standard_F4' | 'Standard_F8' | 'Standard_F16' | 'Standard_F1s' | 'Standard_F2s' | 'Standard_F4s' | 'Standard_F8s' | 'Standard_F16s' | 'Standard_F2s_v2' | 'Standard_F4s_v2' | 'Standard_F8s_v2' | 'Standard_F16s_v2' | 'Standard_F32s_v2' | 'Standard_F64s_v2' | 'Standard_F72s_v2' | 'Standard_G1' | 'Standard_G2' | 'Standard_G3' | 'Standard_G4' | 'Standard_G5' | 'Standard_GS1' | 'Standard_GS2' | 'Standard_GS3' | 'Standard_GS4' | 'Standard_GS5' | 'Standard_GS4-8' | 'Standard_GS4-4' | 'Standard_GS5-16' | 'Standard_GS5-8' | 'Standard_H8' | 'Standard_H16' | 'Standard_H8m' | 'Standard_H16m' | 'Standard_H16r' | 'Standard_H16mr' | 'Standard_L4s' | 'Standard_L8s' | 'Standard_L16s' | 'Standard_L32s' | 'Standard_M64s' | 'Standard_M64ms' | 'Standard_M128s' | 'Standard_M128ms' | 'Standard_M64-32ms' | 'Standard_M64-16ms' | 'Standard_M128-64ms' | 'Standard_M128-32ms' | 'Standard_NC6' | 'Standard_NC12' | 'Standard_NC24' | 'Standard_NC24r' | 'Standard_NC6s_v2' | 'Standard_NC12s_v2' | 'Standard_NC24s_v2' | 'Standard_NC24rs_v2' | 'Standard_NC6s_v3' | 'Standard_NC12s_v3' | 'Standard_NC24s_v3' | 'Standard_NC24rs_v3' | 'Standard_ND6s' | 'Standard_ND12s' | 'Standard_ND24s' | 'Standard_ND24rs' | 'Standard_NV6' | 'Standard_NV12' | 'Standard_NV24'; +export interface ResourceSkusListNextOptionalParams extends msRest.RequestOptionsBase { + /** + * The filter to apply on the operation. Only **location** filter is supported currently. + */ + filter?: string; +} /** - * Defines values for CachingTypes. - * Possible values include: 'None', 'ReadOnly', 'ReadWrite' - * @readonly - * @enum {string} + * Optional Parameters. */ -export type CachingTypes = 'None' | 'ReadOnly' | 'ReadWrite'; +export interface GalleryImageVersionsGetOptionalParams extends msRest.RequestOptionsBase { + /** + * The expand expression to apply on the operation. Possible values include: 'ReplicationStatus' + */ + expand?: ReplicationStatusTypes; +} /** - * Defines values for DiskCreateOptionTypes. - * Possible values include: 'FromImage', 'Empty', 'Attach' - * @readonly - * @enum {string} + * Optional Parameters. */ -export type DiskCreateOptionTypes = 'FromImage' | 'Empty' | 'Attach'; +export interface GalleryApplicationVersionsGetOptionalParams extends msRest.RequestOptionsBase { + /** + * The expand expression to apply on the operation. Possible values include: 'ReplicationStatus' + */ + expand?: ReplicationStatusTypes; +} /** - * Defines values for StorageAccountTypes. - * Possible values include: 'Standard_LRS', 'Premium_LRS', 'StandardSSD_LRS', 'UltraSSD_LRS' - * @readonly - * @enum {string} + * Optional Parameters. */ -export type StorageAccountTypes = 'Standard_LRS' | 'Premium_LRS' | 'StandardSSD_LRS' | 'UltraSSD_LRS'; +export interface CloudServiceRoleInstancesGetOptionalParams extends msRest.RequestOptionsBase { + /** + * The expand expression to apply to the operation. Possible values include: 'instanceView' + */ + expand?: InstanceViewTypes; +} /** - * Defines values for DiffDiskOptions. - * Possible values include: 'Local' - * @readonly - * @enum {string} + * Optional Parameters. */ -export type DiffDiskOptions = 'Local'; +export interface CloudServiceRoleInstancesListOptionalParams extends msRest.RequestOptionsBase { + /** + * The expand expression to apply to the operation. Possible values include: 'instanceView' + */ + expand?: InstanceViewTypes; +} /** - * Defines values for DiffDiskPlacement. - * Possible values include: 'CacheDisk', 'ResourceDisk' - * @readonly - * @enum {string} + * Optional Parameters. */ -export type DiffDiskPlacement = 'CacheDisk' | 'ResourceDisk'; +export interface CloudServiceRoleInstancesListNextOptionalParams extends msRest.RequestOptionsBase { + /** + * The expand expression to apply to the operation. Possible values include: 'instanceView' + */ + expand?: InstanceViewTypes; +} /** - * Defines values for PassNames. - * Possible values include: 'OobeSystem' - * @readonly - * @enum {string} + * Optional Parameters. */ -export type PassNames = 'OobeSystem'; +export interface CloudServicesCreateOrUpdateOptionalParams extends msRest.RequestOptionsBase { + /** + * The cloud service object. + */ + parameters?: CloudService; +} /** - * Defines values for ComponentNames. - * Possible values include: 'Microsoft-Windows-Shell-Setup' - * @readonly - * @enum {string} + * Optional Parameters. */ -export type ComponentNames = 'Microsoft-Windows-Shell-Setup'; +export interface CloudServicesUpdateOptionalParams extends msRest.RequestOptionsBase { + /** + * The cloud service object. + */ + parameters?: CloudServiceUpdate; +} /** - * Defines values for SettingNames. - * Possible values include: 'AutoLogon', 'FirstLogonCommands' - * @readonly - * @enum {string} + * Optional Parameters. */ -export type SettingNames = 'AutoLogon' | 'FirstLogonCommands'; +export interface CloudServicesRestartOptionalParams extends msRest.RequestOptionsBase { + /** + * List of cloud service role instance names. + */ + parameters?: RoleInstances; +} /** - * Defines values for ProtocolTypes. - * Possible values include: 'Http', 'Https' - * @readonly - * @enum {string} + * Optional Parameters. */ -export type ProtocolTypes = 'Http' | 'Https'; +export interface CloudServicesReimageOptionalParams extends msRest.RequestOptionsBase { + /** + * List of cloud service role instance names. + */ + parameters?: RoleInstances; +} /** - * Defines values for InGuestPatchMode. - * Possible values include: 'Manual', 'AutomaticByOS', 'AutomaticByPlatform' - * @readonly - * @enum {string} + * Optional Parameters. */ -export type InGuestPatchMode = 'Manual' | 'AutomaticByOS' | 'AutomaticByPlatform'; +export interface CloudServicesRebuildOptionalParams extends msRest.RequestOptionsBase { + /** + * List of cloud service role instance names. + */ + parameters?: RoleInstances; +} /** - * Defines values for VirtualMachinePriorityTypes. - * Possible values include: 'Regular', 'Low', 'Spot' - * @readonly - * @enum {string} + * Optional Parameters. */ -export type VirtualMachinePriorityTypes = 'Regular' | 'Low' | 'Spot'; +export interface CloudServicesDeleteInstancesOptionalParams extends msRest.RequestOptionsBase { + /** + * List of cloud service role instance names. + */ + parameters?: RoleInstances; +} /** - * Defines values for VirtualMachineEvictionPolicyTypes. - * Possible values include: 'Deallocate', 'Delete' - * @readonly - * @enum {string} + * Optional Parameters. */ -export type VirtualMachineEvictionPolicyTypes = 'Deallocate' | 'Delete'; +export interface CloudServicesBeginCreateOrUpdateOptionalParams extends msRest.RequestOptionsBase { + /** + * The cloud service object. + */ + parameters?: CloudService; +} /** - * Defines values for ResourceIdentityType. - * Possible values include: 'SystemAssigned', 'UserAssigned', 'SystemAssigned, UserAssigned', - * 'None' - * @readonly - * @enum {string} + * Optional Parameters. */ -export type ResourceIdentityType = 'SystemAssigned' | 'UserAssigned' | 'SystemAssigned, UserAssigned' | 'None'; +export interface CloudServicesBeginUpdateOptionalParams extends msRest.RequestOptionsBase { + /** + * The cloud service object. + */ + parameters?: CloudServiceUpdate; +} /** - * Defines values for MaintenanceOperationResultCodeTypes. - * Possible values include: 'None', 'RetryLater', 'MaintenanceAborted', 'MaintenanceCompleted' - * @readonly - * @enum {string} + * Optional Parameters. */ -export type MaintenanceOperationResultCodeTypes = 'None' | 'RetryLater' | 'MaintenanceAborted' | 'MaintenanceCompleted'; +export interface CloudServicesBeginRestartOptionalParams extends msRest.RequestOptionsBase { + /** + * List of cloud service role instance names. + */ + parameters?: RoleInstances; +} /** - * Defines values for HyperVGenerationType. - * Possible values include: 'V1', 'V2' - * @readonly - * @enum {string} + * Optional Parameters. */ -export type HyperVGenerationType = 'V1' | 'V2'; +export interface CloudServicesBeginReimageOptionalParams extends msRest.RequestOptionsBase { + /** + * List of cloud service role instance names. + */ + parameters?: RoleInstances; +} /** - * Defines values for RebootStatus. - * Possible values include: 'NotNeeded', 'Required', 'Started', 'Failed', 'Completed' - * @readonly - * @enum {string} + * Optional Parameters. */ -export type RebootStatus = 'NotNeeded' | 'Required' | 'Started' | 'Failed' | 'Completed'; +export interface CloudServicesBeginRebuildOptionalParams extends msRest.RequestOptionsBase { + /** + * List of cloud service role instance names. + */ + parameters?: RoleInstances; +} /** - * Defines values for UpgradeMode. - * Possible values include: 'Automatic', 'Manual', 'Rolling' - * @readonly - * @enum {string} + * Optional Parameters. */ -export type UpgradeMode = 'Automatic' | 'Manual' | 'Rolling'; +export interface CloudServicesBeginDeleteInstancesOptionalParams extends msRest.RequestOptionsBase { + /** + * List of cloud service role instance names. + */ + parameters?: RoleInstances; +} /** - * Defines values for VirtualMachineScaleSetScaleInRules. - * Possible values include: 'Default', 'OldestVM', 'NewestVM' - * @readonly - * @enum {string} + * An interface representing ComputeManagementClientOptions. */ -export type VirtualMachineScaleSetScaleInRules = 'Default' | 'OldestVM' | 'NewestVM'; +export interface ComputeManagementClientOptions extends AzureServiceClientOptions { + baseUri?: string; +} /** - * Defines values for OperatingSystemStateTypes. - * Possible values include: 'Generalized', 'Specialized' - * @readonly - * @enum {string} + * @interface + * The List Compute Operation operation response. + * @extends Array */ -export type OperatingSystemStateTypes = 'Generalized' | 'Specialized'; +export interface ComputeOperationListResult extends Array { +} /** - * Defines values for IPVersion. - * Possible values include: 'IPv4', 'IPv6' - * @readonly - * @enum {string} + * @interface + * The List Availability Set operation response. + * @extends Array */ -export type IPVersion = 'IPv4' | 'IPv6'; +export interface AvailabilitySetListResult extends Array { + /** + * The URI to fetch the next page of AvailabilitySets. Call ListNext() with this URI to fetch the + * next page of AvailabilitySets. + */ + nextLink?: string; +} /** - * Defines values for OrchestrationServiceNames. - * Possible values include: 'AutomaticRepairs' - * @readonly - * @enum {string} + * @interface + * The List Virtual Machine operation response. + * @extends Array */ -export type OrchestrationServiceNames = 'AutomaticRepairs' ; +export interface VirtualMachineSizeListResult extends Array { +} /** - * Defines values for OrchestrationServiceState. - * Possible values include: 'NotRunning', 'Running', 'Suspended' - * @readonly - * @enum {string} + * @interface + * The List Proximity Placement Group operation response. + * @extends Array */ -export type OrchestrationServiceState = 'NotRunning' | 'Running' | 'Suspended'; +export interface ProximityPlacementGroupListResult extends Array { + /** + * The URI to fetch the next page of proximity placement groups. + */ + nextLink?: string; +} /** - * Defines values for VirtualMachineScaleSetSkuScaleType. - * Possible values include: 'Automatic', 'None' - * @readonly - * @enum {string} + * @interface + * The List Dedicated Host Group with resource group response. + * @extends Array */ -export type VirtualMachineScaleSetSkuScaleType = 'Automatic' | 'None'; +export interface DedicatedHostGroupListResult extends Array { + /** + * The URI to fetch the next page of Dedicated Host Groups. Call ListNext() with this URI to + * fetch the next page of Dedicated Host Groups. + */ + nextLink?: string; +} /** - * Defines values for UpgradeState. - * Possible values include: 'RollingForward', 'Cancelled', 'Completed', 'Faulted' - * @readonly - * @enum {string} + * @interface + * The list dedicated host operation response. + * @extends Array */ -export type UpgradeState = 'RollingForward' | 'Cancelled' | 'Completed' | 'Faulted'; +export interface DedicatedHostListResult extends Array { + /** + * The URI to fetch the next page of dedicated hosts. Call ListNext() with this URI to fetch the + * next page of dedicated hosts. + */ + nextLink?: string; +} /** - * Defines values for UpgradeOperationInvoker. - * Possible values include: 'Unknown', 'User', 'Platform' - * @readonly - * @enum {string} + * @interface + * The list SSH public keys operation response. + * @extends Array */ -export type UpgradeOperationInvoker = 'Unknown' | 'User' | 'Platform'; +export interface SshPublicKeysGroupListResult extends Array { + /** + * The URI to fetch the next page of SSH public keys. Call ListNext() with this URI to fetch the + * next page of SSH public keys. + */ + nextLink?: string; +} /** - * Defines values for RollingUpgradeStatusCode. - * Possible values include: 'RollingForward', 'Cancelled', 'Completed', 'Faulted' - * @readonly - * @enum {string} + * @interface + * The List Usages operation response. + * @extends Array */ -export type RollingUpgradeStatusCode = 'RollingForward' | 'Cancelled' | 'Completed' | 'Faulted'; +export interface ListUsagesResult extends Array { + /** + * The URI to fetch the next page of compute resource usage information. Call ListNext() with + * this to fetch the next page of compute resource usage information. + */ + nextLink?: string; +} /** - * Defines values for RollingUpgradeActionType. - * Possible values include: 'Start', 'Cancel' - * @readonly - * @enum {string} + * @interface + * The List Virtual Machine operation response. + * @extends Array */ -export type RollingUpgradeActionType = 'Start' | 'Cancel'; +export interface VirtualMachineListResult extends Array { + /** + * The URI to fetch the next page of VMs. Call ListNext() with this URI to fetch the next page of + * Virtual Machines. + */ + nextLink?: string; +} /** - * Defines values for IntervalInMins. - * Possible values include: 'ThreeMins', 'FiveMins', 'ThirtyMins', 'SixtyMins' - * @readonly - * @enum {string} + * @interface + * The List Virtual Machine operation response. + * @extends Array */ -export type IntervalInMins = 'ThreeMins' | 'FiveMins' | 'ThirtyMins' | 'SixtyMins'; - +export interface VirtualMachineScaleSetListResult extends Array { + /** + * The uri to fetch the next page of Virtual Machine Scale Sets. Call ListNext() with this to + * fetch the next page of VMSS. + */ + nextLink?: string; +} + /** - * Defines values for OrchestrationServiceStateAction. - * Possible values include: 'Resume', 'Suspend' - * @readonly - * @enum {string} + * @interface + * The List Virtual Machine operation response. + * @extends Array */ -export type OrchestrationServiceStateAction = 'Resume' | 'Suspend'; +export interface VirtualMachineScaleSetListWithLinkResult extends Array { + /** + * The uri to fetch the next page of Virtual Machine Scale Sets. Call ListNext() with this to + * fetch the next page of Virtual Machine Scale Sets. + */ + nextLink?: string; +} /** - * Defines values for ResourceSkuCapacityScaleType. - * Possible values include: 'Automatic', 'Manual', 'None' - * @readonly - * @enum {string} + * @interface + * The Virtual Machine Scale Set List Skus operation response. + * @extends Array */ -export type ResourceSkuCapacityScaleType = 'Automatic' | 'Manual' | 'None'; +export interface VirtualMachineScaleSetListSkusResult extends Array { + /** + * The uri to fetch the next page of Virtual Machine Scale Set Skus. Call ListNext() with this to + * fetch the next page of VMSS Skus. + */ + nextLink?: string; +} /** - * Defines values for ResourceSkuRestrictionsType. - * Possible values include: 'Location', 'Zone' - * @readonly - * @enum {string} + * @interface + * List of Virtual Machine Scale Set OS Upgrade History operation response. + * @extends Array */ -export type ResourceSkuRestrictionsType = 'Location' | 'Zone'; +export interface VirtualMachineScaleSetListOSUpgradeHistory extends Array { + /** + * The uri to fetch the next page of OS Upgrade History. Call ListNext() with this to fetch the + * next page of history of upgrades. + */ + nextLink?: string; +} /** - * Defines values for ResourceSkuRestrictionsReasonCode. - * Possible values include: 'QuotaId', 'NotAvailableForSubscription' - * @readonly - * @enum {string} + * @interface + * The List Image operation response. + * @extends Array */ -export type ResourceSkuRestrictionsReasonCode = 'QuotaId' | 'NotAvailableForSubscription'; +export interface ImageListResult extends Array { + /** + * The uri to fetch the next page of Images. Call ListNext() with this to fetch the next page of + * Images. + */ + nextLink?: string; +} /** - * Defines values for DiskStorageAccountTypes. - * Possible values include: 'Standard_LRS', 'Premium_LRS', 'StandardSSD_LRS', 'UltraSSD_LRS' - * @readonly - * @enum {string} + * @interface + * The List VM scale set extension operation response. + * @extends Array */ -export type DiskStorageAccountTypes = 'Standard_LRS' | 'Premium_LRS' | 'StandardSSD_LRS' | 'UltraSSD_LRS'; +export interface VirtualMachineScaleSetExtensionListResult extends Array { + /** + * The uri to fetch the next page of VM scale set extensions. Call ListNext() with this to fetch + * the next page of VM scale set extensions. + */ + nextLink?: string; +} /** - * Defines values for HyperVGeneration. - * Possible values include: 'V1', 'V2' - * @readonly - * @enum {string} + * @interface + * The List Virtual Machine Scale Set VMs operation response. + * @extends Array */ -export type HyperVGeneration = 'V1' | 'V2'; +export interface VirtualMachineScaleSetVMListResult extends Array { + /** + * The uri to fetch the next page of Virtual Machine Scale Set VMs. Call ListNext() with this to + * fetch the next page of VMSS VMs + */ + nextLink?: string; +} /** - * Defines values for DiskCreateOption. - * Possible values include: 'Empty', 'Attach', 'FromImage', 'Import', 'Copy', 'Restore', 'Upload' - * @readonly - * @enum {string} + * @interface + * The List Virtual Machine operation response. + * @extends Array */ -export type DiskCreateOption = 'Empty' | 'Attach' | 'FromImage' | 'Import' | 'Copy' | 'Restore' | 'Upload'; +export interface RunCommandListResult extends Array { + /** + * The uri to fetch the next page of run commands. Call ListNext() with this to fetch the next + * page of run commands. + */ + nextLink?: string; +} /** - * Defines values for DiskState. - * Possible values include: 'Unattached', 'Attached', 'Reserved', 'ActiveSAS', 'ReadyToUpload', - * 'ActiveUpload' - * @readonly - * @enum {string} + * @interface + * The List run command operation response + * @extends Array */ -export type DiskState = 'Unattached' | 'Attached' | 'Reserved' | 'ActiveSAS' | 'ReadyToUpload' | 'ActiveUpload'; +export interface VirtualMachineRunCommandsListResult extends Array { + /** + * The uri to fetch the next page of run commands. + */ + nextLink?: string; +} /** - * Defines values for EncryptionType. - * Possible values include: 'EncryptionAtRestWithPlatformKey', 'EncryptionAtRestWithCustomerKey', - * 'EncryptionAtRestWithPlatformAndCustomerKeys' - * @readonly - * @enum {string} + * @interface + * The List Resource Skus operation response. + * @extends Array */ -export type EncryptionType = 'EncryptionAtRestWithPlatformKey' | 'EncryptionAtRestWithCustomerKey' | 'EncryptionAtRestWithPlatformAndCustomerKeys'; +export interface ResourceSkusResult extends Array { + /** + * The URI to fetch the next page of Resource Skus. Call ListNext() with this URI to fetch the + * next page of Resource Skus + */ + nextLink?: string; +} /** - * Defines values for NetworkAccessPolicy. - * Possible values include: 'AllowAll', 'AllowPrivate', 'DenyAll' - * @readonly - * @enum {string} + * @interface + * The List Disks operation response. + * @extends Array */ -export type NetworkAccessPolicy = 'AllowAll' | 'AllowPrivate' | 'DenyAll'; +export interface DiskList extends Array { + /** + * The uri to fetch the next page of disks. Call ListNext() with this to fetch the next page of + * disks. + */ + nextLink?: string; +} /** - * Defines values for SnapshotStorageAccountTypes. - * Possible values include: 'Standard_LRS', 'Premium_LRS', 'Standard_ZRS' - * @readonly - * @enum {string} + * @interface + * The List Snapshots operation response. + * @extends Array */ -export type SnapshotStorageAccountTypes = 'Standard_LRS' | 'Premium_LRS' | 'Standard_ZRS'; +export interface SnapshotList extends Array { + /** + * The uri to fetch the next page of snapshots. Call ListNext() with this to fetch the next page + * of snapshots. + */ + nextLink?: string; +} /** - * Defines values for DiskEncryptionSetType. - * Possible values include: 'EncryptionAtRestWithCustomerKey', - * 'EncryptionAtRestWithPlatformAndCustomerKeys' - * @readonly - * @enum {string} + * @interface + * The List disk encryption set operation response. + * @extends Array */ -export type DiskEncryptionSetType = 'EncryptionAtRestWithCustomerKey' | 'EncryptionAtRestWithPlatformAndCustomerKeys'; +export interface DiskEncryptionSetList extends Array { + /** + * The uri to fetch the next page of disk encryption sets. Call ListNext() with this to fetch the + * next page of disk encryption sets. + */ + nextLink?: string; +} /** - * Defines values for AccessLevel. - * Possible values include: 'None', 'Read', 'Write' - * @readonly - * @enum {string} + * @interface + * The List resources which are encrypted with the disk encryption set. + * @extends Array */ -export type AccessLevel = 'None' | 'Read' | 'Write'; +export interface ResourceUriList extends Array { + /** + * The uri to fetch the next page of encrypted resources. Call ListNext() with this to fetch the + * next page of encrypted resources. + */ + nextLink?: string; +} /** - * Defines values for DiskEncryptionSetIdentityType. - * Possible values include: 'SystemAssigned' - * @readonly - * @enum {string} + * @interface + * The List disk access operation response. + * @extends Array */ -export type DiskEncryptionSetIdentityType = 'SystemAssigned'; +export interface DiskAccessList extends Array { + /** + * The uri to fetch the next page of disk access resources. Call ListNext() with this to fetch + * the next page of disk access resources. + */ + nextLink?: string; +} /** - * Defines values for PrivateEndpointServiceConnectionStatus. - * Possible values include: 'Pending', 'Approved', 'Rejected' - * @readonly - * @enum {string} + * @interface + * A list of private link resources + * @extends Array */ -export type PrivateEndpointServiceConnectionStatus = 'Pending' | 'Approved' | 'Rejected'; +export interface PrivateEndpointConnectionListResult extends Array { + /** + * The uri to fetch the next page of snapshots. Call ListNext() with this to fetch the next page + * of snapshots. + */ + nextLink?: string; +} /** - * Defines values for PrivateEndpointConnectionProvisioningState. - * Possible values include: 'Succeeded', 'Creating', 'Deleting', 'Failed' - * @readonly - * @enum {string} + * @interface + * The List Disk Restore Points operation response. + * @extends Array */ -export type PrivateEndpointConnectionProvisioningState = 'Succeeded' | 'Creating' | 'Deleting' | 'Failed'; +export interface DiskRestorePointList extends Array { + /** + * The uri to fetch the next page of disk restore points. Call ListNext() with this to fetch the + * next page of disk restore points. + */ + nextLink?: string; +} /** - * Defines values for AggregatedReplicationState. - * Possible values include: 'Unknown', 'InProgress', 'Completed', 'Failed' - * @readonly - * @enum {string} + * @interface + * The List Galleries operation response. + * @extends Array */ -export type AggregatedReplicationState = 'Unknown' | 'InProgress' | 'Completed' | 'Failed'; +export interface GalleryList extends Array { + /** + * The uri to fetch the next page of galleries. Call ListNext() with this to fetch the next page + * of galleries. + */ + nextLink?: string; +} /** - * Defines values for ReplicationState. - * Possible values include: 'Unknown', 'Replicating', 'Completed', 'Failed' - * @readonly - * @enum {string} + * @interface + * The List Gallery Images operation response. + * @extends Array */ -export type ReplicationState = 'Unknown' | 'Replicating' | 'Completed' | 'Failed'; +export interface GalleryImageList extends Array { + /** + * The uri to fetch the next page of Image Definitions in the Shared Image Gallery. Call + * ListNext() with this to fetch the next page of gallery Image Definitions. + */ + nextLink?: string; +} /** - * Defines values for StorageAccountType. - * Possible values include: 'Standard_LRS', 'Standard_ZRS', 'Premium_LRS' + * @interface + * The List Gallery Image version operation response. + * @extends Array + */ +export interface GalleryImageVersionList extends Array { + /** + * The uri to fetch the next page of gallery Image Versions. Call ListNext() with this to fetch + * the next page of gallery Image Versions. + */ + nextLink?: string; +} + +/** + * @interface + * The List Gallery Applications operation response. + * @extends Array + */ +export interface GalleryApplicationList extends Array { + /** + * The uri to fetch the next page of Application Definitions in the Application Gallery. Call + * ListNext() with this to fetch the next page of gallery Application Definitions. + */ + nextLink?: string; +} + +/** + * @interface + * The List Gallery Application version operation response. + * @extends Array + */ +export interface GalleryApplicationVersionList extends Array { + /** + * The uri to fetch the next page of gallery Application Versions. Call ListNext() with this to + * fetch the next page of gallery Application Versions. + */ + nextLink?: string; +} + +/** + * @interface + * An interface representing the RoleInstanceListResult. + * @extends Array + */ +export interface RoleInstanceListResult extends Array { + nextLink?: string; +} + +/** + * @interface + * An interface representing the CloudServiceRoleListResult. + * @extends Array + */ +export interface CloudServiceRoleListResult extends Array { + nextLink?: string; +} + +/** + * @interface + * An interface representing the CloudServiceListResult. + * @extends Array + */ +export interface CloudServiceListResult extends Array { + nextLink?: string; +} + +/** + * @interface + * An interface representing the UpdateDomainListResult. + * @extends Array + */ +export interface UpdateDomainListResult extends Array { + nextLink?: string; +} + +/** + * @interface + * An interface representing the OSVersionListResult. + * @extends Array + */ +export interface OSVersionListResult extends Array { + nextLink?: string; +} + +/** + * @interface + * An interface representing the OSFamilyListResult. + * @extends Array + */ +export interface OSFamilyListResult extends Array { + nextLink?: string; +} + +/** + * Defines values for VmDiskTypes. + * Possible values include: 'None', 'Unmanaged' * @readonly * @enum {string} */ -export type StorageAccountType = 'Standard_LRS' | 'Standard_ZRS' | 'Premium_LRS'; +export type VmDiskTypes = 'None' | 'Unmanaged'; /** - * Defines values for HostCaching. + * Defines values for HyperVGenerationTypes. + * Possible values include: 'V1', 'V2' + * @readonly + * @enum {string} + */ +export type HyperVGenerationTypes = 'V1' | 'V2'; + +/** + * Defines values for StatusLevelTypes. + * Possible values include: 'Info', 'Warning', 'Error' + * @readonly + * @enum {string} + */ +export type StatusLevelTypes = 'Info' | 'Warning' | 'Error'; + +/** + * Defines values for AvailabilitySetSkuTypes. + * Possible values include: 'Classic', 'Aligned' + * @readonly + * @enum {string} + */ +export type AvailabilitySetSkuTypes = 'Classic' | 'Aligned'; + +/** + * Defines values for ProximityPlacementGroupType. + * Possible values include: 'Standard', 'Ultra' + * @readonly + * @enum {string} + */ +export type ProximityPlacementGroupType = 'Standard' | 'Ultra'; + +/** + * Defines values for DedicatedHostLicenseTypes. + * Possible values include: 'None', 'Windows_Server_Hybrid', 'Windows_Server_Perpetual' + * @readonly + * @enum {string} + */ +export type DedicatedHostLicenseTypes = 'None' | 'Windows_Server_Hybrid' | 'Windows_Server_Perpetual'; + +/** + * Defines values for ExtendedLocationTypes. + * Possible values include: 'EdgeZone' + * @readonly + * @enum {string} + */ +export type ExtendedLocationTypes = 'EdgeZone'; + +/** + * Defines values for VMGuestPatchRebootBehavior. + * Possible values include: 'Unknown', 'NeverReboots', 'AlwaysRequiresReboot', 'CanRequestReboot' + * @readonly + * @enum {string} + */ +export type VMGuestPatchRebootBehavior = 'Unknown' | 'NeverReboots' | 'AlwaysRequiresReboot' | 'CanRequestReboot'; + +/** + * Defines values for PatchAssessmentState. + * Possible values include: 'Unknown', 'Available' + * @readonly + * @enum {string} + */ +export type PatchAssessmentState = 'Unknown' | 'Available'; + +/** + * Defines values for PatchOperationStatus. + * Possible values include: 'Unknown', 'InProgress', 'Failed', 'Succeeded', 'CompletedWithWarnings' + * @readonly + * @enum {string} + */ +export type PatchOperationStatus = 'Unknown' | 'InProgress' | 'Failed' | 'Succeeded' | 'CompletedWithWarnings'; + +/** + * Defines values for VMGuestPatchRebootSetting. + * Possible values include: 'IfRequired', 'Never', 'Always' + * @readonly + * @enum {string} + */ +export type VMGuestPatchRebootSetting = 'IfRequired' | 'Never' | 'Always'; + +/** + * Defines values for VMGuestPatchClassificationWindows. + * Possible values include: 'Critical', 'Security', 'UpdateRollUp', 'FeaturePack', 'ServicePack', + * 'Definition', 'Tools', 'Updates' + * @readonly + * @enum {string} + */ +export type VMGuestPatchClassificationWindows = 'Critical' | 'Security' | 'UpdateRollUp' | 'FeaturePack' | 'ServicePack' | 'Definition' | 'Tools' | 'Updates'; + +/** + * Defines values for VMGuestPatchClassificationLinux. + * Possible values include: 'Critical', 'Security', 'Other' + * @readonly + * @enum {string} + */ +export type VMGuestPatchClassificationLinux = 'Critical' | 'Security' | 'Other'; + +/** + * Defines values for VMGuestPatchRebootStatus. + * Possible values include: 'Unknown', 'NotNeeded', 'Required', 'Started', 'Failed', 'Completed' + * @readonly + * @enum {string} + */ +export type VMGuestPatchRebootStatus = 'Unknown' | 'NotNeeded' | 'Required' | 'Started' | 'Failed' | 'Completed'; + +/** + * Defines values for PatchInstallationState. + * Possible values include: 'Unknown', 'Installed', 'Failed', 'Excluded', 'NotSelected', 'Pending' + * @readonly + * @enum {string} + */ +export type PatchInstallationState = 'Unknown' | 'Installed' | 'Failed' | 'Excluded' | 'NotSelected' | 'Pending'; + +/** + * Defines values for OperatingSystemTypes. + * Possible values include: 'Windows', 'Linux' + * @readonly + * @enum {string} + */ +export type OperatingSystemTypes = 'Windows' | 'Linux'; + +/** + * Defines values for VirtualMachineSizeTypes. + * Possible values include: 'Basic_A0', 'Basic_A1', 'Basic_A2', 'Basic_A3', 'Basic_A4', + * 'Standard_A0', 'Standard_A1', 'Standard_A2', 'Standard_A3', 'Standard_A4', 'Standard_A5', + * 'Standard_A6', 'Standard_A7', 'Standard_A8', 'Standard_A9', 'Standard_A10', 'Standard_A11', + * 'Standard_A1_v2', 'Standard_A2_v2', 'Standard_A4_v2', 'Standard_A8_v2', 'Standard_A2m_v2', + * 'Standard_A4m_v2', 'Standard_A8m_v2', 'Standard_B1s', 'Standard_B1ms', 'Standard_B2s', + * 'Standard_B2ms', 'Standard_B4ms', 'Standard_B8ms', 'Standard_D1', 'Standard_D2', 'Standard_D3', + * 'Standard_D4', 'Standard_D11', 'Standard_D12', 'Standard_D13', 'Standard_D14', 'Standard_D1_v2', + * 'Standard_D2_v2', 'Standard_D3_v2', 'Standard_D4_v2', 'Standard_D5_v2', 'Standard_D2_v3', + * 'Standard_D4_v3', 'Standard_D8_v3', 'Standard_D16_v3', 'Standard_D32_v3', 'Standard_D64_v3', + * 'Standard_D2s_v3', 'Standard_D4s_v3', 'Standard_D8s_v3', 'Standard_D16s_v3', 'Standard_D32s_v3', + * 'Standard_D64s_v3', 'Standard_D11_v2', 'Standard_D12_v2', 'Standard_D13_v2', 'Standard_D14_v2', + * 'Standard_D15_v2', 'Standard_DS1', 'Standard_DS2', 'Standard_DS3', 'Standard_DS4', + * 'Standard_DS11', 'Standard_DS12', 'Standard_DS13', 'Standard_DS14', 'Standard_DS1_v2', + * 'Standard_DS2_v2', 'Standard_DS3_v2', 'Standard_DS4_v2', 'Standard_DS5_v2', 'Standard_DS11_v2', + * 'Standard_DS12_v2', 'Standard_DS13_v2', 'Standard_DS14_v2', 'Standard_DS15_v2', + * 'Standard_DS13-4_v2', 'Standard_DS13-2_v2', 'Standard_DS14-8_v2', 'Standard_DS14-4_v2', + * 'Standard_E2_v3', 'Standard_E4_v3', 'Standard_E8_v3', 'Standard_E16_v3', 'Standard_E32_v3', + * 'Standard_E64_v3', 'Standard_E2s_v3', 'Standard_E4s_v3', 'Standard_E8s_v3', 'Standard_E16s_v3', + * 'Standard_E32s_v3', 'Standard_E64s_v3', 'Standard_E32-16_v3', 'Standard_E32-8s_v3', + * 'Standard_E64-32s_v3', 'Standard_E64-16s_v3', 'Standard_F1', 'Standard_F2', 'Standard_F4', + * 'Standard_F8', 'Standard_F16', 'Standard_F1s', 'Standard_F2s', 'Standard_F4s', 'Standard_F8s', + * 'Standard_F16s', 'Standard_F2s_v2', 'Standard_F4s_v2', 'Standard_F8s_v2', 'Standard_F16s_v2', + * 'Standard_F32s_v2', 'Standard_F64s_v2', 'Standard_F72s_v2', 'Standard_G1', 'Standard_G2', + * 'Standard_G3', 'Standard_G4', 'Standard_G5', 'Standard_GS1', 'Standard_GS2', 'Standard_GS3', + * 'Standard_GS4', 'Standard_GS5', 'Standard_GS4-8', 'Standard_GS4-4', 'Standard_GS5-16', + * 'Standard_GS5-8', 'Standard_H8', 'Standard_H16', 'Standard_H8m', 'Standard_H16m', + * 'Standard_H16r', 'Standard_H16mr', 'Standard_L4s', 'Standard_L8s', 'Standard_L16s', + * 'Standard_L32s', 'Standard_M64s', 'Standard_M64ms', 'Standard_M128s', 'Standard_M128ms', + * 'Standard_M64-32ms', 'Standard_M64-16ms', 'Standard_M128-64ms', 'Standard_M128-32ms', + * 'Standard_NC6', 'Standard_NC12', 'Standard_NC24', 'Standard_NC24r', 'Standard_NC6s_v2', + * 'Standard_NC12s_v2', 'Standard_NC24s_v2', 'Standard_NC24rs_v2', 'Standard_NC6s_v3', + * 'Standard_NC12s_v3', 'Standard_NC24s_v3', 'Standard_NC24rs_v3', 'Standard_ND6s', + * 'Standard_ND12s', 'Standard_ND24s', 'Standard_ND24rs', 'Standard_NV6', 'Standard_NV12', + * 'Standard_NV24' + * @readonly + * @enum {string} + */ +export type VirtualMachineSizeTypes = 'Basic_A0' | 'Basic_A1' | 'Basic_A2' | 'Basic_A3' | 'Basic_A4' | 'Standard_A0' | 'Standard_A1' | 'Standard_A2' | 'Standard_A3' | 'Standard_A4' | 'Standard_A5' | 'Standard_A6' | 'Standard_A7' | 'Standard_A8' | 'Standard_A9' | 'Standard_A10' | 'Standard_A11' | 'Standard_A1_v2' | 'Standard_A2_v2' | 'Standard_A4_v2' | 'Standard_A8_v2' | 'Standard_A2m_v2' | 'Standard_A4m_v2' | 'Standard_A8m_v2' | 'Standard_B1s' | 'Standard_B1ms' | 'Standard_B2s' | 'Standard_B2ms' | 'Standard_B4ms' | 'Standard_B8ms' | 'Standard_D1' | 'Standard_D2' | 'Standard_D3' | 'Standard_D4' | 'Standard_D11' | 'Standard_D12' | 'Standard_D13' | 'Standard_D14' | 'Standard_D1_v2' | 'Standard_D2_v2' | 'Standard_D3_v2' | 'Standard_D4_v2' | 'Standard_D5_v2' | 'Standard_D2_v3' | 'Standard_D4_v3' | 'Standard_D8_v3' | 'Standard_D16_v3' | 'Standard_D32_v3' | 'Standard_D64_v3' | 'Standard_D2s_v3' | 'Standard_D4s_v3' | 'Standard_D8s_v3' | 'Standard_D16s_v3' | 'Standard_D32s_v3' | 'Standard_D64s_v3' | 'Standard_D11_v2' | 'Standard_D12_v2' | 'Standard_D13_v2' | 'Standard_D14_v2' | 'Standard_D15_v2' | 'Standard_DS1' | 'Standard_DS2' | 'Standard_DS3' | 'Standard_DS4' | 'Standard_DS11' | 'Standard_DS12' | 'Standard_DS13' | 'Standard_DS14' | 'Standard_DS1_v2' | 'Standard_DS2_v2' | 'Standard_DS3_v2' | 'Standard_DS4_v2' | 'Standard_DS5_v2' | 'Standard_DS11_v2' | 'Standard_DS12_v2' | 'Standard_DS13_v2' | 'Standard_DS14_v2' | 'Standard_DS15_v2' | 'Standard_DS13-4_v2' | 'Standard_DS13-2_v2' | 'Standard_DS14-8_v2' | 'Standard_DS14-4_v2' | 'Standard_E2_v3' | 'Standard_E4_v3' | 'Standard_E8_v3' | 'Standard_E16_v3' | 'Standard_E32_v3' | 'Standard_E64_v3' | 'Standard_E2s_v3' | 'Standard_E4s_v3' | 'Standard_E8s_v3' | 'Standard_E16s_v3' | 'Standard_E32s_v3' | 'Standard_E64s_v3' | 'Standard_E32-16_v3' | 'Standard_E32-8s_v3' | 'Standard_E64-32s_v3' | 'Standard_E64-16s_v3' | 'Standard_F1' | 'Standard_F2' | 'Standard_F4' | 'Standard_F8' | 'Standard_F16' | 'Standard_F1s' | 'Standard_F2s' | 'Standard_F4s' | 'Standard_F8s' | 'Standard_F16s' | 'Standard_F2s_v2' | 'Standard_F4s_v2' | 'Standard_F8s_v2' | 'Standard_F16s_v2' | 'Standard_F32s_v2' | 'Standard_F64s_v2' | 'Standard_F72s_v2' | 'Standard_G1' | 'Standard_G2' | 'Standard_G3' | 'Standard_G4' | 'Standard_G5' | 'Standard_GS1' | 'Standard_GS2' | 'Standard_GS3' | 'Standard_GS4' | 'Standard_GS5' | 'Standard_GS4-8' | 'Standard_GS4-4' | 'Standard_GS5-16' | 'Standard_GS5-8' | 'Standard_H8' | 'Standard_H16' | 'Standard_H8m' | 'Standard_H16m' | 'Standard_H16r' | 'Standard_H16mr' | 'Standard_L4s' | 'Standard_L8s' | 'Standard_L16s' | 'Standard_L32s' | 'Standard_M64s' | 'Standard_M64ms' | 'Standard_M128s' | 'Standard_M128ms' | 'Standard_M64-32ms' | 'Standard_M64-16ms' | 'Standard_M128-64ms' | 'Standard_M128-32ms' | 'Standard_NC6' | 'Standard_NC12' | 'Standard_NC24' | 'Standard_NC24r' | 'Standard_NC6s_v2' | 'Standard_NC12s_v2' | 'Standard_NC24s_v2' | 'Standard_NC24rs_v2' | 'Standard_NC6s_v3' | 'Standard_NC12s_v3' | 'Standard_NC24s_v3' | 'Standard_NC24rs_v3' | 'Standard_ND6s' | 'Standard_ND12s' | 'Standard_ND24s' | 'Standard_ND24rs' | 'Standard_NV6' | 'Standard_NV12' | 'Standard_NV24'; + +/** + * Defines values for CachingTypes. * Possible values include: 'None', 'ReadOnly', 'ReadWrite' * @readonly * @enum {string} */ -export type HostCaching = 'None' | 'ReadOnly' | 'ReadWrite'; +export type CachingTypes = 'None' | 'ReadOnly' | 'ReadWrite'; + +/** + * Defines values for DiskCreateOptionTypes. + * Possible values include: 'FromImage', 'Empty', 'Attach' + * @readonly + * @enum {string} + */ +export type DiskCreateOptionTypes = 'FromImage' | 'Empty' | 'Attach'; + +/** + * Defines values for DiskDetachOptionTypes. + * Possible values include: 'ForceDetach' + * @readonly + * @enum {string} + */ +export type DiskDetachOptionTypes = 'ForceDetach'; + +/** + * Defines values for StorageAccountTypes. + * Possible values include: 'Standard_LRS', 'Premium_LRS', 'StandardSSD_LRS', 'UltraSSD_LRS' + * @readonly + * @enum {string} + */ +export type StorageAccountTypes = 'Standard_LRS' | 'Premium_LRS' | 'StandardSSD_LRS' | 'UltraSSD_LRS'; + +/** + * Defines values for DiffDiskOptions. + * Possible values include: 'Local' + * @readonly + * @enum {string} + */ +export type DiffDiskOptions = 'Local'; + +/** + * Defines values for DiffDiskPlacement. + * Possible values include: 'CacheDisk', 'ResourceDisk' + * @readonly + * @enum {string} + */ +export type DiffDiskPlacement = 'CacheDisk' | 'ResourceDisk'; + +/** + * Defines values for SecurityTypes. + * Possible values include: 'TrustedLaunch' + * @readonly + * @enum {string} + */ +export type SecurityTypes = 'TrustedLaunch'; + +/** + * Defines values for PassNames. + * Possible values include: 'OobeSystem' + * @readonly + * @enum {string} + */ +export type PassNames = 'OobeSystem'; + +/** + * Defines values for ComponentNames. + * Possible values include: 'Microsoft-Windows-Shell-Setup' + * @readonly + * @enum {string} + */ +export type ComponentNames = 'Microsoft-Windows-Shell-Setup'; + +/** + * Defines values for SettingNames. + * Possible values include: 'AutoLogon', 'FirstLogonCommands' + * @readonly + * @enum {string} + */ +export type SettingNames = 'AutoLogon' | 'FirstLogonCommands'; + +/** + * Defines values for ProtocolTypes. + * Possible values include: 'Http', 'Https' + * @readonly + * @enum {string} + */ +export type ProtocolTypes = 'Http' | 'Https'; + +/** + * Defines values for WindowsVMGuestPatchMode. + * Possible values include: 'Manual', 'AutomaticByOS', 'AutomaticByPlatform' + * @readonly + * @enum {string} + */ +export type WindowsVMGuestPatchMode = 'Manual' | 'AutomaticByOS' | 'AutomaticByPlatform'; + +/** + * Defines values for LinuxVMGuestPatchMode. + * Possible values include: 'ImageDefault', 'AutomaticByPlatform' + * @readonly + * @enum {string} + */ +export type LinuxVMGuestPatchMode = 'ImageDefault' | 'AutomaticByPlatform'; + +/** + * Defines values for VirtualMachinePriorityTypes. + * Possible values include: 'Regular', 'Low', 'Spot' + * @readonly + * @enum {string} + */ +export type VirtualMachinePriorityTypes = 'Regular' | 'Low' | 'Spot'; + +/** + * Defines values for VirtualMachineEvictionPolicyTypes. + * Possible values include: 'Deallocate', 'Delete' + * @readonly + * @enum {string} + */ +export type VirtualMachineEvictionPolicyTypes = 'Deallocate' | 'Delete'; + +/** + * Defines values for ResourceIdentityType. + * Possible values include: 'SystemAssigned', 'UserAssigned', 'SystemAssigned, UserAssigned', + * 'None' + * @readonly + * @enum {string} + */ +export type ResourceIdentityType = 'SystemAssigned' | 'UserAssigned' | 'SystemAssigned, UserAssigned' | 'None'; + +/** + * Defines values for MaintenanceOperationResultCodeTypes. + * Possible values include: 'None', 'RetryLater', 'MaintenanceAborted', 'MaintenanceCompleted' + * @readonly + * @enum {string} + */ +export type MaintenanceOperationResultCodeTypes = 'None' | 'RetryLater' | 'MaintenanceAborted' | 'MaintenanceCompleted'; + +/** + * Defines values for HyperVGenerationType. + * Possible values include: 'V1', 'V2' + * @readonly + * @enum {string} + */ +export type HyperVGenerationType = 'V1' | 'V2'; + +/** + * Defines values for UpgradeMode. + * Possible values include: 'Automatic', 'Manual', 'Rolling' + * @readonly + * @enum {string} + */ +export type UpgradeMode = 'Automatic' | 'Manual' | 'Rolling'; + +/** + * Defines values for VirtualMachineScaleSetScaleInRules. + * Possible values include: 'Default', 'OldestVM', 'NewestVM' + * @readonly + * @enum {string} + */ +export type VirtualMachineScaleSetScaleInRules = 'Default' | 'OldestVM' | 'NewestVM'; + +/** + * Defines values for OrchestrationMode. + * Possible values include: 'Uniform', 'Flexible' + * @readonly + * @enum {string} + */ +export type OrchestrationMode = 'Uniform' | 'Flexible'; + +/** + * Defines values for OperatingSystemStateTypes. + * Possible values include: 'Generalized', 'Specialized' + * @readonly + * @enum {string} + */ +export type OperatingSystemStateTypes = 'Generalized' | 'Specialized'; + +/** + * Defines values for IPVersion. + * Possible values include: 'IPv4', 'IPv6' + * @readonly + * @enum {string} + */ +export type IPVersion = 'IPv4' | 'IPv6'; + +/** + * Defines values for OrchestrationServiceNames. + * Possible values include: 'AutomaticRepairs' + * @readonly + * @enum {string} + */ +export type OrchestrationServiceNames = 'AutomaticRepairs' ; + +/** + * Defines values for OrchestrationServiceState. + * Possible values include: 'NotRunning', 'Running', 'Suspended' + * @readonly + * @enum {string} + */ +export type OrchestrationServiceState = 'NotRunning' | 'Running' | 'Suspended'; + +/** + * Defines values for VirtualMachineScaleSetSkuScaleType. + * Possible values include: 'Automatic', 'None' + * @readonly + * @enum {string} + */ +export type VirtualMachineScaleSetSkuScaleType = 'Automatic' | 'None'; + +/** + * Defines values for UpgradeState. + * Possible values include: 'RollingForward', 'Cancelled', 'Completed', 'Faulted' + * @readonly + * @enum {string} + */ +export type UpgradeState = 'RollingForward' | 'Cancelled' | 'Completed' | 'Faulted'; + +/** + * Defines values for UpgradeOperationInvoker. + * Possible values include: 'Unknown', 'User', 'Platform' + * @readonly + * @enum {string} + */ +export type UpgradeOperationInvoker = 'Unknown' | 'User' | 'Platform'; + +/** + * Defines values for RollingUpgradeStatusCode. + * Possible values include: 'RollingForward', 'Cancelled', 'Completed', 'Faulted' + * @readonly + * @enum {string} + */ +export type RollingUpgradeStatusCode = 'RollingForward' | 'Cancelled' | 'Completed' | 'Faulted'; + +/** + * Defines values for RollingUpgradeActionType. + * Possible values include: 'Start', 'Cancel' + * @readonly + * @enum {string} + */ +export type RollingUpgradeActionType = 'Start' | 'Cancel'; + +/** + * Defines values for IntervalInMins. + * Possible values include: 'ThreeMins', 'FiveMins', 'ThirtyMins', 'SixtyMins' + * @readonly + * @enum {string} + */ +export type IntervalInMins = 'ThreeMins' | 'FiveMins' | 'ThirtyMins' | 'SixtyMins'; + +/** + * Defines values for OrchestrationServiceStateAction. + * Possible values include: 'Resume', 'Suspend' + * @readonly + * @enum {string} + */ +export type OrchestrationServiceStateAction = 'Resume' | 'Suspend'; + +/** + * Defines values for ExecutionState. + * Possible values include: 'Unknown', 'Pending', 'Running', 'Failed', 'Succeeded', 'TimedOut', + * 'Canceled' + * @readonly + * @enum {string} + */ +export type ExecutionState = 'Unknown' | 'Pending' | 'Running' | 'Failed' | 'Succeeded' | 'TimedOut' | 'Canceled'; + +/** + * Defines values for ResourceSkuCapacityScaleType. + * Possible values include: 'Automatic', 'Manual', 'None' + * @readonly + * @enum {string} + */ +export type ResourceSkuCapacityScaleType = 'Automatic' | 'Manual' | 'None'; + +/** + * Defines values for ResourceSkuRestrictionsType. + * Possible values include: 'Location', 'Zone' + * @readonly + * @enum {string} + */ +export type ResourceSkuRestrictionsType = 'Location' | 'Zone'; + +/** + * Defines values for ResourceSkuRestrictionsReasonCode. + * Possible values include: 'QuotaId', 'NotAvailableForSubscription' + * @readonly + * @enum {string} + */ +export type ResourceSkuRestrictionsReasonCode = 'QuotaId' | 'NotAvailableForSubscription'; + +/** + * Defines values for DiskStorageAccountTypes. + * Possible values include: 'Standard_LRS', 'Premium_LRS', 'StandardSSD_LRS', 'UltraSSD_LRS' + * @readonly + * @enum {string} + */ +export type DiskStorageAccountTypes = 'Standard_LRS' | 'Premium_LRS' | 'StandardSSD_LRS' | 'UltraSSD_LRS'; + +/** + * Defines values for HyperVGeneration. + * Possible values include: 'V1', 'V2' + * @readonly + * @enum {string} + */ +export type HyperVGeneration = 'V1' | 'V2'; + +/** + * Defines values for DiskCreateOption. + * Possible values include: 'Empty', 'Attach', 'FromImage', 'Import', 'Copy', 'Restore', 'Upload' + * @readonly + * @enum {string} + */ +export type DiskCreateOption = 'Empty' | 'Attach' | 'FromImage' | 'Import' | 'Copy' | 'Restore' | 'Upload'; + +/** + * Defines values for DiskState. + * Possible values include: 'Unattached', 'Attached', 'Reserved', 'ActiveSAS', 'ReadyToUpload', + * 'ActiveUpload' + * @readonly + * @enum {string} + */ +export type DiskState = 'Unattached' | 'Attached' | 'Reserved' | 'ActiveSAS' | 'ReadyToUpload' | 'ActiveUpload'; + +/** + * Defines values for EncryptionType. + * Possible values include: 'EncryptionAtRestWithPlatformKey', 'EncryptionAtRestWithCustomerKey', + * 'EncryptionAtRestWithPlatformAndCustomerKeys' + * @readonly + * @enum {string} + */ +export type EncryptionType = 'EncryptionAtRestWithPlatformKey' | 'EncryptionAtRestWithCustomerKey' | 'EncryptionAtRestWithPlatformAndCustomerKeys'; + +/** + * Defines values for NetworkAccessPolicy. + * Possible values include: 'AllowAll', 'AllowPrivate', 'DenyAll' + * @readonly + * @enum {string} + */ +export type NetworkAccessPolicy = 'AllowAll' | 'AllowPrivate' | 'DenyAll'; + +/** + * Defines values for SnapshotStorageAccountTypes. + * Possible values include: 'Standard_LRS', 'Premium_LRS', 'Standard_ZRS' + * @readonly + * @enum {string} + */ +export type SnapshotStorageAccountTypes = 'Standard_LRS' | 'Premium_LRS' | 'Standard_ZRS'; + +/** + * Defines values for DiskEncryptionSetType. + * Possible values include: 'EncryptionAtRestWithCustomerKey', + * 'EncryptionAtRestWithPlatformAndCustomerKeys' + * @readonly + * @enum {string} + */ +export type DiskEncryptionSetType = 'EncryptionAtRestWithCustomerKey' | 'EncryptionAtRestWithPlatformAndCustomerKeys'; + +/** + * Defines values for AccessLevel. + * Possible values include: 'None', 'Read', 'Write' + * @readonly + * @enum {string} + */ +export type AccessLevel = 'None' | 'Read' | 'Write'; + +/** + * Defines values for DiskEncryptionSetIdentityType. + * Possible values include: 'SystemAssigned', 'None' + * @readonly + * @enum {string} + */ +export type DiskEncryptionSetIdentityType = 'SystemAssigned' | 'None'; + +/** + * Defines values for PrivateEndpointServiceConnectionStatus. + * Possible values include: 'Pending', 'Approved', 'Rejected' + * @readonly + * @enum {string} + */ +export type PrivateEndpointServiceConnectionStatus = 'Pending' | 'Approved' | 'Rejected'; + +/** + * Defines values for PrivateEndpointConnectionProvisioningState. + * Possible values include: 'Succeeded', 'Creating', 'Deleting', 'Failed' + * @readonly + * @enum {string} + */ +export type PrivateEndpointConnectionProvisioningState = 'Succeeded' | 'Creating' | 'Deleting' | 'Failed'; + +/** + * Defines values for AggregatedReplicationState. + * Possible values include: 'Unknown', 'InProgress', 'Completed', 'Failed' + * @readonly + * @enum {string} + */ +export type AggregatedReplicationState = 'Unknown' | 'InProgress' | 'Completed' | 'Failed'; + +/** + * Defines values for ReplicationState. + * Possible values include: 'Unknown', 'Replicating', 'Completed', 'Failed' + * @readonly + * @enum {string} + */ +export type ReplicationState = 'Unknown' | 'Replicating' | 'Completed' | 'Failed'; + +/** + * Defines values for StorageAccountType. + * Possible values include: 'Standard_LRS', 'Standard_ZRS', 'Premium_LRS' + * @readonly + * @enum {string} + */ +export type StorageAccountType = 'Standard_LRS' | 'Standard_ZRS' | 'Premium_LRS'; + +/** + * Defines values for HostCaching. + * Possible values include: 'None', 'ReadOnly', 'ReadWrite' + * @readonly + * @enum {string} + */ +export type HostCaching = 'None' | 'ReadOnly' | 'ReadWrite'; + +/** + * Defines values for CloudServiceUpgradeMode. + * Possible values include: 'Auto', 'Manual', 'Simultaneous' + * @readonly + * @enum {string} + */ +export type CloudServiceUpgradeMode = 'Auto' | 'Manual' | 'Simultaneous'; + +/** + * Defines values for InstanceViewTypes. + * Possible values include: 'instanceView' + * @readonly + * @enum {string} + */ +export type InstanceViewTypes = 'instanceView'; + +/** + * Defines values for ReplicationStatusTypes. + * Possible values include: 'ReplicationStatus' + * @readonly + * @enum {string} + */ +export type ReplicationStatusTypes = 'ReplicationStatus'; + +/** + * Defines values for ProvisioningState. + * Possible values include: 'Creating', 'Updating', 'Failed', 'Succeeded', 'Deleting', 'Migrating' + * @readonly + * @enum {string} + */ +export type ProvisioningState = 'Creating' | 'Updating' | 'Failed' | 'Succeeded' | 'Deleting' | 'Migrating'; + +/** + * Defines values for ProvisioningState1. + * Possible values include: 'Creating', 'Updating', 'Failed', 'Succeeded', 'Deleting', 'Migrating' + * @readonly + * @enum {string} + */ +export type ProvisioningState1 = 'Creating' | 'Updating' | 'Failed' | 'Succeeded' | 'Deleting' | 'Migrating'; + +/** + * Defines values for ProvisioningState2. + * Possible values include: 'Creating', 'Updating', 'Failed', 'Succeeded', 'Deleting', 'Migrating' + * @readonly + * @enum {string} + */ +export type ProvisioningState2 = 'Creating' | 'Updating' | 'Failed' | 'Succeeded' | 'Deleting' | 'Migrating'; + +/** + * Defines values for ProvisioningState3. + * Possible values include: 'Creating', 'Updating', 'Failed', 'Succeeded', 'Deleting', 'Migrating' + * @readonly + * @enum {string} + */ +export type ProvisioningState3 = 'Creating' | 'Updating' | 'Failed' | 'Succeeded' | 'Deleting' | 'Migrating'; + +/** + * Contains response data for the list operation. + */ +export type OperationsListResponse = ComputeOperationListResult & { + /** + * The underlying HTTP response. + */ + _response: msRest.HttpResponse & { + /** + * The response body as text (string format) + */ + bodyAsText: string; + + /** + * The response body as parsed JSON or XML + */ + parsedBody: ComputeOperationListResult; + }; +}; + +/** + * Contains response data for the createOrUpdate operation. + */ +export type AvailabilitySetsCreateOrUpdateResponse = AvailabilitySet & { + /** + * The underlying HTTP response. + */ + _response: msRest.HttpResponse & { + /** + * The response body as text (string format) + */ + bodyAsText: string; + + /** + * The response body as parsed JSON or XML + */ + parsedBody: AvailabilitySet; + }; +}; + +/** + * Contains response data for the update operation. + */ +export type AvailabilitySetsUpdateResponse = AvailabilitySet & { + /** + * The underlying HTTP response. + */ + _response: msRest.HttpResponse & { + /** + * The response body as text (string format) + */ + bodyAsText: string; + + /** + * The response body as parsed JSON or XML + */ + parsedBody: AvailabilitySet; + }; +}; + +/** + * Contains response data for the get operation. + */ +export type AvailabilitySetsGetResponse = AvailabilitySet & { + /** + * The underlying HTTP response. + */ + _response: msRest.HttpResponse & { + /** + * The response body as text (string format) + */ + bodyAsText: string; + + /** + * The response body as parsed JSON or XML + */ + parsedBody: AvailabilitySet; + }; +}; + +/** + * Contains response data for the listBySubscription operation. + */ +export type AvailabilitySetsListBySubscriptionResponse = AvailabilitySetListResult & { + /** + * The underlying HTTP response. + */ + _response: msRest.HttpResponse & { + /** + * The response body as text (string format) + */ + bodyAsText: string; + + /** + * The response body as parsed JSON or XML + */ + parsedBody: AvailabilitySetListResult; + }; +}; + +/** + * Contains response data for the list operation. + */ +export type AvailabilitySetsListResponse = AvailabilitySetListResult & { + /** + * The underlying HTTP response. + */ + _response: msRest.HttpResponse & { + /** + * The response body as text (string format) + */ + bodyAsText: string; + + /** + * The response body as parsed JSON or XML + */ + parsedBody: AvailabilitySetListResult; + }; +}; + +/** + * Contains response data for the listAvailableSizes operation. + */ +export type AvailabilitySetsListAvailableSizesResponse = VirtualMachineSizeListResult & { + /** + * The underlying HTTP response. + */ + _response: msRest.HttpResponse & { + /** + * The response body as text (string format) + */ + bodyAsText: string; + + /** + * The response body as parsed JSON or XML + */ + parsedBody: VirtualMachineSizeListResult; + }; +}; + +/** + * Contains response data for the listBySubscriptionNext operation. + */ +export type AvailabilitySetsListBySubscriptionNextResponse = AvailabilitySetListResult & { + /** + * The underlying HTTP response. + */ + _response: msRest.HttpResponse & { + /** + * The response body as text (string format) + */ + bodyAsText: string; + + /** + * The response body as parsed JSON or XML + */ + parsedBody: AvailabilitySetListResult; + }; +}; + +/** + * Contains response data for the listNext operation. + */ +export type AvailabilitySetsListNextResponse = AvailabilitySetListResult & { + /** + * The underlying HTTP response. + */ + _response: msRest.HttpResponse & { + /** + * The response body as text (string format) + */ + bodyAsText: string; + + /** + * The response body as parsed JSON or XML + */ + parsedBody: AvailabilitySetListResult; + }; +}; + +/** + * Contains response data for the createOrUpdate operation. + */ +export type ProximityPlacementGroupsCreateOrUpdateResponse = ProximityPlacementGroup & { + /** + * The underlying HTTP response. + */ + _response: msRest.HttpResponse & { + /** + * The response body as text (string format) + */ + bodyAsText: string; + + /** + * The response body as parsed JSON or XML + */ + parsedBody: ProximityPlacementGroup; + }; +}; + +/** + * Contains response data for the update operation. + */ +export type ProximityPlacementGroupsUpdateResponse = ProximityPlacementGroup & { + /** + * The underlying HTTP response. + */ + _response: msRest.HttpResponse & { + /** + * The response body as text (string format) + */ + bodyAsText: string; + + /** + * The response body as parsed JSON or XML + */ + parsedBody: ProximityPlacementGroup; + }; +}; + +/** + * Contains response data for the get operation. + */ +export type ProximityPlacementGroupsGetResponse = ProximityPlacementGroup & { + /** + * The underlying HTTP response. + */ + _response: msRest.HttpResponse & { + /** + * The response body as text (string format) + */ + bodyAsText: string; + + /** + * The response body as parsed JSON or XML + */ + parsedBody: ProximityPlacementGroup; + }; +}; + +/** + * Contains response data for the listBySubscription operation. + */ +export type ProximityPlacementGroupsListBySubscriptionResponse = ProximityPlacementGroupListResult & { + /** + * The underlying HTTP response. + */ + _response: msRest.HttpResponse & { + /** + * The response body as text (string format) + */ + bodyAsText: string; + + /** + * The response body as parsed JSON or XML + */ + parsedBody: ProximityPlacementGroupListResult; + }; +}; + +/** + * Contains response data for the listByResourceGroup operation. + */ +export type ProximityPlacementGroupsListByResourceGroupResponse = ProximityPlacementGroupListResult & { + /** + * The underlying HTTP response. + */ + _response: msRest.HttpResponse & { + /** + * The response body as text (string format) + */ + bodyAsText: string; + + /** + * The response body as parsed JSON or XML + */ + parsedBody: ProximityPlacementGroupListResult; + }; +}; + +/** + * Contains response data for the listBySubscriptionNext operation. + */ +export type ProximityPlacementGroupsListBySubscriptionNextResponse = ProximityPlacementGroupListResult & { + /** + * The underlying HTTP response. + */ + _response: msRest.HttpResponse & { + /** + * The response body as text (string format) + */ + bodyAsText: string; + + /** + * The response body as parsed JSON or XML + */ + parsedBody: ProximityPlacementGroupListResult; + }; +}; + +/** + * Contains response data for the listByResourceGroupNext operation. + */ +export type ProximityPlacementGroupsListByResourceGroupNextResponse = ProximityPlacementGroupListResult & { + /** + * The underlying HTTP response. + */ + _response: msRest.HttpResponse & { + /** + * The response body as text (string format) + */ + bodyAsText: string; + + /** + * The response body as parsed JSON or XML + */ + parsedBody: ProximityPlacementGroupListResult; + }; +}; + +/** + * Contains response data for the createOrUpdate operation. + */ +export type DedicatedHostGroupsCreateOrUpdateResponse = DedicatedHostGroup & { + /** + * The underlying HTTP response. + */ + _response: msRest.HttpResponse & { + /** + * The response body as text (string format) + */ + bodyAsText: string; + + /** + * The response body as parsed JSON or XML + */ + parsedBody: DedicatedHostGroup; + }; +}; + +/** + * Contains response data for the update operation. + */ +export type DedicatedHostGroupsUpdateResponse = DedicatedHostGroup & { + /** + * The underlying HTTP response. + */ + _response: msRest.HttpResponse & { + /** + * The response body as text (string format) + */ + bodyAsText: string; + + /** + * The response body as parsed JSON or XML + */ + parsedBody: DedicatedHostGroup; + }; +}; + +/** + * Contains response data for the get operation. + */ +export type DedicatedHostGroupsGetResponse = DedicatedHostGroup & { + /** + * The underlying HTTP response. + */ + _response: msRest.HttpResponse & { + /** + * The response body as text (string format) + */ + bodyAsText: string; + + /** + * The response body as parsed JSON or XML + */ + parsedBody: DedicatedHostGroup; + }; +}; + +/** + * Contains response data for the listByResourceGroup operation. + */ +export type DedicatedHostGroupsListByResourceGroupResponse = DedicatedHostGroupListResult & { + /** + * The underlying HTTP response. + */ + _response: msRest.HttpResponse & { + /** + * The response body as text (string format) + */ + bodyAsText: string; + + /** + * The response body as parsed JSON or XML + */ + parsedBody: DedicatedHostGroupListResult; + }; +}; + +/** + * Contains response data for the listBySubscription operation. + */ +export type DedicatedHostGroupsListBySubscriptionResponse = DedicatedHostGroupListResult & { + /** + * The underlying HTTP response. + */ + _response: msRest.HttpResponse & { + /** + * The response body as text (string format) + */ + bodyAsText: string; + + /** + * The response body as parsed JSON or XML + */ + parsedBody: DedicatedHostGroupListResult; + }; +}; + +/** + * Contains response data for the listByResourceGroupNext operation. + */ +export type DedicatedHostGroupsListByResourceGroupNextResponse = DedicatedHostGroupListResult & { + /** + * The underlying HTTP response. + */ + _response: msRest.HttpResponse & { + /** + * The response body as text (string format) + */ + bodyAsText: string; + + /** + * The response body as parsed JSON or XML + */ + parsedBody: DedicatedHostGroupListResult; + }; +}; + +/** + * Contains response data for the listBySubscriptionNext operation. + */ +export type DedicatedHostGroupsListBySubscriptionNextResponse = DedicatedHostGroupListResult & { + /** + * The underlying HTTP response. + */ + _response: msRest.HttpResponse & { + /** + * The response body as text (string format) + */ + bodyAsText: string; + + /** + * The response body as parsed JSON or XML + */ + parsedBody: DedicatedHostGroupListResult; + }; +}; + +/** + * Contains response data for the createOrUpdate operation. + */ +export type DedicatedHostsCreateOrUpdateResponse = DedicatedHost & { + /** + * The underlying HTTP response. + */ + _response: msRest.HttpResponse & { + /** + * The response body as text (string format) + */ + bodyAsText: string; + + /** + * The response body as parsed JSON or XML + */ + parsedBody: DedicatedHost; + }; +}; + +/** + * Contains response data for the update operation. + */ +export type DedicatedHostsUpdateResponse = DedicatedHost & { + /** + * The underlying HTTP response. + */ + _response: msRest.HttpResponse & { + /** + * The response body as text (string format) + */ + bodyAsText: string; + + /** + * The response body as parsed JSON or XML + */ + parsedBody: DedicatedHost; + }; +}; + +/** + * Contains response data for the get operation. + */ +export type DedicatedHostsGetResponse = DedicatedHost & { + /** + * The underlying HTTP response. + */ + _response: msRest.HttpResponse & { + /** + * The response body as text (string format) + */ + bodyAsText: string; + + /** + * The response body as parsed JSON or XML + */ + parsedBody: DedicatedHost; + }; +}; + +/** + * Contains response data for the listByHostGroup operation. + */ +export type DedicatedHostsListByHostGroupResponse = DedicatedHostListResult & { + /** + * The underlying HTTP response. + */ + _response: msRest.HttpResponse & { + /** + * The response body as text (string format) + */ + bodyAsText: string; + + /** + * The response body as parsed JSON or XML + */ + parsedBody: DedicatedHostListResult; + }; +}; + +/** + * Contains response data for the beginCreateOrUpdate operation. + */ +export type DedicatedHostsBeginCreateOrUpdateResponse = DedicatedHost & { + /** + * The underlying HTTP response. + */ + _response: msRest.HttpResponse & { + /** + * The response body as text (string format) + */ + bodyAsText: string; + + /** + * The response body as parsed JSON or XML + */ + parsedBody: DedicatedHost; + }; +}; + +/** + * Contains response data for the beginUpdate operation. + */ +export type DedicatedHostsBeginUpdateResponse = DedicatedHost & { + /** + * The underlying HTTP response. + */ + _response: msRest.HttpResponse & { + /** + * The response body as text (string format) + */ + bodyAsText: string; + + /** + * The response body as parsed JSON or XML + */ + parsedBody: DedicatedHost; + }; +}; + +/** + * Contains response data for the listByHostGroupNext operation. + */ +export type DedicatedHostsListByHostGroupNextResponse = DedicatedHostListResult & { + /** + * The underlying HTTP response. + */ + _response: msRest.HttpResponse & { + /** + * The response body as text (string format) + */ + bodyAsText: string; + + /** + * The response body as parsed JSON or XML + */ + parsedBody: DedicatedHostListResult; + }; +}; + +/** + * Contains response data for the listBySubscription operation. + */ +export type SshPublicKeysListBySubscriptionResponse = SshPublicKeysGroupListResult & { + /** + * The underlying HTTP response. + */ + _response: msRest.HttpResponse & { + /** + * The response body as text (string format) + */ + bodyAsText: string; + + /** + * The response body as parsed JSON or XML + */ + parsedBody: SshPublicKeysGroupListResult; + }; +}; + +/** + * Contains response data for the listByResourceGroup operation. + */ +export type SshPublicKeysListByResourceGroupResponse = SshPublicKeysGroupListResult & { + /** + * The underlying HTTP response. + */ + _response: msRest.HttpResponse & { + /** + * The response body as text (string format) + */ + bodyAsText: string; + + /** + * The response body as parsed JSON or XML + */ + parsedBody: SshPublicKeysGroupListResult; + }; +}; + +/** + * Contains response data for the create operation. + */ +export type SshPublicKeysCreateResponse = SshPublicKeyResource & { + /** + * The underlying HTTP response. + */ + _response: msRest.HttpResponse & { + /** + * The response body as text (string format) + */ + bodyAsText: string; + + /** + * The response body as parsed JSON or XML + */ + parsedBody: SshPublicKeyResource; + }; +}; + +/** + * Contains response data for the update operation. + */ +export type SshPublicKeysUpdateResponse = SshPublicKeyResource & { + /** + * The underlying HTTP response. + */ + _response: msRest.HttpResponse & { + /** + * The response body as text (string format) + */ + bodyAsText: string; + + /** + * The response body as parsed JSON or XML + */ + parsedBody: SshPublicKeyResource; + }; +}; + +/** + * Contains response data for the get operation. + */ +export type SshPublicKeysGetResponse = SshPublicKeyResource & { + /** + * The underlying HTTP response. + */ + _response: msRest.HttpResponse & { + /** + * The response body as text (string format) + */ + bodyAsText: string; + + /** + * The response body as parsed JSON or XML + */ + parsedBody: SshPublicKeyResource; + }; +}; + +/** + * Contains response data for the generateKeyPair operation. + */ +export type SshPublicKeysGenerateKeyPairResponse = SshPublicKeyGenerateKeyPairResult & { + /** + * The underlying HTTP response. + */ + _response: msRest.HttpResponse & { + /** + * The response body as text (string format) + */ + bodyAsText: string; + + /** + * The response body as parsed JSON or XML + */ + parsedBody: SshPublicKeyGenerateKeyPairResult; + }; +}; + +/** + * Contains response data for the listBySubscriptionNext operation. + */ +export type SshPublicKeysListBySubscriptionNextResponse = SshPublicKeysGroupListResult & { + /** + * The underlying HTTP response. + */ + _response: msRest.HttpResponse & { + /** + * The response body as text (string format) + */ + bodyAsText: string; + + /** + * The response body as parsed JSON or XML + */ + parsedBody: SshPublicKeysGroupListResult; + }; +}; + +/** + * Contains response data for the listByResourceGroupNext operation. + */ +export type SshPublicKeysListByResourceGroupNextResponse = SshPublicKeysGroupListResult & { + /** + * The underlying HTTP response. + */ + _response: msRest.HttpResponse & { + /** + * The response body as text (string format) + */ + bodyAsText: string; + + /** + * The response body as parsed JSON or XML + */ + parsedBody: SshPublicKeysGroupListResult; + }; +}; + +/** + * Contains response data for the get operation. + */ +export type VirtualMachineExtensionImagesGetResponse = VirtualMachineExtensionImage & { + /** + * The underlying HTTP response. + */ + _response: msRest.HttpResponse & { + /** + * The response body as text (string format) + */ + bodyAsText: string; + + /** + * The response body as parsed JSON or XML + */ + parsedBody: VirtualMachineExtensionImage; + }; +}; + +/** + * Contains response data for the listTypes operation. + */ +export type VirtualMachineExtensionImagesListTypesResponse = Array & { + /** + * The underlying HTTP response. + */ + _response: msRest.HttpResponse & { + /** + * The response body as text (string format) + */ + bodyAsText: string; + + /** + * The response body as parsed JSON or XML + */ + parsedBody: VirtualMachineExtensionImage[]; + }; +}; + +/** + * Contains response data for the listVersions operation. + */ +export type VirtualMachineExtensionImagesListVersionsResponse = Array & { + /** + * The underlying HTTP response. + */ + _response: msRest.HttpResponse & { + /** + * The response body as text (string format) + */ + bodyAsText: string; + + /** + * The response body as parsed JSON or XML + */ + parsedBody: VirtualMachineExtensionImage[]; + }; +}; + +/** + * Contains response data for the createOrUpdate operation. + */ +export type VirtualMachineExtensionsCreateOrUpdateResponse = VirtualMachineExtension & { + /** + * The underlying HTTP response. + */ + _response: msRest.HttpResponse & { + /** + * The response body as text (string format) + */ + bodyAsText: string; + + /** + * The response body as parsed JSON or XML + */ + parsedBody: VirtualMachineExtension; + }; +}; + +/** + * Contains response data for the update operation. + */ +export type VirtualMachineExtensionsUpdateResponse = VirtualMachineExtension & { + /** + * The underlying HTTP response. + */ + _response: msRest.HttpResponse & { + /** + * The response body as text (string format) + */ + bodyAsText: string; + + /** + * The response body as parsed JSON or XML + */ + parsedBody: VirtualMachineExtension; + }; +}; + +/** + * Contains response data for the get operation. + */ +export type VirtualMachineExtensionsGetResponse = VirtualMachineExtension & { + /** + * The underlying HTTP response. + */ + _response: msRest.HttpResponse & { + /** + * The response body as text (string format) + */ + bodyAsText: string; + + /** + * The response body as parsed JSON or XML + */ + parsedBody: VirtualMachineExtension; + }; +}; /** - * Defines values for ContainerServiceOrchestratorTypes. - * Possible values include: 'Swarm', 'DCOS', 'Custom', 'Kubernetes' - * @readonly - * @enum {string} + * Contains response data for the list operation. */ -export type ContainerServiceOrchestratorTypes = 'Swarm' | 'DCOS' | 'Custom' | 'Kubernetes'; +export type VirtualMachineExtensionsListResponse = VirtualMachineExtensionsListResult & { + /** + * The underlying HTTP response. + */ + _response: msRest.HttpResponse & { + /** + * The response body as text (string format) + */ + bodyAsText: string; -/** - * Defines values for ContainerServiceVMSizeTypes. - * Possible values include: 'Standard_A0', 'Standard_A1', 'Standard_A2', 'Standard_A3', - * 'Standard_A4', 'Standard_A5', 'Standard_A6', 'Standard_A7', 'Standard_A8', 'Standard_A9', - * 'Standard_A10', 'Standard_A11', 'Standard_D1', 'Standard_D2', 'Standard_D3', 'Standard_D4', - * 'Standard_D11', 'Standard_D12', 'Standard_D13', 'Standard_D14', 'Standard_D1_v2', - * 'Standard_D2_v2', 'Standard_D3_v2', 'Standard_D4_v2', 'Standard_D5_v2', 'Standard_D11_v2', - * 'Standard_D12_v2', 'Standard_D13_v2', 'Standard_D14_v2', 'Standard_G1', 'Standard_G2', - * 'Standard_G3', 'Standard_G4', 'Standard_G5', 'Standard_DS1', 'Standard_DS2', 'Standard_DS3', - * 'Standard_DS4', 'Standard_DS11', 'Standard_DS12', 'Standard_DS13', 'Standard_DS14', - * 'Standard_GS1', 'Standard_GS2', 'Standard_GS3', 'Standard_GS4', 'Standard_GS5' - * @readonly - * @enum {string} - */ -export type ContainerServiceVMSizeTypes = 'Standard_A0' | 'Standard_A1' | 'Standard_A2' | 'Standard_A3' | 'Standard_A4' | 'Standard_A5' | 'Standard_A6' | 'Standard_A7' | 'Standard_A8' | 'Standard_A9' | 'Standard_A10' | 'Standard_A11' | 'Standard_D1' | 'Standard_D2' | 'Standard_D3' | 'Standard_D4' | 'Standard_D11' | 'Standard_D12' | 'Standard_D13' | 'Standard_D14' | 'Standard_D1_v2' | 'Standard_D2_v2' | 'Standard_D3_v2' | 'Standard_D4_v2' | 'Standard_D5_v2' | 'Standard_D11_v2' | 'Standard_D12_v2' | 'Standard_D13_v2' | 'Standard_D14_v2' | 'Standard_G1' | 'Standard_G2' | 'Standard_G3' | 'Standard_G4' | 'Standard_G5' | 'Standard_DS1' | 'Standard_DS2' | 'Standard_DS3' | 'Standard_DS4' | 'Standard_DS11' | 'Standard_DS12' | 'Standard_DS13' | 'Standard_DS14' | 'Standard_GS1' | 'Standard_GS2' | 'Standard_GS3' | 'Standard_GS4' | 'Standard_GS5'; + /** + * The response body as parsed JSON or XML + */ + parsedBody: VirtualMachineExtensionsListResult; + }; +}; /** - * Defines values for InstanceViewTypes. - * Possible values include: 'instanceView' - * @readonly - * @enum {string} + * Contains response data for the beginCreateOrUpdate operation. */ -export type InstanceViewTypes = 'instanceView'; +export type VirtualMachineExtensionsBeginCreateOrUpdateResponse = VirtualMachineExtension & { + /** + * The underlying HTTP response. + */ + _response: msRest.HttpResponse & { + /** + * The response body as text (string format) + */ + bodyAsText: string; -/** - * Defines values for ReplicationStatusTypes. - * Possible values include: 'ReplicationStatus' - * @readonly - * @enum {string} - */ -export type ReplicationStatusTypes = 'ReplicationStatus'; + /** + * The response body as parsed JSON or XML + */ + parsedBody: VirtualMachineExtension; + }; +}; /** - * Defines values for ProvisioningState. - * Possible values include: 'Creating', 'Updating', 'Failed', 'Succeeded', 'Deleting', 'Migrating' - * @readonly - * @enum {string} + * Contains response data for the beginUpdate operation. */ -export type ProvisioningState = 'Creating' | 'Updating' | 'Failed' | 'Succeeded' | 'Deleting' | 'Migrating'; +export type VirtualMachineExtensionsBeginUpdateResponse = VirtualMachineExtension & { + /** + * The underlying HTTP response. + */ + _response: msRest.HttpResponse & { + /** + * The response body as text (string format) + */ + bodyAsText: string; + + /** + * The response body as parsed JSON or XML + */ + parsedBody: VirtualMachineExtension; + }; +}; /** - * Defines values for ProvisioningState1. - * Possible values include: 'Creating', 'Updating', 'Failed', 'Succeeded', 'Deleting', 'Migrating' - * @readonly - * @enum {string} + * Contains response data for the get operation. */ -export type ProvisioningState1 = 'Creating' | 'Updating' | 'Failed' | 'Succeeded' | 'Deleting' | 'Migrating'; +export type VirtualMachineImagesGetResponse = VirtualMachineImage & { + /** + * 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: VirtualMachineImage; + }; +}; /** - * Defines values for ProvisioningState2. - * Possible values include: 'Creating', 'Updating', 'Failed', 'Succeeded', 'Deleting', 'Migrating' - * @readonly - * @enum {string} + * Contains response data for the list operation. */ -export type ProvisioningState2 = 'Creating' | 'Updating' | 'Failed' | 'Succeeded' | 'Deleting' | 'Migrating'; +export type VirtualMachineImagesListResponse = Array & { + /** + * The underlying HTTP response. + */ + _response: msRest.HttpResponse & { + /** + * The response body as text (string format) + */ + bodyAsText: string; + + /** + * The response body as parsed JSON or XML + */ + parsedBody: VirtualMachineImageResource[]; + }; +}; /** - * Defines values for ProvisioningState3. - * Possible values include: 'Creating', 'Updating', 'Failed', 'Succeeded', 'Deleting', 'Migrating' - * @readonly - * @enum {string} + * Contains response data for the listOffers operation. */ -export type ProvisioningState3 = 'Creating' | 'Updating' | 'Failed' | 'Succeeded' | 'Deleting' | 'Migrating'; +export type VirtualMachineImagesListOffersResponse = Array & { + /** + * The underlying HTTP response. + */ + _response: msRest.HttpResponse & { + /** + * The response body as text (string format) + */ + bodyAsText: string; + + /** + * The response body as parsed JSON or XML + */ + parsedBody: VirtualMachineImageResource[]; + }; +}; /** - * Contains response data for the list operation. + * Contains response data for the listPublishers operation. */ -export type OperationsListResponse = ComputeOperationListResult & { +export type VirtualMachineImagesListPublishersResponse = Array & { /** * The underlying HTTP response. */ @@ -7964,14 +10740,14 @@ export type OperationsListResponse = ComputeOperationListResult & { /** * The response body as parsed JSON or XML */ - parsedBody: ComputeOperationListResult; + parsedBody: VirtualMachineImageResource[]; }; }; /** - * Contains response data for the createOrUpdate operation. + * Contains response data for the listSkus operation. */ -export type AvailabilitySetsCreateOrUpdateResponse = AvailabilitySet & { +export type VirtualMachineImagesListSkusResponse = Array & { /** * The underlying HTTP response. */ @@ -7984,14 +10760,14 @@ export type AvailabilitySetsCreateOrUpdateResponse = AvailabilitySet & { /** * The response body as parsed JSON or XML */ - parsedBody: AvailabilitySet; + parsedBody: VirtualMachineImageResource[]; }; }; /** - * Contains response data for the update operation. + * Contains response data for the get operation. */ -export type AvailabilitySetsUpdateResponse = AvailabilitySet & { +export type VirtualMachineImagesEdgeZoneGetResponse = VirtualMachineImage & { /** * The underlying HTTP response. */ @@ -8004,14 +10780,14 @@ export type AvailabilitySetsUpdateResponse = AvailabilitySet & { /** * The response body as parsed JSON or XML */ - parsedBody: AvailabilitySet; + parsedBody: VirtualMachineImage; }; }; /** - * Contains response data for the get operation. + * Contains response data for the list operation. */ -export type AvailabilitySetsGetResponse = AvailabilitySet & { +export type VirtualMachineImagesEdgeZoneListResponse = Array & { /** * The underlying HTTP response. */ @@ -8024,14 +10800,14 @@ export type AvailabilitySetsGetResponse = AvailabilitySet & { /** * The response body as parsed JSON or XML */ - parsedBody: AvailabilitySet; + parsedBody: VirtualMachineImageResource[]; }; }; /** - * Contains response data for the listBySubscription operation. + * Contains response data for the listOffers operation. */ -export type AvailabilitySetsListBySubscriptionResponse = AvailabilitySetListResult & { +export type VirtualMachineImagesEdgeZoneListOffersResponse = Array & { /** * The underlying HTTP response. */ @@ -8044,14 +10820,14 @@ export type AvailabilitySetsListBySubscriptionResponse = AvailabilitySetListResu /** * The response body as parsed JSON or XML */ - parsedBody: AvailabilitySetListResult; + parsedBody: VirtualMachineImageResource[]; }; }; /** - * Contains response data for the list operation. + * Contains response data for the listPublishers operation. */ -export type AvailabilitySetsListResponse = AvailabilitySetListResult & { +export type VirtualMachineImagesEdgeZoneListPublishersResponse = Array & { /** * The underlying HTTP response. */ @@ -8064,14 +10840,14 @@ export type AvailabilitySetsListResponse = AvailabilitySetListResult & { /** * The response body as parsed JSON or XML */ - parsedBody: AvailabilitySetListResult; + parsedBody: VirtualMachineImageResource[]; }; }; /** - * Contains response data for the listAvailableSizes operation. + * Contains response data for the listSkus operation. */ -export type AvailabilitySetsListAvailableSizesResponse = VirtualMachineSizeListResult & { +export type VirtualMachineImagesEdgeZoneListSkusResponse = Array & { /** * The underlying HTTP response. */ @@ -8084,14 +10860,14 @@ export type AvailabilitySetsListAvailableSizesResponse = VirtualMachineSizeListR /** * The response body as parsed JSON or XML */ - parsedBody: VirtualMachineSizeListResult; + parsedBody: VirtualMachineImageResource[]; }; }; /** - * Contains response data for the listBySubscriptionNext operation. + * Contains response data for the list operation. */ -export type AvailabilitySetsListBySubscriptionNextResponse = AvailabilitySetListResult & { +export type UsageListResponse = ListUsagesResult & { /** * The underlying HTTP response. */ @@ -8104,14 +10880,14 @@ export type AvailabilitySetsListBySubscriptionNextResponse = AvailabilitySetList /** * The response body as parsed JSON or XML */ - parsedBody: AvailabilitySetListResult; + parsedBody: ListUsagesResult; }; }; /** * Contains response data for the listNext operation. */ -export type AvailabilitySetsListNextResponse = AvailabilitySetListResult & { +export type UsageListNextResponse = ListUsagesResult & { /** * The underlying HTTP response. */ @@ -8124,14 +10900,14 @@ export type AvailabilitySetsListNextResponse = AvailabilitySetListResult & { /** * The response body as parsed JSON or XML */ - parsedBody: AvailabilitySetListResult; + parsedBody: ListUsagesResult; }; }; /** - * Contains response data for the createOrUpdate operation. + * Contains response data for the listByLocation operation. */ -export type ProximityPlacementGroupsCreateOrUpdateResponse = ProximityPlacementGroup & { +export type VirtualMachinesListByLocationResponse = VirtualMachineListResult & { /** * The underlying HTTP response. */ @@ -8144,14 +10920,14 @@ export type ProximityPlacementGroupsCreateOrUpdateResponse = ProximityPlacementG /** * The response body as parsed JSON or XML */ - parsedBody: ProximityPlacementGroup; + parsedBody: VirtualMachineListResult; }; }; /** - * Contains response data for the update operation. + * Contains response data for the capture operation. */ -export type ProximityPlacementGroupsUpdateResponse = ProximityPlacementGroup & { +export type VirtualMachinesCaptureResponse = VirtualMachineCaptureResult & { /** * The underlying HTTP response. */ @@ -8164,14 +10940,14 @@ export type ProximityPlacementGroupsUpdateResponse = ProximityPlacementGroup & { /** * The response body as parsed JSON or XML */ - parsedBody: ProximityPlacementGroup; + parsedBody: VirtualMachineCaptureResult; }; }; /** - * Contains response data for the get operation. + * Contains response data for the createOrUpdate operation. */ -export type ProximityPlacementGroupsGetResponse = ProximityPlacementGroup & { +export type VirtualMachinesCreateOrUpdateResponse = VirtualMachine & { /** * The underlying HTTP response. */ @@ -8184,14 +10960,14 @@ export type ProximityPlacementGroupsGetResponse = ProximityPlacementGroup & { /** * The response body as parsed JSON or XML */ - parsedBody: ProximityPlacementGroup; + parsedBody: VirtualMachine; }; }; /** - * Contains response data for the listBySubscription operation. + * Contains response data for the update operation. */ -export type ProximityPlacementGroupsListBySubscriptionResponse = ProximityPlacementGroupListResult & { +export type VirtualMachinesUpdateResponse = VirtualMachine & { /** * The underlying HTTP response. */ @@ -8204,14 +10980,14 @@ export type ProximityPlacementGroupsListBySubscriptionResponse = ProximityPlacem /** * The response body as parsed JSON or XML */ - parsedBody: ProximityPlacementGroupListResult; + parsedBody: VirtualMachine; }; }; /** - * Contains response data for the listByResourceGroup operation. + * Contains response data for the get operation. */ -export type ProximityPlacementGroupsListByResourceGroupResponse = ProximityPlacementGroupListResult & { +export type VirtualMachinesGetResponse = VirtualMachine & { /** * The underlying HTTP response. */ @@ -8224,14 +11000,14 @@ export type ProximityPlacementGroupsListByResourceGroupResponse = ProximityPlace /** * The response body as parsed JSON or XML */ - parsedBody: ProximityPlacementGroupListResult; + parsedBody: VirtualMachine; }; }; /** - * Contains response data for the listBySubscriptionNext operation. + * Contains response data for the instanceView operation. */ -export type ProximityPlacementGroupsListBySubscriptionNextResponse = ProximityPlacementGroupListResult & { +export type VirtualMachinesInstanceViewResponse = VirtualMachineInstanceView & { /** * The underlying HTTP response. */ @@ -8244,14 +11020,14 @@ export type ProximityPlacementGroupsListBySubscriptionNextResponse = ProximityPl /** * The response body as parsed JSON or XML */ - parsedBody: ProximityPlacementGroupListResult; + parsedBody: VirtualMachineInstanceView; }; }; /** - * Contains response data for the listByResourceGroupNext operation. + * Contains response data for the list operation. */ -export type ProximityPlacementGroupsListByResourceGroupNextResponse = ProximityPlacementGroupListResult & { +export type VirtualMachinesListResponse = VirtualMachineListResult & { /** * The underlying HTTP response. */ @@ -8264,14 +11040,14 @@ export type ProximityPlacementGroupsListByResourceGroupNextResponse = ProximityP /** * The response body as parsed JSON or XML */ - parsedBody: ProximityPlacementGroupListResult; + parsedBody: VirtualMachineListResult; }; }; /** - * Contains response data for the createOrUpdate operation. + * Contains response data for the listAll operation. */ -export type DedicatedHostGroupsCreateOrUpdateResponse = DedicatedHostGroup & { +export type VirtualMachinesListAllResponse = VirtualMachineListResult & { /** * The underlying HTTP response. */ @@ -8284,14 +11060,14 @@ export type DedicatedHostGroupsCreateOrUpdateResponse = DedicatedHostGroup & { /** * The response body as parsed JSON or XML */ - parsedBody: DedicatedHostGroup; + parsedBody: VirtualMachineListResult; }; }; /** - * Contains response data for the update operation. + * Contains response data for the listAvailableSizes operation. */ -export type DedicatedHostGroupsUpdateResponse = DedicatedHostGroup & { +export type VirtualMachinesListAvailableSizesResponse = VirtualMachineSizeListResult & { /** * The underlying HTTP response. */ @@ -8304,14 +11080,14 @@ export type DedicatedHostGroupsUpdateResponse = DedicatedHostGroup & { /** * The response body as parsed JSON or XML */ - parsedBody: DedicatedHostGroup; + parsedBody: VirtualMachineSizeListResult; }; }; /** - * Contains response data for the get operation. + * Contains response data for the retrieveBootDiagnosticsData operation. */ -export type DedicatedHostGroupsGetResponse = DedicatedHostGroup & { +export type VirtualMachinesRetrieveBootDiagnosticsDataResponse = RetrieveBootDiagnosticsDataResult & { /** * The underlying HTTP response. */ @@ -8324,14 +11100,14 @@ export type DedicatedHostGroupsGetResponse = DedicatedHostGroup & { /** * The response body as parsed JSON or XML */ - parsedBody: DedicatedHostGroup; + parsedBody: RetrieveBootDiagnosticsDataResult; }; }; /** - * Contains response data for the listByResourceGroup operation. + * Contains response data for the assessPatches operation. */ -export type DedicatedHostGroupsListByResourceGroupResponse = DedicatedHostGroupListResult & { +export type VirtualMachinesAssessPatchesResponse = VirtualMachineAssessPatchesResult & { /** * The underlying HTTP response. */ @@ -8344,14 +11120,14 @@ export type DedicatedHostGroupsListByResourceGroupResponse = DedicatedHostGroupL /** * The response body as parsed JSON or XML */ - parsedBody: DedicatedHostGroupListResult; + parsedBody: VirtualMachineAssessPatchesResult; }; }; /** - * Contains response data for the listBySubscription operation. + * Contains response data for the installPatches operation. */ -export type DedicatedHostGroupsListBySubscriptionResponse = DedicatedHostGroupListResult & { +export type VirtualMachinesInstallPatchesResponse = VirtualMachineInstallPatchesResult & { /** * The underlying HTTP response. */ @@ -8364,14 +11140,14 @@ export type DedicatedHostGroupsListBySubscriptionResponse = DedicatedHostGroupLi /** * The response body as parsed JSON or XML */ - parsedBody: DedicatedHostGroupListResult; + parsedBody: VirtualMachineInstallPatchesResult; }; }; /** - * Contains response data for the listByResourceGroupNext operation. + * Contains response data for the runCommand operation. */ -export type DedicatedHostGroupsListByResourceGroupNextResponse = DedicatedHostGroupListResult & { +export type VirtualMachinesRunCommandResponse = RunCommandResult & { /** * The underlying HTTP response. */ @@ -8384,14 +11160,14 @@ export type DedicatedHostGroupsListByResourceGroupNextResponse = DedicatedHostGr /** * The response body as parsed JSON or XML */ - parsedBody: DedicatedHostGroupListResult; + parsedBody: RunCommandResult; }; }; /** - * Contains response data for the listBySubscriptionNext operation. + * Contains response data for the beginCapture operation. */ -export type DedicatedHostGroupsListBySubscriptionNextResponse = DedicatedHostGroupListResult & { +export type VirtualMachinesBeginCaptureResponse = VirtualMachineCaptureResult & { /** * The underlying HTTP response. */ @@ -8404,14 +11180,14 @@ export type DedicatedHostGroupsListBySubscriptionNextResponse = DedicatedHostGro /** * The response body as parsed JSON or XML */ - parsedBody: DedicatedHostGroupListResult; + parsedBody: VirtualMachineCaptureResult; }; }; /** - * Contains response data for the createOrUpdate operation. + * Contains response data for the beginCreateOrUpdate operation. */ -export type DedicatedHostsCreateOrUpdateResponse = DedicatedHost & { +export type VirtualMachinesBeginCreateOrUpdateResponse = VirtualMachine & { /** * The underlying HTTP response. */ @@ -8424,14 +11200,14 @@ export type DedicatedHostsCreateOrUpdateResponse = DedicatedHost & { /** * The response body as parsed JSON or XML */ - parsedBody: DedicatedHost; + parsedBody: VirtualMachine; }; }; /** - * Contains response data for the update operation. + * Contains response data for the beginUpdate operation. */ -export type DedicatedHostsUpdateResponse = DedicatedHost & { +export type VirtualMachinesBeginUpdateResponse = VirtualMachine & { /** * The underlying HTTP response. */ @@ -8444,14 +11220,14 @@ export type DedicatedHostsUpdateResponse = DedicatedHost & { /** * The response body as parsed JSON or XML */ - parsedBody: DedicatedHost; + parsedBody: VirtualMachine; }; }; /** - * Contains response data for the get operation. + * Contains response data for the beginAssessPatches operation. */ -export type DedicatedHostsGetResponse = DedicatedHost & { +export type VirtualMachinesBeginAssessPatchesResponse = VirtualMachineAssessPatchesResult & { /** * The underlying HTTP response. */ @@ -8464,14 +11240,14 @@ export type DedicatedHostsGetResponse = DedicatedHost & { /** * The response body as parsed JSON or XML */ - parsedBody: DedicatedHost; + parsedBody: VirtualMachineAssessPatchesResult; }; }; /** - * Contains response data for the listByHostGroup operation. + * Contains response data for the beginInstallPatches operation. */ -export type DedicatedHostsListByHostGroupResponse = DedicatedHostListResult & { +export type VirtualMachinesBeginInstallPatchesResponse = VirtualMachineInstallPatchesResult & { /** * The underlying HTTP response. */ @@ -8484,14 +11260,14 @@ export type DedicatedHostsListByHostGroupResponse = DedicatedHostListResult & { /** * The response body as parsed JSON or XML */ - parsedBody: DedicatedHostListResult; + parsedBody: VirtualMachineInstallPatchesResult; }; }; /** - * Contains response data for the beginCreateOrUpdate operation. + * Contains response data for the beginRunCommand operation. */ -export type DedicatedHostsBeginCreateOrUpdateResponse = DedicatedHost & { +export type VirtualMachinesBeginRunCommandResponse = RunCommandResult & { /** * The underlying HTTP response. */ @@ -8504,14 +11280,14 @@ export type DedicatedHostsBeginCreateOrUpdateResponse = DedicatedHost & { /** * The response body as parsed JSON or XML */ - parsedBody: DedicatedHost; + parsedBody: RunCommandResult; }; }; /** - * Contains response data for the beginUpdate operation. + * Contains response data for the listByLocationNext operation. */ -export type DedicatedHostsBeginUpdateResponse = DedicatedHost & { +export type VirtualMachinesListByLocationNextResponse = VirtualMachineListResult & { /** * The underlying HTTP response. */ @@ -8524,14 +11300,14 @@ export type DedicatedHostsBeginUpdateResponse = DedicatedHost & { /** * The response body as parsed JSON or XML */ - parsedBody: DedicatedHost; + parsedBody: VirtualMachineListResult; }; }; /** - * Contains response data for the listByHostGroupNext operation. + * Contains response data for the listNext operation. */ -export type DedicatedHostsListByHostGroupNextResponse = DedicatedHostListResult & { +export type VirtualMachinesListNextResponse = VirtualMachineListResult & { /** * The underlying HTTP response. */ @@ -8544,14 +11320,14 @@ export type DedicatedHostsListByHostGroupNextResponse = DedicatedHostListResult /** * The response body as parsed JSON or XML */ - parsedBody: DedicatedHostListResult; + parsedBody: VirtualMachineListResult; }; }; /** - * Contains response data for the listBySubscription operation. + * Contains response data for the listAllNext operation. */ -export type SshPublicKeysListBySubscriptionResponse = SshPublicKeysGroupListResult & { +export type VirtualMachinesListAllNextResponse = VirtualMachineListResult & { /** * The underlying HTTP response. */ @@ -8564,14 +11340,14 @@ export type SshPublicKeysListBySubscriptionResponse = SshPublicKeysGroupListResu /** * The response body as parsed JSON or XML */ - parsedBody: SshPublicKeysGroupListResult; + parsedBody: VirtualMachineListResult; }; }; /** - * Contains response data for the listByResourceGroup operation. + * Contains response data for the listByLocation operation. */ -export type SshPublicKeysListByResourceGroupResponse = SshPublicKeysGroupListResult & { +export type VirtualMachineScaleSetsListByLocationResponse = VirtualMachineScaleSetListResult & { /** * The underlying HTTP response. */ @@ -8584,14 +11360,14 @@ export type SshPublicKeysListByResourceGroupResponse = SshPublicKeysGroupListRes /** * The response body as parsed JSON or XML */ - parsedBody: SshPublicKeysGroupListResult; + parsedBody: VirtualMachineScaleSetListResult; }; }; /** - * Contains response data for the create operation. + * Contains response data for the createOrUpdate operation. */ -export type SshPublicKeysCreateResponse = SshPublicKeyResource & { +export type VirtualMachineScaleSetsCreateOrUpdateResponse = VirtualMachineScaleSet & { /** * The underlying HTTP response. */ @@ -8604,14 +11380,14 @@ export type SshPublicKeysCreateResponse = SshPublicKeyResource & { /** * The response body as parsed JSON or XML */ - parsedBody: SshPublicKeyResource; + parsedBody: VirtualMachineScaleSet; }; }; /** * Contains response data for the update operation. */ -export type SshPublicKeysUpdateResponse = SshPublicKeyResource & { +export type VirtualMachineScaleSetsUpdateResponse = VirtualMachineScaleSet & { /** * The underlying HTTP response. */ @@ -8624,14 +11400,14 @@ export type SshPublicKeysUpdateResponse = SshPublicKeyResource & { /** * The response body as parsed JSON or XML */ - parsedBody: SshPublicKeyResource; + parsedBody: VirtualMachineScaleSet; }; }; /** * Contains response data for the get operation. */ -export type SshPublicKeysGetResponse = SshPublicKeyResource & { +export type VirtualMachineScaleSetsGetResponse = VirtualMachineScaleSet & { /** * The underlying HTTP response. */ @@ -8644,14 +11420,14 @@ export type SshPublicKeysGetResponse = SshPublicKeyResource & { /** * The response body as parsed JSON or XML */ - parsedBody: SshPublicKeyResource; + parsedBody: VirtualMachineScaleSet; }; }; /** - * Contains response data for the generateKeyPair operation. + * Contains response data for the getInstanceView operation. */ -export type SshPublicKeysGenerateKeyPairResponse = SshPublicKeyGenerateKeyPairResult & { +export type VirtualMachineScaleSetsGetInstanceViewResponse = VirtualMachineScaleSetInstanceView & { /** * The underlying HTTP response. */ @@ -8664,14 +11440,14 @@ export type SshPublicKeysGenerateKeyPairResponse = SshPublicKeyGenerateKeyPairRe /** * The response body as parsed JSON or XML */ - parsedBody: SshPublicKeyGenerateKeyPairResult; + parsedBody: VirtualMachineScaleSetInstanceView; }; }; /** - * Contains response data for the listBySubscriptionNext operation. + * Contains response data for the list operation. */ -export type SshPublicKeysListBySubscriptionNextResponse = SshPublicKeysGroupListResult & { +export type VirtualMachineScaleSetsListResponse = VirtualMachineScaleSetListResult & { /** * The underlying HTTP response. */ @@ -8684,14 +11460,14 @@ export type SshPublicKeysListBySubscriptionNextResponse = SshPublicKeysGroupList /** * The response body as parsed JSON or XML */ - parsedBody: SshPublicKeysGroupListResult; + parsedBody: VirtualMachineScaleSetListResult; }; }; /** - * Contains response data for the listByResourceGroupNext operation. + * Contains response data for the listAll operation. */ -export type SshPublicKeysListByResourceGroupNextResponse = SshPublicKeysGroupListResult & { +export type VirtualMachineScaleSetsListAllResponse = VirtualMachineScaleSetListWithLinkResult & { /** * The underlying HTTP response. */ @@ -8704,14 +11480,14 @@ export type SshPublicKeysListByResourceGroupNextResponse = SshPublicKeysGroupLis /** * The response body as parsed JSON or XML */ - parsedBody: SshPublicKeysGroupListResult; + parsedBody: VirtualMachineScaleSetListWithLinkResult; }; }; /** - * Contains response data for the get operation. + * Contains response data for the listSkus operation. */ -export type VirtualMachineExtensionImagesGetResponse = VirtualMachineExtensionImage & { +export type VirtualMachineScaleSetsListSkusResponse = VirtualMachineScaleSetListSkusResult & { /** * The underlying HTTP response. */ @@ -8724,14 +11500,14 @@ export type VirtualMachineExtensionImagesGetResponse = VirtualMachineExtensionIm /** * The response body as parsed JSON or XML */ - parsedBody: VirtualMachineExtensionImage; + parsedBody: VirtualMachineScaleSetListSkusResult; }; }; /** - * Contains response data for the listTypes operation. + * Contains response data for the getOSUpgradeHistory operation. */ -export type VirtualMachineExtensionImagesListTypesResponse = Array & { +export type VirtualMachineScaleSetsGetOSUpgradeHistoryResponse = VirtualMachineScaleSetListOSUpgradeHistory & { /** * The underlying HTTP response. */ @@ -8744,14 +11520,14 @@ export type VirtualMachineExtensionImagesListTypesResponse = Array & { +export type VirtualMachineScaleSetsForceRecoveryServiceFabricPlatformUpdateDomainWalkResponse = RecoveryWalkResponse & { /** * The underlying HTTP response. */ @@ -8764,14 +11540,14 @@ export type VirtualMachineExtensionImagesListVersionsResponse = Array & { +export type VirtualMachineSizesListResponse = VirtualMachineSizeListResult & { /** * The underlying HTTP response. */ @@ -8924,14 +11700,14 @@ export type VirtualMachineImagesListResponse = Array & { +export type ImagesCreateOrUpdateResponse = Image & { /** * The underlying HTTP response. */ @@ -8944,14 +11720,14 @@ export type VirtualMachineImagesListOffersResponse = Array & { +export type ImagesUpdateResponse = Image & { /** * The underlying HTTP response. */ @@ -8964,14 +11740,14 @@ export type VirtualMachineImagesListPublishersResponse = Array & { +export type ImagesGetResponse = Image & { /** * The underlying HTTP response. */ @@ -8984,14 +11760,14 @@ export type VirtualMachineImagesListSkusResponse = Array; + + /** + * NODEJS ONLY + * + * The response body as a node.js Readable stream. + * Always undefined in the browser. + */ + readableStreamBody?: NodeJS.ReadableStream; + + /** + * The underlying HTTP response. + */ + _response: msRest.HttpResponse; +}; + +/** + * Contains response data for the listNext operation. + */ +export type CloudServiceRoleInstancesListNextResponse = RoleInstanceListResult & { /** * The underlying HTTP response. */ @@ -11864,14 +14666,14 @@ export type GalleryImageVersionsBeginUpdateResponse = GalleryImageVersion & { /** * The response body as parsed JSON or XML */ - parsedBody: GalleryImageVersion; + parsedBody: RoleInstanceListResult; }; }; /** - * Contains response data for the listByGalleryImageNext operation. + * Contains response data for the get operation. */ -export type GalleryImageVersionsListByGalleryImageNextResponse = GalleryImageVersionList & { +export type CloudServiceRolesGetResponse = CloudServiceRole & { /** * The underlying HTTP response. */ @@ -11884,14 +14686,14 @@ export type GalleryImageVersionsListByGalleryImageNextResponse = GalleryImageVer /** * The response body as parsed JSON or XML */ - parsedBody: GalleryImageVersionList; + parsedBody: CloudServiceRole; }; }; /** - * Contains response data for the createOrUpdate operation. + * Contains response data for the list operation. */ -export type GalleryApplicationsCreateOrUpdateResponse = GalleryApplication & { +export type CloudServiceRolesListResponse = CloudServiceRoleListResult & { /** * The underlying HTTP response. */ @@ -11904,14 +14706,14 @@ export type GalleryApplicationsCreateOrUpdateResponse = GalleryApplication & { /** * The response body as parsed JSON or XML */ - parsedBody: GalleryApplication; + parsedBody: CloudServiceRoleListResult; }; }; /** - * Contains response data for the update operation. + * Contains response data for the listNext operation. */ -export type GalleryApplicationsUpdateResponse = GalleryApplication & { +export type CloudServiceRolesListNextResponse = CloudServiceRoleListResult & { /** * The underlying HTTP response. */ @@ -11924,14 +14726,14 @@ export type GalleryApplicationsUpdateResponse = GalleryApplication & { /** * The response body as parsed JSON or XML */ - parsedBody: GalleryApplication; + parsedBody: CloudServiceRoleListResult; }; }; /** - * Contains response data for the get operation. + * Contains response data for the createOrUpdate operation. */ -export type GalleryApplicationsGetResponse = GalleryApplication & { +export type CloudServicesCreateOrUpdateResponse = CloudService & { /** * The underlying HTTP response. */ @@ -11944,14 +14746,14 @@ export type GalleryApplicationsGetResponse = GalleryApplication & { /** * The response body as parsed JSON or XML */ - parsedBody: GalleryApplication; + parsedBody: CloudService; }; }; /** - * Contains response data for the listByGallery operation. + * Contains response data for the update operation. */ -export type GalleryApplicationsListByGalleryResponse = GalleryApplicationList & { +export type CloudServicesUpdateResponse = CloudService & { /** * The underlying HTTP response. */ @@ -11964,14 +14766,14 @@ export type GalleryApplicationsListByGalleryResponse = GalleryApplicationList & /** * The response body as parsed JSON or XML */ - parsedBody: GalleryApplicationList; + parsedBody: CloudService; }; }; /** - * Contains response data for the beginCreateOrUpdate operation. + * Contains response data for the get operation. */ -export type GalleryApplicationsBeginCreateOrUpdateResponse = GalleryApplication & { +export type CloudServicesGetResponse = CloudService & { /** * The underlying HTTP response. */ @@ -11984,14 +14786,14 @@ export type GalleryApplicationsBeginCreateOrUpdateResponse = GalleryApplication /** * The response body as parsed JSON or XML */ - parsedBody: GalleryApplication; + parsedBody: CloudService; }; }; /** - * Contains response data for the beginUpdate operation. + * Contains response data for the getInstanceView operation. */ -export type GalleryApplicationsBeginUpdateResponse = GalleryApplication & { +export type CloudServicesGetInstanceViewResponse = CloudServiceInstanceView & { /** * The underlying HTTP response. */ @@ -12004,14 +14806,14 @@ export type GalleryApplicationsBeginUpdateResponse = GalleryApplication & { /** * The response body as parsed JSON or XML */ - parsedBody: GalleryApplication; + parsedBody: CloudServiceInstanceView; }; }; /** - * Contains response data for the listByGalleryNext operation. + * Contains response data for the listAll operation. */ -export type GalleryApplicationsListByGalleryNextResponse = GalleryApplicationList & { +export type CloudServicesListAllResponse = CloudServiceListResult & { /** * The underlying HTTP response. */ @@ -12024,14 +14826,14 @@ export type GalleryApplicationsListByGalleryNextResponse = GalleryApplicationLis /** * The response body as parsed JSON or XML */ - parsedBody: GalleryApplicationList; + parsedBody: CloudServiceListResult; }; }; /** - * Contains response data for the createOrUpdate operation. + * Contains response data for the list operation. */ -export type GalleryApplicationVersionsCreateOrUpdateResponse = GalleryApplicationVersion & { +export type CloudServicesListResponse = CloudServiceListResult & { /** * The underlying HTTP response. */ @@ -12044,14 +14846,14 @@ export type GalleryApplicationVersionsCreateOrUpdateResponse = GalleryApplicatio /** * The response body as parsed JSON or XML */ - parsedBody: GalleryApplicationVersion; + parsedBody: CloudServiceListResult; }; }; /** - * Contains response data for the update operation. + * Contains response data for the beginCreateOrUpdate operation. */ -export type GalleryApplicationVersionsUpdateResponse = GalleryApplicationVersion & { +export type CloudServicesBeginCreateOrUpdateResponse = CloudService & { /** * The underlying HTTP response. */ @@ -12064,14 +14866,14 @@ export type GalleryApplicationVersionsUpdateResponse = GalleryApplicationVersion /** * The response body as parsed JSON or XML */ - parsedBody: GalleryApplicationVersion; + parsedBody: CloudService; }; }; /** - * Contains response data for the get operation. + * Contains response data for the beginUpdate operation. */ -export type GalleryApplicationVersionsGetResponse = GalleryApplicationVersion & { +export type CloudServicesBeginUpdateResponse = CloudService & { /** * The underlying HTTP response. */ @@ -12084,14 +14886,14 @@ export type GalleryApplicationVersionsGetResponse = GalleryApplicationVersion & /** * The response body as parsed JSON or XML */ - parsedBody: GalleryApplicationVersion; + parsedBody: CloudService; }; }; /** - * Contains response data for the listByGalleryApplication operation. + * Contains response data for the listAllNext operation. */ -export type GalleryApplicationVersionsListByGalleryApplicationResponse = GalleryApplicationVersionList & { +export type CloudServicesListAllNextResponse = CloudServiceListResult & { /** * The underlying HTTP response. */ @@ -12104,14 +14906,14 @@ export type GalleryApplicationVersionsListByGalleryApplicationResponse = Gallery /** * The response body as parsed JSON or XML */ - parsedBody: GalleryApplicationVersionList; + parsedBody: CloudServiceListResult; }; }; /** - * Contains response data for the beginCreateOrUpdate operation. + * Contains response data for the listNext operation. */ -export type GalleryApplicationVersionsBeginCreateOrUpdateResponse = GalleryApplicationVersion & { +export type CloudServicesListNextResponse = CloudServiceListResult & { /** * The underlying HTTP response. */ @@ -12124,14 +14926,14 @@ export type GalleryApplicationVersionsBeginCreateOrUpdateResponse = GalleryAppli /** * The response body as parsed JSON or XML */ - parsedBody: GalleryApplicationVersion; + parsedBody: CloudServiceListResult; }; }; /** - * Contains response data for the beginUpdate operation. + * Contains response data for the getUpdateDomain operation. */ -export type GalleryApplicationVersionsBeginUpdateResponse = GalleryApplicationVersion & { +export type CloudServicesUpdateDomainGetUpdateDomainResponse = UpdateDomain & { /** * The underlying HTTP response. */ @@ -12144,14 +14946,14 @@ export type GalleryApplicationVersionsBeginUpdateResponse = GalleryApplicationVe /** * The response body as parsed JSON or XML */ - parsedBody: GalleryApplicationVersion; + parsedBody: UpdateDomain; }; }; /** - * Contains response data for the listByGalleryApplicationNext operation. + * Contains response data for the listUpdateDomains operation. */ -export type GalleryApplicationVersionsListByGalleryApplicationNextResponse = GalleryApplicationVersionList & { +export type CloudServicesUpdateDomainListUpdateDomainsResponse = UpdateDomainListResult & { /** * The underlying HTTP response. */ @@ -12164,14 +14966,14 @@ export type GalleryApplicationVersionsListByGalleryApplicationNextResponse = Gal /** * The response body as parsed JSON or XML */ - parsedBody: GalleryApplicationVersionList; + parsedBody: UpdateDomainListResult; }; }; /** - * Contains response data for the list operation. + * Contains response data for the listUpdateDomainsNext operation. */ -export type ContainerServicesListResponse = ContainerServiceListResult & { +export type CloudServicesUpdateDomainListUpdateDomainsNextResponse = UpdateDomainListResult & { /** * The underlying HTTP response. */ @@ -12184,14 +14986,14 @@ export type ContainerServicesListResponse = ContainerServiceListResult & { /** * The response body as parsed JSON or XML */ - parsedBody: ContainerServiceListResult; + parsedBody: UpdateDomainListResult; }; }; /** - * Contains response data for the createOrUpdate operation. + * Contains response data for the getOSVersion operation. */ -export type ContainerServicesCreateOrUpdateResponse = ContainerService & { +export type CloudServiceOperatingSystemsGetOSVersionResponse = OSVersion & { /** * The underlying HTTP response. */ @@ -12204,14 +15006,14 @@ export type ContainerServicesCreateOrUpdateResponse = ContainerService & { /** * The response body as parsed JSON or XML */ - parsedBody: ContainerService; + parsedBody: OSVersion; }; }; /** - * Contains response data for the get operation. + * Contains response data for the listOSVersions operation. */ -export type ContainerServicesGetResponse = ContainerService & { +export type CloudServiceOperatingSystemsListOSVersionsResponse = OSVersionListResult & { /** * The underlying HTTP response. */ @@ -12224,14 +15026,14 @@ export type ContainerServicesGetResponse = ContainerService & { /** * The response body as parsed JSON or XML */ - parsedBody: ContainerService; + parsedBody: OSVersionListResult; }; }; /** - * Contains response data for the listByResourceGroup operation. + * Contains response data for the getOSFamily operation. */ -export type ContainerServicesListByResourceGroupResponse = ContainerServiceListResult & { +export type CloudServiceOperatingSystemsGetOSFamilyResponse = OSFamily & { /** * The underlying HTTP response. */ @@ -12244,14 +15046,14 @@ export type ContainerServicesListByResourceGroupResponse = ContainerServiceListR /** * The response body as parsed JSON or XML */ - parsedBody: ContainerServiceListResult; + parsedBody: OSFamily; }; }; /** - * Contains response data for the beginCreateOrUpdate operation. + * Contains response data for the listOSFamilies operation. */ -export type ContainerServicesBeginCreateOrUpdateResponse = ContainerService & { +export type CloudServiceOperatingSystemsListOSFamiliesResponse = OSFamilyListResult & { /** * The underlying HTTP response. */ @@ -12264,14 +15066,14 @@ export type ContainerServicesBeginCreateOrUpdateResponse = ContainerService & { /** * The response body as parsed JSON or XML */ - parsedBody: ContainerService; + parsedBody: OSFamilyListResult; }; }; /** - * Contains response data for the listNext operation. + * Contains response data for the listOSVersionsNext operation. */ -export type ContainerServicesListNextResponse = ContainerServiceListResult & { +export type CloudServiceOperatingSystemsListOSVersionsNextResponse = OSVersionListResult & { /** * The underlying HTTP response. */ @@ -12284,14 +15086,14 @@ export type ContainerServicesListNextResponse = ContainerServiceListResult & { /** * The response body as parsed JSON or XML */ - parsedBody: ContainerServiceListResult; + parsedBody: OSVersionListResult; }; }; /** - * Contains response data for the listByResourceGroupNext operation. + * Contains response data for the listOSFamiliesNext operation. */ -export type ContainerServicesListByResourceGroupNextResponse = ContainerServiceListResult & { +export type CloudServiceOperatingSystemsListOSFamiliesNextResponse = OSFamilyListResult & { /** * The underlying HTTP response. */ @@ -12304,6 +15106,6 @@ export type ContainerServicesListByResourceGroupNextResponse = ContainerServiceL /** * The response body as parsed JSON or XML */ - parsedBody: ContainerServiceListResult; + parsedBody: OSFamilyListResult; }; }; diff --git a/sdk/compute/arm-compute/src/models/logAnalyticsMappers.ts b/sdk/compute/arm-compute/src/models/logAnalyticsMappers.ts index ae101dcf4cb7..6566a5c184ee 100644 --- a/sdk/compute/arm-compute/src/models/logAnalyticsMappers.ts +++ b/sdk/compute/arm-compute/src/models/logAnalyticsMappers.ts @@ -1,6 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is regenerated. diff --git a/sdk/compute/arm-compute/src/models/mappers.ts b/sdk/compute/arm-compute/src/models/mappers.ts index 0f992c30506b..1afbe66c3371 100644 --- a/sdk/compute/arm-compute/src/models/mappers.ts +++ b/sdk/compute/arm-compute/src/models/mappers.ts @@ -1,6 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is regenerated. @@ -1055,6 +1055,28 @@ export const VirtualMachineExtensionImage: msRest.CompositeMapper = { } }; +export const ExtendedLocation: msRest.CompositeMapper = { + serializedName: "ExtendedLocation", + type: { + name: "Composite", + className: "ExtendedLocation", + modelProperties: { + name: { + serializedName: "name", + type: { + name: "String" + } + }, + type: { + serializedName: "type", + type: { + name: "String" + } + } + } + } +}; + export const VirtualMachineImageResource: msRest.CompositeMapper = { serializedName: "VirtualMachineImageResource", type: { @@ -1086,6 +1108,13 @@ export const VirtualMachineImageResource: msRest.CompositeMapper = { } } } + }, + extendedLocation: { + serializedName: "extendedLocation", + type: { + name: "Composite", + className: "ExtendedLocation" + } } } } @@ -1216,6 +1245,93 @@ export const VirtualMachineExtension: msRest.CompositeMapper = { } }; +export const VirtualMachineScaleSetVMExtension: msRest.CompositeMapper = { + serializedName: "VirtualMachineScaleSetVMExtension", + type: { + name: "Composite", + className: "VirtualMachineScaleSetVMExtension", + modelProperties: { + ...SubResourceReadOnly.type.modelProperties, + name: { + readOnly: true, + serializedName: "name", + type: { + name: "String" + } + }, + type: { + readOnly: true, + serializedName: "type", + type: { + name: "String" + } + }, + forceUpdateTag: { + serializedName: "properties.forceUpdateTag", + type: { + name: "String" + } + }, + publisher: { + serializedName: "properties.publisher", + type: { + name: "String" + } + }, + type1: { + serializedName: "properties.type", + type: { + name: "String" + } + }, + typeHandlerVersion: { + serializedName: "properties.typeHandlerVersion", + type: { + name: "String" + } + }, + autoUpgradeMinorVersion: { + serializedName: "properties.autoUpgradeMinorVersion", + type: { + name: "Boolean" + } + }, + enableAutomaticUpgrade: { + serializedName: "properties.enableAutomaticUpgrade", + type: { + name: "Boolean" + } + }, + settings: { + serializedName: "properties.settings", + type: { + name: "Object" + } + }, + protectedSettings: { + serializedName: "properties.protectedSettings", + type: { + name: "Object" + } + }, + provisioningState: { + readOnly: true, + serializedName: "properties.provisioningState", + type: { + name: "String" + } + }, + instanceView: { + serializedName: "properties.instanceView", + type: { + name: "Composite", + className: "VirtualMachineExtensionInstanceView" + } + } + } + } +}; + export const VirtualMachineExtensionUpdate: msRest.CompositeMapper = { serializedName: "VirtualMachineExtensionUpdate", type: { @@ -1275,6 +1391,79 @@ export const VirtualMachineExtensionUpdate: msRest.CompositeMapper = { } }; +export const VirtualMachineScaleSetVMExtensionUpdate: msRest.CompositeMapper = { + serializedName: "VirtualMachineScaleSetVMExtensionUpdate", + type: { + name: "Composite", + className: "VirtualMachineScaleSetVMExtensionUpdate", + modelProperties: { + ...SubResourceReadOnly.type.modelProperties, + name: { + readOnly: true, + serializedName: "name", + type: { + name: "String" + } + }, + type: { + readOnly: true, + serializedName: "type", + type: { + name: "String" + } + }, + forceUpdateTag: { + serializedName: "properties.forceUpdateTag", + type: { + name: "String" + } + }, + publisher: { + serializedName: "properties.publisher", + type: { + name: "String" + } + }, + type1: { + serializedName: "properties.type", + type: { + name: "String" + } + }, + typeHandlerVersion: { + serializedName: "properties.typeHandlerVersion", + type: { + name: "String" + } + }, + autoUpgradeMinorVersion: { + serializedName: "properties.autoUpgradeMinorVersion", + type: { + name: "Boolean" + } + }, + enableAutomaticUpgrade: { + serializedName: "properties.enableAutomaticUpgrade", + type: { + name: "Boolean" + } + }, + settings: { + serializedName: "properties.settings", + type: { + name: "Object" + } + }, + protectedSettings: { + serializedName: "properties.protectedSettings", + type: { + name: "Object" + } + } + } + } +}; + export const VirtualMachineExtensionsListResult: msRest.CompositeMapper = { serializedName: "VirtualMachineExtensionsListResult", type: { @@ -1297,6 +1486,28 @@ export const VirtualMachineExtensionsListResult: msRest.CompositeMapper = { } }; +export const VirtualMachineScaleSetVMExtensionsListResult: msRest.CompositeMapper = { + serializedName: "VirtualMachineScaleSetVMExtensionsListResult", + type: { + name: "Composite", + className: "VirtualMachineScaleSetVMExtensionsListResult", + modelProperties: { + value: { + serializedName: "value", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "VirtualMachineScaleSetVMExtension" + } + } + } + } + } + } +}; + export const VirtualMachineSoftwarePatchProperties: msRest.CompositeMapper = { serializedName: "VirtualMachineSoftwarePatchProperties", type: { @@ -1324,9 +1535,9 @@ export const VirtualMachineSoftwarePatchProperties: msRest.CompositeMapper = { name: "String" } }, - kbid: { + kbId: { readOnly: true, - serializedName: "kbid", + serializedName: "kbId", type: { name: "String" } @@ -1527,9 +1738,9 @@ export const VirtualMachineAssessPatchesResult: msRest.CompositeMapper = { name: "DateTime" } }, - patches: { + availablePatches: { readOnly: true, - serializedName: "patches", + serializedName: "availablePatches", type: { name: "Sequence", element: { @@ -1552,322 +1763,328 @@ export const VirtualMachineAssessPatchesResult: msRest.CompositeMapper = { } }; -export const PurchasePlan: msRest.CompositeMapper = { - serializedName: "PurchasePlan", +export const WindowsParameters: msRest.CompositeMapper = { + serializedName: "WindowsParameters", type: { name: "Composite", - className: "PurchasePlan", + className: "WindowsParameters", modelProperties: { - publisher: { - required: true, - serializedName: "publisher", + classificationsToInclude: { + serializedName: "classificationsToInclude", type: { - name: "String" + name: "Sequence", + element: { + type: { + name: "String" + } + } } }, - name: { - required: true, - serializedName: "name", + kbNumbersToInclude: { + serializedName: "kbNumbersToInclude", type: { - name: "String" + name: "Sequence", + element: { + type: { + name: "String" + } + } } }, - product: { - required: true, - serializedName: "product", + kbNumbersToExclude: { + serializedName: "kbNumbersToExclude", type: { - name: "String" + name: "Sequence", + element: { + type: { + name: "String" + } + } + } + }, + excludeKbsRequiringReboot: { + serializedName: "excludeKbsRequiringReboot", + type: { + name: "Boolean" + } + }, + maxPatchPublishDate: { + serializedName: "maxPatchPublishDate", + type: { + name: "DateTime" } } } } }; -export const OSDiskImage: msRest.CompositeMapper = { - serializedName: "OSDiskImage", +export const LinuxParameters: msRest.CompositeMapper = { + serializedName: "LinuxParameters", type: { name: "Composite", - className: "OSDiskImage", + className: "LinuxParameters", modelProperties: { - operatingSystem: { - required: true, - serializedName: "operatingSystem", + classificationsToInclude: { + serializedName: "classificationsToInclude", type: { - name: "Enum", - allowedValues: [ - "Windows", - "Linux" - ] + name: "Sequence", + element: { + type: { + name: "String" + } + } } - } - } - } -}; - -export const DataDiskImage: msRest.CompositeMapper = { - serializedName: "DataDiskImage", - type: { - name: "Composite", - className: "DataDiskImage", - modelProperties: { - lun: { - readOnly: true, - serializedName: "lun", + }, + packageNameMasksToInclude: { + serializedName: "packageNameMasksToInclude", type: { - name: "Number" + name: "Sequence", + element: { + type: { + name: "String" + } + } } - } - } - } -}; - -export const AutomaticOSUpgradeProperties: msRest.CompositeMapper = { - serializedName: "AutomaticOSUpgradeProperties", - type: { - name: "Composite", - className: "AutomaticOSUpgradeProperties", - modelProperties: { - automaticOSUpgradeSupported: { - required: true, - serializedName: "automaticOSUpgradeSupported", + }, + packageNameMasksToExclude: { + serializedName: "packageNameMasksToExclude", type: { - name: "Boolean" + name: "Sequence", + element: { + type: { + name: "String" + } + } + } + }, + maintenanceRunId: { + serializedName: "maintenanceRunId", + type: { + name: "String" } } } } }; -export const VirtualMachineImage: msRest.CompositeMapper = { - serializedName: "VirtualMachineImage", +export const VirtualMachineInstallPatchesParameters: msRest.CompositeMapper = { + serializedName: "VirtualMachineInstallPatchesParameters", type: { name: "Composite", - className: "VirtualMachineImage", + className: "VirtualMachineInstallPatchesParameters", modelProperties: { - ...VirtualMachineImageResource.type.modelProperties, - plan: { - serializedName: "properties.plan", - type: { - name: "Composite", - className: "PurchasePlan" - } - }, - osDiskImage: { - serializedName: "properties.osDiskImage", + maximumDuration: { + required: true, + serializedName: "maximumDuration", type: { - name: "Composite", - className: "OSDiskImage" + name: "String" } }, - dataDiskImages: { - serializedName: "properties.dataDiskImages", + rebootSetting: { + required: true, + serializedName: "rebootSetting", type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "DataDiskImage" - } - } + name: "String" } }, - automaticOSUpgradeProperties: { - serializedName: "properties.automaticOSUpgradeProperties", + windowsParameters: { + serializedName: "windowsParameters", type: { name: "Composite", - className: "AutomaticOSUpgradeProperties" - } - }, - hyperVGeneration: { - serializedName: "properties.hyperVGeneration", - type: { - name: "String" + className: "WindowsParameters" } }, - disallowed: { - serializedName: "properties.disallowed", + linuxParameters: { + serializedName: "linuxParameters", type: { name: "Composite", - className: "DisallowedConfiguration" + className: "LinuxParameters" } } } } }; -export const UsageName: msRest.CompositeMapper = { - serializedName: "UsageName", +export const PatchInstallationDetail: msRest.CompositeMapper = { + serializedName: "PatchInstallationDetail", type: { name: "Composite", - className: "UsageName", + className: "PatchInstallationDetail", modelProperties: { - value: { - serializedName: "value", + patchId: { + readOnly: true, + serializedName: "patchId", type: { name: "String" } }, - localizedValue: { - serializedName: "localizedValue", + name: { + readOnly: true, + serializedName: "name", type: { name: "String" } - } - } - } -}; - -export const Usage: msRest.CompositeMapper = { - serializedName: "Usage", - type: { - name: "Composite", - className: "Usage", - modelProperties: { - unit: { - required: true, - isConstant: true, - serializedName: "unit", - defaultValue: 'Count', + }, + version: { + readOnly: true, + serializedName: "version", type: { name: "String" } }, - currentValue: { - required: true, - serializedName: "currentValue", + kbId: { + readOnly: true, + serializedName: "kbId", type: { - name: "Number" + name: "String" } }, - limit: { - required: true, - serializedName: "limit", + classifications: { + readOnly: true, + serializedName: "classifications", type: { - name: "Number" + name: "Sequence", + element: { + type: { + name: "String" + } + } } }, - name: { - required: true, - serializedName: "name", + installationState: { + readOnly: true, + serializedName: "installationState", type: { - name: "Composite", - className: "UsageName" + name: "String" } } } } }; -export const VirtualMachineReimageParameters: msRest.CompositeMapper = { - serializedName: "VirtualMachineReimageParameters", +export const VirtualMachineInstallPatchesResult: msRest.CompositeMapper = { + serializedName: "VirtualMachineInstallPatchesResult", type: { name: "Composite", - className: "VirtualMachineReimageParameters", + className: "VirtualMachineInstallPatchesResult", modelProperties: { - tempDisk: { - serializedName: "tempDisk", + status: { + readOnly: true, + serializedName: "status", type: { - name: "Boolean" + name: "String" } - } - } - } -}; - -export const VirtualMachineCaptureParameters: msRest.CompositeMapper = { - serializedName: "VirtualMachineCaptureParameters", - type: { - name: "Composite", - className: "VirtualMachineCaptureParameters", - modelProperties: { - vhdPrefix: { - required: true, - serializedName: "vhdPrefix", + }, + installationActivityId: { + readOnly: true, + serializedName: "installationActivityId", type: { name: "String" } }, - destinationContainerName: { - required: true, - serializedName: "destinationContainerName", + rebootStatus: { + readOnly: true, + serializedName: "rebootStatus", type: { name: "String" } }, - overwriteVhds: { - required: true, - serializedName: "overwriteVhds", + maintenanceWindowExceeded: { + readOnly: true, + serializedName: "maintenanceWindowExceeded", type: { name: "Boolean" } - } - } - } -}; - -export const VirtualMachineCaptureResult: msRest.CompositeMapper = { - serializedName: "VirtualMachineCaptureResult", - type: { - name: "Composite", - className: "VirtualMachineCaptureResult", - modelProperties: { - ...SubResource.type.modelProperties, - schema: { + }, + excludedPatchCount: { readOnly: true, - serializedName: "$schema", + serializedName: "excludedPatchCount", type: { - name: "String" + name: "Number" } }, - contentVersion: { + notSelectedPatchCount: { readOnly: true, - serializedName: "contentVersion", + serializedName: "notSelectedPatchCount", type: { - name: "String" + name: "Number" } }, - parameters: { + pendingPatchCount: { readOnly: true, - serializedName: "parameters", + serializedName: "pendingPatchCount", type: { - name: "Object" + name: "Number" } }, - resources: { + installedPatchCount: { readOnly: true, - serializedName: "resources", + serializedName: "installedPatchCount", + type: { + name: "Number" + } + }, + failedPatchCount: { + readOnly: true, + serializedName: "failedPatchCount", + type: { + name: "Number" + } + }, + patches: { + readOnly: true, + serializedName: "patches", type: { name: "Sequence", element: { type: { - name: "Object" + name: "Composite", + className: "PatchInstallationDetail" } } } + }, + startDateTime: { + readOnly: true, + serializedName: "startDateTime", + type: { + name: "DateTime" + } + }, + error: { + readOnly: true, + serializedName: "error", + type: { + name: "Composite", + className: "ApiError" + } } } } }; -export const Plan: msRest.CompositeMapper = { - serializedName: "Plan", +export const PurchasePlan: msRest.CompositeMapper = { + serializedName: "PurchasePlan", type: { name: "Composite", - className: "Plan", + className: "PurchasePlan", modelProperties: { - name: { - serializedName: "name", + publisher: { + required: true, + serializedName: "publisher", type: { name: "String" } }, - publisher: { - serializedName: "publisher", + name: { + required: true, + serializedName: "name", type: { name: "String" } }, product: { + required: true, serializedName: "product", type: { name: "String" @@ -1883,163 +2100,166 @@ export const Plan: msRest.CompositeMapper = { } }; -export const HardwareProfile: msRest.CompositeMapper = { - serializedName: "HardwareProfile", +export const OSDiskImage: msRest.CompositeMapper = { + serializedName: "OSDiskImage", type: { name: "Composite", - className: "HardwareProfile", + className: "OSDiskImage", modelProperties: { - vmSize: { - serializedName: "vmSize", + operatingSystem: { + required: true, + serializedName: "operatingSystem", type: { - name: "String" + name: "Enum", + allowedValues: [ + "Windows", + "Linux" + ] } } } } }; -export const ImageReference: msRest.CompositeMapper = { - serializedName: "ImageReference", +export const DataDiskImage: msRest.CompositeMapper = { + serializedName: "DataDiskImage", type: { name: "Composite", - className: "ImageReference", + className: "DataDiskImage", modelProperties: { - ...SubResource.type.modelProperties, - publisher: { - serializedName: "publisher", - type: { - name: "String" - } - }, - offer: { - serializedName: "offer", - type: { - name: "String" - } - }, - sku: { - serializedName: "sku", - type: { - name: "String" - } - }, - version: { - serializedName: "version", - type: { - name: "String" - } - }, - exactVersion: { + lun: { readOnly: true, - serializedName: "exactVersion", + serializedName: "lun", type: { - name: "String" + name: "Number" } } } } }; -export const KeyVaultSecretReference: msRest.CompositeMapper = { - serializedName: "KeyVaultSecretReference", +export const AutomaticOSUpgradeProperties: msRest.CompositeMapper = { + serializedName: "AutomaticOSUpgradeProperties", type: { name: "Composite", - className: "KeyVaultSecretReference", + className: "AutomaticOSUpgradeProperties", modelProperties: { - secretUrl: { - required: true, - serializedName: "secretUrl", - type: { - name: "String" - } - }, - sourceVault: { + automaticOSUpgradeSupported: { required: true, - serializedName: "sourceVault", + serializedName: "automaticOSUpgradeSupported", type: { - name: "Composite", - className: "SubResource" + name: "Boolean" } } } } }; -export const DiskEncryptionSetParameters: msRest.CompositeMapper = { - serializedName: "DiskEncryptionSetParameters", - type: { - name: "Composite", - className: "DiskEncryptionSetParameters", - modelProperties: { - ...SubResource.type.modelProperties - } - } -}; - -export const KeyVaultKeyReference: msRest.CompositeMapper = { - serializedName: "KeyVaultKeyReference", +export const VirtualMachineImageFeature: msRest.CompositeMapper = { + serializedName: "VirtualMachineImageFeature", type: { name: "Composite", - className: "KeyVaultKeyReference", + className: "VirtualMachineImageFeature", modelProperties: { - keyUrl: { - required: true, - serializedName: "keyUrl", + name: { + serializedName: "name", type: { name: "String" } }, - sourceVault: { - required: true, - serializedName: "sourceVault", + value: { + serializedName: "value", type: { - name: "Composite", - className: "SubResource" + name: "String" } } } } }; -export const DiskEncryptionSettings: msRest.CompositeMapper = { - serializedName: "DiskEncryptionSettings", +export const VirtualMachineImage: msRest.CompositeMapper = { + serializedName: "VirtualMachineImage", type: { name: "Composite", - className: "DiskEncryptionSettings", + className: "VirtualMachineImage", modelProperties: { - diskEncryptionKey: { - serializedName: "diskEncryptionKey", + ...VirtualMachineImageResource.type.modelProperties, + plan: { + serializedName: "properties.plan", type: { name: "Composite", - className: "KeyVaultSecretReference" + className: "PurchasePlan" } }, - keyEncryptionKey: { - serializedName: "keyEncryptionKey", + osDiskImage: { + serializedName: "properties.osDiskImage", type: { name: "Composite", - className: "KeyVaultKeyReference" + className: "OSDiskImage" } }, - enabled: { - serializedName: "enabled", + dataDiskImages: { + serializedName: "properties.dataDiskImages", type: { - name: "Boolean" + name: "Sequence", + element: { + type: { + name: "Composite", + className: "DataDiskImage" + } + } + } + }, + automaticOSUpgradeProperties: { + serializedName: "properties.automaticOSUpgradeProperties", + type: { + name: "Composite", + className: "AutomaticOSUpgradeProperties" + } + }, + hyperVGeneration: { + serializedName: "properties.hyperVGeneration", + type: { + name: "String" + } + }, + disallowed: { + serializedName: "properties.disallowed", + type: { + name: "Composite", + className: "DisallowedConfiguration" + } + }, + features: { + serializedName: "properties.features", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "VirtualMachineImageFeature" + } + } } } } } }; -export const VirtualHardDisk: msRest.CompositeMapper = { - serializedName: "VirtualHardDisk", +export const UsageName: msRest.CompositeMapper = { + serializedName: "UsageName", type: { name: "Composite", - className: "VirtualHardDisk", + className: "UsageName", modelProperties: { - uri: { - serializedName: "uri", + value: { + serializedName: "value", + type: { + name: "String" + } + }, + localizedValue: { + serializedName: "localizedValue", type: { name: "String" } @@ -2048,367 +2268,329 @@ export const VirtualHardDisk: msRest.CompositeMapper = { } }; -export const DiffDiskSettings: msRest.CompositeMapper = { - serializedName: "DiffDiskSettings", +export const Usage: msRest.CompositeMapper = { + serializedName: "Usage", type: { name: "Composite", - className: "DiffDiskSettings", + className: "Usage", modelProperties: { - option: { - serializedName: "option", + unit: { + required: true, + isConstant: true, + serializedName: "unit", + defaultValue: 'Count', type: { name: "String" } }, - placement: { - serializedName: "placement", + currentValue: { + required: true, + serializedName: "currentValue", type: { - name: "String" + name: "Number" + } + }, + limit: { + required: true, + serializedName: "limit", + type: { + name: "Number" + } + }, + name: { + required: true, + serializedName: "name", + type: { + name: "Composite", + className: "UsageName" } } } } }; -export const ManagedDiskParameters: msRest.CompositeMapper = { - serializedName: "ManagedDiskParameters", +export const VirtualMachineReimageParameters: msRest.CompositeMapper = { + serializedName: "VirtualMachineReimageParameters", type: { name: "Composite", - className: "ManagedDiskParameters", + className: "VirtualMachineReimageParameters", modelProperties: { - ...SubResource.type.modelProperties, - storageAccountType: { - serializedName: "storageAccountType", - type: { - name: "String" - } - }, - diskEncryptionSet: { - serializedName: "diskEncryptionSet", + tempDisk: { + serializedName: "tempDisk", type: { - name: "Composite", - className: "DiskEncryptionSetParameters" + name: "Boolean" } } } } }; -export const OSDisk: msRest.CompositeMapper = { - serializedName: "OSDisk", +export const VirtualMachineCaptureParameters: msRest.CompositeMapper = { + serializedName: "VirtualMachineCaptureParameters", type: { name: "Composite", - className: "OSDisk", + className: "VirtualMachineCaptureParameters", modelProperties: { - osType: { - serializedName: "osType", - type: { - name: "Enum", - allowedValues: [ - "Windows", - "Linux" - ] - } - }, - encryptionSettings: { - serializedName: "encryptionSettings", - type: { - name: "Composite", - className: "DiskEncryptionSettings" - } - }, - name: { - serializedName: "name", + vhdPrefix: { + required: true, + serializedName: "vhdPrefix", type: { name: "String" } }, - vhd: { - serializedName: "vhd", - type: { - name: "Composite", - className: "VirtualHardDisk" - } - }, - image: { - serializedName: "image", - type: { - name: "Composite", - className: "VirtualHardDisk" - } - }, - caching: { - serializedName: "caching", + destinationContainerName: { + required: true, + serializedName: "destinationContainerName", type: { - name: "Enum", - allowedValues: [ - "None", - "ReadOnly", - "ReadWrite" - ] + name: "String" } }, - writeAcceleratorEnabled: { - serializedName: "writeAcceleratorEnabled", + overwriteVhds: { + required: true, + serializedName: "overwriteVhds", type: { name: "Boolean" } - }, - diffDiskSettings: { - serializedName: "diffDiskSettings", + } + } + } +}; + +export const VirtualMachineCaptureResult: msRest.CompositeMapper = { + serializedName: "VirtualMachineCaptureResult", + type: { + name: "Composite", + className: "VirtualMachineCaptureResult", + modelProperties: { + ...SubResource.type.modelProperties, + schema: { + readOnly: true, + serializedName: "$schema", type: { - name: "Composite", - className: "DiffDiskSettings" + name: "String" } }, - createOption: { - required: true, - serializedName: "createOption", + contentVersion: { + readOnly: true, + serializedName: "contentVersion", type: { name: "String" } }, - diskSizeGB: { - serializedName: "diskSizeGB", + parameters: { + readOnly: true, + serializedName: "parameters", type: { - name: "Number" + name: "Object" } }, - managedDisk: { - serializedName: "managedDisk", + resources: { + readOnly: true, + serializedName: "resources", type: { - name: "Composite", - className: "ManagedDiskParameters" + name: "Sequence", + element: { + type: { + name: "Object" + } + } } } } } }; -export const DataDisk: msRest.CompositeMapper = { - serializedName: "DataDisk", +export const Plan: msRest.CompositeMapper = { + serializedName: "Plan", type: { name: "Composite", - className: "DataDisk", + className: "Plan", modelProperties: { - lun: { - required: true, - serializedName: "lun", - type: { - name: "Number" - } - }, name: { serializedName: "name", type: { name: "String" } }, - vhd: { - serializedName: "vhd", - type: { - name: "Composite", - className: "VirtualHardDisk" - } - }, - image: { - serializedName: "image", + publisher: { + serializedName: "publisher", type: { - name: "Composite", - className: "VirtualHardDisk" + name: "String" } }, - caching: { - serializedName: "caching", + product: { + serializedName: "product", type: { - name: "Enum", - allowedValues: [ - "None", - "ReadOnly", - "ReadWrite" - ] + name: "String" } }, - writeAcceleratorEnabled: { - serializedName: "writeAcceleratorEnabled", + promotionCode: { + serializedName: "promotionCode", type: { - name: "Boolean" + name: "String" } - }, - createOption: { - required: true, - serializedName: "createOption", + } + } + } +}; + +export const HardwareProfile: msRest.CompositeMapper = { + serializedName: "HardwareProfile", + type: { + name: "Composite", + className: "HardwareProfile", + modelProperties: { + vmSize: { + serializedName: "vmSize", type: { name: "String" } - }, - diskSizeGB: { - serializedName: "diskSizeGB", + } + } + } +}; + +export const ImageReference: msRest.CompositeMapper = { + serializedName: "ImageReference", + type: { + name: "Composite", + className: "ImageReference", + modelProperties: { + ...SubResource.type.modelProperties, + publisher: { + serializedName: "publisher", type: { - name: "Number" + name: "String" } }, - managedDisk: { - serializedName: "managedDisk", + offer: { + serializedName: "offer", type: { - name: "Composite", - className: "ManagedDiskParameters" + name: "String" } }, - toBeDetached: { - serializedName: "toBeDetached", + sku: { + serializedName: "sku", type: { - name: "Boolean" + name: "String" } }, - diskIOPSReadWrite: { - readOnly: true, - serializedName: "diskIOPSReadWrite", + version: { + serializedName: "version", type: { - name: "Number" + name: "String" } }, - diskMBpsReadWrite: { + exactVersion: { readOnly: true, - serializedName: "diskMBpsReadWrite", + serializedName: "exactVersion", type: { - name: "Number" + name: "String" } } } } }; -export const StorageProfile: msRest.CompositeMapper = { - serializedName: "StorageProfile", +export const KeyVaultSecretReference: msRest.CompositeMapper = { + serializedName: "KeyVaultSecretReference", type: { name: "Composite", - className: "StorageProfile", + className: "KeyVaultSecretReference", modelProperties: { - imageReference: { - serializedName: "imageReference", + secretUrl: { + required: true, + serializedName: "secretUrl", type: { - name: "Composite", - className: "ImageReference" + name: "String" } }, - osDisk: { - serializedName: "osDisk", + sourceVault: { + required: true, + serializedName: "sourceVault", type: { name: "Composite", - className: "OSDisk" - } - }, - dataDisks: { - serializedName: "dataDisks", - type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "DataDisk" - } - } + className: "SubResource" } } } } }; -export const SecurityProfile: msRest.CompositeMapper = { - serializedName: "SecurityProfile", +export const DiskEncryptionSetParameters: msRest.CompositeMapper = { + serializedName: "DiskEncryptionSetParameters", type: { name: "Composite", - className: "SecurityProfile", + className: "DiskEncryptionSetParameters", modelProperties: { - encryptionAtHost: { - serializedName: "encryptionAtHost", - type: { - name: "Boolean" - } - } + ...SubResource.type.modelProperties } } }; -export const AdditionalCapabilities: msRest.CompositeMapper = { - serializedName: "AdditionalCapabilities", +export const KeyVaultKeyReference: msRest.CompositeMapper = { + serializedName: "KeyVaultKeyReference", type: { name: "Composite", - className: "AdditionalCapabilities", + className: "KeyVaultKeyReference", modelProperties: { - ultraSSDEnabled: { - serializedName: "ultraSSDEnabled", - type: { - name: "Boolean" + keyUrl: { + required: true, + serializedName: "keyUrl", + type: { + name: "String" + } + }, + sourceVault: { + required: true, + serializedName: "sourceVault", + type: { + name: "Composite", + className: "SubResource" } } } } }; -export const AdditionalUnattendContent: msRest.CompositeMapper = { - serializedName: "AdditionalUnattendContent", +export const DiskEncryptionSettings: msRest.CompositeMapper = { + serializedName: "DiskEncryptionSettings", type: { name: "Composite", - className: "AdditionalUnattendContent", + className: "DiskEncryptionSettings", modelProperties: { - passName: { - serializedName: "passName", - type: { - name: "Enum", - allowedValues: [ - "OobeSystem" - ] - } - }, - componentName: { - serializedName: "componentName", + diskEncryptionKey: { + serializedName: "diskEncryptionKey", type: { - name: "Enum", - allowedValues: [ - "Microsoft-Windows-Shell-Setup" - ] + name: "Composite", + className: "KeyVaultSecretReference" } }, - settingName: { - serializedName: "settingName", + keyEncryptionKey: { + serializedName: "keyEncryptionKey", type: { - name: "Enum", - allowedValues: [ - "AutoLogon", - "FirstLogonCommands" - ] + name: "Composite", + className: "KeyVaultKeyReference" } }, - content: { - serializedName: "content", + enabled: { + serializedName: "enabled", type: { - name: "String" + name: "Boolean" } } } } }; -export const WinRMListener: msRest.CompositeMapper = { - serializedName: "WinRMListener", +export const VirtualHardDisk: msRest.CompositeMapper = { + serializedName: "VirtualHardDisk", type: { name: "Composite", - className: "WinRMListener", + className: "VirtualHardDisk", modelProperties: { - protocol: { - serializedName: "protocol", - type: { - name: "Enum", - allowedValues: [ - "Http", - "Https" - ] - } - }, - certificateUrl: { - serializedName: "certificateUrl", + uri: { + serializedName: "uri", type: { name: "String" } @@ -2417,347 +2599,271 @@ export const WinRMListener: msRest.CompositeMapper = { } }; -export const WinRMConfiguration: msRest.CompositeMapper = { - serializedName: "WinRMConfiguration", +export const DiffDiskSettings: msRest.CompositeMapper = { + serializedName: "DiffDiskSettings", type: { name: "Composite", - className: "WinRMConfiguration", + className: "DiffDiskSettings", modelProperties: { - listeners: { - serializedName: "listeners", + option: { + serializedName: "option", type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "WinRMListener" - } - } + name: "String" + } + }, + placement: { + serializedName: "placement", + type: { + name: "String" } } } } }; -export const PatchSettings: msRest.CompositeMapper = { - serializedName: "PatchSettings", +export const ManagedDiskParameters: msRest.CompositeMapper = { + serializedName: "ManagedDiskParameters", type: { name: "Composite", - className: "PatchSettings", + className: "ManagedDiskParameters", modelProperties: { - patchMode: { - serializedName: "patchMode", + ...SubResource.type.modelProperties, + storageAccountType: { + serializedName: "storageAccountType", type: { name: "String" } + }, + diskEncryptionSet: { + serializedName: "diskEncryptionSet", + type: { + name: "Composite", + className: "DiskEncryptionSetParameters" + } } } } }; -export const WindowsConfiguration: msRest.CompositeMapper = { - serializedName: "WindowsConfiguration", +export const OSDisk: msRest.CompositeMapper = { + serializedName: "OSDisk", type: { name: "Composite", - className: "WindowsConfiguration", + className: "OSDisk", modelProperties: { - provisionVMAgent: { - serializedName: "provisionVMAgent", + osType: { + serializedName: "osType", type: { - name: "Boolean" + name: "Enum", + allowedValues: [ + "Windows", + "Linux" + ] } }, - enableAutomaticUpdates: { - serializedName: "enableAutomaticUpdates", + encryptionSettings: { + serializedName: "encryptionSettings", type: { - name: "Boolean" + name: "Composite", + className: "DiskEncryptionSettings" } }, - timeZone: { - serializedName: "timeZone", + name: { + serializedName: "name", type: { name: "String" } }, - additionalUnattendContent: { - serializedName: "additionalUnattendContent", + vhd: { + serializedName: "vhd", type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "AdditionalUnattendContent" - } - } + name: "Composite", + className: "VirtualHardDisk" } }, - patchSettings: { - serializedName: "patchSettings", + image: { + serializedName: "image", type: { name: "Composite", - className: "PatchSettings" + className: "VirtualHardDisk" } }, - winRM: { - serializedName: "winRM", + caching: { + serializedName: "caching", + type: { + name: "Enum", + allowedValues: [ + "None", + "ReadOnly", + "ReadWrite" + ] + } + }, + writeAcceleratorEnabled: { + serializedName: "writeAcceleratorEnabled", + type: { + name: "Boolean" + } + }, + diffDiskSettings: { + serializedName: "diffDiskSettings", type: { name: "Composite", - className: "WinRMConfiguration" + className: "DiffDiskSettings" } - } - } - } -}; - -export const SshPublicKey: msRest.CompositeMapper = { - serializedName: "SshPublicKey", - type: { - name: "Composite", - className: "SshPublicKey", - modelProperties: { - path: { - serializedName: "path", + }, + createOption: { + required: true, + serializedName: "createOption", type: { name: "String" } }, - keyData: { - serializedName: "keyData", + diskSizeGB: { + serializedName: "diskSizeGB", type: { - name: "String" + name: "Number" } - } - } - } -}; - -export const SshConfiguration: msRest.CompositeMapper = { - serializedName: "SshConfiguration", - type: { - name: "Composite", - className: "SshConfiguration", - modelProperties: { - publicKeys: { - serializedName: "publicKeys", + }, + managedDisk: { + serializedName: "managedDisk", type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "SshPublicKey" - } - } + name: "Composite", + className: "ManagedDiskParameters" } } } } }; -export const LinuxConfiguration: msRest.CompositeMapper = { - serializedName: "LinuxConfiguration", +export const DataDisk: msRest.CompositeMapper = { + serializedName: "DataDisk", type: { name: "Composite", - className: "LinuxConfiguration", + className: "DataDisk", modelProperties: { - disablePasswordAuthentication: { - serializedName: "disablePasswordAuthentication", + lun: { + required: true, + serializedName: "lun", type: { - name: "Boolean" + name: "Number" } }, - ssh: { - serializedName: "ssh", + name: { + serializedName: "name", type: { - name: "Composite", - className: "SshConfiguration" + name: "String" } }, - provisionVMAgent: { - serializedName: "provisionVMAgent", - type: { - name: "Boolean" - } - } - } - } -}; - -export const VaultCertificate: msRest.CompositeMapper = { - serializedName: "VaultCertificate", - type: { - name: "Composite", - className: "VaultCertificate", - modelProperties: { - certificateUrl: { - serializedName: "certificateUrl", + vhd: { + serializedName: "vhd", type: { - name: "String" + name: "Composite", + className: "VirtualHardDisk" } }, - certificateStore: { - serializedName: "certificateStore", - type: { - name: "String" - } - } - } - } -}; - -export const VaultSecretGroup: msRest.CompositeMapper = { - serializedName: "VaultSecretGroup", - type: { - name: "Composite", - className: "VaultSecretGroup", - modelProperties: { - sourceVault: { - serializedName: "sourceVault", + image: { + serializedName: "image", type: { name: "Composite", - className: "SubResource" + className: "VirtualHardDisk" } }, - vaultCertificates: { - serializedName: "vaultCertificates", - type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "VaultCertificate" - } - } - } - } - } - } -}; - -export const OSProfile: msRest.CompositeMapper = { - serializedName: "OSProfile", - type: { - name: "Composite", - className: "OSProfile", - modelProperties: { - computerName: { - serializedName: "computerName", + caching: { + serializedName: "caching", type: { - name: "String" + name: "Enum", + allowedValues: [ + "None", + "ReadOnly", + "ReadWrite" + ] } }, - adminUsername: { - serializedName: "adminUsername", + writeAcceleratorEnabled: { + serializedName: "writeAcceleratorEnabled", type: { - name: "String" + name: "Boolean" } }, - adminPassword: { - serializedName: "adminPassword", + createOption: { + required: true, + serializedName: "createOption", type: { name: "String" } }, - customData: { - serializedName: "customData", + diskSizeGB: { + serializedName: "diskSizeGB", type: { - name: "String" + name: "Number" } }, - windowsConfiguration: { - serializedName: "windowsConfiguration", + managedDisk: { + serializedName: "managedDisk", type: { name: "Composite", - className: "WindowsConfiguration" + className: "ManagedDiskParameters" } }, - linuxConfiguration: { - serializedName: "linuxConfiguration", + toBeDetached: { + serializedName: "toBeDetached", type: { - name: "Composite", - className: "LinuxConfiguration" + name: "Boolean" } }, - secrets: { - serializedName: "secrets", + diskIOPSReadWrite: { + readOnly: true, + serializedName: "diskIOPSReadWrite", type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "VaultSecretGroup" - } - } + name: "Number" } }, - allowExtensionOperations: { - serializedName: "allowExtensionOperations", + diskMBpsReadWrite: { + readOnly: true, + serializedName: "diskMBpsReadWrite", type: { - name: "Boolean" + name: "Number" } }, - requireGuestProvisionSignal: { - serializedName: "requireGuestProvisionSignal", + detachOption: { + serializedName: "detachOption", type: { - name: "Boolean" + name: "String" } } } } }; -export const AutomaticRepairsPolicy: msRest.CompositeMapper = { - serializedName: "AutomaticRepairsPolicy", +export const StorageProfile: msRest.CompositeMapper = { + serializedName: "StorageProfile", type: { name: "Composite", - className: "AutomaticRepairsPolicy", + className: "StorageProfile", modelProperties: { - enabled: { - serializedName: "enabled", + imageReference: { + serializedName: "imageReference", type: { - name: "Boolean" + name: "Composite", + className: "ImageReference" } }, - gracePeriod: { - serializedName: "gracePeriod", - type: { - name: "String" - } - } - } - } -}; - -export const NetworkInterfaceReference: msRest.CompositeMapper = { - serializedName: "NetworkInterfaceReference", - type: { - name: "Composite", - className: "NetworkInterfaceReference", - modelProperties: { - ...SubResource.type.modelProperties, - primary: { - serializedName: "properties.primary", + osDisk: { + serializedName: "osDisk", type: { - name: "Boolean" + name: "Composite", + className: "OSDisk" } - } - } - } -}; - -export const NetworkProfile: msRest.CompositeMapper = { - serializedName: "NetworkProfile", - type: { - name: "Composite", - className: "NetworkProfile", - modelProperties: { - networkInterfaces: { - serializedName: "networkInterfaces", + }, + dataDisks: { + serializedName: "dataDisks", type: { name: "Sequence", element: { type: { name: "Composite", - className: "NetworkInterfaceReference" + className: "DataDisk" } } } @@ -2766,218 +2872,296 @@ export const NetworkProfile: msRest.CompositeMapper = { } }; -export const BootDiagnostics: msRest.CompositeMapper = { - serializedName: "BootDiagnostics", +export const UefiSettings: msRest.CompositeMapper = { + serializedName: "UefiSettings", type: { name: "Composite", - className: "BootDiagnostics", + className: "UefiSettings", modelProperties: { - enabled: { - serializedName: "enabled", + secureBootEnabled: { + serializedName: "secureBootEnabled", type: { name: "Boolean" } }, - storageUri: { - serializedName: "storageUri", + vTpmEnabled: { + serializedName: "vTpmEnabled", type: { - name: "String" + name: "Boolean" } } } } }; -export const DiagnosticsProfile: msRest.CompositeMapper = { - serializedName: "DiagnosticsProfile", +export const SecurityProfile: msRest.CompositeMapper = { + serializedName: "SecurityProfile", type: { name: "Composite", - className: "DiagnosticsProfile", + className: "SecurityProfile", modelProperties: { - bootDiagnostics: { - serializedName: "bootDiagnostics", + uefiSettings: { + serializedName: "uefiSettings", type: { name: "Composite", - className: "BootDiagnostics" + className: "UefiSettings" + } + }, + encryptionAtHost: { + serializedName: "encryptionAtHost", + type: { + name: "Boolean" + } + }, + securityType: { + serializedName: "securityType", + type: { + name: "Enum", + allowedValues: [ + "TrustedLaunch" + ] } } } } }; -export const BillingProfile: msRest.CompositeMapper = { - serializedName: "BillingProfile", +export const AdditionalCapabilities: msRest.CompositeMapper = { + serializedName: "AdditionalCapabilities", type: { name: "Composite", - className: "BillingProfile", + className: "AdditionalCapabilities", modelProperties: { - maxPrice: { - serializedName: "maxPrice", + ultraSSDEnabled: { + serializedName: "ultraSSDEnabled", type: { - name: "Number" + name: "Boolean" } } } } }; -export const VirtualMachineExtensionHandlerInstanceView: msRest.CompositeMapper = { - serializedName: "VirtualMachineExtensionHandlerInstanceView", +export const AdditionalUnattendContent: msRest.CompositeMapper = { + serializedName: "AdditionalUnattendContent", type: { name: "Composite", - className: "VirtualMachineExtensionHandlerInstanceView", + className: "AdditionalUnattendContent", modelProperties: { - type: { - serializedName: "type", + passName: { + serializedName: "passName", type: { - name: "String" + name: "Enum", + allowedValues: [ + "OobeSystem" + ] } }, - typeHandlerVersion: { - serializedName: "typeHandlerVersion", + componentName: { + serializedName: "componentName", type: { - name: "String" + name: "Enum", + allowedValues: [ + "Microsoft-Windows-Shell-Setup" + ] } }, - status: { - serializedName: "status", + settingName: { + serializedName: "settingName", type: { - name: "Composite", - className: "InstanceViewStatus" + name: "Enum", + allowedValues: [ + "AutoLogon", + "FirstLogonCommands" + ] + } + }, + content: { + serializedName: "content", + type: { + name: "String" } } } } }; -export const VirtualMachineAgentInstanceView: msRest.CompositeMapper = { - serializedName: "VirtualMachineAgentInstanceView", +export const WinRMListener: msRest.CompositeMapper = { + serializedName: "WinRMListener", type: { name: "Composite", - className: "VirtualMachineAgentInstanceView", + className: "WinRMListener", modelProperties: { - vmAgentVersion: { - serializedName: "vmAgentVersion", + protocol: { + serializedName: "protocol", type: { - name: "String" + name: "Enum", + allowedValues: [ + "Http", + "Https" + ] } }, - extensionHandlers: { - serializedName: "extensionHandlers", + certificateUrl: { + serializedName: "certificateUrl", + type: { + name: "String" + } + } + } + } +}; + +export const WinRMConfiguration: msRest.CompositeMapper = { + serializedName: "WinRMConfiguration", + type: { + name: "Composite", + className: "WinRMConfiguration", + modelProperties: { + listeners: { + serializedName: "listeners", type: { name: "Sequence", element: { type: { name: "Composite", - className: "VirtualMachineExtensionHandlerInstanceView" + className: "WinRMListener" } } } + } + } + } +}; + +export const PatchSettings: msRest.CompositeMapper = { + serializedName: "PatchSettings", + type: { + name: "Composite", + className: "PatchSettings", + modelProperties: { + patchMode: { + serializedName: "patchMode", + type: { + name: "String" + } }, - statuses: { - serializedName: "statuses", + enableHotpatching: { + serializedName: "enableHotpatching", type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "InstanceViewStatus" - } - } + name: "Boolean" } } } } }; -export const DiskInstanceView: msRest.CompositeMapper = { - serializedName: "DiskInstanceView", +export const WindowsConfiguration: msRest.CompositeMapper = { + serializedName: "WindowsConfiguration", type: { name: "Composite", - className: "DiskInstanceView", + className: "WindowsConfiguration", modelProperties: { - name: { - serializedName: "name", + provisionVMAgent: { + serializedName: "provisionVMAgent", + type: { + name: "Boolean" + } + }, + enableAutomaticUpdates: { + serializedName: "enableAutomaticUpdates", + type: { + name: "Boolean" + } + }, + timeZone: { + serializedName: "timeZone", type: { name: "String" } }, - encryptionSettings: { - serializedName: "encryptionSettings", + additionalUnattendContent: { + serializedName: "additionalUnattendContent", type: { name: "Sequence", element: { type: { name: "Composite", - className: "DiskEncryptionSettings" + className: "AdditionalUnattendContent" } } } }, - statuses: { - serializedName: "statuses", + patchSettings: { + serializedName: "patchSettings", type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "InstanceViewStatus" - } - } + name: "Composite", + className: "PatchSettings" + } + }, + winRM: { + serializedName: "winRM", + type: { + name: "Composite", + className: "WinRMConfiguration" } } } } }; -export const BootDiagnosticsInstanceView: msRest.CompositeMapper = { - serializedName: "BootDiagnosticsInstanceView", +export const SshPublicKey: msRest.CompositeMapper = { + serializedName: "SshPublicKey", type: { name: "Composite", - className: "BootDiagnosticsInstanceView", + className: "SshPublicKey", modelProperties: { - consoleScreenshotBlobUri: { - readOnly: true, - serializedName: "consoleScreenshotBlobUri", + path: { + serializedName: "path", type: { name: "String" } }, - serialConsoleLogBlobUri: { - readOnly: true, - serializedName: "serialConsoleLogBlobUri", + keyData: { + serializedName: "keyData", type: { name: "String" } - }, - status: { - readOnly: true, - serializedName: "status", - type: { - name: "Composite", - className: "InstanceViewStatus" - } } } } }; -export const VirtualMachineIdentityUserAssignedIdentitiesValue: msRest.CompositeMapper = { - serializedName: "VirtualMachineIdentity_userAssignedIdentitiesValue", +export const SshConfiguration: msRest.CompositeMapper = { + serializedName: "SshConfiguration", type: { name: "Composite", - className: "VirtualMachineIdentityUserAssignedIdentitiesValue", + className: "SshConfiguration", modelProperties: { - principalId: { - readOnly: true, - serializedName: "principalId", + publicKeys: { + serializedName: "publicKeys", type: { - name: "String" + name: "Sequence", + element: { + type: { + name: "Composite", + className: "SshPublicKey" + } + } } - }, - clientId: { - readOnly: true, - serializedName: "clientId", + } + } + } +}; + +export const LinuxPatchSettings: msRest.CompositeMapper = { + serializedName: "LinuxPatchSettings", + type: { + name: "Composite", + className: "LinuxPatchSettings", + modelProperties: { + patchMode: { + serializedName: "patchMode", type: { name: "String" } @@ -2986,805 +3170,2079 @@ export const VirtualMachineIdentityUserAssignedIdentitiesValue: msRest.Composite } }; -export const VirtualMachineIdentity: msRest.CompositeMapper = { - serializedName: "VirtualMachineIdentity", +export const LinuxConfiguration: msRest.CompositeMapper = { + serializedName: "LinuxConfiguration", type: { name: "Composite", - className: "VirtualMachineIdentity", + className: "LinuxConfiguration", modelProperties: { - principalId: { - readOnly: true, - serializedName: "principalId", + disablePasswordAuthentication: { + serializedName: "disablePasswordAuthentication", type: { - name: "String" + name: "Boolean" } }, - tenantId: { - readOnly: true, - serializedName: "tenantId", + ssh: { + serializedName: "ssh", type: { - name: "String" + name: "Composite", + className: "SshConfiguration" } }, - type: { - serializedName: "type", + provisionVMAgent: { + serializedName: "provisionVMAgent", type: { - name: "Enum", - allowedValues: [ - "SystemAssigned", - "UserAssigned", - "SystemAssigned, UserAssigned", - "None" - ] + name: "Boolean" } }, - userAssignedIdentities: { - serializedName: "userAssignedIdentities", + patchSettings: { + serializedName: "patchSettings", type: { - name: "Dictionary", - value: { - type: { - name: "Composite", - className: "VirtualMachineIdentityUserAssignedIdentitiesValue" - } - } + name: "Composite", + className: "LinuxPatchSettings" } } } } }; -export const MaintenanceRedeployStatus: msRest.CompositeMapper = { - serializedName: "MaintenanceRedeployStatus", +export const VaultCertificate: msRest.CompositeMapper = { + serializedName: "VaultCertificate", type: { name: "Composite", - className: "MaintenanceRedeployStatus", + className: "VaultCertificate", modelProperties: { - isCustomerInitiatedMaintenanceAllowed: { - serializedName: "isCustomerInitiatedMaintenanceAllowed", - type: { - name: "Boolean" - } - }, - preMaintenanceWindowStartTime: { - serializedName: "preMaintenanceWindowStartTime", + certificateUrl: { + serializedName: "certificateUrl", type: { - name: "DateTime" + name: "String" } }, - preMaintenanceWindowEndTime: { - serializedName: "preMaintenanceWindowEndTime", + certificateStore: { + serializedName: "certificateStore", type: { - name: "DateTime" + name: "String" } - }, - maintenanceWindowStartTime: { - serializedName: "maintenanceWindowStartTime", - type: { - name: "DateTime" + } + } + } +}; + +export const VaultSecretGroup: msRest.CompositeMapper = { + serializedName: "VaultSecretGroup", + type: { + name: "Composite", + className: "VaultSecretGroup", + modelProperties: { + sourceVault: { + serializedName: "sourceVault", + type: { + name: "Composite", + className: "SubResource" } }, - maintenanceWindowEndTime: { - serializedName: "maintenanceWindowEndTime", + vaultCertificates: { + serializedName: "vaultCertificates", type: { - name: "DateTime" + name: "Sequence", + element: { + type: { + name: "Composite", + className: "VaultCertificate" + } + } + } + } + } + } +}; + +export const OSProfile: msRest.CompositeMapper = { + serializedName: "OSProfile", + type: { + name: "Composite", + className: "OSProfile", + modelProperties: { + computerName: { + serializedName: "computerName", + type: { + name: "String" } }, - lastOperationResultCode: { - serializedName: "lastOperationResultCode", + adminUsername: { + serializedName: "adminUsername", type: { - name: "Enum", - allowedValues: [ - "None", - "RetryLater", - "MaintenanceAborted", - "MaintenanceCompleted" - ] + name: "String" } }, - lastOperationMessage: { - serializedName: "lastOperationMessage", + adminPassword: { + serializedName: "adminPassword", + type: { + name: "String" + } + }, + customData: { + serializedName: "customData", type: { name: "String" } + }, + windowsConfiguration: { + serializedName: "windowsConfiguration", + type: { + name: "Composite", + className: "WindowsConfiguration" + } + }, + linuxConfiguration: { + serializedName: "linuxConfiguration", + type: { + name: "Composite", + className: "LinuxConfiguration" + } + }, + secrets: { + serializedName: "secrets", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "VaultSecretGroup" + } + } + } + }, + allowExtensionOperations: { + serializedName: "allowExtensionOperations", + type: { + name: "Boolean" + } + }, + requireGuestProvisionSignal: { + serializedName: "requireGuestProvisionSignal", + type: { + name: "Boolean" + } } } } }; -export const VirtualMachineHealthStatus: msRest.CompositeMapper = { - serializedName: "VirtualMachineHealthStatus", +export const AutomaticRepairsPolicy: msRest.CompositeMapper = { + serializedName: "AutomaticRepairsPolicy", type: { name: "Composite", - className: "VirtualMachineHealthStatus", + className: "AutomaticRepairsPolicy", modelProperties: { - status: { - readOnly: true, - serializedName: "status", + enabled: { + serializedName: "enabled", + type: { + name: "Boolean" + } + }, + gracePeriod: { + serializedName: "gracePeriod", + type: { + name: "String" + } + } + } + } +}; + +export const NetworkInterfaceReference: msRest.CompositeMapper = { + serializedName: "NetworkInterfaceReference", + type: { + name: "Composite", + className: "NetworkInterfaceReference", + modelProperties: { + ...SubResource.type.modelProperties, + primary: { + serializedName: "properties.primary", + type: { + name: "Boolean" + } + } + } + } +}; + +export const NetworkProfile: msRest.CompositeMapper = { + serializedName: "NetworkProfile", + type: { + name: "Composite", + className: "NetworkProfile", + modelProperties: { + networkInterfaces: { + serializedName: "networkInterfaces", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "NetworkInterfaceReference" + } + } + } + } + } + } +}; + +export const BootDiagnostics: msRest.CompositeMapper = { + serializedName: "BootDiagnostics", + type: { + name: "Composite", + className: "BootDiagnostics", + modelProperties: { + enabled: { + serializedName: "enabled", + type: { + name: "Boolean" + } + }, + storageUri: { + serializedName: "storageUri", + type: { + name: "String" + } + } + } + } +}; + +export const DiagnosticsProfile: msRest.CompositeMapper = { + serializedName: "DiagnosticsProfile", + type: { + name: "Composite", + className: "DiagnosticsProfile", + modelProperties: { + bootDiagnostics: { + serializedName: "bootDiagnostics", type: { name: "Composite", - className: "InstanceViewStatus" + className: "BootDiagnostics" } } } } }; -export const AvailablePatchSummary: msRest.CompositeMapper = { - serializedName: "AvailablePatchSummary", +export const BillingProfile: msRest.CompositeMapper = { + serializedName: "BillingProfile", type: { name: "Composite", - className: "AvailablePatchSummary", + className: "BillingProfile", modelProperties: { - status: { - readOnly: true, - serializedName: "status", + maxPrice: { + serializedName: "maxPrice", + type: { + name: "Number" + } + } + } + } +}; + +export const VirtualMachineExtensionHandlerInstanceView: msRest.CompositeMapper = { + serializedName: "VirtualMachineExtensionHandlerInstanceView", + type: { + name: "Composite", + className: "VirtualMachineExtensionHandlerInstanceView", + modelProperties: { + type: { + serializedName: "type", type: { name: "String" } }, - assessmentActivityId: { - readOnly: true, - serializedName: "assessmentActivityId", + typeHandlerVersion: { + serializedName: "typeHandlerVersion", type: { name: "String" } }, - rebootPending: { - readOnly: true, - serializedName: "rebootPending", + status: { + serializedName: "status", type: { - name: "Boolean" + name: "Composite", + className: "InstanceViewStatus" + } + } + } + } +}; + +export const VirtualMachineAgentInstanceView: msRest.CompositeMapper = { + serializedName: "VirtualMachineAgentInstanceView", + type: { + name: "Composite", + className: "VirtualMachineAgentInstanceView", + modelProperties: { + vmAgentVersion: { + serializedName: "vmAgentVersion", + type: { + name: "String" + } + }, + extensionHandlers: { + serializedName: "extensionHandlers", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "VirtualMachineExtensionHandlerInstanceView" + } + } + } + }, + statuses: { + serializedName: "statuses", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "InstanceViewStatus" + } + } + } + } + } + } +}; + +export const DiskInstanceView: msRest.CompositeMapper = { + serializedName: "DiskInstanceView", + type: { + name: "Composite", + className: "DiskInstanceView", + modelProperties: { + name: { + serializedName: "name", + type: { + name: "String" + } + }, + encryptionSettings: { + serializedName: "encryptionSettings", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "DiskEncryptionSettings" + } + } + } + }, + statuses: { + serializedName: "statuses", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "InstanceViewStatus" + } + } + } + } + } + } +}; + +export const BootDiagnosticsInstanceView: msRest.CompositeMapper = { + serializedName: "BootDiagnosticsInstanceView", + type: { + name: "Composite", + className: "BootDiagnosticsInstanceView", + modelProperties: { + consoleScreenshotBlobUri: { + readOnly: true, + serializedName: "consoleScreenshotBlobUri", + type: { + name: "String" + } + }, + serialConsoleLogBlobUri: { + readOnly: true, + serializedName: "serialConsoleLogBlobUri", + type: { + name: "String" + } + }, + status: { + readOnly: true, + serializedName: "status", + type: { + name: "Composite", + className: "InstanceViewStatus" + } + } + } + } +}; + +export const VirtualMachineIdentityUserAssignedIdentitiesValue: msRest.CompositeMapper = { + serializedName: "VirtualMachineIdentity_userAssignedIdentitiesValue", + type: { + name: "Composite", + className: "VirtualMachineIdentityUserAssignedIdentitiesValue", + modelProperties: { + principalId: { + readOnly: true, + serializedName: "principalId", + type: { + name: "String" + } + }, + clientId: { + readOnly: true, + serializedName: "clientId", + type: { + name: "String" + } + } + } + } +}; + +export const VirtualMachineIdentity: msRest.CompositeMapper = { + serializedName: "VirtualMachineIdentity", + type: { + name: "Composite", + className: "VirtualMachineIdentity", + modelProperties: { + principalId: { + readOnly: true, + serializedName: "principalId", + type: { + name: "String" + } + }, + tenantId: { + readOnly: true, + serializedName: "tenantId", + type: { + name: "String" + } + }, + type: { + serializedName: "type", + type: { + name: "Enum", + allowedValues: [ + "SystemAssigned", + "UserAssigned", + "SystemAssigned, UserAssigned", + "None" + ] + } + }, + userAssignedIdentities: { + serializedName: "userAssignedIdentities", + type: { + name: "Dictionary", + value: { + type: { + name: "Composite", + className: "VirtualMachineIdentityUserAssignedIdentitiesValue" + } + } + } + } + } + } +}; + +export const MaintenanceRedeployStatus: msRest.CompositeMapper = { + serializedName: "MaintenanceRedeployStatus", + type: { + name: "Composite", + className: "MaintenanceRedeployStatus", + modelProperties: { + isCustomerInitiatedMaintenanceAllowed: { + serializedName: "isCustomerInitiatedMaintenanceAllowed", + type: { + name: "Boolean" + } + }, + preMaintenanceWindowStartTime: { + serializedName: "preMaintenanceWindowStartTime", + type: { + name: "DateTime" + } + }, + preMaintenanceWindowEndTime: { + serializedName: "preMaintenanceWindowEndTime", + type: { + name: "DateTime" + } + }, + maintenanceWindowStartTime: { + serializedName: "maintenanceWindowStartTime", + type: { + name: "DateTime" + } + }, + maintenanceWindowEndTime: { + serializedName: "maintenanceWindowEndTime", + type: { + name: "DateTime" + } + }, + lastOperationResultCode: { + serializedName: "lastOperationResultCode", + type: { + name: "Enum", + allowedValues: [ + "None", + "RetryLater", + "MaintenanceAborted", + "MaintenanceCompleted" + ] + } + }, + lastOperationMessage: { + serializedName: "lastOperationMessage", + type: { + name: "String" + } + } + } + } +}; + +export const VirtualMachineHealthStatus: msRest.CompositeMapper = { + serializedName: "VirtualMachineHealthStatus", + type: { + name: "Composite", + className: "VirtualMachineHealthStatus", + modelProperties: { + status: { + readOnly: true, + serializedName: "status", + type: { + name: "Composite", + className: "InstanceViewStatus" + } + } + } + } +}; + +export const AvailablePatchSummary: msRest.CompositeMapper = { + serializedName: "AvailablePatchSummary", + type: { + name: "Composite", + className: "AvailablePatchSummary", + modelProperties: { + status: { + readOnly: true, + serializedName: "status", + type: { + name: "String" + } + }, + assessmentActivityId: { + readOnly: true, + serializedName: "assessmentActivityId", + type: { + name: "String" + } + }, + rebootPending: { + readOnly: true, + serializedName: "rebootPending", + type: { + name: "Boolean" } }, criticalAndSecurityPatchCount: { readOnly: true, - serializedName: "criticalAndSecurityPatchCount", + serializedName: "criticalAndSecurityPatchCount", + type: { + name: "Number" + } + }, + otherPatchCount: { + readOnly: true, + serializedName: "otherPatchCount", + type: { + name: "Number" + } + }, + startTime: { + readOnly: true, + serializedName: "startTime", + type: { + name: "DateTime" + } + }, + lastModifiedTime: { + readOnly: true, + serializedName: "lastModifiedTime", + type: { + name: "DateTime" + } + }, + error: { + readOnly: true, + serializedName: "error", + type: { + name: "Composite", + className: "ApiError" + } + } + } + } +}; + +export const LastPatchInstallationSummary: msRest.CompositeMapper = { + serializedName: "LastPatchInstallationSummary", + type: { + name: "Composite", + className: "LastPatchInstallationSummary", + modelProperties: { + status: { + readOnly: true, + serializedName: "status", + type: { + name: "String" + } + }, + installationActivityId: { + readOnly: true, + serializedName: "installationActivityId", + type: { + name: "String" + } + }, + maintenanceWindowExceeded: { + readOnly: true, + serializedName: "maintenanceWindowExceeded", + type: { + name: "Boolean" + } + }, + notSelectedPatchCount: { + readOnly: true, + serializedName: "notSelectedPatchCount", + type: { + name: "Number" + } + }, + excludedPatchCount: { + readOnly: true, + serializedName: "excludedPatchCount", + type: { + name: "Number" + } + }, + pendingPatchCount: { + readOnly: true, + serializedName: "pendingPatchCount", + type: { + name: "Number" + } + }, + installedPatchCount: { + readOnly: true, + serializedName: "installedPatchCount", + type: { + name: "Number" + } + }, + failedPatchCount: { + readOnly: true, + serializedName: "failedPatchCount", + type: { + name: "Number" + } + }, + startTime: { + readOnly: true, + serializedName: "startTime", + type: { + name: "DateTime" + } + }, + lastModifiedTime: { + readOnly: true, + serializedName: "lastModifiedTime", + type: { + name: "DateTime" + } + }, + error: { + readOnly: true, + serializedName: "error", + type: { + name: "Composite", + className: "ApiError" + } + } + } + } +}; + +export const VirtualMachinePatchStatus: msRest.CompositeMapper = { + serializedName: "VirtualMachinePatchStatus", + type: { + name: "Composite", + className: "VirtualMachinePatchStatus", + modelProperties: { + availablePatchSummary: { + serializedName: "availablePatchSummary", + type: { + name: "Composite", + className: "AvailablePatchSummary" + } + }, + lastPatchInstallationSummary: { + serializedName: "lastPatchInstallationSummary", + type: { + name: "Composite", + className: "LastPatchInstallationSummary" + } + }, + configurationStatuses: { + readOnly: true, + serializedName: "configurationStatuses", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "InstanceViewStatus" + } + } + } + } + } + } +}; + +export const VirtualMachineInstanceView: msRest.CompositeMapper = { + serializedName: "VirtualMachineInstanceView", + type: { + name: "Composite", + className: "VirtualMachineInstanceView", + modelProperties: { + platformUpdateDomain: { + serializedName: "platformUpdateDomain", + type: { + name: "Number" + } + }, + platformFaultDomain: { + serializedName: "platformFaultDomain", + type: { + name: "Number" + } + }, + computerName: { + serializedName: "computerName", + type: { + name: "String" + } + }, + osName: { + serializedName: "osName", + type: { + name: "String" + } + }, + osVersion: { + serializedName: "osVersion", + type: { + name: "String" + } + }, + hyperVGeneration: { + serializedName: "hyperVGeneration", + type: { + name: "String" + } + }, + rdpThumbPrint: { + serializedName: "rdpThumbPrint", + type: { + name: "String" + } + }, + vmAgent: { + serializedName: "vmAgent", + type: { + name: "Composite", + className: "VirtualMachineAgentInstanceView" + } + }, + maintenanceRedeployStatus: { + serializedName: "maintenanceRedeployStatus", + type: { + name: "Composite", + className: "MaintenanceRedeployStatus" + } + }, + disks: { + serializedName: "disks", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "DiskInstanceView" + } + } + } + }, + extensions: { + serializedName: "extensions", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "VirtualMachineExtensionInstanceView" + } + } + } + }, + vmHealth: { + readOnly: true, + serializedName: "vmHealth", + type: { + name: "Composite", + className: "VirtualMachineHealthStatus" + } + }, + bootDiagnostics: { + serializedName: "bootDiagnostics", + type: { + name: "Composite", + className: "BootDiagnosticsInstanceView" + } + }, + assignedHost: { + readOnly: true, + serializedName: "assignedHost", + type: { + name: "String" + } + }, + statuses: { + serializedName: "statuses", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "InstanceViewStatus" + } + } + } + }, + patchStatus: { + serializedName: "patchStatus", + type: { + name: "Composite", + className: "VirtualMachinePatchStatus" + } + } + } + } +}; + +export const VirtualMachine: msRest.CompositeMapper = { + serializedName: "VirtualMachine", + type: { + name: "Composite", + className: "VirtualMachine", + modelProperties: { + ...Resource.type.modelProperties, + plan: { + serializedName: "plan", + type: { + name: "Composite", + className: "Plan" + } + }, + hardwareProfile: { + serializedName: "properties.hardwareProfile", + type: { + name: "Composite", + className: "HardwareProfile" + } + }, + storageProfile: { + serializedName: "properties.storageProfile", + type: { + name: "Composite", + className: "StorageProfile" + } + }, + additionalCapabilities: { + serializedName: "properties.additionalCapabilities", + type: { + name: "Composite", + className: "AdditionalCapabilities" + } + }, + osProfile: { + serializedName: "properties.osProfile", + type: { + name: "Composite", + className: "OSProfile" + } + }, + networkProfile: { + serializedName: "properties.networkProfile", + type: { + name: "Composite", + className: "NetworkProfile" + } + }, + securityProfile: { + serializedName: "properties.securityProfile", + type: { + name: "Composite", + className: "SecurityProfile" + } + }, + diagnosticsProfile: { + serializedName: "properties.diagnosticsProfile", + type: { + name: "Composite", + className: "DiagnosticsProfile" + } + }, + availabilitySet: { + serializedName: "properties.availabilitySet", + type: { + name: "Composite", + className: "SubResource" + } + }, + virtualMachineScaleSet: { + serializedName: "properties.virtualMachineScaleSet", + type: { + name: "Composite", + className: "SubResource" + } + }, + proximityPlacementGroup: { + serializedName: "properties.proximityPlacementGroup", + type: { + name: "Composite", + className: "SubResource" + } + }, + priority: { + serializedName: "properties.priority", + type: { + name: "String" + } + }, + evictionPolicy: { + serializedName: "properties.evictionPolicy", + type: { + name: "String" + } + }, + billingProfile: { + serializedName: "properties.billingProfile", + type: { + name: "Composite", + className: "BillingProfile" + } + }, + host: { + serializedName: "properties.host", + type: { + name: "Composite", + className: "SubResource" + } + }, + hostGroup: { + serializedName: "properties.hostGroup", + type: { + name: "Composite", + className: "SubResource" + } + }, + provisioningState: { + readOnly: true, + serializedName: "properties.provisioningState", + type: { + name: "String" + } + }, + instanceView: { + readOnly: true, + serializedName: "properties.instanceView", + type: { + name: "Composite", + className: "VirtualMachineInstanceView" + } + }, + licenseType: { + serializedName: "properties.licenseType", + type: { + name: "String" + } + }, + vmId: { + readOnly: true, + serializedName: "properties.vmId", + type: { + name: "String" + } + }, + extensionsTimeBudget: { + serializedName: "properties.extensionsTimeBudget", + type: { + name: "String" + } + }, + platformFaultDomain: { + serializedName: "properties.platformFaultDomain", type: { name: "Number" } }, - otherPatchCount: { + resources: { + readOnly: true, + serializedName: "resources", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "VirtualMachineExtension" + } + } + } + }, + identity: { + serializedName: "identity", + type: { + name: "Composite", + className: "VirtualMachineIdentity" + } + }, + zones: { + serializedName: "zones", + type: { + name: "Sequence", + element: { + type: { + name: "String" + } + } + } + }, + extendedLocation: { + serializedName: "extendedLocation", + type: { + name: "Composite", + className: "ExtendedLocation" + } + } + } + } +}; + +export const VirtualMachineUpdate: msRest.CompositeMapper = { + serializedName: "VirtualMachineUpdate", + type: { + name: "Composite", + className: "VirtualMachineUpdate", + modelProperties: { + ...UpdateResource.type.modelProperties, + plan: { + serializedName: "plan", + type: { + name: "Composite", + className: "Plan" + } + }, + hardwareProfile: { + serializedName: "properties.hardwareProfile", + type: { + name: "Composite", + className: "HardwareProfile" + } + }, + storageProfile: { + serializedName: "properties.storageProfile", + type: { + name: "Composite", + className: "StorageProfile" + } + }, + additionalCapabilities: { + serializedName: "properties.additionalCapabilities", + type: { + name: "Composite", + className: "AdditionalCapabilities" + } + }, + osProfile: { + serializedName: "properties.osProfile", + type: { + name: "Composite", + className: "OSProfile" + } + }, + networkProfile: { + serializedName: "properties.networkProfile", + type: { + name: "Composite", + className: "NetworkProfile" + } + }, + securityProfile: { + serializedName: "properties.securityProfile", + type: { + name: "Composite", + className: "SecurityProfile" + } + }, + diagnosticsProfile: { + serializedName: "properties.diagnosticsProfile", + type: { + name: "Composite", + className: "DiagnosticsProfile" + } + }, + availabilitySet: { + serializedName: "properties.availabilitySet", + type: { + name: "Composite", + className: "SubResource" + } + }, + virtualMachineScaleSet: { + serializedName: "properties.virtualMachineScaleSet", + type: { + name: "Composite", + className: "SubResource" + } + }, + proximityPlacementGroup: { + serializedName: "properties.proximityPlacementGroup", + type: { + name: "Composite", + className: "SubResource" + } + }, + priority: { + serializedName: "properties.priority", + type: { + name: "String" + } + }, + evictionPolicy: { + serializedName: "properties.evictionPolicy", + type: { + name: "String" + } + }, + billingProfile: { + serializedName: "properties.billingProfile", + type: { + name: "Composite", + className: "BillingProfile" + } + }, + host: { + serializedName: "properties.host", + type: { + name: "Composite", + className: "SubResource" + } + }, + hostGroup: { + serializedName: "properties.hostGroup", + type: { + name: "Composite", + className: "SubResource" + } + }, + provisioningState: { + readOnly: true, + serializedName: "properties.provisioningState", + type: { + name: "String" + } + }, + instanceView: { + readOnly: true, + serializedName: "properties.instanceView", + type: { + name: "Composite", + className: "VirtualMachineInstanceView" + } + }, + licenseType: { + serializedName: "properties.licenseType", + type: { + name: "String" + } + }, + vmId: { readOnly: true, - serializedName: "otherPatchCount", + serializedName: "properties.vmId", type: { - name: "Number" + name: "String" } }, - startTime: { - readOnly: true, - serializedName: "startTime", + extensionsTimeBudget: { + serializedName: "properties.extensionsTimeBudget", type: { - name: "DateTime" + name: "String" } }, - lastModifiedTime: { - readOnly: true, - serializedName: "lastModifiedTime", + platformFaultDomain: { + serializedName: "properties.platformFaultDomain", type: { - name: "DateTime" + name: "Number" } }, - error: { - readOnly: true, - serializedName: "error", + identity: { + serializedName: "identity", type: { name: "Composite", - className: "ApiError" + className: "VirtualMachineIdentity" + } + }, + zones: { + serializedName: "zones", + type: { + name: "Sequence", + element: { + type: { + name: "String" + } + } } } } } }; -export const LastPatchInstallationSummary: msRest.CompositeMapper = { - serializedName: "LastPatchInstallationSummary", +export const AutomaticOSUpgradePolicy: msRest.CompositeMapper = { + serializedName: "AutomaticOSUpgradePolicy", type: { name: "Composite", - className: "LastPatchInstallationSummary", + className: "AutomaticOSUpgradePolicy", modelProperties: { - status: { - readOnly: true, - serializedName: "status", - type: { - name: "String" - } - }, - installationActivityId: { - readOnly: true, - serializedName: "installationActivityId", - type: { - name: "String" - } - }, - maintenanceWindowExceeded: { - readOnly: true, - serializedName: "maintenanceWindowExceeded", + enableAutomaticOSUpgrade: { + serializedName: "enableAutomaticOSUpgrade", type: { name: "Boolean" } }, - rebootStatus: { - readOnly: true, - serializedName: "rebootStatus", + disableAutomaticRollback: { + serializedName: "disableAutomaticRollback", type: { - name: "String" + name: "Boolean" } - }, - notSelectedPatchCount: { - readOnly: true, - serializedName: "notSelectedPatchCount", + } + } + } +}; + +export const RollingUpgradePolicy: msRest.CompositeMapper = { + serializedName: "RollingUpgradePolicy", + type: { + name: "Composite", + className: "RollingUpgradePolicy", + modelProperties: { + maxBatchInstancePercent: { + serializedName: "maxBatchInstancePercent", + constraints: { + InclusiveMaximum: 100, + InclusiveMinimum: 5 + }, type: { name: "Number" } }, - excludedPatchCount: { - readOnly: true, - serializedName: "excludedPatchCount", + maxUnhealthyInstancePercent: { + serializedName: "maxUnhealthyInstancePercent", + constraints: { + InclusiveMaximum: 100, + InclusiveMinimum: 5 + }, type: { name: "Number" } }, - pendingPatchCount: { - readOnly: true, - serializedName: "pendingPatchCount", + maxUnhealthyUpgradedInstancePercent: { + serializedName: "maxUnhealthyUpgradedInstancePercent", + constraints: { + InclusiveMaximum: 100, + InclusiveMinimum: 0 + }, type: { name: "Number" } }, - installedPatchCount: { - readOnly: true, - serializedName: "installedPatchCount", + pauseTimeBetweenBatches: { + serializedName: "pauseTimeBetweenBatches", type: { - name: "Number" + name: "String" } }, - failedPatchCount: { - readOnly: true, - serializedName: "failedPatchCount", + enableCrossZoneUpgrade: { + serializedName: "enableCrossZoneUpgrade", type: { - name: "Number" + name: "Boolean" } }, - startTime: { - readOnly: true, - serializedName: "startTime", + prioritizeUnhealthyInstances: { + serializedName: "prioritizeUnhealthyInstances", type: { - name: "DateTime" + name: "Boolean" } - }, - lastModifiedTime: { - readOnly: true, - serializedName: "lastModifiedTime", + } + } + } +}; + +export const UpgradePolicy: msRest.CompositeMapper = { + serializedName: "UpgradePolicy", + type: { + name: "Composite", + className: "UpgradePolicy", + modelProperties: { + mode: { + serializedName: "mode", type: { - name: "DateTime" + name: "Enum", + allowedValues: [ + "Automatic", + "Manual", + "Rolling" + ] } }, - startedBy: { - readOnly: true, - serializedName: "startedBy", + rollingUpgradePolicy: { + serializedName: "rollingUpgradePolicy", type: { - name: "String" + name: "Composite", + className: "RollingUpgradePolicy" } }, - error: { - readOnly: true, - serializedName: "error", + automaticOSUpgradePolicy: { + serializedName: "automaticOSUpgradePolicy", type: { name: "Composite", - className: "ApiError" + className: "AutomaticOSUpgradePolicy" } } } } }; -export const VirtualMachinePatchStatus: msRest.CompositeMapper = { - serializedName: "VirtualMachinePatchStatus", +export const ScaleInPolicy: msRest.CompositeMapper = { + serializedName: "ScaleInPolicy", type: { name: "Composite", - className: "VirtualMachinePatchStatus", + className: "ScaleInPolicy", modelProperties: { - availablePatchSummary: { - serializedName: "availablePatchSummary", - type: { - name: "Composite", - className: "AvailablePatchSummary" - } - }, - lastPatchInstallationSummary: { - serializedName: "lastPatchInstallationSummary", + rules: { + serializedName: "rules", type: { - name: "Composite", - className: "LastPatchInstallationSummary" + name: "Sequence", + element: { + type: { + name: "String" + } + } } } } } }; -export const VirtualMachineInstanceView: msRest.CompositeMapper = { - serializedName: "VirtualMachineInstanceView", +export const ImageDisk: msRest.CompositeMapper = { + serializedName: "ImageDisk", type: { name: "Composite", - className: "VirtualMachineInstanceView", + className: "ImageDisk", modelProperties: { - platformUpdateDomain: { - serializedName: "platformUpdateDomain", + snapshot: { + serializedName: "snapshot", type: { - name: "Number" + name: "Composite", + className: "SubResource" } }, - platformFaultDomain: { - serializedName: "platformFaultDomain", + managedDisk: { + serializedName: "managedDisk", type: { - name: "Number" + name: "Composite", + className: "SubResource" } }, - computerName: { - serializedName: "computerName", + blobUri: { + serializedName: "blobUri", type: { name: "String" } }, - osName: { - serializedName: "osName", + caching: { + serializedName: "caching", type: { - name: "String" + name: "Enum", + allowedValues: [ + "None", + "ReadOnly", + "ReadWrite" + ] } }, - osVersion: { - serializedName: "osVersion", + diskSizeGB: { + serializedName: "diskSizeGB", + type: { + name: "Number" + } + }, + storageAccountType: { + serializedName: "storageAccountType", type: { name: "String" } }, - hyperVGeneration: { - serializedName: "hyperVGeneration", + diskEncryptionSet: { + serializedName: "diskEncryptionSet", + type: { + name: "Composite", + className: "DiskEncryptionSetParameters" + } + } + } + } +}; + +export const ImageOSDisk: msRest.CompositeMapper = { + serializedName: "ImageOSDisk", + type: { + name: "Composite", + className: "ImageOSDisk", + modelProperties: { + ...ImageDisk.type.modelProperties, + osType: { + required: true, + serializedName: "osType", type: { - name: "String" + name: "Enum", + allowedValues: [ + "Windows", + "Linux" + ] } }, - rdpThumbPrint: { - serializedName: "rdpThumbPrint", + osState: { + required: true, + serializedName: "osState", type: { - name: "String" + name: "Enum", + allowedValues: [ + "Generalized", + "Specialized" + ] } - }, - vmAgent: { - serializedName: "vmAgent", + } + } + } +}; + +export const ImageDataDisk: msRest.CompositeMapper = { + serializedName: "ImageDataDisk", + type: { + name: "Composite", + className: "ImageDataDisk", + modelProperties: { + ...ImageDisk.type.modelProperties, + lun: { + required: true, + serializedName: "lun", type: { - name: "Composite", - className: "VirtualMachineAgentInstanceView" + name: "Number" } - }, - maintenanceRedeployStatus: { - serializedName: "maintenanceRedeployStatus", + } + } + } +}; + +export const ImageStorageProfile: msRest.CompositeMapper = { + serializedName: "ImageStorageProfile", + type: { + name: "Composite", + className: "ImageStorageProfile", + modelProperties: { + osDisk: { + serializedName: "osDisk", type: { name: "Composite", - className: "MaintenanceRedeployStatus" + className: "ImageOSDisk" } }, - disks: { - serializedName: "disks", + dataDisks: { + serializedName: "dataDisks", type: { name: "Sequence", element: { type: { name: "Composite", - className: "DiskInstanceView" + className: "ImageDataDisk" } } } }, - extensions: { - serializedName: "extensions", + zoneResilient: { + serializedName: "zoneResilient", type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "VirtualMachineExtensionInstanceView" - } - } + name: "Boolean" } - }, - vmHealth: { - readOnly: true, - serializedName: "vmHealth", + } + } + } +}; + +export const Image: msRest.CompositeMapper = { + serializedName: "Image", + type: { + name: "Composite", + className: "Image", + modelProperties: { + ...Resource.type.modelProperties, + sourceVirtualMachine: { + serializedName: "properties.sourceVirtualMachine", type: { name: "Composite", - className: "VirtualMachineHealthStatus" + className: "SubResource" } }, - bootDiagnostics: { - serializedName: "bootDiagnostics", + storageProfile: { + serializedName: "properties.storageProfile", type: { name: "Composite", - className: "BootDiagnosticsInstanceView" + className: "ImageStorageProfile" } }, - assignedHost: { + provisioningState: { readOnly: true, - serializedName: "assignedHost", + serializedName: "properties.provisioningState", type: { name: "String" } }, - statuses: { - serializedName: "statuses", + hyperVGeneration: { + serializedName: "properties.hyperVGeneration", type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "InstanceViewStatus" - } - } + name: "String" } }, - patchStatus: { - serializedName: "patchStatus", + extendedLocation: { + serializedName: "extendedLocation", type: { name: "Composite", - className: "VirtualMachinePatchStatus" + className: "ExtendedLocation" } } } } }; -export const VirtualMachine: msRest.CompositeMapper = { - serializedName: "VirtualMachine", +export const ImageUpdate: msRest.CompositeMapper = { + serializedName: "ImageUpdate", type: { name: "Composite", - className: "VirtualMachine", + className: "ImageUpdate", modelProperties: { - ...Resource.type.modelProperties, - plan: { - serializedName: "plan", - type: { - name: "Composite", - className: "Plan" - } - }, - hardwareProfile: { - serializedName: "properties.hardwareProfile", + ...UpdateResource.type.modelProperties, + sourceVirtualMachine: { + serializedName: "properties.sourceVirtualMachine", type: { name: "Composite", - className: "HardwareProfile" + className: "SubResource" } }, storageProfile: { serializedName: "properties.storageProfile", type: { name: "Composite", - className: "StorageProfile" + className: "ImageStorageProfile" } }, - additionalCapabilities: { - serializedName: "properties.additionalCapabilities", + provisioningState: { + readOnly: true, + serializedName: "properties.provisioningState", type: { - name: "Composite", - className: "AdditionalCapabilities" + name: "String" } }, - osProfile: { - serializedName: "properties.osProfile", + hyperVGeneration: { + serializedName: "properties.hyperVGeneration", type: { - name: "Composite", - className: "OSProfile" + name: "String" } - }, - networkProfile: { - serializedName: "properties.networkProfile", + } + } + } +}; + +export const VirtualMachineScaleSetIdentityUserAssignedIdentitiesValue: msRest.CompositeMapper = { + serializedName: "VirtualMachineScaleSetIdentity_userAssignedIdentitiesValue", + type: { + name: "Composite", + className: "VirtualMachineScaleSetIdentityUserAssignedIdentitiesValue", + modelProperties: { + principalId: { + readOnly: true, + serializedName: "principalId", type: { - name: "Composite", - className: "NetworkProfile" + name: "String" } }, - securityProfile: { - serializedName: "properties.securityProfile", + clientId: { + readOnly: true, + serializedName: "clientId", type: { - name: "Composite", - className: "SecurityProfile" + name: "String" } - }, - diagnosticsProfile: { - serializedName: "properties.diagnosticsProfile", + } + } + } +}; + +export const VirtualMachineScaleSetIdentity: msRest.CompositeMapper = { + serializedName: "VirtualMachineScaleSetIdentity", + type: { + name: "Composite", + className: "VirtualMachineScaleSetIdentity", + modelProperties: { + principalId: { + readOnly: true, + serializedName: "principalId", type: { - name: "Composite", - className: "DiagnosticsProfile" + name: "String" } }, - availabilitySet: { - serializedName: "properties.availabilitySet", + tenantId: { + readOnly: true, + serializedName: "tenantId", type: { - name: "Composite", - className: "SubResource" + name: "String" } }, - virtualMachineScaleSet: { - serializedName: "properties.virtualMachineScaleSet", + type: { + serializedName: "type", type: { - name: "Composite", - className: "SubResource" + name: "Enum", + allowedValues: [ + "SystemAssigned", + "UserAssigned", + "SystemAssigned, UserAssigned", + "None" + ] } }, - proximityPlacementGroup: { - serializedName: "properties.proximityPlacementGroup", + userAssignedIdentities: { + serializedName: "userAssignedIdentities", type: { - name: "Composite", - className: "SubResource" + name: "Dictionary", + value: { + type: { + name: "Composite", + className: "VirtualMachineScaleSetIdentityUserAssignedIdentitiesValue" + } + } } - }, - priority: { - serializedName: "properties.priority", + } + } + } +}; + +export const VirtualMachineScaleSetOSProfile: msRest.CompositeMapper = { + serializedName: "VirtualMachineScaleSetOSProfile", + type: { + name: "Composite", + className: "VirtualMachineScaleSetOSProfile", + modelProperties: { + computerNamePrefix: { + serializedName: "computerNamePrefix", type: { name: "String" } }, - evictionPolicy: { - serializedName: "properties.evictionPolicy", + adminUsername: { + serializedName: "adminUsername", type: { name: "String" } }, - billingProfile: { - serializedName: "properties.billingProfile", + adminPassword: { + serializedName: "adminPassword", type: { - name: "Composite", - className: "BillingProfile" + name: "String" } }, - host: { - serializedName: "properties.host", + customData: { + serializedName: "customData", type: { - name: "Composite", - className: "SubResource" + name: "String" } }, - hostGroup: { - serializedName: "properties.hostGroup", + windowsConfiguration: { + serializedName: "windowsConfiguration", type: { name: "Composite", - className: "SubResource" + className: "WindowsConfiguration" } }, - provisioningState: { - readOnly: true, - serializedName: "properties.provisioningState", + linuxConfiguration: { + serializedName: "linuxConfiguration", type: { - name: "String" + name: "Composite", + className: "LinuxConfiguration" } }, - instanceView: { - readOnly: true, - serializedName: "properties.instanceView", + secrets: { + serializedName: "secrets", type: { - name: "Composite", - className: "VirtualMachineInstanceView" + name: "Sequence", + element: { + type: { + name: "Composite", + className: "VaultSecretGroup" + } + } } - }, - licenseType: { - serializedName: "properties.licenseType", + } + } + } +}; + +export const VirtualMachineScaleSetUpdateOSProfile: msRest.CompositeMapper = { + serializedName: "VirtualMachineScaleSetUpdateOSProfile", + type: { + name: "Composite", + className: "VirtualMachineScaleSetUpdateOSProfile", + modelProperties: { + customData: { + serializedName: "customData", type: { name: "String" } }, - vmId: { - readOnly: true, - serializedName: "properties.vmId", + windowsConfiguration: { + serializedName: "windowsConfiguration", type: { - name: "String" + name: "Composite", + className: "WindowsConfiguration" } }, - extensionsTimeBudget: { - serializedName: "properties.extensionsTimeBudget", + linuxConfiguration: { + serializedName: "linuxConfiguration", type: { - name: "String" + name: "Composite", + className: "LinuxConfiguration" } }, - resources: { - readOnly: true, - serializedName: "resources", + secrets: { + serializedName: "secrets", type: { name: "Sequence", element: { type: { name: "Composite", - className: "VirtualMachineExtension" + className: "VaultSecretGroup" } } } - }, - identity: { - serializedName: "identity", + } + } + } +}; + +export const VirtualMachineScaleSetManagedDiskParameters: msRest.CompositeMapper = { + serializedName: "VirtualMachineScaleSetManagedDiskParameters", + type: { + name: "Composite", + className: "VirtualMachineScaleSetManagedDiskParameters", + modelProperties: { + storageAccountType: { + serializedName: "storageAccountType", type: { - name: "Composite", - className: "VirtualMachineIdentity" + name: "String" } }, - zones: { - serializedName: "zones", + diskEncryptionSet: { + serializedName: "diskEncryptionSet", type: { - name: "Sequence", - element: { - type: { - name: "String" - } - } + name: "Composite", + className: "DiskEncryptionSetParameters" } } } } }; -export const VirtualMachineUpdate: msRest.CompositeMapper = { - serializedName: "VirtualMachineUpdate", +export const VirtualMachineScaleSetOSDisk: msRest.CompositeMapper = { + serializedName: "VirtualMachineScaleSetOSDisk", type: { name: "Composite", - className: "VirtualMachineUpdate", + className: "VirtualMachineScaleSetOSDisk", modelProperties: { - ...UpdateResource.type.modelProperties, - plan: { - serializedName: "plan", + name: { + serializedName: "name", type: { - name: "Composite", - className: "Plan" + name: "String" } }, - hardwareProfile: { - serializedName: "properties.hardwareProfile", + caching: { + serializedName: "caching", type: { - name: "Composite", - className: "HardwareProfile" + name: "Enum", + allowedValues: [ + "None", + "ReadOnly", + "ReadWrite" + ] } }, - storageProfile: { - serializedName: "properties.storageProfile", + writeAcceleratorEnabled: { + serializedName: "writeAcceleratorEnabled", type: { - name: "Composite", - className: "StorageProfile" + name: "Boolean" } }, - additionalCapabilities: { - serializedName: "properties.additionalCapabilities", + createOption: { + required: true, + serializedName: "createOption", type: { - name: "Composite", - className: "AdditionalCapabilities" + name: "String" } }, - osProfile: { - serializedName: "properties.osProfile", + diffDiskSettings: { + serializedName: "diffDiskSettings", type: { name: "Composite", - className: "OSProfile" + className: "DiffDiskSettings" } }, - networkProfile: { - serializedName: "properties.networkProfile", + diskSizeGB: { + serializedName: "diskSizeGB", type: { - name: "Composite", - className: "NetworkProfile" + name: "Number" } }, - securityProfile: { - serializedName: "properties.securityProfile", + osType: { + serializedName: "osType", type: { - name: "Composite", - className: "SecurityProfile" + name: "Enum", + allowedValues: [ + "Windows", + "Linux" + ] } }, - diagnosticsProfile: { - serializedName: "properties.diagnosticsProfile", + image: { + serializedName: "image", type: { name: "Composite", - className: "DiagnosticsProfile" + className: "VirtualHardDisk" } }, - availabilitySet: { - serializedName: "properties.availabilitySet", + vhdContainers: { + serializedName: "vhdContainers", + type: { + name: "Sequence", + element: { + type: { + name: "String" + } + } + } + }, + managedDisk: { + serializedName: "managedDisk", type: { name: "Composite", - className: "SubResource" + className: "VirtualMachineScaleSetManagedDiskParameters" + } + } + } + } +}; + +export const VirtualMachineScaleSetUpdateOSDisk: msRest.CompositeMapper = { + serializedName: "VirtualMachineScaleSetUpdateOSDisk", + type: { + name: "Composite", + className: "VirtualMachineScaleSetUpdateOSDisk", + modelProperties: { + caching: { + serializedName: "caching", + type: { + name: "Enum", + allowedValues: [ + "None", + "ReadOnly", + "ReadWrite" + ] } }, - virtualMachineScaleSet: { - serializedName: "properties.virtualMachineScaleSet", + writeAcceleratorEnabled: { + serializedName: "writeAcceleratorEnabled", + type: { + name: "Boolean" + } + }, + diskSizeGB: { + serializedName: "diskSizeGB", + type: { + name: "Number" + } + }, + image: { + serializedName: "image", type: { name: "Composite", - className: "SubResource" + className: "VirtualHardDisk" } }, - proximityPlacementGroup: { - serializedName: "properties.proximityPlacementGroup", + vhdContainers: { + serializedName: "vhdContainers", + type: { + name: "Sequence", + element: { + type: { + name: "String" + } + } + } + }, + managedDisk: { + serializedName: "managedDisk", type: { name: "Composite", - className: "SubResource" + className: "VirtualMachineScaleSetManagedDiskParameters" } - }, - priority: { - serializedName: "properties.priority", + } + } + } +}; + +export const VirtualMachineScaleSetDataDisk: msRest.CompositeMapper = { + serializedName: "VirtualMachineScaleSetDataDisk", + type: { + name: "Composite", + className: "VirtualMachineScaleSetDataDisk", + modelProperties: { + name: { + serializedName: "name", type: { name: "String" } }, - evictionPolicy: { - serializedName: "properties.evictionPolicy", + lun: { + required: true, + serializedName: "lun", type: { - name: "String" + name: "Number" } }, - billingProfile: { - serializedName: "properties.billingProfile", + caching: { + serializedName: "caching", type: { - name: "Composite", - className: "BillingProfile" + name: "Enum", + allowedValues: [ + "None", + "ReadOnly", + "ReadWrite" + ] } }, - host: { - serializedName: "properties.host", + writeAcceleratorEnabled: { + serializedName: "writeAcceleratorEnabled", type: { - name: "Composite", - className: "SubResource" + name: "Boolean" } }, - hostGroup: { - serializedName: "properties.hostGroup", + createOption: { + required: true, + serializedName: "createOption", type: { - name: "Composite", - className: "SubResource" + name: "String" } }, - provisioningState: { - readOnly: true, - serializedName: "properties.provisioningState", + diskSizeGB: { + serializedName: "diskSizeGB", type: { - name: "String" + name: "Number" } }, - instanceView: { - readOnly: true, - serializedName: "properties.instanceView", + managedDisk: { + serializedName: "managedDisk", type: { name: "Composite", - className: "VirtualMachineInstanceView" + className: "VirtualMachineScaleSetManagedDiskParameters" } }, - licenseType: { - serializedName: "properties.licenseType", + diskIOPSReadWrite: { + serializedName: "diskIOPSReadWrite", type: { - name: "String" + name: "Number" } }, - vmId: { - readOnly: true, - serializedName: "properties.vmId", + diskMBpsReadWrite: { + serializedName: "diskMBpsReadWrite", type: { - name: "String" + name: "Number" } - }, - extensionsTimeBudget: { - serializedName: "properties.extensionsTimeBudget", + } + } + } +}; + +export const VirtualMachineScaleSetStorageProfile: msRest.CompositeMapper = { + serializedName: "VirtualMachineScaleSetStorageProfile", + type: { + name: "Composite", + className: "VirtualMachineScaleSetStorageProfile", + modelProperties: { + imageReference: { + serializedName: "imageReference", type: { - name: "String" + name: "Composite", + className: "ImageReference" } }, - identity: { - serializedName: "identity", + osDisk: { + serializedName: "osDisk", type: { name: "Composite", - className: "VirtualMachineIdentity" + className: "VirtualMachineScaleSetOSDisk" } }, - zones: { - serializedName: "zones", + dataDisks: { + serializedName: "dataDisks", type: { name: "Sequence", element: { type: { - name: "String" + name: "Composite", + className: "VirtualMachineScaleSetDataDisk" } } } @@ -3793,66 +5251,50 @@ export const VirtualMachineUpdate: msRest.CompositeMapper = { } }; -export const AutomaticOSUpgradePolicy: msRest.CompositeMapper = { - serializedName: "AutomaticOSUpgradePolicy", +export const VirtualMachineScaleSetUpdateStorageProfile: msRest.CompositeMapper = { + serializedName: "VirtualMachineScaleSetUpdateStorageProfile", type: { name: "Composite", - className: "AutomaticOSUpgradePolicy", + className: "VirtualMachineScaleSetUpdateStorageProfile", modelProperties: { - enableAutomaticOSUpgrade: { - serializedName: "enableAutomaticOSUpgrade", + imageReference: { + serializedName: "imageReference", type: { - name: "Boolean" + name: "Composite", + className: "ImageReference" } }, - disableAutomaticRollback: { - serializedName: "disableAutomaticRollback", + osDisk: { + serializedName: "osDisk", type: { - name: "Boolean" + name: "Composite", + className: "VirtualMachineScaleSetUpdateOSDisk" + } + }, + dataDisks: { + serializedName: "dataDisks", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "VirtualMachineScaleSetDataDisk" + } + } } } } } }; -export const RollingUpgradePolicy: msRest.CompositeMapper = { - serializedName: "RollingUpgradePolicy", +export const ApiEntityReference: msRest.CompositeMapper = { + serializedName: "ApiEntityReference", type: { name: "Composite", - className: "RollingUpgradePolicy", + className: "ApiEntityReference", modelProperties: { - maxBatchInstancePercent: { - serializedName: "maxBatchInstancePercent", - constraints: { - InclusiveMaximum: 100, - InclusiveMinimum: 5 - }, - type: { - name: "Number" - } - }, - maxUnhealthyInstancePercent: { - serializedName: "maxUnhealthyInstancePercent", - constraints: { - InclusiveMaximum: 100, - InclusiveMinimum: 5 - }, - type: { - name: "Number" - } - }, - maxUnhealthyUpgradedInstancePercent: { - serializedName: "maxUnhealthyUpgradedInstancePercent", - constraints: { - InclusiveMaximum: 100, - InclusiveMinimum: 0 - }, - type: { - name: "Number" - } - }, - pauseTimeBetweenBatches: { - serializedName: "pauseTimeBetweenBatches", + id: { + serializedName: "id", type: { name: "String" } @@ -3861,450 +5303,490 @@ export const RollingUpgradePolicy: msRest.CompositeMapper = { } }; -export const UpgradePolicy: msRest.CompositeMapper = { - serializedName: "UpgradePolicy", +export const VirtualMachineScaleSetPublicIPAddressConfigurationDnsSettings: msRest.CompositeMapper = { + serializedName: "VirtualMachineScaleSetPublicIPAddressConfigurationDnsSettings", type: { name: "Composite", - className: "UpgradePolicy", + className: "VirtualMachineScaleSetPublicIPAddressConfigurationDnsSettings", modelProperties: { - mode: { - serializedName: "mode", - type: { - name: "Enum", - allowedValues: [ - "Automatic", - "Manual", - "Rolling" - ] - } - }, - rollingUpgradePolicy: { - serializedName: "rollingUpgradePolicy", - type: { - name: "Composite", - className: "RollingUpgradePolicy" - } - }, - automaticOSUpgradePolicy: { - serializedName: "automaticOSUpgradePolicy", + domainNameLabel: { + required: true, + serializedName: "domainNameLabel", type: { - name: "Composite", - className: "AutomaticOSUpgradePolicy" + name: "String" } } } } }; -export const ScaleInPolicy: msRest.CompositeMapper = { - serializedName: "ScaleInPolicy", +export const VirtualMachineScaleSetIpTag: msRest.CompositeMapper = { + serializedName: "VirtualMachineScaleSetIpTag", type: { name: "Composite", - className: "ScaleInPolicy", + className: "VirtualMachineScaleSetIpTag", modelProperties: { - rules: { - serializedName: "rules", + ipTagType: { + serializedName: "ipTagType", type: { - name: "Sequence", - element: { - type: { - name: "String" - } - } + name: "String" + } + }, + tag: { + serializedName: "tag", + type: { + name: "String" } } } } }; -export const ImageDisk: msRest.CompositeMapper = { - serializedName: "ImageDisk", +export const VirtualMachineScaleSetPublicIPAddressConfiguration: msRest.CompositeMapper = { + serializedName: "VirtualMachineScaleSetPublicIPAddressConfiguration", type: { name: "Composite", - className: "ImageDisk", + className: "VirtualMachineScaleSetPublicIPAddressConfiguration", modelProperties: { - snapshot: { - serializedName: "snapshot", - type: { - name: "Composite", - className: "SubResource" - } - }, - managedDisk: { - serializedName: "managedDisk", + name: { + required: true, + serializedName: "name", type: { - name: "Composite", - className: "SubResource" + name: "String" } }, - blobUri: { - serializedName: "blobUri", + idleTimeoutInMinutes: { + serializedName: "properties.idleTimeoutInMinutes", type: { - name: "String" + name: "Number" } }, - caching: { - serializedName: "caching", + dnsSettings: { + serializedName: "properties.dnsSettings", type: { - name: "Enum", - allowedValues: [ - "None", - "ReadOnly", - "ReadWrite" - ] + name: "Composite", + className: "VirtualMachineScaleSetPublicIPAddressConfigurationDnsSettings" } }, - diskSizeGB: { - serializedName: "diskSizeGB", + ipTags: { + serializedName: "properties.ipTags", type: { - name: "Number" + name: "Sequence", + element: { + type: { + name: "Composite", + className: "VirtualMachineScaleSetIpTag" + } + } } }, - storageAccountType: { - serializedName: "storageAccountType", + publicIPPrefix: { + serializedName: "properties.publicIPPrefix", type: { - name: "String" + name: "Composite", + className: "SubResource" } }, - diskEncryptionSet: { - serializedName: "diskEncryptionSet", + publicIPAddressVersion: { + serializedName: "properties.publicIPAddressVersion", type: { - name: "Composite", - className: "DiskEncryptionSetParameters" + name: "String" } } } } }; -export const ImageOSDisk: msRest.CompositeMapper = { - serializedName: "ImageOSDisk", +export const VirtualMachineScaleSetUpdatePublicIPAddressConfiguration: msRest.CompositeMapper = { + serializedName: "VirtualMachineScaleSetUpdatePublicIPAddressConfiguration", type: { name: "Composite", - className: "ImageOSDisk", + className: "VirtualMachineScaleSetUpdatePublicIPAddressConfiguration", modelProperties: { - ...ImageDisk.type.modelProperties, - osType: { - required: true, - serializedName: "osType", + name: { + serializedName: "name", type: { - name: "Enum", - allowedValues: [ - "Windows", - "Linux" - ] + name: "String" } }, - osState: { - required: true, - serializedName: "osState", + idleTimeoutInMinutes: { + serializedName: "properties.idleTimeoutInMinutes", type: { - name: "Enum", - allowedValues: [ - "Generalized", - "Specialized" - ] + name: "Number" + } + }, + dnsSettings: { + serializedName: "properties.dnsSettings", + type: { + name: "Composite", + className: "VirtualMachineScaleSetPublicIPAddressConfigurationDnsSettings" } } } } }; -export const ImageDataDisk: msRest.CompositeMapper = { - serializedName: "ImageDataDisk", +export const VirtualMachineScaleSetIPConfiguration: msRest.CompositeMapper = { + serializedName: "VirtualMachineScaleSetIPConfiguration", type: { name: "Composite", - className: "ImageDataDisk", + className: "VirtualMachineScaleSetIPConfiguration", modelProperties: { - ...ImageDisk.type.modelProperties, - lun: { + ...SubResource.type.modelProperties, + name: { required: true, - serializedName: "lun", + serializedName: "name", type: { - name: "Number" + name: "String" } - } - } - } -}; - -export const ImageStorageProfile: msRest.CompositeMapper = { - serializedName: "ImageStorageProfile", - type: { - name: "Composite", - className: "ImageStorageProfile", - modelProperties: { - osDisk: { - serializedName: "osDisk", + }, + subnet: { + serializedName: "properties.subnet", type: { name: "Composite", - className: "ImageOSDisk" + className: "ApiEntityReference" } }, - dataDisks: { - serializedName: "dataDisks", + primary: { + serializedName: "properties.primary", + type: { + name: "Boolean" + } + }, + publicIPAddressConfiguration: { + serializedName: "properties.publicIPAddressConfiguration", + type: { + name: "Composite", + className: "VirtualMachineScaleSetPublicIPAddressConfiguration" + } + }, + privateIPAddressVersion: { + serializedName: "properties.privateIPAddressVersion", + type: { + name: "String" + } + }, + applicationGatewayBackendAddressPools: { + serializedName: "properties.applicationGatewayBackendAddressPools", type: { name: "Sequence", element: { type: { name: "Composite", - className: "ImageDataDisk" + className: "SubResource" } } } }, - zoneResilient: { - serializedName: "zoneResilient", + applicationSecurityGroups: { + serializedName: "properties.applicationSecurityGroups", type: { - name: "Boolean" + name: "Sequence", + element: { + type: { + name: "Composite", + className: "SubResource" + } + } + } + }, + loadBalancerBackendAddressPools: { + serializedName: "properties.loadBalancerBackendAddressPools", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "SubResource" + } + } + } + }, + loadBalancerInboundNatPools: { + serializedName: "properties.loadBalancerInboundNatPools", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "SubResource" + } + } } } } } }; -export const Image: msRest.CompositeMapper = { - serializedName: "Image", +export const VirtualMachineScaleSetUpdateIPConfiguration: msRest.CompositeMapper = { + serializedName: "VirtualMachineScaleSetUpdateIPConfiguration", type: { name: "Composite", - className: "Image", + className: "VirtualMachineScaleSetUpdateIPConfiguration", modelProperties: { - ...Resource.type.modelProperties, - sourceVirtualMachine: { - serializedName: "properties.sourceVirtualMachine", + ...SubResource.type.modelProperties, + name: { + serializedName: "name", type: { - name: "Composite", - className: "SubResource" + name: "String" } }, - storageProfile: { - serializedName: "properties.storageProfile", + subnet: { + serializedName: "properties.subnet", type: { name: "Composite", - className: "ImageStorageProfile" + className: "ApiEntityReference" } }, - provisioningState: { - readOnly: true, - serializedName: "properties.provisioningState", + primary: { + serializedName: "properties.primary", type: { - name: "String" + name: "Boolean" } }, - hyperVGeneration: { - serializedName: "properties.hyperVGeneration", + publicIPAddressConfiguration: { + serializedName: "properties.publicIPAddressConfiguration", + type: { + name: "Composite", + className: "VirtualMachineScaleSetUpdatePublicIPAddressConfiguration" + } + }, + privateIPAddressVersion: { + serializedName: "properties.privateIPAddressVersion", type: { name: "String" } - } - } - } -}; - -export const ImageUpdate: msRest.CompositeMapper = { - serializedName: "ImageUpdate", - type: { - name: "Composite", - className: "ImageUpdate", - modelProperties: { - ...UpdateResource.type.modelProperties, - sourceVirtualMachine: { - serializedName: "properties.sourceVirtualMachine", + }, + applicationGatewayBackendAddressPools: { + serializedName: "properties.applicationGatewayBackendAddressPools", type: { - name: "Composite", - className: "SubResource" + name: "Sequence", + element: { + type: { + name: "Composite", + className: "SubResource" + } + } } }, - storageProfile: { - serializedName: "properties.storageProfile", + applicationSecurityGroups: { + serializedName: "properties.applicationSecurityGroups", type: { - name: "Composite", - className: "ImageStorageProfile" + name: "Sequence", + element: { + type: { + name: "Composite", + className: "SubResource" + } + } } }, - provisioningState: { - readOnly: true, - serializedName: "properties.provisioningState", + loadBalancerBackendAddressPools: { + serializedName: "properties.loadBalancerBackendAddressPools", type: { - name: "String" + name: "Sequence", + element: { + type: { + name: "Composite", + className: "SubResource" + } + } } }, - hyperVGeneration: { - serializedName: "properties.hyperVGeneration", + loadBalancerInboundNatPools: { + serializedName: "properties.loadBalancerInboundNatPools", type: { - name: "String" + name: "Sequence", + element: { + type: { + name: "Composite", + className: "SubResource" + } + } } } } } }; -export const VirtualMachineScaleSetIdentityUserAssignedIdentitiesValue: msRest.CompositeMapper = { - serializedName: "VirtualMachineScaleSetIdentity_userAssignedIdentitiesValue", +export const VirtualMachineScaleSetNetworkConfigurationDnsSettings: msRest.CompositeMapper = { + serializedName: "VirtualMachineScaleSetNetworkConfigurationDnsSettings", type: { name: "Composite", - className: "VirtualMachineScaleSetIdentityUserAssignedIdentitiesValue", + className: "VirtualMachineScaleSetNetworkConfigurationDnsSettings", modelProperties: { - principalId: { - readOnly: true, - serializedName: "principalId", - type: { - name: "String" - } - }, - clientId: { - readOnly: true, - serializedName: "clientId", + dnsServers: { + serializedName: "dnsServers", type: { - name: "String" + name: "Sequence", + element: { + type: { + name: "String" + } + } } } } } }; -export const VirtualMachineScaleSetIdentity: msRest.CompositeMapper = { - serializedName: "VirtualMachineScaleSetIdentity", +export const VirtualMachineScaleSetNetworkConfiguration: msRest.CompositeMapper = { + serializedName: "VirtualMachineScaleSetNetworkConfiguration", type: { name: "Composite", - className: "VirtualMachineScaleSetIdentity", + className: "VirtualMachineScaleSetNetworkConfiguration", modelProperties: { - principalId: { - readOnly: true, - serializedName: "principalId", + ...SubResource.type.modelProperties, + name: { + required: true, + serializedName: "name", type: { name: "String" } }, - tenantId: { - readOnly: true, - serializedName: "tenantId", + primary: { + serializedName: "properties.primary", type: { - name: "String" + name: "Boolean" } }, - type: { - serializedName: "type", + enableAcceleratedNetworking: { + serializedName: "properties.enableAcceleratedNetworking", type: { - name: "Enum", - allowedValues: [ - "SystemAssigned", - "UserAssigned", - "SystemAssigned, UserAssigned", - "None" - ] + name: "Boolean" } }, - userAssignedIdentities: { - serializedName: "userAssignedIdentities", + enableFpga: { + serializedName: "properties.enableFpga", type: { - name: "Dictionary", - value: { + name: "Boolean" + } + }, + networkSecurityGroup: { + serializedName: "properties.networkSecurityGroup", + type: { + name: "Composite", + className: "SubResource" + } + }, + dnsSettings: { + serializedName: "properties.dnsSettings", + type: { + name: "Composite", + className: "VirtualMachineScaleSetNetworkConfigurationDnsSettings" + } + }, + ipConfigurations: { + required: true, + serializedName: "properties.ipConfigurations", + type: { + name: "Sequence", + element: { type: { name: "Composite", - className: "VirtualMachineScaleSetIdentityUserAssignedIdentitiesValue" + className: "VirtualMachineScaleSetIPConfiguration" } } } + }, + enableIPForwarding: { + serializedName: "properties.enableIPForwarding", + type: { + name: "Boolean" + } } } } }; -export const VirtualMachineScaleSetOSProfile: msRest.CompositeMapper = { - serializedName: "VirtualMachineScaleSetOSProfile", +export const VirtualMachineScaleSetUpdateNetworkConfiguration: msRest.CompositeMapper = { + serializedName: "VirtualMachineScaleSetUpdateNetworkConfiguration", type: { name: "Composite", - className: "VirtualMachineScaleSetOSProfile", + className: "VirtualMachineScaleSetUpdateNetworkConfiguration", modelProperties: { - computerNamePrefix: { - serializedName: "computerNamePrefix", + ...SubResource.type.modelProperties, + name: { + serializedName: "name", type: { name: "String" } }, - adminUsername: { - serializedName: "adminUsername", + primary: { + serializedName: "properties.primary", type: { - name: "String" + name: "Boolean" } }, - adminPassword: { - serializedName: "adminPassword", + enableAcceleratedNetworking: { + serializedName: "properties.enableAcceleratedNetworking", type: { - name: "String" + name: "Boolean" } }, - customData: { - serializedName: "customData", + enableFpga: { + serializedName: "properties.enableFpga", type: { - name: "String" + name: "Boolean" } }, - windowsConfiguration: { - serializedName: "windowsConfiguration", + networkSecurityGroup: { + serializedName: "properties.networkSecurityGroup", type: { name: "Composite", - className: "WindowsConfiguration" + className: "SubResource" } }, - linuxConfiguration: { - serializedName: "linuxConfiguration", + dnsSettings: { + serializedName: "properties.dnsSettings", type: { name: "Composite", - className: "LinuxConfiguration" + className: "VirtualMachineScaleSetNetworkConfigurationDnsSettings" } }, - secrets: { - serializedName: "secrets", + ipConfigurations: { + serializedName: "properties.ipConfigurations", type: { name: "Sequence", element: { type: { name: "Composite", - className: "VaultSecretGroup" + className: "VirtualMachineScaleSetUpdateIPConfiguration" } } } + }, + enableIPForwarding: { + serializedName: "properties.enableIPForwarding", + type: { + name: "Boolean" + } } } } }; -export const VirtualMachineScaleSetUpdateOSProfile: msRest.CompositeMapper = { - serializedName: "VirtualMachineScaleSetUpdateOSProfile", +export const VirtualMachineScaleSetNetworkProfile: msRest.CompositeMapper = { + serializedName: "VirtualMachineScaleSetNetworkProfile", type: { name: "Composite", - className: "VirtualMachineScaleSetUpdateOSProfile", + className: "VirtualMachineScaleSetNetworkProfile", modelProperties: { - customData: { - serializedName: "customData", - type: { - name: "String" - } - }, - windowsConfiguration: { - serializedName: "windowsConfiguration", - type: { - name: "Composite", - className: "WindowsConfiguration" - } - }, - linuxConfiguration: { - serializedName: "linuxConfiguration", + healthProbe: { + serializedName: "healthProbe", type: { name: "Composite", - className: "LinuxConfiguration" + className: "ApiEntityReference" } }, - secrets: { - serializedName: "secrets", + networkInterfaceConfigurations: { + serializedName: "networkInterfaceConfigurations", type: { name: "Sequence", element: { type: { name: "Composite", - className: "VaultSecretGroup" + className: "VirtualMachineScaleSetNetworkConfiguration" } } } @@ -4313,155 +5795,112 @@ export const VirtualMachineScaleSetUpdateOSProfile: msRest.CompositeMapper = { } }; -export const VirtualMachineScaleSetManagedDiskParameters: msRest.CompositeMapper = { - serializedName: "VirtualMachineScaleSetManagedDiskParameters", +export const VirtualMachineScaleSetUpdateNetworkProfile: msRest.CompositeMapper = { + serializedName: "VirtualMachineScaleSetUpdateNetworkProfile", type: { name: "Composite", - className: "VirtualMachineScaleSetManagedDiskParameters", + className: "VirtualMachineScaleSetUpdateNetworkProfile", modelProperties: { - storageAccountType: { - serializedName: "storageAccountType", - type: { - name: "String" - } - }, - diskEncryptionSet: { - serializedName: "diskEncryptionSet", + healthProbe: { + serializedName: "healthProbe", type: { name: "Composite", - className: "DiskEncryptionSetParameters" - } - } - } - } -}; - -export const VirtualMachineScaleSetOSDisk: msRest.CompositeMapper = { - serializedName: "VirtualMachineScaleSetOSDisk", - type: { - name: "Composite", - className: "VirtualMachineScaleSetOSDisk", - modelProperties: { - name: { - serializedName: "name", - type: { - name: "String" - } - }, - caching: { - serializedName: "caching", - type: { - name: "Enum", - allowedValues: [ - "None", - "ReadOnly", - "ReadWrite" - ] + className: "ApiEntityReference" } }, - writeAcceleratorEnabled: { - serializedName: "writeAcceleratorEnabled", + networkInterfaceConfigurations: { + serializedName: "networkInterfaceConfigurations", type: { - name: "Boolean" + name: "Sequence", + element: { + type: { + name: "Composite", + className: "VirtualMachineScaleSetUpdateNetworkConfiguration" + } + } } - }, - createOption: { - required: true, - serializedName: "createOption", + } + } + } +}; + +export const VirtualMachineScaleSetExtension: msRest.CompositeMapper = { + serializedName: "VirtualMachineScaleSetExtension", + type: { + name: "Composite", + className: "VirtualMachineScaleSetExtension", + modelProperties: { + ...SubResourceReadOnly.type.modelProperties, + name: { + serializedName: "name", type: { name: "String" } }, - diffDiskSettings: { - serializedName: "diffDiskSettings", + type: { + readOnly: true, + serializedName: "type", type: { - name: "Composite", - className: "DiffDiskSettings" + name: "String" } }, - diskSizeGB: { - serializedName: "diskSizeGB", + forceUpdateTag: { + serializedName: "properties.forceUpdateTag", type: { - name: "Number" + name: "String" } }, - osType: { - serializedName: "osType", + publisher: { + serializedName: "properties.publisher", type: { - name: "Enum", - allowedValues: [ - "Windows", - "Linux" - ] + name: "String" } }, - image: { - serializedName: "image", + type1: { + serializedName: "properties.type", type: { - name: "Composite", - className: "VirtualHardDisk" + name: "String" } }, - vhdContainers: { - serializedName: "vhdContainers", + typeHandlerVersion: { + serializedName: "properties.typeHandlerVersion", type: { - name: "Sequence", - element: { - type: { - name: "String" - } - } + name: "String" } }, - managedDisk: { - serializedName: "managedDisk", + autoUpgradeMinorVersion: { + serializedName: "properties.autoUpgradeMinorVersion", type: { - name: "Composite", - className: "VirtualMachineScaleSetManagedDiskParameters" + name: "Boolean" } - } - } - } -}; - -export const VirtualMachineScaleSetUpdateOSDisk: msRest.CompositeMapper = { - serializedName: "VirtualMachineScaleSetUpdateOSDisk", - type: { - name: "Composite", - className: "VirtualMachineScaleSetUpdateOSDisk", - modelProperties: { - caching: { - serializedName: "caching", + }, + enableAutomaticUpgrade: { + serializedName: "properties.enableAutomaticUpgrade", type: { - name: "Enum", - allowedValues: [ - "None", - "ReadOnly", - "ReadWrite" - ] + name: "Boolean" } }, - writeAcceleratorEnabled: { - serializedName: "writeAcceleratorEnabled", + settings: { + serializedName: "properties.settings", type: { - name: "Boolean" + name: "Object" } }, - diskSizeGB: { - serializedName: "diskSizeGB", + protectedSettings: { + serializedName: "properties.protectedSettings", type: { - name: "Number" + name: "Object" } }, - image: { - serializedName: "image", + provisioningState: { + readOnly: true, + serializedName: "properties.provisioningState", type: { - name: "Composite", - className: "VirtualHardDisk" + name: "String" } }, - vhdContainers: { - serializedName: "vhdContainers", + provisionAfterExtensions: { + serializedName: "properties.provisionAfterExtensions", type: { name: "Sequence", element: { @@ -4470,118 +5909,94 @@ export const VirtualMachineScaleSetUpdateOSDisk: msRest.CompositeMapper = { } } } - }, - managedDisk: { - serializedName: "managedDisk", - type: { - name: "Composite", - className: "VirtualMachineScaleSetManagedDiskParameters" - } } } } }; -export const VirtualMachineScaleSetDataDisk: msRest.CompositeMapper = { - serializedName: "VirtualMachineScaleSetDataDisk", +export const VirtualMachineScaleSetExtensionUpdate: msRest.CompositeMapper = { + serializedName: "VirtualMachineScaleSetExtensionUpdate", type: { name: "Composite", - className: "VirtualMachineScaleSetDataDisk", + className: "VirtualMachineScaleSetExtensionUpdate", modelProperties: { + ...SubResourceReadOnly.type.modelProperties, name: { + readOnly: true, serializedName: "name", type: { name: "String" } }, - lun: { - required: true, - serializedName: "lun", + type: { + readOnly: true, + serializedName: "type", type: { - name: "Number" + name: "String" } }, - caching: { - serializedName: "caching", + forceUpdateTag: { + serializedName: "properties.forceUpdateTag", type: { - name: "Enum", - allowedValues: [ - "None", - "ReadOnly", - "ReadWrite" - ] + name: "String" } }, - writeAcceleratorEnabled: { - serializedName: "writeAcceleratorEnabled", + publisher: { + serializedName: "properties.publisher", type: { - name: "Boolean" + name: "String" } }, - createOption: { - required: true, - serializedName: "createOption", + type1: { + serializedName: "properties.type", type: { name: "String" } }, - diskSizeGB: { - serializedName: "diskSizeGB", + typeHandlerVersion: { + serializedName: "properties.typeHandlerVersion", type: { - name: "Number" + name: "String" } }, - managedDisk: { - serializedName: "managedDisk", + autoUpgradeMinorVersion: { + serializedName: "properties.autoUpgradeMinorVersion", type: { - name: "Composite", - className: "VirtualMachineScaleSetManagedDiskParameters" + name: "Boolean" } }, - diskIOPSReadWrite: { - serializedName: "diskIOPSReadWrite", + enableAutomaticUpgrade: { + serializedName: "properties.enableAutomaticUpgrade", type: { - name: "Number" + name: "Boolean" } }, - diskMBpsReadWrite: { - serializedName: "diskMBpsReadWrite", + settings: { + serializedName: "properties.settings", type: { - name: "Number" + name: "Object" } - } - } - } -}; - -export const VirtualMachineScaleSetStorageProfile: msRest.CompositeMapper = { - serializedName: "VirtualMachineScaleSetStorageProfile", - type: { - name: "Composite", - className: "VirtualMachineScaleSetStorageProfile", - modelProperties: { - imageReference: { - serializedName: "imageReference", + }, + protectedSettings: { + serializedName: "properties.protectedSettings", type: { - name: "Composite", - className: "ImageReference" + name: "Object" } }, - osDisk: { - serializedName: "osDisk", + provisioningState: { + readOnly: true, + serializedName: "properties.provisioningState", type: { - name: "Composite", - className: "VirtualMachineScaleSetOSDisk" + name: "String" } }, - dataDisks: { - serializedName: "dataDisks", + provisionAfterExtensions: { + serializedName: "properties.provisionAfterExtensions", type: { name: "Sequence", element: { type: { - name: "Composite", - className: "VirtualMachineScaleSetDataDisk" + name: "String" } } } @@ -4590,372 +6005,398 @@ export const VirtualMachineScaleSetStorageProfile: msRest.CompositeMapper = { } }; -export const VirtualMachineScaleSetUpdateStorageProfile: msRest.CompositeMapper = { - serializedName: "VirtualMachineScaleSetUpdateStorageProfile", +export const VirtualMachineScaleSetExtensionProfile: msRest.CompositeMapper = { + serializedName: "VirtualMachineScaleSetExtensionProfile", type: { name: "Composite", - className: "VirtualMachineScaleSetUpdateStorageProfile", + className: "VirtualMachineScaleSetExtensionProfile", modelProperties: { - imageReference: { - serializedName: "imageReference", - type: { - name: "Composite", - className: "ImageReference" - } - }, - osDisk: { - serializedName: "osDisk", - type: { - name: "Composite", - className: "VirtualMachineScaleSetUpdateOSDisk" - } - }, - dataDisks: { - serializedName: "dataDisks", + extensions: { + serializedName: "extensions", type: { name: "Sequence", element: { type: { name: "Composite", - className: "VirtualMachineScaleSetDataDisk" + className: "VirtualMachineScaleSetExtension" } } } + }, + extensionsTimeBudget: { + serializedName: "extensionsTimeBudget", + type: { + name: "String" + } } } } }; -export const ApiEntityReference: msRest.CompositeMapper = { - serializedName: "ApiEntityReference", +export const TerminateNotificationProfile: msRest.CompositeMapper = { + serializedName: "TerminateNotificationProfile", type: { name: "Composite", - className: "ApiEntityReference", + className: "TerminateNotificationProfile", modelProperties: { - id: { - serializedName: "id", + notBeforeTimeout: { + serializedName: "notBeforeTimeout", type: { name: "String" } + }, + enable: { + serializedName: "enable", + type: { + name: "Boolean" + } } } } }; -export const VirtualMachineScaleSetPublicIPAddressConfigurationDnsSettings: msRest.CompositeMapper = { - serializedName: "VirtualMachineScaleSetPublicIPAddressConfigurationDnsSettings", +export const ScheduledEventsProfile: msRest.CompositeMapper = { + serializedName: "ScheduledEventsProfile", type: { name: "Composite", - className: "VirtualMachineScaleSetPublicIPAddressConfigurationDnsSettings", + className: "ScheduledEventsProfile", modelProperties: { - domainNameLabel: { - required: true, - serializedName: "domainNameLabel", + terminateNotificationProfile: { + serializedName: "terminateNotificationProfile", type: { - name: "String" + name: "Composite", + className: "TerminateNotificationProfile" } } } } }; -export const VirtualMachineScaleSetIpTag: msRest.CompositeMapper = { - serializedName: "VirtualMachineScaleSetIpTag", +export const VirtualMachineScaleSetVMProfile: msRest.CompositeMapper = { + serializedName: "VirtualMachineScaleSetVMProfile", type: { name: "Composite", - className: "VirtualMachineScaleSetIpTag", + className: "VirtualMachineScaleSetVMProfile", modelProperties: { - ipTagType: { - serializedName: "ipTagType", + osProfile: { + serializedName: "osProfile", + type: { + name: "Composite", + className: "VirtualMachineScaleSetOSProfile" + } + }, + storageProfile: { + serializedName: "storageProfile", + type: { + name: "Composite", + className: "VirtualMachineScaleSetStorageProfile" + } + }, + networkProfile: { + serializedName: "networkProfile", + type: { + name: "Composite", + className: "VirtualMachineScaleSetNetworkProfile" + } + }, + securityProfile: { + serializedName: "securityProfile", + type: { + name: "Composite", + className: "SecurityProfile" + } + }, + diagnosticsProfile: { + serializedName: "diagnosticsProfile", + type: { + name: "Composite", + className: "DiagnosticsProfile" + } + }, + extensionProfile: { + serializedName: "extensionProfile", + type: { + name: "Composite", + className: "VirtualMachineScaleSetExtensionProfile" + } + }, + licenseType: { + serializedName: "licenseType", type: { name: "String" } }, - tag: { - serializedName: "tag", + priority: { + serializedName: "priority", type: { name: "String" } + }, + evictionPolicy: { + serializedName: "evictionPolicy", + type: { + name: "String" + } + }, + billingProfile: { + serializedName: "billingProfile", + type: { + name: "Composite", + className: "BillingProfile" + } + }, + scheduledEventsProfile: { + serializedName: "scheduledEventsProfile", + type: { + name: "Composite", + className: "ScheduledEventsProfile" + } } } } }; -export const VirtualMachineScaleSetPublicIPAddressConfiguration: msRest.CompositeMapper = { - serializedName: "VirtualMachineScaleSetPublicIPAddressConfiguration", +export const VirtualMachineScaleSetUpdateVMProfile: msRest.CompositeMapper = { + serializedName: "VirtualMachineScaleSetUpdateVMProfile", type: { name: "Composite", - className: "VirtualMachineScaleSetPublicIPAddressConfiguration", + className: "VirtualMachineScaleSetUpdateVMProfile", modelProperties: { - name: { - required: true, - serializedName: "name", + osProfile: { + serializedName: "osProfile", type: { - name: "String" + name: "Composite", + className: "VirtualMachineScaleSetUpdateOSProfile" } }, - idleTimeoutInMinutes: { - serializedName: "properties.idleTimeoutInMinutes", + storageProfile: { + serializedName: "storageProfile", type: { - name: "Number" + name: "Composite", + className: "VirtualMachineScaleSetUpdateStorageProfile" } }, - dnsSettings: { - serializedName: "properties.dnsSettings", + networkProfile: { + serializedName: "networkProfile", type: { name: "Composite", - className: "VirtualMachineScaleSetPublicIPAddressConfigurationDnsSettings" + className: "VirtualMachineScaleSetUpdateNetworkProfile" } }, - ipTags: { - serializedName: "properties.ipTags", + securityProfile: { + serializedName: "securityProfile", type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "VirtualMachineScaleSetIpTag" - } - } + name: "Composite", + className: "SecurityProfile" } }, - publicIPPrefix: { - serializedName: "properties.publicIPPrefix", + diagnosticsProfile: { + serializedName: "diagnosticsProfile", type: { name: "Composite", - className: "SubResource" + className: "DiagnosticsProfile" } }, - publicIPAddressVersion: { - serializedName: "properties.publicIPAddressVersion", + extensionProfile: { + serializedName: "extensionProfile", type: { - name: "String" + name: "Composite", + className: "VirtualMachineScaleSetExtensionProfile" } - } - } - } -}; - -export const VirtualMachineScaleSetUpdatePublicIPAddressConfiguration: msRest.CompositeMapper = { - serializedName: "VirtualMachineScaleSetUpdatePublicIPAddressConfiguration", - type: { - name: "Composite", - className: "VirtualMachineScaleSetUpdatePublicIPAddressConfiguration", - modelProperties: { - name: { - serializedName: "name", + }, + licenseType: { + serializedName: "licenseType", type: { name: "String" } }, - idleTimeoutInMinutes: { - serializedName: "properties.idleTimeoutInMinutes", + billingProfile: { + serializedName: "billingProfile", type: { - name: "Number" + name: "Composite", + className: "BillingProfile" } }, - dnsSettings: { - serializedName: "properties.dnsSettings", + scheduledEventsProfile: { + serializedName: "scheduledEventsProfile", type: { name: "Composite", - className: "VirtualMachineScaleSetPublicIPAddressConfigurationDnsSettings" + className: "ScheduledEventsProfile" } } } } }; -export const VirtualMachineScaleSetIPConfiguration: msRest.CompositeMapper = { - serializedName: "VirtualMachineScaleSetIPConfiguration", +export const VirtualMachineScaleSet: msRest.CompositeMapper = { + serializedName: "VirtualMachineScaleSet", type: { name: "Composite", - className: "VirtualMachineScaleSetIPConfiguration", + className: "VirtualMachineScaleSet", modelProperties: { - ...SubResource.type.modelProperties, - name: { - required: true, - serializedName: "name", + ...Resource.type.modelProperties, + sku: { + serializedName: "sku", type: { - name: "String" + name: "Composite", + className: "Sku" } }, - subnet: { - serializedName: "properties.subnet", + plan: { + serializedName: "plan", type: { name: "Composite", - className: "ApiEntityReference" + className: "Plan" } }, - primary: { - serializedName: "properties.primary", + upgradePolicy: { + serializedName: "properties.upgradePolicy", type: { - name: "Boolean" + name: "Composite", + className: "UpgradePolicy" } }, - publicIPAddressConfiguration: { - serializedName: "properties.publicIPAddressConfiguration", + automaticRepairsPolicy: { + serializedName: "properties.automaticRepairsPolicy", type: { name: "Composite", - className: "VirtualMachineScaleSetPublicIPAddressConfiguration" + className: "AutomaticRepairsPolicy" } }, - privateIPAddressVersion: { - serializedName: "properties.privateIPAddressVersion", + virtualMachineProfile: { + serializedName: "properties.virtualMachineProfile", + type: { + name: "Composite", + className: "VirtualMachineScaleSetVMProfile" + } + }, + provisioningState: { + readOnly: true, + serializedName: "properties.provisioningState", type: { name: "String" } }, - applicationGatewayBackendAddressPools: { - serializedName: "properties.applicationGatewayBackendAddressPools", + overprovision: { + serializedName: "properties.overprovision", type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "SubResource" - } - } + name: "Boolean" } }, - applicationSecurityGroups: { - serializedName: "properties.applicationSecurityGroups", + doNotRunExtensionsOnOverprovisionedVMs: { + serializedName: "properties.doNotRunExtensionsOnOverprovisionedVMs", type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "SubResource" - } - } + name: "Boolean" + } + }, + uniqueId: { + readOnly: true, + serializedName: "properties.uniqueId", + type: { + name: "String" } }, - loadBalancerBackendAddressPools: { - serializedName: "properties.loadBalancerBackendAddressPools", + singlePlacementGroup: { + serializedName: "properties.singlePlacementGroup", type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "SubResource" - } - } + name: "Boolean" } }, - loadBalancerInboundNatPools: { - serializedName: "properties.loadBalancerInboundNatPools", + zoneBalance: { + serializedName: "properties.zoneBalance", type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "SubResource" - } - } + name: "Boolean" } - } - } - } -}; - -export const VirtualMachineScaleSetUpdateIPConfiguration: msRest.CompositeMapper = { - serializedName: "VirtualMachineScaleSetUpdateIPConfiguration", - type: { - name: "Composite", - className: "VirtualMachineScaleSetUpdateIPConfiguration", - modelProperties: { - ...SubResource.type.modelProperties, - name: { - serializedName: "name", + }, + platformFaultDomainCount: { + serializedName: "properties.platformFaultDomainCount", type: { - name: "String" + name: "Number" } }, - subnet: { - serializedName: "properties.subnet", + proximityPlacementGroup: { + serializedName: "properties.proximityPlacementGroup", type: { name: "Composite", - className: "ApiEntityReference" + className: "SubResource" } }, - primary: { - serializedName: "properties.primary", + hostGroup: { + serializedName: "properties.hostGroup", type: { - name: "Boolean" + name: "Composite", + className: "SubResource" } }, - publicIPAddressConfiguration: { - serializedName: "properties.publicIPAddressConfiguration", + additionalCapabilities: { + serializedName: "properties.additionalCapabilities", type: { name: "Composite", - className: "VirtualMachineScaleSetUpdatePublicIPAddressConfiguration" + className: "AdditionalCapabilities" } }, - privateIPAddressVersion: { - serializedName: "properties.privateIPAddressVersion", + scaleInPolicy: { + serializedName: "properties.scaleInPolicy", type: { - name: "String" + name: "Composite", + className: "ScaleInPolicy" } }, - applicationGatewayBackendAddressPools: { - serializedName: "properties.applicationGatewayBackendAddressPools", + orchestrationMode: { + serializedName: "properties.orchestrationMode", type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "SubResource" - } - } + name: "String" } }, - applicationSecurityGroups: { - serializedName: "properties.applicationSecurityGroups", + identity: { + serializedName: "identity", type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "SubResource" - } - } + name: "Composite", + className: "VirtualMachineScaleSetIdentity" } }, - loadBalancerBackendAddressPools: { - serializedName: "properties.loadBalancerBackendAddressPools", + zones: { + serializedName: "zones", type: { name: "Sequence", element: { type: { - name: "Composite", - className: "SubResource" + name: "String" } } } }, - loadBalancerInboundNatPools: { - serializedName: "properties.loadBalancerInboundNatPools", + extendedLocation: { + serializedName: "extendedLocation", type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "SubResource" - } - } + name: "Composite", + className: "ExtendedLocation" } } } } }; -export const VirtualMachineScaleSetNetworkConfigurationDnsSettings: msRest.CompositeMapper = { - serializedName: "VirtualMachineScaleSetNetworkConfigurationDnsSettings", +export const VirtualMachineScaleSetVMReimageParameters: msRest.CompositeMapper = { + serializedName: "VirtualMachineScaleSetVMReimageParameters", type: { name: "Composite", - className: "VirtualMachineScaleSetNetworkConfigurationDnsSettings", + className: "VirtualMachineScaleSetVMReimageParameters", modelProperties: { - dnsServers: { - serializedName: "dnsServers", + ...VirtualMachineReimageParameters.type.modelProperties + } + } +}; + +export const VirtualMachineScaleSetReimageParameters: msRest.CompositeMapper = { + serializedName: "VirtualMachineScaleSetReimageParameters", + type: { + name: "Composite", + className: "VirtualMachineScaleSetReimageParameters", + modelProperties: { + ...VirtualMachineScaleSetVMReimageParameters.type.modelProperties, + instanceIds: { + serializedName: "instanceIds", type: { name: "Sequence", element: { @@ -4969,151 +6410,133 @@ export const VirtualMachineScaleSetNetworkConfigurationDnsSettings: msRest.Compo } }; -export const VirtualMachineScaleSetNetworkConfiguration: msRest.CompositeMapper = { - serializedName: "VirtualMachineScaleSetNetworkConfiguration", +export const VirtualMachineScaleSetUpdate: msRest.CompositeMapper = { + serializedName: "VirtualMachineScaleSetUpdate", type: { name: "Composite", - className: "VirtualMachineScaleSetNetworkConfiguration", + className: "VirtualMachineScaleSetUpdate", modelProperties: { - ...SubResource.type.modelProperties, - name: { - required: true, - serializedName: "name", + ...UpdateResource.type.modelProperties, + sku: { + serializedName: "sku", type: { - name: "String" + name: "Composite", + className: "Sku" } }, - primary: { - serializedName: "properties.primary", + plan: { + serializedName: "plan", type: { - name: "Boolean" + name: "Composite", + className: "Plan" } }, - enableAcceleratedNetworking: { - serializedName: "properties.enableAcceleratedNetworking", + upgradePolicy: { + serializedName: "properties.upgradePolicy", type: { - name: "Boolean" + name: "Composite", + className: "UpgradePolicy" } }, - networkSecurityGroup: { - serializedName: "properties.networkSecurityGroup", + automaticRepairsPolicy: { + serializedName: "properties.automaticRepairsPolicy", type: { name: "Composite", - className: "SubResource" + className: "AutomaticRepairsPolicy" } }, - dnsSettings: { - serializedName: "properties.dnsSettings", + virtualMachineProfile: { + serializedName: "properties.virtualMachineProfile", type: { name: "Composite", - className: "VirtualMachineScaleSetNetworkConfigurationDnsSettings" + className: "VirtualMachineScaleSetUpdateVMProfile" } }, - ipConfigurations: { - required: true, - serializedName: "properties.ipConfigurations", + overprovision: { + serializedName: "properties.overprovision", type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "VirtualMachineScaleSetIPConfiguration" - } - } + name: "Boolean" } }, - enableIPForwarding: { - serializedName: "properties.enableIPForwarding", + doNotRunExtensionsOnOverprovisionedVMs: { + serializedName: "properties.doNotRunExtensionsOnOverprovisionedVMs", type: { name: "Boolean" } - } - } - } -}; - -export const VirtualMachineScaleSetUpdateNetworkConfiguration: msRest.CompositeMapper = { - serializedName: "VirtualMachineScaleSetUpdateNetworkConfiguration", - type: { - name: "Composite", - className: "VirtualMachineScaleSetUpdateNetworkConfiguration", - modelProperties: { - ...SubResource.type.modelProperties, - name: { - serializedName: "name", + }, + singlePlacementGroup: { + serializedName: "properties.singlePlacementGroup", type: { - name: "String" + name: "Boolean" } }, - primary: { - serializedName: "properties.primary", + additionalCapabilities: { + serializedName: "properties.additionalCapabilities", type: { - name: "Boolean" + name: "Composite", + className: "AdditionalCapabilities" } }, - enableAcceleratedNetworking: { - serializedName: "properties.enableAcceleratedNetworking", + scaleInPolicy: { + serializedName: "properties.scaleInPolicy", type: { - name: "Boolean" + name: "Composite", + className: "ScaleInPolicy" } }, - networkSecurityGroup: { - serializedName: "properties.networkSecurityGroup", + proximityPlacementGroup: { + serializedName: "properties.proximityPlacementGroup", type: { name: "Composite", className: "SubResource" } }, - dnsSettings: { - serializedName: "properties.dnsSettings", + identity: { + serializedName: "identity", type: { name: "Composite", - className: "VirtualMachineScaleSetNetworkConfigurationDnsSettings" + className: "VirtualMachineScaleSetIdentity" } - }, - ipConfigurations: { - serializedName: "properties.ipConfigurations", + } + } + } +}; + +export const VirtualMachineScaleSetVMInstanceIDs: msRest.CompositeMapper = { + serializedName: "VirtualMachineScaleSetVMInstanceIDs", + type: { + name: "Composite", + className: "VirtualMachineScaleSetVMInstanceIDs", + modelProperties: { + instanceIds: { + serializedName: "instanceIds", type: { name: "Sequence", element: { - type: { - name: "Composite", - className: "VirtualMachineScaleSetUpdateIPConfiguration" + type: { + name: "String" } } } - }, - enableIPForwarding: { - serializedName: "properties.enableIPForwarding", - type: { - name: "Boolean" - } } } } }; -export const VirtualMachineScaleSetNetworkProfile: msRest.CompositeMapper = { - serializedName: "VirtualMachineScaleSetNetworkProfile", +export const VirtualMachineScaleSetVMInstanceRequiredIDs: msRest.CompositeMapper = { + serializedName: "VirtualMachineScaleSetVMInstanceRequiredIDs", type: { name: "Composite", - className: "VirtualMachineScaleSetNetworkProfile", + className: "VirtualMachineScaleSetVMInstanceRequiredIDs", modelProperties: { - healthProbe: { - serializedName: "healthProbe", - type: { - name: "Composite", - className: "ApiEntityReference" - } - }, - networkInterfaceConfigurations: { - serializedName: "networkInterfaceConfigurations", + instanceIds: { + required: true, + serializedName: "instanceIds", type: { name: "Sequence", element: { type: { - name: "Composite", - className: "VirtualMachineScaleSetNetworkConfiguration" + name: "String" } } } @@ -5122,27 +6545,45 @@ export const VirtualMachineScaleSetNetworkProfile: msRest.CompositeMapper = { } }; -export const VirtualMachineScaleSetUpdateNetworkProfile: msRest.CompositeMapper = { - serializedName: "VirtualMachineScaleSetUpdateNetworkProfile", +export const VirtualMachineStatusCodeCount: msRest.CompositeMapper = { + serializedName: "VirtualMachineStatusCodeCount", type: { name: "Composite", - className: "VirtualMachineScaleSetUpdateNetworkProfile", + className: "VirtualMachineStatusCodeCount", modelProperties: { - healthProbe: { - serializedName: "healthProbe", + code: { + readOnly: true, + serializedName: "code", type: { - name: "Composite", - className: "ApiEntityReference" + name: "String" } }, - networkInterfaceConfigurations: { - serializedName: "networkInterfaceConfigurations", + count: { + readOnly: true, + serializedName: "count", + type: { + name: "Number" + } + } + } + } +}; + +export const VirtualMachineScaleSetInstanceViewStatusesSummary: msRest.CompositeMapper = { + serializedName: "VirtualMachineScaleSetInstanceViewStatusesSummary", + type: { + name: "Composite", + className: "VirtualMachineScaleSetInstanceViewStatusesSummary", + modelProperties: { + statusesSummary: { + readOnly: true, + serializedName: "statusesSummary", type: { name: "Sequence", element: { type: { name: "Composite", - className: "VirtualMachineScaleSetUpdateNetworkConfiguration" + className: "VirtualMachineStatusCodeCount" } } } @@ -5151,88 +6592,28 @@ export const VirtualMachineScaleSetUpdateNetworkProfile: msRest.CompositeMapper } }; -export const VirtualMachineScaleSetExtension: msRest.CompositeMapper = { - serializedName: "VirtualMachineScaleSetExtension", +export const VirtualMachineScaleSetVMExtensionsSummary: msRest.CompositeMapper = { + serializedName: "VirtualMachineScaleSetVMExtensionsSummary", type: { name: "Composite", - className: "VirtualMachineScaleSetExtension", + className: "VirtualMachineScaleSetVMExtensionsSummary", modelProperties: { - ...SubResourceReadOnly.type.modelProperties, name: { - serializedName: "name", - type: { - name: "String" - } - }, - type: { readOnly: true, - serializedName: "type", - type: { - name: "String" - } - }, - forceUpdateTag: { - serializedName: "properties.forceUpdateTag", - type: { - name: "String" - } - }, - publisher: { - serializedName: "properties.publisher", - type: { - name: "String" - } - }, - type1: { - serializedName: "properties.type", - type: { - name: "String" - } - }, - typeHandlerVersion: { - serializedName: "properties.typeHandlerVersion", + serializedName: "name", type: { name: "String" } }, - autoUpgradeMinorVersion: { - serializedName: "properties.autoUpgradeMinorVersion", - type: { - name: "Boolean" - } - }, - enableAutomaticUpgrade: { - serializedName: "properties.enableAutomaticUpgrade", - type: { - name: "Boolean" - } - }, - settings: { - serializedName: "properties.settings", - type: { - name: "Object" - } - }, - protectedSettings: { - serializedName: "properties.protectedSettings", - type: { - name: "Object" - } - }, - provisioningState: { + statusesSummary: { readOnly: true, - serializedName: "properties.provisioningState", - type: { - name: "String" - } - }, - provisionAfterExtensions: { - serializedName: "properties.provisionAfterExtensions", + serializedName: "statusesSummary", type: { name: "Sequence", element: { type: { - name: "String" + name: "Composite", + className: "VirtualMachineStatusCodeCount" } } } @@ -5241,693 +6622,674 @@ export const VirtualMachineScaleSetExtension: msRest.CompositeMapper = { } }; -export const VirtualMachineScaleSetExtensionUpdate: msRest.CompositeMapper = { - serializedName: "VirtualMachineScaleSetExtensionUpdate", +export const OrchestrationServiceSummary: msRest.CompositeMapper = { + serializedName: "OrchestrationServiceSummary", type: { name: "Composite", - className: "VirtualMachineScaleSetExtensionUpdate", + className: "OrchestrationServiceSummary", modelProperties: { - ...SubResourceReadOnly.type.modelProperties, - name: { + serviceName: { readOnly: true, - serializedName: "name", + serializedName: "serviceName", type: { name: "String" } }, - type: { + serviceState: { readOnly: true, - serializedName: "type", - type: { - name: "String" - } - }, - forceUpdateTag: { - serializedName: "properties.forceUpdateTag", - type: { - name: "String" - } - }, - publisher: { - serializedName: "properties.publisher", - type: { - name: "String" - } - }, - type1: { - serializedName: "properties.type", - type: { - name: "String" - } - }, - typeHandlerVersion: { - serializedName: "properties.typeHandlerVersion", + serializedName: "serviceState", type: { name: "String" } - }, - autoUpgradeMinorVersion: { - serializedName: "properties.autoUpgradeMinorVersion", - type: { - name: "Boolean" - } - }, - enableAutomaticUpgrade: { - serializedName: "properties.enableAutomaticUpgrade", - type: { - name: "Boolean" - } - }, - settings: { - serializedName: "properties.settings", - type: { - name: "Object" - } - }, - protectedSettings: { - serializedName: "properties.protectedSettings", + } + } + } +}; + +export const VirtualMachineScaleSetInstanceView: msRest.CompositeMapper = { + serializedName: "VirtualMachineScaleSetInstanceView", + type: { + name: "Composite", + className: "VirtualMachineScaleSetInstanceView", + modelProperties: { + virtualMachine: { + readOnly: true, + serializedName: "virtualMachine", type: { - name: "Object" + name: "Composite", + className: "VirtualMachineScaleSetInstanceViewStatusesSummary" } }, - provisioningState: { + extensions: { readOnly: true, - serializedName: "properties.provisioningState", + serializedName: "extensions", type: { - name: "String" + name: "Sequence", + element: { + type: { + name: "Composite", + className: "VirtualMachineScaleSetVMExtensionsSummary" + } + } } }, - provisionAfterExtensions: { - serializedName: "properties.provisionAfterExtensions", + statuses: { + serializedName: "statuses", type: { name: "Sequence", element: { type: { - name: "String" + name: "Composite", + className: "InstanceViewStatus" } } } - } - } - } -}; - -export const VirtualMachineScaleSetExtensionProfile: msRest.CompositeMapper = { - serializedName: "VirtualMachineScaleSetExtensionProfile", - type: { - name: "Composite", - className: "VirtualMachineScaleSetExtensionProfile", - modelProperties: { - extensions: { - serializedName: "extensions", + }, + orchestrationServices: { + readOnly: true, + serializedName: "orchestrationServices", type: { name: "Sequence", element: { type: { name: "Composite", - className: "VirtualMachineScaleSetExtension" + className: "OrchestrationServiceSummary" } } } - }, - extensionsTimeBudget: { - serializedName: "extensionsTimeBudget", - type: { - name: "String" - } } } } }; -export const TerminateNotificationProfile: msRest.CompositeMapper = { - serializedName: "TerminateNotificationProfile", +export const VirtualMachineScaleSetSkuCapacity: msRest.CompositeMapper = { + serializedName: "VirtualMachineScaleSetSkuCapacity", type: { name: "Composite", - className: "TerminateNotificationProfile", + className: "VirtualMachineScaleSetSkuCapacity", modelProperties: { - notBeforeTimeout: { - serializedName: "notBeforeTimeout", + minimum: { + readOnly: true, + serializedName: "minimum", type: { - name: "String" + name: "Number" } }, - enable: { - serializedName: "enable", + maximum: { + readOnly: true, + serializedName: "maximum", type: { - name: "Boolean" + name: "Number" + } + }, + defaultCapacity: { + readOnly: true, + serializedName: "defaultCapacity", + type: { + name: "Number" + } + }, + scaleType: { + readOnly: true, + serializedName: "scaleType", + type: { + name: "Enum", + allowedValues: [ + "Automatic", + "None" + ] } } } } }; -export const ScheduledEventsProfile: msRest.CompositeMapper = { - serializedName: "ScheduledEventsProfile", +export const VirtualMachineScaleSetSku: msRest.CompositeMapper = { + serializedName: "VirtualMachineScaleSetSku", type: { name: "Composite", - className: "ScheduledEventsProfile", + className: "VirtualMachineScaleSetSku", modelProperties: { - terminateNotificationProfile: { - serializedName: "terminateNotificationProfile", + resourceType: { + readOnly: true, + serializedName: "resourceType", + type: { + name: "String" + } + }, + sku: { + readOnly: true, + serializedName: "sku", type: { name: "Composite", - className: "TerminateNotificationProfile" + className: "Sku" + } + }, + capacity: { + readOnly: true, + serializedName: "capacity", + type: { + name: "Composite", + className: "VirtualMachineScaleSetSkuCapacity" } } } } }; -export const VirtualMachineScaleSetVMProfile: msRest.CompositeMapper = { - serializedName: "VirtualMachineScaleSetVMProfile", +export const RollbackStatusInfo: msRest.CompositeMapper = { + serializedName: "RollbackStatusInfo", type: { name: "Composite", - className: "VirtualMachineScaleSetVMProfile", + className: "RollbackStatusInfo", modelProperties: { - osProfile: { - serializedName: "osProfile", - type: { - name: "Composite", - className: "VirtualMachineScaleSetOSProfile" - } - }, - storageProfile: { - serializedName: "storageProfile", + successfullyRolledbackInstanceCount: { + readOnly: true, + serializedName: "successfullyRolledbackInstanceCount", type: { - name: "Composite", - className: "VirtualMachineScaleSetStorageProfile" + name: "Number" } }, - networkProfile: { - serializedName: "networkProfile", + failedRolledbackInstanceCount: { + readOnly: true, + serializedName: "failedRolledbackInstanceCount", type: { - name: "Composite", - className: "VirtualMachineScaleSetNetworkProfile" + name: "Number" } }, - securityProfile: { - serializedName: "securityProfile", + rollbackError: { + readOnly: true, + serializedName: "rollbackError", type: { name: "Composite", - className: "SecurityProfile" + className: "ApiError" } - }, - diagnosticsProfile: { - serializedName: "diagnosticsProfile", + } + } + } +}; + +export const UpgradeOperationHistoryStatus: msRest.CompositeMapper = { + serializedName: "UpgradeOperationHistoryStatus", + type: { + name: "Composite", + className: "UpgradeOperationHistoryStatus", + modelProperties: { + code: { + readOnly: true, + serializedName: "code", type: { - name: "Composite", - className: "DiagnosticsProfile" + name: "Enum", + allowedValues: [ + "RollingForward", + "Cancelled", + "Completed", + "Faulted" + ] } }, - extensionProfile: { - serializedName: "extensionProfile", + startTime: { + readOnly: true, + serializedName: "startTime", type: { - name: "Composite", - className: "VirtualMachineScaleSetExtensionProfile" + name: "DateTime" } }, - licenseType: { - serializedName: "licenseType", + endTime: { + readOnly: true, + serializedName: "endTime", type: { - name: "String" + name: "DateTime" } - }, - priority: { - serializedName: "priority", + } + } + } +}; + +export const RollingUpgradeProgressInfo: msRest.CompositeMapper = { + serializedName: "RollingUpgradeProgressInfo", + type: { + name: "Composite", + className: "RollingUpgradeProgressInfo", + modelProperties: { + successfulInstanceCount: { + readOnly: true, + serializedName: "successfulInstanceCount", type: { - name: "String" + name: "Number" } }, - evictionPolicy: { - serializedName: "evictionPolicy", + failedInstanceCount: { + readOnly: true, + serializedName: "failedInstanceCount", type: { - name: "String" + name: "Number" } }, - billingProfile: { - serializedName: "billingProfile", + inProgressInstanceCount: { + readOnly: true, + serializedName: "inProgressInstanceCount", type: { - name: "Composite", - className: "BillingProfile" + name: "Number" } }, - scheduledEventsProfile: { - serializedName: "scheduledEventsProfile", + pendingInstanceCount: { + readOnly: true, + serializedName: "pendingInstanceCount", type: { - name: "Composite", - className: "ScheduledEventsProfile" + name: "Number" } } } } }; -export const VirtualMachineScaleSetUpdateVMProfile: msRest.CompositeMapper = { - serializedName: "VirtualMachineScaleSetUpdateVMProfile", +export const UpgradeOperationHistoricalStatusInfoProperties: msRest.CompositeMapper = { + serializedName: "UpgradeOperationHistoricalStatusInfoProperties", type: { name: "Composite", - className: "VirtualMachineScaleSetUpdateVMProfile", + className: "UpgradeOperationHistoricalStatusInfoProperties", modelProperties: { - osProfile: { - serializedName: "osProfile", - type: { - name: "Composite", - className: "VirtualMachineScaleSetUpdateOSProfile" - } - }, - storageProfile: { - serializedName: "storageProfile", - type: { - name: "Composite", - className: "VirtualMachineScaleSetUpdateStorageProfile" - } - }, - networkProfile: { - serializedName: "networkProfile", - type: { - name: "Composite", - className: "VirtualMachineScaleSetUpdateNetworkProfile" - } - }, - securityProfile: { - serializedName: "securityProfile", + runningStatus: { + readOnly: true, + serializedName: "runningStatus", type: { name: "Composite", - className: "SecurityProfile" + className: "UpgradeOperationHistoryStatus" } }, - diagnosticsProfile: { - serializedName: "diagnosticsProfile", + progress: { + readOnly: true, + serializedName: "progress", type: { name: "Composite", - className: "DiagnosticsProfile" + className: "RollingUpgradeProgressInfo" } }, - extensionProfile: { - serializedName: "extensionProfile", + error: { + readOnly: true, + serializedName: "error", type: { name: "Composite", - className: "VirtualMachineScaleSetExtensionProfile" + className: "ApiError" } }, - licenseType: { - serializedName: "licenseType", + startedBy: { + readOnly: true, + serializedName: "startedBy", type: { - name: "String" + name: "Enum", + allowedValues: [ + "Unknown", + "User", + "Platform" + ] } }, - billingProfile: { - serializedName: "billingProfile", + targetImageReference: { + readOnly: true, + serializedName: "targetImageReference", type: { name: "Composite", - className: "BillingProfile" + className: "ImageReference" } }, - scheduledEventsProfile: { - serializedName: "scheduledEventsProfile", + rollbackInfo: { + readOnly: true, + serializedName: "rollbackInfo", type: { name: "Composite", - className: "ScheduledEventsProfile" + className: "RollbackStatusInfo" } } } } }; -export const VirtualMachineScaleSet: msRest.CompositeMapper = { - serializedName: "VirtualMachineScaleSet", +export const UpgradeOperationHistoricalStatusInfo: msRest.CompositeMapper = { + serializedName: "UpgradeOperationHistoricalStatusInfo", type: { name: "Composite", - className: "VirtualMachineScaleSet", + className: "UpgradeOperationHistoricalStatusInfo", modelProperties: { - ...Resource.type.modelProperties, - sku: { - serializedName: "sku", - type: { - name: "Composite", - className: "Sku" - } - }, - plan: { - serializedName: "plan", - type: { - name: "Composite", - className: "Plan" - } - }, - upgradePolicy: { - serializedName: "properties.upgradePolicy", - type: { - name: "Composite", - className: "UpgradePolicy" - } - }, - automaticRepairsPolicy: { - serializedName: "properties.automaticRepairsPolicy", + properties: { + readOnly: true, + serializedName: "properties", type: { name: "Composite", - className: "AutomaticRepairsPolicy" + className: "UpgradeOperationHistoricalStatusInfoProperties" } }, - virtualMachineProfile: { - serializedName: "properties.virtualMachineProfile", + type: { + readOnly: true, + serializedName: "type", type: { - name: "Composite", - className: "VirtualMachineScaleSetVMProfile" + name: "String" } }, - provisioningState: { + location: { readOnly: true, - serializedName: "properties.provisioningState", + serializedName: "location", type: { name: "String" } - }, - overprovision: { - serializedName: "properties.overprovision", + } + } + } +}; + +export const VirtualMachineScaleSetVMInstanceView: msRest.CompositeMapper = { + serializedName: "VirtualMachineScaleSetVMInstanceView", + type: { + name: "Composite", + className: "VirtualMachineScaleSetVMInstanceView", + modelProperties: { + platformUpdateDomain: { + serializedName: "platformUpdateDomain", type: { - name: "Boolean" + name: "Number" } }, - doNotRunExtensionsOnOverprovisionedVMs: { - serializedName: "properties.doNotRunExtensionsOnOverprovisionedVMs", + platformFaultDomain: { + serializedName: "platformFaultDomain", type: { - name: "Boolean" + name: "Number" } }, - uniqueId: { - readOnly: true, - serializedName: "properties.uniqueId", + rdpThumbPrint: { + serializedName: "rdpThumbPrint", type: { name: "String" } }, - singlePlacementGroup: { - serializedName: "properties.singlePlacementGroup", - type: { - name: "Boolean" - } - }, - zoneBalance: { - serializedName: "properties.zoneBalance", - type: { - name: "Boolean" - } - }, - platformFaultDomainCount: { - serializedName: "properties.platformFaultDomainCount", + vmAgent: { + serializedName: "vmAgent", type: { - name: "Number" + name: "Composite", + className: "VirtualMachineAgentInstanceView" } }, - proximityPlacementGroup: { - serializedName: "properties.proximityPlacementGroup", + maintenanceRedeployStatus: { + serializedName: "maintenanceRedeployStatus", type: { name: "Composite", - className: "SubResource" + className: "MaintenanceRedeployStatus" } }, - hostGroup: { - serializedName: "properties.hostGroup", + disks: { + serializedName: "disks", type: { - name: "Composite", - className: "SubResource" + name: "Sequence", + element: { + type: { + name: "Composite", + className: "DiskInstanceView" + } + } } }, - additionalCapabilities: { - serializedName: "properties.additionalCapabilities", + extensions: { + serializedName: "extensions", type: { - name: "Composite", - className: "AdditionalCapabilities" + name: "Sequence", + element: { + type: { + name: "Composite", + className: "VirtualMachineExtensionInstanceView" + } + } } }, - scaleInPolicy: { - serializedName: "properties.scaleInPolicy", + vmHealth: { + readOnly: true, + serializedName: "vmHealth", type: { name: "Composite", - className: "ScaleInPolicy" + className: "VirtualMachineHealthStatus" } }, - identity: { - serializedName: "identity", + bootDiagnostics: { + serializedName: "bootDiagnostics", type: { name: "Composite", - className: "VirtualMachineScaleSetIdentity" + className: "BootDiagnosticsInstanceView" } }, - zones: { - serializedName: "zones", + statuses: { + serializedName: "statuses", type: { name: "Sequence", element: { type: { - name: "String" + name: "Composite", + className: "InstanceViewStatus" } } } + }, + assignedHost: { + readOnly: true, + serializedName: "assignedHost", + type: { + name: "String" + } + }, + placementGroupId: { + serializedName: "placementGroupId", + type: { + name: "String" + } } } } }; -export const VirtualMachineScaleSetVMReimageParameters: msRest.CompositeMapper = { - serializedName: "VirtualMachineScaleSetVMReimageParameters", +export const VirtualMachineScaleSetVMNetworkProfileConfiguration: msRest.CompositeMapper = { + serializedName: "VirtualMachineScaleSetVMNetworkProfileConfiguration", type: { name: "Composite", - className: "VirtualMachineScaleSetVMReimageParameters", + className: "VirtualMachineScaleSetVMNetworkProfileConfiguration", modelProperties: { - ...VirtualMachineReimageParameters.type.modelProperties + networkInterfaceConfigurations: { + serializedName: "networkInterfaceConfigurations", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "VirtualMachineScaleSetNetworkConfiguration" + } + } + } + } } } }; -export const VirtualMachineScaleSetReimageParameters: msRest.CompositeMapper = { - serializedName: "VirtualMachineScaleSetReimageParameters", +export const VirtualMachineScaleSetVMProtectionPolicy: msRest.CompositeMapper = { + serializedName: "VirtualMachineScaleSetVMProtectionPolicy", type: { name: "Composite", - className: "VirtualMachineScaleSetReimageParameters", + className: "VirtualMachineScaleSetVMProtectionPolicy", modelProperties: { - ...VirtualMachineScaleSetVMReimageParameters.type.modelProperties, - instanceIds: { - serializedName: "instanceIds", + protectFromScaleIn: { + serializedName: "protectFromScaleIn", type: { - name: "Sequence", - element: { - type: { - name: "String" - } - } + name: "Boolean" + } + }, + protectFromScaleSetActions: { + serializedName: "protectFromScaleSetActions", + type: { + name: "Boolean" } } } } }; -export const VirtualMachineScaleSetUpdate: msRest.CompositeMapper = { - serializedName: "VirtualMachineScaleSetUpdate", +export const VirtualMachineScaleSetVM: msRest.CompositeMapper = { + serializedName: "VirtualMachineScaleSetVM", type: { name: "Composite", - className: "VirtualMachineScaleSetUpdate", + className: "VirtualMachineScaleSetVM", modelProperties: { - ...UpdateResource.type.modelProperties, + ...Resource.type.modelProperties, + instanceId: { + readOnly: true, + serializedName: "instanceId", + type: { + name: "String" + } + }, sku: { + readOnly: true, serializedName: "sku", type: { name: "Composite", className: "Sku" } }, - plan: { - serializedName: "plan", + latestModelApplied: { + readOnly: true, + serializedName: "properties.latestModelApplied", type: { - name: "Composite", - className: "Plan" + name: "Boolean" } }, - upgradePolicy: { - serializedName: "properties.upgradePolicy", + vmId: { + readOnly: true, + serializedName: "properties.vmId", + type: { + name: "String" + } + }, + instanceView: { + readOnly: true, + serializedName: "properties.instanceView", type: { name: "Composite", - className: "UpgradePolicy" + className: "VirtualMachineScaleSetVMInstanceView" } }, - automaticRepairsPolicy: { - serializedName: "properties.automaticRepairsPolicy", + hardwareProfile: { + serializedName: "properties.hardwareProfile", type: { name: "Composite", - className: "AutomaticRepairsPolicy" + className: "HardwareProfile" } }, - virtualMachineProfile: { - serializedName: "properties.virtualMachineProfile", + storageProfile: { + serializedName: "properties.storageProfile", type: { name: "Composite", - className: "VirtualMachineScaleSetUpdateVMProfile" + className: "StorageProfile" } }, - overprovision: { - serializedName: "properties.overprovision", + additionalCapabilities: { + serializedName: "properties.additionalCapabilities", type: { - name: "Boolean" + name: "Composite", + className: "AdditionalCapabilities" } }, - doNotRunExtensionsOnOverprovisionedVMs: { - serializedName: "properties.doNotRunExtensionsOnOverprovisionedVMs", + osProfile: { + serializedName: "properties.osProfile", type: { - name: "Boolean" + name: "Composite", + className: "OSProfile" } }, - singlePlacementGroup: { - serializedName: "properties.singlePlacementGroup", + securityProfile: { + serializedName: "properties.securityProfile", type: { - name: "Boolean" + name: "Composite", + className: "SecurityProfile" } }, - additionalCapabilities: { - serializedName: "properties.additionalCapabilities", + networkProfile: { + serializedName: "properties.networkProfile", type: { name: "Composite", - className: "AdditionalCapabilities" + className: "NetworkProfile" } }, - scaleInPolicy: { - serializedName: "properties.scaleInPolicy", + networkProfileConfiguration: { + serializedName: "properties.networkProfileConfiguration", type: { name: "Composite", - className: "ScaleInPolicy" + className: "VirtualMachineScaleSetVMNetworkProfileConfiguration" } }, - proximityPlacementGroup: { - serializedName: "properties.proximityPlacementGroup", + diagnosticsProfile: { + serializedName: "properties.diagnosticsProfile", type: { name: "Composite", - className: "SubResource" + className: "DiagnosticsProfile" } }, - identity: { - serializedName: "identity", + availabilitySet: { + serializedName: "properties.availabilitySet", type: { name: "Composite", - className: "VirtualMachineScaleSetIdentity" + className: "SubResource" } - } - } - } -}; - -export const VirtualMachineScaleSetVMInstanceIDs: msRest.CompositeMapper = { - serializedName: "VirtualMachineScaleSetVMInstanceIDs", - type: { - name: "Composite", - className: "VirtualMachineScaleSetVMInstanceIDs", - modelProperties: { - instanceIds: { - serializedName: "instanceIds", + }, + provisioningState: { + readOnly: true, + serializedName: "properties.provisioningState", type: { - name: "Sequence", - element: { - type: { - name: "String" - } - } + name: "String" } - } - } - } -}; - -export const VirtualMachineScaleSetVMInstanceRequiredIDs: msRest.CompositeMapper = { - serializedName: "VirtualMachineScaleSetVMInstanceRequiredIDs", - type: { - name: "Composite", - className: "VirtualMachineScaleSetVMInstanceRequiredIDs", - modelProperties: { - instanceIds: { - required: true, - serializedName: "instanceIds", + }, + licenseType: { + serializedName: "properties.licenseType", type: { - name: "Sequence", - element: { - type: { - name: "String" - } - } + name: "String" } - } - } - } -}; - -export const VirtualMachineStatusCodeCount: msRest.CompositeMapper = { - serializedName: "VirtualMachineStatusCodeCount", - type: { - name: "Composite", - className: "VirtualMachineStatusCodeCount", - modelProperties: { - code: { + }, + modelDefinitionApplied: { readOnly: true, - serializedName: "code", + serializedName: "properties.modelDefinitionApplied", type: { name: "String" } }, - count: { - readOnly: true, - serializedName: "count", + protectionPolicy: { + serializedName: "properties.protectionPolicy", type: { - name: "Number" + name: "Composite", + className: "VirtualMachineScaleSetVMProtectionPolicy" } - } - } - } -}; - -export const VirtualMachineScaleSetInstanceViewStatusesSummary: msRest.CompositeMapper = { - serializedName: "VirtualMachineScaleSetInstanceViewStatusesSummary", - type: { - name: "Composite", - className: "VirtualMachineScaleSetInstanceViewStatusesSummary", - modelProperties: { - statusesSummary: { + }, + plan: { + serializedName: "plan", + type: { + name: "Composite", + className: "Plan" + } + }, + resources: { readOnly: true, - serializedName: "statusesSummary", + serializedName: "resources", type: { name: "Sequence", element: { type: { name: "Composite", - className: "VirtualMachineStatusCodeCount" + className: "VirtualMachineExtension" } } } - } - } - } -}; - -export const VirtualMachineScaleSetVMExtensionsSummary: msRest.CompositeMapper = { - serializedName: "VirtualMachineScaleSetVMExtensionsSummary", - type: { - name: "Composite", - className: "VirtualMachineScaleSetVMExtensionsSummary", - modelProperties: { - name: { - readOnly: true, - serializedName: "name", - type: { - name: "String" - } }, - statusesSummary: { + zones: { readOnly: true, - serializedName: "statusesSummary", + serializedName: "zones", type: { name: "Sequence", element: { type: { - name: "Composite", - className: "VirtualMachineStatusCodeCount" + name: "String" } } } @@ -5936,441 +7298,485 @@ export const VirtualMachineScaleSetVMExtensionsSummary: msRest.CompositeMapper = } }; -export const OrchestrationServiceSummary: msRest.CompositeMapper = { - serializedName: "OrchestrationServiceSummary", +export const RollingUpgradeRunningStatus: msRest.CompositeMapper = { + serializedName: "RollingUpgradeRunningStatus", type: { name: "Composite", - className: "OrchestrationServiceSummary", + className: "RollingUpgradeRunningStatus", modelProperties: { - serviceName: { + code: { readOnly: true, - serializedName: "serviceName", + serializedName: "code", type: { - name: "String" + name: "Enum", + allowedValues: [ + "RollingForward", + "Cancelled", + "Completed", + "Faulted" + ] } }, - serviceState: { - readOnly: true, - serializedName: "serviceState", - type: { - name: "String" - } - } - } - } -}; - -export const VirtualMachineScaleSetInstanceView: msRest.CompositeMapper = { - serializedName: "VirtualMachineScaleSetInstanceView", - type: { - name: "Composite", - className: "VirtualMachineScaleSetInstanceView", - modelProperties: { - virtualMachine: { + startTime: { readOnly: true, - serializedName: "virtualMachine", + serializedName: "startTime", type: { - name: "Composite", - className: "VirtualMachineScaleSetInstanceViewStatusesSummary" + name: "DateTime" } }, - extensions: { + lastAction: { readOnly: true, - serializedName: "extensions", - type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "VirtualMachineScaleSetVMExtensionsSummary" - } - } - } - }, - statuses: { - serializedName: "statuses", + serializedName: "lastAction", type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "InstanceViewStatus" - } - } + name: "Enum", + allowedValues: [ + "Start", + "Cancel" + ] } }, - orchestrationServices: { + lastActionTime: { readOnly: true, - serializedName: "orchestrationServices", + serializedName: "lastActionTime", type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "OrchestrationServiceSummary" - } - } + name: "DateTime" } } } } }; -export const VirtualMachineScaleSetSkuCapacity: msRest.CompositeMapper = { - serializedName: "VirtualMachineScaleSetSkuCapacity", +export const RollingUpgradeStatusInfo: msRest.CompositeMapper = { + serializedName: "RollingUpgradeStatusInfo", type: { name: "Composite", - className: "VirtualMachineScaleSetSkuCapacity", + className: "RollingUpgradeStatusInfo", modelProperties: { - minimum: { + ...Resource.type.modelProperties, + policy: { readOnly: true, - serializedName: "minimum", + serializedName: "properties.policy", type: { - name: "Number" + name: "Composite", + className: "RollingUpgradePolicy" } }, - maximum: { + runningStatus: { readOnly: true, - serializedName: "maximum", + serializedName: "properties.runningStatus", type: { - name: "Number" + name: "Composite", + className: "RollingUpgradeRunningStatus" } }, - defaultCapacity: { + progress: { readOnly: true, - serializedName: "defaultCapacity", + serializedName: "properties.progress", type: { - name: "Number" + name: "Composite", + className: "RollingUpgradeProgressInfo" } }, - scaleType: { + error: { readOnly: true, - serializedName: "scaleType", + serializedName: "properties.error", type: { - name: "Enum", - allowedValues: [ - "Automatic", - "None" - ] + name: "Composite", + className: "ApiError" } } } } }; -export const VirtualMachineScaleSetSku: msRest.CompositeMapper = { - serializedName: "VirtualMachineScaleSetSku", +export const RecoveryWalkResponse: msRest.CompositeMapper = { + serializedName: "RecoveryWalkResponse", type: { name: "Composite", - className: "VirtualMachineScaleSetSku", + className: "RecoveryWalkResponse", modelProperties: { - resourceType: { - readOnly: true, - serializedName: "resourceType", - type: { - name: "String" - } - }, - sku: { + walkPerformed: { readOnly: true, - serializedName: "sku", + serializedName: "walkPerformed", type: { - name: "Composite", - className: "Sku" + name: "Boolean" } }, - capacity: { + nextPlatformUpdateDomain: { readOnly: true, - serializedName: "capacity", + serializedName: "nextPlatformUpdateDomain", type: { - name: "Composite", - className: "VirtualMachineScaleSetSkuCapacity" + name: "Number" } } } } }; -export const RollbackStatusInfo: msRest.CompositeMapper = { - serializedName: "RollbackStatusInfo", +export const LogAnalyticsInputBase: msRest.CompositeMapper = { + serializedName: "LogAnalyticsInputBase", type: { name: "Composite", - className: "RollbackStatusInfo", + className: "LogAnalyticsInputBase", modelProperties: { - successfullyRolledbackInstanceCount: { - readOnly: true, - serializedName: "successfullyRolledbackInstanceCount", + blobContainerSasUri: { + required: true, + serializedName: "blobContainerSasUri", type: { - name: "Number" + name: "String" } }, - failedRolledbackInstanceCount: { - readOnly: true, - serializedName: "failedRolledbackInstanceCount", + fromTime: { + required: true, + serializedName: "fromTime", type: { - name: "Number" + name: "DateTime" } }, - rollbackError: { - readOnly: true, - serializedName: "rollbackError", + toTime: { + required: true, + serializedName: "toTime", type: { - name: "Composite", - className: "ApiError" + name: "DateTime" + } + }, + groupByThrottlePolicy: { + serializedName: "groupByThrottlePolicy", + type: { + name: "Boolean" + } + }, + groupByOperationName: { + serializedName: "groupByOperationName", + type: { + name: "Boolean" + } + }, + groupByResourceName: { + serializedName: "groupByResourceName", + type: { + name: "Boolean" + } + }, + groupByClientApplicationId: { + serializedName: "groupByClientApplicationId", + type: { + name: "Boolean" + } + }, + groupByUserAgent: { + serializedName: "groupByUserAgent", + type: { + name: "Boolean" } } } } }; -export const UpgradeOperationHistoryStatus: msRest.CompositeMapper = { - serializedName: "UpgradeOperationHistoryStatus", +export const RequestRateByIntervalInput: msRest.CompositeMapper = { + serializedName: "RequestRateByIntervalInput", type: { name: "Composite", - className: "UpgradeOperationHistoryStatus", + className: "RequestRateByIntervalInput", modelProperties: { - code: { - readOnly: true, - serializedName: "code", + ...LogAnalyticsInputBase.type.modelProperties, + intervalLength: { + required: true, + serializedName: "intervalLength", type: { name: "Enum", allowedValues: [ - "RollingForward", - "Cancelled", - "Completed", - "Faulted" + "ThreeMins", + "FiveMins", + "ThirtyMins", + "SixtyMins" ] } - }, - startTime: { + } + } + } +}; + +export const ThrottledRequestsInput: msRest.CompositeMapper = { + serializedName: "ThrottledRequestsInput", + type: { + name: "Composite", + className: "ThrottledRequestsInput", + modelProperties: { + ...LogAnalyticsInputBase.type.modelProperties + } + } +}; + +export const LogAnalyticsOutput: msRest.CompositeMapper = { + serializedName: "LogAnalyticsOutput", + type: { + name: "Composite", + className: "LogAnalyticsOutput", + modelProperties: { + output: { readOnly: true, - serializedName: "startTime", + serializedName: "output", type: { - name: "DateTime" + name: "String" } - }, - endTime: { + } + } + } +}; + +export const LogAnalyticsOperationResult: msRest.CompositeMapper = { + serializedName: "LogAnalyticsOperationResult", + type: { + name: "Composite", + className: "LogAnalyticsOperationResult", + modelProperties: { + properties: { readOnly: true, - serializedName: "endTime", + serializedName: "properties", type: { - name: "DateTime" + name: "Composite", + className: "LogAnalyticsOutput" } } } } }; -export const RollingUpgradeProgressInfo: msRest.CompositeMapper = { - serializedName: "RollingUpgradeProgressInfo", +export const VMScaleSetConvertToSinglePlacementGroupInput: msRest.CompositeMapper = { + serializedName: "VMScaleSetConvertToSinglePlacementGroupInput", type: { name: "Composite", - className: "RollingUpgradeProgressInfo", + className: "VMScaleSetConvertToSinglePlacementGroupInput", modelProperties: { - successfulInstanceCount: { - readOnly: true, - serializedName: "successfulInstanceCount", + activePlacementGroupId: { + serializedName: "activePlacementGroupId", type: { - name: "Number" + name: "String" } - }, - failedInstanceCount: { - readOnly: true, - serializedName: "failedInstanceCount", + } + } + } +}; + +export const OrchestrationServiceStateInput: msRest.CompositeMapper = { + serializedName: "OrchestrationServiceStateInput", + type: { + name: "Composite", + className: "OrchestrationServiceStateInput", + modelProperties: { + serviceName: { + required: true, + serializedName: "serviceName", type: { - name: "Number" + name: "String" } }, - inProgressInstanceCount: { - readOnly: true, - serializedName: "inProgressInstanceCount", + action: { + required: true, + serializedName: "action", type: { - name: "Number" + name: "String" + } + } + } + } +}; + +export const RunCommandInputParameter: msRest.CompositeMapper = { + serializedName: "RunCommandInputParameter", + type: { + name: "Composite", + className: "RunCommandInputParameter", + modelProperties: { + name: { + required: true, + serializedName: "name", + type: { + name: "String" } }, - pendingInstanceCount: { - readOnly: true, - serializedName: "pendingInstanceCount", + value: { + required: true, + serializedName: "value", type: { - name: "Number" + name: "String" } } } } }; -export const UpgradeOperationHistoricalStatusInfoProperties: msRest.CompositeMapper = { - serializedName: "UpgradeOperationHistoricalStatusInfoProperties", +export const RunCommandInput: msRest.CompositeMapper = { + serializedName: "RunCommandInput", type: { name: "Composite", - className: "UpgradeOperationHistoricalStatusInfoProperties", + className: "RunCommandInput", modelProperties: { - runningStatus: { - readOnly: true, - serializedName: "runningStatus", - type: { - name: "Composite", - className: "UpgradeOperationHistoryStatus" - } - }, - progress: { - readOnly: true, - serializedName: "progress", - type: { - name: "Composite", - className: "RollingUpgradeProgressInfo" - } - }, - error: { - readOnly: true, - serializedName: "error", - type: { - name: "Composite", - className: "ApiError" - } - }, - startedBy: { - readOnly: true, - serializedName: "startedBy", + commandId: { + required: true, + serializedName: "commandId", type: { - name: "Enum", - allowedValues: [ - "Unknown", - "User", - "Platform" - ] + name: "String" } }, - targetImageReference: { - readOnly: true, - serializedName: "targetImageReference", + script: { + serializedName: "script", type: { - name: "Composite", - className: "ImageReference" + name: "Sequence", + element: { + type: { + name: "String" + } + } } }, - rollbackInfo: { - readOnly: true, - serializedName: "rollbackInfo", + parameters: { + serializedName: "parameters", type: { - name: "Composite", - className: "RollbackStatusInfo" + name: "Sequence", + element: { + type: { + name: "Composite", + className: "RunCommandInputParameter" + } + } } } } } }; -export const UpgradeOperationHistoricalStatusInfo: msRest.CompositeMapper = { - serializedName: "UpgradeOperationHistoricalStatusInfo", +export const RunCommandParameterDefinition: msRest.CompositeMapper = { + serializedName: "RunCommandParameterDefinition", type: { name: "Composite", - className: "UpgradeOperationHistoricalStatusInfo", + className: "RunCommandParameterDefinition", modelProperties: { - properties: { - readOnly: true, - serializedName: "properties", + name: { + required: true, + serializedName: "name", type: { - name: "Composite", - className: "UpgradeOperationHistoricalStatusInfoProperties" + name: "String" } }, type: { - readOnly: true, + required: true, serializedName: "type", type: { name: "String" } }, - location: { - readOnly: true, - serializedName: "location", + defaultValue: { + serializedName: "defaultValue", type: { name: "String" } + }, + required: { + serializedName: "required", + defaultValue: false, + type: { + name: "Boolean" + } } } } }; -export const VirtualMachineScaleSetVMInstanceView: msRest.CompositeMapper = { - serializedName: "VirtualMachineScaleSetVMInstanceView", +export const RunCommandDocumentBase: msRest.CompositeMapper = { + serializedName: "RunCommandDocumentBase", type: { name: "Composite", - className: "VirtualMachineScaleSetVMInstanceView", + className: "RunCommandDocumentBase", modelProperties: { - platformUpdateDomain: { - serializedName: "platformUpdateDomain", + schema: { + required: true, + serializedName: "$schema", type: { - name: "Number" + name: "String" } }, - platformFaultDomain: { - serializedName: "platformFaultDomain", + id: { + required: true, + serializedName: "id", type: { - name: "Number" + name: "String" } }, - rdpThumbPrint: { - serializedName: "rdpThumbPrint", + osType: { + required: true, + serializedName: "osType", type: { - name: "String" + name: "Enum", + allowedValues: [ + "Windows", + "Linux" + ] } }, - vmAgent: { - serializedName: "vmAgent", + label: { + required: true, + serializedName: "label", type: { - name: "Composite", - className: "VirtualMachineAgentInstanceView" + name: "String" } }, - maintenanceRedeployStatus: { - serializedName: "maintenanceRedeployStatus", + description: { + required: true, + serializedName: "description", type: { - name: "Composite", - className: "MaintenanceRedeployStatus" + name: "String" } - }, - disks: { - serializedName: "disks", + } + } + } +}; + +export const RunCommandDocument: msRest.CompositeMapper = { + serializedName: "RunCommandDocument", + type: { + name: "Composite", + className: "RunCommandDocument", + modelProperties: { + ...RunCommandDocumentBase.type.modelProperties, + script: { + required: true, + serializedName: "script", type: { name: "Sequence", element: { type: { - name: "Composite", - className: "DiskInstanceView" + name: "String" } } } }, - extensions: { - serializedName: "extensions", + parameters: { + serializedName: "parameters", type: { name: "Sequence", element: { type: { name: "Composite", - className: "VirtualMachineExtensionInstanceView" + className: "RunCommandParameterDefinition" } } } - }, - vmHealth: { - readOnly: true, - serializedName: "vmHealth", - type: { - name: "Composite", - className: "VirtualMachineHealthStatus" - } - }, - bootDiagnostics: { - serializedName: "bootDiagnostics", - type: { - name: "Composite", - className: "BootDiagnosticsInstanceView" - } - }, - statuses: { - serializedName: "statuses", + } + } + } +}; + +export const RunCommandResult: msRest.CompositeMapper = { + serializedName: "RunCommandResult", + type: { + name: "Composite", + className: "RunCommandResult", + modelProperties: { + value: { + serializedName: "value", type: { name: "Sequence", element: { @@ -6380,38 +7786,67 @@ export const VirtualMachineScaleSetVMInstanceView: msRest.CompositeMapper = { } } } - }, - assignedHost: { - readOnly: true, - serializedName: "assignedHost", - type: { - name: "String" - } - }, - placementGroupId: { - serializedName: "placementGroupId", - type: { - name: "String" - } } } } }; -export const VirtualMachineScaleSetVMNetworkProfileConfiguration: msRest.CompositeMapper = { - serializedName: "VirtualMachineScaleSetVMNetworkProfileConfiguration", +export const VirtualMachineRunCommandInstanceView: msRest.CompositeMapper = { + serializedName: "VirtualMachineRunCommandInstanceView", type: { name: "Composite", - className: "VirtualMachineScaleSetVMNetworkProfileConfiguration", + className: "VirtualMachineRunCommandInstanceView", modelProperties: { - networkInterfaceConfigurations: { - serializedName: "networkInterfaceConfigurations", + executionState: { + serializedName: "executionState", + type: { + name: "String" + } + }, + executionMessage: { + serializedName: "executionMessage", + type: { + name: "String" + } + }, + exitCode: { + serializedName: "exitCode", + type: { + name: "Number" + } + }, + output: { + serializedName: "output", + type: { + name: "String" + } + }, + error: { + serializedName: "error", + type: { + name: "String" + } + }, + startTime: { + serializedName: "startTime", + type: { + name: "DateTime" + } + }, + endTime: { + serializedName: "endTime", + type: { + name: "DateTime" + } + }, + statuses: { + serializedName: "statuses", type: { name: "Sequence", element: { type: { name: "Composite", - className: "VirtualMachineScaleSetNetworkConfiguration" + className: "InstanceViewStatus" } } } @@ -6420,133 +7855,107 @@ export const VirtualMachineScaleSetVMNetworkProfileConfiguration: msRest.Composi } }; -export const VirtualMachineScaleSetVMProtectionPolicy: msRest.CompositeMapper = { - serializedName: "VirtualMachineScaleSetVMProtectionPolicy", +export const VirtualMachineRunCommandScriptSource: msRest.CompositeMapper = { + serializedName: "VirtualMachineRunCommandScriptSource", type: { name: "Composite", - className: "VirtualMachineScaleSetVMProtectionPolicy", + className: "VirtualMachineRunCommandScriptSource", modelProperties: { - protectFromScaleIn: { - serializedName: "protectFromScaleIn", + script: { + serializedName: "script", type: { - name: "Boolean" + name: "String" } }, - protectFromScaleSetActions: { - serializedName: "protectFromScaleSetActions", + scriptUri: { + serializedName: "scriptUri", type: { - name: "Boolean" + name: "String" + } + }, + commandId: { + serializedName: "commandId", + type: { + name: "String" } } } } }; -export const VirtualMachineScaleSetVM: msRest.CompositeMapper = { - serializedName: "VirtualMachineScaleSetVM", +export const VirtualMachineRunCommand: msRest.CompositeMapper = { + serializedName: "VirtualMachineRunCommand", type: { name: "Composite", - className: "VirtualMachineScaleSetVM", + className: "VirtualMachineRunCommand", modelProperties: { ...Resource.type.modelProperties, - instanceId: { - readOnly: true, - serializedName: "instanceId", - type: { - name: "String" - } - }, - sku: { - readOnly: true, - serializedName: "sku", - type: { - name: "Composite", - className: "Sku" - } - }, - latestModelApplied: { - readOnly: true, - serializedName: "properties.latestModelApplied", - type: { - name: "Boolean" - } - }, - vmId: { - readOnly: true, - serializedName: "properties.vmId", - type: { - name: "String" - } - }, - instanceView: { - readOnly: true, - serializedName: "properties.instanceView", - type: { - name: "Composite", - className: "VirtualMachineScaleSetVMInstanceView" - } - }, - hardwareProfile: { - serializedName: "properties.hardwareProfile", + source: { + serializedName: "properties.source", type: { name: "Composite", - className: "HardwareProfile" + className: "VirtualMachineRunCommandScriptSource" } }, - storageProfile: { - serializedName: "properties.storageProfile", + parameters: { + serializedName: "properties.parameters", type: { - name: "Composite", - className: "StorageProfile" + name: "Sequence", + element: { + type: { + name: "Composite", + className: "RunCommandInputParameter" + } + } } }, - additionalCapabilities: { - serializedName: "properties.additionalCapabilities", + protectedParameters: { + serializedName: "properties.protectedParameters", type: { - name: "Composite", - className: "AdditionalCapabilities" + name: "Sequence", + element: { + type: { + name: "Composite", + className: "RunCommandInputParameter" + } + } } }, - osProfile: { - serializedName: "properties.osProfile", + asyncExecution: { + serializedName: "properties.asyncExecution", + defaultValue: false, type: { - name: "Composite", - className: "OSProfile" + name: "Boolean" } }, - securityProfile: { - serializedName: "properties.securityProfile", + runAsUser: { + serializedName: "properties.runAsUser", type: { - name: "Composite", - className: "SecurityProfile" + name: "String" } }, - networkProfile: { - serializedName: "properties.networkProfile", + runAsPassword: { + serializedName: "properties.runAsPassword", type: { - name: "Composite", - className: "NetworkProfile" + name: "String" } }, - networkProfileConfiguration: { - serializedName: "properties.networkProfileConfiguration", + timeoutInSeconds: { + serializedName: "properties.timeoutInSeconds", type: { - name: "Composite", - className: "VirtualMachineScaleSetVMNetworkProfileConfiguration" + name: "Number" } }, - diagnosticsProfile: { - serializedName: "properties.diagnosticsProfile", + outputBlobUri: { + serializedName: "properties.outputBlobUri", type: { - name: "Composite", - className: "DiagnosticsProfile" + name: "String" } }, - availabilitySet: { - serializedName: "properties.availabilitySet", + errorBlobUri: { + serializedName: "properties.errorBlobUri", type: { - name: "Composite", - className: "SubResource" + name: "String" } }, provisioningState: { @@ -6556,375 +7965,432 @@ export const VirtualMachineScaleSetVM: msRest.CompositeMapper = { name: "String" } }, - licenseType: { - serializedName: "properties.licenseType", - type: { - name: "String" - } - }, - modelDefinitionApplied: { + instanceView: { readOnly: true, - serializedName: "properties.modelDefinitionApplied", - type: { - name: "String" - } - }, - protectionPolicy: { - serializedName: "properties.protectionPolicy", + serializedName: "properties.instanceView", type: { name: "Composite", - className: "VirtualMachineScaleSetVMProtectionPolicy" + className: "VirtualMachineRunCommandInstanceView" } - }, - plan: { - serializedName: "plan", + } + } + } +}; + +export const VirtualMachineRunCommandUpdate: msRest.CompositeMapper = { + serializedName: "VirtualMachineRunCommandUpdate", + type: { + name: "Composite", + className: "VirtualMachineRunCommandUpdate", + modelProperties: { + ...UpdateResource.type.modelProperties, + source: { + serializedName: "properties.source", type: { name: "Composite", - className: "Plan" + className: "VirtualMachineRunCommandScriptSource" } }, - resources: { - readOnly: true, - serializedName: "resources", + parameters: { + serializedName: "properties.parameters", type: { name: "Sequence", element: { type: { name: "Composite", - className: "VirtualMachineExtension" + className: "RunCommandInputParameter" } } } }, - zones: { - readOnly: true, - serializedName: "zones", + protectedParameters: { + serializedName: "properties.protectedParameters", type: { name: "Sequence", element: { type: { - name: "String" + name: "Composite", + className: "RunCommandInputParameter" } } } - } - } - } -}; - -export const RollingUpgradeRunningStatus: msRest.CompositeMapper = { - serializedName: "RollingUpgradeRunningStatus", - type: { - name: "Composite", - className: "RollingUpgradeRunningStatus", - modelProperties: { - code: { - readOnly: true, - serializedName: "code", + }, + asyncExecution: { + serializedName: "properties.asyncExecution", + defaultValue: false, type: { - name: "Enum", - allowedValues: [ - "RollingForward", - "Cancelled", - "Completed", - "Faulted" - ] + name: "Boolean" } }, - startTime: { - readOnly: true, - serializedName: "startTime", + runAsUser: { + serializedName: "properties.runAsUser", type: { - name: "DateTime" + name: "String" } }, - lastAction: { + runAsPassword: { + serializedName: "properties.runAsPassword", + type: { + name: "String" + } + }, + timeoutInSeconds: { + serializedName: "properties.timeoutInSeconds", + type: { + name: "Number" + } + }, + outputBlobUri: { + serializedName: "properties.outputBlobUri", + type: { + name: "String" + } + }, + errorBlobUri: { + serializedName: "properties.errorBlobUri", + type: { + name: "String" + } + }, + provisioningState: { readOnly: true, - serializedName: "lastAction", + serializedName: "properties.provisioningState", type: { - name: "Enum", - allowedValues: [ - "Start", - "Cancel" - ] + name: "String" } }, - lastActionTime: { + instanceView: { readOnly: true, - serializedName: "lastActionTime", + serializedName: "properties.instanceView", type: { - name: "DateTime" + name: "Composite", + className: "VirtualMachineRunCommandInstanceView" } } } } }; -export const RollingUpgradeStatusInfo: msRest.CompositeMapper = { - serializedName: "RollingUpgradeStatusInfo", +export const ResourceSkuCapacity: msRest.CompositeMapper = { + serializedName: "ResourceSkuCapacity", type: { name: "Composite", - className: "RollingUpgradeStatusInfo", + className: "ResourceSkuCapacity", modelProperties: { - ...Resource.type.modelProperties, - policy: { + minimum: { readOnly: true, - serializedName: "properties.policy", + serializedName: "minimum", type: { - name: "Composite", - className: "RollingUpgradePolicy" + name: "Number" } }, - runningStatus: { + maximum: { readOnly: true, - serializedName: "properties.runningStatus", + serializedName: "maximum", type: { - name: "Composite", - className: "RollingUpgradeRunningStatus" + name: "Number" } }, - progress: { + default: { readOnly: true, - serializedName: "properties.progress", + serializedName: "default", type: { - name: "Composite", - className: "RollingUpgradeProgressInfo" + name: "Number" } }, - error: { + scaleType: { readOnly: true, - serializedName: "properties.error", + serializedName: "scaleType", type: { - name: "Composite", - className: "ApiError" + name: "Enum", + allowedValues: [ + "Automatic", + "Manual", + "None" + ] } } } } }; -export const RecoveryWalkResponse: msRest.CompositeMapper = { - serializedName: "RecoveryWalkResponse", +export const ResourceSkuCosts: msRest.CompositeMapper = { + serializedName: "ResourceSkuCosts", type: { name: "Composite", - className: "RecoveryWalkResponse", + className: "ResourceSkuCosts", modelProperties: { - walkPerformed: { + meterID: { readOnly: true, - serializedName: "walkPerformed", + serializedName: "meterID", type: { - name: "Boolean" + name: "String" } }, - nextPlatformUpdateDomain: { + quantity: { readOnly: true, - serializedName: "nextPlatformUpdateDomain", + serializedName: "quantity", type: { name: "Number" } + }, + extendedUnit: { + readOnly: true, + serializedName: "extendedUnit", + type: { + name: "String" + } } } } }; -export const LogAnalyticsInputBase: msRest.CompositeMapper = { - serializedName: "LogAnalyticsInputBase", +export const ResourceSkuCapabilities: msRest.CompositeMapper = { + serializedName: "ResourceSkuCapabilities", type: { name: "Composite", - className: "LogAnalyticsInputBase", + className: "ResourceSkuCapabilities", modelProperties: { - blobContainerSasUri: { - required: true, - serializedName: "blobContainerSasUri", + name: { + readOnly: true, + serializedName: "name", type: { name: "String" } }, - fromTime: { - required: true, - serializedName: "fromTime", - type: { - name: "DateTime" - } - }, - toTime: { - required: true, - serializedName: "toTime", - type: { - name: "DateTime" - } - }, - groupByThrottlePolicy: { - serializedName: "groupByThrottlePolicy", - type: { - name: "Boolean" - } - }, - groupByOperationName: { - serializedName: "groupByOperationName", - type: { - name: "Boolean" - } - }, - groupByResourceName: { - serializedName: "groupByResourceName", + value: { + readOnly: true, + serializedName: "value", type: { - name: "Boolean" + name: "String" } } } } }; -export const RequestRateByIntervalInput: msRest.CompositeMapper = { - serializedName: "RequestRateByIntervalInput", +export const ResourceSkuZoneDetails: msRest.CompositeMapper = { + serializedName: "ResourceSkuZoneDetails", type: { name: "Composite", - className: "RequestRateByIntervalInput", + className: "ResourceSkuZoneDetails", modelProperties: { - ...LogAnalyticsInputBase.type.modelProperties, - intervalLength: { - required: true, - serializedName: "intervalLength", + name: { + readOnly: true, + serializedName: "name", type: { - name: "Enum", - allowedValues: [ - "ThreeMins", - "FiveMins", - "ThirtyMins", - "SixtyMins" - ] + name: "Sequence", + element: { + type: { + name: "String" + } + } + } + }, + capabilities: { + readOnly: true, + serializedName: "capabilities", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "ResourceSkuCapabilities" + } + } } } } } }; -export const ThrottledRequestsInput: msRest.CompositeMapper = { - serializedName: "ThrottledRequestsInput", - type: { - name: "Composite", - className: "ThrottledRequestsInput", - modelProperties: { - ...LogAnalyticsInputBase.type.modelProperties - } - } -}; - -export const LogAnalyticsOutput: msRest.CompositeMapper = { - serializedName: "LogAnalyticsOutput", +export const ResourceSkuRestrictionInfo: msRest.CompositeMapper = { + serializedName: "ResourceSkuRestrictionInfo", type: { name: "Composite", - className: "LogAnalyticsOutput", + className: "ResourceSkuRestrictionInfo", modelProperties: { - output: { + locations: { readOnly: true, - serializedName: "output", + serializedName: "locations", type: { - name: "String" + name: "Sequence", + element: { + type: { + name: "String" + } + } + } + }, + zones: { + readOnly: true, + serializedName: "zones", + type: { + name: "Sequence", + element: { + type: { + name: "String" + } + } } } } } }; -export const LogAnalyticsOperationResult: msRest.CompositeMapper = { - serializedName: "LogAnalyticsOperationResult", +export const ResourceSkuRestrictions: msRest.CompositeMapper = { + serializedName: "ResourceSkuRestrictions", type: { name: "Composite", - className: "LogAnalyticsOperationResult", + className: "ResourceSkuRestrictions", modelProperties: { - properties: { + type: { readOnly: true, - serializedName: "properties", + serializedName: "type", + type: { + name: "Enum", + allowedValues: [ + "Location", + "Zone" + ] + } + }, + values: { + readOnly: true, + serializedName: "values", + type: { + name: "Sequence", + element: { + type: { + name: "String" + } + } + } + }, + restrictionInfo: { + readOnly: true, + serializedName: "restrictionInfo", type: { name: "Composite", - className: "LogAnalyticsOutput" + className: "ResourceSkuRestrictionInfo" } - } - } - } -}; - -export const VMScaleSetConvertToSinglePlacementGroupInput: msRest.CompositeMapper = { - serializedName: "VMScaleSetConvertToSinglePlacementGroupInput", - type: { - name: "Composite", - className: "VMScaleSetConvertToSinglePlacementGroupInput", - modelProperties: { - activePlacementGroupId: { - serializedName: "activePlacementGroupId", + }, + reasonCode: { + readOnly: true, + serializedName: "reasonCode", type: { - name: "String" + name: "Enum", + allowedValues: [ + "QuotaId", + "NotAvailableForSubscription" + ] } } } } }; -export const OrchestrationServiceStateInput: msRest.CompositeMapper = { - serializedName: "OrchestrationServiceStateInput", +export const ResourceSkuLocationInfo: msRest.CompositeMapper = { + serializedName: "ResourceSkuLocationInfo", type: { name: "Composite", - className: "OrchestrationServiceStateInput", + className: "ResourceSkuLocationInfo", modelProperties: { - serviceName: { - required: true, - serializedName: "serviceName", + location: { + readOnly: true, + serializedName: "location", type: { name: "String" } }, - action: { - required: true, - serializedName: "action", + zones: { + readOnly: true, + serializedName: "zones", type: { - name: "String" + name: "Sequence", + element: { + type: { + name: "String" + } + } + } + }, + zoneDetails: { + readOnly: true, + serializedName: "zoneDetails", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "ResourceSkuZoneDetails" + } + } } } } } }; -export const RunCommandInputParameter: msRest.CompositeMapper = { - serializedName: "RunCommandInputParameter", +export const ResourceSku: msRest.CompositeMapper = { + serializedName: "ResourceSku", type: { name: "Composite", - className: "RunCommandInputParameter", + className: "ResourceSku", modelProperties: { + resourceType: { + readOnly: true, + serializedName: "resourceType", + type: { + name: "String" + } + }, name: { - required: true, + readOnly: true, serializedName: "name", type: { name: "String" } }, - value: { - required: true, - serializedName: "value", + tier: { + readOnly: true, + serializedName: "tier", type: { name: "String" } - } - } - } -}; - -export const RunCommandInput: msRest.CompositeMapper = { - serializedName: "RunCommandInput", - type: { - name: "Composite", - className: "RunCommandInput", - modelProperties: { - commandId: { - required: true, - serializedName: "commandId", + }, + size: { + readOnly: true, + serializedName: "size", type: { name: "String" } }, - script: { - serializedName: "script", + family: { + readOnly: true, + serializedName: "family", + type: { + name: "String" + } + }, + kind: { + readOnly: true, + serializedName: "kind", + type: { + name: "String" + } + }, + capacity: { + readOnly: true, + serializedName: "capacity", + type: { + name: "Composite", + className: "ResourceSkuCapacity" + } + }, + locations: { + readOnly: true, + serializedName: "locations", type: { name: "Sequence", element: { @@ -6934,14 +8400,66 @@ export const RunCommandInput: msRest.CompositeMapper = { } } }, - parameters: { - serializedName: "parameters", + locationInfo: { + readOnly: true, + serializedName: "locationInfo", type: { name: "Sequence", element: { type: { name: "Composite", - className: "RunCommandInputParameter" + className: "ResourceSkuLocationInfo" + } + } + } + }, + apiVersions: { + readOnly: true, + serializedName: "apiVersions", + type: { + name: "Sequence", + element: { + type: { + name: "String" + } + } + } + }, + costs: { + readOnly: true, + serializedName: "costs", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "ResourceSkuCosts" + } + } + } + }, + capabilities: { + readOnly: true, + serializedName: "capabilities", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "ResourceSkuCapabilities" + } + } + } + }, + restrictions: { + readOnly: true, + serializedName: "restrictions", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "ResourceSkuRestrictions" } } } @@ -6950,215 +8468,209 @@ export const RunCommandInput: msRest.CompositeMapper = { } }; -export const RunCommandParameterDefinition: msRest.CompositeMapper = { - serializedName: "RunCommandParameterDefinition", +export const ProxyOnlyResource: msRest.CompositeMapper = { + serializedName: "ProxyOnlyResource", type: { name: "Composite", - className: "RunCommandParameterDefinition", + className: "ProxyOnlyResource", modelProperties: { + id: { + readOnly: true, + serializedName: "id", + type: { + name: "String" + } + }, name: { - required: true, + readOnly: true, serializedName: "name", type: { name: "String" } }, type: { - required: true, + readOnly: true, serializedName: "type", type: { name: "String" } - }, - defaultValue: { - serializedName: "defaultValue", + } + } + } +}; + +export const DiskSku: msRest.CompositeMapper = { + serializedName: "DiskSku", + type: { + name: "Composite", + className: "DiskSku", + modelProperties: { + name: { + serializedName: "name", type: { name: "String" } }, - required: { - serializedName: "required", - defaultValue: false, + tier: { + readOnly: true, + serializedName: "tier", type: { - name: "Boolean" + name: "String" } } } } }; -export const RunCommandDocumentBase: msRest.CompositeMapper = { - serializedName: "RunCommandDocumentBase", +export const ImageDiskReference: msRest.CompositeMapper = { + serializedName: "ImageDiskReference", type: { name: "Composite", - className: "RunCommandDocumentBase", + className: "ImageDiskReference", modelProperties: { - schema: { + id: { required: true, - serializedName: "$schema", + serializedName: "id", type: { name: "String" } }, - id: { + lun: { + serializedName: "lun", + type: { + name: "Number" + } + } + } + } +}; + +export const CreationData: msRest.CompositeMapper = { + serializedName: "CreationData", + type: { + name: "Composite", + className: "CreationData", + modelProperties: { + createOption: { required: true, - serializedName: "id", + serializedName: "createOption", type: { name: "String" } }, - osType: { - required: true, - serializedName: "osType", + storageAccountId: { + serializedName: "storageAccountId", type: { - name: "Enum", - allowedValues: [ - "Windows", - "Linux" - ] + name: "String" } }, - label: { - required: true, - serializedName: "label", + imageReference: { + serializedName: "imageReference", + type: { + name: "Composite", + className: "ImageDiskReference" + } + }, + galleryImageReference: { + serializedName: "galleryImageReference", + type: { + name: "Composite", + className: "ImageDiskReference" + } + }, + sourceUri: { + serializedName: "sourceUri", type: { name: "String" } }, - description: { - required: true, - serializedName: "description", + sourceResourceId: { + serializedName: "sourceResourceId", type: { name: "String" } - } - } - } -}; - -export const RunCommandDocument: msRest.CompositeMapper = { - serializedName: "RunCommandDocument", - type: { - name: "Composite", - className: "RunCommandDocument", - modelProperties: { - ...RunCommandDocumentBase.type.modelProperties, - script: { - required: true, - serializedName: "script", + }, + sourceUniqueId: { + readOnly: true, + serializedName: "sourceUniqueId", type: { - name: "Sequence", - element: { - type: { - name: "String" - } - } + name: "String" + } + }, + uploadSizeBytes: { + serializedName: "uploadSizeBytes", + type: { + name: "Number" } }, - parameters: { - serializedName: "parameters", + logicalSectorSize: { + serializedName: "logicalSectorSize", type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "RunCommandParameterDefinition" - } - } + name: "Number" } } } } }; -export const RunCommandResult: msRest.CompositeMapper = { - serializedName: "RunCommandResult", +export const SourceVault: msRest.CompositeMapper = { + serializedName: "SourceVault", type: { name: "Composite", - className: "RunCommandResult", + className: "SourceVault", modelProperties: { - value: { - serializedName: "value", + id: { + serializedName: "id", type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "InstanceViewStatus" - } - } + name: "String" } } } } }; -export const ResourceSkuCapacity: msRest.CompositeMapper = { - serializedName: "ResourceSkuCapacity", +export const KeyVaultAndSecretReference: msRest.CompositeMapper = { + serializedName: "KeyVaultAndSecretReference", type: { name: "Composite", - className: "ResourceSkuCapacity", + className: "KeyVaultAndSecretReference", modelProperties: { - minimum: { - readOnly: true, - serializedName: "minimum", - type: { - name: "Number" - } - }, - maximum: { - readOnly: true, - serializedName: "maximum", - type: { - name: "Number" - } - }, - default: { - readOnly: true, - serializedName: "default", + sourceVault: { + required: true, + serializedName: "sourceVault", type: { - name: "Number" + name: "Composite", + className: "SourceVault" } }, - scaleType: { - readOnly: true, - serializedName: "scaleType", + secretUrl: { + required: true, + serializedName: "secretUrl", type: { - name: "Enum", - allowedValues: [ - "Automatic", - "Manual", - "None" - ] + name: "String" } } } } }; -export const ResourceSkuCosts: msRest.CompositeMapper = { - serializedName: "ResourceSkuCosts", +export const KeyVaultAndKeyReference: msRest.CompositeMapper = { + serializedName: "KeyVaultAndKeyReference", type: { name: "Composite", - className: "ResourceSkuCosts", + className: "KeyVaultAndKeyReference", modelProperties: { - meterID: { - readOnly: true, - serializedName: "meterID", - type: { - name: "String" - } - }, - quantity: { - readOnly: true, - serializedName: "quantity", + sourceVault: { + required: true, + serializedName: "sourceVault", type: { - name: "Number" + name: "Composite", + className: "SourceVault" } }, - extendedUnit: { - readOnly: true, - serializedName: "extendedUnit", + keyUrl: { + required: true, + serializedName: "keyUrl", type: { name: "String" } @@ -7167,119 +8679,121 @@ export const ResourceSkuCosts: msRest.CompositeMapper = { } }; -export const ResourceSkuCapabilities: msRest.CompositeMapper = { - serializedName: "ResourceSkuCapabilities", +export const EncryptionSettingsElement: msRest.CompositeMapper = { + serializedName: "EncryptionSettingsElement", type: { name: "Composite", - className: "ResourceSkuCapabilities", + className: "EncryptionSettingsElement", modelProperties: { - name: { - readOnly: true, - serializedName: "name", + diskEncryptionKey: { + serializedName: "diskEncryptionKey", type: { - name: "String" + name: "Composite", + className: "KeyVaultAndSecretReference" } }, - value: { - readOnly: true, - serializedName: "value", + keyEncryptionKey: { + serializedName: "keyEncryptionKey", type: { - name: "String" + name: "Composite", + className: "KeyVaultAndKeyReference" } } } } }; -export const ResourceSkuZoneDetails: msRest.CompositeMapper = { - serializedName: "ResourceSkuZoneDetails", +export const EncryptionSettingsCollection: msRest.CompositeMapper = { + serializedName: "EncryptionSettingsCollection", type: { name: "Composite", - className: "ResourceSkuZoneDetails", + className: "EncryptionSettingsCollection", modelProperties: { - name: { - readOnly: true, - serializedName: "name", + enabled: { + required: true, + serializedName: "enabled", type: { - name: "Sequence", - element: { - type: { - name: "String" - } - } + name: "Boolean" } }, - capabilities: { - readOnly: true, - serializedName: "capabilities", + encryptionSettings: { + serializedName: "encryptionSettings", type: { name: "Sequence", element: { type: { name: "Composite", - className: "ResourceSkuCapabilities" + className: "EncryptionSettingsElement" } } } + }, + encryptionSettingsVersion: { + serializedName: "encryptionSettingsVersion", + type: { + name: "String" + } } } } }; -export const ResourceSkuRestrictionInfo: msRest.CompositeMapper = { - serializedName: "ResourceSkuRestrictionInfo", +export const Encryption: msRest.CompositeMapper = { + serializedName: "Encryption", type: { name: "Composite", - className: "ResourceSkuRestrictionInfo", + className: "Encryption", modelProperties: { - locations: { - readOnly: true, - serializedName: "locations", + diskEncryptionSetId: { + serializedName: "diskEncryptionSetId", type: { - name: "Sequence", - element: { - type: { - name: "String" - } - } + name: "String" } }, - zones: { + type: { + serializedName: "type", + type: { + name: "String" + } + } + } + } +}; + +export const ShareInfoElement: msRest.CompositeMapper = { + serializedName: "ShareInfoElement", + type: { + name: "Composite", + className: "ShareInfoElement", + modelProperties: { + vmUri: { readOnly: true, - serializedName: "zones", + serializedName: "vmUri", type: { - name: "Sequence", - element: { - type: { - name: "String" - } - } + name: "String" } } } } }; -export const ResourceSkuRestrictions: msRest.CompositeMapper = { - serializedName: "ResourceSkuRestrictions", +export const Disk: msRest.CompositeMapper = { + serializedName: "Disk", type: { name: "Composite", - className: "ResourceSkuRestrictions", + className: "Disk", modelProperties: { - type: { + ...Resource.type.modelProperties, + managedBy: { readOnly: true, - serializedName: "type", + serializedName: "managedBy", type: { - name: "Enum", - allowedValues: [ - "Location", - "Zone" - ] + name: "String" } }, - values: { + managedByExtended: { readOnly: true, - serializedName: "values", + serializedName: "managedByExtended", type: { name: "Sequence", element: { @@ -7288,45 +8802,15 @@ export const ResourceSkuRestrictions: msRest.CompositeMapper = { } } } - }, - restrictionInfo: { - readOnly: true, - serializedName: "restrictionInfo", - type: { - name: "Composite", - className: "ResourceSkuRestrictionInfo" - } - }, - reasonCode: { - readOnly: true, - serializedName: "reasonCode", - type: { - name: "Enum", - allowedValues: [ - "QuotaId", - "NotAvailableForSubscription" - ] - } - } - } - } -}; - -export const ResourceSkuLocationInfo: msRest.CompositeMapper = { - serializedName: "ResourceSkuLocationInfo", - type: { - name: "Composite", - className: "ResourceSkuLocationInfo", - modelProperties: { - location: { - readOnly: true, - serializedName: "location", + }, + sku: { + serializedName: "sku", type: { - name: "String" + name: "Composite", + className: "DiskSku" } }, zones: { - readOnly: true, serializedName: "zones", type: { name: "Sequence", @@ -7337,306 +8821,303 @@ export const ResourceSkuLocationInfo: msRest.CompositeMapper = { } } }, - zoneDetails: { - readOnly: true, - serializedName: "zoneDetails", + extendedLocation: { + serializedName: "extendedLocation", type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "ResourceSkuZoneDetails" - } - } + name: "Composite", + className: "ExtendedLocation" } - } - } - } -}; - -export const ResourceSku: msRest.CompositeMapper = { - serializedName: "ResourceSku", - type: { - name: "Composite", - className: "ResourceSku", - modelProperties: { - resourceType: { + }, + timeCreated: { readOnly: true, - serializedName: "resourceType", + serializedName: "properties.timeCreated", type: { - name: "String" + name: "DateTime" } }, - name: { - readOnly: true, - serializedName: "name", + osType: { + serializedName: "properties.osType", type: { - name: "String" + name: "Enum", + allowedValues: [ + "Windows", + "Linux" + ] } }, - tier: { - readOnly: true, - serializedName: "tier", + hyperVGeneration: { + serializedName: "properties.hyperVGeneration", type: { name: "String" } }, - size: { - readOnly: true, - serializedName: "size", + purchasePlan: { + serializedName: "properties.purchasePlan", type: { - name: "String" + name: "Composite", + className: "PurchasePlan" } }, - family: { + creationData: { + required: true, + serializedName: "properties.creationData", + type: { + name: "Composite", + className: "CreationData" + } + }, + diskSizeGB: { + serializedName: "properties.diskSizeGB", + type: { + name: "Number" + } + }, + diskSizeBytes: { readOnly: true, - serializedName: "family", + serializedName: "properties.diskSizeBytes", type: { - name: "String" + name: "Number" } }, - kind: { + uniqueId: { readOnly: true, - serializedName: "kind", + serializedName: "properties.uniqueId", type: { name: "String" } }, - capacity: { - readOnly: true, - serializedName: "capacity", + encryptionSettingsCollection: { + serializedName: "properties.encryptionSettingsCollection", type: { name: "Composite", - className: "ResourceSkuCapacity" + className: "EncryptionSettingsCollection" } }, - locations: { + provisioningState: { readOnly: true, - serializedName: "locations", + serializedName: "properties.provisioningState", type: { - name: "Sequence", - element: { - type: { - name: "String" - } - } + name: "String" } }, - locationInfo: { - readOnly: true, - serializedName: "locationInfo", + diskIOPSReadWrite: { + serializedName: "properties.diskIOPSReadWrite", type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "ResourceSkuLocationInfo" - } - } + name: "Number" } }, - apiVersions: { - readOnly: true, - serializedName: "apiVersions", + diskMBpsReadWrite: { + serializedName: "properties.diskMBpsReadWrite", type: { - name: "Sequence", - element: { - type: { - name: "String" - } - } + name: "Number" } }, - costs: { - readOnly: true, - serializedName: "costs", + diskIOPSReadOnly: { + serializedName: "properties.diskIOPSReadOnly", type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "ResourceSkuCosts" - } - } + name: "Number" } }, - capabilities: { - readOnly: true, - serializedName: "capabilities", + diskMBpsReadOnly: { + serializedName: "properties.diskMBpsReadOnly", type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "ResourceSkuCapabilities" - } - } + name: "Number" } }, - restrictions: { + diskState: { + serializedName: "properties.diskState", + type: { + name: "String" + } + }, + encryption: { + serializedName: "properties.encryption", + type: { + name: "Composite", + className: "Encryption" + } + }, + maxShares: { + serializedName: "properties.maxShares", + type: { + name: "Number" + } + }, + shareInfo: { readOnly: true, - serializedName: "restrictions", + serializedName: "properties.shareInfo", type: { name: "Sequence", element: { type: { name: "Composite", - className: "ResourceSkuRestrictions" + className: "ShareInfoElement" } } } - } - } - } -}; - -export const DiskSku: msRest.CompositeMapper = { - serializedName: "DiskSku", - type: { - name: "Composite", - className: "DiskSku", - modelProperties: { - name: { - serializedName: "name", + }, + networkAccessPolicy: { + serializedName: "properties.networkAccessPolicy", + type: { + name: "String" + } + }, + diskAccessId: { + serializedName: "properties.diskAccessId", type: { name: "String" } }, tier: { - readOnly: true, - serializedName: "tier", + serializedName: "properties.tier", type: { name: "String" } + }, + burstingEnabled: { + serializedName: "properties.burstingEnabled", + type: { + name: "Boolean" + } } } } }; -export const ImageDiskReference: msRest.CompositeMapper = { - serializedName: "ImageDiskReference", +export const DiskUpdate: msRest.CompositeMapper = { + serializedName: "DiskUpdate", type: { name: "Composite", - className: "ImageDiskReference", + className: "DiskUpdate", modelProperties: { - id: { - required: true, - serializedName: "id", + osType: { + serializedName: "properties.osType", type: { - name: "String" + name: "Enum", + allowedValues: [ + "Windows", + "Linux" + ] } }, - lun: { - serializedName: "lun", + diskSizeGB: { + serializedName: "properties.diskSizeGB", type: { name: "Number" } - } - } - } -}; - -export const CreationData: msRest.CompositeMapper = { - serializedName: "CreationData", - type: { - name: "Composite", - className: "CreationData", - modelProperties: { - createOption: { - required: true, - serializedName: "createOption", + }, + encryptionSettingsCollection: { + serializedName: "properties.encryptionSettingsCollection", + type: { + name: "Composite", + className: "EncryptionSettingsCollection" + } + }, + diskIOPSReadWrite: { + serializedName: "properties.diskIOPSReadWrite", + type: { + name: "Number" + } + }, + diskMBpsReadWrite: { + serializedName: "properties.diskMBpsReadWrite", type: { - name: "String" + name: "Number" } }, - storageAccountId: { - serializedName: "storageAccountId", + diskIOPSReadOnly: { + serializedName: "properties.diskIOPSReadOnly", type: { - name: "String" + name: "Number" } }, - imageReference: { - serializedName: "imageReference", + diskMBpsReadOnly: { + serializedName: "properties.diskMBpsReadOnly", type: { - name: "Composite", - className: "ImageDiskReference" + name: "Number" } }, - galleryImageReference: { - serializedName: "galleryImageReference", + maxShares: { + serializedName: "properties.maxShares", + type: { + name: "Number" + } + }, + encryption: { + serializedName: "properties.encryption", type: { name: "Composite", - className: "ImageDiskReference" + className: "Encryption" } }, - sourceUri: { - serializedName: "sourceUri", + networkAccessPolicy: { + serializedName: "properties.networkAccessPolicy", type: { name: "String" } }, - sourceResourceId: { - serializedName: "sourceResourceId", + diskAccessId: { + serializedName: "properties.diskAccessId", type: { name: "String" } }, - sourceUniqueId: { - readOnly: true, - serializedName: "sourceUniqueId", + tier: { + serializedName: "properties.tier", type: { name: "String" } }, - uploadSizeBytes: { - serializedName: "uploadSizeBytes", + burstingEnabled: { + serializedName: "properties.burstingEnabled", type: { - name: "Number" + name: "Boolean" } }, - logicalSectorSize: { - serializedName: "logicalSectorSize", + purchasePlan: { + serializedName: "properties.purchasePlan", type: { - name: "Number" + name: "Composite", + className: "PurchasePlan" } - } - } - } -}; - -export const SourceVault: msRest.CompositeMapper = { - serializedName: "SourceVault", - type: { - name: "Composite", - className: "SourceVault", - modelProperties: { - id: { - serializedName: "id", + }, + tags: { + serializedName: "tags", type: { - name: "String" + name: "Dictionary", + value: { + type: { + name: "String" + } + } + } + }, + sku: { + serializedName: "sku", + type: { + name: "Composite", + className: "DiskSku" } } } } }; -export const KeyVaultAndSecretReference: msRest.CompositeMapper = { - serializedName: "KeyVaultAndSecretReference", +export const SnapshotSku: msRest.CompositeMapper = { + serializedName: "SnapshotSku", type: { name: "Composite", - className: "KeyVaultAndSecretReference", + className: "SnapshotSku", modelProperties: { - sourceVault: { - required: true, - serializedName: "sourceVault", + name: { + serializedName: "name", type: { - name: "Composite", - className: "SourceVault" + name: "String" } }, - secretUrl: { - required: true, - serializedName: "secretUrl", + tier: { + readOnly: true, + serializedName: "tier", type: { name: "String" } @@ -7645,14 +9126,13 @@ export const KeyVaultAndSecretReference: msRest.CompositeMapper = { } }; -export const KeyVaultAndKeyReference: msRest.CompositeMapper = { - serializedName: "KeyVaultAndKeyReference", +export const KeyForDiskEncryptionSet: msRest.CompositeMapper = { + serializedName: "KeyForDiskEncryptionSet", type: { name: "Composite", - className: "KeyVaultAndKeyReference", + className: "KeyForDiskEncryptionSet", modelProperties: { sourceVault: { - required: true, serializedName: "sourceVault", type: { name: "Composite", @@ -7670,96 +9150,39 @@ export const KeyVaultAndKeyReference: msRest.CompositeMapper = { } }; -export const EncryptionSettingsElement: msRest.CompositeMapper = { - serializedName: "EncryptionSettingsElement", - type: { - name: "Composite", - className: "EncryptionSettingsElement", - modelProperties: { - diskEncryptionKey: { - serializedName: "diskEncryptionKey", - type: { - name: "Composite", - className: "KeyVaultAndSecretReference" - } - }, - keyEncryptionKey: { - serializedName: "keyEncryptionKey", - type: { - name: "Composite", - className: "KeyVaultAndKeyReference" - } - } - } - } -}; - -export const EncryptionSettingsCollection: msRest.CompositeMapper = { - serializedName: "EncryptionSettingsCollection", +export const GrantAccessData: msRest.CompositeMapper = { + serializedName: "GrantAccessData", type: { name: "Composite", - className: "EncryptionSettingsCollection", + className: "GrantAccessData", modelProperties: { - enabled: { + access: { required: true, - serializedName: "enabled", - type: { - name: "Boolean" - } - }, - encryptionSettings: { - serializedName: "encryptionSettings", - type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "EncryptionSettingsElement" - } - } - } - }, - encryptionSettingsVersion: { - serializedName: "encryptionSettingsVersion", - type: { - name: "String" - } - } - } - } -}; - -export const Encryption: msRest.CompositeMapper = { - serializedName: "Encryption", - type: { - name: "Composite", - className: "Encryption", - modelProperties: { - diskEncryptionSetId: { - serializedName: "diskEncryptionSetId", + serializedName: "access", type: { name: "String" } }, - type: { - serializedName: "type", + durationInSeconds: { + required: true, + serializedName: "durationInSeconds", type: { - name: "String" + name: "Number" } } } } }; -export const ShareInfoElement: msRest.CompositeMapper = { - serializedName: "ShareInfoElement", +export const AccessUri: msRest.CompositeMapper = { + serializedName: "AccessUri", type: { name: "Composite", - className: "ShareInfoElement", + className: "AccessUri", modelProperties: { - vmUri: { + accessSAS: { readOnly: true, - serializedName: "vmUri", + serializedName: "accessSAS", type: { name: "String" } @@ -7768,11 +9191,11 @@ export const ShareInfoElement: msRest.CompositeMapper = { } }; -export const Disk: msRest.CompositeMapper = { - serializedName: "Disk", +export const Snapshot: msRest.CompositeMapper = { + serializedName: "Snapshot", type: { name: "Composite", - className: "Disk", + className: "Snapshot", modelProperties: { ...Resource.type.modelProperties, managedBy: { @@ -7782,34 +9205,18 @@ export const Disk: msRest.CompositeMapper = { name: "String" } }, - managedByExtended: { - readOnly: true, - serializedName: "managedByExtended", - type: { - name: "Sequence", - element: { - type: { - name: "String" - } - } - } - }, sku: { serializedName: "sku", type: { name: "Composite", - className: "DiskSku" + className: "SnapshotSku" } }, - zones: { - serializedName: "zones", + extendedLocation: { + serializedName: "extendedLocation", type: { - name: "Sequence", - element: { - type: { - name: "String" - } - } + name: "Composite", + className: "ExtendedLocation" } }, timeCreated: { @@ -7835,6 +9242,13 @@ export const Disk: msRest.CompositeMapper = { name: "String" } }, + purchasePlan: { + serializedName: "properties.purchasePlan", + type: { + name: "Composite", + className: "PurchasePlan" + } + }, creationData: { required: true, serializedName: "properties.creationData", @@ -7856,55 +9270,37 @@ export const Disk: msRest.CompositeMapper = { name: "Number" } }, - uniqueId: { - readOnly: true, - serializedName: "properties.uniqueId", + diskState: { + serializedName: "properties.diskState", type: { name: "String" } }, - encryptionSettingsCollection: { - serializedName: "properties.encryptionSettingsCollection", - type: { - name: "Composite", - className: "EncryptionSettingsCollection" - } - }, - provisioningState: { + uniqueId: { readOnly: true, - serializedName: "properties.provisioningState", + serializedName: "properties.uniqueId", type: { name: "String" } }, - diskIOPSReadWrite: { - serializedName: "properties.diskIOPSReadWrite", - type: { - name: "Number" - } - }, - diskMBpsReadWrite: { - serializedName: "properties.diskMBpsReadWrite", - type: { - name: "Number" - } - }, - diskIOPSReadOnly: { - serializedName: "properties.diskIOPSReadOnly", + encryptionSettingsCollection: { + serializedName: "properties.encryptionSettingsCollection", type: { - name: "Number" + name: "Composite", + className: "EncryptionSettingsCollection" } }, - diskMBpsReadOnly: { - serializedName: "properties.diskMBpsReadOnly", + provisioningState: { + readOnly: true, + serializedName: "properties.provisioningState", type: { - name: "Number" + name: "String" } }, - diskState: { - serializedName: "properties.diskState", + incremental: { + serializedName: "properties.incremental", type: { - name: "String" + name: "Boolean" } }, encryption: { @@ -7914,25 +9310,6 @@ export const Disk: msRest.CompositeMapper = { className: "Encryption" } }, - maxShares: { - serializedName: "properties.maxShares", - type: { - name: "Number" - } - }, - shareInfo: { - readOnly: true, - serializedName: "properties.shareInfo", - type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "ShareInfoElement" - } - } - } - }, networkAccessPolicy: { serializedName: "properties.networkAccessPolicy", type: { @@ -7944,22 +9321,16 @@ export const Disk: msRest.CompositeMapper = { type: { name: "String" } - }, - tier: { - serializedName: "properties.tier", - type: { - name: "String" - } } } } }; -export const DiskUpdate: msRest.CompositeMapper = { - serializedName: "DiskUpdate", +export const SnapshotUpdate: msRest.CompositeMapper = { + serializedName: "SnapshotUpdate", type: { name: "Composite", - className: "DiskUpdate", + className: "SnapshotUpdate", modelProperties: { osType: { serializedName: "properties.osType", @@ -7984,61 +9355,147 @@ export const DiskUpdate: msRest.CompositeMapper = { className: "EncryptionSettingsCollection" } }, - diskIOPSReadWrite: { - serializedName: "properties.diskIOPSReadWrite", + encryption: { + serializedName: "properties.encryption", type: { - name: "Number" + name: "Composite", + className: "Encryption" } }, - diskMBpsReadWrite: { - serializedName: "properties.diskMBpsReadWrite", + networkAccessPolicy: { + serializedName: "properties.networkAccessPolicy", type: { - name: "Number" + name: "String" } }, - diskIOPSReadOnly: { - serializedName: "properties.diskIOPSReadOnly", + diskAccessId: { + serializedName: "properties.diskAccessId", type: { - name: "Number" + name: "String" } }, - diskMBpsReadOnly: { - serializedName: "properties.diskMBpsReadOnly", + tags: { + serializedName: "tags", type: { - name: "Number" + name: "Dictionary", + value: { + type: { + name: "String" + } + } } }, - maxShares: { - serializedName: "properties.maxShares", + sku: { + serializedName: "sku", type: { - name: "Number" + name: "Composite", + className: "SnapshotSku" + } + } + } + } +}; + +export const EncryptionSetIdentity: msRest.CompositeMapper = { + serializedName: "EncryptionSetIdentity", + type: { + name: "Composite", + className: "EncryptionSetIdentity", + modelProperties: { + type: { + serializedName: "type", + type: { + name: "String" } }, - encryption: { - serializedName: "properties.encryption", + principalId: { + readOnly: true, + serializedName: "principalId", type: { - name: "Composite", - className: "Encryption" + name: "String" } }, - networkAccessPolicy: { - serializedName: "properties.networkAccessPolicy", + tenantId: { + readOnly: true, + serializedName: "tenantId", type: { name: "String" } + } + } + } +}; + +export const DiskEncryptionSet: msRest.CompositeMapper = { + serializedName: "DiskEncryptionSet", + type: { + name: "Composite", + className: "DiskEncryptionSet", + modelProperties: { + ...Resource.type.modelProperties, + identity: { + serializedName: "identity", + type: { + name: "Composite", + className: "EncryptionSetIdentity" + } }, - diskAccessId: { - serializedName: "properties.diskAccessId", + encryptionType: { + serializedName: "properties.encryptionType", type: { name: "String" } }, - tier: { - serializedName: "properties.tier", + activeKey: { + serializedName: "properties.activeKey", + type: { + name: "Composite", + className: "KeyForDiskEncryptionSet" + } + }, + previousKeys: { + readOnly: true, + serializedName: "properties.previousKeys", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "KeyForDiskEncryptionSet" + } + } + } + }, + provisioningState: { + readOnly: true, + serializedName: "properties.provisioningState", + type: { + name: "String" + } + } + } + } +}; + +export const DiskEncryptionSetUpdate: msRest.CompositeMapper = { + serializedName: "DiskEncryptionSetUpdate", + type: { + name: "Composite", + className: "DiskEncryptionSetUpdate", + modelProperties: { + encryptionType: { + serializedName: "properties.encryptionType", type: { name: "String" } }, + activeKey: { + serializedName: "properties.activeKey", + type: { + name: "Composite", + className: "KeyForDiskEncryptionSet" + } + }, tags: { serializedName: "tags", type: { @@ -8049,33 +9506,100 @@ export const DiskUpdate: msRest.CompositeMapper = { } } } + } + } + } +}; + +export const PrivateEndpoint: msRest.CompositeMapper = { + serializedName: "PrivateEndpoint", + type: { + name: "Composite", + className: "PrivateEndpoint", + modelProperties: { + id: { + readOnly: true, + serializedName: "id", + type: { + name: "String" + } + } + } + } +}; + +export const PrivateLinkServiceConnectionState: msRest.CompositeMapper = { + serializedName: "PrivateLinkServiceConnectionState", + type: { + name: "Composite", + className: "PrivateLinkServiceConnectionState", + modelProperties: { + status: { + serializedName: "status", + type: { + name: "String" + } + }, + description: { + serializedName: "description", + type: { + name: "String" + } + }, + actionsRequired: { + serializedName: "actionsRequired", + type: { + name: "String" + } + } + } + } +}; + +export const PrivateEndpointConnection: msRest.CompositeMapper = { + serializedName: "PrivateEndpointConnection", + type: { + name: "Composite", + className: "PrivateEndpointConnection", + modelProperties: { + privateEndpoint: { + serializedName: "properties.privateEndpoint", + type: { + name: "Composite", + className: "PrivateEndpoint" + } + }, + privateLinkServiceConnectionState: { + required: true, + serializedName: "properties.privateLinkServiceConnectionState", + type: { + name: "Composite", + className: "PrivateLinkServiceConnectionState" + } + }, + provisioningState: { + serializedName: "properties.provisioningState", + type: { + name: "String" + } }, - sku: { - serializedName: "sku", + id: { + readOnly: true, + serializedName: "id", type: { - name: "Composite", - className: "DiskSku" + name: "String" } - } - } - } -}; - -export const SnapshotSku: msRest.CompositeMapper = { - serializedName: "SnapshotSku", - type: { - name: "Composite", - className: "SnapshotSku", - modelProperties: { + }, name: { + readOnly: true, serializedName: "name", type: { name: "String" } }, - tier: { + type: { readOnly: true, - serializedName: "tier", + serializedName: "type", type: { name: "String" } @@ -8084,68 +9608,133 @@ export const SnapshotSku: msRest.CompositeMapper = { } }; -export const GrantAccessData: msRest.CompositeMapper = { - serializedName: "GrantAccessData", +export const DiskAccess: msRest.CompositeMapper = { + serializedName: "DiskAccess", type: { name: "Composite", - className: "GrantAccessData", + className: "DiskAccess", modelProperties: { - access: { - required: true, - serializedName: "access", + ...Resource.type.modelProperties, + privateEndpointConnections: { + readOnly: true, + serializedName: "properties.privateEndpointConnections", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "PrivateEndpointConnection" + } + } + } + }, + provisioningState: { + readOnly: true, + serializedName: "properties.provisioningState", type: { name: "String" } }, - durationInSeconds: { - required: true, - serializedName: "durationInSeconds", + timeCreated: { + readOnly: true, + serializedName: "properties.timeCreated", type: { - name: "Number" + name: "DateTime" } } } } }; -export const AccessUri: msRest.CompositeMapper = { - serializedName: "AccessUri", +export const DiskAccessUpdate: msRest.CompositeMapper = { + serializedName: "DiskAccessUpdate", type: { name: "Composite", - className: "AccessUri", + className: "DiskAccessUpdate", modelProperties: { - accessSAS: { - readOnly: true, - serializedName: "accessSAS", + tags: { + serializedName: "tags", type: { - name: "String" + name: "Dictionary", + value: { + type: { + name: "String" + } + } } } } } }; -export const Snapshot: msRest.CompositeMapper = { - serializedName: "Snapshot", +export const PrivateLinkResource: msRest.CompositeMapper = { + serializedName: "PrivateLinkResource", type: { name: "Composite", - className: "Snapshot", + className: "PrivateLinkResource", modelProperties: { - ...Resource.type.modelProperties, - managedBy: { + groupId: { readOnly: true, - serializedName: "managedBy", + serializedName: "properties.groupId", type: { name: "String" } }, - sku: { - serializedName: "sku", + requiredMembers: { + readOnly: true, + serializedName: "properties.requiredMembers", type: { - name: "Composite", - className: "SnapshotSku" + name: "Sequence", + element: { + type: { + name: "String" + } + } + } + }, + requiredZoneNames: { + serializedName: "properties.requiredZoneNames", + type: { + name: "Sequence", + element: { + type: { + name: "String" + } + } + } + }, + id: { + readOnly: true, + serializedName: "id", + type: { + name: "String" + } + }, + name: { + readOnly: true, + serializedName: "name", + type: { + name: "String" } }, + type: { + readOnly: true, + serializedName: "type", + type: { + name: "String" + } + } + } + } +}; + +export const DiskRestorePoint: msRest.CompositeMapper = { + serializedName: "DiskRestorePoint", + type: { + name: "Composite", + className: "DiskRestorePoint", + modelProperties: { + ...ProxyOnlyResource.type.modelProperties, timeCreated: { readOnly: true, serializedName: "properties.timeCreated", @@ -8153,7 +9742,15 @@ export const Snapshot: msRest.CompositeMapper = { name: "DateTime" } }, + sourceResourceId: { + readOnly: true, + serializedName: "properties.sourceResourceId", + type: { + name: "String" + } + }, osType: { + readOnly: true, serializedName: "properties.osType", type: { name: "Enum", @@ -8169,75 +9766,101 @@ export const Snapshot: msRest.CompositeMapper = { name: "String" } }, - creationData: { - required: true, - serializedName: "properties.creationData", + purchasePlan: { + serializedName: "properties.purchasePlan", type: { name: "Composite", - className: "CreationData" - } - }, - diskSizeGB: { - serializedName: "properties.diskSizeGB", - type: { - name: "Number" + className: "PurchasePlan" } }, - diskSizeBytes: { + familyId: { readOnly: true, - serializedName: "properties.diskSizeBytes", - type: { - name: "Number" - } - }, - diskState: { - serializedName: "properties.diskState", + serializedName: "properties.familyId", type: { name: "String" } }, - uniqueId: { + sourceUniqueId: { readOnly: true, - serializedName: "properties.uniqueId", + serializedName: "properties.sourceUniqueId", type: { name: "String" } }, - encryptionSettingsCollection: { - serializedName: "properties.encryptionSettingsCollection", + encryption: { + readOnly: true, + serializedName: "properties.encryption", type: { name: "Composite", - className: "EncryptionSettingsCollection" + className: "Encryption" } - }, - provisioningState: { + } + } + } +}; + +export const PrivateLinkResourceListResult: msRest.CompositeMapper = { + serializedName: "PrivateLinkResourceListResult", + type: { + name: "Composite", + className: "PrivateLinkResourceListResult", + modelProperties: { + value: { + serializedName: "value", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "PrivateLinkResource" + } + } + } + } + } + } +}; + +export const GalleryIdentifier: msRest.CompositeMapper = { + serializedName: "GalleryIdentifier", + type: { + name: "Composite", + className: "GalleryIdentifier", + modelProperties: { + uniqueName: { readOnly: true, - serializedName: "properties.provisioningState", + serializedName: "uniqueName", type: { name: "String" } - }, - incremental: { - serializedName: "properties.incremental", + } + } + } +}; + +export const Gallery: msRest.CompositeMapper = { + serializedName: "Gallery", + type: { + name: "Composite", + className: "Gallery", + modelProperties: { + ...Resource.type.modelProperties, + description: { + serializedName: "properties.description", type: { - name: "Boolean" + name: "String" } }, - encryption: { - serializedName: "properties.encryption", + identifier: { + serializedName: "properties.identifier", type: { name: "Composite", - className: "Encryption" - } - }, - networkAccessPolicy: { - serializedName: "properties.networkAccessPolicy", - type: { - name: "String" + className: "GalleryIdentifier" } }, - diskAccessId: { - serializedName: "properties.diskAccessId", + provisioningState: { + readOnly: true, + serializedName: "properties.provisioningState", type: { name: "String" } @@ -8246,50 +9869,29 @@ export const Snapshot: msRest.CompositeMapper = { } }; -export const SnapshotUpdate: msRest.CompositeMapper = { - serializedName: "SnapshotUpdate", +export const UpdateResourceDefinition: msRest.CompositeMapper = { + serializedName: "UpdateResourceDefinition", type: { name: "Composite", - className: "SnapshotUpdate", + className: "UpdateResourceDefinition", modelProperties: { - osType: { - serializedName: "properties.osType", - type: { - name: "Enum", - allowedValues: [ - "Windows", - "Linux" - ] - } - }, - diskSizeGB: { - serializedName: "properties.diskSizeGB", - type: { - name: "Number" - } - }, - encryptionSettingsCollection: { - serializedName: "properties.encryptionSettingsCollection", - type: { - name: "Composite", - className: "EncryptionSettingsCollection" - } - }, - encryption: { - serializedName: "properties.encryption", + id: { + readOnly: true, + serializedName: "id", type: { - name: "Composite", - className: "Encryption" + name: "String" } }, - networkAccessPolicy: { - serializedName: "properties.networkAccessPolicy", + name: { + readOnly: true, + serializedName: "name", type: { name: "String" } }, - diskAccessId: { - serializedName: "properties.diskAccessId", + type: { + readOnly: true, + serializedName: "type", type: { name: "String" } @@ -8304,40 +9906,34 @@ export const SnapshotUpdate: msRest.CompositeMapper = { } } } - }, - sku: { - serializedName: "sku", - type: { - name: "Composite", - className: "SnapshotSku" - } } } } }; -export const EncryptionSetIdentity: msRest.CompositeMapper = { - serializedName: "EncryptionSetIdentity", +export const GalleryUpdate: msRest.CompositeMapper = { + serializedName: "GalleryUpdate", type: { name: "Composite", - className: "EncryptionSetIdentity", + className: "GalleryUpdate", modelProperties: { - type: { - serializedName: "type", + ...UpdateResourceDefinition.type.modelProperties, + description: { + serializedName: "properties.description", type: { name: "String" } }, - principalId: { - readOnly: true, - serializedName: "principalId", + identifier: { + serializedName: "properties.identifier", type: { - name: "String" + name: "Composite", + className: "GalleryIdentifier" } }, - tenantId: { + provisioningState: { readOnly: true, - serializedName: "tenantId", + serializedName: "properties.provisioningState", type: { name: "String" } @@ -8346,100 +9942,125 @@ export const EncryptionSetIdentity: msRest.CompositeMapper = { } }; -export const DiskEncryptionSet: msRest.CompositeMapper = { - serializedName: "DiskEncryptionSet", +export const GalleryApplication: msRest.CompositeMapper = { + serializedName: "GalleryApplication", type: { name: "Composite", - className: "DiskEncryptionSet", + className: "GalleryApplication", modelProperties: { ...Resource.type.modelProperties, - identity: { - serializedName: "identity", + description: { + serializedName: "properties.description", type: { - name: "Composite", - className: "EncryptionSetIdentity" + name: "String" } }, - encryptionType: { - serializedName: "properties.encryptionType", + eula: { + serializedName: "properties.eula", type: { name: "String" } }, - activeKey: { - serializedName: "properties.activeKey", + privacyStatementUri: { + serializedName: "properties.privacyStatementUri", type: { - name: "Composite", - className: "KeyVaultAndKeyReference" + name: "String" } }, - previousKeys: { - readOnly: true, - serializedName: "properties.previousKeys", + releaseNoteUri: { + serializedName: "properties.releaseNoteUri", type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "KeyVaultAndKeyReference" - } - } + name: "String" } }, - provisioningState: { - readOnly: true, - serializedName: "properties.provisioningState", + endOfLifeDate: { + serializedName: "properties.endOfLifeDate", type: { - name: "String" + name: "DateTime" + } + }, + supportedOSType: { + required: true, + serializedName: "properties.supportedOSType", + type: { + name: "Enum", + allowedValues: [ + "Windows", + "Linux" + ] } } } } }; -export const DiskEncryptionSetUpdate: msRest.CompositeMapper = { - serializedName: "DiskEncryptionSetUpdate", +export const GalleryApplicationUpdate: msRest.CompositeMapper = { + serializedName: "GalleryApplicationUpdate", type: { name: "Composite", - className: "DiskEncryptionSetUpdate", + className: "GalleryApplicationUpdate", modelProperties: { - encryptionType: { - serializedName: "properties.encryptionType", + ...UpdateResourceDefinition.type.modelProperties, + description: { + serializedName: "properties.description", type: { name: "String" } }, - activeKey: { - serializedName: "properties.activeKey", + eula: { + serializedName: "properties.eula", type: { - name: "Composite", - className: "KeyVaultAndKeyReference" + name: "String" } }, - tags: { - serializedName: "tags", + privacyStatementUri: { + serializedName: "properties.privacyStatementUri", type: { - name: "Dictionary", - value: { - type: { - name: "String" - } - } + name: "String" + } + }, + releaseNoteUri: { + serializedName: "properties.releaseNoteUri", + type: { + name: "String" + } + }, + endOfLifeDate: { + serializedName: "properties.endOfLifeDate", + type: { + name: "DateTime" + } + }, + supportedOSType: { + required: true, + serializedName: "properties.supportedOSType", + type: { + name: "Enum", + allowedValues: [ + "Windows", + "Linux" + ] } } } } }; -export const PrivateEndpoint: msRest.CompositeMapper = { - serializedName: "PrivateEndpoint", +export const UserArtifactSource: msRest.CompositeMapper = { + serializedName: "UserArtifactSource", type: { name: "Composite", - className: "PrivateEndpoint", + className: "UserArtifactSource", modelProperties: { - id: { - readOnly: true, - serializedName: "id", + mediaLink: { + required: true, + serializedName: "mediaLink", + type: { + name: "String" + } + }, + defaultConfigurationLink: { + serializedName: "defaultConfigurationLink", type: { name: "String" } @@ -8448,26 +10069,81 @@ export const PrivateEndpoint: msRest.CompositeMapper = { } }; -export const PrivateLinkServiceConnectionState: msRest.CompositeMapper = { - serializedName: "PrivateLinkServiceConnectionState", +export const UserArtifactManage: msRest.CompositeMapper = { + serializedName: "UserArtifactManage", type: { name: "Composite", - className: "PrivateLinkServiceConnectionState", + className: "UserArtifactManage", modelProperties: { - status: { - serializedName: "status", + install: { + required: true, + serializedName: "install", type: { name: "String" } }, - description: { - serializedName: "description", + remove: { + required: true, + serializedName: "remove", + type: { + name: "String" + } + }, + update: { + serializedName: "update", + type: { + name: "String" + } + } + } + } +}; + +export const GalleryArtifactPublishingProfileBase: msRest.CompositeMapper = { + serializedName: "GalleryArtifactPublishingProfileBase", + type: { + name: "Composite", + className: "GalleryArtifactPublishingProfileBase", + modelProperties: { + targetRegions: { + serializedName: "targetRegions", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "TargetRegion" + } + } + } + }, + replicaCount: { + serializedName: "replicaCount", + type: { + name: "Number" + } + }, + excludeFromLatest: { + serializedName: "excludeFromLatest", + type: { + name: "Boolean" + } + }, + publishedDate: { + readOnly: true, + serializedName: "publishedDate", + type: { + name: "DateTime" + } + }, + endOfLifeDate: { + serializedName: "endOfLifeDate", type: { - name: "String" + name: "DateTime" } }, - actionsRequired: { - serializedName: "actionsRequired", + storageAccountType: { + serializedName: "storageAccountType", type: { name: "String" } @@ -8476,77 +10152,120 @@ export const PrivateLinkServiceConnectionState: msRest.CompositeMapper = { } }; -export const PrivateEndpointConnection: msRest.CompositeMapper = { - serializedName: "PrivateEndpointConnection", +export const GalleryApplicationVersionPublishingProfile: msRest.CompositeMapper = { + serializedName: "GalleryApplicationVersionPublishingProfile", type: { name: "Composite", - className: "PrivateEndpointConnection", + className: "GalleryApplicationVersionPublishingProfile", modelProperties: { - privateEndpoint: { - serializedName: "properties.privateEndpoint", + ...GalleryArtifactPublishingProfileBase.type.modelProperties, + source: { + required: true, + serializedName: "source", type: { name: "Composite", - className: "PrivateEndpoint" + className: "UserArtifactSource" } }, - privateLinkServiceConnectionState: { - required: true, - serializedName: "properties.privateLinkServiceConnectionState", + manageActions: { + serializedName: "manageActions", type: { name: "Composite", - className: "PrivateLinkServiceConnectionState" + className: "UserArtifactManage" } }, - provisioningState: { - serializedName: "properties.provisioningState", + enableHealthCheck: { + serializedName: "enableHealthCheck", + type: { + name: "Boolean" + } + } + } + } +}; + +export const RegionalReplicationStatus: msRest.CompositeMapper = { + serializedName: "RegionalReplicationStatus", + type: { + name: "Composite", + className: "RegionalReplicationStatus", + modelProperties: { + region: { + readOnly: true, + serializedName: "region", type: { name: "String" } }, - id: { + state: { readOnly: true, - serializedName: "id", + serializedName: "state", type: { name: "String" } }, - name: { + details: { readOnly: true, - serializedName: "name", + serializedName: "details", type: { name: "String" } }, - type: { + progress: { readOnly: true, - serializedName: "type", + serializedName: "progress", type: { - name: "String" + name: "Number" } } } } }; -export const DiskAccess: msRest.CompositeMapper = { - serializedName: "DiskAccess", +export const ReplicationStatus: msRest.CompositeMapper = { + serializedName: "ReplicationStatus", type: { name: "Composite", - className: "DiskAccess", + className: "ReplicationStatus", modelProperties: { - ...Resource.type.modelProperties, - privateEndpointConnections: { + aggregatedState: { readOnly: true, - serializedName: "properties.privateEndpointConnections", + serializedName: "aggregatedState", + type: { + name: "String" + } + }, + summary: { + readOnly: true, + serializedName: "summary", type: { name: "Sequence", element: { type: { name: "Composite", - className: "PrivateEndpointConnection" + className: "RegionalReplicationStatus" } } } + } + } + } +}; + +export const GalleryApplicationVersion: msRest.CompositeMapper = { + serializedName: "GalleryApplicationVersion", + type: { + name: "Composite", + className: "GalleryApplicationVersion", + modelProperties: { + ...Resource.type.modelProperties, + publishingProfile: { + required: true, + serializedName: "properties.publishingProfile", + type: { + name: "Composite", + className: "GalleryApplicationVersionPublishingProfile" + } }, provisioningState: { readOnly: true, @@ -8555,91 +10274,75 @@ export const DiskAccess: msRest.CompositeMapper = { name: "String" } }, - timeCreated: { + replicationStatus: { readOnly: true, - serializedName: "properties.timeCreated", + serializedName: "properties.replicationStatus", type: { - name: "DateTime" + name: "Composite", + className: "ReplicationStatus" } } } } }; -export const DiskAccessUpdate: msRest.CompositeMapper = { - serializedName: "DiskAccessUpdate", +export const GalleryApplicationVersionUpdate: msRest.CompositeMapper = { + serializedName: "GalleryApplicationVersionUpdate", type: { name: "Composite", - className: "DiskAccessUpdate", + className: "GalleryApplicationVersionUpdate", modelProperties: { - tags: { - serializedName: "tags", + ...UpdateResourceDefinition.type.modelProperties, + publishingProfile: { + required: true, + serializedName: "properties.publishingProfile", type: { - name: "Dictionary", - value: { - type: { - name: "String" - } - } + name: "Composite", + className: "GalleryApplicationVersionPublishingProfile" } - } - } - } -}; - -export const PrivateLinkResource: msRest.CompositeMapper = { - serializedName: "PrivateLinkResource", - type: { - name: "Composite", - className: "PrivateLinkResource", - modelProperties: { - groupId: { + }, + provisioningState: { readOnly: true, - serializedName: "properties.groupId", + serializedName: "properties.provisioningState", type: { name: "String" } }, - requiredMembers: { + replicationStatus: { readOnly: true, - serializedName: "properties.requiredMembers", - type: { - name: "Sequence", - element: { - type: { - name: "String" - } - } - } - }, - requiredZoneNames: { - serializedName: "properties.requiredZoneNames", + serializedName: "properties.replicationStatus", type: { - name: "Sequence", - element: { - type: { - name: "String" - } - } + name: "Composite", + className: "ReplicationStatus" } - }, - id: { - readOnly: true, - serializedName: "id", + } + } + } +}; + +export const GalleryImageIdentifier: msRest.CompositeMapper = { + serializedName: "GalleryImageIdentifier", + type: { + name: "Composite", + className: "GalleryImageIdentifier", + modelProperties: { + publisher: { + required: true, + serializedName: "publisher", type: { name: "String" } }, - name: { - readOnly: true, - serializedName: "name", + offer: { + required: true, + serializedName: "offer", type: { name: "String" } }, - type: { - readOnly: true, - serializedName: "type", + sku: { + required: true, + serializedName: "sku", type: { name: "String" } @@ -8648,108 +10351,63 @@ export const PrivateLinkResource: msRest.CompositeMapper = { } }; -export const PrivateLinkResourceListResult: msRest.CompositeMapper = { - serializedName: "PrivateLinkResourceListResult", +export const ResourceRange: msRest.CompositeMapper = { + serializedName: "ResourceRange", type: { name: "Composite", - className: "PrivateLinkResourceListResult", + className: "ResourceRange", modelProperties: { - value: { - serializedName: "value", + min: { + serializedName: "min", type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "PrivateLinkResource" - } - } + name: "Number" } - } - } - } -}; - -export const GalleryIdentifier: msRest.CompositeMapper = { - serializedName: "GalleryIdentifier", - type: { - name: "Composite", - className: "GalleryIdentifier", - modelProperties: { - uniqueName: { - readOnly: true, - serializedName: "uniqueName", + }, + max: { + serializedName: "max", type: { - name: "String" + name: "Number" } } } } }; -export const Gallery: msRest.CompositeMapper = { - serializedName: "Gallery", +export const RecommendedMachineConfiguration: msRest.CompositeMapper = { + serializedName: "RecommendedMachineConfiguration", type: { name: "Composite", - className: "Gallery", + className: "RecommendedMachineConfiguration", modelProperties: { - ...Resource.type.modelProperties, - description: { - serializedName: "properties.description", - type: { - name: "String" - } - }, - identifier: { - serializedName: "properties.identifier", + vCPUs: { + serializedName: "vCPUs", type: { name: "Composite", - className: "GalleryIdentifier" + className: "ResourceRange" } }, - provisioningState: { - readOnly: true, - serializedName: "properties.provisioningState", + memory: { + serializedName: "memory", type: { - name: "String" + name: "Composite", + className: "ResourceRange" } } } } }; -export const UpdateResourceDefinition: msRest.CompositeMapper = { - serializedName: "UpdateResourceDefinition", +export const Disallowed: msRest.CompositeMapper = { + serializedName: "Disallowed", type: { name: "Composite", - className: "UpdateResourceDefinition", + className: "Disallowed", modelProperties: { - id: { - readOnly: true, - serializedName: "id", - type: { - name: "String" - } - }, - name: { - readOnly: true, - serializedName: "name", - type: { - name: "String" - } - }, - type: { - readOnly: true, - serializedName: "type", - type: { - name: "String" - } - }, - tags: { - serializedName: "tags", + diskTypes: { + serializedName: "diskTypes", type: { - name: "Dictionary", - value: { + name: "Sequence", + element: { type: { name: "String" } @@ -8760,29 +10418,26 @@ export const UpdateResourceDefinition: msRest.CompositeMapper = { } }; -export const GalleryUpdate: msRest.CompositeMapper = { - serializedName: "GalleryUpdate", +export const ImagePurchasePlan: msRest.CompositeMapper = { + serializedName: "ImagePurchasePlan", type: { name: "Composite", - className: "GalleryUpdate", + className: "ImagePurchasePlan", modelProperties: { - ...UpdateResourceDefinition.type.modelProperties, - description: { - serializedName: "properties.description", + name: { + serializedName: "name", type: { name: "String" } }, - identifier: { - serializedName: "properties.identifier", + publisher: { + serializedName: "publisher", type: { - name: "Composite", - className: "GalleryIdentifier" + name: "String" } }, - provisioningState: { - readOnly: true, - serializedName: "properties.provisioningState", + product: { + serializedName: "product", type: { name: "String" } @@ -8791,11 +10446,11 @@ export const GalleryUpdate: msRest.CompositeMapper = { } }; -export const GalleryApplication: msRest.CompositeMapper = { - serializedName: "GalleryApplication", +export const GalleryImage: msRest.CompositeMapper = { + serializedName: "GalleryImage", type: { name: "Composite", - className: "GalleryApplication", + className: "GalleryImage", modelProperties: { ...Resource.type.modelProperties, description: { @@ -8822,32 +10477,85 @@ export const GalleryApplication: msRest.CompositeMapper = { name: "String" } }, - endOfLifeDate: { - serializedName: "properties.endOfLifeDate", + osType: { + required: true, + serializedName: "properties.osType", type: { - name: "DateTime" + name: "Enum", + allowedValues: [ + "Windows", + "Linux" + ] } }, - supportedOSType: { + osState: { required: true, - serializedName: "properties.supportedOSType", + serializedName: "properties.osState", type: { name: "Enum", allowedValues: [ - "Windows", - "Linux" + "Generalized", + "Specialized" ] } + }, + hyperVGeneration: { + serializedName: "properties.hyperVGeneration", + type: { + name: "String" + } + }, + endOfLifeDate: { + serializedName: "properties.endOfLifeDate", + type: { + name: "DateTime" + } + }, + identifier: { + required: true, + serializedName: "properties.identifier", + type: { + name: "Composite", + className: "GalleryImageIdentifier" + } + }, + recommended: { + serializedName: "properties.recommended", + type: { + name: "Composite", + className: "RecommendedMachineConfiguration" + } + }, + disallowed: { + serializedName: "properties.disallowed", + type: { + name: "Composite", + className: "Disallowed" + } + }, + purchasePlan: { + serializedName: "properties.purchasePlan", + type: { + name: "Composite", + className: "ImagePurchasePlan" + } + }, + provisioningState: { + readOnly: true, + serializedName: "properties.provisioningState", + type: { + name: "String" + } } } } }; -export const GalleryApplicationUpdate: msRest.CompositeMapper = { - serializedName: "GalleryApplicationUpdate", +export const GalleryImageUpdate: msRest.CompositeMapper = { + serializedName: "GalleryImageUpdate", type: { name: "Composite", - className: "GalleryApplicationUpdate", + className: "GalleryImageUpdate", modelProperties: { ...UpdateResourceDefinition.type.modelProperties, description: { @@ -8874,15 +10582,9 @@ export const GalleryApplicationUpdate: msRest.CompositeMapper = { name: "String" } }, - endOfLifeDate: { - serializedName: "properties.endOfLifeDate", - type: { - name: "DateTime" - } - }, - supportedOSType: { + osType: { required: true, - serializedName: "properties.supportedOSType", + serializedName: "properties.osType", type: { name: "Enum", allowedValues: [ @@ -8890,80 +10592,89 @@ export const GalleryApplicationUpdate: msRest.CompositeMapper = { "Linux" ] } - } - } - } -}; - -export const UserArtifactSource: msRest.CompositeMapper = { - serializedName: "UserArtifactSource", - type: { - name: "Composite", - className: "UserArtifactSource", - modelProperties: { - fileName: { + }, + osState: { required: true, - serializedName: "fileName", + serializedName: "properties.osState", type: { - name: "String" + name: "Enum", + allowedValues: [ + "Generalized", + "Specialized" + ] } }, - mediaLink: { - required: true, - serializedName: "mediaLink", + hyperVGeneration: { + serializedName: "properties.hyperVGeneration", type: { name: "String" } - } - } - } -}; - -export const GalleryArtifactPublishingProfileBase: msRest.CompositeMapper = { - serializedName: "GalleryArtifactPublishingProfileBase", - type: { - name: "Composite", - className: "GalleryArtifactPublishingProfileBase", - modelProperties: { - targetRegions: { - serializedName: "targetRegions", + }, + endOfLifeDate: { + serializedName: "properties.endOfLifeDate", type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "TargetRegion" - } - } + name: "DateTime" } }, - replicaCount: { - serializedName: "replicaCount", + identifier: { + required: true, + serializedName: "properties.identifier", type: { - name: "Number" + name: "Composite", + className: "GalleryImageIdentifier" } }, - excludeFromLatest: { - serializedName: "excludeFromLatest", + recommended: { + serializedName: "properties.recommended", type: { - name: "Boolean" + name: "Composite", + className: "RecommendedMachineConfiguration" } }, - publishedDate: { - readOnly: true, - serializedName: "publishedDate", + disallowed: { + serializedName: "properties.disallowed", type: { - name: "DateTime" + name: "Composite", + className: "Disallowed" } }, - endOfLifeDate: { - serializedName: "endOfLifeDate", + purchasePlan: { + serializedName: "properties.purchasePlan", type: { - name: "DateTime" + name: "Composite", + className: "ImagePurchasePlan" } }, - storageAccountType: { - serializedName: "storageAccountType", + provisioningState: { + readOnly: true, + serializedName: "properties.provisioningState", + type: { + name: "String" + } + } + } + } +}; + +export const GalleryImageVersionPublishingProfile: msRest.CompositeMapper = { + serializedName: "GalleryImageVersionPublishingProfile", + type: { + name: "Composite", + className: "GalleryImageVersionPublishingProfile", + modelProperties: { + ...GalleryArtifactPublishingProfileBase.type.modelProperties + } + } +}; + +export const GalleryArtifactVersionSource: msRest.CompositeMapper = { + serializedName: "GalleryArtifactVersionSource", + type: { + name: "Composite", + className: "GalleryArtifactVersionSource", + modelProperties: { + id: { + serializedName: "id", type: { name: "String" } @@ -8972,67 +10683,62 @@ export const GalleryArtifactPublishingProfileBase: msRest.CompositeMapper = { } }; -export const GalleryApplicationVersionPublishingProfile: msRest.CompositeMapper = { - serializedName: "GalleryApplicationVersionPublishingProfile", +export const GalleryDiskImage: msRest.CompositeMapper = { + serializedName: "GalleryDiskImage", type: { name: "Composite", - className: "GalleryApplicationVersionPublishingProfile", + className: "GalleryDiskImage", modelProperties: { - ...GalleryArtifactPublishingProfileBase.type.modelProperties, - source: { - required: true, - serializedName: "source", + sizeInGB: { + readOnly: true, + serializedName: "sizeInGB", type: { - name: "Composite", - className: "UserArtifactSource" + name: "Number" } }, - contentType: { - serializedName: "contentType", + hostCaching: { + serializedName: "hostCaching", type: { - name: "String" + name: "Enum", + allowedValues: [ + "None", + "ReadOnly", + "ReadWrite" + ] } }, - enableHealthCheck: { - serializedName: "enableHealthCheck", + source: { + serializedName: "source", type: { - name: "Boolean" + name: "Composite", + className: "GalleryArtifactVersionSource" } } } } }; -export const RegionalReplicationStatus: msRest.CompositeMapper = { - serializedName: "RegionalReplicationStatus", +export const GalleryOSDiskImage: msRest.CompositeMapper = { + serializedName: "GalleryOSDiskImage", type: { name: "Composite", - className: "RegionalReplicationStatus", + className: "GalleryOSDiskImage", modelProperties: { - region: { - readOnly: true, - serializedName: "region", - type: { - name: "String" - } - }, - state: { - readOnly: true, - serializedName: "state", - type: { - name: "String" - } - }, - details: { - readOnly: true, - serializedName: "details", - type: { - name: "String" - } - }, - progress: { - readOnly: true, - serializedName: "progress", + ...GalleryDiskImage.type.modelProperties + } + } +}; + +export const GalleryDataDiskImage: msRest.CompositeMapper = { + serializedName: "GalleryDataDiskImage", + type: { + name: "Composite", + className: "GalleryDataDiskImage", + modelProperties: { + ...GalleryDiskImage.type.modelProperties, + lun: { + required: true, + serializedName: "lun", type: { name: "Number" } @@ -9041,28 +10747,34 @@ export const RegionalReplicationStatus: msRest.CompositeMapper = { } }; -export const ReplicationStatus: msRest.CompositeMapper = { - serializedName: "ReplicationStatus", +export const GalleryImageVersionStorageProfile: msRest.CompositeMapper = { + serializedName: "GalleryImageVersionStorageProfile", type: { name: "Composite", - className: "ReplicationStatus", + className: "GalleryImageVersionStorageProfile", modelProperties: { - aggregatedState: { - readOnly: true, - serializedName: "aggregatedState", + source: { + serializedName: "source", type: { - name: "String" + name: "Composite", + className: "GalleryArtifactVersionSource" } }, - summary: { - readOnly: true, - serializedName: "summary", + osDiskImage: { + serializedName: "osDiskImage", + type: { + name: "Composite", + className: "GalleryOSDiskImage" + } + }, + dataDiskImages: { + serializedName: "dataDiskImages", type: { name: "Sequence", element: { type: { name: "Composite", - className: "RegionalReplicationStatus" + className: "GalleryDataDiskImage" } } } @@ -9071,19 +10783,18 @@ export const ReplicationStatus: msRest.CompositeMapper = { } }; -export const GalleryApplicationVersion: msRest.CompositeMapper = { - serializedName: "GalleryApplicationVersion", +export const GalleryImageVersion: msRest.CompositeMapper = { + serializedName: "GalleryImageVersion", type: { name: "Composite", - className: "GalleryApplicationVersion", + className: "GalleryImageVersion", modelProperties: { ...Resource.type.modelProperties, publishingProfile: { - required: true, serializedName: "properties.publishingProfile", type: { name: "Composite", - className: "GalleryApplicationVersionPublishingProfile" + className: "GalleryImageVersionPublishingProfile" } }, provisioningState: { @@ -9093,6 +10804,14 @@ export const GalleryApplicationVersion: msRest.CompositeMapper = { name: "String" } }, + storageProfile: { + required: true, + serializedName: "properties.storageProfile", + type: { + name: "Composite", + className: "GalleryImageVersionStorageProfile" + } + }, replicationStatus: { readOnly: true, serializedName: "properties.replicationStatus", @@ -9105,19 +10824,18 @@ export const GalleryApplicationVersion: msRest.CompositeMapper = { } }; -export const GalleryApplicationVersionUpdate: msRest.CompositeMapper = { - serializedName: "GalleryApplicationVersionUpdate", +export const GalleryImageVersionUpdate: msRest.CompositeMapper = { + serializedName: "GalleryImageVersionUpdate", type: { name: "Composite", - className: "GalleryApplicationVersionUpdate", + className: "GalleryImageVersionUpdate", modelProperties: { ...UpdateResourceDefinition.type.modelProperties, publishingProfile: { - required: true, serializedName: "properties.publishingProfile", type: { name: "Composite", - className: "GalleryApplicationVersionPublishingProfile" + className: "GalleryImageVersionPublishingProfile" } }, provisioningState: { @@ -9127,6 +10845,14 @@ export const GalleryApplicationVersionUpdate: msRest.CompositeMapper = { name: "String" } }, + storageProfile: { + required: true, + serializedName: "properties.storageProfile", + type: { + name: "Composite", + className: "GalleryImageVersionStorageProfile" + } + }, replicationStatus: { readOnly: true, serializedName: "properties.replicationStatus", @@ -9139,29 +10865,125 @@ export const GalleryApplicationVersionUpdate: msRest.CompositeMapper = { } }; -export const GalleryImageIdentifier: msRest.CompositeMapper = { - serializedName: "GalleryImageIdentifier", +export const DiskImageEncryption: msRest.CompositeMapper = { + serializedName: "DiskImageEncryption", type: { name: "Composite", - className: "GalleryImageIdentifier", + className: "DiskImageEncryption", modelProperties: { - publisher: { - required: true, - serializedName: "publisher", + diskEncryptionSetId: { + serializedName: "diskEncryptionSetId", type: { name: "String" } + } + } + } +}; + +export const OSDiskImageEncryption: msRest.CompositeMapper = { + serializedName: "OSDiskImageEncryption", + type: { + name: "Composite", + className: "OSDiskImageEncryption", + modelProperties: { + ...DiskImageEncryption.type.modelProperties + } + } +}; + +export const DataDiskImageEncryption: msRest.CompositeMapper = { + serializedName: "DataDiskImageEncryption", + type: { + name: "Composite", + className: "DataDiskImageEncryption", + modelProperties: { + ...DiskImageEncryption.type.modelProperties, + lun: { + required: true, + serializedName: "lun", + type: { + name: "Number" + } + } + } + } +}; + +export const EncryptionImages: msRest.CompositeMapper = { + serializedName: "EncryptionImages", + type: { + name: "Composite", + className: "EncryptionImages", + modelProperties: { + osDiskImage: { + serializedName: "osDiskImage", + type: { + name: "Composite", + className: "OSDiskImageEncryption" + } }, - offer: { + dataDiskImages: { + serializedName: "dataDiskImages", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "DataDiskImageEncryption" + } + } + } + } + } + } +}; + +export const TargetRegion: msRest.CompositeMapper = { + serializedName: "TargetRegion", + type: { + name: "Composite", + className: "TargetRegion", + modelProperties: { + name: { required: true, - serializedName: "offer", + serializedName: "name", type: { name: "String" } }, - sku: { + regionalReplicaCount: { + serializedName: "regionalReplicaCount", + type: { + name: "Number" + } + }, + storageAccountType: { + serializedName: "storageAccountType", + type: { + name: "String" + } + }, + encryption: { + serializedName: "encryption", + type: { + name: "Composite", + className: "EncryptionImages" + } + } + } + } +}; + +export const ManagedArtifact: msRest.CompositeMapper = { + serializedName: "ManagedArtifact", + type: { + name: "Composite", + className: "ManagedArtifact", + modelProperties: { + id: { required: true, - serializedName: "sku", + serializedName: "id", type: { name: "String" } @@ -9170,65 +10992,63 @@ export const GalleryImageIdentifier: msRest.CompositeMapper = { } }; -export const ResourceRange: msRest.CompositeMapper = { - serializedName: "ResourceRange", +export const GalleryArtifactSource: msRest.CompositeMapper = { + serializedName: "GalleryArtifactSource", type: { name: "Composite", - className: "ResourceRange", + className: "GalleryArtifactSource", modelProperties: { - min: { - serializedName: "min", - type: { - name: "Number" - } - }, - max: { - serializedName: "max", + managedImage: { + required: true, + serializedName: "managedImage", type: { - name: "Number" + name: "Composite", + className: "ManagedArtifact" } } } } }; -export const RecommendedMachineConfiguration: msRest.CompositeMapper = { - serializedName: "RecommendedMachineConfiguration", +export const InstanceSku: msRest.CompositeMapper = { + serializedName: "InstanceSku", type: { name: "Composite", - className: "RecommendedMachineConfiguration", + className: "InstanceSku", modelProperties: { - vCPUs: { - serializedName: "vCPUs", + name: { + readOnly: true, + serializedName: "name", type: { - name: "Composite", - className: "ResourceRange" + name: "String" } }, - memory: { - serializedName: "memory", + tier: { + readOnly: true, + serializedName: "tier", type: { - name: "Composite", - className: "ResourceRange" + name: "String" } } } } }; -export const Disallowed: msRest.CompositeMapper = { - serializedName: "Disallowed", +export const RoleInstanceNetworkProfile: msRest.CompositeMapper = { + serializedName: "RoleInstanceNetworkProfile", type: { name: "Composite", - className: "Disallowed", + className: "RoleInstanceNetworkProfile", modelProperties: { - diskTypes: { - serializedName: "diskTypes", + networkInterfaces: { + readOnly: true, + serializedName: "networkInterfaces", type: { name: "Sequence", element: { type: { - name: "String" + name: "Composite", + className: "SubResource" } } } @@ -9237,236 +11057,337 @@ export const Disallowed: msRest.CompositeMapper = { } }; -export const ImagePurchasePlan: msRest.CompositeMapper = { - serializedName: "ImagePurchasePlan", +export const ResourceInstanceViewStatus: msRest.CompositeMapper = { + serializedName: "ResourceInstanceViewStatus", type: { name: "Composite", - className: "ImagePurchasePlan", + className: "ResourceInstanceViewStatus", modelProperties: { - name: { - serializedName: "name", + code: { + readOnly: true, + serializedName: "code", type: { name: "String" } }, - publisher: { - serializedName: "publisher", + displayStatus: { + readOnly: true, + serializedName: "displayStatus", type: { name: "String" } }, - product: { - serializedName: "product", + message: { + readOnly: true, + serializedName: "message", type: { name: "String" } + }, + time: { + readOnly: true, + serializedName: "time", + type: { + name: "DateTime" + } + }, + level: { + serializedName: "level", + type: { + name: "Enum", + allowedValues: [ + "Info", + "Warning", + "Error" + ] + } } } } }; -export const GalleryImage: msRest.CompositeMapper = { - serializedName: "GalleryImage", +export const RoleInstanceInstanceView: msRest.CompositeMapper = { + serializedName: "RoleInstanceInstanceView", type: { name: "Composite", - className: "GalleryImage", + className: "RoleInstanceInstanceView", modelProperties: { - ...Resource.type.modelProperties, - description: { - serializedName: "properties.description", + platformUpdateDomain: { + readOnly: true, + serializedName: "platformUpdateDomain", type: { - name: "String" + name: "Number" } }, - eula: { - serializedName: "properties.eula", + platformFaultDomain: { + readOnly: true, + serializedName: "platformFaultDomain", type: { - name: "String" + name: "Number" } }, - privacyStatementUri: { - serializedName: "properties.privacyStatementUri", + privateId: { + readOnly: true, + serializedName: "privateId", type: { name: "String" } }, - releaseNoteUri: { - serializedName: "properties.releaseNoteUri", + statuses: { + readOnly: true, + serializedName: "statuses", type: { - name: "String" + name: "Sequence", + element: { + type: { + name: "Composite", + className: "ResourceInstanceViewStatus" + } + } } - }, - osType: { - required: true, - serializedName: "properties.osType", + } + } + } +}; + +export const RoleInstanceProperties: msRest.CompositeMapper = { + serializedName: "RoleInstanceProperties", + type: { + name: "Composite", + className: "RoleInstanceProperties", + modelProperties: { + networkProfile: { + serializedName: "networkProfile", type: { - name: "Enum", - allowedValues: [ - "Windows", - "Linux" - ] + name: "Composite", + className: "RoleInstanceNetworkProfile" } }, - osState: { - required: true, - serializedName: "properties.osState", + instanceView: { + serializedName: "instanceView", type: { - name: "Enum", - allowedValues: [ - "Generalized", - "Specialized" - ] + name: "Composite", + className: "RoleInstanceInstanceView" + } + } + } + } +}; + +export const RoleInstance: msRest.CompositeMapper = { + serializedName: "RoleInstance", + type: { + name: "Composite", + className: "RoleInstance", + modelProperties: { + id: { + readOnly: true, + serializedName: "id", + type: { + name: "String" } }, - hyperVGeneration: { - serializedName: "properties.hyperVGeneration", + name: { + readOnly: true, + serializedName: "name", type: { name: "String" } }, - endOfLifeDate: { - serializedName: "properties.endOfLifeDate", + type: { + readOnly: true, + serializedName: "type", type: { - name: "DateTime" + name: "String" } }, - identifier: { - required: true, - serializedName: "properties.identifier", + location: { + readOnly: true, + serializedName: "location", type: { - name: "Composite", - className: "GalleryImageIdentifier" + name: "String" } }, - recommended: { - serializedName: "properties.recommended", + tags: { + readOnly: true, + serializedName: "tags", type: { - name: "Composite", - className: "RecommendedMachineConfiguration" + name: "Dictionary", + value: { + type: { + name: "String" + } + } } }, - disallowed: { - serializedName: "properties.disallowed", + sku: { + serializedName: "sku", type: { name: "Composite", - className: "Disallowed" + className: "InstanceSku" } }, - purchasePlan: { - serializedName: "properties.purchasePlan", + properties: { + serializedName: "properties", type: { name: "Composite", - className: "ImagePurchasePlan" + className: "RoleInstanceProperties" + } + } + } + } +}; + +export const CloudServiceRoleSku: msRest.CompositeMapper = { + serializedName: "CloudServiceRoleSku", + type: { + name: "Composite", + className: "CloudServiceRoleSku", + modelProperties: { + name: { + serializedName: "name", + type: { + name: "String" } }, - provisioningState: { - readOnly: true, - serializedName: "properties.provisioningState", + tier: { + serializedName: "tier", type: { name: "String" } + }, + capacity: { + serializedName: "capacity", + type: { + name: "Number" + } } } } }; -export const GalleryImageUpdate: msRest.CompositeMapper = { - serializedName: "GalleryImageUpdate", +export const CloudServiceRoleProperties: msRest.CompositeMapper = { + serializedName: "CloudServiceRoleProperties", type: { name: "Composite", - className: "GalleryImageUpdate", + className: "CloudServiceRoleProperties", modelProperties: { - ...UpdateResourceDefinition.type.modelProperties, - description: { - serializedName: "properties.description", + uniqueId: { + readOnly: true, + serializedName: "uniqueId", type: { name: "String" } - }, - eula: { - serializedName: "properties.eula", + } + } + } +}; + +export const CloudServiceRole: msRest.CompositeMapper = { + serializedName: "CloudServiceRole", + type: { + name: "Composite", + className: "CloudServiceRole", + modelProperties: { + id: { + readOnly: true, + serializedName: "id", type: { name: "String" } }, - privacyStatementUri: { - serializedName: "properties.privacyStatementUri", + name: { + readOnly: true, + serializedName: "name", type: { name: "String" } }, - releaseNoteUri: { - serializedName: "properties.releaseNoteUri", + type: { + readOnly: true, + serializedName: "type", type: { name: "String" } }, - osType: { - required: true, - serializedName: "properties.osType", - type: { - name: "Enum", - allowedValues: [ - "Windows", - "Linux" - ] - } - }, - osState: { - required: true, - serializedName: "properties.osState", - type: { - name: "Enum", - allowedValues: [ - "Generalized", - "Specialized" - ] - } - }, - hyperVGeneration: { - serializedName: "properties.hyperVGeneration", + location: { + readOnly: true, + serializedName: "location", type: { name: "String" } }, - endOfLifeDate: { - serializedName: "properties.endOfLifeDate", + sku: { + serializedName: "sku", type: { - name: "DateTime" + name: "Composite", + className: "CloudServiceRoleSku" } }, - identifier: { - required: true, - serializedName: "properties.identifier", + properties: { + serializedName: "properties", type: { name: "Composite", - className: "GalleryImageIdentifier" + className: "CloudServiceRoleProperties" } - }, - recommended: { - serializedName: "properties.recommended", + } + } + } +}; + +export const CloudServiceRoleProfileProperties: msRest.CompositeMapper = { + serializedName: "CloudServiceRoleProfileProperties", + type: { + name: "Composite", + className: "CloudServiceRoleProfileProperties", + modelProperties: { + name: { + serializedName: "name", type: { - name: "Composite", - className: "RecommendedMachineConfiguration" + name: "String" } }, - disallowed: { - serializedName: "properties.disallowed", + sku: { + serializedName: "sku", type: { name: "Composite", - className: "Disallowed" + className: "CloudServiceRoleSku" } - }, - purchasePlan: { - serializedName: "properties.purchasePlan", + } + } + } +}; + +export const CloudServiceRoleProfile: msRest.CompositeMapper = { + serializedName: "CloudServiceRoleProfile", + type: { + name: "Composite", + className: "CloudServiceRoleProfile", + modelProperties: { + roles: { + serializedName: "roles", type: { - name: "Composite", - className: "ImagePurchasePlan" + name: "Sequence", + element: { + type: { + name: "Composite", + className: "CloudServiceRoleProfileProperties" + } + } } - }, - provisioningState: { - readOnly: true, - serializedName: "properties.provisioningState", + } + } + } +}; + +export const CloudServiceVaultCertificate: msRest.CompositeMapper = { + serializedName: "CloudServiceVaultCertificate", + type: { + name: "Composite", + className: "CloudServiceVaultCertificate", + modelProperties: { + certificateUrl: { + serializedName: "certificateUrl", type: { name: "String" } @@ -9475,447 +11396,633 @@ export const GalleryImageUpdate: msRest.CompositeMapper = { } }; -export const GalleryImageVersionPublishingProfile: msRest.CompositeMapper = { - serializedName: "GalleryImageVersionPublishingProfile", +export const CloudServiceVaultSecretGroup: msRest.CompositeMapper = { + serializedName: "CloudServiceVaultSecretGroup", type: { name: "Composite", - className: "GalleryImageVersionPublishingProfile", + className: "CloudServiceVaultSecretGroup", modelProperties: { - ...GalleryArtifactPublishingProfileBase.type.modelProperties + sourceVault: { + serializedName: "sourceVault", + type: { + name: "Composite", + className: "SubResource" + } + }, + vaultCertificates: { + serializedName: "vaultCertificates", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "CloudServiceVaultCertificate" + } + } + } + } } } }; -export const GalleryArtifactVersionSource: msRest.CompositeMapper = { - serializedName: "GalleryArtifactVersionSource", +export const CloudServiceOsProfile: msRest.CompositeMapper = { + serializedName: "CloudServiceOsProfile", type: { name: "Composite", - className: "GalleryArtifactVersionSource", + className: "CloudServiceOsProfile", modelProperties: { - id: { - serializedName: "id", + secrets: { + serializedName: "secrets", type: { - name: "String" + name: "Sequence", + element: { + type: { + name: "Composite", + className: "CloudServiceVaultSecretGroup" + } + } } } } } }; -export const GalleryDiskImage: msRest.CompositeMapper = { - serializedName: "GalleryDiskImage", +export const LoadBalancerFrontendIPConfigurationProperties: msRest.CompositeMapper = { + serializedName: "LoadBalancerFrontendIPConfigurationProperties", type: { name: "Composite", - className: "GalleryDiskImage", + className: "LoadBalancerFrontendIPConfigurationProperties", modelProperties: { - sizeInGB: { - readOnly: true, - serializedName: "sizeInGB", + publicIPAddress: { + serializedName: "publicIPAddress", type: { - name: "Number" + name: "Composite", + className: "SubResource" } }, - hostCaching: { - serializedName: "hostCaching", + subnet: { + serializedName: "subnet", type: { - name: "Enum", - allowedValues: [ - "None", - "ReadOnly", - "ReadWrite" - ] + name: "Composite", + className: "SubResource" } }, - source: { - serializedName: "source", + privateIPAddress: { + serializedName: "privateIPAddress", type: { - name: "Composite", - className: "GalleryArtifactVersionSource" + name: "String" } } } } }; -export const GalleryOSDiskImage: msRest.CompositeMapper = { - serializedName: "GalleryOSDiskImage", +export const LoadBalancerFrontendIPConfiguration: msRest.CompositeMapper = { + serializedName: "LoadBalancerFrontendIPConfiguration", type: { name: "Composite", - className: "GalleryOSDiskImage", + className: "LoadBalancerFrontendIPConfiguration", modelProperties: { - ...GalleryDiskImage.type.modelProperties + name: { + required: true, + serializedName: "name", + type: { + name: "String" + } + }, + properties: { + required: true, + serializedName: "properties", + type: { + name: "Composite", + className: "LoadBalancerFrontendIPConfigurationProperties" + } + } } } }; -export const GalleryDataDiskImage: msRest.CompositeMapper = { - serializedName: "GalleryDataDiskImage", +export const LoadBalancerConfigurationProperties: msRest.CompositeMapper = { + serializedName: "LoadBalancerConfigurationProperties", type: { name: "Composite", - className: "GalleryDataDiskImage", + className: "LoadBalancerConfigurationProperties", modelProperties: { - ...GalleryDiskImage.type.modelProperties, - lun: { + frontendIPConfigurations: { required: true, - serializedName: "lun", + serializedName: "frontendIPConfigurations", type: { - name: "Number" + name: "Sequence", + element: { + type: { + name: "Composite", + className: "LoadBalancerFrontendIPConfiguration" + } + } } } } } }; -export const GalleryImageVersionStorageProfile: msRest.CompositeMapper = { - serializedName: "GalleryImageVersionStorageProfile", +export const LoadBalancerConfiguration: msRest.CompositeMapper = { + serializedName: "LoadBalancerConfiguration", type: { name: "Composite", - className: "GalleryImageVersionStorageProfile", + className: "LoadBalancerConfiguration", modelProperties: { - source: { - serializedName: "source", + id: { + serializedName: "id", type: { - name: "Composite", - className: "GalleryArtifactVersionSource" + name: "String" } }, - osDiskImage: { - serializedName: "osDiskImage", + name: { + required: true, + serializedName: "name", type: { - name: "Composite", - className: "GalleryOSDiskImage" + name: "String" } }, - dataDiskImages: { - serializedName: "dataDiskImages", + properties: { + required: true, + serializedName: "properties", + type: { + name: "Composite", + className: "LoadBalancerConfigurationProperties" + } + } + } + } +}; + +export const CloudServiceNetworkProfile: msRest.CompositeMapper = { + serializedName: "CloudServiceNetworkProfile", + type: { + name: "Composite", + className: "CloudServiceNetworkProfile", + modelProperties: { + loadBalancerConfigurations: { + serializedName: "loadBalancerConfigurations", type: { name: "Sequence", element: { type: { name: "Composite", - className: "GalleryDataDiskImage" + className: "LoadBalancerConfiguration" } } } + }, + swappableCloudService: { + serializedName: "swappableCloudService", + type: { + name: "Composite", + className: "SubResource" + } + } + } + } +}; + +export const CloudServiceVaultAndSecretReference: msRest.CompositeMapper = { + serializedName: "CloudServiceVaultAndSecretReference", + type: { + name: "Composite", + className: "CloudServiceVaultAndSecretReference", + modelProperties: { + sourceVault: { + serializedName: "sourceVault", + type: { + name: "Composite", + className: "SubResource" + } + }, + secretUrl: { + serializedName: "secretUrl", + type: { + name: "String" + } } } } }; -export const GalleryImageVersion: msRest.CompositeMapper = { - serializedName: "GalleryImageVersion", +export const CloudServiceExtensionProperties: msRest.CompositeMapper = { + serializedName: "CloudServiceExtensionProperties", type: { name: "Composite", - className: "GalleryImageVersion", + className: "CloudServiceExtensionProperties", modelProperties: { - ...Resource.type.modelProperties, - publishingProfile: { - serializedName: "properties.publishingProfile", + publisher: { + serializedName: "publisher", type: { - name: "Composite", - className: "GalleryImageVersionPublishingProfile" + name: "String" } }, - provisioningState: { - readOnly: true, - serializedName: "properties.provisioningState", + type: { + serializedName: "type", type: { name: "String" } }, - storageProfile: { - required: true, - serializedName: "properties.storageProfile", + typeHandlerVersion: { + serializedName: "typeHandlerVersion", type: { - name: "Composite", - className: "GalleryImageVersionStorageProfile" + name: "String" } }, - replicationStatus: { - readOnly: true, - serializedName: "properties.replicationStatus", + autoUpgradeMinorVersion: { + serializedName: "autoUpgradeMinorVersion", type: { - name: "Composite", - className: "ReplicationStatus" + name: "Boolean" } - } - } - } -}; - -export const GalleryImageVersionUpdate: msRest.CompositeMapper = { - serializedName: "GalleryImageVersionUpdate", - type: { - name: "Composite", - className: "GalleryImageVersionUpdate", - modelProperties: { - ...UpdateResourceDefinition.type.modelProperties, - publishingProfile: { - serializedName: "properties.publishingProfile", + }, + settings: { + serializedName: "settings", type: { - name: "Composite", - className: "GalleryImageVersionPublishingProfile" + name: "String" } }, - provisioningState: { - readOnly: true, - serializedName: "properties.provisioningState", + protectedSettings: { + serializedName: "protectedSettings", type: { name: "String" } }, - storageProfile: { - required: true, - serializedName: "properties.storageProfile", + protectedSettingsFromKeyVault: { + serializedName: "protectedSettingsFromKeyVault", type: { name: "Composite", - className: "GalleryImageVersionStorageProfile" + className: "CloudServiceVaultAndSecretReference" } }, - replicationStatus: { + forceUpdateTag: { + serializedName: "forceUpdateTag", + type: { + name: "String" + } + }, + provisioningState: { readOnly: true, - serializedName: "properties.replicationStatus", + serializedName: "provisioningState", type: { - name: "Composite", - className: "ReplicationStatus" + name: "String" + } + }, + rolesAppliedTo: { + serializedName: "rolesAppliedTo", + type: { + name: "Sequence", + element: { + type: { + name: "String" + } + } } } } } }; -export const DiskImageEncryption: msRest.CompositeMapper = { - serializedName: "DiskImageEncryption", +export const Extension: msRest.CompositeMapper = { + serializedName: "Extension", type: { name: "Composite", - className: "DiskImageEncryption", + className: "Extension", modelProperties: { - diskEncryptionSetId: { - serializedName: "diskEncryptionSetId", + name: { + serializedName: "name", type: { name: "String" } + }, + properties: { + serializedName: "properties", + type: { + name: "Composite", + className: "CloudServiceExtensionProperties" + } } } } }; -export const OSDiskImageEncryption: msRest.CompositeMapper = { - serializedName: "OSDiskImageEncryption", - type: { - name: "Composite", - className: "OSDiskImageEncryption", - modelProperties: { - ...DiskImageEncryption.type.modelProperties - } - } -}; - -export const DataDiskImageEncryption: msRest.CompositeMapper = { - serializedName: "DataDiskImageEncryption", +export const CloudServiceExtensionProfile: msRest.CompositeMapper = { + serializedName: "CloudServiceExtensionProfile", type: { name: "Composite", - className: "DataDiskImageEncryption", + className: "CloudServiceExtensionProfile", modelProperties: { - ...DiskImageEncryption.type.modelProperties, - lun: { - required: true, - serializedName: "lun", + extensions: { + serializedName: "extensions", type: { - name: "Number" + name: "Sequence", + element: { + type: { + name: "Composite", + className: "Extension" + } + } } } } } }; -export const EncryptionImages: msRest.CompositeMapper = { - serializedName: "EncryptionImages", +export const CloudServiceProperties: msRest.CompositeMapper = { + serializedName: "CloudServiceProperties", type: { name: "Composite", - className: "EncryptionImages", + className: "CloudServiceProperties", modelProperties: { - osDiskImage: { - serializedName: "osDiskImage", + packageUrl: { + serializedName: "packageUrl", + type: { + name: "String" + } + }, + configuration: { + serializedName: "configuration", + type: { + name: "String" + } + }, + configurationUrl: { + serializedName: "configurationUrl", + type: { + name: "String" + } + }, + startCloudService: { + serializedName: "startCloudService", + type: { + name: "Boolean" + } + }, + upgradeMode: { + serializedName: "upgradeMode", + type: { + name: "String" + } + }, + roleProfile: { + serializedName: "roleProfile", type: { name: "Composite", - className: "OSDiskImageEncryption" + className: "CloudServiceRoleProfile" } }, - dataDiskImages: { - serializedName: "dataDiskImages", + osProfile: { + serializedName: "osProfile", type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "DataDiskImageEncryption" - } - } + name: "Composite", + className: "CloudServiceOsProfile" + } + }, + networkProfile: { + serializedName: "networkProfile", + type: { + name: "Composite", + className: "CloudServiceNetworkProfile" + } + }, + extensionProfile: { + serializedName: "extensionProfile", + type: { + name: "Composite", + className: "CloudServiceExtensionProfile" + } + }, + provisioningState: { + readOnly: true, + serializedName: "provisioningState", + type: { + name: "String" + } + }, + uniqueId: { + readOnly: true, + serializedName: "uniqueId", + type: { + name: "String" } } } } }; -export const TargetRegion: msRest.CompositeMapper = { - serializedName: "TargetRegion", +export const CloudService: msRest.CompositeMapper = { + serializedName: "CloudService", type: { name: "Composite", - className: "TargetRegion", + className: "CloudService", modelProperties: { + id: { + readOnly: true, + serializedName: "id", + type: { + name: "String" + } + }, name: { - required: true, + readOnly: true, serializedName: "name", type: { name: "String" } }, - regionalReplicaCount: { - serializedName: "regionalReplicaCount", + type: { + readOnly: true, + serializedName: "type", type: { - name: "Number" + name: "String" } }, - storageAccountType: { - serializedName: "storageAccountType", + location: { + required: true, + serializedName: "location", type: { name: "String" } }, - encryption: { - serializedName: "encryption", + tags: { + serializedName: "tags", + type: { + name: "Dictionary", + value: { + type: { + name: "String" + } + } + } + }, + properties: { + serializedName: "properties", type: { name: "Composite", - className: "EncryptionImages" + className: "CloudServiceProperties" } } } } }; -export const ManagedArtifact: msRest.CompositeMapper = { - serializedName: "ManagedArtifact", +export const CloudServiceUpdate: msRest.CompositeMapper = { + serializedName: "CloudServiceUpdate", type: { name: "Composite", - className: "ManagedArtifact", + className: "CloudServiceUpdate", modelProperties: { - id: { - required: true, - serializedName: "id", + tags: { + serializedName: "tags", + type: { + name: "Dictionary", + value: { + type: { + name: "String" + } + } + } + } + } + } +}; + +export const StatusCodeCount: msRest.CompositeMapper = { + serializedName: "StatusCodeCount", + type: { + name: "Composite", + className: "StatusCodeCount", + modelProperties: { + code: { + readOnly: true, + serializedName: "code", + type: { + name: "String" + } + }, + count: { + readOnly: true, + serializedName: "count", type: { - name: "String" + name: "Number" } } } } }; -export const GalleryArtifactSource: msRest.CompositeMapper = { - serializedName: "GalleryArtifactSource", +export const InstanceViewStatusesSummary: msRest.CompositeMapper = { + serializedName: "InstanceViewStatusesSummary", type: { name: "Composite", - className: "GalleryArtifactSource", + className: "InstanceViewStatusesSummary", modelProperties: { - managedImage: { - required: true, - serializedName: "managedImage", + statusesSummary: { + readOnly: true, + serializedName: "statusesSummary", type: { - name: "Composite", - className: "ManagedArtifact" + name: "Sequence", + element: { + type: { + name: "Composite", + className: "StatusCodeCount" + } + } } } } } }; -export const ContainerServiceCustomProfile: msRest.CompositeMapper = { - serializedName: "ContainerServiceCustomProfile", +export const CloudServiceInstanceView: msRest.CompositeMapper = { + serializedName: "CloudServiceInstanceView", type: { name: "Composite", - className: "ContainerServiceCustomProfile", + className: "CloudServiceInstanceView", modelProperties: { - orchestrator: { - required: true, - serializedName: "orchestrator", + roleInstance: { + serializedName: "roleInstance", type: { - name: "String" + name: "Composite", + className: "InstanceViewStatusesSummary" } - } - } - } -}; - -export const ContainerServiceServicePrincipalProfile: msRest.CompositeMapper = { - serializedName: "ContainerServiceServicePrincipalProfile", - type: { - name: "Composite", - className: "ContainerServiceServicePrincipalProfile", - modelProperties: { - clientId: { - required: true, - serializedName: "clientId", + }, + sdkVersion: { + readOnly: true, + serializedName: "sdkVersion", type: { name: "String" } }, - secret: { - required: true, - serializedName: "secret", + privateIds: { + readOnly: true, + serializedName: "privateIds", type: { - name: "String" + name: "Sequence", + element: { + type: { + name: "String" + } + } + } + }, + statuses: { + readOnly: true, + serializedName: "statuses", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "ResourceInstanceViewStatus" + } + } } } } } }; -export const ContainerServiceOrchestratorProfile: msRest.CompositeMapper = { - serializedName: "ContainerServiceOrchestratorProfile", +export const RoleInstances: msRest.CompositeMapper = { + serializedName: "RoleInstances", type: { name: "Composite", - className: "ContainerServiceOrchestratorProfile", + className: "RoleInstances", modelProperties: { - orchestratorType: { + roleInstances: { required: true, - serializedName: "orchestratorType", + serializedName: "roleInstances", type: { - name: "Enum", - allowedValues: [ - "Swarm", - "DCOS", - "Custom", - "Kubernetes" - ] + name: "Sequence", + element: { + type: { + name: "String" + } + } } } } } }; -export const ContainerServiceMasterProfile: msRest.CompositeMapper = { - serializedName: "ContainerServiceMasterProfile", +export const UpdateDomain: msRest.CompositeMapper = { + serializedName: "UpdateDomain", type: { name: "Composite", - className: "ContainerServiceMasterProfile", + className: "UpdateDomain", modelProperties: { - count: { - serializedName: "count", - defaultValue: 1, - type: { - name: "Number" - } - }, - dnsPrefix: { - required: true, - serializedName: "dnsPrefix", + id: { + readOnly: true, + serializedName: "id", type: { name: "String" } }, - fqdn: { + name: { readOnly: true, - serializedName: "fqdn", + serializedName: "name", type: { name: "String" } @@ -9924,272 +12031,217 @@ export const ContainerServiceMasterProfile: msRest.CompositeMapper = { } }; -export const ContainerServiceAgentPoolProfile: msRest.CompositeMapper = { - serializedName: "ContainerServiceAgentPoolProfile", +export const OSVersionProperties: msRest.CompositeMapper = { + serializedName: "OSVersionProperties", type: { name: "Composite", - className: "ContainerServiceAgentPoolProfile", + className: "OSVersionProperties", modelProperties: { - name: { - required: true, - serializedName: "name", + family: { + readOnly: true, + serializedName: "family", type: { name: "String" } }, - count: { - required: true, - serializedName: "count", - defaultValue: 1, - constraints: { - InclusiveMaximum: 100, - InclusiveMinimum: 1 - }, + familyLabel: { + readOnly: true, + serializedName: "familyLabel", type: { - name: "Number" + name: "String" } }, - vmSize: { - required: true, - serializedName: "vmSize", + version: { + readOnly: true, + serializedName: "version", type: { name: "String" } }, - dnsPrefix: { - required: true, - serializedName: "dnsPrefix", + label: { + readOnly: true, + serializedName: "label", type: { name: "String" } }, - fqdn: { + isDefault: { readOnly: true, - serializedName: "fqdn", + serializedName: "isDefault", type: { - name: "String" + name: "Boolean" + } + }, + isActive: { + readOnly: true, + serializedName: "isActive", + type: { + name: "Boolean" } } } } }; -export const ContainerServiceWindowsProfile: msRest.CompositeMapper = { - serializedName: "ContainerServiceWindowsProfile", +export const OSVersion: msRest.CompositeMapper = { + serializedName: "OSVersion", type: { name: "Composite", - className: "ContainerServiceWindowsProfile", + className: "OSVersion", modelProperties: { - adminUsername: { - required: true, - serializedName: "adminUsername", - constraints: { - Pattern: /^[a-zA-Z0-9]+([._]?[a-zA-Z0-9]+)*$/ - }, + id: { + readOnly: true, + serializedName: "id", type: { name: "String" } }, - adminPassword: { - required: true, - serializedName: "adminPassword", - constraints: { - Pattern: /^(?=.*[a-z])(?=.*[A-Z])(?=.*[!@#$%\^&\*\(\)])[a-zA-Z\d!@#$%\^&\*\(\)]{12,123}$/ - }, + name: { + readOnly: true, + serializedName: "name", type: { name: "String" } - } - } - } -}; - -export const ContainerServiceSshPublicKey: msRest.CompositeMapper = { - serializedName: "ContainerServiceSshPublicKey", - type: { - name: "Composite", - className: "ContainerServiceSshPublicKey", - modelProperties: { - keyData: { - required: true, - serializedName: "keyData", + }, + type: { + readOnly: true, + serializedName: "type", type: { name: "String" } - } - } - } -}; - -export const ContainerServiceSshConfiguration: msRest.CompositeMapper = { - serializedName: "ContainerServiceSshConfiguration", - type: { - name: "Composite", - className: "ContainerServiceSshConfiguration", - modelProperties: { - publicKeys: { - required: true, - serializedName: "publicKeys", - type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "ContainerServiceSshPublicKey" - } - } - } - } - } - } -}; - -export const ContainerServiceLinuxProfile: msRest.CompositeMapper = { - serializedName: "ContainerServiceLinuxProfile", - type: { - name: "Composite", - className: "ContainerServiceLinuxProfile", - modelProperties: { - adminUsername: { - required: true, - serializedName: "adminUsername", - constraints: { - Pattern: /^[a-z][a-z0-9_-]*$/ - }, + }, + location: { + readOnly: true, + serializedName: "location", type: { name: "String" } }, - ssh: { - required: true, - serializedName: "ssh", + properties: { + serializedName: "properties", type: { name: "Composite", - className: "ContainerServiceSshConfiguration" + className: "OSVersionProperties" } } } } }; -export const ContainerServiceVMDiagnostics: msRest.CompositeMapper = { - serializedName: "ContainerServiceVMDiagnostics", +export const OSVersionPropertiesBase: msRest.CompositeMapper = { + serializedName: "OSVersionPropertiesBase", type: { name: "Composite", - className: "ContainerServiceVMDiagnostics", + className: "OSVersionPropertiesBase", modelProperties: { - enabled: { - required: true, - serializedName: "enabled", + version: { + readOnly: true, + serializedName: "version", type: { - name: "Boolean" + name: "String" } }, - storageUri: { + label: { readOnly: true, - serializedName: "storageUri", + serializedName: "label", type: { name: "String" } - } - } - } -}; - -export const ContainerServiceDiagnosticsProfile: msRest.CompositeMapper = { - serializedName: "ContainerServiceDiagnosticsProfile", - type: { - name: "Composite", - className: "ContainerServiceDiagnosticsProfile", - modelProperties: { - vmDiagnostics: { - required: true, - serializedName: "vmDiagnostics", + }, + isDefault: { + readOnly: true, + serializedName: "isDefault", type: { - name: "Composite", - className: "ContainerServiceVMDiagnostics" + name: "Boolean" + } + }, + isActive: { + readOnly: true, + serializedName: "isActive", + type: { + name: "Boolean" } } } } }; -export const ContainerService: msRest.CompositeMapper = { - serializedName: "ContainerService", +export const OSFamilyProperties: msRest.CompositeMapper = { + serializedName: "OSFamilyProperties", type: { name: "Composite", - className: "ContainerService", + className: "OSFamilyProperties", modelProperties: { - ...Resource.type.modelProperties, - provisioningState: { + name: { readOnly: true, - serializedName: "properties.provisioningState", + serializedName: "name", type: { name: "String" } }, - orchestratorProfile: { - serializedName: "properties.orchestratorProfile", - type: { - name: "Composite", - className: "ContainerServiceOrchestratorProfile" - } - }, - customProfile: { - serializedName: "properties.customProfile", - type: { - name: "Composite", - className: "ContainerServiceCustomProfile" - } - }, - servicePrincipalProfile: { - serializedName: "properties.servicePrincipalProfile", - type: { - name: "Composite", - className: "ContainerServiceServicePrincipalProfile" - } - }, - masterProfile: { - required: true, - serializedName: "properties.masterProfile", + label: { + readOnly: true, + serializedName: "label", type: { - name: "Composite", - className: "ContainerServiceMasterProfile" + name: "String" } }, - agentPoolProfiles: { - required: true, - serializedName: "properties.agentPoolProfiles", + versions: { + readOnly: true, + serializedName: "versions", type: { name: "Sequence", element: { type: { name: "Composite", - className: "ContainerServiceAgentPoolProfile" + className: "OSVersionPropertiesBase" } } } + } + } + } +}; + +export const OSFamily: msRest.CompositeMapper = { + serializedName: "OSFamily", + type: { + name: "Composite", + className: "OSFamily", + modelProperties: { + id: { + readOnly: true, + serializedName: "id", + type: { + name: "String" + } + }, + name: { + readOnly: true, + serializedName: "name", + type: { + name: "String" + } }, - windowsProfile: { - serializedName: "properties.windowsProfile", + type: { + readOnly: true, + serializedName: "type", type: { - name: "Composite", - className: "ContainerServiceWindowsProfile" + name: "String" } }, - linuxProfile: { - required: true, - serializedName: "properties.linuxProfile", + location: { + readOnly: true, + serializedName: "location", type: { - name: "Composite", - className: "ContainerServiceLinuxProfile" + name: "String" } }, - diagnosticsProfile: { - serializedName: "properties.diagnosticsProfile", + properties: { + serializedName: "properties", type: { name: "Composite", - className: "ContainerServiceDiagnosticsProfile" + className: "OSFamilyProperties" } } } @@ -10444,11 +12496,11 @@ export const VirtualMachineListResult: msRest.CompositeMapper = { } }; -export const ImageListResult: msRest.CompositeMapper = { - serializedName: "ImageListResult", +export const VirtualMachineScaleSetListResult: msRest.CompositeMapper = { + serializedName: "VirtualMachineScaleSetListResult", type: { name: "Composite", - className: "ImageListResult", + className: "VirtualMachineScaleSetListResult", modelProperties: { value: { required: true, @@ -10458,7 +12510,7 @@ export const ImageListResult: msRest.CompositeMapper = { element: { type: { name: "Composite", - className: "Image" + className: "VirtualMachineScaleSet" } } } @@ -10473,11 +12525,11 @@ export const ImageListResult: msRest.CompositeMapper = { } }; -export const VirtualMachineScaleSetListResult: msRest.CompositeMapper = { - serializedName: "VirtualMachineScaleSetListResult", +export const VirtualMachineScaleSetListWithLinkResult: msRest.CompositeMapper = { + serializedName: "VirtualMachineScaleSetListWithLinkResult", type: { name: "Composite", - className: "VirtualMachineScaleSetListResult", + className: "VirtualMachineScaleSetListWithLinkResult", modelProperties: { value: { required: true, @@ -10502,11 +12554,11 @@ export const VirtualMachineScaleSetListResult: msRest.CompositeMapper = { } }; -export const VirtualMachineScaleSetListWithLinkResult: msRest.CompositeMapper = { - serializedName: "VirtualMachineScaleSetListWithLinkResult", +export const VirtualMachineScaleSetListSkusResult: msRest.CompositeMapper = { + serializedName: "VirtualMachineScaleSetListSkusResult", type: { name: "Composite", - className: "VirtualMachineScaleSetListWithLinkResult", + className: "VirtualMachineScaleSetListSkusResult", modelProperties: { value: { required: true, @@ -10516,7 +12568,7 @@ export const VirtualMachineScaleSetListWithLinkResult: msRest.CompositeMapper = element: { type: { name: "Composite", - className: "VirtualMachineScaleSet" + className: "VirtualMachineScaleSetSku" } } } @@ -10531,11 +12583,11 @@ export const VirtualMachineScaleSetListWithLinkResult: msRest.CompositeMapper = } }; -export const VirtualMachineScaleSetListSkusResult: msRest.CompositeMapper = { - serializedName: "VirtualMachineScaleSetListSkusResult", +export const VirtualMachineScaleSetListOSUpgradeHistory: msRest.CompositeMapper = { + serializedName: "VirtualMachineScaleSetListOSUpgradeHistory", type: { name: "Composite", - className: "VirtualMachineScaleSetListSkusResult", + className: "VirtualMachineScaleSetListOSUpgradeHistory", modelProperties: { value: { required: true, @@ -10545,7 +12597,7 @@ export const VirtualMachineScaleSetListSkusResult: msRest.CompositeMapper = { element: { type: { name: "Composite", - className: "VirtualMachineScaleSetSku" + className: "UpgradeOperationHistoricalStatusInfo" } } } @@ -10560,11 +12612,11 @@ export const VirtualMachineScaleSetListSkusResult: msRest.CompositeMapper = { } }; -export const VirtualMachineScaleSetListOSUpgradeHistory: msRest.CompositeMapper = { - serializedName: "VirtualMachineScaleSetListOSUpgradeHistory", +export const ImageListResult: msRest.CompositeMapper = { + serializedName: "ImageListResult", type: { name: "Composite", - className: "VirtualMachineScaleSetListOSUpgradeHistory", + className: "ImageListResult", modelProperties: { value: { required: true, @@ -10574,7 +12626,7 @@ export const VirtualMachineScaleSetListOSUpgradeHistory: msRest.CompositeMapper element: { type: { name: "Composite", - className: "UpgradeOperationHistoricalStatusInfo" + className: "Image" } } } @@ -10676,6 +12728,35 @@ export const RunCommandListResult: msRest.CompositeMapper = { } }; +export const VirtualMachineRunCommandsListResult: msRest.CompositeMapper = { + serializedName: "VirtualMachineRunCommandsListResult", + type: { + name: "Composite", + className: "VirtualMachineRunCommandsListResult", + modelProperties: { + value: { + required: true, + serializedName: "", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "VirtualMachineRunCommand" + } + } + } + }, + nextLink: { + serializedName: "nextLink", + type: { + name: "String" + } + } + } + } +}; + export const ResourceSkusResult: msRest.CompositeMapper = { serializedName: "ResourceSkusResult", type: { @@ -10849,6 +12930,63 @@ export const DiskAccessList: msRest.CompositeMapper = { } }; +export const PrivateEndpointConnectionListResult: msRest.CompositeMapper = { + serializedName: "PrivateEndpointConnectionListResult", + type: { + name: "Composite", + className: "PrivateEndpointConnectionListResult", + modelProperties: { + value: { + serializedName: "", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "PrivateEndpointConnection" + } + } + } + }, + nextLink: { + serializedName: "nextLink", + type: { + name: "String" + } + } + } + } +}; + +export const DiskRestorePointList: msRest.CompositeMapper = { + serializedName: "DiskRestorePointList", + type: { + name: "Composite", + className: "DiskRestorePointList", + modelProperties: { + value: { + required: true, + serializedName: "", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "DiskRestorePoint" + } + } + } + }, + nextLink: { + serializedName: "nextLink", + type: { + name: "String" + } + } + } + } +}; + export const GalleryList: msRest.CompositeMapper = { serializedName: "GalleryList", type: { @@ -10994,20 +13132,166 @@ export const GalleryApplicationVersionList: msRest.CompositeMapper = { } }; -export const ContainerServiceListResult: msRest.CompositeMapper = { - serializedName: "ContainerServiceListResult", +export const RoleInstanceListResult: msRest.CompositeMapper = { + serializedName: "RoleInstanceListResult", + type: { + name: "Composite", + className: "RoleInstanceListResult", + modelProperties: { + value: { + required: true, + serializedName: "", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "RoleInstance" + } + } + } + }, + nextLink: { + serializedName: "nextLink", + type: { + name: "String" + } + } + } + } +}; + +export const CloudServiceRoleListResult: msRest.CompositeMapper = { + serializedName: "CloudServiceRoleListResult", + type: { + name: "Composite", + className: "CloudServiceRoleListResult", + modelProperties: { + value: { + required: true, + serializedName: "", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "CloudServiceRole" + } + } + } + }, + nextLink: { + serializedName: "nextLink", + type: { + name: "String" + } + } + } + } +}; + +export const CloudServiceListResult: msRest.CompositeMapper = { + serializedName: "CloudServiceListResult", + type: { + name: "Composite", + className: "CloudServiceListResult", + modelProperties: { + value: { + required: true, + serializedName: "", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "CloudService" + } + } + } + }, + nextLink: { + serializedName: "nextLink", + type: { + name: "String" + } + } + } + } +}; + +export const UpdateDomainListResult: msRest.CompositeMapper = { + serializedName: "UpdateDomainListResult", + type: { + name: "Composite", + className: "UpdateDomainListResult", + modelProperties: { + value: { + required: true, + serializedName: "", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "UpdateDomain" + } + } + } + }, + nextLink: { + serializedName: "nextLink", + type: { + name: "String" + } + } + } + } +}; + +export const OSVersionListResult: msRest.CompositeMapper = { + serializedName: "OSVersionListResult", + type: { + name: "Composite", + className: "OSVersionListResult", + modelProperties: { + value: { + required: true, + serializedName: "", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "OSVersion" + } + } + } + }, + nextLink: { + serializedName: "nextLink", + type: { + name: "String" + } + } + } + } +}; + +export const OSFamilyListResult: msRest.CompositeMapper = { + serializedName: "OSFamilyListResult", type: { name: "Composite", - className: "ContainerServiceListResult", + className: "OSFamilyListResult", modelProperties: { value: { + required: true, serializedName: "", type: { name: "Sequence", element: { type: { name: "Composite", - className: "ContainerService" + className: "OSFamily" } } } diff --git a/sdk/compute/arm-compute/src/models/operationsMappers.ts b/sdk/compute/arm-compute/src/models/operationsMappers.ts index 6ba728fec8be..6b80c42b2d21 100644 --- a/sdk/compute/arm-compute/src/models/operationsMappers.ts +++ b/sdk/compute/arm-compute/src/models/operationsMappers.ts @@ -1,6 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is regenerated. diff --git a/sdk/compute/arm-compute/src/models/parameters.ts b/sdk/compute/arm-compute/src/models/parameters.ts index 30115323b65c..357ab4598242 100644 --- a/sdk/compute/arm-compute/src/models/parameters.ts +++ b/sdk/compute/arm-compute/src/models/parameters.ts @@ -1,7 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is @@ -26,7 +25,7 @@ export const apiVersion0: msRest.OperationQueryParameter = { required: true, isConstant: true, serializedName: "api-version", - defaultValue: '2020-06-01', + defaultValue: '2020-12-01', type: { name: "String" } @@ -50,7 +49,7 @@ export const apiVersion2: msRest.OperationQueryParameter = { required: true, isConstant: true, serializedName: "api-version", - defaultValue: '2020-06-30', + defaultValue: '2020-09-30', type: { name: "String" } @@ -74,7 +73,7 @@ export const apiVersion4: msRest.OperationQueryParameter = { required: true, isConstant: true, serializedName: "api-version", - defaultValue: '2017-01-31', + defaultValue: '2021-03-01', type: { name: "String" } @@ -90,21 +89,21 @@ export const availabilitySetName: msRest.OperationURLParameter = { } } }; -export const commandId: msRest.OperationURLParameter = { - parameterPath: "commandId", +export const cloudServiceName: msRest.OperationURLParameter = { + parameterPath: "cloudServiceName", mapper: { required: true, - serializedName: "commandId", + serializedName: "cloudServiceName", type: { name: "String" } } }; -export const containerServiceName: msRest.OperationURLParameter = { - parameterPath: "containerServiceName", +export const commandId: msRest.OperationURLParameter = { + parameterPath: "commandId", mapper: { required: true, - serializedName: "containerServiceName", + serializedName: "commandId", type: { name: "String" } @@ -140,6 +139,26 @@ export const diskName: msRest.OperationURLParameter = { } } }; +export const diskRestorePointName: msRest.OperationURLParameter = { + parameterPath: "diskRestorePointName", + mapper: { + required: true, + serializedName: "diskRestorePointName", + type: { + name: "String" + } + } +}; +export const edgeZone: msRest.OperationURLParameter = { + parameterPath: "edgeZone", + mapper: { + required: true, + serializedName: "edgeZone", + type: { + name: "String" + } + } +}; export const expand0: msRest.OperationQueryParameter = { parameterPath: [ "options", @@ -179,6 +198,18 @@ export const filter: msRest.OperationQueryParameter = { } } }; +export const forceDeletion: msRest.OperationQueryParameter = { + parameterPath: [ + "options", + "forceDeletion" + ], + mapper: { + serializedName: "forceDeletion", + type: { + name: "Boolean" + } + } +}; export const galleryApplicationName: msRest.OperationURLParameter = { parameterPath: "galleryApplicationName", mapper: { @@ -337,6 +368,26 @@ export const orderby: msRest.OperationQueryParameter = { } } }; +export const osFamilyName: msRest.OperationURLParameter = { + parameterPath: "osFamilyName", + mapper: { + required: true, + serializedName: "osFamilyName", + type: { + name: "String" + } + } +}; +export const osVersionName: msRest.OperationURLParameter = { + parameterPath: "osVersionName", + mapper: { + required: true, + serializedName: "osVersionName", + type: { + name: "String" + } + } +}; export const platformUpdateDomain: msRest.OperationQueryParameter = { parameterPath: "platformUpdateDomain", mapper: { @@ -347,6 +398,16 @@ export const platformUpdateDomain: msRest.OperationQueryParameter = { } } }; +export const privateEndpointConnectionName: msRest.OperationURLParameter = { + parameterPath: "privateEndpointConnectionName", + mapper: { + required: true, + serializedName: "privateEndpointConnectionName", + type: { + name: "String" + } + } +}; export const proximityPlacementGroupName: msRest.OperationURLParameter = { parameterPath: "proximityPlacementGroupName", mapper: { @@ -377,6 +438,46 @@ export const resourceGroupName: msRest.OperationURLParameter = { } } }; +export const restorePointCollectionName: msRest.OperationURLParameter = { + parameterPath: "restorePointCollectionName", + mapper: { + required: true, + serializedName: "restorePointCollectionName", + type: { + name: "String" + } + } +}; +export const roleInstanceName: msRest.OperationURLParameter = { + parameterPath: "roleInstanceName", + mapper: { + required: true, + serializedName: "roleInstanceName", + type: { + name: "String" + } + } +}; +export const roleName: msRest.OperationURLParameter = { + parameterPath: "roleName", + mapper: { + required: true, + serializedName: "roleName", + type: { + name: "String" + } + } +}; +export const runCommandName: msRest.OperationURLParameter = { + parameterPath: "runCommandName", + mapper: { + required: true, + serializedName: "runCommandName", + type: { + name: "String" + } + } +}; export const sasUriExpirationTimeInMinutes: msRest.OperationQueryParameter = { parameterPath: [ "options", @@ -488,6 +589,16 @@ export const type: msRest.OperationURLParameter = { } } }; +export const updateDomain: msRest.OperationURLParameter = { + parameterPath: "updateDomain", + mapper: { + required: true, + serializedName: "updateDomain", + type: { + name: "Number" + } + } +}; export const version: msRest.OperationURLParameter = { parameterPath: "version", mapper: { @@ -528,6 +639,16 @@ export const vmName: msRest.OperationURLParameter = { } } }; +export const vmRestorePointName: msRest.OperationURLParameter = { + parameterPath: "vmRestorePointName", + mapper: { + required: true, + serializedName: "vmRestorePointName", + type: { + name: "String" + } + } +}; export const vmScaleSetName: msRest.OperationURLParameter = { parameterPath: "vmScaleSetName", mapper: { diff --git a/sdk/compute/arm-compute/src/models/proximityPlacementGroupsMappers.ts b/sdk/compute/arm-compute/src/models/proximityPlacementGroupsMappers.ts index c95b98da90af..5b6236d57ae6 100644 --- a/sdk/compute/arm-compute/src/models/proximityPlacementGroupsMappers.ts +++ b/sdk/compute/arm-compute/src/models/proximityPlacementGroupsMappers.ts @@ -1,6 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is regenerated. @@ -23,18 +23,18 @@ export { BootDiagnostics, BootDiagnosticsInstanceView, CloudError, - ContainerService, - ContainerServiceAgentPoolProfile, - ContainerServiceCustomProfile, - ContainerServiceDiagnosticsProfile, - ContainerServiceLinuxProfile, - ContainerServiceMasterProfile, - ContainerServiceOrchestratorProfile, - ContainerServiceServicePrincipalProfile, - ContainerServiceSshConfiguration, - ContainerServiceSshPublicKey, - ContainerServiceVMDiagnostics, - ContainerServiceWindowsProfile, + CloudService, + CloudServiceExtensionProfile, + CloudServiceExtensionProperties, + CloudServiceNetworkProfile, + CloudServiceOsProfile, + CloudServiceProperties, + CloudServiceRoleProfile, + CloudServiceRoleProfileProperties, + CloudServiceRoleSku, + CloudServiceVaultAndSecretReference, + CloudServiceVaultCertificate, + CloudServiceVaultSecretGroup, CreationData, DataDisk, DataDiskImage, @@ -65,6 +65,8 @@ export { EncryptionSetIdentity, EncryptionSettingsCollection, EncryptionSettingsElement, + ExtendedLocation, + Extension, Gallery, GalleryApplication, GalleryApplicationUpdate, @@ -97,12 +99,18 @@ export { ImageUpdate, InnerError, InstanceViewStatus, + KeyForDiskEncryptionSet, KeyVaultAndKeyReference, KeyVaultAndSecretReference, KeyVaultKeyReference, KeyVaultSecretReference, LastPatchInstallationSummary, LinuxConfiguration, + LinuxPatchSettings, + LoadBalancerConfiguration, + LoadBalancerConfigurationProperties, + LoadBalancerFrontendIPConfiguration, + LoadBalancerFrontendIPConfigurationProperties, MaintenanceRedeployStatus, ManagedDiskParameters, NetworkInterfaceReference, @@ -129,6 +137,7 @@ export { RollingUpgradeProgressInfo, RollingUpgradeRunningStatus, RollingUpgradeStatusInfo, + RunCommandInputParameter, ScaleInPolicy, ScheduledEventsProfile, SecurityProfile, @@ -147,9 +156,11 @@ export { SubResourceWithColocationStatus, TargetRegion, TerminateNotificationProfile, + UefiSettings, UpdateResource, UpdateResourceDefinition, UpgradePolicy, + UserArtifactManage, UserArtifactSource, VaultCertificate, VaultSecretGroup, @@ -166,9 +177,14 @@ export { VirtualMachineIdentity, VirtualMachineIdentityUserAssignedIdentitiesValue, VirtualMachineImage, + VirtualMachineImageFeature, VirtualMachineImageResource, VirtualMachineInstanceView, VirtualMachinePatchStatus, + VirtualMachineRunCommand, + VirtualMachineRunCommandInstanceView, + VirtualMachineRunCommandScriptSource, + VirtualMachineRunCommandUpdate, VirtualMachineScaleSet, VirtualMachineScaleSetDataDisk, VirtualMachineScaleSetExtension, @@ -197,6 +213,8 @@ export { VirtualMachineScaleSetUpdateStorageProfile, VirtualMachineScaleSetUpdateVMProfile, VirtualMachineScaleSetVM, + VirtualMachineScaleSetVMExtension, + VirtualMachineScaleSetVMExtensionUpdate, VirtualMachineScaleSetVMInstanceView, VirtualMachineScaleSetVMNetworkProfileConfiguration, VirtualMachineScaleSetVMProfile, diff --git a/sdk/compute/arm-compute/src/models/resourceSkusMappers.ts b/sdk/compute/arm-compute/src/models/resourceSkusMappers.ts index ff328d2b9d4d..2f02dae60cc5 100644 --- a/sdk/compute/arm-compute/src/models/resourceSkusMappers.ts +++ b/sdk/compute/arm-compute/src/models/resourceSkusMappers.ts @@ -1,6 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is regenerated. diff --git a/sdk/compute/arm-compute/src/models/snapshotsMappers.ts b/sdk/compute/arm-compute/src/models/snapshotsMappers.ts index b3701a644ec9..fc4d5d806864 100644 --- a/sdk/compute/arm-compute/src/models/snapshotsMappers.ts +++ b/sdk/compute/arm-compute/src/models/snapshotsMappers.ts @@ -1,6 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is regenerated. @@ -23,18 +23,18 @@ export { BootDiagnostics, BootDiagnosticsInstanceView, CloudError, - ContainerService, - ContainerServiceAgentPoolProfile, - ContainerServiceCustomProfile, - ContainerServiceDiagnosticsProfile, - ContainerServiceLinuxProfile, - ContainerServiceMasterProfile, - ContainerServiceOrchestratorProfile, - ContainerServiceServicePrincipalProfile, - ContainerServiceSshConfiguration, - ContainerServiceSshPublicKey, - ContainerServiceVMDiagnostics, - ContainerServiceWindowsProfile, + CloudService, + CloudServiceExtensionProfile, + CloudServiceExtensionProperties, + CloudServiceNetworkProfile, + CloudServiceOsProfile, + CloudServiceProperties, + CloudServiceRoleProfile, + CloudServiceRoleProfileProperties, + CloudServiceRoleSku, + CloudServiceVaultAndSecretReference, + CloudServiceVaultCertificate, + CloudServiceVaultSecretGroup, CreationData, DataDisk, DataDiskImage, @@ -63,6 +63,8 @@ export { EncryptionSetIdentity, EncryptionSettingsCollection, EncryptionSettingsElement, + ExtendedLocation, + Extension, Gallery, GalleryApplication, GalleryApplicationUpdate, @@ -95,12 +97,18 @@ export { ImageStorageProfile, InnerError, InstanceViewStatus, + KeyForDiskEncryptionSet, KeyVaultAndKeyReference, KeyVaultAndSecretReference, KeyVaultKeyReference, KeyVaultSecretReference, LastPatchInstallationSummary, LinuxConfiguration, + LinuxPatchSettings, + LoadBalancerConfiguration, + LoadBalancerConfigurationProperties, + LoadBalancerFrontendIPConfiguration, + LoadBalancerFrontendIPConfigurationProperties, MaintenanceRedeployStatus, ManagedDiskParameters, NetworkInterfaceReference, @@ -125,6 +133,7 @@ export { RollingUpgradeProgressInfo, RollingUpgradeRunningStatus, RollingUpgradeStatusInfo, + RunCommandInputParameter, ScaleInPolicy, ScheduledEventsProfile, SecurityProfile, @@ -144,8 +153,10 @@ export { SubResourceWithColocationStatus, TargetRegion, TerminateNotificationProfile, + UefiSettings, UpdateResourceDefinition, UpgradePolicy, + UserArtifactManage, UserArtifactSource, VaultCertificate, VaultSecretGroup, @@ -161,9 +172,13 @@ export { VirtualMachineIdentity, VirtualMachineIdentityUserAssignedIdentitiesValue, VirtualMachineImage, + VirtualMachineImageFeature, VirtualMachineImageResource, VirtualMachineInstanceView, VirtualMachinePatchStatus, + VirtualMachineRunCommand, + VirtualMachineRunCommandInstanceView, + VirtualMachineRunCommandScriptSource, VirtualMachineScaleSet, VirtualMachineScaleSetDataDisk, VirtualMachineScaleSetExtension, @@ -186,6 +201,8 @@ export { VirtualMachineScaleSetUpdateNetworkConfiguration, VirtualMachineScaleSetUpdatePublicIPAddressConfiguration, VirtualMachineScaleSetVM, + VirtualMachineScaleSetVMExtension, + VirtualMachineScaleSetVMExtensionUpdate, VirtualMachineScaleSetVMInstanceView, VirtualMachineScaleSetVMNetworkProfileConfiguration, VirtualMachineScaleSetVMProfile, diff --git a/sdk/compute/arm-compute/src/models/sshPublicKeysMappers.ts b/sdk/compute/arm-compute/src/models/sshPublicKeysMappers.ts index 634c39bf3870..10878062051f 100644 --- a/sdk/compute/arm-compute/src/models/sshPublicKeysMappers.ts +++ b/sdk/compute/arm-compute/src/models/sshPublicKeysMappers.ts @@ -1,6 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is regenerated. @@ -23,18 +23,18 @@ export { BootDiagnostics, BootDiagnosticsInstanceView, CloudError, - ContainerService, - ContainerServiceAgentPoolProfile, - ContainerServiceCustomProfile, - ContainerServiceDiagnosticsProfile, - ContainerServiceLinuxProfile, - ContainerServiceMasterProfile, - ContainerServiceOrchestratorProfile, - ContainerServiceServicePrincipalProfile, - ContainerServiceSshConfiguration, - ContainerServiceSshPublicKey, - ContainerServiceVMDiagnostics, - ContainerServiceWindowsProfile, + CloudService, + CloudServiceExtensionProfile, + CloudServiceExtensionProperties, + CloudServiceNetworkProfile, + CloudServiceOsProfile, + CloudServiceProperties, + CloudServiceRoleProfile, + CloudServiceRoleProfileProperties, + CloudServiceRoleSku, + CloudServiceVaultAndSecretReference, + CloudServiceVaultCertificate, + CloudServiceVaultSecretGroup, CreationData, DataDisk, DataDiskImage, @@ -65,6 +65,8 @@ export { EncryptionSetIdentity, EncryptionSettingsCollection, EncryptionSettingsElement, + ExtendedLocation, + Extension, Gallery, GalleryApplication, GalleryApplicationUpdate, @@ -97,12 +99,18 @@ export { ImageUpdate, InnerError, InstanceViewStatus, + KeyForDiskEncryptionSet, KeyVaultAndKeyReference, KeyVaultAndSecretReference, KeyVaultKeyReference, KeyVaultSecretReference, LastPatchInstallationSummary, LinuxConfiguration, + LinuxPatchSettings, + LoadBalancerConfiguration, + LoadBalancerConfigurationProperties, + LoadBalancerFrontendIPConfiguration, + LoadBalancerFrontendIPConfigurationProperties, MaintenanceRedeployStatus, ManagedDiskParameters, NetworkInterfaceReference, @@ -128,6 +136,7 @@ export { RollingUpgradeProgressInfo, RollingUpgradeRunningStatus, RollingUpgradeStatusInfo, + RunCommandInputParameter, ScaleInPolicy, ScheduledEventsProfile, SecurityProfile, @@ -148,9 +157,11 @@ export { SubResourceWithColocationStatus, TargetRegion, TerminateNotificationProfile, + UefiSettings, UpdateResource, UpdateResourceDefinition, UpgradePolicy, + UserArtifactManage, UserArtifactSource, VaultCertificate, VaultSecretGroup, @@ -167,9 +178,14 @@ export { VirtualMachineIdentity, VirtualMachineIdentityUserAssignedIdentitiesValue, VirtualMachineImage, + VirtualMachineImageFeature, VirtualMachineImageResource, VirtualMachineInstanceView, VirtualMachinePatchStatus, + VirtualMachineRunCommand, + VirtualMachineRunCommandInstanceView, + VirtualMachineRunCommandScriptSource, + VirtualMachineRunCommandUpdate, VirtualMachineScaleSet, VirtualMachineScaleSetDataDisk, VirtualMachineScaleSetExtension, @@ -198,6 +214,8 @@ export { VirtualMachineScaleSetUpdateStorageProfile, VirtualMachineScaleSetUpdateVMProfile, VirtualMachineScaleSetVM, + VirtualMachineScaleSetVMExtension, + VirtualMachineScaleSetVMExtensionUpdate, VirtualMachineScaleSetVMInstanceView, VirtualMachineScaleSetVMNetworkProfileConfiguration, VirtualMachineScaleSetVMProfile, diff --git a/sdk/compute/arm-compute/src/models/usageOperationsMappers.ts b/sdk/compute/arm-compute/src/models/usageOperationsMappers.ts index 22de4a8bc142..2bb344ff0880 100644 --- a/sdk/compute/arm-compute/src/models/usageOperationsMappers.ts +++ b/sdk/compute/arm-compute/src/models/usageOperationsMappers.ts @@ -1,6 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is regenerated. diff --git a/sdk/compute/arm-compute/src/models/virtualMachineExtensionImagesMappers.ts b/sdk/compute/arm-compute/src/models/virtualMachineExtensionImagesMappers.ts index 94265b583cca..01be0b9b93d9 100644 --- a/sdk/compute/arm-compute/src/models/virtualMachineExtensionImagesMappers.ts +++ b/sdk/compute/arm-compute/src/models/virtualMachineExtensionImagesMappers.ts @@ -1,6 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is regenerated. @@ -22,18 +22,18 @@ export { BootDiagnostics, BootDiagnosticsInstanceView, CloudError, - ContainerService, - ContainerServiceAgentPoolProfile, - ContainerServiceCustomProfile, - ContainerServiceDiagnosticsProfile, - ContainerServiceLinuxProfile, - ContainerServiceMasterProfile, - ContainerServiceOrchestratorProfile, - ContainerServiceServicePrincipalProfile, - ContainerServiceSshConfiguration, - ContainerServiceSshPublicKey, - ContainerServiceVMDiagnostics, - ContainerServiceWindowsProfile, + CloudService, + CloudServiceExtensionProfile, + CloudServiceExtensionProperties, + CloudServiceNetworkProfile, + CloudServiceOsProfile, + CloudServiceProperties, + CloudServiceRoleProfile, + CloudServiceRoleProfileProperties, + CloudServiceRoleSku, + CloudServiceVaultAndSecretReference, + CloudServiceVaultCertificate, + CloudServiceVaultSecretGroup, CreationData, DataDisk, DataDiskImage, @@ -62,6 +62,8 @@ export { EncryptionSetIdentity, EncryptionSettingsCollection, EncryptionSettingsElement, + ExtendedLocation, + Extension, Gallery, GalleryApplication, GalleryApplicationUpdate, @@ -93,12 +95,18 @@ export { ImageStorageProfile, InnerError, InstanceViewStatus, + KeyForDiskEncryptionSet, KeyVaultAndKeyReference, KeyVaultAndSecretReference, KeyVaultKeyReference, KeyVaultSecretReference, LastPatchInstallationSummary, LinuxConfiguration, + LinuxPatchSettings, + LoadBalancerConfiguration, + LoadBalancerConfigurationProperties, + LoadBalancerFrontendIPConfiguration, + LoadBalancerFrontendIPConfigurationProperties, MaintenanceRedeployStatus, ManagedDiskParameters, NetworkInterfaceReference, @@ -123,6 +131,7 @@ export { RollingUpgradeProgressInfo, RollingUpgradeRunningStatus, RollingUpgradeStatusInfo, + RunCommandInputParameter, ScaleInPolicy, ScheduledEventsProfile, SecurityProfile, @@ -140,8 +149,10 @@ export { SubResourceWithColocationStatus, TargetRegion, TerminateNotificationProfile, + UefiSettings, UpdateResourceDefinition, UpgradePolicy, + UserArtifactManage, UserArtifactSource, VaultCertificate, VaultSecretGroup, @@ -157,9 +168,13 @@ export { VirtualMachineIdentity, VirtualMachineIdentityUserAssignedIdentitiesValue, VirtualMachineImage, + VirtualMachineImageFeature, VirtualMachineImageResource, VirtualMachineInstanceView, VirtualMachinePatchStatus, + VirtualMachineRunCommand, + VirtualMachineRunCommandInstanceView, + VirtualMachineRunCommandScriptSource, VirtualMachineScaleSet, VirtualMachineScaleSetDataDisk, VirtualMachineScaleSetExtension, @@ -182,6 +197,8 @@ export { VirtualMachineScaleSetUpdateNetworkConfiguration, VirtualMachineScaleSetUpdatePublicIPAddressConfiguration, VirtualMachineScaleSetVM, + VirtualMachineScaleSetVMExtension, + VirtualMachineScaleSetVMExtensionUpdate, VirtualMachineScaleSetVMInstanceView, VirtualMachineScaleSetVMNetworkProfileConfiguration, VirtualMachineScaleSetVMProfile, diff --git a/sdk/compute/arm-compute/src/models/virtualMachineExtensionsMappers.ts b/sdk/compute/arm-compute/src/models/virtualMachineExtensionsMappers.ts index 6299932f5dcc..078a966e3c4e 100644 --- a/sdk/compute/arm-compute/src/models/virtualMachineExtensionsMappers.ts +++ b/sdk/compute/arm-compute/src/models/virtualMachineExtensionsMappers.ts @@ -1,6 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is regenerated. @@ -23,18 +23,18 @@ export { BootDiagnostics, BootDiagnosticsInstanceView, CloudError, - ContainerService, - ContainerServiceAgentPoolProfile, - ContainerServiceCustomProfile, - ContainerServiceDiagnosticsProfile, - ContainerServiceLinuxProfile, - ContainerServiceMasterProfile, - ContainerServiceOrchestratorProfile, - ContainerServiceServicePrincipalProfile, - ContainerServiceSshConfiguration, - ContainerServiceSshPublicKey, - ContainerServiceVMDiagnostics, - ContainerServiceWindowsProfile, + CloudService, + CloudServiceExtensionProfile, + CloudServiceExtensionProperties, + CloudServiceNetworkProfile, + CloudServiceOsProfile, + CloudServiceProperties, + CloudServiceRoleProfile, + CloudServiceRoleProfileProperties, + CloudServiceRoleSku, + CloudServiceVaultAndSecretReference, + CloudServiceVaultCertificate, + CloudServiceVaultSecretGroup, CreationData, DataDisk, DataDiskImage, @@ -65,6 +65,8 @@ export { EncryptionSetIdentity, EncryptionSettingsCollection, EncryptionSettingsElement, + ExtendedLocation, + Extension, Gallery, GalleryApplication, GalleryApplicationUpdate, @@ -97,12 +99,18 @@ export { ImageUpdate, InnerError, InstanceViewStatus, + KeyForDiskEncryptionSet, KeyVaultAndKeyReference, KeyVaultAndSecretReference, KeyVaultKeyReference, KeyVaultSecretReference, LastPatchInstallationSummary, LinuxConfiguration, + LinuxPatchSettings, + LoadBalancerConfiguration, + LoadBalancerConfigurationProperties, + LoadBalancerFrontendIPConfiguration, + LoadBalancerFrontendIPConfigurationProperties, MaintenanceRedeployStatus, ManagedDiskParameters, NetworkInterfaceReference, @@ -128,6 +136,7 @@ export { RollingUpgradeProgressInfo, RollingUpgradeRunningStatus, RollingUpgradeStatusInfo, + RunCommandInputParameter, ScaleInPolicy, ScheduledEventsProfile, SecurityProfile, @@ -146,9 +155,11 @@ export { SubResourceWithColocationStatus, TargetRegion, TerminateNotificationProfile, + UefiSettings, UpdateResource, UpdateResourceDefinition, UpgradePolicy, + UserArtifactManage, UserArtifactSource, VaultCertificate, VaultSecretGroup, @@ -166,9 +177,14 @@ export { VirtualMachineIdentity, VirtualMachineIdentityUserAssignedIdentitiesValue, VirtualMachineImage, + VirtualMachineImageFeature, VirtualMachineImageResource, VirtualMachineInstanceView, VirtualMachinePatchStatus, + VirtualMachineRunCommand, + VirtualMachineRunCommandInstanceView, + VirtualMachineRunCommandScriptSource, + VirtualMachineRunCommandUpdate, VirtualMachineScaleSet, VirtualMachineScaleSetDataDisk, VirtualMachineScaleSetExtension, @@ -197,6 +213,8 @@ export { VirtualMachineScaleSetUpdateStorageProfile, VirtualMachineScaleSetUpdateVMProfile, VirtualMachineScaleSetVM, + VirtualMachineScaleSetVMExtension, + VirtualMachineScaleSetVMExtensionUpdate, VirtualMachineScaleSetVMInstanceView, VirtualMachineScaleSetVMNetworkProfileConfiguration, VirtualMachineScaleSetVMProfile, diff --git a/sdk/compute/arm-compute/src/models/containerServicesMappers.ts b/sdk/compute/arm-compute/src/models/virtualMachineImagesEdgeZoneMappers.ts similarity index 83% rename from sdk/compute/arm-compute/src/models/containerServicesMappers.ts rename to sdk/compute/arm-compute/src/models/virtualMachineImagesEdgeZoneMappers.ts index f51c43681cb0..01be0b9b93d9 100644 --- a/sdk/compute/arm-compute/src/models/containerServicesMappers.ts +++ b/sdk/compute/arm-compute/src/models/virtualMachineImagesEdgeZoneMappers.ts @@ -1,6 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is regenerated. @@ -22,19 +22,18 @@ export { BootDiagnostics, BootDiagnosticsInstanceView, CloudError, - ContainerService, - ContainerServiceAgentPoolProfile, - ContainerServiceCustomProfile, - ContainerServiceDiagnosticsProfile, - ContainerServiceLinuxProfile, - ContainerServiceListResult, - ContainerServiceMasterProfile, - ContainerServiceOrchestratorProfile, - ContainerServiceServicePrincipalProfile, - ContainerServiceSshConfiguration, - ContainerServiceSshPublicKey, - ContainerServiceVMDiagnostics, - ContainerServiceWindowsProfile, + CloudService, + CloudServiceExtensionProfile, + CloudServiceExtensionProperties, + CloudServiceNetworkProfile, + CloudServiceOsProfile, + CloudServiceProperties, + CloudServiceRoleProfile, + CloudServiceRoleProfileProperties, + CloudServiceRoleSku, + CloudServiceVaultAndSecretReference, + CloudServiceVaultCertificate, + CloudServiceVaultSecretGroup, CreationData, DataDisk, DataDiskImage, @@ -63,6 +62,8 @@ export { EncryptionSetIdentity, EncryptionSettingsCollection, EncryptionSettingsElement, + ExtendedLocation, + Extension, Gallery, GalleryApplication, GalleryApplicationUpdate, @@ -94,12 +95,18 @@ export { ImageStorageProfile, InnerError, InstanceViewStatus, + KeyForDiskEncryptionSet, KeyVaultAndKeyReference, KeyVaultAndSecretReference, KeyVaultKeyReference, KeyVaultSecretReference, LastPatchInstallationSummary, LinuxConfiguration, + LinuxPatchSettings, + LoadBalancerConfiguration, + LoadBalancerConfigurationProperties, + LoadBalancerFrontendIPConfiguration, + LoadBalancerFrontendIPConfigurationProperties, MaintenanceRedeployStatus, ManagedDiskParameters, NetworkInterfaceReference, @@ -124,6 +131,7 @@ export { RollingUpgradeProgressInfo, RollingUpgradeRunningStatus, RollingUpgradeStatusInfo, + RunCommandInputParameter, ScaleInPolicy, ScheduledEventsProfile, SecurityProfile, @@ -141,8 +149,10 @@ export { SubResourceWithColocationStatus, TargetRegion, TerminateNotificationProfile, + UefiSettings, UpdateResourceDefinition, UpgradePolicy, + UserArtifactManage, UserArtifactSource, VaultCertificate, VaultSecretGroup, @@ -158,9 +168,13 @@ export { VirtualMachineIdentity, VirtualMachineIdentityUserAssignedIdentitiesValue, VirtualMachineImage, + VirtualMachineImageFeature, VirtualMachineImageResource, VirtualMachineInstanceView, VirtualMachinePatchStatus, + VirtualMachineRunCommand, + VirtualMachineRunCommandInstanceView, + VirtualMachineRunCommandScriptSource, VirtualMachineScaleSet, VirtualMachineScaleSetDataDisk, VirtualMachineScaleSetExtension, @@ -183,6 +197,8 @@ export { VirtualMachineScaleSetUpdateNetworkConfiguration, VirtualMachineScaleSetUpdatePublicIPAddressConfiguration, VirtualMachineScaleSetVM, + VirtualMachineScaleSetVMExtension, + VirtualMachineScaleSetVMExtensionUpdate, VirtualMachineScaleSetVMInstanceView, VirtualMachineScaleSetVMNetworkProfileConfiguration, VirtualMachineScaleSetVMProfile, diff --git a/sdk/compute/arm-compute/src/models/virtualMachineImagesMappers.ts b/sdk/compute/arm-compute/src/models/virtualMachineImagesMappers.ts index 94265b583cca..01be0b9b93d9 100644 --- a/sdk/compute/arm-compute/src/models/virtualMachineImagesMappers.ts +++ b/sdk/compute/arm-compute/src/models/virtualMachineImagesMappers.ts @@ -1,6 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is regenerated. @@ -22,18 +22,18 @@ export { BootDiagnostics, BootDiagnosticsInstanceView, CloudError, - ContainerService, - ContainerServiceAgentPoolProfile, - ContainerServiceCustomProfile, - ContainerServiceDiagnosticsProfile, - ContainerServiceLinuxProfile, - ContainerServiceMasterProfile, - ContainerServiceOrchestratorProfile, - ContainerServiceServicePrincipalProfile, - ContainerServiceSshConfiguration, - ContainerServiceSshPublicKey, - ContainerServiceVMDiagnostics, - ContainerServiceWindowsProfile, + CloudService, + CloudServiceExtensionProfile, + CloudServiceExtensionProperties, + CloudServiceNetworkProfile, + CloudServiceOsProfile, + CloudServiceProperties, + CloudServiceRoleProfile, + CloudServiceRoleProfileProperties, + CloudServiceRoleSku, + CloudServiceVaultAndSecretReference, + CloudServiceVaultCertificate, + CloudServiceVaultSecretGroup, CreationData, DataDisk, DataDiskImage, @@ -62,6 +62,8 @@ export { EncryptionSetIdentity, EncryptionSettingsCollection, EncryptionSettingsElement, + ExtendedLocation, + Extension, Gallery, GalleryApplication, GalleryApplicationUpdate, @@ -93,12 +95,18 @@ export { ImageStorageProfile, InnerError, InstanceViewStatus, + KeyForDiskEncryptionSet, KeyVaultAndKeyReference, KeyVaultAndSecretReference, KeyVaultKeyReference, KeyVaultSecretReference, LastPatchInstallationSummary, LinuxConfiguration, + LinuxPatchSettings, + LoadBalancerConfiguration, + LoadBalancerConfigurationProperties, + LoadBalancerFrontendIPConfiguration, + LoadBalancerFrontendIPConfigurationProperties, MaintenanceRedeployStatus, ManagedDiskParameters, NetworkInterfaceReference, @@ -123,6 +131,7 @@ export { RollingUpgradeProgressInfo, RollingUpgradeRunningStatus, RollingUpgradeStatusInfo, + RunCommandInputParameter, ScaleInPolicy, ScheduledEventsProfile, SecurityProfile, @@ -140,8 +149,10 @@ export { SubResourceWithColocationStatus, TargetRegion, TerminateNotificationProfile, + UefiSettings, UpdateResourceDefinition, UpgradePolicy, + UserArtifactManage, UserArtifactSource, VaultCertificate, VaultSecretGroup, @@ -157,9 +168,13 @@ export { VirtualMachineIdentity, VirtualMachineIdentityUserAssignedIdentitiesValue, VirtualMachineImage, + VirtualMachineImageFeature, VirtualMachineImageResource, VirtualMachineInstanceView, VirtualMachinePatchStatus, + VirtualMachineRunCommand, + VirtualMachineRunCommandInstanceView, + VirtualMachineRunCommandScriptSource, VirtualMachineScaleSet, VirtualMachineScaleSetDataDisk, VirtualMachineScaleSetExtension, @@ -182,6 +197,8 @@ export { VirtualMachineScaleSetUpdateNetworkConfiguration, VirtualMachineScaleSetUpdatePublicIPAddressConfiguration, VirtualMachineScaleSetVM, + VirtualMachineScaleSetVMExtension, + VirtualMachineScaleSetVMExtensionUpdate, VirtualMachineScaleSetVMInstanceView, VirtualMachineScaleSetVMNetworkProfileConfiguration, VirtualMachineScaleSetVMProfile, diff --git a/sdk/compute/arm-compute/src/models/virtualMachineRunCommandsMappers.ts b/sdk/compute/arm-compute/src/models/virtualMachineRunCommandsMappers.ts index 2bcbd6209547..1b72713d45d7 100644 --- a/sdk/compute/arm-compute/src/models/virtualMachineRunCommandsMappers.ts +++ b/sdk/compute/arm-compute/src/models/virtualMachineRunCommandsMappers.ts @@ -1,15 +1,230 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is regenerated. */ export { + AdditionalCapabilities, + AdditionalUnattendContent, + ApiEntityReference, + ApiError, + ApiErrorBase, + AutomaticOSUpgradePolicy, + AutomaticOSUpgradeProperties, + AutomaticRepairsPolicy, + AvailabilitySet, + AvailabilitySetUpdate, + AvailablePatchSummary, + BaseResource, + BillingProfile, + BootDiagnostics, + BootDiagnosticsInstanceView, CloudError, + CloudService, + CloudServiceExtensionProfile, + CloudServiceExtensionProperties, + CloudServiceNetworkProfile, + CloudServiceOsProfile, + CloudServiceProperties, + CloudServiceRoleProfile, + CloudServiceRoleProfileProperties, + CloudServiceRoleSku, + CloudServiceVaultAndSecretReference, + CloudServiceVaultCertificate, + CloudServiceVaultSecretGroup, + CreationData, + DataDisk, + DataDiskImage, + DataDiskImageEncryption, + DedicatedHost, + DedicatedHostAllocatableVM, + DedicatedHostAvailableCapacity, + DedicatedHostGroup, + DedicatedHostGroupInstanceView, + DedicatedHostGroupUpdate, + DedicatedHostInstanceView, + DedicatedHostInstanceViewWithName, + DedicatedHostUpdate, + DiagnosticsProfile, + DiffDiskSettings, + Disallowed, + DisallowedConfiguration, + Disk, + DiskAccess, + DiskEncryptionSet, + DiskEncryptionSetParameters, + DiskEncryptionSettings, + DiskImageEncryption, + DiskInstanceView, + DiskSku, + Encryption, + EncryptionImages, + EncryptionSetIdentity, + EncryptionSettingsCollection, + EncryptionSettingsElement, + ExtendedLocation, + Extension, + Gallery, + GalleryApplication, + GalleryApplicationUpdate, + GalleryApplicationVersion, + GalleryApplicationVersionPublishingProfile, + GalleryApplicationVersionUpdate, + GalleryArtifactPublishingProfileBase, + GalleryArtifactVersionSource, + GalleryDataDiskImage, + GalleryDiskImage, + GalleryIdentifier, + GalleryImage, + GalleryImageIdentifier, + GalleryImageUpdate, + GalleryImageVersion, + GalleryImageVersionPublishingProfile, + GalleryImageVersionStorageProfile, + GalleryImageVersionUpdate, + GalleryOSDiskImage, + GalleryUpdate, + HardwareProfile, + Image, + ImageDataDisk, + ImageDisk, + ImageDiskReference, + ImageOSDisk, + ImagePurchasePlan, + ImageReference, + ImageStorageProfile, + ImageUpdate, + InnerError, + InstanceViewStatus, + KeyForDiskEncryptionSet, + KeyVaultAndKeyReference, + KeyVaultAndSecretReference, + KeyVaultKeyReference, + KeyVaultSecretReference, + LastPatchInstallationSummary, + LinuxConfiguration, + LinuxPatchSettings, + LoadBalancerConfiguration, + LoadBalancerConfigurationProperties, + LoadBalancerFrontendIPConfiguration, + LoadBalancerFrontendIPConfigurationProperties, + MaintenanceRedeployStatus, + ManagedDiskParameters, + NetworkInterfaceReference, + NetworkProfile, + OSDisk, + OSDiskImage, + OSDiskImageEncryption, + OSProfile, + PatchSettings, + Plan, + PrivateEndpoint, + PrivateEndpointConnection, + PrivateLinkServiceConnectionState, + ProximityPlacementGroup, + ProximityPlacementGroupUpdate, + PurchasePlan, + RecommendedMachineConfiguration, + RegionalReplicationStatus, + ReplicationStatus, + Resource, + ResourceRange, + RollingUpgradePolicy, + RollingUpgradeProgressInfo, + RollingUpgradeRunningStatus, + RollingUpgradeStatusInfo, RunCommandDocument, RunCommandDocumentBase, + RunCommandInputParameter, RunCommandListResult, - RunCommandParameterDefinition + RunCommandParameterDefinition, + ScaleInPolicy, + ScheduledEventsProfile, + SecurityProfile, + ShareInfoElement, + Sku, + Snapshot, + SnapshotSku, + SourceVault, + SshConfiguration, + SshPublicKey, + SshPublicKeyResource, + SshPublicKeyUpdateResource, + StorageProfile, + SubResource, + SubResourceReadOnly, + SubResourceWithColocationStatus, + TargetRegion, + TerminateNotificationProfile, + UefiSettings, + UpdateResource, + UpdateResourceDefinition, + UpgradePolicy, + UserArtifactManage, + UserArtifactSource, + VaultCertificate, + VaultSecretGroup, + VirtualHardDisk, + VirtualMachine, + VirtualMachineAgentInstanceView, + VirtualMachineCaptureResult, + VirtualMachineExtension, + VirtualMachineExtensionHandlerInstanceView, + VirtualMachineExtensionImage, + VirtualMachineExtensionInstanceView, + VirtualMachineExtensionUpdate, + VirtualMachineHealthStatus, + VirtualMachineIdentity, + VirtualMachineIdentityUserAssignedIdentitiesValue, + VirtualMachineImage, + VirtualMachineImageFeature, + VirtualMachineImageResource, + VirtualMachineInstanceView, + VirtualMachinePatchStatus, + VirtualMachineRunCommand, + VirtualMachineRunCommandInstanceView, + VirtualMachineRunCommandScriptSource, + VirtualMachineRunCommandsListResult, + VirtualMachineRunCommandUpdate, + VirtualMachineScaleSet, + VirtualMachineScaleSetDataDisk, + VirtualMachineScaleSetExtension, + VirtualMachineScaleSetExtensionProfile, + VirtualMachineScaleSetExtensionUpdate, + VirtualMachineScaleSetIdentity, + VirtualMachineScaleSetIdentityUserAssignedIdentitiesValue, + VirtualMachineScaleSetIPConfiguration, + VirtualMachineScaleSetIpTag, + VirtualMachineScaleSetManagedDiskParameters, + VirtualMachineScaleSetNetworkConfiguration, + VirtualMachineScaleSetNetworkConfigurationDnsSettings, + VirtualMachineScaleSetNetworkProfile, + VirtualMachineScaleSetOSDisk, + VirtualMachineScaleSetOSProfile, + VirtualMachineScaleSetPublicIPAddressConfiguration, + VirtualMachineScaleSetPublicIPAddressConfigurationDnsSettings, + VirtualMachineScaleSetStorageProfile, + VirtualMachineScaleSetUpdate, + VirtualMachineScaleSetUpdateIPConfiguration, + VirtualMachineScaleSetUpdateNetworkConfiguration, + VirtualMachineScaleSetUpdateNetworkProfile, + VirtualMachineScaleSetUpdateOSDisk, + VirtualMachineScaleSetUpdateOSProfile, + VirtualMachineScaleSetUpdatePublicIPAddressConfiguration, + VirtualMachineScaleSetUpdateStorageProfile, + VirtualMachineScaleSetUpdateVMProfile, + VirtualMachineScaleSetVM, + VirtualMachineScaleSetVMExtension, + VirtualMachineScaleSetVMExtensionUpdate, + VirtualMachineScaleSetVMInstanceView, + VirtualMachineScaleSetVMNetworkProfileConfiguration, + VirtualMachineScaleSetVMProfile, + VirtualMachineScaleSetVMProtectionPolicy, + VirtualMachineUpdate, + WindowsConfiguration, + WinRMConfiguration, + WinRMListener } from "../models/mappers"; diff --git a/sdk/compute/arm-compute/src/models/virtualMachineScaleSetExtensionsMappers.ts b/sdk/compute/arm-compute/src/models/virtualMachineScaleSetExtensionsMappers.ts index b97e1690a27a..bcb7923a2681 100644 --- a/sdk/compute/arm-compute/src/models/virtualMachineScaleSetExtensionsMappers.ts +++ b/sdk/compute/arm-compute/src/models/virtualMachineScaleSetExtensionsMappers.ts @@ -1,6 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is regenerated. @@ -22,18 +22,18 @@ export { BootDiagnostics, BootDiagnosticsInstanceView, CloudError, - ContainerService, - ContainerServiceAgentPoolProfile, - ContainerServiceCustomProfile, - ContainerServiceDiagnosticsProfile, - ContainerServiceLinuxProfile, - ContainerServiceMasterProfile, - ContainerServiceOrchestratorProfile, - ContainerServiceServicePrincipalProfile, - ContainerServiceSshConfiguration, - ContainerServiceSshPublicKey, - ContainerServiceVMDiagnostics, - ContainerServiceWindowsProfile, + CloudService, + CloudServiceExtensionProfile, + CloudServiceExtensionProperties, + CloudServiceNetworkProfile, + CloudServiceOsProfile, + CloudServiceProperties, + CloudServiceRoleProfile, + CloudServiceRoleProfileProperties, + CloudServiceRoleSku, + CloudServiceVaultAndSecretReference, + CloudServiceVaultCertificate, + CloudServiceVaultSecretGroup, CreationData, DataDisk, DataDiskImage, @@ -62,6 +62,8 @@ export { EncryptionSetIdentity, EncryptionSettingsCollection, EncryptionSettingsElement, + ExtendedLocation, + Extension, Gallery, GalleryApplication, GalleryApplicationUpdate, @@ -93,12 +95,18 @@ export { ImageStorageProfile, InnerError, InstanceViewStatus, + KeyForDiskEncryptionSet, KeyVaultAndKeyReference, KeyVaultAndSecretReference, KeyVaultKeyReference, KeyVaultSecretReference, LastPatchInstallationSummary, LinuxConfiguration, + LinuxPatchSettings, + LoadBalancerConfiguration, + LoadBalancerConfigurationProperties, + LoadBalancerFrontendIPConfiguration, + LoadBalancerFrontendIPConfigurationProperties, MaintenanceRedeployStatus, ManagedDiskParameters, NetworkInterfaceReference, @@ -123,6 +131,7 @@ export { RollingUpgradeProgressInfo, RollingUpgradeRunningStatus, RollingUpgradeStatusInfo, + RunCommandInputParameter, ScaleInPolicy, ScheduledEventsProfile, SecurityProfile, @@ -140,8 +149,10 @@ export { SubResourceWithColocationStatus, TargetRegion, TerminateNotificationProfile, + UefiSettings, UpdateResourceDefinition, UpgradePolicy, + UserArtifactManage, UserArtifactSource, VaultCertificate, VaultSecretGroup, @@ -157,9 +168,13 @@ export { VirtualMachineIdentity, VirtualMachineIdentityUserAssignedIdentitiesValue, VirtualMachineImage, + VirtualMachineImageFeature, VirtualMachineImageResource, VirtualMachineInstanceView, VirtualMachinePatchStatus, + VirtualMachineRunCommand, + VirtualMachineRunCommandInstanceView, + VirtualMachineRunCommandScriptSource, VirtualMachineScaleSet, VirtualMachineScaleSetDataDisk, VirtualMachineScaleSetExtension, @@ -183,6 +198,8 @@ export { VirtualMachineScaleSetUpdateNetworkConfiguration, VirtualMachineScaleSetUpdatePublicIPAddressConfiguration, VirtualMachineScaleSetVM, + VirtualMachineScaleSetVMExtension, + VirtualMachineScaleSetVMExtensionUpdate, VirtualMachineScaleSetVMInstanceView, VirtualMachineScaleSetVMNetworkProfileConfiguration, VirtualMachineScaleSetVMProfile, diff --git a/sdk/compute/arm-compute/src/models/virtualMachineScaleSetRollingUpgradesMappers.ts b/sdk/compute/arm-compute/src/models/virtualMachineScaleSetRollingUpgradesMappers.ts index 94265b583cca..01be0b9b93d9 100644 --- a/sdk/compute/arm-compute/src/models/virtualMachineScaleSetRollingUpgradesMappers.ts +++ b/sdk/compute/arm-compute/src/models/virtualMachineScaleSetRollingUpgradesMappers.ts @@ -1,6 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is regenerated. @@ -22,18 +22,18 @@ export { BootDiagnostics, BootDiagnosticsInstanceView, CloudError, - ContainerService, - ContainerServiceAgentPoolProfile, - ContainerServiceCustomProfile, - ContainerServiceDiagnosticsProfile, - ContainerServiceLinuxProfile, - ContainerServiceMasterProfile, - ContainerServiceOrchestratorProfile, - ContainerServiceServicePrincipalProfile, - ContainerServiceSshConfiguration, - ContainerServiceSshPublicKey, - ContainerServiceVMDiagnostics, - ContainerServiceWindowsProfile, + CloudService, + CloudServiceExtensionProfile, + CloudServiceExtensionProperties, + CloudServiceNetworkProfile, + CloudServiceOsProfile, + CloudServiceProperties, + CloudServiceRoleProfile, + CloudServiceRoleProfileProperties, + CloudServiceRoleSku, + CloudServiceVaultAndSecretReference, + CloudServiceVaultCertificate, + CloudServiceVaultSecretGroup, CreationData, DataDisk, DataDiskImage, @@ -62,6 +62,8 @@ export { EncryptionSetIdentity, EncryptionSettingsCollection, EncryptionSettingsElement, + ExtendedLocation, + Extension, Gallery, GalleryApplication, GalleryApplicationUpdate, @@ -93,12 +95,18 @@ export { ImageStorageProfile, InnerError, InstanceViewStatus, + KeyForDiskEncryptionSet, KeyVaultAndKeyReference, KeyVaultAndSecretReference, KeyVaultKeyReference, KeyVaultSecretReference, LastPatchInstallationSummary, LinuxConfiguration, + LinuxPatchSettings, + LoadBalancerConfiguration, + LoadBalancerConfigurationProperties, + LoadBalancerFrontendIPConfiguration, + LoadBalancerFrontendIPConfigurationProperties, MaintenanceRedeployStatus, ManagedDiskParameters, NetworkInterfaceReference, @@ -123,6 +131,7 @@ export { RollingUpgradeProgressInfo, RollingUpgradeRunningStatus, RollingUpgradeStatusInfo, + RunCommandInputParameter, ScaleInPolicy, ScheduledEventsProfile, SecurityProfile, @@ -140,8 +149,10 @@ export { SubResourceWithColocationStatus, TargetRegion, TerminateNotificationProfile, + UefiSettings, UpdateResourceDefinition, UpgradePolicy, + UserArtifactManage, UserArtifactSource, VaultCertificate, VaultSecretGroup, @@ -157,9 +168,13 @@ export { VirtualMachineIdentity, VirtualMachineIdentityUserAssignedIdentitiesValue, VirtualMachineImage, + VirtualMachineImageFeature, VirtualMachineImageResource, VirtualMachineInstanceView, VirtualMachinePatchStatus, + VirtualMachineRunCommand, + VirtualMachineRunCommandInstanceView, + VirtualMachineRunCommandScriptSource, VirtualMachineScaleSet, VirtualMachineScaleSetDataDisk, VirtualMachineScaleSetExtension, @@ -182,6 +197,8 @@ export { VirtualMachineScaleSetUpdateNetworkConfiguration, VirtualMachineScaleSetUpdatePublicIPAddressConfiguration, VirtualMachineScaleSetVM, + VirtualMachineScaleSetVMExtension, + VirtualMachineScaleSetVMExtensionUpdate, VirtualMachineScaleSetVMInstanceView, VirtualMachineScaleSetVMNetworkProfileConfiguration, VirtualMachineScaleSetVMProfile, diff --git a/sdk/compute/arm-compute/src/models/virtualMachineScaleSetVMExtensionsMappers.ts b/sdk/compute/arm-compute/src/models/virtualMachineScaleSetVMExtensionsMappers.ts index 6299932f5dcc..63b3607e96fd 100644 --- a/sdk/compute/arm-compute/src/models/virtualMachineScaleSetVMExtensionsMappers.ts +++ b/sdk/compute/arm-compute/src/models/virtualMachineScaleSetVMExtensionsMappers.ts @@ -1,6 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is regenerated. @@ -16,25 +16,24 @@ export { AutomaticOSUpgradeProperties, AutomaticRepairsPolicy, AvailabilitySet, - AvailabilitySetUpdate, AvailablePatchSummary, BaseResource, BillingProfile, BootDiagnostics, BootDiagnosticsInstanceView, CloudError, - ContainerService, - ContainerServiceAgentPoolProfile, - ContainerServiceCustomProfile, - ContainerServiceDiagnosticsProfile, - ContainerServiceLinuxProfile, - ContainerServiceMasterProfile, - ContainerServiceOrchestratorProfile, - ContainerServiceServicePrincipalProfile, - ContainerServiceSshConfiguration, - ContainerServiceSshPublicKey, - ContainerServiceVMDiagnostics, - ContainerServiceWindowsProfile, + CloudService, + CloudServiceExtensionProfile, + CloudServiceExtensionProperties, + CloudServiceNetworkProfile, + CloudServiceOsProfile, + CloudServiceProperties, + CloudServiceRoleProfile, + CloudServiceRoleProfileProperties, + CloudServiceRoleSku, + CloudServiceVaultAndSecretReference, + CloudServiceVaultCertificate, + CloudServiceVaultSecretGroup, CreationData, DataDisk, DataDiskImage, @@ -44,10 +43,8 @@ export { DedicatedHostAvailableCapacity, DedicatedHostGroup, DedicatedHostGroupInstanceView, - DedicatedHostGroupUpdate, DedicatedHostInstanceView, DedicatedHostInstanceViewWithName, - DedicatedHostUpdate, DiagnosticsProfile, DiffDiskSettings, Disallowed, @@ -65,6 +62,8 @@ export { EncryptionSetIdentity, EncryptionSettingsCollection, EncryptionSettingsElement, + ExtendedLocation, + Extension, Gallery, GalleryApplication, GalleryApplicationUpdate, @@ -94,15 +93,20 @@ export { ImagePurchasePlan, ImageReference, ImageStorageProfile, - ImageUpdate, InnerError, InstanceViewStatus, + KeyForDiskEncryptionSet, KeyVaultAndKeyReference, KeyVaultAndSecretReference, KeyVaultKeyReference, KeyVaultSecretReference, LastPatchInstallationSummary, LinuxConfiguration, + LinuxPatchSettings, + LoadBalancerConfiguration, + LoadBalancerConfigurationProperties, + LoadBalancerFrontendIPConfiguration, + LoadBalancerFrontendIPConfigurationProperties, MaintenanceRedeployStatus, ManagedDiskParameters, NetworkInterfaceReference, @@ -117,7 +121,6 @@ export { PrivateEndpointConnection, PrivateLinkServiceConnectionState, ProximityPlacementGroup, - ProximityPlacementGroupUpdate, PurchasePlan, RecommendedMachineConfiguration, RegionalReplicationStatus, @@ -128,6 +131,7 @@ export { RollingUpgradeProgressInfo, RollingUpgradeRunningStatus, RollingUpgradeStatusInfo, + RunCommandInputParameter, ScaleInPolicy, ScheduledEventsProfile, SecurityProfile, @@ -139,16 +143,16 @@ export { SshConfiguration, SshPublicKey, SshPublicKeyResource, - SshPublicKeyUpdateResource, StorageProfile, SubResource, SubResourceReadOnly, SubResourceWithColocationStatus, TargetRegion, TerminateNotificationProfile, - UpdateResource, + UefiSettings, UpdateResourceDefinition, UpgradePolicy, + UserArtifactManage, UserArtifactSource, VaultCertificate, VaultSecretGroup, @@ -160,15 +164,17 @@ export { VirtualMachineExtensionHandlerInstanceView, VirtualMachineExtensionImage, VirtualMachineExtensionInstanceView, - VirtualMachineExtensionsListResult, - VirtualMachineExtensionUpdate, VirtualMachineHealthStatus, VirtualMachineIdentity, VirtualMachineIdentityUserAssignedIdentitiesValue, VirtualMachineImage, + VirtualMachineImageFeature, VirtualMachineImageResource, VirtualMachineInstanceView, VirtualMachinePatchStatus, + VirtualMachineRunCommand, + VirtualMachineRunCommandInstanceView, + VirtualMachineRunCommandScriptSource, VirtualMachineScaleSet, VirtualMachineScaleSetDataDisk, VirtualMachineScaleSetExtension, @@ -187,21 +193,17 @@ export { VirtualMachineScaleSetPublicIPAddressConfiguration, VirtualMachineScaleSetPublicIPAddressConfigurationDnsSettings, VirtualMachineScaleSetStorageProfile, - VirtualMachineScaleSetUpdate, VirtualMachineScaleSetUpdateIPConfiguration, VirtualMachineScaleSetUpdateNetworkConfiguration, - VirtualMachineScaleSetUpdateNetworkProfile, - VirtualMachineScaleSetUpdateOSDisk, - VirtualMachineScaleSetUpdateOSProfile, VirtualMachineScaleSetUpdatePublicIPAddressConfiguration, - VirtualMachineScaleSetUpdateStorageProfile, - VirtualMachineScaleSetUpdateVMProfile, VirtualMachineScaleSetVM, + VirtualMachineScaleSetVMExtension, + VirtualMachineScaleSetVMExtensionsListResult, + VirtualMachineScaleSetVMExtensionUpdate, VirtualMachineScaleSetVMInstanceView, VirtualMachineScaleSetVMNetworkProfileConfiguration, VirtualMachineScaleSetVMProfile, VirtualMachineScaleSetVMProtectionPolicy, - VirtualMachineUpdate, WindowsConfiguration, WinRMConfiguration, WinRMListener diff --git a/sdk/compute/arm-compute/src/models/virtualMachineScaleSetVMRunCommandsMappers.ts b/sdk/compute/arm-compute/src/models/virtualMachineScaleSetVMRunCommandsMappers.ts new file mode 100644 index 000000000000..f629ead647b2 --- /dev/null +++ b/sdk/compute/arm-compute/src/models/virtualMachineScaleSetVMRunCommandsMappers.ts @@ -0,0 +1,226 @@ +/* + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. + * + * Code generated by Microsoft (R) AutoRest Code Generator. + * Changes may cause incorrect behavior and will be lost if the code is regenerated. + */ + +export { + AdditionalCapabilities, + AdditionalUnattendContent, + ApiEntityReference, + ApiError, + ApiErrorBase, + AutomaticOSUpgradePolicy, + AutomaticOSUpgradeProperties, + AutomaticRepairsPolicy, + AvailabilitySet, + AvailabilitySetUpdate, + AvailablePatchSummary, + BaseResource, + BillingProfile, + BootDiagnostics, + BootDiagnosticsInstanceView, + CloudError, + CloudService, + CloudServiceExtensionProfile, + CloudServiceExtensionProperties, + CloudServiceNetworkProfile, + CloudServiceOsProfile, + CloudServiceProperties, + CloudServiceRoleProfile, + CloudServiceRoleProfileProperties, + CloudServiceRoleSku, + CloudServiceVaultAndSecretReference, + CloudServiceVaultCertificate, + CloudServiceVaultSecretGroup, + CreationData, + DataDisk, + DataDiskImage, + DataDiskImageEncryption, + DedicatedHost, + DedicatedHostAllocatableVM, + DedicatedHostAvailableCapacity, + DedicatedHostGroup, + DedicatedHostGroupInstanceView, + DedicatedHostGroupUpdate, + DedicatedHostInstanceView, + DedicatedHostInstanceViewWithName, + DedicatedHostUpdate, + DiagnosticsProfile, + DiffDiskSettings, + Disallowed, + DisallowedConfiguration, + Disk, + DiskAccess, + DiskEncryptionSet, + DiskEncryptionSetParameters, + DiskEncryptionSettings, + DiskImageEncryption, + DiskInstanceView, + DiskSku, + Encryption, + EncryptionImages, + EncryptionSetIdentity, + EncryptionSettingsCollection, + EncryptionSettingsElement, + ExtendedLocation, + Extension, + Gallery, + GalleryApplication, + GalleryApplicationUpdate, + GalleryApplicationVersion, + GalleryApplicationVersionPublishingProfile, + GalleryApplicationVersionUpdate, + GalleryArtifactPublishingProfileBase, + GalleryArtifactVersionSource, + GalleryDataDiskImage, + GalleryDiskImage, + GalleryIdentifier, + GalleryImage, + GalleryImageIdentifier, + GalleryImageUpdate, + GalleryImageVersion, + GalleryImageVersionPublishingProfile, + GalleryImageVersionStorageProfile, + GalleryImageVersionUpdate, + GalleryOSDiskImage, + GalleryUpdate, + HardwareProfile, + Image, + ImageDataDisk, + ImageDisk, + ImageDiskReference, + ImageOSDisk, + ImagePurchasePlan, + ImageReference, + ImageStorageProfile, + ImageUpdate, + InnerError, + InstanceViewStatus, + KeyForDiskEncryptionSet, + KeyVaultAndKeyReference, + KeyVaultAndSecretReference, + KeyVaultKeyReference, + KeyVaultSecretReference, + LastPatchInstallationSummary, + LinuxConfiguration, + LinuxPatchSettings, + LoadBalancerConfiguration, + LoadBalancerConfigurationProperties, + LoadBalancerFrontendIPConfiguration, + LoadBalancerFrontendIPConfigurationProperties, + MaintenanceRedeployStatus, + ManagedDiskParameters, + NetworkInterfaceReference, + NetworkProfile, + OSDisk, + OSDiskImage, + OSDiskImageEncryption, + OSProfile, + PatchSettings, + Plan, + PrivateEndpoint, + PrivateEndpointConnection, + PrivateLinkServiceConnectionState, + ProximityPlacementGroup, + ProximityPlacementGroupUpdate, + PurchasePlan, + RecommendedMachineConfiguration, + RegionalReplicationStatus, + ReplicationStatus, + Resource, + ResourceRange, + RollingUpgradePolicy, + RollingUpgradeProgressInfo, + RollingUpgradeRunningStatus, + RollingUpgradeStatusInfo, + RunCommandInputParameter, + ScaleInPolicy, + ScheduledEventsProfile, + SecurityProfile, + ShareInfoElement, + Sku, + Snapshot, + SnapshotSku, + SourceVault, + SshConfiguration, + SshPublicKey, + SshPublicKeyResource, + SshPublicKeyUpdateResource, + StorageProfile, + SubResource, + SubResourceReadOnly, + SubResourceWithColocationStatus, + TargetRegion, + TerminateNotificationProfile, + UefiSettings, + UpdateResource, + UpdateResourceDefinition, + UpgradePolicy, + UserArtifactManage, + UserArtifactSource, + VaultCertificate, + VaultSecretGroup, + VirtualHardDisk, + VirtualMachine, + VirtualMachineAgentInstanceView, + VirtualMachineCaptureResult, + VirtualMachineExtension, + VirtualMachineExtensionHandlerInstanceView, + VirtualMachineExtensionImage, + VirtualMachineExtensionInstanceView, + VirtualMachineExtensionUpdate, + VirtualMachineHealthStatus, + VirtualMachineIdentity, + VirtualMachineIdentityUserAssignedIdentitiesValue, + VirtualMachineImage, + VirtualMachineImageFeature, + VirtualMachineImageResource, + VirtualMachineInstanceView, + VirtualMachinePatchStatus, + VirtualMachineRunCommand, + VirtualMachineRunCommandInstanceView, + VirtualMachineRunCommandScriptSource, + VirtualMachineRunCommandsListResult, + VirtualMachineRunCommandUpdate, + VirtualMachineScaleSet, + VirtualMachineScaleSetDataDisk, + VirtualMachineScaleSetExtension, + VirtualMachineScaleSetExtensionProfile, + VirtualMachineScaleSetExtensionUpdate, + VirtualMachineScaleSetIdentity, + VirtualMachineScaleSetIdentityUserAssignedIdentitiesValue, + VirtualMachineScaleSetIPConfiguration, + VirtualMachineScaleSetIpTag, + VirtualMachineScaleSetManagedDiskParameters, + VirtualMachineScaleSetNetworkConfiguration, + VirtualMachineScaleSetNetworkConfigurationDnsSettings, + VirtualMachineScaleSetNetworkProfile, + VirtualMachineScaleSetOSDisk, + VirtualMachineScaleSetOSProfile, + VirtualMachineScaleSetPublicIPAddressConfiguration, + VirtualMachineScaleSetPublicIPAddressConfigurationDnsSettings, + VirtualMachineScaleSetStorageProfile, + VirtualMachineScaleSetUpdate, + VirtualMachineScaleSetUpdateIPConfiguration, + VirtualMachineScaleSetUpdateNetworkConfiguration, + VirtualMachineScaleSetUpdateNetworkProfile, + VirtualMachineScaleSetUpdateOSDisk, + VirtualMachineScaleSetUpdateOSProfile, + VirtualMachineScaleSetUpdatePublicIPAddressConfiguration, + VirtualMachineScaleSetUpdateStorageProfile, + VirtualMachineScaleSetUpdateVMProfile, + VirtualMachineScaleSetVM, + VirtualMachineScaleSetVMExtension, + VirtualMachineScaleSetVMExtensionUpdate, + VirtualMachineScaleSetVMInstanceView, + VirtualMachineScaleSetVMNetworkProfileConfiguration, + VirtualMachineScaleSetVMProfile, + VirtualMachineScaleSetVMProtectionPolicy, + VirtualMachineUpdate, + WindowsConfiguration, + WinRMConfiguration, + WinRMListener +} from "../models/mappers"; diff --git a/sdk/compute/arm-compute/src/models/virtualMachineScaleSetVMsMappers.ts b/sdk/compute/arm-compute/src/models/virtualMachineScaleSetVMsMappers.ts index 5a4992a8918f..70842157a38e 100644 --- a/sdk/compute/arm-compute/src/models/virtualMachineScaleSetVMsMappers.ts +++ b/sdk/compute/arm-compute/src/models/virtualMachineScaleSetVMsMappers.ts @@ -1,6 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is regenerated. @@ -22,18 +22,18 @@ export { BootDiagnostics, BootDiagnosticsInstanceView, CloudError, - ContainerService, - ContainerServiceAgentPoolProfile, - ContainerServiceCustomProfile, - ContainerServiceDiagnosticsProfile, - ContainerServiceLinuxProfile, - ContainerServiceMasterProfile, - ContainerServiceOrchestratorProfile, - ContainerServiceServicePrincipalProfile, - ContainerServiceSshConfiguration, - ContainerServiceSshPublicKey, - ContainerServiceVMDiagnostics, - ContainerServiceWindowsProfile, + CloudService, + CloudServiceExtensionProfile, + CloudServiceExtensionProperties, + CloudServiceNetworkProfile, + CloudServiceOsProfile, + CloudServiceProperties, + CloudServiceRoleProfile, + CloudServiceRoleProfileProperties, + CloudServiceRoleSku, + CloudServiceVaultAndSecretReference, + CloudServiceVaultCertificate, + CloudServiceVaultSecretGroup, CreationData, DataDisk, DataDiskImage, @@ -62,6 +62,8 @@ export { EncryptionSetIdentity, EncryptionSettingsCollection, EncryptionSettingsElement, + ExtendedLocation, + Extension, Gallery, GalleryApplication, GalleryApplicationUpdate, @@ -93,12 +95,18 @@ export { ImageStorageProfile, InnerError, InstanceViewStatus, + KeyForDiskEncryptionSet, KeyVaultAndKeyReference, KeyVaultAndSecretReference, KeyVaultKeyReference, KeyVaultSecretReference, LastPatchInstallationSummary, LinuxConfiguration, + LinuxPatchSettings, + LoadBalancerConfiguration, + LoadBalancerConfigurationProperties, + LoadBalancerFrontendIPConfiguration, + LoadBalancerFrontendIPConfigurationProperties, MaintenanceRedeployStatus, ManagedDiskParameters, NetworkInterfaceReference, @@ -144,8 +152,10 @@ export { SubResourceWithColocationStatus, TargetRegion, TerminateNotificationProfile, + UefiSettings, UpdateResourceDefinition, UpgradePolicy, + UserArtifactManage, UserArtifactSource, VaultCertificate, VaultSecretGroup, @@ -161,10 +171,14 @@ export { VirtualMachineIdentity, VirtualMachineIdentityUserAssignedIdentitiesValue, VirtualMachineImage, + VirtualMachineImageFeature, VirtualMachineImageResource, VirtualMachineInstanceView, VirtualMachinePatchStatus, VirtualMachineReimageParameters, + VirtualMachineRunCommand, + VirtualMachineRunCommandInstanceView, + VirtualMachineRunCommandScriptSource, VirtualMachineScaleSet, VirtualMachineScaleSetDataDisk, VirtualMachineScaleSetExtension, @@ -188,6 +202,8 @@ export { VirtualMachineScaleSetUpdateNetworkConfiguration, VirtualMachineScaleSetUpdatePublicIPAddressConfiguration, VirtualMachineScaleSetVM, + VirtualMachineScaleSetVMExtension, + VirtualMachineScaleSetVMExtensionUpdate, VirtualMachineScaleSetVMInstanceView, VirtualMachineScaleSetVMListResult, VirtualMachineScaleSetVMNetworkProfileConfiguration, diff --git a/sdk/compute/arm-compute/src/models/virtualMachineScaleSetsMappers.ts b/sdk/compute/arm-compute/src/models/virtualMachineScaleSetsMappers.ts index 7ada9068e03d..4c34c86a7a48 100644 --- a/sdk/compute/arm-compute/src/models/virtualMachineScaleSetsMappers.ts +++ b/sdk/compute/arm-compute/src/models/virtualMachineScaleSetsMappers.ts @@ -1,6 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is regenerated. @@ -23,18 +23,18 @@ export { BootDiagnostics, BootDiagnosticsInstanceView, CloudError, - ContainerService, - ContainerServiceAgentPoolProfile, - ContainerServiceCustomProfile, - ContainerServiceDiagnosticsProfile, - ContainerServiceLinuxProfile, - ContainerServiceMasterProfile, - ContainerServiceOrchestratorProfile, - ContainerServiceServicePrincipalProfile, - ContainerServiceSshConfiguration, - ContainerServiceSshPublicKey, - ContainerServiceVMDiagnostics, - ContainerServiceWindowsProfile, + CloudService, + CloudServiceExtensionProfile, + CloudServiceExtensionProperties, + CloudServiceNetworkProfile, + CloudServiceOsProfile, + CloudServiceProperties, + CloudServiceRoleProfile, + CloudServiceRoleProfileProperties, + CloudServiceRoleSku, + CloudServiceVaultAndSecretReference, + CloudServiceVaultCertificate, + CloudServiceVaultSecretGroup, CreationData, DataDisk, DataDiskImage, @@ -65,6 +65,8 @@ export { EncryptionSetIdentity, EncryptionSettingsCollection, EncryptionSettingsElement, + ExtendedLocation, + Extension, Gallery, GalleryApplication, GalleryApplicationUpdate, @@ -97,12 +99,18 @@ export { ImageUpdate, InnerError, InstanceViewStatus, + KeyForDiskEncryptionSet, KeyVaultAndKeyReference, KeyVaultAndSecretReference, KeyVaultKeyReference, KeyVaultSecretReference, LastPatchInstallationSummary, LinuxConfiguration, + LinuxPatchSettings, + LoadBalancerConfiguration, + LoadBalancerConfigurationProperties, + LoadBalancerFrontendIPConfiguration, + LoadBalancerFrontendIPConfigurationProperties, MaintenanceRedeployStatus, ManagedDiskParameters, NetworkInterfaceReference, @@ -132,6 +140,7 @@ export { RollingUpgradeProgressInfo, RollingUpgradeRunningStatus, RollingUpgradeStatusInfo, + RunCommandInputParameter, ScaleInPolicy, ScheduledEventsProfile, SecurityProfile, @@ -150,12 +159,14 @@ export { SubResourceWithColocationStatus, TargetRegion, TerminateNotificationProfile, + UefiSettings, UpdateResource, UpdateResourceDefinition, UpgradeOperationHistoricalStatusInfo, UpgradeOperationHistoricalStatusInfoProperties, UpgradeOperationHistoryStatus, UpgradePolicy, + UserArtifactManage, UserArtifactSource, VaultCertificate, VaultSecretGroup, @@ -172,10 +183,15 @@ export { VirtualMachineIdentity, VirtualMachineIdentityUserAssignedIdentitiesValue, VirtualMachineImage, + VirtualMachineImageFeature, VirtualMachineImageResource, VirtualMachineInstanceView, VirtualMachinePatchStatus, VirtualMachineReimageParameters, + VirtualMachineRunCommand, + VirtualMachineRunCommandInstanceView, + VirtualMachineRunCommandScriptSource, + VirtualMachineRunCommandUpdate, VirtualMachineScaleSet, VirtualMachineScaleSetDataDisk, VirtualMachineScaleSetExtension, @@ -213,7 +229,9 @@ export { VirtualMachineScaleSetUpdateStorageProfile, VirtualMachineScaleSetUpdateVMProfile, VirtualMachineScaleSetVM, + VirtualMachineScaleSetVMExtension, VirtualMachineScaleSetVMExtensionsSummary, + VirtualMachineScaleSetVMExtensionUpdate, VirtualMachineScaleSetVMInstanceIDs, VirtualMachineScaleSetVMInstanceRequiredIDs, VirtualMachineScaleSetVMInstanceView, diff --git a/sdk/compute/arm-compute/src/models/virtualMachineSizesMappers.ts b/sdk/compute/arm-compute/src/models/virtualMachineSizesMappers.ts index 8ec98784bc24..28fe9cbb2f07 100644 --- a/sdk/compute/arm-compute/src/models/virtualMachineSizesMappers.ts +++ b/sdk/compute/arm-compute/src/models/virtualMachineSizesMappers.ts @@ -1,6 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is regenerated. diff --git a/sdk/compute/arm-compute/src/models/virtualMachinesMappers.ts b/sdk/compute/arm-compute/src/models/virtualMachinesMappers.ts index d2ce653f6004..0c8dd138859d 100644 --- a/sdk/compute/arm-compute/src/models/virtualMachinesMappers.ts +++ b/sdk/compute/arm-compute/src/models/virtualMachinesMappers.ts @@ -1,6 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is regenerated. @@ -23,18 +23,18 @@ export { BootDiagnostics, BootDiagnosticsInstanceView, CloudError, - ContainerService, - ContainerServiceAgentPoolProfile, - ContainerServiceCustomProfile, - ContainerServiceDiagnosticsProfile, - ContainerServiceLinuxProfile, - ContainerServiceMasterProfile, - ContainerServiceOrchestratorProfile, - ContainerServiceServicePrincipalProfile, - ContainerServiceSshConfiguration, - ContainerServiceSshPublicKey, - ContainerServiceVMDiagnostics, - ContainerServiceWindowsProfile, + CloudService, + CloudServiceExtensionProfile, + CloudServiceExtensionProperties, + CloudServiceNetworkProfile, + CloudServiceOsProfile, + CloudServiceProperties, + CloudServiceRoleProfile, + CloudServiceRoleProfileProperties, + CloudServiceRoleSku, + CloudServiceVaultAndSecretReference, + CloudServiceVaultCertificate, + CloudServiceVaultSecretGroup, CreationData, DataDisk, DataDiskImage, @@ -65,6 +65,8 @@ export { EncryptionSetIdentity, EncryptionSettingsCollection, EncryptionSettingsElement, + ExtendedLocation, + Extension, Gallery, GalleryApplication, GalleryApplicationUpdate, @@ -97,12 +99,19 @@ export { ImageUpdate, InnerError, InstanceViewStatus, + KeyForDiskEncryptionSet, KeyVaultAndKeyReference, KeyVaultAndSecretReference, KeyVaultKeyReference, KeyVaultSecretReference, LastPatchInstallationSummary, LinuxConfiguration, + LinuxParameters, + LinuxPatchSettings, + LoadBalancerConfiguration, + LoadBalancerConfigurationProperties, + LoadBalancerFrontendIPConfiguration, + LoadBalancerFrontendIPConfigurationProperties, MaintenanceRedeployStatus, ManagedDiskParameters, NetworkInterfaceReference, @@ -111,6 +120,7 @@ export { OSDiskImage, OSDiskImageEncryption, OSProfile, + PatchInstallationDetail, PatchSettings, Plan, PrivateEndpoint, @@ -150,9 +160,11 @@ export { SubResourceWithColocationStatus, TargetRegion, TerminateNotificationProfile, + UefiSettings, UpdateResource, UpdateResourceDefinition, UpgradePolicy, + UserArtifactManage, UserArtifactSource, VaultCertificate, VaultSecretGroup, @@ -171,11 +183,18 @@ export { VirtualMachineIdentity, VirtualMachineIdentityUserAssignedIdentitiesValue, VirtualMachineImage, + VirtualMachineImageFeature, VirtualMachineImageResource, + VirtualMachineInstallPatchesParameters, + VirtualMachineInstallPatchesResult, VirtualMachineInstanceView, VirtualMachineListResult, VirtualMachinePatchStatus, VirtualMachineReimageParameters, + VirtualMachineRunCommand, + VirtualMachineRunCommandInstanceView, + VirtualMachineRunCommandScriptSource, + VirtualMachineRunCommandUpdate, VirtualMachineScaleSet, VirtualMachineScaleSetDataDisk, VirtualMachineScaleSetExtension, @@ -205,6 +224,8 @@ export { VirtualMachineScaleSetUpdateStorageProfile, VirtualMachineScaleSetUpdateVMProfile, VirtualMachineScaleSetVM, + VirtualMachineScaleSetVMExtension, + VirtualMachineScaleSetVMExtensionUpdate, VirtualMachineScaleSetVMInstanceView, VirtualMachineScaleSetVMNetworkProfileConfiguration, VirtualMachineScaleSetVMProfile, @@ -215,6 +236,7 @@ export { VirtualMachineSoftwarePatchProperties, VirtualMachineUpdate, WindowsConfiguration, + WindowsParameters, WinRMConfiguration, WinRMListener } from "../models/mappers"; diff --git a/sdk/compute/arm-compute/src/operations/availabilitySets.ts b/sdk/compute/arm-compute/src/operations/availabilitySets.ts index 8eeeef9361ab..9f7df2e368c4 100644 --- a/sdk/compute/arm-compute/src/operations/availabilitySets.ts +++ b/sdk/compute/arm-compute/src/operations/availabilitySets.ts @@ -1,7 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is @@ -253,7 +252,7 @@ export class AvailabilitySets { * @param [options] The optional parameters * @returns Promise */ - listBySubscriptionNext(nextPageLink: string, options?: msRest.RequestOptionsBase): Promise; + listBySubscriptionNext(nextPageLink: string, options?: Models.AvailabilitySetsListBySubscriptionNextOptionalParams): Promise; /** * @param nextPageLink The NextLink from the previous successful call to List operation. * @param callback The callback @@ -264,8 +263,8 @@ export class AvailabilitySets { * @param options The optional parameters * @param callback The callback */ - listBySubscriptionNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listBySubscriptionNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + listBySubscriptionNext(nextPageLink: string, options: Models.AvailabilitySetsListBySubscriptionNextOptionalParams, callback: msRest.ServiceCallback): void; + listBySubscriptionNext(nextPageLink: string, options?: Models.AvailabilitySetsListBySubscriptionNextOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, @@ -499,6 +498,10 @@ const listBySubscriptionNextOperationSpec: msRest.OperationSpec = { urlParameters: [ Parameters.nextPageLink ], + queryParameters: [ + Parameters.apiVersion0, + Parameters.expand0 + ], headerParameters: [ Parameters.acceptLanguage ], @@ -520,6 +523,9 @@ const listNextOperationSpec: msRest.OperationSpec = { urlParameters: [ Parameters.nextPageLink ], + queryParameters: [ + Parameters.apiVersion0 + ], headerParameters: [ Parameters.acceptLanguage ], diff --git a/sdk/compute/arm-compute/src/operations/cloudServiceOperatingSystems.ts b/sdk/compute/arm-compute/src/operations/cloudServiceOperatingSystems.ts new file mode 100644 index 000000000000..e717de284ebb --- /dev/null +++ b/sdk/compute/arm-compute/src/operations/cloudServiceOperatingSystems.ts @@ -0,0 +1,361 @@ +/* + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. + * + * Code generated by Microsoft (R) AutoRest Code Generator. + * Changes may cause incorrect behavior and will be lost if the code is + * regenerated. + */ + +import * as msRest from "@azure/ms-rest-js"; +import * as Models from "../models"; +import * as Mappers from "../models/cloudServiceOperatingSystemsMappers"; +import * as Parameters from "../models/parameters"; +import { ComputeManagementClientContext } from "../computeManagementClientContext"; + +/** Class representing a CloudServiceOperatingSystems. */ +export class CloudServiceOperatingSystems { + private readonly client: ComputeManagementClientContext; + + /** + * Create a CloudServiceOperatingSystems. + * @param {ComputeManagementClientContext} client Reference to the service client. + */ + constructor(client: ComputeManagementClientContext) { + this.client = client; + } + + /** + * Gets properties of a guest operating system version that can be specified in the XML service + * configuration (.cscfg) for a cloud service. + * @param location Name of the location that the OS version pertains to. + * @param osVersionName Name of the OS version. + * @param [options] The optional parameters + * @returns Promise + */ + getOSVersion(location: string, osVersionName: string, options?: msRest.RequestOptionsBase): Promise; + /** + * @param location Name of the location that the OS version pertains to. + * @param osVersionName Name of the OS version. + * @param callback The callback + */ + getOSVersion(location: string, osVersionName: string, callback: msRest.ServiceCallback): void; + /** + * @param location Name of the location that the OS version pertains to. + * @param osVersionName Name of the OS version. + * @param options The optional parameters + * @param callback The callback + */ + getOSVersion(location: string, osVersionName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + getOSVersion(location: string, osVersionName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + location, + osVersionName, + options + }, + getOSVersionOperationSpec, + callback) as Promise; + } + + /** + * Gets a list of all guest operating system versions available to be specified in the XML service + * configuration (.cscfg) for a cloud service. Use nextLink property in the response to get the + * next page of OS versions. Do this till nextLink is null to fetch all the OS versions. + * @param location Name of the location that the OS versions pertain to. + * @param [options] The optional parameters + * @returns Promise + */ + listOSVersions(location: string, options?: msRest.RequestOptionsBase): Promise; + /** + * @param location Name of the location that the OS versions pertain to. + * @param callback The callback + */ + listOSVersions(location: string, callback: msRest.ServiceCallback): void; + /** + * @param location Name of the location that the OS versions pertain to. + * @param options The optional parameters + * @param callback The callback + */ + listOSVersions(location: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + listOSVersions(location: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + location, + options + }, + listOSVersionsOperationSpec, + callback) as Promise; + } + + /** + * Gets properties of a guest operating system family that can be specified in the XML service + * configuration (.cscfg) for a cloud service. + * @param location Name of the location that the OS family pertains to. + * @param osFamilyName Name of the OS family. + * @param [options] The optional parameters + * @returns Promise + */ + getOSFamily(location: string, osFamilyName: string, options?: msRest.RequestOptionsBase): Promise; + /** + * @param location Name of the location that the OS family pertains to. + * @param osFamilyName Name of the OS family. + * @param callback The callback + */ + getOSFamily(location: string, osFamilyName: string, callback: msRest.ServiceCallback): void; + /** + * @param location Name of the location that the OS family pertains to. + * @param osFamilyName Name of the OS family. + * @param options The optional parameters + * @param callback The callback + */ + getOSFamily(location: string, osFamilyName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + getOSFamily(location: string, osFamilyName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + location, + osFamilyName, + options + }, + getOSFamilyOperationSpec, + callback) as Promise; + } + + /** + * Gets a list of all guest operating system families available to be specified in the XML service + * configuration (.cscfg) for a cloud service. Use nextLink property in the response to get the + * next page of OS Families. Do this till nextLink is null to fetch all the OS Families. + * @param location Name of the location that the OS families pertain to. + * @param [options] The optional parameters + * @returns Promise + */ + listOSFamilies(location: string, options?: msRest.RequestOptionsBase): Promise; + /** + * @param location Name of the location that the OS families pertain to. + * @param callback The callback + */ + listOSFamilies(location: string, callback: msRest.ServiceCallback): void; + /** + * @param location Name of the location that the OS families pertain to. + * @param options The optional parameters + * @param callback The callback + */ + listOSFamilies(location: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + listOSFamilies(location: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + location, + options + }, + listOSFamiliesOperationSpec, + callback) as Promise; + } + + /** + * Gets a list of all guest operating system versions available to be specified in the XML service + * configuration (.cscfg) for a cloud service. Use nextLink property in the response to get the + * next page of OS versions. Do this till nextLink is null to fetch all the OS versions. + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @param [options] The optional parameters + * @returns Promise + */ + listOSVersionsNext(nextPageLink: string, options?: msRest.RequestOptionsBase): Promise; + /** + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @param callback The callback + */ + listOSVersionsNext(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 + */ + listOSVersionsNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + listOSVersionsNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + nextPageLink, + options + }, + listOSVersionsNextOperationSpec, + callback) as Promise; + } + + /** + * Gets a list of all guest operating system families available to be specified in the XML service + * configuration (.cscfg) for a cloud service. Use nextLink property in the response to get the + * next page of OS Families. Do this till nextLink is null to fetch all the OS Families. + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @param [options] The optional parameters + * @returns Promise + */ + listOSFamiliesNext(nextPageLink: string, options?: msRest.RequestOptionsBase): Promise; + /** + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @param callback The callback + */ + listOSFamiliesNext(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 + */ + listOSFamiliesNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + listOSFamiliesNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + nextPageLink, + options + }, + listOSFamiliesNextOperationSpec, + callback) as Promise; + } +} + +// Operation Specifications +const serializer = new msRest.Serializer(Mappers); +const getOSVersionOperationSpec: msRest.OperationSpec = { + httpMethod: "GET", + path: "subscriptions/{subscriptionId}/providers/Microsoft.Compute/locations/{location}/cloudServiceOsVersions/{osVersionName}", + urlParameters: [ + Parameters.location0, + Parameters.osVersionName, + Parameters.subscriptionId + ], + queryParameters: [ + Parameters.apiVersion4 + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: { + bodyMapper: Mappers.OSVersion + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + +const listOSVersionsOperationSpec: msRest.OperationSpec = { + httpMethod: "GET", + path: "subscriptions/{subscriptionId}/providers/Microsoft.Compute/locations/{location}/cloudServiceOsVersions", + urlParameters: [ + Parameters.location0, + Parameters.subscriptionId + ], + queryParameters: [ + Parameters.apiVersion4 + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: { + bodyMapper: Mappers.OSVersionListResult + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + +const getOSFamilyOperationSpec: msRest.OperationSpec = { + httpMethod: "GET", + path: "subscriptions/{subscriptionId}/providers/Microsoft.Compute/locations/{location}/cloudServiceOsFamilies/{osFamilyName}", + urlParameters: [ + Parameters.location0, + Parameters.osFamilyName, + Parameters.subscriptionId + ], + queryParameters: [ + Parameters.apiVersion4 + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: { + bodyMapper: Mappers.OSFamily + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + +const listOSFamiliesOperationSpec: msRest.OperationSpec = { + httpMethod: "GET", + path: "subscriptions/{subscriptionId}/providers/Microsoft.Compute/locations/{location}/cloudServiceOsFamilies", + urlParameters: [ + Parameters.location0, + Parameters.subscriptionId + ], + queryParameters: [ + Parameters.apiVersion4 + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: { + bodyMapper: Mappers.OSFamilyListResult + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + +const listOSVersionsNextOperationSpec: msRest.OperationSpec = { + httpMethod: "GET", + baseUrl: "https://management.azure.com", + path: "{nextLink}", + urlParameters: [ + Parameters.nextPageLink + ], + queryParameters: [ + Parameters.apiVersion4 + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: { + bodyMapper: Mappers.OSVersionListResult + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + +const listOSFamiliesNextOperationSpec: msRest.OperationSpec = { + httpMethod: "GET", + baseUrl: "https://management.azure.com", + path: "{nextLink}", + urlParameters: [ + Parameters.nextPageLink + ], + queryParameters: [ + Parameters.apiVersion4 + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: { + bodyMapper: Mappers.OSFamilyListResult + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; diff --git a/sdk/compute/arm-compute/src/operations/cloudServiceRoleInstances.ts b/sdk/compute/arm-compute/src/operations/cloudServiceRoleInstances.ts new file mode 100644 index 000000000000..fba11c0a2770 --- /dev/null +++ b/sdk/compute/arm-compute/src/operations/cloudServiceRoleInstances.ts @@ -0,0 +1,578 @@ +/* + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. + * + * Code generated by Microsoft (R) AutoRest Code Generator. + * Changes may cause incorrect behavior and will be lost if the code is + * regenerated. + */ + +import * as msRest from "@azure/ms-rest-js"; +import * as msRestAzure from "@azure/ms-rest-azure-js"; +import * as Models from "../models"; +import * as Mappers from "../models/cloudServiceRoleInstancesMappers"; +import * as Parameters from "../models/parameters"; +import { ComputeManagementClientContext } from "../computeManagementClientContext"; + +/** Class representing a CloudServiceRoleInstances. */ +export class CloudServiceRoleInstances { + private readonly client: ComputeManagementClientContext; + + /** + * Create a CloudServiceRoleInstances. + * @param {ComputeManagementClientContext} client Reference to the service client. + */ + constructor(client: ComputeManagementClientContext) { + this.client = client; + } + + /** + * Deletes a role instance from a cloud service. + * @param roleInstanceName Name of the role instance. + * @param resourceGroupName + * @param cloudServiceName + * @param [options] The optional parameters + * @returns Promise + */ + deleteMethod(roleInstanceName: string, resourceGroupName: string, cloudServiceName: string, options?: msRest.RequestOptionsBase): Promise { + return this.beginDeleteMethod(roleInstanceName,resourceGroupName,cloudServiceName,options) + .then(lroPoller => lroPoller.pollUntilFinished()); + } + + /** + * Gets a role instance from a cloud service. + * @param roleInstanceName Name of the role instance. + * @param resourceGroupName + * @param cloudServiceName + * @param [options] The optional parameters + * @returns Promise + */ + get(roleInstanceName: string, resourceGroupName: string, cloudServiceName: string, options?: Models.CloudServiceRoleInstancesGetOptionalParams): Promise; + /** + * @param roleInstanceName Name of the role instance. + * @param resourceGroupName + * @param cloudServiceName + * @param callback The callback + */ + get(roleInstanceName: string, resourceGroupName: string, cloudServiceName: string, callback: msRest.ServiceCallback): void; + /** + * @param roleInstanceName Name of the role instance. + * @param resourceGroupName + * @param cloudServiceName + * @param options The optional parameters + * @param callback The callback + */ + get(roleInstanceName: string, resourceGroupName: string, cloudServiceName: string, options: Models.CloudServiceRoleInstancesGetOptionalParams, callback: msRest.ServiceCallback): void; + get(roleInstanceName: string, resourceGroupName: string, cloudServiceName: string, options?: Models.CloudServiceRoleInstancesGetOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + roleInstanceName, + resourceGroupName, + cloudServiceName, + options + }, + getOperationSpec, + callback) as Promise; + } + + /** + * Retrieves information about the run-time state of a role instance in a cloud service. + * @param roleInstanceName Name of the role instance. + * @param resourceGroupName + * @param cloudServiceName + * @param [options] The optional parameters + * @returns Promise + */ + getInstanceView(roleInstanceName: string, resourceGroupName: string, cloudServiceName: string, options?: msRest.RequestOptionsBase): Promise; + /** + * @param roleInstanceName Name of the role instance. + * @param resourceGroupName + * @param cloudServiceName + * @param callback The callback + */ + getInstanceView(roleInstanceName: string, resourceGroupName: string, cloudServiceName: string, callback: msRest.ServiceCallback): void; + /** + * @param roleInstanceName Name of the role instance. + * @param resourceGroupName + * @param cloudServiceName + * @param options The optional parameters + * @param callback The callback + */ + getInstanceView(roleInstanceName: string, resourceGroupName: string, cloudServiceName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + getInstanceView(roleInstanceName: string, resourceGroupName: string, cloudServiceName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + roleInstanceName, + resourceGroupName, + cloudServiceName, + options + }, + getInstanceViewOperationSpec, + callback) as Promise; + } + + /** + * Gets the list of all role instances in a cloud service. Use nextLink property in the response to + * get the next page of role instances. Do this till nextLink is null to fetch all the role + * instances. + * @param resourceGroupName + * @param cloudServiceName + * @param [options] The optional parameters + * @returns Promise + */ + list(resourceGroupName: string, cloudServiceName: string, options?: Models.CloudServiceRoleInstancesListOptionalParams): Promise; + /** + * @param resourceGroupName + * @param cloudServiceName + * @param callback The callback + */ + list(resourceGroupName: string, cloudServiceName: string, callback: msRest.ServiceCallback): void; + /** + * @param resourceGroupName + * @param cloudServiceName + * @param options The optional parameters + * @param callback The callback + */ + list(resourceGroupName: string, cloudServiceName: string, options: Models.CloudServiceRoleInstancesListOptionalParams, callback: msRest.ServiceCallback): void; + list(resourceGroupName: string, cloudServiceName: string, options?: Models.CloudServiceRoleInstancesListOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + resourceGroupName, + cloudServiceName, + options + }, + listOperationSpec, + callback) as Promise; + } + + /** + * The Reboot Role Instance asynchronous operation requests a reboot of a role instance in the + * cloud service. + * @param roleInstanceName Name of the role instance. + * @param resourceGroupName + * @param cloudServiceName + * @param [options] The optional parameters + * @returns Promise + */ + restart(roleInstanceName: string, resourceGroupName: string, cloudServiceName: string, options?: msRest.RequestOptionsBase): Promise { + return this.beginRestart(roleInstanceName,resourceGroupName,cloudServiceName,options) + .then(lroPoller => lroPoller.pollUntilFinished()); + } + + /** + * The Reimage Role Instance asynchronous operation reinstalls the operating system on instances of + * web roles or worker roles. + * @param roleInstanceName Name of the role instance. + * @param resourceGroupName + * @param cloudServiceName + * @param [options] The optional parameters + * @returns Promise + */ + reimage(roleInstanceName: string, resourceGroupName: string, cloudServiceName: string, options?: msRest.RequestOptionsBase): Promise { + return this.beginReimage(roleInstanceName,resourceGroupName,cloudServiceName,options) + .then(lroPoller => lroPoller.pollUntilFinished()); + } + + /** + * The Rebuild Role Instance asynchronous operation reinstalls the operating system on instances of + * web roles or worker roles and initializes the storage resources that are used by them. If you do + * not want to initialize storage resources, you can use Reimage Role Instance. + * @param roleInstanceName Name of the role instance. + * @param resourceGroupName + * @param cloudServiceName + * @param [options] The optional parameters + * @returns Promise + */ + rebuild(roleInstanceName: string, resourceGroupName: string, cloudServiceName: string, options?: msRest.RequestOptionsBase): Promise { + return this.beginRebuild(roleInstanceName,resourceGroupName,cloudServiceName,options) + .then(lroPoller => lroPoller.pollUntilFinished()); + } + + /** + * Gets a remote desktop file for a role instance in a cloud service. + * @param roleInstanceName Name of the role instance. + * @param resourceGroupName + * @param cloudServiceName + * @param [options] The optional parameters + * @returns Promise + */ + getRemoteDesktopFile(roleInstanceName: string, resourceGroupName: string, cloudServiceName: string, options?: msRest.RequestOptionsBase): Promise; + /** + * @param roleInstanceName Name of the role instance. + * @param resourceGroupName + * @param cloudServiceName + * @param callback The callback + */ + getRemoteDesktopFile(roleInstanceName: string, resourceGroupName: string, cloudServiceName: string, callback: msRest.ServiceCallback): void; + /** + * @param roleInstanceName Name of the role instance. + * @param resourceGroupName + * @param cloudServiceName + * @param options The optional parameters + * @param callback The callback + */ + getRemoteDesktopFile(roleInstanceName: string, resourceGroupName: string, cloudServiceName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + getRemoteDesktopFile(roleInstanceName: string, resourceGroupName: string, cloudServiceName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + roleInstanceName, + resourceGroupName, + cloudServiceName, + options + }, + getRemoteDesktopFileOperationSpec, + callback) as Promise; + } + + /** + * Deletes a role instance from a cloud service. + * @param roleInstanceName Name of the role instance. + * @param resourceGroupName + * @param cloudServiceName + * @param [options] The optional parameters + * @returns Promise + */ + beginDeleteMethod(roleInstanceName: string, resourceGroupName: string, cloudServiceName: string, options?: msRest.RequestOptionsBase): Promise { + return this.client.sendLRORequest( + { + roleInstanceName, + resourceGroupName, + cloudServiceName, + options + }, + beginDeleteMethodOperationSpec, + options); + } + + /** + * The Reboot Role Instance asynchronous operation requests a reboot of a role instance in the + * cloud service. + * @param roleInstanceName Name of the role instance. + * @param resourceGroupName + * @param cloudServiceName + * @param [options] The optional parameters + * @returns Promise + */ + beginRestart(roleInstanceName: string, resourceGroupName: string, cloudServiceName: string, options?: msRest.RequestOptionsBase): Promise { + return this.client.sendLRORequest( + { + roleInstanceName, + resourceGroupName, + cloudServiceName, + options + }, + beginRestartOperationSpec, + options); + } + + /** + * The Reimage Role Instance asynchronous operation reinstalls the operating system on instances of + * web roles or worker roles. + * @param roleInstanceName Name of the role instance. + * @param resourceGroupName + * @param cloudServiceName + * @param [options] The optional parameters + * @returns Promise + */ + beginReimage(roleInstanceName: string, resourceGroupName: string, cloudServiceName: string, options?: msRest.RequestOptionsBase): Promise { + return this.client.sendLRORequest( + { + roleInstanceName, + resourceGroupName, + cloudServiceName, + options + }, + beginReimageOperationSpec, + options); + } + + /** + * The Rebuild Role Instance asynchronous operation reinstalls the operating system on instances of + * web roles or worker roles and initializes the storage resources that are used by them. If you do + * not want to initialize storage resources, you can use Reimage Role Instance. + * @param roleInstanceName Name of the role instance. + * @param resourceGroupName + * @param cloudServiceName + * @param [options] The optional parameters + * @returns Promise + */ + beginRebuild(roleInstanceName: string, resourceGroupName: string, cloudServiceName: string, options?: msRest.RequestOptionsBase): Promise { + return this.client.sendLRORequest( + { + roleInstanceName, + resourceGroupName, + cloudServiceName, + options + }, + beginRebuildOperationSpec, + options); + } + + /** + * Gets the list of all role instances in a cloud service. Use nextLink property in the response to + * get the next page of role instances. Do this till nextLink is null to fetch all the role + * instances. + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @param [options] The optional parameters + * @returns Promise + */ + listNext(nextPageLink: string, options?: Models.CloudServiceRoleInstancesListNextOptionalParams): Promise; + /** + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @param callback The callback + */ + listNext(nextPageLink: string, callback: msRest.ServiceCallback): void; + /** + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @param options The optional parameters + * @param callback The callback + */ + listNext(nextPageLink: string, options: Models.CloudServiceRoleInstancesListNextOptionalParams, callback: msRest.ServiceCallback): void; + listNext(nextPageLink: string, options?: Models.CloudServiceRoleInstancesListNextOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + nextPageLink, + options + }, + listNextOperationSpec, + callback) as Promise; + } +} + +// Operation Specifications +const serializer = new msRest.Serializer(Mappers); +const getOperationSpec: msRest.OperationSpec = { + httpMethod: "GET", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/cloudServices/{cloudServiceName}/roleInstances/{roleInstanceName}", + urlParameters: [ + Parameters.roleInstanceName, + Parameters.resourceGroupName, + Parameters.cloudServiceName, + Parameters.subscriptionId + ], + queryParameters: [ + Parameters.apiVersion4, + Parameters.expand1 + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: { + bodyMapper: Mappers.RoleInstance + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + +const getInstanceViewOperationSpec: msRest.OperationSpec = { + httpMethod: "GET", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/cloudServices/{cloudServiceName}/roleInstances/{roleInstanceName}/instanceView", + urlParameters: [ + Parameters.roleInstanceName, + Parameters.resourceGroupName, + Parameters.cloudServiceName, + Parameters.subscriptionId + ], + queryParameters: [ + Parameters.apiVersion4 + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: { + bodyMapper: Mappers.RoleInstanceInstanceView + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + +const listOperationSpec: msRest.OperationSpec = { + httpMethod: "GET", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/cloudServices/{cloudServiceName}/roleInstances", + urlParameters: [ + Parameters.resourceGroupName, + Parameters.cloudServiceName, + Parameters.subscriptionId + ], + queryParameters: [ + Parameters.apiVersion4, + Parameters.expand1 + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: { + bodyMapper: Mappers.RoleInstanceListResult + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + +const getRemoteDesktopFileOperationSpec: msRest.OperationSpec = { + httpMethod: "GET", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/cloudServices/{cloudServiceName}/roleInstances/{roleInstanceName}/remoteDesktopFile", + urlParameters: [ + Parameters.roleInstanceName, + Parameters.resourceGroupName, + Parameters.cloudServiceName, + Parameters.subscriptionId + ], + queryParameters: [ + Parameters.apiVersion4 + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: { + bodyMapper: { + serializedName: "parsedResponse", + type: { + name: "Stream" + } + } + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + +const beginDeleteMethodOperationSpec: msRest.OperationSpec = { + httpMethod: "DELETE", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/cloudServices/{cloudServiceName}/roleInstances/{roleInstanceName}", + urlParameters: [ + Parameters.roleInstanceName, + Parameters.resourceGroupName, + Parameters.cloudServiceName, + Parameters.subscriptionId + ], + queryParameters: [ + Parameters.apiVersion4 + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: {}, + 202: {}, + 204: {}, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + +const beginRestartOperationSpec: msRest.OperationSpec = { + httpMethod: "POST", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/cloudServices/{cloudServiceName}/roleInstances/{roleInstanceName}/restart", + urlParameters: [ + Parameters.roleInstanceName, + Parameters.resourceGroupName, + Parameters.cloudServiceName, + Parameters.subscriptionId + ], + queryParameters: [ + Parameters.apiVersion4 + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: {}, + 202: {}, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + +const beginReimageOperationSpec: msRest.OperationSpec = { + httpMethod: "POST", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/cloudServices/{cloudServiceName}/roleInstances/{roleInstanceName}/reimage", + urlParameters: [ + Parameters.roleInstanceName, + Parameters.resourceGroupName, + Parameters.cloudServiceName, + Parameters.subscriptionId + ], + queryParameters: [ + Parameters.apiVersion4 + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: {}, + 202: {}, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + +const beginRebuildOperationSpec: msRest.OperationSpec = { + httpMethod: "POST", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/cloudServices/{cloudServiceName}/roleInstances/{roleInstanceName}/rebuild", + urlParameters: [ + Parameters.roleInstanceName, + Parameters.resourceGroupName, + Parameters.cloudServiceName, + Parameters.subscriptionId + ], + queryParameters: [ + Parameters.apiVersion4 + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: {}, + 202: {}, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + +const listNextOperationSpec: msRest.OperationSpec = { + httpMethod: "GET", + baseUrl: "https://management.azure.com", + path: "{nextLink}", + urlParameters: [ + Parameters.nextPageLink + ], + queryParameters: [ + Parameters.apiVersion4, + Parameters.expand1 + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: { + bodyMapper: Mappers.RoleInstanceListResult + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; diff --git a/sdk/compute/arm-compute/src/operations/cloudServiceRoles.ts b/sdk/compute/arm-compute/src/operations/cloudServiceRoles.ts new file mode 100644 index 000000000000..baa01ee0f574 --- /dev/null +++ b/sdk/compute/arm-compute/src/operations/cloudServiceRoles.ts @@ -0,0 +1,202 @@ +/* + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. + * + * Code generated by Microsoft (R) AutoRest Code Generator. + * Changes may cause incorrect behavior and will be lost if the code is + * regenerated. + */ + +import * as msRest from "@azure/ms-rest-js"; +import * as Models from "../models"; +import * as Mappers from "../models/cloudServiceRolesMappers"; +import * as Parameters from "../models/parameters"; +import { ComputeManagementClientContext } from "../computeManagementClientContext"; + +/** Class representing a CloudServiceRoles. */ +export class CloudServiceRoles { + private readonly client: ComputeManagementClientContext; + + /** + * Create a CloudServiceRoles. + * @param {ComputeManagementClientContext} client Reference to the service client. + */ + constructor(client: ComputeManagementClientContext) { + this.client = client; + } + + /** + * Gets a role from a cloud service. + * @param roleName Name of the role. + * @param resourceGroupName + * @param cloudServiceName + * @param [options] The optional parameters + * @returns Promise + */ + get(roleName: string, resourceGroupName: string, cloudServiceName: string, options?: msRest.RequestOptionsBase): Promise; + /** + * @param roleName Name of the role. + * @param resourceGroupName + * @param cloudServiceName + * @param callback The callback + */ + get(roleName: string, resourceGroupName: string, cloudServiceName: string, callback: msRest.ServiceCallback): void; + /** + * @param roleName Name of the role. + * @param resourceGroupName + * @param cloudServiceName + * @param options The optional parameters + * @param callback The callback + */ + get(roleName: string, resourceGroupName: string, cloudServiceName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + get(roleName: string, resourceGroupName: string, cloudServiceName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + roleName, + resourceGroupName, + cloudServiceName, + options + }, + getOperationSpec, + callback) as Promise; + } + + /** + * Gets a list of all roles in a cloud service. Use nextLink property in the response to get the + * next page of roles. Do this till nextLink is null to fetch all the roles. + * @param resourceGroupName + * @param cloudServiceName + * @param [options] The optional parameters + * @returns Promise + */ + list(resourceGroupName: string, cloudServiceName: string, options?: msRest.RequestOptionsBase): Promise; + /** + * @param resourceGroupName + * @param cloudServiceName + * @param callback The callback + */ + list(resourceGroupName: string, cloudServiceName: string, callback: msRest.ServiceCallback): void; + /** + * @param resourceGroupName + * @param cloudServiceName + * @param options The optional parameters + * @param callback The callback + */ + list(resourceGroupName: string, cloudServiceName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + list(resourceGroupName: string, cloudServiceName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + resourceGroupName, + cloudServiceName, + options + }, + listOperationSpec, + callback) as Promise; + } + + /** + * Gets a list of all roles in a cloud service. Use nextLink property in the response to get the + * next page of roles. Do this till nextLink is null to fetch all the roles. + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @param [options] The optional parameters + * @returns Promise + */ + listNext(nextPageLink: string, options?: msRest.RequestOptionsBase): Promise; + /** + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @param callback The callback + */ + listNext(nextPageLink: string, callback: msRest.ServiceCallback): void; + /** + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @param options The optional parameters + * @param callback The callback + */ + listNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + listNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + nextPageLink, + options + }, + listNextOperationSpec, + callback) as Promise; + } +} + +// Operation Specifications +const serializer = new msRest.Serializer(Mappers); +const getOperationSpec: msRest.OperationSpec = { + httpMethod: "GET", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/cloudServices/{cloudServiceName}/roles/{roleName}", + urlParameters: [ + Parameters.roleName, + Parameters.resourceGroupName, + Parameters.cloudServiceName, + Parameters.subscriptionId + ], + queryParameters: [ + Parameters.apiVersion4 + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: { + bodyMapper: Mappers.CloudServiceRole + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + +const listOperationSpec: msRest.OperationSpec = { + httpMethod: "GET", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/cloudServices/{cloudServiceName}/roles", + urlParameters: [ + Parameters.resourceGroupName, + Parameters.cloudServiceName, + Parameters.subscriptionId + ], + queryParameters: [ + Parameters.apiVersion4 + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: { + bodyMapper: Mappers.CloudServiceRoleListResult + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + +const listNextOperationSpec: msRest.OperationSpec = { + httpMethod: "GET", + baseUrl: "https://management.azure.com", + path: "{nextLink}", + urlParameters: [ + Parameters.nextPageLink + ], + queryParameters: [ + Parameters.apiVersion4 + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: { + bodyMapper: Mappers.CloudServiceRoleListResult + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; diff --git a/sdk/compute/arm-compute/src/operations/cloudServices.ts b/sdk/compute/arm-compute/src/operations/cloudServices.ts new file mode 100644 index 000000000000..79853c5effb6 --- /dev/null +++ b/sdk/compute/arm-compute/src/operations/cloudServices.ts @@ -0,0 +1,899 @@ +/* + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. + * + * Code generated by Microsoft (R) AutoRest Code Generator. + * Changes may cause incorrect behavior and will be lost if the code is + * regenerated. + */ + +import * as msRest from "@azure/ms-rest-js"; +import * as msRestAzure from "@azure/ms-rest-azure-js"; +import * as Models from "../models"; +import * as Mappers from "../models/cloudServicesMappers"; +import * as Parameters from "../models/parameters"; +import { ComputeManagementClientContext } from "../computeManagementClientContext"; + +/** Class representing a CloudServices. */ +export class CloudServices { + private readonly client: ComputeManagementClientContext; + + /** + * Create a CloudServices. + * @param {ComputeManagementClientContext} client Reference to the service client. + */ + constructor(client: ComputeManagementClientContext) { + this.client = client; + } + + /** + * Create or update a cloud service. Please note some properties can be set only during cloud + * service creation. + * @param resourceGroupName Name of the resource group. + * @param cloudServiceName Name of the cloud service. + * @param [options] The optional parameters + * @returns Promise + */ + createOrUpdate(resourceGroupName: string, cloudServiceName: string, options?: Models.CloudServicesCreateOrUpdateOptionalParams): Promise { + return this.beginCreateOrUpdate(resourceGroupName,cloudServiceName,options) + .then(lroPoller => lroPoller.pollUntilFinished()) as Promise; + } + + /** + * Update a cloud service. + * @param resourceGroupName Name of the resource group. + * @param cloudServiceName Name of the cloud service. + * @param [options] The optional parameters + * @returns Promise + */ + update(resourceGroupName: string, cloudServiceName: string, options?: Models.CloudServicesUpdateOptionalParams): Promise { + return this.beginUpdate(resourceGroupName,cloudServiceName,options) + .then(lroPoller => lroPoller.pollUntilFinished()) as Promise; + } + + /** + * Deletes a cloud service. + * @param resourceGroupName Name of the resource group. + * @param cloudServiceName Name of the cloud service. + * @param [options] The optional parameters + * @returns Promise + */ + deleteMethod(resourceGroupName: string, cloudServiceName: string, options?: msRest.RequestOptionsBase): Promise { + return this.beginDeleteMethod(resourceGroupName,cloudServiceName,options) + .then(lroPoller => lroPoller.pollUntilFinished()); + } + + /** + * Display information about a cloud service. + * @param resourceGroupName Name of the resource group. + * @param cloudServiceName Name of the cloud service. + * @param [options] The optional parameters + * @returns Promise + */ + get(resourceGroupName: string, cloudServiceName: string, options?: msRest.RequestOptionsBase): Promise; + /** + * @param resourceGroupName Name of the resource group. + * @param cloudServiceName Name of the cloud service. + * @param callback The callback + */ + get(resourceGroupName: string, cloudServiceName: string, callback: msRest.ServiceCallback): void; + /** + * @param resourceGroupName Name of the resource group. + * @param cloudServiceName Name of the cloud service. + * @param options The optional parameters + * @param callback The callback + */ + get(resourceGroupName: string, cloudServiceName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + get(resourceGroupName: string, cloudServiceName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + resourceGroupName, + cloudServiceName, + options + }, + getOperationSpec, + callback) as Promise; + } + + /** + * Gets the status of a cloud service. + * @param resourceGroupName Name of the resource group. + * @param cloudServiceName Name of the cloud service. + * @param [options] The optional parameters + * @returns Promise + */ + getInstanceView(resourceGroupName: string, cloudServiceName: string, options?: msRest.RequestOptionsBase): Promise; + /** + * @param resourceGroupName Name of the resource group. + * @param cloudServiceName Name of the cloud service. + * @param callback The callback + */ + getInstanceView(resourceGroupName: string, cloudServiceName: string, callback: msRest.ServiceCallback): void; + /** + * @param resourceGroupName Name of the resource group. + * @param cloudServiceName Name of the cloud service. + * @param options The optional parameters + * @param callback The callback + */ + getInstanceView(resourceGroupName: string, cloudServiceName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + getInstanceView(resourceGroupName: string, cloudServiceName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + resourceGroupName, + cloudServiceName, + options + }, + getInstanceViewOperationSpec, + callback) as Promise; + } + + /** + * Gets a list of all cloud services in the subscription, regardless of the associated resource + * group. Use nextLink property in the response to get the next page of Cloud Services. Do this + * till nextLink is null to fetch all the Cloud Services. + * @param [options] The optional parameters + * @returns Promise + */ + listAll(options?: msRest.RequestOptionsBase): Promise; + /** + * @param callback The callback + */ + listAll(callback: msRest.ServiceCallback): void; + /** + * @param options The optional parameters + * @param callback The callback + */ + listAll(options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + listAll(options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + options + }, + listAllOperationSpec, + callback) as Promise; + } + + /** + * Gets a list of all cloud services under a resource group. Use nextLink property in the response + * to get the next page of Cloud Services. Do this till nextLink is null to fetch all the Cloud + * Services. + * @param resourceGroupName Name of the resource group. + * @param [options] The optional parameters + * @returns Promise + */ + list(resourceGroupName: string, options?: msRest.RequestOptionsBase): Promise; + /** + * @param resourceGroupName Name of the resource group. + * @param callback The callback + */ + list(resourceGroupName: string, callback: msRest.ServiceCallback): void; + /** + * @param resourceGroupName Name of the resource group. + * @param options The optional parameters + * @param callback The callback + */ + list(resourceGroupName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + list(resourceGroupName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + resourceGroupName, + options + }, + listOperationSpec, + callback) as Promise; + } + + /** + * Starts the cloud service. + * @param resourceGroupName Name of the resource group. + * @param cloudServiceName Name of the cloud service. + * @param [options] The optional parameters + * @returns Promise + */ + start(resourceGroupName: string, cloudServiceName: string, options?: msRest.RequestOptionsBase): Promise { + return this.beginStart(resourceGroupName,cloudServiceName,options) + .then(lroPoller => lroPoller.pollUntilFinished()); + } + + /** + * Power off the cloud service. Note that resources are still attached and you are getting charged + * for the resources. + * @param resourceGroupName Name of the resource group. + * @param cloudServiceName Name of the cloud service. + * @param [options] The optional parameters + * @returns Promise + */ + powerOff(resourceGroupName: string, cloudServiceName: string, options?: msRest.RequestOptionsBase): Promise { + return this.beginPowerOff(resourceGroupName,cloudServiceName,options) + .then(lroPoller => lroPoller.pollUntilFinished()); + } + + /** + * Restarts one or more role instances in a cloud service. + * @param resourceGroupName Name of the resource group. + * @param cloudServiceName Name of the cloud service. + * @param [options] The optional parameters + * @returns Promise + */ + restart(resourceGroupName: string, cloudServiceName: string, options?: Models.CloudServicesRestartOptionalParams): Promise { + return this.beginRestart(resourceGroupName,cloudServiceName,options) + .then(lroPoller => lroPoller.pollUntilFinished()); + } + + /** + * Reimage asynchronous operation reinstalls the operating system on instances of web roles or + * worker roles. + * @param resourceGroupName Name of the resource group. + * @param cloudServiceName Name of the cloud service. + * @param [options] The optional parameters + * @returns Promise + */ + reimage(resourceGroupName: string, cloudServiceName: string, options?: Models.CloudServicesReimageOptionalParams): Promise { + return this.beginReimage(resourceGroupName,cloudServiceName,options) + .then(lroPoller => lroPoller.pollUntilFinished()); + } + + /** + * Rebuild Role Instances reinstalls the operating system on instances of web roles or worker roles + * and initializes the storage resources that are used by them. If you do not want to initialize + * storage resources, you can use Reimage Role Instances. + * @param resourceGroupName Name of the resource group. + * @param cloudServiceName Name of the cloud service. + * @param [options] The optional parameters + * @returns Promise + */ + rebuild(resourceGroupName: string, cloudServiceName: string, options?: Models.CloudServicesRebuildOptionalParams): Promise { + return this.beginRebuild(resourceGroupName,cloudServiceName,options) + .then(lroPoller => lroPoller.pollUntilFinished()); + } + + /** + * Deletes role instances in a cloud service. + * @param resourceGroupName Name of the resource group. + * @param cloudServiceName Name of the cloud service. + * @param [options] The optional parameters + * @returns Promise + */ + deleteInstances(resourceGroupName: string, cloudServiceName: string, options?: Models.CloudServicesDeleteInstancesOptionalParams): Promise { + return this.beginDeleteInstances(resourceGroupName,cloudServiceName,options) + .then(lroPoller => lroPoller.pollUntilFinished()); + } + + /** + * Create or update a cloud service. Please note some properties can be set only during cloud + * service creation. + * @param resourceGroupName Name of the resource group. + * @param cloudServiceName Name of the cloud service. + * @param [options] The optional parameters + * @returns Promise + */ + beginCreateOrUpdate(resourceGroupName: string, cloudServiceName: string, options?: Models.CloudServicesBeginCreateOrUpdateOptionalParams): Promise { + return this.client.sendLRORequest( + { + resourceGroupName, + cloudServiceName, + options + }, + beginCreateOrUpdateOperationSpec, + options); + } + + /** + * Update a cloud service. + * @param resourceGroupName Name of the resource group. + * @param cloudServiceName Name of the cloud service. + * @param [options] The optional parameters + * @returns Promise + */ + beginUpdate(resourceGroupName: string, cloudServiceName: string, options?: Models.CloudServicesBeginUpdateOptionalParams): Promise { + return this.client.sendLRORequest( + { + resourceGroupName, + cloudServiceName, + options + }, + beginUpdateOperationSpec, + options); + } + + /** + * Deletes a cloud service. + * @param resourceGroupName Name of the resource group. + * @param cloudServiceName Name of the cloud service. + * @param [options] The optional parameters + * @returns Promise + */ + beginDeleteMethod(resourceGroupName: string, cloudServiceName: string, options?: msRest.RequestOptionsBase): Promise { + return this.client.sendLRORequest( + { + resourceGroupName, + cloudServiceName, + options + }, + beginDeleteMethodOperationSpec, + options); + } + + /** + * Starts the cloud service. + * @param resourceGroupName Name of the resource group. + * @param cloudServiceName Name of the cloud service. + * @param [options] The optional parameters + * @returns Promise + */ + beginStart(resourceGroupName: string, cloudServiceName: string, options?: msRest.RequestOptionsBase): Promise { + return this.client.sendLRORequest( + { + resourceGroupName, + cloudServiceName, + options + }, + beginStartOperationSpec, + options); + } + + /** + * Power off the cloud service. Note that resources are still attached and you are getting charged + * for the resources. + * @param resourceGroupName Name of the resource group. + * @param cloudServiceName Name of the cloud service. + * @param [options] The optional parameters + * @returns Promise + */ + beginPowerOff(resourceGroupName: string, cloudServiceName: string, options?: msRest.RequestOptionsBase): Promise { + return this.client.sendLRORequest( + { + resourceGroupName, + cloudServiceName, + options + }, + beginPowerOffOperationSpec, + options); + } + + /** + * Restarts one or more role instances in a cloud service. + * @param resourceGroupName Name of the resource group. + * @param cloudServiceName Name of the cloud service. + * @param [options] The optional parameters + * @returns Promise + */ + beginRestart(resourceGroupName: string, cloudServiceName: string, options?: Models.CloudServicesBeginRestartOptionalParams): Promise { + return this.client.sendLRORequest( + { + resourceGroupName, + cloudServiceName, + options + }, + beginRestartOperationSpec, + options); + } + + /** + * Reimage asynchronous operation reinstalls the operating system on instances of web roles or + * worker roles. + * @param resourceGroupName Name of the resource group. + * @param cloudServiceName Name of the cloud service. + * @param [options] The optional parameters + * @returns Promise + */ + beginReimage(resourceGroupName: string, cloudServiceName: string, options?: Models.CloudServicesBeginReimageOptionalParams): Promise { + return this.client.sendLRORequest( + { + resourceGroupName, + cloudServiceName, + options + }, + beginReimageOperationSpec, + options); + } + + /** + * Rebuild Role Instances reinstalls the operating system on instances of web roles or worker roles + * and initializes the storage resources that are used by them. If you do not want to initialize + * storage resources, you can use Reimage Role Instances. + * @param resourceGroupName Name of the resource group. + * @param cloudServiceName Name of the cloud service. + * @param [options] The optional parameters + * @returns Promise + */ + beginRebuild(resourceGroupName: string, cloudServiceName: string, options?: Models.CloudServicesBeginRebuildOptionalParams): Promise { + return this.client.sendLRORequest( + { + resourceGroupName, + cloudServiceName, + options + }, + beginRebuildOperationSpec, + options); + } + + /** + * Deletes role instances in a cloud service. + * @param resourceGroupName Name of the resource group. + * @param cloudServiceName Name of the cloud service. + * @param [options] The optional parameters + * @returns Promise + */ + beginDeleteInstances(resourceGroupName: string, cloudServiceName: string, options?: Models.CloudServicesBeginDeleteInstancesOptionalParams): Promise { + return this.client.sendLRORequest( + { + resourceGroupName, + cloudServiceName, + options + }, + beginDeleteInstancesOperationSpec, + options); + } + + /** + * Gets a list of all cloud services in the subscription, regardless of the associated resource + * group. Use nextLink property in the response to get the next page of Cloud Services. Do this + * till nextLink is null to fetch all the Cloud Services. + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @param [options] The optional parameters + * @returns Promise + */ + listAllNext(nextPageLink: string, options?: msRest.RequestOptionsBase): Promise; + /** + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @param callback The callback + */ + listAllNext(nextPageLink: string, callback: msRest.ServiceCallback): void; + /** + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @param options The optional parameters + * @param callback The callback + */ + listAllNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + listAllNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + nextPageLink, + options + }, + listAllNextOperationSpec, + callback) as Promise; + } + + /** + * Gets a list of all cloud services under a resource group. Use nextLink property in the response + * to get the next page of Cloud Services. Do this till nextLink is null to fetch all the Cloud + * Services. + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @param [options] The optional parameters + * @returns Promise + */ + listNext(nextPageLink: string, options?: msRest.RequestOptionsBase): Promise; + /** + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @param callback The callback + */ + listNext(nextPageLink: string, callback: msRest.ServiceCallback): void; + /** + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @param options The optional parameters + * @param callback The callback + */ + listNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + listNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + nextPageLink, + options + }, + listNextOperationSpec, + callback) as Promise; + } +} + +// Operation Specifications +const serializer = new msRest.Serializer(Mappers); +const getOperationSpec: msRest.OperationSpec = { + httpMethod: "GET", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/cloudServices/{cloudServiceName}", + urlParameters: [ + Parameters.resourceGroupName, + Parameters.cloudServiceName, + Parameters.subscriptionId + ], + queryParameters: [ + Parameters.apiVersion4 + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: { + bodyMapper: Mappers.CloudService + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + +const getInstanceViewOperationSpec: msRest.OperationSpec = { + httpMethod: "GET", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/cloudServices/{cloudServiceName}/instanceView", + urlParameters: [ + Parameters.resourceGroupName, + Parameters.cloudServiceName, + Parameters.subscriptionId + ], + queryParameters: [ + Parameters.apiVersion4 + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: { + bodyMapper: Mappers.CloudServiceInstanceView + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + +const listAllOperationSpec: msRest.OperationSpec = { + httpMethod: "GET", + path: "subscriptions/{subscriptionId}/providers/Microsoft.Compute/cloudServices", + urlParameters: [ + Parameters.subscriptionId + ], + queryParameters: [ + Parameters.apiVersion4 + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: { + bodyMapper: Mappers.CloudServiceListResult + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + +const listOperationSpec: msRest.OperationSpec = { + httpMethod: "GET", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/cloudServices", + urlParameters: [ + Parameters.resourceGroupName, + Parameters.subscriptionId + ], + queryParameters: [ + Parameters.apiVersion4 + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: { + bodyMapper: Mappers.CloudServiceListResult + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + +const beginCreateOrUpdateOperationSpec: msRest.OperationSpec = { + httpMethod: "PUT", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/cloudServices/{cloudServiceName}", + urlParameters: [ + Parameters.resourceGroupName, + Parameters.cloudServiceName, + Parameters.subscriptionId + ], + queryParameters: [ + Parameters.apiVersion4 + ], + headerParameters: [ + Parameters.acceptLanguage + ], + requestBody: { + parameterPath: [ + "options", + "parameters" + ], + mapper: Mappers.CloudService + }, + responses: { + 200: { + bodyMapper: Mappers.CloudService + }, + 201: { + bodyMapper: Mappers.CloudService + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + +const beginUpdateOperationSpec: msRest.OperationSpec = { + httpMethod: "PATCH", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/cloudServices/{cloudServiceName}", + urlParameters: [ + Parameters.resourceGroupName, + Parameters.cloudServiceName, + Parameters.subscriptionId + ], + queryParameters: [ + Parameters.apiVersion4 + ], + headerParameters: [ + Parameters.acceptLanguage + ], + requestBody: { + parameterPath: [ + "options", + "parameters" + ], + mapper: Mappers.CloudServiceUpdate + }, + responses: { + 200: { + bodyMapper: Mappers.CloudService + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + +const beginDeleteMethodOperationSpec: msRest.OperationSpec = { + httpMethod: "DELETE", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/cloudServices/{cloudServiceName}", + urlParameters: [ + Parameters.resourceGroupName, + Parameters.cloudServiceName, + Parameters.subscriptionId + ], + queryParameters: [ + Parameters.apiVersion4 + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: {}, + 202: {}, + 204: {}, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + +const beginStartOperationSpec: msRest.OperationSpec = { + httpMethod: "POST", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/cloudServices/{cloudServiceName}/start", + urlParameters: [ + Parameters.resourceGroupName, + Parameters.cloudServiceName, + Parameters.subscriptionId + ], + queryParameters: [ + Parameters.apiVersion4 + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: {}, + 202: {}, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + +const beginPowerOffOperationSpec: msRest.OperationSpec = { + httpMethod: "POST", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/cloudServices/{cloudServiceName}/poweroff", + urlParameters: [ + Parameters.resourceGroupName, + Parameters.cloudServiceName, + Parameters.subscriptionId + ], + queryParameters: [ + Parameters.apiVersion4 + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: {}, + 202: {}, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + +const beginRestartOperationSpec: msRest.OperationSpec = { + httpMethod: "POST", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/cloudServices/{cloudServiceName}/restart", + urlParameters: [ + Parameters.resourceGroupName, + Parameters.cloudServiceName, + Parameters.subscriptionId + ], + queryParameters: [ + Parameters.apiVersion4 + ], + headerParameters: [ + Parameters.acceptLanguage + ], + requestBody: { + parameterPath: [ + "options", + "parameters" + ], + mapper: Mappers.RoleInstances + }, + responses: { + 200: {}, + 202: {}, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + +const beginReimageOperationSpec: msRest.OperationSpec = { + httpMethod: "POST", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/cloudServices/{cloudServiceName}/reimage", + urlParameters: [ + Parameters.resourceGroupName, + Parameters.cloudServiceName, + Parameters.subscriptionId + ], + queryParameters: [ + Parameters.apiVersion4 + ], + headerParameters: [ + Parameters.acceptLanguage + ], + requestBody: { + parameterPath: [ + "options", + "parameters" + ], + mapper: Mappers.RoleInstances + }, + responses: { + 200: {}, + 202: {}, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + +const beginRebuildOperationSpec: msRest.OperationSpec = { + httpMethod: "POST", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/cloudServices/{cloudServiceName}/rebuild", + urlParameters: [ + Parameters.resourceGroupName, + Parameters.cloudServiceName, + Parameters.subscriptionId + ], + queryParameters: [ + Parameters.apiVersion4 + ], + headerParameters: [ + Parameters.acceptLanguage + ], + requestBody: { + parameterPath: [ + "options", + "parameters" + ], + mapper: Mappers.RoleInstances + }, + responses: { + 200: {}, + 202: {}, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + +const beginDeleteInstancesOperationSpec: msRest.OperationSpec = { + httpMethod: "POST", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/cloudServices/{cloudServiceName}/delete", + urlParameters: [ + Parameters.resourceGroupName, + Parameters.cloudServiceName, + Parameters.subscriptionId + ], + queryParameters: [ + Parameters.apiVersion4 + ], + headerParameters: [ + Parameters.acceptLanguage + ], + requestBody: { + parameterPath: [ + "options", + "parameters" + ], + mapper: Mappers.RoleInstances + }, + responses: { + 200: {}, + 202: {}, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + +const listAllNextOperationSpec: msRest.OperationSpec = { + httpMethod: "GET", + baseUrl: "https://management.azure.com", + path: "{nextLink}", + urlParameters: [ + Parameters.nextPageLink + ], + queryParameters: [ + Parameters.apiVersion4 + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: { + bodyMapper: Mappers.CloudServiceListResult + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + +const listNextOperationSpec: msRest.OperationSpec = { + httpMethod: "GET", + baseUrl: "https://management.azure.com", + path: "{nextLink}", + urlParameters: [ + Parameters.nextPageLink + ], + queryParameters: [ + Parameters.apiVersion4 + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: { + bodyMapper: Mappers.CloudServiceListResult + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; diff --git a/sdk/compute/arm-compute/src/operations/cloudServicesUpdateDomain.ts b/sdk/compute/arm-compute/src/operations/cloudServicesUpdateDomain.ts new file mode 100644 index 000000000000..42563572d56d --- /dev/null +++ b/sdk/compute/arm-compute/src/operations/cloudServicesUpdateDomain.ts @@ -0,0 +1,278 @@ +/* + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. + * + * Code generated by Microsoft (R) AutoRest Code Generator. + * Changes may cause incorrect behavior and will be lost if the code is + * regenerated. + */ + +import * as msRest from "@azure/ms-rest-js"; +import * as msRestAzure from "@azure/ms-rest-azure-js"; +import * as Models from "../models"; +import * as Mappers from "../models/cloudServicesUpdateDomainMappers"; +import * as Parameters from "../models/parameters"; +import { ComputeManagementClientContext } from "../computeManagementClientContext"; + +/** Class representing a CloudServicesUpdateDomain. */ +export class CloudServicesUpdateDomain { + private readonly client: ComputeManagementClientContext; + + /** + * Create a CloudServicesUpdateDomain. + * @param {ComputeManagementClientContext} client Reference to the service client. + */ + constructor(client: ComputeManagementClientContext) { + this.client = client; + } + + /** + * Updates the role instances in the specified update domain. + * @param resourceGroupName Name of the resource group. + * @param cloudServiceName Name of the cloud service. + * @param updateDomain Specifies an integer value that identifies the update domain. Update domains + * are identified with a zero-based index: the first update domain has an ID of 0, the second has + * an ID of 1, and so on. + * @param [options] The optional parameters + * @returns Promise + */ + walkUpdateDomain(resourceGroupName: string, cloudServiceName: string, updateDomain: number, options?: msRest.RequestOptionsBase): Promise { + return this.beginWalkUpdateDomain(resourceGroupName,cloudServiceName,updateDomain,options) + .then(lroPoller => lroPoller.pollUntilFinished()); + } + + /** + * Gets the specified update domain of a cloud service. Use nextLink property in the response to + * get the next page of update domains. Do this till nextLink is null to fetch all the update + * domains. + * @param resourceGroupName Name of the resource group. + * @param cloudServiceName Name of the cloud service. + * @param updateDomain Specifies an integer value that identifies the update domain. Update domains + * are identified with a zero-based index: the first update domain has an ID of 0, the second has + * an ID of 1, and so on. + * @param [options] The optional parameters + * @returns Promise + */ + getUpdateDomain(resourceGroupName: string, cloudServiceName: string, updateDomain: number, options?: msRest.RequestOptionsBase): Promise; + /** + * @param resourceGroupName Name of the resource group. + * @param cloudServiceName Name of the cloud service. + * @param updateDomain Specifies an integer value that identifies the update domain. Update domains + * are identified with a zero-based index: the first update domain has an ID of 0, the second has + * an ID of 1, and so on. + * @param callback The callback + */ + getUpdateDomain(resourceGroupName: string, cloudServiceName: string, updateDomain: number, callback: msRest.ServiceCallback): void; + /** + * @param resourceGroupName Name of the resource group. + * @param cloudServiceName Name of the cloud service. + * @param updateDomain Specifies an integer value that identifies the update domain. Update domains + * are identified with a zero-based index: the first update domain has an ID of 0, the second has + * an ID of 1, and so on. + * @param options The optional parameters + * @param callback The callback + */ + getUpdateDomain(resourceGroupName: string, cloudServiceName: string, updateDomain: number, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + getUpdateDomain(resourceGroupName: string, cloudServiceName: string, updateDomain: number, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + resourceGroupName, + cloudServiceName, + updateDomain, + options + }, + getUpdateDomainOperationSpec, + callback) as Promise; + } + + /** + * Gets a list of all update domains in a cloud service. + * @param resourceGroupName Name of the resource group. + * @param cloudServiceName Name of the cloud service. + * @param [options] The optional parameters + * @returns Promise + */ + listUpdateDomains(resourceGroupName: string, cloudServiceName: string, options?: msRest.RequestOptionsBase): Promise; + /** + * @param resourceGroupName Name of the resource group. + * @param cloudServiceName Name of the cloud service. + * @param callback The callback + */ + listUpdateDomains(resourceGroupName: string, cloudServiceName: string, callback: msRest.ServiceCallback): void; + /** + * @param resourceGroupName Name of the resource group. + * @param cloudServiceName Name of the cloud service. + * @param options The optional parameters + * @param callback The callback + */ + listUpdateDomains(resourceGroupName: string, cloudServiceName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + listUpdateDomains(resourceGroupName: string, cloudServiceName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + resourceGroupName, + cloudServiceName, + options + }, + listUpdateDomainsOperationSpec, + callback) as Promise; + } + + /** + * Updates the role instances in the specified update domain. + * @param resourceGroupName Name of the resource group. + * @param cloudServiceName Name of the cloud service. + * @param updateDomain Specifies an integer value that identifies the update domain. Update domains + * are identified with a zero-based index: the first update domain has an ID of 0, the second has + * an ID of 1, and so on. + * @param [options] The optional parameters + * @returns Promise + */ + beginWalkUpdateDomain(resourceGroupName: string, cloudServiceName: string, updateDomain: number, options?: msRest.RequestOptionsBase): Promise { + return this.client.sendLRORequest( + { + resourceGroupName, + cloudServiceName, + updateDomain, + options + }, + beginWalkUpdateDomainOperationSpec, + options); + } + + /** + * Gets a list of all update domains in a cloud service. + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @param [options] The optional parameters + * @returns Promise + */ + listUpdateDomainsNext(nextPageLink: string, options?: msRest.RequestOptionsBase): Promise; + /** + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @param callback The callback + */ + listUpdateDomainsNext(nextPageLink: string, callback: msRest.ServiceCallback): void; + /** + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @param options The optional parameters + * @param callback The callback + */ + listUpdateDomainsNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + listUpdateDomainsNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + nextPageLink, + options + }, + listUpdateDomainsNextOperationSpec, + callback) as Promise; + } +} + +// Operation Specifications +const serializer = new msRest.Serializer(Mappers); +const getUpdateDomainOperationSpec: msRest.OperationSpec = { + httpMethod: "GET", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/cloudServices/{cloudServiceName}/updateDomains/{updateDomain}", + urlParameters: [ + Parameters.resourceGroupName, + Parameters.cloudServiceName, + Parameters.updateDomain, + Parameters.subscriptionId + ], + queryParameters: [ + Parameters.apiVersion4 + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: { + bodyMapper: Mappers.UpdateDomain + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + +const listUpdateDomainsOperationSpec: msRest.OperationSpec = { + httpMethod: "GET", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/cloudServices/{cloudServiceName}/updateDomains", + urlParameters: [ + Parameters.resourceGroupName, + Parameters.cloudServiceName, + Parameters.subscriptionId + ], + queryParameters: [ + Parameters.apiVersion4 + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: { + bodyMapper: Mappers.UpdateDomainListResult + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + +const beginWalkUpdateDomainOperationSpec: msRest.OperationSpec = { + httpMethod: "PUT", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/cloudServices/{cloudServiceName}/updateDomains/{updateDomain}", + urlParameters: [ + Parameters.resourceGroupName, + Parameters.cloudServiceName, + Parameters.updateDomain, + Parameters.subscriptionId + ], + queryParameters: [ + Parameters.apiVersion4 + ], + headerParameters: [ + Parameters.acceptLanguage + ], + requestBody: { + parameterPath: [ + "options", + "parameters" + ], + mapper: Mappers.UpdateDomain + }, + responses: { + 200: {}, + 202: {}, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + +const listUpdateDomainsNextOperationSpec: msRest.OperationSpec = { + httpMethod: "GET", + baseUrl: "https://management.azure.com", + path: "{nextLink}", + urlParameters: [ + Parameters.nextPageLink + ], + queryParameters: [ + Parameters.apiVersion4 + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: { + bodyMapper: Mappers.UpdateDomainListResult + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; diff --git a/sdk/compute/arm-compute/src/operations/containerServices.ts b/sdk/compute/arm-compute/src/operations/containerServices.ts deleted file mode 100644 index a0b681fc5406..000000000000 --- a/sdk/compute/arm-compute/src/operations/containerServices.ts +++ /dev/null @@ -1,444 +0,0 @@ -/* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. - * - * Code generated by Microsoft (R) AutoRest Code Generator. - * Changes may cause incorrect behavior and will be lost if the code is - * regenerated. - */ - -import * as msRest from "@azure/ms-rest-js"; -import * as msRestAzure from "@azure/ms-rest-azure-js"; -import * as Models from "../models"; -import * as Mappers from "../models/containerServicesMappers"; -import * as Parameters from "../models/parameters"; -import { ComputeManagementClientContext } from "../computeManagementClientContext"; - -/** Class representing a ContainerServices. */ -export class ContainerServices { - private readonly client: ComputeManagementClientContext; - - /** - * Create a ContainerServices. - * @param {ComputeManagementClientContext} client Reference to the service client. - */ - constructor(client: ComputeManagementClientContext) { - this.client = client; - } - - /** - * Gets a list of container services in the specified subscription. The operation returns - * properties of each container service including state, orchestrator, number of masters and - * agents, and FQDNs of masters and agents. - * @summary Gets a list of container services in the specified subscription. - * @param [options] The optional parameters - * @returns Promise - */ - list(options?: msRest.RequestOptionsBase): Promise; - /** - * @param callback The callback - */ - list(callback: msRest.ServiceCallback): void; - /** - * @param options The optional parameters - * @param callback The callback - */ - list(options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - list(options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { - return this.client.sendOperationRequest( - { - options - }, - listOperationSpec, - callback) as Promise; - } - - /** - * Creates or updates a container service with the specified configuration of orchestrator, - * masters, and agents. - * @summary Creates or updates a container service. - * @param resourceGroupName The name of the resource group. - * @param containerServiceName The name of the container service in the specified subscription and - * resource group. - * @param parameters Parameters supplied to the Create or Update a Container Service operation. - * @param [options] The optional parameters - * @returns Promise - */ - createOrUpdate(resourceGroupName: string, containerServiceName: string, parameters: Models.ContainerService, options?: msRest.RequestOptionsBase): Promise { - return this.beginCreateOrUpdate(resourceGroupName,containerServiceName,parameters,options) - .then(lroPoller => lroPoller.pollUntilFinished()) as Promise; - } - - /** - * Gets the properties of the specified container service in the specified subscription and - * resource group. The operation returns the properties including state, orchestrator, number of - * masters and agents, and FQDNs of masters and agents. - * @summary Gets the properties of the specified container service. - * @param resourceGroupName The name of the resource group. - * @param containerServiceName The name of the container service in the specified subscription and - * resource group. - * @param [options] The optional parameters - * @returns Promise - */ - get(resourceGroupName: string, containerServiceName: string, options?: msRest.RequestOptionsBase): Promise; - /** - * @param resourceGroupName The name of the resource group. - * @param containerServiceName The name of the container service in the specified subscription and - * resource group. - * @param callback The callback - */ - get(resourceGroupName: string, containerServiceName: string, callback: msRest.ServiceCallback): void; - /** - * @param resourceGroupName The name of the resource group. - * @param containerServiceName The name of the container service in the specified subscription and - * resource group. - * @param options The optional parameters - * @param callback The callback - */ - get(resourceGroupName: string, containerServiceName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - get(resourceGroupName: string, containerServiceName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { - return this.client.sendOperationRequest( - { - resourceGroupName, - containerServiceName, - options - }, - getOperationSpec, - callback) as Promise; - } - - /** - * Deletes the specified container service in the specified subscription and resource group. The - * operation does not delete other resources created as part of creating a container service, - * including storage accounts, VMs, and availability sets. All the other resources created with the - * container service are part of the same resource group and can be deleted individually. - * @summary Deletes the specified container service. - * @param resourceGroupName The name of the resource group. - * @param containerServiceName The name of the container service in the specified subscription and - * resource group. - * @param [options] The optional parameters - * @returns Promise - */ - deleteMethod(resourceGroupName: string, containerServiceName: string, options?: msRest.RequestOptionsBase): Promise { - return this.beginDeleteMethod(resourceGroupName,containerServiceName,options) - .then(lroPoller => lroPoller.pollUntilFinished()); - } - - /** - * Gets a list of container services in the specified subscription and resource group. The - * operation returns properties of each container service including state, orchestrator, number of - * masters and agents, and FQDNs of masters and agents. - * @summary Gets a list of container services in the specified resource group. - * @param resourceGroupName The name of the resource group. - * @param [options] The optional parameters - * @returns Promise - */ - listByResourceGroup(resourceGroupName: string, options?: msRest.RequestOptionsBase): Promise; - /** - * @param resourceGroupName The name of the resource group. - * @param callback The callback - */ - listByResourceGroup(resourceGroupName: string, callback: msRest.ServiceCallback): void; - /** - * @param resourceGroupName The name of the resource group. - * @param options The optional parameters - * @param callback The callback - */ - listByResourceGroup(resourceGroupName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listByResourceGroup(resourceGroupName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { - return this.client.sendOperationRequest( - { - resourceGroupName, - options - }, - listByResourceGroupOperationSpec, - callback) as Promise; - } - - /** - * Creates or updates a container service with the specified configuration of orchestrator, - * masters, and agents. - * @summary Creates or updates a container service. - * @param resourceGroupName The name of the resource group. - * @param containerServiceName The name of the container service in the specified subscription and - * resource group. - * @param parameters Parameters supplied to the Create or Update a Container Service operation. - * @param [options] The optional parameters - * @returns Promise - */ - beginCreateOrUpdate(resourceGroupName: string, containerServiceName: string, parameters: Models.ContainerService, options?: msRest.RequestOptionsBase): Promise { - return this.client.sendLRORequest( - { - resourceGroupName, - containerServiceName, - parameters, - options - }, - beginCreateOrUpdateOperationSpec, - options); - } - - /** - * Deletes the specified container service in the specified subscription and resource group. The - * operation does not delete other resources created as part of creating a container service, - * including storage accounts, VMs, and availability sets. All the other resources created with the - * container service are part of the same resource group and can be deleted individually. - * @summary Deletes the specified container service. - * @param resourceGroupName The name of the resource group. - * @param containerServiceName The name of the container service in the specified subscription and - * resource group. - * @param [options] The optional parameters - * @returns Promise - */ - beginDeleteMethod(resourceGroupName: string, containerServiceName: string, options?: msRest.RequestOptionsBase): Promise { - return this.client.sendLRORequest( - { - resourceGroupName, - containerServiceName, - options - }, - beginDeleteMethodOperationSpec, - options); - } - - /** - * Gets a list of container services in the specified subscription. The operation returns - * properties of each container service including state, orchestrator, number of masters and - * agents, and FQDNs of masters and agents. - * @summary Gets a list of container services in the specified subscription. - * @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; - } - - /** - * Gets a list of container services in the specified subscription and resource group. The - * operation returns properties of each container service including state, orchestrator, number of - * masters and agents, and FQDNs of masters and agents. - * @summary Gets a list of container services in the specified resource group. - * @param nextPageLink The NextLink from the previous successful call to List operation. - * @param [options] The optional parameters - * @returns Promise - */ - listByResourceGroupNext(nextPageLink: string, options?: msRest.RequestOptionsBase): Promise; - /** - * @param nextPageLink The NextLink from the previous successful call to List operation. - * @param callback The callback - */ - listByResourceGroupNext(nextPageLink: string, callback: msRest.ServiceCallback): void; - /** - * @param nextPageLink The NextLink from the previous successful call to List operation. - * @param options The optional parameters - * @param callback The callback - */ - listByResourceGroupNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listByResourceGroupNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { - return this.client.sendOperationRequest( - { - nextPageLink, - options - }, - listByResourceGroupNextOperationSpec, - callback) as Promise; - } -} - -// Operation Specifications -const serializer = new msRest.Serializer(Mappers); -const listOperationSpec: msRest.OperationSpec = { - httpMethod: "GET", - path: "subscriptions/{subscriptionId}/providers/Microsoft.ContainerService/containerServices", - urlParameters: [ - Parameters.subscriptionId - ], - queryParameters: [ - Parameters.apiVersion4 - ], - headerParameters: [ - Parameters.acceptLanguage - ], - responses: { - 200: { - bodyMapper: Mappers.ContainerServiceListResult - }, - default: { - bodyMapper: Mappers.CloudError - } - }, - serializer -}; - -const getOperationSpec: msRest.OperationSpec = { - httpMethod: "GET", - path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/containerServices/{containerServiceName}", - urlParameters: [ - Parameters.resourceGroupName, - Parameters.containerServiceName, - Parameters.subscriptionId - ], - queryParameters: [ - Parameters.apiVersion4 - ], - headerParameters: [ - Parameters.acceptLanguage - ], - responses: { - 200: { - bodyMapper: Mappers.ContainerService - }, - default: { - bodyMapper: Mappers.CloudError - } - }, - serializer -}; - -const listByResourceGroupOperationSpec: msRest.OperationSpec = { - httpMethod: "GET", - path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/containerServices", - urlParameters: [ - Parameters.resourceGroupName, - Parameters.subscriptionId - ], - queryParameters: [ - Parameters.apiVersion4 - ], - headerParameters: [ - Parameters.acceptLanguage - ], - responses: { - 200: { - bodyMapper: Mappers.ContainerServiceListResult - }, - default: { - bodyMapper: Mappers.CloudError - } - }, - serializer -}; - -const beginCreateOrUpdateOperationSpec: msRest.OperationSpec = { - httpMethod: "PUT", - path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/containerServices/{containerServiceName}", - urlParameters: [ - Parameters.resourceGroupName, - Parameters.containerServiceName, - Parameters.subscriptionId - ], - queryParameters: [ - Parameters.apiVersion4 - ], - headerParameters: [ - Parameters.acceptLanguage - ], - requestBody: { - parameterPath: "parameters", - mapper: { - ...Mappers.ContainerService, - required: true - } - }, - responses: { - 200: { - bodyMapper: Mappers.ContainerService - }, - 201: { - bodyMapper: Mappers.ContainerService - }, - 202: { - bodyMapper: Mappers.ContainerService - }, - default: { - bodyMapper: Mappers.CloudError - } - }, - serializer -}; - -const beginDeleteMethodOperationSpec: msRest.OperationSpec = { - httpMethod: "DELETE", - path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/containerServices/{containerServiceName}", - urlParameters: [ - Parameters.resourceGroupName, - Parameters.containerServiceName, - Parameters.subscriptionId - ], - queryParameters: [ - Parameters.apiVersion4 - ], - headerParameters: [ - Parameters.acceptLanguage - ], - responses: { - 202: {}, - 204: {}, - default: { - bodyMapper: Mappers.CloudError - } - }, - serializer -}; - -const listNextOperationSpec: msRest.OperationSpec = { - httpMethod: "GET", - baseUrl: "https://management.azure.com", - path: "{nextLink}", - urlParameters: [ - Parameters.nextPageLink - ], - headerParameters: [ - Parameters.acceptLanguage - ], - responses: { - 200: { - bodyMapper: Mappers.ContainerServiceListResult - }, - default: { - bodyMapper: Mappers.CloudError - } - }, - serializer -}; - -const listByResourceGroupNextOperationSpec: msRest.OperationSpec = { - httpMethod: "GET", - baseUrl: "https://management.azure.com", - path: "{nextLink}", - urlParameters: [ - Parameters.nextPageLink - ], - headerParameters: [ - Parameters.acceptLanguage - ], - responses: { - 200: { - bodyMapper: Mappers.ContainerServiceListResult - }, - default: { - bodyMapper: Mappers.CloudError - } - }, - serializer -}; diff --git a/sdk/compute/arm-compute/src/operations/dedicatedHostGroups.ts b/sdk/compute/arm-compute/src/operations/dedicatedHostGroups.ts index 52c24be5bd99..e5470bb2a190 100644 --- a/sdk/compute/arm-compute/src/operations/dedicatedHostGroups.ts +++ b/sdk/compute/arm-compute/src/operations/dedicatedHostGroups.ts @@ -1,7 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is @@ -449,6 +448,9 @@ const listByResourceGroupNextOperationSpec: msRest.OperationSpec = { urlParameters: [ Parameters.nextPageLink ], + queryParameters: [ + Parameters.apiVersion0 + ], headerParameters: [ Parameters.acceptLanguage ], @@ -470,6 +472,9 @@ const listBySubscriptionNextOperationSpec: msRest.OperationSpec = { urlParameters: [ Parameters.nextPageLink ], + queryParameters: [ + Parameters.apiVersion0 + ], headerParameters: [ Parameters.acceptLanguage ], diff --git a/sdk/compute/arm-compute/src/operations/dedicatedHosts.ts b/sdk/compute/arm-compute/src/operations/dedicatedHosts.ts index ae75b9bd3869..4ea103423d43 100644 --- a/sdk/compute/arm-compute/src/operations/dedicatedHosts.ts +++ b/sdk/compute/arm-compute/src/operations/dedicatedHosts.ts @@ -1,7 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is @@ -387,6 +386,9 @@ const listByHostGroupNextOperationSpec: msRest.OperationSpec = { urlParameters: [ Parameters.nextPageLink ], + queryParameters: [ + Parameters.apiVersion0 + ], headerParameters: [ Parameters.acceptLanguage ], diff --git a/sdk/compute/arm-compute/src/operations/diskAccesses.ts b/sdk/compute/arm-compute/src/operations/diskAccesses.ts index 840735b7139e..e19e6744a1f3 100644 --- a/sdk/compute/arm-compute/src/operations/diskAccesses.ts +++ b/sdk/compute/arm-compute/src/operations/diskAccesses.ts @@ -1,7 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is @@ -199,6 +198,119 @@ export class DiskAccesses { callback) as Promise; } + /** + * Approve or reject a private endpoint connection under disk access resource, this can't be used + * to create a new private endpoint connection. + * @param resourceGroupName The name of the resource group. + * @param diskAccessName The name of the disk access resource that is being created. The name can't + * be changed after the disk encryption set is created. Supported characters for the name are a-z, + * A-Z, 0-9 and _. The maximum name length is 80 characters. + * @param privateEndpointConnectionName The name of the private endpoint connection + * @param privateEndpointConnection private endpoint connection object supplied in the body of the + * Put private endpoint connection operation. + * @param [options] The optional parameters + * @returns Promise + */ + updateAPrivateEndpointConnection(resourceGroupName: string, diskAccessName: string, privateEndpointConnectionName: string, privateEndpointConnection: Models.PrivateEndpointConnection, options?: msRest.RequestOptionsBase): Promise { + return this.beginUpdateAPrivateEndpointConnection(resourceGroupName,diskAccessName,privateEndpointConnectionName,privateEndpointConnection,options) + .then(lroPoller => lroPoller.pollUntilFinished()) as Promise; + } + + /** + * Gets information about a private endpoint connection under a disk access resource. + * @param resourceGroupName The name of the resource group. + * @param diskAccessName The name of the disk access resource that is being created. The name can't + * be changed after the disk encryption set is created. Supported characters for the name are a-z, + * A-Z, 0-9 and _. The maximum name length is 80 characters. + * @param privateEndpointConnectionName The name of the private endpoint connection + * @param [options] The optional parameters + * @returns Promise + */ + getAPrivateEndpointConnection(resourceGroupName: string, diskAccessName: string, privateEndpointConnectionName: string, options?: msRest.RequestOptionsBase): Promise; + /** + * @param resourceGroupName The name of the resource group. + * @param diskAccessName The name of the disk access resource that is being created. The name can't + * be changed after the disk encryption set is created. Supported characters for the name are a-z, + * A-Z, 0-9 and _. The maximum name length is 80 characters. + * @param privateEndpointConnectionName The name of the private endpoint connection + * @param callback The callback + */ + getAPrivateEndpointConnection(resourceGroupName: string, diskAccessName: string, privateEndpointConnectionName: string, callback: msRest.ServiceCallback): void; + /** + * @param resourceGroupName The name of the resource group. + * @param diskAccessName The name of the disk access resource that is being created. The name can't + * be changed after the disk encryption set is created. Supported characters for the name are a-z, + * A-Z, 0-9 and _. The maximum name length is 80 characters. + * @param privateEndpointConnectionName The name of the private endpoint connection + * @param options The optional parameters + * @param callback The callback + */ + getAPrivateEndpointConnection(resourceGroupName: string, diskAccessName: string, privateEndpointConnectionName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + getAPrivateEndpointConnection(resourceGroupName: string, diskAccessName: string, privateEndpointConnectionName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + resourceGroupName, + diskAccessName, + privateEndpointConnectionName, + options + }, + getAPrivateEndpointConnectionOperationSpec, + callback) as Promise; + } + + /** + * Deletes a private endpoint connection under a disk access resource. + * @param resourceGroupName The name of the resource group. + * @param diskAccessName The name of the disk access resource that is being created. The name can't + * be changed after the disk encryption set is created. Supported characters for the name are a-z, + * A-Z, 0-9 and _. The maximum name length is 80 characters. + * @param privateEndpointConnectionName The name of the private endpoint connection + * @param [options] The optional parameters + * @returns Promise + */ + deleteAPrivateEndpointConnection(resourceGroupName: string, diskAccessName: string, privateEndpointConnectionName: string, options?: msRest.RequestOptionsBase): Promise { + return this.beginDeleteAPrivateEndpointConnection(resourceGroupName,diskAccessName,privateEndpointConnectionName,options) + .then(lroPoller => lroPoller.pollUntilFinished()); + } + + /** + * List information about private endpoint connections under a disk access resource + * @param resourceGroupName The name of the resource group. + * @param diskAccessName The name of the disk access resource that is being created. The name can't + * be changed after the disk encryption set is created. Supported characters for the name are a-z, + * A-Z, 0-9 and _. The maximum name length is 80 characters. + * @param [options] The optional parameters + * @returns Promise + */ + listPrivateEndpointConnections(resourceGroupName: string, diskAccessName: string, options?: msRest.RequestOptionsBase): Promise; + /** + * @param resourceGroupName The name of the resource group. + * @param diskAccessName The name of the disk access resource that is being created. The name can't + * be changed after the disk encryption set is created. Supported characters for the name are a-z, + * A-Z, 0-9 and _. The maximum name length is 80 characters. + * @param callback The callback + */ + listPrivateEndpointConnections(resourceGroupName: string, diskAccessName: string, callback: msRest.ServiceCallback): void; + /** + * @param resourceGroupName The name of the resource group. + * @param diskAccessName The name of the disk access resource that is being created. The name can't + * be changed after the disk encryption set is created. Supported characters for the name are a-z, + * A-Z, 0-9 and _. The maximum name length is 80 characters. + * @param options The optional parameters + * @param callback The callback + */ + listPrivateEndpointConnections(resourceGroupName: string, diskAccessName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + listPrivateEndpointConnections(resourceGroupName: string, diskAccessName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + resourceGroupName, + diskAccessName, + options + }, + listPrivateEndpointConnectionsOperationSpec, + callback) as Promise; + } + /** * Creates or updates a disk access resource * @param resourceGroupName The name of the resource group. @@ -263,6 +375,54 @@ export class DiskAccesses { options); } + /** + * Approve or reject a private endpoint connection under disk access resource, this can't be used + * to create a new private endpoint connection. + * @param resourceGroupName The name of the resource group. + * @param diskAccessName The name of the disk access resource that is being created. The name can't + * be changed after the disk encryption set is created. Supported characters for the name are a-z, + * A-Z, 0-9 and _. The maximum name length is 80 characters. + * @param privateEndpointConnectionName The name of the private endpoint connection + * @param privateEndpointConnection private endpoint connection object supplied in the body of the + * Put private endpoint connection operation. + * @param [options] The optional parameters + * @returns Promise + */ + beginUpdateAPrivateEndpointConnection(resourceGroupName: string, diskAccessName: string, privateEndpointConnectionName: string, privateEndpointConnection: Models.PrivateEndpointConnection, options?: msRest.RequestOptionsBase): Promise { + return this.client.sendLRORequest( + { + resourceGroupName, + diskAccessName, + privateEndpointConnectionName, + privateEndpointConnection, + options + }, + beginUpdateAPrivateEndpointConnectionOperationSpec, + options); + } + + /** + * Deletes a private endpoint connection under a disk access resource. + * @param resourceGroupName The name of the resource group. + * @param diskAccessName The name of the disk access resource that is being created. The name can't + * be changed after the disk encryption set is created. Supported characters for the name are a-z, + * A-Z, 0-9 and _. The maximum name length is 80 characters. + * @param privateEndpointConnectionName The name of the private endpoint connection + * @param [options] The optional parameters + * @returns Promise + */ + beginDeleteAPrivateEndpointConnection(resourceGroupName: string, diskAccessName: string, privateEndpointConnectionName: string, options?: msRest.RequestOptionsBase): Promise { + return this.client.sendLRORequest( + { + resourceGroupName, + diskAccessName, + privateEndpointConnectionName, + options + }, + beginDeleteAPrivateEndpointConnectionOperationSpec, + options); + } + /** * Lists all the disk access resources under a resource group. * @param nextPageLink The NextLink from the previous successful call to List operation. @@ -318,6 +478,34 @@ export class DiskAccesses { listNextOperationSpec, callback) as Promise; } + + /** + * List information about private endpoint connections under a disk access resource + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @param [options] The optional parameters + * @returns Promise + */ + listPrivateEndpointConnectionsNext(nextPageLink: string, options?: msRest.RequestOptionsBase): Promise; + /** + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @param callback The callback + */ + listPrivateEndpointConnectionsNext(nextPageLink: string, callback: msRest.ServiceCallback): void; + /** + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @param options The optional parameters + * @param callback The callback + */ + listPrivateEndpointConnectionsNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + listPrivateEndpointConnectionsNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + nextPageLink, + options + }, + listPrivateEndpointConnectionsNextOperationSpec, + callback) as Promise; + } } // Operation Specifications @@ -419,6 +607,57 @@ const getPrivateLinkResourcesOperationSpec: msRest.OperationSpec = { serializer }; +const getAPrivateEndpointConnectionOperationSpec: msRest.OperationSpec = { + httpMethod: "GET", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/diskAccesses/{diskAccessName}/privateEndpointConnections/{privateEndpointConnectionName}", + urlParameters: [ + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.diskAccessName, + Parameters.privateEndpointConnectionName + ], + queryParameters: [ + Parameters.apiVersion2 + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: { + bodyMapper: Mappers.PrivateEndpointConnection + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + +const listPrivateEndpointConnectionsOperationSpec: msRest.OperationSpec = { + httpMethod: "GET", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/diskAccesses/{diskAccessName}/privateEndpointConnections", + urlParameters: [ + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.diskAccessName + ], + queryParameters: [ + Parameters.apiVersion2 + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: { + bodyMapper: Mappers.PrivateEndpointConnectionListResult + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + const beginCreateOrUpdateOperationSpec: msRest.OperationSpec = { httpMethod: "PUT", path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/diskAccesses/{diskAccessName}", @@ -514,6 +753,68 @@ const beginDeleteMethodOperationSpec: msRest.OperationSpec = { serializer }; +const beginUpdateAPrivateEndpointConnectionOperationSpec: msRest.OperationSpec = { + httpMethod: "PUT", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/diskAccesses/{diskAccessName}/privateEndpointConnections/{privateEndpointConnectionName}", + urlParameters: [ + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.diskAccessName, + Parameters.privateEndpointConnectionName + ], + queryParameters: [ + Parameters.apiVersion2 + ], + headerParameters: [ + Parameters.acceptLanguage + ], + requestBody: { + parameterPath: "privateEndpointConnection", + mapper: { + ...Mappers.PrivateEndpointConnection, + required: true + } + }, + responses: { + 200: { + bodyMapper: Mappers.PrivateEndpointConnection + }, + 202: { + bodyMapper: Mappers.PrivateEndpointConnection + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + +const beginDeleteAPrivateEndpointConnectionOperationSpec: msRest.OperationSpec = { + httpMethod: "DELETE", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/diskAccesses/{diskAccessName}/privateEndpointConnections/{privateEndpointConnectionName}", + urlParameters: [ + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.diskAccessName, + Parameters.privateEndpointConnectionName + ], + queryParameters: [ + Parameters.apiVersion2 + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: {}, + 202: {}, + 204: {}, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + const listByResourceGroupNextOperationSpec: msRest.OperationSpec = { httpMethod: "GET", baseUrl: "https://management.azure.com", @@ -521,6 +822,9 @@ const listByResourceGroupNextOperationSpec: msRest.OperationSpec = { urlParameters: [ Parameters.nextPageLink ], + queryParameters: [ + Parameters.apiVersion2 + ], headerParameters: [ Parameters.acceptLanguage ], @@ -542,6 +846,9 @@ const listNextOperationSpec: msRest.OperationSpec = { urlParameters: [ Parameters.nextPageLink ], + queryParameters: [ + Parameters.apiVersion2 + ], headerParameters: [ Parameters.acceptLanguage ], @@ -555,3 +862,27 @@ const listNextOperationSpec: msRest.OperationSpec = { }, serializer }; + +const listPrivateEndpointConnectionsNextOperationSpec: msRest.OperationSpec = { + httpMethod: "GET", + baseUrl: "https://management.azure.com", + path: "{nextLink}", + urlParameters: [ + Parameters.nextPageLink + ], + queryParameters: [ + Parameters.apiVersion2 + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: { + bodyMapper: Mappers.PrivateEndpointConnectionListResult + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; diff --git a/sdk/compute/arm-compute/src/operations/diskEncryptionSets.ts b/sdk/compute/arm-compute/src/operations/diskEncryptionSets.ts index 428767a6a919..9573d7617337 100644 --- a/sdk/compute/arm-compute/src/operations/diskEncryptionSets.ts +++ b/sdk/compute/arm-compute/src/operations/diskEncryptionSets.ts @@ -1,7 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is @@ -553,6 +552,9 @@ const listByResourceGroupNextOperationSpec: msRest.OperationSpec = { urlParameters: [ Parameters.nextPageLink ], + queryParameters: [ + Parameters.apiVersion2 + ], headerParameters: [ Parameters.acceptLanguage ], @@ -574,6 +576,9 @@ const listNextOperationSpec: msRest.OperationSpec = { urlParameters: [ Parameters.nextPageLink ], + queryParameters: [ + Parameters.apiVersion2 + ], headerParameters: [ Parameters.acceptLanguage ], @@ -595,6 +600,9 @@ const listAssociatedResourcesNextOperationSpec: msRest.OperationSpec = { urlParameters: [ Parameters.nextPageLink ], + queryParameters: [ + Parameters.apiVersion2 + ], headerParameters: [ Parameters.acceptLanguage ], diff --git a/sdk/compute/arm-compute/src/operations/diskRestorePointOperations.ts b/sdk/compute/arm-compute/src/operations/diskRestorePointOperations.ts new file mode 100644 index 000000000000..08ba31dab54a --- /dev/null +++ b/sdk/compute/arm-compute/src/operations/diskRestorePointOperations.ts @@ -0,0 +1,237 @@ +/* + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. + * + * Code generated by Microsoft (R) AutoRest Code Generator. + * Changes may cause incorrect behavior and will be lost if the code is + * regenerated. + */ + +import * as msRest from "@azure/ms-rest-js"; +import * as Models from "../models"; +import * as Mappers from "../models/diskRestorePointOperationsMappers"; +import * as Parameters from "../models/parameters"; +import { ComputeManagementClientContext } from "../computeManagementClientContext"; + +/** Class representing a DiskRestorePointOperations. */ +export class DiskRestorePointOperations { + private readonly client: ComputeManagementClientContext; + + /** + * Create a DiskRestorePointOperations. + * @param {ComputeManagementClientContext} client Reference to the service client. + */ + constructor(client: ComputeManagementClientContext) { + this.client = client; + } + + /** + * Get disk restorePoint resource + * @param resourceGroupName The name of the resource group. + * @param restorePointCollectionName The name of the restore point collection that the disk restore + * point belongs. Supported characters for the name are a-z, A-Z, 0-9 and _. The maximum name + * length is 80 characters. + * @param vmRestorePointName The name of the vm restore point that the disk disk restore point + * belongs. Supported characters for the name are a-z, A-Z, 0-9 and _. The maximum name length is + * 80 characters. + * @param diskRestorePointName The name of the disk restore point created. Supported characters for + * the name are a-z, A-Z, 0-9 and _. The maximum name length is 80 characters. + * @param [options] The optional parameters + * @returns Promise + */ + get(resourceGroupName: string, restorePointCollectionName: string, vmRestorePointName: string, diskRestorePointName: string, options?: msRest.RequestOptionsBase): Promise; + /** + * @param resourceGroupName The name of the resource group. + * @param restorePointCollectionName The name of the restore point collection that the disk restore + * point belongs. Supported characters for the name are a-z, A-Z, 0-9 and _. The maximum name + * length is 80 characters. + * @param vmRestorePointName The name of the vm restore point that the disk disk restore point + * belongs. Supported characters for the name are a-z, A-Z, 0-9 and _. The maximum name length is + * 80 characters. + * @param diskRestorePointName The name of the disk restore point created. Supported characters for + * the name are a-z, A-Z, 0-9 and _. The maximum name length is 80 characters. + * @param callback The callback + */ + get(resourceGroupName: string, restorePointCollectionName: string, vmRestorePointName: string, diskRestorePointName: string, callback: msRest.ServiceCallback): void; + /** + * @param resourceGroupName The name of the resource group. + * @param restorePointCollectionName The name of the restore point collection that the disk restore + * point belongs. Supported characters for the name are a-z, A-Z, 0-9 and _. The maximum name + * length is 80 characters. + * @param vmRestorePointName The name of the vm restore point that the disk disk restore point + * belongs. Supported characters for the name are a-z, A-Z, 0-9 and _. The maximum name length is + * 80 characters. + * @param diskRestorePointName The name of the disk restore point created. Supported characters for + * the name are a-z, A-Z, 0-9 and _. The maximum name length is 80 characters. + * @param options The optional parameters + * @param callback The callback + */ + get(resourceGroupName: string, restorePointCollectionName: string, vmRestorePointName: string, diskRestorePointName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + get(resourceGroupName: string, restorePointCollectionName: string, vmRestorePointName: string, diskRestorePointName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + resourceGroupName, + restorePointCollectionName, + vmRestorePointName, + diskRestorePointName, + options + }, + getOperationSpec, + callback) as Promise; + } + + /** + * Lists diskRestorePoints under a vmRestorePoint. + * @param resourceGroupName The name of the resource group. + * @param restorePointCollectionName The name of the restore point collection that the disk restore + * point belongs. Supported characters for the name are a-z, A-Z, 0-9 and _. The maximum name + * length is 80 characters. + * @param vmRestorePointName The name of the vm restore point that the disk disk restore point + * belongs. Supported characters for the name are a-z, A-Z, 0-9 and _. The maximum name length is + * 80 characters. + * @param [options] The optional parameters + * @returns Promise + */ + listByRestorePoint(resourceGroupName: string, restorePointCollectionName: string, vmRestorePointName: string, options?: msRest.RequestOptionsBase): Promise; + /** + * @param resourceGroupName The name of the resource group. + * @param restorePointCollectionName The name of the restore point collection that the disk restore + * point belongs. Supported characters for the name are a-z, A-Z, 0-9 and _. The maximum name + * length is 80 characters. + * @param vmRestorePointName The name of the vm restore point that the disk disk restore point + * belongs. Supported characters for the name are a-z, A-Z, 0-9 and _. The maximum name length is + * 80 characters. + * @param callback The callback + */ + listByRestorePoint(resourceGroupName: string, restorePointCollectionName: string, vmRestorePointName: string, callback: msRest.ServiceCallback): void; + /** + * @param resourceGroupName The name of the resource group. + * @param restorePointCollectionName The name of the restore point collection that the disk restore + * point belongs. Supported characters for the name are a-z, A-Z, 0-9 and _. The maximum name + * length is 80 characters. + * @param vmRestorePointName The name of the vm restore point that the disk disk restore point + * belongs. Supported characters for the name are a-z, A-Z, 0-9 and _. The maximum name length is + * 80 characters. + * @param options The optional parameters + * @param callback The callback + */ + listByRestorePoint(resourceGroupName: string, restorePointCollectionName: string, vmRestorePointName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + listByRestorePoint(resourceGroupName: string, restorePointCollectionName: string, vmRestorePointName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + resourceGroupName, + restorePointCollectionName, + vmRestorePointName, + options + }, + listByRestorePointOperationSpec, + callback) as Promise; + } + + /** + * Lists diskRestorePoints under a vmRestorePoint. + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @param [options] The optional parameters + * @returns Promise + */ + listByRestorePointNext(nextPageLink: string, options?: msRest.RequestOptionsBase): Promise; + /** + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @param callback The callback + */ + listByRestorePointNext(nextPageLink: string, callback: msRest.ServiceCallback): void; + /** + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @param options The optional parameters + * @param callback The callback + */ + listByRestorePointNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + listByRestorePointNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + nextPageLink, + options + }, + listByRestorePointNextOperationSpec, + callback) as Promise; + } +} + +// Operation Specifications +const serializer = new msRest.Serializer(Mappers); +const getOperationSpec: msRest.OperationSpec = { + httpMethod: "GET", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/restorePointCollections/{restorePointCollectionName}/restorePoints/{vmRestorePointName}/diskRestorePoints/{diskRestorePointName}", + urlParameters: [ + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.restorePointCollectionName, + Parameters.vmRestorePointName, + Parameters.diskRestorePointName + ], + queryParameters: [ + Parameters.apiVersion2 + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: { + bodyMapper: Mappers.DiskRestorePoint + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + +const listByRestorePointOperationSpec: msRest.OperationSpec = { + httpMethod: "GET", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/restorePointCollections/{restorePointCollectionName}/restorePoints/{vmRestorePointName}/diskRestorePoints", + urlParameters: [ + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.restorePointCollectionName, + Parameters.vmRestorePointName + ], + queryParameters: [ + Parameters.apiVersion2 + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: { + bodyMapper: Mappers.DiskRestorePointList + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + +const listByRestorePointNextOperationSpec: msRest.OperationSpec = { + httpMethod: "GET", + baseUrl: "https://management.azure.com", + path: "{nextLink}", + urlParameters: [ + Parameters.nextPageLink + ], + queryParameters: [ + Parameters.apiVersion2 + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: { + bodyMapper: Mappers.DiskRestorePointList + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; diff --git a/sdk/compute/arm-compute/src/operations/disks.ts b/sdk/compute/arm-compute/src/operations/disks.ts index 97002da76ce8..ecc5543e49b3 100644 --- a/sdk/compute/arm-compute/src/operations/disks.ts +++ b/sdk/compute/arm-compute/src/operations/disks.ts @@ -1,7 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is @@ -586,6 +585,9 @@ const listByResourceGroupNextOperationSpec: msRest.OperationSpec = { urlParameters: [ Parameters.nextPageLink ], + queryParameters: [ + Parameters.apiVersion2 + ], headerParameters: [ Parameters.acceptLanguage ], @@ -607,6 +609,9 @@ const listNextOperationSpec: msRest.OperationSpec = { urlParameters: [ Parameters.nextPageLink ], + queryParameters: [ + Parameters.apiVersion2 + ], headerParameters: [ Parameters.acceptLanguage ], diff --git a/sdk/compute/arm-compute/src/operations/galleries.ts b/sdk/compute/arm-compute/src/operations/galleries.ts index f5b3dd565142..7bb6f9d49be8 100644 --- a/sdk/compute/arm-compute/src/operations/galleries.ts +++ b/sdk/compute/arm-compute/src/operations/galleries.ts @@ -1,7 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is @@ -444,6 +443,9 @@ const listByResourceGroupNextOperationSpec: msRest.OperationSpec = { urlParameters: [ Parameters.nextPageLink ], + queryParameters: [ + Parameters.apiVersion3 + ], headerParameters: [ Parameters.acceptLanguage ], @@ -465,6 +467,9 @@ const listNextOperationSpec: msRest.OperationSpec = { urlParameters: [ Parameters.nextPageLink ], + queryParameters: [ + Parameters.apiVersion3 + ], headerParameters: [ Parameters.acceptLanguage ], diff --git a/sdk/compute/arm-compute/src/operations/galleryApplicationVersions.ts b/sdk/compute/arm-compute/src/operations/galleryApplicationVersions.ts index 6f21204e3e9e..00cb290c934c 100644 --- a/sdk/compute/arm-compute/src/operations/galleryApplicationVersions.ts +++ b/sdk/compute/arm-compute/src/operations/galleryApplicationVersions.ts @@ -1,7 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is @@ -453,6 +452,9 @@ const listByGalleryApplicationNextOperationSpec: msRest.OperationSpec = { urlParameters: [ Parameters.nextPageLink ], + queryParameters: [ + Parameters.apiVersion3 + ], headerParameters: [ Parameters.acceptLanguage ], diff --git a/sdk/compute/arm-compute/src/operations/galleryApplications.ts b/sdk/compute/arm-compute/src/operations/galleryApplications.ts index 08d78de63174..c98937542377 100644 --- a/sdk/compute/arm-compute/src/operations/galleryApplications.ts +++ b/sdk/compute/arm-compute/src/operations/galleryApplications.ts @@ -1,7 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is @@ -409,6 +408,9 @@ const listByGalleryNextOperationSpec: msRest.OperationSpec = { urlParameters: [ Parameters.nextPageLink ], + queryParameters: [ + Parameters.apiVersion3 + ], headerParameters: [ Parameters.acceptLanguage ], diff --git a/sdk/compute/arm-compute/src/operations/galleryImageVersions.ts b/sdk/compute/arm-compute/src/operations/galleryImageVersions.ts index 0799bdde9106..7d6e01840af7 100644 --- a/sdk/compute/arm-compute/src/operations/galleryImageVersions.ts +++ b/sdk/compute/arm-compute/src/operations/galleryImageVersions.ts @@ -1,7 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is @@ -432,6 +431,9 @@ const listByGalleryImageNextOperationSpec: msRest.OperationSpec = { urlParameters: [ Parameters.nextPageLink ], + queryParameters: [ + Parameters.apiVersion3 + ], headerParameters: [ Parameters.acceptLanguage ], diff --git a/sdk/compute/arm-compute/src/operations/galleryImages.ts b/sdk/compute/arm-compute/src/operations/galleryImages.ts index bdc5ac10b2ce..a362179062ca 100644 --- a/sdk/compute/arm-compute/src/operations/galleryImages.ts +++ b/sdk/compute/arm-compute/src/operations/galleryImages.ts @@ -1,7 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is @@ -407,6 +406,9 @@ const listByGalleryNextOperationSpec: msRest.OperationSpec = { urlParameters: [ Parameters.nextPageLink ], + queryParameters: [ + Parameters.apiVersion3 + ], headerParameters: [ Parameters.acceptLanguage ], diff --git a/sdk/compute/arm-compute/src/operations/images.ts b/sdk/compute/arm-compute/src/operations/images.ts index 6187e85ab7f9..3cb8f8698344 100644 --- a/sdk/compute/arm-compute/src/operations/images.ts +++ b/sdk/compute/arm-compute/src/operations/images.ts @@ -1,7 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is @@ -443,6 +442,9 @@ const listByResourceGroupNextOperationSpec: msRest.OperationSpec = { urlParameters: [ Parameters.nextPageLink ], + queryParameters: [ + Parameters.apiVersion0 + ], headerParameters: [ Parameters.acceptLanguage ], @@ -464,6 +466,9 @@ const listNextOperationSpec: msRest.OperationSpec = { urlParameters: [ Parameters.nextPageLink ], + queryParameters: [ + Parameters.apiVersion0 + ], headerParameters: [ Parameters.acceptLanguage ], diff --git a/sdk/compute/arm-compute/src/operations/index.ts b/sdk/compute/arm-compute/src/operations/index.ts index be38385dadc1..10091beec86b 100644 --- a/sdk/compute/arm-compute/src/operations/index.ts +++ b/sdk/compute/arm-compute/src/operations/index.ts @@ -1,7 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is @@ -17,25 +16,32 @@ export * from "./sshPublicKeys"; export * from "./virtualMachineExtensionImages"; export * from "./virtualMachineExtensions"; export * from "./virtualMachineImages"; +export * from "./virtualMachineImagesEdgeZone"; export * from "./usageOperations"; export * from "./virtualMachines"; +export * from "./virtualMachineScaleSets"; export * from "./virtualMachineSizes"; export * from "./images"; -export * from "./virtualMachineScaleSets"; export * from "./virtualMachineScaleSetExtensions"; export * from "./virtualMachineScaleSetRollingUpgrades"; export * from "./virtualMachineScaleSetVMExtensions"; export * from "./virtualMachineScaleSetVMs"; export * from "./logAnalytics"; export * from "./virtualMachineRunCommands"; +export * from "./virtualMachineScaleSetVMRunCommands"; export * from "./resourceSkus"; export * from "./disks"; export * from "./snapshots"; export * from "./diskEncryptionSets"; export * from "./diskAccesses"; +export * from "./diskRestorePointOperations"; export * from "./galleries"; export * from "./galleryImages"; export * from "./galleryImageVersions"; export * from "./galleryApplications"; export * from "./galleryApplicationVersions"; -export * from "./containerServices"; +export * from "./cloudServiceRoleInstances"; +export * from "./cloudServiceRoles"; +export * from "./cloudServices"; +export * from "./cloudServicesUpdateDomain"; +export * from "./cloudServiceOperatingSystems"; diff --git a/sdk/compute/arm-compute/src/operations/logAnalytics.ts b/sdk/compute/arm-compute/src/operations/logAnalytics.ts index 3734f06d68aa..6eb293790941 100644 --- a/sdk/compute/arm-compute/src/operations/logAnalytics.ts +++ b/sdk/compute/arm-compute/src/operations/logAnalytics.ts @@ -1,7 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is diff --git a/sdk/compute/arm-compute/src/operations/operations.ts b/sdk/compute/arm-compute/src/operations/operations.ts index 641f050bdd14..dec5eb098fc5 100644 --- a/sdk/compute/arm-compute/src/operations/operations.ts +++ b/sdk/compute/arm-compute/src/operations/operations.ts @@ -1,7 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is diff --git a/sdk/compute/arm-compute/src/operations/proximityPlacementGroups.ts b/sdk/compute/arm-compute/src/operations/proximityPlacementGroups.ts index 31fc32c8293e..dde78adc61f1 100644 --- a/sdk/compute/arm-compute/src/operations/proximityPlacementGroups.ts +++ b/sdk/compute/arm-compute/src/operations/proximityPlacementGroups.ts @@ -1,7 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is @@ -443,6 +442,9 @@ const listBySubscriptionNextOperationSpec: msRest.OperationSpec = { urlParameters: [ Parameters.nextPageLink ], + queryParameters: [ + Parameters.apiVersion0 + ], headerParameters: [ Parameters.acceptLanguage ], @@ -464,6 +466,9 @@ const listByResourceGroupNextOperationSpec: msRest.OperationSpec = { urlParameters: [ Parameters.nextPageLink ], + queryParameters: [ + Parameters.apiVersion0 + ], headerParameters: [ Parameters.acceptLanguage ], diff --git a/sdk/compute/arm-compute/src/operations/resourceSkus.ts b/sdk/compute/arm-compute/src/operations/resourceSkus.ts index db92867631a2..7cf76612ac89 100644 --- a/sdk/compute/arm-compute/src/operations/resourceSkus.ts +++ b/sdk/compute/arm-compute/src/operations/resourceSkus.ts @@ -1,7 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is @@ -56,7 +55,7 @@ export class ResourceSkus { * @param [options] The optional parameters * @returns Promise */ - listNext(nextPageLink: string, options?: msRest.RequestOptionsBase): Promise; + listNext(nextPageLink: string, options?: Models.ResourceSkusListNextOptionalParams): Promise; /** * @param nextPageLink The NextLink from the previous successful call to List operation. * @param callback The callback @@ -67,8 +66,8 @@ export class ResourceSkus { * @param options The optional parameters * @param callback The callback */ - listNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + listNext(nextPageLink: string, options: Models.ResourceSkusListNextOptionalParams, callback: msRest.ServiceCallback): void; + listNext(nextPageLink: string, options?: Models.ResourceSkusListNextOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, @@ -112,6 +111,10 @@ const listNextOperationSpec: msRest.OperationSpec = { urlParameters: [ Parameters.nextPageLink ], + queryParameters: [ + Parameters.apiVersion1, + Parameters.filter + ], headerParameters: [ Parameters.acceptLanguage ], diff --git a/sdk/compute/arm-compute/src/operations/snapshots.ts b/sdk/compute/arm-compute/src/operations/snapshots.ts index 5a5e9c9090c2..748f68b8c09d 100644 --- a/sdk/compute/arm-compute/src/operations/snapshots.ts +++ b/sdk/compute/arm-compute/src/operations/snapshots.ts @@ -1,7 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is @@ -588,6 +587,9 @@ const listByResourceGroupNextOperationSpec: msRest.OperationSpec = { urlParameters: [ Parameters.nextPageLink ], + queryParameters: [ + Parameters.apiVersion2 + ], headerParameters: [ Parameters.acceptLanguage ], @@ -609,6 +611,9 @@ const listNextOperationSpec: msRest.OperationSpec = { urlParameters: [ Parameters.nextPageLink ], + queryParameters: [ + Parameters.apiVersion2 + ], headerParameters: [ Parameters.acceptLanguage ], diff --git a/sdk/compute/arm-compute/src/operations/sshPublicKeys.ts b/sdk/compute/arm-compute/src/operations/sshPublicKeys.ts index 5a109035ac24..e1abc960f854 100644 --- a/sdk/compute/arm-compute/src/operations/sshPublicKeys.ts +++ b/sdk/compute/arm-compute/src/operations/sshPublicKeys.ts @@ -1,7 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is @@ -506,6 +505,9 @@ const listBySubscriptionNextOperationSpec: msRest.OperationSpec = { urlParameters: [ Parameters.nextPageLink ], + queryParameters: [ + Parameters.apiVersion0 + ], headerParameters: [ Parameters.acceptLanguage ], @@ -527,6 +529,9 @@ const listByResourceGroupNextOperationSpec: msRest.OperationSpec = { urlParameters: [ Parameters.nextPageLink ], + queryParameters: [ + Parameters.apiVersion0 + ], headerParameters: [ Parameters.acceptLanguage ], diff --git a/sdk/compute/arm-compute/src/operations/usageOperations.ts b/sdk/compute/arm-compute/src/operations/usageOperations.ts index b6cae3039867..14f7a9d6406e 100644 --- a/sdk/compute/arm-compute/src/operations/usageOperations.ts +++ b/sdk/compute/arm-compute/src/operations/usageOperations.ts @@ -1,7 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is @@ -118,6 +117,9 @@ const listNextOperationSpec: msRest.OperationSpec = { urlParameters: [ Parameters.nextPageLink ], + queryParameters: [ + Parameters.apiVersion0 + ], headerParameters: [ Parameters.acceptLanguage ], diff --git a/sdk/compute/arm-compute/src/operations/virtualMachineExtensionImages.ts b/sdk/compute/arm-compute/src/operations/virtualMachineExtensionImages.ts index d429b13e72fe..b53521d45e15 100644 --- a/sdk/compute/arm-compute/src/operations/virtualMachineExtensionImages.ts +++ b/sdk/compute/arm-compute/src/operations/virtualMachineExtensionImages.ts @@ -1,7 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is diff --git a/sdk/compute/arm-compute/src/operations/virtualMachineExtensions.ts b/sdk/compute/arm-compute/src/operations/virtualMachineExtensions.ts index 289e3d3134e9..a1d8b68fa3d8 100644 --- a/sdk/compute/arm-compute/src/operations/virtualMachineExtensions.ts +++ b/sdk/compute/arm-compute/src/operations/virtualMachineExtensions.ts @@ -1,7 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is diff --git a/sdk/compute/arm-compute/src/operations/virtualMachineImages.ts b/sdk/compute/arm-compute/src/operations/virtualMachineImages.ts index 273097af54aa..111aa91f7d8a 100644 --- a/sdk/compute/arm-compute/src/operations/virtualMachineImages.ts +++ b/sdk/compute/arm-compute/src/operations/virtualMachineImages.ts @@ -1,7 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is diff --git a/sdk/compute/arm-compute/src/operations/virtualMachineImagesEdgeZone.ts b/sdk/compute/arm-compute/src/operations/virtualMachineImagesEdgeZone.ts new file mode 100644 index 000000000000..c1ea54bba4af --- /dev/null +++ b/sdk/compute/arm-compute/src/operations/virtualMachineImagesEdgeZone.ts @@ -0,0 +1,413 @@ +/* + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. + * + * Code generated by Microsoft (R) AutoRest Code Generator. + * Changes may cause incorrect behavior and will be lost if the code is + * regenerated. + */ + +import * as msRest from "@azure/ms-rest-js"; +import * as Models from "../models"; +import * as Mappers from "../models/virtualMachineImagesEdgeZoneMappers"; +import * as Parameters from "../models/parameters"; +import { ComputeManagementClientContext } from "../computeManagementClientContext"; + +/** Class representing a VirtualMachineImagesEdgeZone. */ +export class VirtualMachineImagesEdgeZone { + private readonly client: ComputeManagementClientContext; + + /** + * Create a VirtualMachineImagesEdgeZone. + * @param {ComputeManagementClientContext} client Reference to the service client. + */ + constructor(client: ComputeManagementClientContext) { + this.client = client; + } + + /** + * Gets a virtual machine image in an edge zone. + * @param location The name of a supported Azure region. + * @param edgeZone The name of the edge zone. + * @param publisherName A valid image publisher. + * @param offer A valid image publisher offer. + * @param skus A valid image SKU. + * @param version A valid image SKU version. + * @param [options] The optional parameters + * @returns Promise + */ + get(location: string, edgeZone: string, publisherName: string, offer: string, skus: string, version: string, options?: msRest.RequestOptionsBase): Promise; + /** + * @param location The name of a supported Azure region. + * @param edgeZone The name of the edge zone. + * @param publisherName A valid image publisher. + * @param offer A valid image publisher offer. + * @param skus A valid image SKU. + * @param version A valid image SKU version. + * @param callback The callback + */ + get(location: string, edgeZone: string, publisherName: string, offer: string, skus: string, version: string, callback: msRest.ServiceCallback): void; + /** + * @param location The name of a supported Azure region. + * @param edgeZone The name of the edge zone. + * @param publisherName A valid image publisher. + * @param offer A valid image publisher offer. + * @param skus A valid image SKU. + * @param version A valid image SKU version. + * @param options The optional parameters + * @param callback The callback + */ + get(location: string, edgeZone: string, publisherName: string, offer: string, skus: string, version: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + get(location: string, edgeZone: string, publisherName: string, offer: string, skus: string, version: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + location, + edgeZone, + publisherName, + offer, + skus, + version, + options + }, + getOperationSpec, + callback) as Promise; + } + + /** + * Gets a list of all virtual machine image versions for the specified location, edge zone, + * publisher, offer, and SKU. + * @param location The name of a supported Azure region. + * @param edgeZone The name of the edge zone. + * @param publisherName A valid image publisher. + * @param offer A valid image publisher offer. + * @param skus A valid image SKU. + * @param [options] The optional parameters + * @returns Promise + */ + list(location: string, edgeZone: string, publisherName: string, offer: string, skus: string, options?: Models.VirtualMachineImagesEdgeZoneListOptionalParams): Promise; + /** + * @param location The name of a supported Azure region. + * @param edgeZone The name of the edge zone. + * @param publisherName A valid image publisher. + * @param offer A valid image publisher offer. + * @param skus A valid image SKU. + * @param callback The callback + */ + list(location: string, edgeZone: string, publisherName: string, offer: string, skus: string, callback: msRest.ServiceCallback): void; + /** + * @param location The name of a supported Azure region. + * @param edgeZone The name of the edge zone. + * @param publisherName A valid image publisher. + * @param offer A valid image publisher offer. + * @param skus A valid image SKU. + * @param options The optional parameters + * @param callback The callback + */ + list(location: string, edgeZone: string, publisherName: string, offer: string, skus: string, options: Models.VirtualMachineImagesEdgeZoneListOptionalParams, callback: msRest.ServiceCallback): void; + list(location: string, edgeZone: string, publisherName: string, offer: string, skus: string, options?: Models.VirtualMachineImagesEdgeZoneListOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + location, + edgeZone, + publisherName, + offer, + skus, + options + }, + listOperationSpec, + callback) as Promise; + } + + /** + * Gets a list of virtual machine image offers for the specified location, edge zone and publisher. + * @param location The name of a supported Azure region. + * @param edgeZone The name of the edge zone. + * @param publisherName A valid image publisher. + * @param [options] The optional parameters + * @returns Promise + */ + listOffers(location: string, edgeZone: string, publisherName: string, options?: msRest.RequestOptionsBase): Promise; + /** + * @param location The name of a supported Azure region. + * @param edgeZone The name of the edge zone. + * @param publisherName A valid image publisher. + * @param callback The callback + */ + listOffers(location: string, edgeZone: string, publisherName: string, callback: msRest.ServiceCallback): void; + /** + * @param location The name of a supported Azure region. + * @param edgeZone The name of the edge zone. + * @param publisherName A valid image publisher. + * @param options The optional parameters + * @param callback The callback + */ + listOffers(location: string, edgeZone: string, publisherName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + listOffers(location: string, edgeZone: string, publisherName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + location, + edgeZone, + publisherName, + options + }, + listOffersOperationSpec, + callback) as Promise; + } + + /** + * Gets a list of virtual machine image publishers for the specified Azure location and edge zone. + * @param location The name of a supported Azure region. + * @param edgeZone The name of the edge zone. + * @param [options] The optional parameters + * @returns Promise + */ + listPublishers(location: string, edgeZone: string, options?: msRest.RequestOptionsBase): Promise; + /** + * @param location The name of a supported Azure region. + * @param edgeZone The name of the edge zone. + * @param callback The callback + */ + listPublishers(location: string, edgeZone: string, callback: msRest.ServiceCallback): void; + /** + * @param location The name of a supported Azure region. + * @param edgeZone The name of the edge zone. + * @param options The optional parameters + * @param callback The callback + */ + listPublishers(location: string, edgeZone: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + listPublishers(location: string, edgeZone: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + location, + edgeZone, + options + }, + listPublishersOperationSpec, + callback) as Promise; + } + + /** + * Gets a list of virtual machine image SKUs for the specified location, edge zone, publisher, and + * offer. + * @param location The name of a supported Azure region. + * @param edgeZone The name of the edge zone. + * @param publisherName A valid image publisher. + * @param offer A valid image publisher offer. + * @param [options] The optional parameters + * @returns Promise + */ + listSkus(location: string, edgeZone: string, publisherName: string, offer: string, options?: msRest.RequestOptionsBase): Promise; + /** + * @param location The name of a supported Azure region. + * @param edgeZone The name of the edge zone. + * @param publisherName A valid image publisher. + * @param offer A valid image publisher offer. + * @param callback The callback + */ + listSkus(location: string, edgeZone: string, publisherName: string, offer: string, callback: msRest.ServiceCallback): void; + /** + * @param location The name of a supported Azure region. + * @param edgeZone The name of the edge zone. + * @param publisherName A valid image publisher. + * @param offer A valid image publisher offer. + * @param options The optional parameters + * @param callback The callback + */ + listSkus(location: string, edgeZone: string, publisherName: string, offer: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + listSkus(location: string, edgeZone: string, publisherName: string, offer: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + location, + edgeZone, + publisherName, + offer, + options + }, + listSkusOperationSpec, + callback) as Promise; + } +} + +// Operation Specifications +const serializer = new msRest.Serializer(Mappers); +const getOperationSpec: msRest.OperationSpec = { + httpMethod: "GET", + path: "subscriptions/{subscriptionId}/providers/Microsoft.Compute/locations/{location}/edgeZones/{edgeZone}/publishers/{publisherName}/artifacttypes/vmimage/offers/{offer}/skus/{skus}/versions/{version}", + urlParameters: [ + Parameters.location0, + Parameters.edgeZone, + Parameters.publisherName, + Parameters.offer, + Parameters.skus, + Parameters.version, + Parameters.subscriptionId + ], + queryParameters: [ + Parameters.apiVersion0 + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: { + bodyMapper: Mappers.VirtualMachineImage + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + +const listOperationSpec: msRest.OperationSpec = { + httpMethod: "GET", + path: "subscriptions/{subscriptionId}/providers/Microsoft.Compute/locations/{location}/edgeZones/{edgeZone}/publishers/{publisherName}/artifacttypes/vmimage/offers/{offer}/skus/{skus}/versions", + urlParameters: [ + Parameters.location0, + Parameters.edgeZone, + Parameters.publisherName, + Parameters.offer, + Parameters.skus, + Parameters.subscriptionId + ], + queryParameters: [ + Parameters.expand0, + Parameters.top, + Parameters.orderby, + Parameters.apiVersion0 + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: { + bodyMapper: { + serializedName: "parsedResponse", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "VirtualMachineImageResource" + } + } + } + } + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + +const listOffersOperationSpec: msRest.OperationSpec = { + httpMethod: "GET", + path: "subscriptions/{subscriptionId}/providers/Microsoft.Compute/locations/{location}/edgeZones/{edgeZone}/publishers/{publisherName}/artifacttypes/vmimage/offers", + urlParameters: [ + Parameters.location0, + Parameters.edgeZone, + Parameters.publisherName, + Parameters.subscriptionId + ], + queryParameters: [ + Parameters.apiVersion0 + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: { + bodyMapper: { + serializedName: "parsedResponse", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "VirtualMachineImageResource" + } + } + } + } + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + +const listPublishersOperationSpec: msRest.OperationSpec = { + httpMethod: "GET", + path: "subscriptions/{subscriptionId}/providers/Microsoft.Compute/locations/{location}/edgeZones/{edgeZone}/publishers", + urlParameters: [ + Parameters.location0, + Parameters.edgeZone, + Parameters.subscriptionId + ], + queryParameters: [ + Parameters.apiVersion0 + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: { + bodyMapper: { + serializedName: "parsedResponse", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "VirtualMachineImageResource" + } + } + } + } + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + +const listSkusOperationSpec: msRest.OperationSpec = { + httpMethod: "GET", + path: "subscriptions/{subscriptionId}/providers/Microsoft.Compute/locations/{location}/edgeZones/{edgeZone}/publishers/{publisherName}/artifacttypes/vmimage/offers/{offer}/skus", + urlParameters: [ + Parameters.location0, + Parameters.edgeZone, + Parameters.publisherName, + Parameters.offer, + Parameters.subscriptionId + ], + queryParameters: [ + Parameters.apiVersion0 + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: { + bodyMapper: { + serializedName: "parsedResponse", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "VirtualMachineImageResource" + } + } + } + } + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; diff --git a/sdk/compute/arm-compute/src/operations/virtualMachineRunCommands.ts b/sdk/compute/arm-compute/src/operations/virtualMachineRunCommands.ts index 134182cee58b..db89b8bf21b2 100644 --- a/sdk/compute/arm-compute/src/operations/virtualMachineRunCommands.ts +++ b/sdk/compute/arm-compute/src/operations/virtualMachineRunCommands.ts @@ -1,7 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is @@ -9,6 +8,7 @@ */ import * as msRest from "@azure/ms-rest-js"; +import * as msRestAzure from "@azure/ms-rest-azure-js"; import * as Models from "../models"; import * as Mappers from "../models/virtualMachineRunCommandsMappers"; import * as Parameters from "../models/parameters"; @@ -86,6 +86,181 @@ export class VirtualMachineRunCommands { callback) as Promise; } + /** + * The operation to create or update the run command. + * @param resourceGroupName The name of the resource group. + * @param vmName The name of the virtual machine where the run command should be created or + * updated. + * @param runCommandName The name of the virtual machine run command. + * @param runCommand Parameters supplied to the Create Virtual Machine RunCommand operation. + * @param [options] The optional parameters + * @returns Promise + */ + createOrUpdate(resourceGroupName: string, vmName: string, runCommandName: string, runCommand: Models.VirtualMachineRunCommand, options?: msRest.RequestOptionsBase): Promise { + return this.beginCreateOrUpdate(resourceGroupName,vmName,runCommandName,runCommand,options) + .then(lroPoller => lroPoller.pollUntilFinished()) as Promise; + } + + /** + * The operation to update the run command. + * @param resourceGroupName The name of the resource group. + * @param vmName The name of the virtual machine where the run command should be updated. + * @param runCommandName The name of the virtual machine run command. + * @param runCommand Parameters supplied to the Update Virtual Machine RunCommand operation. + * @param [options] The optional parameters + * @returns Promise + */ + update(resourceGroupName: string, vmName: string, runCommandName: string, runCommand: Models.VirtualMachineRunCommandUpdate, options?: msRest.RequestOptionsBase): Promise { + return this.beginUpdate(resourceGroupName,vmName,runCommandName,runCommand,options) + .then(lroPoller => lroPoller.pollUntilFinished()) as Promise; + } + + /** + * The operation to delete the run command. + * @param resourceGroupName The name of the resource group. + * @param vmName The name of the virtual machine where the run command should be deleted. + * @param runCommandName The name of the virtual machine run command. + * @param [options] The optional parameters + * @returns Promise + */ + deleteMethod(resourceGroupName: string, vmName: string, runCommandName: string, options?: msRest.RequestOptionsBase): Promise { + return this.beginDeleteMethod(resourceGroupName,vmName,runCommandName,options) + .then(lroPoller => lroPoller.pollUntilFinished()); + } + + /** + * The operation to get the run command. + * @param resourceGroupName The name of the resource group. + * @param vmName The name of the virtual machine containing the run command. + * @param runCommandName The name of the virtual machine run command. + * @param [options] The optional parameters + * @returns Promise + */ + getByVirtualMachine(resourceGroupName: string, vmName: string, runCommandName: string, options?: Models.VirtualMachineRunCommandsGetByVirtualMachineOptionalParams): Promise; + /** + * @param resourceGroupName The name of the resource group. + * @param vmName The name of the virtual machine containing the run command. + * @param runCommandName The name of the virtual machine run command. + * @param callback The callback + */ + getByVirtualMachine(resourceGroupName: string, vmName: string, runCommandName: string, callback: msRest.ServiceCallback): void; + /** + * @param resourceGroupName The name of the resource group. + * @param vmName The name of the virtual machine containing the run command. + * @param runCommandName The name of the virtual machine run command. + * @param options The optional parameters + * @param callback The callback + */ + getByVirtualMachine(resourceGroupName: string, vmName: string, runCommandName: string, options: Models.VirtualMachineRunCommandsGetByVirtualMachineOptionalParams, callback: msRest.ServiceCallback): void; + getByVirtualMachine(resourceGroupName: string, vmName: string, runCommandName: string, options?: Models.VirtualMachineRunCommandsGetByVirtualMachineOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + resourceGroupName, + vmName, + runCommandName, + options + }, + getByVirtualMachineOperationSpec, + callback) as Promise; + } + + /** + * The operation to get all run commands of a Virtual Machine. + * @param resourceGroupName The name of the resource group. + * @param vmName The name of the virtual machine containing the run command. + * @param [options] The optional parameters + * @returns Promise + */ + listByVirtualMachine(resourceGroupName: string, vmName: string, options?: Models.VirtualMachineRunCommandsListByVirtualMachineOptionalParams): Promise; + /** + * @param resourceGroupName The name of the resource group. + * @param vmName The name of the virtual machine containing the run command. + * @param callback The callback + */ + listByVirtualMachine(resourceGroupName: string, vmName: string, callback: msRest.ServiceCallback): void; + /** + * @param resourceGroupName The name of the resource group. + * @param vmName The name of the virtual machine containing the run command. + * @param options The optional parameters + * @param callback The callback + */ + listByVirtualMachine(resourceGroupName: string, vmName: string, options: Models.VirtualMachineRunCommandsListByVirtualMachineOptionalParams, callback: msRest.ServiceCallback): void; + listByVirtualMachine(resourceGroupName: string, vmName: string, options?: Models.VirtualMachineRunCommandsListByVirtualMachineOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + resourceGroupName, + vmName, + options + }, + listByVirtualMachineOperationSpec, + callback) as Promise; + } + + /** + * The operation to create or update the run command. + * @param resourceGroupName The name of the resource group. + * @param vmName The name of the virtual machine where the run command should be created or + * updated. + * @param runCommandName The name of the virtual machine run command. + * @param runCommand Parameters supplied to the Create Virtual Machine RunCommand operation. + * @param [options] The optional parameters + * @returns Promise + */ + beginCreateOrUpdate(resourceGroupName: string, vmName: string, runCommandName: string, runCommand: Models.VirtualMachineRunCommand, options?: msRest.RequestOptionsBase): Promise { + return this.client.sendLRORequest( + { + resourceGroupName, + vmName, + runCommandName, + runCommand, + options + }, + beginCreateOrUpdateOperationSpec, + options); + } + + /** + * The operation to update the run command. + * @param resourceGroupName The name of the resource group. + * @param vmName The name of the virtual machine where the run command should be updated. + * @param runCommandName The name of the virtual machine run command. + * @param runCommand Parameters supplied to the Update Virtual Machine RunCommand operation. + * @param [options] The optional parameters + * @returns Promise + */ + beginUpdate(resourceGroupName: string, vmName: string, runCommandName: string, runCommand: Models.VirtualMachineRunCommandUpdate, options?: msRest.RequestOptionsBase): Promise { + return this.client.sendLRORequest( + { + resourceGroupName, + vmName, + runCommandName, + runCommand, + options + }, + beginUpdateOperationSpec, + options); + } + + /** + * The operation to delete the run command. + * @param resourceGroupName The name of the resource group. + * @param vmName The name of the virtual machine where the run command should be deleted. + * @param runCommandName The name of the virtual machine run command. + * @param [options] The optional parameters + * @returns Promise + */ + beginDeleteMethod(resourceGroupName: string, vmName: string, runCommandName: string, options?: msRest.RequestOptionsBase): Promise { + return this.client.sendLRORequest( + { + resourceGroupName, + vmName, + runCommandName, + options + }, + beginDeleteMethodOperationSpec, + options); + } + /** * Lists all available run commands for a subscription in a location. * @param nextPageLink The NextLink from the previous successful call to List operation. @@ -113,6 +288,34 @@ export class VirtualMachineRunCommands { listNextOperationSpec, callback) as Promise; } + + /** + * The operation to get all run commands of a Virtual Machine. + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @param [options] The optional parameters + * @returns Promise + */ + listByVirtualMachineNext(nextPageLink: string, options?: Models.VirtualMachineRunCommandsListByVirtualMachineNextOptionalParams): Promise; + /** + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @param callback The callback + */ + listByVirtualMachineNext(nextPageLink: string, callback: msRest.ServiceCallback): void; + /** + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @param options The optional parameters + * @param callback The callback + */ + listByVirtualMachineNext(nextPageLink: string, options: Models.VirtualMachineRunCommandsListByVirtualMachineNextOptionalParams, callback: msRest.ServiceCallback): void; + listByVirtualMachineNext(nextPageLink: string, options?: Models.VirtualMachineRunCommandsListByVirtualMachineNextOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + nextPageLink, + options + }, + listByVirtualMachineNextOperationSpec, + callback) as Promise; + } } // Operation Specifications @@ -166,6 +369,154 @@ const getOperationSpec: msRest.OperationSpec = { serializer }; +const getByVirtualMachineOperationSpec: msRest.OperationSpec = { + httpMethod: "GET", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachines/{vmName}/runCommands/{runCommandName}", + urlParameters: [ + Parameters.resourceGroupName, + Parameters.vmName, + Parameters.runCommandName, + Parameters.subscriptionId + ], + queryParameters: [ + Parameters.expand0, + Parameters.apiVersion0 + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: { + bodyMapper: Mappers.VirtualMachineRunCommand + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + +const listByVirtualMachineOperationSpec: msRest.OperationSpec = { + httpMethod: "GET", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachines/{vmName}/runCommands", + urlParameters: [ + Parameters.resourceGroupName, + Parameters.vmName, + Parameters.subscriptionId + ], + queryParameters: [ + Parameters.expand0, + Parameters.apiVersion0 + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: { + bodyMapper: Mappers.VirtualMachineRunCommandsListResult + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + +const beginCreateOrUpdateOperationSpec: msRest.OperationSpec = { + httpMethod: "PUT", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachines/{vmName}/runCommands/{runCommandName}", + urlParameters: [ + Parameters.resourceGroupName, + Parameters.vmName, + Parameters.runCommandName, + Parameters.subscriptionId + ], + queryParameters: [ + Parameters.apiVersion0 + ], + headerParameters: [ + Parameters.acceptLanguage + ], + requestBody: { + parameterPath: "runCommand", + mapper: { + ...Mappers.VirtualMachineRunCommand, + required: true + } + }, + responses: { + 200: { + bodyMapper: Mappers.VirtualMachineRunCommand + }, + 201: { + bodyMapper: Mappers.VirtualMachineRunCommand + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + +const beginUpdateOperationSpec: msRest.OperationSpec = { + httpMethod: "PATCH", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachines/{vmName}/runCommands/{runCommandName}", + urlParameters: [ + Parameters.resourceGroupName, + Parameters.vmName, + Parameters.runCommandName, + Parameters.subscriptionId + ], + queryParameters: [ + Parameters.apiVersion0 + ], + headerParameters: [ + Parameters.acceptLanguage + ], + requestBody: { + parameterPath: "runCommand", + mapper: { + ...Mappers.VirtualMachineRunCommandUpdate, + required: true + } + }, + responses: { + 200: { + bodyMapper: Mappers.VirtualMachineRunCommand + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + +const beginDeleteMethodOperationSpec: msRest.OperationSpec = { + httpMethod: "DELETE", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachines/{vmName}/runCommands/{runCommandName}", + urlParameters: [ + Parameters.resourceGroupName, + Parameters.vmName, + Parameters.runCommandName, + Parameters.subscriptionId + ], + queryParameters: [ + Parameters.apiVersion0 + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: {}, + 202: {}, + 204: {}, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + const listNextOperationSpec: msRest.OperationSpec = { httpMethod: "GET", baseUrl: "https://management.azure.com", @@ -173,6 +524,9 @@ const listNextOperationSpec: msRest.OperationSpec = { urlParameters: [ Parameters.nextPageLink ], + queryParameters: [ + Parameters.apiVersion0 + ], headerParameters: [ Parameters.acceptLanguage ], @@ -186,3 +540,28 @@ const listNextOperationSpec: msRest.OperationSpec = { }, serializer }; + +const listByVirtualMachineNextOperationSpec: msRest.OperationSpec = { + httpMethod: "GET", + baseUrl: "https://management.azure.com", + path: "{nextLink}", + urlParameters: [ + Parameters.nextPageLink + ], + queryParameters: [ + Parameters.expand0, + Parameters.apiVersion0 + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: { + bodyMapper: Mappers.VirtualMachineRunCommandsListResult + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; diff --git a/sdk/compute/arm-compute/src/operations/virtualMachineScaleSetExtensions.ts b/sdk/compute/arm-compute/src/operations/virtualMachineScaleSetExtensions.ts index 8b61f0ccfc09..77d868e009f9 100644 --- a/sdk/compute/arm-compute/src/operations/virtualMachineScaleSetExtensions.ts +++ b/sdk/compute/arm-compute/src/operations/virtualMachineScaleSetExtensions.ts @@ -1,7 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is @@ -390,6 +389,9 @@ const listNextOperationSpec: msRest.OperationSpec = { urlParameters: [ Parameters.nextPageLink ], + queryParameters: [ + Parameters.apiVersion0 + ], headerParameters: [ Parameters.acceptLanguage ], diff --git a/sdk/compute/arm-compute/src/operations/virtualMachineScaleSetRollingUpgrades.ts b/sdk/compute/arm-compute/src/operations/virtualMachineScaleSetRollingUpgrades.ts index 77d3e791f36c..e4113e992fac 100644 --- a/sdk/compute/arm-compute/src/operations/virtualMachineScaleSetRollingUpgrades.ts +++ b/sdk/compute/arm-compute/src/operations/virtualMachineScaleSetRollingUpgrades.ts @@ -1,7 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is diff --git a/sdk/compute/arm-compute/src/operations/virtualMachineScaleSetVMExtensions.ts b/sdk/compute/arm-compute/src/operations/virtualMachineScaleSetVMExtensions.ts index 50181fa1a83a..7c7e580be969 100644 --- a/sdk/compute/arm-compute/src/operations/virtualMachineScaleSetVMExtensions.ts +++ b/sdk/compute/arm-compute/src/operations/virtualMachineScaleSetVMExtensions.ts @@ -1,7 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is @@ -38,7 +37,7 @@ export class VirtualMachineScaleSetVMExtensions { * @param [options] The optional parameters * @returns Promise */ - createOrUpdate(resourceGroupName: string, vmScaleSetName: string, instanceId: string, vmExtensionName: string, extensionParameters: Models.VirtualMachineExtension, options?: msRest.RequestOptionsBase): Promise { + createOrUpdate(resourceGroupName: string, vmScaleSetName: string, instanceId: string, vmExtensionName: string, extensionParameters: Models.VirtualMachineScaleSetVMExtension, options?: msRest.RequestOptionsBase): Promise { return this.beginCreateOrUpdate(resourceGroupName,vmScaleSetName,instanceId,vmExtensionName,extensionParameters,options) .then(lroPoller => lroPoller.pollUntilFinished()) as Promise; } @@ -54,7 +53,7 @@ export class VirtualMachineScaleSetVMExtensions { * @param [options] The optional parameters * @returns Promise */ - update(resourceGroupName: string, vmScaleSetName: string, instanceId: string, vmExtensionName: string, extensionParameters: Models.VirtualMachineExtensionUpdate, options?: msRest.RequestOptionsBase): Promise { + update(resourceGroupName: string, vmScaleSetName: string, instanceId: string, vmExtensionName: string, extensionParameters: Models.VirtualMachineScaleSetVMExtensionUpdate, options?: msRest.RequestOptionsBase): Promise { return this.beginUpdate(resourceGroupName,vmScaleSetName,instanceId,vmExtensionName,extensionParameters,options) .then(lroPoller => lroPoller.pollUntilFinished()) as Promise; } @@ -90,7 +89,7 @@ export class VirtualMachineScaleSetVMExtensions { * @param vmExtensionName The name of the virtual machine extension. * @param callback The callback */ - get(resourceGroupName: string, vmScaleSetName: string, instanceId: string, vmExtensionName: string, callback: msRest.ServiceCallback): void; + get(resourceGroupName: string, vmScaleSetName: string, instanceId: string, vmExtensionName: string, callback: msRest.ServiceCallback): void; /** * @param resourceGroupName The name of the resource group. * @param vmScaleSetName The name of the VM scale set. @@ -99,8 +98,8 @@ export class VirtualMachineScaleSetVMExtensions { * @param options The optional parameters * @param callback The callback */ - get(resourceGroupName: string, vmScaleSetName: string, instanceId: string, vmExtensionName: string, options: Models.VirtualMachineScaleSetVMExtensionsGetOptionalParams, callback: msRest.ServiceCallback): void; - get(resourceGroupName: string, vmScaleSetName: string, instanceId: string, vmExtensionName: string, options?: Models.VirtualMachineScaleSetVMExtensionsGetOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + get(resourceGroupName: string, vmScaleSetName: string, instanceId: string, vmExtensionName: string, options: Models.VirtualMachineScaleSetVMExtensionsGetOptionalParams, callback: msRest.ServiceCallback): void; + get(resourceGroupName: string, vmScaleSetName: string, instanceId: string, vmExtensionName: string, options?: Models.VirtualMachineScaleSetVMExtensionsGetOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -128,7 +127,7 @@ export class VirtualMachineScaleSetVMExtensions { * @param instanceId The instance ID of the virtual machine. * @param callback The callback */ - list(resourceGroupName: string, vmScaleSetName: string, instanceId: string, callback: msRest.ServiceCallback): void; + list(resourceGroupName: string, vmScaleSetName: string, instanceId: string, callback: msRest.ServiceCallback): void; /** * @param resourceGroupName The name of the resource group. * @param vmScaleSetName The name of the VM scale set. @@ -136,8 +135,8 @@ export class VirtualMachineScaleSetVMExtensions { * @param options The optional parameters * @param callback The callback */ - list(resourceGroupName: string, vmScaleSetName: string, instanceId: string, options: Models.VirtualMachineScaleSetVMExtensionsListOptionalParams, callback: msRest.ServiceCallback): void; - list(resourceGroupName: string, vmScaleSetName: string, instanceId: string, options?: Models.VirtualMachineScaleSetVMExtensionsListOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + list(resourceGroupName: string, vmScaleSetName: string, instanceId: string, options: Models.VirtualMachineScaleSetVMExtensionsListOptionalParams, callback: msRest.ServiceCallback): void; + list(resourceGroupName: string, vmScaleSetName: string, instanceId: string, options?: Models.VirtualMachineScaleSetVMExtensionsListOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -160,7 +159,7 @@ export class VirtualMachineScaleSetVMExtensions { * @param [options] The optional parameters * @returns Promise */ - beginCreateOrUpdate(resourceGroupName: string, vmScaleSetName: string, instanceId: string, vmExtensionName: string, extensionParameters: Models.VirtualMachineExtension, options?: msRest.RequestOptionsBase): Promise { + beginCreateOrUpdate(resourceGroupName: string, vmScaleSetName: string, instanceId: string, vmExtensionName: string, extensionParameters: Models.VirtualMachineScaleSetVMExtension, options?: msRest.RequestOptionsBase): Promise { return this.client.sendLRORequest( { resourceGroupName, @@ -185,7 +184,7 @@ export class VirtualMachineScaleSetVMExtensions { * @param [options] The optional parameters * @returns Promise */ - beginUpdate(resourceGroupName: string, vmScaleSetName: string, instanceId: string, vmExtensionName: string, extensionParameters: Models.VirtualMachineExtensionUpdate, options?: msRest.RequestOptionsBase): Promise { + beginUpdate(resourceGroupName: string, vmScaleSetName: string, instanceId: string, vmExtensionName: string, extensionParameters: Models.VirtualMachineScaleSetVMExtensionUpdate, options?: msRest.RequestOptionsBase): Promise { return this.client.sendLRORequest( { resourceGroupName, @@ -243,7 +242,7 @@ const getOperationSpec: msRest.OperationSpec = { ], responses: { 200: { - bodyMapper: Mappers.VirtualMachineExtension + bodyMapper: Mappers.VirtualMachineScaleSetVMExtension }, default: { bodyMapper: Mappers.CloudError @@ -270,7 +269,7 @@ const listOperationSpec: msRest.OperationSpec = { ], responses: { 200: { - bodyMapper: Mappers.VirtualMachineExtensionsListResult + bodyMapper: Mappers.VirtualMachineScaleSetVMExtensionsListResult }, default: { bodyMapper: Mappers.CloudError @@ -298,16 +297,16 @@ const beginCreateOrUpdateOperationSpec: msRest.OperationSpec = { requestBody: { parameterPath: "extensionParameters", mapper: { - ...Mappers.VirtualMachineExtension, + ...Mappers.VirtualMachineScaleSetVMExtension, required: true } }, responses: { 200: { - bodyMapper: Mappers.VirtualMachineExtension + bodyMapper: Mappers.VirtualMachineScaleSetVMExtension }, 201: { - bodyMapper: Mappers.VirtualMachineExtension + bodyMapper: Mappers.VirtualMachineScaleSetVMExtension }, default: { bodyMapper: Mappers.CloudError @@ -335,13 +334,13 @@ const beginUpdateOperationSpec: msRest.OperationSpec = { requestBody: { parameterPath: "extensionParameters", mapper: { - ...Mappers.VirtualMachineExtensionUpdate, + ...Mappers.VirtualMachineScaleSetVMExtensionUpdate, required: true } }, responses: { 200: { - bodyMapper: Mappers.VirtualMachineExtension + bodyMapper: Mappers.VirtualMachineScaleSetVMExtension }, default: { bodyMapper: Mappers.CloudError diff --git a/sdk/compute/arm-compute/src/operations/virtualMachineScaleSetVMRunCommands.ts b/sdk/compute/arm-compute/src/operations/virtualMachineScaleSetVMRunCommands.ts new file mode 100644 index 000000000000..36e6c052757f --- /dev/null +++ b/sdk/compute/arm-compute/src/operations/virtualMachineScaleSetVMRunCommands.ts @@ -0,0 +1,426 @@ +/* + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. + * + * Code generated by Microsoft (R) AutoRest Code Generator. + * Changes may cause incorrect behavior and will be lost if the code is + * regenerated. + */ + +import * as msRest from "@azure/ms-rest-js"; +import * as msRestAzure from "@azure/ms-rest-azure-js"; +import * as Models from "../models"; +import * as Mappers from "../models/virtualMachineScaleSetVMRunCommandsMappers"; +import * as Parameters from "../models/parameters"; +import { ComputeManagementClientContext } from "../computeManagementClientContext"; + +/** Class representing a VirtualMachineScaleSetVMRunCommands. */ +export class VirtualMachineScaleSetVMRunCommands { + private readonly client: ComputeManagementClientContext; + + /** + * Create a VirtualMachineScaleSetVMRunCommands. + * @param {ComputeManagementClientContext} client Reference to the service client. + */ + constructor(client: ComputeManagementClientContext) { + this.client = client; + } + + /** + * The operation to create or update the VMSS VM run command. + * @param resourceGroupName The name of the resource group. + * @param vmScaleSetName The name of the VM scale set. + * @param instanceId The instance ID of the virtual machine. + * @param runCommandName The name of the virtual machine run command. + * @param runCommand Parameters supplied to the Create Virtual Machine RunCommand operation. + * @param [options] The optional parameters + * @returns Promise + */ + createOrUpdate(resourceGroupName: string, vmScaleSetName: string, instanceId: string, runCommandName: string, runCommand: Models.VirtualMachineRunCommand, options?: msRest.RequestOptionsBase): Promise { + return this.beginCreateOrUpdate(resourceGroupName,vmScaleSetName,instanceId,runCommandName,runCommand,options) + .then(lroPoller => lroPoller.pollUntilFinished()) as Promise; + } + + /** + * The operation to update the VMSS VM run command. + * @param resourceGroupName The name of the resource group. + * @param vmScaleSetName The name of the VM scale set. + * @param instanceId The instance ID of the virtual machine. + * @param runCommandName The name of the virtual machine run command. + * @param runCommand Parameters supplied to the Update Virtual Machine RunCommand operation. + * @param [options] The optional parameters + * @returns Promise + */ + update(resourceGroupName: string, vmScaleSetName: string, instanceId: string, runCommandName: string, runCommand: Models.VirtualMachineRunCommandUpdate, options?: msRest.RequestOptionsBase): Promise { + return this.beginUpdate(resourceGroupName,vmScaleSetName,instanceId,runCommandName,runCommand,options) + .then(lroPoller => lroPoller.pollUntilFinished()) as Promise; + } + + /** + * The operation to delete the VMSS VM run command. + * @param resourceGroupName The name of the resource group. + * @param vmScaleSetName The name of the VM scale set. + * @param instanceId The instance ID of the virtual machine. + * @param runCommandName The name of the virtual machine run command. + * @param [options] The optional parameters + * @returns Promise + */ + deleteMethod(resourceGroupName: string, vmScaleSetName: string, instanceId: string, runCommandName: string, options?: msRest.RequestOptionsBase): Promise { + return this.beginDeleteMethod(resourceGroupName,vmScaleSetName,instanceId,runCommandName,options) + .then(lroPoller => lroPoller.pollUntilFinished()); + } + + /** + * The operation to get the VMSS VM run command. + * @param resourceGroupName The name of the resource group. + * @param vmScaleSetName The name of the VM scale set. + * @param instanceId The instance ID of the virtual machine. + * @param runCommandName The name of the virtual machine run command. + * @param [options] The optional parameters + * @returns Promise + */ + get(resourceGroupName: string, vmScaleSetName: string, instanceId: string, runCommandName: string, options?: Models.VirtualMachineScaleSetVMRunCommandsGetOptionalParams): Promise; + /** + * @param resourceGroupName The name of the resource group. + * @param vmScaleSetName The name of the VM scale set. + * @param instanceId The instance ID of the virtual machine. + * @param runCommandName The name of the virtual machine run command. + * @param callback The callback + */ + get(resourceGroupName: string, vmScaleSetName: string, instanceId: string, runCommandName: string, callback: msRest.ServiceCallback): void; + /** + * @param resourceGroupName The name of the resource group. + * @param vmScaleSetName The name of the VM scale set. + * @param instanceId The instance ID of the virtual machine. + * @param runCommandName The name of the virtual machine run command. + * @param options The optional parameters + * @param callback The callback + */ + get(resourceGroupName: string, vmScaleSetName: string, instanceId: string, runCommandName: string, options: Models.VirtualMachineScaleSetVMRunCommandsGetOptionalParams, callback: msRest.ServiceCallback): void; + get(resourceGroupName: string, vmScaleSetName: string, instanceId: string, runCommandName: string, options?: Models.VirtualMachineScaleSetVMRunCommandsGetOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + resourceGroupName, + vmScaleSetName, + instanceId, + runCommandName, + options + }, + getOperationSpec, + callback) as Promise; + } + + /** + * The operation to get all run commands of an instance in Virtual Machine Scaleset. + * @param resourceGroupName The name of the resource group. + * @param vmScaleSetName The name of the VM scale set. + * @param instanceId The instance ID of the virtual machine. + * @param [options] The optional parameters + * @returns Promise + */ + list(resourceGroupName: string, vmScaleSetName: string, instanceId: string, options?: Models.VirtualMachineScaleSetVMRunCommandsListOptionalParams): Promise; + /** + * @param resourceGroupName The name of the resource group. + * @param vmScaleSetName The name of the VM scale set. + * @param instanceId The instance ID of the virtual machine. + * @param callback The callback + */ + list(resourceGroupName: string, vmScaleSetName: string, instanceId: string, callback: msRest.ServiceCallback): void; + /** + * @param resourceGroupName The name of the resource group. + * @param vmScaleSetName The name of the VM scale set. + * @param instanceId The instance ID of the virtual machine. + * @param options The optional parameters + * @param callback The callback + */ + list(resourceGroupName: string, vmScaleSetName: string, instanceId: string, options: Models.VirtualMachineScaleSetVMRunCommandsListOptionalParams, callback: msRest.ServiceCallback): void; + list(resourceGroupName: string, vmScaleSetName: string, instanceId: string, options?: Models.VirtualMachineScaleSetVMRunCommandsListOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + resourceGroupName, + vmScaleSetName, + instanceId, + options + }, + listOperationSpec, + callback) as Promise; + } + + /** + * The operation to create or update the VMSS VM run command. + * @param resourceGroupName The name of the resource group. + * @param vmScaleSetName The name of the VM scale set. + * @param instanceId The instance ID of the virtual machine. + * @param runCommandName The name of the virtual machine run command. + * @param runCommand Parameters supplied to the Create Virtual Machine RunCommand operation. + * @param [options] The optional parameters + * @returns Promise + */ + beginCreateOrUpdate(resourceGroupName: string, vmScaleSetName: string, instanceId: string, runCommandName: string, runCommand: Models.VirtualMachineRunCommand, options?: msRest.RequestOptionsBase): Promise { + return this.client.sendLRORequest( + { + resourceGroupName, + vmScaleSetName, + instanceId, + runCommandName, + runCommand, + options + }, + beginCreateOrUpdateOperationSpec, + options); + } + + /** + * The operation to update the VMSS VM run command. + * @param resourceGroupName The name of the resource group. + * @param vmScaleSetName The name of the VM scale set. + * @param instanceId The instance ID of the virtual machine. + * @param runCommandName The name of the virtual machine run command. + * @param runCommand Parameters supplied to the Update Virtual Machine RunCommand operation. + * @param [options] The optional parameters + * @returns Promise + */ + beginUpdate(resourceGroupName: string, vmScaleSetName: string, instanceId: string, runCommandName: string, runCommand: Models.VirtualMachineRunCommandUpdate, options?: msRest.RequestOptionsBase): Promise { + return this.client.sendLRORequest( + { + resourceGroupName, + vmScaleSetName, + instanceId, + runCommandName, + runCommand, + options + }, + beginUpdateOperationSpec, + options); + } + + /** + * The operation to delete the VMSS VM run command. + * @param resourceGroupName The name of the resource group. + * @param vmScaleSetName The name of the VM scale set. + * @param instanceId The instance ID of the virtual machine. + * @param runCommandName The name of the virtual machine run command. + * @param [options] The optional parameters + * @returns Promise + */ + beginDeleteMethod(resourceGroupName: string, vmScaleSetName: string, instanceId: string, runCommandName: string, options?: msRest.RequestOptionsBase): Promise { + return this.client.sendLRORequest( + { + resourceGroupName, + vmScaleSetName, + instanceId, + runCommandName, + options + }, + beginDeleteMethodOperationSpec, + options); + } + + /** + * The operation to get all run commands of an instance in Virtual Machine Scaleset. + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @param [options] The optional parameters + * @returns Promise + */ + listNext(nextPageLink: string, options?: Models.VirtualMachineScaleSetVMRunCommandsListNextOptionalParams): Promise; + /** + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @param callback The callback + */ + listNext(nextPageLink: string, callback: msRest.ServiceCallback): void; + /** + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @param options The optional parameters + * @param callback The callback + */ + listNext(nextPageLink: string, options: Models.VirtualMachineScaleSetVMRunCommandsListNextOptionalParams, callback: msRest.ServiceCallback): void; + listNext(nextPageLink: string, options?: Models.VirtualMachineScaleSetVMRunCommandsListNextOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + nextPageLink, + options + }, + listNextOperationSpec, + callback) as Promise; + } +} + +// Operation Specifications +const serializer = new msRest.Serializer(Mappers); +const getOperationSpec: msRest.OperationSpec = { + httpMethod: "GET", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}/virtualMachines/{instanceId}/runCommands/{runCommandName}", + urlParameters: [ + Parameters.resourceGroupName, + Parameters.vmScaleSetName, + Parameters.instanceId, + Parameters.runCommandName, + Parameters.subscriptionId + ], + queryParameters: [ + Parameters.expand0, + Parameters.apiVersion0 + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: { + bodyMapper: Mappers.VirtualMachineRunCommand + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + +const listOperationSpec: msRest.OperationSpec = { + httpMethod: "GET", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}/virtualMachines/{instanceId}/runCommands", + urlParameters: [ + Parameters.resourceGroupName, + Parameters.vmScaleSetName, + Parameters.instanceId, + Parameters.subscriptionId + ], + queryParameters: [ + Parameters.expand0, + Parameters.apiVersion0 + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: { + bodyMapper: Mappers.VirtualMachineRunCommandsListResult + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + +const beginCreateOrUpdateOperationSpec: msRest.OperationSpec = { + httpMethod: "PUT", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}/virtualMachines/{instanceId}/runCommands/{runCommandName}", + urlParameters: [ + Parameters.resourceGroupName, + Parameters.vmScaleSetName, + Parameters.instanceId, + Parameters.runCommandName, + Parameters.subscriptionId + ], + queryParameters: [ + Parameters.apiVersion0 + ], + headerParameters: [ + Parameters.acceptLanguage + ], + requestBody: { + parameterPath: "runCommand", + mapper: { + ...Mappers.VirtualMachineRunCommand, + required: true + } + }, + responses: { + 200: { + bodyMapper: Mappers.VirtualMachineRunCommand + }, + 201: { + bodyMapper: Mappers.VirtualMachineRunCommand + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + +const beginUpdateOperationSpec: msRest.OperationSpec = { + httpMethod: "PATCH", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}/virtualMachines/{instanceId}/runCommands/{runCommandName}", + urlParameters: [ + Parameters.resourceGroupName, + Parameters.vmScaleSetName, + Parameters.instanceId, + Parameters.runCommandName, + Parameters.subscriptionId + ], + queryParameters: [ + Parameters.apiVersion0 + ], + headerParameters: [ + Parameters.acceptLanguage + ], + requestBody: { + parameterPath: "runCommand", + mapper: { + ...Mappers.VirtualMachineRunCommandUpdate, + required: true + } + }, + responses: { + 200: { + bodyMapper: Mappers.VirtualMachineRunCommand + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + +const beginDeleteMethodOperationSpec: msRest.OperationSpec = { + httpMethod: "DELETE", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}/virtualMachines/{instanceId}/runCommands/{runCommandName}", + urlParameters: [ + Parameters.resourceGroupName, + Parameters.vmScaleSetName, + Parameters.instanceId, + Parameters.runCommandName, + Parameters.subscriptionId + ], + queryParameters: [ + Parameters.apiVersion0 + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: {}, + 202: {}, + 204: {}, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + +const listNextOperationSpec: msRest.OperationSpec = { + httpMethod: "GET", + baseUrl: "https://management.azure.com", + path: "{nextLink}", + urlParameters: [ + Parameters.nextPageLink + ], + queryParameters: [ + Parameters.expand0, + Parameters.apiVersion0 + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: { + bodyMapper: Mappers.VirtualMachineRunCommandsListResult + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; diff --git a/sdk/compute/arm-compute/src/operations/virtualMachineScaleSetVMs.ts b/sdk/compute/arm-compute/src/operations/virtualMachineScaleSetVMs.ts index 4bebe6e62fcb..9a6664c30959 100644 --- a/sdk/compute/arm-compute/src/operations/virtualMachineScaleSetVMs.ts +++ b/sdk/compute/arm-compute/src/operations/virtualMachineScaleSetVMs.ts @@ -1,7 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is @@ -92,7 +91,7 @@ export class VirtualMachineScaleSetVMs { * @param [options] The optional parameters * @returns Promise */ - deleteMethod(resourceGroupName: string, vmScaleSetName: string, instanceId: string, options?: msRest.RequestOptionsBase): Promise { + deleteMethod(resourceGroupName: string, vmScaleSetName: string, instanceId: string, options?: Models.VirtualMachineScaleSetVMsDeleteMethodOptionalParams): Promise { return this.beginDeleteMethod(resourceGroupName,vmScaleSetName,instanceId,options) .then(lroPoller => lroPoller.pollUntilFinished()); } @@ -450,7 +449,7 @@ export class VirtualMachineScaleSetVMs { * @param [options] The optional parameters * @returns Promise */ - beginDeleteMethod(resourceGroupName: string, vmScaleSetName: string, instanceId: string, options?: msRest.RequestOptionsBase): Promise { + beginDeleteMethod(resourceGroupName: string, vmScaleSetName: string, instanceId: string, options?: Models.VirtualMachineScaleSetVMsBeginDeleteMethodOptionalParams): Promise { return this.client.sendLRORequest( { resourceGroupName, @@ -593,7 +592,7 @@ export class VirtualMachineScaleSetVMs { * @param [options] The optional parameters * @returns Promise */ - listNext(nextPageLink: string, options?: msRest.RequestOptionsBase): Promise; + listNext(nextPageLink: string, options?: Models.VirtualMachineScaleSetVMsListNextOptionalParams): Promise; /** * @param nextPageLink The NextLink from the previous successful call to List operation. * @param callback The callback @@ -604,8 +603,8 @@ export class VirtualMachineScaleSetVMs { * @param options The optional parameters * @param callback The callback */ - listNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + listNext(nextPageLink: string, options: Models.VirtualMachineScaleSetVMsListNextOptionalParams, callback: msRest.ServiceCallback): void; + listNext(nextPageLink: string, options?: Models.VirtualMachineScaleSetVMsListNextOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, @@ -878,6 +877,7 @@ const beginDeleteMethodOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ + Parameters.forceDeletion, Parameters.apiVersion0 ], headerParameters: [ @@ -1061,6 +1061,12 @@ const listNextOperationSpec: msRest.OperationSpec = { urlParameters: [ Parameters.nextPageLink ], + queryParameters: [ + Parameters.filter, + Parameters.select, + Parameters.expand0, + Parameters.apiVersion0 + ], headerParameters: [ Parameters.acceptLanguage ], diff --git a/sdk/compute/arm-compute/src/operations/virtualMachineScaleSets.ts b/sdk/compute/arm-compute/src/operations/virtualMachineScaleSets.ts index ddb59ba58530..c1232d0d43fc 100644 --- a/sdk/compute/arm-compute/src/operations/virtualMachineScaleSets.ts +++ b/sdk/compute/arm-compute/src/operations/virtualMachineScaleSets.ts @@ -1,7 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is @@ -27,6 +26,34 @@ export class VirtualMachineScaleSets { this.client = client; } + /** + * Gets all the VM scale sets under the specified subscription for the specified location. + * @param location The location for which VM scale sets under the subscription are queried. + * @param [options] The optional parameters + * @returns Promise + */ + listByLocation(location: string, options?: msRest.RequestOptionsBase): Promise; + /** + * @param location The location for which VM scale sets under the subscription are queried. + * @param callback The callback + */ + listByLocation(location: string, callback: msRest.ServiceCallback): void; + /** + * @param location The location for which VM scale sets under the subscription are queried. + * @param options The optional parameters + * @param callback The callback + */ + listByLocation(location: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + listByLocation(location: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + location, + options + }, + listByLocationOperationSpec, + callback) as Promise; + } + /** * Create or update a VM scale set. * @param resourceGroupName The name of the resource group. @@ -60,7 +87,7 @@ export class VirtualMachineScaleSets { * @param [options] The optional parameters * @returns Promise */ - deleteMethod(resourceGroupName: string, vmScaleSetName: string, options?: msRest.RequestOptionsBase): Promise { + deleteMethod(resourceGroupName: string, vmScaleSetName: string, options?: Models.VirtualMachineScaleSetsDeleteMethodOptionalParams): Promise { return this.beginDeleteMethod(resourceGroupName,vmScaleSetName,options) .then(lroPoller => lroPoller.pollUntilFinished()); } @@ -119,7 +146,7 @@ export class VirtualMachineScaleSets { * @param [options] The optional parameters * @returns Promise */ - deleteInstances(resourceGroupName: string, vmScaleSetName: string, vmInstanceIDs: Models.VirtualMachineScaleSetVMInstanceRequiredIDs, options?: msRest.RequestOptionsBase): Promise { + deleteInstances(resourceGroupName: string, vmScaleSetName: string, vmInstanceIDs: Models.VirtualMachineScaleSetVMInstanceRequiredIDs, options?: Models.VirtualMachineScaleSetsDeleteInstancesOptionalParams): Promise { return this.beginDeleteInstances(resourceGroupName,vmScaleSetName,vmInstanceIDs,options) .then(lroPoller => lroPoller.pollUntilFinished()); } @@ -518,7 +545,7 @@ export class VirtualMachineScaleSets { * @param [options] The optional parameters * @returns Promise */ - beginDeleteMethod(resourceGroupName: string, vmScaleSetName: string, options?: msRest.RequestOptionsBase): Promise { + beginDeleteMethod(resourceGroupName: string, vmScaleSetName: string, options?: Models.VirtualMachineScaleSetsBeginDeleteMethodOptionalParams): Promise { return this.client.sendLRORequest( { resourceGroupName, @@ -557,7 +584,7 @@ export class VirtualMachineScaleSets { * @param [options] The optional parameters * @returns Promise */ - beginDeleteInstances(resourceGroupName: string, vmScaleSetName: string, vmInstanceIDs: Models.VirtualMachineScaleSetVMInstanceRequiredIDs, options?: msRest.RequestOptionsBase): Promise { + beginDeleteInstances(resourceGroupName: string, vmScaleSetName: string, vmInstanceIDs: Models.VirtualMachineScaleSetVMInstanceRequiredIDs, options?: Models.VirtualMachineScaleSetsBeginDeleteInstancesOptionalParams): Promise { return this.client.sendLRORequest( { resourceGroupName, @@ -744,6 +771,34 @@ export class VirtualMachineScaleSets { options); } + /** + * Gets all the VM scale sets under the specified subscription for the specified location. + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @param [options] The optional parameters + * @returns Promise + */ + listByLocationNext(nextPageLink: string, options?: msRest.RequestOptionsBase): Promise; + /** + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @param callback The callback + */ + listByLocationNext(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 + */ + listByLocationNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + listByLocationNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + nextPageLink, + options + }, + listByLocationNextOperationSpec, + callback) as Promise; + } + /** * Gets a list of all VM scale sets under a resource group. * @param nextPageLink The NextLink from the previous successful call to List operation. @@ -862,6 +917,30 @@ export class VirtualMachineScaleSets { // Operation Specifications const serializer = new msRest.Serializer(Mappers); +const listByLocationOperationSpec: msRest.OperationSpec = { + httpMethod: "GET", + path: "subscriptions/{subscriptionId}/providers/Microsoft.Compute/locations/{location}/virtualMachineScaleSets", + urlParameters: [ + Parameters.location1, + Parameters.subscriptionId + ], + queryParameters: [ + Parameters.apiVersion0 + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: { + bodyMapper: Mappers.VirtualMachineScaleSetListResult + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + const getOperationSpec: msRest.OperationSpec = { httpMethod: "GET", path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}", @@ -1141,6 +1220,7 @@ const beginDeleteMethodOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ + Parameters.forceDeletion, Parameters.apiVersion0 ], headerParameters: [ @@ -1197,6 +1277,7 @@ const beginDeleteInstancesOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ + Parameters.forceDeletion, Parameters.apiVersion0 ], headerParameters: [ @@ -1499,6 +1580,30 @@ const beginSetOrchestrationServiceStateOperationSpec: msRest.OperationSpec = { serializer }; +const listByLocationNextOperationSpec: msRest.OperationSpec = { + httpMethod: "GET", + baseUrl: "https://management.azure.com", + path: "{nextLink}", + urlParameters: [ + Parameters.nextPageLink + ], + queryParameters: [ + Parameters.apiVersion0 + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: { + bodyMapper: Mappers.VirtualMachineScaleSetListResult + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + const listNextOperationSpec: msRest.OperationSpec = { httpMethod: "GET", baseUrl: "https://management.azure.com", @@ -1506,6 +1611,9 @@ const listNextOperationSpec: msRest.OperationSpec = { urlParameters: [ Parameters.nextPageLink ], + queryParameters: [ + Parameters.apiVersion0 + ], headerParameters: [ Parameters.acceptLanguage ], @@ -1527,6 +1635,9 @@ const listAllNextOperationSpec: msRest.OperationSpec = { urlParameters: [ Parameters.nextPageLink ], + queryParameters: [ + Parameters.apiVersion0 + ], headerParameters: [ Parameters.acceptLanguage ], @@ -1548,6 +1659,9 @@ const listSkusNextOperationSpec: msRest.OperationSpec = { urlParameters: [ Parameters.nextPageLink ], + queryParameters: [ + Parameters.apiVersion0 + ], headerParameters: [ Parameters.acceptLanguage ], @@ -1569,6 +1683,9 @@ const getOSUpgradeHistoryNextOperationSpec: msRest.OperationSpec = { urlParameters: [ Parameters.nextPageLink ], + queryParameters: [ + Parameters.apiVersion0 + ], headerParameters: [ Parameters.acceptLanguage ], diff --git a/sdk/compute/arm-compute/src/operations/virtualMachineSizes.ts b/sdk/compute/arm-compute/src/operations/virtualMachineSizes.ts index a5554fd0825b..5f3bd17109b3 100644 --- a/sdk/compute/arm-compute/src/operations/virtualMachineSizes.ts +++ b/sdk/compute/arm-compute/src/operations/virtualMachineSizes.ts @@ -1,7 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is diff --git a/sdk/compute/arm-compute/src/operations/virtualMachines.ts b/sdk/compute/arm-compute/src/operations/virtualMachines.ts index ce51df188f82..0edafcf312f1 100644 --- a/sdk/compute/arm-compute/src/operations/virtualMachines.ts +++ b/sdk/compute/arm-compute/src/operations/virtualMachines.ts @@ -1,7 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is @@ -103,7 +102,7 @@ export class VirtualMachines { * @param [options] The optional parameters * @returns Promise */ - deleteMethod(resourceGroupName: string, vmName: string, options?: msRest.RequestOptionsBase): Promise { + deleteMethod(resourceGroupName: string, vmName: string, options?: Models.VirtualMachinesDeleteMethodOptionalParams): Promise { return this.beginDeleteMethod(resourceGroupName,vmName,options) .then(lroPoller => lroPoller.pollUntilFinished()); } @@ -482,6 +481,19 @@ export class VirtualMachines { .then(lroPoller => lroPoller.pollUntilFinished()) as Promise; } + /** + * Installs patches on the VM. + * @param resourceGroupName The name of the resource group. + * @param vmName The name of the virtual machine. + * @param installPatchesInput Input for InstallPatches as directly received by the API + * @param [options] The optional parameters + * @returns Promise + */ + installPatches(resourceGroupName: string, vmName: string, installPatchesInput: Models.VirtualMachineInstallPatchesParameters, options?: msRest.RequestOptionsBase): Promise { + return this.beginInstallPatches(resourceGroupName,vmName,installPatchesInput,options) + .then(lroPoller => lroPoller.pollUntilFinished()) as Promise; + } + /** * Run command on the VM. * @param resourceGroupName The name of the resource group. @@ -564,7 +576,7 @@ export class VirtualMachines { * @param [options] The optional parameters * @returns Promise */ - beginDeleteMethod(resourceGroupName: string, vmName: string, options?: msRest.RequestOptionsBase): Promise { + beginDeleteMethod(resourceGroupName: string, vmName: string, options?: Models.VirtualMachinesBeginDeleteMethodOptionalParams): Promise { return this.client.sendLRORequest( { resourceGroupName, @@ -758,6 +770,26 @@ export class VirtualMachines { options); } + /** + * Installs patches on the VM. + * @param resourceGroupName The name of the resource group. + * @param vmName The name of the virtual machine. + * @param installPatchesInput Input for InstallPatches as directly received by the API + * @param [options] The optional parameters + * @returns Promise + */ + beginInstallPatches(resourceGroupName: string, vmName: string, installPatchesInput: Models.VirtualMachineInstallPatchesParameters, options?: msRest.RequestOptionsBase): Promise { + return this.client.sendLRORequest( + { + resourceGroupName, + vmName, + installPatchesInput, + options + }, + beginInstallPatchesOperationSpec, + options); + } + /** * Run command on the VM. * @param resourceGroupName The name of the resource group. @@ -842,7 +874,7 @@ export class VirtualMachines { * @param [options] The optional parameters * @returns Promise */ - listAllNext(nextPageLink: string, options?: msRest.RequestOptionsBase): Promise; + listAllNext(nextPageLink: string, options?: Models.VirtualMachinesListAllNextOptionalParams): Promise; /** * @param nextPageLink The NextLink from the previous successful call to List operation. * @param callback The callback @@ -853,8 +885,8 @@ export class VirtualMachines { * @param options The optional parameters * @param callback The callback */ - listAllNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listAllNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + listAllNext(nextPageLink: string, options: Models.VirtualMachinesListAllNextOptionalParams, callback: msRest.ServiceCallback): void; + listAllNext(nextPageLink: string, options?: Models.VirtualMachinesListAllNextOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, @@ -1180,9 +1212,6 @@ const beginUpdateOperationSpec: msRest.OperationSpec = { 200: { bodyMapper: Mappers.VirtualMachine }, - 201: { - bodyMapper: Mappers.VirtualMachine - }, default: { bodyMapper: Mappers.CloudError } @@ -1199,6 +1228,7 @@ const beginDeleteMethodOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ + Parameters.forceDeletion, Parameters.apiVersion0 ], headerParameters: [ @@ -1465,6 +1495,39 @@ const beginAssessPatchesOperationSpec: msRest.OperationSpec = { serializer }; +const beginInstallPatchesOperationSpec: msRest.OperationSpec = { + httpMethod: "POST", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachines/{vmName}/installPatches", + urlParameters: [ + Parameters.resourceGroupName, + Parameters.vmName, + Parameters.subscriptionId + ], + queryParameters: [ + Parameters.apiVersion0 + ], + headerParameters: [ + Parameters.acceptLanguage + ], + requestBody: { + parameterPath: "installPatchesInput", + mapper: { + ...Mappers.VirtualMachineInstallPatchesParameters, + required: true + } + }, + responses: { + 200: { + bodyMapper: Mappers.VirtualMachineInstallPatchesResult + }, + 202: {}, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + const beginRunCommandOperationSpec: msRest.OperationSpec = { httpMethod: "POST", path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachines/{vmName}/runCommand", @@ -1505,6 +1568,9 @@ const listByLocationNextOperationSpec: msRest.OperationSpec = { urlParameters: [ Parameters.nextPageLink ], + queryParameters: [ + Parameters.apiVersion0 + ], headerParameters: [ Parameters.acceptLanguage ], @@ -1526,6 +1592,9 @@ const listNextOperationSpec: msRest.OperationSpec = { urlParameters: [ Parameters.nextPageLink ], + queryParameters: [ + Parameters.apiVersion0 + ], headerParameters: [ Parameters.acceptLanguage ], @@ -1547,6 +1616,10 @@ const listAllNextOperationSpec: msRest.OperationSpec = { urlParameters: [ Parameters.nextPageLink ], + queryParameters: [ + Parameters.apiVersion0, + Parameters.statusOnly + ], headerParameters: [ Parameters.acceptLanguage ],