다음을 통해 공유


Disks - Create Or Update

디스크를 만들거나 업데이트합니다.

PUT https://management.azure.com/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/disks/{diskName}?api-version=2025-01-02

URI 매개 변수

Name In(다음 안에) 필수 형식 Description
diskName
path True

string

생성되는 관리 디스크의 이름입니다. 디스크를 만든 후에는 이름을 변경할 수 없습니다. 이름에 지원되는 문자는 a-z, A-Z, 0-9, _ 및 -입니다. 최대 이름 길이는 80자입니다.

resourceGroupName
path True

string

minLength: 1
maxLength: 90

리소스 그룹의 이름입니다. 이름은 대소문자를 구분하지 않습니다.

subscriptionId
path True

string

minLength: 1

대상 구독의 ID입니다.

api-version
query True

string

minLength: 1

이 작업에 사용할 API 버전입니다.

요청 본문

Name 필수 형식 Description
location True

string

리소스가 있는 지리적 위치

properties.creationData True

CreationData

디스크 원본 정보입니다. 디스크를 만든 후에는 CreationData 정보를 변경할 수 없습니다.

extendedLocation

ExtendedLocation

디스크를 만들 확장된 위치입니다. 확장된 위치는 변경할 수 없습니다.

properties.availabilityPolicy

AvailabilityPolicy

플랫폼이 디스크 오류를 처리하는 방법을 결정합니다.

properties.burstingEnabled

boolean

디스크의 프로비전된 성능 목표를 초과하여 버스팅을 사용하도록 설정하려면 true로 설정합니다. 버스팅은 기본적으로 사용하지 않도록 설정됩니다. Ultra 디스크에는 적용되지 않습니다.

properties.completionPercent

number (float)

CopyStart 작업을 통해 리소스를 만들 때 백그라운드 복사에 대한 완료율입니다.

properties.dataAccessAuthMode

DataAccessAuthMode

디스크 또는 스냅샷을 내보내거나 업로드할 때 추가 인증 요구 사항입니다.

properties.diskAccessId

string

디스크에서 프라이빗 엔드포인트를 사용하기 위한 DiskAccess 리소스의 ARM ID입니다.

properties.diskIOPSReadOnly

integer (int64)

공유 디스크를 ReadOnly로 탑재하는 모든 VM에서 허용되는 총 IOPS 수입니다. 하나의 작업은 4k에서 256k 바이트 사이를 전송할 수 있습니다.

properties.diskIOPSReadWrite

integer (int64)

이 디스크에 허용되는 IOPS 수입니다. UltraSSD 디스크에 대해서만 설정할 수 있습니다. 하나의 작업은 4k에서 256k 바이트 사이를 전송할 수 있습니다.

properties.diskMBpsReadOnly

integer (int64)

공유 디스크를 ReadOnly로 탑재하는 모든 VM에서 허용되는 총 처리량(MBps)입니다. MBps는 초당 수백만 바이트를 의미합니다. 여기서 MB는 10의 강력한 ISO 표기법을 사용합니다.

properties.diskMBpsReadWrite

integer (int64)

이 디스크에 허용되는 대역폭입니다. UltraSSD 디스크에 대해서만 설정할 수 있습니다. MBps는 초당 수백만 바이트를 의미합니다. 여기서 MB는 10의 강력한 ISO 표기법을 사용합니다.

properties.diskSizeGB

integer (int32)

creationData.createOption이 비어 있는 경우 이 필드는 필수이며 만들 디스크의 크기를 나타냅니다. 이 필드가 다른 옵션을 사용하여 업데이트 또는 만들기에 있는 경우 크기 조정을 나타냅니다. 크기 조정은 디스크가 실행 중인 VM에 연결되지 않은 경우에만 허용되며 디스크의 크기만 늘릴 수 있습니다.

properties.encryption

Encryption

암호화 속성을 사용하여 고객 관리형 키 또는 플랫폼 관리 키를 사용하여 미사용 데이터를 암호화할 수 있습니다.

properties.encryptionSettingsCollection

EncryptionSettingsCollection

Azure Disk Encryption에 사용되는 암호화 설정 컬렉션은 디스크 또는 스냅샷당 여러 암호화 설정을 포함할 수 있습니다.

properties.hyperVGeneration

HyperVGeneration

Virtual Machine의 하이퍼바이저 생성입니다. OS 디스크에만 적용됩니다.

properties.maxShares

integer (int32)

디스크에 동시에 연결할 수 있는 최대 VM 수입니다. 1보다 큰 값은 동시에 여러 VM에 탑재할 수 있는 디스크를 나타냅니다.

properties.networkAccessPolicy

NetworkAccessPolicy

네트워크를 통해 디스크에 액세스하기 위한 정책입니다.

properties.optimizedForFrequentAttach

boolean

이 속성을 true로 설정하면 한 가상 머신에서 분리되고 다른 가상 머신에 연결하여 자주(하루에 5회 이상) 데이터 디스크의 안정성과 성능이 향상됩니다. 이 속성은 디스크가 가상 머신의 장애 도메인과 정렬되지 않도록 하기 때문에 자주 분리되고 연결되지 않은 디스크에 대해 설정해서는 안 됩니다.

properties.osType

OperatingSystemTypes

운영 체제 유형입니다.

properties.publicNetworkAccess

PublicNetworkAccess

디스크에서 내보내기를 제어하는 정책입니다.

properties.purchasePlan

DiskPurchasePlan

OS 디스크를 만든 이미지에 대한 구매 계획 정보입니다. 예: - {name: 2019-Datacenter, publisher: MicrosoftWindowsServer, product: WindowsServer}

properties.securityProfile

DiskSecurityProfile

리소스에 대한 보안 관련 정보를 포함합니다.

properties.supportedCapabilities

SupportedCapabilities

OS 디스크를 만든 이미지에 대해 지원되는 기능 목록입니다.

properties.supportsHibernation

boolean

디스크의 OS가 최대 절전 모드를 지원했음을 나타냅니다.

properties.tier

string

여기에 설명된 대로 디스크의 성능 계층(예: P4, S10) https://azure.microsoft.com/en-us/pricing/details/managed-disks/. Ultra 디스크에는 적용되지 않습니다.

sku

DiskSku

디스크 sku 이름입니다. Standard_LRS, Premium_LRS, StandardSSD_LRS, UltraSSD_LRS, Premium_ZRS, StandardSSD_ZRS 또는 PremiumV2_LRS 수 있습니다.

tags

object

리소스 태그.

zones

string[]

디스크의 논리 영역 목록입니다.

응답

Name 형식 Description
200 OK

Disk

리소스 '디스크' 업데이트 작업에 성공했습니다.

202 Accepted

Disk

처리를 위해 요청이 수락되었지만 처리가 아직 완료되지 않았습니다.

헤더

  • Location: string
  • Retry-After: integer
Other Status Codes

CloudError

예기치 않은 오류 응답입니다.

보안

azure_auth

Azure Active Directory OAuth2 흐름.

형식: oauth2
Flow: implicit
권한 부여 URL: https://login.microsoftonline.com/common/oauth2/authorize

범위

Name Description
user_impersonation 사용자 계정 가장

예제

create a confidential VM supported disk encrypted with customer managed key
create a managed disk and associate with disk access resource.
create a managed disk and associate with disk encryption set.
create a managed disk by copying a snapshot.
create a managed disk by importing an unmanaged blob from a different subscription.
create a managed disk by importing an unmanaged blob from the same subscription.
create a managed disk from a platform image.
create a managed disk from an Azure Compute Gallery community image.
create a managed disk from an Azure Compute Gallery direct shared image.
create a managed disk from an Azure Compute Gallery image.
create a managed disk from an existing managed disk in the same or different subscription.
create a managed disk from elastic san volume snapshot.
create a managed disk from ImportSecure create option
create a managed disk from ImportSecure create option with metadata URI for Confidential VM.
create a managed disk from UploadPreparedSecure create option
create a managed disk with availability policy.
create a managed disk with dataAccessAuthMode
create a managed disk with optimizedForFrequentAttach.
create a managed disk with performancePlus.
create a managed disk with premium v2 account type.
create a managed disk with security profile
create a managed disk with ssd zrs account type.
create a managed disk with ultra account type with readOnly property set.
create a managed upload disk.
create an empty managed disk in extended location.
create an empty managed disk.
create an ultra managed disk with logicalSectorSize 512E

create a confidential VM supported disk encrypted with customer managed key

샘플 요청

PUT https://management.azure.com/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/myDisk?api-version=2025-01-02

{
  "location": "West US",
  "properties": {
    "osType": "Windows",
    "securityProfile": {
      "securityType": "ConfidentialVM_DiskEncryptedWithCustomerKey",
      "secureVMDiskEncryptionSetId": "/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/diskEncryptionSets/{diskEncryptionSetName}"
    },
    "creationData": {
      "createOption": "FromImage",
      "imageReference": {
        "id": "/Subscriptions/{subscriptionId}/Providers/Microsoft.Compute/Locations/westus/Publishers/{publisher}/ArtifactTypes/VMImage/Offers/{offer}/Skus/{sku}/Versions/1.0.0"
      }
    }
  }
}

샘플 응답

{
  "id": "/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/myDisk",
  "name": "myDisk",
  "location": "West US",
  "properties": {
    "provisioningState": "Succeeded",
    "osType": "Windows",
    "securityProfile": {
      "securityType": "ConfidentialVM_DiskEncryptedWithCustomerKey",
      "secureVMDiskEncryptionSetId": "/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/diskEncryptionSets/{diskEncryptionSetName}"
    },
    "creationData": {
      "createOption": "FromImage",
      "imageReference": {
        "id": "/Subscriptions/{subscriptionId}/Providers/Microsoft.Compute/Locations/westus/Publishers/{publisher}/ArtifactTypes/VMImage/Offers/{offer}/Skus/{sku}/Versions/1.0.0"
      }
    }
  }
}
{
  "id": "/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/myDisk",
  "name": "myDisk",
  "location": "West US",
  "properties": {
    "provisioningState": "Updating",
    "osType": "Windows",
    "securityProfile": {
      "securityType": "ConfidentialVM_DiskEncryptedWithCustomerKey",
      "secureVMDiskEncryptionSetId": "/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/diskEncryptionSets/{diskEncryptionSetName}"
    },
    "creationData": {
      "createOption": "FromImage",
      "imageReference": {
        "id": "/Subscriptions/{subscriptionId}/Providers/Microsoft.Compute/Locations/westus/Publishers/{publisher}/ArtifactTypes/VMImage/Offers/{offer}/Skus/{sku}/Versions/1.0.0"
      }
    }
  }
}

create a managed disk and associate with disk access resource.

샘플 요청

PUT https://management.azure.com/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/myDisk?api-version=2025-01-02

{
  "location": "West US",
  "properties": {
    "creationData": {
      "createOption": "Empty"
    },
    "diskSizeGB": 200,
    "networkAccessPolicy": "AllowPrivate",
    "diskAccessId": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/diskAccesses/{existing-diskAccess-name}"
  }
}

샘플 응답

{
  "id": "/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/myDisk",
  "properties": {
    "creationData": {
      "createOption": "Empty"
    },
    "diskSizeGB": 200,
    "provisioningState": "Succeeded",
    "networkAccessPolicy": "AllowPrivate",
    "diskAccessId": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/diskAccesses/{existing-diskAccess-name}",
    "publicNetworkAccess": "Enabled"
  },
  "location": "West US",
  "name": "myDisk"
}
{
  "id": "/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/myDisk",
  "properties": {
    "creationData": {
      "createOption": "Empty"
    },
    "diskSizeGB": 200,
    "provisioningState": "Updating"
  },
  "location": "West US",
  "name": "myDisk"
}

create a managed disk and associate with disk encryption set.

샘플 요청

PUT https://management.azure.com/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/myDisk?api-version=2025-01-02

{
  "location": "West US",
  "properties": {
    "creationData": {
      "createOption": "Empty"
    },
    "diskSizeGB": 200,
    "encryption": {
      "diskEncryptionSetId": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/diskEncryptionSets/{existing-diskEncryptionSet-name}"
    }
  }
}

샘플 응답

{
  "id": "/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/myDisk",
  "properties": {
    "creationData": {
      "createOption": "Empty"
    },
    "diskSizeGB": 200,
    "provisioningState": "Succeeded",
    "encryption": {
      "diskEncryptionSetId": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/diskEncryptionSets/{existing-diskEncryptionSet-name}"
    }
  },
  "location": "West US",
  "name": "myDisk"
}
{
  "id": "/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/myDisk",
  "properties": {
    "creationData": {
      "createOption": "Empty"
    },
    "diskSizeGB": 200,
    "provisioningState": "Updating"
  },
  "location": "West US",
  "name": "myDisk"
}

create a managed disk by copying a snapshot.

샘플 요청

PUT https://management.azure.com/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/myDisk?api-version=2025-01-02

{
  "location": "West US",
  "properties": {
    "creationData": {
      "createOption": "Copy",
      "sourceResourceId": "subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/snapshots/mySnapshot"
    }
  }
}

샘플 응답

{
  "id": "/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/myDisk",
  "name": "myDisk",
  "location": "West US",
  "properties": {
    "provisioningState": "Updating",
    "creationData": {
      "createOption": "Copy",
      "sourceResourceId": "subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/snapshots/mySnapshot"
    }
  }
}
{
  "id": "/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/myDisk",
  "name": "myDisk",
  "location": "West US",
  "properties": {
    "provisioningState": "Updating",
    "creationData": {
      "createOption": "Copy",
      "sourceResourceId": "subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/snapshots/mySnapshot"
    }
  }
}

create a managed disk by importing an unmanaged blob from a different subscription.

샘플 요청

PUT https://management.azure.com/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/myDisk?api-version=2025-01-02

{
  "location": "West US",
  "properties": {
    "creationData": {
      "createOption": "Import",
      "storageAccountId": "subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.Storage/storageAccounts/myStorageAccount",
      "sourceUri": "https://mystorageaccount.blob.core.windows.net/osimages/osimage.vhd"
    }
  }
}

샘플 응답

{
  "id": "/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/myDisk",
  "name": "myDisk",
  "location": "West US",
  "properties": {
    "provisioningState": "Updating",
    "creationData": {
      "createOption": "Import",
      "storageAccountId": "subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.Storage/storageAccounts/myStorageAccount",
      "sourceUri": "https://mystorageaccount.blob.core.windows.net/osimages/osimage.vhd"
    }
  }
}
{
  "id": "/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/myDisk",
  "name": "myDisk",
  "location": "West US",
  "properties": {
    "provisioningState": "Updating",
    "creationData": {
      "createOption": "Import",
      "storageAccountId": "subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.Storage/storageAccounts/myStorageAccount",
      "sourceUri": "https://mystorageaccount.blob.core.windows.net/osimages/osimage.vhd"
    }
  }
}

create a managed disk by importing an unmanaged blob from the same subscription.

샘플 요청

PUT https://management.azure.com/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/myDisk?api-version=2025-01-02

{
  "location": "West US",
  "properties": {
    "creationData": {
      "createOption": "Import",
      "sourceUri": "https://mystorageaccount.blob.core.windows.net/osimages/osimage.vhd"
    }
  }
}

샘플 응답

{
  "id": "/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/myDisk",
  "name": "myDisk",
  "location": "West US",
  "properties": {
    "provisioningState": "Updating",
    "creationData": {
      "createOption": "Import",
      "sourceUri": "https://mystorageaccount.blob.core.windows.net/osimages/osimage.vhd"
    }
  }
}
{
  "id": "/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/myDisk",
  "name": "myDisk",
  "location": "West US",
  "properties": {
    "provisioningState": "Updating",
    "creationData": {
      "createOption": "Import",
      "sourceUri": "https://mystorageaccount.blob.core.windows.net/osimages/osimage.vhd"
    }
  }
}

create a managed disk from a platform image.

샘플 요청

PUT https://management.azure.com/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/myDisk?api-version=2025-01-02

{
  "location": "West US",
  "properties": {
    "osType": "Windows",
    "creationData": {
      "createOption": "FromImage",
      "imageReference": {
        "id": "/Subscriptions/{subscriptionId}/Providers/Microsoft.Compute/Locations/westus/Publishers/{publisher}/ArtifactTypes/VMImage/Offers/{offer}/Skus/{sku}/Versions/1.0.0"
      }
    }
  }
}

샘플 응답

{
  "id": "/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/myDisk",
  "name": "myDisk",
  "location": "West US",
  "properties": {
    "provisioningState": "Succeeded",
    "osType": "Windows",
    "hyperVGeneration": "V1",
    "purchasePlan": {
      "name": "{sku}",
      "publisher": "{publisher}",
      "product": "{offer}"
    },
    "supportedCapabilities": {
      "acceleratedNetwork": true
    },
    "creationData": {
      "createOption": "FromImage",
      "imageReference": {
        "id": "/Subscriptions/{subscriptionId}/Providers/Microsoft.Compute/Locations/westus/Publishers/{publisher}/ArtifactTypes/VMImage/Offers/{offer}/Skus/{sku}/Versions/1.0.0"
      }
    }
  }
}
{
  "id": "/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/myDisk",
  "name": "myDisk",
  "location": "West US",
  "properties": {
    "osType": "Windows",
    "hyperVGeneration": "V1",
    "purchasePlan": {
      "name": "{sku}",
      "publisher": "{publisher}",
      "product": "{offer}"
    },
    "supportedCapabilities": {
      "acceleratedNetwork": true
    },
    "creationData": {
      "createOption": "FromImage",
      "imageReference": {
        "id": "/Subscriptions/{subscriptionId}/Providers/Microsoft.Compute/Locations/westus/Publishers/{publisher}/ArtifactTypes/VMImage/Offers/{offer}/Skus/{sku}/Versions/1.0.0"
      }
    },
    "provisioningState": "Updating"
  }
}

샘플 요청

PUT https://management.azure.com/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/myDisk?api-version=2025-01-02

{
  "location": "West US",
  "properties": {
    "osType": "Windows",
    "creationData": {
      "createOption": "FromImage",
      "galleryImageReference": {
        "communityGalleryImageId": "/CommunityGalleries/{communityGalleryPublicGalleryName}/Images/{imageName}/Versions/1.0.0"
      }
    }
  }
}

샘플 응답

{
  "id": "/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/myDisk",
  "name": "myDisk",
  "location": "West US",
  "properties": {
    "provisioningState": "Succeeded",
    "osType": "Windows",
    "hyperVGeneration": "V1",
    "supportedCapabilities": {
      "acceleratedNetwork": true
    },
    "creationData": {
      "createOption": "FromImage",
      "galleryImageReference": {
        "communityGalleryImageId": "/CommunityGalleries/{communityGalleryPublicGalleryName}/Images/{imageName}/Versions/1.0.0"
      }
    }
  }
}
{
  "id": "/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/myDisk",
  "name": "myDisk",
  "location": "West US",
  "properties": {
    "osType": "Windows",
    "hyperVGeneration": "V1",
    "supportedCapabilities": {
      "acceleratedNetwork": true
    },
    "creationData": {
      "createOption": "FromImage",
      "galleryImageReference": {
        "communityGalleryImageId": "/CommunityGalleries/{communityGalleryPublicGalleryName}/Images/{imageName}/Versions/1.0.0"
      }
    },
    "provisioningState": "Updating"
  }
}

샘플 요청

PUT https://management.azure.com/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/myDisk?api-version=2025-01-02

{
  "location": "West US",
  "properties": {
    "osType": "Windows",
    "creationData": {
      "createOption": "FromImage",
      "galleryImageReference": {
        "sharedGalleryImageId": "/SharedGalleries/{sharedGalleryUniqueName}/Images/{imageName}/Versions/1.0.0"
      }
    }
  }
}

샘플 응답

{
  "id": "/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/myDisk",
  "name": "myDisk",
  "location": "West US",
  "properties": {
    "provisioningState": "Succeeded",
    "osType": "Windows",
    "hyperVGeneration": "V1",
    "supportedCapabilities": {
      "acceleratedNetwork": true
    },
    "creationData": {
      "createOption": "FromImage",
      "galleryImageReference": {
        "sharedGalleryImageId": "/SharedGalleries/{sharedGalleryUniqueName}/Images/{imageName}/Versions/1.0.0"
      }
    }
  }
}
{
  "id": "/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/myDisk",
  "name": "myDisk",
  "location": "West US",
  "properties": {
    "osType": "Windows",
    "hyperVGeneration": "V1",
    "supportedCapabilities": {
      "acceleratedNetwork": true
    },
    "creationData": {
      "createOption": "FromImage",
      "galleryImageReference": {
        "sharedGalleryImageId": "/SharedGalleries/{sharedGalleryUniqueName}/Images/{imageName}/Versions/1.0.0"
      }
    },
    "provisioningState": "Updating"
  }
}

샘플 요청

PUT https://management.azure.com/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/myDisk?api-version=2025-01-02

{
  "location": "West US",
  "properties": {
    "osType": "Windows",
    "creationData": {
      "createOption": "FromImage",
      "galleryImageReference": {
        "id": "/Subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/Providers/Microsoft.Compute/Galleries/{galleryName}/Images/{imageName}/Versions/1.0.0"
      }
    }
  }
}

샘플 응답

{
  "id": "/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/myDisk",
  "name": "myDisk",
  "location": "West US",
  "properties": {
    "provisioningState": "Succeeded",
    "osType": "Windows",
    "hyperVGeneration": "V1",
    "supportedCapabilities": {
      "acceleratedNetwork": true,
      "supportedSecurityOption": "TrustedLaunchSupported"
    },
    "creationData": {
      "createOption": "FromImage",
      "galleryImageReference": {
        "id": "/Subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/Providers/Microsoft.Compute/Galleries/{galleryName}/Images/{imageName}/Versions/1.0.0"
      }
    }
  }
}
{
  "id": "/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/myDisk",
  "name": "myDisk",
  "location": "West US",
  "properties": {
    "osType": "Windows",
    "hyperVGeneration": "V1",
    "supportedCapabilities": {
      "acceleratedNetwork": true,
      "supportedSecurityOption": "TrustedLaunchSupported"
    },
    "creationData": {
      "createOption": "FromImage",
      "galleryImageReference": {
        "id": "/Subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/Providers/Microsoft.Compute/Galleries/{galleryName}/Images/{imageName}/Versions/1.0.0"
      }
    },
    "provisioningState": "Updating"
  }
}

create a managed disk from an existing managed disk in the same or different subscription.

샘플 요청

PUT https://management.azure.com/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/myDisk2?api-version=2025-01-02

{
  "location": "West US",
  "properties": {
    "creationData": {
      "createOption": "Copy",
      "sourceResourceId": "subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/myDisk1"
    }
  }
}

샘플 응답

{
  "id": "/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/myDisk",
  "properties": {
    "creationData": {
      "createOption": "Copy",
      "sourceResourceId": "subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/myDisk1"
    },
    "provisioningState": "Updating"
  },
  "location": "West US",
  "name": "myDisk2"
}
{
  "id": "/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/myDisk",
  "properties": {
    "creationData": {
      "createOption": "Copy",
      "sourceResourceId": "subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/myDisk1"
    },
    "provisioningState": "Updating"
  },
  "location": "West US",
  "name": "myDisk2"
}

create a managed disk from elastic san volume snapshot.

샘플 요청

PUT https://management.azure.com/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/myDisk?api-version=2025-01-02

{
  "location": "West US",
  "properties": {
    "creationData": {
      "createOption": "CopyFromSanSnapshot",
      "elasticSanResourceId": "subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.ElasticSan/elasticSans/myElasticSan/volumegroups/myElasticSanVolumeGroup/snapshots/myElasticSanVolumeSnapshot"
    }
  }
}

샘플 응답

{
  "id": "/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/myDisk",
  "properties": {
    "creationData": {
      "createOption": "CopyFromSanSnapshot",
      "elasticSanResourceId": "subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.ElasticSan/elasticSans/myElasticSan/volumegroups/myElasticSanVolumeGroup/snapshots/myElasticSanVolumeSnapshot"
    },
    "provisioningState": "Succeeded"
  },
  "location": "West US",
  "name": "myDisk"
}
{
  "id": "/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/myDisk",
  "properties": {
    "creationData": {
      "createOption": "CopyFromSanSnapshot",
      "elasticSanResourceId": "subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.ElasticSan/elasticSans/myElasticSan/volumegroups/myElasticSanVolumeGroup/snapshots/myElasticSanVolumeSnapshot"
    },
    "provisioningState": "Updating"
  },
  "location": "West US",
  "name": "myDisk"
}

create a managed disk from ImportSecure create option

샘플 요청

PUT https://management.azure.com/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/myDisk?api-version=2025-01-02

{
  "location": "West US",
  "properties": {
    "osType": "Windows",
    "securityProfile": {
      "securityType": "ConfidentialVM_VMGuestStateOnlyEncryptedWithPlatformKey"
    },
    "creationData": {
      "createOption": "ImportSecure",
      "storageAccountId": "subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.Storage/storageAccounts/myStorageAccount",
      "sourceUri": "https://mystorageaccount.blob.core.windows.net/osimages/osimage.vhd",
      "securityDataUri": "https://mystorageaccount.blob.core.windows.net/osimages/vmgs.vhd"
    }
  }
}

샘플 응답

{
  "id": "/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/myDisk",
  "name": "myDisk",
  "location": "West US",
  "properties": {
    "provisioningState": "Succeeded",
    "osType": "Windows",
    "securityProfile": {
      "securityType": "ConfidentialVM_VMGuestStateOnlyEncryptedWithPlatformKey"
    },
    "creationData": {
      "createOption": "ImportSecure",
      "storageAccountId": "subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.Storage/storageAccounts/myStorageAccount",
      "sourceUri": "https://mystorageaccount.blob.core.windows.net/osimages/osimage.vhd",
      "securityDataUri": "https://mystorageaccount.blob.core.windows.net/osimages/vmgs.vhd"
    }
  }
}
{
  "id": "/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/myDisk",
  "name": "myDisk",
  "location": "West US",
  "properties": {
    "provisioningState": "Updating",
    "osType": "Windows",
    "securityProfile": {
      "securityType": "ConfidentialVM_VMGuestStateOnlyEncryptedWithPlatformKey"
    },
    "creationData": {
      "createOption": "ImportSecure",
      "storageAccountId": "subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.Storage/storageAccounts/myStorageAccount",
      "sourceUri": "https://mystorageaccount.blob.core.windows.net/osimages/osimage.vhd",
      "securityDataUri": "https://mystorageaccount.blob.core.windows.net/osimages/vmgs.vhd"
    }
  }
}

create a managed disk from ImportSecure create option with metadata URI for Confidential VM.

샘플 요청

PUT https://management.azure.com/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/myDisk?api-version=2025-01-02

{
  "location": "West US",
  "properties": {
    "osType": "Windows",
    "securityProfile": {
      "securityType": "ConfidentialVM_VMGuestStateOnlyEncryptedWithPlatformKey"
    },
    "creationData": {
      "createOption": "ImportSecure",
      "storageAccountId": "subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.Storage/storageAccounts/myStorageAccount",
      "sourceUri": "https://mystorageaccount.blob.core.windows.net/osimages/osimage.vhd",
      "securityDataUri": "https://mystorageaccount.blob.core.windows.net/osimages/vmgs.vhd",
      "securityMetadataUri": "https://mystorageaccount.blob.core.windows.net/osimages/vmmd.vhd"
    }
  }
}

샘플 응답

{
  "id": "/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/myDisk",
  "name": "myDisk",
  "location": "West US",
  "properties": {
    "provisioningState": "Updating",
    "osType": "Windows",
    "securityProfile": {
      "securityType": "ConfidentialVM_VMGuestStateOnlyEncryptedWithPlatformKey"
    },
    "creationData": {
      "createOption": "ImportSecure",
      "storageAccountId": "subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.Storage/storageAccounts/myStorageAccount",
      "sourceUri": "https://mystorageaccount.blob.core.windows.net/osimages/osimage.vhd",
      "securityDataUri": "https://mystorageaccount.blob.core.windows.net/osimages/vmgs.vhd",
      "securityMetadataUri": "https://mystorageaccount.blob.core.windows.net/osimages/vmmd.vhd"
    }
  }
}
{
  "id": "/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/myDisk",
  "name": "myDisk",
  "location": "West US",
  "properties": {
    "provisioningState": "Succeeded",
    "osType": "Windows",
    "securityProfile": {
      "securityType": "ConfidentialVM_VMGuestStateOnlyEncryptedWithPlatformKey"
    },
    "creationData": {
      "createOption": "ImportSecure",
      "storageAccountId": "subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.Storage/storageAccounts/myStorageAccount",
      "sourceUri": "https://mystorageaccount.blob.core.windows.net/osimages/osimage.vhd",
      "securityDataUri": "https://mystorageaccount.blob.core.windows.net/osimages/vmgs.vhd",
      "securityMetadataUri": "https://mystorageaccount.blob.core.windows.net/osimages/vmmd.vhd"
    }
  }
}

create a managed disk from UploadPreparedSecure create option

샘플 요청

PUT https://management.azure.com/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/myDisk?api-version=2025-01-02

{
  "location": "West US",
  "properties": {
    "osType": "Windows",
    "securityProfile": {
      "securityType": "TrustedLaunch"
    },
    "creationData": {
      "createOption": "UploadPreparedSecure",
      "uploadSizeBytes": 10737418752
    }
  }
}

샘플 응답

{
  "id": "/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/myDisk",
  "properties": {
    "osType": "Windows",
    "securityProfile": {
      "securityType": "TrustedLaunch"
    },
    "creationData": {
      "createOption": "UploadPreparedSecure",
      "uploadSizeBytes": 10737418752
    },
    "provisioningState": "Succeeded"
  },
  "location": "West US",
  "name": "myDisk"
}
{
  "id": "/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/myDisk",
  "properties": {
    "osType": "Windows",
    "securityProfile": {
      "securityType": "TrustedLaunch"
    },
    "creationData": {
      "createOption": "UploadPreparedSecure",
      "uploadSizeBytes": 10737418752
    },
    "provisioningState": "Updating"
  },
  "location": "West US",
  "name": "myDisk"
}

create a managed disk with availability policy.

샘플 요청

PUT https://management.azure.com/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/myDisk?api-version=2025-01-02

{
  "location": "West US",
  "properties": {
    "creationData": {
      "createOption": "Empty"
    },
    "diskSizeGB": 1024,
    "availabilityPolicy": {
      "actionOnDiskDelay": "AutomaticReattach"
    }
  }
}

샘플 응답

Location: https://management.azure.com/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/myDisk?api-version=2025-01-02
{
  "id": "/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/myDisk",
  "properties": {
    "creationData": {
      "createOption": "Empty"
    },
    "diskSizeGB": 1024,
    "provisioningState": "Updating"
  },
  "location": "West US",
  "name": "myDisk"
}
{
  "id": "/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/myDisk",
  "properties": {
    "creationData": {
      "createOption": "Empty"
    },
    "diskSizeGB": 1024,
    "availabilityPolicy": {
      "actionOnDiskDelay": "AutomaticReattach"
    },
    "provisioningState": "Succeeded"
  },
  "location": "West US",
  "name": "myDisk"
}

create a managed disk with dataAccessAuthMode

샘플 요청

PUT https://management.azure.com/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/myDisk?api-version=2025-01-02

{
  "location": "West US",
  "properties": {
    "creationData": {
      "createOption": "Empty"
    },
    "diskSizeGB": 200,
    "dataAccessAuthMode": "AzureActiveDirectory"
  }
}

샘플 응답

{
  "id": "/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/myDisk",
  "properties": {
    "creationData": {
      "createOption": "Empty"
    },
    "diskSizeGB": 200,
    "provisioningState": "Succeeded",
    "dataAccessAuthMode": "AzureActiveDirectory"
  },
  "location": "West US",
  "name": "myDisk"
}
{
  "id": "/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/myDisk",
  "properties": {
    "creationData": {
      "createOption": "Empty"
    },
    "diskSizeGB": 200,
    "provisioningState": "Updating"
  },
  "location": "West US",
  "name": "myDisk"
}

create a managed disk with optimizedForFrequentAttach.

샘플 요청

PUT https://management.azure.com/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/myDisk?api-version=2025-01-02

{
  "location": "West US",
  "properties": {
    "creationData": {
      "createOption": "Empty"
    },
    "diskSizeGB": 200,
    "optimizedForFrequentAttach": true
  }
}

샘플 응답

{
  "id": "/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/myDisk",
  "properties": {
    "creationData": {
      "createOption": "Empty"
    },
    "diskSizeGB": 200,
    "provisioningState": "Succeeded",
    "optimizedForFrequentAttach": true
  },
  "location": "West US",
  "name": "myDisk"
}
{
  "id": "/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/myDisk",
  "properties": {
    "creationData": {
      "createOption": "Empty"
    },
    "diskSizeGB": 200,
    "provisioningState": "Updating",
    "optimizedForFrequentAttach": true
  },
  "location": "West US",
  "name": "myDisk"
}

create a managed disk with performancePlus.

샘플 요청

PUT https://management.azure.com/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/myDisk?api-version=2025-01-02

{
  "location": "West US",
  "properties": {
    "creationData": {
      "createOption": "Upload",
      "performancePlus": true
    }
  }
}

샘플 응답

{
  "id": "/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/myDisk",
  "properties": {
    "creationData": {
      "createOption": "Upload",
      "performancePlus": true
    },
    "provisioningState": "Updating"
  },
  "location": "West US",
  "name": "myDisk"
}
{
  "id": "/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/myDisk",
  "properties": {
    "creationData": {
      "createOption": "Upload",
      "performancePlus": true
    },
    "provisioningState": "Updating"
  },
  "location": "West US",
  "name": "myDisk"
}

create a managed disk with premium v2 account type.

샘플 요청

PUT https://management.azure.com/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/myPremiumV2Disk?api-version=2025-01-02

{
  "location": "West US",
  "sku": {
    "name": "PremiumV2_LRS"
  },
  "properties": {
    "creationData": {
      "createOption": "Empty"
    },
    "diskSizeGB": 200,
    "diskIOPSReadWrite": 125,
    "diskMBpsReadWrite": 3000
  }
}

샘플 응답

{
  "id": "/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/myDisk",
  "properties": {
    "creationData": {
      "createOption": "Empty"
    },
    "diskSizeGB": 200,
    "provisioningState": "Updating"
  },
  "location": "West US",
  "name": "myPremiumV2Disk",
  "sku": {
    "name": "PremiumV2_LRS",
    "tier": "Premium"
  }
}
{
  "id": "/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/myDisk",
  "properties": {
    "creationData": {
      "createOption": "Empty"
    },
    "diskSizeGB": 200,
    "provisioningState": "Updating"
  },
  "location": "West US",
  "name": "myPremiumV2Disk",
  "sku": {
    "name": "PremiumV2_LRS",
    "tier": "Premium"
  }
}

create a managed disk with security profile

샘플 요청

PUT https://management.azure.com/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/myDisk?api-version=2025-01-02

{
  "location": "North Central US",
  "properties": {
    "osType": "Windows",
    "securityProfile": {
      "securityType": "TrustedLaunch"
    },
    "creationData": {
      "createOption": "FromImage",
      "imageReference": {
        "id": "/Subscriptions/{subscriptionId}/Providers/Microsoft.Compute/Locations/uswest/Publishers/Microsoft/ArtifactTypes/VMImage/Offers/{offer}"
      }
    }
  }
}

샘플 응답

{
  "id": "/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/myDisk",
  "name": "myDisk",
  "location": "North Central US",
  "properties": {
    "provisioningState": "Succeeded",
    "osType": "Windows",
    "securityProfile": {
      "securityType": "TrustedLaunch"
    },
    "creationData": {
      "createOption": "FromImage",
      "imageReference": {
        "id": "/Subscriptions/{subscriptionId}/Providers/Microsoft.Compute/Locations/uswest/Publishers/Microsoft/ArtifactTypes/VMImage/Offers/{offer}"
      }
    }
  }
}
{
  "id": "/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/myDisk",
  "name": "myDisk",
  "location": "North Central US",
  "properties": {
    "provisioningState": "Updating",
    "osType": "Windows",
    "securityProfile": {
      "securityType": "TrustedLaunch"
    },
    "creationData": {
      "createOption": "FromImage",
      "imageReference": {
        "id": "/Subscriptions/{subscriptionId}/Providers/Microsoft.Compute/Locations/uswest/Publishers/Microsoft/ArtifactTypes/VMImage/Offers/{offer}"
      }
    }
  }
}

create a managed disk with ssd zrs account type.

샘플 요청

PUT https://management.azure.com/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/myDisk?api-version=2025-01-02

{
  "location": "West US",
  "sku": {
    "name": "Premium_ZRS"
  },
  "properties": {
    "creationData": {
      "createOption": "Empty"
    },
    "diskSizeGB": 200
  }
}

샘플 응답

{
  "id": "/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/myDisk",
  "properties": {
    "creationData": {
      "createOption": "Empty"
    },
    "diskSizeGB": 200,
    "provisioningState": "Updating"
  },
  "location": "West US",
  "name": "myDisk",
  "sku": {
    "name": "Premium_ZRS",
    "tier": "Premium"
  }
}
{
  "id": "/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/myDisk",
  "properties": {
    "creationData": {
      "createOption": "Empty"
    },
    "diskSizeGB": 200,
    "provisioningState": "Updating"
  },
  "location": "West US",
  "name": "myDisk",
  "sku": {
    "name": "Premium_ZRS",
    "tier": "Premium"
  }
}

create a managed disk with ultra account type with readOnly property set.

샘플 요청

PUT https://management.azure.com/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/myUltraReadOnlyDisk?api-version=2025-01-02

{
  "location": "West US",
  "sku": {
    "name": "UltraSSD_LRS"
  },
  "properties": {
    "creationData": {
      "createOption": "Empty",
      "logicalSectorSize": 4096
    },
    "diskSizeGB": 200,
    "diskIOPSReadWrite": 125,
    "diskMBpsReadWrite": 3000,
    "encryption": {
      "type": "EncryptionAtRestWithPlatformKey"
    }
  }
}

샘플 응답

{
  "id": "/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/myDisk",
  "properties": {
    "creationData": {
      "createOption": "Empty"
    },
    "diskSizeGB": 200,
    "provisioningState": "Updating",
    "encryption": {
      "type": "EncryptionAtRestWithPlatformKey"
    }
  },
  "location": "West US",
  "name": "myUltraReadOnlyDisk",
  "sku": {
    "name": "UltraSSD_LRS",
    "tier": "Ultra"
  }
}
{
  "id": "/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/myDisk",
  "properties": {
    "creationData": {
      "createOption": "Empty"
    },
    "diskSizeGB": 200,
    "provisioningState": "Updating"
  },
  "location": "West US",
  "name": "myUltraReadOnlyDisk",
  "sku": {
    "name": "UltraSSD_LRS",
    "tier": "Ultra"
  }
}

create a managed upload disk.

샘플 요청

PUT https://management.azure.com/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/myDisk?api-version=2025-01-02

{
  "location": "West US",
  "properties": {
    "creationData": {
      "createOption": "Upload",
      "uploadSizeBytes": 10737418752
    }
  }
}

샘플 응답

{
  "id": "/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/myDisk",
  "properties": {
    "creationData": {
      "createOption": "Upload",
      "uploadSizeBytes": 10737418752
    },
    "provisioningState": "Updating"
  },
  "location": "West US",
  "name": "myDisk"
}
{
  "id": "/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/myDisk",
  "properties": {
    "creationData": {
      "createOption": "Upload",
      "uploadSizeBytes": 10737418752
    },
    "provisioningState": "Updating"
  },
  "location": "West US",
  "name": "myDisk"
}

create an empty managed disk in extended location.

샘플 요청

PUT https://management.azure.com/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/myDisk?api-version=2025-01-02

{
  "location": "West US",
  "extendedLocation": {
    "type": "EdgeZone",
    "name": "{edge-zone-id}"
  },
  "properties": {
    "creationData": {
      "createOption": "Empty"
    },
    "diskSizeGB": 200
  }
}

샘플 응답

{
  "id": "/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/myDisk",
  "properties": {
    "creationData": {
      "createOption": "Empty"
    },
    "diskSizeGB": 200,
    "provisioningState": "Updating"
  },
  "location": "West US",
  "name": "myDisk",
  "extendedLocation": {
    "type": "EdgeZone",
    "name": "{edge-zone-id}"
  }
}
{
  "id": "/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/myDisk",
  "properties": {
    "creationData": {
      "createOption": "Empty"
    },
    "diskSizeGB": 200,
    "provisioningState": "Updating"
  },
  "location": "West US",
  "name": "myDisk",
  "extendedLocation": {
    "type": "EdgeZone",
    "name": "{edge-zone-id}"
  }
}

create an empty managed disk.

샘플 요청

PUT https://management.azure.com/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/myDisk?api-version=2025-01-02

{
  "location": "West US",
  "properties": {
    "creationData": {
      "createOption": "Empty"
    },
    "diskSizeGB": 200
  }
}

샘플 응답

{
  "id": "/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/myDisk",
  "properties": {
    "creationData": {
      "createOption": "Empty"
    },
    "diskSizeGB": 200,
    "provisioningState": "Updating"
  },
  "location": "West US",
  "name": "myDisk"
}
{
  "id": "/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/myDisk",
  "properties": {
    "creationData": {
      "createOption": "Empty"
    },
    "diskSizeGB": 200,
    "provisioningState": "Updating"
  },
  "location": "West US",
  "name": "myDisk"
}

create an ultra managed disk with logicalSectorSize 512E

샘플 요청

PUT https://management.azure.com/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/myDisk?api-version=2025-01-02

{
  "location": "West US",
  "sku": {
    "name": "UltraSSD_LRS"
  },
  "properties": {
    "creationData": {
      "createOption": "Empty",
      "logicalSectorSize": 512
    },
    "diskSizeGB": 200
  }
}

샘플 응답

{
  "id": "/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/myDisk",
  "properties": {
    "creationData": {
      "createOption": "Empty",
      "logicalSectorSize": 512
    },
    "diskSizeGB": 200,
    "provisioningState": "Updating"
  },
  "location": "West US",
  "name": "myDisk",
  "sku": {
    "name": "UltraSSD_LRS",
    "tier": "Ultra"
  }
}
{
  "id": "/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/myDisk",
  "properties": {
    "creationData": {
      "createOption": "Empty",
      "logicalSectorSize": 512
    },
    "diskSizeGB": 200,
    "provisioningState": "Updating"
  },
  "location": "West US",
  "name": "myDisk",
  "sku": {
    "name": "UltraSSD_LRS",
    "tier": "Ultra"
  }
}

정의

Name Description
ApiError

API 오류.

ApiErrorBase

API 오류 기반.

Architecture

OS 디스크에서 지원하는 CPU 아키텍처입니다.

AvailabilityPolicy

데이터 디스크에 가용성 또는 연결 문제가 있는 경우 VM의 동작을 지정합니다

AvailabilityPolicyDiskDelay

느린 I/O가 있는 디스크를 처리하는 방법을 결정합니다.

CloudError

컴퓨팅 서비스의 오류 응답입니다.

createdByType

리소스를 만든 ID의 형식입니다.

CreationData

디스크를 만들 때 사용되는 데이터입니다.

DataAccessAuthMode

디스크 또는 스냅샷을 내보내거나 업로드할 때 추가 인증 요구 사항입니다.

Disk

디스크 리소스.

DiskCreateOption

이렇게 하면 디스크 생성의 가능한 원본이 열거됩니다.

DiskPurchasePlan

MarketPlace를 통해 제3자 아티팩트의 구매 컨텍스트를 설정하는 데 사용됩니다.

DiskSecurityProfile

리소스에 대한 보안 관련 정보를 포함합니다.

DiskSecurityTypes

VM의 SecurityType을 지정합니다. OS 디스크에만 적용됩니다.

DiskSku

디스크 sku 이름입니다. Standard_LRS, Premium_LRS, StandardSSD_LRS, UltraSSD_LRS, Premium_ZRS, StandardSSD_ZRS 또는 PremiumV2_LRS 수 있습니다.

DiskState

디스크의 가능한 상태를 열거합니다.

DiskStorageAccountTypes

SKU 이름입니다.

Encryption

디스크 또는 스냅샷에 대한 미사용 시 암호화 설정

EncryptionSettingsCollection

디스크 또는 스냅샷에 대한 암호화 설정

EncryptionSettingsElement

하나의 디스크 볼륨에 대한 암호화 설정입니다.

EncryptionType

디스크의 데이터를 암호화하는 데 사용되는 키 유형입니다.

ExtendedLocation

확장된 위치의 복합 형식입니다.

ExtendedLocationTypes

확장된 위치의 형식입니다.

HyperVGeneration

Virtual Machine의 하이퍼바이저 생성입니다. OS 디스크에만 적용됩니다.

ImageDiskReference

디스크를 만드는 데 사용되는 원본 이미지입니다.

InnerError

내부 오류 세부 정보입니다.

KeyVaultAndKeyReference

KeK의 Key Vault 키 URL 및 자격 증명 모음 ID인 KeK는 선택 사항이며 제공된 경우 encryptionKey를 래핑 해제하는 데 사용됩니다.

KeyVaultAndSecretReference

암호화 키의 Key Vault 비밀 URL 및 자격 증명 모음 ID

NetworkAccessPolicy

네트워크를 통해 디스크에 액세스하기 위한 정책입니다.

OperatingSystemTypes

운영 체제 유형입니다.

PropertyUpdatesInProgress

업데이트가 보류 중인 디스크의 속성입니다.

ProvisionedBandwidthCopyOption

이 필드가 스냅샷에 설정되어 있고 createOption이 CopyStart이면 스냅샷이 더 빠른 속도로 복사됩니다.

PublicNetworkAccess

디스크에서 내보내기를 제어하는 정책입니다.

ShareInfoElement
SourceVault

자격 증명 모음 ID는 /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.KeyVault/vaults/{vaultName} 형식의 Azure Resource Manager 리소스 ID입니다.

SupportedCapabilities

VM 사용을 위해 디스크 리소스에 유지되는 지원되는 기능 목록입니다.

SupportedSecurityOption

신뢰할 수 있는 시작 또는 기밀 VM을 만드는 데 지원되는 디스크의 보안 기능을 나타냅니다.

systemData

리소스의 생성 및 마지막 수정과 관련된 메타데이터입니다.

ApiError

API 오류.

Name 형식 Description
code

string

오류 코드입니다.

details

ApiErrorBase[]

Api 오류 세부 정보

innererror

InnerError

Api 내부 오류

message

string

오류 메시지입니다.

target

string

특정 오류의 대상입니다.

ApiErrorBase

API 오류 기반.

Name 형식 Description
code

string

오류 코드입니다.

message

string

오류 메시지입니다.

target

string

특정 오류의 대상입니다.

Architecture

OS 디스크에서 지원하는 CPU 아키텍처입니다.

Description
x64
Arm64

AvailabilityPolicy

데이터 디스크에 가용성 또는 연결 문제가 있는 경우 VM의 동작을 지정합니다

Name 형식 Description
actionOnDiskDelay

AvailabilityPolicyDiskDelay

느린 I/O가 있는 디스크를 처리하는 방법을 결정합니다.

AvailabilityPolicyDiskDelay

느린 I/O가 있는 디스크를 처리하는 방법을 결정합니다.

Description
None

기본값은 av 정책이 지정되지 않은 동작으로, 이는 느린 디스크 io 시 VM을 다시 시작하는 것입니다.

AutomaticReattach

디스크 io 오류 또는 느린 응답이 발생하면 디스크를 분리한 다음 다시 연결해 보십시오.

CloudError

컴퓨팅 서비스의 오류 응답입니다.

Name 형식 Description
error

ApiError

API 오류.

createdByType

리소스를 만든 ID의 형식입니다.

Description
User
Application
ManagedIdentity
Key

CreationData

디스크를 만들 때 사용되는 데이터입니다.

Name 형식 Description
createOption

DiskCreateOption

이렇게 하면 디스크 생성의 가능한 원본이 열거됩니다.

elasticSanResourceId

string

createOption이 CopyFromSanSnapshot인 경우 필요합니다. 원본 탄력적 san 볼륨 스냅샷의 ARM ID입니다.

galleryImageReference

ImageDiskReference

갤러리 이미지에서 만드는 경우 필수입니다. ImageDiskReference의 id/sharedGalleryImageId/communityGalleryImageId는 디스크를 만들 공유 갤리 이미지 버전의 ARM ID입니다.

imageReference

ImageDiskReference

PIR 또는 사용자 이미지에 대한 디스크 원본 정보입니다.

instantAccessDurationMinutes

integer (int64)

minimum: 1

프리미엄 SSD v2 또는 Ultra 디스크에서 만든 스냅샷의 경우 이 속성은 더 빠른 복원을 위해 즉시 액세스할 수 있도록 스냅샷이 보존되는 시간(분)을 결정합니다.

logicalSectorSize

integer (int32)

Ultra 디스크의 논리적 섹터 크기(바이트)입니다. 지원되는 값은 512 광고 4096입니다. 4096이 기본값입니다.

performancePlus

boolean

배포된 디스크의 성능 목표를 향상시키려면 이 플래그를 true로 설정합니다. 각 성능 대상은 여기를 참조하세요. 이 플래그는 디스크 생성 시간에만 설정할 수 있으며 사용하도록 설정한 후에는 사용하지 않도록 설정할 수 없습니다.

provisionedBandwidthCopySpeed

ProvisionedBandwidthCopyOption

이 필드가 스냅샷에 설정되어 있고 createOption이 CopyStart이면 스냅샷이 더 빠른 속도로 복사됩니다.

securityDataUri

string

createOption이 ImportSecure인 경우 VM 게스트 상태로 가져올 Blob의 URI입니다.

securityMetadataUri

string (uri)

createOption이 ImportSecure인 경우 기밀 VM에 대한 VM 메타데이터로 가져올 Blob의 URI입니다.

sourceResourceId

string

createOption이 Copy이면 원본 스냅샷 또는 디스크의 ARM ID입니다.

sourceUniqueId

string

이 필드가 설정된 경우 이 리소스의 소스를 식별하는 고유 ID입니다.

sourceUri

string

createOption이 가져오기인 경우 관리 디스크로 가져올 Blob의 URI입니다.

storageAccountId

string

createOption이 Import인 경우 필수입니다. 디스크로 가져올 Blob을 포함하는 스토리지 계정의 Azure Resource Manager 식별자입니다.

uploadSizeBytes

integer (int64)

createOption이 업로드인 경우 VHD 바닥글을 포함하여 업로드 내용의 크기입니다. 이 값은 20972032(VHD 바닥글의 경우 20MiB + 512바이트) 및 35183298347520 바이트(VHD 바닥글의 경우 32TiB + 512바이트) 사이여야 합니다.

DataAccessAuthMode

디스크 또는 스냅샷을 내보내거나 업로드할 때 추가 인증 요구 사항입니다.

Description
AzureActiveDirectory

내보내기/업로드 URL을 사용하는 경우 시스템은 사용자에게 Azure Active Directory에 ID가 있는지와 데이터를 내보내고 업로드하는 데 필요한 권한이 있는지 확인합니다. aka.ms/DisksAzureADAuth를 참조하세요.

None

내보내기/업로드 URL에 액세스할 때 추가 인증이 수행되지 않습니다.

Disk

디스크 리소스.

Name 형식 Description
extendedLocation

ExtendedLocation

디스크를 만들 확장된 위치입니다. 확장된 위치는 변경할 수 없습니다.

id

string

리소스에 대한 정규화된 리소스 ID입니다. 예 - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}

location

string

리소스가 있는 지리적 위치

managedBy

string

디스크가 연결된 VM의 ID를 포함하는 상대 URI입니다.

managedByExtended

string[]

디스크가 연결된 VM의 ID를 포함하는 상대 URI 목록입니다. maxShares는 디스크를 여러 VM에 연결할 수 있도록 디스크에 대해 1보다 큰 값으로 설정해야 합니다.

name

string

리소스의 이름

properties.LastOwnershipUpdateTime

string (date-time)

디스크의 소유권 상태가 마지막으로 변경된 UTC 시간, 즉 디스크가 VM에서 마지막으로 연결되거나 분리된 시간 또는 디스크가 연결된 VM의 할당 취소 또는 시작된 시간입니다.

properties.availabilityPolicy

AvailabilityPolicy

플랫폼이 디스크 오류를 처리하는 방법을 결정합니다.

properties.burstingEnabled

boolean

디스크의 프로비전된 성능 목표를 초과하여 버스팅을 사용하도록 설정하려면 true로 설정합니다. 버스팅은 기본적으로 사용하지 않도록 설정됩니다. Ultra 디스크에는 적용되지 않습니다.

properties.burstingEnabledTime

string (date-time)

디스크에서 버스팅을 마지막으로 사용하도록 설정한 최신 시간입니다.

properties.completionPercent

number (float)

CopyStart 작업을 통해 리소스를 만들 때 백그라운드 복사에 대한 완료율입니다.

properties.creationData

CreationData

디스크 원본 정보입니다. 디스크를 만든 후에는 CreationData 정보를 변경할 수 없습니다.

properties.dataAccessAuthMode

DataAccessAuthMode

디스크 또는 스냅샷을 내보내거나 업로드할 때 추가 인증 요구 사항입니다.

properties.diskAccessId

string

디스크에서 프라이빗 엔드포인트를 사용하기 위한 DiskAccess 리소스의 ARM ID입니다.

properties.diskIOPSReadOnly

integer (int64)

공유 디스크를 ReadOnly로 탑재하는 모든 VM에서 허용되는 총 IOPS 수입니다. 하나의 작업은 4k에서 256k 바이트 사이를 전송할 수 있습니다.

properties.diskIOPSReadWrite

integer (int64)

이 디스크에 허용되는 IOPS 수입니다. UltraSSD 디스크에 대해서만 설정할 수 있습니다. 하나의 작업은 4k에서 256k 바이트 사이를 전송할 수 있습니다.

properties.diskMBpsReadOnly

integer (int64)

공유 디스크를 ReadOnly로 탑재하는 모든 VM에서 허용되는 총 처리량(MBps)입니다. MBps는 초당 수백만 바이트를 의미합니다. 여기서 MB는 10의 강력한 ISO 표기법을 사용합니다.

properties.diskMBpsReadWrite

integer (int64)

이 디스크에 허용되는 대역폭입니다. UltraSSD 디스크에 대해서만 설정할 수 있습니다. MBps는 초당 수백만 바이트를 의미합니다. 여기서 MB는 10의 강력한 ISO 표기법을 사용합니다.

properties.diskSizeBytes

integer (int64)

디스크 크기(바이트)입니다. 이 필드는 읽기 전용입니다.

properties.diskSizeGB

integer (int32)

creationData.createOption이 비어 있는 경우 이 필드는 필수이며 만들 디스크의 크기를 나타냅니다. 이 필드가 다른 옵션을 사용하여 업데이트 또는 만들기에 있는 경우 크기 조정을 나타냅니다. 크기 조정은 디스크가 실행 중인 VM에 연결되지 않은 경우에만 허용되며 디스크의 크기만 늘릴 수 있습니다.

properties.diskState

DiskState

디스크의 상태입니다.

properties.encryption

Encryption

암호화 속성을 사용하여 고객 관리형 키 또는 플랫폼 관리 키를 사용하여 미사용 데이터를 암호화할 수 있습니다.

properties.encryptionSettingsCollection

EncryptionSettingsCollection

Azure Disk Encryption에 사용되는 암호화 설정 컬렉션은 디스크 또는 스냅샷당 여러 암호화 설정을 포함할 수 있습니다.

properties.hyperVGeneration

HyperVGeneration

Virtual Machine의 하이퍼바이저 생성입니다. OS 디스크에만 적용됩니다.

properties.maxShares

integer (int32)

디스크에 동시에 연결할 수 있는 최대 VM 수입니다. 1보다 큰 값은 동시에 여러 VM에 탑재할 수 있는 디스크를 나타냅니다.

properties.networkAccessPolicy

NetworkAccessPolicy

네트워크를 통해 디스크에 액세스하기 위한 정책입니다.

properties.optimizedForFrequentAttach

boolean

이 속성을 true로 설정하면 한 가상 머신에서 분리되고 다른 가상 머신에 연결하여 자주(하루에 5회 이상) 데이터 디스크의 안정성과 성능이 향상됩니다. 이 속성은 디스크가 가상 머신의 장애 도메인과 정렬되지 않도록 하기 때문에 자주 분리되고 연결되지 않은 디스크에 대해 설정해서는 안 됩니다.

properties.osType

OperatingSystemTypes

운영 체제 유형입니다.

properties.propertyUpdatesInProgress

PropertyUpdatesInProgress

업데이트가 보류 중인 디스크의 속성입니다.

properties.provisioningState

string

디스크 프로비전 상태입니다.

properties.publicNetworkAccess

PublicNetworkAccess

디스크에서 내보내기를 제어하는 정책입니다.

properties.purchasePlan

DiskPurchasePlan

OS 디스크를 만든 이미지에 대한 구매 계획 정보입니다. 예: - {name: 2019-Datacenter, publisher: MicrosoftWindowsServer, product: WindowsServer}

properties.securityProfile

DiskSecurityProfile

리소스에 대한 보안 관련 정보를 포함합니다.

properties.shareInfo

ShareInfoElement[]

디스크가 연결된 모든 VM 목록의 세부 정보입니다. maxShares는 디스크를 여러 VM에 연결할 수 있도록 디스크에 대해 1보다 큰 값으로 설정해야 합니다.

properties.supportedCapabilities

SupportedCapabilities

OS 디스크를 만든 이미지에 대해 지원되는 기능 목록입니다.

properties.supportsHibernation

boolean

디스크의 OS가 최대 절전 모드를 지원했음을 나타냅니다.

properties.tier

string

여기에 설명된 대로 디스크의 성능 계층(예: P4, S10) https://azure.microsoft.com/en-us/pricing/details/managed-disks/. Ultra 디스크에는 적용되지 않습니다.

properties.timeCreated

string (date-time)

디스크가 생성된 시간입니다.

properties.uniqueId

string

리소스를 식별하는 고유한 Guid입니다.

sku

DiskSku

디스크 sku 이름입니다. Standard_LRS, Premium_LRS, StandardSSD_LRS, UltraSSD_LRS, Premium_ZRS, StandardSSD_ZRS 또는 PremiumV2_LRS 수 있습니다.

systemData

systemData

createdBy 및 modifiedBy 정보가 포함된 Azure Resource Manager 메타데이터입니다.

tags

object

리소스 태그.

type

string

리소스의 형식입니다. 예: "Microsoft.Compute/virtualMachines" 또는 "Microsoft.Storage/storageAccounts"

zones

string[]

디스크의 논리 영역 목록입니다.

DiskCreateOption

이렇게 하면 디스크 생성의 가능한 원본이 열거됩니다.

Description
Empty

diskSizeGB로 지정된 크기의 빈 데이터 디스크를 만듭니다.

Attach

디스크가 VM에 연결됩니다.

FromImage

지정된 imageReference 또는 galleryImageReference로 지정된 플랫폼 이미지에서 새 디스크를 만듭니다.

Import

storageAccountId로 지정된 스토리지 계정의 sourceUri로 지정된 Blob에서 가져와 디스크를 만듭니다.

Copy

지정된 sourceResourceId로 지정된 디스크 또는 스냅샷에서 복사하여 새 디스크 또는 스냅샷을 만듭니다.

Restore

백업 복구 지점에서 복사하여 새 디스크를 만듭니다.

Upload

쓰기 토큰을 가져와 디스크의 내용을 직접 업로드하는 데 사용하여 새 디스크를 만듭니다.

CopyStart

원본에서 모든 데이터를 복사한 후에만 리소스 만들기가 완료된 것으로 간주되는 전체 복사 프로세스를 사용하여 새 디스크를 만듭니다.

ImportSecure

가져오기 만들기 옵션과 유사합니다. securityDataUri로 지정된 VM 게스트 상태에 대한 추가 Blob 및 storageAccountId로 지정된 스토리지 계정의 securityMetadataUri로 지정된 VM 메타데이터를 가져와 신뢰할 수 있는 시작 VM 또는 기밀 VM 지원 디스크를 만듭니다. VM 메타데이터는 선택 사항이며 특정 기밀 VM 구성에만 필요하며 신뢰할 수 있는 시작 VM에는 필요하지 않습니다.

UploadPreparedSecure

업로드 만들기 옵션과 유사합니다. 새 신뢰할 수 있는 시작 VM 또는 기밀 VM 지원 디스크를 만들고 디스크, VM 게스트 상태 및 VM 메타데이터에서 쓰기 토큰을 사용하여 업로드합니다. VM 메타데이터는 선택 사항이며 특정 기밀 VM 구성에만 필요하며 신뢰할 수 있는 시작 VM에는 필요하지 않습니다.

CopyFromSanSnapshot

탄력적 SAN 볼륨 스냅샷에서 내보내 새 디스크 생성

DiskPurchasePlan

MarketPlace를 통해 제3자 아티팩트의 구매 컨텍스트를 설정하는 데 사용됩니다.

Name 형식 Description
name

string

계획 ID입니다.

product

string

마켓플레이스에서 이미지의 곱을 지정합니다. imageReference 요소 아래의 Offer와 동일한 값입니다.

promotionCode

string

제품 프로모션 코드입니다.

publisher

string

게시자 ID입니다.

DiskSecurityProfile

리소스에 대한 보안 관련 정보를 포함합니다.

Name 형식 Description
secureVMDiskEncryptionSetId

string

고객 관리형 키로 암호화된 기밀 VM 지원 디스크에 연결된 디스크 암호화 집합의 ResourceId

securityType

DiskSecurityTypes

VM의 SecurityType을 지정합니다. OS 디스크에만 적용됩니다.

DiskSecurityTypes

VM의 SecurityType을 지정합니다. OS 디스크에만 적용됩니다.

Description
TrustedLaunch

Trusted Launch는 보안 부팅 및 가상 vTPM(신뢰할 수 있는 플랫폼 모듈)과 같은 보안 기능을 제공합니다.

ConfidentialVM_VMGuestStateOnlyEncryptedWithPlatformKey

VM 게스트 상태만 암호화된 기밀 VM 디스크를 나타냅니다.

ConfidentialVM_DiskEncryptedWithPlatformKey

플랫폼 관리형 키로 암호화된 OS 디스크 및 VM 게스트 상태가 있는 기밀 VM 디스크를 나타냅니다.

ConfidentialVM_DiskEncryptedWithCustomerKey

고객 관리형 키로 암호화된 OS 디스크 및 VM 게스트 상태가 있는 기밀 VM 디스크를 나타냅니다.

ConfidentialVM_NonPersistedTPM

임시 vTPM이 있는 기밀 VM 디스크를 나타냅니다. vTPM 상태는 VM 재부팅 시 유지되지 않습니다.

DiskSku

디스크 sku 이름입니다. Standard_LRS, Premium_LRS, StandardSSD_LRS, UltraSSD_LRS, Premium_ZRS, StandardSSD_ZRS 또는 PremiumV2_LRS 수 있습니다.

Name 형식 Description
name

DiskStorageAccountTypes

SKU 이름입니다.

tier

string

sku 계층입니다.

DiskState

디스크의 가능한 상태를 열거합니다.

Description
Unattached

디스크가 사용되지 않으며 VM에 연결할 수 있습니다.

Attached

디스크가 현재 실행 중인 VM에 연결되어 있습니다.

Reserved

디스크가 중지되고 할당 취소된 VM에 연결됩니다.

Frozen

디스크가 최대 절전 모드 상태인 VM에 연결되어 있습니다.

ActiveSAS

디스크에는 현재 연결된 활성 SAS URI가 있습니다.

ActiveSASFrozen

디스크는 최대 절전 모드 상태의 VM에 연결되며 연결된 활성 SAS URI가 있습니다.

ReadyToUpload

쓰기 토큰을 요청하여 업로드하여 디스크를 만들 준비가 되었습니다.

ActiveUpload

업로드를 위해 디스크가 생성되고 업로드를 위한 쓰기 토큰이 발급되었습니다.

DiskStorageAccountTypes

SKU 이름입니다.

Description
Standard_LRS

표준 HDD 로컬 중복 스토리지. 백업, 중요하지 않고 자주 액세스하지 않는 데 가장 적합합니다.

Premium_LRS

프리미엄 SSD 로컬 중복 스토리지. 프로덕션 및 성능에 민감한 워크로드에 가장 적합합니다.

StandardSSD_LRS

표준 SSD 로컬 중복 스토리지. 웹 서버, 가볍게 사용되는 엔터프라이즈 애플리케이션 및 개발/테스트에 가장 적합합니다.

UltraSSD_LRS

Ultra SSD 로컬 중복 스토리지. SAP HANA, 최상위 계층 데이터베이스(예: SQL, Oracle) 및 기타 트랜잭션 집약적 워크로드와 같은 IO 집약적 워크로드에 가장 적합합니다.

Premium_ZRS

프리미엄 SSD 영역 중복 스토리지. 영역 오류에 대한 스토리지 복원력이 필요한 프로덕션 워크로드에 가장 적합합니다.

StandardSSD_ZRS

표준 SSD 영역 중복 스토리지. 웹 서버, 가미하게 사용되는 엔터프라이즈 애플리케이션 및 영역 오류에 대한 스토리지 복원력이 필요한 개발/테스트에 가장 적합합니다.

PremiumV2_LRS

프리미엄 SSD v2 로컬 중복 스토리지. 짧은 대기 시간과 높은 IOPS 및 처리량을 지속적으로 요구하는 프로덕션 및 성능에 민감한 워크로드에 가장 적합합니다.

Encryption

디스크 또는 스냅샷에 대한 미사용 시 암호화 설정

Name 형식 Description
diskEncryptionSetId

string

미사용 암호화를 사용하도록 설정하는 데 사용할 디스크 암호화 집합의 ResourceId입니다.

type

EncryptionType

디스크의 데이터를 암호화하는 데 사용되는 키 유형입니다.

EncryptionSettingsCollection

디스크 또는 스냅샷에 대한 암호화 설정

Name 형식 Description
enabled

boolean

이 플래그를 true로 설정하고 DiskEncryptionKey 및 선택적 KeyEncryptionKey를 제공하여 암호화를 사용하도록 설정합니다. 이 플래그를 false로 설정하고 DiskEncryptionKey 및 KeyEncryptionKey를 제거하여 암호화를 사용하지 않도록 설정합니다. 요청 개체에서 EncryptionSettings가 null이면 기존 설정은 변경되지 않은 상태로 유지됩니다.

encryptionSettings

EncryptionSettingsElement[]

각 디스크 볼륨에 대해 하나씩 암호화 설정의 컬렉션입니다.

encryptionSettingsVersion

string

디스크에 사용되는 암호화 유형을 설명합니다. 이 필드가 설정되면 덮어쓸 수 없습니다. '1.0'은 AAD 앱을 사용하는 Azure Disk Encryption에 해당합니다.'1.1'은 Azure Disk Encryption에 해당합니다.

EncryptionSettingsElement

하나의 디스크 볼륨에 대한 암호화 설정입니다.

Name 형식 Description
diskEncryptionKey

KeyVaultAndSecretReference

디스크 암호화 키의 Key Vault 비밀 URL 및 자격 증명 모음 ID

keyEncryptionKey

KeyVaultAndKeyReference

키 암호화 키의 Key Vault 키 URL 및 자격 증명 모음 ID입니다. KeyEncryptionKey는 선택 사항이며 제공된 경우 디스크 암호화 키를 래프 해제하는 데 사용됩니다.

EncryptionType

디스크의 데이터를 암호화하는 데 사용되는 키 유형입니다.

Description
EncryptionAtRestWithPlatformKey

디스크는 플랫폼 관리 키를 사용하여 미사용 시 암호화됩니다. 기본 암호화 유형입니다. 디스크 암호화 세트에 유효한 암호화 유형이 아닙니다.

EncryptionAtRestWithCustomerKey

디스크는 고객이 변경 및 해지할 수 있는 고객 관리형 키를 사용하여 미사용 시 암호화됩니다.

EncryptionAtRestWithPlatformAndCustomerKeys

디스크는 2계층 암호화로 미사용 시 암호화됩니다. 키 중 하나는 고객 관리이고 다른 키는 플랫폼 관리입니다.

ExtendedLocation

확장된 위치의 복합 형식입니다.

Name 형식 Description
name

string

확장된 위치의 이름입니다.

type

ExtendedLocationTypes

확장된 위치의 형식입니다.

ExtendedLocationTypes

확장된 위치의 형식입니다.

Description
EdgeZone

HyperVGeneration

Virtual Machine의 하이퍼바이저 생성입니다. OS 디스크에만 적용됩니다.

Description
V1
V2

ImageDiskReference

디스크를 만드는 데 사용되는 원본 이미지입니다.

Name 형식 Description
communityGalleryImageId

string

커뮤니티 Azure Compute 갤러리 이미지 참조를 포함하는 상대 URI입니다.

id

string

플랫폼 이미지 리포지토리, 사용자 이미지 또는 Azure Compute 갤러리 이미지 참조를 포함하는 상대 URI입니다.

lun

integer (int32)

디스크가 이미지의 데이터 디스크에서 만들어진 경우 이 인덱스는 이미지에서 사용할 데이터 디스크를 나타내는 인덱스입니다. OS 디스크의 경우 이 필드는 null입니다.

sharedGalleryImageId

string

직접 공유 Azure Compute 갤러리 이미지 참조를 포함하는 상대 URI입니다.

InnerError

내부 오류 세부 정보입니다.

Name 형식 Description
errordetail

string

내부 오류 메시지 또는 예외 덤프입니다.

exceptiontype

string

예외 유형입니다.

KeyVaultAndKeyReference

KeK의 Key Vault 키 URL 및 자격 증명 모음 ID인 KeK는 선택 사항이며 제공된 경우 encryptionKey를 래핑 해제하는 데 사용됩니다.

Name 형식 Description
keyUrl

string

KeyVault에서 키 또는 비밀을 가리키는 URL

sourceVault

SourceVault

키 또는 비밀을 포함하는 KeyVault의 리소스 ID

KeyVaultAndSecretReference

암호화 키의 Key Vault 비밀 URL 및 자격 증명 모음 ID

Name 형식 Description
secretUrl

string

KeyVault에서 키 또는 비밀을 가리키는 URL

sourceVault

SourceVault

키 또는 비밀을 포함하는 KeyVault의 리소스 ID

NetworkAccessPolicy

네트워크를 통해 디스크에 액세스하기 위한 정책입니다.

Description
AllowAll

디스크는 모든 네트워크에서 내보내거나 업로드할 수 있습니다.

AllowPrivate

디스크는 DiskAccess 리소스의 프라이빗 엔드포인트를 사용하여 내보내거나 업로드할 수 있습니다.

DenyAll

디스크를 내보낼 수 없습니다.

OperatingSystemTypes

운영 체제 유형입니다.

Description
Windows
Linux

PropertyUpdatesInProgress

업데이트가 보류 중인 디스크의 속성입니다.

Name 형식 Description
targetTier

string

계층 변경 작업이 진행 중인 경우 디스크의 대상 성능 계층입니다.

ProvisionedBandwidthCopyOption

이 필드가 스냅샷에 설정되어 있고 createOption이 CopyStart이면 스냅샷이 더 빠른 속도로 복사됩니다.

Description
None
Enhanced

PublicNetworkAccess

디스크에서 내보내기를 제어하는 정책입니다.

Description
Enabled

NetworkAccessPolicy가 AllowAll로 설정된 경우 인터넷에서 디스크의 기본 데이터에 공개적으로 액세스하는 SAS URI를 생성할 수 있습니다. NetworkAccessPolicy가 AllowPrivate으로 설정된 경우에만 신뢰할 수 있는 Azure VNET에서만 SAS URI를 통해 데이터에 액세스할 수 있습니다.

Disabled

NetworkAccessPolicy가 AllowAll로 설정된 경우에도 인터넷에서 디스크의 기본 데이터에 공개적으로 액세스할 수 없습니다. NetworkAccessPolicy가 AllowPrivate으로 설정된 경우에만 신뢰할 수 있는 Azure VNET에서만 SAS URI를 통해 데이터에 액세스할 수 있습니다.

ShareInfoElement

Name 형식 Description
vmUri

string

디스크가 연결된 VM의 ID를 포함하는 상대 URI입니다.

SourceVault

자격 증명 모음 ID는 /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.KeyVault/vaults/{vaultName} 형식의 Azure Resource Manager 리소스 ID입니다.

Name 형식 Description
id

string

리소스 ID

SupportedCapabilities

VM 사용을 위해 디스크 리소스에 유지되는 지원되는 기능 목록입니다.

Name 형식 Description
acceleratedNetwork

boolean

TRUE이면 OS 디스크를 만든 이미지가 가속화된 네트워킹을 지원합니다.

architecture

Architecture

OS 디스크에서 지원하는 CPU 아키텍처입니다.

diskControllerTypes

string

OS 디스크가 지원하는 디스크 컨트롤러입니다. 설정된 경우 SCSI 또는 SCSI, NVME 또는 NVME, SCSI일 수 있습니다.

supportedSecurityOption

SupportedSecurityOption

신뢰할 수 있는 시작 또는 기밀 VM을 만드는 데 지원되는 디스크의 보안 기능을 나타냅니다.

SupportedSecurityOption

신뢰할 수 있는 시작 또는 기밀 VM을 만드는 데 지원되는 디스크의 보안 기능을 나타냅니다.

Description
TrustedLaunchSupported

디스크는 신뢰할 수 있는 시작 VM 생성을 지원합니다.

TrustedLaunchAndConfidentialVMSupported

디스크는 신뢰할 수 있는 시작 및 기밀 VM 생성을 모두 지원합니다.

systemData

리소스의 생성 및 마지막 수정과 관련된 메타데이터입니다.

Name 형식 Description
createdAt

string (date-time)

리소스 만들기의 타임스탬프(UTC)입니다.

createdBy

string

리소스를 만든 ID입니다.

createdByType

createdByType

리소스를 만든 ID의 형식입니다.

lastModifiedAt

string (date-time)

리소스 마지막 수정의 타임스탬프(UTC)

lastModifiedBy

string

리소스를 마지막으로 수정한 ID입니다.

lastModifiedByType

createdByType

리소스를 마지막으로 수정한 ID의 형식입니다.