CreationDataOutput interface
建立磁碟時所使用的數據。
屬性
| create |
這會列舉磁碟建立的可能來源。 |
| gallery |
如果從資源庫映射建立,則為必要專案。 ImageDiskReference 的 id/sharedGalleryImageId/communityGalleryImageId 將是用來建立磁碟之共用 galley 映射版本的 ARM 標識符。 |
| image |
PIR 或使用者映像的磁碟來源資訊。 |
| logical |
Ultra 磁碟的邏輯扇區大小,以位元組為單位。 支援的值為 512 ad 4096。 4096 是預設值。 |
| performance |
將此旗標設定為 true,以提升所部署磁碟的效能目標,請參閱此處的個別效能目標。 此旗標只能在磁碟建立時間上設定,而且在啟用之後無法停用。 |
| security |
如果 createOption 是 ImportSecure,這是要匯入至 VM 客體狀態之 Blob 的 URI。 |
| source |
如果 createOption 是 Copy,這是來源快照集或磁碟的 ARM 識別碼。 |
| source |
如果設定此欄位,這是識別此資源來源的唯一標識符。 |
| source |
如果 createOption 為 Import,這是要匯入受控磁碟之 Blob 的 URI。 |
| storage |
如果 createOption 為 Import,則為必要專案。 記憶體帳戶的 Azure Resource Manager 識別符,其中包含要匯入為磁碟的 Blob。 |
| upload |
如果 createOption 是 Upload,這是上傳的內容大小,包括 VHD 頁尾。 此值應介於 20972032 (VHD 頁尾為 20 MiB + 512 位元元組)和 35183298347520 個字節之間(VHD 頁尾為 32 TiB + 512 位元組)。 |
屬性詳細資料
createOption
這會列舉磁碟建立的可能來源。
createOption: "FromImage" | "Empty" | "Attach" | "Import" | "Copy" | "Restore" | "Upload" | "CopyStart" | "ImportSecure" | "UploadPreparedSecure"
屬性值
"FromImage" | "Empty" | "Attach" | "Import" | "Copy" | "Restore" | "Upload" | "CopyStart" | "ImportSecure" | "UploadPreparedSecure"
galleryImageReference
如果從資源庫映射建立,則為必要專案。 ImageDiskReference 的 id/sharedGalleryImageId/communityGalleryImageId 將是用來建立磁碟之共用 galley 映射版本的 ARM 標識符。
galleryImageReference?: ImageDiskReferenceOutput
屬性值
imageReference
logicalSectorSize
Ultra 磁碟的邏輯扇區大小,以位元組為單位。 支援的值為 512 ad 4096。 4096 是預設值。
logicalSectorSize?: number
屬性值
number
performancePlus
將此旗標設定為 true,以提升所部署磁碟的效能目標,請參閱此處的個別效能目標。 此旗標只能在磁碟建立時間上設定,而且在啟用之後無法停用。
performancePlus?: boolean
屬性值
boolean
securityDataUri
如果 createOption 是 ImportSecure,這是要匯入至 VM 客體狀態之 Blob 的 URI。
securityDataUri?: string
屬性值
string
sourceResourceId
如果 createOption 是 Copy,這是來源快照集或磁碟的 ARM 識別碼。
sourceResourceId?: string
屬性值
string
sourceUniqueId
如果設定此欄位,這是識別此資源來源的唯一標識符。
sourceUniqueId?: string
屬性值
string
sourceUri
如果 createOption 為 Import,這是要匯入受控磁碟之 Blob 的 URI。
sourceUri?: string
屬性值
string
storageAccountId
如果 createOption 為 Import,則為必要專案。 記憶體帳戶的 Azure Resource Manager 識別符,其中包含要匯入為磁碟的 Blob。
storageAccountId?: string
屬性值
string
uploadSizeBytes
如果 createOption 是 Upload,這是上傳的內容大小,包括 VHD 頁尾。 此值應介於 20972032 (VHD 頁尾為 20 MiB + 512 位元元組)和 35183298347520 個字節之間(VHD 頁尾為 32 TiB + 512 位元組)。
uploadSizeBytes?: number
屬性值
number