diff --git a/sdk/compute/Azure.ResourceManager.Compute/src/Generated/Models/ImageOSDisk.cs b/sdk/compute/Azure.ResourceManager.Compute/src/Generated/Models/ImageOSDisk.cs
index 3c04779f2833..0b5cf478b6b2 100644
--- a/sdk/compute/Azure.ResourceManager.Compute/src/Generated/Models/ImageOSDisk.cs
+++ b/sdk/compute/Azure.ResourceManager.Compute/src/Generated/Models/ImageOSDisk.cs
@@ -15,7 +15,7 @@ public partial class ImageOSDisk : ImageDisk
{
/// Initializes a new instance of ImageOSDisk.
/// This property allows you to specify the type of the OS that is included in the disk if creating a VM from a custom image. <br><br> Possible values are: <br><br> **Windows** <br><br> **Linux**.
- /// The OS State.
+ /// The OS State. For managed images, use Generalized.
public ImageOSDisk(SupportedOperatingSystemType osType, OperatingSystemStateType osState)
{
OSType = osType;
@@ -31,7 +31,7 @@ public ImageOSDisk(SupportedOperatingSystemType osType, OperatingSystemStateType
/// Specifies the storage account type for the managed disk. NOTE: UltraSSD_LRS can only be used with data disks, it cannot be used with OS Disk.
/// Specifies the customer managed disk encryption set resource id for the managed image disk.
/// This property allows you to specify the type of the OS that is included in the disk if creating a VM from a custom image. <br><br> Possible values are: <br><br> **Windows** <br><br> **Linux**.
- /// The OS State.
+ /// The OS State. For managed images, use Generalized.
internal ImageOSDisk(WritableSubResource snapshot, WritableSubResource managedDisk, Uri blobUri, CachingType? caching, int? diskSizeGB, StorageAccountType? storageAccountType, WritableSubResource diskEncryptionSet, SupportedOperatingSystemType osType, OperatingSystemStateType osState) : base(snapshot, managedDisk, blobUri, caching, diskSizeGB, storageAccountType, diskEncryptionSet)
{
OSType = osType;
@@ -40,7 +40,7 @@ internal ImageOSDisk(WritableSubResource snapshot, WritableSubResource managedDi
/// This property allows you to specify the type of the OS that is included in the disk if creating a VM from a custom image. <br><br> Possible values are: <br><br> **Windows** <br><br> **Linux**.
public SupportedOperatingSystemType OSType { get; set; }
- /// The OS State.
+ /// The OS State. For managed images, use Generalized.
public OperatingSystemStateType OSState { get; set; }
}
}
diff --git a/sdk/compute/Azure.ResourceManager.Compute/src/autorest.md b/sdk/compute/Azure.ResourceManager.Compute/src/autorest.md
index 59eeba17d0f7..6ce2e4b0b326 100644
--- a/sdk/compute/Azure.ResourceManager.Compute/src/autorest.md
+++ b/sdk/compute/Azure.ResourceManager.Compute/src/autorest.md
@@ -10,7 +10,7 @@ Run `dotnet build /t:GenerateCode` to generate code.
azure-arm: true
library-name: Compute
namespace: Azure.ResourceManager.Compute
-require: https://github.com/Azure/azure-rest-api-specs/blob/6c11930fe7757c6416cb2580eeddb4e57695c707/specification/compute/resource-manager/readme.md
+require: /mnt/vss/_work/1/s/azure-rest-api-specs/specification/compute/resource-manager/readme.md
tag: package-2022-04-04
output-folder: $(this-folder)/Generated
clear-output-folder: true