diff --git a/sdk/compute/arm-compute/src/computeManagementClient.ts b/sdk/compute/arm-compute/src/computeManagementClient.ts
index 705a51ab894d..59b9b63c088f 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;
@@ -61,6 +62,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);
diff --git a/sdk/compute/arm-compute/src/models/availabilitySetsMappers.ts b/sdk/compute/arm-compute/src/models/availabilitySetsMappers.ts
index f7f9dccd7efe..597a74e16953 100644
--- a/sdk/compute/arm-compute/src/models/availabilitySetsMappers.ts
+++ b/sdk/compute/arm-compute/src/models/availabilitySetsMappers.ts
@@ -49,6 +49,7 @@ export {
DiagnosticsProfile,
DiffDiskSettings,
Disallowed,
+ DisallowedConfiguration,
Disk,
DiskEncryptionSet,
DiskEncryptionSetParameters,
@@ -106,6 +107,7 @@ export {
OSDiskImage,
OSDiskImageEncryption,
OSProfile,
+ PatchSettings,
Plan,
ProximityPlacementGroup,
ProximityPlacementGroupUpdate,
@@ -121,6 +123,7 @@ export {
RollingUpgradeStatusInfo,
ScaleInPolicy,
ScheduledEventsProfile,
+ SecurityProfile,
ShareInfoElement,
Sku,
Snapshot,
@@ -128,6 +131,8 @@ export {
SourceVault,
SshConfiguration,
SshPublicKey,
+ SshPublicKeyResource,
+ SshPublicKeyUpdateResource,
StorageProfile,
SubResource,
SubResourceReadOnly,
diff --git a/sdk/compute/arm-compute/src/models/containerServicesMappers.ts b/sdk/compute/arm-compute/src/models/containerServicesMappers.ts
index ed2fc0e24abc..388d204c717a 100644
--- a/sdk/compute/arm-compute/src/models/containerServicesMappers.ts
+++ b/sdk/compute/arm-compute/src/models/containerServicesMappers.ts
@@ -16,7 +16,6 @@ export {
AutomaticOSUpgradeProperties,
AutomaticRepairsPolicy,
AvailabilitySet,
- AvailabilitySetUpdate,
BaseResource,
BillingProfile,
BootDiagnostics,
@@ -43,12 +42,11 @@ export {
DedicatedHostAllocatableVM,
DedicatedHostAvailableCapacity,
DedicatedHostGroup,
- DedicatedHostGroupUpdate,
DedicatedHostInstanceView,
- DedicatedHostUpdate,
DiagnosticsProfile,
DiffDiskSettings,
Disallowed,
+ DisallowedConfiguration,
Disk,
DiskEncryptionSet,
DiskEncryptionSetParameters,
@@ -90,7 +88,6 @@ export {
ImagePurchasePlan,
ImageReference,
ImageStorageProfile,
- ImageUpdate,
InnerError,
InstanceViewStatus,
KeyVaultAndKeyReference,
@@ -106,9 +103,9 @@ export {
OSDiskImage,
OSDiskImageEncryption,
OSProfile,
+ PatchSettings,
Plan,
ProximityPlacementGroup,
- ProximityPlacementGroupUpdate,
PurchasePlan,
RecommendedMachineConfiguration,
RegionalReplicationStatus,
@@ -121,6 +118,7 @@ export {
RollingUpgradeStatusInfo,
ScaleInPolicy,
ScheduledEventsProfile,
+ SecurityProfile,
ShareInfoElement,
Sku,
Snapshot,
@@ -128,13 +126,13 @@ export {
SourceVault,
SshConfiguration,
SshPublicKey,
+ SshPublicKeyResource,
StorageProfile,
SubResource,
SubResourceReadOnly,
SubResourceWithColocationStatus,
TargetRegion,
TerminateNotificationProfile,
- UpdateResource,
UpdateResourceDefinition,
UpgradePolicy,
UserArtifactSource,
@@ -148,7 +146,6 @@ export {
VirtualMachineExtensionHandlerInstanceView,
VirtualMachineExtensionImage,
VirtualMachineExtensionInstanceView,
- VirtualMachineExtensionUpdate,
VirtualMachineHealthStatus,
VirtualMachineIdentity,
VirtualMachineIdentityUserAssignedIdentitiesValue,
@@ -173,21 +170,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..45c47c36b392 100644
--- a/sdk/compute/arm-compute/src/models/dedicatedHostGroupsMappers.ts
+++ b/sdk/compute/arm-compute/src/models/dedicatedHostGroupsMappers.ts
@@ -49,6 +49,7 @@ export {
DiagnosticsProfile,
DiffDiskSettings,
Disallowed,
+ DisallowedConfiguration,
Disk,
DiskEncryptionSet,
DiskEncryptionSetParameters,
@@ -106,6 +107,7 @@ export {
OSDiskImage,
OSDiskImageEncryption,
OSProfile,
+ PatchSettings,
Plan,
ProximityPlacementGroup,
ProximityPlacementGroupUpdate,
@@ -121,6 +123,7 @@ export {
RollingUpgradeStatusInfo,
ScaleInPolicy,
ScheduledEventsProfile,
+ SecurityProfile,
ShareInfoElement,
Sku,
Snapshot,
@@ -128,6 +131,8 @@ export {
SourceVault,
SshConfiguration,
SshPublicKey,
+ SshPublicKeyResource,
+ SshPublicKeyUpdateResource,
StorageProfile,
SubResource,
SubResourceReadOnly,
diff --git a/sdk/compute/arm-compute/src/models/dedicatedHostsMappers.ts b/sdk/compute/arm-compute/src/models/dedicatedHostsMappers.ts
index 302971aef816..089d1eb30ebf 100644
--- a/sdk/compute/arm-compute/src/models/dedicatedHostsMappers.ts
+++ b/sdk/compute/arm-compute/src/models/dedicatedHostsMappers.ts
@@ -49,6 +49,7 @@ export {
DiagnosticsProfile,
DiffDiskSettings,
Disallowed,
+ DisallowedConfiguration,
Disk,
DiskEncryptionSet,
DiskEncryptionSetParameters,
@@ -106,6 +107,7 @@ export {
OSDiskImage,
OSDiskImageEncryption,
OSProfile,
+ PatchSettings,
Plan,
ProximityPlacementGroup,
ProximityPlacementGroupUpdate,
@@ -121,6 +123,7 @@ export {
RollingUpgradeStatusInfo,
ScaleInPolicy,
ScheduledEventsProfile,
+ SecurityProfile,
ShareInfoElement,
Sku,
Snapshot,
@@ -128,6 +131,8 @@ export {
SourceVault,
SshConfiguration,
SshPublicKey,
+ SshPublicKeyResource,
+ SshPublicKeyUpdateResource,
StorageProfile,
SubResource,
SubResourceReadOnly,
diff --git a/sdk/compute/arm-compute/src/models/diskEncryptionSetsMappers.ts b/sdk/compute/arm-compute/src/models/diskEncryptionSetsMappers.ts
index 3929547470b7..fd1d884ffd2e 100644
--- a/sdk/compute/arm-compute/src/models/diskEncryptionSetsMappers.ts
+++ b/sdk/compute/arm-compute/src/models/diskEncryptionSetsMappers.ts
@@ -16,7 +16,6 @@ export {
AutomaticOSUpgradeProperties,
AutomaticRepairsPolicy,
AvailabilitySet,
- AvailabilitySetUpdate,
BaseResource,
BillingProfile,
BootDiagnostics,
@@ -42,12 +41,11 @@ export {
DedicatedHostAllocatableVM,
DedicatedHostAvailableCapacity,
DedicatedHostGroup,
- DedicatedHostGroupUpdate,
DedicatedHostInstanceView,
- DedicatedHostUpdate,
DiagnosticsProfile,
DiffDiskSettings,
Disallowed,
+ DisallowedConfiguration,
Disk,
DiskEncryptionSet,
DiskEncryptionSetList,
@@ -91,7 +89,6 @@ export {
ImagePurchasePlan,
ImageReference,
ImageStorageProfile,
- ImageUpdate,
InnerError,
InstanceViewStatus,
KeyVaultAndKeyReference,
@@ -107,9 +104,9 @@ export {
OSDiskImage,
OSDiskImageEncryption,
OSProfile,
+ PatchSettings,
Plan,
ProximityPlacementGroup,
- ProximityPlacementGroupUpdate,
PurchasePlan,
RecommendedMachineConfiguration,
RegionalReplicationStatus,
@@ -122,6 +119,7 @@ export {
RollingUpgradeStatusInfo,
ScaleInPolicy,
ScheduledEventsProfile,
+ SecurityProfile,
ShareInfoElement,
Sku,
Snapshot,
@@ -129,13 +127,13 @@ export {
SourceVault,
SshConfiguration,
SshPublicKey,
+ SshPublicKeyResource,
StorageProfile,
SubResource,
SubResourceReadOnly,
SubResourceWithColocationStatus,
TargetRegion,
TerminateNotificationProfile,
- UpdateResource,
UpdateResourceDefinition,
UpgradePolicy,
UserArtifactSource,
@@ -149,7 +147,6 @@ export {
VirtualMachineExtensionHandlerInstanceView,
VirtualMachineExtensionImage,
VirtualMachineExtensionInstanceView,
- VirtualMachineExtensionUpdate,
VirtualMachineHealthStatus,
VirtualMachineIdentity,
VirtualMachineIdentityUserAssignedIdentitiesValue,
@@ -174,21 +171,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..331b18eb562f 100644
--- a/sdk/compute/arm-compute/src/models/disksMappers.ts
+++ b/sdk/compute/arm-compute/src/models/disksMappers.ts
@@ -17,7 +17,6 @@ export {
AutomaticOSUpgradeProperties,
AutomaticRepairsPolicy,
AvailabilitySet,
- AvailabilitySetUpdate,
BaseResource,
BillingProfile,
BootDiagnostics,
@@ -43,12 +42,11 @@ export {
DedicatedHostAllocatableVM,
DedicatedHostAvailableCapacity,
DedicatedHostGroup,
- DedicatedHostGroupUpdate,
DedicatedHostInstanceView,
- DedicatedHostUpdate,
DiagnosticsProfile,
DiffDiskSettings,
Disallowed,
+ DisallowedConfiguration,
Disk,
DiskEncryptionSet,
DiskEncryptionSetParameters,
@@ -93,7 +91,6 @@ export {
ImagePurchasePlan,
ImageReference,
ImageStorageProfile,
- ImageUpdate,
InnerError,
InstanceViewStatus,
KeyVaultAndKeyReference,
@@ -109,9 +106,9 @@ export {
OSDiskImage,
OSDiskImageEncryption,
OSProfile,
+ PatchSettings,
Plan,
ProximityPlacementGroup,
- ProximityPlacementGroupUpdate,
PurchasePlan,
RecommendedMachineConfiguration,
RegionalReplicationStatus,
@@ -124,6 +121,7 @@ export {
RollingUpgradeStatusInfo,
ScaleInPolicy,
ScheduledEventsProfile,
+ SecurityProfile,
ShareInfoElement,
Sku,
Snapshot,
@@ -131,13 +129,13 @@ export {
SourceVault,
SshConfiguration,
SshPublicKey,
+ SshPublicKeyResource,
StorageProfile,
SubResource,
SubResourceReadOnly,
SubResourceWithColocationStatus,
TargetRegion,
TerminateNotificationProfile,
- UpdateResource,
UpdateResourceDefinition,
UpgradePolicy,
UserArtifactSource,
@@ -151,7 +149,6 @@ export {
VirtualMachineExtensionHandlerInstanceView,
VirtualMachineExtensionImage,
VirtualMachineExtensionInstanceView,
- VirtualMachineExtensionUpdate,
VirtualMachineHealthStatus,
VirtualMachineIdentity,
VirtualMachineIdentityUserAssignedIdentitiesValue,
@@ -176,21 +173,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..e52d03af9c44 100644
--- a/sdk/compute/arm-compute/src/models/galleriesMappers.ts
+++ b/sdk/compute/arm-compute/src/models/galleriesMappers.ts
@@ -16,7 +16,6 @@ export {
AutomaticOSUpgradeProperties,
AutomaticRepairsPolicy,
AvailabilitySet,
- AvailabilitySetUpdate,
BaseResource,
BillingProfile,
BootDiagnostics,
@@ -42,12 +41,11 @@ export {
DedicatedHostAllocatableVM,
DedicatedHostAvailableCapacity,
DedicatedHostGroup,
- DedicatedHostGroupUpdate,
DedicatedHostInstanceView,
- DedicatedHostUpdate,
DiagnosticsProfile,
DiffDiskSettings,
Disallowed,
+ DisallowedConfiguration,
Disk,
DiskEncryptionSet,
DiskEncryptionSetParameters,
@@ -90,7 +88,6 @@ export {
ImagePurchasePlan,
ImageReference,
ImageStorageProfile,
- ImageUpdate,
InnerError,
InstanceViewStatus,
KeyVaultAndKeyReference,
@@ -106,9 +103,9 @@ export {
OSDiskImage,
OSDiskImageEncryption,
OSProfile,
+ PatchSettings,
Plan,
ProximityPlacementGroup,
- ProximityPlacementGroupUpdate,
PurchasePlan,
RecommendedMachineConfiguration,
RegionalReplicationStatus,
@@ -121,6 +118,7 @@ export {
RollingUpgradeStatusInfo,
ScaleInPolicy,
ScheduledEventsProfile,
+ SecurityProfile,
ShareInfoElement,
Sku,
Snapshot,
@@ -128,13 +126,13 @@ export {
SourceVault,
SshConfiguration,
SshPublicKey,
+ SshPublicKeyResource,
StorageProfile,
SubResource,
SubResourceReadOnly,
SubResourceWithColocationStatus,
TargetRegion,
TerminateNotificationProfile,
- UpdateResource,
UpdateResourceDefinition,
UpgradePolicy,
UserArtifactSource,
@@ -148,7 +146,6 @@ export {
VirtualMachineExtensionHandlerInstanceView,
VirtualMachineExtensionImage,
VirtualMachineExtensionInstanceView,
- VirtualMachineExtensionUpdate,
VirtualMachineHealthStatus,
VirtualMachineIdentity,
VirtualMachineIdentityUserAssignedIdentitiesValue,
@@ -173,21 +170,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..487cc644ca7d 100644
--- a/sdk/compute/arm-compute/src/models/galleryApplicationVersionsMappers.ts
+++ b/sdk/compute/arm-compute/src/models/galleryApplicationVersionsMappers.ts
@@ -16,7 +16,6 @@ export {
AutomaticOSUpgradeProperties,
AutomaticRepairsPolicy,
AvailabilitySet,
- AvailabilitySetUpdate,
BaseResource,
BillingProfile,
BootDiagnostics,
@@ -42,12 +41,11 @@ export {
DedicatedHostAllocatableVM,
DedicatedHostAvailableCapacity,
DedicatedHostGroup,
- DedicatedHostGroupUpdate,
DedicatedHostInstanceView,
- DedicatedHostUpdate,
DiagnosticsProfile,
DiffDiskSettings,
Disallowed,
+ DisallowedConfiguration,
Disk,
DiskEncryptionSet,
DiskEncryptionSetParameters,
@@ -90,7 +88,6 @@ export {
ImagePurchasePlan,
ImageReference,
ImageStorageProfile,
- ImageUpdate,
InnerError,
InstanceViewStatus,
KeyVaultAndKeyReference,
@@ -106,9 +103,9 @@ export {
OSDiskImage,
OSDiskImageEncryption,
OSProfile,
+ PatchSettings,
Plan,
ProximityPlacementGroup,
- ProximityPlacementGroupUpdate,
PurchasePlan,
RecommendedMachineConfiguration,
RegionalReplicationStatus,
@@ -121,6 +118,7 @@ export {
RollingUpgradeStatusInfo,
ScaleInPolicy,
ScheduledEventsProfile,
+ SecurityProfile,
ShareInfoElement,
Sku,
Snapshot,
@@ -128,13 +126,13 @@ export {
SourceVault,
SshConfiguration,
SshPublicKey,
+ SshPublicKeyResource,
StorageProfile,
SubResource,
SubResourceReadOnly,
SubResourceWithColocationStatus,
TargetRegion,
TerminateNotificationProfile,
- UpdateResource,
UpdateResourceDefinition,
UpgradePolicy,
UserArtifactSource,
@@ -148,7 +146,6 @@ export {
VirtualMachineExtensionHandlerInstanceView,
VirtualMachineExtensionImage,
VirtualMachineExtensionInstanceView,
- VirtualMachineExtensionUpdate,
VirtualMachineHealthStatus,
VirtualMachineIdentity,
VirtualMachineIdentityUserAssignedIdentitiesValue,
@@ -173,21 +170,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..3fc4731297eb 100644
--- a/sdk/compute/arm-compute/src/models/galleryApplicationsMappers.ts
+++ b/sdk/compute/arm-compute/src/models/galleryApplicationsMappers.ts
@@ -16,7 +16,6 @@ export {
AutomaticOSUpgradeProperties,
AutomaticRepairsPolicy,
AvailabilitySet,
- AvailabilitySetUpdate,
BaseResource,
BillingProfile,
BootDiagnostics,
@@ -42,12 +41,11 @@ export {
DedicatedHostAllocatableVM,
DedicatedHostAvailableCapacity,
DedicatedHostGroup,
- DedicatedHostGroupUpdate,
DedicatedHostInstanceView,
- DedicatedHostUpdate,
DiagnosticsProfile,
DiffDiskSettings,
Disallowed,
+ DisallowedConfiguration,
Disk,
DiskEncryptionSet,
DiskEncryptionSetParameters,
@@ -90,7 +88,6 @@ export {
ImagePurchasePlan,
ImageReference,
ImageStorageProfile,
- ImageUpdate,
InnerError,
InstanceViewStatus,
KeyVaultAndKeyReference,
@@ -106,9 +103,9 @@ export {
OSDiskImage,
OSDiskImageEncryption,
OSProfile,
+ PatchSettings,
Plan,
ProximityPlacementGroup,
- ProximityPlacementGroupUpdate,
PurchasePlan,
RecommendedMachineConfiguration,
RegionalReplicationStatus,
@@ -121,6 +118,7 @@ export {
RollingUpgradeStatusInfo,
ScaleInPolicy,
ScheduledEventsProfile,
+ SecurityProfile,
ShareInfoElement,
Sku,
Snapshot,
@@ -128,13 +126,13 @@ export {
SourceVault,
SshConfiguration,
SshPublicKey,
+ SshPublicKeyResource,
StorageProfile,
SubResource,
SubResourceReadOnly,
SubResourceWithColocationStatus,
TargetRegion,
TerminateNotificationProfile,
- UpdateResource,
UpdateResourceDefinition,
UpgradePolicy,
UserArtifactSource,
@@ -148,7 +146,6 @@ export {
VirtualMachineExtensionHandlerInstanceView,
VirtualMachineExtensionImage,
VirtualMachineExtensionInstanceView,
- VirtualMachineExtensionUpdate,
VirtualMachineHealthStatus,
VirtualMachineIdentity,
VirtualMachineIdentityUserAssignedIdentitiesValue,
@@ -173,21 +170,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..8cca940cc46d 100644
--- a/sdk/compute/arm-compute/src/models/galleryImageVersionsMappers.ts
+++ b/sdk/compute/arm-compute/src/models/galleryImageVersionsMappers.ts
@@ -16,7 +16,6 @@ export {
AutomaticOSUpgradeProperties,
AutomaticRepairsPolicy,
AvailabilitySet,
- AvailabilitySetUpdate,
BaseResource,
BillingProfile,
BootDiagnostics,
@@ -42,12 +41,11 @@ export {
DedicatedHostAllocatableVM,
DedicatedHostAvailableCapacity,
DedicatedHostGroup,
- DedicatedHostGroupUpdate,
DedicatedHostInstanceView,
- DedicatedHostUpdate,
DiagnosticsProfile,
DiffDiskSettings,
Disallowed,
+ DisallowedConfiguration,
Disk,
DiskEncryptionSet,
DiskEncryptionSetParameters,
@@ -90,7 +88,6 @@ export {
ImagePurchasePlan,
ImageReference,
ImageStorageProfile,
- ImageUpdate,
InnerError,
InstanceViewStatus,
KeyVaultAndKeyReference,
@@ -106,9 +103,9 @@ export {
OSDiskImage,
OSDiskImageEncryption,
OSProfile,
+ PatchSettings,
Plan,
ProximityPlacementGroup,
- ProximityPlacementGroupUpdate,
PurchasePlan,
RecommendedMachineConfiguration,
RegionalReplicationStatus,
@@ -121,6 +118,7 @@ export {
RollingUpgradeStatusInfo,
ScaleInPolicy,
ScheduledEventsProfile,
+ SecurityProfile,
ShareInfoElement,
Sku,
Snapshot,
@@ -128,13 +126,13 @@ export {
SourceVault,
SshConfiguration,
SshPublicKey,
+ SshPublicKeyResource,
StorageProfile,
SubResource,
SubResourceReadOnly,
SubResourceWithColocationStatus,
TargetRegion,
TerminateNotificationProfile,
- UpdateResource,
UpdateResourceDefinition,
UpgradePolicy,
UserArtifactSource,
@@ -148,7 +146,6 @@ export {
VirtualMachineExtensionHandlerInstanceView,
VirtualMachineExtensionImage,
VirtualMachineExtensionInstanceView,
- VirtualMachineExtensionUpdate,
VirtualMachineHealthStatus,
VirtualMachineIdentity,
VirtualMachineIdentityUserAssignedIdentitiesValue,
@@ -173,21 +170,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..341142abf6b7 100644
--- a/sdk/compute/arm-compute/src/models/galleryImagesMappers.ts
+++ b/sdk/compute/arm-compute/src/models/galleryImagesMappers.ts
@@ -16,7 +16,6 @@ export {
AutomaticOSUpgradeProperties,
AutomaticRepairsPolicy,
AvailabilitySet,
- AvailabilitySetUpdate,
BaseResource,
BillingProfile,
BootDiagnostics,
@@ -42,12 +41,11 @@ export {
DedicatedHostAllocatableVM,
DedicatedHostAvailableCapacity,
DedicatedHostGroup,
- DedicatedHostGroupUpdate,
DedicatedHostInstanceView,
- DedicatedHostUpdate,
DiagnosticsProfile,
DiffDiskSettings,
Disallowed,
+ DisallowedConfiguration,
Disk,
DiskEncryptionSet,
DiskEncryptionSetParameters,
@@ -90,7 +88,6 @@ export {
ImagePurchasePlan,
ImageReference,
ImageStorageProfile,
- ImageUpdate,
InnerError,
InstanceViewStatus,
KeyVaultAndKeyReference,
@@ -106,9 +103,9 @@ export {
OSDiskImage,
OSDiskImageEncryption,
OSProfile,
+ PatchSettings,
Plan,
ProximityPlacementGroup,
- ProximityPlacementGroupUpdate,
PurchasePlan,
RecommendedMachineConfiguration,
RegionalReplicationStatus,
@@ -121,6 +118,7 @@ export {
RollingUpgradeStatusInfo,
ScaleInPolicy,
ScheduledEventsProfile,
+ SecurityProfile,
ShareInfoElement,
Sku,
Snapshot,
@@ -128,13 +126,13 @@ export {
SourceVault,
SshConfiguration,
SshPublicKey,
+ SshPublicKeyResource,
StorageProfile,
SubResource,
SubResourceReadOnly,
SubResourceWithColocationStatus,
TargetRegion,
TerminateNotificationProfile,
- UpdateResource,
UpdateResourceDefinition,
UpgradePolicy,
UserArtifactSource,
@@ -148,7 +146,6 @@ export {
VirtualMachineExtensionHandlerInstanceView,
VirtualMachineExtensionImage,
VirtualMachineExtensionInstanceView,
- VirtualMachineExtensionUpdate,
VirtualMachineHealthStatus,
VirtualMachineIdentity,
VirtualMachineIdentityUserAssignedIdentitiesValue,
@@ -173,21 +170,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..4646b72a93de 100644
--- a/sdk/compute/arm-compute/src/models/imagesMappers.ts
+++ b/sdk/compute/arm-compute/src/models/imagesMappers.ts
@@ -48,6 +48,7 @@ export {
DiagnosticsProfile,
DiffDiskSettings,
Disallowed,
+ DisallowedConfiguration,
Disk,
DiskEncryptionSet,
DiskEncryptionSetParameters,
@@ -106,6 +107,7 @@ export {
OSDiskImage,
OSDiskImageEncryption,
OSProfile,
+ PatchSettings,
Plan,
ProximityPlacementGroup,
ProximityPlacementGroupUpdate,
@@ -121,6 +123,7 @@ export {
RollingUpgradeStatusInfo,
ScaleInPolicy,
ScheduledEventsProfile,
+ SecurityProfile,
ShareInfoElement,
Sku,
Snapshot,
@@ -128,6 +131,8 @@ export {
SourceVault,
SshConfiguration,
SshPublicKey,
+ SshPublicKeyResource,
+ SshPublicKeyUpdateResource,
StorageProfile,
SubResource,
SubResourceReadOnly,
diff --git a/sdk/compute/arm-compute/src/models/index.ts b/sdk/compute/arm-compute/src/models/index.ts
index bda27497a463..e55c468f1b27 100644
--- a/sdk/compute/arm-compute/src/models/index.ts
+++ b/sdk/compute/arm-compute/src/models/index.ts
@@ -47,6 +47,16 @@ 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;
+}
+
/**
* Instance view status.
*/
@@ -84,7 +94,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 +189,7 @@ export interface AvailabilitySet extends Resource {
/**
* The Update Resource model definition.
*/
-export interface UpdateResource extends BaseResource {
+export interface UpdateResource {
/**
* Resource tags
*/
@@ -466,6 +478,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.
*/
@@ -729,6 +788,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 +966,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 +1074,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 +1134,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 +1266,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 +1351,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 OS. 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 +1399,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.
*/
@@ -1491,7 +1600,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;
}
@@ -1818,6 +1928,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.
*/
@@ -1948,6 +2062,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.
*/
@@ -2752,7 +2870,9 @@ export interface VirtualMachineScaleSetIPConfiguration extends 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 {
/**
@@ -3072,6 +3192,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.
*/
@@ -3131,6 +3255,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 +3332,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;
/**
@@ -3237,7 +3366,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 +3426,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 +3517,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 +3553,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[];
}
/**
@@ -3775,6 +3929,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 +4154,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.
*/
@@ -5048,7 +5221,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 +5513,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 +5656,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;
@@ -6144,7 +6317,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 +6416,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.
@@ -6502,6 +6688,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'
@@ -6623,6 +6817,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 +6857,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'
@@ -6728,6 +6938,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 +7002,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'
@@ -6883,11 +7117,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 +7803,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.
*/
diff --git a/sdk/compute/arm-compute/src/models/mappers.ts b/sdk/compute/arm-compute/src/models/mappers.ts
index 47236fff5f8f..5514232e74e5 100644
--- a/sdk/compute/arm-compute/src/models/mappers.ts
+++ b/sdk/compute/arm-compute/src/models/mappers.ts
@@ -64,6 +64,22 @@ 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 InstanceViewStatus: msRest.CompositeMapper = {
serializedName: "InstanceViewStatus",
type: {
@@ -796,6 +812,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: {
@@ -1247,6 +1328,13 @@ export const VirtualMachineImage: msRest.CompositeMapper = {
type: {
name: "String"
}
+ },
+ disallowed: {
+ serializedName: "properties.disallowed",
+ type: {
+ name: "Composite",
+ className: "DisallowedConfiguration"
+ }
}
}
}
@@ -1616,6 +1704,12 @@ export const DiffDiskSettings: msRest.CompositeMapper = {
type: {
name: "String"
}
+ },
+ placement: {
+ serializedName: "placement",
+ type: {
+ name: "String"
+ }
}
}
}
@@ -1866,6 +1960,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 +2084,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 +2136,13 @@ export const WindowsConfiguration: msRest.CompositeMapper = {
}
}
},
+ patchSettings: {
+ serializedName: "patchSettings",
+ type: {
+ name: "Composite",
+ className: "PatchSettings"
+ }
+ },
winRM: {
serializedName: "winRM",
type: {
@@ -2762,6 +2895,13 @@ export const VirtualMachine: msRest.CompositeMapper = {
className: "NetworkProfile"
}
},
+ securityProfile: {
+ serializedName: "properties.securityProfile",
+ type: {
+ name: "Composite",
+ className: "SecurityProfile"
+ }
+ },
diagnosticsProfile: {
serializedName: "properties.diagnosticsProfile",
type: {
@@ -2928,6 +3068,13 @@ export const VirtualMachineUpdate: msRest.CompositeMapper = {
className: "NetworkProfile"
}
},
+ securityProfile: {
+ serializedName: "properties.securityProfile",
+ type: {
+ name: "Composite",
+ className: "SecurityProfile"
+ }
+ },
diagnosticsProfile: {
serializedName: "properties.diagnosticsProfile",
type: {
@@ -4647,6 +4794,13 @@ export const VirtualMachineScaleSetVMProfile: msRest.CompositeMapper = {
className: "VirtualMachineScaleSetNetworkProfile"
}
},
+ securityProfile: {
+ serializedName: "securityProfile",
+ type: {
+ name: "Composite",
+ className: "SecurityProfile"
+ }
+ },
diagnosticsProfile: {
serializedName: "diagnosticsProfile",
type: {
@@ -4724,6 +4878,13 @@ export const VirtualMachineScaleSetUpdateVMProfile: msRest.CompositeMapper = {
className: "VirtualMachineScaleSetUpdateNetworkProfile"
}
},
+ securityProfile: {
+ serializedName: "securityProfile",
+ type: {
+ name: "Composite",
+ className: "SecurityProfile"
+ }
+ },
diagnosticsProfile: {
serializedName: "diagnosticsProfile",
type: {
@@ -5136,6 +5297,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 +5359,19 @@ export const VirtualMachineScaleSetInstanceView: msRest.CompositeMapper = {
}
}
}
+ },
+ orchestrationServices: {
+ readOnly: true,
+ serializedName: "orchestrationServices",
+ type: {
+ name: "Sequence",
+ element: {
+ type: {
+ name: "Composite",
+ className: "OrchestrationServiceSummary"
+ }
+ }
+ }
}
}
}
@@ -5785,6 +5983,13 @@ export const VirtualMachineScaleSetVM: msRest.CompositeMapper = {
className: "OSProfile"
}
},
+ securityProfile: {
+ serializedName: "properties.securityProfile",
+ type: {
+ name: "Composite",
+ className: "SecurityProfile"
+ }
+ },
networkProfile: {
serializedName: "properties.networkProfile",
type: {
@@ -6126,6 +6331,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: {
@@ -8411,7 +8640,6 @@ export const GalleryArtifactVersionSource: msRest.CompositeMapper = {
className: "GalleryArtifactVersionSource",
modelProperties: {
id: {
- required: true,
serializedName: "id",
type: {
name: "String"
@@ -9276,6 +9504,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: {
diff --git a/sdk/compute/arm-compute/src/models/parameters.ts b/sdk/compute/arm-compute/src/models/parameters.ts
index 4207c0004079..da1f079ac4b8 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"
}
@@ -412,6 +412,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..189e125361f0 100644
--- a/sdk/compute/arm-compute/src/models/proximityPlacementGroupsMappers.ts
+++ b/sdk/compute/arm-compute/src/models/proximityPlacementGroupsMappers.ts
@@ -48,6 +48,7 @@ export {
DiagnosticsProfile,
DiffDiskSettings,
Disallowed,
+ DisallowedConfiguration,
Disk,
DiskEncryptionSet,
DiskEncryptionSetParameters,
@@ -105,6 +106,7 @@ export {
OSDiskImage,
OSDiskImageEncryption,
OSProfile,
+ PatchSettings,
Plan,
ProximityPlacementGroup,
ProximityPlacementGroupListResult,
@@ -121,6 +123,7 @@ export {
RollingUpgradeStatusInfo,
ScaleInPolicy,
ScheduledEventsProfile,
+ SecurityProfile,
ShareInfoElement,
Sku,
Snapshot,
@@ -128,6 +131,8 @@ export {
SourceVault,
SshConfiguration,
SshPublicKey,
+ SshPublicKeyResource,
+ SshPublicKeyUpdateResource,
StorageProfile,
SubResource,
SubResourceReadOnly,
diff --git a/sdk/compute/arm-compute/src/models/snapshotsMappers.ts b/sdk/compute/arm-compute/src/models/snapshotsMappers.ts
index 775006fffb3d..068cc99e64cd 100644
--- a/sdk/compute/arm-compute/src/models/snapshotsMappers.ts
+++ b/sdk/compute/arm-compute/src/models/snapshotsMappers.ts
@@ -17,7 +17,6 @@ export {
AutomaticOSUpgradeProperties,
AutomaticRepairsPolicy,
AvailabilitySet,
- AvailabilitySetUpdate,
BaseResource,
BillingProfile,
BootDiagnostics,
@@ -43,12 +42,11 @@ export {
DedicatedHostAllocatableVM,
DedicatedHostAvailableCapacity,
DedicatedHostGroup,
- DedicatedHostGroupUpdate,
DedicatedHostInstanceView,
- DedicatedHostUpdate,
DiagnosticsProfile,
DiffDiskSettings,
Disallowed,
+ DisallowedConfiguration,
Disk,
DiskEncryptionSet,
DiskEncryptionSetParameters,
@@ -91,7 +89,6 @@ export {
ImagePurchasePlan,
ImageReference,
ImageStorageProfile,
- ImageUpdate,
InnerError,
InstanceViewStatus,
KeyVaultAndKeyReference,
@@ -107,9 +104,9 @@ export {
OSDiskImage,
OSDiskImageEncryption,
OSProfile,
+ PatchSettings,
Plan,
ProximityPlacementGroup,
- ProximityPlacementGroupUpdate,
PurchasePlan,
RecommendedMachineConfiguration,
RegionalReplicationStatus,
@@ -122,6 +119,7 @@ export {
RollingUpgradeStatusInfo,
ScaleInPolicy,
ScheduledEventsProfile,
+ SecurityProfile,
ShareInfoElement,
Sku,
Snapshot,
@@ -131,13 +129,13 @@ export {
SourceVault,
SshConfiguration,
SshPublicKey,
+ SshPublicKeyResource,
StorageProfile,
SubResource,
SubResourceReadOnly,
SubResourceWithColocationStatus,
TargetRegion,
TerminateNotificationProfile,
- UpdateResource,
UpdateResourceDefinition,
UpgradePolicy,
UserArtifactSource,
@@ -151,7 +149,6 @@ export {
VirtualMachineExtensionHandlerInstanceView,
VirtualMachineExtensionImage,
VirtualMachineExtensionInstanceView,
- VirtualMachineExtensionUpdate,
VirtualMachineHealthStatus,
VirtualMachineIdentity,
VirtualMachineIdentityUserAssignedIdentitiesValue,
@@ -176,21 +173,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..f676ea90a6a4
--- /dev/null
+++ b/sdk/compute/arm-compute/src/models/sshPublicKeysMappers.ts
@@ -0,0 +1,200 @@
+/*
+ * 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,
+ 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,
+ DedicatedHostGroupUpdate,
+ DedicatedHostInstanceView,
+ DedicatedHostUpdate,
+ DiagnosticsProfile,
+ DiffDiskSettings,
+ Disallowed,
+ DisallowedConfiguration,
+ Disk,
+ 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,
+ LinuxConfiguration,
+ MaintenanceRedeployStatus,
+ ManagedDiskParameters,
+ NetworkInterfaceReference,
+ NetworkProfile,
+ OSDisk,
+ OSDiskImage,
+ OSDiskImageEncryption,
+ OSProfile,
+ PatchSettings,
+ Plan,
+ 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,
+ 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..81fc1b00984f 100644
--- a/sdk/compute/arm-compute/src/models/virtualMachineExtensionImagesMappers.ts
+++ b/sdk/compute/arm-compute/src/models/virtualMachineExtensionImagesMappers.ts
@@ -16,7 +16,6 @@ export {
AutomaticOSUpgradeProperties,
AutomaticRepairsPolicy,
AvailabilitySet,
- AvailabilitySetUpdate,
BaseResource,
BillingProfile,
BootDiagnostics,
@@ -42,12 +41,11 @@ export {
DedicatedHostAllocatableVM,
DedicatedHostAvailableCapacity,
DedicatedHostGroup,
- DedicatedHostGroupUpdate,
DedicatedHostInstanceView,
- DedicatedHostUpdate,
DiagnosticsProfile,
DiffDiskSettings,
Disallowed,
+ DisallowedConfiguration,
Disk,
DiskEncryptionSet,
DiskEncryptionSetParameters,
@@ -89,7 +87,6 @@ export {
ImagePurchasePlan,
ImageReference,
ImageStorageProfile,
- ImageUpdate,
InnerError,
InstanceViewStatus,
KeyVaultAndKeyReference,
@@ -105,9 +102,9 @@ export {
OSDiskImage,
OSDiskImageEncryption,
OSProfile,
+ PatchSettings,
Plan,
ProximityPlacementGroup,
- ProximityPlacementGroupUpdate,
PurchasePlan,
RecommendedMachineConfiguration,
RegionalReplicationStatus,
@@ -120,6 +117,7 @@ export {
RollingUpgradeStatusInfo,
ScaleInPolicy,
ScheduledEventsProfile,
+ SecurityProfile,
ShareInfoElement,
Sku,
Snapshot,
@@ -127,13 +125,13 @@ export {
SourceVault,
SshConfiguration,
SshPublicKey,
+ SshPublicKeyResource,
StorageProfile,
SubResource,
SubResourceReadOnly,
SubResourceWithColocationStatus,
TargetRegion,
TerminateNotificationProfile,
- UpdateResource,
UpdateResourceDefinition,
UpgradePolicy,
UserArtifactSource,
@@ -147,7 +145,6 @@ export {
VirtualMachineExtensionHandlerInstanceView,
VirtualMachineExtensionImage,
VirtualMachineExtensionInstanceView,
- VirtualMachineExtensionUpdate,
VirtualMachineHealthStatus,
VirtualMachineIdentity,
VirtualMachineIdentityUserAssignedIdentitiesValue,
@@ -172,21 +169,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..4faa3b21f30f 100644
--- a/sdk/compute/arm-compute/src/models/virtualMachineExtensionsMappers.ts
+++ b/sdk/compute/arm-compute/src/models/virtualMachineExtensionsMappers.ts
@@ -48,6 +48,7 @@ export {
DiagnosticsProfile,
DiffDiskSettings,
Disallowed,
+ DisallowedConfiguration,
Disk,
DiskEncryptionSet,
DiskEncryptionSetParameters,
@@ -105,6 +106,7 @@ export {
OSDiskImage,
OSDiskImageEncryption,
OSProfile,
+ PatchSettings,
Plan,
ProximityPlacementGroup,
ProximityPlacementGroupUpdate,
@@ -120,6 +122,7 @@ export {
RollingUpgradeStatusInfo,
ScaleInPolicy,
ScheduledEventsProfile,
+ SecurityProfile,
ShareInfoElement,
Sku,
Snapshot,
@@ -127,6 +130,8 @@ export {
SourceVault,
SshConfiguration,
SshPublicKey,
+ SshPublicKeyResource,
+ SshPublicKeyUpdateResource,
StorageProfile,
SubResource,
SubResourceReadOnly,
diff --git a/sdk/compute/arm-compute/src/models/virtualMachineImagesMappers.ts b/sdk/compute/arm-compute/src/models/virtualMachineImagesMappers.ts
index e611b2ffb6b4..81fc1b00984f 100644
--- a/sdk/compute/arm-compute/src/models/virtualMachineImagesMappers.ts
+++ b/sdk/compute/arm-compute/src/models/virtualMachineImagesMappers.ts
@@ -16,7 +16,6 @@ export {
AutomaticOSUpgradeProperties,
AutomaticRepairsPolicy,
AvailabilitySet,
- AvailabilitySetUpdate,
BaseResource,
BillingProfile,
BootDiagnostics,
@@ -42,12 +41,11 @@ export {
DedicatedHostAllocatableVM,
DedicatedHostAvailableCapacity,
DedicatedHostGroup,
- DedicatedHostGroupUpdate,
DedicatedHostInstanceView,
- DedicatedHostUpdate,
DiagnosticsProfile,
DiffDiskSettings,
Disallowed,
+ DisallowedConfiguration,
Disk,
DiskEncryptionSet,
DiskEncryptionSetParameters,
@@ -89,7 +87,6 @@ export {
ImagePurchasePlan,
ImageReference,
ImageStorageProfile,
- ImageUpdate,
InnerError,
InstanceViewStatus,
KeyVaultAndKeyReference,
@@ -105,9 +102,9 @@ export {
OSDiskImage,
OSDiskImageEncryption,
OSProfile,
+ PatchSettings,
Plan,
ProximityPlacementGroup,
- ProximityPlacementGroupUpdate,
PurchasePlan,
RecommendedMachineConfiguration,
RegionalReplicationStatus,
@@ -120,6 +117,7 @@ export {
RollingUpgradeStatusInfo,
ScaleInPolicy,
ScheduledEventsProfile,
+ SecurityProfile,
ShareInfoElement,
Sku,
Snapshot,
@@ -127,13 +125,13 @@ export {
SourceVault,
SshConfiguration,
SshPublicKey,
+ SshPublicKeyResource,
StorageProfile,
SubResource,
SubResourceReadOnly,
SubResourceWithColocationStatus,
TargetRegion,
TerminateNotificationProfile,
- UpdateResource,
UpdateResourceDefinition,
UpgradePolicy,
UserArtifactSource,
@@ -147,7 +145,6 @@ export {
VirtualMachineExtensionHandlerInstanceView,
VirtualMachineExtensionImage,
VirtualMachineExtensionInstanceView,
- VirtualMachineExtensionUpdate,
VirtualMachineHealthStatus,
VirtualMachineIdentity,
VirtualMachineIdentityUserAssignedIdentitiesValue,
@@ -172,21 +169,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..ec95956cd99a 100644
--- a/sdk/compute/arm-compute/src/models/virtualMachineScaleSetExtensionsMappers.ts
+++ b/sdk/compute/arm-compute/src/models/virtualMachineScaleSetExtensionsMappers.ts
@@ -16,7 +16,6 @@ export {
AutomaticOSUpgradeProperties,
AutomaticRepairsPolicy,
AvailabilitySet,
- AvailabilitySetUpdate,
BaseResource,
BillingProfile,
BootDiagnostics,
@@ -42,12 +41,11 @@ export {
DedicatedHostAllocatableVM,
DedicatedHostAvailableCapacity,
DedicatedHostGroup,
- DedicatedHostGroupUpdate,
DedicatedHostInstanceView,
- DedicatedHostUpdate,
DiagnosticsProfile,
DiffDiskSettings,
Disallowed,
+ DisallowedConfiguration,
Disk,
DiskEncryptionSet,
DiskEncryptionSetParameters,
@@ -89,7 +87,6 @@ export {
ImagePurchasePlan,
ImageReference,
ImageStorageProfile,
- ImageUpdate,
InnerError,
InstanceViewStatus,
KeyVaultAndKeyReference,
@@ -105,9 +102,9 @@ export {
OSDiskImage,
OSDiskImageEncryption,
OSProfile,
+ PatchSettings,
Plan,
ProximityPlacementGroup,
- ProximityPlacementGroupUpdate,
PurchasePlan,
RecommendedMachineConfiguration,
RegionalReplicationStatus,
@@ -120,6 +117,7 @@ export {
RollingUpgradeStatusInfo,
ScaleInPolicy,
ScheduledEventsProfile,
+ SecurityProfile,
ShareInfoElement,
Sku,
Snapshot,
@@ -127,13 +125,13 @@ export {
SourceVault,
SshConfiguration,
SshPublicKey,
+ SshPublicKeyResource,
StorageProfile,
SubResource,
SubResourceReadOnly,
SubResourceWithColocationStatus,
TargetRegion,
TerminateNotificationProfile,
- UpdateResource,
UpdateResourceDefinition,
UpgradePolicy,
UserArtifactSource,
@@ -147,7 +145,6 @@ export {
VirtualMachineExtensionHandlerInstanceView,
VirtualMachineExtensionImage,
VirtualMachineExtensionInstanceView,
- VirtualMachineExtensionUpdate,
VirtualMachineHealthStatus,
VirtualMachineIdentity,
VirtualMachineIdentityUserAssignedIdentitiesValue,
@@ -173,21 +170,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..81fc1b00984f 100644
--- a/sdk/compute/arm-compute/src/models/virtualMachineScaleSetRollingUpgradesMappers.ts
+++ b/sdk/compute/arm-compute/src/models/virtualMachineScaleSetRollingUpgradesMappers.ts
@@ -16,7 +16,6 @@ export {
AutomaticOSUpgradeProperties,
AutomaticRepairsPolicy,
AvailabilitySet,
- AvailabilitySetUpdate,
BaseResource,
BillingProfile,
BootDiagnostics,
@@ -42,12 +41,11 @@ export {
DedicatedHostAllocatableVM,
DedicatedHostAvailableCapacity,
DedicatedHostGroup,
- DedicatedHostGroupUpdate,
DedicatedHostInstanceView,
- DedicatedHostUpdate,
DiagnosticsProfile,
DiffDiskSettings,
Disallowed,
+ DisallowedConfiguration,
Disk,
DiskEncryptionSet,
DiskEncryptionSetParameters,
@@ -89,7 +87,6 @@ export {
ImagePurchasePlan,
ImageReference,
ImageStorageProfile,
- ImageUpdate,
InnerError,
InstanceViewStatus,
KeyVaultAndKeyReference,
@@ -105,9 +102,9 @@ export {
OSDiskImage,
OSDiskImageEncryption,
OSProfile,
+ PatchSettings,
Plan,
ProximityPlacementGroup,
- ProximityPlacementGroupUpdate,
PurchasePlan,
RecommendedMachineConfiguration,
RegionalReplicationStatus,
@@ -120,6 +117,7 @@ export {
RollingUpgradeStatusInfo,
ScaleInPolicy,
ScheduledEventsProfile,
+ SecurityProfile,
ShareInfoElement,
Sku,
Snapshot,
@@ -127,13 +125,13 @@ export {
SourceVault,
SshConfiguration,
SshPublicKey,
+ SshPublicKeyResource,
StorageProfile,
SubResource,
SubResourceReadOnly,
SubResourceWithColocationStatus,
TargetRegion,
TerminateNotificationProfile,
- UpdateResource,
UpdateResourceDefinition,
UpgradePolicy,
UserArtifactSource,
@@ -147,7 +145,6 @@ export {
VirtualMachineExtensionHandlerInstanceView,
VirtualMachineExtensionImage,
VirtualMachineExtensionInstanceView,
- VirtualMachineExtensionUpdate,
VirtualMachineHealthStatus,
VirtualMachineIdentity,
VirtualMachineIdentityUserAssignedIdentitiesValue,
@@ -172,21 +169,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..4faa3b21f30f 100644
--- a/sdk/compute/arm-compute/src/models/virtualMachineScaleSetVMExtensionsMappers.ts
+++ b/sdk/compute/arm-compute/src/models/virtualMachineScaleSetVMExtensionsMappers.ts
@@ -48,6 +48,7 @@ export {
DiagnosticsProfile,
DiffDiskSettings,
Disallowed,
+ DisallowedConfiguration,
Disk,
DiskEncryptionSet,
DiskEncryptionSetParameters,
@@ -105,6 +106,7 @@ export {
OSDiskImage,
OSDiskImageEncryption,
OSProfile,
+ PatchSettings,
Plan,
ProximityPlacementGroup,
ProximityPlacementGroupUpdate,
@@ -120,6 +122,7 @@ export {
RollingUpgradeStatusInfo,
ScaleInPolicy,
ScheduledEventsProfile,
+ SecurityProfile,
ShareInfoElement,
Sku,
Snapshot,
@@ -127,6 +130,8 @@ export {
SourceVault,
SshConfiguration,
SshPublicKey,
+ SshPublicKeyResource,
+ SshPublicKeyUpdateResource,
StorageProfile,
SubResource,
SubResourceReadOnly,
diff --git a/sdk/compute/arm-compute/src/models/virtualMachineScaleSetVMsMappers.ts b/sdk/compute/arm-compute/src/models/virtualMachineScaleSetVMsMappers.ts
index fc7ba43f4734..ad77e1d8d08f 100644
--- a/sdk/compute/arm-compute/src/models/virtualMachineScaleSetVMsMappers.ts
+++ b/sdk/compute/arm-compute/src/models/virtualMachineScaleSetVMsMappers.ts
@@ -16,7 +16,6 @@ export {
AutomaticOSUpgradeProperties,
AutomaticRepairsPolicy,
AvailabilitySet,
- AvailabilitySetUpdate,
BaseResource,
BillingProfile,
BootDiagnostics,
@@ -42,12 +41,11 @@ export {
DedicatedHostAllocatableVM,
DedicatedHostAvailableCapacity,
DedicatedHostGroup,
- DedicatedHostGroupUpdate,
DedicatedHostInstanceView,
- DedicatedHostUpdate,
DiagnosticsProfile,
DiffDiskSettings,
Disallowed,
+ DisallowedConfiguration,
Disk,
DiskEncryptionSet,
DiskEncryptionSetParameters,
@@ -89,7 +87,6 @@ export {
ImagePurchasePlan,
ImageReference,
ImageStorageProfile,
- ImageUpdate,
InnerError,
InstanceViewStatus,
KeyVaultAndKeyReference,
@@ -105,9 +102,9 @@ export {
OSDiskImage,
OSDiskImageEncryption,
OSProfile,
+ PatchSettings,
Plan,
ProximityPlacementGroup,
- ProximityPlacementGroupUpdate,
PurchasePlan,
RecommendedMachineConfiguration,
RegionalReplicationStatus,
@@ -123,6 +120,7 @@ export {
RunCommandResult,
ScaleInPolicy,
ScheduledEventsProfile,
+ SecurityProfile,
ShareInfoElement,
Sku,
Snapshot,
@@ -130,13 +128,13 @@ export {
SourceVault,
SshConfiguration,
SshPublicKey,
+ SshPublicKeyResource,
StorageProfile,
SubResource,
SubResourceReadOnly,
SubResourceWithColocationStatus,
TargetRegion,
TerminateNotificationProfile,
- UpdateResource,
UpdateResourceDefinition,
UpgradePolicy,
UserArtifactSource,
@@ -150,7 +148,6 @@ export {
VirtualMachineExtensionHandlerInstanceView,
VirtualMachineExtensionImage,
VirtualMachineExtensionInstanceView,
- VirtualMachineExtensionUpdate,
VirtualMachineHealthStatus,
VirtualMachineIdentity,
VirtualMachineIdentityUserAssignedIdentitiesValue,
@@ -177,15 +174,9 @@ export {
VirtualMachineScaleSetPublicIPAddressConfigurationDnsSettings,
VirtualMachineScaleSetReimageParameters,
VirtualMachineScaleSetStorageProfile,
- VirtualMachineScaleSetUpdate,
VirtualMachineScaleSetUpdateIPConfiguration,
VirtualMachineScaleSetUpdateNetworkConfiguration,
- VirtualMachineScaleSetUpdateNetworkProfile,
- VirtualMachineScaleSetUpdateOSDisk,
- VirtualMachineScaleSetUpdateOSProfile,
VirtualMachineScaleSetUpdatePublicIPAddressConfiguration,
- VirtualMachineScaleSetUpdateStorageProfile,
- VirtualMachineScaleSetUpdateVMProfile,
VirtualMachineScaleSetVM,
VirtualMachineScaleSetVMInstanceView,
VirtualMachineScaleSetVMListResult,
@@ -193,7 +184,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..e2cc3ed3adec 100644
--- a/sdk/compute/arm-compute/src/models/virtualMachineScaleSetsMappers.ts
+++ b/sdk/compute/arm-compute/src/models/virtualMachineScaleSetsMappers.ts
@@ -48,6 +48,7 @@ export {
DiagnosticsProfile,
DiffDiskSettings,
Disallowed,
+ DisallowedConfiguration,
Disk,
DiskEncryptionSet,
DiskEncryptionSetParameters,
@@ -101,10 +102,13 @@ export {
ManagedDiskParameters,
NetworkInterfaceReference,
NetworkProfile,
+ OrchestrationServiceStateInput,
+ OrchestrationServiceSummary,
OSDisk,
OSDiskImage,
OSDiskImageEncryption,
OSProfile,
+ PatchSettings,
Plan,
ProximityPlacementGroup,
ProximityPlacementGroupUpdate,
@@ -122,6 +126,7 @@ export {
RollingUpgradeStatusInfo,
ScaleInPolicy,
ScheduledEventsProfile,
+ SecurityProfile,
ShareInfoElement,
Sku,
Snapshot,
@@ -129,6 +134,8 @@ export {
SourceVault,
SshConfiguration,
SshPublicKey,
+ SshPublicKeyResource,
+ SshPublicKeyUpdateResource,
StorageProfile,
SubResource,
SubResourceReadOnly,
diff --git a/sdk/compute/arm-compute/src/models/virtualMachinesMappers.ts b/sdk/compute/arm-compute/src/models/virtualMachinesMappers.ts
index f4f08b90903a..c1ebc898c3b1 100644
--- a/sdk/compute/arm-compute/src/models/virtualMachinesMappers.ts
+++ b/sdk/compute/arm-compute/src/models/virtualMachinesMappers.ts
@@ -48,6 +48,7 @@ export {
DiagnosticsProfile,
DiffDiskSettings,
Disallowed,
+ DisallowedConfiguration,
Disk,
DiskEncryptionSet,
DiskEncryptionSetParameters,
@@ -105,6 +106,7 @@ export {
OSDiskImage,
OSDiskImageEncryption,
OSProfile,
+ PatchSettings,
Plan,
ProximityPlacementGroup,
ProximityPlacementGroupUpdate,
@@ -123,6 +125,7 @@ export {
RunCommandResult,
ScaleInPolicy,
ScheduledEventsProfile,
+ SecurityProfile,
ShareInfoElement,
Sku,
Snapshot,
@@ -130,6 +133,8 @@ export {
SourceVault,
SshConfiguration,
SshPublicKey,
+ SshPublicKeyResource,
+ SshPublicKeyUpdateResource,
StorageProfile,
SubResource,
SubResourceReadOnly,
diff --git a/sdk/compute/arm-compute/src/operations/index.ts b/sdk/compute/arm-compute/src/operations/index.ts
index a18768f5f0c2..27bbacbe00fa 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";
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..90e004ebb619 100644
--- a/sdk/compute/arm-compute/src/operations/virtualMachineScaleSetVMs.ts
+++ b/sdk/compute/arm-compute/src/operations/virtualMachineScaleSetVMs.ts
@@ -269,6 +269,43 @@ export class VirtualMachineScaleSetVMs {
.then(lroPoller => lroPoller.pollUntilFinished());
}
+ /**
+ * The operation to simulate the eviction of spot virtual machine in a VM scale set. The eviction
+ * will occur within 30 minutes of calling the API
+ * @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 +663,30 @@ const listOperationSpec: msRest.OperationSpec = {
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..db79c2aa9b98 100644
--- a/sdk/compute/arm-compute/src/operations/virtualMachines.ts
+++ b/sdk/compute/arm-compute/src/operations/virtualMachines.ts
@@ -406,6 +406,39 @@ export class VirtualMachines {
.then(lroPoller => lroPoller.pollUntilFinished());
}
+ /**
+ * The operation to simulate the eviction of spot virtual machine. The eviction will occur within
+ * 30 minutes of calling the API
+ * @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);
+ }
+
/**
* Run command on the VM.
* @param resourceGroupName The name of the resource group.
@@ -944,6 +977,29 @@ const listAvailableSizesOperationSpec: msRest.OperationSpec = {
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",