From 9b412d71cbdc3dec3644a634a9deaccb7735f591 Mon Sep 17 00:00:00 2001 From: SDKAuto Date: Wed, 16 Nov 2022 11:02:24 +0000 Subject: [PATCH] CodeGen from PR 2729 in test-repo-billy/azure-rest-api-specs Merge e6f6e6cd491bcbef6f88b44633323ed3d679a8de into 4f2b947e69be7eb813b048c815f879101ee2bf2a --- .../Microsoft.AzureStackHCI.json | 3441 +++++++++++++++++ schemas/common/autogeneratedResources.json | 39 + 2 files changed, 3480 insertions(+) create mode 100644 schemas/2021-09-01-preview/Microsoft.AzureStackHCI.json diff --git a/schemas/2021-09-01-preview/Microsoft.AzureStackHCI.json b/schemas/2021-09-01-preview/Microsoft.AzureStackHCI.json new file mode 100644 index 0000000000..979b9ac19b --- /dev/null +++ b/schemas/2021-09-01-preview/Microsoft.AzureStackHCI.json @@ -0,0 +1,3441 @@ +{ + "id": "https://schema.management.azure.com/schemas/2021-09-01-preview/Microsoft.AzureStackHCI.json#", + "$schema": "http://json-schema.org/draft-04/schema#", + "title": "Microsoft.AzureStackHCI", + "description": "Microsoft AzureStackHCI Resource Types", + "resourceDefinitions": { + "clusters": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-09-01-preview" + ] + }, + "location": { + "type": "string", + "description": "The geo-location where the resource lives" + }, + "name": { + "type": "string", + "description": "The name of the cluster." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/ClusterProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Cluster properties." + }, + "resources": { + "type": "array", + "items": { + "oneOf": [ + { + "$ref": "#/definitions/clusters_arcSettings_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.AzureStackHCI/clusters" + ] + } + }, + "required": [ + "apiVersion", + "location", + "name", + "properties", + "type" + ], + "description": "Microsoft.AzureStackHCI/clusters" + }, + "clusters_arcSettings": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-09-01-preview" + ] + }, + "name": { + "type": "string", + "description": "The name of the proxy resource holding details of HCI ArcSetting information." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/ArcSettingProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "ArcSetting properties." + }, + "resources": { + "type": "array", + "items": { + "oneOf": [ + { + "$ref": "#/definitions/clusters_arcSettings_extensions_childResource" + } + ] + } + }, + "type": { + "type": "string", + "enum": [ + "Microsoft.AzureStackHCI/clusters/arcSettings" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.AzureStackHCI/clusters/arcSettings" + }, + "clusters_arcSettings_extensions": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-09-01-preview" + ] + }, + "name": { + "type": "string", + "description": "The name of the machine extension." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/ExtensionProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Status of Arc Extension for a particular node in HCI Cluster." + }, + "type": { + "type": "string", + "enum": [ + "Microsoft.AzureStackHCI/clusters/arcSettings/extensions" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.AzureStackHCI/clusters/arcSettings/extensions" + }, + "galleryimages": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-09-01-preview" + ] + }, + "extendedLocation": { + "oneOf": [ + { + "$ref": "#/definitions/ExtendedLocation" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The complex type of the extended location." + }, + "location": { + "type": "string", + "description": "The geo-location where the resource lives" + }, + "name": { + "type": "string", + "minLength": 3, + "maxLength": 64, + "description": "Name of the gallery image" + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/GalleryimagesProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Properties of a gallery image resource" + }, + "systemData": { + "oneOf": [ + { + "$ref": "#/definitions/SystemData" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Metadata pertaining to creation and last modification of the resource." + }, + "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.AzureStackHCI/galleryimages" + ] + } + }, + "required": [ + "apiVersion", + "location", + "name", + "properties", + "type" + ], + "description": "Microsoft.AzureStackHCI/galleryimages" + }, + "marketplacegalleryimages": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-09-01-preview" + ] + }, + "extendedLocation": { + "oneOf": [ + { + "$ref": "#/definitions/ExtendedLocation" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The complex type of the extended location." + }, + "location": { + "type": "string", + "description": "The geo-location where the resource lives" + }, + "name": { + "type": "string", + "minLength": 3, + "maxLength": 64, + "description": "Name of the marketplace gallery image" + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/MarketplacegalleryimagesProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Properties of a marketplace gallery image resource" + }, + "systemData": { + "oneOf": [ + { + "$ref": "#/definitions/SystemData" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Metadata pertaining to creation and last modification of the resource." + }, + "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.AzureStackHCI/marketplacegalleryimages" + ] + } + }, + "required": [ + "apiVersion", + "location", + "name", + "properties", + "type" + ], + "description": "Microsoft.AzureStackHCI/marketplacegalleryimages" + }, + "networkinterfaces": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-09-01-preview" + ] + }, + "extendedLocation": { + "oneOf": [ + { + "$ref": "#/definitions/ExtendedLocation" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The complex type of the extended location." + }, + "location": { + "type": "string", + "description": "The geo-location where the resource lives" + }, + "name": { + "type": "string", + "minLength": 3, + "maxLength": 64 + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/NetworkinterfacesProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Properties of a network interface resource" + }, + "systemData": { + "oneOf": [ + { + "$ref": "#/definitions/SystemData" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Metadata pertaining to creation and last modification of the resource." + }, + "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.AzureStackHCI/networkinterfaces" + ] + } + }, + "required": [ + "apiVersion", + "location", + "name", + "properties", + "type" + ], + "description": "Microsoft.AzureStackHCI/networkinterfaces" + }, + "storagecontainers": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-09-01-preview" + ] + }, + "extendedLocation": { + "oneOf": [ + { + "$ref": "#/definitions/StoragecontainersExtendedLocation" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ] + }, + "location": { + "type": "string", + "description": "The resource location" + }, + "name": { + "type": "string", + "minLength": 3, + "maxLength": 64 + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/StoragecontainersProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Properties of a storage container resource" + }, + "systemData": { + "oneOf": [ + { + "$ref": "#/definitions/SystemData" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Metadata pertaining to creation and last modification of the resource." + }, + "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.AzureStackHCI/storagecontainers" + ] + } + }, + "required": [ + "apiVersion", + "location", + "name", + "properties", + "type" + ], + "description": "Microsoft.AzureStackHCI/storagecontainers" + }, + "virtualharddisks": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-09-01-preview" + ] + }, + "extendedLocation": { + "oneOf": [ + { + "$ref": "#/definitions/ExtendedLocation" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The complex type of the extended location." + }, + "location": { + "type": "string", + "description": "The geo-location where the resource lives" + }, + "name": { + "type": "string", + "minLength": 3, + "maxLength": 64 + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/VirtualharddisksProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Properties of a virtual hard disk resource" + }, + "systemData": { + "oneOf": [ + { + "$ref": "#/definitions/SystemData" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Metadata pertaining to creation and last modification of the resource." + }, + "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.AzureStackHCI/virtualharddisks" + ] + } + }, + "required": [ + "apiVersion", + "location", + "name", + "properties", + "type" + ], + "description": "Microsoft.AzureStackHCI/virtualharddisks" + }, + "virtualmachines": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-09-01-preview" + ] + }, + "extendedLocation": { + "oneOf": [ + { + "$ref": "#/definitions/ExtendedLocation" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The complex type of the extended location." + }, + "identity": { + "oneOf": [ + { + "$ref": "#/definitions/Identity" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Identity for the resource." + }, + "location": { + "type": "string", + "description": "The geo-location where the resource lives" + }, + "name": { + "type": "string", + "minLength": 3, + "maxLength": 64 + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/VirtualmachinesProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Properties of a virtual machine resource" + }, + "resources": { + "type": "array", + "items": { + "oneOf": [ + { + "$ref": "#/definitions/virtualMachines_hybridIdentityMetadata_childResource" + }, + { + "$ref": "#/definitions/virtualMachines_extensions_childResource" + }, + { + "$ref": "#/definitions/virtualMachines_guestAgents_childResource" + } + ] + } + }, + "systemData": { + "oneOf": [ + { + "$ref": "#/definitions/SystemData" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Metadata pertaining to creation and last modification of the resource." + }, + "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.AzureStackHCI/virtualmachines" + ] + } + }, + "required": [ + "apiVersion", + "location", + "name", + "properties", + "type" + ], + "description": "Microsoft.AzureStackHCI/virtualmachines" + }, + "virtualMachines_extensions": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-09-01-preview" + ] + }, + "location": { + "type": "string", + "description": "The geo-location where the resource lives" + }, + "name": { + "type": "string", + "description": "The name of the machine extension." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/MachineExtensionProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Describes the properties of a Machine Extension." + }, + "systemData": { + "oneOf": [ + { + "$ref": "#/definitions/SystemData" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Metadata pertaining to creation and last modification of the resource." + }, + "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.AzureStackHCI/virtualMachines/extensions" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.AzureStackHCI/virtualMachines/extensions" + }, + "virtualMachines_guestAgents": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-09-01-preview" + ] + }, + "name": { + "type": "string", + "description": "Name of the guestAgents." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/GuestAgentProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Defines the resource properties." + }, + "systemData": { + "oneOf": [ + { + "$ref": "#/definitions/SystemData" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Metadata pertaining to creation and last modification of the resource." + }, + "type": { + "type": "string", + "enum": [ + "Microsoft.AzureStackHCI/virtualMachines/guestAgents" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.AzureStackHCI/virtualMachines/guestAgents" + }, + "virtualMachines_hybridIdentityMetadata": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-09-01-preview" + ] + }, + "name": { + "type": "string", + "description": "Name of the hybridIdentityMetadata." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/HybridIdentityMetadataProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Defines the resource properties." + }, + "systemData": { + "oneOf": [ + { + "$ref": "#/definitions/SystemData" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Metadata pertaining to creation and last modification of the resource." + }, + "type": { + "type": "string", + "enum": [ + "Microsoft.AzureStackHCI/virtualMachines/hybridIdentityMetadata" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.AzureStackHCI/virtualMachines/hybridIdentityMetadata" + }, + "virtualnetworks": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-09-01-preview" + ] + }, + "extendedLocation": { + "oneOf": [ + { + "$ref": "#/definitions/ExtendedLocation" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The complex type of the extended location." + }, + "location": { + "type": "string", + "description": "The geo-location where the resource lives" + }, + "name": { + "type": "string", + "minLength": 3, + "maxLength": 64 + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/VirtualnetworksProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Properties of a virtual network resource" + }, + "systemData": { + "oneOf": [ + { + "$ref": "#/definitions/SystemData" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Metadata pertaining to creation and last modification of the resource." + }, + "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.AzureStackHCI/virtualnetworks" + ] + } + }, + "required": [ + "apiVersion", + "location", + "name", + "properties", + "type" + ], + "description": "Microsoft.AzureStackHCI/virtualnetworks" + } + }, + "definitions": { + "ArcSettingProperties": { + "type": "object", + "properties": {}, + "description": "ArcSetting properties." + }, + "ClusterDesiredProperties": { + "type": "object", + "properties": { + "diagnosticLevel": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Off", + "Basic", + "Enhanced" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Desired level of diagnostic data emitted by the cluster." + }, + "windowsServerSubscription": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Disabled", + "Enabled" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Desired state of Windows Server Subscription." + } + }, + "description": "Desired properties of the cluster." + }, + "ClusterProperties": { + "type": "object", + "properties": { + "aadClientId": { + "type": "string", + "description": "App id of cluster AAD identity." + }, + "aadTenantId": { + "type": "string", + "description": "Tenant id of cluster AAD identity." + }, + "cloudManagementEndpoint": { + "type": "string", + "description": "Endpoint configured for management from the Azure portal." + }, + "desiredProperties": { + "oneOf": [ + { + "$ref": "#/definitions/ClusterDesiredProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Desired properties of the cluster." + } + }, + "required": [ + "aadClientId", + "aadTenantId" + ], + "description": "Cluster properties." + }, + "clusters_arcSettings_childResource": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-09-01-preview" + ] + }, + "name": { + "type": "string", + "description": "The name of the proxy resource holding details of HCI ArcSetting information." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/ArcSettingProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "ArcSetting properties." + }, + "type": { + "type": "string", + "enum": [ + "arcSettings" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.AzureStackHCI/clusters/arcSettings" + }, + "clusters_arcSettings_extensions_childResource": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-09-01-preview" + ] + }, + "name": { + "type": "string", + "description": "The name of the machine extension." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/ExtensionProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Status of Arc Extension for a particular node in HCI Cluster." + }, + "type": { + "type": "string", + "enum": [ + "extensions" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.AzureStackHCI/clusters/arcSettings/extensions" + }, + "Componentsl15gkaschemasvirtualnetworkspropertiespropertiessubnetsitemspropertiespropertiespropertiesroutetable": { + "type": "object", + "properties": { + "id": { + "type": "string", + "description": "Etag - Gets a unique read-only string that changes whenever the resource is updated." + }, + "name": { + "type": "string", + "description": "Name - READ-ONLY; Resource name." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/Componentsoycd2yschemasvirtualnetworkspropertiespropertiessubnetsitemspropertiespropertiespropertiesroutetablepropertiesproperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "RouteTablePropertiesFormat route Table resource." + }, + "type": { + "type": "string", + "description": "Type - READ-ONLY; Resource type." + } + }, + "description": "RouteTable for the subnet" + }, + "Componentsoycd2yschemasvirtualnetworkspropertiespropertiessubnetsitemspropertiespropertiespropertiesroutetablepropertiesproperties": { + "type": "object", + "properties": { + "routes": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/VirtualnetworksPropertiesSubnetsPropertiesPropertiesPropertiesPropertiesItemsItem" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Routes - Collection of routes contained within a route table." + } + }, + "description": "RouteTablePropertiesFormat route Table resource." + }, + "Componentsvqks9hschemasvirtualnetworkspropertiespropertiessubnetsitemspropertiespropertiespropertiesipconfigurationreferencesitems": { + "type": "object", + "properties": { + "ID": { + "type": "string", + "description": "IPConfigurationID" + } + }, + "description": "IPConfigurationReference - Describes a IPConfiguration under the virtual network" + }, + "ExtendedLocation": { + "type": "object", + "properties": { + "name": { + "type": "string", + "description": "The name of the extended location." + }, + "type": { + "oneOf": [ + { + "type": "string", + "enum": [ + "CustomLocation" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The type of the extended location." + } + }, + "description": "The complex type of the extended location." + }, + "ExtensionParameters": { + "type": "object", + "properties": { + "autoUpgradeMinorVersion": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Indicates whether the extension should use a newer minor version if one is available at deployment time. Once deployed, however, the extension will not upgrade minor versions unless redeployed, even with this property set to true." + }, + "forceUpdateTag": { + "type": "string", + "description": "How the extension handler should be forced to update even if the extension configuration has not changed." + }, + "protectedSettings": { + "type": "object", + "properties": {}, + "description": "Protected settings (may contain secrets)." + }, + "publisher": { + "type": "string", + "description": "The name of the extension handler publisher." + }, + "settings": { + "type": "object", + "properties": {}, + "description": "Json formatted public settings for the extension." + }, + "type": { + "type": "string", + "description": "Specifies the type of the extension; an example is \"CustomScriptExtension\"." + }, + "typeHandlerVersion": { + "type": "string", + "description": "Specifies the version of the script handler." + } + }, + "description": "Describes the properties of a Machine Extension. This object mirrors the definition in HybridCompute." + }, + "ExtensionProperties": { + "type": "object", + "properties": { + "extensionParameters": { + "oneOf": [ + { + "$ref": "#/definitions/ExtensionParameters" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Describes the properties of a Machine Extension. This object mirrors the definition in HybridCompute." + } + }, + "description": "Status of Arc Extension for a particular node in HCI Cluster." + }, + "GalleryImageIdentifier": { + "type": "object", + "properties": { + "offer": { + "type": "string", + "description": "The name of the gallery image definition offer." + }, + "publisher": { + "type": "string", + "description": "The name of the gallery image definition publisher." + }, + "sku": { + "type": "string", + "description": "The name of the gallery image definition SKU." + } + }, + "required": [ + "offer", + "publisher", + "sku" + ], + "description": "This is the gallery image definition identifier." + }, + "GalleryimagesProperties": { + "type": "object", + "properties": { + "cloudInitDataSource": { + "oneOf": [ + { + "type": "string", + "enum": [ + "NoCloud", + "Azure" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Datasource for the gallery image when provisioning with cloud-init (Azure or NoCloud)." + }, + "containerName": { + "type": "string", + "description": "Container Name for storage container" + }, + "hyperVGeneration": { + "oneOf": [ + { + "type": "string", + "enum": [ + "V1", + "V2" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The hypervisor generation of the Virtual Machine [V1, V2]." + }, + "identifier": { + "oneOf": [ + { + "$ref": "#/definitions/GalleryImageIdentifier" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "This is the gallery image definition identifier." + }, + "imagePath": { + "type": "string", + "description": "location of the image the gallery image should be created from" + }, + "osType": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Windows", + "Linux" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "operating system type that the gallery image uses. Expected to be linux or windows." + }, + "resourceName": { + "type": "string", + "description": "name of the object to be used in moc" + }, + "status": { + "oneOf": [ + { + "$ref": "#/definitions/GalleryImageStatus" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "GalleryImageStatus defines the observed state of galleryimages" + }, + "version": { + "oneOf": [ + { + "$ref": "#/definitions/GalleryImageVersion" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Specifies information about the gallery image version that you want to create or update." + } + }, + "description": "Properties of a gallery image resource" + }, + "GalleryImageStatus": { + "type": "object", + "properties": { + "downloadStatus": { + "oneOf": [ + { + "$ref": "#/definitions/GalleryImageStatusDownloadStatus" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The download status of the gallery image" + }, + "errorCode": { + "type": "string", + "description": "Gallery image provisioning error code" + }, + "errorMessage": { + "type": "string", + "description": "Descriptive error message" + }, + "progressPercentage": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The progress of the operation in percentage" + }, + "provisioningStatus": { + "oneOf": [ + { + "$ref": "#/definitions/GalleryImageStatusProvisioningStatus" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The provisioning status of the gallery image" + } + }, + "description": "GalleryImageStatus defines the observed state of galleryimages" + }, + "GalleryImageStatusDownloadStatus": { + "type": "object", + "properties": { + "downloadSizeInMB": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The downloaded sized of the image in MB" + } + }, + "description": "The download status of the gallery image" + }, + "GalleryImageStatusProvisioningStatus": { + "type": "object", + "properties": { + "operationId": { + "type": "string", + "description": "The ID of the operation performed on the gallery image" + }, + "status": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Succeeded", + "Failed", + "InProgress" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The status of the operation performed on the gallery image [Succeeded, Failed, InProgress]." + } + }, + "description": "The provisioning status of the gallery image" + }, + "GalleryImageVersion": { + "type": "object", + "properties": { + "name": { + "type": "string", + "description": "This is the version of the gallery image." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/GalleryImageVersionProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Describes the properties of a gallery image version." + } + }, + "description": "Specifies information about the gallery image version that you want to create or update." + }, + "GalleryImageVersionProperties": { + "type": "object", + "properties": { + "storageProfile": { + "oneOf": [ + { + "$ref": "#/definitions/GalleryImageVersionStorageProfile" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "This is the storage profile of a Gallery Image Version." + } + }, + "required": [ + "storageProfile" + ], + "description": "Describes the properties of a gallery image version." + }, + "GalleryImageVersionStorageProfile": { + "type": "object", + "properties": { + "osDiskImage": { + "oneOf": [ + { + "$ref": "#/definitions/GalleryOSDiskImage" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "This is the OS disk image." + } + }, + "description": "This is the storage profile of a Gallery Image Version." + }, + "GalleryOSDiskImage": { + "type": "object", + "properties": {}, + "description": "This is the OS disk image." + }, + "GuestAgentProfile": { + "type": "object", + "properties": {}, + "description": "Defines the resource properties." + }, + "GuestAgentProperties": { + "type": "object", + "properties": { + "credentials": { + "oneOf": [ + { + "$ref": "#/definitions/GuestCredential" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Username / Password Credentials to connect to guest." + }, + "httpProxyConfig": { + "oneOf": [ + { + "$ref": "#/definitions/HttpProxyConfiguration" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "HTTP Proxy configuration for the VM." + }, + "provisioningAction": { + "oneOf": [ + { + "type": "string", + "enum": [ + "install", + "uninstall", + "repair" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The guest agent provisioning action." + } + }, + "description": "Defines the resource properties." + }, + "GuestCredential": { + "type": "object", + "properties": { + "password": { + "type": "string", + "description": "The password to connect with the guest." + }, + "username": { + "type": "string", + "description": "The username to connect with the guest." + } + }, + "description": "Username / Password Credentials to connect to guest." + }, + "HttpProxyConfiguration": { + "type": "object", + "properties": { + "httpsProxy": { + "type": "string", + "description": "The httpsProxy url." + } + }, + "description": "HTTP Proxy configuration for the VM." + }, + "HybridIdentityMetadataProperties": { + "type": "object", + "properties": { + "publicKey": { + "type": "string", + "description": "The Public Key." + }, + "resourceUid": { + "type": "string", + "description": "The unique identifier for the resource." + } + }, + "description": "Defines the resource properties." + }, + "Identity": { + "type": "object", + "properties": { + "type": { + "oneOf": [ + { + "type": "string", + "enum": [ + "SystemAssigned" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The identity type." + } + }, + "description": "Identity for the resource." + }, + "InterfaceDNSSettings": { + "type": "object", + "properties": { + "dnsServers": { + "oneOf": [ + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "List of DNS server IP Addresses for the interface" + } + } + }, + "IpConfiguration": { + "type": "object", + "properties": { + "name": { + "type": "string", + "description": "Name - The name of the resource that is unique within a resource group. This name can be used to access the resource." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/IpConfigurationProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "InterfaceIPConfigurationPropertiesFormat properties of IP configuration." + } + }, + "description": "InterfaceIPConfiguration iPConfiguration in a network interface." + }, + "IpConfigurationProperties": { + "type": "object", + "properties": { + "gateway": { + "type": "string", + "description": "Gateway for network interface" + }, + "prefixLength": { + "type": "string", + "description": "prefixLength for network interface" + }, + "privateIPAddress": { + "type": "string", + "description": "PrivateIPAddress - Private IP address of the IP configuration." + }, + "privateIPAllocationMethod": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Dynamic", + "Static" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "PrivateIPAllocationMethod - The private IP address allocation method." + }, + "subnet": { + "oneOf": [ + { + "$ref": "#/definitions/IpConfigurationPropertiesSubnet" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Subnet - Name of Subnet bound to the IP configuration." + } + }, + "description": "InterfaceIPConfigurationPropertiesFormat properties of IP configuration." + }, + "IpConfigurationPropertiesSubnet": { + "type": "object", + "properties": { + "id": { + "type": "string", + "description": "ID - The ARM resource id in the form of /subscriptions/{SubscriptionId}/resourceGroups/{ResourceGroupName}/..." + } + }, + "description": "Subnet - Name of Subnet bound to the IP configuration." + }, + "IPPool": { + "type": "object", + "properties": { + "end": { + "type": "string", + "description": "end of the ip address pool" + }, + "info": { + "oneOf": [ + { + "$ref": "#/definitions/IPPoolInfo" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ] + }, + "ipPoolType": { + "oneOf": [ + { + "type": "string", + "enum": [ + "vm", + "vippool" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "ip pool type." + }, + "start": { + "type": "string", + "description": "start of the ip address pool" + } + } + }, + "IPPoolInfo": { + "type": "object", + "properties": {} + }, + "MachineExtensionInstanceViewStatus": { + "type": "object", + "properties": {}, + "description": "Instance view status." + }, + "MachineExtensionProperties": { + "type": "object", + "properties": { + "autoUpgradeMinorVersion": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Indicates whether the extension should use a newer minor version if one is available at deployment time. Once deployed, however, the extension will not upgrade minor versions unless redeployed, even with this property set to true." + }, + "forceUpdateTag": { + "type": "string", + "description": "How the extension handler should be forced to update even if the extension configuration has not changed." + }, + "instanceView": { + "oneOf": [ + { + "$ref": "#/definitions/MachineExtensionPropertiesInstanceView" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The machine extension instance view." + }, + "protectedSettings": { + "type": "object", + "properties": {}, + "description": "The extension can contain either protectedSettings or protectedSettingsFromKeyVault or no protected settings at all." + }, + "publisher": { + "type": "string", + "description": "The name of the extension handler publisher." + }, + "settings": { + "type": "object", + "properties": {}, + "description": "Json formatted public settings for the extension." + }, + "type": { + "type": "string", + "description": "Specifies the type of the extension; an example is \"CustomScriptExtension\"." + }, + "typeHandlerVersion": { + "type": "string", + "description": "Specifies the version of the script handler." + } + }, + "description": "Describes the properties of a Machine Extension." + }, + "MachineExtensionPropertiesInstanceView": { + "type": "object", + "properties": { + "status": { + "oneOf": [ + { + "$ref": "#/definitions/MachineExtensionInstanceViewStatus" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Instance view status." + } + }, + "description": "The machine extension instance view." + }, + "MarketplacegalleryimagesProperties": { + "type": "object", + "properties": { + "cloudInitDataSource": { + "oneOf": [ + { + "type": "string", + "enum": [ + "NoCloud", + "Azure" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Datasource for the gallery image when provisioning with cloud-init [Azure, NoCloud]." + }, + "containerName": { + "type": "string", + "description": "Container Name for storage container" + }, + "hyperVGeneration": { + "oneOf": [ + { + "type": "string", + "enum": [ + "V1", + "V2" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The hypervisor generation of the Virtual Machine [V1, V2]." + }, + "identifier": { + "oneOf": [ + { + "$ref": "#/definitions/GalleryImageIdentifier" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "This is the gallery image definition identifier." + }, + "osType": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Windows", + "Linux" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "operating system type that the gallery image uses. Expected to be linux or windows." + }, + "resourceName": { + "type": "string", + "description": "name of the object to be used in moc" + }, + "status": { + "oneOf": [ + { + "$ref": "#/definitions/MarketplaceGalleryImageStatus" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "MarketplaceGalleryImageStatus defines the observed state of marketplacegalleryimages" + }, + "version": { + "oneOf": [ + { + "$ref": "#/definitions/GalleryImageVersion" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Specifies information about the gallery image version that you want to create or update." + } + }, + "description": "Properties of a marketplace gallery image resource" + }, + "MarketplaceGalleryImageStatus": { + "type": "object", + "properties": { + "downloadStatus": { + "oneOf": [ + { + "$ref": "#/definitions/MarketplaceGalleryImageStatusDownloadStatus" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The download status of the marketplace gallery image" + }, + "errorCode": { + "type": "string", + "description": "Marketplace gallery image provisioning error code" + }, + "errorMessage": { + "type": "string", + "description": "Descriptive error message" + }, + "progressPercentage": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The progress of the operation in percentage" + }, + "provisioningStatus": { + "oneOf": [ + { + "$ref": "#/definitions/MarketplaceGalleryImageStatusProvisioningStatus" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The provisioning status of the marketplace gallery image" + } + }, + "description": "MarketplaceGalleryImageStatus defines the observed state of marketplacegalleryimages" + }, + "MarketplaceGalleryImageStatusDownloadStatus": { + "type": "object", + "properties": { + "downloadSizeInMB": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The downloaded sized of the image in MB" + } + }, + "description": "The download status of the marketplace gallery image" + }, + "MarketplaceGalleryImageStatusProvisioningStatus": { + "type": "object", + "properties": { + "operationId": { + "type": "string", + "description": "The ID of the operation performed on the marketplace gallery image" + }, + "status": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Succeeded", + "Failed", + "InProgress" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The status of the operation performed on the marketplace gallery image [Succeeded, Failed, InProgress]." + } + }, + "description": "The provisioning status of the marketplace gallery image" + }, + "NetworkinterfacesProperties": { + "type": "object", + "properties": { + "dnsSettings": { + "oneOf": [ + { + "$ref": "#/definitions/InterfaceDNSSettings" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ] + }, + "ipConfigurations": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/IpConfiguration" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "IPConfigurations - A list of IPConfigurations of the network interface." + }, + "macAddress": { + "type": "string", + "description": "MacAddress - The MAC address of the network interface." + }, + "resourceName": { + "type": "string", + "description": "name of the object to be used in moc" + }, + "status": { + "oneOf": [ + { + "$ref": "#/definitions/NetworkInterfaceStatus" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "NetworkInterfaceStatus defines the observed state of network interfaces" + } + }, + "description": "Properties of a network interface resource" + }, + "NetworkInterfaceStatus": { + "type": "object", + "properties": { + "errorCode": { + "type": "string", + "description": "NetworkInterface provisioning error code" + }, + "errorMessage": { + "type": "string", + "description": "Descriptive error message" + }, + "provisioningStatus": { + "oneOf": [ + { + "$ref": "#/definitions/NetworkInterfaceStatusProvisioningStatus" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The provisioning status of the network interface" + } + }, + "description": "NetworkInterfaceStatus defines the observed state of network interfaces" + }, + "NetworkInterfaceStatusProvisioningStatus": { + "type": "object", + "properties": { + "operationId": { + "type": "string", + "description": "The ID of the operation performed on the network interface" + }, + "status": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Succeeded", + "Failed", + "InProgress" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The status of the operation performed on the network interface [Succeeded, Failed, InProgress]." + } + }, + "description": "The provisioning status of the network interface" + }, + "StoragecontainersExtendedLocation": { + "type": "object", + "properties": { + "name": { + "type": "string", + "description": "The extended location name." + }, + "type": { + "type": "string", + "description": "The extended location type." + } + } + }, + "StoragecontainersProperties": { + "type": "object", + "properties": { + "path": { + "type": "string", + "description": "Path of the storage container on the disk" + }, + "provisioningState": { + "type": "string" + }, + "resourceName": { + "type": "string", + "description": "name of the object to be used in moc" + }, + "status": { + "oneOf": [ + { + "$ref": "#/definitions/StorageContainerStatus" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "storageContainerStatus defines the observed state of storagecontainers" + } + }, + "description": "Properties of a storage container resource" + }, + "StorageContainerStatus": { + "type": "object", + "properties": { + "availableSizeMB": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Amount of space available on the disk in MB" + }, + "containerSizeMB": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Total size of the disk in MB" + }, + "errorCode": { + "type": "string", + "description": "StorageContainer provisioning error code" + }, + "errorMessage": { + "type": "string", + "description": "Descriptive error message" + }, + "provisioningStatus": { + "oneOf": [ + { + "$ref": "#/definitions/StorageContainerStatusProvisioningStatus" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The provisioning status of the storage container" + } + }, + "description": "storageContainerStatus defines the observed state of storagecontainers" + }, + "StorageContainerStatusProvisioningStatus": { + "type": "object", + "properties": { + "operationId": { + "type": "string", + "description": "The ID of the operation performed on the storage container" + }, + "status": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Succeeded", + "Failed", + "InProgress" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The status of the operation performed on the storage container [Succeeded, Failed, InProgress]." + } + }, + "description": "The provisioning status of the storage container" + }, + "SystemData": { + "type": "object", + "properties": { + "createdAt": { + "type": "string", + "format": "date-time", + "description": "The timestamp of resource creation (UTC)." + }, + "createdBy": { + "type": "string", + "description": "The identity that created the resource." + }, + "createdByType": { + "oneOf": [ + { + "type": "string", + "enum": [ + "User", + "Application", + "ManagedIdentity", + "Key" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The type of identity that created the resource." + }, + "lastModifiedAt": { + "type": "string", + "format": "date-time", + "description": "The timestamp of resource last modification (UTC)" + }, + "lastModifiedBy": { + "type": "string", + "description": "The identity that last modified the resource." + }, + "lastModifiedByType": { + "oneOf": [ + { + "type": "string", + "enum": [ + "User", + "Application", + "ManagedIdentity", + "Key" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The type of identity that last modified the resource." + } + }, + "description": "Metadata pertaining to creation and last modification of the resource." + }, + "VirtualharddisksProperties": { + "type": "object", + "properties": { + "blockSizeBytes": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ] + }, + "containerId": { + "type": "string", + "description": "Storage ContainerID of the storage container to be used for VHD" + }, + "diskFileFormat": { + "oneOf": [ + { + "type": "string", + "enum": [ + "vhdx", + "vhd" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The format of the actual VHD file [vhd, vhdx]." + }, + "diskSizeBytes": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "diskSizeBytes - size of the disk in GB" + }, + "dynamic": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Boolean for enabling dynamic sizing on the virtual hard disk" + }, + "hyperVGeneration": { + "oneOf": [ + { + "type": "string", + "enum": [ + "V1", + "V2" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The hypervisor generation of the Virtual Machine [V1, V2]." + }, + "logicalSectorBytes": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ] + }, + "physicalSectorBytes": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ] + }, + "resourceName": { + "type": "string", + "description": "name of the object to be used in moc" + }, + "status": { + "oneOf": [ + { + "$ref": "#/definitions/VirtualHardDiskStatus" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "VirtualHardDiskStatus defines the observed state of virtualharddisks" + } + }, + "description": "Properties of a virtual hard disk resource" + }, + "VirtualHardDiskStatus": { + "type": "object", + "properties": { + "errorCode": { + "type": "string", + "description": "VirtualHardDisk provisioning error code" + }, + "errorMessage": { + "type": "string", + "description": "Descriptive error message" + }, + "provisioningStatus": { + "oneOf": [ + { + "$ref": "#/definitions/VirtualHardDiskStatusProvisioningStatus" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The provisioning status of the virtual hard disk" + } + }, + "description": "VirtualHardDiskStatus defines the observed state of virtualharddisks" + }, + "VirtualHardDiskStatusProvisioningStatus": { + "type": "object", + "properties": { + "operationId": { + "type": "string", + "description": "The ID of the operation performed on the virtual hard disk" + }, + "status": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Succeeded", + "Failed", + "InProgress" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The status of the operation performed on the virtual hard disk [Succeeded, Failed, InProgress]." + } + }, + "description": "The provisioning status of the virtual hard disk" + }, + "VirtualmachinesProperties": { + "type": "object", + "properties": { + "guestAgentProfile": { + "oneOf": [ + { + "$ref": "#/definitions/GuestAgentProfile" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Defines the resource properties." + }, + "hardwareProfile": { + "oneOf": [ + { + "$ref": "#/definitions/VirtualmachinesPropertiesHardwareProfile" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "HardwareProfile - Specifies the hardware settings for the virtual machine." + }, + "networkProfile": { + "oneOf": [ + { + "$ref": "#/definitions/VirtualmachinesPropertiesNetworkProfile" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "NetworkProfile - describes the network configuration the virtual machine" + }, + "osProfile": { + "oneOf": [ + { + "$ref": "#/definitions/VirtualmachinesPropertiesOsProfile" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "OsProfile - describes the configuration of the operating system and sets login data" + }, + "resourceName": { + "type": "string", + "description": "name of the object to be used in moc" + }, + "securityProfile": { + "oneOf": [ + { + "$ref": "#/definitions/VirtualmachinesPropertiesSecurityProfile" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "SecurityProfile - Specifies the security settings for the virtual machine." + }, + "status": { + "oneOf": [ + { + "$ref": "#/definitions/VirtualMachineStatus" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "VirtualMachineStatus defines the observed state of virtualmachines" + }, + "storageProfile": { + "oneOf": [ + { + "$ref": "#/definitions/VirtualmachinesPropertiesStorageProfile" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "StorageProfile - contains information about the disks and storage information for the virtual machine" + } + }, + "description": "Properties of a virtual machine resource" + }, + "VirtualmachinesPropertiesHardwareProfile": { + "type": "object", + "properties": { + "dynamicMemoryConfig": { + "oneOf": [ + { + "$ref": "#/definitions/VirtualmachinesPropertiesHardwareProfileDynamicMemoryConfig" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ] + }, + "memoryGB": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "RAM in gb for the virtual machine" + }, + "processors": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "number of processors for the virtual machine" + }, + "vmSize": { + "type": "string" + } + }, + "description": "HardwareProfile - Specifies the hardware settings for the virtual machine." + }, + "VirtualmachinesPropertiesHardwareProfileDynamicMemoryConfig": { + "type": "object", + "properties": { + "maximumMemoryGB": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ] + }, + "minimumMemoryGB": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ] + }, + "targetMemoryBuffer": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ] + } + } + }, + "VirtualmachinesPropertiesNetworkProfile": { + "type": "object", + "properties": { + "networkInterfaces": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/VirtualmachinesPropertiesNetworkProfileNetworkInterfacesItem" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "NetworkInterfaces - list of network interfaces to be attached to the virtual machine" + } + }, + "description": "NetworkProfile - describes the network configuration the virtual machine" + }, + "VirtualmachinesPropertiesNetworkProfileNetworkInterfacesItem": { + "type": "object", + "properties": { + "id": { + "type": "string", + "description": "ID - Resource Id of the network interface" + } + } + }, + "VirtualmachinesPropertiesOsProfile": { + "type": "object", + "properties": { + "adminPassword": { + "type": "string", + "description": "AdminPassword - admin password" + }, + "adminUsername": { + "type": "string", + "description": "AdminUsername - admin username" + }, + "computerName": { + "type": "string", + "description": "ComputerName - name of the compute" + }, + "linuxConfiguration": { + "oneOf": [ + { + "$ref": "#/definitions/VirtualmachinesPropertiesOsProfileLinuxConfiguration" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "LinuxConfiguration - linux specific configuration values for the virtual machine" + }, + "osType": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Linux", + "Windows" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "OsType - string specifying whether the OS is Linux or Windows." + }, + "windowsConfiguration": { + "oneOf": [ + { + "$ref": "#/definitions/VirtualmachinesPropertiesOsProfileWindowsConfiguration" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Windows Configuration for the virtual machine " + } + }, + "description": "OsProfile - describes the configuration of the operating system and sets login data" + }, + "VirtualmachinesPropertiesOsProfileLinuxConfiguration": { + "type": "object", + "properties": { + "disablePasswordAuthentication": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "DisablePasswordAuthentication - whether password authentication should be disabled" + }, + "provisionVMAgent": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Used to indicate whether Arc for Servers agent onboarding should be triggered during the virtual machine creation process." + }, + "ssh": { + "oneOf": [ + { + "$ref": "#/definitions/VirtualmachinesPropertiesOsProfileLinuxConfigurationSsh" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "SSH - contains settings related to ssh configuration" + } + }, + "description": "LinuxConfiguration - linux specific configuration values for the virtual machine" + }, + "VirtualmachinesPropertiesOsProfileLinuxConfigurationSsh": { + "type": "object", + "properties": { + "publicKeys": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/VirtualmachinesPropertiesOsProfileLinuxConfigurationSshPublicKeysItem" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "PublicKeys - The list of SSH public keys used to authenticate with linux based VMs." + } + }, + "description": "SSH - contains settings related to ssh configuration" + }, + "VirtualmachinesPropertiesOsProfileLinuxConfigurationSshPublicKeysItem": { + "type": "object", + "properties": { + "keyData": { + "type": "string", + "description": "KeyData - SSH public key certificate used to authenticate with the VM through ssh. The key needs to be at least 2048-bit and in ssh-rsa format.

For creating ssh keys, see [Create SSH keys on Linux and Mac for Li nux VMs in Azure](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-linux-mac-create-ssh-keys?toc=%2fazure%2fvirtual-machines%2flinux%2ftoc.json)." + }, + "path": { + "type": "string", + "description": "Path - Specifies the full path on the created VM where ssh public key is stored. If the file already exists, the specified key is appended to the file. Example: /home/user/.ssh/authorized_keys" + } + } + }, + "VirtualmachinesPropertiesOsProfileWindowsConfiguration": { + "type": "object", + "properties": { + "enableAutomaticUpdates": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Whether to EnableAutomaticUpdates on the machine" + }, + "provisionVMAgent": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Used to indicate whether Arc for Servers agent onboarding should be triggered during the virtual machine creation process." + }, + "ssh": { + "oneOf": [ + { + "$ref": "#/definitions/VirtualmachinesPropertiesOsProfileWindowsConfigurationSsh" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "SSH Configuration" + }, + "timeZone": { + "type": "string", + "description": "TimeZone for the virtual machine" + } + }, + "description": "Windows Configuration for the virtual machine " + }, + "VirtualmachinesPropertiesOsProfileWindowsConfigurationSsh": { + "type": "object", + "properties": { + "publicKeys": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/VirtualmachinesPropertiesOsProfileWindowsConfigurationSshPublicKeysItem" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "PublicKeys - The list of SSH public keys used to authenticate with linux based VMs." + } + }, + "description": "SSH Configuration" + }, + "VirtualmachinesPropertiesOsProfileWindowsConfigurationSshPublicKeysItem": { + "type": "object", + "properties": { + "keyData": { + "type": "string", + "description": "KeyData - SSH public key certificate used to authenticate with the VM through ssh. The key needs to be at least 2048-bit and in ssh-rsa format.

For creating ssh keys, see [Create SSH keys on Linux and Mac for Li nux VMs in Azure](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-linux-mac-create-ssh-keys?toc=%2fazure%2fvirtual-machines%2flinux%2ftoc.json)." + }, + "path": { + "type": "string", + "description": "Path - Specifies the full path on the created VM where ssh public key is stored. If the file already exists, the specified key is appended to the file. Example: /home/user/.ssh/authorized_keys" + } + } + }, + "VirtualmachinesPropertiesSecurityProfile": { + "type": "object", + "properties": { + "enableTPM": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ] + }, + "uefiSettings": { + "oneOf": [ + { + "$ref": "#/definitions/VirtualmachinesPropertiesSecurityProfileUefiSettings" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ] + } + }, + "description": "SecurityProfile - Specifies the security settings for the virtual machine." + }, + "VirtualmachinesPropertiesSecurityProfileUefiSettings": { + "type": "object", + "properties": { + "secureBootEnabled": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Specifies whether secure boot should be enabled on the virtual machine." + } + } + }, + "VirtualmachinesPropertiesStorageProfile": { + "type": "object", + "properties": { + "dataDisks": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/VirtualmachinesPropertiesStorageProfileDataDisksItem" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "adds data disks to the virtual machine" + }, + "imageReference": { + "oneOf": [ + { + "$ref": "#/definitions/VirtualmachinesPropertiesStorageProfileImageReference" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Which Image to use for the virtual machine" + }, + "osDisk": { + "oneOf": [ + { + "$ref": "#/definitions/VirtualmachinesPropertiesStorageProfileOsDisk" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "VHD to attach as OS disk" + }, + "vmConfigContainerName": { + "type": "string", + "description": "Name of the storage container that hosts the VM configuration file" + } + }, + "description": "StorageProfile - contains information about the disks and storage information for the virtual machine" + }, + "VirtualmachinesPropertiesStorageProfileDataDisksItem": { + "type": "object", + "properties": { + "name": { + "type": "string" + } + } + }, + "VirtualmachinesPropertiesStorageProfileImageReference": { + "type": "object", + "properties": { + "name": { + "type": "string", + "description": "Name - Name of the image" + } + }, + "description": "Which Image to use for the virtual machine" + }, + "VirtualmachinesPropertiesStorageProfileOsDisk": { + "type": "object", + "properties": { + "id": { + "type": "string", + "description": "Specifies the virtual hard disk's ID" + } + }, + "description": "VHD to attach as OS disk" + }, + "VirtualMachineStatus": { + "type": "object", + "properties": { + "errorCode": { + "type": "string", + "description": "VirtualMachine provisioning error code" + }, + "errorMessage": { + "type": "string", + "description": "Descriptive error message" + }, + "powerState": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Deallocated", + "Deallocating", + "Running", + "Starting", + "Stopped", + "Stopping", + "Unknown" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The power state of the virtual machine." + }, + "provisioningStatus": { + "oneOf": [ + { + "$ref": "#/definitions/VirtualMachineStatusProvisioningStatus" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The provisioning status of the virtual machine" + } + }, + "description": "VirtualMachineStatus defines the observed state of virtualmachines" + }, + "VirtualMachineStatusProvisioningStatus": { + "type": "object", + "properties": { + "operationId": { + "type": "string", + "description": "The ID of the operation performed on the virtual machine" + }, + "status": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Succeeded", + "Failed", + "InProgress" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The status of the operation performed on the virtual machine [Succeeded, Failed, InProgress]." + } + }, + "description": "The provisioning status of the virtual machine" + }, + "virtualMachines_extensions_childResource": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-09-01-preview" + ] + }, + "location": { + "type": "string", + "description": "The geo-location where the resource lives" + }, + "name": { + "type": "string", + "description": "The name of the machine extension." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/MachineExtensionProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Describes the properties of a Machine Extension." + }, + "systemData": { + "oneOf": [ + { + "$ref": "#/definitions/SystemData" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Metadata pertaining to creation and last modification of the resource." + }, + "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": [ + "extensions" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.AzureStackHCI/virtualMachines/extensions" + }, + "virtualMachines_guestAgents_childResource": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-09-01-preview" + ] + }, + "name": { + "type": "string", + "description": "Name of the guestAgents." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/GuestAgentProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Defines the resource properties." + }, + "systemData": { + "oneOf": [ + { + "$ref": "#/definitions/SystemData" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Metadata pertaining to creation and last modification of the resource." + }, + "type": { + "type": "string", + "enum": [ + "guestAgents" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.AzureStackHCI/virtualMachines/guestAgents" + }, + "virtualMachines_hybridIdentityMetadata_childResource": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-09-01-preview" + ] + }, + "name": { + "type": "string", + "description": "Name of the hybridIdentityMetadata." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/HybridIdentityMetadataProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Defines the resource properties." + }, + "systemData": { + "oneOf": [ + { + "$ref": "#/definitions/SystemData" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Metadata pertaining to creation and last modification of the resource." + }, + "type": { + "type": "string", + "enum": [ + "hybridIdentityMetadata" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.AzureStackHCI/virtualMachines/hybridIdentityMetadata" + }, + "VirtualnetworksProperties": { + "type": "object", + "properties": { + "networkType": { + "oneOf": [ + { + "type": "string", + "enum": [ + "NAT", + "Transparent", + "L2Bridge", + "L2Tunnel", + "ICS", + "Private", + "Overlay", + "Internal", + "Mirrored" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Type of the network." + }, + "resourceName": { + "type": "string", + "description": "name of the object to be used in moc" + }, + "status": { + "oneOf": [ + { + "$ref": "#/definitions/VirtualNetworkStatus" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "VirtualNetworkStatus defines the observed state of virtual networks" + }, + "subnets": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/VirtualnetworksPropertiesSubnetsItemModel" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Subnet - list of subnets under the virtual network" + } + }, + "description": "Properties of a virtual network resource" + }, + "VirtualnetworksPropertiesSubnetsItem": { + "type": "object", + "properties": { + "addressPrefix": { + "type": "string", + "description": "Cidr for this subnet - IPv4, IPv6" + }, + "addressPrefixes": { + "oneOf": [ + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "AddressPrefixes - List of address prefixes for the subnet." + }, + "ipAllocationMethod": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Dynamic", + "Static" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "IPAllocationMethod - The IP address allocation method." + }, + "ipConfigurationReferences": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/Componentsvqks9hschemasvirtualnetworkspropertiespropertiessubnetsitemspropertiespropertiespropertiesipconfigurationreferencesitems" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "IPConfigurationReferences - list of IPConfigurationReferences" + }, + "ipPools": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/IPPool" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "network associated pool of IP Addresses" + }, + "routeTable": { + "oneOf": [ + { + "$ref": "#/definitions/Componentsl15gkaschemasvirtualnetworkspropertiespropertiessubnetsitemspropertiespropertiespropertiesroutetable" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "RouteTable for the subnet" + }, + "vlan": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Vlan to use for the subnet" + } + }, + "description": "SubnetProperties - Properties of the subnet." + }, + "VirtualnetworksPropertiesSubnetsItemModel": { + "type": "object", + "properties": { + "name": { + "type": "string", + "description": "Name - The name of the resource that is unique within a resource group. This name can be used to access the resource." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/VirtualnetworksPropertiesSubnetsItem" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "SubnetProperties - Properties of the subnet." + } + }, + "description": "Subnet subnet in a virtual network resource." + }, + "VirtualnetworksPropertiesSubnetsItemRouteTableRoutesItem": { + "type": "object", + "properties": { + "addressPrefix": { + "type": "string", + "description": "AddressPrefix - The destination CIDR to which the route applies." + }, + "nextHopIpAddress": { + "type": "string", + "description": "NextHopIPAddress - The IP address packets should be forwarded to. Next hop values are only allowed in routes where the next hop type is VirtualAppliance." + } + }, + "description": "RoutePropertiesFormat - Properties of the route." + }, + "VirtualnetworksPropertiesSubnetsPropertiesPropertiesPropertiesPropertiesItemsItem": { + "type": "object", + "properties": { + "name": { + "type": "string", + "description": "Name - name of the subnet" + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/VirtualnetworksPropertiesSubnetsItemRouteTableRoutesItem" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "RoutePropertiesFormat - Properties of the route." + } + }, + "description": "Route is associated with a subnet." + }, + "VirtualNetworkStatus": { + "type": "object", + "properties": { + "errorCode": { + "type": "string", + "description": "VirtualNetwork provisioning error code" + }, + "errorMessage": { + "type": "string", + "description": "Descriptive error message" + }, + "provisioningStatus": { + "oneOf": [ + { + "$ref": "#/definitions/VirtualNetworkStatusProvisioningStatus" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The provisioning status of the virtual network" + } + }, + "description": "VirtualNetworkStatus defines the observed state of virtual networks" + }, + "VirtualNetworkStatusProvisioningStatus": { + "type": "object", + "properties": { + "operationId": { + "type": "string", + "description": "The ID of the operation performed on the virtual network" + }, + "status": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Succeeded", + "Failed", + "InProgress" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The status of the operation performed on the virtual network [Succeeded, Failed, InProgress]." + } + }, + "description": "The provisioning status of the virtual network" + } + } +} \ No newline at end of file diff --git a/schemas/common/autogeneratedResources.json b/schemas/common/autogeneratedResources.json index 65d26cda5e..d635f5b913 100644 --- a/schemas/common/autogeneratedResources.json +++ b/schemas/common/autogeneratedResources.json @@ -3439,6 +3439,45 @@ { "$ref": "https://schema.management.azure.com/schemas/2021-09-01/Microsoft.AzureStackHCI.json#/resourceDefinitions/clusters_arcSettings_extensions" }, + { + "$ref": "https://schema.management.azure.com/schemas/2021-09-01-preview/Microsoft.AzureStackHCI.json#/resourceDefinitions/clusters" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2021-09-01-preview/Microsoft.AzureStackHCI.json#/resourceDefinitions/clusters_arcSettings" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2021-09-01-preview/Microsoft.AzureStackHCI.json#/resourceDefinitions/clusters_arcSettings_extensions" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2021-09-01-preview/Microsoft.AzureStackHCI.json#/resourceDefinitions/galleryimages" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2021-09-01-preview/Microsoft.AzureStackHCI.json#/resourceDefinitions/marketplacegalleryimages" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2021-09-01-preview/Microsoft.AzureStackHCI.json#/resourceDefinitions/networkinterfaces" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2021-09-01-preview/Microsoft.AzureStackHCI.json#/resourceDefinitions/storagecontainers" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2021-09-01-preview/Microsoft.AzureStackHCI.json#/resourceDefinitions/virtualharddisks" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2021-09-01-preview/Microsoft.AzureStackHCI.json#/resourceDefinitions/virtualmachines" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2021-09-01-preview/Microsoft.AzureStackHCI.json#/resourceDefinitions/virtualMachines_extensions" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2021-09-01-preview/Microsoft.AzureStackHCI.json#/resourceDefinitions/virtualMachines_guestAgents" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2021-09-01-preview/Microsoft.AzureStackHCI.json#/resourceDefinitions/virtualMachines_hybridIdentityMetadata" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2021-09-01-preview/Microsoft.AzureStackHCI.json#/resourceDefinitions/virtualnetworks" + }, { "$ref": "https://schema.management.azure.com/schemas/2022-01-01/Microsoft.AzureStackHCI.json#/resourceDefinitions/clusters" },