diff --git a/sdk/compute/arm-compute/src/computeManagementClient.ts b/sdk/compute/arm-compute/src/computeManagementClient.ts
index 705a51ab894d..4617fee5e9c3 100644
--- a/sdk/compute/arm-compute/src/computeManagementClient.ts
+++ b/sdk/compute/arm-compute/src/computeManagementClient.ts
@@ -22,6 +22,7 @@ class ComputeManagementClient extends ComputeManagementClientContext {
proximityPlacementGroups: operations.ProximityPlacementGroups;
dedicatedHostGroups: operations.DedicatedHostGroups;
dedicatedHosts: operations.DedicatedHosts;
+ sshPublicKeys: operations.SshPublicKeys;
virtualMachineExtensionImages: operations.VirtualMachineExtensionImages;
virtualMachineExtensions: operations.VirtualMachineExtensions;
virtualMachineImages: operations.VirtualMachineImages;
@@ -40,6 +41,7 @@ class ComputeManagementClient extends ComputeManagementClientContext {
disks: operations.Disks;
snapshots: operations.Snapshots;
diskEncryptionSets: operations.DiskEncryptionSets;
+ diskAccesses: operations.DiskAccesses;
galleries: operations.Galleries;
galleryImages: operations.GalleryImages;
galleryImageVersions: operations.GalleryImageVersions;
@@ -61,6 +63,7 @@ class ComputeManagementClient extends ComputeManagementClientContext {
this.proximityPlacementGroups = new operations.ProximityPlacementGroups(this);
this.dedicatedHostGroups = new operations.DedicatedHostGroups(this);
this.dedicatedHosts = new operations.DedicatedHosts(this);
+ this.sshPublicKeys = new operations.SshPublicKeys(this);
this.virtualMachineExtensionImages = new operations.VirtualMachineExtensionImages(this);
this.virtualMachineExtensions = new operations.VirtualMachineExtensions(this);
this.virtualMachineImages = new operations.VirtualMachineImages(this);
@@ -79,6 +82,7 @@ class ComputeManagementClient extends ComputeManagementClientContext {
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.galleries = new operations.Galleries(this);
this.galleryImages = new operations.GalleryImages(this);
this.galleryImageVersions = new operations.GalleryImageVersions(this);
diff --git a/sdk/compute/arm-compute/src/models/availabilitySetsMappers.ts b/sdk/compute/arm-compute/src/models/availabilitySetsMappers.ts
index f7f9dccd7efe..81c92f5c003c 100644
--- a/sdk/compute/arm-compute/src/models/availabilitySetsMappers.ts
+++ b/sdk/compute/arm-compute/src/models/availabilitySetsMappers.ts
@@ -18,6 +18,7 @@ export {
AvailabilitySet,
AvailabilitySetListResult,
AvailabilitySetUpdate,
+ AvailablePatchSummary,
BaseResource,
BillingProfile,
BootDiagnostics,
@@ -43,13 +44,17 @@ export {
DedicatedHostAllocatableVM,
DedicatedHostAvailableCapacity,
DedicatedHostGroup,
+ DedicatedHostGroupInstanceView,
DedicatedHostGroupUpdate,
DedicatedHostInstanceView,
+ DedicatedHostInstanceViewWithName,
DedicatedHostUpdate,
DiagnosticsProfile,
DiffDiskSettings,
Disallowed,
+ DisallowedConfiguration,
Disk,
+ DiskAccess,
DiskEncryptionSet,
DiskEncryptionSetParameters,
DiskEncryptionSettings,
@@ -97,6 +102,7 @@ export {
KeyVaultAndSecretReference,
KeyVaultKeyReference,
KeyVaultSecretReference,
+ LastPatchInstallationSummary,
LinuxConfiguration,
MaintenanceRedeployStatus,
ManagedDiskParameters,
@@ -106,7 +112,11 @@ export {
OSDiskImage,
OSDiskImageEncryption,
OSProfile,
+ PatchSettings,
Plan,
+ PrivateEndpoint,
+ PrivateEndpointConnection,
+ PrivateLinkServiceConnectionState,
ProximityPlacementGroup,
ProximityPlacementGroupUpdate,
PurchasePlan,
@@ -121,6 +131,7 @@ export {
RollingUpgradeStatusInfo,
ScaleInPolicy,
ScheduledEventsProfile,
+ SecurityProfile,
ShareInfoElement,
Sku,
Snapshot,
@@ -128,6 +139,8 @@ export {
SourceVault,
SshConfiguration,
SshPublicKey,
+ SshPublicKeyResource,
+ SshPublicKeyUpdateResource,
StorageProfile,
SubResource,
SubResourceReadOnly,
@@ -155,6 +168,7 @@ export {
VirtualMachineImage,
VirtualMachineImageResource,
VirtualMachineInstanceView,
+ VirtualMachinePatchStatus,
VirtualMachineScaleSet,
VirtualMachineScaleSetDataDisk,
VirtualMachineScaleSetExtension,
diff --git a/sdk/compute/arm-compute/src/models/containerServicesMappers.ts b/sdk/compute/arm-compute/src/models/containerServicesMappers.ts
index ed2fc0e24abc..f51c43681cb0 100644
--- a/sdk/compute/arm-compute/src/models/containerServicesMappers.ts
+++ b/sdk/compute/arm-compute/src/models/containerServicesMappers.ts
@@ -16,7 +16,7 @@ export {
AutomaticOSUpgradeProperties,
AutomaticRepairsPolicy,
AvailabilitySet,
- AvailabilitySetUpdate,
+ AvailablePatchSummary,
BaseResource,
BillingProfile,
BootDiagnostics,
@@ -43,13 +43,15 @@ export {
DedicatedHostAllocatableVM,
DedicatedHostAvailableCapacity,
DedicatedHostGroup,
- DedicatedHostGroupUpdate,
+ DedicatedHostGroupInstanceView,
DedicatedHostInstanceView,
- DedicatedHostUpdate,
+ DedicatedHostInstanceViewWithName,
DiagnosticsProfile,
DiffDiskSettings,
Disallowed,
+ DisallowedConfiguration,
Disk,
+ DiskAccess,
DiskEncryptionSet,
DiskEncryptionSetParameters,
DiskEncryptionSettings,
@@ -90,13 +92,13 @@ export {
ImagePurchasePlan,
ImageReference,
ImageStorageProfile,
- ImageUpdate,
InnerError,
InstanceViewStatus,
KeyVaultAndKeyReference,
KeyVaultAndSecretReference,
KeyVaultKeyReference,
KeyVaultSecretReference,
+ LastPatchInstallationSummary,
LinuxConfiguration,
MaintenanceRedeployStatus,
ManagedDiskParameters,
@@ -106,9 +108,12 @@ export {
OSDiskImage,
OSDiskImageEncryption,
OSProfile,
+ PatchSettings,
Plan,
+ PrivateEndpoint,
+ PrivateEndpointConnection,
+ PrivateLinkServiceConnectionState,
ProximityPlacementGroup,
- ProximityPlacementGroupUpdate,
PurchasePlan,
RecommendedMachineConfiguration,
RegionalReplicationStatus,
@@ -121,6 +126,7 @@ export {
RollingUpgradeStatusInfo,
ScaleInPolicy,
ScheduledEventsProfile,
+ SecurityProfile,
ShareInfoElement,
Sku,
Snapshot,
@@ -128,13 +134,13 @@ export {
SourceVault,
SshConfiguration,
SshPublicKey,
+ SshPublicKeyResource,
StorageProfile,
SubResource,
SubResourceReadOnly,
SubResourceWithColocationStatus,
TargetRegion,
TerminateNotificationProfile,
- UpdateResource,
UpdateResourceDefinition,
UpgradePolicy,
UserArtifactSource,
@@ -148,13 +154,13 @@ export {
VirtualMachineExtensionHandlerInstanceView,
VirtualMachineExtensionImage,
VirtualMachineExtensionInstanceView,
- VirtualMachineExtensionUpdate,
VirtualMachineHealthStatus,
VirtualMachineIdentity,
VirtualMachineIdentityUserAssignedIdentitiesValue,
VirtualMachineImage,
VirtualMachineImageResource,
VirtualMachineInstanceView,
+ VirtualMachinePatchStatus,
VirtualMachineScaleSet,
VirtualMachineScaleSetDataDisk,
VirtualMachineScaleSetExtension,
@@ -173,21 +179,14 @@ export {
VirtualMachineScaleSetPublicIPAddressConfiguration,
VirtualMachineScaleSetPublicIPAddressConfigurationDnsSettings,
VirtualMachineScaleSetStorageProfile,
- VirtualMachineScaleSetUpdate,
VirtualMachineScaleSetUpdateIPConfiguration,
VirtualMachineScaleSetUpdateNetworkConfiguration,
- VirtualMachineScaleSetUpdateNetworkProfile,
- VirtualMachineScaleSetUpdateOSDisk,
- VirtualMachineScaleSetUpdateOSProfile,
VirtualMachineScaleSetUpdatePublicIPAddressConfiguration,
- VirtualMachineScaleSetUpdateStorageProfile,
- VirtualMachineScaleSetUpdateVMProfile,
VirtualMachineScaleSetVM,
VirtualMachineScaleSetVMInstanceView,
VirtualMachineScaleSetVMNetworkProfileConfiguration,
VirtualMachineScaleSetVMProfile,
VirtualMachineScaleSetVMProtectionPolicy,
- VirtualMachineUpdate,
WindowsConfiguration,
WinRMConfiguration,
WinRMListener
diff --git a/sdk/compute/arm-compute/src/models/dedicatedHostGroupsMappers.ts b/sdk/compute/arm-compute/src/models/dedicatedHostGroupsMappers.ts
index f3bb37fb5261..d6492a5ccb31 100644
--- a/sdk/compute/arm-compute/src/models/dedicatedHostGroupsMappers.ts
+++ b/sdk/compute/arm-compute/src/models/dedicatedHostGroupsMappers.ts
@@ -17,6 +17,7 @@ export {
AutomaticRepairsPolicy,
AvailabilitySet,
AvailabilitySetUpdate,
+ AvailablePatchSummary,
BaseResource,
BillingProfile,
BootDiagnostics,
@@ -42,14 +43,18 @@ export {
DedicatedHostAllocatableVM,
DedicatedHostAvailableCapacity,
DedicatedHostGroup,
+ DedicatedHostGroupInstanceView,
DedicatedHostGroupListResult,
DedicatedHostGroupUpdate,
DedicatedHostInstanceView,
+ DedicatedHostInstanceViewWithName,
DedicatedHostUpdate,
DiagnosticsProfile,
DiffDiskSettings,
Disallowed,
+ DisallowedConfiguration,
Disk,
+ DiskAccess,
DiskEncryptionSet,
DiskEncryptionSetParameters,
DiskEncryptionSettings,
@@ -97,6 +102,7 @@ export {
KeyVaultAndSecretReference,
KeyVaultKeyReference,
KeyVaultSecretReference,
+ LastPatchInstallationSummary,
LinuxConfiguration,
MaintenanceRedeployStatus,
ManagedDiskParameters,
@@ -106,7 +112,11 @@ export {
OSDiskImage,
OSDiskImageEncryption,
OSProfile,
+ PatchSettings,
Plan,
+ PrivateEndpoint,
+ PrivateEndpointConnection,
+ PrivateLinkServiceConnectionState,
ProximityPlacementGroup,
ProximityPlacementGroupUpdate,
PurchasePlan,
@@ -121,6 +131,7 @@ export {
RollingUpgradeStatusInfo,
ScaleInPolicy,
ScheduledEventsProfile,
+ SecurityProfile,
ShareInfoElement,
Sku,
Snapshot,
@@ -128,6 +139,8 @@ export {
SourceVault,
SshConfiguration,
SshPublicKey,
+ SshPublicKeyResource,
+ SshPublicKeyUpdateResource,
StorageProfile,
SubResource,
SubResourceReadOnly,
@@ -155,6 +168,7 @@ export {
VirtualMachineImage,
VirtualMachineImageResource,
VirtualMachineInstanceView,
+ VirtualMachinePatchStatus,
VirtualMachineScaleSet,
VirtualMachineScaleSetDataDisk,
VirtualMachineScaleSetExtension,
diff --git a/sdk/compute/arm-compute/src/models/dedicatedHostsMappers.ts b/sdk/compute/arm-compute/src/models/dedicatedHostsMappers.ts
index 302971aef816..e13ef3198917 100644
--- a/sdk/compute/arm-compute/src/models/dedicatedHostsMappers.ts
+++ b/sdk/compute/arm-compute/src/models/dedicatedHostsMappers.ts
@@ -17,6 +17,7 @@ export {
AutomaticRepairsPolicy,
AvailabilitySet,
AvailabilitySetUpdate,
+ AvailablePatchSummary,
BaseResource,
BillingProfile,
BootDiagnostics,
@@ -42,14 +43,18 @@ export {
DedicatedHostAllocatableVM,
DedicatedHostAvailableCapacity,
DedicatedHostGroup,
+ DedicatedHostGroupInstanceView,
DedicatedHostGroupUpdate,
DedicatedHostInstanceView,
+ DedicatedHostInstanceViewWithName,
DedicatedHostListResult,
DedicatedHostUpdate,
DiagnosticsProfile,
DiffDiskSettings,
Disallowed,
+ DisallowedConfiguration,
Disk,
+ DiskAccess,
DiskEncryptionSet,
DiskEncryptionSetParameters,
DiskEncryptionSettings,
@@ -97,6 +102,7 @@ export {
KeyVaultAndSecretReference,
KeyVaultKeyReference,
KeyVaultSecretReference,
+ LastPatchInstallationSummary,
LinuxConfiguration,
MaintenanceRedeployStatus,
ManagedDiskParameters,
@@ -106,7 +112,11 @@ export {
OSDiskImage,
OSDiskImageEncryption,
OSProfile,
+ PatchSettings,
Plan,
+ PrivateEndpoint,
+ PrivateEndpointConnection,
+ PrivateLinkServiceConnectionState,
ProximityPlacementGroup,
ProximityPlacementGroupUpdate,
PurchasePlan,
@@ -121,6 +131,7 @@ export {
RollingUpgradeStatusInfo,
ScaleInPolicy,
ScheduledEventsProfile,
+ SecurityProfile,
ShareInfoElement,
Sku,
Snapshot,
@@ -128,6 +139,8 @@ export {
SourceVault,
SshConfiguration,
SshPublicKey,
+ SshPublicKeyResource,
+ SshPublicKeyUpdateResource,
StorageProfile,
SubResource,
SubResourceReadOnly,
@@ -155,6 +168,7 @@ export {
VirtualMachineImage,
VirtualMachineImageResource,
VirtualMachineInstanceView,
+ VirtualMachinePatchStatus,
VirtualMachineScaleSet,
VirtualMachineScaleSetDataDisk,
VirtualMachineScaleSetExtension,
diff --git a/sdk/compute/arm-compute/src/models/diskAccessesMappers.ts b/sdk/compute/arm-compute/src/models/diskAccessesMappers.ts
new file mode 100644
index 000000000000..04693ac9ce02
--- /dev/null
+++ b/sdk/compute/arm-compute/src/models/diskAccessesMappers.ts
@@ -0,0 +1,196 @@
+/*
+ * Copyright (c) Microsoft Corporation. All rights reserved.
+ * Licensed under the MIT License. See License.txt in the project root for license information.
+ *
+ * Code generated by Microsoft (R) AutoRest Code Generator.
+ * Changes may cause incorrect behavior and will be lost if the code is regenerated.
+ */
+
+export {
+ AdditionalCapabilities,
+ AdditionalUnattendContent,
+ ApiEntityReference,
+ ApiError,
+ ApiErrorBase,
+ AutomaticOSUpgradePolicy,
+ AutomaticOSUpgradeProperties,
+ AutomaticRepairsPolicy,
+ AvailabilitySet,
+ AvailablePatchSummary,
+ BaseResource,
+ BillingProfile,
+ BootDiagnostics,
+ BootDiagnosticsInstanceView,
+ CloudError,
+ ContainerService,
+ ContainerServiceAgentPoolProfile,
+ ContainerServiceCustomProfile,
+ ContainerServiceDiagnosticsProfile,
+ ContainerServiceLinuxProfile,
+ ContainerServiceMasterProfile,
+ ContainerServiceOrchestratorProfile,
+ ContainerServiceServicePrincipalProfile,
+ ContainerServiceSshConfiguration,
+ ContainerServiceSshPublicKey,
+ ContainerServiceVMDiagnostics,
+ ContainerServiceWindowsProfile,
+ CreationData,
+ DataDisk,
+ DataDiskImage,
+ DataDiskImageEncryption,
+ DedicatedHost,
+ DedicatedHostAllocatableVM,
+ DedicatedHostAvailableCapacity,
+ DedicatedHostGroup,
+ DedicatedHostGroupInstanceView,
+ DedicatedHostInstanceView,
+ DedicatedHostInstanceViewWithName,
+ DiagnosticsProfile,
+ DiffDiskSettings,
+ Disallowed,
+ DisallowedConfiguration,
+ Disk,
+ DiskAccess,
+ DiskAccessList,
+ DiskAccessUpdate,
+ DiskEncryptionSet,
+ DiskEncryptionSetParameters,
+ DiskEncryptionSettings,
+ DiskImageEncryption,
+ DiskInstanceView,
+ DiskSku,
+ Encryption,
+ EncryptionImages,
+ EncryptionSetIdentity,
+ EncryptionSettingsCollection,
+ EncryptionSettingsElement,
+ 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,
+ KeyVaultAndKeyReference,
+ KeyVaultAndSecretReference,
+ KeyVaultKeyReference,
+ KeyVaultSecretReference,
+ LastPatchInstallationSummary,
+ LinuxConfiguration,
+ MaintenanceRedeployStatus,
+ ManagedDiskParameters,
+ NetworkInterfaceReference,
+ NetworkProfile,
+ OSDisk,
+ OSDiskImage,
+ OSDiskImageEncryption,
+ OSProfile,
+ PatchSettings,
+ Plan,
+ PrivateEndpoint,
+ PrivateEndpointConnection,
+ PrivateLinkResource,
+ PrivateLinkResourceListResult,
+ PrivateLinkServiceConnectionState,
+ ProximityPlacementGroup,
+ PurchasePlan,
+ RecommendedMachineConfiguration,
+ RegionalReplicationStatus,
+ ReplicationStatus,
+ Resource,
+ ResourceRange,
+ RollingUpgradePolicy,
+ RollingUpgradeProgressInfo,
+ RollingUpgradeRunningStatus,
+ RollingUpgradeStatusInfo,
+ ScaleInPolicy,
+ ScheduledEventsProfile,
+ SecurityProfile,
+ ShareInfoElement,
+ Sku,
+ Snapshot,
+ SnapshotSku,
+ SourceVault,
+ SshConfiguration,
+ SshPublicKey,
+ SshPublicKeyResource,
+ StorageProfile,
+ SubResource,
+ SubResourceReadOnly,
+ SubResourceWithColocationStatus,
+ TargetRegion,
+ TerminateNotificationProfile,
+ UpdateResourceDefinition,
+ UpgradePolicy,
+ UserArtifactSource,
+ VaultCertificate,
+ VaultSecretGroup,
+ VirtualHardDisk,
+ VirtualMachine,
+ VirtualMachineAgentInstanceView,
+ VirtualMachineCaptureResult,
+ VirtualMachineExtension,
+ VirtualMachineExtensionHandlerInstanceView,
+ VirtualMachineExtensionImage,
+ VirtualMachineExtensionInstanceView,
+ VirtualMachineHealthStatus,
+ VirtualMachineIdentity,
+ VirtualMachineIdentityUserAssignedIdentitiesValue,
+ VirtualMachineImage,
+ VirtualMachineImageResource,
+ VirtualMachineInstanceView,
+ VirtualMachinePatchStatus,
+ VirtualMachineScaleSet,
+ VirtualMachineScaleSetDataDisk,
+ VirtualMachineScaleSetExtension,
+ VirtualMachineScaleSetExtensionProfile,
+ VirtualMachineScaleSetExtensionUpdate,
+ VirtualMachineScaleSetIdentity,
+ VirtualMachineScaleSetIdentityUserAssignedIdentitiesValue,
+ VirtualMachineScaleSetIPConfiguration,
+ VirtualMachineScaleSetIpTag,
+ VirtualMachineScaleSetManagedDiskParameters,
+ VirtualMachineScaleSetNetworkConfiguration,
+ VirtualMachineScaleSetNetworkConfigurationDnsSettings,
+ VirtualMachineScaleSetNetworkProfile,
+ VirtualMachineScaleSetOSDisk,
+ VirtualMachineScaleSetOSProfile,
+ VirtualMachineScaleSetPublicIPAddressConfiguration,
+ VirtualMachineScaleSetPublicIPAddressConfigurationDnsSettings,
+ VirtualMachineScaleSetStorageProfile,
+ VirtualMachineScaleSetUpdateIPConfiguration,
+ VirtualMachineScaleSetUpdateNetworkConfiguration,
+ VirtualMachineScaleSetUpdatePublicIPAddressConfiguration,
+ VirtualMachineScaleSetVM,
+ VirtualMachineScaleSetVMInstanceView,
+ VirtualMachineScaleSetVMNetworkProfileConfiguration,
+ VirtualMachineScaleSetVMProfile,
+ VirtualMachineScaleSetVMProtectionPolicy,
+ WindowsConfiguration,
+ WinRMConfiguration,
+ WinRMListener
+} from "../models/mappers";
diff --git a/sdk/compute/arm-compute/src/models/diskEncryptionSetsMappers.ts b/sdk/compute/arm-compute/src/models/diskEncryptionSetsMappers.ts
index 3929547470b7..1fb77b62ea0b 100644
--- a/sdk/compute/arm-compute/src/models/diskEncryptionSetsMappers.ts
+++ b/sdk/compute/arm-compute/src/models/diskEncryptionSetsMappers.ts
@@ -16,7 +16,7 @@ export {
AutomaticOSUpgradeProperties,
AutomaticRepairsPolicy,
AvailabilitySet,
- AvailabilitySetUpdate,
+ AvailablePatchSummary,
BaseResource,
BillingProfile,
BootDiagnostics,
@@ -42,13 +42,15 @@ export {
DedicatedHostAllocatableVM,
DedicatedHostAvailableCapacity,
DedicatedHostGroup,
- DedicatedHostGroupUpdate,
+ DedicatedHostGroupInstanceView,
DedicatedHostInstanceView,
- DedicatedHostUpdate,
+ DedicatedHostInstanceViewWithName,
DiagnosticsProfile,
DiffDiskSettings,
Disallowed,
+ DisallowedConfiguration,
Disk,
+ DiskAccess,
DiskEncryptionSet,
DiskEncryptionSetList,
DiskEncryptionSetParameters,
@@ -91,13 +93,13 @@ export {
ImagePurchasePlan,
ImageReference,
ImageStorageProfile,
- ImageUpdate,
InnerError,
InstanceViewStatus,
KeyVaultAndKeyReference,
KeyVaultAndSecretReference,
KeyVaultKeyReference,
KeyVaultSecretReference,
+ LastPatchInstallationSummary,
LinuxConfiguration,
MaintenanceRedeployStatus,
ManagedDiskParameters,
@@ -107,21 +109,26 @@ export {
OSDiskImage,
OSDiskImageEncryption,
OSProfile,
+ PatchSettings,
Plan,
+ PrivateEndpoint,
+ PrivateEndpointConnection,
+ PrivateLinkServiceConnectionState,
ProximityPlacementGroup,
- ProximityPlacementGroupUpdate,
PurchasePlan,
RecommendedMachineConfiguration,
RegionalReplicationStatus,
ReplicationStatus,
Resource,
ResourceRange,
+ ResourceUriList,
RollingUpgradePolicy,
RollingUpgradeProgressInfo,
RollingUpgradeRunningStatus,
RollingUpgradeStatusInfo,
ScaleInPolicy,
ScheduledEventsProfile,
+ SecurityProfile,
ShareInfoElement,
Sku,
Snapshot,
@@ -129,13 +136,13 @@ export {
SourceVault,
SshConfiguration,
SshPublicKey,
+ SshPublicKeyResource,
StorageProfile,
SubResource,
SubResourceReadOnly,
SubResourceWithColocationStatus,
TargetRegion,
TerminateNotificationProfile,
- UpdateResource,
UpdateResourceDefinition,
UpgradePolicy,
UserArtifactSource,
@@ -149,13 +156,13 @@ export {
VirtualMachineExtensionHandlerInstanceView,
VirtualMachineExtensionImage,
VirtualMachineExtensionInstanceView,
- VirtualMachineExtensionUpdate,
VirtualMachineHealthStatus,
VirtualMachineIdentity,
VirtualMachineIdentityUserAssignedIdentitiesValue,
VirtualMachineImage,
VirtualMachineImageResource,
VirtualMachineInstanceView,
+ VirtualMachinePatchStatus,
VirtualMachineScaleSet,
VirtualMachineScaleSetDataDisk,
VirtualMachineScaleSetExtension,
@@ -174,21 +181,14 @@ export {
VirtualMachineScaleSetPublicIPAddressConfiguration,
VirtualMachineScaleSetPublicIPAddressConfigurationDnsSettings,
VirtualMachineScaleSetStorageProfile,
- VirtualMachineScaleSetUpdate,
VirtualMachineScaleSetUpdateIPConfiguration,
VirtualMachineScaleSetUpdateNetworkConfiguration,
- VirtualMachineScaleSetUpdateNetworkProfile,
- VirtualMachineScaleSetUpdateOSDisk,
- VirtualMachineScaleSetUpdateOSProfile,
VirtualMachineScaleSetUpdatePublicIPAddressConfiguration,
- VirtualMachineScaleSetUpdateStorageProfile,
- VirtualMachineScaleSetUpdateVMProfile,
VirtualMachineScaleSetVM,
VirtualMachineScaleSetVMInstanceView,
VirtualMachineScaleSetVMNetworkProfileConfiguration,
VirtualMachineScaleSetVMProfile,
VirtualMachineScaleSetVMProtectionPolicy,
- VirtualMachineUpdate,
WindowsConfiguration,
WinRMConfiguration,
WinRMListener
diff --git a/sdk/compute/arm-compute/src/models/disksMappers.ts b/sdk/compute/arm-compute/src/models/disksMappers.ts
index e89ef13e509a..f4b1367453d6 100644
--- a/sdk/compute/arm-compute/src/models/disksMappers.ts
+++ b/sdk/compute/arm-compute/src/models/disksMappers.ts
@@ -17,7 +17,7 @@ export {
AutomaticOSUpgradeProperties,
AutomaticRepairsPolicy,
AvailabilitySet,
- AvailabilitySetUpdate,
+ AvailablePatchSummary,
BaseResource,
BillingProfile,
BootDiagnostics,
@@ -43,13 +43,15 @@ export {
DedicatedHostAllocatableVM,
DedicatedHostAvailableCapacity,
DedicatedHostGroup,
- DedicatedHostGroupUpdate,
+ DedicatedHostGroupInstanceView,
DedicatedHostInstanceView,
- DedicatedHostUpdate,
+ DedicatedHostInstanceViewWithName,
DiagnosticsProfile,
DiffDiskSettings,
Disallowed,
+ DisallowedConfiguration,
Disk,
+ DiskAccess,
DiskEncryptionSet,
DiskEncryptionSetParameters,
DiskEncryptionSettings,
@@ -93,13 +95,13 @@ export {
ImagePurchasePlan,
ImageReference,
ImageStorageProfile,
- ImageUpdate,
InnerError,
InstanceViewStatus,
KeyVaultAndKeyReference,
KeyVaultAndSecretReference,
KeyVaultKeyReference,
KeyVaultSecretReference,
+ LastPatchInstallationSummary,
LinuxConfiguration,
MaintenanceRedeployStatus,
ManagedDiskParameters,
@@ -109,9 +111,12 @@ export {
OSDiskImage,
OSDiskImageEncryption,
OSProfile,
+ PatchSettings,
Plan,
+ PrivateEndpoint,
+ PrivateEndpointConnection,
+ PrivateLinkServiceConnectionState,
ProximityPlacementGroup,
- ProximityPlacementGroupUpdate,
PurchasePlan,
RecommendedMachineConfiguration,
RegionalReplicationStatus,
@@ -124,6 +129,7 @@ export {
RollingUpgradeStatusInfo,
ScaleInPolicy,
ScheduledEventsProfile,
+ SecurityProfile,
ShareInfoElement,
Sku,
Snapshot,
@@ -131,13 +137,13 @@ export {
SourceVault,
SshConfiguration,
SshPublicKey,
+ SshPublicKeyResource,
StorageProfile,
SubResource,
SubResourceReadOnly,
SubResourceWithColocationStatus,
TargetRegion,
TerminateNotificationProfile,
- UpdateResource,
UpdateResourceDefinition,
UpgradePolicy,
UserArtifactSource,
@@ -151,13 +157,13 @@ export {
VirtualMachineExtensionHandlerInstanceView,
VirtualMachineExtensionImage,
VirtualMachineExtensionInstanceView,
- VirtualMachineExtensionUpdate,
VirtualMachineHealthStatus,
VirtualMachineIdentity,
VirtualMachineIdentityUserAssignedIdentitiesValue,
VirtualMachineImage,
VirtualMachineImageResource,
VirtualMachineInstanceView,
+ VirtualMachinePatchStatus,
VirtualMachineScaleSet,
VirtualMachineScaleSetDataDisk,
VirtualMachineScaleSetExtension,
@@ -176,21 +182,14 @@ export {
VirtualMachineScaleSetPublicIPAddressConfiguration,
VirtualMachineScaleSetPublicIPAddressConfigurationDnsSettings,
VirtualMachineScaleSetStorageProfile,
- VirtualMachineScaleSetUpdate,
VirtualMachineScaleSetUpdateIPConfiguration,
VirtualMachineScaleSetUpdateNetworkConfiguration,
- VirtualMachineScaleSetUpdateNetworkProfile,
- VirtualMachineScaleSetUpdateOSDisk,
- VirtualMachineScaleSetUpdateOSProfile,
VirtualMachineScaleSetUpdatePublicIPAddressConfiguration,
- VirtualMachineScaleSetUpdateStorageProfile,
- VirtualMachineScaleSetUpdateVMProfile,
VirtualMachineScaleSetVM,
VirtualMachineScaleSetVMInstanceView,
VirtualMachineScaleSetVMNetworkProfileConfiguration,
VirtualMachineScaleSetVMProfile,
VirtualMachineScaleSetVMProtectionPolicy,
- VirtualMachineUpdate,
WindowsConfiguration,
WinRMConfiguration,
WinRMListener
diff --git a/sdk/compute/arm-compute/src/models/galleriesMappers.ts b/sdk/compute/arm-compute/src/models/galleriesMappers.ts
index e0ea127f1105..e8848382bd37 100644
--- a/sdk/compute/arm-compute/src/models/galleriesMappers.ts
+++ b/sdk/compute/arm-compute/src/models/galleriesMappers.ts
@@ -16,7 +16,7 @@ export {
AutomaticOSUpgradeProperties,
AutomaticRepairsPolicy,
AvailabilitySet,
- AvailabilitySetUpdate,
+ AvailablePatchSummary,
BaseResource,
BillingProfile,
BootDiagnostics,
@@ -42,13 +42,15 @@ export {
DedicatedHostAllocatableVM,
DedicatedHostAvailableCapacity,
DedicatedHostGroup,
- DedicatedHostGroupUpdate,
+ DedicatedHostGroupInstanceView,
DedicatedHostInstanceView,
- DedicatedHostUpdate,
+ DedicatedHostInstanceViewWithName,
DiagnosticsProfile,
DiffDiskSettings,
Disallowed,
+ DisallowedConfiguration,
Disk,
+ DiskAccess,
DiskEncryptionSet,
DiskEncryptionSetParameters,
DiskEncryptionSettings,
@@ -90,13 +92,13 @@ export {
ImagePurchasePlan,
ImageReference,
ImageStorageProfile,
- ImageUpdate,
InnerError,
InstanceViewStatus,
KeyVaultAndKeyReference,
KeyVaultAndSecretReference,
KeyVaultKeyReference,
KeyVaultSecretReference,
+ LastPatchInstallationSummary,
LinuxConfiguration,
MaintenanceRedeployStatus,
ManagedDiskParameters,
@@ -106,9 +108,12 @@ export {
OSDiskImage,
OSDiskImageEncryption,
OSProfile,
+ PatchSettings,
Plan,
+ PrivateEndpoint,
+ PrivateEndpointConnection,
+ PrivateLinkServiceConnectionState,
ProximityPlacementGroup,
- ProximityPlacementGroupUpdate,
PurchasePlan,
RecommendedMachineConfiguration,
RegionalReplicationStatus,
@@ -121,6 +126,7 @@ export {
RollingUpgradeStatusInfo,
ScaleInPolicy,
ScheduledEventsProfile,
+ SecurityProfile,
ShareInfoElement,
Sku,
Snapshot,
@@ -128,13 +134,13 @@ export {
SourceVault,
SshConfiguration,
SshPublicKey,
+ SshPublicKeyResource,
StorageProfile,
SubResource,
SubResourceReadOnly,
SubResourceWithColocationStatus,
TargetRegion,
TerminateNotificationProfile,
- UpdateResource,
UpdateResourceDefinition,
UpgradePolicy,
UserArtifactSource,
@@ -148,13 +154,13 @@ export {
VirtualMachineExtensionHandlerInstanceView,
VirtualMachineExtensionImage,
VirtualMachineExtensionInstanceView,
- VirtualMachineExtensionUpdate,
VirtualMachineHealthStatus,
VirtualMachineIdentity,
VirtualMachineIdentityUserAssignedIdentitiesValue,
VirtualMachineImage,
VirtualMachineImageResource,
VirtualMachineInstanceView,
+ VirtualMachinePatchStatus,
VirtualMachineScaleSet,
VirtualMachineScaleSetDataDisk,
VirtualMachineScaleSetExtension,
@@ -173,21 +179,14 @@ export {
VirtualMachineScaleSetPublicIPAddressConfiguration,
VirtualMachineScaleSetPublicIPAddressConfigurationDnsSettings,
VirtualMachineScaleSetStorageProfile,
- VirtualMachineScaleSetUpdate,
VirtualMachineScaleSetUpdateIPConfiguration,
VirtualMachineScaleSetUpdateNetworkConfiguration,
- VirtualMachineScaleSetUpdateNetworkProfile,
- VirtualMachineScaleSetUpdateOSDisk,
- VirtualMachineScaleSetUpdateOSProfile,
VirtualMachineScaleSetUpdatePublicIPAddressConfiguration,
- VirtualMachineScaleSetUpdateStorageProfile,
- VirtualMachineScaleSetUpdateVMProfile,
VirtualMachineScaleSetVM,
VirtualMachineScaleSetVMInstanceView,
VirtualMachineScaleSetVMNetworkProfileConfiguration,
VirtualMachineScaleSetVMProfile,
VirtualMachineScaleSetVMProtectionPolicy,
- VirtualMachineUpdate,
WindowsConfiguration,
WinRMConfiguration,
WinRMListener
diff --git a/sdk/compute/arm-compute/src/models/galleryApplicationVersionsMappers.ts b/sdk/compute/arm-compute/src/models/galleryApplicationVersionsMappers.ts
index b7682e94de99..08917ccbf34c 100644
--- a/sdk/compute/arm-compute/src/models/galleryApplicationVersionsMappers.ts
+++ b/sdk/compute/arm-compute/src/models/galleryApplicationVersionsMappers.ts
@@ -16,7 +16,7 @@ export {
AutomaticOSUpgradeProperties,
AutomaticRepairsPolicy,
AvailabilitySet,
- AvailabilitySetUpdate,
+ AvailablePatchSummary,
BaseResource,
BillingProfile,
BootDiagnostics,
@@ -42,13 +42,15 @@ export {
DedicatedHostAllocatableVM,
DedicatedHostAvailableCapacity,
DedicatedHostGroup,
- DedicatedHostGroupUpdate,
+ DedicatedHostGroupInstanceView,
DedicatedHostInstanceView,
- DedicatedHostUpdate,
+ DedicatedHostInstanceViewWithName,
DiagnosticsProfile,
DiffDiskSettings,
Disallowed,
+ DisallowedConfiguration,
Disk,
+ DiskAccess,
DiskEncryptionSet,
DiskEncryptionSetParameters,
DiskEncryptionSettings,
@@ -90,13 +92,13 @@ export {
ImagePurchasePlan,
ImageReference,
ImageStorageProfile,
- ImageUpdate,
InnerError,
InstanceViewStatus,
KeyVaultAndKeyReference,
KeyVaultAndSecretReference,
KeyVaultKeyReference,
KeyVaultSecretReference,
+ LastPatchInstallationSummary,
LinuxConfiguration,
MaintenanceRedeployStatus,
ManagedDiskParameters,
@@ -106,9 +108,12 @@ export {
OSDiskImage,
OSDiskImageEncryption,
OSProfile,
+ PatchSettings,
Plan,
+ PrivateEndpoint,
+ PrivateEndpointConnection,
+ PrivateLinkServiceConnectionState,
ProximityPlacementGroup,
- ProximityPlacementGroupUpdate,
PurchasePlan,
RecommendedMachineConfiguration,
RegionalReplicationStatus,
@@ -121,6 +126,7 @@ export {
RollingUpgradeStatusInfo,
ScaleInPolicy,
ScheduledEventsProfile,
+ SecurityProfile,
ShareInfoElement,
Sku,
Snapshot,
@@ -128,13 +134,13 @@ export {
SourceVault,
SshConfiguration,
SshPublicKey,
+ SshPublicKeyResource,
StorageProfile,
SubResource,
SubResourceReadOnly,
SubResourceWithColocationStatus,
TargetRegion,
TerminateNotificationProfile,
- UpdateResource,
UpdateResourceDefinition,
UpgradePolicy,
UserArtifactSource,
@@ -148,13 +154,13 @@ export {
VirtualMachineExtensionHandlerInstanceView,
VirtualMachineExtensionImage,
VirtualMachineExtensionInstanceView,
- VirtualMachineExtensionUpdate,
VirtualMachineHealthStatus,
VirtualMachineIdentity,
VirtualMachineIdentityUserAssignedIdentitiesValue,
VirtualMachineImage,
VirtualMachineImageResource,
VirtualMachineInstanceView,
+ VirtualMachinePatchStatus,
VirtualMachineScaleSet,
VirtualMachineScaleSetDataDisk,
VirtualMachineScaleSetExtension,
@@ -173,21 +179,14 @@ export {
VirtualMachineScaleSetPublicIPAddressConfiguration,
VirtualMachineScaleSetPublicIPAddressConfigurationDnsSettings,
VirtualMachineScaleSetStorageProfile,
- VirtualMachineScaleSetUpdate,
VirtualMachineScaleSetUpdateIPConfiguration,
VirtualMachineScaleSetUpdateNetworkConfiguration,
- VirtualMachineScaleSetUpdateNetworkProfile,
- VirtualMachineScaleSetUpdateOSDisk,
- VirtualMachineScaleSetUpdateOSProfile,
VirtualMachineScaleSetUpdatePublicIPAddressConfiguration,
- VirtualMachineScaleSetUpdateStorageProfile,
- VirtualMachineScaleSetUpdateVMProfile,
VirtualMachineScaleSetVM,
VirtualMachineScaleSetVMInstanceView,
VirtualMachineScaleSetVMNetworkProfileConfiguration,
VirtualMachineScaleSetVMProfile,
VirtualMachineScaleSetVMProtectionPolicy,
- VirtualMachineUpdate,
WindowsConfiguration,
WinRMConfiguration,
WinRMListener
diff --git a/sdk/compute/arm-compute/src/models/galleryApplicationsMappers.ts b/sdk/compute/arm-compute/src/models/galleryApplicationsMappers.ts
index 8d725c9c06db..23e299c473a6 100644
--- a/sdk/compute/arm-compute/src/models/galleryApplicationsMappers.ts
+++ b/sdk/compute/arm-compute/src/models/galleryApplicationsMappers.ts
@@ -16,7 +16,7 @@ export {
AutomaticOSUpgradeProperties,
AutomaticRepairsPolicy,
AvailabilitySet,
- AvailabilitySetUpdate,
+ AvailablePatchSummary,
BaseResource,
BillingProfile,
BootDiagnostics,
@@ -42,13 +42,15 @@ export {
DedicatedHostAllocatableVM,
DedicatedHostAvailableCapacity,
DedicatedHostGroup,
- DedicatedHostGroupUpdate,
+ DedicatedHostGroupInstanceView,
DedicatedHostInstanceView,
- DedicatedHostUpdate,
+ DedicatedHostInstanceViewWithName,
DiagnosticsProfile,
DiffDiskSettings,
Disallowed,
+ DisallowedConfiguration,
Disk,
+ DiskAccess,
DiskEncryptionSet,
DiskEncryptionSetParameters,
DiskEncryptionSettings,
@@ -90,13 +92,13 @@ export {
ImagePurchasePlan,
ImageReference,
ImageStorageProfile,
- ImageUpdate,
InnerError,
InstanceViewStatus,
KeyVaultAndKeyReference,
KeyVaultAndSecretReference,
KeyVaultKeyReference,
KeyVaultSecretReference,
+ LastPatchInstallationSummary,
LinuxConfiguration,
MaintenanceRedeployStatus,
ManagedDiskParameters,
@@ -106,9 +108,12 @@ export {
OSDiskImage,
OSDiskImageEncryption,
OSProfile,
+ PatchSettings,
Plan,
+ PrivateEndpoint,
+ PrivateEndpointConnection,
+ PrivateLinkServiceConnectionState,
ProximityPlacementGroup,
- ProximityPlacementGroupUpdate,
PurchasePlan,
RecommendedMachineConfiguration,
RegionalReplicationStatus,
@@ -121,6 +126,7 @@ export {
RollingUpgradeStatusInfo,
ScaleInPolicy,
ScheduledEventsProfile,
+ SecurityProfile,
ShareInfoElement,
Sku,
Snapshot,
@@ -128,13 +134,13 @@ export {
SourceVault,
SshConfiguration,
SshPublicKey,
+ SshPublicKeyResource,
StorageProfile,
SubResource,
SubResourceReadOnly,
SubResourceWithColocationStatus,
TargetRegion,
TerminateNotificationProfile,
- UpdateResource,
UpdateResourceDefinition,
UpgradePolicy,
UserArtifactSource,
@@ -148,13 +154,13 @@ export {
VirtualMachineExtensionHandlerInstanceView,
VirtualMachineExtensionImage,
VirtualMachineExtensionInstanceView,
- VirtualMachineExtensionUpdate,
VirtualMachineHealthStatus,
VirtualMachineIdentity,
VirtualMachineIdentityUserAssignedIdentitiesValue,
VirtualMachineImage,
VirtualMachineImageResource,
VirtualMachineInstanceView,
+ VirtualMachinePatchStatus,
VirtualMachineScaleSet,
VirtualMachineScaleSetDataDisk,
VirtualMachineScaleSetExtension,
@@ -173,21 +179,14 @@ export {
VirtualMachineScaleSetPublicIPAddressConfiguration,
VirtualMachineScaleSetPublicIPAddressConfigurationDnsSettings,
VirtualMachineScaleSetStorageProfile,
- VirtualMachineScaleSetUpdate,
VirtualMachineScaleSetUpdateIPConfiguration,
VirtualMachineScaleSetUpdateNetworkConfiguration,
- VirtualMachineScaleSetUpdateNetworkProfile,
- VirtualMachineScaleSetUpdateOSDisk,
- VirtualMachineScaleSetUpdateOSProfile,
VirtualMachineScaleSetUpdatePublicIPAddressConfiguration,
- VirtualMachineScaleSetUpdateStorageProfile,
- VirtualMachineScaleSetUpdateVMProfile,
VirtualMachineScaleSetVM,
VirtualMachineScaleSetVMInstanceView,
VirtualMachineScaleSetVMNetworkProfileConfiguration,
VirtualMachineScaleSetVMProfile,
VirtualMachineScaleSetVMProtectionPolicy,
- VirtualMachineUpdate,
WindowsConfiguration,
WinRMConfiguration,
WinRMListener
diff --git a/sdk/compute/arm-compute/src/models/galleryImageVersionsMappers.ts b/sdk/compute/arm-compute/src/models/galleryImageVersionsMappers.ts
index 61e484336ea5..f793a9a603e8 100644
--- a/sdk/compute/arm-compute/src/models/galleryImageVersionsMappers.ts
+++ b/sdk/compute/arm-compute/src/models/galleryImageVersionsMappers.ts
@@ -16,7 +16,7 @@ export {
AutomaticOSUpgradeProperties,
AutomaticRepairsPolicy,
AvailabilitySet,
- AvailabilitySetUpdate,
+ AvailablePatchSummary,
BaseResource,
BillingProfile,
BootDiagnostics,
@@ -42,13 +42,15 @@ export {
DedicatedHostAllocatableVM,
DedicatedHostAvailableCapacity,
DedicatedHostGroup,
- DedicatedHostGroupUpdate,
+ DedicatedHostGroupInstanceView,
DedicatedHostInstanceView,
- DedicatedHostUpdate,
+ DedicatedHostInstanceViewWithName,
DiagnosticsProfile,
DiffDiskSettings,
Disallowed,
+ DisallowedConfiguration,
Disk,
+ DiskAccess,
DiskEncryptionSet,
DiskEncryptionSetParameters,
DiskEncryptionSettings,
@@ -90,13 +92,13 @@ export {
ImagePurchasePlan,
ImageReference,
ImageStorageProfile,
- ImageUpdate,
InnerError,
InstanceViewStatus,
KeyVaultAndKeyReference,
KeyVaultAndSecretReference,
KeyVaultKeyReference,
KeyVaultSecretReference,
+ LastPatchInstallationSummary,
LinuxConfiguration,
MaintenanceRedeployStatus,
ManagedDiskParameters,
@@ -106,9 +108,12 @@ export {
OSDiskImage,
OSDiskImageEncryption,
OSProfile,
+ PatchSettings,
Plan,
+ PrivateEndpoint,
+ PrivateEndpointConnection,
+ PrivateLinkServiceConnectionState,
ProximityPlacementGroup,
- ProximityPlacementGroupUpdate,
PurchasePlan,
RecommendedMachineConfiguration,
RegionalReplicationStatus,
@@ -121,6 +126,7 @@ export {
RollingUpgradeStatusInfo,
ScaleInPolicy,
ScheduledEventsProfile,
+ SecurityProfile,
ShareInfoElement,
Sku,
Snapshot,
@@ -128,13 +134,13 @@ export {
SourceVault,
SshConfiguration,
SshPublicKey,
+ SshPublicKeyResource,
StorageProfile,
SubResource,
SubResourceReadOnly,
SubResourceWithColocationStatus,
TargetRegion,
TerminateNotificationProfile,
- UpdateResource,
UpdateResourceDefinition,
UpgradePolicy,
UserArtifactSource,
@@ -148,13 +154,13 @@ export {
VirtualMachineExtensionHandlerInstanceView,
VirtualMachineExtensionImage,
VirtualMachineExtensionInstanceView,
- VirtualMachineExtensionUpdate,
VirtualMachineHealthStatus,
VirtualMachineIdentity,
VirtualMachineIdentityUserAssignedIdentitiesValue,
VirtualMachineImage,
VirtualMachineImageResource,
VirtualMachineInstanceView,
+ VirtualMachinePatchStatus,
VirtualMachineScaleSet,
VirtualMachineScaleSetDataDisk,
VirtualMachineScaleSetExtension,
@@ -173,21 +179,14 @@ export {
VirtualMachineScaleSetPublicIPAddressConfiguration,
VirtualMachineScaleSetPublicIPAddressConfigurationDnsSettings,
VirtualMachineScaleSetStorageProfile,
- VirtualMachineScaleSetUpdate,
VirtualMachineScaleSetUpdateIPConfiguration,
VirtualMachineScaleSetUpdateNetworkConfiguration,
- VirtualMachineScaleSetUpdateNetworkProfile,
- VirtualMachineScaleSetUpdateOSDisk,
- VirtualMachineScaleSetUpdateOSProfile,
VirtualMachineScaleSetUpdatePublicIPAddressConfiguration,
- VirtualMachineScaleSetUpdateStorageProfile,
- VirtualMachineScaleSetUpdateVMProfile,
VirtualMachineScaleSetVM,
VirtualMachineScaleSetVMInstanceView,
VirtualMachineScaleSetVMNetworkProfileConfiguration,
VirtualMachineScaleSetVMProfile,
VirtualMachineScaleSetVMProtectionPolicy,
- VirtualMachineUpdate,
WindowsConfiguration,
WinRMConfiguration,
WinRMListener
diff --git a/sdk/compute/arm-compute/src/models/galleryImagesMappers.ts b/sdk/compute/arm-compute/src/models/galleryImagesMappers.ts
index 89382b3dcf82..578486eff4ca 100644
--- a/sdk/compute/arm-compute/src/models/galleryImagesMappers.ts
+++ b/sdk/compute/arm-compute/src/models/galleryImagesMappers.ts
@@ -16,7 +16,7 @@ export {
AutomaticOSUpgradeProperties,
AutomaticRepairsPolicy,
AvailabilitySet,
- AvailabilitySetUpdate,
+ AvailablePatchSummary,
BaseResource,
BillingProfile,
BootDiagnostics,
@@ -42,13 +42,15 @@ export {
DedicatedHostAllocatableVM,
DedicatedHostAvailableCapacity,
DedicatedHostGroup,
- DedicatedHostGroupUpdate,
+ DedicatedHostGroupInstanceView,
DedicatedHostInstanceView,
- DedicatedHostUpdate,
+ DedicatedHostInstanceViewWithName,
DiagnosticsProfile,
DiffDiskSettings,
Disallowed,
+ DisallowedConfiguration,
Disk,
+ DiskAccess,
DiskEncryptionSet,
DiskEncryptionSetParameters,
DiskEncryptionSettings,
@@ -90,13 +92,13 @@ export {
ImagePurchasePlan,
ImageReference,
ImageStorageProfile,
- ImageUpdate,
InnerError,
InstanceViewStatus,
KeyVaultAndKeyReference,
KeyVaultAndSecretReference,
KeyVaultKeyReference,
KeyVaultSecretReference,
+ LastPatchInstallationSummary,
LinuxConfiguration,
MaintenanceRedeployStatus,
ManagedDiskParameters,
@@ -106,9 +108,12 @@ export {
OSDiskImage,
OSDiskImageEncryption,
OSProfile,
+ PatchSettings,
Plan,
+ PrivateEndpoint,
+ PrivateEndpointConnection,
+ PrivateLinkServiceConnectionState,
ProximityPlacementGroup,
- ProximityPlacementGroupUpdate,
PurchasePlan,
RecommendedMachineConfiguration,
RegionalReplicationStatus,
@@ -121,6 +126,7 @@ export {
RollingUpgradeStatusInfo,
ScaleInPolicy,
ScheduledEventsProfile,
+ SecurityProfile,
ShareInfoElement,
Sku,
Snapshot,
@@ -128,13 +134,13 @@ export {
SourceVault,
SshConfiguration,
SshPublicKey,
+ SshPublicKeyResource,
StorageProfile,
SubResource,
SubResourceReadOnly,
SubResourceWithColocationStatus,
TargetRegion,
TerminateNotificationProfile,
- UpdateResource,
UpdateResourceDefinition,
UpgradePolicy,
UserArtifactSource,
@@ -148,13 +154,13 @@ export {
VirtualMachineExtensionHandlerInstanceView,
VirtualMachineExtensionImage,
VirtualMachineExtensionInstanceView,
- VirtualMachineExtensionUpdate,
VirtualMachineHealthStatus,
VirtualMachineIdentity,
VirtualMachineIdentityUserAssignedIdentitiesValue,
VirtualMachineImage,
VirtualMachineImageResource,
VirtualMachineInstanceView,
+ VirtualMachinePatchStatus,
VirtualMachineScaleSet,
VirtualMachineScaleSetDataDisk,
VirtualMachineScaleSetExtension,
@@ -173,21 +179,14 @@ export {
VirtualMachineScaleSetPublicIPAddressConfiguration,
VirtualMachineScaleSetPublicIPAddressConfigurationDnsSettings,
VirtualMachineScaleSetStorageProfile,
- VirtualMachineScaleSetUpdate,
VirtualMachineScaleSetUpdateIPConfiguration,
VirtualMachineScaleSetUpdateNetworkConfiguration,
- VirtualMachineScaleSetUpdateNetworkProfile,
- VirtualMachineScaleSetUpdateOSDisk,
- VirtualMachineScaleSetUpdateOSProfile,
VirtualMachineScaleSetUpdatePublicIPAddressConfiguration,
- VirtualMachineScaleSetUpdateStorageProfile,
- VirtualMachineScaleSetUpdateVMProfile,
VirtualMachineScaleSetVM,
VirtualMachineScaleSetVMInstanceView,
VirtualMachineScaleSetVMNetworkProfileConfiguration,
VirtualMachineScaleSetVMProfile,
VirtualMachineScaleSetVMProtectionPolicy,
- VirtualMachineUpdate,
WindowsConfiguration,
WinRMConfiguration,
WinRMListener
diff --git a/sdk/compute/arm-compute/src/models/imagesMappers.ts b/sdk/compute/arm-compute/src/models/imagesMappers.ts
index c1a5481de1d9..69e44f43cd84 100644
--- a/sdk/compute/arm-compute/src/models/imagesMappers.ts
+++ b/sdk/compute/arm-compute/src/models/imagesMappers.ts
@@ -17,6 +17,7 @@ export {
AutomaticRepairsPolicy,
AvailabilitySet,
AvailabilitySetUpdate,
+ AvailablePatchSummary,
BaseResource,
BillingProfile,
BootDiagnostics,
@@ -42,13 +43,17 @@ export {
DedicatedHostAllocatableVM,
DedicatedHostAvailableCapacity,
DedicatedHostGroup,
+ DedicatedHostGroupInstanceView,
DedicatedHostGroupUpdate,
DedicatedHostInstanceView,
+ DedicatedHostInstanceViewWithName,
DedicatedHostUpdate,
DiagnosticsProfile,
DiffDiskSettings,
Disallowed,
+ DisallowedConfiguration,
Disk,
+ DiskAccess,
DiskEncryptionSet,
DiskEncryptionSetParameters,
DiskEncryptionSettings,
@@ -97,6 +102,7 @@ export {
KeyVaultAndSecretReference,
KeyVaultKeyReference,
KeyVaultSecretReference,
+ LastPatchInstallationSummary,
LinuxConfiguration,
MaintenanceRedeployStatus,
ManagedDiskParameters,
@@ -106,7 +112,11 @@ export {
OSDiskImage,
OSDiskImageEncryption,
OSProfile,
+ PatchSettings,
Plan,
+ PrivateEndpoint,
+ PrivateEndpointConnection,
+ PrivateLinkServiceConnectionState,
ProximityPlacementGroup,
ProximityPlacementGroupUpdate,
PurchasePlan,
@@ -121,6 +131,7 @@ export {
RollingUpgradeStatusInfo,
ScaleInPolicy,
ScheduledEventsProfile,
+ SecurityProfile,
ShareInfoElement,
Sku,
Snapshot,
@@ -128,6 +139,8 @@ export {
SourceVault,
SshConfiguration,
SshPublicKey,
+ SshPublicKeyResource,
+ SshPublicKeyUpdateResource,
StorageProfile,
SubResource,
SubResourceReadOnly,
@@ -155,6 +168,7 @@ export {
VirtualMachineImage,
VirtualMachineImageResource,
VirtualMachineInstanceView,
+ VirtualMachinePatchStatus,
VirtualMachineScaleSet,
VirtualMachineScaleSetDataDisk,
VirtualMachineScaleSetExtension,
diff --git a/sdk/compute/arm-compute/src/models/index.ts b/sdk/compute/arm-compute/src/models/index.ts
index bda27497a463..cc59586f553f 100644
--- a/sdk/compute/arm-compute/src/models/index.ts
+++ b/sdk/compute/arm-compute/src/models/index.ts
@@ -47,6 +47,32 @@ export interface ComputeOperationValue {
readonly provider?: string;
}
+/**
+ * Specifies the disallowed configuration for a virtual machine image.
+ */
+export interface DisallowedConfiguration {
+ /**
+ * VM disk types which are disallowed. Possible values include: 'None', 'Unmanaged'
+ */
+ vmDiskType?: VmDiskTypes;
+}
+
+/**
+ * The SAS URIs of the console screenshot and serial log blobs.
+ */
+export interface RetrieveBootDiagnosticsDataResult {
+ /**
+ * The console screenshot blob URI
+ * **NOTE: This property will not be serialized. It can only be populated by the server.**
+ */
+ readonly consoleScreenshotBlobUri?: string;
+ /**
+ * The serial console log blob URI.
+ * **NOTE: This property will not be serialized. It can only be populated by the server.**
+ */
+ readonly serialConsoleLogBlobUri?: string;
+}
+
/**
* Instance view status.
*/
@@ -84,7 +110,9 @@ export interface SubResource extends BaseResource {
}
/**
- * Describes a virtual machine scale set sku.
+ * Describes a virtual machine scale set sku. NOTE: If the new VM SKU is not supported on the
+ * hardware the scale set is currently on, you need to deallocate the VMs in the scale set before
+ * you modify the SKU name.
*/
export interface Sku {
/**
@@ -177,7 +205,7 @@ export interface AvailabilitySet extends Resource {
/**
* The Update Resource model definition.
*/
-export interface UpdateResource extends BaseResource {
+export interface UpdateResource {
/**
* Resource tags
*/
@@ -264,6 +292,47 @@ export interface ProximityPlacementGroup extends Resource {
export interface ProximityPlacementGroupUpdate extends UpdateResource {
}
+/**
+ * The instance view of a dedicated host.
+ */
+export interface DedicatedHostInstanceView {
+ /**
+ * Specifies the unique id of the dedicated physical machine on which the dedicated host resides.
+ * **NOTE: This property will not be serialized. It can only be populated by the server.**
+ */
+ readonly assetId?: string;
+ /**
+ * Unutilized capacity of the dedicated host.
+ */
+ availableCapacity?: DedicatedHostAvailableCapacity;
+ /**
+ * The resource status information.
+ */
+ statuses?: InstanceViewStatus[];
+}
+
+/**
+ * The instance view of a dedicated host that includes the name of the dedicated host. It is used
+ * for the response to the instance view of a dedicated host group.
+ */
+export interface DedicatedHostInstanceViewWithName extends DedicatedHostInstanceView {
+ /**
+ * The name of the dedicated host.
+ * **NOTE: This property will not be serialized. It can only be populated by the server.**
+ */
+ readonly name?: string;
+}
+
+/**
+ * An interface representing DedicatedHostGroupInstanceView.
+ */
+export interface DedicatedHostGroupInstanceView {
+ /**
+ * List of instance view of the dedicated hosts under the dedicated host group.
+ */
+ hosts?: DedicatedHostInstanceViewWithName[];
+}
+
/**
* An interface representing SubResourceReadOnly.
*/
@@ -290,6 +359,19 @@ export interface DedicatedHostGroup extends Resource {
* **NOTE: This property will not be serialized. It can only be populated by the server.**
*/
readonly hosts?: SubResourceReadOnly[];
+ /**
+ * The dedicated host group instance view, which has the list of instance view of the dedicated
+ * hosts under the dedicated host group.
+ * **NOTE: This property will not be serialized. It can only be populated by the server.**
+ */
+ readonly instanceView?: DedicatedHostGroupInstanceView;
+ /**
+ * Specifies whether virtual machines or virtual machine scale sets can be placed automatically
+ * on the dedicated host group. Automatic placement means resources are allocated on dedicated
+ * hosts, that are chosen by Azure, under the dedicated host group. The value is defaulted to
+ * 'true' when not provided.
Minimum api-version: 2020-06-01.
+ */
+ supportAutomaticPlacement?: boolean;
/**
* Availability Zone to use for this host group. Only single zone is supported. The zone can be
* assigned only during creation. If not provided, the group supports all zones in the region. If
@@ -312,6 +394,19 @@ export interface DedicatedHostGroupUpdate extends UpdateResource {
* **NOTE: This property will not be serialized. It can only be populated by the server.**
*/
readonly hosts?: SubResourceReadOnly[];
+ /**
+ * The dedicated host group instance view, which has the list of instance view of the dedicated
+ * hosts under the dedicated host group.
+ * **NOTE: This property will not be serialized. It can only be populated by the server.**
+ */
+ readonly instanceView?: DedicatedHostGroupInstanceView;
+ /**
+ * Specifies whether virtual machines or virtual machine scale sets can be placed automatically
+ * on the dedicated host group. Automatic placement means resources are allocated on dedicated
+ * hosts, that are chosen by Azure, under the dedicated host group. The value is defaulted to
+ * 'true' when not provided.
Minimum api-version: 2020-06-01.
+ */
+ supportAutomaticPlacement?: boolean;
/**
* Availability Zone to use for this host group. Only single zone is supported. The zone can be
* assigned only during creation. If not provided, the group supports all zones in the region. If
@@ -345,25 +440,6 @@ export interface DedicatedHostAvailableCapacity {
allocatableVMs?: DedicatedHostAllocatableVM[];
}
-/**
- * The instance view of a dedicated host.
- */
-export interface DedicatedHostInstanceView {
- /**
- * Specifies the unique id of the dedicated physical machine on which the dedicated host resides.
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
- */
- readonly assetId?: string;
- /**
- * Unutilized capacity of the dedicated host.
- */
- availableCapacity?: DedicatedHostAvailableCapacity;
- /**
- * The resource status information.
- */
- statuses?: InstanceViewStatus[];
-}
-
/**
* Specifies information about the Dedicated host.
*/
@@ -466,6 +542,53 @@ export interface DedicatedHostUpdate extends UpdateResource {
readonly instanceView?: DedicatedHostInstanceView;
}
+/**
+ * Response from generation of an SSH key pair.
+ */
+export interface SshPublicKeyGenerateKeyPairResult {
+ /**
+ * Private key portion of the key pair used to authenticate to a virtual machine through ssh. The
+ * private key is returned in RFC3447 format and should be treated as a secret.
+ */
+ privateKey: string;
+ /**
+ * Public key portion of the key pair used to authenticate to a virtual machine through ssh. The
+ * public key is in ssh-rsa format.
+ */
+ publicKey: string;
+ /**
+ * The ARM resource id in the form of
+ * /subscriptions/{SubscriptionId}/resourceGroups/{ResourceGroupName}/providers/Microsoft.Compute/sshPublicKeys/{SshPublicKeyName}
+ */
+ id: string;
+}
+
+/**
+ * Specifies information about the SSH public key.
+ */
+export interface SshPublicKeyResource extends Resource {
+ /**
+ * SSH public key used to authenticate to a virtual machine through ssh. If this property is not
+ * initially provided when the resource is created, the publicKey property will be populated when
+ * generateKeyPair is called. If the public key is provided upon resource creation, the provided
+ * public key needs to be at least 2048-bit and in ssh-rsa format.
+ */
+ publicKey?: string;
+}
+
+/**
+ * Specifies information about the SSH public key.
+ */
+export interface SshPublicKeyUpdateResource extends UpdateResource {
+ /**
+ * SSH public key used to authenticate to a virtual machine through ssh. If this property is not
+ * initially provided when the resource is created, the publicKey property will be populated when
+ * generateKeyPair is called. If the public key is provided upon resource creation, the provided
+ * public key needs to be at least 2048-bit and in ssh-rsa format.
+ */
+ publicKey?: string;
+}
+
/**
* Describes the properties of a VM size.
*/
@@ -598,6 +721,11 @@ export interface VirtualMachineExtension extends Resource {
* 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.
*/
@@ -645,6 +773,11 @@ export interface VirtualMachineExtensionUpdate extends UpdateResource {
* 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.
*/
@@ -666,6 +799,176 @@ export interface VirtualMachineExtensionsListResult {
value?: VirtualMachineExtension[];
}
+/**
+ * Describes the properties of a Virtual Machine software patch.
+ */
+export interface VirtualMachineSoftwarePatchProperties {
+ /**
+ * A unique identifier for the patch.
+ * **NOTE: This property will not be serialized. It can only be populated by the server.**
+ */
+ readonly patchId?: string;
+ /**
+ * The friendly name of the patch.
+ * **NOTE: This property will not be serialized. It can only be populated by the server.**
+ */
+ readonly name?: string;
+ /**
+ * The version number of the patch. This property applies only to Linux patches.
+ * **NOTE: This property will not be serialized. It can only be populated by the server.**
+ */
+ readonly version?: string;
+ /**
+ * 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;
+ /**
+ * 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'
+ * **NOTE: This property will not be serialized. It can only be populated by the server.**
+ */
+ readonly rebootBehavior?: SoftwareUpdateRebootBehavior;
+ /**
+ * The activity ID of the operation that produced this result. It is used to correlate across CRP
+ * and extension logs.
+ * **NOTE: This property will not be serialized. It can only be populated by the server.**
+ */
+ readonly activityId?: string;
+ /**
+ * The UTC timestamp when the repository published this patch.
+ * **NOTE: This property will not be serialized. It can only be populated by the server.**
+ */
+ readonly publishedDate?: Date;
+ /**
+ * The UTC timestamp of the last update to this patch record.
+ * **NOTE: This property will not be serialized. It can only be populated by the server.**
+ */
+ readonly lastModifiedDateTime?: Date;
+ /**
+ * Describes the outcome of an install operation for a given patch. Possible values include:
+ * 'Installed', 'Failed', 'Excluded', 'NotSelected', 'Pending', 'Available'
+ * **NOTE: This property will not be serialized. It can only be populated by the server.**
+ */
+ readonly assessmentState?: PatchAssessmentState;
+}
+
+/**
+ * Api error base.
+ */
+export interface ApiErrorBase {
+ /**
+ * The error code.
+ */
+ code?: string;
+ /**
+ * The target of the particular error.
+ */
+ target?: string;
+ /**
+ * The error message.
+ */
+ message?: string;
+}
+
+/**
+ * Inner error details.
+ */
+export interface InnerError {
+ /**
+ * The exception type.
+ */
+ exceptiontype?: string;
+ /**
+ * The internal error message or exception dump.
+ */
+ errordetail?: string;
+}
+
+/**
+ * Api error.
+ */
+export interface ApiError {
+ /**
+ * The Api error details
+ */
+ details?: ApiErrorBase[];
+ /**
+ * The Api inner error
+ */
+ innererror?: InnerError;
+ /**
+ * The error code.
+ */
+ code?: string;
+ /**
+ * The target of the particular error.
+ */
+ target?: string;
+ /**
+ * The error message.
+ */
+ message?: string;
+}
+
+/**
+ * Describes the properties of an AssessPatches result.
+ */
+export interface VirtualMachineAssessPatchesResult {
+ /**
+ * The overall success or failure status of the operation. It remains "InProgress" until the
+ * operation completes. At that point it will become "Failed", "Succeeded", or
+ * "CompletedWithWarnings.". Possible values include: 'InProgress', 'Failed', 'Succeeded',
+ * 'CompletedWithWarnings'
+ * **NOTE: This property will not be serialized. It can only be populated by the server.**
+ */
+ readonly status?: PatchOperationStatus;
+ /**
+ * The activity ID of the operation that produced this result. It is used to correlate across CRP
+ * and extension logs.
+ * **NOTE: This property will not be serialized. It can only be populated by the server.**
+ */
+ readonly assessmentActivityId?: string;
+ /**
+ * The overall reboot status of the VM. It will be true when partially installed patches require
+ * a reboot to complete installation but the reboot has not yet occurred.
+ * **NOTE: This property will not be serialized. It can only be populated by the server.**
+ */
+ readonly rebootPending?: boolean;
+ /**
+ * The number of critical or security patches that have been detected as available and not yet
+ * installed.
+ * **NOTE: This property will not be serialized. It can only be populated by the server.**
+ */
+ readonly criticalAndSecurityPatchCount?: number;
+ /**
+ * The number of all available patches excluding critical and security.
+ * **NOTE: This property will not be serialized. It can only be populated by the server.**
+ */
+ readonly otherPatchCount?: number;
+ /**
+ * The UTC timestamp when the operation began.
+ * **NOTE: This property will not be serialized. It can only be populated by the server.**
+ */
+ readonly startDateTime?: Date;
+ /**
+ * 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[];
+ /**
+ * 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.
*/
@@ -729,6 +1032,10 @@ export interface VirtualMachineImage extends VirtualMachineImageResource {
* Possible values include: 'V1', 'V2'
*/
hyperVGeneration?: HyperVGenerationTypes;
+ /**
+ * Specifies disallowed configuration for the VirtualMachine created from the image
+ */
+ disallowed?: DisallowedConfiguration;
}
/**
@@ -903,7 +1210,8 @@ export interface HardwareProfile {
* Specifies information about the image to use. You can specify information about platform images,
* marketplace images, or virtual machine images. This element is required when you want to use a
* platform image, marketplace image, or virtual machine image, but is not used in other creation
- * operations.
+ * operations. NOTE: Image reference publisher and offer can only be set when you create the scale
+ * set.
*/
export interface ImageReference extends SubResource {
/**
@@ -1010,6 +1318,16 @@ export interface DiffDiskSettings {
* 'Local'
*/
option?: DiffDiskOptions;
+ /**
+ * Specifies the ephemeral disk placement for operating system disk.
Possible values are:
+ *
**CacheDisk**
**ResourceDisk**
Default: **CacheDisk** if one is
+ * configured for the VM size otherwise **ResourceDisk** is used.
Refer to VM size
+ * documentation for Windows VM at
+ * https://docs.microsoft.com/en-us/azure/virtual-machines/windows/sizes and Linux VM at
+ * https://docs.microsoft.com/en-us/azure/virtual-machines/linux/sizes to check which VM sizes
+ * exposes a cache disk. Possible values include: 'CacheDisk', 'ResourceDisk'
+ */
+ placement?: DiffDiskPlacement;
}
/**
@@ -1060,8 +1378,8 @@ export interface OSDisk {
image?: VirtualHardDisk;
/**
* Specifies the caching requirements.
Possible values are:
**None**
- * **ReadOnly**
**ReadWrite**
Default: **None for Standard storage. ReadOnly
- * for Premium storage**. Possible values include: 'None', 'ReadOnly', 'ReadWrite'
+ * **ReadOnly**
**ReadWrite**
Default: **None** for Standard storage.
+ * **ReadOnly** for Premium storage. Possible values include: 'None', 'ReadOnly', 'ReadWrite'
*/
caching?: CachingTypes;
/**
@@ -1192,6 +1510,19 @@ export interface StorageProfile {
dataDisks?: DataDisk[];
}
+/**
+ * Specifies the Security profile settings for the virtual machine or virtual machine scale set.
+ */
+export interface SecurityProfile {
+ /**
+ * This property can be used by user in the request to enable or disable the Host Encryption for
+ * the virtual machine or virtual machine scale set. This will enable the encryption for all the
+ * disks including Resource/Temp disk at host itself.
Default: The Encryption at host
+ * will be disabled unless this property is set to true for the resource.
+ */
+ encryptionAtHost?: boolean;
+}
+
/**
* Enables or disables a capability on the virtual machine or virtual machine scale set.
*/
@@ -1264,6 +1595,24 @@ export interface WinRMConfiguration {
listeners?: WinRMListener[];
}
+/**
+ * An interface representing PatchSettings.
+ */
+export interface PatchSettings {
+ /**
+ * Specifies the mode of in-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'
+ */
+ patchMode?: InGuestPatchMode;
+}
+
/**
* Specifies Windows operating system settings on the virtual machine.
*/
@@ -1294,6 +1643,10 @@ export interface WindowsConfiguration {
* Unattend.xml file, which is used by Windows Setup.
*/
additionalUnattendContent?: AdditionalUnattendContent[];
+ /**
+ * Specifies settings related to in-guest patching (KBs).
+ */
+ patchSettings?: PatchSettings;
/**
* Specifies the Windows Remote Management listeners. This enables remote Windows PowerShell.
*/
@@ -1473,7 +1826,8 @@ export interface OSProfile {
allowExtensionOperations?: boolean;
/**
* Specifies whether the guest provision signal is required to infer provision success of the
- * virtual machine.
+ * virtual machine. **Note: This property is for private testing only, and all customers must
+ * not set the property to false.**
*/
requireGuestProvisionSignal?: boolean;
}
@@ -1491,7 +1845,8 @@ export interface AutomaticRepairsPolicy {
* The amount of time for which automatic repairs are suspended due to a state change on VM. The
* grace time starts after the state change has completed. This helps avoid premature or
* accidental repairs. The time duration should be specified in ISO 8601 format. The minimum
- * allowed grace period is 30 minutes (PT30M), which is also the default value.
+ * allowed grace period is 30 minutes (PT30M), which is also the default value. The maximum
+ * allowed grace period is 90 minutes (PT90M).
*/
gracePeriod?: string;
}
@@ -1529,7 +1884,8 @@ export interface BootDiagnostics {
*/
enabled?: boolean;
/**
- * Uri of the storage account to use for placing the console output and screenshot.
+ * Uri of the storage account to use for placing the console output and screenshot.
If
+ * storageUri is not specified while enabling boot diagnostics, managed storage will be used.
*/
storageUri?: string;
}
@@ -1625,12 +1981,14 @@ export interface DiskInstanceView {
*/
export interface BootDiagnosticsInstanceView {
/**
- * The console screenshot blob URI.
+ * The console screenshot blob URI.
NOTE: This will **not** be set if boot diagnostics is
+ * currently enabled with managed storage.
* **NOTE: This property will not be serialized. It can only be populated by the server.**
*/
readonly consoleScreenshotBlobUri?: string;
/**
- * The Linux serial console log blob Uri.
+ * The serial console log blob Uri.
NOTE: This will **not** be set if boot diagnostics is
+ * currently enabled with managed storage.
* **NOTE: This property will not be serialized. It can only be populated by the server.**
*/
readonly serialConsoleLogBlobUri?: string;
@@ -1725,11 +2083,173 @@ export interface MaintenanceRedeployStatus {
}
/**
- * The instance view of a virtual machine.
+ * The health status of the VM.
*/
-export interface VirtualMachineInstanceView {
+export interface VirtualMachineHealthStatus {
/**
- * Specifies the update domain of the virtual machine.
+ * The health status information for the VM.
+ * **NOTE: This property will not be serialized. It can only be populated by the server.**
+ */
+ readonly status?: InstanceViewStatus;
+}
+
+/**
+ * Describes the properties of an virtual machine instance view for available patch summary.
+ */
+export interface AvailablePatchSummary {
+ /**
+ * The overall success or failure status of the operation. It remains "InProgress" until the
+ * operation completes. At that point it will become "Failed", "Succeeded", or
+ * "CompletedWithWarnings.". Possible values include: 'InProgress', 'Failed', 'Succeeded',
+ * 'CompletedWithWarnings'
+ * **NOTE: This property will not be serialized. It can only be populated by the server.**
+ */
+ readonly status?: PatchOperationStatus;
+ /**
+ * The activity ID of the operation that produced this result. It is used to correlate across CRP
+ * and extension logs.
+ * **NOTE: This property will not be serialized. It can only be populated by the server.**
+ */
+ readonly assessmentActivityId?: string;
+ /**
+ * The overall reboot status of the VM. It will be true when partially installed patches require
+ * a reboot to complete installation but the reboot has not yet occurred.
+ * **NOTE: This property will not be serialized. It can only be populated by the server.**
+ */
+ readonly rebootPending?: boolean;
+ /**
+ * The number of critical or security patches that have been detected as available and not yet
+ * installed.
+ * **NOTE: This property will not be serialized. It can only be populated by the server.**
+ */
+ readonly criticalAndSecurityPatchCount?: number;
+ /**
+ * The number of all available patches excluding critical and security.
+ * **NOTE: This property will not be serialized. It can only be populated by the server.**
+ */
+ readonly otherPatchCount?: number;
+ /**
+ * The UTC timestamp when the operation began.
+ * **NOTE: This property will not be serialized. It can only be populated by the server.**
+ */
+ readonly startTime?: Date;
+ /**
+ * The UTC timestamp when the operation began.
+ * **NOTE: This property will not be serialized. It can only be populated by the server.**
+ */
+ readonly lastModifiedTime?: Date;
+ /**
+ * The errors that were encountered during execution of the operation. The details array contains
+ * the list of them.
+ * **NOTE: This property will not be serialized. It can only be populated by the server.**
+ */
+ readonly error?: ApiError;
+}
+
+/**
+ * Describes the properties of the last installed patch summary.
+ */
+export interface LastPatchInstallationSummary {
+ /**
+ * The overall success or failure status of the operation. It remains "InProgress" until the
+ * operation completes. At that point it will become "Failed", "Succeeded", or
+ * "CompletedWithWarnings.". Possible values include: 'InProgress', 'Failed', 'Succeeded',
+ * 'CompletedWithWarnings'
+ * **NOTE: This property will not be serialized. It can only be populated by the server.**
+ */
+ readonly status?: PatchOperationStatus;
+ /**
+ * The activity ID of the operation that produced this result. It is used to correlate across CRP
+ * and extension logs.
+ * **NOTE: This property will not be serialized. It can only be populated by the server.**
+ */
+ readonly installationActivityId?: string;
+ /**
+ * Describes whether the operation ran out of time before it completed all its intended actions
+ * **NOTE: This property will not be serialized. It can only be populated by the server.**
+ */
+ readonly maintenanceWindowExceeded?: boolean;
+ /**
+ * The 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.
+ * **NOTE: This property will not be serialized. It can only be populated by the server.**
+ */
+ readonly notSelectedPatchCount?: number;
+ /**
+ * The number of all available patches but excluded explicitly by a customer-specified exclusion
+ * list match.
+ * **NOTE: This property will not be serialized. It can only be populated by the server.**
+ */
+ readonly excludedPatchCount?: number;
+ /**
+ * The number of all available patches expected to be installed over the course of the patch
+ * installation operation.
+ * **NOTE: This property will not be serialized. It can only be populated by the server.**
+ */
+ readonly pendingPatchCount?: number;
+ /**
+ * The count of patches that successfully installed.
+ * **NOTE: This property will not be serialized. It can only be populated by the server.**
+ */
+ readonly installedPatchCount?: number;
+ /**
+ * The count of patches that failed installation.
+ * **NOTE: This property will not be serialized. It can only be populated by the server.**
+ */
+ readonly failedPatchCount?: number;
+ /**
+ * The UTC timestamp when the operation began.
+ * **NOTE: This property will not be serialized. It can only be populated by the server.**
+ */
+ readonly startTime?: Date;
+ /**
+ * The UTC timestamp when the operation began.
+ * **NOTE: This property will not be serialized. It can only be populated by the server.**
+ */
+ readonly lastModifiedTime?: Date;
+ /**
+ * The 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.
+ * **NOTE: This property will not be serialized. It can only be populated by the server.**
+ */
+ readonly error?: ApiError;
+}
+
+/**
+ * The status of virtual machine patch operations.
+ */
+export interface VirtualMachinePatchStatus {
+ /**
+ * The available patch summary of the latest assessment operation for the virtual machine.
+ */
+ availablePatchSummary?: AvailablePatchSummary;
+ /**
+ * The installation summary of the latest installation operation for the virtual machine.
+ */
+ lastPatchInstallationSummary?: LastPatchInstallationSummary;
+}
+
+/**
+ * The instance view of a virtual machine.
+ */
+export interface VirtualMachineInstanceView {
+ /**
+ * Specifies the update domain of the virtual machine.
*/
platformUpdateDomain?: number;
/**
@@ -1773,16 +2293,32 @@ export interface VirtualMachineInstanceView {
* The extensions information.
*/
extensions?: VirtualMachineExtensionInstanceView[];
+ /**
+ * The health status for the VM.
+ * **NOTE: This property will not be serialized. It can only be populated by the server.**
+ */
+ readonly vmHealth?: VirtualMachineHealthStatus;
/**
* Boot Diagnostics is a debugging feature which allows you to view Console Output and Screenshot
* to diagnose VM status.
You can easily view the output of your console log.
* Azure also enables you to see a screenshot of the VM from the hypervisor.
*/
bootDiagnostics?: BootDiagnosticsInstanceView;
+ /**
+ * Resource id of the dedicated host, on which the virtual machine is allocated through automatic
+ * placement, when the virtual machine is associated with a dedicated host group that has
+ * automatic placement enabled.
Minimum api-version: 2020-06-01.
+ * **NOTE: This property will not be serialized. It can only be populated by the server.**
+ */
+ readonly assignedHost?: string;
/**
* The resource status information.
*/
statuses?: InstanceViewStatus[];
+ /**
+ * The status of virtual machine patch operations.
+ */
+ patchStatus?: VirtualMachinePatchStatus;
}
/**
@@ -1818,6 +2354,10 @@ export interface VirtualMachine extends Resource {
* Specifies the network interfaces of the virtual machine.
*/
networkProfile?: NetworkProfile;
+ /**
+ * Specifies the Security related profile settings for the virtual machine.
+ */
+ securityProfile?: SecurityProfile;
/**
* Specifies the boot diagnostic settings state.
Minimum api-version: 2015-06-15.
*/
@@ -1858,7 +2398,7 @@ export interface VirtualMachine extends Resource {
priority?: VirtualMachinePriorityTypes;
/**
* Specifies the eviction policy for the Azure Spot virtual machine and Azure Spot scale set.
- *
For Azure Spot virtual machines, the only supported value is 'Deallocate' and the
+ *
For Azure Spot virtual machines, both 'Deallocate' and 'Delete' are supported and the
* minimum api-version is 2019-03-01.
For Azure Spot scale sets, both 'Deallocate' and
* 'Delete' are supported and the minimum api-version is 2017-10-30-preview. Possible values
* include: 'Deallocate', 'Delete'
@@ -1874,6 +2414,12 @@ export interface VirtualMachine extends Resource {
*
Minimum api-version: 2018-10-01.
*/
host?: SubResource;
+ /**
+ * Specifies information about the dedicated host group that the virtual machine resides in.
+ *
Minimum api-version: 2020-06-01.
NOTE: User cannot specify both host and
+ * hostGroup properties.
+ */
+ hostGroup?: SubResource;
/**
* The provisioning state, which only appears in the response.
* **NOTE: This property will not be serialized. It can only be populated by the server.**
@@ -1900,6 +2446,12 @@ export interface VirtualMachine extends Resource {
* **NOTE: This property will not be serialized. It can only be populated by the server.**
*/
readonly vmId?: string;
+ /**
+ * Specifies the time alloted for all extensions to start. The time duration should be between 15
+ * minutes and 120 minutes (inclusive) and should be specified in ISO 8601 format. The default
+ * value is 90 minutes (PT1H30M).
Minimum api-version: 2020-06-01
+ */
+ extensionsTimeBudget?: string;
/**
* The virtual machine child extension resources.
* **NOTE: This property will not be serialized. It can only be populated by the server.**
@@ -1948,6 +2500,10 @@ export interface VirtualMachineUpdate extends UpdateResource {
* Specifies the network interfaces of the virtual machine.
*/
networkProfile?: NetworkProfile;
+ /**
+ * Specifies the Security related profile settings for the virtual machine.
+ */
+ securityProfile?: SecurityProfile;
/**
* Specifies the boot diagnostic settings state.
Minimum api-version: 2015-06-15.
*/
@@ -1988,7 +2544,7 @@ export interface VirtualMachineUpdate extends UpdateResource {
priority?: VirtualMachinePriorityTypes;
/**
* Specifies the eviction policy for the Azure Spot virtual machine and Azure Spot scale set.
- *
For Azure Spot virtual machines, the only supported value is 'Deallocate' and the
+ *
For Azure Spot virtual machines, both 'Deallocate' and 'Delete' are supported and the
* minimum api-version is 2019-03-01.
For Azure Spot scale sets, both 'Deallocate' and
* 'Delete' are supported and the minimum api-version is 2017-10-30-preview. Possible values
* include: 'Deallocate', 'Delete'
@@ -2004,6 +2560,12 @@ export interface VirtualMachineUpdate extends UpdateResource {
*
Minimum api-version: 2018-10-01.
*/
host?: SubResource;
+ /**
+ * Specifies information about the dedicated host group that the virtual machine resides in.
+ *
Minimum api-version: 2020-06-01.
NOTE: User cannot specify both host and
+ * hostGroup properties.
+ */
+ hostGroup?: SubResource;
/**
* The provisioning state, which only appears in the response.
* **NOTE: This property will not be serialized. It can only be populated by the server.**
@@ -2030,6 +2592,12 @@ export interface VirtualMachineUpdate extends UpdateResource {
* **NOTE: This property will not be serialized. It can only be populated by the server.**
*/
readonly vmId?: string;
+ /**
+ * Specifies the time alloted for all extensions to start. The time duration should be between 15
+ * minutes and 120 minutes (inclusive) and should be specified in ISO 8601 format. The default
+ * value is 90 minutes (PT1H30M).
Minimum api-version: 2020-06-01
+ */
+ extensionsTimeBudget?: string;
/**
* The identity of the virtual machine, if configured.
*/
@@ -2740,19 +3308,21 @@ export interface VirtualMachineScaleSetIPConfiguration extends SubResource {
/**
* Specifies an array of references to backend address pools of load balancers. A scale set can
* reference backend address pools of one public and one internal load balancer. Multiple scale
- * sets cannot use the same load balancer.
+ * sets cannot use the same basic sku load balancer.
*/
loadBalancerBackendAddressPools?: SubResource[];
/**
* Specifies an array of references to inbound Nat pools of the load balancers. A scale set can
* reference inbound nat pools of one public and one internal load balancer. Multiple scale sets
- * cannot use the same load balancer
+ * cannot use the same basic sku load balancer.
*/
loadBalancerInboundNatPools?: SubResource[];
}
/**
- * Describes a virtual machine scale set network profile's IP configuration.
+ * Describes a virtual machine scale set network profile's IP configuration. NOTE: The subnet of a
+ * scale set may be modified as long as the original subnet and the new subnet are in the same
+ * virtual network
*/
export interface VirtualMachineScaleSetUpdateIPConfiguration extends SubResource {
/**
@@ -2943,6 +3513,11 @@ export interface VirtualMachineScaleSetExtension extends SubResourceReadOnly {
* 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.
*/
@@ -3000,6 +3575,11 @@ export interface VirtualMachineScaleSetExtensionUpdate extends SubResourceReadOn
* 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.
*/
@@ -3028,6 +3608,12 @@ export interface VirtualMachineScaleSetExtensionProfile {
* The virtual machine scale set child extension resources.
*/
extensions?: VirtualMachineScaleSetExtension[];
+ /**
+ * Specifies the time alloted for all extensions to start. The time duration should be between 15
+ * minutes and 120 minutes (inclusive) and should be specified in ISO 8601 format. The default
+ * value is 90 minutes (PT1H30M).
Minimum api-version: 2020-06-01
+ */
+ extensionsTimeBudget?: string;
}
/**
@@ -3072,6 +3658,10 @@ export interface VirtualMachineScaleSetVMProfile {
* Specifies properties of the network interfaces of the virtual machines in the scale set.
*/
networkProfile?: VirtualMachineScaleSetNetworkProfile;
+ /**
+ * Specifies the Security related profile settings for the virtual machines in the scale set.
+ */
+ securityProfile?: SecurityProfile;
/**
* Specifies the boot diagnostic settings state.
Minimum api-version: 2015-06-15.
*/
@@ -3098,7 +3688,7 @@ export interface VirtualMachineScaleSetVMProfile {
priority?: VirtualMachinePriorityTypes;
/**
* Specifies the eviction policy for the Azure Spot virtual machine and Azure Spot scale set.
- *
For Azure Spot virtual machines, the only supported value is 'Deallocate' and the
+ *
For Azure Spot virtual machines, both 'Deallocate' and 'Delete' are supported and the
* minimum api-version is 2019-03-01.
For Azure Spot scale sets, both 'Deallocate' and
* 'Delete' are supported and the minimum api-version is 2017-10-30-preview. Possible values
* include: 'Deallocate', 'Delete'
@@ -3131,6 +3721,10 @@ export interface VirtualMachineScaleSetUpdateVMProfile {
* The virtual machine scale set network profile.
*/
networkProfile?: VirtualMachineScaleSetUpdateNetworkProfile;
+ /**
+ * The virtual machine scale set Security profile
+ */
+ securityProfile?: SecurityProfile;
/**
* The virtual machine scale set diagnostics profile.
*/
@@ -3204,7 +3798,8 @@ export interface VirtualMachineScaleSet extends Resource {
readonly uniqueId?: string;
/**
* When true this limits the scale set to a single placement group, of max size 100 virtual
- * machines.
+ * machines. NOTE: If singlePlacementGroup is true, it may be modified to false. However, if
+ * singlePlacementGroup is false, it may not be modified to true.
*/
singlePlacementGroup?: boolean;
/**
@@ -3221,6 +3816,11 @@ export interface VirtualMachineScaleSet extends Resource {
* should be assigned to.
Minimum api-version: 2018-04-01.
*/
proximityPlacementGroup?: SubResource;
+ /**
+ * Specifies information about the dedicated host group that the virtual machine scale set
+ * resides in.
Minimum api-version: 2020-06-01.
+ */
+ hostGroup?: SubResource;
/**
* Specifies additional capabilities enabled or disabled on the Virtual Machines in the Virtual
* Machine Scale Set. For instance: whether the Virtual Machines have the capability to support
@@ -3237,7 +3837,8 @@ export interface VirtualMachineScaleSet extends Resource {
*/
identity?: VirtualMachineScaleSetIdentity;
/**
- * The virtual machine scale set zones.
+ * The virtual machine scale set zones. NOTE: Availability zones can only be set when you create
+ * the scale set
*/
zones?: string[];
}
@@ -3296,7 +3897,8 @@ export interface VirtualMachineScaleSetUpdate extends UpdateResource {
doNotRunExtensionsOnOverprovisionedVMs?: boolean;
/**
* When true this limits the scale set to a single placement group, of max size 100 virtual
- * machines.
+ * machines. NOTE: If singlePlacementGroup is true, it may be modified to false. However, if
+ * singlePlacementGroup is false, it may not be modified to true.
*/
singlePlacementGroup?: boolean;
/**
@@ -3386,6 +3988,24 @@ export interface VirtualMachineScaleSetVMExtensionsSummary {
readonly statusesSummary?: VirtualMachineStatusCodeCount[];
}
+/**
+ * Summary for an orchestration service of a virtual machine scale set.
+ */
+export interface OrchestrationServiceSummary {
+ /**
+ * The name of the service. Possible values include: 'AutomaticRepairs',
+
+ * **NOTE: This property will not be serialized. It can only be populated by the server.**
+ */
+ readonly serviceName?: OrchestrationServiceNames;
+ /**
+ * The current state of the service. Possible values include: 'NotRunning', 'Running',
+ * 'Suspended'
+ * **NOTE: This property will not be serialized. It can only be populated by the server.**
+ */
+ readonly serviceState?: OrchestrationServiceState;
+}
+
/**
* The instance view of a virtual machine scale set.
*/
@@ -3404,6 +4024,11 @@ export interface VirtualMachineScaleSetInstanceView {
* The resource status information.
*/
statuses?: InstanceViewStatus[];
+ /**
+ * The orchestration services information.
+ * **NOTE: This property will not be serialized. It can only be populated by the server.**
+ */
+ readonly orchestrationServices?: OrchestrationServiceSummary[];
}
/**
@@ -3453,64 +4078,6 @@ export interface VirtualMachineScaleSetSku {
readonly capacity?: VirtualMachineScaleSetSkuCapacity;
}
-/**
- * Api error base.
- */
-export interface ApiErrorBase {
- /**
- * The error code.
- */
- code?: string;
- /**
- * The target of the particular error.
- */
- target?: string;
- /**
- * The error message.
- */
- message?: string;
-}
-
-/**
- * Inner error details.
- */
-export interface InnerError {
- /**
- * The exception type.
- */
- exceptiontype?: string;
- /**
- * The internal error message or exception dump.
- */
- errordetail?: string;
-}
-
-/**
- * Api error.
- */
-export interface ApiError {
- /**
- * The Api error details
- */
- details?: ApiErrorBase[];
- /**
- * The Api inner error
- */
- innererror?: InnerError;
- /**
- * The error code.
- */
- code?: string;
- /**
- * The target of the particular error.
- */
- target?: string;
- /**
- * The error message.
- */
- message?: string;
-}
-
/**
* Information about rollback on failed VM instances after a OS Upgrade operation.
*/
@@ -3637,17 +4204,6 @@ export interface UpgradeOperationHistoricalStatusInfo {
readonly location?: string;
}
-/**
- * The health status of the VM.
- */
-export interface VirtualMachineHealthStatus {
- /**
- * The health status information for the VM.
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
- */
- readonly status?: InstanceViewStatus;
-}
-
/**
* The instance view of a virtual machine scale set VM.
*/
@@ -3695,6 +4251,13 @@ export interface VirtualMachineScaleSetVMInstanceView {
* The resource status information.
*/
statuses?: InstanceViewStatus[];
+ /**
+ * Resource id of the dedicated host, on which the virtual machine is allocated through automatic
+ * placement, when the virtual machine is associated with a dedicated host group that has
+ * automatic placement enabled.
Minimum api-version: 2020-06-01.
+ * **NOTE: This property will not be serialized. It can only be populated by the server.**
+ */
+ readonly assignedHost?: string;
/**
* The placement group in which the VM is running. If the VM is deallocated it will not have a
* placementGroupId.
@@ -3775,6 +4338,10 @@ export interface VirtualMachineScaleSetVM extends Resource {
* Specifies the operating system settings for the virtual machine.
*/
osProfile?: OSProfile;
+ /**
+ * Specifies the Security related profile settings for the virtual machine.
+ */
+ securityProfile?: SecurityProfile;
/**
* Specifies the network interfaces of the virtual machine.
*/
@@ -3996,6 +4563,21 @@ export interface VMScaleSetConvertToSinglePlacementGroupInput {
activePlacementGroupId?: string;
}
+/**
+ * The input for OrchestrationServiceState
+ */
+export interface OrchestrationServiceStateInput {
+ /**
+ * The name of the service. Possible values include: 'AutomaticRepairs',
+
+ */
+ serviceName: OrchestrationServiceNames;
+ /**
+ * The action to be performed. Possible values include: 'Resume', 'Suspend'
+ */
+ action: OrchestrationServiceStateAction;
+}
+
/**
* Describes the properties of a run command parameter.
*/
@@ -4390,6 +4972,11 @@ export interface CreationData {
* 35183298347520 bytes (32 TiB + 512 bytes for the VHD footer).
*/
uploadSizeBytes?: number;
+ /**
+ * Logical sector size in bytes for Ultra disks. Supported values are 512 ad 4096. 4096 is the
+ * default.
+ */
+ logicalSectorSize?: number;
}
/**
@@ -4479,8 +5066,8 @@ export interface Encryption {
*/
diskEncryptionSetId?: string;
/**
- * The type of key used to encrypt the data of the disk. Possible values include:
- * 'EncryptionAtRestWithPlatformKey', 'EncryptionAtRestWithCustomerKey'
+ * Possible values include: 'EncryptionAtRestWithPlatformKey', 'EncryptionAtRestWithCustomerKey',
+ * 'EncryptionAtRestWithPlatformAndCustomerKeys'
*/
type?: EncryptionType;
}
@@ -4586,9 +5173,8 @@ export interface Disk extends Resource {
/**
* The state of the disk. Possible values include: 'Unattached', 'Attached', 'Reserved',
* 'ActiveSAS', 'ReadyToUpload', 'ActiveUpload'
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
*/
- readonly diskState?: DiskState;
+ diskState?: DiskState;
/**
* Encryption property can be used to encrypt data at rest with customer managed keys or platform
* managed keys.
@@ -4605,6 +5191,20 @@ export interface Disk extends Resource {
* **NOTE: This property will not be serialized. It can only be populated by the server.**
*/
readonly shareInfo?: ShareInfoElement[];
+ /**
+ * Possible values include: 'AllowAll', 'AllowPrivate', 'DenyAll'
+ */
+ networkAccessPolicy?: NetworkAccessPolicy;
+ /**
+ * ARM id of the DiskAccess resource for using private endpoints on disks.
+ */
+ diskAccessId?: string;
+ /**
+ * Performance tier of the disk (e.g, P4, S10) as described here:
+ * https://azure.microsoft.com/en-us/pricing/details/managed-disks/. Does not apply to Ultra
+ * disks.
+ */
+ tier?: string;
}
/**
@@ -4658,6 +5258,20 @@ export interface DiskUpdate {
* managed keys.
*/
encryption?: Encryption;
+ /**
+ * Possible values include: 'AllowAll', 'AllowPrivate', 'DenyAll'
+ */
+ networkAccessPolicy?: NetworkAccessPolicy;
+ /**
+ * ARM id of the DiskAccess resource for using private endpoints on disks.
+ */
+ diskAccessId?: string;
+ /**
+ * Performance tier of the disk (e.g, P4, S10) as described here:
+ * https://azure.microsoft.com/en-us/pricing/details/managed-disks/. Does not apply to Ultra
+ * disks.
+ */
+ tier?: string;
/**
* Resource tags
*/
@@ -4716,7 +5330,7 @@ export interface Snapshot extends Resource {
readonly managedBy?: string;
sku?: SnapshotSku;
/**
- * The time when the disk was created.
+ * The time when the snapshot was created.
* **NOTE: This property will not be serialized. It can only be populated by the server.**
*/
readonly timeCreated?: Date;
@@ -4746,6 +5360,11 @@ export interface Snapshot extends Resource {
* **NOTE: This property will not be serialized. It can only be populated by the server.**
*/
readonly diskSizeBytes?: number;
+ /**
+ * The state of the snapshot. Possible values include: 'Unattached', 'Attached', 'Reserved',
+ * 'ActiveSAS', 'ReadyToUpload', 'ActiveUpload'
+ */
+ diskState?: DiskState;
/**
* Unique Guid identifying the resource.
* **NOTE: This property will not be serialized. It can only be populated by the server.**
@@ -4771,6 +5390,14 @@ export interface Snapshot extends Resource {
* managed keys.
*/
encryption?: Encryption;
+ /**
+ * Possible values include: 'AllowAll', 'AllowPrivate', 'DenyAll'
+ */
+ networkAccessPolicy?: NetworkAccessPolicy;
+ /**
+ * ARM id of the DiskAccess resource for using private endpoints on disks.
+ */
+ diskAccessId?: string;
}
/**
@@ -4798,6 +5425,14 @@ export interface SnapshotUpdate {
* managed keys.
*/
encryption?: Encryption;
+ /**
+ * Possible values include: 'AllowAll', 'AllowPrivate', 'DenyAll'
+ */
+ networkAccessPolicy?: NetworkAccessPolicy;
+ /**
+ * ARM id of the DiskAccess resource for using private endpoints on disks.
+ */
+ diskAccessId?: string;
/**
* Resource tags
*/
@@ -4836,6 +5471,11 @@ export interface EncryptionSetIdentity {
*/
export interface DiskEncryptionSet extends Resource {
identity?: EncryptionSetIdentity;
+ /**
+ * Possible values include: 'EncryptionAtRestWithCustomerKey',
+ * 'EncryptionAtRestWithPlatformAndCustomerKeys'
+ */
+ encryptionType?: DiskEncryptionSetType;
/**
* The key vault key which is currently used by this disk encryption set.
*/
@@ -4857,6 +5497,11 @@ export interface DiskEncryptionSet extends Resource {
* disk encryption set update resource.
*/
export interface DiskEncryptionSetUpdate {
+ /**
+ * Possible values include: 'EncryptionAtRestWithCustomerKey',
+ * 'EncryptionAtRestWithPlatformAndCustomerKeys'
+ */
+ encryptionType?: DiskEncryptionSetType;
activeKey?: KeyVaultAndKeyReference;
/**
* Resource tags
@@ -4864,6 +5509,149 @@ export interface DiskEncryptionSetUpdate {
tags?: { [propertyName: string]: string };
}
+/**
+ * The Private Endpoint resource.
+ */
+export interface PrivateEndpoint {
+ /**
+ * The ARM identifier for Private Endpoint
+ * **NOTE: This property will not be serialized. It can only be populated by the server.**
+ */
+ readonly id?: string;
+}
+
+/**
+ * A collection of information about the state of the connection between service consumer and
+ * provider.
+ */
+export interface PrivateLinkServiceConnectionState {
+ /**
+ * Indicates whether the connection has been Approved/Rejected/Removed by the owner of the
+ * service. Possible values include: 'Pending', 'Approved', 'Rejected'
+ */
+ status?: PrivateEndpointServiceConnectionStatus;
+ /**
+ * The reason for approval/rejection of the connection.
+ */
+ description?: string;
+ /**
+ * A message indicating if changes on the service provider require any updates on the consumer.
+ */
+ actionsRequired?: string;
+}
+
+/**
+ * The Private Endpoint Connection resource.
+ */
+export interface PrivateEndpointConnection {
+ /**
+ * The resource of private end point.
+ */
+ privateEndpoint?: PrivateEndpoint;
+ /**
+ * A collection of information about the state of the connection between DiskAccess and Virtual
+ * Network.
+ */
+ privateLinkServiceConnectionState: PrivateLinkServiceConnectionState;
+ /**
+ * The provisioning state of the private endpoint connection resource. Possible values include:
+ * 'Succeeded', 'Creating', 'Deleting', 'Failed'
+ */
+ provisioningState?: PrivateEndpointConnectionProvisioningState;
+ /**
+ * private endpoint connection Id
+ * **NOTE: This property will not be serialized. It can only be populated by the server.**
+ */
+ readonly id?: string;
+ /**
+ * private endpoint connection name
+ * **NOTE: This property will not be serialized. It can only be populated by the server.**
+ */
+ readonly name?: string;
+ /**
+ * private endpoint connection type
+ * **NOTE: This property will not be serialized. It can only be populated by the server.**
+ */
+ readonly type?: string;
+}
+
+/**
+ * disk access resource.
+ */
+export interface DiskAccess extends Resource {
+ /**
+ * A readonly collection of private endpoint connections created on the disk. Currently only one
+ * endpoint connection is supported.
+ * **NOTE: This property will not be serialized. It can only be populated by the server.**
+ */
+ readonly privateEndpointConnections?: PrivateEndpointConnection[];
+ /**
+ * The disk access resource provisioning state.
+ * **NOTE: This property will not be serialized. It can only be populated by the server.**
+ */
+ readonly provisioningState?: string;
+ /**
+ * The time when the disk access was created.
+ * **NOTE: This property will not be serialized. It can only be populated by the server.**
+ */
+ readonly timeCreated?: Date;
+}
+
+/**
+ * Used for updating a disk access resource.
+ */
+export interface DiskAccessUpdate {
+ /**
+ * Resource tags
+ */
+ tags?: { [propertyName: string]: string };
+}
+
+/**
+ * A private link resource
+ */
+export interface PrivateLinkResource {
+ /**
+ * The private link resource group id.
+ * **NOTE: This property will not be serialized. It can only be populated by the server.**
+ */
+ readonly groupId?: string;
+ /**
+ * The private link resource required member names.
+ * **NOTE: This property will not be serialized. It can only be populated by the server.**
+ */
+ readonly requiredMembers?: string[];
+ /**
+ * The private link resource DNS zone name.
+ */
+ requiredZoneNames?: string[];
+ /**
+ * private link resource Id
+ * **NOTE: This property will not be serialized. It can only be populated by the server.**
+ */
+ readonly id?: string;
+ /**
+ * private link resource name
+ * **NOTE: This property will not be serialized. It can only be populated by the server.**
+ */
+ readonly name?: string;
+ /**
+ * private link resource type
+ * **NOTE: This property will not be serialized. It can only be populated by the server.**
+ */
+ readonly type?: string;
+}
+
+/**
+ * A list of private link resources
+ */
+export interface PrivateLinkResourceListResult {
+ /**
+ * Array of private link resources
+ */
+ value?: PrivateLinkResource[];
+}
+
/**
* Describes the gallery unique name.
*/
@@ -5048,7 +5836,7 @@ export interface GalleryArtifactPublishingProfileBase {
endOfLifeDate?: Date;
/**
* Specifies the storage account type to be used to store the image. This property is not
- * updatable. Possible values include: 'Standard_LRS', 'Standard_ZRS'
+ * updatable. Possible values include: 'Standard_LRS', 'Standard_ZRS', 'Premium_LRS'
*/
storageAccountType?: StorageAccountType;
}
@@ -5340,7 +6128,7 @@ export interface GalleryArtifactVersionSource {
* The id of the gallery artifact version source. Can specify a disk uri, snapshot uri, or user
* image.
*/
- id: string;
+ id?: string;
}
/**
@@ -5483,7 +6271,7 @@ export interface TargetRegion {
regionalReplicaCount?: number;
/**
* Specifies the storage account type to be used to store the image. This property is not
- * updatable. Possible values include: 'Standard_LRS', 'Standard_ZRS'
+ * updatable. Possible values include: 'Standard_LRS', 'Standard_ZRS', 'Premium_LRS'
*/
storageAccountType?: StorageAccountType;
encryption?: EncryptionImages;
@@ -5721,7 +6509,7 @@ export interface ContainerService extends Resource {
*/
export interface AvailabilitySetsListBySubscriptionOptionalParams extends msRest.RequestOptionsBase {
/**
- * The expand expression to apply to the operation.
+ * The expand expression to apply to the operation. Allowed values are 'instanceView'.
*/
expand?: string;
}
@@ -5737,6 +6525,17 @@ export interface ProximityPlacementGroupsGetOptionalParams extends msRest.Reques
includeColocationStatus?: string;
}
+/**
+ * Optional Parameters.
+ */
+export interface DedicatedHostGroupsGetOptionalParams extends msRest.RequestOptionsBase {
+ /**
+ * 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'
+ */
+ expand?: InstanceViewTypes;
+}
+
/**
* Optional Parameters.
*/
@@ -5833,6 +6632,18 @@ export interface VirtualMachinesReimageOptionalParams extends msRest.RequestOpti
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
+ * of 120 minutes.
+ */
+ sasUriExpirationTimeInMinutes?: number;
+}
+
/**
* Optional Parameters.
*/
@@ -6092,15 +6903,17 @@ export interface VirtualMachineScaleSetVMsGetOptionalParams extends msRest.Reque
*/
export interface VirtualMachineScaleSetVMsListOptionalParams extends msRest.RequestOptionsBase {
/**
- * The filter to apply to the operation.
+ * 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.
+ * The list parameters. Allowed values are 'instanceView', 'instanceView/statuses'.
*/
select?: string;
/**
- * The expand expression to apply to the operation.
+ * The expand expression to apply to the operation. Allowed values are 'instanceView'.
*/
expand?: string;
}
@@ -6117,6 +6930,18 @@ export interface VirtualMachineScaleSetVMsPowerOffOptionalParams extends msRest.
skipShutdown?: boolean;
}
+/**
+ * Optional Parameters.
+ */
+export interface VirtualMachineScaleSetVMsRetrieveBootDiagnosticsDataOptionalParams 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
+ * of 120 minutes.
+ */
+ sasUriExpirationTimeInMinutes?: number;
+}
+
/**
* Optional Parameters.
*/
@@ -6144,7 +6969,7 @@ export interface VirtualMachineScaleSetVMsBeginPowerOffOptionalParams extends ms
*/
export interface ResourceSkusListOptionalParams extends msRest.RequestOptionsBase {
/**
- * The filter to apply on the operation.
+ * The filter to apply on the operation. Only **location** filter is supported currently.
*/
filter?: string;
}
@@ -6243,6 +7068,19 @@ export interface DedicatedHostListResult extends Array {
nextLink?: string;
}
+/**
+ * @interface
+ * The list SSH public keys operation response.
+ * @extends Array
+ */
+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;
+}
+
/**
* @interface
* The List Usages operation response.
@@ -6425,6 +7263,32 @@ export interface DiskEncryptionSetList extends Array {
nextLink?: string;
}
+/**
+ * @interface
+ * The List resources which are encrypted with the disk encryption set.
+ * @extends Array
+ */
+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;
+}
+
+/**
+ * @interface
+ * The List disk access operation response.
+ * @extends Array
+ */
+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;
+}
+
/**
* @interface
* The List Galleries operation response.
@@ -6502,6 +7366,14 @@ export interface ContainerServiceListResult extends Array {
nextLink?: string;
}
+/**
+ * Defines values for VmDiskTypes.
+ * Possible values include: 'None', 'Unmanaged'
+ * @readonly
+ * @enum {string}
+ */
+export type VmDiskTypes = 'None' | 'Unmanaged';
+
/**
* Defines values for HyperVGenerationTypes.
* Possible values include: 'V1', 'V2'
@@ -6542,6 +7414,31 @@ export type ProximityPlacementGroupType = 'Standard' | 'Ultra';
*/
export type DedicatedHostLicenseTypes = 'None' | 'Windows_Server_Hybrid' | 'Windows_Server_Perpetual';
+/**
+ * Defines values for SoftwareUpdateRebootBehavior.
+ * Possible values include: 'NeverReboots', 'AlwaysRequiresReboot', 'CanRequestReboot'
+ * @readonly
+ * @enum {string}
+ */
+export type SoftwareUpdateRebootBehavior = 'NeverReboots' | 'AlwaysRequiresReboot' | 'CanRequestReboot';
+
+/**
+ * Defines values for PatchAssessmentState.
+ * Possible values include: 'Installed', 'Failed', 'Excluded', 'NotSelected', 'Pending',
+ * 'Available'
+ * @readonly
+ * @enum {string}
+ */
+export type PatchAssessmentState = 'Installed' | 'Failed' | 'Excluded' | 'NotSelected' | 'Pending' | 'Available';
+
+/**
+ * Defines values for PatchOperationStatus.
+ * Possible values include: 'InProgress', 'Failed', 'Succeeded', 'CompletedWithWarnings'
+ * @readonly
+ * @enum {string}
+ */
+export type PatchOperationStatus = 'InProgress' | 'Failed' | 'Succeeded' | 'CompletedWithWarnings';
+
/**
* Defines values for OperatingSystemTypes.
* Possible values include: 'Windows', 'Linux'
@@ -6623,6 +7520,14 @@ export type StorageAccountTypes = 'Standard_LRS' | 'Premium_LRS' | 'StandardSSD_
*/
export type DiffDiskOptions = 'Local';
+/**
+ * Defines values for DiffDiskPlacement.
+ * Possible values include: 'CacheDisk', 'ResourceDisk'
+ * @readonly
+ * @enum {string}
+ */
+export type DiffDiskPlacement = 'CacheDisk' | 'ResourceDisk';
+
/**
* Defines values for PassNames.
* Possible values include: 'OobeSystem'
@@ -6655,6 +7560,14 @@ export type SettingNames = 'AutoLogon' | 'FirstLogonCommands';
*/
export type ProtocolTypes = 'Http' | 'Https';
+/**
+ * Defines values for InGuestPatchMode.
+ * Possible values include: 'Manual', 'AutomaticByOS', 'AutomaticByPlatform'
+ * @readonly
+ * @enum {string}
+ */
+export type InGuestPatchMode = 'Manual' | 'AutomaticByOS' | 'AutomaticByPlatform';
+
/**
* Defines values for VirtualMachinePriorityTypes.
* Possible values include: 'Regular', 'Low', 'Spot'
@@ -6696,6 +7609,14 @@ export type MaintenanceOperationResultCodeTypes = 'None' | 'RetryLater' | 'Maint
*/
export type HyperVGenerationType = 'V1' | 'V2';
+/**
+ * Defines values for RebootStatus.
+ * Possible values include: 'NotNeeded', 'Required', 'Started', 'Failed', 'Completed'
+ * @readonly
+ * @enum {string}
+ */
+export type RebootStatus = 'NotNeeded' | 'Required' | 'Started' | 'Failed' | 'Completed';
+
/**
* Defines values for UpgradeMode.
* Possible values include: 'Automatic', 'Manual', 'Rolling'
@@ -6728,6 +7649,22 @@ export type OperatingSystemStateTypes = 'Generalized' | 'Specialized';
*/
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'
@@ -6776,6 +7713,14 @@ export type RollingUpgradeActionType = 'Start' | 'Cancel';
*/
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 ResourceSkuCapacityScaleType.
* Possible values include: 'Automatic', 'Manual', 'None'
@@ -6835,11 +7780,20 @@ export type DiskState = 'Unattached' | 'Attached' | 'Reserved' | 'ActiveSAS' | '
/**
* Defines values for EncryptionType.
- * Possible values include: 'EncryptionAtRestWithPlatformKey', 'EncryptionAtRestWithCustomerKey'
+ * 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 EncryptionType = 'EncryptionAtRestWithPlatformKey' | 'EncryptionAtRestWithCustomerKey';
+export type NetworkAccessPolicy = 'AllowAll' | 'AllowPrivate' | 'DenyAll';
/**
* Defines values for SnapshotStorageAccountTypes.
@@ -6849,6 +7803,15 @@ export type EncryptionType = 'EncryptionAtRestWithPlatformKey' | 'EncryptionAtRe
*/
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'
@@ -6865,6 +7828,22 @@ export type AccessLevel = 'None' | 'Read' | 'Write';
*/
export type DiskEncryptionSetIdentityType = 'SystemAssigned';
+/**
+ * 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'
@@ -6883,11 +7862,11 @@ export type ReplicationState = 'Unknown' | 'Replicating' | 'Completed' | 'Failed
/**
* Defines values for StorageAccountType.
- * Possible values include: 'Standard_LRS', 'Standard_ZRS'
+ * Possible values include: 'Standard_LRS', 'Standard_ZRS', 'Premium_LRS'
* @readonly
* @enum {string}
*/
-export type StorageAccountType = 'Standard_LRS' | 'Standard_ZRS';
+export type StorageAccountType = 'Standard_LRS' | 'Standard_ZRS' | 'Premium_LRS';
/**
* Defines values for HostCaching.
@@ -7569,6 +8548,166 @@ export type DedicatedHostsListByHostGroupNextResponse = 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.
*/
@@ -8025,14 +9164,54 @@ export type VirtualMachinesListResponse = VirtualMachineListResult & {
/**
* The response body as parsed JSON or XML
*/
- parsedBody: VirtualMachineListResult;
+ parsedBody: VirtualMachineListResult;
+ };
+};
+
+/**
+ * Contains response data for the listAll operation.
+ */
+export type VirtualMachinesListAllResponse = VirtualMachineListResult & {
+ /**
+ * 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: VirtualMachineListResult;
+ };
+};
+
+/**
+ * Contains response data for the listAvailableSizes operation.
+ */
+export type VirtualMachinesListAvailableSizesResponse = 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 listAll operation.
+ * Contains response data for the retrieveBootDiagnosticsData operation.
*/
-export type VirtualMachinesListAllResponse = VirtualMachineListResult & {
+export type VirtualMachinesRetrieveBootDiagnosticsDataResponse = RetrieveBootDiagnosticsDataResult & {
/**
* The underlying HTTP response.
*/
@@ -8045,14 +9224,14 @@ export type VirtualMachinesListAllResponse = VirtualMachineListResult & {
/**
* The response body as parsed JSON or XML
*/
- parsedBody: VirtualMachineListResult;
+ parsedBody: RetrieveBootDiagnosticsDataResult;
};
};
/**
- * Contains response data for the listAvailableSizes operation.
+ * Contains response data for the assessPatches operation.
*/
-export type VirtualMachinesListAvailableSizesResponse = VirtualMachineSizeListResult & {
+export type VirtualMachinesAssessPatchesResponse = VirtualMachineAssessPatchesResult & {
/**
* The underlying HTTP response.
*/
@@ -8065,7 +9244,7 @@ export type VirtualMachinesListAvailableSizesResponse = VirtualMachineSizeListRe
/**
* The response body as parsed JSON or XML
*/
- parsedBody: VirtualMachineSizeListResult;
+ parsedBody: VirtualMachineAssessPatchesResult;
};
};
@@ -8149,6 +9328,26 @@ export type VirtualMachinesBeginUpdateResponse = VirtualMachine & {
};
};
+/**
+ * Contains response data for the beginAssessPatches operation.
+ */
+export type VirtualMachinesBeginAssessPatchesResponse = VirtualMachineAssessPatchesResult & {
+ /**
+ * 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: VirtualMachineAssessPatchesResult;
+ };
+};
+
/**
* Contains response data for the beginRunCommand operation.
*/
@@ -9089,6 +10288,26 @@ export type VirtualMachineScaleSetVMsListResponse = VirtualMachineScaleSetVMList
};
};
+/**
+ * Contains response data for the retrieveBootDiagnosticsData operation.
+ */
+export type VirtualMachineScaleSetVMsRetrieveBootDiagnosticsDataResponse = RetrieveBootDiagnosticsDataResult & {
+ /**
+ * 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: RetrieveBootDiagnosticsDataResult;
+ };
+};
+
/**
* Contains response data for the runCommand operation.
*/
@@ -9889,6 +11108,26 @@ export type DiskEncryptionSetsListResponse = DiskEncryptionSetList & {
};
};
+/**
+ * Contains response data for the listAssociatedResources operation.
+ */
+export type DiskEncryptionSetsListAssociatedResourcesResponse = ResourceUriList & {
+ /**
+ * 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: ResourceUriList;
+ };
+};
+
/**
* Contains response data for the beginCreateOrUpdate operation.
*/
@@ -9969,6 +11208,226 @@ export type DiskEncryptionSetsListNextResponse = DiskEncryptionSetList & {
};
};
+/**
+ * Contains response data for the listAssociatedResourcesNext operation.
+ */
+export type DiskEncryptionSetsListAssociatedResourcesNextResponse = ResourceUriList & {
+ /**
+ * 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: ResourceUriList;
+ };
+};
+
+/**
+ * Contains response data for the createOrUpdate operation.
+ */
+export type DiskAccessesCreateOrUpdateResponse = DiskAccess & {
+ /**
+ * 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: DiskAccess;
+ };
+};
+
+/**
+ * Contains response data for the update operation.
+ */
+export type DiskAccessesUpdateResponse = DiskAccess & {
+ /**
+ * 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: DiskAccess;
+ };
+};
+
+/**
+ * Contains response data for the get operation.
+ */
+export type DiskAccessesGetResponse = DiskAccess & {
+ /**
+ * 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: DiskAccess;
+ };
+};
+
+/**
+ * Contains response data for the listByResourceGroup operation.
+ */
+export type DiskAccessesListByResourceGroupResponse = DiskAccessList & {
+ /**
+ * 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: DiskAccessList;
+ };
+};
+
+/**
+ * Contains response data for the list operation.
+ */
+export type DiskAccessesListResponse = DiskAccessList & {
+ /**
+ * 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: DiskAccessList;
+ };
+};
+
+/**
+ * Contains response data for the getPrivateLinkResources operation.
+ */
+export type DiskAccessesGetPrivateLinkResourcesResponse = PrivateLinkResourceListResult & {
+ /**
+ * 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: PrivateLinkResourceListResult;
+ };
+};
+
+/**
+ * Contains response data for the beginCreateOrUpdate operation.
+ */
+export type DiskAccessesBeginCreateOrUpdateResponse = DiskAccess & {
+ /**
+ * 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: DiskAccess;
+ };
+};
+
+/**
+ * Contains response data for the beginUpdate operation.
+ */
+export type DiskAccessesBeginUpdateResponse = DiskAccess & {
+ /**
+ * 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: DiskAccess;
+ };
+};
+
+/**
+ * Contains response data for the listByResourceGroupNext operation.
+ */
+export type DiskAccessesListByResourceGroupNextResponse = DiskAccessList & {
+ /**
+ * 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: DiskAccessList;
+ };
+};
+
+/**
+ * Contains response data for the listNext operation.
+ */
+export type DiskAccessesListNextResponse = DiskAccessList & {
+ /**
+ * 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: DiskAccessList;
+ };
+};
+
/**
* Contains response data for the createOrUpdate operation.
*/
diff --git a/sdk/compute/arm-compute/src/models/mappers.ts b/sdk/compute/arm-compute/src/models/mappers.ts
index 47236fff5f8f..07a7afa3d346 100644
--- a/sdk/compute/arm-compute/src/models/mappers.ts
+++ b/sdk/compute/arm-compute/src/models/mappers.ts
@@ -64,6 +64,46 @@ export const ComputeOperationValue: msRest.CompositeMapper = {
}
};
+export const DisallowedConfiguration: msRest.CompositeMapper = {
+ serializedName: "DisallowedConfiguration",
+ type: {
+ name: "Composite",
+ className: "DisallowedConfiguration",
+ modelProperties: {
+ vmDiskType: {
+ serializedName: "vmDiskType",
+ type: {
+ name: "String"
+ }
+ }
+ }
+ }
+};
+
+export const RetrieveBootDiagnosticsDataResult: msRest.CompositeMapper = {
+ serializedName: "RetrieveBootDiagnosticsDataResult",
+ type: {
+ name: "Composite",
+ className: "RetrieveBootDiagnosticsDataResult",
+ modelProperties: {
+ consoleScreenshotBlobUri: {
+ readOnly: true,
+ serializedName: "consoleScreenshotBlobUri",
+ type: {
+ name: "String"
+ }
+ },
+ serialConsoleLogBlobUri: {
+ readOnly: true,
+ serializedName: "serialConsoleLogBlobUri",
+ type: {
+ name: "String"
+ }
+ }
+ }
+ }
+};
+
export const InstanceViewStatus: msRest.CompositeMapper = {
serializedName: "InstanceViewStatus",
type: {
@@ -439,6 +479,82 @@ export const ProximityPlacementGroupUpdate: msRest.CompositeMapper = {
}
};
+export const DedicatedHostInstanceView: msRest.CompositeMapper = {
+ serializedName: "DedicatedHostInstanceView",
+ type: {
+ name: "Composite",
+ className: "DedicatedHostInstanceView",
+ modelProperties: {
+ assetId: {
+ readOnly: true,
+ serializedName: "assetId",
+ type: {
+ name: "String"
+ }
+ },
+ availableCapacity: {
+ serializedName: "availableCapacity",
+ type: {
+ name: "Composite",
+ className: "DedicatedHostAvailableCapacity"
+ }
+ },
+ statuses: {
+ serializedName: "statuses",
+ type: {
+ name: "Sequence",
+ element: {
+ type: {
+ name: "Composite",
+ className: "InstanceViewStatus"
+ }
+ }
+ }
+ }
+ }
+ }
+};
+
+export const DedicatedHostInstanceViewWithName: msRest.CompositeMapper = {
+ serializedName: "DedicatedHostInstanceViewWithName",
+ type: {
+ name: "Composite",
+ className: "DedicatedHostInstanceViewWithName",
+ modelProperties: {
+ ...DedicatedHostInstanceView.type.modelProperties,
+ name: {
+ readOnly: true,
+ serializedName: "name",
+ type: {
+ name: "String"
+ }
+ }
+ }
+ }
+};
+
+export const DedicatedHostGroupInstanceView: msRest.CompositeMapper = {
+ serializedName: "DedicatedHostGroupInstanceView",
+ type: {
+ name: "Composite",
+ className: "DedicatedHostGroupInstanceView",
+ modelProperties: {
+ hosts: {
+ serializedName: "hosts",
+ type: {
+ name: "Sequence",
+ element: {
+ type: {
+ name: "Composite",
+ className: "DedicatedHostInstanceViewWithName"
+ }
+ }
+ }
+ }
+ }
+ }
+};
+
export const SubResourceReadOnly: msRest.CompositeMapper = {
serializedName: "SubResourceReadOnly",
type: {
@@ -487,6 +603,20 @@ export const DedicatedHostGroup: msRest.CompositeMapper = {
}
}
},
+ instanceView: {
+ readOnly: true,
+ serializedName: "properties.instanceView",
+ type: {
+ name: "Composite",
+ className: "DedicatedHostGroupInstanceView"
+ }
+ },
+ supportAutomaticPlacement: {
+ serializedName: "properties.supportAutomaticPlacement",
+ type: {
+ name: "Boolean"
+ }
+ },
zones: {
serializedName: "zones",
type: {
@@ -533,6 +663,20 @@ export const DedicatedHostGroupUpdate: msRest.CompositeMapper = {
}
}
},
+ instanceView: {
+ readOnly: true,
+ serializedName: "properties.instanceView",
+ type: {
+ name: "Composite",
+ className: "DedicatedHostGroupInstanceView"
+ }
+ },
+ supportAutomaticPlacement: {
+ serializedName: "properties.supportAutomaticPlacement",
+ type: {
+ name: "Boolean"
+ }
+ },
zones: {
serializedName: "zones",
type: {
@@ -592,42 +736,6 @@ export const DedicatedHostAvailableCapacity: msRest.CompositeMapper = {
}
};
-export const DedicatedHostInstanceView: msRest.CompositeMapper = {
- serializedName: "DedicatedHostInstanceView",
- type: {
- name: "Composite",
- className: "DedicatedHostInstanceView",
- modelProperties: {
- assetId: {
- readOnly: true,
- serializedName: "assetId",
- type: {
- name: "String"
- }
- },
- availableCapacity: {
- serializedName: "availableCapacity",
- type: {
- name: "Composite",
- className: "DedicatedHostAvailableCapacity"
- }
- },
- statuses: {
- serializedName: "statuses",
- type: {
- name: "Sequence",
- element: {
- type: {
- name: "Composite",
- className: "InstanceViewStatus"
- }
- }
- }
- }
- }
- }
-};
-
export const DedicatedHost: msRest.CompositeMapper = {
serializedName: "DedicatedHost",
type: {
@@ -796,6 +904,71 @@ export const DedicatedHostUpdate: msRest.CompositeMapper = {
}
};
+export const SshPublicKeyGenerateKeyPairResult: msRest.CompositeMapper = {
+ serializedName: "SshPublicKeyGenerateKeyPairResult",
+ type: {
+ name: "Composite",
+ className: "SshPublicKeyGenerateKeyPairResult",
+ modelProperties: {
+ privateKey: {
+ required: true,
+ serializedName: "privateKey",
+ type: {
+ name: "String"
+ }
+ },
+ publicKey: {
+ required: true,
+ serializedName: "publicKey",
+ type: {
+ name: "String"
+ }
+ },
+ id: {
+ required: true,
+ serializedName: "id",
+ type: {
+ name: "String"
+ }
+ }
+ }
+ }
+};
+
+export const SshPublicKeyResource: msRest.CompositeMapper = {
+ serializedName: "SshPublicKeyResource",
+ type: {
+ name: "Composite",
+ className: "SshPublicKeyResource",
+ modelProperties: {
+ ...Resource.type.modelProperties,
+ publicKey: {
+ serializedName: "properties.publicKey",
+ type: {
+ name: "String"
+ }
+ }
+ }
+ }
+};
+
+export const SshPublicKeyUpdateResource: msRest.CompositeMapper = {
+ serializedName: "SshPublicKeyUpdateResource",
+ type: {
+ name: "Composite",
+ className: "SshPublicKeyUpdateResource",
+ modelProperties: {
+ ...UpdateResource.type.modelProperties,
+ publicKey: {
+ serializedName: "properties.publicKey",
+ type: {
+ name: "String"
+ }
+ }
+ }
+ }
+};
+
export const VirtualMachineSize: msRest.CompositeMapper = {
serializedName: "VirtualMachineSize",
type: {
@@ -1011,6 +1184,12 @@ export const VirtualMachineExtension: msRest.CompositeMapper = {
name: "Boolean"
}
},
+ enableAutomaticUpgrade: {
+ serializedName: "properties.enableAutomaticUpgrade",
+ type: {
+ name: "Boolean"
+ }
+ },
settings: {
serializedName: "properties.settings",
type: {
@@ -1054,63 +1233,324 @@ export const VirtualMachineExtensionUpdate: msRest.CompositeMapper = {
name: "String"
}
},
- publisher: {
- serializedName: "properties.publisher",
+ publisher: {
+ serializedName: "properties.publisher",
+ type: {
+ name: "String"
+ }
+ },
+ type: {
+ 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: {
+ name: "Composite",
+ className: "VirtualMachineExtensionsListResult",
+ modelProperties: {
+ value: {
+ serializedName: "value",
+ type: {
+ name: "Sequence",
+ element: {
+ type: {
+ name: "Composite",
+ className: "VirtualMachineExtension"
+ }
+ }
+ }
+ }
+ }
+ }
+};
+
+export const VirtualMachineSoftwarePatchProperties: msRest.CompositeMapper = {
+ serializedName: "VirtualMachineSoftwarePatchProperties",
+ type: {
+ name: "Composite",
+ className: "VirtualMachineSoftwarePatchProperties",
+ modelProperties: {
+ patchId: {
+ readOnly: true,
+ serializedName: "patchId",
+ type: {
+ name: "String"
+ }
+ },
+ name: {
+ readOnly: true,
+ serializedName: "name",
+ type: {
+ name: "String"
+ }
+ },
+ version: {
+ readOnly: true,
+ serializedName: "version",
+ type: {
+ name: "String"
+ }
+ },
+ kbid: {
+ readOnly: true,
+ serializedName: "kbid",
+ type: {
+ name: "String"
+ }
+ },
+ classifications: {
+ readOnly: true,
+ serializedName: "classifications",
+ type: {
+ name: "Sequence",
+ element: {
+ type: {
+ name: "String"
+ }
+ }
+ }
+ },
+ rebootBehavior: {
+ readOnly: true,
+ serializedName: "rebootBehavior",
+ type: {
+ name: "String"
+ }
+ },
+ activityId: {
+ readOnly: true,
+ serializedName: "activityId",
+ type: {
+ name: "String"
+ }
+ },
+ publishedDate: {
+ readOnly: true,
+ serializedName: "publishedDate",
+ type: {
+ name: "DateTime"
+ }
+ },
+ lastModifiedDateTime: {
+ readOnly: true,
+ serializedName: "lastModifiedDateTime",
+ type: {
+ name: "DateTime"
+ }
+ },
+ assessmentState: {
+ readOnly: true,
+ serializedName: "assessmentState",
+ type: {
+ name: "String"
+ }
+ }
+ }
+ }
+};
+
+export const ApiErrorBase: msRest.CompositeMapper = {
+ serializedName: "ApiErrorBase",
+ type: {
+ name: "Composite",
+ className: "ApiErrorBase",
+ modelProperties: {
+ code: {
+ serializedName: "code",
+ type: {
+ name: "String"
+ }
+ },
+ target: {
+ serializedName: "target",
+ type: {
+ name: "String"
+ }
+ },
+ message: {
+ serializedName: "message",
+ type: {
+ name: "String"
+ }
+ }
+ }
+ }
+};
+
+export const InnerError: msRest.CompositeMapper = {
+ serializedName: "InnerError",
+ type: {
+ name: "Composite",
+ className: "InnerError",
+ modelProperties: {
+ exceptiontype: {
+ serializedName: "exceptiontype",
+ type: {
+ name: "String"
+ }
+ },
+ errordetail: {
+ serializedName: "errordetail",
+ type: {
+ name: "String"
+ }
+ }
+ }
+ }
+};
+
+export const ApiError: msRest.CompositeMapper = {
+ serializedName: "ApiError",
+ type: {
+ name: "Composite",
+ className: "ApiError",
+ modelProperties: {
+ details: {
+ serializedName: "details",
+ type: {
+ name: "Sequence",
+ element: {
+ type: {
+ name: "Composite",
+ className: "ApiErrorBase"
+ }
+ }
+ }
+ },
+ innererror: {
+ serializedName: "innererror",
+ type: {
+ name: "Composite",
+ className: "InnerError"
+ }
+ },
+ code: {
+ serializedName: "code",
+ type: {
+ name: "String"
+ }
+ },
+ target: {
+ serializedName: "target",
+ type: {
+ name: "String"
+ }
+ },
+ message: {
+ serializedName: "message",
+ type: {
+ name: "String"
+ }
+ }
+ }
+ }
+};
+
+export const VirtualMachineAssessPatchesResult: msRest.CompositeMapper = {
+ serializedName: "VirtualMachineAssessPatchesResult",
+ type: {
+ name: "Composite",
+ className: "VirtualMachineAssessPatchesResult",
+ modelProperties: {
+ status: {
+ readOnly: true,
+ serializedName: "status",
+ type: {
+ name: "String"
+ }
+ },
+ assessmentActivityId: {
+ readOnly: true,
+ serializedName: "assessmentActivityId",
type: {
name: "String"
}
},
- type: {
- serializedName: "properties.type",
+ rebootPending: {
+ readOnly: true,
+ serializedName: "rebootPending",
type: {
- name: "String"
+ name: "Boolean"
}
},
- typeHandlerVersion: {
- serializedName: "properties.typeHandlerVersion",
+ criticalAndSecurityPatchCount: {
+ readOnly: true,
+ serializedName: "criticalAndSecurityPatchCount",
type: {
- name: "String"
+ name: "Number"
}
},
- autoUpgradeMinorVersion: {
- serializedName: "properties.autoUpgradeMinorVersion",
+ otherPatchCount: {
+ readOnly: true,
+ serializedName: "otherPatchCount",
type: {
- name: "Boolean"
+ name: "Number"
}
},
- settings: {
- serializedName: "properties.settings",
+ startDateTime: {
+ readOnly: true,
+ serializedName: "startDateTime",
type: {
- name: "Object"
+ name: "DateTime"
}
},
- protectedSettings: {
- serializedName: "properties.protectedSettings",
- type: {
- name: "Object"
- }
- }
- }
- }
-};
-
-export const VirtualMachineExtensionsListResult: msRest.CompositeMapper = {
- serializedName: "VirtualMachineExtensionsListResult",
- type: {
- name: "Composite",
- className: "VirtualMachineExtensionsListResult",
- modelProperties: {
- value: {
- serializedName: "value",
+ patches: {
+ readOnly: true,
+ serializedName: "patches",
type: {
name: "Sequence",
element: {
type: {
name: "Composite",
- className: "VirtualMachineExtension"
+ className: "VirtualMachineSoftwarePatchProperties"
}
}
}
+ },
+ error: {
+ readOnly: true,
+ serializedName: "error",
+ type: {
+ name: "Composite",
+ className: "ApiError"
+ }
}
}
}
@@ -1247,6 +1687,13 @@ export const VirtualMachineImage: msRest.CompositeMapper = {
type: {
name: "String"
}
+ },
+ disallowed: {
+ serializedName: "properties.disallowed",
+ type: {
+ name: "Composite",
+ className: "DisallowedConfiguration"
+ }
}
}
}
@@ -1616,6 +2063,12 @@ export const DiffDiskSettings: msRest.CompositeMapper = {
type: {
name: "String"
}
+ },
+ placement: {
+ serializedName: "placement",
+ type: {
+ name: "String"
+ }
}
}
}
@@ -1866,6 +2319,22 @@ export const StorageProfile: msRest.CompositeMapper = {
}
};
+export const SecurityProfile: msRest.CompositeMapper = {
+ serializedName: "SecurityProfile",
+ type: {
+ name: "Composite",
+ className: "SecurityProfile",
+ modelProperties: {
+ encryptionAtHost: {
+ serializedName: "encryptionAtHost",
+ type: {
+ name: "Boolean"
+ }
+ }
+ }
+ }
+};
+
export const AdditionalCapabilities: msRest.CompositeMapper = {
serializedName: "AdditionalCapabilities",
type: {
@@ -1974,6 +2443,22 @@ export const WinRMConfiguration: msRest.CompositeMapper = {
}
};
+export const PatchSettings: msRest.CompositeMapper = {
+ serializedName: "PatchSettings",
+ type: {
+ name: "Composite",
+ className: "PatchSettings",
+ modelProperties: {
+ patchMode: {
+ serializedName: "patchMode",
+ type: {
+ name: "String"
+ }
+ }
+ }
+ }
+};
+
export const WindowsConfiguration: msRest.CompositeMapper = {
serializedName: "WindowsConfiguration",
type: {
@@ -2010,6 +2495,13 @@ export const WindowsConfiguration: msRest.CompositeMapper = {
}
}
},
+ patchSettings: {
+ serializedName: "patchSettings",
+ type: {
+ name: "Composite",
+ className: "PatchSettings"
+ }
+ },
winRM: {
serializedName: "winRM",
type: {
@@ -2581,23 +3073,234 @@ export const MaintenanceRedeployStatus: msRest.CompositeMapper = {
type: {
name: "DateTime"
}
- },
- lastOperationResultCode: {
- serializedName: "lastOperationResultCode",
+ },
+ 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",
+ 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"
+ }
+ },
+ rebootStatus: {
+ readOnly: true,
+ serializedName: "rebootStatus",
+ type: {
+ name: "String"
+ }
+ },
+ 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"
+ }
+ },
+ startedBy: {
+ readOnly: true,
+ serializedName: "startedBy",
+ type: {
+ name: "String"
+ }
+ },
+ 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: "Enum",
- allowedValues: [
- "None",
- "RetryLater",
- "MaintenanceAborted",
- "MaintenanceCompleted"
- ]
+ name: "Composite",
+ className: "AvailablePatchSummary"
}
},
- lastOperationMessage: {
- serializedName: "lastOperationMessage",
+ lastPatchInstallationSummary: {
+ serializedName: "lastPatchInstallationSummary",
type: {
- name: "String"
+ name: "Composite",
+ className: "LastPatchInstallationSummary"
}
}
}
@@ -2690,6 +3393,14 @@ export const VirtualMachineInstanceView: msRest.CompositeMapper = {
}
}
},
+ vmHealth: {
+ readOnly: true,
+ serializedName: "vmHealth",
+ type: {
+ name: "Composite",
+ className: "VirtualMachineHealthStatus"
+ }
+ },
bootDiagnostics: {
serializedName: "bootDiagnostics",
type: {
@@ -2697,6 +3408,13 @@ export const VirtualMachineInstanceView: msRest.CompositeMapper = {
className: "BootDiagnosticsInstanceView"
}
},
+ assignedHost: {
+ readOnly: true,
+ serializedName: "assignedHost",
+ type: {
+ name: "String"
+ }
+ },
statuses: {
serializedName: "statuses",
type: {
@@ -2708,6 +3426,13 @@ export const VirtualMachineInstanceView: msRest.CompositeMapper = {
}
}
}
+ },
+ patchStatus: {
+ serializedName: "patchStatus",
+ type: {
+ name: "Composite",
+ className: "VirtualMachinePatchStatus"
+ }
}
}
}
@@ -2762,6 +3487,13 @@ export const VirtualMachine: msRest.CompositeMapper = {
className: "NetworkProfile"
}
},
+ securityProfile: {
+ serializedName: "properties.securityProfile",
+ type: {
+ name: "Composite",
+ className: "SecurityProfile"
+ }
+ },
diagnosticsProfile: {
serializedName: "properties.diagnosticsProfile",
type: {
@@ -2816,6 +3548,13 @@ export const VirtualMachine: msRest.CompositeMapper = {
className: "SubResource"
}
},
+ hostGroup: {
+ serializedName: "properties.hostGroup",
+ type: {
+ name: "Composite",
+ className: "SubResource"
+ }
+ },
provisioningState: {
readOnly: true,
serializedName: "properties.provisioningState",
@@ -2844,6 +3583,12 @@ export const VirtualMachine: msRest.CompositeMapper = {
name: "String"
}
},
+ extensionsTimeBudget: {
+ serializedName: "properties.extensionsTimeBudget",
+ type: {
+ name: "String"
+ }
+ },
resources: {
readOnly: true,
serializedName: "resources",
@@ -2928,6 +3673,13 @@ export const VirtualMachineUpdate: msRest.CompositeMapper = {
className: "NetworkProfile"
}
},
+ securityProfile: {
+ serializedName: "properties.securityProfile",
+ type: {
+ name: "Composite",
+ className: "SecurityProfile"
+ }
+ },
diagnosticsProfile: {
serializedName: "properties.diagnosticsProfile",
type: {
@@ -2982,6 +3734,13 @@ export const VirtualMachineUpdate: msRest.CompositeMapper = {
className: "SubResource"
}
},
+ hostGroup: {
+ serializedName: "properties.hostGroup",
+ type: {
+ name: "Composite",
+ className: "SubResource"
+ }
+ },
provisioningState: {
readOnly: true,
serializedName: "properties.provisioningState",
@@ -3010,6 +3769,12 @@ export const VirtualMachineUpdate: msRest.CompositeMapper = {
name: "String"
}
},
+ extensionsTimeBudget: {
+ serializedName: "properties.extensionsTimeBudget",
+ type: {
+ name: "String"
+ }
+ },
identity: {
serializedName: "identity",
type: {
@@ -4440,6 +5205,12 @@ export const VirtualMachineScaleSetExtension: msRest.CompositeMapper = {
name: "Boolean"
}
},
+ enableAutomaticUpgrade: {
+ serializedName: "properties.enableAutomaticUpgrade",
+ type: {
+ name: "Boolean"
+ }
+ },
settings: {
serializedName: "properties.settings",
type: {
@@ -4525,6 +5296,12 @@ export const VirtualMachineScaleSetExtensionUpdate: msRest.CompositeMapper = {
name: "Boolean"
}
},
+ enableAutomaticUpgrade: {
+ serializedName: "properties.enableAutomaticUpgrade",
+ type: {
+ name: "Boolean"
+ }
+ },
settings: {
serializedName: "properties.settings",
type: {
@@ -4576,6 +5353,12 @@ export const VirtualMachineScaleSetExtensionProfile: msRest.CompositeMapper = {
}
}
}
+ },
+ extensionsTimeBudget: {
+ serializedName: "extensionsTimeBudget",
+ type: {
+ name: "String"
+ }
}
}
}
@@ -4647,6 +5430,13 @@ export const VirtualMachineScaleSetVMProfile: msRest.CompositeMapper = {
className: "VirtualMachineScaleSetNetworkProfile"
}
},
+ securityProfile: {
+ serializedName: "securityProfile",
+ type: {
+ name: "Composite",
+ className: "SecurityProfile"
+ }
+ },
diagnosticsProfile: {
serializedName: "diagnosticsProfile",
type: {
@@ -4724,6 +5514,13 @@ export const VirtualMachineScaleSetUpdateVMProfile: msRest.CompositeMapper = {
className: "VirtualMachineScaleSetUpdateNetworkProfile"
}
},
+ securityProfile: {
+ serializedName: "securityProfile",
+ type: {
+ name: "Composite",
+ className: "SecurityProfile"
+ }
+ },
diagnosticsProfile: {
serializedName: "diagnosticsProfile",
type: {
@@ -4855,6 +5652,13 @@ export const VirtualMachineScaleSet: msRest.CompositeMapper = {
className: "SubResource"
}
},
+ hostGroup: {
+ serializedName: "properties.hostGroup",
+ type: {
+ name: "Composite",
+ className: "SubResource"
+ }
+ },
additionalCapabilities: {
serializedName: "properties.additionalCapabilities",
type: {
@@ -5136,6 +5940,30 @@ export const VirtualMachineScaleSetVMExtensionsSummary: msRest.CompositeMapper =
}
};
+export const OrchestrationServiceSummary: msRest.CompositeMapper = {
+ serializedName: "OrchestrationServiceSummary",
+ type: {
+ name: "Composite",
+ className: "OrchestrationServiceSummary",
+ modelProperties: {
+ serviceName: {
+ readOnly: true,
+ serializedName: "serviceName",
+ type: {
+ name: "String"
+ }
+ },
+ serviceState: {
+ readOnly: true,
+ serializedName: "serviceState",
+ type: {
+ name: "String"
+ }
+ }
+ }
+ }
+};
+
export const VirtualMachineScaleSetInstanceView: msRest.CompositeMapper = {
serializedName: "VirtualMachineScaleSetInstanceView",
type: {
@@ -5174,6 +6002,19 @@ export const VirtualMachineScaleSetInstanceView: msRest.CompositeMapper = {
}
}
}
+ },
+ orchestrationServices: {
+ readOnly: true,
+ serializedName: "orchestrationServices",
+ type: {
+ name: "Sequence",
+ element: {
+ type: {
+ name: "Composite",
+ className: "OrchestrationServiceSummary"
+ }
+ }
+ }
}
}
}
@@ -5254,103 +6095,6 @@ export const VirtualMachineScaleSetSku: msRest.CompositeMapper = {
}
};
-export const ApiErrorBase: msRest.CompositeMapper = {
- serializedName: "ApiErrorBase",
- type: {
- name: "Composite",
- className: "ApiErrorBase",
- modelProperties: {
- code: {
- serializedName: "code",
- type: {
- name: "String"
- }
- },
- target: {
- serializedName: "target",
- type: {
- name: "String"
- }
- },
- message: {
- serializedName: "message",
- type: {
- name: "String"
- }
- }
- }
- }
-};
-
-export const InnerError: msRest.CompositeMapper = {
- serializedName: "InnerError",
- type: {
- name: "Composite",
- className: "InnerError",
- modelProperties: {
- exceptiontype: {
- serializedName: "exceptiontype",
- type: {
- name: "String"
- }
- },
- errordetail: {
- serializedName: "errordetail",
- type: {
- name: "String"
- }
- }
- }
- }
-};
-
-export const ApiError: msRest.CompositeMapper = {
- serializedName: "ApiError",
- type: {
- name: "Composite",
- className: "ApiError",
- modelProperties: {
- details: {
- serializedName: "details",
- type: {
- name: "Sequence",
- element: {
- type: {
- name: "Composite",
- className: "ApiErrorBase"
- }
- }
- }
- },
- innererror: {
- serializedName: "innererror",
- type: {
- name: "Composite",
- className: "InnerError"
- }
- },
- code: {
- serializedName: "code",
- type: {
- name: "String"
- }
- },
- target: {
- serializedName: "target",
- type: {
- name: "String"
- }
- },
- message: {
- serializedName: "message",
- type: {
- name: "String"
- }
- }
- }
- }
-};
-
export const RollbackStatusInfo: msRest.CompositeMapper = {
serializedName: "RollbackStatusInfo",
type: {
@@ -5552,24 +6296,6 @@ export const UpgradeOperationHistoricalStatusInfo: msRest.CompositeMapper = {
}
};
-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 VirtualMachineScaleSetVMInstanceView: msRest.CompositeMapper = {
serializedName: "VirtualMachineScaleSetVMInstanceView",
type: {
@@ -5659,6 +6385,13 @@ export const VirtualMachineScaleSetVMInstanceView: msRest.CompositeMapper = {
}
}
},
+ assignedHost: {
+ readOnly: true,
+ serializedName: "assignedHost",
+ type: {
+ name: "String"
+ }
+ },
placementGroupId: {
serializedName: "placementGroupId",
type: {
@@ -5785,6 +6518,13 @@ export const VirtualMachineScaleSetVM: msRest.CompositeMapper = {
className: "OSProfile"
}
},
+ securityProfile: {
+ serializedName: "properties.securityProfile",
+ type: {
+ name: "Composite",
+ className: "SecurityProfile"
+ }
+ },
networkProfile: {
serializedName: "properties.networkProfile",
type: {
@@ -6126,6 +6866,30 @@ export const VMScaleSetConvertToSinglePlacementGroupInput: msRest.CompositeMappe
}
};
+export const OrchestrationServiceStateInput: msRest.CompositeMapper = {
+ serializedName: "OrchestrationServiceStateInput",
+ type: {
+ name: "Composite",
+ className: "OrchestrationServiceStateInput",
+ modelProperties: {
+ serviceName: {
+ required: true,
+ serializedName: "serviceName",
+ type: {
+ name: "String"
+ }
+ },
+ action: {
+ required: true,
+ serializedName: "action",
+ type: {
+ name: "String"
+ }
+ }
+ }
+ }
+};
+
export const RunCommandInputParameter: msRest.CompositeMapper = {
serializedName: "RunCommandInputParameter",
type: {
@@ -6833,6 +7597,12 @@ export const CreationData: msRest.CompositeMapper = {
type: {
name: "Number"
}
+ },
+ logicalSectorSize: {
+ serializedName: "logicalSectorSize",
+ type: {
+ name: "Number"
+ }
}
}
}
@@ -7136,7 +7906,6 @@ export const Disk: msRest.CompositeMapper = {
}
},
diskState: {
- readOnly: true,
serializedName: "properties.diskState",
type: {
name: "String"
@@ -7167,6 +7936,24 @@ export const Disk: msRest.CompositeMapper = {
}
}
}
+ },
+ networkAccessPolicy: {
+ serializedName: "properties.networkAccessPolicy",
+ type: {
+ name: "String"
+ }
+ },
+ diskAccessId: {
+ serializedName: "properties.diskAccessId",
+ type: {
+ name: "String"
+ }
+ },
+ tier: {
+ serializedName: "properties.tier",
+ type: {
+ name: "String"
+ }
}
}
}
@@ -7238,6 +8025,24 @@ export const DiskUpdate: msRest.CompositeMapper = {
className: "Encryption"
}
},
+ networkAccessPolicy: {
+ serializedName: "properties.networkAccessPolicy",
+ type: {
+ name: "String"
+ }
+ },
+ diskAccessId: {
+ serializedName: "properties.diskAccessId",
+ type: {
+ name: "String"
+ }
+ },
+ tier: {
+ serializedName: "properties.tier",
+ type: {
+ name: "String"
+ }
+ },
tags: {
serializedName: "tags",
type: {
@@ -7389,6 +8194,12 @@ export const Snapshot: msRest.CompositeMapper = {
name: "Number"
}
},
+ diskState: {
+ serializedName: "properties.diskState",
+ type: {
+ name: "String"
+ }
+ },
uniqueId: {
readOnly: true,
serializedName: "properties.uniqueId",
@@ -7410,148 +8221,429 @@ export const Snapshot: msRest.CompositeMapper = {
name: "String"
}
},
- incremental: {
- serializedName: "properties.incremental",
+ incremental: {
+ serializedName: "properties.incremental",
+ type: {
+ name: "Boolean"
+ }
+ },
+ encryption: {
+ serializedName: "properties.encryption",
+ type: {
+ name: "Composite",
+ className: "Encryption"
+ }
+ },
+ networkAccessPolicy: {
+ serializedName: "properties.networkAccessPolicy",
+ type: {
+ name: "String"
+ }
+ },
+ diskAccessId: {
+ serializedName: "properties.diskAccessId",
+ type: {
+ name: "String"
+ }
+ }
+ }
+ }
+};
+
+export const SnapshotUpdate: msRest.CompositeMapper = {
+ serializedName: "SnapshotUpdate",
+ type: {
+ name: "Composite",
+ className: "SnapshotUpdate",
+ 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",
+ type: {
+ name: "Composite",
+ className: "Encryption"
+ }
+ },
+ networkAccessPolicy: {
+ serializedName: "properties.networkAccessPolicy",
+ type: {
+ name: "String"
+ }
+ },
+ diskAccessId: {
+ serializedName: "properties.diskAccessId",
+ type: {
+ name: "String"
+ }
+ },
+ tags: {
+ serializedName: "tags",
+ type: {
+ name: "Dictionary",
+ value: {
+ type: {
+ name: "String"
+ }
+ }
+ }
+ },
+ sku: {
+ serializedName: "sku",
+ type: {
+ name: "Composite",
+ className: "SnapshotSku"
+ }
+ }
+ }
+ }
+};
+
+export const EncryptionSetIdentity: msRest.CompositeMapper = {
+ serializedName: "EncryptionSetIdentity",
+ type: {
+ name: "Composite",
+ className: "EncryptionSetIdentity",
+ modelProperties: {
+ type: {
+ serializedName: "type",
+ type: {
+ name: "String"
+ }
+ },
+ principalId: {
+ readOnly: true,
+ serializedName: "principalId",
+ type: {
+ name: "String"
+ }
+ },
+ 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"
+ }
+ },
+ encryptionType: {
+ serializedName: "properties.encryptionType",
+ type: {
+ name: "String"
+ }
+ },
+ activeKey: {
+ serializedName: "properties.activeKey",
+ type: {
+ name: "Composite",
+ className: "KeyVaultAndKeyReference"
+ }
+ },
+ previousKeys: {
+ readOnly: true,
+ serializedName: "properties.previousKeys",
+ type: {
+ name: "Sequence",
+ element: {
+ type: {
+ name: "Composite",
+ className: "KeyVaultAndKeyReference"
+ }
+ }
+ }
+ },
+ 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: "KeyVaultAndKeyReference"
+ }
+ },
+ tags: {
+ serializedName: "tags",
+ type: {
+ name: "Dictionary",
+ value: {
+ type: {
+ name: "String"
+ }
+ }
+ }
+ }
+ }
+ }
+};
+
+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: "Boolean"
+ name: "String"
}
},
- encryption: {
- serializedName: "properties.encryption",
+ actionsRequired: {
+ serializedName: "actionsRequired",
type: {
- name: "Composite",
- className: "Encryption"
+ name: "String"
}
}
}
}
};
-export const SnapshotUpdate: msRest.CompositeMapper = {
- serializedName: "SnapshotUpdate",
+export const PrivateEndpointConnection: msRest.CompositeMapper = {
+ serializedName: "PrivateEndpointConnection",
type: {
name: "Composite",
- className: "SnapshotUpdate",
+ className: "PrivateEndpointConnection",
modelProperties: {
- osType: {
- serializedName: "properties.osType",
+ privateEndpoint: {
+ serializedName: "properties.privateEndpoint",
type: {
- name: "Enum",
- allowedValues: [
- "Windows",
- "Linux"
- ]
+ name: "Composite",
+ className: "PrivateEndpoint"
}
},
- diskSizeGB: {
- serializedName: "properties.diskSizeGB",
+ privateLinkServiceConnectionState: {
+ required: true,
+ serializedName: "properties.privateLinkServiceConnectionState",
type: {
- name: "Number"
+ name: "Composite",
+ className: "PrivateLinkServiceConnectionState"
}
},
- encryptionSettingsCollection: {
- serializedName: "properties.encryptionSettingsCollection",
+ provisioningState: {
+ serializedName: "properties.provisioningState",
type: {
- name: "Composite",
- className: "EncryptionSettingsCollection"
+ name: "String"
}
},
- encryption: {
- serializedName: "properties.encryption",
+ id: {
+ readOnly: true,
+ serializedName: "id",
type: {
- name: "Composite",
- className: "Encryption"
+ name: "String"
}
},
- tags: {
- serializedName: "tags",
+ name: {
+ readOnly: true,
+ serializedName: "name",
type: {
- name: "Dictionary",
- value: {
- type: {
- name: "String"
- }
- }
+ name: "String"
}
},
- sku: {
- serializedName: "sku",
+ type: {
+ readOnly: true,
+ serializedName: "type",
type: {
- name: "Composite",
- className: "SnapshotSku"
+ name: "String"
}
}
}
}
};
-export const EncryptionSetIdentity: msRest.CompositeMapper = {
- serializedName: "EncryptionSetIdentity",
+export const DiskAccess: msRest.CompositeMapper = {
+ serializedName: "DiskAccess",
type: {
name: "Composite",
- className: "EncryptionSetIdentity",
+ className: "DiskAccess",
modelProperties: {
- type: {
- serializedName: "type",
+ ...Resource.type.modelProperties,
+ privateEndpointConnections: {
+ readOnly: true,
+ serializedName: "properties.privateEndpointConnections",
type: {
- name: "String"
+ name: "Sequence",
+ element: {
+ type: {
+ name: "Composite",
+ className: "PrivateEndpointConnection"
+ }
+ }
}
},
- principalId: {
+ provisioningState: {
readOnly: true,
- serializedName: "principalId",
+ serializedName: "properties.provisioningState",
type: {
name: "String"
}
},
- tenantId: {
+ timeCreated: {
readOnly: true,
- serializedName: "tenantId",
+ serializedName: "properties.timeCreated",
type: {
- name: "String"
+ name: "DateTime"
}
}
}
}
};
-export const DiskEncryptionSet: msRest.CompositeMapper = {
- serializedName: "DiskEncryptionSet",
+export const DiskAccessUpdate: msRest.CompositeMapper = {
+ serializedName: "DiskAccessUpdate",
type: {
name: "Composite",
- className: "DiskEncryptionSet",
+ className: "DiskAccessUpdate",
modelProperties: {
- ...Resource.type.modelProperties,
- identity: {
- serializedName: "identity",
+ tags: {
+ serializedName: "tags",
type: {
- name: "Composite",
- className: "EncryptionSetIdentity"
+ name: "Dictionary",
+ value: {
+ type: {
+ name: "String"
+ }
+ }
}
- },
- activeKey: {
- serializedName: "properties.activeKey",
+ }
+ }
+ }
+};
+
+export const PrivateLinkResource: msRest.CompositeMapper = {
+ serializedName: "PrivateLinkResource",
+ type: {
+ name: "Composite",
+ className: "PrivateLinkResource",
+ modelProperties: {
+ groupId: {
+ readOnly: true,
+ serializedName: "properties.groupId",
type: {
- name: "Composite",
- className: "KeyVaultAndKeyReference"
+ name: "String"
}
},
- previousKeys: {
+ requiredMembers: {
readOnly: true,
- serializedName: "properties.previousKeys",
+ serializedName: "properties.requiredMembers",
type: {
name: "Sequence",
element: {
type: {
- name: "Composite",
- className: "KeyVaultAndKeyReference"
+ name: "String"
}
}
}
},
- provisioningState: {
+ requiredZoneNames: {
+ serializedName: "properties.requiredZoneNames",
+ type: {
+ name: "Sequence",
+ element: {
+ type: {
+ name: "String"
+ }
+ }
+ }
+ },
+ id: {
readOnly: true,
- serializedName: "properties.provisioningState",
+ serializedName: "id",
+ type: {
+ name: "String"
+ }
+ },
+ name: {
+ readOnly: true,
+ serializedName: "name",
+ type: {
+ name: "String"
+ }
+ },
+ type: {
+ readOnly: true,
+ serializedName: "type",
type: {
name: "String"
}
@@ -7560,26 +8652,20 @@ export const DiskEncryptionSet: msRest.CompositeMapper = {
}
};
-export const DiskEncryptionSetUpdate: msRest.CompositeMapper = {
- serializedName: "DiskEncryptionSetUpdate",
+export const PrivateLinkResourceListResult: msRest.CompositeMapper = {
+ serializedName: "PrivateLinkResourceListResult",
type: {
name: "Composite",
- className: "DiskEncryptionSetUpdate",
+ className: "PrivateLinkResourceListResult",
modelProperties: {
- activeKey: {
- serializedName: "properties.activeKey",
- type: {
- name: "Composite",
- className: "KeyVaultAndKeyReference"
- }
- },
- tags: {
- serializedName: "tags",
+ value: {
+ serializedName: "value",
type: {
- name: "Dictionary",
- value: {
+ name: "Sequence",
+ element: {
type: {
- name: "String"
+ name: "Composite",
+ className: "PrivateLinkResource"
}
}
}
@@ -8411,7 +9497,6 @@ export const GalleryArtifactVersionSource: msRest.CompositeMapper = {
className: "GalleryArtifactVersionSource",
modelProperties: {
id: {
- required: true,
serializedName: "id",
type: {
name: "String"
@@ -9276,6 +10361,35 @@ export const DedicatedHostListResult: msRest.CompositeMapper = {
}
};
+export const SshPublicKeysGroupListResult: msRest.CompositeMapper = {
+ serializedName: "SshPublicKeysGroupListResult",
+ type: {
+ name: "Composite",
+ className: "SshPublicKeysGroupListResult",
+ modelProperties: {
+ value: {
+ required: true,
+ serializedName: "",
+ type: {
+ name: "Sequence",
+ element: {
+ type: {
+ name: "Composite",
+ className: "SshPublicKeyResource"
+ }
+ }
+ }
+ },
+ nextLink: {
+ serializedName: "nextLink",
+ type: {
+ name: "String"
+ }
+ }
+ }
+ }
+};
+
export const ListUsagesResult: msRest.CompositeMapper = {
serializedName: "ListUsagesResult",
type: {
@@ -9682,6 +10796,63 @@ export const DiskEncryptionSetList: msRest.CompositeMapper = {
}
};
+export const ResourceUriList: msRest.CompositeMapper = {
+ serializedName: "ResourceUriList",
+ type: {
+ name: "Composite",
+ className: "ResourceUriList",
+ modelProperties: {
+ value: {
+ required: true,
+ serializedName: "",
+ type: {
+ name: "Sequence",
+ element: {
+ type: {
+ name: "String"
+ }
+ }
+ }
+ },
+ nextLink: {
+ serializedName: "nextLink",
+ type: {
+ name: "String"
+ }
+ }
+ }
+ }
+};
+
+export const DiskAccessList: msRest.CompositeMapper = {
+ serializedName: "DiskAccessList",
+ type: {
+ name: "Composite",
+ className: "DiskAccessList",
+ modelProperties: {
+ value: {
+ required: true,
+ serializedName: "",
+ type: {
+ name: "Sequence",
+ element: {
+ type: {
+ name: "Composite",
+ className: "DiskAccess"
+ }
+ }
+ }
+ },
+ nextLink: {
+ serializedName: "nextLink",
+ type: {
+ name: "String"
+ }
+ }
+ }
+ }
+};
+
export const GalleryList: msRest.CompositeMapper = {
serializedName: "GalleryList",
type: {
diff --git a/sdk/compute/arm-compute/src/models/parameters.ts b/sdk/compute/arm-compute/src/models/parameters.ts
index 4207c0004079..30115323b65c 100644
--- a/sdk/compute/arm-compute/src/models/parameters.ts
+++ b/sdk/compute/arm-compute/src/models/parameters.ts
@@ -26,7 +26,7 @@ export const apiVersion0: msRest.OperationQueryParameter = {
required: true,
isConstant: true,
serializedName: "api-version",
- defaultValue: '2019-07-01',
+ defaultValue: '2020-06-01',
type: {
name: "String"
}
@@ -50,7 +50,7 @@ export const apiVersion2: msRest.OperationQueryParameter = {
required: true,
isConstant: true,
serializedName: "api-version",
- defaultValue: '2019-11-01',
+ defaultValue: '2020-06-30',
type: {
name: "String"
}
@@ -110,6 +110,16 @@ export const containerServiceName: msRest.OperationURLParameter = {
}
}
};
+export const diskAccessName: msRest.OperationURLParameter = {
+ parameterPath: "diskAccessName",
+ mapper: {
+ required: true,
+ serializedName: "diskAccessName",
+ type: {
+ name: "String"
+ }
+ }
+};
export const diskEncryptionSetName: msRest.OperationURLParameter = {
parameterPath: "diskEncryptionSetName",
mapper: {
@@ -367,6 +377,18 @@ export const resourceGroupName: msRest.OperationURLParameter = {
}
}
};
+export const sasUriExpirationTimeInMinutes: msRest.OperationQueryParameter = {
+ parameterPath: [
+ "options",
+ "sasUriExpirationTimeInMinutes"
+ ],
+ mapper: {
+ serializedName: "sasUriExpirationTimeInMinutes",
+ type: {
+ name: "Number"
+ }
+ }
+};
export const select: msRest.OperationQueryParameter = {
parameterPath: [
"options",
@@ -412,6 +434,16 @@ export const snapshotName: msRest.OperationURLParameter = {
}
}
};
+export const sshPublicKeyName: msRest.OperationURLParameter = {
+ parameterPath: "sshPublicKeyName",
+ mapper: {
+ required: true,
+ serializedName: "sshPublicKeyName",
+ type: {
+ name: "String"
+ }
+ }
+};
export const statusOnly: msRest.OperationQueryParameter = {
parameterPath: [
"options",
diff --git a/sdk/compute/arm-compute/src/models/proximityPlacementGroupsMappers.ts b/sdk/compute/arm-compute/src/models/proximityPlacementGroupsMappers.ts
index 98eda426a9e5..c95b98da90af 100644
--- a/sdk/compute/arm-compute/src/models/proximityPlacementGroupsMappers.ts
+++ b/sdk/compute/arm-compute/src/models/proximityPlacementGroupsMappers.ts
@@ -17,6 +17,7 @@ export {
AutomaticRepairsPolicy,
AvailabilitySet,
AvailabilitySetUpdate,
+ AvailablePatchSummary,
BaseResource,
BillingProfile,
BootDiagnostics,
@@ -42,13 +43,17 @@ export {
DedicatedHostAllocatableVM,
DedicatedHostAvailableCapacity,
DedicatedHostGroup,
+ DedicatedHostGroupInstanceView,
DedicatedHostGroupUpdate,
DedicatedHostInstanceView,
+ DedicatedHostInstanceViewWithName,
DedicatedHostUpdate,
DiagnosticsProfile,
DiffDiskSettings,
Disallowed,
+ DisallowedConfiguration,
Disk,
+ DiskAccess,
DiskEncryptionSet,
DiskEncryptionSetParameters,
DiskEncryptionSettings,
@@ -96,6 +101,7 @@ export {
KeyVaultAndSecretReference,
KeyVaultKeyReference,
KeyVaultSecretReference,
+ LastPatchInstallationSummary,
LinuxConfiguration,
MaintenanceRedeployStatus,
ManagedDiskParameters,
@@ -105,7 +111,11 @@ export {
OSDiskImage,
OSDiskImageEncryption,
OSProfile,
+ PatchSettings,
Plan,
+ PrivateEndpoint,
+ PrivateEndpointConnection,
+ PrivateLinkServiceConnectionState,
ProximityPlacementGroup,
ProximityPlacementGroupListResult,
ProximityPlacementGroupUpdate,
@@ -121,6 +131,7 @@ export {
RollingUpgradeStatusInfo,
ScaleInPolicy,
ScheduledEventsProfile,
+ SecurityProfile,
ShareInfoElement,
Sku,
Snapshot,
@@ -128,6 +139,8 @@ export {
SourceVault,
SshConfiguration,
SshPublicKey,
+ SshPublicKeyResource,
+ SshPublicKeyUpdateResource,
StorageProfile,
SubResource,
SubResourceReadOnly,
@@ -155,6 +168,7 @@ export {
VirtualMachineImage,
VirtualMachineImageResource,
VirtualMachineInstanceView,
+ VirtualMachinePatchStatus,
VirtualMachineScaleSet,
VirtualMachineScaleSetDataDisk,
VirtualMachineScaleSetExtension,
diff --git a/sdk/compute/arm-compute/src/models/snapshotsMappers.ts b/sdk/compute/arm-compute/src/models/snapshotsMappers.ts
index 775006fffb3d..b3701a644ec9 100644
--- a/sdk/compute/arm-compute/src/models/snapshotsMappers.ts
+++ b/sdk/compute/arm-compute/src/models/snapshotsMappers.ts
@@ -17,7 +17,7 @@ export {
AutomaticOSUpgradeProperties,
AutomaticRepairsPolicy,
AvailabilitySet,
- AvailabilitySetUpdate,
+ AvailablePatchSummary,
BaseResource,
BillingProfile,
BootDiagnostics,
@@ -43,13 +43,15 @@ export {
DedicatedHostAllocatableVM,
DedicatedHostAvailableCapacity,
DedicatedHostGroup,
- DedicatedHostGroupUpdate,
+ DedicatedHostGroupInstanceView,
DedicatedHostInstanceView,
- DedicatedHostUpdate,
+ DedicatedHostInstanceViewWithName,
DiagnosticsProfile,
DiffDiskSettings,
Disallowed,
+ DisallowedConfiguration,
Disk,
+ DiskAccess,
DiskEncryptionSet,
DiskEncryptionSetParameters,
DiskEncryptionSettings,
@@ -91,13 +93,13 @@ export {
ImagePurchasePlan,
ImageReference,
ImageStorageProfile,
- ImageUpdate,
InnerError,
InstanceViewStatus,
KeyVaultAndKeyReference,
KeyVaultAndSecretReference,
KeyVaultKeyReference,
KeyVaultSecretReference,
+ LastPatchInstallationSummary,
LinuxConfiguration,
MaintenanceRedeployStatus,
ManagedDiskParameters,
@@ -107,9 +109,12 @@ export {
OSDiskImage,
OSDiskImageEncryption,
OSProfile,
+ PatchSettings,
Plan,
+ PrivateEndpoint,
+ PrivateEndpointConnection,
+ PrivateLinkServiceConnectionState,
ProximityPlacementGroup,
- ProximityPlacementGroupUpdate,
PurchasePlan,
RecommendedMachineConfiguration,
RegionalReplicationStatus,
@@ -122,6 +127,7 @@ export {
RollingUpgradeStatusInfo,
ScaleInPolicy,
ScheduledEventsProfile,
+ SecurityProfile,
ShareInfoElement,
Sku,
Snapshot,
@@ -131,13 +137,13 @@ export {
SourceVault,
SshConfiguration,
SshPublicKey,
+ SshPublicKeyResource,
StorageProfile,
SubResource,
SubResourceReadOnly,
SubResourceWithColocationStatus,
TargetRegion,
TerminateNotificationProfile,
- UpdateResource,
UpdateResourceDefinition,
UpgradePolicy,
UserArtifactSource,
@@ -151,13 +157,13 @@ export {
VirtualMachineExtensionHandlerInstanceView,
VirtualMachineExtensionImage,
VirtualMachineExtensionInstanceView,
- VirtualMachineExtensionUpdate,
VirtualMachineHealthStatus,
VirtualMachineIdentity,
VirtualMachineIdentityUserAssignedIdentitiesValue,
VirtualMachineImage,
VirtualMachineImageResource,
VirtualMachineInstanceView,
+ VirtualMachinePatchStatus,
VirtualMachineScaleSet,
VirtualMachineScaleSetDataDisk,
VirtualMachineScaleSetExtension,
@@ -176,21 +182,14 @@ export {
VirtualMachineScaleSetPublicIPAddressConfiguration,
VirtualMachineScaleSetPublicIPAddressConfigurationDnsSettings,
VirtualMachineScaleSetStorageProfile,
- VirtualMachineScaleSetUpdate,
VirtualMachineScaleSetUpdateIPConfiguration,
VirtualMachineScaleSetUpdateNetworkConfiguration,
- VirtualMachineScaleSetUpdateNetworkProfile,
- VirtualMachineScaleSetUpdateOSDisk,
- VirtualMachineScaleSetUpdateOSProfile,
VirtualMachineScaleSetUpdatePublicIPAddressConfiguration,
- VirtualMachineScaleSetUpdateStorageProfile,
- VirtualMachineScaleSetUpdateVMProfile,
VirtualMachineScaleSetVM,
VirtualMachineScaleSetVMInstanceView,
VirtualMachineScaleSetVMNetworkProfileConfiguration,
VirtualMachineScaleSetVMProfile,
VirtualMachineScaleSetVMProtectionPolicy,
- VirtualMachineUpdate,
WindowsConfiguration,
WinRMConfiguration,
WinRMListener
diff --git a/sdk/compute/arm-compute/src/models/sshPublicKeysMappers.ts b/sdk/compute/arm-compute/src/models/sshPublicKeysMappers.ts
new file mode 100644
index 000000000000..634c39bf3870
--- /dev/null
+++ b/sdk/compute/arm-compute/src/models/sshPublicKeysMappers.ts
@@ -0,0 +1,209 @@
+/*
+ * Copyright (c) Microsoft Corporation. All rights reserved.
+ * Licensed under the MIT License. See License.txt in the project root for license information.
+ *
+ * Code generated by Microsoft (R) AutoRest Code Generator.
+ * Changes may cause incorrect behavior and will be lost if the code is regenerated.
+ */
+
+export {
+ AdditionalCapabilities,
+ AdditionalUnattendContent,
+ ApiEntityReference,
+ ApiError,
+ ApiErrorBase,
+ AutomaticOSUpgradePolicy,
+ AutomaticOSUpgradeProperties,
+ AutomaticRepairsPolicy,
+ AvailabilitySet,
+ AvailabilitySetUpdate,
+ AvailablePatchSummary,
+ BaseResource,
+ BillingProfile,
+ BootDiagnostics,
+ BootDiagnosticsInstanceView,
+ CloudError,
+ ContainerService,
+ ContainerServiceAgentPoolProfile,
+ ContainerServiceCustomProfile,
+ ContainerServiceDiagnosticsProfile,
+ ContainerServiceLinuxProfile,
+ ContainerServiceMasterProfile,
+ ContainerServiceOrchestratorProfile,
+ ContainerServiceServicePrincipalProfile,
+ ContainerServiceSshConfiguration,
+ ContainerServiceSshPublicKey,
+ ContainerServiceVMDiagnostics,
+ ContainerServiceWindowsProfile,
+ CreationData,
+ DataDisk,
+ DataDiskImage,
+ DataDiskImageEncryption,
+ DedicatedHost,
+ DedicatedHostAllocatableVM,
+ DedicatedHostAvailableCapacity,
+ DedicatedHostGroup,
+ DedicatedHostGroupInstanceView,
+ DedicatedHostGroupUpdate,
+ DedicatedHostInstanceView,
+ DedicatedHostInstanceViewWithName,
+ DedicatedHostUpdate,
+ DiagnosticsProfile,
+ DiffDiskSettings,
+ Disallowed,
+ DisallowedConfiguration,
+ Disk,
+ DiskAccess,
+ DiskEncryptionSet,
+ DiskEncryptionSetParameters,
+ DiskEncryptionSettings,
+ DiskImageEncryption,
+ DiskInstanceView,
+ DiskSku,
+ Encryption,
+ EncryptionImages,
+ EncryptionSetIdentity,
+ EncryptionSettingsCollection,
+ EncryptionSettingsElement,
+ 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,
+ KeyVaultAndKeyReference,
+ KeyVaultAndSecretReference,
+ KeyVaultKeyReference,
+ KeyVaultSecretReference,
+ LastPatchInstallationSummary,
+ LinuxConfiguration,
+ 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,
+ ScaleInPolicy,
+ ScheduledEventsProfile,
+ SecurityProfile,
+ ShareInfoElement,
+ Sku,
+ Snapshot,
+ SnapshotSku,
+ SourceVault,
+ SshConfiguration,
+ SshPublicKey,
+ SshPublicKeyGenerateKeyPairResult,
+ SshPublicKeyResource,
+ SshPublicKeysGroupListResult,
+ SshPublicKeyUpdateResource,
+ StorageProfile,
+ SubResource,
+ SubResourceReadOnly,
+ SubResourceWithColocationStatus,
+ TargetRegion,
+ TerminateNotificationProfile,
+ UpdateResource,
+ UpdateResourceDefinition,
+ UpgradePolicy,
+ UserArtifactSource,
+ VaultCertificate,
+ VaultSecretGroup,
+ VirtualHardDisk,
+ VirtualMachine,
+ VirtualMachineAgentInstanceView,
+ VirtualMachineCaptureResult,
+ VirtualMachineExtension,
+ VirtualMachineExtensionHandlerInstanceView,
+ VirtualMachineExtensionImage,
+ VirtualMachineExtensionInstanceView,
+ VirtualMachineExtensionUpdate,
+ VirtualMachineHealthStatus,
+ VirtualMachineIdentity,
+ VirtualMachineIdentityUserAssignedIdentitiesValue,
+ VirtualMachineImage,
+ VirtualMachineImageResource,
+ VirtualMachineInstanceView,
+ VirtualMachinePatchStatus,
+ 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,
+ VirtualMachineScaleSetVMInstanceView,
+ VirtualMachineScaleSetVMNetworkProfileConfiguration,
+ VirtualMachineScaleSetVMProfile,
+ VirtualMachineScaleSetVMProtectionPolicy,
+ VirtualMachineUpdate,
+ WindowsConfiguration,
+ WinRMConfiguration,
+ WinRMListener
+} from "../models/mappers";
diff --git a/sdk/compute/arm-compute/src/models/virtualMachineExtensionImagesMappers.ts b/sdk/compute/arm-compute/src/models/virtualMachineExtensionImagesMappers.ts
index e611b2ffb6b4..94265b583cca 100644
--- a/sdk/compute/arm-compute/src/models/virtualMachineExtensionImagesMappers.ts
+++ b/sdk/compute/arm-compute/src/models/virtualMachineExtensionImagesMappers.ts
@@ -16,7 +16,7 @@ export {
AutomaticOSUpgradeProperties,
AutomaticRepairsPolicy,
AvailabilitySet,
- AvailabilitySetUpdate,
+ AvailablePatchSummary,
BaseResource,
BillingProfile,
BootDiagnostics,
@@ -42,13 +42,15 @@ export {
DedicatedHostAllocatableVM,
DedicatedHostAvailableCapacity,
DedicatedHostGroup,
- DedicatedHostGroupUpdate,
+ DedicatedHostGroupInstanceView,
DedicatedHostInstanceView,
- DedicatedHostUpdate,
+ DedicatedHostInstanceViewWithName,
DiagnosticsProfile,
DiffDiskSettings,
Disallowed,
+ DisallowedConfiguration,
Disk,
+ DiskAccess,
DiskEncryptionSet,
DiskEncryptionSetParameters,
DiskEncryptionSettings,
@@ -89,13 +91,13 @@ export {
ImagePurchasePlan,
ImageReference,
ImageStorageProfile,
- ImageUpdate,
InnerError,
InstanceViewStatus,
KeyVaultAndKeyReference,
KeyVaultAndSecretReference,
KeyVaultKeyReference,
KeyVaultSecretReference,
+ LastPatchInstallationSummary,
LinuxConfiguration,
MaintenanceRedeployStatus,
ManagedDiskParameters,
@@ -105,9 +107,12 @@ export {
OSDiskImage,
OSDiskImageEncryption,
OSProfile,
+ PatchSettings,
Plan,
+ PrivateEndpoint,
+ PrivateEndpointConnection,
+ PrivateLinkServiceConnectionState,
ProximityPlacementGroup,
- ProximityPlacementGroupUpdate,
PurchasePlan,
RecommendedMachineConfiguration,
RegionalReplicationStatus,
@@ -120,6 +125,7 @@ export {
RollingUpgradeStatusInfo,
ScaleInPolicy,
ScheduledEventsProfile,
+ SecurityProfile,
ShareInfoElement,
Sku,
Snapshot,
@@ -127,13 +133,13 @@ export {
SourceVault,
SshConfiguration,
SshPublicKey,
+ SshPublicKeyResource,
StorageProfile,
SubResource,
SubResourceReadOnly,
SubResourceWithColocationStatus,
TargetRegion,
TerminateNotificationProfile,
- UpdateResource,
UpdateResourceDefinition,
UpgradePolicy,
UserArtifactSource,
@@ -147,13 +153,13 @@ export {
VirtualMachineExtensionHandlerInstanceView,
VirtualMachineExtensionImage,
VirtualMachineExtensionInstanceView,
- VirtualMachineExtensionUpdate,
VirtualMachineHealthStatus,
VirtualMachineIdentity,
VirtualMachineIdentityUserAssignedIdentitiesValue,
VirtualMachineImage,
VirtualMachineImageResource,
VirtualMachineInstanceView,
+ VirtualMachinePatchStatus,
VirtualMachineScaleSet,
VirtualMachineScaleSetDataDisk,
VirtualMachineScaleSetExtension,
@@ -172,21 +178,14 @@ export {
VirtualMachineScaleSetPublicIPAddressConfiguration,
VirtualMachineScaleSetPublicIPAddressConfigurationDnsSettings,
VirtualMachineScaleSetStorageProfile,
- VirtualMachineScaleSetUpdate,
VirtualMachineScaleSetUpdateIPConfiguration,
VirtualMachineScaleSetUpdateNetworkConfiguration,
- VirtualMachineScaleSetUpdateNetworkProfile,
- VirtualMachineScaleSetUpdateOSDisk,
- VirtualMachineScaleSetUpdateOSProfile,
VirtualMachineScaleSetUpdatePublicIPAddressConfiguration,
- VirtualMachineScaleSetUpdateStorageProfile,
- VirtualMachineScaleSetUpdateVMProfile,
VirtualMachineScaleSetVM,
VirtualMachineScaleSetVMInstanceView,
VirtualMachineScaleSetVMNetworkProfileConfiguration,
VirtualMachineScaleSetVMProfile,
VirtualMachineScaleSetVMProtectionPolicy,
- VirtualMachineUpdate,
WindowsConfiguration,
WinRMConfiguration,
WinRMListener
diff --git a/sdk/compute/arm-compute/src/models/virtualMachineExtensionsMappers.ts b/sdk/compute/arm-compute/src/models/virtualMachineExtensionsMappers.ts
index be4d9613ee15..6299932f5dcc 100644
--- a/sdk/compute/arm-compute/src/models/virtualMachineExtensionsMappers.ts
+++ b/sdk/compute/arm-compute/src/models/virtualMachineExtensionsMappers.ts
@@ -17,6 +17,7 @@ export {
AutomaticRepairsPolicy,
AvailabilitySet,
AvailabilitySetUpdate,
+ AvailablePatchSummary,
BaseResource,
BillingProfile,
BootDiagnostics,
@@ -42,13 +43,17 @@ export {
DedicatedHostAllocatableVM,
DedicatedHostAvailableCapacity,
DedicatedHostGroup,
+ DedicatedHostGroupInstanceView,
DedicatedHostGroupUpdate,
DedicatedHostInstanceView,
+ DedicatedHostInstanceViewWithName,
DedicatedHostUpdate,
DiagnosticsProfile,
DiffDiskSettings,
Disallowed,
+ DisallowedConfiguration,
Disk,
+ DiskAccess,
DiskEncryptionSet,
DiskEncryptionSetParameters,
DiskEncryptionSettings,
@@ -96,6 +101,7 @@ export {
KeyVaultAndSecretReference,
KeyVaultKeyReference,
KeyVaultSecretReference,
+ LastPatchInstallationSummary,
LinuxConfiguration,
MaintenanceRedeployStatus,
ManagedDiskParameters,
@@ -105,7 +111,11 @@ export {
OSDiskImage,
OSDiskImageEncryption,
OSProfile,
+ PatchSettings,
Plan,
+ PrivateEndpoint,
+ PrivateEndpointConnection,
+ PrivateLinkServiceConnectionState,
ProximityPlacementGroup,
ProximityPlacementGroupUpdate,
PurchasePlan,
@@ -120,6 +130,7 @@ export {
RollingUpgradeStatusInfo,
ScaleInPolicy,
ScheduledEventsProfile,
+ SecurityProfile,
ShareInfoElement,
Sku,
Snapshot,
@@ -127,6 +138,8 @@ export {
SourceVault,
SshConfiguration,
SshPublicKey,
+ SshPublicKeyResource,
+ SshPublicKeyUpdateResource,
StorageProfile,
SubResource,
SubResourceReadOnly,
@@ -155,6 +168,7 @@ export {
VirtualMachineImage,
VirtualMachineImageResource,
VirtualMachineInstanceView,
+ VirtualMachinePatchStatus,
VirtualMachineScaleSet,
VirtualMachineScaleSetDataDisk,
VirtualMachineScaleSetExtension,
diff --git a/sdk/compute/arm-compute/src/models/virtualMachineImagesMappers.ts b/sdk/compute/arm-compute/src/models/virtualMachineImagesMappers.ts
index e611b2ffb6b4..94265b583cca 100644
--- a/sdk/compute/arm-compute/src/models/virtualMachineImagesMappers.ts
+++ b/sdk/compute/arm-compute/src/models/virtualMachineImagesMappers.ts
@@ -16,7 +16,7 @@ export {
AutomaticOSUpgradeProperties,
AutomaticRepairsPolicy,
AvailabilitySet,
- AvailabilitySetUpdate,
+ AvailablePatchSummary,
BaseResource,
BillingProfile,
BootDiagnostics,
@@ -42,13 +42,15 @@ export {
DedicatedHostAllocatableVM,
DedicatedHostAvailableCapacity,
DedicatedHostGroup,
- DedicatedHostGroupUpdate,
+ DedicatedHostGroupInstanceView,
DedicatedHostInstanceView,
- DedicatedHostUpdate,
+ DedicatedHostInstanceViewWithName,
DiagnosticsProfile,
DiffDiskSettings,
Disallowed,
+ DisallowedConfiguration,
Disk,
+ DiskAccess,
DiskEncryptionSet,
DiskEncryptionSetParameters,
DiskEncryptionSettings,
@@ -89,13 +91,13 @@ export {
ImagePurchasePlan,
ImageReference,
ImageStorageProfile,
- ImageUpdate,
InnerError,
InstanceViewStatus,
KeyVaultAndKeyReference,
KeyVaultAndSecretReference,
KeyVaultKeyReference,
KeyVaultSecretReference,
+ LastPatchInstallationSummary,
LinuxConfiguration,
MaintenanceRedeployStatus,
ManagedDiskParameters,
@@ -105,9 +107,12 @@ export {
OSDiskImage,
OSDiskImageEncryption,
OSProfile,
+ PatchSettings,
Plan,
+ PrivateEndpoint,
+ PrivateEndpointConnection,
+ PrivateLinkServiceConnectionState,
ProximityPlacementGroup,
- ProximityPlacementGroupUpdate,
PurchasePlan,
RecommendedMachineConfiguration,
RegionalReplicationStatus,
@@ -120,6 +125,7 @@ export {
RollingUpgradeStatusInfo,
ScaleInPolicy,
ScheduledEventsProfile,
+ SecurityProfile,
ShareInfoElement,
Sku,
Snapshot,
@@ -127,13 +133,13 @@ export {
SourceVault,
SshConfiguration,
SshPublicKey,
+ SshPublicKeyResource,
StorageProfile,
SubResource,
SubResourceReadOnly,
SubResourceWithColocationStatus,
TargetRegion,
TerminateNotificationProfile,
- UpdateResource,
UpdateResourceDefinition,
UpgradePolicy,
UserArtifactSource,
@@ -147,13 +153,13 @@ export {
VirtualMachineExtensionHandlerInstanceView,
VirtualMachineExtensionImage,
VirtualMachineExtensionInstanceView,
- VirtualMachineExtensionUpdate,
VirtualMachineHealthStatus,
VirtualMachineIdentity,
VirtualMachineIdentityUserAssignedIdentitiesValue,
VirtualMachineImage,
VirtualMachineImageResource,
VirtualMachineInstanceView,
+ VirtualMachinePatchStatus,
VirtualMachineScaleSet,
VirtualMachineScaleSetDataDisk,
VirtualMachineScaleSetExtension,
@@ -172,21 +178,14 @@ export {
VirtualMachineScaleSetPublicIPAddressConfiguration,
VirtualMachineScaleSetPublicIPAddressConfigurationDnsSettings,
VirtualMachineScaleSetStorageProfile,
- VirtualMachineScaleSetUpdate,
VirtualMachineScaleSetUpdateIPConfiguration,
VirtualMachineScaleSetUpdateNetworkConfiguration,
- VirtualMachineScaleSetUpdateNetworkProfile,
- VirtualMachineScaleSetUpdateOSDisk,
- VirtualMachineScaleSetUpdateOSProfile,
VirtualMachineScaleSetUpdatePublicIPAddressConfiguration,
- VirtualMachineScaleSetUpdateStorageProfile,
- VirtualMachineScaleSetUpdateVMProfile,
VirtualMachineScaleSetVM,
VirtualMachineScaleSetVMInstanceView,
VirtualMachineScaleSetVMNetworkProfileConfiguration,
VirtualMachineScaleSetVMProfile,
VirtualMachineScaleSetVMProtectionPolicy,
- VirtualMachineUpdate,
WindowsConfiguration,
WinRMConfiguration,
WinRMListener
diff --git a/sdk/compute/arm-compute/src/models/virtualMachineScaleSetExtensionsMappers.ts b/sdk/compute/arm-compute/src/models/virtualMachineScaleSetExtensionsMappers.ts
index b10f7a75f125..b97e1690a27a 100644
--- a/sdk/compute/arm-compute/src/models/virtualMachineScaleSetExtensionsMappers.ts
+++ b/sdk/compute/arm-compute/src/models/virtualMachineScaleSetExtensionsMappers.ts
@@ -16,7 +16,7 @@ export {
AutomaticOSUpgradeProperties,
AutomaticRepairsPolicy,
AvailabilitySet,
- AvailabilitySetUpdate,
+ AvailablePatchSummary,
BaseResource,
BillingProfile,
BootDiagnostics,
@@ -42,13 +42,15 @@ export {
DedicatedHostAllocatableVM,
DedicatedHostAvailableCapacity,
DedicatedHostGroup,
- DedicatedHostGroupUpdate,
+ DedicatedHostGroupInstanceView,
DedicatedHostInstanceView,
- DedicatedHostUpdate,
+ DedicatedHostInstanceViewWithName,
DiagnosticsProfile,
DiffDiskSettings,
Disallowed,
+ DisallowedConfiguration,
Disk,
+ DiskAccess,
DiskEncryptionSet,
DiskEncryptionSetParameters,
DiskEncryptionSettings,
@@ -89,13 +91,13 @@ export {
ImagePurchasePlan,
ImageReference,
ImageStorageProfile,
- ImageUpdate,
InnerError,
InstanceViewStatus,
KeyVaultAndKeyReference,
KeyVaultAndSecretReference,
KeyVaultKeyReference,
KeyVaultSecretReference,
+ LastPatchInstallationSummary,
LinuxConfiguration,
MaintenanceRedeployStatus,
ManagedDiskParameters,
@@ -105,9 +107,12 @@ export {
OSDiskImage,
OSDiskImageEncryption,
OSProfile,
+ PatchSettings,
Plan,
+ PrivateEndpoint,
+ PrivateEndpointConnection,
+ PrivateLinkServiceConnectionState,
ProximityPlacementGroup,
- ProximityPlacementGroupUpdate,
PurchasePlan,
RecommendedMachineConfiguration,
RegionalReplicationStatus,
@@ -120,6 +125,7 @@ export {
RollingUpgradeStatusInfo,
ScaleInPolicy,
ScheduledEventsProfile,
+ SecurityProfile,
ShareInfoElement,
Sku,
Snapshot,
@@ -127,13 +133,13 @@ export {
SourceVault,
SshConfiguration,
SshPublicKey,
+ SshPublicKeyResource,
StorageProfile,
SubResource,
SubResourceReadOnly,
SubResourceWithColocationStatus,
TargetRegion,
TerminateNotificationProfile,
- UpdateResource,
UpdateResourceDefinition,
UpgradePolicy,
UserArtifactSource,
@@ -147,13 +153,13 @@ export {
VirtualMachineExtensionHandlerInstanceView,
VirtualMachineExtensionImage,
VirtualMachineExtensionInstanceView,
- VirtualMachineExtensionUpdate,
VirtualMachineHealthStatus,
VirtualMachineIdentity,
VirtualMachineIdentityUserAssignedIdentitiesValue,
VirtualMachineImage,
VirtualMachineImageResource,
VirtualMachineInstanceView,
+ VirtualMachinePatchStatus,
VirtualMachineScaleSet,
VirtualMachineScaleSetDataDisk,
VirtualMachineScaleSetExtension,
@@ -173,21 +179,14 @@ export {
VirtualMachineScaleSetPublicIPAddressConfiguration,
VirtualMachineScaleSetPublicIPAddressConfigurationDnsSettings,
VirtualMachineScaleSetStorageProfile,
- VirtualMachineScaleSetUpdate,
VirtualMachineScaleSetUpdateIPConfiguration,
VirtualMachineScaleSetUpdateNetworkConfiguration,
- VirtualMachineScaleSetUpdateNetworkProfile,
- VirtualMachineScaleSetUpdateOSDisk,
- VirtualMachineScaleSetUpdateOSProfile,
VirtualMachineScaleSetUpdatePublicIPAddressConfiguration,
- VirtualMachineScaleSetUpdateStorageProfile,
- VirtualMachineScaleSetUpdateVMProfile,
VirtualMachineScaleSetVM,
VirtualMachineScaleSetVMInstanceView,
VirtualMachineScaleSetVMNetworkProfileConfiguration,
VirtualMachineScaleSetVMProfile,
VirtualMachineScaleSetVMProtectionPolicy,
- VirtualMachineUpdate,
WindowsConfiguration,
WinRMConfiguration,
WinRMListener
diff --git a/sdk/compute/arm-compute/src/models/virtualMachineScaleSetRollingUpgradesMappers.ts b/sdk/compute/arm-compute/src/models/virtualMachineScaleSetRollingUpgradesMappers.ts
index e611b2ffb6b4..94265b583cca 100644
--- a/sdk/compute/arm-compute/src/models/virtualMachineScaleSetRollingUpgradesMappers.ts
+++ b/sdk/compute/arm-compute/src/models/virtualMachineScaleSetRollingUpgradesMappers.ts
@@ -16,7 +16,7 @@ export {
AutomaticOSUpgradeProperties,
AutomaticRepairsPolicy,
AvailabilitySet,
- AvailabilitySetUpdate,
+ AvailablePatchSummary,
BaseResource,
BillingProfile,
BootDiagnostics,
@@ -42,13 +42,15 @@ export {
DedicatedHostAllocatableVM,
DedicatedHostAvailableCapacity,
DedicatedHostGroup,
- DedicatedHostGroupUpdate,
+ DedicatedHostGroupInstanceView,
DedicatedHostInstanceView,
- DedicatedHostUpdate,
+ DedicatedHostInstanceViewWithName,
DiagnosticsProfile,
DiffDiskSettings,
Disallowed,
+ DisallowedConfiguration,
Disk,
+ DiskAccess,
DiskEncryptionSet,
DiskEncryptionSetParameters,
DiskEncryptionSettings,
@@ -89,13 +91,13 @@ export {
ImagePurchasePlan,
ImageReference,
ImageStorageProfile,
- ImageUpdate,
InnerError,
InstanceViewStatus,
KeyVaultAndKeyReference,
KeyVaultAndSecretReference,
KeyVaultKeyReference,
KeyVaultSecretReference,
+ LastPatchInstallationSummary,
LinuxConfiguration,
MaintenanceRedeployStatus,
ManagedDiskParameters,
@@ -105,9 +107,12 @@ export {
OSDiskImage,
OSDiskImageEncryption,
OSProfile,
+ PatchSettings,
Plan,
+ PrivateEndpoint,
+ PrivateEndpointConnection,
+ PrivateLinkServiceConnectionState,
ProximityPlacementGroup,
- ProximityPlacementGroupUpdate,
PurchasePlan,
RecommendedMachineConfiguration,
RegionalReplicationStatus,
@@ -120,6 +125,7 @@ export {
RollingUpgradeStatusInfo,
ScaleInPolicy,
ScheduledEventsProfile,
+ SecurityProfile,
ShareInfoElement,
Sku,
Snapshot,
@@ -127,13 +133,13 @@ export {
SourceVault,
SshConfiguration,
SshPublicKey,
+ SshPublicKeyResource,
StorageProfile,
SubResource,
SubResourceReadOnly,
SubResourceWithColocationStatus,
TargetRegion,
TerminateNotificationProfile,
- UpdateResource,
UpdateResourceDefinition,
UpgradePolicy,
UserArtifactSource,
@@ -147,13 +153,13 @@ export {
VirtualMachineExtensionHandlerInstanceView,
VirtualMachineExtensionImage,
VirtualMachineExtensionInstanceView,
- VirtualMachineExtensionUpdate,
VirtualMachineHealthStatus,
VirtualMachineIdentity,
VirtualMachineIdentityUserAssignedIdentitiesValue,
VirtualMachineImage,
VirtualMachineImageResource,
VirtualMachineInstanceView,
+ VirtualMachinePatchStatus,
VirtualMachineScaleSet,
VirtualMachineScaleSetDataDisk,
VirtualMachineScaleSetExtension,
@@ -172,21 +178,14 @@ export {
VirtualMachineScaleSetPublicIPAddressConfiguration,
VirtualMachineScaleSetPublicIPAddressConfigurationDnsSettings,
VirtualMachineScaleSetStorageProfile,
- VirtualMachineScaleSetUpdate,
VirtualMachineScaleSetUpdateIPConfiguration,
VirtualMachineScaleSetUpdateNetworkConfiguration,
- VirtualMachineScaleSetUpdateNetworkProfile,
- VirtualMachineScaleSetUpdateOSDisk,
- VirtualMachineScaleSetUpdateOSProfile,
VirtualMachineScaleSetUpdatePublicIPAddressConfiguration,
- VirtualMachineScaleSetUpdateStorageProfile,
- VirtualMachineScaleSetUpdateVMProfile,
VirtualMachineScaleSetVM,
VirtualMachineScaleSetVMInstanceView,
VirtualMachineScaleSetVMNetworkProfileConfiguration,
VirtualMachineScaleSetVMProfile,
VirtualMachineScaleSetVMProtectionPolicy,
- VirtualMachineUpdate,
WindowsConfiguration,
WinRMConfiguration,
WinRMListener
diff --git a/sdk/compute/arm-compute/src/models/virtualMachineScaleSetVMExtensionsMappers.ts b/sdk/compute/arm-compute/src/models/virtualMachineScaleSetVMExtensionsMappers.ts
index be4d9613ee15..6299932f5dcc 100644
--- a/sdk/compute/arm-compute/src/models/virtualMachineScaleSetVMExtensionsMappers.ts
+++ b/sdk/compute/arm-compute/src/models/virtualMachineScaleSetVMExtensionsMappers.ts
@@ -17,6 +17,7 @@ export {
AutomaticRepairsPolicy,
AvailabilitySet,
AvailabilitySetUpdate,
+ AvailablePatchSummary,
BaseResource,
BillingProfile,
BootDiagnostics,
@@ -42,13 +43,17 @@ export {
DedicatedHostAllocatableVM,
DedicatedHostAvailableCapacity,
DedicatedHostGroup,
+ DedicatedHostGroupInstanceView,
DedicatedHostGroupUpdate,
DedicatedHostInstanceView,
+ DedicatedHostInstanceViewWithName,
DedicatedHostUpdate,
DiagnosticsProfile,
DiffDiskSettings,
Disallowed,
+ DisallowedConfiguration,
Disk,
+ DiskAccess,
DiskEncryptionSet,
DiskEncryptionSetParameters,
DiskEncryptionSettings,
@@ -96,6 +101,7 @@ export {
KeyVaultAndSecretReference,
KeyVaultKeyReference,
KeyVaultSecretReference,
+ LastPatchInstallationSummary,
LinuxConfiguration,
MaintenanceRedeployStatus,
ManagedDiskParameters,
@@ -105,7 +111,11 @@ export {
OSDiskImage,
OSDiskImageEncryption,
OSProfile,
+ PatchSettings,
Plan,
+ PrivateEndpoint,
+ PrivateEndpointConnection,
+ PrivateLinkServiceConnectionState,
ProximityPlacementGroup,
ProximityPlacementGroupUpdate,
PurchasePlan,
@@ -120,6 +130,7 @@ export {
RollingUpgradeStatusInfo,
ScaleInPolicy,
ScheduledEventsProfile,
+ SecurityProfile,
ShareInfoElement,
Sku,
Snapshot,
@@ -127,6 +138,8 @@ export {
SourceVault,
SshConfiguration,
SshPublicKey,
+ SshPublicKeyResource,
+ SshPublicKeyUpdateResource,
StorageProfile,
SubResource,
SubResourceReadOnly,
@@ -155,6 +168,7 @@ export {
VirtualMachineImage,
VirtualMachineImageResource,
VirtualMachineInstanceView,
+ VirtualMachinePatchStatus,
VirtualMachineScaleSet,
VirtualMachineScaleSetDataDisk,
VirtualMachineScaleSetExtension,
diff --git a/sdk/compute/arm-compute/src/models/virtualMachineScaleSetVMsMappers.ts b/sdk/compute/arm-compute/src/models/virtualMachineScaleSetVMsMappers.ts
index fc7ba43f4734..5a4992a8918f 100644
--- a/sdk/compute/arm-compute/src/models/virtualMachineScaleSetVMsMappers.ts
+++ b/sdk/compute/arm-compute/src/models/virtualMachineScaleSetVMsMappers.ts
@@ -16,7 +16,7 @@ export {
AutomaticOSUpgradeProperties,
AutomaticRepairsPolicy,
AvailabilitySet,
- AvailabilitySetUpdate,
+ AvailablePatchSummary,
BaseResource,
BillingProfile,
BootDiagnostics,
@@ -42,13 +42,15 @@ export {
DedicatedHostAllocatableVM,
DedicatedHostAvailableCapacity,
DedicatedHostGroup,
- DedicatedHostGroupUpdate,
+ DedicatedHostGroupInstanceView,
DedicatedHostInstanceView,
- DedicatedHostUpdate,
+ DedicatedHostInstanceViewWithName,
DiagnosticsProfile,
DiffDiskSettings,
Disallowed,
+ DisallowedConfiguration,
Disk,
+ DiskAccess,
DiskEncryptionSet,
DiskEncryptionSetParameters,
DiskEncryptionSettings,
@@ -89,13 +91,13 @@ export {
ImagePurchasePlan,
ImageReference,
ImageStorageProfile,
- ImageUpdate,
InnerError,
InstanceViewStatus,
KeyVaultAndKeyReference,
KeyVaultAndSecretReference,
KeyVaultKeyReference,
KeyVaultSecretReference,
+ LastPatchInstallationSummary,
LinuxConfiguration,
MaintenanceRedeployStatus,
ManagedDiskParameters,
@@ -105,15 +107,19 @@ export {
OSDiskImage,
OSDiskImageEncryption,
OSProfile,
+ PatchSettings,
Plan,
+ PrivateEndpoint,
+ PrivateEndpointConnection,
+ PrivateLinkServiceConnectionState,
ProximityPlacementGroup,
- ProximityPlacementGroupUpdate,
PurchasePlan,
RecommendedMachineConfiguration,
RegionalReplicationStatus,
ReplicationStatus,
Resource,
ResourceRange,
+ RetrieveBootDiagnosticsDataResult,
RollingUpgradePolicy,
RollingUpgradeProgressInfo,
RollingUpgradeRunningStatus,
@@ -123,6 +129,7 @@ export {
RunCommandResult,
ScaleInPolicy,
ScheduledEventsProfile,
+ SecurityProfile,
ShareInfoElement,
Sku,
Snapshot,
@@ -130,13 +137,13 @@ export {
SourceVault,
SshConfiguration,
SshPublicKey,
+ SshPublicKeyResource,
StorageProfile,
SubResource,
SubResourceReadOnly,
SubResourceWithColocationStatus,
TargetRegion,
TerminateNotificationProfile,
- UpdateResource,
UpdateResourceDefinition,
UpgradePolicy,
UserArtifactSource,
@@ -150,13 +157,13 @@ export {
VirtualMachineExtensionHandlerInstanceView,
VirtualMachineExtensionImage,
VirtualMachineExtensionInstanceView,
- VirtualMachineExtensionUpdate,
VirtualMachineHealthStatus,
VirtualMachineIdentity,
VirtualMachineIdentityUserAssignedIdentitiesValue,
VirtualMachineImage,
VirtualMachineImageResource,
VirtualMachineInstanceView,
+ VirtualMachinePatchStatus,
VirtualMachineReimageParameters,
VirtualMachineScaleSet,
VirtualMachineScaleSetDataDisk,
@@ -177,15 +184,9 @@ export {
VirtualMachineScaleSetPublicIPAddressConfigurationDnsSettings,
VirtualMachineScaleSetReimageParameters,
VirtualMachineScaleSetStorageProfile,
- VirtualMachineScaleSetUpdate,
VirtualMachineScaleSetUpdateIPConfiguration,
VirtualMachineScaleSetUpdateNetworkConfiguration,
- VirtualMachineScaleSetUpdateNetworkProfile,
- VirtualMachineScaleSetUpdateOSDisk,
- VirtualMachineScaleSetUpdateOSProfile,
VirtualMachineScaleSetUpdatePublicIPAddressConfiguration,
- VirtualMachineScaleSetUpdateStorageProfile,
- VirtualMachineScaleSetUpdateVMProfile,
VirtualMachineScaleSetVM,
VirtualMachineScaleSetVMInstanceView,
VirtualMachineScaleSetVMListResult,
@@ -193,7 +194,6 @@ export {
VirtualMachineScaleSetVMProfile,
VirtualMachineScaleSetVMProtectionPolicy,
VirtualMachineScaleSetVMReimageParameters,
- VirtualMachineUpdate,
WindowsConfiguration,
WinRMConfiguration,
WinRMListener
diff --git a/sdk/compute/arm-compute/src/models/virtualMachineScaleSetsMappers.ts b/sdk/compute/arm-compute/src/models/virtualMachineScaleSetsMappers.ts
index e89157d00c26..7ada9068e03d 100644
--- a/sdk/compute/arm-compute/src/models/virtualMachineScaleSetsMappers.ts
+++ b/sdk/compute/arm-compute/src/models/virtualMachineScaleSetsMappers.ts
@@ -17,6 +17,7 @@ export {
AutomaticRepairsPolicy,
AvailabilitySet,
AvailabilitySetUpdate,
+ AvailablePatchSummary,
BaseResource,
BillingProfile,
BootDiagnostics,
@@ -42,13 +43,17 @@ export {
DedicatedHostAllocatableVM,
DedicatedHostAvailableCapacity,
DedicatedHostGroup,
+ DedicatedHostGroupInstanceView,
DedicatedHostGroupUpdate,
DedicatedHostInstanceView,
+ DedicatedHostInstanceViewWithName,
DedicatedHostUpdate,
DiagnosticsProfile,
DiffDiskSettings,
Disallowed,
+ DisallowedConfiguration,
Disk,
+ DiskAccess,
DiskEncryptionSet,
DiskEncryptionSetParameters,
DiskEncryptionSettings,
@@ -96,16 +101,23 @@ export {
KeyVaultAndSecretReference,
KeyVaultKeyReference,
KeyVaultSecretReference,
+ LastPatchInstallationSummary,
LinuxConfiguration,
MaintenanceRedeployStatus,
ManagedDiskParameters,
NetworkInterfaceReference,
NetworkProfile,
+ OrchestrationServiceStateInput,
+ OrchestrationServiceSummary,
OSDisk,
OSDiskImage,
OSDiskImageEncryption,
OSProfile,
+ PatchSettings,
Plan,
+ PrivateEndpoint,
+ PrivateEndpointConnection,
+ PrivateLinkServiceConnectionState,
ProximityPlacementGroup,
ProximityPlacementGroupUpdate,
PurchasePlan,
@@ -122,6 +134,7 @@ export {
RollingUpgradeStatusInfo,
ScaleInPolicy,
ScheduledEventsProfile,
+ SecurityProfile,
ShareInfoElement,
Sku,
Snapshot,
@@ -129,6 +142,8 @@ export {
SourceVault,
SshConfiguration,
SshPublicKey,
+ SshPublicKeyResource,
+ SshPublicKeyUpdateResource,
StorageProfile,
SubResource,
SubResourceReadOnly,
@@ -159,6 +174,7 @@ export {
VirtualMachineImage,
VirtualMachineImageResource,
VirtualMachineInstanceView,
+ VirtualMachinePatchStatus,
VirtualMachineReimageParameters,
VirtualMachineScaleSet,
VirtualMachineScaleSetDataDisk,
diff --git a/sdk/compute/arm-compute/src/models/virtualMachinesMappers.ts b/sdk/compute/arm-compute/src/models/virtualMachinesMappers.ts
index f4f08b90903a..d2ce653f6004 100644
--- a/sdk/compute/arm-compute/src/models/virtualMachinesMappers.ts
+++ b/sdk/compute/arm-compute/src/models/virtualMachinesMappers.ts
@@ -17,6 +17,7 @@ export {
AutomaticRepairsPolicy,
AvailabilitySet,
AvailabilitySetUpdate,
+ AvailablePatchSummary,
BaseResource,
BillingProfile,
BootDiagnostics,
@@ -42,13 +43,17 @@ export {
DedicatedHostAllocatableVM,
DedicatedHostAvailableCapacity,
DedicatedHostGroup,
+ DedicatedHostGroupInstanceView,
DedicatedHostGroupUpdate,
DedicatedHostInstanceView,
+ DedicatedHostInstanceViewWithName,
DedicatedHostUpdate,
DiagnosticsProfile,
DiffDiskSettings,
Disallowed,
+ DisallowedConfiguration,
Disk,
+ DiskAccess,
DiskEncryptionSet,
DiskEncryptionSetParameters,
DiskEncryptionSettings,
@@ -96,6 +101,7 @@ export {
KeyVaultAndSecretReference,
KeyVaultKeyReference,
KeyVaultSecretReference,
+ LastPatchInstallationSummary,
LinuxConfiguration,
MaintenanceRedeployStatus,
ManagedDiskParameters,
@@ -105,7 +111,11 @@ export {
OSDiskImage,
OSDiskImageEncryption,
OSProfile,
+ PatchSettings,
Plan,
+ PrivateEndpoint,
+ PrivateEndpointConnection,
+ PrivateLinkServiceConnectionState,
ProximityPlacementGroup,
ProximityPlacementGroupUpdate,
PurchasePlan,
@@ -114,6 +124,7 @@ export {
ReplicationStatus,
Resource,
ResourceRange,
+ RetrieveBootDiagnosticsDataResult,
RollingUpgradePolicy,
RollingUpgradeProgressInfo,
RollingUpgradeRunningStatus,
@@ -123,6 +134,7 @@ export {
RunCommandResult,
ScaleInPolicy,
ScheduledEventsProfile,
+ SecurityProfile,
ShareInfoElement,
Sku,
Snapshot,
@@ -130,6 +142,8 @@ export {
SourceVault,
SshConfiguration,
SshPublicKey,
+ SshPublicKeyResource,
+ SshPublicKeyUpdateResource,
StorageProfile,
SubResource,
SubResourceReadOnly,
@@ -145,6 +159,7 @@ export {
VirtualHardDisk,
VirtualMachine,
VirtualMachineAgentInstanceView,
+ VirtualMachineAssessPatchesResult,
VirtualMachineCaptureParameters,
VirtualMachineCaptureResult,
VirtualMachineExtension,
@@ -159,6 +174,7 @@ export {
VirtualMachineImageResource,
VirtualMachineInstanceView,
VirtualMachineListResult,
+ VirtualMachinePatchStatus,
VirtualMachineReimageParameters,
VirtualMachineScaleSet,
VirtualMachineScaleSetDataDisk,
@@ -196,6 +212,7 @@ export {
VirtualMachineScaleSetVMReimageParameters,
VirtualMachineSize,
VirtualMachineSizeListResult,
+ VirtualMachineSoftwarePatchProperties,
VirtualMachineUpdate,
WindowsConfiguration,
WinRMConfiguration,
diff --git a/sdk/compute/arm-compute/src/operations/dedicatedHostGroups.ts b/sdk/compute/arm-compute/src/operations/dedicatedHostGroups.ts
index bfbb911ad51a..52c24be5bd99 100644
--- a/sdk/compute/arm-compute/src/operations/dedicatedHostGroups.ts
+++ b/sdk/compute/arm-compute/src/operations/dedicatedHostGroups.ts
@@ -138,7 +138,7 @@ export class DedicatedHostGroups {
* @param [options] The optional parameters
* @returns Promise
*/
- get(resourceGroupName: string, hostGroupName: string, options?: msRest.RequestOptionsBase): Promise;
+ get(resourceGroupName: string, hostGroupName: string, options?: Models.DedicatedHostGroupsGetOptionalParams): Promise;
/**
* @param resourceGroupName The name of the resource group.
* @param hostGroupName The name of the dedicated host group.
@@ -151,8 +151,8 @@ export class DedicatedHostGroups {
* @param options The optional parameters
* @param callback The callback
*/
- get(resourceGroupName: string, hostGroupName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void;
- get(resourceGroupName: string, hostGroupName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise {
+ get(resourceGroupName: string, hostGroupName: string, options: Models.DedicatedHostGroupsGetOptionalParams, callback: msRest.ServiceCallback): void;
+ get(resourceGroupName: string, hostGroupName: string, options?: Models.DedicatedHostGroupsGetOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise {
return this.client.sendOperationRequest(
{
resourceGroupName,
@@ -378,6 +378,7 @@ const getOperationSpec: msRest.OperationSpec = {
Parameters.subscriptionId
],
queryParameters: [
+ Parameters.expand1,
Parameters.apiVersion0
],
headerParameters: [
diff --git a/sdk/compute/arm-compute/src/operations/diskAccesses.ts b/sdk/compute/arm-compute/src/operations/diskAccesses.ts
new file mode 100644
index 000000000000..840735b7139e
--- /dev/null
+++ b/sdk/compute/arm-compute/src/operations/diskAccesses.ts
@@ -0,0 +1,557 @@
+/*
+ * 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/diskAccessesMappers";
+import * as Parameters from "../models/parameters";
+import { ComputeManagementClientContext } from "../computeManagementClientContext";
+
+/** Class representing a DiskAccesses. */
+export class DiskAccesses {
+ private readonly client: ComputeManagementClientContext;
+
+ /**
+ * Create a DiskAccesses.
+ * @param {ComputeManagementClientContext} client Reference to the service client.
+ */
+ constructor(client: ComputeManagementClientContext) {
+ this.client = client;
+ }
+
+ /**
+ * Creates or updates 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 diskAccess disk access object supplied in the body of the Put disk access operation.
+ * @param [options] The optional parameters
+ * @returns Promise
+ */
+ createOrUpdate(resourceGroupName: string, diskAccessName: string, diskAccess: Models.DiskAccess, options?: msRest.RequestOptionsBase): Promise {
+ return this.beginCreateOrUpdate(resourceGroupName,diskAccessName,diskAccess,options)
+ .then(lroPoller => lroPoller.pollUntilFinished()) as Promise;
+ }
+
+ /**
+ * Updates (patches) 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 diskAccess disk access object supplied in the body of the Patch disk access operation.
+ * @param [options] The optional parameters
+ * @returns Promise
+ */
+ update(resourceGroupName: string, diskAccessName: string, diskAccess: Models.DiskAccessUpdate, options?: msRest.RequestOptionsBase): Promise {
+ return this.beginUpdate(resourceGroupName,diskAccessName,diskAccess,options)
+ .then(lroPoller => lroPoller.pollUntilFinished()) as Promise;
+ }
+
+ /**
+ * Gets information about 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
+ */
+ get(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
+ */
+ get(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
+ */
+ get(resourceGroupName: string, diskAccessName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void;
+ get(resourceGroupName: string, diskAccessName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise {
+ return this.client.sendOperationRequest(
+ {
+ resourceGroupName,
+ diskAccessName,
+ options
+ },
+ getOperationSpec,
+ callback) as Promise;
+ }
+
+ /**
+ * Deletes 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
+ */
+ deleteMethod(resourceGroupName: string, diskAccessName: string, options?: msRest.RequestOptionsBase): Promise {
+ return this.beginDeleteMethod(resourceGroupName,diskAccessName,options)
+ .then(lroPoller => lroPoller.pollUntilFinished());
+ }
+
+ /**
+ * Lists all the disk access resources under a resource group.
+ * @param resourceGroupName The name of the resource group.
+ * @param [options] The optional parameters
+ * @returns Promise
+ */
+ listByResourceGroup(resourceGroupName: string, options?: msRest.RequestOptionsBase): Promise;
+ /**
+ * @param resourceGroupName The name of the resource group.
+ * @param callback The callback
+ */
+ listByResourceGroup(resourceGroupName: string, callback: msRest.ServiceCallback): void;
+ /**
+ * @param resourceGroupName The name of the resource group.
+ * @param options The optional parameters
+ * @param callback The callback
+ */
+ listByResourceGroup(resourceGroupName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void;
+ listByResourceGroup(resourceGroupName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise {
+ return this.client.sendOperationRequest(
+ {
+ resourceGroupName,
+ options
+ },
+ listByResourceGroupOperationSpec,
+ callback) as Promise;
+ }
+
+ /**
+ * Lists all the disk access resources under a 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;
+ }
+
+ /**
+ * Gets the private link resources possible under 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
+ */
+ getPrivateLinkResources(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
+ */
+ getPrivateLinkResources(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
+ */
+ getPrivateLinkResources(resourceGroupName: string, diskAccessName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void;
+ getPrivateLinkResources(resourceGroupName: string, diskAccessName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise {
+ return this.client.sendOperationRequest(
+ {
+ resourceGroupName,
+ diskAccessName,
+ options
+ },
+ getPrivateLinkResourcesOperationSpec,
+ callback) as Promise;
+ }
+
+ /**
+ * Creates or updates 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 diskAccess disk access object supplied in the body of the Put disk access operation.
+ * @param [options] The optional parameters
+ * @returns Promise
+ */
+ beginCreateOrUpdate(resourceGroupName: string, diskAccessName: string, diskAccess: Models.DiskAccess, options?: msRest.RequestOptionsBase): Promise {
+ return this.client.sendLRORequest(
+ {
+ resourceGroupName,
+ diskAccessName,
+ diskAccess,
+ options
+ },
+ beginCreateOrUpdateOperationSpec,
+ options);
+ }
+
+ /**
+ * Updates (patches) 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 diskAccess disk access object supplied in the body of the Patch disk access operation.
+ * @param [options] The optional parameters
+ * @returns Promise
+ */
+ beginUpdate(resourceGroupName: string, diskAccessName: string, diskAccess: Models.DiskAccessUpdate, options?: msRest.RequestOptionsBase): Promise {
+ return this.client.sendLRORequest(
+ {
+ resourceGroupName,
+ diskAccessName,
+ diskAccess,
+ options
+ },
+ beginUpdateOperationSpec,
+ options);
+ }
+
+ /**
+ * Deletes 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
+ */
+ beginDeleteMethod(resourceGroupName: string, diskAccessName: string, options?: msRest.RequestOptionsBase): Promise {
+ return this.client.sendLRORequest(
+ {
+ resourceGroupName,
+ diskAccessName,
+ options
+ },
+ beginDeleteMethodOperationSpec,
+ options);
+ }
+
+ /**
+ * Lists all the disk access resources under a resource group.
+ * @param nextPageLink The NextLink from the previous successful call to List operation.
+ * @param [options] The optional parameters
+ * @returns Promise
+ */
+ listByResourceGroupNext(nextPageLink: string, options?: msRest.RequestOptionsBase): Promise;
+ /**
+ * @param nextPageLink The NextLink from the previous successful call to List operation.
+ * @param callback The callback
+ */
+ listByResourceGroupNext(nextPageLink: string, callback: msRest.ServiceCallback): void;
+ /**
+ * @param nextPageLink The NextLink from the previous successful call to List operation.
+ * @param options The optional parameters
+ * @param callback The callback
+ */
+ listByResourceGroupNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void;
+ listByResourceGroupNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise {
+ return this.client.sendOperationRequest(
+ {
+ nextPageLink,
+ options
+ },
+ listByResourceGroupNextOperationSpec,
+ callback) as Promise;
+ }
+
+ /**
+ * Lists all the disk access resources under a 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;
+ }
+}
+
+// Operation Specifications
+const serializer = new msRest.Serializer(Mappers);
+const getOperationSpec: msRest.OperationSpec = {
+ httpMethod: "GET",
+ path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/diskAccesses/{diskAccessName}",
+ urlParameters: [
+ Parameters.subscriptionId,
+ Parameters.resourceGroupName,
+ Parameters.diskAccessName
+ ],
+ queryParameters: [
+ Parameters.apiVersion2
+ ],
+ headerParameters: [
+ Parameters.acceptLanguage
+ ],
+ responses: {
+ 200: {
+ bodyMapper: Mappers.DiskAccess
+ },
+ default: {
+ bodyMapper: Mappers.CloudError
+ }
+ },
+ serializer
+};
+
+const listByResourceGroupOperationSpec: msRest.OperationSpec = {
+ httpMethod: "GET",
+ path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/diskAccesses",
+ urlParameters: [
+ Parameters.subscriptionId,
+ Parameters.resourceGroupName
+ ],
+ queryParameters: [
+ Parameters.apiVersion2
+ ],
+ headerParameters: [
+ Parameters.acceptLanguage
+ ],
+ responses: {
+ 200: {
+ bodyMapper: Mappers.DiskAccessList
+ },
+ default: {
+ bodyMapper: Mappers.CloudError
+ }
+ },
+ serializer
+};
+
+const listOperationSpec: msRest.OperationSpec = {
+ httpMethod: "GET",
+ path: "subscriptions/{subscriptionId}/providers/Microsoft.Compute/diskAccesses",
+ urlParameters: [
+ Parameters.subscriptionId
+ ],
+ queryParameters: [
+ Parameters.apiVersion2
+ ],
+ headerParameters: [
+ Parameters.acceptLanguage
+ ],
+ responses: {
+ 200: {
+ bodyMapper: Mappers.DiskAccessList
+ },
+ default: {
+ bodyMapper: Mappers.CloudError
+ }
+ },
+ serializer
+};
+
+const getPrivateLinkResourcesOperationSpec: msRest.OperationSpec = {
+ httpMethod: "GET",
+ path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/diskAccesses/{diskAccessName}/privateLinkResources",
+ urlParameters: [
+ Parameters.subscriptionId,
+ Parameters.resourceGroupName,
+ Parameters.diskAccessName
+ ],
+ queryParameters: [
+ Parameters.apiVersion2
+ ],
+ headerParameters: [
+ Parameters.acceptLanguage
+ ],
+ responses: {
+ 200: {
+ bodyMapper: Mappers.PrivateLinkResourceListResult
+ },
+ default: {
+ bodyMapper: Mappers.CloudError
+ }
+ },
+ serializer
+};
+
+const beginCreateOrUpdateOperationSpec: msRest.OperationSpec = {
+ httpMethod: "PUT",
+ path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/diskAccesses/{diskAccessName}",
+ urlParameters: [
+ Parameters.subscriptionId,
+ Parameters.resourceGroupName,
+ Parameters.diskAccessName
+ ],
+ queryParameters: [
+ Parameters.apiVersion2
+ ],
+ headerParameters: [
+ Parameters.acceptLanguage
+ ],
+ requestBody: {
+ parameterPath: "diskAccess",
+ mapper: {
+ ...Mappers.DiskAccess,
+ required: true
+ }
+ },
+ responses: {
+ 200: {
+ bodyMapper: Mappers.DiskAccess
+ },
+ 202: {
+ bodyMapper: Mappers.DiskAccess
+ },
+ default: {
+ bodyMapper: Mappers.CloudError
+ }
+ },
+ serializer
+};
+
+const beginUpdateOperationSpec: msRest.OperationSpec = {
+ httpMethod: "PATCH",
+ path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/diskAccesses/{diskAccessName}",
+ urlParameters: [
+ Parameters.subscriptionId,
+ Parameters.resourceGroupName,
+ Parameters.diskAccessName
+ ],
+ queryParameters: [
+ Parameters.apiVersion2
+ ],
+ headerParameters: [
+ Parameters.acceptLanguage
+ ],
+ requestBody: {
+ parameterPath: "diskAccess",
+ mapper: {
+ ...Mappers.DiskAccessUpdate,
+ required: true
+ }
+ },
+ responses: {
+ 200: {
+ bodyMapper: Mappers.DiskAccess
+ },
+ 202: {
+ bodyMapper: Mappers.DiskAccess
+ },
+ default: {
+ bodyMapper: Mappers.CloudError
+ }
+ },
+ serializer
+};
+
+const beginDeleteMethodOperationSpec: msRest.OperationSpec = {
+ httpMethod: "DELETE",
+ path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/diskAccesses/{diskAccessName}",
+ urlParameters: [
+ Parameters.subscriptionId,
+ Parameters.resourceGroupName,
+ Parameters.diskAccessName
+ ],
+ 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",
+ path: "{nextLink}",
+ urlParameters: [
+ Parameters.nextPageLink
+ ],
+ headerParameters: [
+ Parameters.acceptLanguage
+ ],
+ responses: {
+ 200: {
+ bodyMapper: Mappers.DiskAccessList
+ },
+ 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.DiskAccessList
+ },
+ 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 d28066327032..428767a6a919 100644
--- a/sdk/compute/arm-compute/src/operations/diskEncryptionSets.ts
+++ b/sdk/compute/arm-compute/src/operations/diskEncryptionSets.ts
@@ -163,6 +163,44 @@ export class DiskEncryptionSets {
callback) as Promise;
}
+ /**
+ * Lists all resources that are encrypted with this disk encryption set.
+ * @param resourceGroupName The name of the resource group.
+ * @param diskEncryptionSetName The name of the disk encryption set 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
+ */
+ listAssociatedResources(resourceGroupName: string, diskEncryptionSetName: string, options?: msRest.RequestOptionsBase): Promise;
+ /**
+ * @param resourceGroupName The name of the resource group.
+ * @param diskEncryptionSetName The name of the disk encryption set 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
+ */
+ listAssociatedResources(resourceGroupName: string, diskEncryptionSetName: string, callback: msRest.ServiceCallback): void;
+ /**
+ * @param resourceGroupName The name of the resource group.
+ * @param diskEncryptionSetName The name of the disk encryption set 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
+ */
+ listAssociatedResources(resourceGroupName: string, diskEncryptionSetName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void;
+ listAssociatedResources(resourceGroupName: string, diskEncryptionSetName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise {
+ return this.client.sendOperationRequest(
+ {
+ resourceGroupName,
+ diskEncryptionSetName,
+ options
+ },
+ listAssociatedResourcesOperationSpec,
+ callback) as Promise;
+ }
+
/**
* Creates or updates a disk encryption set
* @param resourceGroupName The name of the resource group.
@@ -284,6 +322,34 @@ export class DiskEncryptionSets {
listNextOperationSpec,
callback) as Promise;
}
+
+ /**
+ * Lists all resources that are encrypted with this disk encryption set.
+ * @param nextPageLink The NextLink from the previous successful call to List operation.
+ * @param [options] The optional parameters
+ * @returns Promise
+ */
+ listAssociatedResourcesNext(nextPageLink: string, options?: msRest.RequestOptionsBase): Promise;
+ /**
+ * @param nextPageLink The NextLink from the previous successful call to List operation.
+ * @param callback The callback
+ */
+ listAssociatedResourcesNext(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
+ */
+ listAssociatedResourcesNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void;
+ listAssociatedResourcesNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise {
+ return this.client.sendOperationRequest(
+ {
+ nextPageLink,
+ options
+ },
+ listAssociatedResourcesNextOperationSpec,
+ callback) as Promise;
+ }
}
// Operation Specifications
@@ -360,6 +426,31 @@ const listOperationSpec: msRest.OperationSpec = {
serializer
};
+const listAssociatedResourcesOperationSpec: msRest.OperationSpec = {
+ httpMethod: "GET",
+ path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/diskEncryptionSets/{diskEncryptionSetName}/associatedResources",
+ urlParameters: [
+ Parameters.subscriptionId,
+ Parameters.resourceGroupName,
+ Parameters.diskEncryptionSetName
+ ],
+ queryParameters: [
+ Parameters.apiVersion2
+ ],
+ headerParameters: [
+ Parameters.acceptLanguage
+ ],
+ responses: {
+ 200: {
+ bodyMapper: Mappers.ResourceUriList
+ },
+ default: {
+ bodyMapper: Mappers.CloudError
+ }
+ },
+ serializer
+};
+
const beginCreateOrUpdateOperationSpec: msRest.OperationSpec = {
httpMethod: "PUT",
path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/diskEncryptionSets/{diskEncryptionSetName}",
@@ -385,7 +476,7 @@ const beginCreateOrUpdateOperationSpec: msRest.OperationSpec = {
200: {
bodyMapper: Mappers.DiskEncryptionSet
},
- 201: {
+ 202: {
bodyMapper: Mappers.DiskEncryptionSet
},
default: {
@@ -496,3 +587,24 @@ const listNextOperationSpec: msRest.OperationSpec = {
},
serializer
};
+
+const listAssociatedResourcesNextOperationSpec: msRest.OperationSpec = {
+ httpMethod: "GET",
+ baseUrl: "https://management.azure.com",
+ path: "{nextLink}",
+ urlParameters: [
+ Parameters.nextPageLink
+ ],
+ headerParameters: [
+ Parameters.acceptLanguage
+ ],
+ responses: {
+ 200: {
+ bodyMapper: Mappers.ResourceUriList
+ },
+ default: {
+ bodyMapper: Mappers.CloudError
+ }
+ },
+ serializer
+};
diff --git a/sdk/compute/arm-compute/src/operations/index.ts b/sdk/compute/arm-compute/src/operations/index.ts
index a18768f5f0c2..be38385dadc1 100644
--- a/sdk/compute/arm-compute/src/operations/index.ts
+++ b/sdk/compute/arm-compute/src/operations/index.ts
@@ -13,6 +13,7 @@ export * from "./availabilitySets";
export * from "./proximityPlacementGroups";
export * from "./dedicatedHostGroups";
export * from "./dedicatedHosts";
+export * from "./sshPublicKeys";
export * from "./virtualMachineExtensionImages";
export * from "./virtualMachineExtensions";
export * from "./virtualMachineImages";
@@ -31,6 +32,7 @@ export * from "./resourceSkus";
export * from "./disks";
export * from "./snapshots";
export * from "./diskEncryptionSets";
+export * from "./diskAccesses";
export * from "./galleries";
export * from "./galleryImages";
export * from "./galleryImageVersions";
diff --git a/sdk/compute/arm-compute/src/operations/sshPublicKeys.ts b/sdk/compute/arm-compute/src/operations/sshPublicKeys.ts
new file mode 100644
index 000000000000..5a109035ac24
--- /dev/null
+++ b/sdk/compute/arm-compute/src/operations/sshPublicKeys.ts
@@ -0,0 +1,542 @@
+/*
+ * Copyright (c) Microsoft Corporation. All rights reserved.
+ * Licensed under the MIT License. See License.txt in the project root for
+ * license information.
+ *
+ * Code generated by Microsoft (R) AutoRest Code Generator.
+ * Changes may cause incorrect behavior and will be lost if the code is
+ * regenerated.
+ */
+
+import * as msRest from "@azure/ms-rest-js";
+import * as Models from "../models";
+import * as Mappers from "../models/sshPublicKeysMappers";
+import * as Parameters from "../models/parameters";
+import { ComputeManagementClientContext } from "../computeManagementClientContext";
+
+/** Class representing a SshPublicKeys. */
+export class SshPublicKeys {
+ private readonly client: ComputeManagementClientContext;
+
+ /**
+ * Create a SshPublicKeys.
+ * @param {ComputeManagementClientContext} client Reference to the service client.
+ */
+ constructor(client: ComputeManagementClientContext) {
+ this.client = client;
+ }
+
+ /**
+ * Lists all of the SSH public keys in the subscription. Use the nextLink property in the response
+ * to get the next page of SSH public keys.
+ * @param [options] The optional parameters
+ * @returns Promise
+ */
+ listBySubscription(options?: msRest.RequestOptionsBase): Promise;
+ /**
+ * @param callback The callback
+ */
+ listBySubscription(callback: msRest.ServiceCallback): void;
+ /**
+ * @param options The optional parameters
+ * @param callback The callback
+ */
+ listBySubscription(options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void;
+ listBySubscription(options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise {
+ return this.client.sendOperationRequest(
+ {
+ options
+ },
+ listBySubscriptionOperationSpec,
+ callback) as Promise;
+ }
+
+ /**
+ * Lists all of the SSH public keys in the specified resource group. Use the nextLink property in
+ * the response to get the next page of SSH public keys.
+ * @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 a new SSH public key resource.
+ * @param resourceGroupName The name of the resource group.
+ * @param sshPublicKeyName The name of the SSH public key.
+ * @param parameters Parameters supplied to create the SSH public key.
+ * @param [options] The optional parameters
+ * @returns Promise
+ */
+ create(resourceGroupName: string, sshPublicKeyName: string, parameters: Models.SshPublicKeyResource, options?: msRest.RequestOptionsBase): Promise;
+ /**
+ * @param resourceGroupName The name of the resource group.
+ * @param sshPublicKeyName The name of the SSH public key.
+ * @param parameters Parameters supplied to create the SSH public key.
+ * @param callback The callback
+ */
+ create(resourceGroupName: string, sshPublicKeyName: string, parameters: Models.SshPublicKeyResource, callback: msRest.ServiceCallback): void;
+ /**
+ * @param resourceGroupName The name of the resource group.
+ * @param sshPublicKeyName The name of the SSH public key.
+ * @param parameters Parameters supplied to create the SSH public key.
+ * @param options The optional parameters
+ * @param callback The callback
+ */
+ create(resourceGroupName: string, sshPublicKeyName: string, parameters: Models.SshPublicKeyResource, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void;
+ create(resourceGroupName: string, sshPublicKeyName: string, parameters: Models.SshPublicKeyResource, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise {
+ return this.client.sendOperationRequest(
+ {
+ resourceGroupName,
+ sshPublicKeyName,
+ parameters,
+ options
+ },
+ createOperationSpec,
+ callback) as Promise;
+ }
+
+ /**
+ * Updates a new SSH public key resource.
+ * @param resourceGroupName The name of the resource group.
+ * @param sshPublicKeyName The name of the SSH public key.
+ * @param parameters Parameters supplied to update the SSH public key.
+ * @param [options] The optional parameters
+ * @returns Promise
+ */
+ update(resourceGroupName: string, sshPublicKeyName: string, parameters: Models.SshPublicKeyUpdateResource, options?: msRest.RequestOptionsBase): Promise;
+ /**
+ * @param resourceGroupName The name of the resource group.
+ * @param sshPublicKeyName The name of the SSH public key.
+ * @param parameters Parameters supplied to update the SSH public key.
+ * @param callback The callback
+ */
+ update(resourceGroupName: string, sshPublicKeyName: string, parameters: Models.SshPublicKeyUpdateResource, callback: msRest.ServiceCallback): void;
+ /**
+ * @param resourceGroupName The name of the resource group.
+ * @param sshPublicKeyName The name of the SSH public key.
+ * @param parameters Parameters supplied to update the SSH public key.
+ * @param options The optional parameters
+ * @param callback The callback
+ */
+ update(resourceGroupName: string, sshPublicKeyName: string, parameters: Models.SshPublicKeyUpdateResource, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void;
+ update(resourceGroupName: string, sshPublicKeyName: string, parameters: Models.SshPublicKeyUpdateResource, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise {
+ return this.client.sendOperationRequest(
+ {
+ resourceGroupName,
+ sshPublicKeyName,
+ parameters,
+ options
+ },
+ updateOperationSpec,
+ callback) as Promise;
+ }
+
+ /**
+ * Delete an SSH public key.
+ * @param resourceGroupName The name of the resource group.
+ * @param sshPublicKeyName The name of the SSH public key.
+ * @param [options] The optional parameters
+ * @returns Promise
+ */
+ deleteMethod(resourceGroupName: string, sshPublicKeyName: string, options?: msRest.RequestOptionsBase): Promise;
+ /**
+ * @param resourceGroupName The name of the resource group.
+ * @param sshPublicKeyName The name of the SSH public key.
+ * @param callback The callback
+ */
+ deleteMethod(resourceGroupName: string, sshPublicKeyName: string, callback: msRest.ServiceCallback): void;
+ /**
+ * @param resourceGroupName The name of the resource group.
+ * @param sshPublicKeyName The name of the SSH public key.
+ * @param options The optional parameters
+ * @param callback The callback
+ */
+ deleteMethod(resourceGroupName: string, sshPublicKeyName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void;
+ deleteMethod(resourceGroupName: string, sshPublicKeyName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise {
+ return this.client.sendOperationRequest(
+ {
+ resourceGroupName,
+ sshPublicKeyName,
+ options
+ },
+ deleteMethodOperationSpec,
+ callback);
+ }
+
+ /**
+ * Retrieves information about an SSH public key.
+ * @param resourceGroupName The name of the resource group.
+ * @param sshPublicKeyName The name of the SSH public key.
+ * @param [options] The optional parameters
+ * @returns Promise
+ */
+ get(resourceGroupName: string, sshPublicKeyName: string, options?: msRest.RequestOptionsBase): Promise;
+ /**
+ * @param resourceGroupName The name of the resource group.
+ * @param sshPublicKeyName The name of the SSH public key.
+ * @param callback The callback
+ */
+ get(resourceGroupName: string, sshPublicKeyName: string, callback: msRest.ServiceCallback): void;
+ /**
+ * @param resourceGroupName The name of the resource group.
+ * @param sshPublicKeyName The name of the SSH public key.
+ * @param options The optional parameters
+ * @param callback The callback
+ */
+ get(resourceGroupName: string, sshPublicKeyName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void;
+ get(resourceGroupName: string, sshPublicKeyName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise {
+ return this.client.sendOperationRequest(
+ {
+ resourceGroupName,
+ sshPublicKeyName,
+ options
+ },
+ getOperationSpec,
+ callback) as Promise;
+ }
+
+ /**
+ * Generates and returns a public/private key pair and populates the SSH public key resource with
+ * the public key. The length of the key will be 3072 bits. This operation can only be performed
+ * once per SSH public key resource.
+ * @param resourceGroupName The name of the resource group.
+ * @param sshPublicKeyName The name of the SSH public key.
+ * @param [options] The optional parameters
+ * @returns Promise
+ */
+ generateKeyPair(resourceGroupName: string, sshPublicKeyName: string, options?: msRest.RequestOptionsBase): Promise;
+ /**
+ * @param resourceGroupName The name of the resource group.
+ * @param sshPublicKeyName The name of the SSH public key.
+ * @param callback The callback
+ */
+ generateKeyPair(resourceGroupName: string, sshPublicKeyName: string, callback: msRest.ServiceCallback): void;
+ /**
+ * @param resourceGroupName The name of the resource group.
+ * @param sshPublicKeyName The name of the SSH public key.
+ * @param options The optional parameters
+ * @param callback The callback
+ */
+ generateKeyPair(resourceGroupName: string, sshPublicKeyName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void;
+ generateKeyPair(resourceGroupName: string, sshPublicKeyName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise {
+ return this.client.sendOperationRequest(
+ {
+ resourceGroupName,
+ sshPublicKeyName,
+ options
+ },
+ generateKeyPairOperationSpec,
+ callback) as Promise;
+ }
+
+ /**
+ * Lists all of the SSH public keys in the subscription. Use the nextLink property in the response
+ * to get the next page of SSH public keys.
+ * @param nextPageLink The NextLink from the previous successful call to List operation.
+ * @param [options] The optional parameters
+ * @returns Promise
+ */
+ listBySubscriptionNext(nextPageLink: string, options?: msRest.RequestOptionsBase): Promise;
+ /**
+ * @param nextPageLink The NextLink from the previous successful call to List operation.
+ * @param callback The callback
+ */
+ listBySubscriptionNext(nextPageLink: string, callback: msRest.ServiceCallback): void;
+ /**
+ * @param nextPageLink The NextLink from the previous successful call to List operation.
+ * @param options The optional parameters
+ * @param callback The callback
+ */
+ listBySubscriptionNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void;
+ listBySubscriptionNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise {
+ return this.client.sendOperationRequest(
+ {
+ nextPageLink,
+ options
+ },
+ listBySubscriptionNextOperationSpec,
+ callback) as Promise;
+ }
+
+ /**
+ * Lists all of the SSH public keys in the specified resource group. Use the nextLink property in
+ * the response to get the next page of SSH public keys.
+ * @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 listBySubscriptionOperationSpec: msRest.OperationSpec = {
+ httpMethod: "GET",
+ path: "subscriptions/{subscriptionId}/providers/Microsoft.Compute/sshPublicKeys",
+ urlParameters: [
+ Parameters.subscriptionId
+ ],
+ queryParameters: [
+ Parameters.apiVersion0
+ ],
+ headerParameters: [
+ Parameters.acceptLanguage
+ ],
+ responses: {
+ 200: {
+ bodyMapper: Mappers.SshPublicKeysGroupListResult
+ },
+ default: {
+ bodyMapper: Mappers.CloudError
+ }
+ },
+ serializer
+};
+
+const listByResourceGroupOperationSpec: msRest.OperationSpec = {
+ httpMethod: "GET",
+ path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/sshPublicKeys",
+ urlParameters: [
+ Parameters.resourceGroupName,
+ Parameters.subscriptionId
+ ],
+ queryParameters: [
+ Parameters.apiVersion0
+ ],
+ headerParameters: [
+ Parameters.acceptLanguage
+ ],
+ responses: {
+ 200: {
+ bodyMapper: Mappers.SshPublicKeysGroupListResult
+ },
+ default: {
+ bodyMapper: Mappers.CloudError
+ }
+ },
+ serializer
+};
+
+const createOperationSpec: msRest.OperationSpec = {
+ httpMethod: "PUT",
+ path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/sshPublicKeys/{sshPublicKeyName}",
+ urlParameters: [
+ Parameters.resourceGroupName,
+ Parameters.sshPublicKeyName,
+ Parameters.subscriptionId
+ ],
+ queryParameters: [
+ Parameters.apiVersion0
+ ],
+ headerParameters: [
+ Parameters.acceptLanguage
+ ],
+ requestBody: {
+ parameterPath: "parameters",
+ mapper: {
+ ...Mappers.SshPublicKeyResource,
+ required: true
+ }
+ },
+ responses: {
+ 200: {
+ bodyMapper: Mappers.SshPublicKeyResource
+ },
+ 201: {
+ bodyMapper: Mappers.SshPublicKeyResource
+ },
+ default: {
+ bodyMapper: Mappers.CloudError
+ }
+ },
+ serializer
+};
+
+const updateOperationSpec: msRest.OperationSpec = {
+ httpMethod: "PATCH",
+ path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/sshPublicKeys/{sshPublicKeyName}",
+ urlParameters: [
+ Parameters.resourceGroupName,
+ Parameters.sshPublicKeyName,
+ Parameters.subscriptionId
+ ],
+ queryParameters: [
+ Parameters.apiVersion0
+ ],
+ headerParameters: [
+ Parameters.acceptLanguage
+ ],
+ requestBody: {
+ parameterPath: "parameters",
+ mapper: {
+ ...Mappers.SshPublicKeyUpdateResource,
+ required: true
+ }
+ },
+ responses: {
+ 200: {
+ bodyMapper: Mappers.SshPublicKeyResource
+ },
+ default: {
+ bodyMapper: Mappers.CloudError
+ }
+ },
+ serializer
+};
+
+const deleteMethodOperationSpec: msRest.OperationSpec = {
+ httpMethod: "DELETE",
+ path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/sshPublicKeys/{sshPublicKeyName}",
+ urlParameters: [
+ Parameters.resourceGroupName,
+ Parameters.sshPublicKeyName,
+ Parameters.subscriptionId
+ ],
+ queryParameters: [
+ Parameters.apiVersion0
+ ],
+ headerParameters: [
+ Parameters.acceptLanguage
+ ],
+ responses: {
+ 200: {},
+ 204: {},
+ default: {
+ bodyMapper: Mappers.CloudError
+ }
+ },
+ serializer
+};
+
+const getOperationSpec: msRest.OperationSpec = {
+ httpMethod: "GET",
+ path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/sshPublicKeys/{sshPublicKeyName}",
+ urlParameters: [
+ Parameters.resourceGroupName,
+ Parameters.sshPublicKeyName,
+ Parameters.subscriptionId
+ ],
+ queryParameters: [
+ Parameters.apiVersion0
+ ],
+ headerParameters: [
+ Parameters.acceptLanguage
+ ],
+ responses: {
+ 200: {
+ bodyMapper: Mappers.SshPublicKeyResource
+ },
+ default: {
+ bodyMapper: Mappers.CloudError
+ }
+ },
+ serializer
+};
+
+const generateKeyPairOperationSpec: msRest.OperationSpec = {
+ httpMethod: "POST",
+ path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/sshPublicKeys/{sshPublicKeyName}/generateKeyPair",
+ urlParameters: [
+ Parameters.resourceGroupName,
+ Parameters.sshPublicKeyName,
+ Parameters.subscriptionId
+ ],
+ queryParameters: [
+ Parameters.apiVersion0
+ ],
+ headerParameters: [
+ Parameters.acceptLanguage
+ ],
+ responses: {
+ 200: {
+ bodyMapper: Mappers.SshPublicKeyGenerateKeyPairResult
+ },
+ default: {
+ bodyMapper: Mappers.CloudError
+ }
+ },
+ serializer
+};
+
+const listBySubscriptionNextOperationSpec: msRest.OperationSpec = {
+ httpMethod: "GET",
+ baseUrl: "https://management.azure.com",
+ path: "{nextLink}",
+ urlParameters: [
+ Parameters.nextPageLink
+ ],
+ headerParameters: [
+ Parameters.acceptLanguage
+ ],
+ responses: {
+ 200: {
+ bodyMapper: Mappers.SshPublicKeysGroupListResult
+ },
+ 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.SshPublicKeysGroupListResult
+ },
+ 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 b77e80b27d03..4bebe6e62fcb 100644
--- a/sdk/compute/arm-compute/src/operations/virtualMachineScaleSetVMs.ts
+++ b/sdk/compute/arm-compute/src/operations/virtualMachineScaleSetVMs.ts
@@ -256,6 +256,43 @@ export class VirtualMachineScaleSetVMs {
.then(lroPoller => lroPoller.pollUntilFinished());
}
+ /**
+ * The operation to retrieve SAS URIs of boot diagnostic logs for a virtual machine in a VM scale
+ * set.
+ * @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
+ */
+ retrieveBootDiagnosticsData(resourceGroupName: string, vmScaleSetName: string, instanceId: string, options?: Models.VirtualMachineScaleSetVMsRetrieveBootDiagnosticsDataOptionalParams): 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
+ */
+ retrieveBootDiagnosticsData(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
+ */
+ retrieveBootDiagnosticsData(resourceGroupName: string, vmScaleSetName: string, instanceId: string, options: Models.VirtualMachineScaleSetVMsRetrieveBootDiagnosticsDataOptionalParams, callback: msRest.ServiceCallback): void;
+ retrieveBootDiagnosticsData(resourceGroupName: string, vmScaleSetName: string, instanceId: string, options?: Models.VirtualMachineScaleSetVMsRetrieveBootDiagnosticsDataOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise {
+ return this.client.sendOperationRequest(
+ {
+ resourceGroupName,
+ vmScaleSetName,
+ instanceId,
+ options
+ },
+ retrieveBootDiagnosticsDataOperationSpec,
+ callback) as Promise;
+ }
+
/**
* Performs maintenance on a virtual machine in a VM scale set.
* @param resourceGroupName The name of the resource group.
@@ -269,6 +306,42 @@ export class VirtualMachineScaleSetVMs {
.then(lroPoller => lroPoller.pollUntilFinished());
}
+ /**
+ * The operation to simulate the eviction of spot virtual machine in a VM scale set.
+ * @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
+ */
+ simulateEviction(resourceGroupName: string, vmScaleSetName: string, instanceId: string, options?: msRest.RequestOptionsBase): 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
+ */
+ simulateEviction(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
+ */
+ simulateEviction(resourceGroupName: string, vmScaleSetName: string, instanceId: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void;
+ simulateEviction(resourceGroupName: string, vmScaleSetName: string, instanceId: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise {
+ return this.client.sendOperationRequest(
+ {
+ resourceGroupName,
+ vmScaleSetName,
+ instanceId,
+ options
+ },
+ simulateEvictionOperationSpec,
+ callback);
+ }
+
/**
* Run command on a virtual machine in a VM scale set.
* @param resourceGroupName The name of the resource group.
@@ -626,6 +699,57 @@ const listOperationSpec: msRest.OperationSpec = {
serializer
};
+const retrieveBootDiagnosticsDataOperationSpec: msRest.OperationSpec = {
+ httpMethod: "POST",
+ path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}/virtualmachines/{instanceId}/retrieveBootDiagnosticsData",
+ urlParameters: [
+ Parameters.resourceGroupName,
+ Parameters.vmScaleSetName,
+ Parameters.instanceId,
+ Parameters.subscriptionId
+ ],
+ queryParameters: [
+ Parameters.sasUriExpirationTimeInMinutes,
+ Parameters.apiVersion0
+ ],
+ headerParameters: [
+ Parameters.acceptLanguage
+ ],
+ responses: {
+ 200: {
+ bodyMapper: Mappers.RetrieveBootDiagnosticsDataResult
+ },
+ default: {
+ bodyMapper: Mappers.CloudError
+ }
+ },
+ serializer
+};
+
+const simulateEvictionOperationSpec: msRest.OperationSpec = {
+ httpMethod: "POST",
+ path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}/virtualMachines/{instanceId}/simulateEviction",
+ urlParameters: [
+ Parameters.resourceGroupName,
+ Parameters.vmScaleSetName,
+ Parameters.instanceId,
+ Parameters.subscriptionId
+ ],
+ queryParameters: [
+ Parameters.apiVersion0
+ ],
+ headerParameters: [
+ Parameters.acceptLanguage
+ ],
+ responses: {
+ 204: {},
+ default: {
+ bodyMapper: Mappers.CloudError
+ }
+ },
+ serializer
+};
+
const beginReimageOperationSpec: msRest.OperationSpec = {
httpMethod: "POST",
path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}/virtualmachines/{instanceId}/reimage",
diff --git a/sdk/compute/arm-compute/src/operations/virtualMachineScaleSets.ts b/sdk/compute/arm-compute/src/operations/virtualMachineScaleSets.ts
index 93f81dfd0a63..ddb59ba58530 100644
--- a/sdk/compute/arm-compute/src/operations/virtualMachineScaleSets.ts
+++ b/sdk/compute/arm-compute/src/operations/virtualMachineScaleSets.ts
@@ -458,6 +458,19 @@ export class VirtualMachineScaleSets {
callback);
}
+ /**
+ * Changes ServiceState property for a given service
+ * @param resourceGroupName The name of the resource group.
+ * @param vmScaleSetName The name of the virtual machine scale set to create or update.
+ * @param parameters The input object for SetOrchestrationServiceState API.
+ * @param [options] The optional parameters
+ * @returns Promise
+ */
+ setOrchestrationServiceState(resourceGroupName: string, vmScaleSetName: string, parameters: Models.OrchestrationServiceStateInput, options?: msRest.RequestOptionsBase): Promise {
+ return this.beginSetOrchestrationServiceState(resourceGroupName,vmScaleSetName,parameters,options)
+ .then(lroPoller => lroPoller.pollUntilFinished());
+ }
+
/**
* Create or update a VM scale set.
* @param resourceGroupName The name of the resource group.
@@ -711,6 +724,26 @@ export class VirtualMachineScaleSets {
options);
}
+ /**
+ * Changes ServiceState property for a given service
+ * @param resourceGroupName The name of the resource group.
+ * @param vmScaleSetName The name of the virtual machine scale set to create or update.
+ * @param parameters The input object for SetOrchestrationServiceState API.
+ * @param [options] The optional parameters
+ * @returns Promise
+ */
+ beginSetOrchestrationServiceState(resourceGroupName: string, vmScaleSetName: string, parameters: Models.OrchestrationServiceStateInput, options?: msRest.RequestOptionsBase): Promise {
+ return this.client.sendLRORequest(
+ {
+ resourceGroupName,
+ vmScaleSetName,
+ parameters,
+ options
+ },
+ beginSetOrchestrationServiceStateOperationSpec,
+ options);
+ }
+
/**
* Gets a list of all VM scale sets under a resource group.
* @param nextPageLink The NextLink from the previous successful call to List operation.
@@ -1010,6 +1043,9 @@ const convertToSinglePlacementGroupOperationSpec: msRest.OperationSpec = {
Parameters.vmScaleSetName,
Parameters.subscriptionId
],
+ queryParameters: [
+ Parameters.apiVersion0
+ ],
headerParameters: [
Parameters.acceptLanguage
],
@@ -1432,6 +1468,37 @@ const beginReimageAllOperationSpec: msRest.OperationSpec = {
serializer
};
+const beginSetOrchestrationServiceStateOperationSpec: msRest.OperationSpec = {
+ httpMethod: "POST",
+ path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}/setOrchestrationServiceState",
+ urlParameters: [
+ Parameters.resourceGroupName,
+ Parameters.vmScaleSetName,
+ Parameters.subscriptionId
+ ],
+ queryParameters: [
+ Parameters.apiVersion0
+ ],
+ headerParameters: [
+ Parameters.acceptLanguage
+ ],
+ requestBody: {
+ parameterPath: "parameters",
+ mapper: {
+ ...Mappers.OrchestrationServiceStateInput,
+ required: true
+ }
+ },
+ responses: {
+ 200: {},
+ 202: {},
+ default: {
+ bodyMapper: Mappers.CloudError
+ }
+ },
+ serializer
+};
+
const listNextOperationSpec: msRest.OperationSpec = {
httpMethod: "GET",
baseUrl: "https://management.azure.com",
diff --git a/sdk/compute/arm-compute/src/operations/virtualMachines.ts b/sdk/compute/arm-compute/src/operations/virtualMachines.ts
index 37384d178634..ce51df188f82 100644
--- a/sdk/compute/arm-compute/src/operations/virtualMachines.ts
+++ b/sdk/compute/arm-compute/src/operations/virtualMachines.ts
@@ -394,6 +394,38 @@ export class VirtualMachines {
.then(lroPoller => lroPoller.pollUntilFinished());
}
+ /**
+ * The operation to retrieve SAS URIs for a virtual machine's boot diagnostic logs.
+ * @param resourceGroupName The name of the resource group.
+ * @param vmName The name of the virtual machine.
+ * @param [options] The optional parameters
+ * @returns Promise
+ */
+ retrieveBootDiagnosticsData(resourceGroupName: string, vmName: string, options?: Models.VirtualMachinesRetrieveBootDiagnosticsDataOptionalParams): Promise;
+ /**
+ * @param resourceGroupName The name of the resource group.
+ * @param vmName The name of the virtual machine.
+ * @param callback The callback
+ */
+ retrieveBootDiagnosticsData(resourceGroupName: string, vmName: string, callback: msRest.ServiceCallback): void;
+ /**
+ * @param resourceGroupName The name of the resource group.
+ * @param vmName The name of the virtual machine.
+ * @param options The optional parameters
+ * @param callback The callback
+ */
+ retrieveBootDiagnosticsData(resourceGroupName: string, vmName: string, options: Models.VirtualMachinesRetrieveBootDiagnosticsDataOptionalParams, callback: msRest.ServiceCallback): void;
+ retrieveBootDiagnosticsData(resourceGroupName: string, vmName: string, options?: Models.VirtualMachinesRetrieveBootDiagnosticsDataOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise {
+ return this.client.sendOperationRequest(
+ {
+ resourceGroupName,
+ vmName,
+ options
+ },
+ retrieveBootDiagnosticsDataOperationSpec,
+ callback) as Promise;
+ }
+
/**
* The operation to perform maintenance on a virtual machine.
* @param resourceGroupName The name of the resource group.
@@ -406,6 +438,50 @@ export class VirtualMachines {
.then(lroPoller => lroPoller.pollUntilFinished());
}
+ /**
+ * The operation to simulate the eviction of spot virtual machine.
+ * @param resourceGroupName The name of the resource group.
+ * @param vmName The name of the virtual machine.
+ * @param [options] The optional parameters
+ * @returns Promise
+ */
+ simulateEviction(resourceGroupName: string, vmName: string, options?: msRest.RequestOptionsBase): Promise;
+ /**
+ * @param resourceGroupName The name of the resource group.
+ * @param vmName The name of the virtual machine.
+ * @param callback The callback
+ */
+ simulateEviction(resourceGroupName: string, vmName: string, callback: msRest.ServiceCallback): void;
+ /**
+ * @param resourceGroupName The name of the resource group.
+ * @param vmName The name of the virtual machine.
+ * @param options The optional parameters
+ * @param callback The callback
+ */
+ simulateEviction(resourceGroupName: string, vmName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void;
+ simulateEviction(resourceGroupName: string, vmName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise {
+ return this.client.sendOperationRequest(
+ {
+ resourceGroupName,
+ vmName,
+ options
+ },
+ simulateEvictionOperationSpec,
+ callback);
+ }
+
+ /**
+ * Assess patches on the VM.
+ * @param resourceGroupName The name of the resource group.
+ * @param vmName The name of the virtual machine.
+ * @param [options] The optional parameters
+ * @returns Promise
+ */
+ assessPatches(resourceGroupName: string, vmName: string, options?: msRest.RequestOptionsBase): Promise {
+ return this.beginAssessPatches(resourceGroupName,vmName,options)
+ .then(lroPoller => lroPoller.pollUntilFinished()) as Promise;
+ }
+
/**
* Run command on the VM.
* @param resourceGroupName The name of the resource group.
@@ -664,6 +740,24 @@ export class VirtualMachines {
options);
}
+ /**
+ * Assess patches on the VM.
+ * @param resourceGroupName The name of the resource group.
+ * @param vmName The name of the virtual machine.
+ * @param [options] The optional parameters
+ * @returns Promise
+ */
+ beginAssessPatches(resourceGroupName: string, vmName: string, options?: msRest.RequestOptionsBase): Promise {
+ return this.client.sendLRORequest(
+ {
+ resourceGroupName,
+ vmName,
+ options
+ },
+ beginAssessPatchesOperationSpec,
+ options);
+ }
+
/**
* Run command on the VM.
* @param resourceGroupName The name of the resource group.
@@ -944,6 +1038,55 @@ const listAvailableSizesOperationSpec: msRest.OperationSpec = {
serializer
};
+const retrieveBootDiagnosticsDataOperationSpec: msRest.OperationSpec = {
+ httpMethod: "POST",
+ path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachines/{vmName}/retrieveBootDiagnosticsData",
+ urlParameters: [
+ Parameters.resourceGroupName,
+ Parameters.vmName,
+ Parameters.subscriptionId
+ ],
+ queryParameters: [
+ Parameters.sasUriExpirationTimeInMinutes,
+ Parameters.apiVersion0
+ ],
+ headerParameters: [
+ Parameters.acceptLanguage
+ ],
+ responses: {
+ 200: {
+ bodyMapper: Mappers.RetrieveBootDiagnosticsDataResult
+ },
+ default: {
+ bodyMapper: Mappers.CloudError
+ }
+ },
+ serializer
+};
+
+const simulateEvictionOperationSpec: msRest.OperationSpec = {
+ httpMethod: "POST",
+ path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachines/{vmName}/simulateEviction",
+ urlParameters: [
+ Parameters.resourceGroupName,
+ Parameters.vmName,
+ Parameters.subscriptionId
+ ],
+ queryParameters: [
+ Parameters.apiVersion0
+ ],
+ headerParameters: [
+ Parameters.acceptLanguage
+ ],
+ responses: {
+ 204: {},
+ default: {
+ bodyMapper: Mappers.CloudError
+ }
+ },
+ serializer
+};
+
const beginCaptureOperationSpec: msRest.OperationSpec = {
httpMethod: "POST",
path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachines/{vmName}/capture",
@@ -1296,6 +1439,32 @@ const beginPerformMaintenanceOperationSpec: msRest.OperationSpec = {
serializer
};
+const beginAssessPatchesOperationSpec: msRest.OperationSpec = {
+ httpMethod: "POST",
+ path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachines/{vmName}/assessPatches",
+ urlParameters: [
+ Parameters.resourceGroupName,
+ Parameters.vmName,
+ Parameters.subscriptionId
+ ],
+ queryParameters: [
+ Parameters.apiVersion0
+ ],
+ headerParameters: [
+ Parameters.acceptLanguage
+ ],
+ responses: {
+ 200: {
+ bodyMapper: Mappers.VirtualMachineAssessPatchesResult
+ },
+ 202: {},
+ default: {
+ bodyMapper: Mappers.CloudError
+ }
+ },
+ serializer
+};
+
const beginRunCommandOperationSpec: msRest.OperationSpec = {
httpMethod: "POST",
path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachines/{vmName}/runCommand",