245 строки
12 KiB
JSON
245 строки
12 KiB
JSON
|
[
|
||
|
{
|
||
|
"Name": "vm-A",
|
||
|
"ResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test-rg/providers/Microsoft.Compute/virtualMachines/vm-A",
|
||
|
"ResourceName": "vm-A",
|
||
|
"ResourceType": "Microsoft.Compute/virtualMachines",
|
||
|
"ResourceGroupName": "test-rg",
|
||
|
"Location": "region",
|
||
|
"SubscriptionId": "00000000-0000-0000-0000-000000000000",
|
||
|
"Properties": {
|
||
|
"hardwareProfile": {
|
||
|
"vmSize": "Standard_E32s_v3"
|
||
|
},
|
||
|
"storageProfile": {
|
||
|
"imageReference": {
|
||
|
"publisher": "MicrosoftSQLServer",
|
||
|
"offer": "SQL2017-WS2016",
|
||
|
"sku": "Enterprise",
|
||
|
"version": "latest"
|
||
|
},
|
||
|
"osDisk": {
|
||
|
"osType": "Windows",
|
||
|
"name": "vm-A_OsDisk_1_0000000000000000000000000000000",
|
||
|
"createOption": "FromImage",
|
||
|
"caching": "ReadWrite",
|
||
|
"managedDisk": {
|
||
|
"storageAccountType": "StandardSSD_LRS",
|
||
|
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test-rg/providers/Microsoft.Compute/disks/vm-A_OsDisk_1_0000000000000000000000000000000"
|
||
|
},
|
||
|
"diskSizeGB": 127
|
||
|
},
|
||
|
"dataDisks": [
|
||
|
{
|
||
|
"lun": 0,
|
||
|
"name": "vm-A_disk2_0000000000000000000000000000000",
|
||
|
"createOption": "Empty",
|
||
|
"caching": "ReadOnly",
|
||
|
"managedDisk": {
|
||
|
"storageAccountType": "StandardSSD_LRS",
|
||
|
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test-rg/providers/Microsoft.Compute/disks/vm-A_disk2_0000000000000000000000000000000"
|
||
|
},
|
||
|
"diskSizeGB": 1023
|
||
|
}
|
||
|
]
|
||
|
},
|
||
|
"osProfile": {
|
||
|
"computerName": "vm-A",
|
||
|
"adminUsername": "vm-admin",
|
||
|
"windowsConfiguration": {
|
||
|
"provisionVMAgent": true,
|
||
|
"enableAutomaticUpdates": true
|
||
|
},
|
||
|
"secrets": [],
|
||
|
"allowExtensionOperations": true
|
||
|
},
|
||
|
"networkProfile": {
|
||
|
"networkInterfaces": [
|
||
|
{
|
||
|
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test-rg/providers/Microsoft.Network/networkInterfaces/vm-A-nic"
|
||
|
}
|
||
|
]
|
||
|
},
|
||
|
"diagnosticsProfile": {
|
||
|
"bootDiagnostics": {
|
||
|
"enabled": true,
|
||
|
"storageUri": "https://storage-A.blob.core.windows.net/"
|
||
|
}
|
||
|
},
|
||
|
"licenseType": "Windows_Server"
|
||
|
},
|
||
|
"resources": [
|
||
|
{
|
||
|
"ResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test-rg/providers/Microsoft.Network/networkInterfaces/nic-A",
|
||
|
"Id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test-rg/providers/Microsoft.Network/networkInterfaces/nic-A",
|
||
|
"Location": "region",
|
||
|
"ResourceName": "nic-A",
|
||
|
"Name": "nic-A",
|
||
|
"Properties": {
|
||
|
"ipConfigurations": [
|
||
|
{
|
||
|
"name": "ipconfig1",
|
||
|
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test-rg/providers/Microsoft.Network/networkInterfaces/nic-A/ipConfigurations/ipconfig1",
|
||
|
"type": "Microsoft.Network/networkInterfaces/ipConfigurations",
|
||
|
"properties": {
|
||
|
"provisioningState": "Succeeded",
|
||
|
"privateIPAddress": "10.0.0.4",
|
||
|
"privateIPAllocationMethod": "Static",
|
||
|
"publicIPAddress": {
|
||
|
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test-rg/providers/Microsoft.Network/publicIPAddresses/nic-A-pip"
|
||
|
},
|
||
|
"subnet": {
|
||
|
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test-rg/providers/Microsoft.Network/virtualNetworks/vnet-A/subnets/subnet-A"
|
||
|
},
|
||
|
"primary": true,
|
||
|
"privateIPAddressVersion": "IPv4"
|
||
|
}
|
||
|
}
|
||
|
],
|
||
|
"dnsSettings": {
|
||
|
"dnsServers": [
|
||
|
"8.8.8.8"
|
||
|
],
|
||
|
"appliedDnsServers": [
|
||
|
"8.8.8.8"
|
||
|
],
|
||
|
"internalDomainNameSuffix": "example.nn.internal.cloudapp.net"
|
||
|
},
|
||
|
"macAddress": "00-00-00-00-00-00",
|
||
|
"enableAcceleratedNetworking": true,
|
||
|
"enableIPForwarding": false,
|
||
|
"primary": true,
|
||
|
"virtualMachine": {
|
||
|
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test-rg/providers/Microsoft.Compute/virtualMachines/vm-A"
|
||
|
},
|
||
|
"hostedWorkloads": [],
|
||
|
"tapConfigurations": []
|
||
|
},
|
||
|
"ResourceGroupName": "test-rg",
|
||
|
"Type": "Microsoft.Network/networkInterfaces",
|
||
|
"ResourceType": "Microsoft.Network/networkInterfaces",
|
||
|
"Tags": null,
|
||
|
"SubscriptionId": "00000000-0000-0000-0000-000000000000"
|
||
|
}
|
||
|
]
|
||
|
},
|
||
|
{
|
||
|
"Name": "vmB",
|
||
|
"ResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test-rg/providers/Microsoft.Compute/virtualMachines/vmB",
|
||
|
"ResourceName": "vmB",
|
||
|
"ResourceType": "Microsoft.Compute/virtualMachines",
|
||
|
"ResourceGroupName": "test-rg",
|
||
|
"Location": "region",
|
||
|
"SubscriptionId": "00000000-0000-0000-0000-000000000000",
|
||
|
"Properties": {
|
||
|
"hardwareProfile": {
|
||
|
"vmSize": "Standard_E32s_v3"
|
||
|
},
|
||
|
"storageProfile": {
|
||
|
"imageReference": {
|
||
|
"publisher": "MicrosoftSQLServer",
|
||
|
"offer": "SQL2017-WS2016",
|
||
|
"sku": "Enterprise",
|
||
|
"version": "latest"
|
||
|
},
|
||
|
"osDisk": {
|
||
|
"osType": "Windows",
|
||
|
"name": "vmB_OsDisk_1_0000000000000000000000000000000",
|
||
|
"createOption": "FromImage",
|
||
|
"caching": "ReadWrite",
|
||
|
"managedDisk": {
|
||
|
"storageAccountType": "StandardSSD_LRS",
|
||
|
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test-rg/providers/Microsoft.Compute/disks/vmB_OsDisk_1_0000000000000000000000000000000"
|
||
|
},
|
||
|
"diskSizeGB": 127
|
||
|
},
|
||
|
"dataDisks": [
|
||
|
{
|
||
|
"lun": 0,
|
||
|
"name": "vmB_disk2_0000000000000000000000000000000",
|
||
|
"createOption": "Empty",
|
||
|
"caching": "ReadOnly",
|
||
|
"diskSizeGB": 1023
|
||
|
}
|
||
|
]
|
||
|
},
|
||
|
"osProfile": {
|
||
|
"computerName": "vmB",
|
||
|
"adminUsername": "vm-admin",
|
||
|
"windowsConfiguration": {
|
||
|
"provisionVMAgent": false,
|
||
|
"enableAutomaticUpdates": false
|
||
|
},
|
||
|
"secrets": [],
|
||
|
"allowExtensionOperations": false
|
||
|
},
|
||
|
"networkProfile": {
|
||
|
"networkInterfaces": [
|
||
|
{
|
||
|
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test-rg/providers/Microsoft.Network/networkInterfaces/vmB-nic"
|
||
|
}
|
||
|
]
|
||
|
},
|
||
|
"diagnosticsProfile": {
|
||
|
"bootDiagnostics": {
|
||
|
"enabled": true,
|
||
|
"storageUri": "https://storage-A.blob.core.windows.net/"
|
||
|
}
|
||
|
}
|
||
|
},
|
||
|
"resources": [
|
||
|
{
|
||
|
"ResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test-rg/providers/Microsoft.Network/networkInterfaces/nic-A",
|
||
|
"Id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test-rg/providers/Microsoft.Network/networkInterfaces/nic-A",
|
||
|
"Location": "region",
|
||
|
"ResourceName": "nic-A",
|
||
|
"Name": "nic-A",
|
||
|
"Properties": {
|
||
|
"ipConfigurations": [
|
||
|
{
|
||
|
"name": "ipconfig1",
|
||
|
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test-rg/providers/Microsoft.Network/networkInterfaces/nic-A/ipConfigurations/ipconfig1",
|
||
|
"type": "Microsoft.Network/networkInterfaces/ipConfigurations",
|
||
|
"properties": {
|
||
|
"provisioningState": "Succeeded",
|
||
|
"privateIPAddress": "10.0.0.4",
|
||
|
"privateIPAllocationMethod": "Static",
|
||
|
"publicIPAddress": {
|
||
|
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test-rg/providers/Microsoft.Network/publicIPAddresses/nic-A-pip"
|
||
|
},
|
||
|
"subnet": {
|
||
|
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test-rg/providers/Microsoft.Network/virtualNetworks/vnet-A/subnets/subnet-A"
|
||
|
},
|
||
|
"primary": true,
|
||
|
"privateIPAddressVersion": "IPv4"
|
||
|
}
|
||
|
}
|
||
|
],
|
||
|
"dnsSettings": {
|
||
|
"dnsServers": [
|
||
|
"8.8.8.8"
|
||
|
],
|
||
|
"appliedDnsServers": [
|
||
|
"8.8.8.8"
|
||
|
],
|
||
|
"internalDomainNameSuffix": "example.nn.internal.cloudapp.net"
|
||
|
},
|
||
|
"macAddress": "00-00-00-00-00-00",
|
||
|
"enableAcceleratedNetworking": false,
|
||
|
"enableIPForwarding": false,
|
||
|
"primary": true,
|
||
|
"virtualMachine": {
|
||
|
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test-rg/providers/Microsoft.Compute/virtualMachines/vmB"
|
||
|
},
|
||
|
"hostedWorkloads": [],
|
||
|
"tapConfigurations": []
|
||
|
},
|
||
|
"ResourceGroupName": "test-rg",
|
||
|
"Type": "Microsoft.Network/networkInterfaces",
|
||
|
"ResourceType": "Microsoft.Network/networkInterfaces",
|
||
|
"Tags": null,
|
||
|
"SubscriptionId": "00000000-0000-0000-0000-000000000000"
|
||
|
}
|
||
|
]
|
||
|
}
|
||
|
]
|