From f82d58a0cc53b0a8e696ae5afd48e8718388e9c1 Mon Sep 17 00:00:00 2001 From: Autogenerator Pipeline Date: Mon, 17 Oct 2022 09:46:12 +0000 Subject: [PATCH 1/9] Update resource list --- generator/resources.json | 27 ++++++++++++++++++--------- 1 file changed, 18 insertions(+), 9 deletions(-) diff --git a/generator/resources.json b/generator/resources.json index f6e5804771..d64f8d78c3 100644 --- a/generator/resources.json +++ b/generator/resources.json @@ -2666,11 +2666,13 @@ ], "Microsoft.ContainerService/fleets": [ "2022-06-02-preview", - "2022-07-02-preview" + "2022-07-02-preview", + "2022-09-02-preview" ], "Microsoft.ContainerService/fleets/members": [ "2022-06-02-preview", - "2022-07-02-preview" + "2022-07-02-preview", + "2022-09-02-preview" ], "Microsoft.ContainerService/managedClusters": [ "2017-08-31", @@ -2713,7 +2715,8 @@ "2022-07-01", "2022-07-02-preview", "2022-08-02-preview", - "2022-08-03-preview" + "2022-08-03-preview", + "2022-09-02-preview" ], "Microsoft.ContainerService/managedClusters/agentPools": [ "2019-02-01", @@ -2753,7 +2756,8 @@ "2022-07-01", "2022-07-02-preview", "2022-08-02-preview", - "2022-08-03-preview" + "2022-08-03-preview", + "2022-09-02-preview" ], "Microsoft.ContainerService/managedClusters/maintenanceConfigurations": [ "2020-12-01", @@ -2779,7 +2783,8 @@ "2022-07-01", "2022-07-02-preview", "2022-08-02-preview", - "2022-08-03-preview" + "2022-08-03-preview", + "2022-09-02-preview" ], "Microsoft.ContainerService/managedClusters/privateEndpointConnections": [ "2020-06-01", @@ -2809,7 +2814,8 @@ "2022-07-01", "2022-07-02-preview", "2022-08-02-preview", - "2022-08-03-preview" + "2022-08-03-preview", + "2022-09-02-preview" ], "Microsoft.ContainerService/managedClusters/trustedAccessRoleBindings": [ "2022-04-02-preview", @@ -2817,7 +2823,8 @@ "2022-06-02-preview", "2022-07-02-preview", "2022-08-02-preview", - "2022-08-03-preview" + "2022-08-03-preview", + "2022-09-02-preview" ], "Microsoft.ContainerService/managedclustersnapshots": [ "2022-02-02-preview", @@ -2827,7 +2834,8 @@ "2022-06-02-preview", "2022-07-02-preview", "2022-08-02-preview", - "2022-08-03-preview" + "2022-08-03-preview", + "2022-09-02-preview" ], "Microsoft.ContainerService/openShiftManagedClusters": [ "2018-09-30-preview", @@ -2854,7 +2862,8 @@ "2022-07-01", "2022-07-02-preview", "2022-08-02-preview", - "2022-08-03-preview" + "2022-08-03-preview", + "2022-09-02-preview" ], "Microsoft.CustomProviders/resourceProviders": [ "2018-09-01-preview" From b6ec6171c94544acc6b9163fa5d8945403387252 Mon Sep 17 00:00:00 2001 From: Autogenerator Pipeline Date: Mon, 17 Oct 2022 14:40:25 +0000 Subject: [PATCH 2/9] Autogenerate schemas --- .../Microsoft.Network.NRP.json | 123 ++++++++++++++++++ schemas/common/autogeneratedResources.json | 3 + 2 files changed, 126 insertions(+) diff --git a/schemas/2021-02-01-preview/Microsoft.Network.NRP.json b/schemas/2021-02-01-preview/Microsoft.Network.NRP.json index 9330fddbbd..efeaee1c5a 100644 --- a/schemas/2021-02-01-preview/Microsoft.Network.NRP.json +++ b/schemas/2021-02-01-preview/Microsoft.Network.NRP.json @@ -470,6 +470,9 @@ }, { "$ref": "#/definitions/networkSecurityPerimeters_resourceAssociations_childResource" + }, + { + "$ref": "#/definitions/networkSecurityPerimeters_links_childResource" } ] } @@ -504,6 +507,45 @@ ], "description": "Microsoft.Network/networkSecurityPerimeters" }, + "networkSecurityPerimeters_links": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-02-01-preview" + ] + }, + "name": { + "type": "string", + "description": "The name of the NSP link." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/NspLinkProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Properties of NSP Link resource." + }, + "type": { + "type": "string", + "enum": [ + "Microsoft.Network/networkSecurityPerimeters/links" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.Network/networkSecurityPerimeters/links" + }, "networkSecurityPerimeters_profiles": { "type": "object", "properties": { @@ -1563,6 +1605,45 @@ "properties": {}, "description": "Properties of network security perimeter." }, + "networkSecurityPerimeters_links_childResource": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-02-01-preview" + ] + }, + "name": { + "type": "string", + "description": "The name of the NSP link." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/NspLinkProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Properties of NSP Link resource." + }, + "type": { + "type": "string", + "enum": [ + "links" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.Network/networkSecurityPerimeters/links" + }, "networkSecurityPerimeters_profiles_accessRules_childResource": { "type": "object", "properties": { @@ -1868,6 +1949,48 @@ } } }, + "NspLinkProperties": { + "type": "object", + "properties": { + "autoApprovedRemotePerimeterResourceId": { + "type": "string", + "description": "Perimeter ARM Id for the remote NSP with which the link gets created in Auto-approval mode. It should be used when the NSP admin have Microsoft.Network/networkSecurityPerimeters/linkPerimeter/action permission on the remote NSP resource." + }, + "description": { + "type": "string", + "description": "A message passed to the owner of the remote NSP link resource with this connection request. In case of Auto-approved flow, it is default to 'Auto Approved'. Restricted to 140 chars." + }, + "localInboundProfiles": { + "oneOf": [ + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Local Inbound profile names to which Inbound is allowed. Use ['*'] to allow inbound to all profiles. It's default value is ['*']." + }, + "remoteInboundProfiles": { + "oneOf": [ + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Remote Inbound profile names to which Inbound is allowed. Use ['*'] to allow inbound to all profiles. This property can only be updated in auto-approval mode. It's default value is ['*']." + } + }, + "description": "Properties of NSP Link resource." + }, "NspProfileProperties": { "type": "object", "properties": {}, diff --git a/schemas/common/autogeneratedResources.json b/schemas/common/autogeneratedResources.json index 34357f387a..265f893fc0 100644 --- a/schemas/common/autogeneratedResources.json +++ b/schemas/common/autogeneratedResources.json @@ -19168,6 +19168,9 @@ { "$ref": "https://schema.management.azure.com/schemas/2021-02-01-preview/Microsoft.Network.NRP.json#/resourceDefinitions/networkSecurityPerimeters" }, + { + "$ref": "https://schema.management.azure.com/schemas/2021-02-01-preview/Microsoft.Network.NRP.json#/resourceDefinitions/networkSecurityPerimeters_links" + }, { "$ref": "https://schema.management.azure.com/schemas/2021-02-01-preview/Microsoft.Network.NRP.json#/resourceDefinitions/networkSecurityPerimeters_profiles" }, From 2bc7bd360c22d391e028f69f89f3046d3f034ad3 Mon Sep 17 00:00:00 2001 From: Autogenerator Pipeline Date: Mon, 17 Oct 2022 14:40:47 +0000 Subject: [PATCH 3/9] Update resource list --- generator/resources.json | 3 +++ 1 file changed, 3 insertions(+) diff --git a/generator/resources.json b/generator/resources.json index d64f8d78c3..d33f5cb4fd 100644 --- a/generator/resources.json +++ b/generator/resources.json @@ -7922,6 +7922,9 @@ "2021-02-01-preview", "2021-03-01-preview" ], + "Microsoft.Network/networkSecurityPerimeters/links": [ + "2021-02-01-preview" + ], "Microsoft.Network/networkSecurityPerimeters/profiles": [ "2021-02-01-preview" ], From e672e6f5c047fa562d9594ebe27a226e83628f8d Mon Sep 17 00:00:00 2001 From: Autogenerator Pipeline Date: Wed, 19 Oct 2022 09:39:13 +0000 Subject: [PATCH 4/9] Autogenerate schemas --- .../Microsoft.DevCenter.json | 1550 +++++++++++++++++ schemas/common/autogeneratedResources.json | 33 + 2 files changed, 1583 insertions(+) create mode 100644 schemas/2022-10-12-preview/Microsoft.DevCenter.json diff --git a/schemas/2022-10-12-preview/Microsoft.DevCenter.json b/schemas/2022-10-12-preview/Microsoft.DevCenter.json new file mode 100644 index 0000000000..9ae2dee29d --- /dev/null +++ b/schemas/2022-10-12-preview/Microsoft.DevCenter.json @@ -0,0 +1,1550 @@ +{ + "id": "https://schema.management.azure.com/schemas/2022-10-12-preview/Microsoft.DevCenter.json#", + "$schema": "http://json-schema.org/draft-04/schema#", + "title": "Microsoft.DevCenter", + "description": "Microsoft DevCenter Resource Types", + "resourceDefinitions": { + "devcenters": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2022-10-12-preview" + ] + }, + "identity": { + "oneOf": [ + { + "$ref": "#/definitions/ManagedServiceIdentity" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Managed service identity (system assigned and/or user assigned identities)" + }, + "location": { + "type": "string", + "description": "The geo-location where the resource lives" + }, + "name": { + "type": "string", + "description": "The name of the devcenter." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/DevCenterProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Properties of the devcenter." + }, + "resources": { + "type": "array", + "items": { + "oneOf": [ + { + "$ref": "#/definitions/devcenters_attachednetworks_childResource" + }, + { + "$ref": "#/definitions/devcenters_galleries_childResource" + }, + { + "$ref": "#/definitions/devcenters_catalogs_childResource" + }, + { + "$ref": "#/definitions/devcenters_environmentTypes_childResource" + }, + { + "$ref": "#/definitions/devcenters_devboxdefinitions_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.DevCenter/devcenters" + ] + } + }, + "required": [ + "apiVersion", + "location", + "name", + "properties", + "type" + ], + "description": "Microsoft.DevCenter/devcenters" + }, + "devcenters_attachednetworks": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2022-10-12-preview" + ] + }, + "name": { + "type": "string", + "description": "The name of the attached NetworkConnection." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/AttachedNetworkConnectionProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Properties of an attached NetworkConnection." + }, + "type": { + "type": "string", + "enum": [ + "Microsoft.DevCenter/devcenters/attachednetworks" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.DevCenter/devcenters/attachednetworks" + }, + "devcenters_catalogs": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2022-10-12-preview" + ] + }, + "name": { + "type": "string", + "description": "The name of the Catalog." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/CatalogProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Properties of a catalog." + }, + "type": { + "type": "string", + "enum": [ + "Microsoft.DevCenter/devcenters/catalogs" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.DevCenter/devcenters/catalogs" + }, + "devcenters_devboxdefinitions": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2022-10-12-preview" + ] + }, + "location": { + "type": "string", + "description": "The geo-location where the resource lives" + }, + "name": { + "type": "string", + "description": "The name of the Dev Box definition." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/DevBoxDefinitionProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Properties of a Dev Box definition." + }, + "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.DevCenter/devcenters/devboxdefinitions" + ] + } + }, + "required": [ + "apiVersion", + "location", + "name", + "properties", + "type" + ], + "description": "Microsoft.DevCenter/devcenters/devboxdefinitions" + }, + "devcenters_environmentTypes": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2022-10-12-preview" + ] + }, + "name": { + "type": "string", + "description": "The name of the environment type." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/EnvironmentTypeProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Properties of an environment type." + }, + "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.DevCenter/devcenters/environmentTypes" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.DevCenter/devcenters/environmentTypes" + }, + "devcenters_galleries": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2022-10-12-preview" + ] + }, + "name": { + "type": "string", + "description": "The name of the gallery." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/GalleryProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Properties of a gallery." + }, + "type": { + "type": "string", + "enum": [ + "Microsoft.DevCenter/devcenters/galleries" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.DevCenter/devcenters/galleries" + }, + "networkConnections": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2022-10-12-preview" + ] + }, + "location": { + "type": "string", + "description": "The geo-location where the resource lives" + }, + "name": { + "type": "string", + "description": "Name of the Network Connection that can be applied to a Pool." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/NetworkProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Network properties" + }, + "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.DevCenter/networkConnections" + ] + } + }, + "required": [ + "apiVersion", + "location", + "name", + "properties", + "type" + ], + "description": "Microsoft.DevCenter/networkConnections" + }, + "projects": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2022-10-12-preview" + ] + }, + "location": { + "type": "string", + "description": "The geo-location where the resource lives" + }, + "name": { + "type": "string", + "description": "The name of the project." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/ProjectProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Properties of a project." + }, + "resources": { + "type": "array", + "items": { + "oneOf": [ + { + "$ref": "#/definitions/projects_environmentTypes_childResource" + }, + { + "$ref": "#/definitions/projects_pools_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.DevCenter/projects" + ] + } + }, + "required": [ + "apiVersion", + "location", + "name", + "properties", + "type" + ], + "description": "Microsoft.DevCenter/projects" + }, + "projects_environmentTypes": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2022-10-12-preview" + ] + }, + "identity": { + "oneOf": [ + { + "$ref": "#/definitions/ManagedServiceIdentity" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Managed service identity (system assigned and/or user assigned identities)" + }, + "location": { + "type": "string", + "description": "The geo-location for the environment type" + }, + "name": { + "type": "string", + "description": "The name of the environment type." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/ProjectEnvironmentTypeProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Properties of a project environment type." + }, + "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.DevCenter/projects/environmentTypes" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.DevCenter/projects/environmentTypes" + }, + "projects_pools": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2022-10-12-preview" + ] + }, + "location": { + "type": "string", + "description": "The geo-location where the resource lives" + }, + "name": { + "type": "string", + "description": "Name of the pool." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/PoolProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Properties of a Pool" + }, + "resources": { + "type": "array", + "items": { + "oneOf": [ + { + "$ref": "#/definitions/projects_pools_schedules_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.DevCenter/projects/pools" + ] + } + }, + "required": [ + "apiVersion", + "location", + "name", + "properties", + "type" + ], + "description": "Microsoft.DevCenter/projects/pools" + }, + "projects_pools_schedules": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2022-10-12-preview" + ] + }, + "name": { + "oneOf": [ + { + "type": "string", + "pattern": "^[-\\w]+$", + "minLength": 1, + "maxLength": 100 + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The name of the schedule that uniquely identifies it." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/ScheduleProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The Schedule properties defining when and what to execute." + }, + "type": { + "type": "string", + "enum": [ + "Microsoft.DevCenter/projects/pools/schedules" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.DevCenter/projects/pools/schedules" + } + }, + "definitions": { + "AttachedNetworkConnectionProperties": { + "type": "object", + "properties": { + "networkConnectionId": { + "type": "string", + "description": "The resource ID of the NetworkConnection you want to attach." + } + }, + "required": [ + "networkConnectionId" + ], + "description": "Properties of an attached NetworkConnection." + }, + "CatalogProperties": { + "type": "object", + "properties": { + "adoGit": { + "oneOf": [ + { + "$ref": "#/definitions/GitCatalog" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Properties for a Git repository catalog." + }, + "gitHub": { + "oneOf": [ + { + "$ref": "#/definitions/GitCatalog" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Properties for a Git repository catalog." + } + }, + "description": "Properties of a catalog." + }, + "DevBoxDefinitionProperties": { + "type": "object", + "properties": { + "imageReference": { + "oneOf": [ + { + "$ref": "#/definitions/ImageReference" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Image reference information" + }, + "osStorageType": { + "type": "string", + "description": "The storage type used for the Operating System disk of Dev Boxes created using this definition." + }, + "sku": { + "oneOf": [ + { + "$ref": "#/definitions/Sku" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The resource model definition representing SKU" + } + }, + "description": "Properties of a Dev Box definition." + }, + "DevCenterProperties": { + "type": "object", + "properties": {}, + "description": "Properties of the devcenter." + }, + "devcenters_attachednetworks_childResource": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2022-10-12-preview" + ] + }, + "name": { + "type": "string", + "description": "The name of the attached NetworkConnection." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/AttachedNetworkConnectionProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Properties of an attached NetworkConnection." + }, + "type": { + "type": "string", + "enum": [ + "attachednetworks" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.DevCenter/devcenters/attachednetworks" + }, + "devcenters_catalogs_childResource": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2022-10-12-preview" + ] + }, + "name": { + "type": "string", + "description": "The name of the Catalog." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/CatalogProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Properties of a catalog." + }, + "type": { + "type": "string", + "enum": [ + "catalogs" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.DevCenter/devcenters/catalogs" + }, + "devcenters_devboxdefinitions_childResource": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2022-10-12-preview" + ] + }, + "location": { + "type": "string", + "description": "The geo-location where the resource lives" + }, + "name": { + "type": "string", + "description": "The name of the Dev Box definition." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/DevBoxDefinitionProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Properties of a Dev Box definition." + }, + "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": [ + "devboxdefinitions" + ] + } + }, + "required": [ + "apiVersion", + "location", + "name", + "properties", + "type" + ], + "description": "Microsoft.DevCenter/devcenters/devboxdefinitions" + }, + "devcenters_environmentTypes_childResource": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2022-10-12-preview" + ] + }, + "name": { + "type": "string", + "description": "The name of the environment type." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/EnvironmentTypeProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Properties of an environment type." + }, + "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": [ + "environmentTypes" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.DevCenter/devcenters/environmentTypes" + }, + "devcenters_galleries_childResource": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2022-10-12-preview" + ] + }, + "name": { + "type": "string", + "description": "The name of the gallery." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/GalleryProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Properties of a gallery." + }, + "type": { + "type": "string", + "enum": [ + "galleries" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.DevCenter/devcenters/galleries" + }, + "EnvironmentRole": { + "type": "object", + "properties": {}, + "description": "A role that can be assigned to a user." + }, + "EnvironmentTypeProperties": { + "type": "object", + "properties": {}, + "description": "Properties of an environment type." + }, + "GalleryProperties": { + "type": "object", + "properties": { + "galleryResourceId": { + "type": "string", + "description": "The resource ID of the backing Azure Compute Gallery." + } + }, + "required": [ + "galleryResourceId" + ], + "description": "Properties of a gallery." + }, + "GitCatalog": { + "type": "object", + "properties": { + "branch": { + "type": "string", + "description": "Git branch." + }, + "path": { + "type": "string", + "description": "The folder where the catalog items can be found inside the repository." + }, + "secretIdentifier": { + "type": "string", + "description": "A reference to the Key Vault secret containing a security token to authenticate to a Git repository." + }, + "uri": { + "type": "string", + "description": "Git URI." + } + }, + "description": "Properties for a Git repository catalog." + }, + "ImageReference": { + "type": "object", + "properties": { + "id": { + "type": "string", + "description": "Image ID, or Image version ID. When Image ID is provided, its latest version will be used." + }, + "offer": { + "type": "string", + "description": "The image offer." + }, + "publisher": { + "type": "string", + "description": "The image publisher." + }, + "sku": { + "type": "string", + "description": "The image sku." + } + }, + "description": "Image reference information" + }, + "ManagedServiceIdentity": { + "type": "object", + "properties": { + "type": { + "oneOf": [ + { + "type": "string", + "enum": [ + "None", + "SystemAssigned", + "UserAssigned", + "SystemAssigned, UserAssigned" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ] + }, + "userAssignedIdentities": { + "oneOf": [ + { + "type": "object", + "additionalProperties": { + "$ref": "#/definitions/UserAssignedIdentity" + }, + "properties": {} + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The set of user assigned identities associated with the resource. The userAssignedIdentities dictionary keys will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}. The dictionary values can be empty objects ({}) in requests." + } + }, + "required": [ + "type" + ], + "description": "Managed service identity (system assigned and/or user assigned identities)" + }, + "NetworkProperties": { + "type": "object", + "properties": { + "domainJoinType": { + "oneOf": [ + { + "type": "string", + "enum": [ + "HybridAzureADJoin", + "AzureADJoin" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "AAD Join type." + }, + "domainName": { + "type": "string", + "description": "Active Directory domain name" + }, + "domainPassword": { + "type": "string", + "description": "The password for the account used to join domain" + }, + "domainUsername": { + "type": "string", + "description": "The username of an Active Directory account (user or service account) that has permissions to create computer objects in Active Directory. Required format: admin@contoso.com." + }, + "networkingResourceGroupName": { + "type": "string", + "description": "The name for resource group where NICs will be placed." + }, + "organizationUnit": { + "type": "string", + "description": "Active Directory domain Organization Unit (OU)" + }, + "subnetId": { + "type": "string", + "description": "The subnet to attach Virtual Machines to" + } + }, + "required": [ + "domainJoinType" + ], + "description": "Network properties" + }, + "PoolProperties": { + "type": "object", + "properties": { + "devBoxDefinitionName": { + "type": "string", + "description": "Name of a Dev Box definition in parent Project of this Pool" + }, + "licenseType": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Windows_Client" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Specifies the license type indicating the caller has already acquired licenses for the Dev Boxes that will be created." + }, + "localAdministrator": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Disabled", + "Enabled" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Indicates whether owners of Dev Boxes in this pool are added as local administrators on the Dev Box." + }, + "networkConnectionName": { + "type": "string", + "description": "Name of a Network Connection in parent Project of this Pool" + } + }, + "description": "Properties of a Pool" + }, + "ProjectEnvironmentTypeProperties": { + "type": "object", + "properties": { + "creatorRoleAssignment": { + "oneOf": [ + { + "$ref": "#/definitions/ProjectEnvironmentTypeUpdatePropertiesCreatorRoleAssignment" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The role definition assigned to the environment creator on backing resources." + }, + "deploymentTargetId": { + "type": "string", + "description": "Id of a subscription that the environment type will be mapped to. The environment's resources will be deployed into this subscription." + }, + "status": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Enabled", + "Disabled" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Defines whether this Environment Type can be used in this Project." + }, + "userRoleAssignments": { + "oneOf": [ + { + "type": "object", + "additionalProperties": { + "$ref": "#/definitions/UserRoleAssignment" + }, + "properties": {} + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Role Assignments created on environment backing resources. This is a mapping from a user object ID to an object of role definition IDs." + } + }, + "description": "Properties of a project environment type." + }, + "ProjectEnvironmentTypeUpdatePropertiesCreatorRoleAssignment": { + "type": "object", + "properties": { + "roles": { + "oneOf": [ + { + "type": "object", + "additionalProperties": { + "$ref": "#/definitions/EnvironmentRole" + }, + "properties": {} + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "A map of roles to assign to the environment creator." + } + }, + "description": "The role definition assigned to the environment creator on backing resources." + }, + "ProjectProperties": { + "type": "object", + "properties": { + "description": { + "type": "string", + "description": "Description of the project." + }, + "devCenterId": { + "type": "string", + "description": "Resource Id of an associated DevCenter" + } + }, + "description": "Properties of a project." + }, + "projects_environmentTypes_childResource": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2022-10-12-preview" + ] + }, + "identity": { + "oneOf": [ + { + "$ref": "#/definitions/ManagedServiceIdentity" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Managed service identity (system assigned and/or user assigned identities)" + }, + "location": { + "type": "string", + "description": "The geo-location for the environment type" + }, + "name": { + "type": "string", + "description": "The name of the environment type." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/ProjectEnvironmentTypeProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Properties of a project environment type." + }, + "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": [ + "environmentTypes" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.DevCenter/projects/environmentTypes" + }, + "projects_pools_childResource": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2022-10-12-preview" + ] + }, + "location": { + "type": "string", + "description": "The geo-location where the resource lives" + }, + "name": { + "type": "string", + "description": "Name of the pool." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/PoolProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Properties of a Pool" + }, + "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": [ + "pools" + ] + } + }, + "required": [ + "apiVersion", + "location", + "name", + "properties", + "type" + ], + "description": "Microsoft.DevCenter/projects/pools" + }, + "projects_pools_schedules_childResource": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2022-10-12-preview" + ] + }, + "name": { + "oneOf": [ + { + "type": "string", + "pattern": "^[-\\w]+$", + "minLength": 1, + "maxLength": 100 + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The name of the schedule that uniquely identifies it." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/ScheduleProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The Schedule properties defining when and what to execute." + }, + "type": { + "type": "string", + "enum": [ + "schedules" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.DevCenter/projects/pools/schedules" + }, + "ScheduleProperties": { + "type": "object", + "properties": { + "frequency": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Daily" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The frequency of this scheduled task." + }, + "state": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Enabled", + "Disabled" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Indicates whether or not this scheduled task is enabled." + }, + "time": { + "type": "string", + "description": "The target time to trigger the action. The format is HH:MM." + }, + "timeZone": { + "type": "string", + "description": "The IANA timezone id at which the schedule should execute." + }, + "type": { + "oneOf": [ + { + "type": "string", + "enum": [ + "StopDevBox" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Supported type this scheduled task represents." + } + }, + "description": "The Schedule properties defining when and what to execute." + }, + "Sku": { + "type": "object", + "properties": { + "capacity": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "If the SKU supports scale out/in then the capacity integer should be included. If scale out/in is not possible for the resource this may be omitted." + }, + "family": { + "type": "string", + "description": "If the service has different generations of hardware, for the same SKU, then that can be captured here." + }, + "name": { + "type": "string", + "description": "The name of the SKU. Ex - P3. It is typically a letter+number code" + }, + "size": { + "type": "string", + "description": "The SKU size. When the name field is the combination of tier and some other value, this would be the standalone code. " + }, + "tier": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Free", + "Basic", + "Standard", + "Premium" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ] + } + }, + "required": [ + "name" + ], + "description": "The resource model definition representing SKU" + }, + "UserAssignedIdentity": { + "type": "object", + "properties": {}, + "description": "User assigned identity properties" + }, + "UserRoleAssignment": { + "type": "object", + "properties": { + "roles": { + "oneOf": [ + { + "type": "object", + "additionalProperties": { + "$ref": "#/definitions/EnvironmentRole" + }, + "properties": {} + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "A map of roles to assign to the parent user." + } + }, + "description": "Mapping of user object ID to role assignments." + } + } +} \ No newline at end of file diff --git a/schemas/common/autogeneratedResources.json b/schemas/common/autogeneratedResources.json index b43def46f2..c8048be70c 100644 --- a/schemas/common/autogeneratedResources.json +++ b/schemas/common/autogeneratedResources.json @@ -7909,6 +7909,39 @@ { "$ref": "https://schema.management.azure.com/schemas/2022-09-01-preview/Microsoft.DevCenter.json#/resourceDefinitions/projects_pools_schedules" }, + { + "$ref": "https://schema.management.azure.com/schemas/2022-10-12-preview/Microsoft.DevCenter.json#/resourceDefinitions/devcenters" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2022-10-12-preview/Microsoft.DevCenter.json#/resourceDefinitions/devcenters_attachednetworks" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2022-10-12-preview/Microsoft.DevCenter.json#/resourceDefinitions/devcenters_catalogs" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2022-10-12-preview/Microsoft.DevCenter.json#/resourceDefinitions/devcenters_devboxdefinitions" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2022-10-12-preview/Microsoft.DevCenter.json#/resourceDefinitions/devcenters_environmentTypes" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2022-10-12-preview/Microsoft.DevCenter.json#/resourceDefinitions/devcenters_galleries" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2022-10-12-preview/Microsoft.DevCenter.json#/resourceDefinitions/networkConnections" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2022-10-12-preview/Microsoft.DevCenter.json#/resourceDefinitions/projects" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2022-10-12-preview/Microsoft.DevCenter.json#/resourceDefinitions/projects_environmentTypes" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2022-10-12-preview/Microsoft.DevCenter.json#/resourceDefinitions/projects_pools" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2022-10-12-preview/Microsoft.DevCenter.json#/resourceDefinitions/projects_pools_schedules" + }, { "$ref": "https://schema.management.azure.com/schemas/2016-02-03/Microsoft.Devices.json#/resourceDefinitions/IotHubs" }, From f9e1cf796f85b0bb8ea8a7fadc6ec384557e70dd Mon Sep 17 00:00:00 2001 From: Autogenerator Pipeline Date: Wed, 19 Oct 2022 09:39:43 +0000 Subject: [PATCH 5/9] Update resource list --- generator/resources.json | 48 ++++++++++++++++++++++++++-------------- 1 file changed, 32 insertions(+), 16 deletions(-) diff --git a/generator/resources.json b/generator/resources.json index d33f5cb4fd..8e94f558de 100644 --- a/generator/resources.json +++ b/generator/resources.json @@ -3649,47 +3649,58 @@ ], "Microsoft.DevCenter/devcenters": [ "2022-08-01-preview", - "2022-09-01-preview" + "2022-09-01-preview", + "2022-10-12-preview" ], "Microsoft.DevCenter/devcenters/attachednetworks": [ "2022-08-01-preview", - "2022-09-01-preview" + "2022-09-01-preview", + "2022-10-12-preview" ], "Microsoft.DevCenter/devcenters/catalogs": [ "2022-08-01-preview", - "2022-09-01-preview" + "2022-09-01-preview", + "2022-10-12-preview" ], "Microsoft.DevCenter/devcenters/devboxdefinitions": [ "2022-08-01-preview", - "2022-09-01-preview" + "2022-09-01-preview", + "2022-10-12-preview" ], "Microsoft.DevCenter/devcenters/environmentTypes": [ "2022-08-01-preview", - "2022-09-01-preview" + "2022-09-01-preview", + "2022-10-12-preview" ], "Microsoft.DevCenter/devcenters/galleries": [ "2022-08-01-preview", - "2022-09-01-preview" + "2022-09-01-preview", + "2022-10-12-preview" ], "Microsoft.DevCenter/networkConnections": [ "2022-08-01-preview", - "2022-09-01-preview" + "2022-09-01-preview", + "2022-10-12-preview" ], "Microsoft.DevCenter/projects": [ "2022-08-01-preview", - "2022-09-01-preview" + "2022-09-01-preview", + "2022-10-12-preview" ], "Microsoft.DevCenter/projects/environmentTypes": [ "2022-08-01-preview", - "2022-09-01-preview" + "2022-09-01-preview", + "2022-10-12-preview" ], "Microsoft.DevCenter/projects/pools": [ "2022-08-01-preview", - "2022-09-01-preview" + "2022-09-01-preview", + "2022-10-12-preview" ], "Microsoft.DevCenter/projects/pools/schedules": [ "2022-08-01-preview", - "2022-09-01-preview" + "2022-09-01-preview", + "2022-10-12-preview" ], "Microsoft.DevOps/pipelines": [ "2019-07-01-preview", @@ -10510,13 +10521,16 @@ "2021-06-01-preview", "2021-09-01-preview", "2021-10-01", - "2022-02-01" + "2022-02-01", + "2022-08-01-preview" ], "Microsoft.SignalRService/signalR/customCertificates": [ - "2022-02-01" + "2022-02-01", + "2022-08-01-preview" ], "Microsoft.SignalRService/signalR/customDomains": [ - "2022-02-01" + "2022-02-01", + "2022-08-01-preview" ], "Microsoft.SignalRService/signalR/privateEndpointConnections": [ "2020-05-01", @@ -10525,14 +10539,16 @@ "2021-06-01-preview", "2021-09-01-preview", "2021-10-01", - "2022-02-01" + "2022-02-01", + "2022-08-01-preview" ], "Microsoft.SignalRService/signalR/sharedPrivateLinkResources": [ "2021-04-01-preview", "2021-06-01-preview", "2021-09-01-preview", "2021-10-01", - "2022-02-01" + "2022-02-01", + "2022-08-01-preview" ], "Microsoft.SignalRService/webPubSub": [ "2021-04-01-preview", From 848cf2bdc247d05664dfa2479c5b3c82254c8e21 Mon Sep 17 00:00:00 2001 From: Autogenerator Pipeline Date: Thu, 20 Oct 2022 09:40:16 +0000 Subject: [PATCH 6/9] Autogenerate schemas --- .../Microsoft.DataProtection.json | 1844 +++++++++++++++++ schemas/common/autogeneratedResources.json | 12 + 2 files changed, 1856 insertions(+) create mode 100644 schemas/2022-10-01-preview/Microsoft.DataProtection.json diff --git a/schemas/2022-10-01-preview/Microsoft.DataProtection.json b/schemas/2022-10-01-preview/Microsoft.DataProtection.json new file mode 100644 index 0000000000..8624a4dd52 --- /dev/null +++ b/schemas/2022-10-01-preview/Microsoft.DataProtection.json @@ -0,0 +1,1844 @@ +{ + "id": "https://schema.management.azure.com/schemas/2022-10-01-preview/Microsoft.DataProtection.json#", + "$schema": "http://json-schema.org/draft-04/schema#", + "title": "Microsoft.DataProtection", + "description": "Microsoft DataProtection Resource Types", + "resourceDefinitions": { + "backupVaults": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2022-10-01-preview" + ] + }, + "eTag": { + "type": "string", + "description": "Optional ETag." + }, + "identity": { + "oneOf": [ + { + "$ref": "#/definitions/DppIdentityDetails" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Identity details" + }, + "location": { + "type": "string", + "description": "Resource location." + }, + "name": { + "type": "string", + "description": "The name of the backup vault." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/BackupVault" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Backup Vault" + }, + "resources": { + "type": "array", + "items": { + "oneOf": [ + { + "$ref": "#/definitions/backupVaults_backupPolicies_childResource" + }, + { + "$ref": "#/definitions/backupVaults_backupInstances_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.DataProtection/backupVaults" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.DataProtection/backupVaults" + }, + "backupVaults_backupInstances": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2022-10-01-preview" + ] + }, + "name": { + "type": "string", + "description": "The name of the backup instance" + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/BackupInstance" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Backup Instance" + }, + "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": "Proxy Resource tags." + }, + "type": { + "type": "string", + "enum": [ + "Microsoft.DataProtection/backupVaults/backupInstances" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.DataProtection/backupVaults/backupInstances" + }, + "backupVaults_backupPolicies": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2022-10-01-preview" + ] + }, + "name": { + "type": "string", + "description": "Name of the policy" + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/BaseBackupPolicy" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "BackupPolicy base" + }, + "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.DataProtection/backupVaults/backupPolicies" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.DataProtection/backupVaults/backupPolicies" + }, + "resourceGuards": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2022-10-01-preview" + ] + }, + "eTag": { + "type": "string", + "description": "Optional ETag." + }, + "identity": { + "oneOf": [ + { + "$ref": "#/definitions/DppIdentityDetails" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Identity details" + }, + "location": { + "type": "string", + "description": "Resource location." + }, + "name": { + "type": "string", + "description": "The name of ResourceGuard" + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/ResourceGuard" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ] + }, + "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.DataProtection/resourceGuards" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.DataProtection/resourceGuards" + } + }, + "definitions": { + "AbsoluteDeleteOption": { + "type": "object", + "properties": { + "objectType": { + "type": "string", + "enum": [ + "AbsoluteDeleteOption" + ] + } + }, + "required": [ + "objectType" + ], + "description": "Delete option with duration" + }, + "AdhocBasedTaggingCriteria": { + "type": "object", + "properties": { + "tagInfo": { + "oneOf": [ + { + "$ref": "#/definitions/RetentionTag" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Retention tag" + } + }, + "description": "Adhoc backup tagging criteria" + }, + "AdhocBasedTriggerContext": { + "type": "object", + "properties": { + "objectType": { + "type": "string", + "enum": [ + "AdhocBasedTriggerContext" + ] + }, + "taggingCriteria": { + "oneOf": [ + { + "$ref": "#/definitions/AdhocBasedTaggingCriteria" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Adhoc backup tagging criteria" + } + }, + "required": [ + "objectType", + "taggingCriteria" + ], + "description": "Adhoc trigger context" + }, + "AuthCredentials": { + "type": "object", + "oneOf": [ + { + "$ref": "#/definitions/SecretStoreBasedAuthCredentials" + } + ], + "properties": {}, + "description": "Base class for different types of authentication credentials." + }, + "AzureBackupParams": { + "type": "object", + "properties": { + "backupType": { + "type": "string", + "description": "BackupType ; Full/Incremental etc" + }, + "objectType": { + "type": "string", + "enum": [ + "AzureBackupParams" + ] + } + }, + "required": [ + "backupType", + "objectType" + ], + "description": "Azure backup parameters" + }, + "AzureBackupRule": { + "type": "object", + "properties": { + "backupParameters": { + "oneOf": [ + { + "$ref": "#/definitions/BackupParameters" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "BackupParameters base" + }, + "dataStore": { + "oneOf": [ + { + "$ref": "#/definitions/DataStoreInfoBase" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "DataStoreInfo base" + }, + "objectType": { + "type": "string", + "enum": [ + "AzureBackupRule" + ] + }, + "trigger": { + "oneOf": [ + { + "$ref": "#/definitions/TriggerContext" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Trigger context" + } + }, + "required": [ + "dataStore", + "objectType", + "trigger" + ], + "description": "Azure backup rule" + }, + "AzureMonitorAlertSettings": { + "type": "object", + "properties": { + "alertsForAllJobFailures": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Enabled", + "Disabled" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ] + } + }, + "description": "Settings for Azure Monitor based alerts" + }, + "AzureOperationalStoreParameters": { + "type": "object", + "properties": { + "objectType": { + "type": "string", + "enum": [ + "AzureOperationalStoreParameters" + ] + }, + "resourceGroupId": { + "type": "string", + "description": "Gets or sets the Snapshot Resource Group Uri." + } + }, + "required": [ + "objectType" + ], + "description": "Parameters for Operational-Tier DataStore" + }, + "AzureRetentionRule": { + "type": "object", + "properties": { + "isDefault": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ] + }, + "lifecycles": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/SourceLifeCycle" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ] + }, + "objectType": { + "type": "string", + "enum": [ + "AzureRetentionRule" + ] + } + }, + "required": [ + "lifecycles", + "objectType" + ], + "description": "Azure retention rule" + }, + "BackupCriteria": { + "type": "object", + "oneOf": [ + { + "$ref": "#/definitions/ScheduleBasedBackupCriteria" + } + ], + "properties": {}, + "description": "BackupCriteria base class" + }, + "BackupDatasourceParameters": { + "type": "object", + "oneOf": [ + { + "$ref": "#/definitions/KubernetesClusterBackupDatasourceParameters" + } + ], + "properties": {}, + "description": "Parameters for Backup Datasource" + }, + "BackupInstance": { + "type": "object", + "properties": { + "datasourceAuthCredentials": { + "oneOf": [ + { + "$ref": "#/definitions/AuthCredentials" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Base class for different types of authentication credentials." + }, + "dataSourceInfo": { + "oneOf": [ + { + "$ref": "#/definitions/Datasource" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Datasource to be backed up" + }, + "dataSourceSetInfo": { + "oneOf": [ + { + "$ref": "#/definitions/DatasourceSet" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "DatasourceSet details of datasource to be backed up" + }, + "friendlyName": { + "type": "string", + "description": "Gets or sets the Backup Instance friendly name." + }, + "objectType": { + "type": "string" + }, + "policyInfo": { + "oneOf": [ + { + "$ref": "#/definitions/PolicyInfo" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Policy Info in backupInstance" + }, + "validationType": { + "oneOf": [ + { + "type": "string", + "enum": [ + "ShallowValidation", + "DeepValidation" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Specifies the type of validation. In case of DeepValidation, all validations from /validateForBackup API will run again." + } + }, + "required": [ + "dataSourceInfo", + "objectType", + "policyInfo" + ], + "description": "Backup Instance" + }, + "BackupParameters": { + "type": "object", + "oneOf": [ + { + "$ref": "#/definitions/AzureBackupParams" + } + ], + "properties": {}, + "description": "BackupParameters base" + }, + "BackupPolicy": { + "type": "object", + "properties": { + "objectType": { + "type": "string", + "enum": [ + "BackupPolicy" + ] + }, + "policyRules": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/BasePolicyRule" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Policy rule dictionary that contains rules for each backuptype i.e Full/Incremental/Logs etc" + } + }, + "required": [ + "objectType", + "policyRules" + ], + "description": "Rule based backup policy" + }, + "BackupSchedule": { + "type": "object", + "properties": { + "repeatingTimeIntervals": { + "oneOf": [ + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "ISO 8601 repeating time interval format" + }, + "timeZone": { + "type": "string", + "description": "Time zone for a schedule. Example: Pacific Standard Time" + } + }, + "required": [ + "repeatingTimeIntervals" + ], + "description": "Schedule for backup" + }, + "BackupVault": { + "type": "object", + "properties": { + "isVaultProtectedByResourceGuard": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Is vault protected by resource guard" + }, + "monitoringSettings": { + "oneOf": [ + { + "$ref": "#/definitions/MonitoringSettings" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Monitoring Settings" + }, + "storageSettings": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/StorageSetting" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Storage Settings" + } + }, + "required": [ + "storageSettings" + ], + "description": "Backup Vault" + }, + "backupVaults_backupInstances_childResource": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2022-10-01-preview" + ] + }, + "name": { + "type": "string", + "description": "The name of the backup instance" + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/BackupInstance" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Backup Instance" + }, + "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": "Proxy Resource tags." + }, + "type": { + "type": "string", + "enum": [ + "backupInstances" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.DataProtection/backupVaults/backupInstances" + }, + "backupVaults_backupPolicies_childResource": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2022-10-01-preview" + ] + }, + "name": { + "type": "string", + "description": "Name of the policy" + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/BaseBackupPolicy" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "BackupPolicy base" + }, + "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": [ + "backupPolicies" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.DataProtection/backupVaults/backupPolicies" + }, + "BaseBackupPolicy": { + "type": "object", + "oneOf": [ + { + "$ref": "#/definitions/BackupPolicy" + } + ], + "properties": { + "datasourceTypes": { + "oneOf": [ + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Type of datasource for the backup management" + } + }, + "required": [ + "datasourceTypes" + ], + "description": "BackupPolicy base" + }, + "BasePolicyRule": { + "type": "object", + "oneOf": [ + { + "$ref": "#/definitions/AzureBackupRule" + }, + { + "$ref": "#/definitions/AzureRetentionRule" + } + ], + "properties": { + "name": { + "type": "string" + } + }, + "required": [ + "name" + ], + "description": "BasePolicy Rule" + }, + "CopyOnExpiryOption": { + "type": "object", + "properties": { + "objectType": { + "type": "string", + "enum": [ + "CopyOnExpiryOption" + ] + } + }, + "required": [ + "objectType" + ], + "description": "Copy on Expiry Option" + }, + "CopyOption": { + "type": "object", + "oneOf": [ + { + "$ref": "#/definitions/CopyOnExpiryOption" + }, + { + "$ref": "#/definitions/CustomCopyOption" + }, + { + "$ref": "#/definitions/ImmediateCopyOption" + } + ], + "properties": {}, + "description": "Options to copy" + }, + "CustomCopyOption": { + "type": "object", + "properties": { + "duration": { + "type": "string", + "description": "Data copied after given timespan" + }, + "objectType": { + "type": "string", + "enum": [ + "CustomCopyOption" + ] + } + }, + "required": [ + "objectType" + ], + "description": "Duration based custom options to copy" + }, + "Datasource": { + "type": "object", + "properties": { + "datasourceType": { + "type": "string", + "description": "DatasourceType of the resource." + }, + "objectType": { + "type": "string", + "description": "Type of Datasource object, used to initialize the right inherited type" + }, + "resourceID": { + "type": "string", + "description": "Full ARM ID of the resource. For azure resources, this is ARM ID. For non azure resources, this will be the ID created by backup service via Fabric/Vault." + }, + "resourceLocation": { + "type": "string", + "description": "Location of datasource." + }, + "resourceName": { + "type": "string", + "description": "Unique identifier of the resource in the context of parent." + }, + "resourceType": { + "type": "string", + "description": "Resource Type of Datasource." + }, + "resourceUri": { + "type": "string", + "description": "Uri of the resource." + } + }, + "required": [ + "resourceID" + ], + "description": "Datasource to be backed up" + }, + "DatasourceSet": { + "type": "object", + "properties": { + "datasourceType": { + "type": "string", + "description": "DatasourceType of the resource." + }, + "objectType": { + "type": "string", + "description": "Type of Datasource object, used to initialize the right inherited type" + }, + "resourceID": { + "type": "string", + "description": "Full ARM ID of the resource. For azure resources, this is ARM ID. For non azure resources, this will be the ID created by backup service via Fabric/Vault." + }, + "resourceLocation": { + "type": "string", + "description": "Location of datasource." + }, + "resourceName": { + "type": "string", + "description": "Unique identifier of the resource in the context of parent." + }, + "resourceType": { + "type": "string", + "description": "Resource Type of Datasource." + }, + "resourceUri": { + "type": "string", + "description": "Uri of the resource." + } + }, + "required": [ + "resourceID" + ], + "description": "DatasourceSet details of datasource to be backed up" + }, + "DataStoreInfoBase": { + "type": "object", + "properties": { + "dataStoreType": { + "oneOf": [ + { + "type": "string", + "enum": [ + "OperationalStore", + "VaultStore", + "ArchiveStore" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "type of datastore; Operational/Vault/Archive." + }, + "objectType": { + "type": "string", + "description": "Type of Datasource object, used to initialize the right inherited type" + } + }, + "required": [ + "dataStoreType", + "objectType" + ], + "description": "DataStoreInfo base" + }, + "DataStoreParameters": { + "type": "object", + "oneOf": [ + { + "$ref": "#/definitions/AzureOperationalStoreParameters" + } + ], + "properties": { + "dataStoreType": { + "oneOf": [ + { + "type": "string", + "enum": [ + "OperationalStore", + "VaultStore", + "ArchiveStore" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "type of datastore; Operational/Vault/Archive." + } + }, + "required": [ + "dataStoreType" + ], + "description": "Parameters for DataStore" + }, + "Day": { + "type": "object", + "properties": { + "date": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Date of the month" + }, + "isLast": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Whether Date is last date of month" + } + }, + "description": "Day of the week" + }, + "DeleteOption": { + "type": "object", + "oneOf": [ + { + "$ref": "#/definitions/AbsoluteDeleteOption" + } + ], + "properties": { + "duration": { + "type": "string", + "description": "Duration of deletion after given timespan" + } + }, + "required": [ + "duration" + ], + "description": "Delete Option" + }, + "DppIdentityDetails": { + "type": "object", + "properties": { + "type": { + "type": "string", + "description": "The identityType which can be either SystemAssigned or None" + } + }, + "description": "Identity details" + }, + "ImmediateCopyOption": { + "type": "object", + "properties": { + "objectType": { + "type": "string", + "enum": [ + "ImmediateCopyOption" + ] + } + }, + "required": [ + "objectType" + ], + "description": "Immediate copy Option" + }, + "KubernetesClusterBackupDatasourceParameters": { + "type": "object", + "properties": { + "excludedNamespaces": { + "oneOf": [ + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Gets or sets the exclude namespaces property. This property sets the namespaces to be excluded during restore." + }, + "excludedResourceTypes": { + "oneOf": [ + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Gets or sets the exclude resource types property. This property sets the resource types to be excluded during restore." + }, + "includeClusterScopeResources": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Gets or sets the include cluster resources property. This property if enabled will include cluster scope resources during restore." + }, + "includedNamespaces": { + "oneOf": [ + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Gets or sets the include namespaces property. This property sets the namespaces to be included during restore." + }, + "includedResourceTypes": { + "oneOf": [ + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Gets or sets the include resource types property. This property sets the resource types to be included during restore." + }, + "labelSelectors": { + "oneOf": [ + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Gets or sets the LabelSelectors property. This property sets the resource with such label selectors to be included during restore." + }, + "objectType": { + "type": "string", + "enum": [ + "KubernetesClusterBackupDatasourceParameters" + ] + }, + "snapshotVolumes": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Gets or sets the volume snapshot property. This property if enabled will take volume snapshots during restore." + } + }, + "required": [ + "includeClusterScopeResources", + "objectType", + "snapshotVolumes" + ], + "description": "Parameters for Kubernetes Cluster Backup Datasource" + }, + "MonitoringSettings": { + "type": "object", + "properties": { + "azureMonitorAlertSettings": { + "oneOf": [ + { + "$ref": "#/definitions/AzureMonitorAlertSettings" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Settings for Azure Monitor based alerts" + } + }, + "description": "Monitoring Settings" + }, + "PolicyInfo": { + "type": "object", + "properties": { + "policyId": { + "type": "string" + }, + "policyParameters": { + "oneOf": [ + { + "$ref": "#/definitions/PolicyParameters" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Parameters in Policy" + } + }, + "required": [ + "policyId" + ], + "description": "Policy Info in backupInstance" + }, + "PolicyParameters": { + "type": "object", + "properties": { + "backupDatasourceParametersList": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/BackupDatasourceParameters" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Gets or sets the Backup Data Source Parameters" + }, + "dataStoreParametersList": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/DataStoreParameters" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Gets or sets the DataStore Parameters" + } + }, + "description": "Parameters in Policy" + }, + "ResourceGuard": { + "type": "object", + "properties": { + "vaultCriticalOperationExclusionList": { + "oneOf": [ + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "List of critical operations which are not protected by this resourceGuard" + } + } + }, + "RetentionTag": { + "type": "object", + "properties": { + "tagName": { + "type": "string", + "description": "Retention Tag Name to relate it to retention rule." + } + }, + "required": [ + "tagName" + ], + "description": "Retention tag" + }, + "ScheduleBasedBackupCriteria": { + "type": "object", + "properties": { + "absoluteCriteria": { + "oneOf": [ + { + "type": "array", + "items": { + "type": "string", + "enum": [ + "AllBackup", + "FirstOfDay", + "FirstOfMonth", + "FirstOfWeek", + "FirstOfYear" + ] + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "it contains absolute values like \"AllBackup\" / \"FirstOfDay\" / \"FirstOfWeek\" / \"FirstOfMonth\"\r\nand should be part of AbsoluteMarker enum" + }, + "daysOfMonth": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/Day" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "This is day of the month from 1 to 28 other wise last of month" + }, + "daysOfTheWeek": { + "oneOf": [ + { + "type": "array", + "items": { + "type": "string", + "enum": [ + "Friday", + "Monday", + "Saturday", + "Sunday", + "Thursday", + "Tuesday", + "Wednesday" + ] + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "It should be Sunday/Monday/T..../Saturday" + }, + "monthsOfYear": { + "oneOf": [ + { + "type": "array", + "items": { + "type": "string", + "enum": [ + "April", + "August", + "December", + "February", + "January", + "July", + "June", + "March", + "May", + "November", + "October", + "September" + ] + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "It should be January/February/....../December" + }, + "objectType": { + "type": "string", + "enum": [ + "ScheduleBasedBackupCriteria" + ] + }, + "scheduleTimes": { + "oneOf": [ + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "List of schedule times for backup" + }, + "weeksOfTheMonth": { + "oneOf": [ + { + "type": "array", + "items": { + "type": "string", + "enum": [ + "First", + "Fourth", + "Last", + "Second", + "Third" + ] + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "It should be First/Second/Third/Fourth/Last" + } + }, + "required": [ + "objectType" + ], + "description": "Schedule based backup criteria" + }, + "ScheduleBasedTriggerContext": { + "type": "object", + "properties": { + "objectType": { + "type": "string", + "enum": [ + "ScheduleBasedTriggerContext" + ] + }, + "schedule": { + "oneOf": [ + { + "$ref": "#/definitions/BackupSchedule" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Schedule for backup" + }, + "taggingCriteria": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/TaggingCriteria" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "List of tags that can be applicable for given schedule." + } + }, + "required": [ + "objectType", + "schedule", + "taggingCriteria" + ], + "description": "Schedule based trigger context" + }, + "SecretStoreBasedAuthCredentials": { + "type": "object", + "properties": { + "objectType": { + "type": "string", + "enum": [ + "SecretStoreBasedAuthCredentials" + ] + }, + "secretStoreResource": { + "oneOf": [ + { + "$ref": "#/definitions/SecretStoreResource" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Class representing a secret store resource." + } + }, + "required": [ + "objectType" + ], + "description": "Secret store based authentication credentials." + }, + "SecretStoreResource": { + "type": "object", + "properties": { + "secretStoreType": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Invalid", + "AzureKeyVault" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Gets or sets the type of secret store." + }, + "uri": { + "type": "string", + "description": "Uri to get to the resource" + }, + "value": { + "type": "string", + "description": "Gets or sets value stored in secret store resource" + } + }, + "required": [ + "secretStoreType" + ], + "description": "Class representing a secret store resource." + }, + "SourceLifeCycle": { + "type": "object", + "properties": { + "deleteAfter": { + "oneOf": [ + { + "$ref": "#/definitions/DeleteOption" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Delete Option" + }, + "sourceDataStore": { + "oneOf": [ + { + "$ref": "#/definitions/DataStoreInfoBase" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "DataStoreInfo base" + }, + "targetDataStoreCopySettings": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/TargetCopySetting" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ] + } + }, + "required": [ + "deleteAfter", + "sourceDataStore" + ], + "description": "Source LifeCycle" + }, + "StorageSetting": { + "type": "object", + "properties": { + "datastoreType": { + "oneOf": [ + { + "type": "string", + "enum": [ + "ArchiveStore", + "SnapshotStore", + "VaultStore" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Gets or sets the type of the datastore." + }, + "type": { + "oneOf": [ + { + "type": "string", + "enum": [ + "GeoRedundant", + "LocallyRedundant", + "ZoneRedundant" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Gets or sets the type." + } + }, + "description": "Storage setting" + }, + "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 type of identity that last modified the resource." + }, + "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." + }, + "TaggingCriteria": { + "type": "object", + "properties": { + "criteria": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/BackupCriteria" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Criteria which decides whether the tag can be applied to a triggered backup." + }, + "isDefault": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Specifies if tag is default." + }, + "taggingPriority": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Retention Tag priority." + }, + "tagInfo": { + "oneOf": [ + { + "$ref": "#/definitions/RetentionTag" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Retention tag" + } + }, + "required": [ + "isDefault", + "taggingPriority", + "tagInfo" + ], + "description": "Tagging criteria" + }, + "TargetCopySetting": { + "type": "object", + "properties": { + "copyAfter": { + "oneOf": [ + { + "$ref": "#/definitions/CopyOption" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Options to copy" + }, + "dataStore": { + "oneOf": [ + { + "$ref": "#/definitions/DataStoreInfoBase" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "DataStoreInfo base" + } + }, + "required": [ + "copyAfter", + "dataStore" + ], + "description": "Target copy settings" + }, + "TriggerContext": { + "type": "object", + "oneOf": [ + { + "$ref": "#/definitions/AdhocBasedTriggerContext" + }, + { + "$ref": "#/definitions/ScheduleBasedTriggerContext" + } + ], + "properties": {}, + "description": "Trigger context" + } + } +} \ No newline at end of file diff --git a/schemas/common/autogeneratedResources.json b/schemas/common/autogeneratedResources.json index c8048be70c..83b5afd168 100644 --- a/schemas/common/autogeneratedResources.json +++ b/schemas/common/autogeneratedResources.json @@ -7174,6 +7174,18 @@ { "$ref": "https://schema.management.azure.com/schemas/2022-09-01-preview/Microsoft.DataProtection.json#/resourceDefinitions/resourceGuards" }, + { + "$ref": "https://schema.management.azure.com/schemas/2022-10-01-preview/Microsoft.DataProtection.json#/resourceDefinitions/backupVaults" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2022-10-01-preview/Microsoft.DataProtection.json#/resourceDefinitions/backupVaults_backupInstances" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2022-10-01-preview/Microsoft.DataProtection.json#/resourceDefinitions/backupVaults_backupPolicies" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2022-10-01-preview/Microsoft.DataProtection.json#/resourceDefinitions/resourceGuards" + }, { "$ref": "https://schema.management.azure.com/schemas/2018-11-01-preview/Microsoft.DataShare.json#/resourceDefinitions/accounts" }, From 965688e947a602266dd2489d182a7f79cf9c09d3 Mon Sep 17 00:00:00 2001 From: Autogenerator Pipeline Date: Thu, 20 Oct 2022 09:40:45 +0000 Subject: [PATCH 7/9] Update resource list --- generator/resources.json | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/generator/resources.json b/generator/resources.json index 8e94f558de..eb232e5165 100644 --- a/generator/resources.json +++ b/generator/resources.json @@ -3363,7 +3363,8 @@ "2022-03-31-preview", "2022-04-01", "2022-05-01", - "2022-09-01-preview" + "2022-09-01-preview", + "2022-10-01-preview" ], "Microsoft.DataProtection/backupVaults/backupInstances": [ "2021-01-01", @@ -3378,7 +3379,8 @@ "2022-03-31-preview", "2022-04-01", "2022-05-01", - "2022-09-01-preview" + "2022-09-01-preview", + "2022-10-01-preview" ], "Microsoft.DataProtection/backupVaults/backupPolicies": [ "2021-01-01", @@ -3393,7 +3395,8 @@ "2022-03-31-preview", "2022-04-01", "2022-05-01", - "2022-09-01-preview" + "2022-09-01-preview", + "2022-10-01-preview" ], "Microsoft.DataProtection/backupVaults/backupResourceGuardProxies": [ "2022-09-01-preview" @@ -3408,7 +3411,8 @@ "2022-03-31-preview", "2022-04-01", "2022-05-01", - "2022-09-01-preview" + "2022-09-01-preview", + "2022-10-01-preview" ], "Microsoft.DataShare/accounts": [ "2018-11-01-preview", From 3b3bb6515cd22877810a1de7ea029ade493752c5 Mon Sep 17 00:00:00 2001 From: Autogenerator Pipeline Date: Thu, 20 Oct 2022 16:25:16 +0000 Subject: [PATCH 8/9] Update resource list --- generator/resources.json | 18 ++++++++++++++---- 1 file changed, 14 insertions(+), 4 deletions(-) diff --git a/generator/resources.json b/generator/resources.json index eb232e5165..aa62f5f44b 100644 --- a/generator/resources.json +++ b/generator/resources.json @@ -10558,22 +10558,32 @@ "2021-04-01-preview", "2021-06-01-preview", "2021-09-01-preview", - "2021-10-01" + "2021-10-01", + "2022-08-01-preview" + ], + "Microsoft.SignalRService/webPubSub/customCertificates": [ + "2022-08-01-preview" + ], + "Microsoft.SignalRService/webPubSub/customDomains": [ + "2022-08-01-preview" ], "Microsoft.SignalRService/webPubSub/hubs": [ - "2021-10-01" + "2021-10-01", + "2022-08-01-preview" ], "Microsoft.SignalRService/webPubSub/privateEndpointConnections": [ "2021-04-01-preview", "2021-06-01-preview", "2021-09-01-preview", - "2021-10-01" + "2021-10-01", + "2022-08-01-preview" ], "Microsoft.SignalRService/webPubSub/sharedPrivateLinkResources": [ "2021-04-01-preview", "2021-06-01-preview", "2021-09-01-preview", - "2021-10-01" + "2021-10-01", + "2022-08-01-preview" ], "Microsoft.Solutions/applianceDefinitions": [ "2016-09-01-preview" From ccc6aa6de7093f3edbb5b63b1aae7d3af00db90c Mon Sep 17 00:00:00 2001 From: Autogenerator Pipeline Date: Fri, 21 Oct 2022 09:35:11 +0000 Subject: [PATCH 9/9] Update resource list --- generator/resources.json | 15 +++++++++++---- 1 file changed, 11 insertions(+), 4 deletions(-) diff --git a/generator/resources.json b/generator/resources.json index aa62f5f44b..931cf2b0be 100644 --- a/generator/resources.json +++ b/generator/resources.json @@ -2893,19 +2893,22 @@ "2020-02-14-preview", "2021-06-01", "2021-06-01-preview", - "2022-01-20-preview" + "2022-01-20-preview", + "2022-03-08-preview" ], "Microsoft.DBForPostgreSql/flexibleServers/databases": [ "2020-11-05-preview", "2021-06-01", "2021-06-01-preview", - "2022-01-20-preview" + "2022-01-20-preview", + "2022-03-08-preview" ], "Microsoft.DBForPostgreSql/flexibleServers/firewallRules": [ "2020-02-14-preview", "2021-06-01", "2021-06-01-preview", - "2022-01-20-preview" + "2022-01-20-preview", + "2022-03-08-preview" ], "Microsoft.DBforMariaDB/servers": [ "2018-06-01", @@ -2974,10 +2977,14 @@ "2017-12-01", "2017-12-01-preview" ], + "Microsoft.DBforPostgreSQL/flexibleServers/administrators": [ + "2022-03-08-preview" + ], "Microsoft.DBforPostgreSQL/flexibleServers/configurations": [ "2021-06-01", "2021-06-01-preview", - "2022-01-20-preview" + "2022-01-20-preview", + "2022-03-08-preview" ], "Microsoft.DBforPostgreSQL/servers": [ "2017-12-01",