diff --git a/schemas/2023-03-01-preview/Microsoft.ContainerStorage.json b/schemas/2023-03-01-preview/Microsoft.ContainerStorage.json deleted file mode 100644 index 026f719425..0000000000 --- a/schemas/2023-03-01-preview/Microsoft.ContainerStorage.json +++ /dev/null @@ -1,637 +0,0 @@ -{ - "id": "https://schema.management.azure.com/schemas/2023-03-01-preview/Microsoft.ContainerStorage.json#", - "$schema": "http://json-schema.org/draft-04/schema#", - "title": "Microsoft.ContainerStorage", - "description": "Microsoft ContainerStorage Resource Types", - "resourceDefinitions": { - "pools": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2023-03-01-preview" - ] - }, - "location": { - "type": "string", - "description": "The geo-location where the resource lives" - }, - "name": { - "oneOf": [ - { - "type": "string", - "pattern": "^[a-zA-Z0-9-]{3,24}$" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Pool Object" - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/PoolProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Pool Properties" - }, - "resources": { - "type": "array", - "items": { - "oneOf": [ - { - "$ref": "#/definitions/pools_volumes_childResource" - }, - { - "$ref": "#/definitions/pools_volumeSnapshots_childResource" - } - ] - } - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Resource tags." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.ContainerStorage/pools" - ] - } - }, - "required": [ - "apiVersion", - "location", - "name", - "properties", - "type" - ], - "description": "Microsoft.ContainerStorage/pools" - }, - "pools_volumes": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2023-03-01-preview" - ] - }, - "name": { - "oneOf": [ - { - "type": "string", - "pattern": "^[a-zA-Z0-9-]{3,24}$" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Volume Resource" - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/VolumeProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Volume Properties" - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.ContainerStorage/pools/volumes" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.ContainerStorage/pools/volumes" - }, - "pools_volumeSnapshots": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2023-03-01-preview" - ] - }, - "name": { - "oneOf": [ - { - "type": "string", - "pattern": "^[a-zA-Z0-9-]{3,24}$" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Volume Snapshot Resource" - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/VolumeSnapshotProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Volume Snapshot Properties" - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.ContainerStorage/pools/volumeSnapshots" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.ContainerStorage/pools/volumeSnapshots" - } - }, - "definitions": { - "DiskPoolProperties": { - "type": "object", - "properties": { - "csiParams": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "List of KV pairs to set in StorageClass to configure CSI driver." - }, - "disks": { - "oneOf": [ - { - "type": "array", - "items": { - "type": "string" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Only required if individual disk selection is desired. Path to disk, e.g. :/dev/sda or WWN. Supports specifying multiple disks (same syntax as tags)." - }, - "maxVolumeCapacityGiB": { - "oneOf": [ - { - "type": "integer", - "default": "512" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Maximum capacity of the volumes in GiB the user intends to create. Default 512." - } - }, - "description": "Disk Pool Properties" - }, - "ElasticSanPoolProperties": { - "type": "object", - "properties": { - "resourceGroup": { - "type": "string", - "description": "Resource group of an existing SAN." - }, - "sanName": { - "type": "string", - "description": "Name of an existing SAN." - }, - "volumeGroup": { - "type": "string", - "description": "Volume group of an existing SAN." - } - }, - "required": [ - "resourceGroup", - "sanName", - "volumeGroup" - ], - "description": "Elastic San Pool Properties" - }, - "EphemeralPoolProperties": { - "type": "object", - "properties": { - "diskFormat": { - "oneOf": [ - { - "type": "boolean", - "default": false - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Consent to format the local disks." - }, - "disks": { - "oneOf": [ - { - "type": "array", - "items": { - "type": "string" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Only required if individual disk selection is desired. Path to disk, e.g. :/dev/sda or WWN. Supports specifying multiple disks (same syntax as tags)." - }, - "diskSelector": { - "oneOf": [ - { - "type": "array", - "items": { - "type": "string" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Template name or KV pairs containing disk selection criteria, e.g. model=\"Microsoft NVMe Direct Disk\" to match all Lsv2 NVMe disks." - } - }, - "required": [ - "disks", - "diskSelector" - ], - "description": "Ephemeral Pool Properties" - }, - "PoolProperties": { - "type": "object", - "properties": { - "assignments": { - "oneOf": [ - { - "type": "array", - "items": { - "type": "string" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "List of resources that should have access to the pool. Typically ARM references to AKS clusters or ACI Container Groups. For local and standard this must be a single reference. For portable there can be many." - }, - "diskPoolProperties": { - "oneOf": [ - { - "$ref": "#/definitions/DiskPoolProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Disk Pool Properties" - }, - "elasticSanPoolProperties": { - "oneOf": [ - { - "$ref": "#/definitions/ElasticSanPoolProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Elastic San Pool Properties" - }, - "ephemeralPoolProperties": { - "oneOf": [ - { - "$ref": "#/definitions/EphemeralPoolProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Ephemeral Pool Properties" - }, - "poolCapacityGiB": { - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Initial capacity of the pool in GiB." - }, - "poolType": { - "oneOf": [ - { - "type": "number" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Type of the Pool: ephemeral, disk, managed, or elasticsan." - }, - "zones": { - "oneOf": [ - { - "type": "array", - "items": { - "type": "string" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "List of availability zones that resources can be created in." - } - }, - "required": [ - "assignments", - "elasticSanPoolProperties", - "poolCapacityGiB", - "poolType", - "zones" - ], - "description": "Pool Properties" - }, - "pools_volumeSnapshots_childResource": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2023-03-01-preview" - ] - }, - "name": { - "oneOf": [ - { - "type": "string", - "pattern": "^[a-zA-Z0-9-]{3,24}$" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Volume Snapshot Resource" - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/VolumeSnapshotProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Volume Snapshot Properties" - }, - "type": { - "type": "string", - "enum": [ - "volumeSnapshots" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.ContainerStorage/pools/volumeSnapshots" - }, - "pools_volumes_childResource": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2023-03-01-preview" - ] - }, - "name": { - "oneOf": [ - { - "type": "string", - "pattern": "^[a-zA-Z0-9-]{3,24}$" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Volume Resource" - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/VolumeProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Volume Properties" - }, - "type": { - "type": "string", - "enum": [ - "volumes" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.ContainerStorage/pools/volumes" - }, - "VolumeProperties": { - "type": "object", - "properties": { - "capacityGiB": { - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Requested capacity in GiB" - }, - "labels": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "String KV pairs indicating labels" - }, - "mountOptions": { - "oneOf": [ - { - "type": "array", - "items": { - "type": "string" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "List of string mount options" - }, - "reclaimPolicy": { - "oneOf": [ - { - "type": "string", - "enum": [ - "Delete", - "Retain" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Reclaim Policy, Delete or Retain." - }, - "volumeMode": { - "oneOf": [ - { - "type": "string", - "enum": [ - "Filesystem", - "Raw" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Indicates how the volume should be attached." - } - }, - "required": [ - "capacityGiB", - "labels", - "mountOptions", - "reclaimPolicy", - "volumeMode" - ], - "description": "Volume Properties" - }, - "VolumeSnapshotProperties": { - "type": "object", - "properties": { - "mountOptions": { - "oneOf": [ - { - "type": "array", - "items": { - "type": "string" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "List of string mount options" - }, - "reclaimPolicy": { - "oneOf": [ - { - "type": "string", - "enum": [ - "Delete", - "Retain" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Reclaim Policy, Delete or Retain." - }, - "source": { - "type": "string", - "description": "Reference to the source volume" - }, - "volumeMode": { - "oneOf": [ - { - "type": "string", - "enum": [ - "Filesystem", - "Raw" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Indicates how the volumes created from the snapshot should be attached." - } - }, - "required": [ - "mountOptions", - "reclaimPolicy", - "source", - "volumeMode" - ], - "description": "Volume Snapshot Properties" - } - } -} \ No newline at end of file diff --git a/schemas/common/autogeneratedResources.json b/schemas/common/autogeneratedResources.json index d4926b4c34..6ca1edac1e 100644 --- a/schemas/common/autogeneratedResources.json +++ b/schemas/common/autogeneratedResources.json @@ -8269,15 +8269,6 @@ { "$ref": "https://schema.management.azure.com/schemas/2023-01-02-preview/Microsoft.ContainerService.json#/resourceDefinitions/snapshots" }, - { - "$ref": "https://schema.management.azure.com/schemas/2023-03-01-preview/Microsoft.ContainerStorage.json#/resourceDefinitions/pools" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2023-03-01-preview/Microsoft.ContainerStorage.json#/resourceDefinitions/pools_volumes" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2023-03-01-preview/Microsoft.ContainerStorage.json#/resourceDefinitions/pools_volumeSnapshots" - }, { "$ref": "https://schema.management.azure.com/schemas/2018-05-31/Microsoft.CostManagement.json#/resourceDefinitions/reportconfigs" },