azure-resource-manager-schemas/schemas/2021-08-01/Microsoft.Compute.json

1387 строки
47 KiB
JSON
Исходник Обычный вид История

2021-12-28 12:20:27 +03:00
{
"id": "https://schema.management.azure.com/schemas/2021-08-01/Microsoft.Compute.json#",
"title": "Microsoft.Compute",
"description": "Microsoft Compute Resource Types",
2024-04-20 09:27:59 +03:00
"$schema": "http://json-schema.org/draft-04/schema#",
2021-12-28 12:20:27 +03:00
"resourceDefinitions": {
"diskAccesses": {
2024-04-20 09:27:59 +03:00
"description": "Microsoft.Compute/diskAccesses",
2021-12-28 12:20:27 +03:00
"properties": {
"apiVersion": {
"enum": [
"2021-08-01"
2024-04-20 09:27:59 +03:00
],
"type": "string"
2021-12-28 12:20:27 +03:00
},
"extendedLocation": {
2024-04-20 09:27:59 +03:00
"description": "The extended location where the disk access will be created. Extended location cannot be changed.",
2021-12-28 12:20:27 +03:00
"oneOf": [
{
"$ref": "#/definitions/ExtendedLocation"
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
2024-04-20 09:27:59 +03:00
]
2021-12-28 12:20:27 +03:00
},
"location": {
2024-04-20 09:27:59 +03:00
"description": "Resource location",
"type": "string"
2021-12-28 12:20:27 +03:00
},
"name": {
2024-04-20 09:27:59 +03:00
"description": "The name of the disk access resource that is being created. The name can't be changed after the disk encryption set is created. Supported characters for the name are a-z, A-Z, 0-9, _ and -. The maximum name length is 80 characters.",
"type": "string"
2021-12-28 12:20:27 +03:00
},
"properties": {
"oneOf": [
{
"$ref": "#/definitions/DiskAccessProperties"
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
]
},
"resources": {
"items": {
"oneOf": [
{
"$ref": "#/definitions/diskAccesses_privateEndpointConnections_childResource"
}
]
2024-04-20 09:27:59 +03:00
},
"type": "array"
2021-12-28 12:20:27 +03:00
},
"tags": {
2024-04-20 09:27:59 +03:00
"description": "Resource tags",
2021-12-28 12:20:27 +03:00
"oneOf": [
{
"additionalProperties": {
"type": "string"
},
2024-04-20 09:27:59 +03:00
"properties": {},
"type": "object"
2021-12-28 12:20:27 +03:00
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
2024-04-20 09:27:59 +03:00
]
2021-12-28 12:20:27 +03:00
},
"type": {
"enum": [
"Microsoft.Compute/diskAccesses"
2024-04-20 09:27:59 +03:00
],
"type": "string"
2021-12-28 12:20:27 +03:00
}
},
"required": [
"name",
"properties",
2024-04-20 09:27:59 +03:00
"apiVersion",
2021-12-28 12:20:27 +03:00
"type"
],
2024-04-20 09:27:59 +03:00
"type": "object"
2021-12-28 12:20:27 +03:00
},
"diskAccesses_privateEndpointConnections": {
2024-04-20 09:27:59 +03:00
"description": "Microsoft.Compute/diskAccesses/privateEndpointConnections",
2021-12-28 12:20:27 +03:00
"properties": {
"apiVersion": {
"enum": [
"2021-08-01"
2024-04-20 09:27:59 +03:00
],
"type": "string"
2021-12-28 12:20:27 +03:00
},
"name": {
2024-04-20 09:27:59 +03:00
"description": "The name of the private endpoint connection.",
"type": "string"
2021-12-28 12:20:27 +03:00
},
"properties": {
2024-04-20 09:27:59 +03:00
"description": "Resource properties.",
2021-12-28 12:20:27 +03:00
"oneOf": [
{
"$ref": "#/definitions/PrivateEndpointConnectionProperties"
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
2024-04-20 09:27:59 +03:00
]
2021-12-28 12:20:27 +03:00
},
"type": {
"enum": [
"Microsoft.Compute/diskAccesses/privateEndpointConnections"
2024-04-20 09:27:59 +03:00
],
"type": "string"
2021-12-28 12:20:27 +03:00
}
},
"required": [
"name",
"properties",
2024-04-20 09:27:59 +03:00
"apiVersion",
2021-12-28 12:20:27 +03:00
"type"
],
2024-04-20 09:27:59 +03:00
"type": "object"
2021-12-28 12:20:27 +03:00
},
"diskEncryptionSets": {
2024-04-20 09:27:59 +03:00
"description": "Microsoft.Compute/diskEncryptionSets",
2021-12-28 12:20:27 +03:00
"properties": {
"apiVersion": {
"enum": [
"2021-08-01"
2024-04-20 09:27:59 +03:00
],
"type": "string"
2021-12-28 12:20:27 +03:00
},
"identity": {
2024-04-20 09:27:59 +03:00
"description": "The managed identity for the disk encryption set. It should be given permission on the key vault before it can be used to encrypt disks.",
2021-12-28 12:20:27 +03:00
"oneOf": [
{
"$ref": "#/definitions/EncryptionSetIdentity"
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
2024-04-20 09:27:59 +03:00
]
2021-12-28 12:20:27 +03:00
},
"location": {
2024-04-20 09:27:59 +03:00
"description": "Resource location",
"type": "string"
2021-12-28 12:20:27 +03:00
},
"name": {
2024-04-20 09:27:59 +03:00
"description": "The name of the disk encryption set that is being created. The name can't be changed after the disk encryption set is created. Supported characters for the name are a-z, A-Z, 0-9, _ and -. The maximum name length is 80 characters.",
"type": "string"
2021-12-28 12:20:27 +03:00
},
"properties": {
"oneOf": [
{
"$ref": "#/definitions/EncryptionSetProperties"
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
]
},
"tags": {
2024-04-20 09:27:59 +03:00
"description": "Resource tags",
2021-12-28 12:20:27 +03:00
"oneOf": [
{
"additionalProperties": {
"type": "string"
},
2024-04-20 09:27:59 +03:00
"properties": {},
"type": "object"
2021-12-28 12:20:27 +03:00
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
2024-04-20 09:27:59 +03:00
]
2021-12-28 12:20:27 +03:00
},
"type": {
"enum": [
"Microsoft.Compute/diskEncryptionSets"
2024-04-20 09:27:59 +03:00
],
"type": "string"
2021-12-28 12:20:27 +03:00
}
},
"required": [
"name",
"properties",
2024-04-20 09:27:59 +03:00
"apiVersion",
2021-12-28 12:20:27 +03:00
"type"
],
2024-04-20 09:27:59 +03:00
"type": "object"
2021-12-28 12:20:27 +03:00
},
"disks": {
2024-04-20 09:27:59 +03:00
"description": "Microsoft.Compute/disks",
2021-12-28 12:20:27 +03:00
"properties": {
"apiVersion": {
"enum": [
"2021-08-01"
2024-04-20 09:27:59 +03:00
],
"type": "string"
2021-12-28 12:20:27 +03:00
},
"extendedLocation": {
2024-04-20 09:27:59 +03:00
"description": "The extended location where the disk will be created. Extended location cannot be changed.",
2021-12-28 12:20:27 +03:00
"oneOf": [
{
"$ref": "#/definitions/ExtendedLocation"
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
2024-04-20 09:27:59 +03:00
]
2021-12-28 12:20:27 +03:00
},
"location": {
2024-04-20 09:27:59 +03:00
"description": "Resource location",
"type": "string"
2021-12-28 12:20:27 +03:00
},
"name": {
2024-04-20 09:27:59 +03:00
"description": "The name of the managed disk that is being created. The name can't be changed after the disk is created. Supported characters for the name are a-z, A-Z, 0-9, _ and -. The maximum name length is 80 characters.",
"type": "string"
2021-12-28 12:20:27 +03:00
},
"properties": {
2024-04-20 09:27:59 +03:00
"description": "Disk resource properties.",
2021-12-28 12:20:27 +03:00
"oneOf": [
{
"$ref": "#/definitions/DiskProperties"
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
2024-04-20 09:27:59 +03:00
]
2021-12-28 12:20:27 +03:00
},
"sku": {
2024-04-20 09:27:59 +03:00
"description": "The disks sku name. Can be Standard_LRS, Premium_LRS, StandardSSD_LRS, UltraSSD_LRS, Premium_ZRS, or StandardSSD_ZRS.",
2021-12-28 12:20:27 +03:00
"oneOf": [
{
"$ref": "#/definitions/DiskSku"
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
2024-04-20 09:27:59 +03:00
]
2021-12-28 12:20:27 +03:00
},
"tags": {
2024-04-20 09:27:59 +03:00
"description": "Resource tags",
2021-12-28 12:20:27 +03:00
"oneOf": [
{
"additionalProperties": {
"type": "string"
},
2024-04-20 09:27:59 +03:00
"properties": {},
"type": "object"
2021-12-28 12:20:27 +03:00
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
2024-04-20 09:27:59 +03:00
]
2021-12-28 12:20:27 +03:00
},
"type": {
"enum": [
"Microsoft.Compute/disks"
2024-04-20 09:27:59 +03:00
],
"type": "string"
2021-12-28 12:20:27 +03:00
},
"zones": {
2024-04-20 09:27:59 +03:00
"description": "The Logical zone list for Disk.",
2021-12-28 12:20:27 +03:00
"oneOf": [
{
"items": {
"type": "string"
2024-04-20 09:27:59 +03:00
},
"type": "array"
2021-12-28 12:20:27 +03:00
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
2024-04-20 09:27:59 +03:00
]
2021-12-28 12:20:27 +03:00
}
},
"required": [
"name",
"properties",
2024-04-20 09:27:59 +03:00
"apiVersion",
2021-12-28 12:20:27 +03:00
"type"
],
2024-04-20 09:27:59 +03:00
"type": "object"
2021-12-28 12:20:27 +03:00
},
"snapshots": {
2024-04-20 09:27:59 +03:00
"description": "Microsoft.Compute/snapshots",
2021-12-28 12:20:27 +03:00
"properties": {
"apiVersion": {
"enum": [
"2021-08-01"
2024-04-20 09:27:59 +03:00
],
"type": "string"
2021-12-28 12:20:27 +03:00
},
"extendedLocation": {
2024-04-20 09:27:59 +03:00
"description": "The extended location where the snapshot will be created. Extended location cannot be changed.",
2021-12-28 12:20:27 +03:00
"oneOf": [
{
"$ref": "#/definitions/ExtendedLocation"
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
2024-04-20 09:27:59 +03:00
]
2021-12-28 12:20:27 +03:00
},
"location": {
2024-04-20 09:27:59 +03:00
"description": "Resource location",
"type": "string"
2021-12-28 12:20:27 +03:00
},
"name": {
2024-04-20 09:27:59 +03:00
"description": "The name of the snapshot that is being created. The name can't be changed after the snapshot is created. Supported characters for the name are a-z, A-Z, 0-9, _ and -. The max name length is 80 characters.",
"type": "string"
2021-12-28 12:20:27 +03:00
},
"properties": {
2024-04-20 09:27:59 +03:00
"description": "Snapshot resource properties.",
2021-12-28 12:20:27 +03:00
"oneOf": [
{
"$ref": "#/definitions/SnapshotProperties"
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
2024-04-20 09:27:59 +03:00
]
2021-12-28 12:20:27 +03:00
},
"sku": {
2024-04-20 09:27:59 +03:00
"description": "The snapshots sku name. Can be Standard_LRS, Premium_LRS, or Standard_ZRS. This is an optional parameter for incremental snapshot and the default behavior is the SKU will be set to the same sku as the previous snapshot",
2021-12-28 12:20:27 +03:00
"oneOf": [
{
"$ref": "#/definitions/SnapshotSku"
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
2024-04-20 09:27:59 +03:00
]
2021-12-28 12:20:27 +03:00
},
"tags": {
2024-04-20 09:27:59 +03:00
"description": "Resource tags",
2021-12-28 12:20:27 +03:00
"oneOf": [
{
"additionalProperties": {
"type": "string"
},
2024-04-20 09:27:59 +03:00
"properties": {},
"type": "object"
2021-12-28 12:20:27 +03:00
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
2024-04-20 09:27:59 +03:00
]
2021-12-28 12:20:27 +03:00
},
"type": {
"enum": [
"Microsoft.Compute/snapshots"
2024-04-20 09:27:59 +03:00
],
"type": "string"
2021-12-28 12:20:27 +03:00
}
},
"required": [
"name",
"properties",
2024-04-20 09:27:59 +03:00
"apiVersion",
2021-12-28 12:20:27 +03:00
"type"
],
2024-04-20 09:27:59 +03:00
"type": "object"
2021-12-28 12:20:27 +03:00
}
},
"definitions": {
"CreationData": {
2024-04-20 09:27:59 +03:00
"description": "Data used when creating a disk.",
2021-12-28 12:20:27 +03:00
"properties": {
"createOption": {
2024-04-20 09:27:59 +03:00
"description": "This enumerates the possible sources of a disk's creation.",
2021-12-28 12:20:27 +03:00
"oneOf": [
{
"enum": [
"Empty",
"Attach",
"FromImage",
"Import",
"Copy",
"Restore",
"Upload",
"CopyStart",
"ImportSecure",
"UploadPreparedSecure"
2024-04-20 09:27:59 +03:00
],
"type": "string"
2021-12-28 12:20:27 +03:00
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
2024-04-20 09:27:59 +03:00
]
2021-12-28 12:20:27 +03:00
},
"galleryImageReference": {
2024-04-20 09:27:59 +03:00
"description": "Required if creating from a Gallery Image. The id of the ImageDiskReference will be the ARM id of the shared galley image version from which to create a disk.",
2021-12-28 12:20:27 +03:00
"oneOf": [
{
"$ref": "#/definitions/ImageDiskReference"
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
2024-04-20 09:27:59 +03:00
]
2021-12-28 12:20:27 +03:00
},
"imageReference": {
2024-04-20 09:27:59 +03:00
"description": "Disk source information.",
2021-12-28 12:20:27 +03:00
"oneOf": [
{
"$ref": "#/definitions/ImageDiskReference"
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
2024-04-20 09:27:59 +03:00
]
2021-12-28 12:20:27 +03:00
},
"logicalSectorSize": {
2024-04-20 09:27:59 +03:00
"description": "Logical sector size in bytes for Ultra disks. Supported values are 512 ad 4096. 4096 is the default.",
2021-12-28 12:20:27 +03:00
"oneOf": [
{
"type": "integer"
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
2024-04-20 09:27:59 +03:00
]
2021-12-28 12:20:27 +03:00
},
"securityDataUri": {
2024-04-20 09:27:59 +03:00
"description": "If createOption is ImportSecure, this is the URI of a blob to be imported into VM guest state.",
"type": "string"
2021-12-28 12:20:27 +03:00
},
"sourceResourceId": {
2024-04-20 09:27:59 +03:00
"description": "If createOption is Copy, this is the ARM id of the source snapshot or disk.",
"type": "string"
2021-12-28 12:20:27 +03:00
},
"sourceUri": {
2024-04-20 09:27:59 +03:00
"description": "If createOption is Import, this is the URI of a blob to be imported into a managed disk.",
"type": "string"
2021-12-28 12:20:27 +03:00
},
"storageAccountId": {
2024-04-20 09:27:59 +03:00
"description": "Required if createOption is Import. The Azure Resource Manager identifier of the storage account containing the blob to import as a disk.",
"type": "string"
2021-12-28 12:20:27 +03:00
},
"uploadSizeBytes": {
2024-04-20 09:27:59 +03:00
"description": "If createOption is Upload, this is the size of the contents of the upload including the VHD footer. This value should be between 20972032 (20 MiB + 512 bytes for the VHD footer) and 35183298347520 bytes (32 TiB + 512 bytes for the VHD footer).",
2021-12-28 12:20:27 +03:00
"oneOf": [
{
"type": "integer"
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
]
}
},
"required": [
2024-04-20 09:27:59 +03:00
"createOption"
2021-12-28 12:20:27 +03:00
],
2024-04-20 09:27:59 +03:00
"type": "object"
2021-12-28 12:20:27 +03:00
},
"DiskAccessProperties": {
2024-04-20 09:27:59 +03:00
"properties": {},
"type": "object"
2021-12-28 12:20:27 +03:00
},
"DiskProperties": {
2024-04-20 09:27:59 +03:00
"description": "Disk resource properties.",
2021-12-28 12:20:27 +03:00
"properties": {
"burstingEnabled": {
2024-04-20 09:27:59 +03:00
"description": "Set to true to enable bursting beyond the provisioned performance target of the disk. Bursting is disabled by default. Does not apply to Ultra disks.",
2021-12-28 12:20:27 +03:00
"oneOf": [
{
"type": "boolean"
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
2024-04-20 09:27:59 +03:00
]
2021-12-28 12:20:27 +03:00
},
"completionPercent": {
2024-04-20 09:27:59 +03:00
"description": "Percentage complete for the background copy when a resource is created via the CopyStart operation.",
2021-12-28 12:20:27 +03:00
"oneOf": [
{
"type": "number"
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
2024-04-20 09:27:59 +03:00
]
2021-12-28 12:20:27 +03:00
},
"creationData": {
2024-04-20 09:27:59 +03:00
"description": "Disk source information. CreationData information cannot be changed after the disk has been created.",
2021-12-28 12:20:27 +03:00
"oneOf": [
{
"$ref": "#/definitions/CreationData"
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
2024-04-20 09:27:59 +03:00
]
2021-12-28 12:20:27 +03:00
},
"diskAccessId": {
2024-04-20 09:27:59 +03:00
"description": "ARM id of the DiskAccess resource for using private endpoints on disks.",
"type": "string"
2021-12-28 12:20:27 +03:00
},
"diskIOPSReadOnly": {
2024-04-20 09:27:59 +03:00
"description": "The total number of IOPS that will be allowed across all VMs mounting the shared disk as ReadOnly. One operation can transfer between 4k and 256k bytes.",
2021-12-28 12:20:27 +03:00
"oneOf": [
{
"type": "integer"
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
2024-04-20 09:27:59 +03:00
]
2021-12-28 12:20:27 +03:00
},
"diskIOPSReadWrite": {
2024-04-20 09:27:59 +03:00
"description": "The number of IOPS allowed for this disk; only settable for UltraSSD disks. One operation can transfer between 4k and 256k bytes.",
2021-12-28 12:20:27 +03:00
"oneOf": [
{
"type": "integer"
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
2024-04-20 09:27:59 +03:00
]
2021-12-28 12:20:27 +03:00
},
"diskMBpsReadOnly": {
2024-04-20 09:27:59 +03:00
"description": "The total throughput (MBps) that will be allowed across all VMs mounting the shared disk as ReadOnly. MBps means millions of bytes per second - MB here uses the ISO notation, of powers of 10.",
2021-12-28 12:20:27 +03:00
"oneOf": [
{
"type": "integer"
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
2024-04-20 09:27:59 +03:00
]
2021-12-28 12:20:27 +03:00
},
"diskMBpsReadWrite": {
2024-04-20 09:27:59 +03:00
"description": "The bandwidth allowed for this disk; only settable for UltraSSD disks. MBps means millions of bytes per second - MB here uses the ISO notation, of powers of 10.",
2021-12-28 12:20:27 +03:00
"oneOf": [
{
"type": "integer"
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
2024-04-20 09:27:59 +03:00
]
2021-12-28 12:20:27 +03:00
},
"diskSizeGB": {
2024-04-20 09:27:59 +03:00
"description": "If creationData.createOption is Empty, this field is mandatory and it indicates the size of the disk to create. If this field is present for updates or creation with other options, it indicates a resize. Resizes are only allowed if the disk is not attached to a running VM, and can only increase the disk's size.",
2021-12-28 12:20:27 +03:00
"oneOf": [
{
"type": "integer"
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
2024-04-20 09:27:59 +03:00
]
2021-12-28 12:20:27 +03:00
},
"encryption": {
2024-04-20 09:27:59 +03:00
"description": "Encryption property can be used to encrypt data at rest with customer managed keys or platform managed keys.",
2021-12-28 12:20:27 +03:00
"oneOf": [
{
"$ref": "#/definitions/Encryption"
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
2024-04-20 09:27:59 +03:00
]
2021-12-28 12:20:27 +03:00
},
"encryptionSettingsCollection": {
2024-04-20 09:27:59 +03:00
"description": "Encryption settings collection used for Azure Disk Encryption, can contain multiple encryption settings per disk or snapshot.",
2021-12-28 12:20:27 +03:00
"oneOf": [
{
"$ref": "#/definitions/EncryptionSettingsCollection"
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
2024-04-20 09:27:59 +03:00
]
2021-12-28 12:20:27 +03:00
},
"hyperVGeneration": {
2024-04-20 09:27:59 +03:00
"description": "The hypervisor generation of the Virtual Machine. Applicable to OS disks only.",
2021-12-28 12:20:27 +03:00
"oneOf": [
{
"enum": [
"V1",
"V2"
2024-04-20 09:27:59 +03:00
],
"type": "string"
2021-12-28 12:20:27 +03:00
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
2024-04-20 09:27:59 +03:00
]
2021-12-28 12:20:27 +03:00
},
"maxShares": {
2024-04-20 09:27:59 +03:00
"description": "The maximum number of VMs that can attach to the disk at the same time. Value greater than one indicates a disk that can be mounted on multiple VMs at the same time.",
2021-12-28 12:20:27 +03:00
"oneOf": [
{
"type": "integer"
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
2024-04-20 09:27:59 +03:00
]
2021-12-28 12:20:27 +03:00
},
"networkAccessPolicy": {
2024-04-20 09:27:59 +03:00
"description": "Policy for accessing the disk via network.",
2021-12-28 12:20:27 +03:00
"oneOf": [
{
"enum": [
"AllowAll",
"AllowPrivate",
"DenyAll"
2024-04-20 09:27:59 +03:00
],
"type": "string"
2021-12-28 12:20:27 +03:00
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
]
},
"osType": {
2024-04-20 09:27:59 +03:00
"description": "The Operating System type.",
2021-12-28 12:20:27 +03:00
"oneOf": [
{
"enum": [
"Windows",
"Linux"
2024-04-20 09:27:59 +03:00
],
"type": "string"
2021-12-28 12:20:27 +03:00
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
2024-04-20 09:27:59 +03:00
]
2021-12-28 12:20:27 +03:00
},
"publicNetworkAccess": {
2024-04-20 09:27:59 +03:00
"description": "Policy for controlling export on the disk.",
2021-12-28 12:20:27 +03:00
"oneOf": [
{
"enum": [
"Enabled",
"Disabled"
2024-04-20 09:27:59 +03:00
],
"type": "string"
2021-12-28 12:20:27 +03:00
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
]
},
"purchasePlan": {
2024-04-20 09:27:59 +03:00
"description": "Purchase plan information for the the image from which the OS disk was created. E.g. - {name: 2019-Datacenter, publisher: MicrosoftWindowsServer, product: WindowsServer}",
2021-12-28 12:20:27 +03:00
"oneOf": [
{
"$ref": "#/definitions/PurchasePlan"
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
2024-04-20 09:27:59 +03:00
]
2021-12-28 12:20:27 +03:00
},
"securityProfile": {
2024-04-20 09:27:59 +03:00
"description": "Contains the security related information for the resource.",
2021-12-28 12:20:27 +03:00
"oneOf": [
{
"$ref": "#/definitions/DiskSecurityProfile"
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
2024-04-20 09:27:59 +03:00
]
2021-12-28 12:20:27 +03:00
},
"supportedCapabilities": {
2024-04-20 09:27:59 +03:00
"description": "List of supported capabilities for the image from which the OS disk was created.",
2021-12-28 12:20:27 +03:00
"oneOf": [
{
"$ref": "#/definitions/SupportedCapabilities"
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
2024-04-20 09:27:59 +03:00
]
2021-12-28 12:20:27 +03:00
},
"supportsHibernation": {
2024-04-20 09:27:59 +03:00
"description": "Indicates the OS on a disk supports hibernation.",
2021-12-28 12:20:27 +03:00
"oneOf": [
{
"type": "boolean"
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
2024-04-20 09:27:59 +03:00
]
2021-12-28 12:20:27 +03:00
},
"tier": {
2024-04-20 09:27:59 +03:00
"description": "Performance tier of the disk (e.g, P4, S10) as described here: https://azure.microsoft.com/en-us/pricing/details/managed-disks/. Does not apply to Ultra disks.",
"type": "string"
2021-12-28 12:20:27 +03:00
}
},
"required": [
"creationData"
],
2024-04-20 09:27:59 +03:00
"type": "object"
2021-12-28 12:20:27 +03:00
},
"DiskSecurityProfile": {
2024-04-20 09:27:59 +03:00
"description": "Contains the security related information for the resource.",
2021-12-28 12:20:27 +03:00
"properties": {
"secureVMDiskEncryptionSetId": {
2024-04-20 09:27:59 +03:00
"description": "ResourceId of the disk encryption set associated to Confidential VM supported disk encrypted with customer managed key",
"type": "string"
2021-12-28 12:20:27 +03:00
},
"securityType": {
2024-04-20 09:27:59 +03:00
"description": "Specifies the SecurityType of the VM. Applicable for OS disks only.",
2021-12-28 12:20:27 +03:00
"oneOf": [
{
"enum": [
"TrustedLaunch",
"ConfidentialVM_VMGuestStateOnlyEncryptedWithPlatformKey",
"ConfidentialVM_DiskEncryptedWithPlatformKey",
"ConfidentialVM_DiskEncryptedWithCustomerKey"
2024-04-20 09:27:59 +03:00
],
"type": "string"
2021-12-28 12:20:27 +03:00
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
]
}
},
2024-04-20 09:27:59 +03:00
"type": "object"
2021-12-28 12:20:27 +03:00
},
"DiskSku": {
2024-04-20 09:27:59 +03:00
"description": "The disks sku name. Can be Standard_LRS, Premium_LRS, StandardSSD_LRS, UltraSSD_LRS, Premium_ZRS, or StandardSSD_ZRS.",
2021-12-28 12:20:27 +03:00
"properties": {
"name": {
2024-04-20 09:27:59 +03:00
"description": "The sku name.",
2021-12-28 12:20:27 +03:00
"oneOf": [
{
"enum": [
"Standard_LRS",
"Premium_LRS",
"StandardSSD_LRS",
"UltraSSD_LRS",
"Premium_ZRS",
"StandardSSD_ZRS"
2024-04-20 09:27:59 +03:00
],
"type": "string"
2021-12-28 12:20:27 +03:00
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
2024-04-20 09:27:59 +03:00
]
2021-12-28 12:20:27 +03:00
}
},
2024-04-20 09:27:59 +03:00
"type": "object"
2021-12-28 12:20:27 +03:00
},
"Encryption": {
2024-04-20 09:27:59 +03:00
"description": "Encryption at rest settings for disk or snapshot",
2021-12-28 12:20:27 +03:00
"properties": {
"diskEncryptionSetId": {
2024-04-20 09:27:59 +03:00
"description": "ResourceId of the disk encryption set to use for enabling encryption at rest.",
"type": "string"
2021-12-28 12:20:27 +03:00
},
"type": {
2024-04-20 09:27:59 +03:00
"description": "The type of key used to encrypt the data of the disk.",
2021-12-28 12:20:27 +03:00
"oneOf": [
{
"enum": [
"EncryptionAtRestWithPlatformKey",
"EncryptionAtRestWithCustomerKey",
"EncryptionAtRestWithPlatformAndCustomerKeys"
2024-04-20 09:27:59 +03:00
],
"type": "string"
2021-12-28 12:20:27 +03:00
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
]
}
},
2024-04-20 09:27:59 +03:00
"type": "object"
2021-12-28 12:20:27 +03:00
},
"EncryptionSetIdentity": {
2024-04-20 09:27:59 +03:00
"description": "The managed identity for the disk encryption set. It should be given permission on the key vault before it can be used to encrypt disks.",
2021-12-28 12:20:27 +03:00
"properties": {
"type": {
2024-04-20 09:27:59 +03:00
"description": "The type of Managed Identity used by the DiskEncryptionSet. Only SystemAssigned is supported for new creations. Disk Encryption Sets can be updated with Identity type None during migration of subscription to a new Azure Active Directory tenant; it will cause the encrypted resources to lose access to the keys.",
2021-12-28 12:20:27 +03:00
"oneOf": [
{
"enum": [
"SystemAssigned",
"None"
2024-04-20 09:27:59 +03:00
],
"type": "string"
2021-12-28 12:20:27 +03:00
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
2024-04-20 09:27:59 +03:00
]
2021-12-28 12:20:27 +03:00
}
},
2024-04-20 09:27:59 +03:00
"type": "object"
2021-12-28 12:20:27 +03:00
},
"EncryptionSetProperties": {
"properties": {
"activeKey": {
2024-04-20 09:27:59 +03:00
"description": "The key vault key which is currently used by this disk encryption set.",
2021-12-28 12:20:27 +03:00
"oneOf": [
{
"$ref": "#/definitions/KeyForDiskEncryptionSet"
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
2024-04-20 09:27:59 +03:00
]
2021-12-28 12:20:27 +03:00
},
"encryptionType": {
2024-04-20 09:27:59 +03:00
"description": "The type of key used to encrypt the data of the disk.",
2021-12-28 12:20:27 +03:00
"oneOf": [
{
"enum": [
"EncryptionAtRestWithCustomerKey",
"EncryptionAtRestWithPlatformAndCustomerKeys",
"ConfidentialVmEncryptedWithCustomerKey"
2024-04-20 09:27:59 +03:00
],
"type": "string"
2021-12-28 12:20:27 +03:00
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
]
},
"rotationToLatestKeyVersionEnabled": {
2024-04-20 09:27:59 +03:00
"description": "Set this flag to true to enable auto-updating of this disk encryption set to the latest key version.",
2021-12-28 12:20:27 +03:00
"oneOf": [
{
"type": "boolean"
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
2024-04-20 09:27:59 +03:00
]
2021-12-28 12:20:27 +03:00
}
2024-04-20 09:27:59 +03:00
},
"type": "object"
2021-12-28 12:20:27 +03:00
},
"EncryptionSettingsCollection": {
2024-04-20 09:27:59 +03:00
"description": "Encryption settings for disk or snapshot",
2021-12-28 12:20:27 +03:00
"properties": {
"enabled": {
2024-04-20 09:27:59 +03:00
"description": "Set this flag to true and provide DiskEncryptionKey and optional KeyEncryptionKey to enable encryption. Set this flag to false and remove DiskEncryptionKey and KeyEncryptionKey to disable encryption. If EncryptionSettings is null in the request object, the existing settings remain unchanged.",
2021-12-28 12:20:27 +03:00
"oneOf": [
{
"type": "boolean"
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
2024-04-20 09:27:59 +03:00
]
2021-12-28 12:20:27 +03:00
},
"encryptionSettings": {
2024-04-20 09:27:59 +03:00
"description": "A collection of encryption settings, one for each disk volume.",
2021-12-28 12:20:27 +03:00
"oneOf": [
{
"items": {
"$ref": "#/definitions/EncryptionSettingsElement"
2024-04-20 09:27:59 +03:00
},
"type": "array"
2021-12-28 12:20:27 +03:00
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
2024-04-20 09:27:59 +03:00
]
2021-12-28 12:20:27 +03:00
},
"encryptionSettingsVersion": {
2024-04-20 09:27:59 +03:00
"description": "Describes what type of encryption is used for the disks. Once this field is set, it cannot be overwritten. '1.0' corresponds to Azure Disk Encryption with AAD app.'1.1' corresponds to Azure Disk Encryption.",
"type": "string"
2021-12-28 12:20:27 +03:00
}
},
"required": [
"enabled"
],
2024-04-20 09:27:59 +03:00
"type": "object"
2021-12-28 12:20:27 +03:00
},
"EncryptionSettingsElement": {
2024-04-20 09:27:59 +03:00
"description": "Encryption settings for one disk volume.",
2021-12-28 12:20:27 +03:00
"properties": {
"diskEncryptionKey": {
2024-04-20 09:27:59 +03:00
"description": "Key Vault Secret Url and vault id of the disk encryption key",
2021-12-28 12:20:27 +03:00
"oneOf": [
{
"$ref": "#/definitions/KeyVaultAndSecretReference"
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
2024-04-20 09:27:59 +03:00
]
2021-12-28 12:20:27 +03:00
},
"keyEncryptionKey": {
2024-04-20 09:27:59 +03:00
"description": "Key Vault Key Url and vault id of the key encryption key. KeyEncryptionKey is optional and when provided is used to unwrap the disk encryption key.",
2021-12-28 12:20:27 +03:00
"oneOf": [
{
"$ref": "#/definitions/KeyVaultAndKeyReference"
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
2024-04-20 09:27:59 +03:00
]
2021-12-28 12:20:27 +03:00
}
},
2024-04-20 09:27:59 +03:00
"type": "object"
2021-12-28 12:20:27 +03:00
},
"ExtendedLocation": {
2024-04-20 09:27:59 +03:00
"description": "The complex type of the extended location.",
2021-12-28 12:20:27 +03:00
"properties": {
"name": {
2024-04-20 09:27:59 +03:00
"description": "The name of the extended location.",
"type": "string"
2021-12-28 12:20:27 +03:00
},
"type": {
2024-04-20 09:27:59 +03:00
"description": "The type of the extended location.",
2021-12-28 12:20:27 +03:00
"oneOf": [
{
"enum": [
"EdgeZone"
2024-04-20 09:27:59 +03:00
],
"type": "string"
2021-12-28 12:20:27 +03:00
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
2024-04-20 09:27:59 +03:00
]
2021-12-28 12:20:27 +03:00
}
},
2024-04-20 09:27:59 +03:00
"type": "object"
2021-12-28 12:20:27 +03:00
},
"ImageDiskReference": {
2024-04-20 09:27:59 +03:00
"description": "The source image used for creating the disk.",
2021-12-28 12:20:27 +03:00
"properties": {
"id": {
2024-04-20 09:27:59 +03:00
"description": "A relative uri containing either a Platform Image Repository or user image reference.",
"type": "string"
2021-12-28 12:20:27 +03:00
},
"lun": {
2024-04-20 09:27:59 +03:00
"description": "If the disk is created from an image's data disk, this is an index that indicates which of the data disks in the image to use. For OS disks, this field is null.",
2021-12-28 12:20:27 +03:00
"oneOf": [
{
"type": "integer"
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
2024-04-20 09:27:59 +03:00
]
2021-12-28 12:20:27 +03:00
}
},
"required": [
"id"
],
2024-04-20 09:27:59 +03:00
"type": "object"
2021-12-28 12:20:27 +03:00
},
"KeyForDiskEncryptionSet": {
2024-04-20 09:27:59 +03:00
"description": "Key Vault Key Url to be used for server side encryption of Managed Disks and Snapshots",
2021-12-28 12:20:27 +03:00
"properties": {
"keyUrl": {
2024-04-20 09:27:59 +03:00
"description": "Fully versioned Key Url pointing to a key in KeyVault. Version segment of the Url is required regardless of rotationToLatestKeyVersionEnabled value.",
"type": "string"
2021-12-28 12:20:27 +03:00
},
"sourceVault": {
2024-04-20 09:27:59 +03:00
"description": "Resource id of the KeyVault containing the key or secret. This property is optional and cannot be used if the KeyVault subscription is not the same as the Disk Encryption Set subscription.",
2021-12-28 12:20:27 +03:00
"oneOf": [
{
"$ref": "#/definitions/SourceVault"
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
2024-04-20 09:27:59 +03:00
]
2021-12-28 12:20:27 +03:00
}
},
"required": [
"keyUrl"
],
2024-04-20 09:27:59 +03:00
"type": "object"
2021-12-28 12:20:27 +03:00
},
"KeyVaultAndKeyReference": {
2024-04-20 09:27:59 +03:00
"description": "Key Vault Key Url and vault id of KeK, KeK is optional and when provided is used to unwrap the encryptionKey",
2021-12-28 12:20:27 +03:00
"properties": {
"keyUrl": {
2024-04-20 09:27:59 +03:00
"description": "Url pointing to a key or secret in KeyVault",
"type": "string"
2021-12-28 12:20:27 +03:00
},
"sourceVault": {
2024-04-20 09:27:59 +03:00
"description": "Resource id of the KeyVault containing the key or secret",
2021-12-28 12:20:27 +03:00
"oneOf": [
{
"$ref": "#/definitions/SourceVault"
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
2024-04-20 09:27:59 +03:00
]
2021-12-28 12:20:27 +03:00
}
},
"required": [
2024-04-20 09:27:59 +03:00
"sourceVault",
"keyUrl"
2021-12-28 12:20:27 +03:00
],
2024-04-20 09:27:59 +03:00
"type": "object"
2021-12-28 12:20:27 +03:00
},
"KeyVaultAndSecretReference": {
2024-04-20 09:27:59 +03:00
"description": "Key Vault Secret Url and vault id of the encryption key ",
2021-12-28 12:20:27 +03:00
"properties": {
"secretUrl": {
2024-04-20 09:27:59 +03:00
"description": "Url pointing to a key or secret in KeyVault",
"type": "string"
2021-12-28 12:20:27 +03:00
},
"sourceVault": {
2024-04-20 09:27:59 +03:00
"description": "Resource id of the KeyVault containing the key or secret",
2021-12-28 12:20:27 +03:00
"oneOf": [
{
"$ref": "#/definitions/SourceVault"
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
2024-04-20 09:27:59 +03:00
]
2021-12-28 12:20:27 +03:00
}
},
"required": [
2024-04-20 09:27:59 +03:00
"sourceVault",
"secretUrl"
2021-12-28 12:20:27 +03:00
],
2024-04-20 09:27:59 +03:00
"type": "object"
2021-12-28 12:20:27 +03:00
},
"PrivateEndpointConnectionProperties": {
2024-04-20 09:27:59 +03:00
"description": "Properties of the PrivateEndpointConnectProperties.",
2021-12-28 12:20:27 +03:00
"properties": {
"privateLinkServiceConnectionState": {
2024-04-20 09:27:59 +03:00
"description": "A collection of information about the state of the connection between DiskAccess and Virtual Network.",
2021-12-28 12:20:27 +03:00
"oneOf": [
{
"$ref": "#/definitions/PrivateLinkServiceConnectionState"
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
2024-04-20 09:27:59 +03:00
]
2021-12-28 12:20:27 +03:00
}
},
"required": [
"privateLinkServiceConnectionState"
],
2024-04-20 09:27:59 +03:00
"type": "object"
2021-12-28 12:20:27 +03:00
},
"PrivateLinkServiceConnectionState": {
2024-04-20 09:27:59 +03:00
"description": "A collection of information about the state of the connection between service consumer and provider.",
2021-12-28 12:20:27 +03:00
"properties": {
"actionsRequired": {
2024-04-20 09:27:59 +03:00
"description": "A message indicating if changes on the service provider require any updates on the consumer.",
"type": "string"
2021-12-28 12:20:27 +03:00
},
"description": {
2024-04-20 09:27:59 +03:00
"description": "The reason for approval/rejection of the connection.",
"type": "string"
2021-12-28 12:20:27 +03:00
},
"status": {
2024-04-20 09:27:59 +03:00
"description": "Indicates whether the connection has been Approved/Rejected/Removed by the owner of the service.",
2021-12-28 12:20:27 +03:00
"oneOf": [
{
"enum": [
"Pending",
"Approved",
"Rejected"
2024-04-20 09:27:59 +03:00
],
"type": "string"
2021-12-28 12:20:27 +03:00
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
2024-04-20 09:27:59 +03:00
]
2021-12-28 12:20:27 +03:00
}
},
2024-04-20 09:27:59 +03:00
"type": "object"
2021-12-28 12:20:27 +03:00
},
"PurchasePlan": {
2024-04-20 09:27:59 +03:00
"description": "Used for establishing the purchase context of any 3rd Party artifact through MarketPlace.",
2021-12-28 12:20:27 +03:00
"properties": {
"name": {
2024-04-20 09:27:59 +03:00
"description": "The plan ID.",
"type": "string"
2021-12-28 12:20:27 +03:00
},
"product": {
2024-04-20 09:27:59 +03:00
"description": "Specifies the product of the image from the marketplace. This is the same value as Offer under the imageReference element.",
"type": "string"
2021-12-28 12:20:27 +03:00
},
"promotionCode": {
2024-04-20 09:27:59 +03:00
"description": "The Offer Promotion Code.",
"type": "string"
2021-12-28 12:20:27 +03:00
},
"publisher": {
2024-04-20 09:27:59 +03:00
"description": "The publisher ID.",
"type": "string"
2021-12-28 12:20:27 +03:00
}
},
"required": [
"name",
2024-04-20 09:27:59 +03:00
"publisher",
"product"
2021-12-28 12:20:27 +03:00
],
2024-04-20 09:27:59 +03:00
"type": "object"
2021-12-28 12:20:27 +03:00
},
"SnapshotProperties": {
2024-04-20 09:27:59 +03:00
"description": "Snapshot resource properties.",
2021-12-28 12:20:27 +03:00
"properties": {
"completionPercent": {
2024-04-20 09:27:59 +03:00
"description": "Percentage complete for the background copy when a resource is created via the CopyStart operation.",
2021-12-28 12:20:27 +03:00
"oneOf": [
{
"type": "number"
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
2024-04-20 09:27:59 +03:00
]
2021-12-28 12:20:27 +03:00
},
"creationData": {
2024-04-20 09:27:59 +03:00
"description": "Disk source information. CreationData information cannot be changed after the disk has been created.",
2021-12-28 12:20:27 +03:00
"oneOf": [
{
"$ref": "#/definitions/CreationData"
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
2024-04-20 09:27:59 +03:00
]
2021-12-28 12:20:27 +03:00
},
"diskAccessId": {
2024-04-20 09:27:59 +03:00
"description": "ARM id of the DiskAccess resource for using private endpoints on disks.",
"type": "string"
2021-12-28 12:20:27 +03:00
},
"diskSizeGB": {
2024-04-20 09:27:59 +03:00
"description": "If creationData.createOption is Empty, this field is mandatory and it indicates the size of the disk to create. If this field is present for updates or creation with other options, it indicates a resize. Resizes are only allowed if the disk is not attached to a running VM, and can only increase the disk's size.",
2021-12-28 12:20:27 +03:00
"oneOf": [
{
"type": "integer"
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
2024-04-20 09:27:59 +03:00
]
2021-12-28 12:20:27 +03:00
},
"encryption": {
2024-04-20 09:27:59 +03:00
"description": "Encryption property can be used to encrypt data at rest with customer managed keys or platform managed keys.",
2021-12-28 12:20:27 +03:00
"oneOf": [
{
"$ref": "#/definitions/Encryption"
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
2024-04-20 09:27:59 +03:00
]
2021-12-28 12:20:27 +03:00
},
"encryptionSettingsCollection": {
2024-04-20 09:27:59 +03:00
"description": "Encryption settings collection used be Azure Disk Encryption, can contain multiple encryption settings per disk or snapshot.",
2021-12-28 12:20:27 +03:00
"oneOf": [
{
"$ref": "#/definitions/EncryptionSettingsCollection"
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
2024-04-20 09:27:59 +03:00
]
2021-12-28 12:20:27 +03:00
},
"hyperVGeneration": {
2024-04-20 09:27:59 +03:00
"description": "The hypervisor generation of the Virtual Machine. Applicable to OS disks only.",
2021-12-28 12:20:27 +03:00
"oneOf": [
{
"enum": [
"V1",
"V2"
2024-04-20 09:27:59 +03:00
],
"type": "string"
2021-12-28 12:20:27 +03:00
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
2024-04-20 09:27:59 +03:00
]
2021-12-28 12:20:27 +03:00
},
"incremental": {
2024-04-20 09:27:59 +03:00
"description": "Whether a snapshot is incremental. Incremental snapshots on the same disk occupy less space than full snapshots and can be diffed.",
2021-12-28 12:20:27 +03:00
"oneOf": [
{
"type": "boolean"
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
2024-04-20 09:27:59 +03:00
]
2021-12-28 12:20:27 +03:00
},
"networkAccessPolicy": {
2024-04-20 09:27:59 +03:00
"description": "Policy for accessing the disk via network.",
2021-12-28 12:20:27 +03:00
"oneOf": [
{
"enum": [
"AllowAll",
"AllowPrivate",
"DenyAll"
2024-04-20 09:27:59 +03:00
],
"type": "string"
2021-12-28 12:20:27 +03:00
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
]
},
"osType": {
2024-04-20 09:27:59 +03:00
"description": "The Operating System type.",
2021-12-28 12:20:27 +03:00
"oneOf": [
{
"enum": [
"Windows",
"Linux"
2024-04-20 09:27:59 +03:00
],
"type": "string"
2021-12-28 12:20:27 +03:00
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
2024-04-20 09:27:59 +03:00
]
2021-12-28 12:20:27 +03:00
},
"publicNetworkAccess": {
2024-04-20 09:27:59 +03:00
"description": "Policy for controlling export on the disk.",
2021-12-28 12:20:27 +03:00
"oneOf": [
{
"enum": [
"Enabled",
"Disabled"
2024-04-20 09:27:59 +03:00
],
"type": "string"
2021-12-28 12:20:27 +03:00
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
]
},
"purchasePlan": {
2024-04-20 09:27:59 +03:00
"description": "Purchase plan information for the image from which the source disk for the snapshot was originally created.",
2021-12-28 12:20:27 +03:00
"oneOf": [
{
"$ref": "#/definitions/PurchasePlan"
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
2024-04-20 09:27:59 +03:00
]
2021-12-28 12:20:27 +03:00
},
"securityProfile": {
2024-04-20 09:27:59 +03:00
"description": "Contains the security related information for the resource.",
2021-12-28 12:20:27 +03:00
"oneOf": [
{
"$ref": "#/definitions/DiskSecurityProfile"
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
2024-04-20 09:27:59 +03:00
]
2021-12-28 12:20:27 +03:00
},
"supportedCapabilities": {
2024-04-20 09:27:59 +03:00
"description": "List of supported capabilities (like Accelerated Networking) for the image from which the source disk from the snapshot was originally created.",
2021-12-28 12:20:27 +03:00
"oneOf": [
{
"$ref": "#/definitions/SupportedCapabilities"
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
2024-04-20 09:27:59 +03:00
]
2021-12-28 12:20:27 +03:00
},
"supportsHibernation": {
2024-04-20 09:27:59 +03:00
"description": "Indicates the OS on a snapshot supports hibernation.",
2021-12-28 12:20:27 +03:00
"oneOf": [
{
"type": "boolean"
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
2024-04-20 09:27:59 +03:00
]
2021-12-28 12:20:27 +03:00
}
},
"required": [
"creationData"
],
2024-04-20 09:27:59 +03:00
"type": "object"
2021-12-28 12:20:27 +03:00
},
"SnapshotSku": {
2024-04-20 09:27:59 +03:00
"description": "The snapshots sku name. Can be Standard_LRS, Premium_LRS, or Standard_ZRS. This is an optional parameter for incremental snapshot and the default behavior is the SKU will be set to the same sku as the previous snapshot",
2021-12-28 12:20:27 +03:00
"properties": {
"name": {
2024-04-20 09:27:59 +03:00
"description": "The sku name.",
2021-12-28 12:20:27 +03:00
"oneOf": [
{
"enum": [
"Standard_LRS",
"Premium_LRS",
"Standard_ZRS"
2024-04-20 09:27:59 +03:00
],
"type": "string"
2021-12-28 12:20:27 +03:00
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
2024-04-20 09:27:59 +03:00
]
2021-12-28 12:20:27 +03:00
}
},
2024-04-20 09:27:59 +03:00
"type": "object"
2021-12-28 12:20:27 +03:00
},
"SourceVault": {
2024-04-20 09:27:59 +03:00
"description": "The vault id is an Azure Resource Manager Resource id in the form /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.KeyVault/vaults/{vaultName}",
2021-12-28 12:20:27 +03:00
"properties": {
"id": {
2024-04-20 09:27:59 +03:00
"description": "Resource Id",
"type": "string"
2021-12-28 12:20:27 +03:00
}
},
2024-04-20 09:27:59 +03:00
"type": "object"
2021-12-28 12:20:27 +03:00
},
"SupportedCapabilities": {
2024-04-20 09:27:59 +03:00
"description": "List of supported capabilities (like accelerated networking) persisted on the disk resource for VM use.",
2021-12-28 12:20:27 +03:00
"properties": {
"acceleratedNetwork": {
2024-04-20 09:27:59 +03:00
"description": "True if the image from which the OS disk is created supports accelerated networking.",
2021-12-28 12:20:27 +03:00
"oneOf": [
{
"type": "boolean"
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
2024-04-20 09:27:59 +03:00
]
}
},
"type": "object"
},
"diskAccesses_privateEndpointConnections_childResource": {
"description": "Microsoft.Compute/diskAccesses/privateEndpointConnections",
"properties": {
"apiVersion": {
"enum": [
"2021-08-01"
],
"type": "string"
},
"name": {
"description": "The name of the private endpoint connection.",
"type": "string"
},
"properties": {
"description": "Resource properties.",
"oneOf": [
{
"$ref": "#/definitions/PrivateEndpointConnectionProperties"
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
]
},
"type": {
"enum": [
"privateEndpointConnections"
2021-12-28 12:20:27 +03:00
],
2024-04-20 09:27:59 +03:00
"type": "string"
2021-12-28 12:20:27 +03:00
}
},
2024-04-20 09:27:59 +03:00
"required": [
"name",
"properties",
"apiVersion",
"type"
],
"type": "object"
2021-12-28 12:20:27 +03:00
}
}
}