Virtual Machine Templates - Get
VirtualMachineTemplate을 가져옵니다.
VirtualMachineTemplate GET 메서드를 구현합니다.
GET https://management.azure.com/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ScVmm/virtualMachineTemplates/{virtualMachineTemplateName}?api-version=2025-03-13
URI 매개 변수
| Name | In(다음 안에) | 필수 | 형식 | Description |
|---|---|---|---|---|
|
resource
|
path | True |
string minLength: 1maxLength: 90 |
리소스 그룹의 이름입니다. 이름은 대/소문자를 구분하지 않습니다. |
|
subscription
|
path | True |
string (uuid) |
대상 구독의 ID입니다. 값은 UUID여야 합니다. |
|
virtual
|
path | True |
string minLength: 1maxLength: 54 pattern: [a-zA-Z0-9-_\.] |
VirtualMachineTemplate의 이름입니다. |
|
api-version
|
query | True |
string minLength: 1 |
이 작업에 사용할 API 버전입니다. |
응답
| Name | 형식 | Description |
|---|---|---|
| 200 OK |
Azure 작업이 성공적으로 완료되었습니다. |
|
| Other Status Codes |
예기치 않은 오류 응답입니다. |
보안
azure_auth
Azure Active Directory OAuth2 흐름.
형식:
oauth2
Flow:
implicit
권한 부여 URL:
https://login.microsoftonline.com/common/oauth2/authorize
범위
| Name | Description |
|---|---|
| user_impersonation | 사용자 계정 가장 |
예제
|
Virtual |
|
Virtual |
VirtualMachineTemplates_Get_MaximumSet
샘플 요청
GET https://management.azure.com/subscriptions/79332E5A-630B-480F-A266-A941C015AB19/resourceGroups/rgscvmm/providers/Microsoft.ScVmm/virtualMachineTemplates/4?api-version=2025-03-13
샘플 응답
{
"properties": {
"inventoryItemId": "qjrykoogccwlgkd",
"uuid": "12345678-1234-1234-1234-12345678abcd",
"vmmServerId": "/subscriptions/12345678-1234-1234-1234-12345678abc/resourceGroups/exampleResourceGroup/providers/Microsoft.ScVmm/vmmServers/vmmServerName",
"osType": "Windows",
"osName": "qcbolnbisklo",
"computerName": "asxghqngsojdsdptpirbz",
"memoryMB": 24,
"cpuCount": 23,
"limitCpuForMigration": "true",
"dynamicMemoryEnabled": "true",
"isCustomizable": "true",
"dynamicMemoryMaxMB": 21,
"dynamicMemoryMinMB": 21,
"isHighlyAvailable": "true",
"generation": 16,
"networkInterfaces": [
{
"name": "kvofzqulbjlbtt",
"displayName": "yoayfd",
"ipv4Addresses": [
"eeunirpkpqazzxhsqonkxcfuks"
],
"ipv6Addresses": [
"pk"
],
"macAddress": "oaeqqegt",
"virtualNetworkId": "/subscriptions/12345678-1234-1234-1234-12345678abc/resourceGroups/exampleResourceGroup/providers/Microsoft.ScVmm/virtualNetworks/virtualNetworkName",
"networkName": "lqbm",
"ipv4AddressType": "Dynamic",
"ipv6AddressType": "Dynamic",
"macAddressType": "Dynamic",
"nicId": "roxpsvlo"
}
],
"disks": [
{
"name": "fgnckfymwdsqnfxkdvexuaobe",
"displayName": "fgladknawlgjodo",
"diskId": "ltdrwcfjklpsimhzqyh",
"diskSizeGB": 30,
"maxDiskSizeGB": 18,
"bus": 8,
"lun": 10,
"busType": "zu",
"vhdType": "cnbeeeylrvopigdynvgpkfp",
"volumeType": "ckkymkuekzzqhexyjueruzlfemoeln",
"vhdFormatType": "vbcrrmhgahznifudvhxfagwoplcb",
"templateDiskId": "lcdwrokpyvekqccclf",
"storageQoSPolicy": {
"name": "ceiyfrflu",
"id": "o"
},
"createDiffDisk": "true"
}
],
"provisioningState": "Succeeded"
},
"extendedLocation": {
"type": "customLocation",
"name": "/subscriptions/12345678-1234-1234-1234-12345678abc/resourceGroups/exampleResourceGroup/providers/Microsoft.ExtendedLocation/customLocations/customLocationName"
},
"tags": {
"key9494": "kkbmfpwhmvlobm"
},
"location": "ayxsyduviotylbojh",
"id": "/subscriptions/12345678-1234-1234-1234-12345678abc/resourceGroups/exampleResourceGroup/providers/Microsoft.ScVmm/virtualMachineTemplates/virtualMachineTemplateName",
"name": "ioeuwaznkaayvhpqbnrwbr",
"type": "egfzqiscydkyddksvsjujdlee",
"systemData": {
"createdBy": "p",
"createdByType": "User",
"createdAt": "2024-01-29T22:28:00.094Z",
"lastModifiedBy": "goxcwpyyqlxndquly",
"lastModifiedByType": "User",
"lastModifiedAt": "2024-01-29T22:28:00.095Z"
}
}
VirtualMachineTemplates_Get_MinimumSet
샘플 요청
GET https://management.azure.com/subscriptions/79332E5A-630B-480F-A266-A941C015AB19/resourceGroups/rgscvmm/providers/Microsoft.ScVmm/virtualMachineTemplates/m?api-version=2025-03-13
샘플 응답
{
"id": "/subscriptions/12345678-1234-1234-1234-12345678abc/resourceGroups/exampleResourceGroup/providers/Microsoft.ScVmm/virtualMachineTemplates/virtualMachineTemplateName",
"extendedLocation": {},
"location": "ayxsyduviotylbojh"
}
정의
| Name | Description |
|---|---|
|
Allocation |
네트워크 주소 할당 방법입니다. |
|
created |
리소스를 만든 ID의 형식입니다. |
|
Create |
diff 디스크를 만듭니다. |
|
Dynamic |
동적 메모리를 사용하도록 설정했습니다. |
|
Error |
리소스 관리 오류 추가 정보입니다. |
|
Error |
오류 세부 정보입니다. |
|
Error |
오류 응답 |
|
Extended |
확장된 위치입니다. |
|
Is |
사용자 지정 가능. |
|
Is |
고가용성. |
|
Limit |
마이그레이션을 위해 CPU를 제한합니다. |
|
Network |
네트워크 인터페이스 모델 |
|
Os |
가상 머신 운영 체제 유형입니다. |
|
Provisioning |
리소스의 프로비전 상태입니다. |
|
Storage |
StorageQoSPolicyDetails 정의입니다. |
|
system |
리소스의 생성 및 마지막 수정과 관련된 메타데이터입니다. |
|
Virtual |
가상 디스크 모델 |
|
Virtual |
VirtualMachineTemplates 리소스 정의입니다. |
AllocationMethod
네트워크 주소 할당 방법입니다.
| 값 | Description |
|---|---|
| Dynamic |
동적으로 할당된 주소입니다. |
| Static |
정적으로 할당된 주소입니다. |
createdByType
리소스를 만든 ID의 형식입니다.
| 값 | Description |
|---|---|
| User | |
| Application | |
| ManagedIdentity | |
| Key |
CreateDiffDisk
diff 디스크를 만듭니다.
| 값 | Description |
|---|---|
| true |
diff 디스크 만들기를 사용하도록 설정합니다. |
| false |
diff 디스크 만들기를 사용하지 않도록 설정합니다. |
DynamicMemoryEnabled
동적 메모리를 사용하도록 설정했습니다.
| 값 | Description |
|---|---|
| true |
동적 메모리를 사용하도록 설정합니다. |
| false |
동적 메모리를 사용하지 않도록 설정합니다. |
ErrorAdditionalInfo
리소스 관리 오류 추가 정보입니다.
| Name | 형식 | Description |
|---|---|---|
| info |
object |
추가 정보입니다. |
| type |
string |
추가 정보 유형입니다. |
ErrorDetail
오류 세부 정보입니다.
| Name | 형식 | Description |
|---|---|---|
| additionalInfo |
오류 추가 정보입니다. |
|
| code |
string |
오류 코드입니다. |
| details |
오류 세부 정보입니다. |
|
| message |
string |
오류 메시지입니다. |
| target |
string |
오류 대상입니다. |
ErrorResponse
오류 응답
| Name | 형식 | Description |
|---|---|---|
| error |
오류 개체입니다. |
ExtendedLocation
확장된 위치입니다.
| Name | 형식 | Description |
|---|---|---|
| name |
string (arm-id) |
확장된 위치 이름입니다. |
| type |
string |
확장된 위치 유형입니다. |
IsCustomizable
사용자 지정 가능.
| 값 | Description |
|---|---|
| true |
사용자 지정 가능을 사용하도록 설정합니다. |
| false |
사용자 지정 가능을 사용하지 않도록 설정합니다. |
IsHighlyAvailable
고가용성.
| 값 | Description |
|---|---|
| true |
고가용성 사용 |
| false |
고가용성 사용 안 함 |
LimitCpuForMigration
마이그레이션을 위해 CPU를 제한합니다.
| 값 | Description |
|---|---|
| true |
마이그레이션에 CPU 제한을 사용하도록 설정합니다. |
| false |
마이그레이션에 대한 제한 CPU를 사용하지 않도록 설정합니다. |
NetworkInterface
네트워크 인터페이스 모델
| Name | 형식 | Description |
|---|---|---|
| displayName |
string |
vmmServer에 표시된 것처럼 네트워크 인터페이스의 표시 이름을 가져옵니다. 이름이 설정되지 않은 경우 NIC의 대체 레이블입니다. |
| ipv4AddressType |
ipv4 주소 유형을 가져오거나 설정합니다. |
|
| ipv4Addresses |
string[] |
nic ipv4 주소를 가져옵니다. |
| ipv6AddressType |
ipv6 주소 유형을 가져오거나 설정합니다. |
|
| ipv6Addresses |
string[] |
nic ipv6 주소를 가져옵니다. |
| macAddress |
string |
nic MAC 주소를 가져오거나 설정합니다. |
| macAddressType |
mac 주소 유형을 가져오거나 설정합니다. |
|
| name |
string |
네트워크 인터페이스의 이름을 가져오거나 설정합니다. |
| networkName |
string |
nic가 연결된 vmmServer의 가상 네트워크 이름을 가져옵니다. |
| nicId |
string |
nic ID를 가져오거나 설정합니다. |
| virtualNetworkId |
string (arm-id) |
nic를 연결할 Microsoft.ScVmm/virtualNetwork 리소스의 ARM ID를 가져오거나 설정합니다. |
OsType
가상 머신 운영 체제 유형입니다.
| 값 | Description |
|---|---|
| Windows |
Windows 운영 체제. |
| Linux |
Linux 운영 체제. |
| Other |
기타 운영 체제. |
ProvisioningState
리소스의 프로비전 상태입니다.
| 값 | Description |
|---|---|
| Succeeded |
리소스가 만들어졌습니다. |
| Failed |
리소스를 만들지 못했습니다. |
| Canceled |
리소스 만들기가 취소되었습니다. |
| Provisioning |
리소스가 프로비전되고 있습니다. |
| Updating |
리소스가 업데이트되고 있습니다. |
| Deleting |
리소스가 삭제되고 있습니다. |
| Accepted |
리소스가 수락되었습니다. |
| Created |
리소스가 만들어졌습니다. |
StorageQosPolicyDetails
StorageQoSPolicyDetails 정의입니다.
| Name | 형식 | Description |
|---|---|---|
| id |
string |
QoS 정책의 ID입니다. |
| name |
string |
정책의 이름입니다. |
systemData
리소스의 생성 및 마지막 수정과 관련된 메타데이터입니다.
| Name | 형식 | Description |
|---|---|---|
| createdAt |
string (date-time) |
UTC(리소스 만들기)의 타임스탬프입니다. |
| createdBy |
string |
리소스를 만든 ID입니다. |
| createdByType |
리소스를 만든 ID의 형식입니다. |
|
| lastModifiedAt |
string (date-time) |
리소스 마지막 수정의 타임스탬프(UTC) |
| lastModifiedBy |
string |
리소스를 마지막으로 수정한 ID입니다. |
| lastModifiedByType |
리소스를 마지막으로 수정한 ID의 형식입니다. |
VirtualDisk
가상 디스크 모델
| Name | 형식 | Description |
|---|---|---|
| bus |
integer (int32) |
디스크 버스를 가져오거나 설정합니다. |
| busType |
string |
디스크 버스 유형을 가져오거나 설정합니다. |
| createDiffDisk |
diff 디스크를 나타내는 값을 가져오거나 설정합니다. |
|
| diskId |
string |
디스크 ID를 가져오거나 설정합니다. |
| diskSizeGB |
integer (int32) |
디스크 총 크기를 가져오거나 설정합니다. |
| displayName |
string |
vmmServer에 표시된 대로 가상 디스크의 표시 이름을 가져옵니다. 이름이 설정되지 않은 경우 디스크의 대체 레이블입니다. |
| lun |
integer (int32) |
디스크 lun을 가져오거나 설정합니다. |
| maxDiskSizeGB |
integer (int32) |
최대 디스크 크기를 가져옵니다. |
| name |
string |
디스크의 이름을 가져오거나 설정합니다. |
| storageQoSPolicy |
디스크에 대한 QoS 정책입니다. |
|
| templateDiskId |
string |
템플릿의 디스크 ID를 가져오거나 설정합니다. |
| vhdFormatType |
string |
디스크 vhd 형식 형식을 가져옵니다. |
| vhdType |
string |
디스크 vhd 형식을 가져오거나 설정합니다. |
| volumeType |
string |
디스크 볼륨 유형을 가져옵니다. |
VirtualMachineTemplate
VirtualMachineTemplates 리소스 정의입니다.
| Name | 형식 | Description |
|---|---|---|
| extendedLocation |
확장된 위치입니다. |
|
| id |
string (arm-id) |
리소스에 대한 정규화된 리소스 ID입니다. 예: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}" |
| location |
string |
리소스가 있는 지리적 위치 |
| name |
string |
리소스의 이름 |
| properties.computerName |
string |
컴퓨터 이름을 가져옵니다. |
| properties.cpuCount |
integer (int32) |
vm에 대해 원하는 vCPU 수를 가져옵니다. |
| properties.disks |
템플릿의 디스크를 가져옵니다. |
|
| properties.dynamicMemoryEnabled |
동적 메모리를 사용할지 여부를 나타내는 값을 가져옵니다. |
|
| properties.dynamicMemoryMaxMB |
integer (int32) |
vm의 최대 동적 메모리를 가져옵니다. |
| properties.dynamicMemoryMinMB |
integer (int32) |
vm에 대한 최소 동적 메모리를 가져옵니다. |
| properties.generation |
integer (int32) |
vm의 생성을 가져옵니다. |
| properties.inventoryItemId |
string |
리소스의 인벤토리 항목 ID를 가져오거나 설정합니다. |
| properties.isCustomizable |
vm 템플릿을 사용자 지정할 수 있는지 여부를 나타내는 값을 가져옵니다. |
|
| properties.isHighlyAvailable |
고가용성 속성을 가져옵니다. |
|
| properties.limitCpuForMigration |
VM의 실시간 마이그레이션에 프로세서 호환성 모드를 사용할지 여부를 나타내는 값을 가져옵니다. |
|
| properties.memoryMB |
integer (int32) |
MemoryMB는 가상 머신 메모리의 원하는 크기(MB)입니다. |
| properties.networkInterfaces |
템플릿의 네트워크 인터페이스를 가져옵니다. |
|
| properties.osName |
string |
os 이름을 가져옵니다. |
| properties.osType |
os의 형식을 가져옵니다. |
|
| properties.provisioningState |
리소스의 프로비전 상태입니다. |
|
| properties.uuid |
string pattern: ^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$ |
가상 머신 템플릿의 고유 ID입니다. |
| properties.vmmServerId |
string (arm-id) |
이 리소스가 있는 vmmServer 리소스의 ARM ID입니다. |
| systemData |
createdBy 및 modifiedBy 정보가 포함된 Azure Resource Manager 메타데이터입니다. |
|
| tags |
object |
리소스 태그. |
| type |
string |
리소스의 형식입니다. 예: "Microsoft.Compute/virtualMachines" 또는 "Microsoft.Storage/storageAccounts" |