From c69ffee673f2b6590dff7a818b8d23f8f3970fbc Mon Sep 17 00:00:00 2001 From: Autogenerator Pipeline Date: Tue, 27 Jul 2021 09:24:45 +0000 Subject: [PATCH 01/64] Autogenerate schemas --- .../2018-09-01-preview/Microsoft.Migrate.json | 517 -------- .../2019-10-01-preview/Microsoft.Migrate.json | 1054 ----------------- schemas/2021-01-01/Microsoft.Migrate.json | 1054 ----------------- schemas/common/autogeneratedResources.json | 18 - 4 files changed, 2643 deletions(-) delete mode 100644 schemas/2018-09-01-preview/Microsoft.Migrate.json delete mode 100644 schemas/2019-10-01-preview/Microsoft.Migrate.json delete mode 100644 schemas/2021-01-01/Microsoft.Migrate.json diff --git a/schemas/2018-09-01-preview/Microsoft.Migrate.json b/schemas/2018-09-01-preview/Microsoft.Migrate.json deleted file mode 100644 index 074e3e9b7c..0000000000 --- a/schemas/2018-09-01-preview/Microsoft.Migrate.json +++ /dev/null @@ -1,517 +0,0 @@ -{ - "id": "https://schema.management.azure.com/schemas/2018-09-01-preview/Microsoft.Migrate.json#", - "$schema": "http://json-schema.org/draft-04/schema#", - "title": "Microsoft.Migrate", - "description": "Microsoft Migrate Resource Types", - "resourceDefinitions": { - "migrateProjects": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2018-09-01-preview" - ] - }, - "eTag": { - "type": "string", - "description": "Gets or sets the eTag for concurrency control." - }, - "location": { - "type": "string", - "description": "Gets or sets the Azure location in which migrate project is created." - }, - "name": { - "type": "string", - "description": "Name of the Azure Migrate project." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/MigrateProjectProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Class for migrate project properties." - }, - "resources": { - "type": "array", - "items": { - "oneOf": [ - { - "$ref": "#/definitions/migrateProjects_solutions_childResource" - } - ] - } - }, - "tags": { - "oneOf": [ - { - "$ref": "#/definitions/MigrateProjectTags" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Gets or sets the tags." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.Migrate/migrateProjects" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.Migrate/migrateProjects" - }, - "migrateProjects_solutions": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2018-09-01-preview" - ] - }, - "etag": { - "type": "string", - "description": "Gets or sets the ETAG for optimistic concurrency control." - }, - "name": { - "type": "string", - "description": "Unique name of a migration solution within a migrate project." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/SolutionProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Class for solution properties." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.Migrate/migrateProjects/solutions" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.Migrate/migrateProjects/solutions" - } - }, - "definitions": { - "DatabasesSolutionSummary": { - "type": "object", - "properties": { - "databaseInstancesAssessedCount": { - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Gets or sets the count of database instances assessed." - }, - "databasesAssessedCount": { - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Gets or sets the count of databases assessed." - }, - "instanceType": { - "type": "string", - "enum": [ - "Databases" - ] - }, - "migrationReadyCount": { - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Gets or sets the count of databases ready for migration." - } - }, - "required": [ - "instanceType" - ], - "description": "Class representing the databases solution summary." - }, - "MigrateProjectProperties": { - "type": "object", - "properties": { - "provisioningState": { - "oneOf": [ - { - "type": "string", - "enum": [ - "Accepted", - "Creating", - "Deleting", - "Failed", - "Moving", - "Succeeded" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Provisioning state of the migrate project." - }, - "registeredTools": { - "oneOf": [ - { - "type": "array", - "items": { - "type": "string", - "enum": [ - "ServerDiscovery", - "ServerAssessment", - "ServerMigration", - "Cloudamize", - "Turbonomic", - "Zerto", - "CorentTech", - "ServerAssessmentV1", - "ServerMigration_Replication", - "Carbonite", - "DataMigrationAssistant", - "DatabaseMigrationService" - ] - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Gets or sets the list of tools registered with the migrate project." - } - }, - "description": "Class for migrate project properties." - }, - "migrateProjects_solutions_childResource": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2018-09-01-preview" - ] - }, - "etag": { - "type": "string", - "description": "Gets or sets the ETAG for optimistic concurrency control." - }, - "name": { - "type": "string", - "description": "Unique name of a migration solution within a migrate project." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/SolutionProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Class for solution properties." - }, - "type": { - "type": "string", - "enum": [ - "solutions" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.Migrate/migrateProjects/solutions" - }, - "MigrateProjectTags": { - "type": "object", - "properties": { - "additionalProperties": { - "type": "string" - } - }, - "description": "Gets or sets the tags." - }, - "ServersSolutionSummary": { - "type": "object", - "properties": { - "assessedCount": { - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Gets or sets the count of servers assessed." - }, - "discoveredCount": { - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Gets or sets the count of servers discovered." - }, - "instanceType": { - "type": "string", - "enum": [ - "Servers" - ] - }, - "migratedCount": { - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Gets or sets the count of servers migrated." - }, - "replicatingCount": { - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Gets or sets the count of servers being replicated." - }, - "testMigratedCount": { - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Gets or sets the count of servers test migrated." - } - }, - "required": [ - "instanceType" - ], - "description": "Class representing the servers solution summary." - }, - "SolutionDetails": { - "type": "object", - "properties": { - "assessmentCount": { - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Gets or sets the count of assessments reported by the solution." - }, - "extendedDetails": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Gets or sets the extended details reported by the solution." - }, - "groupCount": { - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Gets or sets the count of groups reported by the solution." - } - }, - "description": "Class representing the details of the solution." - }, - "SolutionProperties": { - "type": "object", - "properties": { - "cleanupState": { - "oneOf": [ - { - "type": "string", - "enum": [ - "None", - "Started", - "InProgress", - "Completed", - "Failed" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Gets or sets the cleanup state of the solution." - }, - "details": { - "oneOf": [ - { - "$ref": "#/definitions/SolutionDetails" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Class representing the details of the solution." - }, - "goal": { - "oneOf": [ - { - "type": "string", - "enum": [ - "Servers", - "Databases" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Gets or sets the goal of the solution." - }, - "purpose": { - "oneOf": [ - { - "type": "string", - "enum": [ - "Discovery", - "Assessment", - "Migration" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Gets or sets the purpose of the solution." - }, - "status": { - "oneOf": [ - { - "type": "string", - "enum": [ - "Inactive", - "Active" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Gets or sets the current status of the solution." - }, - "summary": { - "oneOf": [ - { - "$ref": "#/definitions/SolutionSummary" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The solution summary class." - }, - "tool": { - "oneOf": [ - { - "type": "string", - "enum": [ - "ServerDiscovery", - "ServerAssessment", - "ServerMigration", - "Cloudamize", - "Turbonomic", - "Zerto", - "CorentTech", - "ServerAssessmentV1", - "ServerMigration_Replication", - "Carbonite", - "DataMigrationAssistant", - "DatabaseMigrationService" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Gets or sets the tool being used in the solution." - } - }, - "description": "Class for solution properties." - }, - "SolutionSummary": { - "type": "object", - "oneOf": [ - { - "$ref": "#/definitions/ServersSolutionSummary" - }, - { - "$ref": "#/definitions/DatabasesSolutionSummary" - } - ], - "properties": {}, - "description": "The solution summary class." - } - } -} \ No newline at end of file diff --git a/schemas/2019-10-01-preview/Microsoft.Migrate.json b/schemas/2019-10-01-preview/Microsoft.Migrate.json deleted file mode 100644 index 69d60e191b..0000000000 --- a/schemas/2019-10-01-preview/Microsoft.Migrate.json +++ /dev/null @@ -1,1054 +0,0 @@ -{ - "id": "https://schema.management.azure.com/schemas/2019-10-01-preview/Microsoft.Migrate.json#", - "$schema": "http://json-schema.org/draft-04/schema#", - "title": "Microsoft.Migrate", - "description": "Microsoft Migrate Resource Types", - "resourceDefinitions": { - "moveCollections": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2019-10-01-preview" - ] - }, - "identity": { - "oneOf": [ - { - "$ref": "#/definitions/Identity" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Defines the MSI properties of the Move Collection." - }, - "location": { - "type": "string", - "description": "The geo-location where the resource lives." - }, - "name": { - "type": "string", - "description": "The Move Collection Name." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/MoveCollectionProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Defines the move collection properties." - }, - "resources": { - "type": "array", - "items": { - "oneOf": [ - { - "$ref": "#/definitions/moveCollections_moveResources_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.Migrate/moveCollections" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.Migrate/moveCollections" - }, - "moveCollections_moveResources": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2019-10-01-preview" - ] - }, - "name": { - "type": "string", - "description": "The Move Resource Name." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/MoveResourceProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Defines the move resource properties." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.Migrate/moveCollections/moveResources" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.Migrate/moveCollections/moveResources" - } - }, - "definitions": { - "AvailabilitySetResourceSettings": { - "type": "object", - "properties": { - "faultDomain": { - "oneOf": [ - { - "type": "integer", - "minimum": 1 - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Gets or sets the target fault domain." - }, - "resourceType": { - "type": "string", - "enum": [ - "Microsoft.Compute/availabilitySets" - ] - }, - "updateDomain": { - "oneOf": [ - { - "type": "integer", - "minimum": 1, - "maximum": 20 - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Gets or sets the target update domain." - } - }, - "required": [ - "resourceType" - ], - "description": "Gets or sets the availability set resource settings." - }, - "DiskEncryptionSetResourceSettings": { - "type": "object", - "properties": { - "resourceType": { - "type": "string", - "enum": [ - "Microsoft.Compute/diskEncryptionSets" - ] - } - }, - "required": [ - "resourceType" - ], - "description": "Defines the disk encryption set resource settings." - }, - "Identity": { - "type": "object", - "properties": { - "principalId": { - "type": "string", - "description": "Gets or sets the principal id." - }, - "tenantId": { - "type": "string", - "description": "Gets or sets the tenant id." - }, - "type": { - "oneOf": [ - { - "type": "string", - "enum": [ - "None", - "SystemAssigned", - "UserAssigned" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - } - }, - "description": "Defines the MSI properties of the Move Collection." - }, - "KeyVaultResourceSettings": { - "type": "object", - "properties": { - "resourceType": { - "type": "string", - "enum": [ - "Microsoft.KeyVault/vaults" - ] - } - }, - "required": [ - "resourceType" - ], - "description": "Defines the key vault resource settings." - }, - "LBBackendAddressPoolResourceSettings": { - "type": "object", - "properties": { - "name": { - "type": "string", - "description": "Gets or sets the backend address pool name." - } - }, - "description": "Defines load balancer backend address pool properties." - }, - "LBFrontendIPConfigurationResourceSettings": { - "type": "object", - "properties": { - "name": { - "type": "string", - "description": "Gets or sets the frontend IP configuration name." - }, - "privateIpAddress": { - "type": "string", - "description": "Gets or sets the IP address of the Load Balancer.This is only specified if a specific\r\nprivate IP address shall be allocated from the subnet specified in subnetRef." - }, - "privateIpAllocationMethod": { - "type": "string", - "description": "Gets or sets PrivateIP allocation method (Static/Dynamic)." - }, - "subnet": { - "oneOf": [ - { - "$ref": "#/definitions/SubnetReference" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Defines reference to subnet." - }, - "zones": { - "type": "string", - "description": "Gets or sets the csv list of zones." - } - }, - "description": "Defines load balancer frontend IP configuration properties." - }, - "LoadBalancerBackendAddressPoolReference": { - "type": "object", - "properties": { - "name": { - "type": "string", - "description": "Gets the name of the proxy resource on the target side." - }, - "sourceArmResourceId": { - "type": "string", - "description": "Gets the ARM resource ID of the tracked resource being referenced." - } - }, - "required": [ - "sourceArmResourceId" - ], - "description": "Defines reference to load balancer backend address pools." - }, - "LoadBalancerNatRuleReference": { - "type": "object", - "properties": { - "name": { - "type": "string", - "description": "Gets the name of the proxy resource on the target side." - }, - "sourceArmResourceId": { - "type": "string", - "description": "Gets the ARM resource ID of the tracked resource being referenced." - } - }, - "required": [ - "sourceArmResourceId" - ], - "description": "Defines reference to load balancer NAT rules." - }, - "LoadBalancerResourceSettings": { - "type": "object", - "properties": { - "backendAddressPools": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/definitions/LBBackendAddressPoolResourceSettings" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Gets or sets the backend address pools of the load balancer." - }, - "frontendIPConfigurations": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/definitions/LBFrontendIPConfigurationResourceSettings" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Gets or sets the frontend IP configurations of the load balancer." - }, - "resourceType": { - "type": "string", - "enum": [ - "Microsoft.Network/loadBalancers" - ] - }, - "sku": { - "type": "string", - "description": "Gets or sets load balancer sku (Basic/Standard)." - }, - "zones": { - "type": "string", - "description": "Gets or sets the csv list of zones common for all frontend IP configurations. Note this is given\r\n precedence only if frontend IP configurations settings are not present." - } - }, - "required": [ - "resourceType" - ], - "description": "Defines the load balancer resource settings." - }, - "MoveCollectionProperties": { - "type": "object", - "properties": { - "provisioningState": { - "oneOf": [ - { - "type": "string", - "enum": [ - "Succeeded", - "Updating", - "Creating", - "Failed" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "sourceRegion": { - "type": "string", - "description": "Gets or sets the source region." - }, - "targetRegion": { - "type": "string", - "description": "Gets or sets the target region." - } - }, - "required": [ - "sourceRegion", - "targetRegion" - ], - "description": "Defines the move collection properties." - }, - "moveCollections_moveResources_childResource": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2019-10-01-preview" - ] - }, - "name": { - "type": "string", - "description": "The Move Resource Name." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/MoveResourceProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Defines the move resource properties." - }, - "type": { - "type": "string", - "enum": [ - "moveResources" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.Migrate/moveCollections/moveResources" - }, - "MoveResourceDependencyOverride": { - "type": "object", - "properties": { - "id": { - "type": "string", - "description": "Gets or sets the ARM ID of the dependent resource." - }, - "targetId": { - "type": "string", - "description": "Gets or sets the resource ARM id of either the MoveResource or the resource ARM ID of\r\nthe dependent resource." - } - }, - "description": "Defines the dependency override of the move resource." - }, - "MoveResourceProperties": { - "type": "object", - "properties": { - "dependsOnOverrides": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/definitions/MoveResourceDependencyOverride" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Gets or sets the move resource dependencies overrides." - }, - "existingTargetId": { - "type": "string", - "description": "Gets or sets the existing target ARM Id of the resource." - }, - "provisioningState": { - "oneOf": [ - { - "type": "string", - "enum": [ - "Succeeded", - "Updating", - "Creating", - "Failed" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "resourceSettings": { - "oneOf": [ - { - "$ref": "#/definitions/ResourceSettings" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Gets or sets the resource settings." - }, - "sourceId": { - "type": "string", - "description": "Gets or sets the Source ARM Id of the resource." - } - }, - "required": [ - "sourceId" - ], - "description": "Defines the move resource properties." - }, - "NetworkInterfaceResourceSettings": { - "type": "object", - "properties": { - "enableAcceleratedNetworking": { - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Gets or sets a value indicating whether accelerated networking is enabled." - }, - "ipConfigurations": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/definitions/NicIpConfigurationResourceSettings" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Gets or sets the IP configurations of the NIC." - }, - "resourceType": { - "type": "string", - "enum": [ - "Microsoft.Network/networkInterfaces" - ] - } - }, - "required": [ - "resourceType" - ], - "description": "Defines the network interface resource settings." - }, - "NetworkSecurityGroupResourceSettings": { - "type": "object", - "properties": { - "resourceType": { - "type": "string", - "enum": [ - "Microsoft.Network/networkSecurityGroups" - ] - }, - "securityRules": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/definitions/NsgSecurityRule" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Gets or sets Security rules of network security group." - } - }, - "required": [ - "resourceType" - ], - "description": "Defines the NSG resource settings." - }, - "NicIpConfigurationResourceSettings": { - "type": "object", - "properties": { - "loadBalancerBackendAddressPools": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/definitions/LoadBalancerBackendAddressPoolReference" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Gets or sets the references of the load balancer backend address pools." - }, - "loadBalancerNatRules": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/definitions/LoadBalancerNatRuleReference" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Gets or sets the references of the load balancer NAT rules." - }, - "name": { - "type": "string", - "description": "Gets or sets the IP configuration name." - }, - "primary": { - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Gets or sets a value indicating whether this IP configuration is the primary." - }, - "privateIpAddress": { - "type": "string", - "description": "Gets or sets the private IP address of the network interface IP Configuration." - }, - "privateIpAllocationMethod": { - "type": "string", - "description": "Gets or sets the private IP address allocation method." - }, - "publicIp": { - "oneOf": [ - { - "$ref": "#/definitions/PublicIpReference" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Defines reference to a public IP." - }, - "subnet": { - "oneOf": [ - { - "$ref": "#/definitions/SubnetReference" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Defines reference to subnet." - } - }, - "description": "Defines NIC IP configuration properties." - }, - "NsgReference": { - "type": "object", - "properties": { - "sourceArmResourceId": { - "type": "string", - "description": "Gets the ARM resource ID of the tracked resource being referenced." - } - }, - "required": [ - "sourceArmResourceId" - ], - "description": "Defines reference to NSG." - }, - "NsgSecurityRule": { - "type": "object", - "properties": { - "access": { - "type": "string", - "description": "Gets or sets whether network traffic is allowed or denied.\r\nPossible values are “Allow” and “Deny”." - }, - "description": { - "type": "string", - "description": "Gets or sets a description for this rule. Restricted to 140 chars." - }, - "destinationAddressPrefix": { - "type": "string", - "description": "Gets or sets destination address prefix. CIDR or source IP range.\r\n A “*” can also be used to match all source IPs. Default tags such\r\nas ‘VirtualNetwork’, ‘AzureLoadBalancer’ and ‘Internet’ can also be used." - }, - "destinationPortRange": { - "type": "string", - "description": "Gets or sets Destination Port or Range. Integer or range between\r\n0 and 65535. A “*” can also be used to match all ports." - }, - "direction": { - "type": "string", - "description": "Gets or sets the direction of the rule.InBound or Outbound. The\r\ndirection specifies if rule will be evaluated on incoming or outgoing traffic." - }, - "name": { - "type": "string", - "description": "Gets or sets the Security rule name." - }, - "priority": { - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Gets or sets the priority of the rule. The value can be between\r\n100 and 4096. The priority number must be unique for each rule in the collection.\r\nThe lower the priority number, the higher the priority of the rule." - }, - "protocol": { - "type": "string", - "description": "Gets or sets Network protocol this rule applies to. Can be Tcp, Udp or All(*)." - }, - "sourceAddressPrefix": { - "type": "string", - "description": "Gets or sets source address prefix. CIDR or source IP range. A\r\n“*” can also be used to match all source IPs. Default tags such as ‘VirtualNetwork’,\r\n‘AzureLoadBalancer’ and ‘Internet’ can also be used. If this is an ingress\r\nrule, specifies where network traffic originates from." - }, - "sourcePortRange": { - "type": "string", - "description": "Gets or sets Source Port or Range. Integer or range between 0 and\r\n65535. A “*” can also be used to match all ports." - } - }, - "description": "Security Rule data model for Network Security Groups." - }, - "PublicIPAddressResourceSettings": { - "type": "object", - "properties": { - "domainNameLabel": { - "type": "string", - "description": "Gets or sets the domain name label." - }, - "fqdn": { - "type": "string", - "description": "Gets or sets the fully qualified domain name." - }, - "publicIpAllocationMethod": { - "type": "string", - "description": "Gets or sets public IP allocation method." - }, - "resourceType": { - "type": "string", - "enum": [ - "Microsoft.Network/publicIPAddresses" - ] - }, - "sku": { - "type": "string", - "description": "Gets or sets public IP sku." - }, - "zones": { - "type": "string", - "description": "Gets or sets public IP zones." - } - }, - "required": [ - "resourceType" - ], - "description": "Defines the public IP address resource settings." - }, - "PublicIpReference": { - "type": "object", - "properties": { - "sourceArmResourceId": { - "type": "string", - "description": "Gets the ARM resource ID of the tracked resource being referenced." - } - }, - "required": [ - "sourceArmResourceId" - ], - "description": "Defines reference to a public IP." - }, - "ResourceGroupResourceSettings": { - "type": "object", - "properties": { - "resourceType": { - "type": "string", - "enum": [ - "resourceGroups" - ] - } - }, - "required": [ - "resourceType" - ], - "description": "Defines the resource group resource settings." - }, - "ResourceSettings": { - "type": "object", - "oneOf": [ - { - "$ref": "#/definitions/VirtualMachineResourceSettings" - }, - { - "$ref": "#/definitions/AvailabilitySetResourceSettings" - }, - { - "$ref": "#/definitions/VirtualNetworkResourceSettings" - }, - { - "$ref": "#/definitions/NetworkInterfaceResourceSettings" - }, - { - "$ref": "#/definitions/NetworkSecurityGroupResourceSettings" - }, - { - "$ref": "#/definitions/LoadBalancerResourceSettings" - }, - { - "$ref": "#/definitions/SqlServerResourceSettings" - }, - { - "$ref": "#/definitions/SqlElasticPoolResourceSettings" - }, - { - "$ref": "#/definitions/SqlDatabaseResourceSettings" - }, - { - "$ref": "#/definitions/ResourceGroupResourceSettings" - }, - { - "$ref": "#/definitions/PublicIPAddressResourceSettings" - }, - { - "$ref": "#/definitions/KeyVaultResourceSettings" - }, - { - "$ref": "#/definitions/DiskEncryptionSetResourceSettings" - } - ], - "properties": { - "targetResourceName": { - "type": "string", - "description": "Gets or sets the target Resource name." - } - }, - "required": [ - "targetResourceName" - ], - "description": "Gets or sets the resource settings." - }, - "SqlDatabaseResourceSettings": { - "type": "object", - "properties": { - "resourceType": { - "type": "string", - "enum": [ - "Microsoft.Sql/servers/databases" - ] - }, - "zoneRedundant": { - "oneOf": [ - { - "type": "string", - "enum": [ - "Enable", - "Disable" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - } - }, - "required": [ - "resourceType" - ], - "description": "Defines the Sql Database resource settings." - }, - "SqlElasticPoolResourceSettings": { - "type": "object", - "properties": { - "resourceType": { - "type": "string", - "enum": [ - "Microsoft.Sql/servers/elasticPools" - ] - }, - "zoneRedundant": { - "oneOf": [ - { - "type": "string", - "enum": [ - "Enable", - "Disable" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - } - }, - "required": [ - "resourceType" - ], - "description": "Defines the Sql ElasticPool resource settings." - }, - "SqlServerResourceSettings": { - "type": "object", - "properties": { - "resourceType": { - "type": "string", - "enum": [ - "Microsoft.Sql/servers" - ] - } - }, - "required": [ - "resourceType" - ], - "description": "Defines the SQL Server resource settings." - }, - "SubnetReference": { - "type": "object", - "properties": { - "name": { - "type": "string", - "description": "Gets the name of the proxy resource on the target side." - }, - "sourceArmResourceId": { - "type": "string", - "description": "Gets the ARM resource ID of the tracked resource being referenced." - } - }, - "required": [ - "sourceArmResourceId" - ], - "description": "Defines reference to subnet." - }, - "SubnetResourceSettings": { - "type": "object", - "properties": { - "addressPrefix": { - "type": "string", - "description": "Gets or sets address prefix for the subnet." - }, - "name": { - "type": "string", - "description": "Gets or sets the Subnet name." - }, - "networkSecurityGroup": { - "oneOf": [ - { - "$ref": "#/definitions/NsgReference" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Defines reference to NSG." - } - }, - "description": "Defines the virtual network subnets resource settings." - }, - "VirtualMachineResourceSettings": { - "type": "object", - "properties": { - "resourceType": { - "type": "string", - "enum": [ - "Microsoft.Compute/virtualMachines" - ] - }, - "targetAvailabilitySetId": { - "type": "string", - "description": "Gets or sets the target availability set id for virtual machines not in an availability set at source." - }, - "targetAvailabilityZone": { - "oneOf": [ - { - "type": "string", - "enum": [ - "1", - "2", - "3", - "NA" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Gets or sets the target availability zone." - }, - "targetVmSize": { - "type": "string", - "description": "Gets or sets the target virtual machine size." - } - }, - "required": [ - "resourceType" - ], - "description": "Gets or sets the virtual machine resource settings." - }, - "VirtualNetworkResourceSettings": { - "type": "object", - "properties": { - "addressSpace": { - "oneOf": [ - { - "type": "array", - "items": { - "type": "string" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Gets or sets the address prefixes for the virtual network." - }, - "dnsServers": { - "oneOf": [ - { - "type": "array", - "items": { - "type": "string" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Gets or sets DHCPOptions that contains an array of DNS servers available to VMs\r\ndeployed in the virtual network." - }, - "enableDdosProtection": { - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Gets or sets a value indicating whether gets or sets whether the\r\nDDOS protection should be switched on." - }, - "resourceType": { - "type": "string", - "enum": [ - "Microsoft.Network/virtualNetworks" - ] - }, - "subnets": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/definitions/SubnetResourceSettings" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Gets or sets List of subnets in a VirtualNetwork." - } - }, - "required": [ - "resourceType" - ], - "description": "Defines the virtual network resource settings." - } - } -} \ No newline at end of file diff --git a/schemas/2021-01-01/Microsoft.Migrate.json b/schemas/2021-01-01/Microsoft.Migrate.json deleted file mode 100644 index 0e45499ee6..0000000000 --- a/schemas/2021-01-01/Microsoft.Migrate.json +++ /dev/null @@ -1,1054 +0,0 @@ -{ - "id": "https://schema.management.azure.com/schemas/2021-01-01/Microsoft.Migrate.json#", - "$schema": "http://json-schema.org/draft-04/schema#", - "title": "Microsoft.Migrate", - "description": "Microsoft Migrate Resource Types", - "resourceDefinitions": { - "moveCollections": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2021-01-01" - ] - }, - "identity": { - "oneOf": [ - { - "$ref": "#/definitions/Identity" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Defines the MSI properties of the Move Collection." - }, - "location": { - "type": "string", - "description": "The geo-location where the resource lives." - }, - "name": { - "type": "string", - "description": "The Move Collection Name." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/MoveCollectionProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Defines the move collection properties." - }, - "resources": { - "type": "array", - "items": { - "oneOf": [ - { - "$ref": "#/definitions/moveCollections_moveResources_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.Migrate/moveCollections" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.Migrate/moveCollections" - }, - "moveCollections_moveResources": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2021-01-01" - ] - }, - "name": { - "type": "string", - "description": "The Move Resource Name." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/MoveResourceProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Defines the move resource properties." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.Migrate/moveCollections/moveResources" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.Migrate/moveCollections/moveResources" - } - }, - "definitions": { - "AvailabilitySetResourceSettings": { - "type": "object", - "properties": { - "faultDomain": { - "oneOf": [ - { - "type": "integer", - "minimum": 1 - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Gets or sets the target fault domain." - }, - "resourceType": { - "type": "string", - "enum": [ - "Microsoft.Compute/availabilitySets" - ] - }, - "updateDomain": { - "oneOf": [ - { - "type": "integer", - "minimum": 1, - "maximum": 20 - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Gets or sets the target update domain." - } - }, - "required": [ - "resourceType" - ], - "description": "Gets or sets the availability set resource settings." - }, - "DiskEncryptionSetResourceSettings": { - "type": "object", - "properties": { - "resourceType": { - "type": "string", - "enum": [ - "Microsoft.Compute/diskEncryptionSets" - ] - } - }, - "required": [ - "resourceType" - ], - "description": "Defines the disk encryption set resource settings." - }, - "Identity": { - "type": "object", - "properties": { - "principalId": { - "type": "string", - "description": "Gets or sets the principal id." - }, - "tenantId": { - "type": "string", - "description": "Gets or sets the tenant id." - }, - "type": { - "oneOf": [ - { - "type": "string", - "enum": [ - "None", - "SystemAssigned", - "UserAssigned" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - } - }, - "description": "Defines the MSI properties of the Move Collection." - }, - "KeyVaultResourceSettings": { - "type": "object", - "properties": { - "resourceType": { - "type": "string", - "enum": [ - "Microsoft.KeyVault/vaults" - ] - } - }, - "required": [ - "resourceType" - ], - "description": "Defines the key vault resource settings." - }, - "LBBackendAddressPoolResourceSettings": { - "type": "object", - "properties": { - "name": { - "type": "string", - "description": "Gets or sets the backend address pool name." - } - }, - "description": "Defines load balancer backend address pool properties." - }, - "LBFrontendIPConfigurationResourceSettings": { - "type": "object", - "properties": { - "name": { - "type": "string", - "description": "Gets or sets the frontend IP configuration name." - }, - "privateIpAddress": { - "type": "string", - "description": "Gets or sets the IP address of the Load Balancer.This is only specified if a specific\r\nprivate IP address shall be allocated from the subnet specified in subnetRef." - }, - "privateIpAllocationMethod": { - "type": "string", - "description": "Gets or sets PrivateIP allocation method (Static/Dynamic)." - }, - "subnet": { - "oneOf": [ - { - "$ref": "#/definitions/SubnetReference" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Defines reference to subnet." - }, - "zones": { - "type": "string", - "description": "Gets or sets the csv list of zones." - } - }, - "description": "Defines load balancer frontend IP configuration properties." - }, - "LoadBalancerBackendAddressPoolReference": { - "type": "object", - "properties": { - "name": { - "type": "string", - "description": "Gets the name of the proxy resource on the target side." - }, - "sourceArmResourceId": { - "type": "string", - "description": "Gets the ARM resource ID of the tracked resource being referenced." - } - }, - "required": [ - "sourceArmResourceId" - ], - "description": "Defines reference to load balancer backend address pools." - }, - "LoadBalancerNatRuleReference": { - "type": "object", - "properties": { - "name": { - "type": "string", - "description": "Gets the name of the proxy resource on the target side." - }, - "sourceArmResourceId": { - "type": "string", - "description": "Gets the ARM resource ID of the tracked resource being referenced." - } - }, - "required": [ - "sourceArmResourceId" - ], - "description": "Defines reference to load balancer NAT rules." - }, - "LoadBalancerResourceSettings": { - "type": "object", - "properties": { - "backendAddressPools": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/definitions/LBBackendAddressPoolResourceSettings" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Gets or sets the backend address pools of the load balancer." - }, - "frontendIPConfigurations": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/definitions/LBFrontendIPConfigurationResourceSettings" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Gets or sets the frontend IP configurations of the load balancer." - }, - "resourceType": { - "type": "string", - "enum": [ - "Microsoft.Network/loadBalancers" - ] - }, - "sku": { - "type": "string", - "description": "Gets or sets load balancer sku (Basic/Standard)." - }, - "zones": { - "type": "string", - "description": "Gets or sets the csv list of zones common for all frontend IP configurations. Note this is given\r\n precedence only if frontend IP configurations settings are not present." - } - }, - "required": [ - "resourceType" - ], - "description": "Defines the load balancer resource settings." - }, - "MoveCollectionProperties": { - "type": "object", - "properties": { - "provisioningState": { - "oneOf": [ - { - "type": "string", - "enum": [ - "Succeeded", - "Updating", - "Creating", - "Failed" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "sourceRegion": { - "type": "string", - "description": "Gets or sets the source region." - }, - "targetRegion": { - "type": "string", - "description": "Gets or sets the target region." - } - }, - "required": [ - "sourceRegion", - "targetRegion" - ], - "description": "Defines the move collection properties." - }, - "moveCollections_moveResources_childResource": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2021-01-01" - ] - }, - "name": { - "type": "string", - "description": "The Move Resource Name." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/MoveResourceProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Defines the move resource properties." - }, - "type": { - "type": "string", - "enum": [ - "moveResources" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.Migrate/moveCollections/moveResources" - }, - "MoveResourceDependencyOverride": { - "type": "object", - "properties": { - "id": { - "type": "string", - "description": "Gets or sets the ARM ID of the dependent resource." - }, - "targetId": { - "type": "string", - "description": "Gets or sets the resource ARM id of either the MoveResource or the resource ARM ID of\r\nthe dependent resource." - } - }, - "description": "Defines the dependency override of the move resource." - }, - "MoveResourceProperties": { - "type": "object", - "properties": { - "dependsOnOverrides": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/definitions/MoveResourceDependencyOverride" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Gets or sets the move resource dependencies overrides." - }, - "existingTargetId": { - "type": "string", - "description": "Gets or sets the existing target ARM Id of the resource." - }, - "provisioningState": { - "oneOf": [ - { - "type": "string", - "enum": [ - "Succeeded", - "Updating", - "Creating", - "Failed" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "resourceSettings": { - "oneOf": [ - { - "$ref": "#/definitions/ResourceSettings" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Gets or sets the resource settings." - }, - "sourceId": { - "type": "string", - "description": "Gets or sets the Source ARM Id of the resource." - } - }, - "required": [ - "sourceId" - ], - "description": "Defines the move resource properties." - }, - "NetworkInterfaceResourceSettings": { - "type": "object", - "properties": { - "enableAcceleratedNetworking": { - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Gets or sets a value indicating whether accelerated networking is enabled." - }, - "ipConfigurations": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/definitions/NicIpConfigurationResourceSettings" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Gets or sets the IP configurations of the NIC." - }, - "resourceType": { - "type": "string", - "enum": [ - "Microsoft.Network/networkInterfaces" - ] - } - }, - "required": [ - "resourceType" - ], - "description": "Defines the network interface resource settings." - }, - "NetworkSecurityGroupResourceSettings": { - "type": "object", - "properties": { - "resourceType": { - "type": "string", - "enum": [ - "Microsoft.Network/networkSecurityGroups" - ] - }, - "securityRules": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/definitions/NsgSecurityRule" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Gets or sets Security rules of network security group." - } - }, - "required": [ - "resourceType" - ], - "description": "Defines the NSG resource settings." - }, - "NicIpConfigurationResourceSettings": { - "type": "object", - "properties": { - "loadBalancerBackendAddressPools": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/definitions/LoadBalancerBackendAddressPoolReference" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Gets or sets the references of the load balancer backend address pools." - }, - "loadBalancerNatRules": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/definitions/LoadBalancerNatRuleReference" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Gets or sets the references of the load balancer NAT rules." - }, - "name": { - "type": "string", - "description": "Gets or sets the IP configuration name." - }, - "primary": { - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Gets or sets a value indicating whether this IP configuration is the primary." - }, - "privateIpAddress": { - "type": "string", - "description": "Gets or sets the private IP address of the network interface IP Configuration." - }, - "privateIpAllocationMethod": { - "type": "string", - "description": "Gets or sets the private IP address allocation method." - }, - "publicIp": { - "oneOf": [ - { - "$ref": "#/definitions/PublicIpReference" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Defines reference to a public IP." - }, - "subnet": { - "oneOf": [ - { - "$ref": "#/definitions/SubnetReference" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Defines reference to subnet." - } - }, - "description": "Defines NIC IP configuration properties." - }, - "NsgReference": { - "type": "object", - "properties": { - "sourceArmResourceId": { - "type": "string", - "description": "Gets the ARM resource ID of the tracked resource being referenced." - } - }, - "required": [ - "sourceArmResourceId" - ], - "description": "Defines reference to NSG." - }, - "NsgSecurityRule": { - "type": "object", - "properties": { - "access": { - "type": "string", - "description": "Gets or sets whether network traffic is allowed or denied.\r\nPossible values are “Allow” and “Deny”." - }, - "description": { - "type": "string", - "description": "Gets or sets a description for this rule. Restricted to 140 chars." - }, - "destinationAddressPrefix": { - "type": "string", - "description": "Gets or sets destination address prefix. CIDR or source IP range.\r\n A “*” can also be used to match all source IPs. Default tags such\r\nas ‘VirtualNetwork’, ‘AzureLoadBalancer’ and ‘Internet’ can also be used." - }, - "destinationPortRange": { - "type": "string", - "description": "Gets or sets Destination Port or Range. Integer or range between\r\n0 and 65535. A “*” can also be used to match all ports." - }, - "direction": { - "type": "string", - "description": "Gets or sets the direction of the rule.InBound or Outbound. The\r\ndirection specifies if rule will be evaluated on incoming or outgoing traffic." - }, - "name": { - "type": "string", - "description": "Gets or sets the Security rule name." - }, - "priority": { - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Gets or sets the priority of the rule. The value can be between\r\n100 and 4096. The priority number must be unique for each rule in the collection.\r\nThe lower the priority number, the higher the priority of the rule." - }, - "protocol": { - "type": "string", - "description": "Gets or sets Network protocol this rule applies to. Can be Tcp, Udp or All(*)." - }, - "sourceAddressPrefix": { - "type": "string", - "description": "Gets or sets source address prefix. CIDR or source IP range. A\r\n“*” can also be used to match all source IPs. Default tags such as ‘VirtualNetwork’,\r\n‘AzureLoadBalancer’ and ‘Internet’ can also be used. If this is an ingress\r\nrule, specifies where network traffic originates from." - }, - "sourcePortRange": { - "type": "string", - "description": "Gets or sets Source Port or Range. Integer or range between 0 and\r\n65535. A “*” can also be used to match all ports." - } - }, - "description": "Security Rule data model for Network Security Groups." - }, - "PublicIPAddressResourceSettings": { - "type": "object", - "properties": { - "domainNameLabel": { - "type": "string", - "description": "Gets or sets the domain name label." - }, - "fqdn": { - "type": "string", - "description": "Gets or sets the fully qualified domain name." - }, - "publicIpAllocationMethod": { - "type": "string", - "description": "Gets or sets public IP allocation method." - }, - "resourceType": { - "type": "string", - "enum": [ - "Microsoft.Network/publicIPAddresses" - ] - }, - "sku": { - "type": "string", - "description": "Gets or sets public IP sku." - }, - "zones": { - "type": "string", - "description": "Gets or sets public IP zones." - } - }, - "required": [ - "resourceType" - ], - "description": "Defines the public IP address resource settings." - }, - "PublicIpReference": { - "type": "object", - "properties": { - "sourceArmResourceId": { - "type": "string", - "description": "Gets the ARM resource ID of the tracked resource being referenced." - } - }, - "required": [ - "sourceArmResourceId" - ], - "description": "Defines reference to a public IP." - }, - "ResourceGroupResourceSettings": { - "type": "object", - "properties": { - "resourceType": { - "type": "string", - "enum": [ - "resourceGroups" - ] - } - }, - "required": [ - "resourceType" - ], - "description": "Defines the resource group resource settings." - }, - "ResourceSettings": { - "type": "object", - "oneOf": [ - { - "$ref": "#/definitions/VirtualMachineResourceSettings" - }, - { - "$ref": "#/definitions/AvailabilitySetResourceSettings" - }, - { - "$ref": "#/definitions/VirtualNetworkResourceSettings" - }, - { - "$ref": "#/definitions/NetworkInterfaceResourceSettings" - }, - { - "$ref": "#/definitions/NetworkSecurityGroupResourceSettings" - }, - { - "$ref": "#/definitions/LoadBalancerResourceSettings" - }, - { - "$ref": "#/definitions/SqlServerResourceSettings" - }, - { - "$ref": "#/definitions/SqlElasticPoolResourceSettings" - }, - { - "$ref": "#/definitions/SqlDatabaseResourceSettings" - }, - { - "$ref": "#/definitions/ResourceGroupResourceSettings" - }, - { - "$ref": "#/definitions/PublicIPAddressResourceSettings" - }, - { - "$ref": "#/definitions/KeyVaultResourceSettings" - }, - { - "$ref": "#/definitions/DiskEncryptionSetResourceSettings" - } - ], - "properties": { - "targetResourceName": { - "type": "string", - "description": "Gets or sets the target Resource name." - } - }, - "required": [ - "targetResourceName" - ], - "description": "Gets or sets the resource settings." - }, - "SqlDatabaseResourceSettings": { - "type": "object", - "properties": { - "resourceType": { - "type": "string", - "enum": [ - "Microsoft.Sql/servers/databases" - ] - }, - "zoneRedundant": { - "oneOf": [ - { - "type": "string", - "enum": [ - "Enable", - "Disable" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - } - }, - "required": [ - "resourceType" - ], - "description": "Defines the Sql Database resource settings." - }, - "SqlElasticPoolResourceSettings": { - "type": "object", - "properties": { - "resourceType": { - "type": "string", - "enum": [ - "Microsoft.Sql/servers/elasticPools" - ] - }, - "zoneRedundant": { - "oneOf": [ - { - "type": "string", - "enum": [ - "Enable", - "Disable" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - } - }, - "required": [ - "resourceType" - ], - "description": "Defines the Sql ElasticPool resource settings." - }, - "SqlServerResourceSettings": { - "type": "object", - "properties": { - "resourceType": { - "type": "string", - "enum": [ - "Microsoft.Sql/servers" - ] - } - }, - "required": [ - "resourceType" - ], - "description": "Defines the SQL Server resource settings." - }, - "SubnetReference": { - "type": "object", - "properties": { - "name": { - "type": "string", - "description": "Gets the name of the proxy resource on the target side." - }, - "sourceArmResourceId": { - "type": "string", - "description": "Gets the ARM resource ID of the tracked resource being referenced." - } - }, - "required": [ - "sourceArmResourceId" - ], - "description": "Defines reference to subnet." - }, - "SubnetResourceSettings": { - "type": "object", - "properties": { - "addressPrefix": { - "type": "string", - "description": "Gets or sets address prefix for the subnet." - }, - "name": { - "type": "string", - "description": "Gets or sets the Subnet name." - }, - "networkSecurityGroup": { - "oneOf": [ - { - "$ref": "#/definitions/NsgReference" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Defines reference to NSG." - } - }, - "description": "Defines the virtual network subnets resource settings." - }, - "VirtualMachineResourceSettings": { - "type": "object", - "properties": { - "resourceType": { - "type": "string", - "enum": [ - "Microsoft.Compute/virtualMachines" - ] - }, - "targetAvailabilitySetId": { - "type": "string", - "description": "Gets or sets the target availability set id for virtual machines not in an availability set at source." - }, - "targetAvailabilityZone": { - "oneOf": [ - { - "type": "string", - "enum": [ - "1", - "2", - "3", - "NA" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Gets or sets the target availability zone." - }, - "targetVmSize": { - "type": "string", - "description": "Gets or sets the target virtual machine size." - } - }, - "required": [ - "resourceType" - ], - "description": "Gets or sets the virtual machine resource settings." - }, - "VirtualNetworkResourceSettings": { - "type": "object", - "properties": { - "addressSpace": { - "oneOf": [ - { - "type": "array", - "items": { - "type": "string" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Gets or sets the address prefixes for the virtual network." - }, - "dnsServers": { - "oneOf": [ - { - "type": "array", - "items": { - "type": "string" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Gets or sets DHCPOptions that contains an array of DNS servers available to VMs\r\ndeployed in the virtual network." - }, - "enableDdosProtection": { - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Gets or sets a value indicating whether gets or sets whether the\r\nDDOS protection should be switched on." - }, - "resourceType": { - "type": "string", - "enum": [ - "Microsoft.Network/virtualNetworks" - ] - }, - "subnets": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/definitions/SubnetResourceSettings" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Gets or sets List of subnets in a VirtualNetwork." - } - }, - "required": [ - "resourceType" - ], - "description": "Defines the virtual network resource settings." - } - } -} \ No newline at end of file diff --git a/schemas/common/autogeneratedResources.json b/schemas/common/autogeneratedResources.json index 25f6fcdba4..3366c5a7f4 100644 --- a/schemas/common/autogeneratedResources.json +++ b/schemas/common/autogeneratedResources.json @@ -6883,12 +6883,6 @@ { "$ref": "https://schema.management.azure.com/schemas/2018-02-02/Microsoft.Migrate.json#/resourceDefinitions/projects_groups_assessments" }, - { - "$ref": "https://schema.management.azure.com/schemas/2018-09-01-preview/Microsoft.Migrate.json#/resourceDefinitions/migrateProjects" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2018-09-01-preview/Microsoft.Migrate.json#/resourceDefinitions/migrateProjects_solutions" - }, { "$ref": "https://schema.management.azure.com/schemas/2019-10-01/Microsoft.Migrate.json#/resourceDefinitions/assessmentProjects" }, @@ -6913,18 +6907,6 @@ { "$ref": "https://schema.management.azure.com/schemas/2019-10-01/Microsoft.Migrate.json#/resourceDefinitions/assessmentProjects_vmwarecollectors" }, - { - "$ref": "https://schema.management.azure.com/schemas/2019-10-01-preview/Microsoft.Migrate.json#/resourceDefinitions/moveCollections" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2019-10-01-preview/Microsoft.Migrate.json#/resourceDefinitions/moveCollections_moveResources" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2021-01-01/Microsoft.Migrate.json#/resourceDefinitions/moveCollections" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2021-01-01/Microsoft.Migrate.json#/resourceDefinitions/moveCollections_moveResources" - }, { "$ref": "https://schema.management.azure.com/schemas/2019-02-28-preview/Microsoft.MixedReality.json#/resourceDefinitions/spatialAnchorsAccounts" }, From 57aa1db9334b70bb480d7d46121ba24442e724fd Mon Sep 17 00:00:00 2001 From: Autogenerator Pipeline Date: Tue, 27 Jul 2021 09:25:00 +0000 Subject: [PATCH 02/64] Update resource list --- generator/resources.json | 14 -------------- 1 file changed, 14 deletions(-) diff --git a/generator/resources.json b/generator/resources.json index 2f0175e1b3..2cf8c5254c 100644 --- a/generator/resources.json +++ b/generator/resources.json @@ -3900,20 +3900,6 @@ "Microsoft.Migrate/assessmentprojects/privateEndpointConnections": [ "2019-10-01" ], - "Microsoft.Migrate/migrateProjects": [ - "2018-09-01-preview" - ], - "Microsoft.Migrate/migrateProjects/solutions": [ - "2018-09-01-preview" - ], - "Microsoft.Migrate/moveCollections": [ - "2019-10-01-preview", - "2021-01-01" - ], - "Microsoft.Migrate/moveCollections/moveResources": [ - "2019-10-01-preview", - "2021-01-01" - ], "Microsoft.Migrate/projects": [ "2018-02-02" ], From ab13cb68c5bff361fbef4d1afa79f7d31011f521 Mon Sep 17 00:00:00 2001 From: Autogenerator Pipeline Date: Tue, 27 Jul 2021 10:34:46 +0000 Subject: [PATCH 03/64] Autogenerate schemas --- .../2018-09-01-preview/Microsoft.Migrate.json | 517 ++++++++ .../2019-10-01-preview/Microsoft.Migrate.json | 1054 +++++++++++++++++ schemas/2021-01-01/Microsoft.Migrate.json | 1054 +++++++++++++++++ schemas/common/autogeneratedResources.json | 18 + 4 files changed, 2643 insertions(+) create mode 100644 schemas/2018-09-01-preview/Microsoft.Migrate.json create mode 100644 schemas/2019-10-01-preview/Microsoft.Migrate.json create mode 100644 schemas/2021-01-01/Microsoft.Migrate.json diff --git a/schemas/2018-09-01-preview/Microsoft.Migrate.json b/schemas/2018-09-01-preview/Microsoft.Migrate.json new file mode 100644 index 0000000000..074e3e9b7c --- /dev/null +++ b/schemas/2018-09-01-preview/Microsoft.Migrate.json @@ -0,0 +1,517 @@ +{ + "id": "https://schema.management.azure.com/schemas/2018-09-01-preview/Microsoft.Migrate.json#", + "$schema": "http://json-schema.org/draft-04/schema#", + "title": "Microsoft.Migrate", + "description": "Microsoft Migrate Resource Types", + "resourceDefinitions": { + "migrateProjects": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2018-09-01-preview" + ] + }, + "eTag": { + "type": "string", + "description": "Gets or sets the eTag for concurrency control." + }, + "location": { + "type": "string", + "description": "Gets or sets the Azure location in which migrate project is created." + }, + "name": { + "type": "string", + "description": "Name of the Azure Migrate project." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/MigrateProjectProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Class for migrate project properties." + }, + "resources": { + "type": "array", + "items": { + "oneOf": [ + { + "$ref": "#/definitions/migrateProjects_solutions_childResource" + } + ] + } + }, + "tags": { + "oneOf": [ + { + "$ref": "#/definitions/MigrateProjectTags" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Gets or sets the tags." + }, + "type": { + "type": "string", + "enum": [ + "Microsoft.Migrate/migrateProjects" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.Migrate/migrateProjects" + }, + "migrateProjects_solutions": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2018-09-01-preview" + ] + }, + "etag": { + "type": "string", + "description": "Gets or sets the ETAG for optimistic concurrency control." + }, + "name": { + "type": "string", + "description": "Unique name of a migration solution within a migrate project." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/SolutionProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Class for solution properties." + }, + "type": { + "type": "string", + "enum": [ + "Microsoft.Migrate/migrateProjects/solutions" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.Migrate/migrateProjects/solutions" + } + }, + "definitions": { + "DatabasesSolutionSummary": { + "type": "object", + "properties": { + "databaseInstancesAssessedCount": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Gets or sets the count of database instances assessed." + }, + "databasesAssessedCount": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Gets or sets the count of databases assessed." + }, + "instanceType": { + "type": "string", + "enum": [ + "Databases" + ] + }, + "migrationReadyCount": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Gets or sets the count of databases ready for migration." + } + }, + "required": [ + "instanceType" + ], + "description": "Class representing the databases solution summary." + }, + "MigrateProjectProperties": { + "type": "object", + "properties": { + "provisioningState": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Accepted", + "Creating", + "Deleting", + "Failed", + "Moving", + "Succeeded" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Provisioning state of the migrate project." + }, + "registeredTools": { + "oneOf": [ + { + "type": "array", + "items": { + "type": "string", + "enum": [ + "ServerDiscovery", + "ServerAssessment", + "ServerMigration", + "Cloudamize", + "Turbonomic", + "Zerto", + "CorentTech", + "ServerAssessmentV1", + "ServerMigration_Replication", + "Carbonite", + "DataMigrationAssistant", + "DatabaseMigrationService" + ] + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Gets or sets the list of tools registered with the migrate project." + } + }, + "description": "Class for migrate project properties." + }, + "migrateProjects_solutions_childResource": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2018-09-01-preview" + ] + }, + "etag": { + "type": "string", + "description": "Gets or sets the ETAG for optimistic concurrency control." + }, + "name": { + "type": "string", + "description": "Unique name of a migration solution within a migrate project." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/SolutionProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Class for solution properties." + }, + "type": { + "type": "string", + "enum": [ + "solutions" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.Migrate/migrateProjects/solutions" + }, + "MigrateProjectTags": { + "type": "object", + "properties": { + "additionalProperties": { + "type": "string" + } + }, + "description": "Gets or sets the tags." + }, + "ServersSolutionSummary": { + "type": "object", + "properties": { + "assessedCount": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Gets or sets the count of servers assessed." + }, + "discoveredCount": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Gets or sets the count of servers discovered." + }, + "instanceType": { + "type": "string", + "enum": [ + "Servers" + ] + }, + "migratedCount": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Gets or sets the count of servers migrated." + }, + "replicatingCount": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Gets or sets the count of servers being replicated." + }, + "testMigratedCount": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Gets or sets the count of servers test migrated." + } + }, + "required": [ + "instanceType" + ], + "description": "Class representing the servers solution summary." + }, + "SolutionDetails": { + "type": "object", + "properties": { + "assessmentCount": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Gets or sets the count of assessments reported by the solution." + }, + "extendedDetails": { + "oneOf": [ + { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "properties": {} + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Gets or sets the extended details reported by the solution." + }, + "groupCount": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Gets or sets the count of groups reported by the solution." + } + }, + "description": "Class representing the details of the solution." + }, + "SolutionProperties": { + "type": "object", + "properties": { + "cleanupState": { + "oneOf": [ + { + "type": "string", + "enum": [ + "None", + "Started", + "InProgress", + "Completed", + "Failed" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Gets or sets the cleanup state of the solution." + }, + "details": { + "oneOf": [ + { + "$ref": "#/definitions/SolutionDetails" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Class representing the details of the solution." + }, + "goal": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Servers", + "Databases" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Gets or sets the goal of the solution." + }, + "purpose": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Discovery", + "Assessment", + "Migration" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Gets or sets the purpose of the solution." + }, + "status": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Inactive", + "Active" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Gets or sets the current status of the solution." + }, + "summary": { + "oneOf": [ + { + "$ref": "#/definitions/SolutionSummary" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The solution summary class." + }, + "tool": { + "oneOf": [ + { + "type": "string", + "enum": [ + "ServerDiscovery", + "ServerAssessment", + "ServerMigration", + "Cloudamize", + "Turbonomic", + "Zerto", + "CorentTech", + "ServerAssessmentV1", + "ServerMigration_Replication", + "Carbonite", + "DataMigrationAssistant", + "DatabaseMigrationService" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Gets or sets the tool being used in the solution." + } + }, + "description": "Class for solution properties." + }, + "SolutionSummary": { + "type": "object", + "oneOf": [ + { + "$ref": "#/definitions/ServersSolutionSummary" + }, + { + "$ref": "#/definitions/DatabasesSolutionSummary" + } + ], + "properties": {}, + "description": "The solution summary class." + } + } +} \ No newline at end of file diff --git a/schemas/2019-10-01-preview/Microsoft.Migrate.json b/schemas/2019-10-01-preview/Microsoft.Migrate.json new file mode 100644 index 0000000000..69d60e191b --- /dev/null +++ b/schemas/2019-10-01-preview/Microsoft.Migrate.json @@ -0,0 +1,1054 @@ +{ + "id": "https://schema.management.azure.com/schemas/2019-10-01-preview/Microsoft.Migrate.json#", + "$schema": "http://json-schema.org/draft-04/schema#", + "title": "Microsoft.Migrate", + "description": "Microsoft Migrate Resource Types", + "resourceDefinitions": { + "moveCollections": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2019-10-01-preview" + ] + }, + "identity": { + "oneOf": [ + { + "$ref": "#/definitions/Identity" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Defines the MSI properties of the Move Collection." + }, + "location": { + "type": "string", + "description": "The geo-location where the resource lives." + }, + "name": { + "type": "string", + "description": "The Move Collection Name." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/MoveCollectionProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Defines the move collection properties." + }, + "resources": { + "type": "array", + "items": { + "oneOf": [ + { + "$ref": "#/definitions/moveCollections_moveResources_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.Migrate/moveCollections" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.Migrate/moveCollections" + }, + "moveCollections_moveResources": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2019-10-01-preview" + ] + }, + "name": { + "type": "string", + "description": "The Move Resource Name." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/MoveResourceProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Defines the move resource properties." + }, + "type": { + "type": "string", + "enum": [ + "Microsoft.Migrate/moveCollections/moveResources" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.Migrate/moveCollections/moveResources" + } + }, + "definitions": { + "AvailabilitySetResourceSettings": { + "type": "object", + "properties": { + "faultDomain": { + "oneOf": [ + { + "type": "integer", + "minimum": 1 + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Gets or sets the target fault domain." + }, + "resourceType": { + "type": "string", + "enum": [ + "Microsoft.Compute/availabilitySets" + ] + }, + "updateDomain": { + "oneOf": [ + { + "type": "integer", + "minimum": 1, + "maximum": 20 + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Gets or sets the target update domain." + } + }, + "required": [ + "resourceType" + ], + "description": "Gets or sets the availability set resource settings." + }, + "DiskEncryptionSetResourceSettings": { + "type": "object", + "properties": { + "resourceType": { + "type": "string", + "enum": [ + "Microsoft.Compute/diskEncryptionSets" + ] + } + }, + "required": [ + "resourceType" + ], + "description": "Defines the disk encryption set resource settings." + }, + "Identity": { + "type": "object", + "properties": { + "principalId": { + "type": "string", + "description": "Gets or sets the principal id." + }, + "tenantId": { + "type": "string", + "description": "Gets or sets the tenant id." + }, + "type": { + "oneOf": [ + { + "type": "string", + "enum": [ + "None", + "SystemAssigned", + "UserAssigned" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ] + } + }, + "description": "Defines the MSI properties of the Move Collection." + }, + "KeyVaultResourceSettings": { + "type": "object", + "properties": { + "resourceType": { + "type": "string", + "enum": [ + "Microsoft.KeyVault/vaults" + ] + } + }, + "required": [ + "resourceType" + ], + "description": "Defines the key vault resource settings." + }, + "LBBackendAddressPoolResourceSettings": { + "type": "object", + "properties": { + "name": { + "type": "string", + "description": "Gets or sets the backend address pool name." + } + }, + "description": "Defines load balancer backend address pool properties." + }, + "LBFrontendIPConfigurationResourceSettings": { + "type": "object", + "properties": { + "name": { + "type": "string", + "description": "Gets or sets the frontend IP configuration name." + }, + "privateIpAddress": { + "type": "string", + "description": "Gets or sets the IP address of the Load Balancer.This is only specified if a specific\r\nprivate IP address shall be allocated from the subnet specified in subnetRef." + }, + "privateIpAllocationMethod": { + "type": "string", + "description": "Gets or sets PrivateIP allocation method (Static/Dynamic)." + }, + "subnet": { + "oneOf": [ + { + "$ref": "#/definitions/SubnetReference" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Defines reference to subnet." + }, + "zones": { + "type": "string", + "description": "Gets or sets the csv list of zones." + } + }, + "description": "Defines load balancer frontend IP configuration properties." + }, + "LoadBalancerBackendAddressPoolReference": { + "type": "object", + "properties": { + "name": { + "type": "string", + "description": "Gets the name of the proxy resource on the target side." + }, + "sourceArmResourceId": { + "type": "string", + "description": "Gets the ARM resource ID of the tracked resource being referenced." + } + }, + "required": [ + "sourceArmResourceId" + ], + "description": "Defines reference to load balancer backend address pools." + }, + "LoadBalancerNatRuleReference": { + "type": "object", + "properties": { + "name": { + "type": "string", + "description": "Gets the name of the proxy resource on the target side." + }, + "sourceArmResourceId": { + "type": "string", + "description": "Gets the ARM resource ID of the tracked resource being referenced." + } + }, + "required": [ + "sourceArmResourceId" + ], + "description": "Defines reference to load balancer NAT rules." + }, + "LoadBalancerResourceSettings": { + "type": "object", + "properties": { + "backendAddressPools": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/LBBackendAddressPoolResourceSettings" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Gets or sets the backend address pools of the load balancer." + }, + "frontendIPConfigurations": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/LBFrontendIPConfigurationResourceSettings" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Gets or sets the frontend IP configurations of the load balancer." + }, + "resourceType": { + "type": "string", + "enum": [ + "Microsoft.Network/loadBalancers" + ] + }, + "sku": { + "type": "string", + "description": "Gets or sets load balancer sku (Basic/Standard)." + }, + "zones": { + "type": "string", + "description": "Gets or sets the csv list of zones common for all frontend IP configurations. Note this is given\r\n precedence only if frontend IP configurations settings are not present." + } + }, + "required": [ + "resourceType" + ], + "description": "Defines the load balancer resource settings." + }, + "MoveCollectionProperties": { + "type": "object", + "properties": { + "provisioningState": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Succeeded", + "Updating", + "Creating", + "Failed" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ] + }, + "sourceRegion": { + "type": "string", + "description": "Gets or sets the source region." + }, + "targetRegion": { + "type": "string", + "description": "Gets or sets the target region." + } + }, + "required": [ + "sourceRegion", + "targetRegion" + ], + "description": "Defines the move collection properties." + }, + "moveCollections_moveResources_childResource": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2019-10-01-preview" + ] + }, + "name": { + "type": "string", + "description": "The Move Resource Name." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/MoveResourceProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Defines the move resource properties." + }, + "type": { + "type": "string", + "enum": [ + "moveResources" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.Migrate/moveCollections/moveResources" + }, + "MoveResourceDependencyOverride": { + "type": "object", + "properties": { + "id": { + "type": "string", + "description": "Gets or sets the ARM ID of the dependent resource." + }, + "targetId": { + "type": "string", + "description": "Gets or sets the resource ARM id of either the MoveResource or the resource ARM ID of\r\nthe dependent resource." + } + }, + "description": "Defines the dependency override of the move resource." + }, + "MoveResourceProperties": { + "type": "object", + "properties": { + "dependsOnOverrides": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/MoveResourceDependencyOverride" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Gets or sets the move resource dependencies overrides." + }, + "existingTargetId": { + "type": "string", + "description": "Gets or sets the existing target ARM Id of the resource." + }, + "provisioningState": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Succeeded", + "Updating", + "Creating", + "Failed" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ] + }, + "resourceSettings": { + "oneOf": [ + { + "$ref": "#/definitions/ResourceSettings" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Gets or sets the resource settings." + }, + "sourceId": { + "type": "string", + "description": "Gets or sets the Source ARM Id of the resource." + } + }, + "required": [ + "sourceId" + ], + "description": "Defines the move resource properties." + }, + "NetworkInterfaceResourceSettings": { + "type": "object", + "properties": { + "enableAcceleratedNetworking": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Gets or sets a value indicating whether accelerated networking is enabled." + }, + "ipConfigurations": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/NicIpConfigurationResourceSettings" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Gets or sets the IP configurations of the NIC." + }, + "resourceType": { + "type": "string", + "enum": [ + "Microsoft.Network/networkInterfaces" + ] + } + }, + "required": [ + "resourceType" + ], + "description": "Defines the network interface resource settings." + }, + "NetworkSecurityGroupResourceSettings": { + "type": "object", + "properties": { + "resourceType": { + "type": "string", + "enum": [ + "Microsoft.Network/networkSecurityGroups" + ] + }, + "securityRules": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/NsgSecurityRule" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Gets or sets Security rules of network security group." + } + }, + "required": [ + "resourceType" + ], + "description": "Defines the NSG resource settings." + }, + "NicIpConfigurationResourceSettings": { + "type": "object", + "properties": { + "loadBalancerBackendAddressPools": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/LoadBalancerBackendAddressPoolReference" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Gets or sets the references of the load balancer backend address pools." + }, + "loadBalancerNatRules": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/LoadBalancerNatRuleReference" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Gets or sets the references of the load balancer NAT rules." + }, + "name": { + "type": "string", + "description": "Gets or sets the IP configuration name." + }, + "primary": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Gets or sets a value indicating whether this IP configuration is the primary." + }, + "privateIpAddress": { + "type": "string", + "description": "Gets or sets the private IP address of the network interface IP Configuration." + }, + "privateIpAllocationMethod": { + "type": "string", + "description": "Gets or sets the private IP address allocation method." + }, + "publicIp": { + "oneOf": [ + { + "$ref": "#/definitions/PublicIpReference" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Defines reference to a public IP." + }, + "subnet": { + "oneOf": [ + { + "$ref": "#/definitions/SubnetReference" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Defines reference to subnet." + } + }, + "description": "Defines NIC IP configuration properties." + }, + "NsgReference": { + "type": "object", + "properties": { + "sourceArmResourceId": { + "type": "string", + "description": "Gets the ARM resource ID of the tracked resource being referenced." + } + }, + "required": [ + "sourceArmResourceId" + ], + "description": "Defines reference to NSG." + }, + "NsgSecurityRule": { + "type": "object", + "properties": { + "access": { + "type": "string", + "description": "Gets or sets whether network traffic is allowed or denied.\r\nPossible values are “Allow” and “Deny”." + }, + "description": { + "type": "string", + "description": "Gets or sets a description for this rule. Restricted to 140 chars." + }, + "destinationAddressPrefix": { + "type": "string", + "description": "Gets or sets destination address prefix. CIDR or source IP range.\r\n A “*” can also be used to match all source IPs. Default tags such\r\nas ‘VirtualNetwork’, ‘AzureLoadBalancer’ and ‘Internet’ can also be used." + }, + "destinationPortRange": { + "type": "string", + "description": "Gets or sets Destination Port or Range. Integer or range between\r\n0 and 65535. A “*” can also be used to match all ports." + }, + "direction": { + "type": "string", + "description": "Gets or sets the direction of the rule.InBound or Outbound. The\r\ndirection specifies if rule will be evaluated on incoming or outgoing traffic." + }, + "name": { + "type": "string", + "description": "Gets or sets the Security rule name." + }, + "priority": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Gets or sets the priority of the rule. The value can be between\r\n100 and 4096. The priority number must be unique for each rule in the collection.\r\nThe lower the priority number, the higher the priority of the rule." + }, + "protocol": { + "type": "string", + "description": "Gets or sets Network protocol this rule applies to. Can be Tcp, Udp or All(*)." + }, + "sourceAddressPrefix": { + "type": "string", + "description": "Gets or sets source address prefix. CIDR or source IP range. A\r\n“*” can also be used to match all source IPs. Default tags such as ‘VirtualNetwork’,\r\n‘AzureLoadBalancer’ and ‘Internet’ can also be used. If this is an ingress\r\nrule, specifies where network traffic originates from." + }, + "sourcePortRange": { + "type": "string", + "description": "Gets or sets Source Port or Range. Integer or range between 0 and\r\n65535. A “*” can also be used to match all ports." + } + }, + "description": "Security Rule data model for Network Security Groups." + }, + "PublicIPAddressResourceSettings": { + "type": "object", + "properties": { + "domainNameLabel": { + "type": "string", + "description": "Gets or sets the domain name label." + }, + "fqdn": { + "type": "string", + "description": "Gets or sets the fully qualified domain name." + }, + "publicIpAllocationMethod": { + "type": "string", + "description": "Gets or sets public IP allocation method." + }, + "resourceType": { + "type": "string", + "enum": [ + "Microsoft.Network/publicIPAddresses" + ] + }, + "sku": { + "type": "string", + "description": "Gets or sets public IP sku." + }, + "zones": { + "type": "string", + "description": "Gets or sets public IP zones." + } + }, + "required": [ + "resourceType" + ], + "description": "Defines the public IP address resource settings." + }, + "PublicIpReference": { + "type": "object", + "properties": { + "sourceArmResourceId": { + "type": "string", + "description": "Gets the ARM resource ID of the tracked resource being referenced." + } + }, + "required": [ + "sourceArmResourceId" + ], + "description": "Defines reference to a public IP." + }, + "ResourceGroupResourceSettings": { + "type": "object", + "properties": { + "resourceType": { + "type": "string", + "enum": [ + "resourceGroups" + ] + } + }, + "required": [ + "resourceType" + ], + "description": "Defines the resource group resource settings." + }, + "ResourceSettings": { + "type": "object", + "oneOf": [ + { + "$ref": "#/definitions/VirtualMachineResourceSettings" + }, + { + "$ref": "#/definitions/AvailabilitySetResourceSettings" + }, + { + "$ref": "#/definitions/VirtualNetworkResourceSettings" + }, + { + "$ref": "#/definitions/NetworkInterfaceResourceSettings" + }, + { + "$ref": "#/definitions/NetworkSecurityGroupResourceSettings" + }, + { + "$ref": "#/definitions/LoadBalancerResourceSettings" + }, + { + "$ref": "#/definitions/SqlServerResourceSettings" + }, + { + "$ref": "#/definitions/SqlElasticPoolResourceSettings" + }, + { + "$ref": "#/definitions/SqlDatabaseResourceSettings" + }, + { + "$ref": "#/definitions/ResourceGroupResourceSettings" + }, + { + "$ref": "#/definitions/PublicIPAddressResourceSettings" + }, + { + "$ref": "#/definitions/KeyVaultResourceSettings" + }, + { + "$ref": "#/definitions/DiskEncryptionSetResourceSettings" + } + ], + "properties": { + "targetResourceName": { + "type": "string", + "description": "Gets or sets the target Resource name." + } + }, + "required": [ + "targetResourceName" + ], + "description": "Gets or sets the resource settings." + }, + "SqlDatabaseResourceSettings": { + "type": "object", + "properties": { + "resourceType": { + "type": "string", + "enum": [ + "Microsoft.Sql/servers/databases" + ] + }, + "zoneRedundant": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Enable", + "Disable" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ] + } + }, + "required": [ + "resourceType" + ], + "description": "Defines the Sql Database resource settings." + }, + "SqlElasticPoolResourceSettings": { + "type": "object", + "properties": { + "resourceType": { + "type": "string", + "enum": [ + "Microsoft.Sql/servers/elasticPools" + ] + }, + "zoneRedundant": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Enable", + "Disable" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ] + } + }, + "required": [ + "resourceType" + ], + "description": "Defines the Sql ElasticPool resource settings." + }, + "SqlServerResourceSettings": { + "type": "object", + "properties": { + "resourceType": { + "type": "string", + "enum": [ + "Microsoft.Sql/servers" + ] + } + }, + "required": [ + "resourceType" + ], + "description": "Defines the SQL Server resource settings." + }, + "SubnetReference": { + "type": "object", + "properties": { + "name": { + "type": "string", + "description": "Gets the name of the proxy resource on the target side." + }, + "sourceArmResourceId": { + "type": "string", + "description": "Gets the ARM resource ID of the tracked resource being referenced." + } + }, + "required": [ + "sourceArmResourceId" + ], + "description": "Defines reference to subnet." + }, + "SubnetResourceSettings": { + "type": "object", + "properties": { + "addressPrefix": { + "type": "string", + "description": "Gets or sets address prefix for the subnet." + }, + "name": { + "type": "string", + "description": "Gets or sets the Subnet name." + }, + "networkSecurityGroup": { + "oneOf": [ + { + "$ref": "#/definitions/NsgReference" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Defines reference to NSG." + } + }, + "description": "Defines the virtual network subnets resource settings." + }, + "VirtualMachineResourceSettings": { + "type": "object", + "properties": { + "resourceType": { + "type": "string", + "enum": [ + "Microsoft.Compute/virtualMachines" + ] + }, + "targetAvailabilitySetId": { + "type": "string", + "description": "Gets or sets the target availability set id for virtual machines not in an availability set at source." + }, + "targetAvailabilityZone": { + "oneOf": [ + { + "type": "string", + "enum": [ + "1", + "2", + "3", + "NA" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Gets or sets the target availability zone." + }, + "targetVmSize": { + "type": "string", + "description": "Gets or sets the target virtual machine size." + } + }, + "required": [ + "resourceType" + ], + "description": "Gets or sets the virtual machine resource settings." + }, + "VirtualNetworkResourceSettings": { + "type": "object", + "properties": { + "addressSpace": { + "oneOf": [ + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Gets or sets the address prefixes for the virtual network." + }, + "dnsServers": { + "oneOf": [ + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Gets or sets DHCPOptions that contains an array of DNS servers available to VMs\r\ndeployed in the virtual network." + }, + "enableDdosProtection": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Gets or sets a value indicating whether gets or sets whether the\r\nDDOS protection should be switched on." + }, + "resourceType": { + "type": "string", + "enum": [ + "Microsoft.Network/virtualNetworks" + ] + }, + "subnets": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/SubnetResourceSettings" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Gets or sets List of subnets in a VirtualNetwork." + } + }, + "required": [ + "resourceType" + ], + "description": "Defines the virtual network resource settings." + } + } +} \ No newline at end of file diff --git a/schemas/2021-01-01/Microsoft.Migrate.json b/schemas/2021-01-01/Microsoft.Migrate.json new file mode 100644 index 0000000000..0e45499ee6 --- /dev/null +++ b/schemas/2021-01-01/Microsoft.Migrate.json @@ -0,0 +1,1054 @@ +{ + "id": "https://schema.management.azure.com/schemas/2021-01-01/Microsoft.Migrate.json#", + "$schema": "http://json-schema.org/draft-04/schema#", + "title": "Microsoft.Migrate", + "description": "Microsoft Migrate Resource Types", + "resourceDefinitions": { + "moveCollections": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-01-01" + ] + }, + "identity": { + "oneOf": [ + { + "$ref": "#/definitions/Identity" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Defines the MSI properties of the Move Collection." + }, + "location": { + "type": "string", + "description": "The geo-location where the resource lives." + }, + "name": { + "type": "string", + "description": "The Move Collection Name." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/MoveCollectionProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Defines the move collection properties." + }, + "resources": { + "type": "array", + "items": { + "oneOf": [ + { + "$ref": "#/definitions/moveCollections_moveResources_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.Migrate/moveCollections" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.Migrate/moveCollections" + }, + "moveCollections_moveResources": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-01-01" + ] + }, + "name": { + "type": "string", + "description": "The Move Resource Name." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/MoveResourceProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Defines the move resource properties." + }, + "type": { + "type": "string", + "enum": [ + "Microsoft.Migrate/moveCollections/moveResources" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.Migrate/moveCollections/moveResources" + } + }, + "definitions": { + "AvailabilitySetResourceSettings": { + "type": "object", + "properties": { + "faultDomain": { + "oneOf": [ + { + "type": "integer", + "minimum": 1 + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Gets or sets the target fault domain." + }, + "resourceType": { + "type": "string", + "enum": [ + "Microsoft.Compute/availabilitySets" + ] + }, + "updateDomain": { + "oneOf": [ + { + "type": "integer", + "minimum": 1, + "maximum": 20 + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Gets or sets the target update domain." + } + }, + "required": [ + "resourceType" + ], + "description": "Gets or sets the availability set resource settings." + }, + "DiskEncryptionSetResourceSettings": { + "type": "object", + "properties": { + "resourceType": { + "type": "string", + "enum": [ + "Microsoft.Compute/diskEncryptionSets" + ] + } + }, + "required": [ + "resourceType" + ], + "description": "Defines the disk encryption set resource settings." + }, + "Identity": { + "type": "object", + "properties": { + "principalId": { + "type": "string", + "description": "Gets or sets the principal id." + }, + "tenantId": { + "type": "string", + "description": "Gets or sets the tenant id." + }, + "type": { + "oneOf": [ + { + "type": "string", + "enum": [ + "None", + "SystemAssigned", + "UserAssigned" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ] + } + }, + "description": "Defines the MSI properties of the Move Collection." + }, + "KeyVaultResourceSettings": { + "type": "object", + "properties": { + "resourceType": { + "type": "string", + "enum": [ + "Microsoft.KeyVault/vaults" + ] + } + }, + "required": [ + "resourceType" + ], + "description": "Defines the key vault resource settings." + }, + "LBBackendAddressPoolResourceSettings": { + "type": "object", + "properties": { + "name": { + "type": "string", + "description": "Gets or sets the backend address pool name." + } + }, + "description": "Defines load balancer backend address pool properties." + }, + "LBFrontendIPConfigurationResourceSettings": { + "type": "object", + "properties": { + "name": { + "type": "string", + "description": "Gets or sets the frontend IP configuration name." + }, + "privateIpAddress": { + "type": "string", + "description": "Gets or sets the IP address of the Load Balancer.This is only specified if a specific\r\nprivate IP address shall be allocated from the subnet specified in subnetRef." + }, + "privateIpAllocationMethod": { + "type": "string", + "description": "Gets or sets PrivateIP allocation method (Static/Dynamic)." + }, + "subnet": { + "oneOf": [ + { + "$ref": "#/definitions/SubnetReference" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Defines reference to subnet." + }, + "zones": { + "type": "string", + "description": "Gets or sets the csv list of zones." + } + }, + "description": "Defines load balancer frontend IP configuration properties." + }, + "LoadBalancerBackendAddressPoolReference": { + "type": "object", + "properties": { + "name": { + "type": "string", + "description": "Gets the name of the proxy resource on the target side." + }, + "sourceArmResourceId": { + "type": "string", + "description": "Gets the ARM resource ID of the tracked resource being referenced." + } + }, + "required": [ + "sourceArmResourceId" + ], + "description": "Defines reference to load balancer backend address pools." + }, + "LoadBalancerNatRuleReference": { + "type": "object", + "properties": { + "name": { + "type": "string", + "description": "Gets the name of the proxy resource on the target side." + }, + "sourceArmResourceId": { + "type": "string", + "description": "Gets the ARM resource ID of the tracked resource being referenced." + } + }, + "required": [ + "sourceArmResourceId" + ], + "description": "Defines reference to load balancer NAT rules." + }, + "LoadBalancerResourceSettings": { + "type": "object", + "properties": { + "backendAddressPools": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/LBBackendAddressPoolResourceSettings" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Gets or sets the backend address pools of the load balancer." + }, + "frontendIPConfigurations": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/LBFrontendIPConfigurationResourceSettings" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Gets or sets the frontend IP configurations of the load balancer." + }, + "resourceType": { + "type": "string", + "enum": [ + "Microsoft.Network/loadBalancers" + ] + }, + "sku": { + "type": "string", + "description": "Gets or sets load balancer sku (Basic/Standard)." + }, + "zones": { + "type": "string", + "description": "Gets or sets the csv list of zones common for all frontend IP configurations. Note this is given\r\n precedence only if frontend IP configurations settings are not present." + } + }, + "required": [ + "resourceType" + ], + "description": "Defines the load balancer resource settings." + }, + "MoveCollectionProperties": { + "type": "object", + "properties": { + "provisioningState": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Succeeded", + "Updating", + "Creating", + "Failed" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ] + }, + "sourceRegion": { + "type": "string", + "description": "Gets or sets the source region." + }, + "targetRegion": { + "type": "string", + "description": "Gets or sets the target region." + } + }, + "required": [ + "sourceRegion", + "targetRegion" + ], + "description": "Defines the move collection properties." + }, + "moveCollections_moveResources_childResource": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-01-01" + ] + }, + "name": { + "type": "string", + "description": "The Move Resource Name." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/MoveResourceProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Defines the move resource properties." + }, + "type": { + "type": "string", + "enum": [ + "moveResources" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.Migrate/moveCollections/moveResources" + }, + "MoveResourceDependencyOverride": { + "type": "object", + "properties": { + "id": { + "type": "string", + "description": "Gets or sets the ARM ID of the dependent resource." + }, + "targetId": { + "type": "string", + "description": "Gets or sets the resource ARM id of either the MoveResource or the resource ARM ID of\r\nthe dependent resource." + } + }, + "description": "Defines the dependency override of the move resource." + }, + "MoveResourceProperties": { + "type": "object", + "properties": { + "dependsOnOverrides": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/MoveResourceDependencyOverride" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Gets or sets the move resource dependencies overrides." + }, + "existingTargetId": { + "type": "string", + "description": "Gets or sets the existing target ARM Id of the resource." + }, + "provisioningState": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Succeeded", + "Updating", + "Creating", + "Failed" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ] + }, + "resourceSettings": { + "oneOf": [ + { + "$ref": "#/definitions/ResourceSettings" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Gets or sets the resource settings." + }, + "sourceId": { + "type": "string", + "description": "Gets or sets the Source ARM Id of the resource." + } + }, + "required": [ + "sourceId" + ], + "description": "Defines the move resource properties." + }, + "NetworkInterfaceResourceSettings": { + "type": "object", + "properties": { + "enableAcceleratedNetworking": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Gets or sets a value indicating whether accelerated networking is enabled." + }, + "ipConfigurations": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/NicIpConfigurationResourceSettings" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Gets or sets the IP configurations of the NIC." + }, + "resourceType": { + "type": "string", + "enum": [ + "Microsoft.Network/networkInterfaces" + ] + } + }, + "required": [ + "resourceType" + ], + "description": "Defines the network interface resource settings." + }, + "NetworkSecurityGroupResourceSettings": { + "type": "object", + "properties": { + "resourceType": { + "type": "string", + "enum": [ + "Microsoft.Network/networkSecurityGroups" + ] + }, + "securityRules": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/NsgSecurityRule" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Gets or sets Security rules of network security group." + } + }, + "required": [ + "resourceType" + ], + "description": "Defines the NSG resource settings." + }, + "NicIpConfigurationResourceSettings": { + "type": "object", + "properties": { + "loadBalancerBackendAddressPools": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/LoadBalancerBackendAddressPoolReference" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Gets or sets the references of the load balancer backend address pools." + }, + "loadBalancerNatRules": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/LoadBalancerNatRuleReference" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Gets or sets the references of the load balancer NAT rules." + }, + "name": { + "type": "string", + "description": "Gets or sets the IP configuration name." + }, + "primary": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Gets or sets a value indicating whether this IP configuration is the primary." + }, + "privateIpAddress": { + "type": "string", + "description": "Gets or sets the private IP address of the network interface IP Configuration." + }, + "privateIpAllocationMethod": { + "type": "string", + "description": "Gets or sets the private IP address allocation method." + }, + "publicIp": { + "oneOf": [ + { + "$ref": "#/definitions/PublicIpReference" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Defines reference to a public IP." + }, + "subnet": { + "oneOf": [ + { + "$ref": "#/definitions/SubnetReference" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Defines reference to subnet." + } + }, + "description": "Defines NIC IP configuration properties." + }, + "NsgReference": { + "type": "object", + "properties": { + "sourceArmResourceId": { + "type": "string", + "description": "Gets the ARM resource ID of the tracked resource being referenced." + } + }, + "required": [ + "sourceArmResourceId" + ], + "description": "Defines reference to NSG." + }, + "NsgSecurityRule": { + "type": "object", + "properties": { + "access": { + "type": "string", + "description": "Gets or sets whether network traffic is allowed or denied.\r\nPossible values are “Allow” and “Deny”." + }, + "description": { + "type": "string", + "description": "Gets or sets a description for this rule. Restricted to 140 chars." + }, + "destinationAddressPrefix": { + "type": "string", + "description": "Gets or sets destination address prefix. CIDR or source IP range.\r\n A “*” can also be used to match all source IPs. Default tags such\r\nas ‘VirtualNetwork’, ‘AzureLoadBalancer’ and ‘Internet’ can also be used." + }, + "destinationPortRange": { + "type": "string", + "description": "Gets or sets Destination Port or Range. Integer or range between\r\n0 and 65535. A “*” can also be used to match all ports." + }, + "direction": { + "type": "string", + "description": "Gets or sets the direction of the rule.InBound or Outbound. The\r\ndirection specifies if rule will be evaluated on incoming or outgoing traffic." + }, + "name": { + "type": "string", + "description": "Gets or sets the Security rule name." + }, + "priority": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Gets or sets the priority of the rule. The value can be between\r\n100 and 4096. The priority number must be unique for each rule in the collection.\r\nThe lower the priority number, the higher the priority of the rule." + }, + "protocol": { + "type": "string", + "description": "Gets or sets Network protocol this rule applies to. Can be Tcp, Udp or All(*)." + }, + "sourceAddressPrefix": { + "type": "string", + "description": "Gets or sets source address prefix. CIDR or source IP range. A\r\n“*” can also be used to match all source IPs. Default tags such as ‘VirtualNetwork’,\r\n‘AzureLoadBalancer’ and ‘Internet’ can also be used. If this is an ingress\r\nrule, specifies where network traffic originates from." + }, + "sourcePortRange": { + "type": "string", + "description": "Gets or sets Source Port or Range. Integer or range between 0 and\r\n65535. A “*” can also be used to match all ports." + } + }, + "description": "Security Rule data model for Network Security Groups." + }, + "PublicIPAddressResourceSettings": { + "type": "object", + "properties": { + "domainNameLabel": { + "type": "string", + "description": "Gets or sets the domain name label." + }, + "fqdn": { + "type": "string", + "description": "Gets or sets the fully qualified domain name." + }, + "publicIpAllocationMethod": { + "type": "string", + "description": "Gets or sets public IP allocation method." + }, + "resourceType": { + "type": "string", + "enum": [ + "Microsoft.Network/publicIPAddresses" + ] + }, + "sku": { + "type": "string", + "description": "Gets or sets public IP sku." + }, + "zones": { + "type": "string", + "description": "Gets or sets public IP zones." + } + }, + "required": [ + "resourceType" + ], + "description": "Defines the public IP address resource settings." + }, + "PublicIpReference": { + "type": "object", + "properties": { + "sourceArmResourceId": { + "type": "string", + "description": "Gets the ARM resource ID of the tracked resource being referenced." + } + }, + "required": [ + "sourceArmResourceId" + ], + "description": "Defines reference to a public IP." + }, + "ResourceGroupResourceSettings": { + "type": "object", + "properties": { + "resourceType": { + "type": "string", + "enum": [ + "resourceGroups" + ] + } + }, + "required": [ + "resourceType" + ], + "description": "Defines the resource group resource settings." + }, + "ResourceSettings": { + "type": "object", + "oneOf": [ + { + "$ref": "#/definitions/VirtualMachineResourceSettings" + }, + { + "$ref": "#/definitions/AvailabilitySetResourceSettings" + }, + { + "$ref": "#/definitions/VirtualNetworkResourceSettings" + }, + { + "$ref": "#/definitions/NetworkInterfaceResourceSettings" + }, + { + "$ref": "#/definitions/NetworkSecurityGroupResourceSettings" + }, + { + "$ref": "#/definitions/LoadBalancerResourceSettings" + }, + { + "$ref": "#/definitions/SqlServerResourceSettings" + }, + { + "$ref": "#/definitions/SqlElasticPoolResourceSettings" + }, + { + "$ref": "#/definitions/SqlDatabaseResourceSettings" + }, + { + "$ref": "#/definitions/ResourceGroupResourceSettings" + }, + { + "$ref": "#/definitions/PublicIPAddressResourceSettings" + }, + { + "$ref": "#/definitions/KeyVaultResourceSettings" + }, + { + "$ref": "#/definitions/DiskEncryptionSetResourceSettings" + } + ], + "properties": { + "targetResourceName": { + "type": "string", + "description": "Gets or sets the target Resource name." + } + }, + "required": [ + "targetResourceName" + ], + "description": "Gets or sets the resource settings." + }, + "SqlDatabaseResourceSettings": { + "type": "object", + "properties": { + "resourceType": { + "type": "string", + "enum": [ + "Microsoft.Sql/servers/databases" + ] + }, + "zoneRedundant": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Enable", + "Disable" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ] + } + }, + "required": [ + "resourceType" + ], + "description": "Defines the Sql Database resource settings." + }, + "SqlElasticPoolResourceSettings": { + "type": "object", + "properties": { + "resourceType": { + "type": "string", + "enum": [ + "Microsoft.Sql/servers/elasticPools" + ] + }, + "zoneRedundant": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Enable", + "Disable" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ] + } + }, + "required": [ + "resourceType" + ], + "description": "Defines the Sql ElasticPool resource settings." + }, + "SqlServerResourceSettings": { + "type": "object", + "properties": { + "resourceType": { + "type": "string", + "enum": [ + "Microsoft.Sql/servers" + ] + } + }, + "required": [ + "resourceType" + ], + "description": "Defines the SQL Server resource settings." + }, + "SubnetReference": { + "type": "object", + "properties": { + "name": { + "type": "string", + "description": "Gets the name of the proxy resource on the target side." + }, + "sourceArmResourceId": { + "type": "string", + "description": "Gets the ARM resource ID of the tracked resource being referenced." + } + }, + "required": [ + "sourceArmResourceId" + ], + "description": "Defines reference to subnet." + }, + "SubnetResourceSettings": { + "type": "object", + "properties": { + "addressPrefix": { + "type": "string", + "description": "Gets or sets address prefix for the subnet." + }, + "name": { + "type": "string", + "description": "Gets or sets the Subnet name." + }, + "networkSecurityGroup": { + "oneOf": [ + { + "$ref": "#/definitions/NsgReference" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Defines reference to NSG." + } + }, + "description": "Defines the virtual network subnets resource settings." + }, + "VirtualMachineResourceSettings": { + "type": "object", + "properties": { + "resourceType": { + "type": "string", + "enum": [ + "Microsoft.Compute/virtualMachines" + ] + }, + "targetAvailabilitySetId": { + "type": "string", + "description": "Gets or sets the target availability set id for virtual machines not in an availability set at source." + }, + "targetAvailabilityZone": { + "oneOf": [ + { + "type": "string", + "enum": [ + "1", + "2", + "3", + "NA" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Gets or sets the target availability zone." + }, + "targetVmSize": { + "type": "string", + "description": "Gets or sets the target virtual machine size." + } + }, + "required": [ + "resourceType" + ], + "description": "Gets or sets the virtual machine resource settings." + }, + "VirtualNetworkResourceSettings": { + "type": "object", + "properties": { + "addressSpace": { + "oneOf": [ + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Gets or sets the address prefixes for the virtual network." + }, + "dnsServers": { + "oneOf": [ + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Gets or sets DHCPOptions that contains an array of DNS servers available to VMs\r\ndeployed in the virtual network." + }, + "enableDdosProtection": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Gets or sets a value indicating whether gets or sets whether the\r\nDDOS protection should be switched on." + }, + "resourceType": { + "type": "string", + "enum": [ + "Microsoft.Network/virtualNetworks" + ] + }, + "subnets": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/SubnetResourceSettings" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Gets or sets List of subnets in a VirtualNetwork." + } + }, + "required": [ + "resourceType" + ], + "description": "Defines the virtual network resource settings." + } + } +} \ No newline at end of file diff --git a/schemas/common/autogeneratedResources.json b/schemas/common/autogeneratedResources.json index 3366c5a7f4..25f6fcdba4 100644 --- a/schemas/common/autogeneratedResources.json +++ b/schemas/common/autogeneratedResources.json @@ -6883,6 +6883,12 @@ { "$ref": "https://schema.management.azure.com/schemas/2018-02-02/Microsoft.Migrate.json#/resourceDefinitions/projects_groups_assessments" }, + { + "$ref": "https://schema.management.azure.com/schemas/2018-09-01-preview/Microsoft.Migrate.json#/resourceDefinitions/migrateProjects" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2018-09-01-preview/Microsoft.Migrate.json#/resourceDefinitions/migrateProjects_solutions" + }, { "$ref": "https://schema.management.azure.com/schemas/2019-10-01/Microsoft.Migrate.json#/resourceDefinitions/assessmentProjects" }, @@ -6907,6 +6913,18 @@ { "$ref": "https://schema.management.azure.com/schemas/2019-10-01/Microsoft.Migrate.json#/resourceDefinitions/assessmentProjects_vmwarecollectors" }, + { + "$ref": "https://schema.management.azure.com/schemas/2019-10-01-preview/Microsoft.Migrate.json#/resourceDefinitions/moveCollections" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2019-10-01-preview/Microsoft.Migrate.json#/resourceDefinitions/moveCollections_moveResources" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2021-01-01/Microsoft.Migrate.json#/resourceDefinitions/moveCollections" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2021-01-01/Microsoft.Migrate.json#/resourceDefinitions/moveCollections_moveResources" + }, { "$ref": "https://schema.management.azure.com/schemas/2019-02-28-preview/Microsoft.MixedReality.json#/resourceDefinitions/spatialAnchorsAccounts" }, From 1c73f9912be74b518a99c64699a27ace5c2525c5 Mon Sep 17 00:00:00 2001 From: Autogenerator Pipeline Date: Tue, 27 Jul 2021 10:35:01 +0000 Subject: [PATCH 04/64] Update resource list --- generator/resources.json | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/generator/resources.json b/generator/resources.json index 2cf8c5254c..2f0175e1b3 100644 --- a/generator/resources.json +++ b/generator/resources.json @@ -3900,6 +3900,20 @@ "Microsoft.Migrate/assessmentprojects/privateEndpointConnections": [ "2019-10-01" ], + "Microsoft.Migrate/migrateProjects": [ + "2018-09-01-preview" + ], + "Microsoft.Migrate/migrateProjects/solutions": [ + "2018-09-01-preview" + ], + "Microsoft.Migrate/moveCollections": [ + "2019-10-01-preview", + "2021-01-01" + ], + "Microsoft.Migrate/moveCollections/moveResources": [ + "2019-10-01-preview", + "2021-01-01" + ], "Microsoft.Migrate/projects": [ "2018-02-02" ], From 7f10558e95874ac515a770f7b835304e3f2e1b43 Mon Sep 17 00:00:00 2001 From: Autogenerator Pipeline Date: Wed, 28 Jul 2021 08:41:34 +0000 Subject: [PATCH 05/64] Autogenerate schemas --- schemas/2018-06-01/Microsoft.DataFactory.json | 142 ++++++++++++++++++ 1 file changed, 142 insertions(+) diff --git a/schemas/2018-06-01/Microsoft.DataFactory.json b/schemas/2018-06-01/Microsoft.DataFactory.json index f6e33d113f..1ae3d8d178 100644 --- a/schemas/2018-06-01/Microsoft.DataFactory.json +++ b/schemas/2018-06-01/Microsoft.DataFactory.json @@ -5303,6 +5303,11 @@ "properties": {}, "description": "SQL writer table type. Type: string (or Expression with resultType string)." }, + "sqlWriterUseTableLock": { + "type": "object", + "properties": {}, + "description": "Whether to use table lock during bulk copy. Type: boolean (or Expression with resultType boolean)." + }, "storedProcedureParameters": { "oneOf": [ { @@ -5333,6 +5338,22 @@ "enum": [ "AzureSqlSink" ] + }, + "upsertSettings": { + "oneOf": [ + { + "$ref": "#/definitions/SqlUpsertSettings" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Sql upsert option settings" + }, + "writeBehavior": { + "type": "object", + "properties": {}, + "description": "Write behavior when copying data into Azure SQL. Type: SqlWriteBehaviorEnum (or Expression with resultType SqlWriteBehaviorEnum)" } }, "required": [ @@ -25548,6 +25569,11 @@ "properties": {}, "description": "SQL pre-copy script. Type: string (or Expression with resultType string)." }, + "sqlWriterUseTableLock": { + "type": "object", + "properties": {}, + "description": "Whether to use table lock during bulk copy. Type: boolean (or Expression with resultType boolean)." + }, "tableOption": { "type": "object", "properties": {}, @@ -25558,6 +25584,22 @@ "enum": [ "SqlDWSink" ] + }, + "upsertSettings": { + "oneOf": [ + { + "$ref": "#/definitions/SqlDWUpsertSettings" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Sql DW upsert option settings" + }, + "writeBehavior": { + "type": "object", + "properties": {}, + "description": "Write behavior when copying data into azure SQL DW. Type: SqlDWWriteBehaviorEnum (or Expression with resultType SqlDWWriteBehaviorEnum)" } }, "required": [ @@ -25611,6 +25653,22 @@ ], "description": "A copy activity SQL Data Warehouse source." }, + "SqlDWUpsertSettings": { + "type": "object", + "properties": { + "interimSchemaName": { + "type": "object", + "properties": {}, + "description": "Schema name for interim table. Type: string (or Expression with resultType string)." + }, + "keys": { + "type": "object", + "properties": {}, + "description": "Key column names for unique row identification. Type: array of strings (or Expression with resultType array of strings)." + } + }, + "description": "Sql DW upsert option settings" + }, "SqlMISink": { "type": "object", "properties": { @@ -25629,6 +25687,11 @@ "properties": {}, "description": "SQL writer table type. Type: string (or Expression with resultType string)." }, + "sqlWriterUseTableLock": { + "type": "object", + "properties": {}, + "description": "Whether to use table lock during bulk copy. Type: boolean (or Expression with resultType boolean)." + }, "storedProcedureParameters": { "oneOf": [ { @@ -25659,6 +25722,22 @@ "enum": [ "SqlMISink" ] + }, + "upsertSettings": { + "oneOf": [ + { + "$ref": "#/definitions/SqlUpsertSettings" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Sql upsert option settings" + }, + "writeBehavior": { + "type": "object", + "properties": {}, + "description": "White behavior when copying data into azure SQL MI. Type: SqlWriteBehaviorEnum (or Expression with resultType SqlWriteBehaviorEnum)" } }, "required": [ @@ -25839,6 +25918,11 @@ "properties": {}, "description": "SQL writer table type. Type: string (or Expression with resultType string)." }, + "sqlWriterUseTableLock": { + "type": "object", + "properties": {}, + "description": "Whether to use table lock during bulk copy. Type: boolean (or Expression with resultType boolean)." + }, "storedProcedureParameters": { "oneOf": [ { @@ -25869,6 +25953,22 @@ "enum": [ "SqlServerSink" ] + }, + "upsertSettings": { + "oneOf": [ + { + "$ref": "#/definitions/SqlUpsertSettings" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Sql upsert option settings" + }, + "writeBehavior": { + "type": "object", + "properties": {}, + "description": "Write behavior when copying data into sql server. Type: SqlWriteBehaviorEnum (or Expression with resultType SqlWriteBehaviorEnum)" } }, "required": [ @@ -26058,6 +26158,11 @@ "properties": {}, "description": "SQL writer table type. Type: string (or Expression with resultType string)." }, + "sqlWriterUseTableLock": { + "type": "object", + "properties": {}, + "description": "Whether to use table lock during bulk copy. Type: boolean (or Expression with resultType boolean)." + }, "storedProcedureParameters": { "oneOf": [ { @@ -26088,6 +26193,22 @@ "enum": [ "SqlSink" ] + }, + "upsertSettings": { + "oneOf": [ + { + "$ref": "#/definitions/SqlUpsertSettings" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Sql upsert option settings" + }, + "writeBehavior": { + "type": "object", + "properties": {}, + "description": "Write behavior when copying data into sql. Type: SqlWriteBehaviorEnum (or Expression with resultType SqlWriteBehaviorEnum)" } }, "required": [ @@ -26156,6 +26277,27 @@ ], "description": "A copy activity SQL source." }, + "SqlUpsertSettings": { + "type": "object", + "properties": { + "interimSchemaName": { + "type": "object", + "properties": {}, + "description": "Schema name for interim table. Type: string (or Expression with resultType string)." + }, + "keys": { + "type": "object", + "properties": {}, + "description": "Key column names for unique row identification. Type: array of strings (or Expression with resultType array of strings)." + }, + "useTempDB": { + "type": "object", + "properties": {}, + "description": "Specifies whether to use temp db for upsert interim table. Type: boolean (or Expression with resultType boolean)." + } + }, + "description": "Sql upsert option settings" + }, "SquareLinkedService": { "type": "object", "properties": { From 9d64650af9c727c3737ad0680977d2d5ae97978b Mon Sep 17 00:00:00 2001 From: Autogenerator Pipeline Date: Wed, 28 Jul 2021 09:18:20 +0000 Subject: [PATCH 06/64] Autogenerate schemas --- .../2018-09-01-preview/Microsoft.Migrate.json | 517 -------- .../2019-10-01-preview/Microsoft.Migrate.json | 1054 ----------------- schemas/2021-01-01/Microsoft.Migrate.json | 1054 ----------------- schemas/common/autogeneratedResources.json | 18 - 4 files changed, 2643 deletions(-) delete mode 100644 schemas/2018-09-01-preview/Microsoft.Migrate.json delete mode 100644 schemas/2019-10-01-preview/Microsoft.Migrate.json delete mode 100644 schemas/2021-01-01/Microsoft.Migrate.json diff --git a/schemas/2018-09-01-preview/Microsoft.Migrate.json b/schemas/2018-09-01-preview/Microsoft.Migrate.json deleted file mode 100644 index 074e3e9b7c..0000000000 --- a/schemas/2018-09-01-preview/Microsoft.Migrate.json +++ /dev/null @@ -1,517 +0,0 @@ -{ - "id": "https://schema.management.azure.com/schemas/2018-09-01-preview/Microsoft.Migrate.json#", - "$schema": "http://json-schema.org/draft-04/schema#", - "title": "Microsoft.Migrate", - "description": "Microsoft Migrate Resource Types", - "resourceDefinitions": { - "migrateProjects": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2018-09-01-preview" - ] - }, - "eTag": { - "type": "string", - "description": "Gets or sets the eTag for concurrency control." - }, - "location": { - "type": "string", - "description": "Gets or sets the Azure location in which migrate project is created." - }, - "name": { - "type": "string", - "description": "Name of the Azure Migrate project." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/MigrateProjectProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Class for migrate project properties." - }, - "resources": { - "type": "array", - "items": { - "oneOf": [ - { - "$ref": "#/definitions/migrateProjects_solutions_childResource" - } - ] - } - }, - "tags": { - "oneOf": [ - { - "$ref": "#/definitions/MigrateProjectTags" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Gets or sets the tags." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.Migrate/migrateProjects" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.Migrate/migrateProjects" - }, - "migrateProjects_solutions": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2018-09-01-preview" - ] - }, - "etag": { - "type": "string", - "description": "Gets or sets the ETAG for optimistic concurrency control." - }, - "name": { - "type": "string", - "description": "Unique name of a migration solution within a migrate project." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/SolutionProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Class for solution properties." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.Migrate/migrateProjects/solutions" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.Migrate/migrateProjects/solutions" - } - }, - "definitions": { - "DatabasesSolutionSummary": { - "type": "object", - "properties": { - "databaseInstancesAssessedCount": { - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Gets or sets the count of database instances assessed." - }, - "databasesAssessedCount": { - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Gets or sets the count of databases assessed." - }, - "instanceType": { - "type": "string", - "enum": [ - "Databases" - ] - }, - "migrationReadyCount": { - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Gets or sets the count of databases ready for migration." - } - }, - "required": [ - "instanceType" - ], - "description": "Class representing the databases solution summary." - }, - "MigrateProjectProperties": { - "type": "object", - "properties": { - "provisioningState": { - "oneOf": [ - { - "type": "string", - "enum": [ - "Accepted", - "Creating", - "Deleting", - "Failed", - "Moving", - "Succeeded" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Provisioning state of the migrate project." - }, - "registeredTools": { - "oneOf": [ - { - "type": "array", - "items": { - "type": "string", - "enum": [ - "ServerDiscovery", - "ServerAssessment", - "ServerMigration", - "Cloudamize", - "Turbonomic", - "Zerto", - "CorentTech", - "ServerAssessmentV1", - "ServerMigration_Replication", - "Carbonite", - "DataMigrationAssistant", - "DatabaseMigrationService" - ] - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Gets or sets the list of tools registered with the migrate project." - } - }, - "description": "Class for migrate project properties." - }, - "migrateProjects_solutions_childResource": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2018-09-01-preview" - ] - }, - "etag": { - "type": "string", - "description": "Gets or sets the ETAG for optimistic concurrency control." - }, - "name": { - "type": "string", - "description": "Unique name of a migration solution within a migrate project." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/SolutionProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Class for solution properties." - }, - "type": { - "type": "string", - "enum": [ - "solutions" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.Migrate/migrateProjects/solutions" - }, - "MigrateProjectTags": { - "type": "object", - "properties": { - "additionalProperties": { - "type": "string" - } - }, - "description": "Gets or sets the tags." - }, - "ServersSolutionSummary": { - "type": "object", - "properties": { - "assessedCount": { - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Gets or sets the count of servers assessed." - }, - "discoveredCount": { - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Gets or sets the count of servers discovered." - }, - "instanceType": { - "type": "string", - "enum": [ - "Servers" - ] - }, - "migratedCount": { - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Gets or sets the count of servers migrated." - }, - "replicatingCount": { - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Gets or sets the count of servers being replicated." - }, - "testMigratedCount": { - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Gets or sets the count of servers test migrated." - } - }, - "required": [ - "instanceType" - ], - "description": "Class representing the servers solution summary." - }, - "SolutionDetails": { - "type": "object", - "properties": { - "assessmentCount": { - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Gets or sets the count of assessments reported by the solution." - }, - "extendedDetails": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Gets or sets the extended details reported by the solution." - }, - "groupCount": { - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Gets or sets the count of groups reported by the solution." - } - }, - "description": "Class representing the details of the solution." - }, - "SolutionProperties": { - "type": "object", - "properties": { - "cleanupState": { - "oneOf": [ - { - "type": "string", - "enum": [ - "None", - "Started", - "InProgress", - "Completed", - "Failed" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Gets or sets the cleanup state of the solution." - }, - "details": { - "oneOf": [ - { - "$ref": "#/definitions/SolutionDetails" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Class representing the details of the solution." - }, - "goal": { - "oneOf": [ - { - "type": "string", - "enum": [ - "Servers", - "Databases" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Gets or sets the goal of the solution." - }, - "purpose": { - "oneOf": [ - { - "type": "string", - "enum": [ - "Discovery", - "Assessment", - "Migration" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Gets or sets the purpose of the solution." - }, - "status": { - "oneOf": [ - { - "type": "string", - "enum": [ - "Inactive", - "Active" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Gets or sets the current status of the solution." - }, - "summary": { - "oneOf": [ - { - "$ref": "#/definitions/SolutionSummary" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The solution summary class." - }, - "tool": { - "oneOf": [ - { - "type": "string", - "enum": [ - "ServerDiscovery", - "ServerAssessment", - "ServerMigration", - "Cloudamize", - "Turbonomic", - "Zerto", - "CorentTech", - "ServerAssessmentV1", - "ServerMigration_Replication", - "Carbonite", - "DataMigrationAssistant", - "DatabaseMigrationService" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Gets or sets the tool being used in the solution." - } - }, - "description": "Class for solution properties." - }, - "SolutionSummary": { - "type": "object", - "oneOf": [ - { - "$ref": "#/definitions/ServersSolutionSummary" - }, - { - "$ref": "#/definitions/DatabasesSolutionSummary" - } - ], - "properties": {}, - "description": "The solution summary class." - } - } -} \ No newline at end of file diff --git a/schemas/2019-10-01-preview/Microsoft.Migrate.json b/schemas/2019-10-01-preview/Microsoft.Migrate.json deleted file mode 100644 index 69d60e191b..0000000000 --- a/schemas/2019-10-01-preview/Microsoft.Migrate.json +++ /dev/null @@ -1,1054 +0,0 @@ -{ - "id": "https://schema.management.azure.com/schemas/2019-10-01-preview/Microsoft.Migrate.json#", - "$schema": "http://json-schema.org/draft-04/schema#", - "title": "Microsoft.Migrate", - "description": "Microsoft Migrate Resource Types", - "resourceDefinitions": { - "moveCollections": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2019-10-01-preview" - ] - }, - "identity": { - "oneOf": [ - { - "$ref": "#/definitions/Identity" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Defines the MSI properties of the Move Collection." - }, - "location": { - "type": "string", - "description": "The geo-location where the resource lives." - }, - "name": { - "type": "string", - "description": "The Move Collection Name." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/MoveCollectionProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Defines the move collection properties." - }, - "resources": { - "type": "array", - "items": { - "oneOf": [ - { - "$ref": "#/definitions/moveCollections_moveResources_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.Migrate/moveCollections" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.Migrate/moveCollections" - }, - "moveCollections_moveResources": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2019-10-01-preview" - ] - }, - "name": { - "type": "string", - "description": "The Move Resource Name." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/MoveResourceProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Defines the move resource properties." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.Migrate/moveCollections/moveResources" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.Migrate/moveCollections/moveResources" - } - }, - "definitions": { - "AvailabilitySetResourceSettings": { - "type": "object", - "properties": { - "faultDomain": { - "oneOf": [ - { - "type": "integer", - "minimum": 1 - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Gets or sets the target fault domain." - }, - "resourceType": { - "type": "string", - "enum": [ - "Microsoft.Compute/availabilitySets" - ] - }, - "updateDomain": { - "oneOf": [ - { - "type": "integer", - "minimum": 1, - "maximum": 20 - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Gets or sets the target update domain." - } - }, - "required": [ - "resourceType" - ], - "description": "Gets or sets the availability set resource settings." - }, - "DiskEncryptionSetResourceSettings": { - "type": "object", - "properties": { - "resourceType": { - "type": "string", - "enum": [ - "Microsoft.Compute/diskEncryptionSets" - ] - } - }, - "required": [ - "resourceType" - ], - "description": "Defines the disk encryption set resource settings." - }, - "Identity": { - "type": "object", - "properties": { - "principalId": { - "type": "string", - "description": "Gets or sets the principal id." - }, - "tenantId": { - "type": "string", - "description": "Gets or sets the tenant id." - }, - "type": { - "oneOf": [ - { - "type": "string", - "enum": [ - "None", - "SystemAssigned", - "UserAssigned" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - } - }, - "description": "Defines the MSI properties of the Move Collection." - }, - "KeyVaultResourceSettings": { - "type": "object", - "properties": { - "resourceType": { - "type": "string", - "enum": [ - "Microsoft.KeyVault/vaults" - ] - } - }, - "required": [ - "resourceType" - ], - "description": "Defines the key vault resource settings." - }, - "LBBackendAddressPoolResourceSettings": { - "type": "object", - "properties": { - "name": { - "type": "string", - "description": "Gets or sets the backend address pool name." - } - }, - "description": "Defines load balancer backend address pool properties." - }, - "LBFrontendIPConfigurationResourceSettings": { - "type": "object", - "properties": { - "name": { - "type": "string", - "description": "Gets or sets the frontend IP configuration name." - }, - "privateIpAddress": { - "type": "string", - "description": "Gets or sets the IP address of the Load Balancer.This is only specified if a specific\r\nprivate IP address shall be allocated from the subnet specified in subnetRef." - }, - "privateIpAllocationMethod": { - "type": "string", - "description": "Gets or sets PrivateIP allocation method (Static/Dynamic)." - }, - "subnet": { - "oneOf": [ - { - "$ref": "#/definitions/SubnetReference" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Defines reference to subnet." - }, - "zones": { - "type": "string", - "description": "Gets or sets the csv list of zones." - } - }, - "description": "Defines load balancer frontend IP configuration properties." - }, - "LoadBalancerBackendAddressPoolReference": { - "type": "object", - "properties": { - "name": { - "type": "string", - "description": "Gets the name of the proxy resource on the target side." - }, - "sourceArmResourceId": { - "type": "string", - "description": "Gets the ARM resource ID of the tracked resource being referenced." - } - }, - "required": [ - "sourceArmResourceId" - ], - "description": "Defines reference to load balancer backend address pools." - }, - "LoadBalancerNatRuleReference": { - "type": "object", - "properties": { - "name": { - "type": "string", - "description": "Gets the name of the proxy resource on the target side." - }, - "sourceArmResourceId": { - "type": "string", - "description": "Gets the ARM resource ID of the tracked resource being referenced." - } - }, - "required": [ - "sourceArmResourceId" - ], - "description": "Defines reference to load balancer NAT rules." - }, - "LoadBalancerResourceSettings": { - "type": "object", - "properties": { - "backendAddressPools": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/definitions/LBBackendAddressPoolResourceSettings" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Gets or sets the backend address pools of the load balancer." - }, - "frontendIPConfigurations": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/definitions/LBFrontendIPConfigurationResourceSettings" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Gets or sets the frontend IP configurations of the load balancer." - }, - "resourceType": { - "type": "string", - "enum": [ - "Microsoft.Network/loadBalancers" - ] - }, - "sku": { - "type": "string", - "description": "Gets or sets load balancer sku (Basic/Standard)." - }, - "zones": { - "type": "string", - "description": "Gets or sets the csv list of zones common for all frontend IP configurations. Note this is given\r\n precedence only if frontend IP configurations settings are not present." - } - }, - "required": [ - "resourceType" - ], - "description": "Defines the load balancer resource settings." - }, - "MoveCollectionProperties": { - "type": "object", - "properties": { - "provisioningState": { - "oneOf": [ - { - "type": "string", - "enum": [ - "Succeeded", - "Updating", - "Creating", - "Failed" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "sourceRegion": { - "type": "string", - "description": "Gets or sets the source region." - }, - "targetRegion": { - "type": "string", - "description": "Gets or sets the target region." - } - }, - "required": [ - "sourceRegion", - "targetRegion" - ], - "description": "Defines the move collection properties." - }, - "moveCollections_moveResources_childResource": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2019-10-01-preview" - ] - }, - "name": { - "type": "string", - "description": "The Move Resource Name." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/MoveResourceProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Defines the move resource properties." - }, - "type": { - "type": "string", - "enum": [ - "moveResources" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.Migrate/moveCollections/moveResources" - }, - "MoveResourceDependencyOverride": { - "type": "object", - "properties": { - "id": { - "type": "string", - "description": "Gets or sets the ARM ID of the dependent resource." - }, - "targetId": { - "type": "string", - "description": "Gets or sets the resource ARM id of either the MoveResource or the resource ARM ID of\r\nthe dependent resource." - } - }, - "description": "Defines the dependency override of the move resource." - }, - "MoveResourceProperties": { - "type": "object", - "properties": { - "dependsOnOverrides": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/definitions/MoveResourceDependencyOverride" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Gets or sets the move resource dependencies overrides." - }, - "existingTargetId": { - "type": "string", - "description": "Gets or sets the existing target ARM Id of the resource." - }, - "provisioningState": { - "oneOf": [ - { - "type": "string", - "enum": [ - "Succeeded", - "Updating", - "Creating", - "Failed" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "resourceSettings": { - "oneOf": [ - { - "$ref": "#/definitions/ResourceSettings" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Gets or sets the resource settings." - }, - "sourceId": { - "type": "string", - "description": "Gets or sets the Source ARM Id of the resource." - } - }, - "required": [ - "sourceId" - ], - "description": "Defines the move resource properties." - }, - "NetworkInterfaceResourceSettings": { - "type": "object", - "properties": { - "enableAcceleratedNetworking": { - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Gets or sets a value indicating whether accelerated networking is enabled." - }, - "ipConfigurations": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/definitions/NicIpConfigurationResourceSettings" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Gets or sets the IP configurations of the NIC." - }, - "resourceType": { - "type": "string", - "enum": [ - "Microsoft.Network/networkInterfaces" - ] - } - }, - "required": [ - "resourceType" - ], - "description": "Defines the network interface resource settings." - }, - "NetworkSecurityGroupResourceSettings": { - "type": "object", - "properties": { - "resourceType": { - "type": "string", - "enum": [ - "Microsoft.Network/networkSecurityGroups" - ] - }, - "securityRules": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/definitions/NsgSecurityRule" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Gets or sets Security rules of network security group." - } - }, - "required": [ - "resourceType" - ], - "description": "Defines the NSG resource settings." - }, - "NicIpConfigurationResourceSettings": { - "type": "object", - "properties": { - "loadBalancerBackendAddressPools": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/definitions/LoadBalancerBackendAddressPoolReference" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Gets or sets the references of the load balancer backend address pools." - }, - "loadBalancerNatRules": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/definitions/LoadBalancerNatRuleReference" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Gets or sets the references of the load balancer NAT rules." - }, - "name": { - "type": "string", - "description": "Gets or sets the IP configuration name." - }, - "primary": { - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Gets or sets a value indicating whether this IP configuration is the primary." - }, - "privateIpAddress": { - "type": "string", - "description": "Gets or sets the private IP address of the network interface IP Configuration." - }, - "privateIpAllocationMethod": { - "type": "string", - "description": "Gets or sets the private IP address allocation method." - }, - "publicIp": { - "oneOf": [ - { - "$ref": "#/definitions/PublicIpReference" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Defines reference to a public IP." - }, - "subnet": { - "oneOf": [ - { - "$ref": "#/definitions/SubnetReference" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Defines reference to subnet." - } - }, - "description": "Defines NIC IP configuration properties." - }, - "NsgReference": { - "type": "object", - "properties": { - "sourceArmResourceId": { - "type": "string", - "description": "Gets the ARM resource ID of the tracked resource being referenced." - } - }, - "required": [ - "sourceArmResourceId" - ], - "description": "Defines reference to NSG." - }, - "NsgSecurityRule": { - "type": "object", - "properties": { - "access": { - "type": "string", - "description": "Gets or sets whether network traffic is allowed or denied.\r\nPossible values are “Allow” and “Deny”." - }, - "description": { - "type": "string", - "description": "Gets or sets a description for this rule. Restricted to 140 chars." - }, - "destinationAddressPrefix": { - "type": "string", - "description": "Gets or sets destination address prefix. CIDR or source IP range.\r\n A “*” can also be used to match all source IPs. Default tags such\r\nas ‘VirtualNetwork’, ‘AzureLoadBalancer’ and ‘Internet’ can also be used." - }, - "destinationPortRange": { - "type": "string", - "description": "Gets or sets Destination Port or Range. Integer or range between\r\n0 and 65535. A “*” can also be used to match all ports." - }, - "direction": { - "type": "string", - "description": "Gets or sets the direction of the rule.InBound or Outbound. The\r\ndirection specifies if rule will be evaluated on incoming or outgoing traffic." - }, - "name": { - "type": "string", - "description": "Gets or sets the Security rule name." - }, - "priority": { - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Gets or sets the priority of the rule. The value can be between\r\n100 and 4096. The priority number must be unique for each rule in the collection.\r\nThe lower the priority number, the higher the priority of the rule." - }, - "protocol": { - "type": "string", - "description": "Gets or sets Network protocol this rule applies to. Can be Tcp, Udp or All(*)." - }, - "sourceAddressPrefix": { - "type": "string", - "description": "Gets or sets source address prefix. CIDR or source IP range. A\r\n“*” can also be used to match all source IPs. Default tags such as ‘VirtualNetwork’,\r\n‘AzureLoadBalancer’ and ‘Internet’ can also be used. If this is an ingress\r\nrule, specifies where network traffic originates from." - }, - "sourcePortRange": { - "type": "string", - "description": "Gets or sets Source Port or Range. Integer or range between 0 and\r\n65535. A “*” can also be used to match all ports." - } - }, - "description": "Security Rule data model for Network Security Groups." - }, - "PublicIPAddressResourceSettings": { - "type": "object", - "properties": { - "domainNameLabel": { - "type": "string", - "description": "Gets or sets the domain name label." - }, - "fqdn": { - "type": "string", - "description": "Gets or sets the fully qualified domain name." - }, - "publicIpAllocationMethod": { - "type": "string", - "description": "Gets or sets public IP allocation method." - }, - "resourceType": { - "type": "string", - "enum": [ - "Microsoft.Network/publicIPAddresses" - ] - }, - "sku": { - "type": "string", - "description": "Gets or sets public IP sku." - }, - "zones": { - "type": "string", - "description": "Gets or sets public IP zones." - } - }, - "required": [ - "resourceType" - ], - "description": "Defines the public IP address resource settings." - }, - "PublicIpReference": { - "type": "object", - "properties": { - "sourceArmResourceId": { - "type": "string", - "description": "Gets the ARM resource ID of the tracked resource being referenced." - } - }, - "required": [ - "sourceArmResourceId" - ], - "description": "Defines reference to a public IP." - }, - "ResourceGroupResourceSettings": { - "type": "object", - "properties": { - "resourceType": { - "type": "string", - "enum": [ - "resourceGroups" - ] - } - }, - "required": [ - "resourceType" - ], - "description": "Defines the resource group resource settings." - }, - "ResourceSettings": { - "type": "object", - "oneOf": [ - { - "$ref": "#/definitions/VirtualMachineResourceSettings" - }, - { - "$ref": "#/definitions/AvailabilitySetResourceSettings" - }, - { - "$ref": "#/definitions/VirtualNetworkResourceSettings" - }, - { - "$ref": "#/definitions/NetworkInterfaceResourceSettings" - }, - { - "$ref": "#/definitions/NetworkSecurityGroupResourceSettings" - }, - { - "$ref": "#/definitions/LoadBalancerResourceSettings" - }, - { - "$ref": "#/definitions/SqlServerResourceSettings" - }, - { - "$ref": "#/definitions/SqlElasticPoolResourceSettings" - }, - { - "$ref": "#/definitions/SqlDatabaseResourceSettings" - }, - { - "$ref": "#/definitions/ResourceGroupResourceSettings" - }, - { - "$ref": "#/definitions/PublicIPAddressResourceSettings" - }, - { - "$ref": "#/definitions/KeyVaultResourceSettings" - }, - { - "$ref": "#/definitions/DiskEncryptionSetResourceSettings" - } - ], - "properties": { - "targetResourceName": { - "type": "string", - "description": "Gets or sets the target Resource name." - } - }, - "required": [ - "targetResourceName" - ], - "description": "Gets or sets the resource settings." - }, - "SqlDatabaseResourceSettings": { - "type": "object", - "properties": { - "resourceType": { - "type": "string", - "enum": [ - "Microsoft.Sql/servers/databases" - ] - }, - "zoneRedundant": { - "oneOf": [ - { - "type": "string", - "enum": [ - "Enable", - "Disable" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - } - }, - "required": [ - "resourceType" - ], - "description": "Defines the Sql Database resource settings." - }, - "SqlElasticPoolResourceSettings": { - "type": "object", - "properties": { - "resourceType": { - "type": "string", - "enum": [ - "Microsoft.Sql/servers/elasticPools" - ] - }, - "zoneRedundant": { - "oneOf": [ - { - "type": "string", - "enum": [ - "Enable", - "Disable" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - } - }, - "required": [ - "resourceType" - ], - "description": "Defines the Sql ElasticPool resource settings." - }, - "SqlServerResourceSettings": { - "type": "object", - "properties": { - "resourceType": { - "type": "string", - "enum": [ - "Microsoft.Sql/servers" - ] - } - }, - "required": [ - "resourceType" - ], - "description": "Defines the SQL Server resource settings." - }, - "SubnetReference": { - "type": "object", - "properties": { - "name": { - "type": "string", - "description": "Gets the name of the proxy resource on the target side." - }, - "sourceArmResourceId": { - "type": "string", - "description": "Gets the ARM resource ID of the tracked resource being referenced." - } - }, - "required": [ - "sourceArmResourceId" - ], - "description": "Defines reference to subnet." - }, - "SubnetResourceSettings": { - "type": "object", - "properties": { - "addressPrefix": { - "type": "string", - "description": "Gets or sets address prefix for the subnet." - }, - "name": { - "type": "string", - "description": "Gets or sets the Subnet name." - }, - "networkSecurityGroup": { - "oneOf": [ - { - "$ref": "#/definitions/NsgReference" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Defines reference to NSG." - } - }, - "description": "Defines the virtual network subnets resource settings." - }, - "VirtualMachineResourceSettings": { - "type": "object", - "properties": { - "resourceType": { - "type": "string", - "enum": [ - "Microsoft.Compute/virtualMachines" - ] - }, - "targetAvailabilitySetId": { - "type": "string", - "description": "Gets or sets the target availability set id for virtual machines not in an availability set at source." - }, - "targetAvailabilityZone": { - "oneOf": [ - { - "type": "string", - "enum": [ - "1", - "2", - "3", - "NA" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Gets or sets the target availability zone." - }, - "targetVmSize": { - "type": "string", - "description": "Gets or sets the target virtual machine size." - } - }, - "required": [ - "resourceType" - ], - "description": "Gets or sets the virtual machine resource settings." - }, - "VirtualNetworkResourceSettings": { - "type": "object", - "properties": { - "addressSpace": { - "oneOf": [ - { - "type": "array", - "items": { - "type": "string" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Gets or sets the address prefixes for the virtual network." - }, - "dnsServers": { - "oneOf": [ - { - "type": "array", - "items": { - "type": "string" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Gets or sets DHCPOptions that contains an array of DNS servers available to VMs\r\ndeployed in the virtual network." - }, - "enableDdosProtection": { - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Gets or sets a value indicating whether gets or sets whether the\r\nDDOS protection should be switched on." - }, - "resourceType": { - "type": "string", - "enum": [ - "Microsoft.Network/virtualNetworks" - ] - }, - "subnets": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/definitions/SubnetResourceSettings" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Gets or sets List of subnets in a VirtualNetwork." - } - }, - "required": [ - "resourceType" - ], - "description": "Defines the virtual network resource settings." - } - } -} \ No newline at end of file diff --git a/schemas/2021-01-01/Microsoft.Migrate.json b/schemas/2021-01-01/Microsoft.Migrate.json deleted file mode 100644 index 0e45499ee6..0000000000 --- a/schemas/2021-01-01/Microsoft.Migrate.json +++ /dev/null @@ -1,1054 +0,0 @@ -{ - "id": "https://schema.management.azure.com/schemas/2021-01-01/Microsoft.Migrate.json#", - "$schema": "http://json-schema.org/draft-04/schema#", - "title": "Microsoft.Migrate", - "description": "Microsoft Migrate Resource Types", - "resourceDefinitions": { - "moveCollections": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2021-01-01" - ] - }, - "identity": { - "oneOf": [ - { - "$ref": "#/definitions/Identity" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Defines the MSI properties of the Move Collection." - }, - "location": { - "type": "string", - "description": "The geo-location where the resource lives." - }, - "name": { - "type": "string", - "description": "The Move Collection Name." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/MoveCollectionProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Defines the move collection properties." - }, - "resources": { - "type": "array", - "items": { - "oneOf": [ - { - "$ref": "#/definitions/moveCollections_moveResources_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.Migrate/moveCollections" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.Migrate/moveCollections" - }, - "moveCollections_moveResources": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2021-01-01" - ] - }, - "name": { - "type": "string", - "description": "The Move Resource Name." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/MoveResourceProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Defines the move resource properties." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.Migrate/moveCollections/moveResources" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.Migrate/moveCollections/moveResources" - } - }, - "definitions": { - "AvailabilitySetResourceSettings": { - "type": "object", - "properties": { - "faultDomain": { - "oneOf": [ - { - "type": "integer", - "minimum": 1 - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Gets or sets the target fault domain." - }, - "resourceType": { - "type": "string", - "enum": [ - "Microsoft.Compute/availabilitySets" - ] - }, - "updateDomain": { - "oneOf": [ - { - "type": "integer", - "minimum": 1, - "maximum": 20 - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Gets or sets the target update domain." - } - }, - "required": [ - "resourceType" - ], - "description": "Gets or sets the availability set resource settings." - }, - "DiskEncryptionSetResourceSettings": { - "type": "object", - "properties": { - "resourceType": { - "type": "string", - "enum": [ - "Microsoft.Compute/diskEncryptionSets" - ] - } - }, - "required": [ - "resourceType" - ], - "description": "Defines the disk encryption set resource settings." - }, - "Identity": { - "type": "object", - "properties": { - "principalId": { - "type": "string", - "description": "Gets or sets the principal id." - }, - "tenantId": { - "type": "string", - "description": "Gets or sets the tenant id." - }, - "type": { - "oneOf": [ - { - "type": "string", - "enum": [ - "None", - "SystemAssigned", - "UserAssigned" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - } - }, - "description": "Defines the MSI properties of the Move Collection." - }, - "KeyVaultResourceSettings": { - "type": "object", - "properties": { - "resourceType": { - "type": "string", - "enum": [ - "Microsoft.KeyVault/vaults" - ] - } - }, - "required": [ - "resourceType" - ], - "description": "Defines the key vault resource settings." - }, - "LBBackendAddressPoolResourceSettings": { - "type": "object", - "properties": { - "name": { - "type": "string", - "description": "Gets or sets the backend address pool name." - } - }, - "description": "Defines load balancer backend address pool properties." - }, - "LBFrontendIPConfigurationResourceSettings": { - "type": "object", - "properties": { - "name": { - "type": "string", - "description": "Gets or sets the frontend IP configuration name." - }, - "privateIpAddress": { - "type": "string", - "description": "Gets or sets the IP address of the Load Balancer.This is only specified if a specific\r\nprivate IP address shall be allocated from the subnet specified in subnetRef." - }, - "privateIpAllocationMethod": { - "type": "string", - "description": "Gets or sets PrivateIP allocation method (Static/Dynamic)." - }, - "subnet": { - "oneOf": [ - { - "$ref": "#/definitions/SubnetReference" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Defines reference to subnet." - }, - "zones": { - "type": "string", - "description": "Gets or sets the csv list of zones." - } - }, - "description": "Defines load balancer frontend IP configuration properties." - }, - "LoadBalancerBackendAddressPoolReference": { - "type": "object", - "properties": { - "name": { - "type": "string", - "description": "Gets the name of the proxy resource on the target side." - }, - "sourceArmResourceId": { - "type": "string", - "description": "Gets the ARM resource ID of the tracked resource being referenced." - } - }, - "required": [ - "sourceArmResourceId" - ], - "description": "Defines reference to load balancer backend address pools." - }, - "LoadBalancerNatRuleReference": { - "type": "object", - "properties": { - "name": { - "type": "string", - "description": "Gets the name of the proxy resource on the target side." - }, - "sourceArmResourceId": { - "type": "string", - "description": "Gets the ARM resource ID of the tracked resource being referenced." - } - }, - "required": [ - "sourceArmResourceId" - ], - "description": "Defines reference to load balancer NAT rules." - }, - "LoadBalancerResourceSettings": { - "type": "object", - "properties": { - "backendAddressPools": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/definitions/LBBackendAddressPoolResourceSettings" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Gets or sets the backend address pools of the load balancer." - }, - "frontendIPConfigurations": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/definitions/LBFrontendIPConfigurationResourceSettings" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Gets or sets the frontend IP configurations of the load balancer." - }, - "resourceType": { - "type": "string", - "enum": [ - "Microsoft.Network/loadBalancers" - ] - }, - "sku": { - "type": "string", - "description": "Gets or sets load balancer sku (Basic/Standard)." - }, - "zones": { - "type": "string", - "description": "Gets or sets the csv list of zones common for all frontend IP configurations. Note this is given\r\n precedence only if frontend IP configurations settings are not present." - } - }, - "required": [ - "resourceType" - ], - "description": "Defines the load balancer resource settings." - }, - "MoveCollectionProperties": { - "type": "object", - "properties": { - "provisioningState": { - "oneOf": [ - { - "type": "string", - "enum": [ - "Succeeded", - "Updating", - "Creating", - "Failed" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "sourceRegion": { - "type": "string", - "description": "Gets or sets the source region." - }, - "targetRegion": { - "type": "string", - "description": "Gets or sets the target region." - } - }, - "required": [ - "sourceRegion", - "targetRegion" - ], - "description": "Defines the move collection properties." - }, - "moveCollections_moveResources_childResource": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2021-01-01" - ] - }, - "name": { - "type": "string", - "description": "The Move Resource Name." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/MoveResourceProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Defines the move resource properties." - }, - "type": { - "type": "string", - "enum": [ - "moveResources" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.Migrate/moveCollections/moveResources" - }, - "MoveResourceDependencyOverride": { - "type": "object", - "properties": { - "id": { - "type": "string", - "description": "Gets or sets the ARM ID of the dependent resource." - }, - "targetId": { - "type": "string", - "description": "Gets or sets the resource ARM id of either the MoveResource or the resource ARM ID of\r\nthe dependent resource." - } - }, - "description": "Defines the dependency override of the move resource." - }, - "MoveResourceProperties": { - "type": "object", - "properties": { - "dependsOnOverrides": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/definitions/MoveResourceDependencyOverride" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Gets or sets the move resource dependencies overrides." - }, - "existingTargetId": { - "type": "string", - "description": "Gets or sets the existing target ARM Id of the resource." - }, - "provisioningState": { - "oneOf": [ - { - "type": "string", - "enum": [ - "Succeeded", - "Updating", - "Creating", - "Failed" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "resourceSettings": { - "oneOf": [ - { - "$ref": "#/definitions/ResourceSettings" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Gets or sets the resource settings." - }, - "sourceId": { - "type": "string", - "description": "Gets or sets the Source ARM Id of the resource." - } - }, - "required": [ - "sourceId" - ], - "description": "Defines the move resource properties." - }, - "NetworkInterfaceResourceSettings": { - "type": "object", - "properties": { - "enableAcceleratedNetworking": { - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Gets or sets a value indicating whether accelerated networking is enabled." - }, - "ipConfigurations": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/definitions/NicIpConfigurationResourceSettings" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Gets or sets the IP configurations of the NIC." - }, - "resourceType": { - "type": "string", - "enum": [ - "Microsoft.Network/networkInterfaces" - ] - } - }, - "required": [ - "resourceType" - ], - "description": "Defines the network interface resource settings." - }, - "NetworkSecurityGroupResourceSettings": { - "type": "object", - "properties": { - "resourceType": { - "type": "string", - "enum": [ - "Microsoft.Network/networkSecurityGroups" - ] - }, - "securityRules": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/definitions/NsgSecurityRule" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Gets or sets Security rules of network security group." - } - }, - "required": [ - "resourceType" - ], - "description": "Defines the NSG resource settings." - }, - "NicIpConfigurationResourceSettings": { - "type": "object", - "properties": { - "loadBalancerBackendAddressPools": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/definitions/LoadBalancerBackendAddressPoolReference" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Gets or sets the references of the load balancer backend address pools." - }, - "loadBalancerNatRules": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/definitions/LoadBalancerNatRuleReference" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Gets or sets the references of the load balancer NAT rules." - }, - "name": { - "type": "string", - "description": "Gets or sets the IP configuration name." - }, - "primary": { - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Gets or sets a value indicating whether this IP configuration is the primary." - }, - "privateIpAddress": { - "type": "string", - "description": "Gets or sets the private IP address of the network interface IP Configuration." - }, - "privateIpAllocationMethod": { - "type": "string", - "description": "Gets or sets the private IP address allocation method." - }, - "publicIp": { - "oneOf": [ - { - "$ref": "#/definitions/PublicIpReference" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Defines reference to a public IP." - }, - "subnet": { - "oneOf": [ - { - "$ref": "#/definitions/SubnetReference" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Defines reference to subnet." - } - }, - "description": "Defines NIC IP configuration properties." - }, - "NsgReference": { - "type": "object", - "properties": { - "sourceArmResourceId": { - "type": "string", - "description": "Gets the ARM resource ID of the tracked resource being referenced." - } - }, - "required": [ - "sourceArmResourceId" - ], - "description": "Defines reference to NSG." - }, - "NsgSecurityRule": { - "type": "object", - "properties": { - "access": { - "type": "string", - "description": "Gets or sets whether network traffic is allowed or denied.\r\nPossible values are “Allow” and “Deny”." - }, - "description": { - "type": "string", - "description": "Gets or sets a description for this rule. Restricted to 140 chars." - }, - "destinationAddressPrefix": { - "type": "string", - "description": "Gets or sets destination address prefix. CIDR or source IP range.\r\n A “*” can also be used to match all source IPs. Default tags such\r\nas ‘VirtualNetwork’, ‘AzureLoadBalancer’ and ‘Internet’ can also be used." - }, - "destinationPortRange": { - "type": "string", - "description": "Gets or sets Destination Port or Range. Integer or range between\r\n0 and 65535. A “*” can also be used to match all ports." - }, - "direction": { - "type": "string", - "description": "Gets or sets the direction of the rule.InBound or Outbound. The\r\ndirection specifies if rule will be evaluated on incoming or outgoing traffic." - }, - "name": { - "type": "string", - "description": "Gets or sets the Security rule name." - }, - "priority": { - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Gets or sets the priority of the rule. The value can be between\r\n100 and 4096. The priority number must be unique for each rule in the collection.\r\nThe lower the priority number, the higher the priority of the rule." - }, - "protocol": { - "type": "string", - "description": "Gets or sets Network protocol this rule applies to. Can be Tcp, Udp or All(*)." - }, - "sourceAddressPrefix": { - "type": "string", - "description": "Gets or sets source address prefix. CIDR or source IP range. A\r\n“*” can also be used to match all source IPs. Default tags such as ‘VirtualNetwork’,\r\n‘AzureLoadBalancer’ and ‘Internet’ can also be used. If this is an ingress\r\nrule, specifies where network traffic originates from." - }, - "sourcePortRange": { - "type": "string", - "description": "Gets or sets Source Port or Range. Integer or range between 0 and\r\n65535. A “*” can also be used to match all ports." - } - }, - "description": "Security Rule data model for Network Security Groups." - }, - "PublicIPAddressResourceSettings": { - "type": "object", - "properties": { - "domainNameLabel": { - "type": "string", - "description": "Gets or sets the domain name label." - }, - "fqdn": { - "type": "string", - "description": "Gets or sets the fully qualified domain name." - }, - "publicIpAllocationMethod": { - "type": "string", - "description": "Gets or sets public IP allocation method." - }, - "resourceType": { - "type": "string", - "enum": [ - "Microsoft.Network/publicIPAddresses" - ] - }, - "sku": { - "type": "string", - "description": "Gets or sets public IP sku." - }, - "zones": { - "type": "string", - "description": "Gets or sets public IP zones." - } - }, - "required": [ - "resourceType" - ], - "description": "Defines the public IP address resource settings." - }, - "PublicIpReference": { - "type": "object", - "properties": { - "sourceArmResourceId": { - "type": "string", - "description": "Gets the ARM resource ID of the tracked resource being referenced." - } - }, - "required": [ - "sourceArmResourceId" - ], - "description": "Defines reference to a public IP." - }, - "ResourceGroupResourceSettings": { - "type": "object", - "properties": { - "resourceType": { - "type": "string", - "enum": [ - "resourceGroups" - ] - } - }, - "required": [ - "resourceType" - ], - "description": "Defines the resource group resource settings." - }, - "ResourceSettings": { - "type": "object", - "oneOf": [ - { - "$ref": "#/definitions/VirtualMachineResourceSettings" - }, - { - "$ref": "#/definitions/AvailabilitySetResourceSettings" - }, - { - "$ref": "#/definitions/VirtualNetworkResourceSettings" - }, - { - "$ref": "#/definitions/NetworkInterfaceResourceSettings" - }, - { - "$ref": "#/definitions/NetworkSecurityGroupResourceSettings" - }, - { - "$ref": "#/definitions/LoadBalancerResourceSettings" - }, - { - "$ref": "#/definitions/SqlServerResourceSettings" - }, - { - "$ref": "#/definitions/SqlElasticPoolResourceSettings" - }, - { - "$ref": "#/definitions/SqlDatabaseResourceSettings" - }, - { - "$ref": "#/definitions/ResourceGroupResourceSettings" - }, - { - "$ref": "#/definitions/PublicIPAddressResourceSettings" - }, - { - "$ref": "#/definitions/KeyVaultResourceSettings" - }, - { - "$ref": "#/definitions/DiskEncryptionSetResourceSettings" - } - ], - "properties": { - "targetResourceName": { - "type": "string", - "description": "Gets or sets the target Resource name." - } - }, - "required": [ - "targetResourceName" - ], - "description": "Gets or sets the resource settings." - }, - "SqlDatabaseResourceSettings": { - "type": "object", - "properties": { - "resourceType": { - "type": "string", - "enum": [ - "Microsoft.Sql/servers/databases" - ] - }, - "zoneRedundant": { - "oneOf": [ - { - "type": "string", - "enum": [ - "Enable", - "Disable" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - } - }, - "required": [ - "resourceType" - ], - "description": "Defines the Sql Database resource settings." - }, - "SqlElasticPoolResourceSettings": { - "type": "object", - "properties": { - "resourceType": { - "type": "string", - "enum": [ - "Microsoft.Sql/servers/elasticPools" - ] - }, - "zoneRedundant": { - "oneOf": [ - { - "type": "string", - "enum": [ - "Enable", - "Disable" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - } - }, - "required": [ - "resourceType" - ], - "description": "Defines the Sql ElasticPool resource settings." - }, - "SqlServerResourceSettings": { - "type": "object", - "properties": { - "resourceType": { - "type": "string", - "enum": [ - "Microsoft.Sql/servers" - ] - } - }, - "required": [ - "resourceType" - ], - "description": "Defines the SQL Server resource settings." - }, - "SubnetReference": { - "type": "object", - "properties": { - "name": { - "type": "string", - "description": "Gets the name of the proxy resource on the target side." - }, - "sourceArmResourceId": { - "type": "string", - "description": "Gets the ARM resource ID of the tracked resource being referenced." - } - }, - "required": [ - "sourceArmResourceId" - ], - "description": "Defines reference to subnet." - }, - "SubnetResourceSettings": { - "type": "object", - "properties": { - "addressPrefix": { - "type": "string", - "description": "Gets or sets address prefix for the subnet." - }, - "name": { - "type": "string", - "description": "Gets or sets the Subnet name." - }, - "networkSecurityGroup": { - "oneOf": [ - { - "$ref": "#/definitions/NsgReference" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Defines reference to NSG." - } - }, - "description": "Defines the virtual network subnets resource settings." - }, - "VirtualMachineResourceSettings": { - "type": "object", - "properties": { - "resourceType": { - "type": "string", - "enum": [ - "Microsoft.Compute/virtualMachines" - ] - }, - "targetAvailabilitySetId": { - "type": "string", - "description": "Gets or sets the target availability set id for virtual machines not in an availability set at source." - }, - "targetAvailabilityZone": { - "oneOf": [ - { - "type": "string", - "enum": [ - "1", - "2", - "3", - "NA" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Gets or sets the target availability zone." - }, - "targetVmSize": { - "type": "string", - "description": "Gets or sets the target virtual machine size." - } - }, - "required": [ - "resourceType" - ], - "description": "Gets or sets the virtual machine resource settings." - }, - "VirtualNetworkResourceSettings": { - "type": "object", - "properties": { - "addressSpace": { - "oneOf": [ - { - "type": "array", - "items": { - "type": "string" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Gets or sets the address prefixes for the virtual network." - }, - "dnsServers": { - "oneOf": [ - { - "type": "array", - "items": { - "type": "string" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Gets or sets DHCPOptions that contains an array of DNS servers available to VMs\r\ndeployed in the virtual network." - }, - "enableDdosProtection": { - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Gets or sets a value indicating whether gets or sets whether the\r\nDDOS protection should be switched on." - }, - "resourceType": { - "type": "string", - "enum": [ - "Microsoft.Network/virtualNetworks" - ] - }, - "subnets": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/definitions/SubnetResourceSettings" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Gets or sets List of subnets in a VirtualNetwork." - } - }, - "required": [ - "resourceType" - ], - "description": "Defines the virtual network resource settings." - } - } -} \ No newline at end of file diff --git a/schemas/common/autogeneratedResources.json b/schemas/common/autogeneratedResources.json index 25f6fcdba4..3366c5a7f4 100644 --- a/schemas/common/autogeneratedResources.json +++ b/schemas/common/autogeneratedResources.json @@ -6883,12 +6883,6 @@ { "$ref": "https://schema.management.azure.com/schemas/2018-02-02/Microsoft.Migrate.json#/resourceDefinitions/projects_groups_assessments" }, - { - "$ref": "https://schema.management.azure.com/schemas/2018-09-01-preview/Microsoft.Migrate.json#/resourceDefinitions/migrateProjects" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2018-09-01-preview/Microsoft.Migrate.json#/resourceDefinitions/migrateProjects_solutions" - }, { "$ref": "https://schema.management.azure.com/schemas/2019-10-01/Microsoft.Migrate.json#/resourceDefinitions/assessmentProjects" }, @@ -6913,18 +6907,6 @@ { "$ref": "https://schema.management.azure.com/schemas/2019-10-01/Microsoft.Migrate.json#/resourceDefinitions/assessmentProjects_vmwarecollectors" }, - { - "$ref": "https://schema.management.azure.com/schemas/2019-10-01-preview/Microsoft.Migrate.json#/resourceDefinitions/moveCollections" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2019-10-01-preview/Microsoft.Migrate.json#/resourceDefinitions/moveCollections_moveResources" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2021-01-01/Microsoft.Migrate.json#/resourceDefinitions/moveCollections" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2021-01-01/Microsoft.Migrate.json#/resourceDefinitions/moveCollections_moveResources" - }, { "$ref": "https://schema.management.azure.com/schemas/2019-02-28-preview/Microsoft.MixedReality.json#/resourceDefinitions/spatialAnchorsAccounts" }, From 26ced22075c236d5a51b8684e01e6b24933ee3b9 Mon Sep 17 00:00:00 2001 From: Autogenerator Pipeline Date: Wed, 28 Jul 2021 09:18:34 +0000 Subject: [PATCH 07/64] Update resource list --- generator/resources.json | 14 -------------- 1 file changed, 14 deletions(-) diff --git a/generator/resources.json b/generator/resources.json index 2f0175e1b3..2cf8c5254c 100644 --- a/generator/resources.json +++ b/generator/resources.json @@ -3900,20 +3900,6 @@ "Microsoft.Migrate/assessmentprojects/privateEndpointConnections": [ "2019-10-01" ], - "Microsoft.Migrate/migrateProjects": [ - "2018-09-01-preview" - ], - "Microsoft.Migrate/migrateProjects/solutions": [ - "2018-09-01-preview" - ], - "Microsoft.Migrate/moveCollections": [ - "2019-10-01-preview", - "2021-01-01" - ], - "Microsoft.Migrate/moveCollections/moveResources": [ - "2019-10-01-preview", - "2021-01-01" - ], "Microsoft.Migrate/projects": [ "2018-02-02" ], From d2d0f8f5f81dc857e019ec56cde3e22c11bbc217 Mon Sep 17 00:00:00 2001 From: Autogenerator Pipeline Date: Wed, 28 Jul 2021 10:37:48 +0000 Subject: [PATCH 08/64] Autogenerate schemas --- .../2018-09-01-preview/Microsoft.Migrate.json | 517 ++++++++ .../2019-10-01-preview/Microsoft.Migrate.json | 1054 +++++++++++++++++ schemas/2021-01-01/Microsoft.Migrate.json | 1054 +++++++++++++++++ schemas/2021-06-01/Microsoft.Security.json | 484 -------- schemas/common/autogeneratedResources.json | 18 + 5 files changed, 2643 insertions(+), 484 deletions(-) create mode 100644 schemas/2018-09-01-preview/Microsoft.Migrate.json create mode 100644 schemas/2019-10-01-preview/Microsoft.Migrate.json create mode 100644 schemas/2021-01-01/Microsoft.Migrate.json diff --git a/schemas/2018-09-01-preview/Microsoft.Migrate.json b/schemas/2018-09-01-preview/Microsoft.Migrate.json new file mode 100644 index 0000000000..074e3e9b7c --- /dev/null +++ b/schemas/2018-09-01-preview/Microsoft.Migrate.json @@ -0,0 +1,517 @@ +{ + "id": "https://schema.management.azure.com/schemas/2018-09-01-preview/Microsoft.Migrate.json#", + "$schema": "http://json-schema.org/draft-04/schema#", + "title": "Microsoft.Migrate", + "description": "Microsoft Migrate Resource Types", + "resourceDefinitions": { + "migrateProjects": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2018-09-01-preview" + ] + }, + "eTag": { + "type": "string", + "description": "Gets or sets the eTag for concurrency control." + }, + "location": { + "type": "string", + "description": "Gets or sets the Azure location in which migrate project is created." + }, + "name": { + "type": "string", + "description": "Name of the Azure Migrate project." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/MigrateProjectProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Class for migrate project properties." + }, + "resources": { + "type": "array", + "items": { + "oneOf": [ + { + "$ref": "#/definitions/migrateProjects_solutions_childResource" + } + ] + } + }, + "tags": { + "oneOf": [ + { + "$ref": "#/definitions/MigrateProjectTags" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Gets or sets the tags." + }, + "type": { + "type": "string", + "enum": [ + "Microsoft.Migrate/migrateProjects" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.Migrate/migrateProjects" + }, + "migrateProjects_solutions": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2018-09-01-preview" + ] + }, + "etag": { + "type": "string", + "description": "Gets or sets the ETAG for optimistic concurrency control." + }, + "name": { + "type": "string", + "description": "Unique name of a migration solution within a migrate project." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/SolutionProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Class for solution properties." + }, + "type": { + "type": "string", + "enum": [ + "Microsoft.Migrate/migrateProjects/solutions" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.Migrate/migrateProjects/solutions" + } + }, + "definitions": { + "DatabasesSolutionSummary": { + "type": "object", + "properties": { + "databaseInstancesAssessedCount": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Gets or sets the count of database instances assessed." + }, + "databasesAssessedCount": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Gets or sets the count of databases assessed." + }, + "instanceType": { + "type": "string", + "enum": [ + "Databases" + ] + }, + "migrationReadyCount": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Gets or sets the count of databases ready for migration." + } + }, + "required": [ + "instanceType" + ], + "description": "Class representing the databases solution summary." + }, + "MigrateProjectProperties": { + "type": "object", + "properties": { + "provisioningState": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Accepted", + "Creating", + "Deleting", + "Failed", + "Moving", + "Succeeded" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Provisioning state of the migrate project." + }, + "registeredTools": { + "oneOf": [ + { + "type": "array", + "items": { + "type": "string", + "enum": [ + "ServerDiscovery", + "ServerAssessment", + "ServerMigration", + "Cloudamize", + "Turbonomic", + "Zerto", + "CorentTech", + "ServerAssessmentV1", + "ServerMigration_Replication", + "Carbonite", + "DataMigrationAssistant", + "DatabaseMigrationService" + ] + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Gets or sets the list of tools registered with the migrate project." + } + }, + "description": "Class for migrate project properties." + }, + "migrateProjects_solutions_childResource": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2018-09-01-preview" + ] + }, + "etag": { + "type": "string", + "description": "Gets or sets the ETAG for optimistic concurrency control." + }, + "name": { + "type": "string", + "description": "Unique name of a migration solution within a migrate project." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/SolutionProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Class for solution properties." + }, + "type": { + "type": "string", + "enum": [ + "solutions" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.Migrate/migrateProjects/solutions" + }, + "MigrateProjectTags": { + "type": "object", + "properties": { + "additionalProperties": { + "type": "string" + } + }, + "description": "Gets or sets the tags." + }, + "ServersSolutionSummary": { + "type": "object", + "properties": { + "assessedCount": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Gets or sets the count of servers assessed." + }, + "discoveredCount": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Gets or sets the count of servers discovered." + }, + "instanceType": { + "type": "string", + "enum": [ + "Servers" + ] + }, + "migratedCount": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Gets or sets the count of servers migrated." + }, + "replicatingCount": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Gets or sets the count of servers being replicated." + }, + "testMigratedCount": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Gets or sets the count of servers test migrated." + } + }, + "required": [ + "instanceType" + ], + "description": "Class representing the servers solution summary." + }, + "SolutionDetails": { + "type": "object", + "properties": { + "assessmentCount": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Gets or sets the count of assessments reported by the solution." + }, + "extendedDetails": { + "oneOf": [ + { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "properties": {} + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Gets or sets the extended details reported by the solution." + }, + "groupCount": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Gets or sets the count of groups reported by the solution." + } + }, + "description": "Class representing the details of the solution." + }, + "SolutionProperties": { + "type": "object", + "properties": { + "cleanupState": { + "oneOf": [ + { + "type": "string", + "enum": [ + "None", + "Started", + "InProgress", + "Completed", + "Failed" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Gets or sets the cleanup state of the solution." + }, + "details": { + "oneOf": [ + { + "$ref": "#/definitions/SolutionDetails" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Class representing the details of the solution." + }, + "goal": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Servers", + "Databases" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Gets or sets the goal of the solution." + }, + "purpose": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Discovery", + "Assessment", + "Migration" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Gets or sets the purpose of the solution." + }, + "status": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Inactive", + "Active" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Gets or sets the current status of the solution." + }, + "summary": { + "oneOf": [ + { + "$ref": "#/definitions/SolutionSummary" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The solution summary class." + }, + "tool": { + "oneOf": [ + { + "type": "string", + "enum": [ + "ServerDiscovery", + "ServerAssessment", + "ServerMigration", + "Cloudamize", + "Turbonomic", + "Zerto", + "CorentTech", + "ServerAssessmentV1", + "ServerMigration_Replication", + "Carbonite", + "DataMigrationAssistant", + "DatabaseMigrationService" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Gets or sets the tool being used in the solution." + } + }, + "description": "Class for solution properties." + }, + "SolutionSummary": { + "type": "object", + "oneOf": [ + { + "$ref": "#/definitions/ServersSolutionSummary" + }, + { + "$ref": "#/definitions/DatabasesSolutionSummary" + } + ], + "properties": {}, + "description": "The solution summary class." + } + } +} \ No newline at end of file diff --git a/schemas/2019-10-01-preview/Microsoft.Migrate.json b/schemas/2019-10-01-preview/Microsoft.Migrate.json new file mode 100644 index 0000000000..69d60e191b --- /dev/null +++ b/schemas/2019-10-01-preview/Microsoft.Migrate.json @@ -0,0 +1,1054 @@ +{ + "id": "https://schema.management.azure.com/schemas/2019-10-01-preview/Microsoft.Migrate.json#", + "$schema": "http://json-schema.org/draft-04/schema#", + "title": "Microsoft.Migrate", + "description": "Microsoft Migrate Resource Types", + "resourceDefinitions": { + "moveCollections": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2019-10-01-preview" + ] + }, + "identity": { + "oneOf": [ + { + "$ref": "#/definitions/Identity" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Defines the MSI properties of the Move Collection." + }, + "location": { + "type": "string", + "description": "The geo-location where the resource lives." + }, + "name": { + "type": "string", + "description": "The Move Collection Name." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/MoveCollectionProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Defines the move collection properties." + }, + "resources": { + "type": "array", + "items": { + "oneOf": [ + { + "$ref": "#/definitions/moveCollections_moveResources_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.Migrate/moveCollections" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.Migrate/moveCollections" + }, + "moveCollections_moveResources": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2019-10-01-preview" + ] + }, + "name": { + "type": "string", + "description": "The Move Resource Name." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/MoveResourceProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Defines the move resource properties." + }, + "type": { + "type": "string", + "enum": [ + "Microsoft.Migrate/moveCollections/moveResources" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.Migrate/moveCollections/moveResources" + } + }, + "definitions": { + "AvailabilitySetResourceSettings": { + "type": "object", + "properties": { + "faultDomain": { + "oneOf": [ + { + "type": "integer", + "minimum": 1 + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Gets or sets the target fault domain." + }, + "resourceType": { + "type": "string", + "enum": [ + "Microsoft.Compute/availabilitySets" + ] + }, + "updateDomain": { + "oneOf": [ + { + "type": "integer", + "minimum": 1, + "maximum": 20 + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Gets or sets the target update domain." + } + }, + "required": [ + "resourceType" + ], + "description": "Gets or sets the availability set resource settings." + }, + "DiskEncryptionSetResourceSettings": { + "type": "object", + "properties": { + "resourceType": { + "type": "string", + "enum": [ + "Microsoft.Compute/diskEncryptionSets" + ] + } + }, + "required": [ + "resourceType" + ], + "description": "Defines the disk encryption set resource settings." + }, + "Identity": { + "type": "object", + "properties": { + "principalId": { + "type": "string", + "description": "Gets or sets the principal id." + }, + "tenantId": { + "type": "string", + "description": "Gets or sets the tenant id." + }, + "type": { + "oneOf": [ + { + "type": "string", + "enum": [ + "None", + "SystemAssigned", + "UserAssigned" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ] + } + }, + "description": "Defines the MSI properties of the Move Collection." + }, + "KeyVaultResourceSettings": { + "type": "object", + "properties": { + "resourceType": { + "type": "string", + "enum": [ + "Microsoft.KeyVault/vaults" + ] + } + }, + "required": [ + "resourceType" + ], + "description": "Defines the key vault resource settings." + }, + "LBBackendAddressPoolResourceSettings": { + "type": "object", + "properties": { + "name": { + "type": "string", + "description": "Gets or sets the backend address pool name." + } + }, + "description": "Defines load balancer backend address pool properties." + }, + "LBFrontendIPConfigurationResourceSettings": { + "type": "object", + "properties": { + "name": { + "type": "string", + "description": "Gets or sets the frontend IP configuration name." + }, + "privateIpAddress": { + "type": "string", + "description": "Gets or sets the IP address of the Load Balancer.This is only specified if a specific\r\nprivate IP address shall be allocated from the subnet specified in subnetRef." + }, + "privateIpAllocationMethod": { + "type": "string", + "description": "Gets or sets PrivateIP allocation method (Static/Dynamic)." + }, + "subnet": { + "oneOf": [ + { + "$ref": "#/definitions/SubnetReference" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Defines reference to subnet." + }, + "zones": { + "type": "string", + "description": "Gets or sets the csv list of zones." + } + }, + "description": "Defines load balancer frontend IP configuration properties." + }, + "LoadBalancerBackendAddressPoolReference": { + "type": "object", + "properties": { + "name": { + "type": "string", + "description": "Gets the name of the proxy resource on the target side." + }, + "sourceArmResourceId": { + "type": "string", + "description": "Gets the ARM resource ID of the tracked resource being referenced." + } + }, + "required": [ + "sourceArmResourceId" + ], + "description": "Defines reference to load balancer backend address pools." + }, + "LoadBalancerNatRuleReference": { + "type": "object", + "properties": { + "name": { + "type": "string", + "description": "Gets the name of the proxy resource on the target side." + }, + "sourceArmResourceId": { + "type": "string", + "description": "Gets the ARM resource ID of the tracked resource being referenced." + } + }, + "required": [ + "sourceArmResourceId" + ], + "description": "Defines reference to load balancer NAT rules." + }, + "LoadBalancerResourceSettings": { + "type": "object", + "properties": { + "backendAddressPools": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/LBBackendAddressPoolResourceSettings" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Gets or sets the backend address pools of the load balancer." + }, + "frontendIPConfigurations": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/LBFrontendIPConfigurationResourceSettings" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Gets or sets the frontend IP configurations of the load balancer." + }, + "resourceType": { + "type": "string", + "enum": [ + "Microsoft.Network/loadBalancers" + ] + }, + "sku": { + "type": "string", + "description": "Gets or sets load balancer sku (Basic/Standard)." + }, + "zones": { + "type": "string", + "description": "Gets or sets the csv list of zones common for all frontend IP configurations. Note this is given\r\n precedence only if frontend IP configurations settings are not present." + } + }, + "required": [ + "resourceType" + ], + "description": "Defines the load balancer resource settings." + }, + "MoveCollectionProperties": { + "type": "object", + "properties": { + "provisioningState": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Succeeded", + "Updating", + "Creating", + "Failed" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ] + }, + "sourceRegion": { + "type": "string", + "description": "Gets or sets the source region." + }, + "targetRegion": { + "type": "string", + "description": "Gets or sets the target region." + } + }, + "required": [ + "sourceRegion", + "targetRegion" + ], + "description": "Defines the move collection properties." + }, + "moveCollections_moveResources_childResource": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2019-10-01-preview" + ] + }, + "name": { + "type": "string", + "description": "The Move Resource Name." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/MoveResourceProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Defines the move resource properties." + }, + "type": { + "type": "string", + "enum": [ + "moveResources" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.Migrate/moveCollections/moveResources" + }, + "MoveResourceDependencyOverride": { + "type": "object", + "properties": { + "id": { + "type": "string", + "description": "Gets or sets the ARM ID of the dependent resource." + }, + "targetId": { + "type": "string", + "description": "Gets or sets the resource ARM id of either the MoveResource or the resource ARM ID of\r\nthe dependent resource." + } + }, + "description": "Defines the dependency override of the move resource." + }, + "MoveResourceProperties": { + "type": "object", + "properties": { + "dependsOnOverrides": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/MoveResourceDependencyOverride" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Gets or sets the move resource dependencies overrides." + }, + "existingTargetId": { + "type": "string", + "description": "Gets or sets the existing target ARM Id of the resource." + }, + "provisioningState": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Succeeded", + "Updating", + "Creating", + "Failed" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ] + }, + "resourceSettings": { + "oneOf": [ + { + "$ref": "#/definitions/ResourceSettings" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Gets or sets the resource settings." + }, + "sourceId": { + "type": "string", + "description": "Gets or sets the Source ARM Id of the resource." + } + }, + "required": [ + "sourceId" + ], + "description": "Defines the move resource properties." + }, + "NetworkInterfaceResourceSettings": { + "type": "object", + "properties": { + "enableAcceleratedNetworking": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Gets or sets a value indicating whether accelerated networking is enabled." + }, + "ipConfigurations": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/NicIpConfigurationResourceSettings" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Gets or sets the IP configurations of the NIC." + }, + "resourceType": { + "type": "string", + "enum": [ + "Microsoft.Network/networkInterfaces" + ] + } + }, + "required": [ + "resourceType" + ], + "description": "Defines the network interface resource settings." + }, + "NetworkSecurityGroupResourceSettings": { + "type": "object", + "properties": { + "resourceType": { + "type": "string", + "enum": [ + "Microsoft.Network/networkSecurityGroups" + ] + }, + "securityRules": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/NsgSecurityRule" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Gets or sets Security rules of network security group." + } + }, + "required": [ + "resourceType" + ], + "description": "Defines the NSG resource settings." + }, + "NicIpConfigurationResourceSettings": { + "type": "object", + "properties": { + "loadBalancerBackendAddressPools": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/LoadBalancerBackendAddressPoolReference" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Gets or sets the references of the load balancer backend address pools." + }, + "loadBalancerNatRules": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/LoadBalancerNatRuleReference" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Gets or sets the references of the load balancer NAT rules." + }, + "name": { + "type": "string", + "description": "Gets or sets the IP configuration name." + }, + "primary": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Gets or sets a value indicating whether this IP configuration is the primary." + }, + "privateIpAddress": { + "type": "string", + "description": "Gets or sets the private IP address of the network interface IP Configuration." + }, + "privateIpAllocationMethod": { + "type": "string", + "description": "Gets or sets the private IP address allocation method." + }, + "publicIp": { + "oneOf": [ + { + "$ref": "#/definitions/PublicIpReference" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Defines reference to a public IP." + }, + "subnet": { + "oneOf": [ + { + "$ref": "#/definitions/SubnetReference" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Defines reference to subnet." + } + }, + "description": "Defines NIC IP configuration properties." + }, + "NsgReference": { + "type": "object", + "properties": { + "sourceArmResourceId": { + "type": "string", + "description": "Gets the ARM resource ID of the tracked resource being referenced." + } + }, + "required": [ + "sourceArmResourceId" + ], + "description": "Defines reference to NSG." + }, + "NsgSecurityRule": { + "type": "object", + "properties": { + "access": { + "type": "string", + "description": "Gets or sets whether network traffic is allowed or denied.\r\nPossible values are “Allow” and “Deny”." + }, + "description": { + "type": "string", + "description": "Gets or sets a description for this rule. Restricted to 140 chars." + }, + "destinationAddressPrefix": { + "type": "string", + "description": "Gets or sets destination address prefix. CIDR or source IP range.\r\n A “*” can also be used to match all source IPs. Default tags such\r\nas ‘VirtualNetwork’, ‘AzureLoadBalancer’ and ‘Internet’ can also be used." + }, + "destinationPortRange": { + "type": "string", + "description": "Gets or sets Destination Port or Range. Integer or range between\r\n0 and 65535. A “*” can also be used to match all ports." + }, + "direction": { + "type": "string", + "description": "Gets or sets the direction of the rule.InBound or Outbound. The\r\ndirection specifies if rule will be evaluated on incoming or outgoing traffic." + }, + "name": { + "type": "string", + "description": "Gets or sets the Security rule name." + }, + "priority": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Gets or sets the priority of the rule. The value can be between\r\n100 and 4096. The priority number must be unique for each rule in the collection.\r\nThe lower the priority number, the higher the priority of the rule." + }, + "protocol": { + "type": "string", + "description": "Gets or sets Network protocol this rule applies to. Can be Tcp, Udp or All(*)." + }, + "sourceAddressPrefix": { + "type": "string", + "description": "Gets or sets source address prefix. CIDR or source IP range. A\r\n“*” can also be used to match all source IPs. Default tags such as ‘VirtualNetwork’,\r\n‘AzureLoadBalancer’ and ‘Internet’ can also be used. If this is an ingress\r\nrule, specifies where network traffic originates from." + }, + "sourcePortRange": { + "type": "string", + "description": "Gets or sets Source Port or Range. Integer or range between 0 and\r\n65535. A “*” can also be used to match all ports." + } + }, + "description": "Security Rule data model for Network Security Groups." + }, + "PublicIPAddressResourceSettings": { + "type": "object", + "properties": { + "domainNameLabel": { + "type": "string", + "description": "Gets or sets the domain name label." + }, + "fqdn": { + "type": "string", + "description": "Gets or sets the fully qualified domain name." + }, + "publicIpAllocationMethod": { + "type": "string", + "description": "Gets or sets public IP allocation method." + }, + "resourceType": { + "type": "string", + "enum": [ + "Microsoft.Network/publicIPAddresses" + ] + }, + "sku": { + "type": "string", + "description": "Gets or sets public IP sku." + }, + "zones": { + "type": "string", + "description": "Gets or sets public IP zones." + } + }, + "required": [ + "resourceType" + ], + "description": "Defines the public IP address resource settings." + }, + "PublicIpReference": { + "type": "object", + "properties": { + "sourceArmResourceId": { + "type": "string", + "description": "Gets the ARM resource ID of the tracked resource being referenced." + } + }, + "required": [ + "sourceArmResourceId" + ], + "description": "Defines reference to a public IP." + }, + "ResourceGroupResourceSettings": { + "type": "object", + "properties": { + "resourceType": { + "type": "string", + "enum": [ + "resourceGroups" + ] + } + }, + "required": [ + "resourceType" + ], + "description": "Defines the resource group resource settings." + }, + "ResourceSettings": { + "type": "object", + "oneOf": [ + { + "$ref": "#/definitions/VirtualMachineResourceSettings" + }, + { + "$ref": "#/definitions/AvailabilitySetResourceSettings" + }, + { + "$ref": "#/definitions/VirtualNetworkResourceSettings" + }, + { + "$ref": "#/definitions/NetworkInterfaceResourceSettings" + }, + { + "$ref": "#/definitions/NetworkSecurityGroupResourceSettings" + }, + { + "$ref": "#/definitions/LoadBalancerResourceSettings" + }, + { + "$ref": "#/definitions/SqlServerResourceSettings" + }, + { + "$ref": "#/definitions/SqlElasticPoolResourceSettings" + }, + { + "$ref": "#/definitions/SqlDatabaseResourceSettings" + }, + { + "$ref": "#/definitions/ResourceGroupResourceSettings" + }, + { + "$ref": "#/definitions/PublicIPAddressResourceSettings" + }, + { + "$ref": "#/definitions/KeyVaultResourceSettings" + }, + { + "$ref": "#/definitions/DiskEncryptionSetResourceSettings" + } + ], + "properties": { + "targetResourceName": { + "type": "string", + "description": "Gets or sets the target Resource name." + } + }, + "required": [ + "targetResourceName" + ], + "description": "Gets or sets the resource settings." + }, + "SqlDatabaseResourceSettings": { + "type": "object", + "properties": { + "resourceType": { + "type": "string", + "enum": [ + "Microsoft.Sql/servers/databases" + ] + }, + "zoneRedundant": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Enable", + "Disable" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ] + } + }, + "required": [ + "resourceType" + ], + "description": "Defines the Sql Database resource settings." + }, + "SqlElasticPoolResourceSettings": { + "type": "object", + "properties": { + "resourceType": { + "type": "string", + "enum": [ + "Microsoft.Sql/servers/elasticPools" + ] + }, + "zoneRedundant": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Enable", + "Disable" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ] + } + }, + "required": [ + "resourceType" + ], + "description": "Defines the Sql ElasticPool resource settings." + }, + "SqlServerResourceSettings": { + "type": "object", + "properties": { + "resourceType": { + "type": "string", + "enum": [ + "Microsoft.Sql/servers" + ] + } + }, + "required": [ + "resourceType" + ], + "description": "Defines the SQL Server resource settings." + }, + "SubnetReference": { + "type": "object", + "properties": { + "name": { + "type": "string", + "description": "Gets the name of the proxy resource on the target side." + }, + "sourceArmResourceId": { + "type": "string", + "description": "Gets the ARM resource ID of the tracked resource being referenced." + } + }, + "required": [ + "sourceArmResourceId" + ], + "description": "Defines reference to subnet." + }, + "SubnetResourceSettings": { + "type": "object", + "properties": { + "addressPrefix": { + "type": "string", + "description": "Gets or sets address prefix for the subnet." + }, + "name": { + "type": "string", + "description": "Gets or sets the Subnet name." + }, + "networkSecurityGroup": { + "oneOf": [ + { + "$ref": "#/definitions/NsgReference" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Defines reference to NSG." + } + }, + "description": "Defines the virtual network subnets resource settings." + }, + "VirtualMachineResourceSettings": { + "type": "object", + "properties": { + "resourceType": { + "type": "string", + "enum": [ + "Microsoft.Compute/virtualMachines" + ] + }, + "targetAvailabilitySetId": { + "type": "string", + "description": "Gets or sets the target availability set id for virtual machines not in an availability set at source." + }, + "targetAvailabilityZone": { + "oneOf": [ + { + "type": "string", + "enum": [ + "1", + "2", + "3", + "NA" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Gets or sets the target availability zone." + }, + "targetVmSize": { + "type": "string", + "description": "Gets or sets the target virtual machine size." + } + }, + "required": [ + "resourceType" + ], + "description": "Gets or sets the virtual machine resource settings." + }, + "VirtualNetworkResourceSettings": { + "type": "object", + "properties": { + "addressSpace": { + "oneOf": [ + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Gets or sets the address prefixes for the virtual network." + }, + "dnsServers": { + "oneOf": [ + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Gets or sets DHCPOptions that contains an array of DNS servers available to VMs\r\ndeployed in the virtual network." + }, + "enableDdosProtection": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Gets or sets a value indicating whether gets or sets whether the\r\nDDOS protection should be switched on." + }, + "resourceType": { + "type": "string", + "enum": [ + "Microsoft.Network/virtualNetworks" + ] + }, + "subnets": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/SubnetResourceSettings" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Gets or sets List of subnets in a VirtualNetwork." + } + }, + "required": [ + "resourceType" + ], + "description": "Defines the virtual network resource settings." + } + } +} \ No newline at end of file diff --git a/schemas/2021-01-01/Microsoft.Migrate.json b/schemas/2021-01-01/Microsoft.Migrate.json new file mode 100644 index 0000000000..0e45499ee6 --- /dev/null +++ b/schemas/2021-01-01/Microsoft.Migrate.json @@ -0,0 +1,1054 @@ +{ + "id": "https://schema.management.azure.com/schemas/2021-01-01/Microsoft.Migrate.json#", + "$schema": "http://json-schema.org/draft-04/schema#", + "title": "Microsoft.Migrate", + "description": "Microsoft Migrate Resource Types", + "resourceDefinitions": { + "moveCollections": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-01-01" + ] + }, + "identity": { + "oneOf": [ + { + "$ref": "#/definitions/Identity" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Defines the MSI properties of the Move Collection." + }, + "location": { + "type": "string", + "description": "The geo-location where the resource lives." + }, + "name": { + "type": "string", + "description": "The Move Collection Name." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/MoveCollectionProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Defines the move collection properties." + }, + "resources": { + "type": "array", + "items": { + "oneOf": [ + { + "$ref": "#/definitions/moveCollections_moveResources_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.Migrate/moveCollections" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.Migrate/moveCollections" + }, + "moveCollections_moveResources": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-01-01" + ] + }, + "name": { + "type": "string", + "description": "The Move Resource Name." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/MoveResourceProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Defines the move resource properties." + }, + "type": { + "type": "string", + "enum": [ + "Microsoft.Migrate/moveCollections/moveResources" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.Migrate/moveCollections/moveResources" + } + }, + "definitions": { + "AvailabilitySetResourceSettings": { + "type": "object", + "properties": { + "faultDomain": { + "oneOf": [ + { + "type": "integer", + "minimum": 1 + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Gets or sets the target fault domain." + }, + "resourceType": { + "type": "string", + "enum": [ + "Microsoft.Compute/availabilitySets" + ] + }, + "updateDomain": { + "oneOf": [ + { + "type": "integer", + "minimum": 1, + "maximum": 20 + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Gets or sets the target update domain." + } + }, + "required": [ + "resourceType" + ], + "description": "Gets or sets the availability set resource settings." + }, + "DiskEncryptionSetResourceSettings": { + "type": "object", + "properties": { + "resourceType": { + "type": "string", + "enum": [ + "Microsoft.Compute/diskEncryptionSets" + ] + } + }, + "required": [ + "resourceType" + ], + "description": "Defines the disk encryption set resource settings." + }, + "Identity": { + "type": "object", + "properties": { + "principalId": { + "type": "string", + "description": "Gets or sets the principal id." + }, + "tenantId": { + "type": "string", + "description": "Gets or sets the tenant id." + }, + "type": { + "oneOf": [ + { + "type": "string", + "enum": [ + "None", + "SystemAssigned", + "UserAssigned" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ] + } + }, + "description": "Defines the MSI properties of the Move Collection." + }, + "KeyVaultResourceSettings": { + "type": "object", + "properties": { + "resourceType": { + "type": "string", + "enum": [ + "Microsoft.KeyVault/vaults" + ] + } + }, + "required": [ + "resourceType" + ], + "description": "Defines the key vault resource settings." + }, + "LBBackendAddressPoolResourceSettings": { + "type": "object", + "properties": { + "name": { + "type": "string", + "description": "Gets or sets the backend address pool name." + } + }, + "description": "Defines load balancer backend address pool properties." + }, + "LBFrontendIPConfigurationResourceSettings": { + "type": "object", + "properties": { + "name": { + "type": "string", + "description": "Gets or sets the frontend IP configuration name." + }, + "privateIpAddress": { + "type": "string", + "description": "Gets or sets the IP address of the Load Balancer.This is only specified if a specific\r\nprivate IP address shall be allocated from the subnet specified in subnetRef." + }, + "privateIpAllocationMethod": { + "type": "string", + "description": "Gets or sets PrivateIP allocation method (Static/Dynamic)." + }, + "subnet": { + "oneOf": [ + { + "$ref": "#/definitions/SubnetReference" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Defines reference to subnet." + }, + "zones": { + "type": "string", + "description": "Gets or sets the csv list of zones." + } + }, + "description": "Defines load balancer frontend IP configuration properties." + }, + "LoadBalancerBackendAddressPoolReference": { + "type": "object", + "properties": { + "name": { + "type": "string", + "description": "Gets the name of the proxy resource on the target side." + }, + "sourceArmResourceId": { + "type": "string", + "description": "Gets the ARM resource ID of the tracked resource being referenced." + } + }, + "required": [ + "sourceArmResourceId" + ], + "description": "Defines reference to load balancer backend address pools." + }, + "LoadBalancerNatRuleReference": { + "type": "object", + "properties": { + "name": { + "type": "string", + "description": "Gets the name of the proxy resource on the target side." + }, + "sourceArmResourceId": { + "type": "string", + "description": "Gets the ARM resource ID of the tracked resource being referenced." + } + }, + "required": [ + "sourceArmResourceId" + ], + "description": "Defines reference to load balancer NAT rules." + }, + "LoadBalancerResourceSettings": { + "type": "object", + "properties": { + "backendAddressPools": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/LBBackendAddressPoolResourceSettings" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Gets or sets the backend address pools of the load balancer." + }, + "frontendIPConfigurations": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/LBFrontendIPConfigurationResourceSettings" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Gets or sets the frontend IP configurations of the load balancer." + }, + "resourceType": { + "type": "string", + "enum": [ + "Microsoft.Network/loadBalancers" + ] + }, + "sku": { + "type": "string", + "description": "Gets or sets load balancer sku (Basic/Standard)." + }, + "zones": { + "type": "string", + "description": "Gets or sets the csv list of zones common for all frontend IP configurations. Note this is given\r\n precedence only if frontend IP configurations settings are not present." + } + }, + "required": [ + "resourceType" + ], + "description": "Defines the load balancer resource settings." + }, + "MoveCollectionProperties": { + "type": "object", + "properties": { + "provisioningState": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Succeeded", + "Updating", + "Creating", + "Failed" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ] + }, + "sourceRegion": { + "type": "string", + "description": "Gets or sets the source region." + }, + "targetRegion": { + "type": "string", + "description": "Gets or sets the target region." + } + }, + "required": [ + "sourceRegion", + "targetRegion" + ], + "description": "Defines the move collection properties." + }, + "moveCollections_moveResources_childResource": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-01-01" + ] + }, + "name": { + "type": "string", + "description": "The Move Resource Name." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/MoveResourceProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Defines the move resource properties." + }, + "type": { + "type": "string", + "enum": [ + "moveResources" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.Migrate/moveCollections/moveResources" + }, + "MoveResourceDependencyOverride": { + "type": "object", + "properties": { + "id": { + "type": "string", + "description": "Gets or sets the ARM ID of the dependent resource." + }, + "targetId": { + "type": "string", + "description": "Gets or sets the resource ARM id of either the MoveResource or the resource ARM ID of\r\nthe dependent resource." + } + }, + "description": "Defines the dependency override of the move resource." + }, + "MoveResourceProperties": { + "type": "object", + "properties": { + "dependsOnOverrides": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/MoveResourceDependencyOverride" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Gets or sets the move resource dependencies overrides." + }, + "existingTargetId": { + "type": "string", + "description": "Gets or sets the existing target ARM Id of the resource." + }, + "provisioningState": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Succeeded", + "Updating", + "Creating", + "Failed" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ] + }, + "resourceSettings": { + "oneOf": [ + { + "$ref": "#/definitions/ResourceSettings" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Gets or sets the resource settings." + }, + "sourceId": { + "type": "string", + "description": "Gets or sets the Source ARM Id of the resource." + } + }, + "required": [ + "sourceId" + ], + "description": "Defines the move resource properties." + }, + "NetworkInterfaceResourceSettings": { + "type": "object", + "properties": { + "enableAcceleratedNetworking": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Gets or sets a value indicating whether accelerated networking is enabled." + }, + "ipConfigurations": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/NicIpConfigurationResourceSettings" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Gets or sets the IP configurations of the NIC." + }, + "resourceType": { + "type": "string", + "enum": [ + "Microsoft.Network/networkInterfaces" + ] + } + }, + "required": [ + "resourceType" + ], + "description": "Defines the network interface resource settings." + }, + "NetworkSecurityGroupResourceSettings": { + "type": "object", + "properties": { + "resourceType": { + "type": "string", + "enum": [ + "Microsoft.Network/networkSecurityGroups" + ] + }, + "securityRules": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/NsgSecurityRule" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Gets or sets Security rules of network security group." + } + }, + "required": [ + "resourceType" + ], + "description": "Defines the NSG resource settings." + }, + "NicIpConfigurationResourceSettings": { + "type": "object", + "properties": { + "loadBalancerBackendAddressPools": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/LoadBalancerBackendAddressPoolReference" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Gets or sets the references of the load balancer backend address pools." + }, + "loadBalancerNatRules": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/LoadBalancerNatRuleReference" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Gets or sets the references of the load balancer NAT rules." + }, + "name": { + "type": "string", + "description": "Gets or sets the IP configuration name." + }, + "primary": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Gets or sets a value indicating whether this IP configuration is the primary." + }, + "privateIpAddress": { + "type": "string", + "description": "Gets or sets the private IP address of the network interface IP Configuration." + }, + "privateIpAllocationMethod": { + "type": "string", + "description": "Gets or sets the private IP address allocation method." + }, + "publicIp": { + "oneOf": [ + { + "$ref": "#/definitions/PublicIpReference" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Defines reference to a public IP." + }, + "subnet": { + "oneOf": [ + { + "$ref": "#/definitions/SubnetReference" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Defines reference to subnet." + } + }, + "description": "Defines NIC IP configuration properties." + }, + "NsgReference": { + "type": "object", + "properties": { + "sourceArmResourceId": { + "type": "string", + "description": "Gets the ARM resource ID of the tracked resource being referenced." + } + }, + "required": [ + "sourceArmResourceId" + ], + "description": "Defines reference to NSG." + }, + "NsgSecurityRule": { + "type": "object", + "properties": { + "access": { + "type": "string", + "description": "Gets or sets whether network traffic is allowed or denied.\r\nPossible values are “Allow” and “Deny”." + }, + "description": { + "type": "string", + "description": "Gets or sets a description for this rule. Restricted to 140 chars." + }, + "destinationAddressPrefix": { + "type": "string", + "description": "Gets or sets destination address prefix. CIDR or source IP range.\r\n A “*” can also be used to match all source IPs. Default tags such\r\nas ‘VirtualNetwork’, ‘AzureLoadBalancer’ and ‘Internet’ can also be used." + }, + "destinationPortRange": { + "type": "string", + "description": "Gets or sets Destination Port or Range. Integer or range between\r\n0 and 65535. A “*” can also be used to match all ports." + }, + "direction": { + "type": "string", + "description": "Gets or sets the direction of the rule.InBound or Outbound. The\r\ndirection specifies if rule will be evaluated on incoming or outgoing traffic." + }, + "name": { + "type": "string", + "description": "Gets or sets the Security rule name." + }, + "priority": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Gets or sets the priority of the rule. The value can be between\r\n100 and 4096. The priority number must be unique for each rule in the collection.\r\nThe lower the priority number, the higher the priority of the rule." + }, + "protocol": { + "type": "string", + "description": "Gets or sets Network protocol this rule applies to. Can be Tcp, Udp or All(*)." + }, + "sourceAddressPrefix": { + "type": "string", + "description": "Gets or sets source address prefix. CIDR or source IP range. A\r\n“*” can also be used to match all source IPs. Default tags such as ‘VirtualNetwork’,\r\n‘AzureLoadBalancer’ and ‘Internet’ can also be used. If this is an ingress\r\nrule, specifies where network traffic originates from." + }, + "sourcePortRange": { + "type": "string", + "description": "Gets or sets Source Port or Range. Integer or range between 0 and\r\n65535. A “*” can also be used to match all ports." + } + }, + "description": "Security Rule data model for Network Security Groups." + }, + "PublicIPAddressResourceSettings": { + "type": "object", + "properties": { + "domainNameLabel": { + "type": "string", + "description": "Gets or sets the domain name label." + }, + "fqdn": { + "type": "string", + "description": "Gets or sets the fully qualified domain name." + }, + "publicIpAllocationMethod": { + "type": "string", + "description": "Gets or sets public IP allocation method." + }, + "resourceType": { + "type": "string", + "enum": [ + "Microsoft.Network/publicIPAddresses" + ] + }, + "sku": { + "type": "string", + "description": "Gets or sets public IP sku." + }, + "zones": { + "type": "string", + "description": "Gets or sets public IP zones." + } + }, + "required": [ + "resourceType" + ], + "description": "Defines the public IP address resource settings." + }, + "PublicIpReference": { + "type": "object", + "properties": { + "sourceArmResourceId": { + "type": "string", + "description": "Gets the ARM resource ID of the tracked resource being referenced." + } + }, + "required": [ + "sourceArmResourceId" + ], + "description": "Defines reference to a public IP." + }, + "ResourceGroupResourceSettings": { + "type": "object", + "properties": { + "resourceType": { + "type": "string", + "enum": [ + "resourceGroups" + ] + } + }, + "required": [ + "resourceType" + ], + "description": "Defines the resource group resource settings." + }, + "ResourceSettings": { + "type": "object", + "oneOf": [ + { + "$ref": "#/definitions/VirtualMachineResourceSettings" + }, + { + "$ref": "#/definitions/AvailabilitySetResourceSettings" + }, + { + "$ref": "#/definitions/VirtualNetworkResourceSettings" + }, + { + "$ref": "#/definitions/NetworkInterfaceResourceSettings" + }, + { + "$ref": "#/definitions/NetworkSecurityGroupResourceSettings" + }, + { + "$ref": "#/definitions/LoadBalancerResourceSettings" + }, + { + "$ref": "#/definitions/SqlServerResourceSettings" + }, + { + "$ref": "#/definitions/SqlElasticPoolResourceSettings" + }, + { + "$ref": "#/definitions/SqlDatabaseResourceSettings" + }, + { + "$ref": "#/definitions/ResourceGroupResourceSettings" + }, + { + "$ref": "#/definitions/PublicIPAddressResourceSettings" + }, + { + "$ref": "#/definitions/KeyVaultResourceSettings" + }, + { + "$ref": "#/definitions/DiskEncryptionSetResourceSettings" + } + ], + "properties": { + "targetResourceName": { + "type": "string", + "description": "Gets or sets the target Resource name." + } + }, + "required": [ + "targetResourceName" + ], + "description": "Gets or sets the resource settings." + }, + "SqlDatabaseResourceSettings": { + "type": "object", + "properties": { + "resourceType": { + "type": "string", + "enum": [ + "Microsoft.Sql/servers/databases" + ] + }, + "zoneRedundant": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Enable", + "Disable" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ] + } + }, + "required": [ + "resourceType" + ], + "description": "Defines the Sql Database resource settings." + }, + "SqlElasticPoolResourceSettings": { + "type": "object", + "properties": { + "resourceType": { + "type": "string", + "enum": [ + "Microsoft.Sql/servers/elasticPools" + ] + }, + "zoneRedundant": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Enable", + "Disable" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ] + } + }, + "required": [ + "resourceType" + ], + "description": "Defines the Sql ElasticPool resource settings." + }, + "SqlServerResourceSettings": { + "type": "object", + "properties": { + "resourceType": { + "type": "string", + "enum": [ + "Microsoft.Sql/servers" + ] + } + }, + "required": [ + "resourceType" + ], + "description": "Defines the SQL Server resource settings." + }, + "SubnetReference": { + "type": "object", + "properties": { + "name": { + "type": "string", + "description": "Gets the name of the proxy resource on the target side." + }, + "sourceArmResourceId": { + "type": "string", + "description": "Gets the ARM resource ID of the tracked resource being referenced." + } + }, + "required": [ + "sourceArmResourceId" + ], + "description": "Defines reference to subnet." + }, + "SubnetResourceSettings": { + "type": "object", + "properties": { + "addressPrefix": { + "type": "string", + "description": "Gets or sets address prefix for the subnet." + }, + "name": { + "type": "string", + "description": "Gets or sets the Subnet name." + }, + "networkSecurityGroup": { + "oneOf": [ + { + "$ref": "#/definitions/NsgReference" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Defines reference to NSG." + } + }, + "description": "Defines the virtual network subnets resource settings." + }, + "VirtualMachineResourceSettings": { + "type": "object", + "properties": { + "resourceType": { + "type": "string", + "enum": [ + "Microsoft.Compute/virtualMachines" + ] + }, + "targetAvailabilitySetId": { + "type": "string", + "description": "Gets or sets the target availability set id for virtual machines not in an availability set at source." + }, + "targetAvailabilityZone": { + "oneOf": [ + { + "type": "string", + "enum": [ + "1", + "2", + "3", + "NA" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Gets or sets the target availability zone." + }, + "targetVmSize": { + "type": "string", + "description": "Gets or sets the target virtual machine size." + } + }, + "required": [ + "resourceType" + ], + "description": "Gets or sets the virtual machine resource settings." + }, + "VirtualNetworkResourceSettings": { + "type": "object", + "properties": { + "addressSpace": { + "oneOf": [ + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Gets or sets the address prefixes for the virtual network." + }, + "dnsServers": { + "oneOf": [ + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Gets or sets DHCPOptions that contains an array of DNS servers available to VMs\r\ndeployed in the virtual network." + }, + "enableDdosProtection": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Gets or sets a value indicating whether gets or sets whether the\r\nDDOS protection should be switched on." + }, + "resourceType": { + "type": "string", + "enum": [ + "Microsoft.Network/virtualNetworks" + ] + }, + "subnets": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/SubnetResourceSettings" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Gets or sets List of subnets in a VirtualNetwork." + } + }, + "required": [ + "resourceType" + ], + "description": "Defines the virtual network resource settings." + } + } +} \ No newline at end of file diff --git a/schemas/2021-06-01/Microsoft.Security.json b/schemas/2021-06-01/Microsoft.Security.json index 3ddcef0580..8324cd740c 100644 --- a/schemas/2021-06-01/Microsoft.Security.json +++ b/schemas/2021-06-01/Microsoft.Security.json @@ -5,45 +5,6 @@ "description": "Microsoft Security Resource Types", "resourceDefinitions": {}, "subscription_resourceDefinitions": { - "assessmentMetadata": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2021-06-01" - ] - }, - "name": { - "type": "string", - "description": "The Assessment Key - Unique key for the assessment type" - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/SecurityAssessmentMetadataProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Describes properties of an assessment metadata." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.Security/assessmentMetadata" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.Security/assessmentMetadata" - }, "settings": { "type": "object", "oneOf": [ @@ -92,47 +53,6 @@ "description": "Microsoft.Security/settings" } }, - "unknown_resourceDefinitions": { - "assessments": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2021-06-01" - ] - }, - "name": { - "type": "string", - "description": "The Assessment Key - Unique key for the assessment type" - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/SecurityAssessmentProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Describes properties of an assessment." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.Security/assessments" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.Security/assessments" - } - }, "definitions": { "AlertSyncSettingProperties": { "type": "object", @@ -180,59 +100,6 @@ ], "description": "Represents an alert sync setting" }, - "AssessmentLinks": { - "type": "object", - "properties": {}, - "description": "Links relevant to the assessment" - }, - "AssessmentStatus": { - "type": "object", - "properties": { - "cause": { - "type": "string", - "description": "Programmatic code for the cause of the assessment status" - }, - "code": { - "oneOf": [ - { - "type": "string", - "enum": [ - "Healthy", - "Unhealthy", - "NotApplicable" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Programmatic code for the status of the assessment." - }, - "description": { - "type": "string", - "description": "Human readable description of the assessment status" - } - }, - "required": [ - "code" - ], - "description": "The result of the assessment" - }, - "AzureResourceDetails": { - "type": "object", - "properties": { - "source": { - "type": "string", - "enum": [ - "Azure" - ] - } - }, - "required": [ - "source" - ], - "description": "Details of the Azure resource that was assessed" - }, "DataExportSettingProperties": { "type": "object", "properties": { @@ -278,357 +145,6 @@ "kind" ], "description": "Represents a data export setting" - }, - "OnPremiseResourceDetails": { - "type": "object", - "oneOf": [ - { - "$ref": "#/definitions/OnPremiseSqlResourceDetails" - } - ], - "properties": { - "machineName": { - "type": "string", - "description": "The name of the machine" - }, - "source": { - "type": "string", - "enum": [ - "OnPremise" - ] - }, - "sourceComputerId": { - "type": "string", - "description": "The oms agent Id installed on the machine" - }, - "vmuuid": { - "type": "string", - "description": "The unique Id of the machine" - }, - "workspaceId": { - "type": "string", - "description": "Azure resource Id of the workspace the machine is attached to" - } - }, - "required": [ - "machineName", - "source", - "sourceComputerId", - "vmuuid", - "workspaceId" - ], - "description": "Details of the On Premise resource that was assessed" - }, - "OnPremiseSqlResourceDetails": { - "type": "object", - "properties": { - "databaseName": { - "type": "string", - "description": "The Sql database name installed on the machine" - }, - "serverName": { - "type": "string", - "description": "The Sql server name installed on the machine" - }, - "source": { - "type": "string", - "enum": [ - "OnPremiseSql" - ] - } - }, - "required": [ - "databaseName", - "serverName", - "source" - ], - "description": "Details of the On Premise Sql resource that was assessed" - }, - "ResourceDetails": { - "type": "object", - "oneOf": [ - { - "$ref": "#/definitions/AzureResourceDetails" - }, - { - "$ref": "#/definitions/OnPremiseResourceDetails" - } - ], - "properties": {}, - "description": "Details of the resource that was assessed" - }, - "SecurityAssessmentMetadataPartnerData": { - "type": "object", - "properties": { - "partnerName": { - "type": "string", - "description": "Name of the company of the partner" - }, - "productName": { - "type": "string", - "description": "Name of the product of the partner that created the assessment" - }, - "secret": { - "type": "string", - "description": "Secret to authenticate the partner and verify it created the assessment - write only" - } - }, - "required": [ - "partnerName", - "secret" - ], - "description": "Describes the partner that created the assessment" - }, - "SecurityAssessmentMetadataProperties": { - "type": "object", - "properties": { - "assessmentType": { - "oneOf": [ - { - "type": "string", - "enum": [ - "BuiltIn", - "CustomPolicy", - "CustomerManaged", - "VerifiedPartner" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "BuiltIn if the assessment based on built-in Azure Policy definition, Custom if the assessment based on custom Azure Policy definition." - }, - "categories": { - "oneOf": [ - { - "type": "array", - "items": { - "type": "string", - "enum": [ - "Compute", - "Networking", - "Data", - "IdentityAndAccess", - "IoT" - ] - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "description": { - "type": "string", - "description": "Human readable description of the assessment" - }, - "displayName": { - "type": "string", - "description": "User friendly display name of the assessment" - }, - "implementationEffort": { - "oneOf": [ - { - "type": "string", - "enum": [ - "Low", - "Moderate", - "High" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The implementation effort required to remediate this assessment." - }, - "partnerData": { - "oneOf": [ - { - "$ref": "#/definitions/SecurityAssessmentMetadataPartnerData" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Describes the partner that created the assessment" - }, - "preview": { - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "True if this assessment is in preview release status" - }, - "remediationDescription": { - "type": "string", - "description": "Human readable description of what you should do to mitigate this security issue" - }, - "severity": { - "oneOf": [ - { - "type": "string", - "enum": [ - "Low", - "Medium", - "High" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The severity level of the assessment." - }, - "threats": { - "oneOf": [ - { - "type": "array", - "items": { - "type": "string", - "enum": [ - "accountBreach", - "dataExfiltration", - "dataSpillage", - "maliciousInsider", - "elevationOfPrivilege", - "threatResistance", - "missingCoverage", - "denialOfService" - ] - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "userImpact": { - "oneOf": [ - { - "type": "string", - "enum": [ - "Low", - "Moderate", - "High" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The user impact of the assessment." - } - }, - "required": [ - "assessmentType", - "displayName", - "severity" - ], - "description": "Describes properties of an assessment metadata." - }, - "SecurityAssessmentPartnerData": { - "type": "object", - "properties": { - "partnerName": { - "type": "string", - "description": "Name of the company of the partner" - }, - "secret": { - "type": "string", - "description": "secret to authenticate the partner - write only" - } - }, - "required": [ - "partnerName", - "secret" - ], - "description": "Data regarding 3rd party partner integration" - }, - "SecurityAssessmentProperties": { - "type": "object", - "properties": { - "additionalData": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Additional data regarding the assessment" - }, - "links": { - "oneOf": [ - { - "$ref": "#/definitions/AssessmentLinks" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Links relevant to the assessment" - }, - "metadata": { - "oneOf": [ - { - "$ref": "#/definitions/SecurityAssessmentMetadataProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Describes properties of an assessment metadata." - }, - "partnersData": { - "oneOf": [ - { - "$ref": "#/definitions/SecurityAssessmentPartnerData" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Data regarding 3rd party partner integration" - }, - "resourceDetails": { - "oneOf": [ - { - "$ref": "#/definitions/ResourceDetails" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Details of the resource that was assessed" - }, - "status": { - "oneOf": [ - { - "$ref": "#/definitions/AssessmentStatus" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The result of the assessment" - } - }, - "required": [ - "resourceDetails", - "status" - ], - "description": "Describes properties of an assessment." } } } \ No newline at end of file diff --git a/schemas/common/autogeneratedResources.json b/schemas/common/autogeneratedResources.json index 3366c5a7f4..25f6fcdba4 100644 --- a/schemas/common/autogeneratedResources.json +++ b/schemas/common/autogeneratedResources.json @@ -6883,6 +6883,12 @@ { "$ref": "https://schema.management.azure.com/schemas/2018-02-02/Microsoft.Migrate.json#/resourceDefinitions/projects_groups_assessments" }, + { + "$ref": "https://schema.management.azure.com/schemas/2018-09-01-preview/Microsoft.Migrate.json#/resourceDefinitions/migrateProjects" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2018-09-01-preview/Microsoft.Migrate.json#/resourceDefinitions/migrateProjects_solutions" + }, { "$ref": "https://schema.management.azure.com/schemas/2019-10-01/Microsoft.Migrate.json#/resourceDefinitions/assessmentProjects" }, @@ -6907,6 +6913,18 @@ { "$ref": "https://schema.management.azure.com/schemas/2019-10-01/Microsoft.Migrate.json#/resourceDefinitions/assessmentProjects_vmwarecollectors" }, + { + "$ref": "https://schema.management.azure.com/schemas/2019-10-01-preview/Microsoft.Migrate.json#/resourceDefinitions/moveCollections" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2019-10-01-preview/Microsoft.Migrate.json#/resourceDefinitions/moveCollections_moveResources" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2021-01-01/Microsoft.Migrate.json#/resourceDefinitions/moveCollections" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2021-01-01/Microsoft.Migrate.json#/resourceDefinitions/moveCollections_moveResources" + }, { "$ref": "https://schema.management.azure.com/schemas/2019-02-28-preview/Microsoft.MixedReality.json#/resourceDefinitions/spatialAnchorsAccounts" }, From d60b3f6131e2ef69ea302b8572ca0f5c3d71ff3d Mon Sep 17 00:00:00 2001 From: Autogenerator Pipeline Date: Wed, 28 Jul 2021 13:53:04 +0000 Subject: [PATCH 09/64] Autogenerate schemas --- .../2020-02-02/Microsoft.Insights.Application.json | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/schemas/2020-02-02/Microsoft.Insights.Application.json b/schemas/2020-02-02/Microsoft.Insights.Application.json index f26da976e7..10a9111a17 100644 --- a/schemas/2020-02-02/Microsoft.Insights.Application.json +++ b/schemas/2020-02-02/Microsoft.Insights.Application.json @@ -214,6 +214,17 @@ ], "description": "Describes what tool created this Application Insights component. Customers using this API should set this to the default 'rest'." }, + "RetentionInDays": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Retention period in days." + }, "SamplingPercentage": { "oneOf": [ { From 150f6c2c429132c4ef97858abe623a653f1d63e9 Mon Sep 17 00:00:00 2001 From: Autogenerator Pipeline Date: Thu, 29 Jul 2021 08:44:10 +0000 Subject: [PATCH 10/64] Autogenerate schemas --- .../Microsoft.ChangeAnalysis.json | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/schemas/2020-04-01-preview/Microsoft.ChangeAnalysis.json b/schemas/2020-04-01-preview/Microsoft.ChangeAnalysis.json index 2c7d6548f7..597d63bc20 100644 --- a/schemas/2020-04-01-preview/Microsoft.ChangeAnalysis.json +++ b/schemas/2020-04-01-preview/Microsoft.ChangeAnalysis.json @@ -25,6 +25,10 @@ ], "description": "The identity block returned by ARM resource that supports managed identity." }, + "location": { + "type": "string", + "description": "The location where the resource is to be deployed." + }, "name": { "oneOf": [ { @@ -79,6 +83,21 @@ "AzureMonitorWorkspaceProperties": { "type": "object", "properties": { + "includeChangeDetails": { + "oneOf": [ + { + "type": "string", + "enum": [ + "None", + "Include", + "Exclude" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ] + }, "workspaceId": { "type": "string", "description": "The Azure Monitor workspace ID - the unique identifier for the Log Analytics workspace." From 1b3a4b42ff4471948cec7d95feadf5f979fafaa1 Mon Sep 17 00:00:00 2001 From: Autogenerator Pipeline Date: Thu, 29 Jul 2021 09:22:01 +0000 Subject: [PATCH 11/64] Autogenerate schemas --- .../2018-09-01-preview/Microsoft.Migrate.json | 517 -------- .../2019-10-01-preview/Microsoft.Migrate.json | 1054 ----------------- schemas/2021-01-01/Microsoft.Migrate.json | 1054 ----------------- schemas/common/autogeneratedResources.json | 18 - 4 files changed, 2643 deletions(-) delete mode 100644 schemas/2018-09-01-preview/Microsoft.Migrate.json delete mode 100644 schemas/2019-10-01-preview/Microsoft.Migrate.json delete mode 100644 schemas/2021-01-01/Microsoft.Migrate.json diff --git a/schemas/2018-09-01-preview/Microsoft.Migrate.json b/schemas/2018-09-01-preview/Microsoft.Migrate.json deleted file mode 100644 index 074e3e9b7c..0000000000 --- a/schemas/2018-09-01-preview/Microsoft.Migrate.json +++ /dev/null @@ -1,517 +0,0 @@ -{ - "id": "https://schema.management.azure.com/schemas/2018-09-01-preview/Microsoft.Migrate.json#", - "$schema": "http://json-schema.org/draft-04/schema#", - "title": "Microsoft.Migrate", - "description": "Microsoft Migrate Resource Types", - "resourceDefinitions": { - "migrateProjects": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2018-09-01-preview" - ] - }, - "eTag": { - "type": "string", - "description": "Gets or sets the eTag for concurrency control." - }, - "location": { - "type": "string", - "description": "Gets or sets the Azure location in which migrate project is created." - }, - "name": { - "type": "string", - "description": "Name of the Azure Migrate project." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/MigrateProjectProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Class for migrate project properties." - }, - "resources": { - "type": "array", - "items": { - "oneOf": [ - { - "$ref": "#/definitions/migrateProjects_solutions_childResource" - } - ] - } - }, - "tags": { - "oneOf": [ - { - "$ref": "#/definitions/MigrateProjectTags" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Gets or sets the tags." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.Migrate/migrateProjects" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.Migrate/migrateProjects" - }, - "migrateProjects_solutions": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2018-09-01-preview" - ] - }, - "etag": { - "type": "string", - "description": "Gets or sets the ETAG for optimistic concurrency control." - }, - "name": { - "type": "string", - "description": "Unique name of a migration solution within a migrate project." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/SolutionProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Class for solution properties." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.Migrate/migrateProjects/solutions" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.Migrate/migrateProjects/solutions" - } - }, - "definitions": { - "DatabasesSolutionSummary": { - "type": "object", - "properties": { - "databaseInstancesAssessedCount": { - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Gets or sets the count of database instances assessed." - }, - "databasesAssessedCount": { - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Gets or sets the count of databases assessed." - }, - "instanceType": { - "type": "string", - "enum": [ - "Databases" - ] - }, - "migrationReadyCount": { - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Gets or sets the count of databases ready for migration." - } - }, - "required": [ - "instanceType" - ], - "description": "Class representing the databases solution summary." - }, - "MigrateProjectProperties": { - "type": "object", - "properties": { - "provisioningState": { - "oneOf": [ - { - "type": "string", - "enum": [ - "Accepted", - "Creating", - "Deleting", - "Failed", - "Moving", - "Succeeded" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Provisioning state of the migrate project." - }, - "registeredTools": { - "oneOf": [ - { - "type": "array", - "items": { - "type": "string", - "enum": [ - "ServerDiscovery", - "ServerAssessment", - "ServerMigration", - "Cloudamize", - "Turbonomic", - "Zerto", - "CorentTech", - "ServerAssessmentV1", - "ServerMigration_Replication", - "Carbonite", - "DataMigrationAssistant", - "DatabaseMigrationService" - ] - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Gets or sets the list of tools registered with the migrate project." - } - }, - "description": "Class for migrate project properties." - }, - "migrateProjects_solutions_childResource": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2018-09-01-preview" - ] - }, - "etag": { - "type": "string", - "description": "Gets or sets the ETAG for optimistic concurrency control." - }, - "name": { - "type": "string", - "description": "Unique name of a migration solution within a migrate project." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/SolutionProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Class for solution properties." - }, - "type": { - "type": "string", - "enum": [ - "solutions" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.Migrate/migrateProjects/solutions" - }, - "MigrateProjectTags": { - "type": "object", - "properties": { - "additionalProperties": { - "type": "string" - } - }, - "description": "Gets or sets the tags." - }, - "ServersSolutionSummary": { - "type": "object", - "properties": { - "assessedCount": { - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Gets or sets the count of servers assessed." - }, - "discoveredCount": { - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Gets or sets the count of servers discovered." - }, - "instanceType": { - "type": "string", - "enum": [ - "Servers" - ] - }, - "migratedCount": { - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Gets or sets the count of servers migrated." - }, - "replicatingCount": { - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Gets or sets the count of servers being replicated." - }, - "testMigratedCount": { - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Gets or sets the count of servers test migrated." - } - }, - "required": [ - "instanceType" - ], - "description": "Class representing the servers solution summary." - }, - "SolutionDetails": { - "type": "object", - "properties": { - "assessmentCount": { - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Gets or sets the count of assessments reported by the solution." - }, - "extendedDetails": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Gets or sets the extended details reported by the solution." - }, - "groupCount": { - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Gets or sets the count of groups reported by the solution." - } - }, - "description": "Class representing the details of the solution." - }, - "SolutionProperties": { - "type": "object", - "properties": { - "cleanupState": { - "oneOf": [ - { - "type": "string", - "enum": [ - "None", - "Started", - "InProgress", - "Completed", - "Failed" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Gets or sets the cleanup state of the solution." - }, - "details": { - "oneOf": [ - { - "$ref": "#/definitions/SolutionDetails" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Class representing the details of the solution." - }, - "goal": { - "oneOf": [ - { - "type": "string", - "enum": [ - "Servers", - "Databases" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Gets or sets the goal of the solution." - }, - "purpose": { - "oneOf": [ - { - "type": "string", - "enum": [ - "Discovery", - "Assessment", - "Migration" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Gets or sets the purpose of the solution." - }, - "status": { - "oneOf": [ - { - "type": "string", - "enum": [ - "Inactive", - "Active" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Gets or sets the current status of the solution." - }, - "summary": { - "oneOf": [ - { - "$ref": "#/definitions/SolutionSummary" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The solution summary class." - }, - "tool": { - "oneOf": [ - { - "type": "string", - "enum": [ - "ServerDiscovery", - "ServerAssessment", - "ServerMigration", - "Cloudamize", - "Turbonomic", - "Zerto", - "CorentTech", - "ServerAssessmentV1", - "ServerMigration_Replication", - "Carbonite", - "DataMigrationAssistant", - "DatabaseMigrationService" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Gets or sets the tool being used in the solution." - } - }, - "description": "Class for solution properties." - }, - "SolutionSummary": { - "type": "object", - "oneOf": [ - { - "$ref": "#/definitions/ServersSolutionSummary" - }, - { - "$ref": "#/definitions/DatabasesSolutionSummary" - } - ], - "properties": {}, - "description": "The solution summary class." - } - } -} \ No newline at end of file diff --git a/schemas/2019-10-01-preview/Microsoft.Migrate.json b/schemas/2019-10-01-preview/Microsoft.Migrate.json deleted file mode 100644 index 69d60e191b..0000000000 --- a/schemas/2019-10-01-preview/Microsoft.Migrate.json +++ /dev/null @@ -1,1054 +0,0 @@ -{ - "id": "https://schema.management.azure.com/schemas/2019-10-01-preview/Microsoft.Migrate.json#", - "$schema": "http://json-schema.org/draft-04/schema#", - "title": "Microsoft.Migrate", - "description": "Microsoft Migrate Resource Types", - "resourceDefinitions": { - "moveCollections": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2019-10-01-preview" - ] - }, - "identity": { - "oneOf": [ - { - "$ref": "#/definitions/Identity" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Defines the MSI properties of the Move Collection." - }, - "location": { - "type": "string", - "description": "The geo-location where the resource lives." - }, - "name": { - "type": "string", - "description": "The Move Collection Name." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/MoveCollectionProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Defines the move collection properties." - }, - "resources": { - "type": "array", - "items": { - "oneOf": [ - { - "$ref": "#/definitions/moveCollections_moveResources_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.Migrate/moveCollections" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.Migrate/moveCollections" - }, - "moveCollections_moveResources": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2019-10-01-preview" - ] - }, - "name": { - "type": "string", - "description": "The Move Resource Name." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/MoveResourceProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Defines the move resource properties." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.Migrate/moveCollections/moveResources" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.Migrate/moveCollections/moveResources" - } - }, - "definitions": { - "AvailabilitySetResourceSettings": { - "type": "object", - "properties": { - "faultDomain": { - "oneOf": [ - { - "type": "integer", - "minimum": 1 - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Gets or sets the target fault domain." - }, - "resourceType": { - "type": "string", - "enum": [ - "Microsoft.Compute/availabilitySets" - ] - }, - "updateDomain": { - "oneOf": [ - { - "type": "integer", - "minimum": 1, - "maximum": 20 - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Gets or sets the target update domain." - } - }, - "required": [ - "resourceType" - ], - "description": "Gets or sets the availability set resource settings." - }, - "DiskEncryptionSetResourceSettings": { - "type": "object", - "properties": { - "resourceType": { - "type": "string", - "enum": [ - "Microsoft.Compute/diskEncryptionSets" - ] - } - }, - "required": [ - "resourceType" - ], - "description": "Defines the disk encryption set resource settings." - }, - "Identity": { - "type": "object", - "properties": { - "principalId": { - "type": "string", - "description": "Gets or sets the principal id." - }, - "tenantId": { - "type": "string", - "description": "Gets or sets the tenant id." - }, - "type": { - "oneOf": [ - { - "type": "string", - "enum": [ - "None", - "SystemAssigned", - "UserAssigned" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - } - }, - "description": "Defines the MSI properties of the Move Collection." - }, - "KeyVaultResourceSettings": { - "type": "object", - "properties": { - "resourceType": { - "type": "string", - "enum": [ - "Microsoft.KeyVault/vaults" - ] - } - }, - "required": [ - "resourceType" - ], - "description": "Defines the key vault resource settings." - }, - "LBBackendAddressPoolResourceSettings": { - "type": "object", - "properties": { - "name": { - "type": "string", - "description": "Gets or sets the backend address pool name." - } - }, - "description": "Defines load balancer backend address pool properties." - }, - "LBFrontendIPConfigurationResourceSettings": { - "type": "object", - "properties": { - "name": { - "type": "string", - "description": "Gets or sets the frontend IP configuration name." - }, - "privateIpAddress": { - "type": "string", - "description": "Gets or sets the IP address of the Load Balancer.This is only specified if a specific\r\nprivate IP address shall be allocated from the subnet specified in subnetRef." - }, - "privateIpAllocationMethod": { - "type": "string", - "description": "Gets or sets PrivateIP allocation method (Static/Dynamic)." - }, - "subnet": { - "oneOf": [ - { - "$ref": "#/definitions/SubnetReference" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Defines reference to subnet." - }, - "zones": { - "type": "string", - "description": "Gets or sets the csv list of zones." - } - }, - "description": "Defines load balancer frontend IP configuration properties." - }, - "LoadBalancerBackendAddressPoolReference": { - "type": "object", - "properties": { - "name": { - "type": "string", - "description": "Gets the name of the proxy resource on the target side." - }, - "sourceArmResourceId": { - "type": "string", - "description": "Gets the ARM resource ID of the tracked resource being referenced." - } - }, - "required": [ - "sourceArmResourceId" - ], - "description": "Defines reference to load balancer backend address pools." - }, - "LoadBalancerNatRuleReference": { - "type": "object", - "properties": { - "name": { - "type": "string", - "description": "Gets the name of the proxy resource on the target side." - }, - "sourceArmResourceId": { - "type": "string", - "description": "Gets the ARM resource ID of the tracked resource being referenced." - } - }, - "required": [ - "sourceArmResourceId" - ], - "description": "Defines reference to load balancer NAT rules." - }, - "LoadBalancerResourceSettings": { - "type": "object", - "properties": { - "backendAddressPools": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/definitions/LBBackendAddressPoolResourceSettings" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Gets or sets the backend address pools of the load balancer." - }, - "frontendIPConfigurations": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/definitions/LBFrontendIPConfigurationResourceSettings" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Gets or sets the frontend IP configurations of the load balancer." - }, - "resourceType": { - "type": "string", - "enum": [ - "Microsoft.Network/loadBalancers" - ] - }, - "sku": { - "type": "string", - "description": "Gets or sets load balancer sku (Basic/Standard)." - }, - "zones": { - "type": "string", - "description": "Gets or sets the csv list of zones common for all frontend IP configurations. Note this is given\r\n precedence only if frontend IP configurations settings are not present." - } - }, - "required": [ - "resourceType" - ], - "description": "Defines the load balancer resource settings." - }, - "MoveCollectionProperties": { - "type": "object", - "properties": { - "provisioningState": { - "oneOf": [ - { - "type": "string", - "enum": [ - "Succeeded", - "Updating", - "Creating", - "Failed" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "sourceRegion": { - "type": "string", - "description": "Gets or sets the source region." - }, - "targetRegion": { - "type": "string", - "description": "Gets or sets the target region." - } - }, - "required": [ - "sourceRegion", - "targetRegion" - ], - "description": "Defines the move collection properties." - }, - "moveCollections_moveResources_childResource": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2019-10-01-preview" - ] - }, - "name": { - "type": "string", - "description": "The Move Resource Name." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/MoveResourceProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Defines the move resource properties." - }, - "type": { - "type": "string", - "enum": [ - "moveResources" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.Migrate/moveCollections/moveResources" - }, - "MoveResourceDependencyOverride": { - "type": "object", - "properties": { - "id": { - "type": "string", - "description": "Gets or sets the ARM ID of the dependent resource." - }, - "targetId": { - "type": "string", - "description": "Gets or sets the resource ARM id of either the MoveResource or the resource ARM ID of\r\nthe dependent resource." - } - }, - "description": "Defines the dependency override of the move resource." - }, - "MoveResourceProperties": { - "type": "object", - "properties": { - "dependsOnOverrides": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/definitions/MoveResourceDependencyOverride" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Gets or sets the move resource dependencies overrides." - }, - "existingTargetId": { - "type": "string", - "description": "Gets or sets the existing target ARM Id of the resource." - }, - "provisioningState": { - "oneOf": [ - { - "type": "string", - "enum": [ - "Succeeded", - "Updating", - "Creating", - "Failed" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "resourceSettings": { - "oneOf": [ - { - "$ref": "#/definitions/ResourceSettings" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Gets or sets the resource settings." - }, - "sourceId": { - "type": "string", - "description": "Gets or sets the Source ARM Id of the resource." - } - }, - "required": [ - "sourceId" - ], - "description": "Defines the move resource properties." - }, - "NetworkInterfaceResourceSettings": { - "type": "object", - "properties": { - "enableAcceleratedNetworking": { - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Gets or sets a value indicating whether accelerated networking is enabled." - }, - "ipConfigurations": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/definitions/NicIpConfigurationResourceSettings" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Gets or sets the IP configurations of the NIC." - }, - "resourceType": { - "type": "string", - "enum": [ - "Microsoft.Network/networkInterfaces" - ] - } - }, - "required": [ - "resourceType" - ], - "description": "Defines the network interface resource settings." - }, - "NetworkSecurityGroupResourceSettings": { - "type": "object", - "properties": { - "resourceType": { - "type": "string", - "enum": [ - "Microsoft.Network/networkSecurityGroups" - ] - }, - "securityRules": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/definitions/NsgSecurityRule" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Gets or sets Security rules of network security group." - } - }, - "required": [ - "resourceType" - ], - "description": "Defines the NSG resource settings." - }, - "NicIpConfigurationResourceSettings": { - "type": "object", - "properties": { - "loadBalancerBackendAddressPools": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/definitions/LoadBalancerBackendAddressPoolReference" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Gets or sets the references of the load balancer backend address pools." - }, - "loadBalancerNatRules": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/definitions/LoadBalancerNatRuleReference" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Gets or sets the references of the load balancer NAT rules." - }, - "name": { - "type": "string", - "description": "Gets or sets the IP configuration name." - }, - "primary": { - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Gets or sets a value indicating whether this IP configuration is the primary." - }, - "privateIpAddress": { - "type": "string", - "description": "Gets or sets the private IP address of the network interface IP Configuration." - }, - "privateIpAllocationMethod": { - "type": "string", - "description": "Gets or sets the private IP address allocation method." - }, - "publicIp": { - "oneOf": [ - { - "$ref": "#/definitions/PublicIpReference" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Defines reference to a public IP." - }, - "subnet": { - "oneOf": [ - { - "$ref": "#/definitions/SubnetReference" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Defines reference to subnet." - } - }, - "description": "Defines NIC IP configuration properties." - }, - "NsgReference": { - "type": "object", - "properties": { - "sourceArmResourceId": { - "type": "string", - "description": "Gets the ARM resource ID of the tracked resource being referenced." - } - }, - "required": [ - "sourceArmResourceId" - ], - "description": "Defines reference to NSG." - }, - "NsgSecurityRule": { - "type": "object", - "properties": { - "access": { - "type": "string", - "description": "Gets or sets whether network traffic is allowed or denied.\r\nPossible values are “Allow” and “Deny”." - }, - "description": { - "type": "string", - "description": "Gets or sets a description for this rule. Restricted to 140 chars." - }, - "destinationAddressPrefix": { - "type": "string", - "description": "Gets or sets destination address prefix. CIDR or source IP range.\r\n A “*” can also be used to match all source IPs. Default tags such\r\nas ‘VirtualNetwork’, ‘AzureLoadBalancer’ and ‘Internet’ can also be used." - }, - "destinationPortRange": { - "type": "string", - "description": "Gets or sets Destination Port or Range. Integer or range between\r\n0 and 65535. A “*” can also be used to match all ports." - }, - "direction": { - "type": "string", - "description": "Gets or sets the direction of the rule.InBound or Outbound. The\r\ndirection specifies if rule will be evaluated on incoming or outgoing traffic." - }, - "name": { - "type": "string", - "description": "Gets or sets the Security rule name." - }, - "priority": { - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Gets or sets the priority of the rule. The value can be between\r\n100 and 4096. The priority number must be unique for each rule in the collection.\r\nThe lower the priority number, the higher the priority of the rule." - }, - "protocol": { - "type": "string", - "description": "Gets or sets Network protocol this rule applies to. Can be Tcp, Udp or All(*)." - }, - "sourceAddressPrefix": { - "type": "string", - "description": "Gets or sets source address prefix. CIDR or source IP range. A\r\n“*” can also be used to match all source IPs. Default tags such as ‘VirtualNetwork’,\r\n‘AzureLoadBalancer’ and ‘Internet’ can also be used. If this is an ingress\r\nrule, specifies where network traffic originates from." - }, - "sourcePortRange": { - "type": "string", - "description": "Gets or sets Source Port or Range. Integer or range between 0 and\r\n65535. A “*” can also be used to match all ports." - } - }, - "description": "Security Rule data model for Network Security Groups." - }, - "PublicIPAddressResourceSettings": { - "type": "object", - "properties": { - "domainNameLabel": { - "type": "string", - "description": "Gets or sets the domain name label." - }, - "fqdn": { - "type": "string", - "description": "Gets or sets the fully qualified domain name." - }, - "publicIpAllocationMethod": { - "type": "string", - "description": "Gets or sets public IP allocation method." - }, - "resourceType": { - "type": "string", - "enum": [ - "Microsoft.Network/publicIPAddresses" - ] - }, - "sku": { - "type": "string", - "description": "Gets or sets public IP sku." - }, - "zones": { - "type": "string", - "description": "Gets or sets public IP zones." - } - }, - "required": [ - "resourceType" - ], - "description": "Defines the public IP address resource settings." - }, - "PublicIpReference": { - "type": "object", - "properties": { - "sourceArmResourceId": { - "type": "string", - "description": "Gets the ARM resource ID of the tracked resource being referenced." - } - }, - "required": [ - "sourceArmResourceId" - ], - "description": "Defines reference to a public IP." - }, - "ResourceGroupResourceSettings": { - "type": "object", - "properties": { - "resourceType": { - "type": "string", - "enum": [ - "resourceGroups" - ] - } - }, - "required": [ - "resourceType" - ], - "description": "Defines the resource group resource settings." - }, - "ResourceSettings": { - "type": "object", - "oneOf": [ - { - "$ref": "#/definitions/VirtualMachineResourceSettings" - }, - { - "$ref": "#/definitions/AvailabilitySetResourceSettings" - }, - { - "$ref": "#/definitions/VirtualNetworkResourceSettings" - }, - { - "$ref": "#/definitions/NetworkInterfaceResourceSettings" - }, - { - "$ref": "#/definitions/NetworkSecurityGroupResourceSettings" - }, - { - "$ref": "#/definitions/LoadBalancerResourceSettings" - }, - { - "$ref": "#/definitions/SqlServerResourceSettings" - }, - { - "$ref": "#/definitions/SqlElasticPoolResourceSettings" - }, - { - "$ref": "#/definitions/SqlDatabaseResourceSettings" - }, - { - "$ref": "#/definitions/ResourceGroupResourceSettings" - }, - { - "$ref": "#/definitions/PublicIPAddressResourceSettings" - }, - { - "$ref": "#/definitions/KeyVaultResourceSettings" - }, - { - "$ref": "#/definitions/DiskEncryptionSetResourceSettings" - } - ], - "properties": { - "targetResourceName": { - "type": "string", - "description": "Gets or sets the target Resource name." - } - }, - "required": [ - "targetResourceName" - ], - "description": "Gets or sets the resource settings." - }, - "SqlDatabaseResourceSettings": { - "type": "object", - "properties": { - "resourceType": { - "type": "string", - "enum": [ - "Microsoft.Sql/servers/databases" - ] - }, - "zoneRedundant": { - "oneOf": [ - { - "type": "string", - "enum": [ - "Enable", - "Disable" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - } - }, - "required": [ - "resourceType" - ], - "description": "Defines the Sql Database resource settings." - }, - "SqlElasticPoolResourceSettings": { - "type": "object", - "properties": { - "resourceType": { - "type": "string", - "enum": [ - "Microsoft.Sql/servers/elasticPools" - ] - }, - "zoneRedundant": { - "oneOf": [ - { - "type": "string", - "enum": [ - "Enable", - "Disable" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - } - }, - "required": [ - "resourceType" - ], - "description": "Defines the Sql ElasticPool resource settings." - }, - "SqlServerResourceSettings": { - "type": "object", - "properties": { - "resourceType": { - "type": "string", - "enum": [ - "Microsoft.Sql/servers" - ] - } - }, - "required": [ - "resourceType" - ], - "description": "Defines the SQL Server resource settings." - }, - "SubnetReference": { - "type": "object", - "properties": { - "name": { - "type": "string", - "description": "Gets the name of the proxy resource on the target side." - }, - "sourceArmResourceId": { - "type": "string", - "description": "Gets the ARM resource ID of the tracked resource being referenced." - } - }, - "required": [ - "sourceArmResourceId" - ], - "description": "Defines reference to subnet." - }, - "SubnetResourceSettings": { - "type": "object", - "properties": { - "addressPrefix": { - "type": "string", - "description": "Gets or sets address prefix for the subnet." - }, - "name": { - "type": "string", - "description": "Gets or sets the Subnet name." - }, - "networkSecurityGroup": { - "oneOf": [ - { - "$ref": "#/definitions/NsgReference" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Defines reference to NSG." - } - }, - "description": "Defines the virtual network subnets resource settings." - }, - "VirtualMachineResourceSettings": { - "type": "object", - "properties": { - "resourceType": { - "type": "string", - "enum": [ - "Microsoft.Compute/virtualMachines" - ] - }, - "targetAvailabilitySetId": { - "type": "string", - "description": "Gets or sets the target availability set id for virtual machines not in an availability set at source." - }, - "targetAvailabilityZone": { - "oneOf": [ - { - "type": "string", - "enum": [ - "1", - "2", - "3", - "NA" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Gets or sets the target availability zone." - }, - "targetVmSize": { - "type": "string", - "description": "Gets or sets the target virtual machine size." - } - }, - "required": [ - "resourceType" - ], - "description": "Gets or sets the virtual machine resource settings." - }, - "VirtualNetworkResourceSettings": { - "type": "object", - "properties": { - "addressSpace": { - "oneOf": [ - { - "type": "array", - "items": { - "type": "string" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Gets or sets the address prefixes for the virtual network." - }, - "dnsServers": { - "oneOf": [ - { - "type": "array", - "items": { - "type": "string" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Gets or sets DHCPOptions that contains an array of DNS servers available to VMs\r\ndeployed in the virtual network." - }, - "enableDdosProtection": { - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Gets or sets a value indicating whether gets or sets whether the\r\nDDOS protection should be switched on." - }, - "resourceType": { - "type": "string", - "enum": [ - "Microsoft.Network/virtualNetworks" - ] - }, - "subnets": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/definitions/SubnetResourceSettings" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Gets or sets List of subnets in a VirtualNetwork." - } - }, - "required": [ - "resourceType" - ], - "description": "Defines the virtual network resource settings." - } - } -} \ No newline at end of file diff --git a/schemas/2021-01-01/Microsoft.Migrate.json b/schemas/2021-01-01/Microsoft.Migrate.json deleted file mode 100644 index 0e45499ee6..0000000000 --- a/schemas/2021-01-01/Microsoft.Migrate.json +++ /dev/null @@ -1,1054 +0,0 @@ -{ - "id": "https://schema.management.azure.com/schemas/2021-01-01/Microsoft.Migrate.json#", - "$schema": "http://json-schema.org/draft-04/schema#", - "title": "Microsoft.Migrate", - "description": "Microsoft Migrate Resource Types", - "resourceDefinitions": { - "moveCollections": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2021-01-01" - ] - }, - "identity": { - "oneOf": [ - { - "$ref": "#/definitions/Identity" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Defines the MSI properties of the Move Collection." - }, - "location": { - "type": "string", - "description": "The geo-location where the resource lives." - }, - "name": { - "type": "string", - "description": "The Move Collection Name." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/MoveCollectionProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Defines the move collection properties." - }, - "resources": { - "type": "array", - "items": { - "oneOf": [ - { - "$ref": "#/definitions/moveCollections_moveResources_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.Migrate/moveCollections" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.Migrate/moveCollections" - }, - "moveCollections_moveResources": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2021-01-01" - ] - }, - "name": { - "type": "string", - "description": "The Move Resource Name." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/MoveResourceProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Defines the move resource properties." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.Migrate/moveCollections/moveResources" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.Migrate/moveCollections/moveResources" - } - }, - "definitions": { - "AvailabilitySetResourceSettings": { - "type": "object", - "properties": { - "faultDomain": { - "oneOf": [ - { - "type": "integer", - "minimum": 1 - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Gets or sets the target fault domain." - }, - "resourceType": { - "type": "string", - "enum": [ - "Microsoft.Compute/availabilitySets" - ] - }, - "updateDomain": { - "oneOf": [ - { - "type": "integer", - "minimum": 1, - "maximum": 20 - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Gets or sets the target update domain." - } - }, - "required": [ - "resourceType" - ], - "description": "Gets or sets the availability set resource settings." - }, - "DiskEncryptionSetResourceSettings": { - "type": "object", - "properties": { - "resourceType": { - "type": "string", - "enum": [ - "Microsoft.Compute/diskEncryptionSets" - ] - } - }, - "required": [ - "resourceType" - ], - "description": "Defines the disk encryption set resource settings." - }, - "Identity": { - "type": "object", - "properties": { - "principalId": { - "type": "string", - "description": "Gets or sets the principal id." - }, - "tenantId": { - "type": "string", - "description": "Gets or sets the tenant id." - }, - "type": { - "oneOf": [ - { - "type": "string", - "enum": [ - "None", - "SystemAssigned", - "UserAssigned" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - } - }, - "description": "Defines the MSI properties of the Move Collection." - }, - "KeyVaultResourceSettings": { - "type": "object", - "properties": { - "resourceType": { - "type": "string", - "enum": [ - "Microsoft.KeyVault/vaults" - ] - } - }, - "required": [ - "resourceType" - ], - "description": "Defines the key vault resource settings." - }, - "LBBackendAddressPoolResourceSettings": { - "type": "object", - "properties": { - "name": { - "type": "string", - "description": "Gets or sets the backend address pool name." - } - }, - "description": "Defines load balancer backend address pool properties." - }, - "LBFrontendIPConfigurationResourceSettings": { - "type": "object", - "properties": { - "name": { - "type": "string", - "description": "Gets or sets the frontend IP configuration name." - }, - "privateIpAddress": { - "type": "string", - "description": "Gets or sets the IP address of the Load Balancer.This is only specified if a specific\r\nprivate IP address shall be allocated from the subnet specified in subnetRef." - }, - "privateIpAllocationMethod": { - "type": "string", - "description": "Gets or sets PrivateIP allocation method (Static/Dynamic)." - }, - "subnet": { - "oneOf": [ - { - "$ref": "#/definitions/SubnetReference" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Defines reference to subnet." - }, - "zones": { - "type": "string", - "description": "Gets or sets the csv list of zones." - } - }, - "description": "Defines load balancer frontend IP configuration properties." - }, - "LoadBalancerBackendAddressPoolReference": { - "type": "object", - "properties": { - "name": { - "type": "string", - "description": "Gets the name of the proxy resource on the target side." - }, - "sourceArmResourceId": { - "type": "string", - "description": "Gets the ARM resource ID of the tracked resource being referenced." - } - }, - "required": [ - "sourceArmResourceId" - ], - "description": "Defines reference to load balancer backend address pools." - }, - "LoadBalancerNatRuleReference": { - "type": "object", - "properties": { - "name": { - "type": "string", - "description": "Gets the name of the proxy resource on the target side." - }, - "sourceArmResourceId": { - "type": "string", - "description": "Gets the ARM resource ID of the tracked resource being referenced." - } - }, - "required": [ - "sourceArmResourceId" - ], - "description": "Defines reference to load balancer NAT rules." - }, - "LoadBalancerResourceSettings": { - "type": "object", - "properties": { - "backendAddressPools": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/definitions/LBBackendAddressPoolResourceSettings" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Gets or sets the backend address pools of the load balancer." - }, - "frontendIPConfigurations": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/definitions/LBFrontendIPConfigurationResourceSettings" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Gets or sets the frontend IP configurations of the load balancer." - }, - "resourceType": { - "type": "string", - "enum": [ - "Microsoft.Network/loadBalancers" - ] - }, - "sku": { - "type": "string", - "description": "Gets or sets load balancer sku (Basic/Standard)." - }, - "zones": { - "type": "string", - "description": "Gets or sets the csv list of zones common for all frontend IP configurations. Note this is given\r\n precedence only if frontend IP configurations settings are not present." - } - }, - "required": [ - "resourceType" - ], - "description": "Defines the load balancer resource settings." - }, - "MoveCollectionProperties": { - "type": "object", - "properties": { - "provisioningState": { - "oneOf": [ - { - "type": "string", - "enum": [ - "Succeeded", - "Updating", - "Creating", - "Failed" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "sourceRegion": { - "type": "string", - "description": "Gets or sets the source region." - }, - "targetRegion": { - "type": "string", - "description": "Gets or sets the target region." - } - }, - "required": [ - "sourceRegion", - "targetRegion" - ], - "description": "Defines the move collection properties." - }, - "moveCollections_moveResources_childResource": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2021-01-01" - ] - }, - "name": { - "type": "string", - "description": "The Move Resource Name." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/MoveResourceProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Defines the move resource properties." - }, - "type": { - "type": "string", - "enum": [ - "moveResources" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.Migrate/moveCollections/moveResources" - }, - "MoveResourceDependencyOverride": { - "type": "object", - "properties": { - "id": { - "type": "string", - "description": "Gets or sets the ARM ID of the dependent resource." - }, - "targetId": { - "type": "string", - "description": "Gets or sets the resource ARM id of either the MoveResource or the resource ARM ID of\r\nthe dependent resource." - } - }, - "description": "Defines the dependency override of the move resource." - }, - "MoveResourceProperties": { - "type": "object", - "properties": { - "dependsOnOverrides": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/definitions/MoveResourceDependencyOverride" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Gets or sets the move resource dependencies overrides." - }, - "existingTargetId": { - "type": "string", - "description": "Gets or sets the existing target ARM Id of the resource." - }, - "provisioningState": { - "oneOf": [ - { - "type": "string", - "enum": [ - "Succeeded", - "Updating", - "Creating", - "Failed" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "resourceSettings": { - "oneOf": [ - { - "$ref": "#/definitions/ResourceSettings" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Gets or sets the resource settings." - }, - "sourceId": { - "type": "string", - "description": "Gets or sets the Source ARM Id of the resource." - } - }, - "required": [ - "sourceId" - ], - "description": "Defines the move resource properties." - }, - "NetworkInterfaceResourceSettings": { - "type": "object", - "properties": { - "enableAcceleratedNetworking": { - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Gets or sets a value indicating whether accelerated networking is enabled." - }, - "ipConfigurations": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/definitions/NicIpConfigurationResourceSettings" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Gets or sets the IP configurations of the NIC." - }, - "resourceType": { - "type": "string", - "enum": [ - "Microsoft.Network/networkInterfaces" - ] - } - }, - "required": [ - "resourceType" - ], - "description": "Defines the network interface resource settings." - }, - "NetworkSecurityGroupResourceSettings": { - "type": "object", - "properties": { - "resourceType": { - "type": "string", - "enum": [ - "Microsoft.Network/networkSecurityGroups" - ] - }, - "securityRules": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/definitions/NsgSecurityRule" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Gets or sets Security rules of network security group." - } - }, - "required": [ - "resourceType" - ], - "description": "Defines the NSG resource settings." - }, - "NicIpConfigurationResourceSettings": { - "type": "object", - "properties": { - "loadBalancerBackendAddressPools": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/definitions/LoadBalancerBackendAddressPoolReference" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Gets or sets the references of the load balancer backend address pools." - }, - "loadBalancerNatRules": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/definitions/LoadBalancerNatRuleReference" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Gets or sets the references of the load balancer NAT rules." - }, - "name": { - "type": "string", - "description": "Gets or sets the IP configuration name." - }, - "primary": { - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Gets or sets a value indicating whether this IP configuration is the primary." - }, - "privateIpAddress": { - "type": "string", - "description": "Gets or sets the private IP address of the network interface IP Configuration." - }, - "privateIpAllocationMethod": { - "type": "string", - "description": "Gets or sets the private IP address allocation method." - }, - "publicIp": { - "oneOf": [ - { - "$ref": "#/definitions/PublicIpReference" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Defines reference to a public IP." - }, - "subnet": { - "oneOf": [ - { - "$ref": "#/definitions/SubnetReference" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Defines reference to subnet." - } - }, - "description": "Defines NIC IP configuration properties." - }, - "NsgReference": { - "type": "object", - "properties": { - "sourceArmResourceId": { - "type": "string", - "description": "Gets the ARM resource ID of the tracked resource being referenced." - } - }, - "required": [ - "sourceArmResourceId" - ], - "description": "Defines reference to NSG." - }, - "NsgSecurityRule": { - "type": "object", - "properties": { - "access": { - "type": "string", - "description": "Gets or sets whether network traffic is allowed or denied.\r\nPossible values are “Allow” and “Deny”." - }, - "description": { - "type": "string", - "description": "Gets or sets a description for this rule. Restricted to 140 chars." - }, - "destinationAddressPrefix": { - "type": "string", - "description": "Gets or sets destination address prefix. CIDR or source IP range.\r\n A “*” can also be used to match all source IPs. Default tags such\r\nas ‘VirtualNetwork’, ‘AzureLoadBalancer’ and ‘Internet’ can also be used." - }, - "destinationPortRange": { - "type": "string", - "description": "Gets or sets Destination Port or Range. Integer or range between\r\n0 and 65535. A “*” can also be used to match all ports." - }, - "direction": { - "type": "string", - "description": "Gets or sets the direction of the rule.InBound or Outbound. The\r\ndirection specifies if rule will be evaluated on incoming or outgoing traffic." - }, - "name": { - "type": "string", - "description": "Gets or sets the Security rule name." - }, - "priority": { - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Gets or sets the priority of the rule. The value can be between\r\n100 and 4096. The priority number must be unique for each rule in the collection.\r\nThe lower the priority number, the higher the priority of the rule." - }, - "protocol": { - "type": "string", - "description": "Gets or sets Network protocol this rule applies to. Can be Tcp, Udp or All(*)." - }, - "sourceAddressPrefix": { - "type": "string", - "description": "Gets or sets source address prefix. CIDR or source IP range. A\r\n“*” can also be used to match all source IPs. Default tags such as ‘VirtualNetwork’,\r\n‘AzureLoadBalancer’ and ‘Internet’ can also be used. If this is an ingress\r\nrule, specifies where network traffic originates from." - }, - "sourcePortRange": { - "type": "string", - "description": "Gets or sets Source Port or Range. Integer or range between 0 and\r\n65535. A “*” can also be used to match all ports." - } - }, - "description": "Security Rule data model for Network Security Groups." - }, - "PublicIPAddressResourceSettings": { - "type": "object", - "properties": { - "domainNameLabel": { - "type": "string", - "description": "Gets or sets the domain name label." - }, - "fqdn": { - "type": "string", - "description": "Gets or sets the fully qualified domain name." - }, - "publicIpAllocationMethod": { - "type": "string", - "description": "Gets or sets public IP allocation method." - }, - "resourceType": { - "type": "string", - "enum": [ - "Microsoft.Network/publicIPAddresses" - ] - }, - "sku": { - "type": "string", - "description": "Gets or sets public IP sku." - }, - "zones": { - "type": "string", - "description": "Gets or sets public IP zones." - } - }, - "required": [ - "resourceType" - ], - "description": "Defines the public IP address resource settings." - }, - "PublicIpReference": { - "type": "object", - "properties": { - "sourceArmResourceId": { - "type": "string", - "description": "Gets the ARM resource ID of the tracked resource being referenced." - } - }, - "required": [ - "sourceArmResourceId" - ], - "description": "Defines reference to a public IP." - }, - "ResourceGroupResourceSettings": { - "type": "object", - "properties": { - "resourceType": { - "type": "string", - "enum": [ - "resourceGroups" - ] - } - }, - "required": [ - "resourceType" - ], - "description": "Defines the resource group resource settings." - }, - "ResourceSettings": { - "type": "object", - "oneOf": [ - { - "$ref": "#/definitions/VirtualMachineResourceSettings" - }, - { - "$ref": "#/definitions/AvailabilitySetResourceSettings" - }, - { - "$ref": "#/definitions/VirtualNetworkResourceSettings" - }, - { - "$ref": "#/definitions/NetworkInterfaceResourceSettings" - }, - { - "$ref": "#/definitions/NetworkSecurityGroupResourceSettings" - }, - { - "$ref": "#/definitions/LoadBalancerResourceSettings" - }, - { - "$ref": "#/definitions/SqlServerResourceSettings" - }, - { - "$ref": "#/definitions/SqlElasticPoolResourceSettings" - }, - { - "$ref": "#/definitions/SqlDatabaseResourceSettings" - }, - { - "$ref": "#/definitions/ResourceGroupResourceSettings" - }, - { - "$ref": "#/definitions/PublicIPAddressResourceSettings" - }, - { - "$ref": "#/definitions/KeyVaultResourceSettings" - }, - { - "$ref": "#/definitions/DiskEncryptionSetResourceSettings" - } - ], - "properties": { - "targetResourceName": { - "type": "string", - "description": "Gets or sets the target Resource name." - } - }, - "required": [ - "targetResourceName" - ], - "description": "Gets or sets the resource settings." - }, - "SqlDatabaseResourceSettings": { - "type": "object", - "properties": { - "resourceType": { - "type": "string", - "enum": [ - "Microsoft.Sql/servers/databases" - ] - }, - "zoneRedundant": { - "oneOf": [ - { - "type": "string", - "enum": [ - "Enable", - "Disable" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - } - }, - "required": [ - "resourceType" - ], - "description": "Defines the Sql Database resource settings." - }, - "SqlElasticPoolResourceSettings": { - "type": "object", - "properties": { - "resourceType": { - "type": "string", - "enum": [ - "Microsoft.Sql/servers/elasticPools" - ] - }, - "zoneRedundant": { - "oneOf": [ - { - "type": "string", - "enum": [ - "Enable", - "Disable" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - } - }, - "required": [ - "resourceType" - ], - "description": "Defines the Sql ElasticPool resource settings." - }, - "SqlServerResourceSettings": { - "type": "object", - "properties": { - "resourceType": { - "type": "string", - "enum": [ - "Microsoft.Sql/servers" - ] - } - }, - "required": [ - "resourceType" - ], - "description": "Defines the SQL Server resource settings." - }, - "SubnetReference": { - "type": "object", - "properties": { - "name": { - "type": "string", - "description": "Gets the name of the proxy resource on the target side." - }, - "sourceArmResourceId": { - "type": "string", - "description": "Gets the ARM resource ID of the tracked resource being referenced." - } - }, - "required": [ - "sourceArmResourceId" - ], - "description": "Defines reference to subnet." - }, - "SubnetResourceSettings": { - "type": "object", - "properties": { - "addressPrefix": { - "type": "string", - "description": "Gets or sets address prefix for the subnet." - }, - "name": { - "type": "string", - "description": "Gets or sets the Subnet name." - }, - "networkSecurityGroup": { - "oneOf": [ - { - "$ref": "#/definitions/NsgReference" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Defines reference to NSG." - } - }, - "description": "Defines the virtual network subnets resource settings." - }, - "VirtualMachineResourceSettings": { - "type": "object", - "properties": { - "resourceType": { - "type": "string", - "enum": [ - "Microsoft.Compute/virtualMachines" - ] - }, - "targetAvailabilitySetId": { - "type": "string", - "description": "Gets or sets the target availability set id for virtual machines not in an availability set at source." - }, - "targetAvailabilityZone": { - "oneOf": [ - { - "type": "string", - "enum": [ - "1", - "2", - "3", - "NA" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Gets or sets the target availability zone." - }, - "targetVmSize": { - "type": "string", - "description": "Gets or sets the target virtual machine size." - } - }, - "required": [ - "resourceType" - ], - "description": "Gets or sets the virtual machine resource settings." - }, - "VirtualNetworkResourceSettings": { - "type": "object", - "properties": { - "addressSpace": { - "oneOf": [ - { - "type": "array", - "items": { - "type": "string" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Gets or sets the address prefixes for the virtual network." - }, - "dnsServers": { - "oneOf": [ - { - "type": "array", - "items": { - "type": "string" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Gets or sets DHCPOptions that contains an array of DNS servers available to VMs\r\ndeployed in the virtual network." - }, - "enableDdosProtection": { - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Gets or sets a value indicating whether gets or sets whether the\r\nDDOS protection should be switched on." - }, - "resourceType": { - "type": "string", - "enum": [ - "Microsoft.Network/virtualNetworks" - ] - }, - "subnets": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/definitions/SubnetResourceSettings" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Gets or sets List of subnets in a VirtualNetwork." - } - }, - "required": [ - "resourceType" - ], - "description": "Defines the virtual network resource settings." - } - } -} \ No newline at end of file diff --git a/schemas/common/autogeneratedResources.json b/schemas/common/autogeneratedResources.json index 3fa602a964..7654fceeeb 100644 --- a/schemas/common/autogeneratedResources.json +++ b/schemas/common/autogeneratedResources.json @@ -6883,12 +6883,6 @@ { "$ref": "https://schema.management.azure.com/schemas/2018-02-02/Microsoft.Migrate.json#/resourceDefinitions/projects_groups_assessments" }, - { - "$ref": "https://schema.management.azure.com/schemas/2018-09-01-preview/Microsoft.Migrate.json#/resourceDefinitions/migrateProjects" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2018-09-01-preview/Microsoft.Migrate.json#/resourceDefinitions/migrateProjects_solutions" - }, { "$ref": "https://schema.management.azure.com/schemas/2019-10-01/Microsoft.Migrate.json#/resourceDefinitions/assessmentProjects" }, @@ -6913,18 +6907,6 @@ { "$ref": "https://schema.management.azure.com/schemas/2019-10-01/Microsoft.Migrate.json#/resourceDefinitions/assessmentProjects_vmwarecollectors" }, - { - "$ref": "https://schema.management.azure.com/schemas/2019-10-01-preview/Microsoft.Migrate.json#/resourceDefinitions/moveCollections" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2019-10-01-preview/Microsoft.Migrate.json#/resourceDefinitions/moveCollections_moveResources" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2021-01-01/Microsoft.Migrate.json#/resourceDefinitions/moveCollections" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2021-01-01/Microsoft.Migrate.json#/resourceDefinitions/moveCollections_moveResources" - }, { "$ref": "https://schema.management.azure.com/schemas/2019-02-28-preview/Microsoft.MixedReality.json#/resourceDefinitions/spatialAnchorsAccounts" }, From e5acba01b8c28ef64c4452063448c862ec06808b Mon Sep 17 00:00:00 2001 From: Autogenerator Pipeline Date: Thu, 29 Jul 2021 10:32:34 +0000 Subject: [PATCH 12/64] Autogenerate schemas --- .../2018-09-01-preview/Microsoft.Migrate.json | 517 ++++++++ .../2019-06-01-preview/Microsoft.Synapse.json | 29 - .../2019-10-01-preview/Microsoft.Migrate.json | 1054 +++++++++++++++++ schemas/2021-01-01/Microsoft.Migrate.json | 1054 +++++++++++++++++ schemas/common/autogeneratedResources.json | 18 + 5 files changed, 2643 insertions(+), 29 deletions(-) create mode 100644 schemas/2018-09-01-preview/Microsoft.Migrate.json create mode 100644 schemas/2019-10-01-preview/Microsoft.Migrate.json create mode 100644 schemas/2021-01-01/Microsoft.Migrate.json diff --git a/schemas/2018-09-01-preview/Microsoft.Migrate.json b/schemas/2018-09-01-preview/Microsoft.Migrate.json new file mode 100644 index 0000000000..074e3e9b7c --- /dev/null +++ b/schemas/2018-09-01-preview/Microsoft.Migrate.json @@ -0,0 +1,517 @@ +{ + "id": "https://schema.management.azure.com/schemas/2018-09-01-preview/Microsoft.Migrate.json#", + "$schema": "http://json-schema.org/draft-04/schema#", + "title": "Microsoft.Migrate", + "description": "Microsoft Migrate Resource Types", + "resourceDefinitions": { + "migrateProjects": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2018-09-01-preview" + ] + }, + "eTag": { + "type": "string", + "description": "Gets or sets the eTag for concurrency control." + }, + "location": { + "type": "string", + "description": "Gets or sets the Azure location in which migrate project is created." + }, + "name": { + "type": "string", + "description": "Name of the Azure Migrate project." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/MigrateProjectProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Class for migrate project properties." + }, + "resources": { + "type": "array", + "items": { + "oneOf": [ + { + "$ref": "#/definitions/migrateProjects_solutions_childResource" + } + ] + } + }, + "tags": { + "oneOf": [ + { + "$ref": "#/definitions/MigrateProjectTags" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Gets or sets the tags." + }, + "type": { + "type": "string", + "enum": [ + "Microsoft.Migrate/migrateProjects" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.Migrate/migrateProjects" + }, + "migrateProjects_solutions": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2018-09-01-preview" + ] + }, + "etag": { + "type": "string", + "description": "Gets or sets the ETAG for optimistic concurrency control." + }, + "name": { + "type": "string", + "description": "Unique name of a migration solution within a migrate project." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/SolutionProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Class for solution properties." + }, + "type": { + "type": "string", + "enum": [ + "Microsoft.Migrate/migrateProjects/solutions" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.Migrate/migrateProjects/solutions" + } + }, + "definitions": { + "DatabasesSolutionSummary": { + "type": "object", + "properties": { + "databaseInstancesAssessedCount": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Gets or sets the count of database instances assessed." + }, + "databasesAssessedCount": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Gets or sets the count of databases assessed." + }, + "instanceType": { + "type": "string", + "enum": [ + "Databases" + ] + }, + "migrationReadyCount": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Gets or sets the count of databases ready for migration." + } + }, + "required": [ + "instanceType" + ], + "description": "Class representing the databases solution summary." + }, + "MigrateProjectProperties": { + "type": "object", + "properties": { + "provisioningState": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Accepted", + "Creating", + "Deleting", + "Failed", + "Moving", + "Succeeded" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Provisioning state of the migrate project." + }, + "registeredTools": { + "oneOf": [ + { + "type": "array", + "items": { + "type": "string", + "enum": [ + "ServerDiscovery", + "ServerAssessment", + "ServerMigration", + "Cloudamize", + "Turbonomic", + "Zerto", + "CorentTech", + "ServerAssessmentV1", + "ServerMigration_Replication", + "Carbonite", + "DataMigrationAssistant", + "DatabaseMigrationService" + ] + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Gets or sets the list of tools registered with the migrate project." + } + }, + "description": "Class for migrate project properties." + }, + "migrateProjects_solutions_childResource": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2018-09-01-preview" + ] + }, + "etag": { + "type": "string", + "description": "Gets or sets the ETAG for optimistic concurrency control." + }, + "name": { + "type": "string", + "description": "Unique name of a migration solution within a migrate project." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/SolutionProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Class for solution properties." + }, + "type": { + "type": "string", + "enum": [ + "solutions" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.Migrate/migrateProjects/solutions" + }, + "MigrateProjectTags": { + "type": "object", + "properties": { + "additionalProperties": { + "type": "string" + } + }, + "description": "Gets or sets the tags." + }, + "ServersSolutionSummary": { + "type": "object", + "properties": { + "assessedCount": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Gets or sets the count of servers assessed." + }, + "discoveredCount": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Gets or sets the count of servers discovered." + }, + "instanceType": { + "type": "string", + "enum": [ + "Servers" + ] + }, + "migratedCount": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Gets or sets the count of servers migrated." + }, + "replicatingCount": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Gets or sets the count of servers being replicated." + }, + "testMigratedCount": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Gets or sets the count of servers test migrated." + } + }, + "required": [ + "instanceType" + ], + "description": "Class representing the servers solution summary." + }, + "SolutionDetails": { + "type": "object", + "properties": { + "assessmentCount": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Gets or sets the count of assessments reported by the solution." + }, + "extendedDetails": { + "oneOf": [ + { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "properties": {} + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Gets or sets the extended details reported by the solution." + }, + "groupCount": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Gets or sets the count of groups reported by the solution." + } + }, + "description": "Class representing the details of the solution." + }, + "SolutionProperties": { + "type": "object", + "properties": { + "cleanupState": { + "oneOf": [ + { + "type": "string", + "enum": [ + "None", + "Started", + "InProgress", + "Completed", + "Failed" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Gets or sets the cleanup state of the solution." + }, + "details": { + "oneOf": [ + { + "$ref": "#/definitions/SolutionDetails" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Class representing the details of the solution." + }, + "goal": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Servers", + "Databases" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Gets or sets the goal of the solution." + }, + "purpose": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Discovery", + "Assessment", + "Migration" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Gets or sets the purpose of the solution." + }, + "status": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Inactive", + "Active" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Gets or sets the current status of the solution." + }, + "summary": { + "oneOf": [ + { + "$ref": "#/definitions/SolutionSummary" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The solution summary class." + }, + "tool": { + "oneOf": [ + { + "type": "string", + "enum": [ + "ServerDiscovery", + "ServerAssessment", + "ServerMigration", + "Cloudamize", + "Turbonomic", + "Zerto", + "CorentTech", + "ServerAssessmentV1", + "ServerMigration_Replication", + "Carbonite", + "DataMigrationAssistant", + "DatabaseMigrationService" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Gets or sets the tool being used in the solution." + } + }, + "description": "Class for solution properties." + }, + "SolutionSummary": { + "type": "object", + "oneOf": [ + { + "$ref": "#/definitions/ServersSolutionSummary" + }, + { + "$ref": "#/definitions/DatabasesSolutionSummary" + } + ], + "properties": {}, + "description": "The solution summary class." + } + } +} \ No newline at end of file diff --git a/schemas/2019-06-01-preview/Microsoft.Synapse.json b/schemas/2019-06-01-preview/Microsoft.Synapse.json index d646ac322f..94b1fca17b 100644 --- a/schemas/2019-06-01-preview/Microsoft.Synapse.json +++ b/schemas/2019-06-01-preview/Microsoft.Synapse.json @@ -2331,20 +2331,6 @@ ], "description": "The properties of the geo backup policy." }, - "GitHubClientSecret": { - "type": "object", - "properties": { - "byoaSecretAkvUrl": { - "type": "string", - "description": "Bring your own app client secret AKV URL" - }, - "byoaSecretName": { - "type": "string", - "description": "Bring your own app client secret name in AKV" - } - }, - "description": "Client secret information for factory's bring your own app repository configuration" - }, "IntegrationRuntime": { "type": "object", "oneOf": [ @@ -4255,21 +4241,6 @@ "type": "string", "description": "Account name" }, - "clientId": { - "type": "string", - "description": "GitHub bring your own app client id" - }, - "clientSecret": { - "oneOf": [ - { - "$ref": "#/definitions/GitHubClientSecret" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Client secret information for factory's bring your own app repository configuration" - }, "collaborationBranch": { "type": "string", "description": "Collaboration branch" diff --git a/schemas/2019-10-01-preview/Microsoft.Migrate.json b/schemas/2019-10-01-preview/Microsoft.Migrate.json new file mode 100644 index 0000000000..69d60e191b --- /dev/null +++ b/schemas/2019-10-01-preview/Microsoft.Migrate.json @@ -0,0 +1,1054 @@ +{ + "id": "https://schema.management.azure.com/schemas/2019-10-01-preview/Microsoft.Migrate.json#", + "$schema": "http://json-schema.org/draft-04/schema#", + "title": "Microsoft.Migrate", + "description": "Microsoft Migrate Resource Types", + "resourceDefinitions": { + "moveCollections": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2019-10-01-preview" + ] + }, + "identity": { + "oneOf": [ + { + "$ref": "#/definitions/Identity" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Defines the MSI properties of the Move Collection." + }, + "location": { + "type": "string", + "description": "The geo-location where the resource lives." + }, + "name": { + "type": "string", + "description": "The Move Collection Name." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/MoveCollectionProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Defines the move collection properties." + }, + "resources": { + "type": "array", + "items": { + "oneOf": [ + { + "$ref": "#/definitions/moveCollections_moveResources_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.Migrate/moveCollections" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.Migrate/moveCollections" + }, + "moveCollections_moveResources": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2019-10-01-preview" + ] + }, + "name": { + "type": "string", + "description": "The Move Resource Name." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/MoveResourceProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Defines the move resource properties." + }, + "type": { + "type": "string", + "enum": [ + "Microsoft.Migrate/moveCollections/moveResources" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.Migrate/moveCollections/moveResources" + } + }, + "definitions": { + "AvailabilitySetResourceSettings": { + "type": "object", + "properties": { + "faultDomain": { + "oneOf": [ + { + "type": "integer", + "minimum": 1 + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Gets or sets the target fault domain." + }, + "resourceType": { + "type": "string", + "enum": [ + "Microsoft.Compute/availabilitySets" + ] + }, + "updateDomain": { + "oneOf": [ + { + "type": "integer", + "minimum": 1, + "maximum": 20 + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Gets or sets the target update domain." + } + }, + "required": [ + "resourceType" + ], + "description": "Gets or sets the availability set resource settings." + }, + "DiskEncryptionSetResourceSettings": { + "type": "object", + "properties": { + "resourceType": { + "type": "string", + "enum": [ + "Microsoft.Compute/diskEncryptionSets" + ] + } + }, + "required": [ + "resourceType" + ], + "description": "Defines the disk encryption set resource settings." + }, + "Identity": { + "type": "object", + "properties": { + "principalId": { + "type": "string", + "description": "Gets or sets the principal id." + }, + "tenantId": { + "type": "string", + "description": "Gets or sets the tenant id." + }, + "type": { + "oneOf": [ + { + "type": "string", + "enum": [ + "None", + "SystemAssigned", + "UserAssigned" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ] + } + }, + "description": "Defines the MSI properties of the Move Collection." + }, + "KeyVaultResourceSettings": { + "type": "object", + "properties": { + "resourceType": { + "type": "string", + "enum": [ + "Microsoft.KeyVault/vaults" + ] + } + }, + "required": [ + "resourceType" + ], + "description": "Defines the key vault resource settings." + }, + "LBBackendAddressPoolResourceSettings": { + "type": "object", + "properties": { + "name": { + "type": "string", + "description": "Gets or sets the backend address pool name." + } + }, + "description": "Defines load balancer backend address pool properties." + }, + "LBFrontendIPConfigurationResourceSettings": { + "type": "object", + "properties": { + "name": { + "type": "string", + "description": "Gets or sets the frontend IP configuration name." + }, + "privateIpAddress": { + "type": "string", + "description": "Gets or sets the IP address of the Load Balancer.This is only specified if a specific\r\nprivate IP address shall be allocated from the subnet specified in subnetRef." + }, + "privateIpAllocationMethod": { + "type": "string", + "description": "Gets or sets PrivateIP allocation method (Static/Dynamic)." + }, + "subnet": { + "oneOf": [ + { + "$ref": "#/definitions/SubnetReference" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Defines reference to subnet." + }, + "zones": { + "type": "string", + "description": "Gets or sets the csv list of zones." + } + }, + "description": "Defines load balancer frontend IP configuration properties." + }, + "LoadBalancerBackendAddressPoolReference": { + "type": "object", + "properties": { + "name": { + "type": "string", + "description": "Gets the name of the proxy resource on the target side." + }, + "sourceArmResourceId": { + "type": "string", + "description": "Gets the ARM resource ID of the tracked resource being referenced." + } + }, + "required": [ + "sourceArmResourceId" + ], + "description": "Defines reference to load balancer backend address pools." + }, + "LoadBalancerNatRuleReference": { + "type": "object", + "properties": { + "name": { + "type": "string", + "description": "Gets the name of the proxy resource on the target side." + }, + "sourceArmResourceId": { + "type": "string", + "description": "Gets the ARM resource ID of the tracked resource being referenced." + } + }, + "required": [ + "sourceArmResourceId" + ], + "description": "Defines reference to load balancer NAT rules." + }, + "LoadBalancerResourceSettings": { + "type": "object", + "properties": { + "backendAddressPools": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/LBBackendAddressPoolResourceSettings" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Gets or sets the backend address pools of the load balancer." + }, + "frontendIPConfigurations": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/LBFrontendIPConfigurationResourceSettings" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Gets or sets the frontend IP configurations of the load balancer." + }, + "resourceType": { + "type": "string", + "enum": [ + "Microsoft.Network/loadBalancers" + ] + }, + "sku": { + "type": "string", + "description": "Gets or sets load balancer sku (Basic/Standard)." + }, + "zones": { + "type": "string", + "description": "Gets or sets the csv list of zones common for all frontend IP configurations. Note this is given\r\n precedence only if frontend IP configurations settings are not present." + } + }, + "required": [ + "resourceType" + ], + "description": "Defines the load balancer resource settings." + }, + "MoveCollectionProperties": { + "type": "object", + "properties": { + "provisioningState": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Succeeded", + "Updating", + "Creating", + "Failed" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ] + }, + "sourceRegion": { + "type": "string", + "description": "Gets or sets the source region." + }, + "targetRegion": { + "type": "string", + "description": "Gets or sets the target region." + } + }, + "required": [ + "sourceRegion", + "targetRegion" + ], + "description": "Defines the move collection properties." + }, + "moveCollections_moveResources_childResource": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2019-10-01-preview" + ] + }, + "name": { + "type": "string", + "description": "The Move Resource Name." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/MoveResourceProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Defines the move resource properties." + }, + "type": { + "type": "string", + "enum": [ + "moveResources" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.Migrate/moveCollections/moveResources" + }, + "MoveResourceDependencyOverride": { + "type": "object", + "properties": { + "id": { + "type": "string", + "description": "Gets or sets the ARM ID of the dependent resource." + }, + "targetId": { + "type": "string", + "description": "Gets or sets the resource ARM id of either the MoveResource or the resource ARM ID of\r\nthe dependent resource." + } + }, + "description": "Defines the dependency override of the move resource." + }, + "MoveResourceProperties": { + "type": "object", + "properties": { + "dependsOnOverrides": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/MoveResourceDependencyOverride" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Gets or sets the move resource dependencies overrides." + }, + "existingTargetId": { + "type": "string", + "description": "Gets or sets the existing target ARM Id of the resource." + }, + "provisioningState": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Succeeded", + "Updating", + "Creating", + "Failed" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ] + }, + "resourceSettings": { + "oneOf": [ + { + "$ref": "#/definitions/ResourceSettings" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Gets or sets the resource settings." + }, + "sourceId": { + "type": "string", + "description": "Gets or sets the Source ARM Id of the resource." + } + }, + "required": [ + "sourceId" + ], + "description": "Defines the move resource properties." + }, + "NetworkInterfaceResourceSettings": { + "type": "object", + "properties": { + "enableAcceleratedNetworking": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Gets or sets a value indicating whether accelerated networking is enabled." + }, + "ipConfigurations": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/NicIpConfigurationResourceSettings" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Gets or sets the IP configurations of the NIC." + }, + "resourceType": { + "type": "string", + "enum": [ + "Microsoft.Network/networkInterfaces" + ] + } + }, + "required": [ + "resourceType" + ], + "description": "Defines the network interface resource settings." + }, + "NetworkSecurityGroupResourceSettings": { + "type": "object", + "properties": { + "resourceType": { + "type": "string", + "enum": [ + "Microsoft.Network/networkSecurityGroups" + ] + }, + "securityRules": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/NsgSecurityRule" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Gets or sets Security rules of network security group." + } + }, + "required": [ + "resourceType" + ], + "description": "Defines the NSG resource settings." + }, + "NicIpConfigurationResourceSettings": { + "type": "object", + "properties": { + "loadBalancerBackendAddressPools": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/LoadBalancerBackendAddressPoolReference" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Gets or sets the references of the load balancer backend address pools." + }, + "loadBalancerNatRules": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/LoadBalancerNatRuleReference" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Gets or sets the references of the load balancer NAT rules." + }, + "name": { + "type": "string", + "description": "Gets or sets the IP configuration name." + }, + "primary": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Gets or sets a value indicating whether this IP configuration is the primary." + }, + "privateIpAddress": { + "type": "string", + "description": "Gets or sets the private IP address of the network interface IP Configuration." + }, + "privateIpAllocationMethod": { + "type": "string", + "description": "Gets or sets the private IP address allocation method." + }, + "publicIp": { + "oneOf": [ + { + "$ref": "#/definitions/PublicIpReference" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Defines reference to a public IP." + }, + "subnet": { + "oneOf": [ + { + "$ref": "#/definitions/SubnetReference" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Defines reference to subnet." + } + }, + "description": "Defines NIC IP configuration properties." + }, + "NsgReference": { + "type": "object", + "properties": { + "sourceArmResourceId": { + "type": "string", + "description": "Gets the ARM resource ID of the tracked resource being referenced." + } + }, + "required": [ + "sourceArmResourceId" + ], + "description": "Defines reference to NSG." + }, + "NsgSecurityRule": { + "type": "object", + "properties": { + "access": { + "type": "string", + "description": "Gets or sets whether network traffic is allowed or denied.\r\nPossible values are “Allow” and “Deny”." + }, + "description": { + "type": "string", + "description": "Gets or sets a description for this rule. Restricted to 140 chars." + }, + "destinationAddressPrefix": { + "type": "string", + "description": "Gets or sets destination address prefix. CIDR or source IP range.\r\n A “*” can also be used to match all source IPs. Default tags such\r\nas ‘VirtualNetwork’, ‘AzureLoadBalancer’ and ‘Internet’ can also be used." + }, + "destinationPortRange": { + "type": "string", + "description": "Gets or sets Destination Port or Range. Integer or range between\r\n0 and 65535. A “*” can also be used to match all ports." + }, + "direction": { + "type": "string", + "description": "Gets or sets the direction of the rule.InBound or Outbound. The\r\ndirection specifies if rule will be evaluated on incoming or outgoing traffic." + }, + "name": { + "type": "string", + "description": "Gets or sets the Security rule name." + }, + "priority": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Gets or sets the priority of the rule. The value can be between\r\n100 and 4096. The priority number must be unique for each rule in the collection.\r\nThe lower the priority number, the higher the priority of the rule." + }, + "protocol": { + "type": "string", + "description": "Gets or sets Network protocol this rule applies to. Can be Tcp, Udp or All(*)." + }, + "sourceAddressPrefix": { + "type": "string", + "description": "Gets or sets source address prefix. CIDR or source IP range. A\r\n“*” can also be used to match all source IPs. Default tags such as ‘VirtualNetwork’,\r\n‘AzureLoadBalancer’ and ‘Internet’ can also be used. If this is an ingress\r\nrule, specifies where network traffic originates from." + }, + "sourcePortRange": { + "type": "string", + "description": "Gets or sets Source Port or Range. Integer or range between 0 and\r\n65535. A “*” can also be used to match all ports." + } + }, + "description": "Security Rule data model for Network Security Groups." + }, + "PublicIPAddressResourceSettings": { + "type": "object", + "properties": { + "domainNameLabel": { + "type": "string", + "description": "Gets or sets the domain name label." + }, + "fqdn": { + "type": "string", + "description": "Gets or sets the fully qualified domain name." + }, + "publicIpAllocationMethod": { + "type": "string", + "description": "Gets or sets public IP allocation method." + }, + "resourceType": { + "type": "string", + "enum": [ + "Microsoft.Network/publicIPAddresses" + ] + }, + "sku": { + "type": "string", + "description": "Gets or sets public IP sku." + }, + "zones": { + "type": "string", + "description": "Gets or sets public IP zones." + } + }, + "required": [ + "resourceType" + ], + "description": "Defines the public IP address resource settings." + }, + "PublicIpReference": { + "type": "object", + "properties": { + "sourceArmResourceId": { + "type": "string", + "description": "Gets the ARM resource ID of the tracked resource being referenced." + } + }, + "required": [ + "sourceArmResourceId" + ], + "description": "Defines reference to a public IP." + }, + "ResourceGroupResourceSettings": { + "type": "object", + "properties": { + "resourceType": { + "type": "string", + "enum": [ + "resourceGroups" + ] + } + }, + "required": [ + "resourceType" + ], + "description": "Defines the resource group resource settings." + }, + "ResourceSettings": { + "type": "object", + "oneOf": [ + { + "$ref": "#/definitions/VirtualMachineResourceSettings" + }, + { + "$ref": "#/definitions/AvailabilitySetResourceSettings" + }, + { + "$ref": "#/definitions/VirtualNetworkResourceSettings" + }, + { + "$ref": "#/definitions/NetworkInterfaceResourceSettings" + }, + { + "$ref": "#/definitions/NetworkSecurityGroupResourceSettings" + }, + { + "$ref": "#/definitions/LoadBalancerResourceSettings" + }, + { + "$ref": "#/definitions/SqlServerResourceSettings" + }, + { + "$ref": "#/definitions/SqlElasticPoolResourceSettings" + }, + { + "$ref": "#/definitions/SqlDatabaseResourceSettings" + }, + { + "$ref": "#/definitions/ResourceGroupResourceSettings" + }, + { + "$ref": "#/definitions/PublicIPAddressResourceSettings" + }, + { + "$ref": "#/definitions/KeyVaultResourceSettings" + }, + { + "$ref": "#/definitions/DiskEncryptionSetResourceSettings" + } + ], + "properties": { + "targetResourceName": { + "type": "string", + "description": "Gets or sets the target Resource name." + } + }, + "required": [ + "targetResourceName" + ], + "description": "Gets or sets the resource settings." + }, + "SqlDatabaseResourceSettings": { + "type": "object", + "properties": { + "resourceType": { + "type": "string", + "enum": [ + "Microsoft.Sql/servers/databases" + ] + }, + "zoneRedundant": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Enable", + "Disable" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ] + } + }, + "required": [ + "resourceType" + ], + "description": "Defines the Sql Database resource settings." + }, + "SqlElasticPoolResourceSettings": { + "type": "object", + "properties": { + "resourceType": { + "type": "string", + "enum": [ + "Microsoft.Sql/servers/elasticPools" + ] + }, + "zoneRedundant": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Enable", + "Disable" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ] + } + }, + "required": [ + "resourceType" + ], + "description": "Defines the Sql ElasticPool resource settings." + }, + "SqlServerResourceSettings": { + "type": "object", + "properties": { + "resourceType": { + "type": "string", + "enum": [ + "Microsoft.Sql/servers" + ] + } + }, + "required": [ + "resourceType" + ], + "description": "Defines the SQL Server resource settings." + }, + "SubnetReference": { + "type": "object", + "properties": { + "name": { + "type": "string", + "description": "Gets the name of the proxy resource on the target side." + }, + "sourceArmResourceId": { + "type": "string", + "description": "Gets the ARM resource ID of the tracked resource being referenced." + } + }, + "required": [ + "sourceArmResourceId" + ], + "description": "Defines reference to subnet." + }, + "SubnetResourceSettings": { + "type": "object", + "properties": { + "addressPrefix": { + "type": "string", + "description": "Gets or sets address prefix for the subnet." + }, + "name": { + "type": "string", + "description": "Gets or sets the Subnet name." + }, + "networkSecurityGroup": { + "oneOf": [ + { + "$ref": "#/definitions/NsgReference" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Defines reference to NSG." + } + }, + "description": "Defines the virtual network subnets resource settings." + }, + "VirtualMachineResourceSettings": { + "type": "object", + "properties": { + "resourceType": { + "type": "string", + "enum": [ + "Microsoft.Compute/virtualMachines" + ] + }, + "targetAvailabilitySetId": { + "type": "string", + "description": "Gets or sets the target availability set id for virtual machines not in an availability set at source." + }, + "targetAvailabilityZone": { + "oneOf": [ + { + "type": "string", + "enum": [ + "1", + "2", + "3", + "NA" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Gets or sets the target availability zone." + }, + "targetVmSize": { + "type": "string", + "description": "Gets or sets the target virtual machine size." + } + }, + "required": [ + "resourceType" + ], + "description": "Gets or sets the virtual machine resource settings." + }, + "VirtualNetworkResourceSettings": { + "type": "object", + "properties": { + "addressSpace": { + "oneOf": [ + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Gets or sets the address prefixes for the virtual network." + }, + "dnsServers": { + "oneOf": [ + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Gets or sets DHCPOptions that contains an array of DNS servers available to VMs\r\ndeployed in the virtual network." + }, + "enableDdosProtection": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Gets or sets a value indicating whether gets or sets whether the\r\nDDOS protection should be switched on." + }, + "resourceType": { + "type": "string", + "enum": [ + "Microsoft.Network/virtualNetworks" + ] + }, + "subnets": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/SubnetResourceSettings" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Gets or sets List of subnets in a VirtualNetwork." + } + }, + "required": [ + "resourceType" + ], + "description": "Defines the virtual network resource settings." + } + } +} \ No newline at end of file diff --git a/schemas/2021-01-01/Microsoft.Migrate.json b/schemas/2021-01-01/Microsoft.Migrate.json new file mode 100644 index 0000000000..0e45499ee6 --- /dev/null +++ b/schemas/2021-01-01/Microsoft.Migrate.json @@ -0,0 +1,1054 @@ +{ + "id": "https://schema.management.azure.com/schemas/2021-01-01/Microsoft.Migrate.json#", + "$schema": "http://json-schema.org/draft-04/schema#", + "title": "Microsoft.Migrate", + "description": "Microsoft Migrate Resource Types", + "resourceDefinitions": { + "moveCollections": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-01-01" + ] + }, + "identity": { + "oneOf": [ + { + "$ref": "#/definitions/Identity" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Defines the MSI properties of the Move Collection." + }, + "location": { + "type": "string", + "description": "The geo-location where the resource lives." + }, + "name": { + "type": "string", + "description": "The Move Collection Name." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/MoveCollectionProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Defines the move collection properties." + }, + "resources": { + "type": "array", + "items": { + "oneOf": [ + { + "$ref": "#/definitions/moveCollections_moveResources_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.Migrate/moveCollections" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.Migrate/moveCollections" + }, + "moveCollections_moveResources": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-01-01" + ] + }, + "name": { + "type": "string", + "description": "The Move Resource Name." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/MoveResourceProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Defines the move resource properties." + }, + "type": { + "type": "string", + "enum": [ + "Microsoft.Migrate/moveCollections/moveResources" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.Migrate/moveCollections/moveResources" + } + }, + "definitions": { + "AvailabilitySetResourceSettings": { + "type": "object", + "properties": { + "faultDomain": { + "oneOf": [ + { + "type": "integer", + "minimum": 1 + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Gets or sets the target fault domain." + }, + "resourceType": { + "type": "string", + "enum": [ + "Microsoft.Compute/availabilitySets" + ] + }, + "updateDomain": { + "oneOf": [ + { + "type": "integer", + "minimum": 1, + "maximum": 20 + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Gets or sets the target update domain." + } + }, + "required": [ + "resourceType" + ], + "description": "Gets or sets the availability set resource settings." + }, + "DiskEncryptionSetResourceSettings": { + "type": "object", + "properties": { + "resourceType": { + "type": "string", + "enum": [ + "Microsoft.Compute/diskEncryptionSets" + ] + } + }, + "required": [ + "resourceType" + ], + "description": "Defines the disk encryption set resource settings." + }, + "Identity": { + "type": "object", + "properties": { + "principalId": { + "type": "string", + "description": "Gets or sets the principal id." + }, + "tenantId": { + "type": "string", + "description": "Gets or sets the tenant id." + }, + "type": { + "oneOf": [ + { + "type": "string", + "enum": [ + "None", + "SystemAssigned", + "UserAssigned" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ] + } + }, + "description": "Defines the MSI properties of the Move Collection." + }, + "KeyVaultResourceSettings": { + "type": "object", + "properties": { + "resourceType": { + "type": "string", + "enum": [ + "Microsoft.KeyVault/vaults" + ] + } + }, + "required": [ + "resourceType" + ], + "description": "Defines the key vault resource settings." + }, + "LBBackendAddressPoolResourceSettings": { + "type": "object", + "properties": { + "name": { + "type": "string", + "description": "Gets or sets the backend address pool name." + } + }, + "description": "Defines load balancer backend address pool properties." + }, + "LBFrontendIPConfigurationResourceSettings": { + "type": "object", + "properties": { + "name": { + "type": "string", + "description": "Gets or sets the frontend IP configuration name." + }, + "privateIpAddress": { + "type": "string", + "description": "Gets or sets the IP address of the Load Balancer.This is only specified if a specific\r\nprivate IP address shall be allocated from the subnet specified in subnetRef." + }, + "privateIpAllocationMethod": { + "type": "string", + "description": "Gets or sets PrivateIP allocation method (Static/Dynamic)." + }, + "subnet": { + "oneOf": [ + { + "$ref": "#/definitions/SubnetReference" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Defines reference to subnet." + }, + "zones": { + "type": "string", + "description": "Gets or sets the csv list of zones." + } + }, + "description": "Defines load balancer frontend IP configuration properties." + }, + "LoadBalancerBackendAddressPoolReference": { + "type": "object", + "properties": { + "name": { + "type": "string", + "description": "Gets the name of the proxy resource on the target side." + }, + "sourceArmResourceId": { + "type": "string", + "description": "Gets the ARM resource ID of the tracked resource being referenced." + } + }, + "required": [ + "sourceArmResourceId" + ], + "description": "Defines reference to load balancer backend address pools." + }, + "LoadBalancerNatRuleReference": { + "type": "object", + "properties": { + "name": { + "type": "string", + "description": "Gets the name of the proxy resource on the target side." + }, + "sourceArmResourceId": { + "type": "string", + "description": "Gets the ARM resource ID of the tracked resource being referenced." + } + }, + "required": [ + "sourceArmResourceId" + ], + "description": "Defines reference to load balancer NAT rules." + }, + "LoadBalancerResourceSettings": { + "type": "object", + "properties": { + "backendAddressPools": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/LBBackendAddressPoolResourceSettings" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Gets or sets the backend address pools of the load balancer." + }, + "frontendIPConfigurations": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/LBFrontendIPConfigurationResourceSettings" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Gets or sets the frontend IP configurations of the load balancer." + }, + "resourceType": { + "type": "string", + "enum": [ + "Microsoft.Network/loadBalancers" + ] + }, + "sku": { + "type": "string", + "description": "Gets or sets load balancer sku (Basic/Standard)." + }, + "zones": { + "type": "string", + "description": "Gets or sets the csv list of zones common for all frontend IP configurations. Note this is given\r\n precedence only if frontend IP configurations settings are not present." + } + }, + "required": [ + "resourceType" + ], + "description": "Defines the load balancer resource settings." + }, + "MoveCollectionProperties": { + "type": "object", + "properties": { + "provisioningState": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Succeeded", + "Updating", + "Creating", + "Failed" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ] + }, + "sourceRegion": { + "type": "string", + "description": "Gets or sets the source region." + }, + "targetRegion": { + "type": "string", + "description": "Gets or sets the target region." + } + }, + "required": [ + "sourceRegion", + "targetRegion" + ], + "description": "Defines the move collection properties." + }, + "moveCollections_moveResources_childResource": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-01-01" + ] + }, + "name": { + "type": "string", + "description": "The Move Resource Name." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/MoveResourceProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Defines the move resource properties." + }, + "type": { + "type": "string", + "enum": [ + "moveResources" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.Migrate/moveCollections/moveResources" + }, + "MoveResourceDependencyOverride": { + "type": "object", + "properties": { + "id": { + "type": "string", + "description": "Gets or sets the ARM ID of the dependent resource." + }, + "targetId": { + "type": "string", + "description": "Gets or sets the resource ARM id of either the MoveResource or the resource ARM ID of\r\nthe dependent resource." + } + }, + "description": "Defines the dependency override of the move resource." + }, + "MoveResourceProperties": { + "type": "object", + "properties": { + "dependsOnOverrides": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/MoveResourceDependencyOverride" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Gets or sets the move resource dependencies overrides." + }, + "existingTargetId": { + "type": "string", + "description": "Gets or sets the existing target ARM Id of the resource." + }, + "provisioningState": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Succeeded", + "Updating", + "Creating", + "Failed" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ] + }, + "resourceSettings": { + "oneOf": [ + { + "$ref": "#/definitions/ResourceSettings" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Gets or sets the resource settings." + }, + "sourceId": { + "type": "string", + "description": "Gets or sets the Source ARM Id of the resource." + } + }, + "required": [ + "sourceId" + ], + "description": "Defines the move resource properties." + }, + "NetworkInterfaceResourceSettings": { + "type": "object", + "properties": { + "enableAcceleratedNetworking": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Gets or sets a value indicating whether accelerated networking is enabled." + }, + "ipConfigurations": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/NicIpConfigurationResourceSettings" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Gets or sets the IP configurations of the NIC." + }, + "resourceType": { + "type": "string", + "enum": [ + "Microsoft.Network/networkInterfaces" + ] + } + }, + "required": [ + "resourceType" + ], + "description": "Defines the network interface resource settings." + }, + "NetworkSecurityGroupResourceSettings": { + "type": "object", + "properties": { + "resourceType": { + "type": "string", + "enum": [ + "Microsoft.Network/networkSecurityGroups" + ] + }, + "securityRules": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/NsgSecurityRule" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Gets or sets Security rules of network security group." + } + }, + "required": [ + "resourceType" + ], + "description": "Defines the NSG resource settings." + }, + "NicIpConfigurationResourceSettings": { + "type": "object", + "properties": { + "loadBalancerBackendAddressPools": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/LoadBalancerBackendAddressPoolReference" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Gets or sets the references of the load balancer backend address pools." + }, + "loadBalancerNatRules": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/LoadBalancerNatRuleReference" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Gets or sets the references of the load balancer NAT rules." + }, + "name": { + "type": "string", + "description": "Gets or sets the IP configuration name." + }, + "primary": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Gets or sets a value indicating whether this IP configuration is the primary." + }, + "privateIpAddress": { + "type": "string", + "description": "Gets or sets the private IP address of the network interface IP Configuration." + }, + "privateIpAllocationMethod": { + "type": "string", + "description": "Gets or sets the private IP address allocation method." + }, + "publicIp": { + "oneOf": [ + { + "$ref": "#/definitions/PublicIpReference" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Defines reference to a public IP." + }, + "subnet": { + "oneOf": [ + { + "$ref": "#/definitions/SubnetReference" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Defines reference to subnet." + } + }, + "description": "Defines NIC IP configuration properties." + }, + "NsgReference": { + "type": "object", + "properties": { + "sourceArmResourceId": { + "type": "string", + "description": "Gets the ARM resource ID of the tracked resource being referenced." + } + }, + "required": [ + "sourceArmResourceId" + ], + "description": "Defines reference to NSG." + }, + "NsgSecurityRule": { + "type": "object", + "properties": { + "access": { + "type": "string", + "description": "Gets or sets whether network traffic is allowed or denied.\r\nPossible values are “Allow” and “Deny”." + }, + "description": { + "type": "string", + "description": "Gets or sets a description for this rule. Restricted to 140 chars." + }, + "destinationAddressPrefix": { + "type": "string", + "description": "Gets or sets destination address prefix. CIDR or source IP range.\r\n A “*” can also be used to match all source IPs. Default tags such\r\nas ‘VirtualNetwork’, ‘AzureLoadBalancer’ and ‘Internet’ can also be used." + }, + "destinationPortRange": { + "type": "string", + "description": "Gets or sets Destination Port or Range. Integer or range between\r\n0 and 65535. A “*” can also be used to match all ports." + }, + "direction": { + "type": "string", + "description": "Gets or sets the direction of the rule.InBound or Outbound. The\r\ndirection specifies if rule will be evaluated on incoming or outgoing traffic." + }, + "name": { + "type": "string", + "description": "Gets or sets the Security rule name." + }, + "priority": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Gets or sets the priority of the rule. The value can be between\r\n100 and 4096. The priority number must be unique for each rule in the collection.\r\nThe lower the priority number, the higher the priority of the rule." + }, + "protocol": { + "type": "string", + "description": "Gets or sets Network protocol this rule applies to. Can be Tcp, Udp or All(*)." + }, + "sourceAddressPrefix": { + "type": "string", + "description": "Gets or sets source address prefix. CIDR or source IP range. A\r\n“*” can also be used to match all source IPs. Default tags such as ‘VirtualNetwork’,\r\n‘AzureLoadBalancer’ and ‘Internet’ can also be used. If this is an ingress\r\nrule, specifies where network traffic originates from." + }, + "sourcePortRange": { + "type": "string", + "description": "Gets or sets Source Port or Range. Integer or range between 0 and\r\n65535. A “*” can also be used to match all ports." + } + }, + "description": "Security Rule data model for Network Security Groups." + }, + "PublicIPAddressResourceSettings": { + "type": "object", + "properties": { + "domainNameLabel": { + "type": "string", + "description": "Gets or sets the domain name label." + }, + "fqdn": { + "type": "string", + "description": "Gets or sets the fully qualified domain name." + }, + "publicIpAllocationMethod": { + "type": "string", + "description": "Gets or sets public IP allocation method." + }, + "resourceType": { + "type": "string", + "enum": [ + "Microsoft.Network/publicIPAddresses" + ] + }, + "sku": { + "type": "string", + "description": "Gets or sets public IP sku." + }, + "zones": { + "type": "string", + "description": "Gets or sets public IP zones." + } + }, + "required": [ + "resourceType" + ], + "description": "Defines the public IP address resource settings." + }, + "PublicIpReference": { + "type": "object", + "properties": { + "sourceArmResourceId": { + "type": "string", + "description": "Gets the ARM resource ID of the tracked resource being referenced." + } + }, + "required": [ + "sourceArmResourceId" + ], + "description": "Defines reference to a public IP." + }, + "ResourceGroupResourceSettings": { + "type": "object", + "properties": { + "resourceType": { + "type": "string", + "enum": [ + "resourceGroups" + ] + } + }, + "required": [ + "resourceType" + ], + "description": "Defines the resource group resource settings." + }, + "ResourceSettings": { + "type": "object", + "oneOf": [ + { + "$ref": "#/definitions/VirtualMachineResourceSettings" + }, + { + "$ref": "#/definitions/AvailabilitySetResourceSettings" + }, + { + "$ref": "#/definitions/VirtualNetworkResourceSettings" + }, + { + "$ref": "#/definitions/NetworkInterfaceResourceSettings" + }, + { + "$ref": "#/definitions/NetworkSecurityGroupResourceSettings" + }, + { + "$ref": "#/definitions/LoadBalancerResourceSettings" + }, + { + "$ref": "#/definitions/SqlServerResourceSettings" + }, + { + "$ref": "#/definitions/SqlElasticPoolResourceSettings" + }, + { + "$ref": "#/definitions/SqlDatabaseResourceSettings" + }, + { + "$ref": "#/definitions/ResourceGroupResourceSettings" + }, + { + "$ref": "#/definitions/PublicIPAddressResourceSettings" + }, + { + "$ref": "#/definitions/KeyVaultResourceSettings" + }, + { + "$ref": "#/definitions/DiskEncryptionSetResourceSettings" + } + ], + "properties": { + "targetResourceName": { + "type": "string", + "description": "Gets or sets the target Resource name." + } + }, + "required": [ + "targetResourceName" + ], + "description": "Gets or sets the resource settings." + }, + "SqlDatabaseResourceSettings": { + "type": "object", + "properties": { + "resourceType": { + "type": "string", + "enum": [ + "Microsoft.Sql/servers/databases" + ] + }, + "zoneRedundant": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Enable", + "Disable" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ] + } + }, + "required": [ + "resourceType" + ], + "description": "Defines the Sql Database resource settings." + }, + "SqlElasticPoolResourceSettings": { + "type": "object", + "properties": { + "resourceType": { + "type": "string", + "enum": [ + "Microsoft.Sql/servers/elasticPools" + ] + }, + "zoneRedundant": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Enable", + "Disable" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ] + } + }, + "required": [ + "resourceType" + ], + "description": "Defines the Sql ElasticPool resource settings." + }, + "SqlServerResourceSettings": { + "type": "object", + "properties": { + "resourceType": { + "type": "string", + "enum": [ + "Microsoft.Sql/servers" + ] + } + }, + "required": [ + "resourceType" + ], + "description": "Defines the SQL Server resource settings." + }, + "SubnetReference": { + "type": "object", + "properties": { + "name": { + "type": "string", + "description": "Gets the name of the proxy resource on the target side." + }, + "sourceArmResourceId": { + "type": "string", + "description": "Gets the ARM resource ID of the tracked resource being referenced." + } + }, + "required": [ + "sourceArmResourceId" + ], + "description": "Defines reference to subnet." + }, + "SubnetResourceSettings": { + "type": "object", + "properties": { + "addressPrefix": { + "type": "string", + "description": "Gets or sets address prefix for the subnet." + }, + "name": { + "type": "string", + "description": "Gets or sets the Subnet name." + }, + "networkSecurityGroup": { + "oneOf": [ + { + "$ref": "#/definitions/NsgReference" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Defines reference to NSG." + } + }, + "description": "Defines the virtual network subnets resource settings." + }, + "VirtualMachineResourceSettings": { + "type": "object", + "properties": { + "resourceType": { + "type": "string", + "enum": [ + "Microsoft.Compute/virtualMachines" + ] + }, + "targetAvailabilitySetId": { + "type": "string", + "description": "Gets or sets the target availability set id for virtual machines not in an availability set at source." + }, + "targetAvailabilityZone": { + "oneOf": [ + { + "type": "string", + "enum": [ + "1", + "2", + "3", + "NA" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Gets or sets the target availability zone." + }, + "targetVmSize": { + "type": "string", + "description": "Gets or sets the target virtual machine size." + } + }, + "required": [ + "resourceType" + ], + "description": "Gets or sets the virtual machine resource settings." + }, + "VirtualNetworkResourceSettings": { + "type": "object", + "properties": { + "addressSpace": { + "oneOf": [ + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Gets or sets the address prefixes for the virtual network." + }, + "dnsServers": { + "oneOf": [ + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Gets or sets DHCPOptions that contains an array of DNS servers available to VMs\r\ndeployed in the virtual network." + }, + "enableDdosProtection": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Gets or sets a value indicating whether gets or sets whether the\r\nDDOS protection should be switched on." + }, + "resourceType": { + "type": "string", + "enum": [ + "Microsoft.Network/virtualNetworks" + ] + }, + "subnets": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/SubnetResourceSettings" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Gets or sets List of subnets in a VirtualNetwork." + } + }, + "required": [ + "resourceType" + ], + "description": "Defines the virtual network resource settings." + } + } +} \ No newline at end of file diff --git a/schemas/common/autogeneratedResources.json b/schemas/common/autogeneratedResources.json index 7654fceeeb..3fa602a964 100644 --- a/schemas/common/autogeneratedResources.json +++ b/schemas/common/autogeneratedResources.json @@ -6883,6 +6883,12 @@ { "$ref": "https://schema.management.azure.com/schemas/2018-02-02/Microsoft.Migrate.json#/resourceDefinitions/projects_groups_assessments" }, + { + "$ref": "https://schema.management.azure.com/schemas/2018-09-01-preview/Microsoft.Migrate.json#/resourceDefinitions/migrateProjects" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2018-09-01-preview/Microsoft.Migrate.json#/resourceDefinitions/migrateProjects_solutions" + }, { "$ref": "https://schema.management.azure.com/schemas/2019-10-01/Microsoft.Migrate.json#/resourceDefinitions/assessmentProjects" }, @@ -6907,6 +6913,18 @@ { "$ref": "https://schema.management.azure.com/schemas/2019-10-01/Microsoft.Migrate.json#/resourceDefinitions/assessmentProjects_vmwarecollectors" }, + { + "$ref": "https://schema.management.azure.com/schemas/2019-10-01-preview/Microsoft.Migrate.json#/resourceDefinitions/moveCollections" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2019-10-01-preview/Microsoft.Migrate.json#/resourceDefinitions/moveCollections_moveResources" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2021-01-01/Microsoft.Migrate.json#/resourceDefinitions/moveCollections" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2021-01-01/Microsoft.Migrate.json#/resourceDefinitions/moveCollections_moveResources" + }, { "$ref": "https://schema.management.azure.com/schemas/2019-02-28-preview/Microsoft.MixedReality.json#/resourceDefinitions/spatialAnchorsAccounts" }, From 6f45f02f2560cd274b60761b8812aee6fab7a958 Mon Sep 17 00:00:00 2001 From: Autogenerator Pipeline Date: Fri, 30 Jul 2021 08:32:46 +0000 Subject: [PATCH 13/64] Autogenerate schemas --- schemas/2018-06-01/Microsoft.DataFactory.json | 446 +++++------------- 1 file changed, 118 insertions(+), 328 deletions(-) diff --git a/schemas/2018-06-01/Microsoft.DataFactory.json b/schemas/2018-06-01/Microsoft.DataFactory.json index 1ae3d8d178..f7b6f85483 100644 --- a/schemas/2018-06-01/Microsoft.DataFactory.json +++ b/schemas/2018-06-01/Microsoft.DataFactory.json @@ -743,22 +743,6 @@ }, "description": "Execution policy for an activity." }, - "AdditionalColumns": { - "type": "object", - "properties": { - "name": { - "type": "object", - "properties": {}, - "description": "Additional column name. Type: string (or Expression with resultType string)." - }, - "value": { - "type": "object", - "properties": {}, - "description": "Additional column value. Type: string (or Expression with resultType string)." - } - }, - "description": "Specify the column name and value of additional columns." - }, "AmazonMWSLinkedService": { "type": "object", "properties": { @@ -1637,18 +1621,9 @@ "type": "object", "properties": { "additionalColumns": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/definitions/AdditionalColumns" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Specifies the additional columns to be added to source data. Type: array of objects (or Expression with resultType array of objects)." + "type": "object", + "properties": {}, + "description": "Specifies the additional columns to be added to source data. Type: array of objects(AdditionalColumns) (or Expression with resultType array of objects)." }, "storeSettings": { "oneOf": [ @@ -3047,18 +3022,9 @@ "type": "object", "properties": { "additionalColumns": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/definitions/AdditionalColumns" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Specifies the additional columns to be added to source data. Type: array of objects (or Expression with resultType array of objects)." + "type": "object", + "properties": {}, + "description": "Specifies the additional columns to be added to source data. Type: array of objects(AdditionalColumns) (or Expression with resultType array of objects)." }, "noTruncation": { "type": "object", @@ -6532,18 +6498,9 @@ "type": "object", "properties": { "additionalColumns": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/definitions/AdditionalColumns" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Specifies the additional columns to be added to source data. Type: array of objects (or Expression with resultType array of objects)." + "type": "object", + "properties": {}, + "description": "Specifies the additional columns to be added to source data. Type: array of objects(AdditionalColumns) (or Expression with resultType array of objects)." }, "query": { "type": "object", @@ -7579,18 +7536,9 @@ "type": "object", "properties": { "additionalColumns": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/definitions/AdditionalColumns" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Specifies the additional columns to be added to source data. Type: array of objects (or Expression with resultType array of objects)." + "type": "object", + "properties": {}, + "description": "Specifies the additional columns to be added to source data. Type: array of objects(AdditionalColumns) (or Expression with resultType array of objects)." }, "batchSize": { "type": "object", @@ -7695,18 +7643,9 @@ "type": "object", "properties": { "additionalColumns": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/definitions/AdditionalColumns" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Specifies the additional columns to be added to source data. Type: array of objects (or Expression with resultType array of objects)." + "type": "object", + "properties": {}, + "description": "Specifies the additional columns to be added to source data. Type: array of objects(AdditionalColumns) (or Expression with resultType array of objects)." }, "detectDatetime": { "type": "object", @@ -9803,18 +9742,9 @@ "type": "object", "properties": { "additionalColumns": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/definitions/AdditionalColumns" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Specifies the additional columns to be added to source data. Type: array of objects (or Expression with resultType array of objects)." + "type": "object", + "properties": {}, + "description": "Specifies the additional columns to be added to source data. Type: array of objects(AdditionalColumns) (or Expression with resultType array of objects)." }, "formatSettings": { "oneOf": [ @@ -10003,18 +9933,9 @@ "type": "object", "properties": { "additionalColumns": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/definitions/AdditionalColumns" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Specifies the additional columns to be added to source data. Type: array of objects (or Expression with resultType array of objects)." + "type": "object", + "properties": {}, + "description": "Specifies the additional columns to be added to source data. Type: array of objects(AdditionalColumns) (or Expression with resultType array of objects)." }, "nestingSeparator": { "type": "object", @@ -10547,18 +10468,9 @@ "type": "object", "properties": { "additionalColumns": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/definitions/AdditionalColumns" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Specifies the additional columns to be added to source data. Type: array of objects (or Expression with resultType array of objects)." + "type": "object", + "properties": {}, + "description": "Specifies the additional columns to be added to source data. Type: array of objects(AdditionalColumns) (or Expression with resultType array of objects)." }, "query": { "type": "object", @@ -10767,18 +10679,9 @@ "type": "object", "properties": { "additionalColumns": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/definitions/AdditionalColumns" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Specifies the additional columns to be added to source data. Type: array of objects (or Expression with resultType array of objects)." + "type": "object", + "properties": {}, + "description": "Specifies the additional columns to be added to source data. Type: array of objects(AdditionalColumns) (or Expression with resultType array of objects)." }, "query": { "type": "object", @@ -11110,18 +11013,9 @@ "type": "object", "properties": { "additionalColumns": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/definitions/AdditionalColumns" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Specifies the additional columns to be added to source data. Type: array of objects (or Expression with resultType array of objects)." + "type": "object", + "properties": {}, + "description": "Specifies the additional columns to be added to source data. Type: array of objects(AdditionalColumns) (or Expression with resultType array of objects)." }, "storeSettings": { "oneOf": [ @@ -12080,6 +11974,21 @@ "FactoryGitHubConfiguration": { "type": "object", "properties": { + "clientId": { + "type": "string", + "description": "GitHub bring your own app client id." + }, + "clientSecret": { + "oneOf": [ + { + "$ref": "#/definitions/GitHubClientSecret" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Client secret information for factory's bring your own app repository configuration." + }, "hostName": { "type": "string", "description": "GitHub Enterprise host name. For example: https://github.mydomain.com" @@ -12525,18 +12434,9 @@ "type": "object", "properties": { "additionalColumns": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/definitions/AdditionalColumns" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Specifies the additional columns to be added to source data. Type: array of objects (or Expression with resultType array of objects)." + "type": "object", + "properties": {}, + "description": "Specifies the additional columns to be added to source data. Type: array of objects(AdditionalColumns) (or Expression with resultType array of objects)." }, "recursive": { "type": "object", @@ -13004,6 +12904,20 @@ ], "description": "GetMetadata activity properties." }, + "GitHubClientSecret": { + "type": "object", + "properties": { + "byoaSecretAkvUrl": { + "type": "string", + "description": "Bring your own app client secret AKV URL." + }, + "byoaSecretName": { + "type": "string", + "description": "Bring your own app client secret name in AKV." + } + }, + "description": "Client secret information for factory's bring your own app repository configuration." + }, "GlobalParameterSpecification": { "type": "object", "properties": { @@ -16212,6 +16126,17 @@ ], "description": "Unmatched properties from the message are deserialized this collection" }, + "cleanup": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Cluster will not be recycled and it will be used in next data flow activity run until TTL (time to live) is reached if this is set as false. Default is true." + }, "computeType": { "oneOf": [ { @@ -16876,18 +16801,9 @@ "type": "object", "properties": { "additionalColumns": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/definitions/AdditionalColumns" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Specifies the additional columns to be added to source data. Type: array of objects (or Expression with resultType array of objects)." + "type": "object", + "properties": {}, + "description": "Specifies the additional columns to be added to source data. Type: array of objects(AdditionalColumns) (or Expression with resultType array of objects)." }, "formatSettings": { "oneOf": [ @@ -18332,18 +18248,9 @@ "type": "object", "properties": { "additionalColumns": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/definitions/AdditionalColumns" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Specifies the additional columns to be added to source data. Type: array of objects (or Expression with resultType array of objects)." + "type": "object", + "properties": {}, + "description": "Specifies the additional columns to be added to source data. Type: array of objects(AdditionalColumns) (or Expression with resultType array of objects)." }, "query": { "type": "object", @@ -18511,18 +18418,9 @@ "type": "object", "properties": { "additionalColumns": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/definitions/AdditionalColumns" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Specifies the additional columns to be added to source data. Type: array of objects (or Expression with resultType array of objects)." + "type": "object", + "properties": {}, + "description": "Specifies the additional columns to be added to source data. Type: array of objects(AdditionalColumns) (or Expression with resultType array of objects)." }, "batchSize": { "type": "object", @@ -18752,18 +18650,9 @@ "type": "object", "properties": { "additionalColumns": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/definitions/AdditionalColumns" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Specifies the additional columns to be added to source data. Type: array of objects (or Expression with resultType array of objects)." + "type": "object", + "properties": {}, + "description": "Specifies the additional columns to be added to source data. Type: array of objects(AdditionalColumns) (or Expression with resultType array of objects)." }, "query": { "type": "object", @@ -18894,18 +18783,9 @@ "type": "object", "properties": { "additionalColumns": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/definitions/AdditionalColumns" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Specifies the additional columns to be added to source data. Type: array of objects (or Expression with resultType array of objects)." + "type": "object", + "properties": {}, + "description": "Specifies the additional columns to be added to source data. Type: array of objects(AdditionalColumns) (or Expression with resultType array of objects)." }, "batchSize": { "type": "object", @@ -19454,18 +19334,9 @@ "type": "object", "properties": { "additionalColumns": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/definitions/AdditionalColumns" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Specifies the additional columns to be added to source data. Type: array of objects (or Expression with resultType array of objects)." + "type": "object", + "properties": {}, + "description": "Specifies the additional columns to be added to source data. Type: array of objects(AdditionalColumns) (or Expression with resultType array of objects)." }, "httpRequestTimeout": { "type": "object", @@ -20192,18 +20063,9 @@ "type": "object", "properties": { "additionalColumns": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/definitions/AdditionalColumns" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Specifies the additional columns to be added to source data. Type: array of objects (or Expression with resultType array of objects)." + "type": "object", + "properties": {}, + "description": "Specifies the additional columns to be added to source data. Type: array of objects(AdditionalColumns) (or Expression with resultType array of objects)." }, "oracleReaderQuery": { "type": "object", @@ -20397,18 +20259,9 @@ "type": "object", "properties": { "additionalColumns": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/definitions/AdditionalColumns" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Specifies the additional columns to be added to source data. Type: array of objects (or Expression with resultType array of objects)." + "type": "object", + "properties": {}, + "description": "Specifies the additional columns to be added to source data. Type: array of objects(AdditionalColumns) (or Expression with resultType array of objects)." }, "storeSettings": { "oneOf": [ @@ -20631,18 +20484,9 @@ "type": "object", "properties": { "additionalColumns": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/definitions/AdditionalColumns" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Specifies the additional columns to be added to source data. Type: array of objects (or Expression with resultType array of objects)." + "type": "object", + "properties": {}, + "description": "Specifies the additional columns to be added to source data. Type: array of objects(AdditionalColumns) (or Expression with resultType array of objects)." }, "storeSettings": { "oneOf": [ @@ -21957,18 +21801,9 @@ "type": "object", "properties": { "additionalColumns": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/definitions/AdditionalColumns" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Specifies the additional columns to be added to source data. Type: array of objects (or Expression with resultType array of objects)." + "type": "object", + "properties": {}, + "description": "Specifies the additional columns to be added to source data. Type: array of objects(AdditionalColumns) (or Expression with resultType array of objects)." }, "query": { "type": "object", @@ -22448,18 +22283,9 @@ "type": "object", "properties": { "additionalColumns": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/definitions/AdditionalColumns" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Specifies the additional columns to be added to source data. Type: array of objects (or Expression with resultType array of objects)." + "type": "object", + "properties": {}, + "description": "Specifies the additional columns to be added to source data. Type: array of objects(AdditionalColumns) (or Expression with resultType array of objects)." }, "additionalHeaders": { "type": "object", @@ -22920,18 +22746,9 @@ "type": "object", "properties": { "additionalColumns": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/definitions/AdditionalColumns" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Specifies the additional columns to be added to source data. Type: array of objects (or Expression with resultType array of objects)." + "type": "object", + "properties": {}, + "description": "Specifies the additional columns to be added to source data. Type: array of objects(AdditionalColumns) (or Expression with resultType array of objects)." }, "query": { "type": "object", @@ -27360,18 +27177,9 @@ ], "properties": { "additionalColumns": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/definitions/AdditionalColumns" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Specifies the additional columns to be added to source data. Type: array of objects (or Expression with resultType array of objects)." + "type": "object", + "properties": {}, + "description": "Specifies the additional columns to be added to source data. Type: array of objects(AdditionalColumns) (or Expression with resultType array of objects)." }, "queryTimeout": { "type": "object", @@ -28758,18 +28566,9 @@ "type": "object", "properties": { "additionalColumns": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/definitions/AdditionalColumns" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Specifies the additional columns to be added to source data. Type: array of objects (or Expression with resultType array of objects)." + "type": "object", + "properties": {}, + "description": "Specifies the additional columns to be added to source data. Type: array of objects(AdditionalColumns) (or Expression with resultType array of objects)." }, "type": { "type": "string", @@ -29093,18 +28892,9 @@ "type": "object", "properties": { "additionalColumns": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/definitions/AdditionalColumns" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Specifies the additional columns to be added to source data. Type: array of objects (or Expression with resultType array of objects)." + "type": "object", + "properties": {}, + "description": "Specifies the additional columns to be added to source data. Type: array of objects(AdditionalColumns) (or Expression with resultType array of objects)." }, "formatSettings": { "oneOf": [ From 5c3f55b6b70ae7ba227196b0ab71853c1fd3e536 Mon Sep 17 00:00:00 2001 From: Autogenerator Pipeline Date: Fri, 30 Jul 2021 09:17:17 +0000 Subject: [PATCH 14/64] Autogenerate schemas --- .../2018-09-01-preview/Microsoft.Migrate.json | 517 ---- .../2019-10-01-preview/Microsoft.Migrate.json | 1054 -------- schemas/2021-01-01/Microsoft.Migrate.json | 1054 -------- .../Microsoft.MachineLearningServices.json | 2197 +++++++++++++++++ schemas/common/autogeneratedResources.json | 30 +- 5 files changed, 2209 insertions(+), 2643 deletions(-) delete mode 100644 schemas/2018-09-01-preview/Microsoft.Migrate.json delete mode 100644 schemas/2019-10-01-preview/Microsoft.Migrate.json delete mode 100644 schemas/2021-01-01/Microsoft.Migrate.json create mode 100644 schemas/2021-07-01/Microsoft.MachineLearningServices.json diff --git a/schemas/2018-09-01-preview/Microsoft.Migrate.json b/schemas/2018-09-01-preview/Microsoft.Migrate.json deleted file mode 100644 index 074e3e9b7c..0000000000 --- a/schemas/2018-09-01-preview/Microsoft.Migrate.json +++ /dev/null @@ -1,517 +0,0 @@ -{ - "id": "https://schema.management.azure.com/schemas/2018-09-01-preview/Microsoft.Migrate.json#", - "$schema": "http://json-schema.org/draft-04/schema#", - "title": "Microsoft.Migrate", - "description": "Microsoft Migrate Resource Types", - "resourceDefinitions": { - "migrateProjects": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2018-09-01-preview" - ] - }, - "eTag": { - "type": "string", - "description": "Gets or sets the eTag for concurrency control." - }, - "location": { - "type": "string", - "description": "Gets or sets the Azure location in which migrate project is created." - }, - "name": { - "type": "string", - "description": "Name of the Azure Migrate project." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/MigrateProjectProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Class for migrate project properties." - }, - "resources": { - "type": "array", - "items": { - "oneOf": [ - { - "$ref": "#/definitions/migrateProjects_solutions_childResource" - } - ] - } - }, - "tags": { - "oneOf": [ - { - "$ref": "#/definitions/MigrateProjectTags" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Gets or sets the tags." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.Migrate/migrateProjects" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.Migrate/migrateProjects" - }, - "migrateProjects_solutions": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2018-09-01-preview" - ] - }, - "etag": { - "type": "string", - "description": "Gets or sets the ETAG for optimistic concurrency control." - }, - "name": { - "type": "string", - "description": "Unique name of a migration solution within a migrate project." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/SolutionProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Class for solution properties." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.Migrate/migrateProjects/solutions" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.Migrate/migrateProjects/solutions" - } - }, - "definitions": { - "DatabasesSolutionSummary": { - "type": "object", - "properties": { - "databaseInstancesAssessedCount": { - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Gets or sets the count of database instances assessed." - }, - "databasesAssessedCount": { - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Gets or sets the count of databases assessed." - }, - "instanceType": { - "type": "string", - "enum": [ - "Databases" - ] - }, - "migrationReadyCount": { - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Gets or sets the count of databases ready for migration." - } - }, - "required": [ - "instanceType" - ], - "description": "Class representing the databases solution summary." - }, - "MigrateProjectProperties": { - "type": "object", - "properties": { - "provisioningState": { - "oneOf": [ - { - "type": "string", - "enum": [ - "Accepted", - "Creating", - "Deleting", - "Failed", - "Moving", - "Succeeded" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Provisioning state of the migrate project." - }, - "registeredTools": { - "oneOf": [ - { - "type": "array", - "items": { - "type": "string", - "enum": [ - "ServerDiscovery", - "ServerAssessment", - "ServerMigration", - "Cloudamize", - "Turbonomic", - "Zerto", - "CorentTech", - "ServerAssessmentV1", - "ServerMigration_Replication", - "Carbonite", - "DataMigrationAssistant", - "DatabaseMigrationService" - ] - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Gets or sets the list of tools registered with the migrate project." - } - }, - "description": "Class for migrate project properties." - }, - "migrateProjects_solutions_childResource": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2018-09-01-preview" - ] - }, - "etag": { - "type": "string", - "description": "Gets or sets the ETAG for optimistic concurrency control." - }, - "name": { - "type": "string", - "description": "Unique name of a migration solution within a migrate project." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/SolutionProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Class for solution properties." - }, - "type": { - "type": "string", - "enum": [ - "solutions" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.Migrate/migrateProjects/solutions" - }, - "MigrateProjectTags": { - "type": "object", - "properties": { - "additionalProperties": { - "type": "string" - } - }, - "description": "Gets or sets the tags." - }, - "ServersSolutionSummary": { - "type": "object", - "properties": { - "assessedCount": { - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Gets or sets the count of servers assessed." - }, - "discoveredCount": { - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Gets or sets the count of servers discovered." - }, - "instanceType": { - "type": "string", - "enum": [ - "Servers" - ] - }, - "migratedCount": { - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Gets or sets the count of servers migrated." - }, - "replicatingCount": { - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Gets or sets the count of servers being replicated." - }, - "testMigratedCount": { - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Gets or sets the count of servers test migrated." - } - }, - "required": [ - "instanceType" - ], - "description": "Class representing the servers solution summary." - }, - "SolutionDetails": { - "type": "object", - "properties": { - "assessmentCount": { - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Gets or sets the count of assessments reported by the solution." - }, - "extendedDetails": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Gets or sets the extended details reported by the solution." - }, - "groupCount": { - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Gets or sets the count of groups reported by the solution." - } - }, - "description": "Class representing the details of the solution." - }, - "SolutionProperties": { - "type": "object", - "properties": { - "cleanupState": { - "oneOf": [ - { - "type": "string", - "enum": [ - "None", - "Started", - "InProgress", - "Completed", - "Failed" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Gets or sets the cleanup state of the solution." - }, - "details": { - "oneOf": [ - { - "$ref": "#/definitions/SolutionDetails" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Class representing the details of the solution." - }, - "goal": { - "oneOf": [ - { - "type": "string", - "enum": [ - "Servers", - "Databases" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Gets or sets the goal of the solution." - }, - "purpose": { - "oneOf": [ - { - "type": "string", - "enum": [ - "Discovery", - "Assessment", - "Migration" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Gets or sets the purpose of the solution." - }, - "status": { - "oneOf": [ - { - "type": "string", - "enum": [ - "Inactive", - "Active" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Gets or sets the current status of the solution." - }, - "summary": { - "oneOf": [ - { - "$ref": "#/definitions/SolutionSummary" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The solution summary class." - }, - "tool": { - "oneOf": [ - { - "type": "string", - "enum": [ - "ServerDiscovery", - "ServerAssessment", - "ServerMigration", - "Cloudamize", - "Turbonomic", - "Zerto", - "CorentTech", - "ServerAssessmentV1", - "ServerMigration_Replication", - "Carbonite", - "DataMigrationAssistant", - "DatabaseMigrationService" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Gets or sets the tool being used in the solution." - } - }, - "description": "Class for solution properties." - }, - "SolutionSummary": { - "type": "object", - "oneOf": [ - { - "$ref": "#/definitions/ServersSolutionSummary" - }, - { - "$ref": "#/definitions/DatabasesSolutionSummary" - } - ], - "properties": {}, - "description": "The solution summary class." - } - } -} \ No newline at end of file diff --git a/schemas/2019-10-01-preview/Microsoft.Migrate.json b/schemas/2019-10-01-preview/Microsoft.Migrate.json deleted file mode 100644 index 69d60e191b..0000000000 --- a/schemas/2019-10-01-preview/Microsoft.Migrate.json +++ /dev/null @@ -1,1054 +0,0 @@ -{ - "id": "https://schema.management.azure.com/schemas/2019-10-01-preview/Microsoft.Migrate.json#", - "$schema": "http://json-schema.org/draft-04/schema#", - "title": "Microsoft.Migrate", - "description": "Microsoft Migrate Resource Types", - "resourceDefinitions": { - "moveCollections": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2019-10-01-preview" - ] - }, - "identity": { - "oneOf": [ - { - "$ref": "#/definitions/Identity" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Defines the MSI properties of the Move Collection." - }, - "location": { - "type": "string", - "description": "The geo-location where the resource lives." - }, - "name": { - "type": "string", - "description": "The Move Collection Name." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/MoveCollectionProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Defines the move collection properties." - }, - "resources": { - "type": "array", - "items": { - "oneOf": [ - { - "$ref": "#/definitions/moveCollections_moveResources_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.Migrate/moveCollections" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.Migrate/moveCollections" - }, - "moveCollections_moveResources": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2019-10-01-preview" - ] - }, - "name": { - "type": "string", - "description": "The Move Resource Name." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/MoveResourceProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Defines the move resource properties." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.Migrate/moveCollections/moveResources" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.Migrate/moveCollections/moveResources" - } - }, - "definitions": { - "AvailabilitySetResourceSettings": { - "type": "object", - "properties": { - "faultDomain": { - "oneOf": [ - { - "type": "integer", - "minimum": 1 - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Gets or sets the target fault domain." - }, - "resourceType": { - "type": "string", - "enum": [ - "Microsoft.Compute/availabilitySets" - ] - }, - "updateDomain": { - "oneOf": [ - { - "type": "integer", - "minimum": 1, - "maximum": 20 - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Gets or sets the target update domain." - } - }, - "required": [ - "resourceType" - ], - "description": "Gets or sets the availability set resource settings." - }, - "DiskEncryptionSetResourceSettings": { - "type": "object", - "properties": { - "resourceType": { - "type": "string", - "enum": [ - "Microsoft.Compute/diskEncryptionSets" - ] - } - }, - "required": [ - "resourceType" - ], - "description": "Defines the disk encryption set resource settings." - }, - "Identity": { - "type": "object", - "properties": { - "principalId": { - "type": "string", - "description": "Gets or sets the principal id." - }, - "tenantId": { - "type": "string", - "description": "Gets or sets the tenant id." - }, - "type": { - "oneOf": [ - { - "type": "string", - "enum": [ - "None", - "SystemAssigned", - "UserAssigned" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - } - }, - "description": "Defines the MSI properties of the Move Collection." - }, - "KeyVaultResourceSettings": { - "type": "object", - "properties": { - "resourceType": { - "type": "string", - "enum": [ - "Microsoft.KeyVault/vaults" - ] - } - }, - "required": [ - "resourceType" - ], - "description": "Defines the key vault resource settings." - }, - "LBBackendAddressPoolResourceSettings": { - "type": "object", - "properties": { - "name": { - "type": "string", - "description": "Gets or sets the backend address pool name." - } - }, - "description": "Defines load balancer backend address pool properties." - }, - "LBFrontendIPConfigurationResourceSettings": { - "type": "object", - "properties": { - "name": { - "type": "string", - "description": "Gets or sets the frontend IP configuration name." - }, - "privateIpAddress": { - "type": "string", - "description": "Gets or sets the IP address of the Load Balancer.This is only specified if a specific\r\nprivate IP address shall be allocated from the subnet specified in subnetRef." - }, - "privateIpAllocationMethod": { - "type": "string", - "description": "Gets or sets PrivateIP allocation method (Static/Dynamic)." - }, - "subnet": { - "oneOf": [ - { - "$ref": "#/definitions/SubnetReference" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Defines reference to subnet." - }, - "zones": { - "type": "string", - "description": "Gets or sets the csv list of zones." - } - }, - "description": "Defines load balancer frontend IP configuration properties." - }, - "LoadBalancerBackendAddressPoolReference": { - "type": "object", - "properties": { - "name": { - "type": "string", - "description": "Gets the name of the proxy resource on the target side." - }, - "sourceArmResourceId": { - "type": "string", - "description": "Gets the ARM resource ID of the tracked resource being referenced." - } - }, - "required": [ - "sourceArmResourceId" - ], - "description": "Defines reference to load balancer backend address pools." - }, - "LoadBalancerNatRuleReference": { - "type": "object", - "properties": { - "name": { - "type": "string", - "description": "Gets the name of the proxy resource on the target side." - }, - "sourceArmResourceId": { - "type": "string", - "description": "Gets the ARM resource ID of the tracked resource being referenced." - } - }, - "required": [ - "sourceArmResourceId" - ], - "description": "Defines reference to load balancer NAT rules." - }, - "LoadBalancerResourceSettings": { - "type": "object", - "properties": { - "backendAddressPools": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/definitions/LBBackendAddressPoolResourceSettings" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Gets or sets the backend address pools of the load balancer." - }, - "frontendIPConfigurations": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/definitions/LBFrontendIPConfigurationResourceSettings" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Gets or sets the frontend IP configurations of the load balancer." - }, - "resourceType": { - "type": "string", - "enum": [ - "Microsoft.Network/loadBalancers" - ] - }, - "sku": { - "type": "string", - "description": "Gets or sets load balancer sku (Basic/Standard)." - }, - "zones": { - "type": "string", - "description": "Gets or sets the csv list of zones common for all frontend IP configurations. Note this is given\r\n precedence only if frontend IP configurations settings are not present." - } - }, - "required": [ - "resourceType" - ], - "description": "Defines the load balancer resource settings." - }, - "MoveCollectionProperties": { - "type": "object", - "properties": { - "provisioningState": { - "oneOf": [ - { - "type": "string", - "enum": [ - "Succeeded", - "Updating", - "Creating", - "Failed" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "sourceRegion": { - "type": "string", - "description": "Gets or sets the source region." - }, - "targetRegion": { - "type": "string", - "description": "Gets or sets the target region." - } - }, - "required": [ - "sourceRegion", - "targetRegion" - ], - "description": "Defines the move collection properties." - }, - "moveCollections_moveResources_childResource": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2019-10-01-preview" - ] - }, - "name": { - "type": "string", - "description": "The Move Resource Name." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/MoveResourceProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Defines the move resource properties." - }, - "type": { - "type": "string", - "enum": [ - "moveResources" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.Migrate/moveCollections/moveResources" - }, - "MoveResourceDependencyOverride": { - "type": "object", - "properties": { - "id": { - "type": "string", - "description": "Gets or sets the ARM ID of the dependent resource." - }, - "targetId": { - "type": "string", - "description": "Gets or sets the resource ARM id of either the MoveResource or the resource ARM ID of\r\nthe dependent resource." - } - }, - "description": "Defines the dependency override of the move resource." - }, - "MoveResourceProperties": { - "type": "object", - "properties": { - "dependsOnOverrides": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/definitions/MoveResourceDependencyOverride" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Gets or sets the move resource dependencies overrides." - }, - "existingTargetId": { - "type": "string", - "description": "Gets or sets the existing target ARM Id of the resource." - }, - "provisioningState": { - "oneOf": [ - { - "type": "string", - "enum": [ - "Succeeded", - "Updating", - "Creating", - "Failed" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "resourceSettings": { - "oneOf": [ - { - "$ref": "#/definitions/ResourceSettings" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Gets or sets the resource settings." - }, - "sourceId": { - "type": "string", - "description": "Gets or sets the Source ARM Id of the resource." - } - }, - "required": [ - "sourceId" - ], - "description": "Defines the move resource properties." - }, - "NetworkInterfaceResourceSettings": { - "type": "object", - "properties": { - "enableAcceleratedNetworking": { - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Gets or sets a value indicating whether accelerated networking is enabled." - }, - "ipConfigurations": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/definitions/NicIpConfigurationResourceSettings" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Gets or sets the IP configurations of the NIC." - }, - "resourceType": { - "type": "string", - "enum": [ - "Microsoft.Network/networkInterfaces" - ] - } - }, - "required": [ - "resourceType" - ], - "description": "Defines the network interface resource settings." - }, - "NetworkSecurityGroupResourceSettings": { - "type": "object", - "properties": { - "resourceType": { - "type": "string", - "enum": [ - "Microsoft.Network/networkSecurityGroups" - ] - }, - "securityRules": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/definitions/NsgSecurityRule" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Gets or sets Security rules of network security group." - } - }, - "required": [ - "resourceType" - ], - "description": "Defines the NSG resource settings." - }, - "NicIpConfigurationResourceSettings": { - "type": "object", - "properties": { - "loadBalancerBackendAddressPools": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/definitions/LoadBalancerBackendAddressPoolReference" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Gets or sets the references of the load balancer backend address pools." - }, - "loadBalancerNatRules": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/definitions/LoadBalancerNatRuleReference" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Gets or sets the references of the load balancer NAT rules." - }, - "name": { - "type": "string", - "description": "Gets or sets the IP configuration name." - }, - "primary": { - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Gets or sets a value indicating whether this IP configuration is the primary." - }, - "privateIpAddress": { - "type": "string", - "description": "Gets or sets the private IP address of the network interface IP Configuration." - }, - "privateIpAllocationMethod": { - "type": "string", - "description": "Gets or sets the private IP address allocation method." - }, - "publicIp": { - "oneOf": [ - { - "$ref": "#/definitions/PublicIpReference" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Defines reference to a public IP." - }, - "subnet": { - "oneOf": [ - { - "$ref": "#/definitions/SubnetReference" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Defines reference to subnet." - } - }, - "description": "Defines NIC IP configuration properties." - }, - "NsgReference": { - "type": "object", - "properties": { - "sourceArmResourceId": { - "type": "string", - "description": "Gets the ARM resource ID of the tracked resource being referenced." - } - }, - "required": [ - "sourceArmResourceId" - ], - "description": "Defines reference to NSG." - }, - "NsgSecurityRule": { - "type": "object", - "properties": { - "access": { - "type": "string", - "description": "Gets or sets whether network traffic is allowed or denied.\r\nPossible values are “Allow” and “Deny”." - }, - "description": { - "type": "string", - "description": "Gets or sets a description for this rule. Restricted to 140 chars." - }, - "destinationAddressPrefix": { - "type": "string", - "description": "Gets or sets destination address prefix. CIDR or source IP range.\r\n A “*” can also be used to match all source IPs. Default tags such\r\nas ‘VirtualNetwork’, ‘AzureLoadBalancer’ and ‘Internet’ can also be used." - }, - "destinationPortRange": { - "type": "string", - "description": "Gets or sets Destination Port or Range. Integer or range between\r\n0 and 65535. A “*” can also be used to match all ports." - }, - "direction": { - "type": "string", - "description": "Gets or sets the direction of the rule.InBound or Outbound. The\r\ndirection specifies if rule will be evaluated on incoming or outgoing traffic." - }, - "name": { - "type": "string", - "description": "Gets or sets the Security rule name." - }, - "priority": { - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Gets or sets the priority of the rule. The value can be between\r\n100 and 4096. The priority number must be unique for each rule in the collection.\r\nThe lower the priority number, the higher the priority of the rule." - }, - "protocol": { - "type": "string", - "description": "Gets or sets Network protocol this rule applies to. Can be Tcp, Udp or All(*)." - }, - "sourceAddressPrefix": { - "type": "string", - "description": "Gets or sets source address prefix. CIDR or source IP range. A\r\n“*” can also be used to match all source IPs. Default tags such as ‘VirtualNetwork’,\r\n‘AzureLoadBalancer’ and ‘Internet’ can also be used. If this is an ingress\r\nrule, specifies where network traffic originates from." - }, - "sourcePortRange": { - "type": "string", - "description": "Gets or sets Source Port or Range. Integer or range between 0 and\r\n65535. A “*” can also be used to match all ports." - } - }, - "description": "Security Rule data model for Network Security Groups." - }, - "PublicIPAddressResourceSettings": { - "type": "object", - "properties": { - "domainNameLabel": { - "type": "string", - "description": "Gets or sets the domain name label." - }, - "fqdn": { - "type": "string", - "description": "Gets or sets the fully qualified domain name." - }, - "publicIpAllocationMethod": { - "type": "string", - "description": "Gets or sets public IP allocation method." - }, - "resourceType": { - "type": "string", - "enum": [ - "Microsoft.Network/publicIPAddresses" - ] - }, - "sku": { - "type": "string", - "description": "Gets or sets public IP sku." - }, - "zones": { - "type": "string", - "description": "Gets or sets public IP zones." - } - }, - "required": [ - "resourceType" - ], - "description": "Defines the public IP address resource settings." - }, - "PublicIpReference": { - "type": "object", - "properties": { - "sourceArmResourceId": { - "type": "string", - "description": "Gets the ARM resource ID of the tracked resource being referenced." - } - }, - "required": [ - "sourceArmResourceId" - ], - "description": "Defines reference to a public IP." - }, - "ResourceGroupResourceSettings": { - "type": "object", - "properties": { - "resourceType": { - "type": "string", - "enum": [ - "resourceGroups" - ] - } - }, - "required": [ - "resourceType" - ], - "description": "Defines the resource group resource settings." - }, - "ResourceSettings": { - "type": "object", - "oneOf": [ - { - "$ref": "#/definitions/VirtualMachineResourceSettings" - }, - { - "$ref": "#/definitions/AvailabilitySetResourceSettings" - }, - { - "$ref": "#/definitions/VirtualNetworkResourceSettings" - }, - { - "$ref": "#/definitions/NetworkInterfaceResourceSettings" - }, - { - "$ref": "#/definitions/NetworkSecurityGroupResourceSettings" - }, - { - "$ref": "#/definitions/LoadBalancerResourceSettings" - }, - { - "$ref": "#/definitions/SqlServerResourceSettings" - }, - { - "$ref": "#/definitions/SqlElasticPoolResourceSettings" - }, - { - "$ref": "#/definitions/SqlDatabaseResourceSettings" - }, - { - "$ref": "#/definitions/ResourceGroupResourceSettings" - }, - { - "$ref": "#/definitions/PublicIPAddressResourceSettings" - }, - { - "$ref": "#/definitions/KeyVaultResourceSettings" - }, - { - "$ref": "#/definitions/DiskEncryptionSetResourceSettings" - } - ], - "properties": { - "targetResourceName": { - "type": "string", - "description": "Gets or sets the target Resource name." - } - }, - "required": [ - "targetResourceName" - ], - "description": "Gets or sets the resource settings." - }, - "SqlDatabaseResourceSettings": { - "type": "object", - "properties": { - "resourceType": { - "type": "string", - "enum": [ - "Microsoft.Sql/servers/databases" - ] - }, - "zoneRedundant": { - "oneOf": [ - { - "type": "string", - "enum": [ - "Enable", - "Disable" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - } - }, - "required": [ - "resourceType" - ], - "description": "Defines the Sql Database resource settings." - }, - "SqlElasticPoolResourceSettings": { - "type": "object", - "properties": { - "resourceType": { - "type": "string", - "enum": [ - "Microsoft.Sql/servers/elasticPools" - ] - }, - "zoneRedundant": { - "oneOf": [ - { - "type": "string", - "enum": [ - "Enable", - "Disable" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - } - }, - "required": [ - "resourceType" - ], - "description": "Defines the Sql ElasticPool resource settings." - }, - "SqlServerResourceSettings": { - "type": "object", - "properties": { - "resourceType": { - "type": "string", - "enum": [ - "Microsoft.Sql/servers" - ] - } - }, - "required": [ - "resourceType" - ], - "description": "Defines the SQL Server resource settings." - }, - "SubnetReference": { - "type": "object", - "properties": { - "name": { - "type": "string", - "description": "Gets the name of the proxy resource on the target side." - }, - "sourceArmResourceId": { - "type": "string", - "description": "Gets the ARM resource ID of the tracked resource being referenced." - } - }, - "required": [ - "sourceArmResourceId" - ], - "description": "Defines reference to subnet." - }, - "SubnetResourceSettings": { - "type": "object", - "properties": { - "addressPrefix": { - "type": "string", - "description": "Gets or sets address prefix for the subnet." - }, - "name": { - "type": "string", - "description": "Gets or sets the Subnet name." - }, - "networkSecurityGroup": { - "oneOf": [ - { - "$ref": "#/definitions/NsgReference" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Defines reference to NSG." - } - }, - "description": "Defines the virtual network subnets resource settings." - }, - "VirtualMachineResourceSettings": { - "type": "object", - "properties": { - "resourceType": { - "type": "string", - "enum": [ - "Microsoft.Compute/virtualMachines" - ] - }, - "targetAvailabilitySetId": { - "type": "string", - "description": "Gets or sets the target availability set id for virtual machines not in an availability set at source." - }, - "targetAvailabilityZone": { - "oneOf": [ - { - "type": "string", - "enum": [ - "1", - "2", - "3", - "NA" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Gets or sets the target availability zone." - }, - "targetVmSize": { - "type": "string", - "description": "Gets or sets the target virtual machine size." - } - }, - "required": [ - "resourceType" - ], - "description": "Gets or sets the virtual machine resource settings." - }, - "VirtualNetworkResourceSettings": { - "type": "object", - "properties": { - "addressSpace": { - "oneOf": [ - { - "type": "array", - "items": { - "type": "string" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Gets or sets the address prefixes for the virtual network." - }, - "dnsServers": { - "oneOf": [ - { - "type": "array", - "items": { - "type": "string" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Gets or sets DHCPOptions that contains an array of DNS servers available to VMs\r\ndeployed in the virtual network." - }, - "enableDdosProtection": { - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Gets or sets a value indicating whether gets or sets whether the\r\nDDOS protection should be switched on." - }, - "resourceType": { - "type": "string", - "enum": [ - "Microsoft.Network/virtualNetworks" - ] - }, - "subnets": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/definitions/SubnetResourceSettings" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Gets or sets List of subnets in a VirtualNetwork." - } - }, - "required": [ - "resourceType" - ], - "description": "Defines the virtual network resource settings." - } - } -} \ No newline at end of file diff --git a/schemas/2021-01-01/Microsoft.Migrate.json b/schemas/2021-01-01/Microsoft.Migrate.json deleted file mode 100644 index 0e45499ee6..0000000000 --- a/schemas/2021-01-01/Microsoft.Migrate.json +++ /dev/null @@ -1,1054 +0,0 @@ -{ - "id": "https://schema.management.azure.com/schemas/2021-01-01/Microsoft.Migrate.json#", - "$schema": "http://json-schema.org/draft-04/schema#", - "title": "Microsoft.Migrate", - "description": "Microsoft Migrate Resource Types", - "resourceDefinitions": { - "moveCollections": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2021-01-01" - ] - }, - "identity": { - "oneOf": [ - { - "$ref": "#/definitions/Identity" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Defines the MSI properties of the Move Collection." - }, - "location": { - "type": "string", - "description": "The geo-location where the resource lives." - }, - "name": { - "type": "string", - "description": "The Move Collection Name." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/MoveCollectionProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Defines the move collection properties." - }, - "resources": { - "type": "array", - "items": { - "oneOf": [ - { - "$ref": "#/definitions/moveCollections_moveResources_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.Migrate/moveCollections" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.Migrate/moveCollections" - }, - "moveCollections_moveResources": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2021-01-01" - ] - }, - "name": { - "type": "string", - "description": "The Move Resource Name." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/MoveResourceProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Defines the move resource properties." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.Migrate/moveCollections/moveResources" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.Migrate/moveCollections/moveResources" - } - }, - "definitions": { - "AvailabilitySetResourceSettings": { - "type": "object", - "properties": { - "faultDomain": { - "oneOf": [ - { - "type": "integer", - "minimum": 1 - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Gets or sets the target fault domain." - }, - "resourceType": { - "type": "string", - "enum": [ - "Microsoft.Compute/availabilitySets" - ] - }, - "updateDomain": { - "oneOf": [ - { - "type": "integer", - "minimum": 1, - "maximum": 20 - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Gets or sets the target update domain." - } - }, - "required": [ - "resourceType" - ], - "description": "Gets or sets the availability set resource settings." - }, - "DiskEncryptionSetResourceSettings": { - "type": "object", - "properties": { - "resourceType": { - "type": "string", - "enum": [ - "Microsoft.Compute/diskEncryptionSets" - ] - } - }, - "required": [ - "resourceType" - ], - "description": "Defines the disk encryption set resource settings." - }, - "Identity": { - "type": "object", - "properties": { - "principalId": { - "type": "string", - "description": "Gets or sets the principal id." - }, - "tenantId": { - "type": "string", - "description": "Gets or sets the tenant id." - }, - "type": { - "oneOf": [ - { - "type": "string", - "enum": [ - "None", - "SystemAssigned", - "UserAssigned" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - } - }, - "description": "Defines the MSI properties of the Move Collection." - }, - "KeyVaultResourceSettings": { - "type": "object", - "properties": { - "resourceType": { - "type": "string", - "enum": [ - "Microsoft.KeyVault/vaults" - ] - } - }, - "required": [ - "resourceType" - ], - "description": "Defines the key vault resource settings." - }, - "LBBackendAddressPoolResourceSettings": { - "type": "object", - "properties": { - "name": { - "type": "string", - "description": "Gets or sets the backend address pool name." - } - }, - "description": "Defines load balancer backend address pool properties." - }, - "LBFrontendIPConfigurationResourceSettings": { - "type": "object", - "properties": { - "name": { - "type": "string", - "description": "Gets or sets the frontend IP configuration name." - }, - "privateIpAddress": { - "type": "string", - "description": "Gets or sets the IP address of the Load Balancer.This is only specified if a specific\r\nprivate IP address shall be allocated from the subnet specified in subnetRef." - }, - "privateIpAllocationMethod": { - "type": "string", - "description": "Gets or sets PrivateIP allocation method (Static/Dynamic)." - }, - "subnet": { - "oneOf": [ - { - "$ref": "#/definitions/SubnetReference" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Defines reference to subnet." - }, - "zones": { - "type": "string", - "description": "Gets or sets the csv list of zones." - } - }, - "description": "Defines load balancer frontend IP configuration properties." - }, - "LoadBalancerBackendAddressPoolReference": { - "type": "object", - "properties": { - "name": { - "type": "string", - "description": "Gets the name of the proxy resource on the target side." - }, - "sourceArmResourceId": { - "type": "string", - "description": "Gets the ARM resource ID of the tracked resource being referenced." - } - }, - "required": [ - "sourceArmResourceId" - ], - "description": "Defines reference to load balancer backend address pools." - }, - "LoadBalancerNatRuleReference": { - "type": "object", - "properties": { - "name": { - "type": "string", - "description": "Gets the name of the proxy resource on the target side." - }, - "sourceArmResourceId": { - "type": "string", - "description": "Gets the ARM resource ID of the tracked resource being referenced." - } - }, - "required": [ - "sourceArmResourceId" - ], - "description": "Defines reference to load balancer NAT rules." - }, - "LoadBalancerResourceSettings": { - "type": "object", - "properties": { - "backendAddressPools": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/definitions/LBBackendAddressPoolResourceSettings" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Gets or sets the backend address pools of the load balancer." - }, - "frontendIPConfigurations": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/definitions/LBFrontendIPConfigurationResourceSettings" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Gets or sets the frontend IP configurations of the load balancer." - }, - "resourceType": { - "type": "string", - "enum": [ - "Microsoft.Network/loadBalancers" - ] - }, - "sku": { - "type": "string", - "description": "Gets or sets load balancer sku (Basic/Standard)." - }, - "zones": { - "type": "string", - "description": "Gets or sets the csv list of zones common for all frontend IP configurations. Note this is given\r\n precedence only if frontend IP configurations settings are not present." - } - }, - "required": [ - "resourceType" - ], - "description": "Defines the load balancer resource settings." - }, - "MoveCollectionProperties": { - "type": "object", - "properties": { - "provisioningState": { - "oneOf": [ - { - "type": "string", - "enum": [ - "Succeeded", - "Updating", - "Creating", - "Failed" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "sourceRegion": { - "type": "string", - "description": "Gets or sets the source region." - }, - "targetRegion": { - "type": "string", - "description": "Gets or sets the target region." - } - }, - "required": [ - "sourceRegion", - "targetRegion" - ], - "description": "Defines the move collection properties." - }, - "moveCollections_moveResources_childResource": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2021-01-01" - ] - }, - "name": { - "type": "string", - "description": "The Move Resource Name." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/MoveResourceProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Defines the move resource properties." - }, - "type": { - "type": "string", - "enum": [ - "moveResources" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.Migrate/moveCollections/moveResources" - }, - "MoveResourceDependencyOverride": { - "type": "object", - "properties": { - "id": { - "type": "string", - "description": "Gets or sets the ARM ID of the dependent resource." - }, - "targetId": { - "type": "string", - "description": "Gets or sets the resource ARM id of either the MoveResource or the resource ARM ID of\r\nthe dependent resource." - } - }, - "description": "Defines the dependency override of the move resource." - }, - "MoveResourceProperties": { - "type": "object", - "properties": { - "dependsOnOverrides": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/definitions/MoveResourceDependencyOverride" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Gets or sets the move resource dependencies overrides." - }, - "existingTargetId": { - "type": "string", - "description": "Gets or sets the existing target ARM Id of the resource." - }, - "provisioningState": { - "oneOf": [ - { - "type": "string", - "enum": [ - "Succeeded", - "Updating", - "Creating", - "Failed" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "resourceSettings": { - "oneOf": [ - { - "$ref": "#/definitions/ResourceSettings" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Gets or sets the resource settings." - }, - "sourceId": { - "type": "string", - "description": "Gets or sets the Source ARM Id of the resource." - } - }, - "required": [ - "sourceId" - ], - "description": "Defines the move resource properties." - }, - "NetworkInterfaceResourceSettings": { - "type": "object", - "properties": { - "enableAcceleratedNetworking": { - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Gets or sets a value indicating whether accelerated networking is enabled." - }, - "ipConfigurations": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/definitions/NicIpConfigurationResourceSettings" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Gets or sets the IP configurations of the NIC." - }, - "resourceType": { - "type": "string", - "enum": [ - "Microsoft.Network/networkInterfaces" - ] - } - }, - "required": [ - "resourceType" - ], - "description": "Defines the network interface resource settings." - }, - "NetworkSecurityGroupResourceSettings": { - "type": "object", - "properties": { - "resourceType": { - "type": "string", - "enum": [ - "Microsoft.Network/networkSecurityGroups" - ] - }, - "securityRules": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/definitions/NsgSecurityRule" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Gets or sets Security rules of network security group." - } - }, - "required": [ - "resourceType" - ], - "description": "Defines the NSG resource settings." - }, - "NicIpConfigurationResourceSettings": { - "type": "object", - "properties": { - "loadBalancerBackendAddressPools": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/definitions/LoadBalancerBackendAddressPoolReference" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Gets or sets the references of the load balancer backend address pools." - }, - "loadBalancerNatRules": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/definitions/LoadBalancerNatRuleReference" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Gets or sets the references of the load balancer NAT rules." - }, - "name": { - "type": "string", - "description": "Gets or sets the IP configuration name." - }, - "primary": { - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Gets or sets a value indicating whether this IP configuration is the primary." - }, - "privateIpAddress": { - "type": "string", - "description": "Gets or sets the private IP address of the network interface IP Configuration." - }, - "privateIpAllocationMethod": { - "type": "string", - "description": "Gets or sets the private IP address allocation method." - }, - "publicIp": { - "oneOf": [ - { - "$ref": "#/definitions/PublicIpReference" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Defines reference to a public IP." - }, - "subnet": { - "oneOf": [ - { - "$ref": "#/definitions/SubnetReference" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Defines reference to subnet." - } - }, - "description": "Defines NIC IP configuration properties." - }, - "NsgReference": { - "type": "object", - "properties": { - "sourceArmResourceId": { - "type": "string", - "description": "Gets the ARM resource ID of the tracked resource being referenced." - } - }, - "required": [ - "sourceArmResourceId" - ], - "description": "Defines reference to NSG." - }, - "NsgSecurityRule": { - "type": "object", - "properties": { - "access": { - "type": "string", - "description": "Gets or sets whether network traffic is allowed or denied.\r\nPossible values are “Allow” and “Deny”." - }, - "description": { - "type": "string", - "description": "Gets or sets a description for this rule. Restricted to 140 chars." - }, - "destinationAddressPrefix": { - "type": "string", - "description": "Gets or sets destination address prefix. CIDR or source IP range.\r\n A “*” can also be used to match all source IPs. Default tags such\r\nas ‘VirtualNetwork’, ‘AzureLoadBalancer’ and ‘Internet’ can also be used." - }, - "destinationPortRange": { - "type": "string", - "description": "Gets or sets Destination Port or Range. Integer or range between\r\n0 and 65535. A “*” can also be used to match all ports." - }, - "direction": { - "type": "string", - "description": "Gets or sets the direction of the rule.InBound or Outbound. The\r\ndirection specifies if rule will be evaluated on incoming or outgoing traffic." - }, - "name": { - "type": "string", - "description": "Gets or sets the Security rule name." - }, - "priority": { - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Gets or sets the priority of the rule. The value can be between\r\n100 and 4096. The priority number must be unique for each rule in the collection.\r\nThe lower the priority number, the higher the priority of the rule." - }, - "protocol": { - "type": "string", - "description": "Gets or sets Network protocol this rule applies to. Can be Tcp, Udp or All(*)." - }, - "sourceAddressPrefix": { - "type": "string", - "description": "Gets or sets source address prefix. CIDR or source IP range. A\r\n“*” can also be used to match all source IPs. Default tags such as ‘VirtualNetwork’,\r\n‘AzureLoadBalancer’ and ‘Internet’ can also be used. If this is an ingress\r\nrule, specifies where network traffic originates from." - }, - "sourcePortRange": { - "type": "string", - "description": "Gets or sets Source Port or Range. Integer or range between 0 and\r\n65535. A “*” can also be used to match all ports." - } - }, - "description": "Security Rule data model for Network Security Groups." - }, - "PublicIPAddressResourceSettings": { - "type": "object", - "properties": { - "domainNameLabel": { - "type": "string", - "description": "Gets or sets the domain name label." - }, - "fqdn": { - "type": "string", - "description": "Gets or sets the fully qualified domain name." - }, - "publicIpAllocationMethod": { - "type": "string", - "description": "Gets or sets public IP allocation method." - }, - "resourceType": { - "type": "string", - "enum": [ - "Microsoft.Network/publicIPAddresses" - ] - }, - "sku": { - "type": "string", - "description": "Gets or sets public IP sku." - }, - "zones": { - "type": "string", - "description": "Gets or sets public IP zones." - } - }, - "required": [ - "resourceType" - ], - "description": "Defines the public IP address resource settings." - }, - "PublicIpReference": { - "type": "object", - "properties": { - "sourceArmResourceId": { - "type": "string", - "description": "Gets the ARM resource ID of the tracked resource being referenced." - } - }, - "required": [ - "sourceArmResourceId" - ], - "description": "Defines reference to a public IP." - }, - "ResourceGroupResourceSettings": { - "type": "object", - "properties": { - "resourceType": { - "type": "string", - "enum": [ - "resourceGroups" - ] - } - }, - "required": [ - "resourceType" - ], - "description": "Defines the resource group resource settings." - }, - "ResourceSettings": { - "type": "object", - "oneOf": [ - { - "$ref": "#/definitions/VirtualMachineResourceSettings" - }, - { - "$ref": "#/definitions/AvailabilitySetResourceSettings" - }, - { - "$ref": "#/definitions/VirtualNetworkResourceSettings" - }, - { - "$ref": "#/definitions/NetworkInterfaceResourceSettings" - }, - { - "$ref": "#/definitions/NetworkSecurityGroupResourceSettings" - }, - { - "$ref": "#/definitions/LoadBalancerResourceSettings" - }, - { - "$ref": "#/definitions/SqlServerResourceSettings" - }, - { - "$ref": "#/definitions/SqlElasticPoolResourceSettings" - }, - { - "$ref": "#/definitions/SqlDatabaseResourceSettings" - }, - { - "$ref": "#/definitions/ResourceGroupResourceSettings" - }, - { - "$ref": "#/definitions/PublicIPAddressResourceSettings" - }, - { - "$ref": "#/definitions/KeyVaultResourceSettings" - }, - { - "$ref": "#/definitions/DiskEncryptionSetResourceSettings" - } - ], - "properties": { - "targetResourceName": { - "type": "string", - "description": "Gets or sets the target Resource name." - } - }, - "required": [ - "targetResourceName" - ], - "description": "Gets or sets the resource settings." - }, - "SqlDatabaseResourceSettings": { - "type": "object", - "properties": { - "resourceType": { - "type": "string", - "enum": [ - "Microsoft.Sql/servers/databases" - ] - }, - "zoneRedundant": { - "oneOf": [ - { - "type": "string", - "enum": [ - "Enable", - "Disable" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - } - }, - "required": [ - "resourceType" - ], - "description": "Defines the Sql Database resource settings." - }, - "SqlElasticPoolResourceSettings": { - "type": "object", - "properties": { - "resourceType": { - "type": "string", - "enum": [ - "Microsoft.Sql/servers/elasticPools" - ] - }, - "zoneRedundant": { - "oneOf": [ - { - "type": "string", - "enum": [ - "Enable", - "Disable" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - } - }, - "required": [ - "resourceType" - ], - "description": "Defines the Sql ElasticPool resource settings." - }, - "SqlServerResourceSettings": { - "type": "object", - "properties": { - "resourceType": { - "type": "string", - "enum": [ - "Microsoft.Sql/servers" - ] - } - }, - "required": [ - "resourceType" - ], - "description": "Defines the SQL Server resource settings." - }, - "SubnetReference": { - "type": "object", - "properties": { - "name": { - "type": "string", - "description": "Gets the name of the proxy resource on the target side." - }, - "sourceArmResourceId": { - "type": "string", - "description": "Gets the ARM resource ID of the tracked resource being referenced." - } - }, - "required": [ - "sourceArmResourceId" - ], - "description": "Defines reference to subnet." - }, - "SubnetResourceSettings": { - "type": "object", - "properties": { - "addressPrefix": { - "type": "string", - "description": "Gets or sets address prefix for the subnet." - }, - "name": { - "type": "string", - "description": "Gets or sets the Subnet name." - }, - "networkSecurityGroup": { - "oneOf": [ - { - "$ref": "#/definitions/NsgReference" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Defines reference to NSG." - } - }, - "description": "Defines the virtual network subnets resource settings." - }, - "VirtualMachineResourceSettings": { - "type": "object", - "properties": { - "resourceType": { - "type": "string", - "enum": [ - "Microsoft.Compute/virtualMachines" - ] - }, - "targetAvailabilitySetId": { - "type": "string", - "description": "Gets or sets the target availability set id for virtual machines not in an availability set at source." - }, - "targetAvailabilityZone": { - "oneOf": [ - { - "type": "string", - "enum": [ - "1", - "2", - "3", - "NA" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Gets or sets the target availability zone." - }, - "targetVmSize": { - "type": "string", - "description": "Gets or sets the target virtual machine size." - } - }, - "required": [ - "resourceType" - ], - "description": "Gets or sets the virtual machine resource settings." - }, - "VirtualNetworkResourceSettings": { - "type": "object", - "properties": { - "addressSpace": { - "oneOf": [ - { - "type": "array", - "items": { - "type": "string" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Gets or sets the address prefixes for the virtual network." - }, - "dnsServers": { - "oneOf": [ - { - "type": "array", - "items": { - "type": "string" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Gets or sets DHCPOptions that contains an array of DNS servers available to VMs\r\ndeployed in the virtual network." - }, - "enableDdosProtection": { - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Gets or sets a value indicating whether gets or sets whether the\r\nDDOS protection should be switched on." - }, - "resourceType": { - "type": "string", - "enum": [ - "Microsoft.Network/virtualNetworks" - ] - }, - "subnets": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/definitions/SubnetResourceSettings" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Gets or sets List of subnets in a VirtualNetwork." - } - }, - "required": [ - "resourceType" - ], - "description": "Defines the virtual network resource settings." - } - } -} \ No newline at end of file diff --git a/schemas/2021-07-01/Microsoft.MachineLearningServices.json b/schemas/2021-07-01/Microsoft.MachineLearningServices.json new file mode 100644 index 0000000000..77dd3b5bea --- /dev/null +++ b/schemas/2021-07-01/Microsoft.MachineLearningServices.json @@ -0,0 +1,2197 @@ +{ + "id": "https://schema.management.azure.com/schemas/2021-07-01/Microsoft.MachineLearningServices.json#", + "$schema": "http://json-schema.org/draft-04/schema#", + "title": "Microsoft.MachineLearningServices", + "description": "Microsoft MachineLearningServices Resource Types", + "resourceDefinitions": { + "workspaces": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-07-01" + ] + }, + "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": "Specifies the location of the resource." + }, + "name": { + "type": "string", + "description": "Name of Azure Machine Learning workspace." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/WorkspaceProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The properties of a machine learning workspace." + }, + "resources": { + "type": "array", + "items": { + "oneOf": [ + { + "$ref": "#/definitions/workspaces_computes_childResource" + }, + { + "$ref": "#/definitions/workspaces_privateEndpointConnections_childResource" + }, + { + "$ref": "#/definitions/workspaces_connections_childResource" + } + ] + } + }, + "sku": { + "oneOf": [ + { + "$ref": "#/definitions/Sku" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Sku of the 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": "Contains resource tags defined as key/value pairs." + }, + "type": { + "type": "string", + "enum": [ + "Microsoft.MachineLearningServices/workspaces" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.MachineLearningServices/workspaces" + }, + "workspaces_computes": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-07-01" + ] + }, + "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": "Specifies the location of the resource." + }, + "name": { + "type": "string", + "description": "Name of the Azure Machine Learning compute." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/Compute" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Machine Learning compute object." + }, + "sku": { + "oneOf": [ + { + "$ref": "#/definitions/Sku" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Sku of the 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": "Contains resource tags defined as key/value pairs." + }, + "type": { + "type": "string", + "enum": [ + "Microsoft.MachineLearningServices/workspaces/computes" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.MachineLearningServices/workspaces/computes" + }, + "workspaces_connections": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-07-01" + ] + }, + "name": { + "type": "string", + "description": "Friendly name of the workspace connection" + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/WorkspaceConnectionProps" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Workspace Connection specific properties." + }, + "type": { + "type": "string", + "enum": [ + "Microsoft.MachineLearningServices/workspaces/connections" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.MachineLearningServices/workspaces/connections" + }, + "workspaces_privateEndpointConnections": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-07-01" + ] + }, + "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": "Specifies the location of the resource." + }, + "name": { + "type": "string", + "description": "The name of the private endpoint connection associated with the workspace" + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/PrivateEndpointConnectionProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Properties of the PrivateEndpointConnectProperties." + }, + "sku": { + "oneOf": [ + { + "$ref": "#/definitions/Sku" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Sku of the 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": "Contains resource tags defined as key/value pairs." + }, + "type": { + "type": "string", + "enum": [ + "Microsoft.MachineLearningServices/workspaces/privateEndpointConnections" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.MachineLearningServices/workspaces/privateEndpointConnections" + } + }, + "definitions": { + "AKS": { + "type": "object", + "properties": { + "computeType": { + "type": "string", + "enum": [ + "AKS" + ] + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/AKSProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "AKS properties" + } + }, + "required": [ + "computeType" + ], + "description": "A Machine Learning compute based on AKS." + }, + "AksNetworkingConfiguration": { + "type": "object", + "properties": { + "dnsServiceIP": { + "oneOf": [ + { + "type": "string", + "pattern": "^(?:(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\.){3}(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)$" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "An IP address assigned to the Kubernetes DNS service. It must be within the Kubernetes service address range specified in serviceCidr." + }, + "dockerBridgeCidr": { + "oneOf": [ + { + "type": "string", + "pattern": "^([0-9]{1,3}\\.){3}[0-9]{1,3}(\\/([0-9]|[1-2][0-9]|3[0-2]))?$" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "A CIDR notation IP range assigned to the Docker bridge network. It must not overlap with any Subnet IP ranges or the Kubernetes service address range." + }, + "serviceCidr": { + "oneOf": [ + { + "type": "string", + "pattern": "^([0-9]{1,3}\\.){3}[0-9]{1,3}(\\/([0-9]|[1-2][0-9]|3[0-2]))?$" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "A CIDR notation IP range from which to assign service cluster IPs. It must not overlap with any Subnet IP ranges." + }, + "subnetId": { + "type": "string", + "description": "Virtual network subnet resource ID the compute nodes belong to" + } + }, + "description": "Advance configuration for AKS networking" + }, + "AKSProperties": { + "type": "object", + "properties": { + "agentCount": { + "oneOf": [ + { + "type": "integer", + "minimum": 0 + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Number of agents" + }, + "agentVmSize": { + "type": "string", + "description": "Agent virtual machine size" + }, + "aksNetworkingConfiguration": { + "oneOf": [ + { + "$ref": "#/definitions/AksNetworkingConfiguration" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Advance configuration for AKS networking" + }, + "clusterFqdn": { + "type": "string", + "description": "Cluster full qualified domain name" + }, + "clusterPurpose": { + "oneOf": [ + { + "type": "string", + "enum": [ + "FastProd", + "DenseProd", + "DevTest" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Intended usage of the cluster." + }, + "loadBalancerSubnet": { + "type": "string", + "description": "Load Balancer Subnet" + }, + "loadBalancerType": { + "oneOf": [ + { + "type": "string", + "enum": [ + "PublicIp", + "InternalLoadBalancer" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Load Balancer Type." + }, + "sslConfiguration": { + "oneOf": [ + { + "$ref": "#/definitions/SslConfiguration" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The ssl configuration for scoring" + } + }, + "description": "AKS properties" + }, + "AmlCompute": { + "type": "object", + "properties": { + "computeType": { + "type": "string", + "enum": [ + "AmlCompute" + ] + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/AmlComputeProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "AML Compute properties" + } + }, + "required": [ + "computeType" + ], + "description": "Properties(top level) of AmlCompute" + }, + "AmlComputeProperties": { + "type": "object", + "properties": { + "enableNodePublicIp": { + "oneOf": [ + { + "type": "boolean", + "default": true + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Enable or disable node public IP address provisioning. Possible values are: Possible values are: true - Indicates that the compute nodes will have public IPs provisioned. false - Indicates that the compute nodes will have a private endpoint and no public IPs." + }, + "isolatedNetwork": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Network is isolated or not" + }, + "osType": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Linux", + "Windows" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Compute OS Type." + }, + "remoteLoginPortPublicAccess": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Enabled", + "Disabled", + "NotSpecified" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "State of the public SSH port. Possible values are: Disabled - Indicates that the public ssh port is closed on all nodes of the cluster. Enabled - Indicates that the public ssh port is open on all nodes of the cluster. NotSpecified - Indicates that the public ssh port is closed on all nodes of the cluster if VNet is defined, else is open all public nodes. It can be default only during cluster creation time, after creation it will be either enabled or disabled." + }, + "scaleSettings": { + "oneOf": [ + { + "$ref": "#/definitions/ScaleSettings" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "scale settings for AML Compute" + }, + "subnet": { + "oneOf": [ + { + "$ref": "#/definitions/ResourceId" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Represents a resource ID. For example, for a subnet, it is the resource URL for the subnet." + }, + "userAccountCredentials": { + "oneOf": [ + { + "$ref": "#/definitions/UserAccountCredentials" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Settings for user account that gets created on each on the nodes of a compute." + }, + "virtualMachineImage": { + "oneOf": [ + { + "$ref": "#/definitions/VirtualMachineImage" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Virtual Machine image for Windows AML Compute" + }, + "vmPriority": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Dedicated", + "LowPriority" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Virtual Machine priority." + }, + "vmSize": { + "type": "string", + "description": "Virtual Machine Size" + } + }, + "description": "AML Compute properties" + }, + "AssignedUser": { + "type": "object", + "properties": { + "objectId": { + "type": "string", + "description": "User’s AAD Object Id." + }, + "tenantId": { + "type": "string", + "description": "User’s AAD Tenant Id." + } + }, + "required": [ + "objectId", + "tenantId" + ], + "description": "A user that can be assigned to a compute instance." + }, + "AutoPauseProperties": { + "type": "object", + "properties": { + "delayInMinutes": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ] + }, + "enabled": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ] + } + }, + "description": "Auto pause properties" + }, + "AutoScaleProperties": { + "type": "object", + "properties": { + "enabled": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ] + }, + "maxNodeCount": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ] + }, + "minNodeCount": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ] + } + }, + "description": "Auto scale properties" + }, + "Compute": { + "type": "object", + "oneOf": [ + { + "$ref": "#/definitions/AKS" + }, + { + "$ref": "#/definitions/AmlCompute" + }, + { + "$ref": "#/definitions/ComputeInstance" + }, + { + "$ref": "#/definitions/VirtualMachine" + }, + { + "$ref": "#/definitions/HDInsight" + }, + { + "$ref": "#/definitions/DataFactory" + }, + { + "$ref": "#/definitions/Databricks" + }, + { + "$ref": "#/definitions/DataLakeAnalytics" + }, + { + "$ref": "#/definitions/SynapseSpark" + } + ], + "properties": { + "computeLocation": { + "type": "string", + "description": "Location for the underlying compute" + }, + "description": { + "type": "string", + "description": "The description of the Machine Learning compute." + }, + "disableLocalAuth": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Opt-out of local authentication and ensure customers can use only MSI and AAD exclusively for authentication." + }, + "resourceId": { + "type": "string", + "description": "ARM resource id of the underlying compute" + } + }, + "description": "Machine Learning compute object." + }, + "ComputeInstance": { + "type": "object", + "properties": { + "computeType": { + "type": "string", + "enum": [ + "ComputeInstance" + ] + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/ComputeInstanceProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Compute Instance properties" + } + }, + "required": [ + "computeType" + ], + "description": "Properties(top level) of ComputeInstance" + }, + "ComputeInstanceProperties": { + "type": "object", + "properties": { + "applicationSharingPolicy": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Personal", + "Shared" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Policy for sharing applications on this compute instance among users of parent workspace. If Personal, only the creator can access applications on this compute instance. When Shared, any workspace user can access applications on this instance depending on his/her assigned role." + }, + "computeInstanceAuthorizationType": { + "oneOf": [ + { + "type": "string", + "enum": [ + "personal" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The Compute Instance Authorization type. Available values are personal (default)." + }, + "personalComputeInstanceSettings": { + "oneOf": [ + { + "$ref": "#/definitions/PersonalComputeInstanceSettings" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Settings for a personal compute instance." + }, + "setupScripts": { + "oneOf": [ + { + "$ref": "#/definitions/SetupScripts" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Details of customized scripts to execute for setting up the cluster." + }, + "sshSettings": { + "oneOf": [ + { + "$ref": "#/definitions/ComputeInstanceSshSettings" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Specifies policy and settings for SSH access." + }, + "subnet": { + "oneOf": [ + { + "$ref": "#/definitions/ResourceId" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Represents a resource ID. For example, for a subnet, it is the resource URL for the subnet." + }, + "vmSize": { + "type": "string", + "description": "Virtual Machine Size" + } + }, + "description": "Compute Instance properties" + }, + "ComputeInstanceSshSettings": { + "type": "object", + "properties": { + "adminPublicKey": { + "type": "string", + "description": "Specifies the SSH rsa public key file as a string. Use \"ssh-keygen -t rsa -b 2048\" to generate your SSH key pairs." + }, + "sshPublicAccess": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Enabled", + "Disabled" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "State of the public SSH port. Possible values are: Disabled - Indicates that the public ssh port is closed on this instance. Enabled - Indicates that the public ssh port is open and accessible according to the VNet/subnet policy if applicable." + } + }, + "description": "Specifies policy and settings for SSH access." + }, + "CosmosDbSettings": { + "type": "object", + "properties": { + "collectionsThroughput": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The throughput of the collections in cosmosdb database" + } + } + }, + "Databricks": { + "type": "object", + "properties": { + "computeType": { + "type": "string", + "enum": [ + "Databricks" + ] + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/DatabricksProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Properties of Databricks" + } + }, + "required": [ + "computeType" + ], + "description": "A DataFactory compute." + }, + "DatabricksProperties": { + "type": "object", + "properties": { + "databricksAccessToken": { + "type": "string", + "description": "Databricks access token" + }, + "workspaceUrl": { + "type": "string", + "description": "Workspace Url" + } + }, + "description": "Properties of Databricks" + }, + "DataFactory": { + "type": "object", + "properties": { + "computeType": { + "type": "string", + "enum": [ + "DataFactory" + ] + } + }, + "required": [ + "computeType" + ], + "description": "A DataFactory compute." + }, + "DataLakeAnalytics": { + "type": "object", + "properties": { + "computeType": { + "type": "string", + "enum": [ + "DataLakeAnalytics" + ] + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/DataLakeAnalyticsProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ] + } + }, + "required": [ + "computeType" + ], + "description": "A DataLakeAnalytics compute." + }, + "DataLakeAnalyticsProperties": { + "type": "object", + "properties": { + "dataLakeStoreAccountName": { + "type": "string", + "description": "DataLake Store Account Name" + } + } + }, + "EncryptionProperty": { + "type": "object", + "properties": { + "identity": { + "oneOf": [ + { + "$ref": "#/definitions/IdentityForCmk" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Identity that will be used to access key vault for encryption at rest" + }, + "keyVaultProperties": { + "oneOf": [ + { + "$ref": "#/definitions/KeyVaultProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ] + }, + "status": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Enabled", + "Disabled" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Indicates whether or not the encryption is enabled for the workspace." + } + }, + "required": [ + "keyVaultProperties", + "status" + ] + }, + "HDInsight": { + "type": "object", + "properties": { + "computeType": { + "type": "string", + "enum": [ + "HDInsight" + ] + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/HDInsightProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "HDInsight compute properties" + } + }, + "required": [ + "computeType" + ], + "description": "A HDInsight compute." + }, + "HDInsightProperties": { + "type": "object", + "properties": { + "address": { + "type": "string", + "description": "Public IP address of the master node of the cluster." + }, + "administratorAccount": { + "oneOf": [ + { + "$ref": "#/definitions/VirtualMachineSshCredentials" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Admin credentials for virtual machine" + }, + "sshPort": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Port open for ssh connections on the master node of the cluster." + } + }, + "description": "HDInsight compute properties" + }, + "Identity": { + "type": "object", + "properties": { + "type": { + "oneOf": [ + { + "type": "string", + "enum": [ + "SystemAssigned", + "SystemAssigned,UserAssigned", + "UserAssigned", + "None" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The identity type." + }, + "userAssignedIdentities": { + "oneOf": [ + { + "type": "object", + "additionalProperties": { + "$ref": "#/definitions/UserAssignedIdentity" + }, + "properties": {} + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "dictionary containing all the user assigned identities, with resourceId of the UAI as key." + } + }, + "description": "Identity for the resource." + }, + "IdentityForCmk": { + "type": "object", + "properties": { + "userAssignedIdentity": { + "type": "string", + "description": "The ArmId of the user assigned identity that will be used to access the customer managed key vault" + } + }, + "description": "Identity that will be used to access key vault for encryption at rest" + }, + "KeyVaultProperties": { + "type": "object", + "properties": { + "identityClientId": { + "type": "string", + "description": "For future use - The client id of the identity which will be used to access key vault." + }, + "keyIdentifier": { + "type": "string", + "description": "Key vault uri to access the encryption key." + }, + "keyVaultArmId": { + "type": "string", + "description": "The ArmId of the keyVault where the customer owned encryption key is present." + } + }, + "required": [ + "keyIdentifier", + "keyVaultArmId" + ] + }, + "PersonalComputeInstanceSettings": { + "type": "object", + "properties": { + "assignedUser": { + "oneOf": [ + { + "$ref": "#/definitions/AssignedUser" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "A user that can be assigned to a compute instance." + } + }, + "description": "Settings for a personal compute instance." + }, + "PrivateEndpoint": { + "type": "object", + "properties": {}, + "description": "The Private Endpoint resource." + }, + "PrivateEndpointConnectionProperties": { + "type": "object", + "properties": { + "privateEndpoint": { + "oneOf": [ + { + "$ref": "#/definitions/PrivateEndpoint" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The Private Endpoint resource." + }, + "privateLinkServiceConnectionState": { + "oneOf": [ + { + "$ref": "#/definitions/PrivateLinkServiceConnectionState" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "A collection of information about the state of the connection between service consumer and provider." + }, + "provisioningState": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Succeeded", + "Creating", + "Deleting", + "Failed" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The provisioning state of the private endpoint connection resource." + } + }, + "required": [ + "privateLinkServiceConnectionState" + ], + "description": "Properties of the PrivateEndpointConnectProperties." + }, + "PrivateLinkServiceConnectionState": { + "type": "object", + "properties": { + "actionsRequired": { + "type": "string", + "description": "A message indicating if changes on the service provider require any updates on the consumer." + }, + "description": { + "type": "string", + "description": "The reason for approval/rejection of the connection." + }, + "status": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Pending", + "Approved", + "Rejected", + "Disconnected", + "Timeout" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Indicates whether the connection has been Approved/Rejected/Removed by the owner of the service." + } + }, + "description": "A collection of information about the state of the connection between service consumer and provider." + }, + "ResourceId": { + "type": "object", + "properties": { + "id": { + "type": "string", + "description": "The ID of the resource" + } + }, + "required": [ + "id" + ], + "description": "Represents a resource ID. For example, for a subnet, it is the resource URL for the subnet." + }, + "ScaleSettings": { + "type": "object", + "properties": { + "maxNodeCount": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Max number of nodes to use" + }, + "minNodeCount": { + "oneOf": [ + { + "type": "integer", + "default": "0" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Min number of nodes to use" + }, + "nodeIdleTimeBeforeScaleDown": { + "type": "string", + "format": "duration", + "description": "Node Idle Time before scaling down amlCompute. This string needs to be in the RFC Format." + } + }, + "required": [ + "maxNodeCount" + ], + "description": "scale settings for AML Compute" + }, + "ScriptReference": { + "type": "object", + "properties": { + "scriptArguments": { + "type": "string", + "description": "Optional command line arguments passed to the script to run." + }, + "scriptData": { + "type": "string", + "description": "The location of scripts in the mounted volume." + }, + "scriptSource": { + "type": "string", + "description": "The storage source of the script: inline, workspace." + }, + "timeout": { + "type": "string", + "description": "Optional time period passed to timeout command." + } + }, + "description": "Script reference" + }, + "ScriptsToExecute": { + "type": "object", + "properties": { + "creationScript": { + "oneOf": [ + { + "$ref": "#/definitions/ScriptReference" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Script reference" + }, + "startupScript": { + "oneOf": [ + { + "$ref": "#/definitions/ScriptReference" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Script reference" + } + }, + "description": "Customized setup scripts" + }, + "ServiceManagedResourcesSettings": { + "type": "object", + "properties": { + "cosmosDb": { + "oneOf": [ + { + "$ref": "#/definitions/CosmosDbSettings" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ] + } + } + }, + "SetupScripts": { + "type": "object", + "properties": { + "scripts": { + "oneOf": [ + { + "$ref": "#/definitions/ScriptsToExecute" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Customized setup scripts" + } + }, + "description": "Details of customized scripts to execute for setting up the cluster." + }, + "SharedPrivateLinkResource": { + "type": "object", + "properties": { + "name": { + "type": "string", + "description": "Unique name of the private link." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/SharedPrivateLinkResourceProperty" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Properties of a shared private link resource." + } + } + }, + "SharedPrivateLinkResourceProperty": { + "type": "object", + "properties": { + "groupId": { + "type": "string", + "description": "The private link resource group id." + }, + "privateLinkResourceId": { + "type": "string", + "description": "The resource id that private link links to." + }, + "requestMessage": { + "type": "string", + "description": "Request message." + }, + "status": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Pending", + "Approved", + "Rejected", + "Disconnected", + "Timeout" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Indicates whether the connection has been Approved/Rejected/Removed by the owner of the service." + } + }, + "description": "Properties of a shared private link resource." + }, + "Sku": { + "type": "object", + "properties": { + "name": { + "type": "string", + "description": "Name of the sku" + }, + "tier": { + "type": "string", + "description": "Tier of the sku like Basic or Enterprise" + } + }, + "description": "Sku of the resource" + }, + "SslConfiguration": { + "type": "object", + "properties": { + "cert": { + "type": "string", + "description": "Cert data" + }, + "cname": { + "type": "string", + "description": "CNAME of the cert" + }, + "key": { + "type": "string", + "description": "Key data" + }, + "leafDomainLabel": { + "type": "string", + "description": "Leaf domain label of public endpoint" + }, + "overwriteExistingDomain": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Indicates whether to overwrite existing domain label." + }, + "status": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Disabled", + "Enabled", + "Auto" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Enable or disable ssl for scoring." + } + }, + "description": "The ssl configuration for scoring" + }, + "SynapseSpark": { + "type": "object", + "properties": { + "computeType": { + "type": "string", + "enum": [ + "SynapseSpark" + ] + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/SynapseSparkProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ] + } + }, + "required": [ + "computeType" + ], + "description": "A SynapseSpark compute." + }, + "SynapseSparkProperties": { + "type": "object", + "properties": { + "autoPauseProperties": { + "oneOf": [ + { + "$ref": "#/definitions/AutoPauseProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Auto pause properties" + }, + "autoScaleProperties": { + "oneOf": [ + { + "$ref": "#/definitions/AutoScaleProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Auto scale properties" + }, + "nodeCount": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The number of compute nodes currently assigned to the compute." + }, + "nodeSize": { + "type": "string", + "description": "Node size." + }, + "nodeSizeFamily": { + "type": "string", + "description": "Node size family." + }, + "poolName": { + "type": "string", + "description": "Pool name." + }, + "resourceGroup": { + "type": "string", + "description": "Name of the resource group in which workspace is located." + }, + "sparkVersion": { + "type": "string", + "description": "Spark version." + }, + "subscriptionId": { + "type": "string", + "description": "Azure subscription identifier." + }, + "workspaceName": { + "type": "string", + "description": "Name of Azure Machine Learning workspace." + } + } + }, + "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." + }, + "UserAccountCredentials": { + "type": "object", + "properties": { + "adminUserName": { + "type": "string", + "description": "Name of the administrator user account which can be used to SSH to nodes." + }, + "adminUserPassword": { + "type": "string", + "description": "Password of the administrator user account." + }, + "adminUserSshPublicKey": { + "type": "string", + "description": "SSH public key of the administrator user account." + } + }, + "required": [ + "adminUserName" + ], + "description": "Settings for user account that gets created on each on the nodes of a compute." + }, + "UserAssignedIdentity": { + "type": "object", + "properties": {}, + "description": "User Assigned Identity" + }, + "VirtualMachine": { + "type": "object", + "properties": { + "computeType": { + "type": "string", + "enum": [ + "VirtualMachine" + ] + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/VirtualMachineProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ] + } + }, + "required": [ + "computeType" + ], + "description": "A Machine Learning compute based on Azure Virtual Machines." + }, + "VirtualMachineImage": { + "type": "object", + "properties": { + "id": { + "type": "string", + "description": "Virtual Machine image path" + } + }, + "required": [ + "id" + ], + "description": "Virtual Machine image for Windows AML Compute" + }, + "VirtualMachineProperties": { + "type": "object", + "properties": { + "address": { + "type": "string", + "description": "Public IP address of the virtual machine." + }, + "administratorAccount": { + "oneOf": [ + { + "$ref": "#/definitions/VirtualMachineSshCredentials" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Admin credentials for virtual machine" + }, + "isNotebookInstanceCompute": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Indicates whether this compute will be used for running notebooks." + }, + "sshPort": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Port open for ssh connections." + }, + "virtualMachineSize": { + "type": "string", + "description": "Virtual Machine size" + } + } + }, + "VirtualMachineSshCredentials": { + "type": "object", + "properties": { + "password": { + "type": "string", + "description": "Password of admin account" + }, + "privateKeyData": { + "type": "string", + "description": "Private key data" + }, + "publicKeyData": { + "type": "string", + "description": "Public key data" + }, + "username": { + "type": "string", + "description": "Username of admin account" + } + }, + "description": "Admin credentials for virtual machine" + }, + "WorkspaceConnectionProps": { + "type": "object", + "properties": { + "authType": { + "type": "string", + "description": "Authorization type of the workspace connection." + }, + "category": { + "type": "string", + "description": "Category of the workspace connection." + }, + "target": { + "type": "string", + "description": "Target of the workspace connection." + }, + "value": { + "type": "string", + "description": "Value details of the workspace connection." + }, + "valueFormat": { + "oneOf": [ + { + "type": "string", + "enum": [ + "JSON" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "format for the workspace connection value." + } + }, + "description": "Workspace Connection specific properties." + }, + "WorkspaceProperties": { + "type": "object", + "properties": { + "allowPublicAccessWhenBehindVnet": { + "oneOf": [ + { + "type": "boolean", + "default": false + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The flag to indicate whether to allow public access when behind VNet." + }, + "applicationInsights": { + "type": "string", + "description": "ARM id of the application insights associated with this workspace. This cannot be changed once the workspace has been created" + }, + "containerRegistry": { + "type": "string", + "description": "ARM id of the container registry associated with this workspace. This cannot be changed once the workspace has been created" + }, + "description": { + "type": "string", + "description": "The description of this workspace." + }, + "discoveryUrl": { + "type": "string", + "description": "Url for the discovery service to identify regional endpoints for machine learning experimentation services" + }, + "encryption": { + "oneOf": [ + { + "$ref": "#/definitions/EncryptionProperty" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ] + }, + "friendlyName": { + "type": "string", + "description": "The friendly name for this workspace. This name in mutable" + }, + "hbiWorkspace": { + "oneOf": [ + { + "type": "boolean", + "default": false + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The flag to signal HBI data in the workspace and reduce diagnostic data collected by the service" + }, + "imageBuildCompute": { + "type": "string", + "description": "The compute name for image build" + }, + "keyVault": { + "type": "string", + "description": "ARM id of the key vault associated with this workspace. This cannot be changed once the workspace has been created" + }, + "primaryUserAssignedIdentity": { + "type": "string", + "description": "The user assigned identity resource id that represents the workspace identity." + }, + "publicNetworkAccess": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Enabled", + "Disabled" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Whether requests from Public Network are allowed." + }, + "serviceManagedResourcesSettings": { + "oneOf": [ + { + "$ref": "#/definitions/ServiceManagedResourcesSettings" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ] + }, + "sharedPrivateLinkResources": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/SharedPrivateLinkResource" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The list of shared private link resources in this workspace." + }, + "storageAccount": { + "type": "string", + "description": "ARM id of the storage account associated with this workspace. This cannot be changed once the workspace has been created" + } + }, + "description": "The properties of a machine learning workspace." + }, + "workspaces_computes_childResource": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-07-01" + ] + }, + "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": "Specifies the location of the resource." + }, + "name": { + "type": "string", + "description": "Name of the Azure Machine Learning compute." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/Compute" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Machine Learning compute object." + }, + "sku": { + "oneOf": [ + { + "$ref": "#/definitions/Sku" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Sku of the 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": "Contains resource tags defined as key/value pairs." + }, + "type": { + "type": "string", + "enum": [ + "computes" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.MachineLearningServices/workspaces/computes" + }, + "workspaces_connections_childResource": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-07-01" + ] + }, + "name": { + "type": "string", + "description": "Friendly name of the workspace connection" + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/WorkspaceConnectionProps" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Workspace Connection specific properties." + }, + "type": { + "type": "string", + "enum": [ + "connections" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.MachineLearningServices/workspaces/connections" + }, + "workspaces_privateEndpointConnections_childResource": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-07-01" + ] + }, + "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": "Specifies the location of the resource." + }, + "name": { + "type": "string", + "description": "The name of the private endpoint connection associated with the workspace" + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/PrivateEndpointConnectionProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Properties of the PrivateEndpointConnectProperties." + }, + "sku": { + "oneOf": [ + { + "$ref": "#/definitions/Sku" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Sku of the 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": "Contains resource tags defined as key/value pairs." + }, + "type": { + "type": "string", + "enum": [ + "privateEndpointConnections" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.MachineLearningServices/workspaces/privateEndpointConnections" + } + } +} \ No newline at end of file diff --git a/schemas/common/autogeneratedResources.json b/schemas/common/autogeneratedResources.json index 3fa602a964..243d7c6793 100644 --- a/schemas/common/autogeneratedResources.json +++ b/schemas/common/autogeneratedResources.json @@ -6823,6 +6823,18 @@ { "$ref": "https://schema.management.azure.com/schemas/2021-04-01/Microsoft.MachineLearningServices.json#/resourceDefinitions/workspaces_services" }, + { + "$ref": "https://schema.management.azure.com/schemas/2021-07-01/Microsoft.MachineLearningServices.json#/resourceDefinitions/workspaces" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2021-07-01/Microsoft.MachineLearningServices.json#/resourceDefinitions/workspaces_computes" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2021-07-01/Microsoft.MachineLearningServices.json#/resourceDefinitions/workspaces_connections" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2021-07-01/Microsoft.MachineLearningServices.json#/resourceDefinitions/workspaces_privateEndpointConnections" + }, { "$ref": "https://schema.management.azure.com/schemas/2018-06-01-preview/Microsoft.Maintenance.json#/resourceDefinitions/maintenanceConfigurations" }, @@ -6883,12 +6895,6 @@ { "$ref": "https://schema.management.azure.com/schemas/2018-02-02/Microsoft.Migrate.json#/resourceDefinitions/projects_groups_assessments" }, - { - "$ref": "https://schema.management.azure.com/schemas/2018-09-01-preview/Microsoft.Migrate.json#/resourceDefinitions/migrateProjects" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2018-09-01-preview/Microsoft.Migrate.json#/resourceDefinitions/migrateProjects_solutions" - }, { "$ref": "https://schema.management.azure.com/schemas/2019-10-01/Microsoft.Migrate.json#/resourceDefinitions/assessmentProjects" }, @@ -6913,18 +6919,6 @@ { "$ref": "https://schema.management.azure.com/schemas/2019-10-01/Microsoft.Migrate.json#/resourceDefinitions/assessmentProjects_vmwarecollectors" }, - { - "$ref": "https://schema.management.azure.com/schemas/2019-10-01-preview/Microsoft.Migrate.json#/resourceDefinitions/moveCollections" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2019-10-01-preview/Microsoft.Migrate.json#/resourceDefinitions/moveCollections_moveResources" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2021-01-01/Microsoft.Migrate.json#/resourceDefinitions/moveCollections" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2021-01-01/Microsoft.Migrate.json#/resourceDefinitions/moveCollections_moveResources" - }, { "$ref": "https://schema.management.azure.com/schemas/2019-02-28-preview/Microsoft.MixedReality.json#/resourceDefinitions/spatialAnchorsAccounts" }, From 33abda1dbfed7ea8ed3eb33ef7a57086ddfec17e Mon Sep 17 00:00:00 2001 From: Autogenerator Pipeline Date: Fri, 30 Jul 2021 10:33:08 +0000 Subject: [PATCH 15/64] Autogenerate schemas --- .../subscriptionDeploymentTemplate.json | 9 + .../2018-09-01-preview/Microsoft.Migrate.json | 517 ++++++++ .../2019-06-01-preview/Microsoft.Synapse.json | 29 + .../2019-10-01-preview/Microsoft.Migrate.json | 1054 +++++++++++++++++ schemas/2020-12-01/Microsoft.Synapse.json | 4 - schemas/2021-01-01/Microsoft.Migrate.json | 1054 +++++++++++++++++ schemas/2021-03-01/Microsoft.Synapse.json | 4 - schemas/2021-05-01/Microsoft.Synapse.json | 4 - .../Microsoft.Authorization.Authz.json | 665 +++++++++++ schemas/common/autogeneratedResources.json | 18 + 10 files changed, 3346 insertions(+), 12 deletions(-) create mode 100644 schemas/2018-09-01-preview/Microsoft.Migrate.json create mode 100644 schemas/2019-10-01-preview/Microsoft.Migrate.json create mode 100644 schemas/2021-01-01/Microsoft.Migrate.json create mode 100644 schemas/2021-07-01-preview/Microsoft.Authorization.Authz.json diff --git a/schemas/2018-05-01/subscriptionDeploymentTemplate.json b/schemas/2018-05-01/subscriptionDeploymentTemplate.json index a2ea7ad574..e9e3454299 100644 --- a/schemas/2018-05-01/subscriptionDeploymentTemplate.json +++ b/schemas/2018-05-01/subscriptionDeploymentTemplate.json @@ -563,6 +563,15 @@ { "$ref": "https://schema.management.azure.com/schemas/2021-03-01-preview/Microsoft.Authorization.Authz.json#/subscription_resourceDefinitions/accessReviewScheduleSettings" }, + { + "$ref": "https://schema.management.azure.com/schemas/2021-07-01-preview/Microsoft.Authorization.Authz.json#/subscription_resourceDefinitions/accessReviewScheduleDefinitions" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2021-07-01-preview/Microsoft.Authorization.Authz.json#/subscription_resourceDefinitions/accessReviewScheduleDefinitions_instances" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2021-07-01-preview/Microsoft.Authorization.Authz.json#/subscription_resourceDefinitions/accessReviewScheduleSettings" + }, { "$ref": "https://schema.management.azure.com/schemas/2017-09-01/Microsoft.Authorization.json#/resourceDefinitions/roleAssignments" }, diff --git a/schemas/2018-09-01-preview/Microsoft.Migrate.json b/schemas/2018-09-01-preview/Microsoft.Migrate.json new file mode 100644 index 0000000000..074e3e9b7c --- /dev/null +++ b/schemas/2018-09-01-preview/Microsoft.Migrate.json @@ -0,0 +1,517 @@ +{ + "id": "https://schema.management.azure.com/schemas/2018-09-01-preview/Microsoft.Migrate.json#", + "$schema": "http://json-schema.org/draft-04/schema#", + "title": "Microsoft.Migrate", + "description": "Microsoft Migrate Resource Types", + "resourceDefinitions": { + "migrateProjects": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2018-09-01-preview" + ] + }, + "eTag": { + "type": "string", + "description": "Gets or sets the eTag for concurrency control." + }, + "location": { + "type": "string", + "description": "Gets or sets the Azure location in which migrate project is created." + }, + "name": { + "type": "string", + "description": "Name of the Azure Migrate project." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/MigrateProjectProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Class for migrate project properties." + }, + "resources": { + "type": "array", + "items": { + "oneOf": [ + { + "$ref": "#/definitions/migrateProjects_solutions_childResource" + } + ] + } + }, + "tags": { + "oneOf": [ + { + "$ref": "#/definitions/MigrateProjectTags" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Gets or sets the tags." + }, + "type": { + "type": "string", + "enum": [ + "Microsoft.Migrate/migrateProjects" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.Migrate/migrateProjects" + }, + "migrateProjects_solutions": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2018-09-01-preview" + ] + }, + "etag": { + "type": "string", + "description": "Gets or sets the ETAG for optimistic concurrency control." + }, + "name": { + "type": "string", + "description": "Unique name of a migration solution within a migrate project." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/SolutionProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Class for solution properties." + }, + "type": { + "type": "string", + "enum": [ + "Microsoft.Migrate/migrateProjects/solutions" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.Migrate/migrateProjects/solutions" + } + }, + "definitions": { + "DatabasesSolutionSummary": { + "type": "object", + "properties": { + "databaseInstancesAssessedCount": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Gets or sets the count of database instances assessed." + }, + "databasesAssessedCount": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Gets or sets the count of databases assessed." + }, + "instanceType": { + "type": "string", + "enum": [ + "Databases" + ] + }, + "migrationReadyCount": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Gets or sets the count of databases ready for migration." + } + }, + "required": [ + "instanceType" + ], + "description": "Class representing the databases solution summary." + }, + "MigrateProjectProperties": { + "type": "object", + "properties": { + "provisioningState": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Accepted", + "Creating", + "Deleting", + "Failed", + "Moving", + "Succeeded" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Provisioning state of the migrate project." + }, + "registeredTools": { + "oneOf": [ + { + "type": "array", + "items": { + "type": "string", + "enum": [ + "ServerDiscovery", + "ServerAssessment", + "ServerMigration", + "Cloudamize", + "Turbonomic", + "Zerto", + "CorentTech", + "ServerAssessmentV1", + "ServerMigration_Replication", + "Carbonite", + "DataMigrationAssistant", + "DatabaseMigrationService" + ] + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Gets or sets the list of tools registered with the migrate project." + } + }, + "description": "Class for migrate project properties." + }, + "migrateProjects_solutions_childResource": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2018-09-01-preview" + ] + }, + "etag": { + "type": "string", + "description": "Gets or sets the ETAG for optimistic concurrency control." + }, + "name": { + "type": "string", + "description": "Unique name of a migration solution within a migrate project." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/SolutionProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Class for solution properties." + }, + "type": { + "type": "string", + "enum": [ + "solutions" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.Migrate/migrateProjects/solutions" + }, + "MigrateProjectTags": { + "type": "object", + "properties": { + "additionalProperties": { + "type": "string" + } + }, + "description": "Gets or sets the tags." + }, + "ServersSolutionSummary": { + "type": "object", + "properties": { + "assessedCount": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Gets or sets the count of servers assessed." + }, + "discoveredCount": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Gets or sets the count of servers discovered." + }, + "instanceType": { + "type": "string", + "enum": [ + "Servers" + ] + }, + "migratedCount": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Gets or sets the count of servers migrated." + }, + "replicatingCount": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Gets or sets the count of servers being replicated." + }, + "testMigratedCount": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Gets or sets the count of servers test migrated." + } + }, + "required": [ + "instanceType" + ], + "description": "Class representing the servers solution summary." + }, + "SolutionDetails": { + "type": "object", + "properties": { + "assessmentCount": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Gets or sets the count of assessments reported by the solution." + }, + "extendedDetails": { + "oneOf": [ + { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "properties": {} + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Gets or sets the extended details reported by the solution." + }, + "groupCount": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Gets or sets the count of groups reported by the solution." + } + }, + "description": "Class representing the details of the solution." + }, + "SolutionProperties": { + "type": "object", + "properties": { + "cleanupState": { + "oneOf": [ + { + "type": "string", + "enum": [ + "None", + "Started", + "InProgress", + "Completed", + "Failed" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Gets or sets the cleanup state of the solution." + }, + "details": { + "oneOf": [ + { + "$ref": "#/definitions/SolutionDetails" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Class representing the details of the solution." + }, + "goal": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Servers", + "Databases" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Gets or sets the goal of the solution." + }, + "purpose": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Discovery", + "Assessment", + "Migration" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Gets or sets the purpose of the solution." + }, + "status": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Inactive", + "Active" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Gets or sets the current status of the solution." + }, + "summary": { + "oneOf": [ + { + "$ref": "#/definitions/SolutionSummary" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The solution summary class." + }, + "tool": { + "oneOf": [ + { + "type": "string", + "enum": [ + "ServerDiscovery", + "ServerAssessment", + "ServerMigration", + "Cloudamize", + "Turbonomic", + "Zerto", + "CorentTech", + "ServerAssessmentV1", + "ServerMigration_Replication", + "Carbonite", + "DataMigrationAssistant", + "DatabaseMigrationService" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Gets or sets the tool being used in the solution." + } + }, + "description": "Class for solution properties." + }, + "SolutionSummary": { + "type": "object", + "oneOf": [ + { + "$ref": "#/definitions/ServersSolutionSummary" + }, + { + "$ref": "#/definitions/DatabasesSolutionSummary" + } + ], + "properties": {}, + "description": "The solution summary class." + } + } +} \ No newline at end of file diff --git a/schemas/2019-06-01-preview/Microsoft.Synapse.json b/schemas/2019-06-01-preview/Microsoft.Synapse.json index 94b1fca17b..d646ac322f 100644 --- a/schemas/2019-06-01-preview/Microsoft.Synapse.json +++ b/schemas/2019-06-01-preview/Microsoft.Synapse.json @@ -2331,6 +2331,20 @@ ], "description": "The properties of the geo backup policy." }, + "GitHubClientSecret": { + "type": "object", + "properties": { + "byoaSecretAkvUrl": { + "type": "string", + "description": "Bring your own app client secret AKV URL" + }, + "byoaSecretName": { + "type": "string", + "description": "Bring your own app client secret name in AKV" + } + }, + "description": "Client secret information for factory's bring your own app repository configuration" + }, "IntegrationRuntime": { "type": "object", "oneOf": [ @@ -4241,6 +4255,21 @@ "type": "string", "description": "Account name" }, + "clientId": { + "type": "string", + "description": "GitHub bring your own app client id" + }, + "clientSecret": { + "oneOf": [ + { + "$ref": "#/definitions/GitHubClientSecret" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Client secret information for factory's bring your own app repository configuration" + }, "collaborationBranch": { "type": "string", "description": "Collaboration branch" diff --git a/schemas/2019-10-01-preview/Microsoft.Migrate.json b/schemas/2019-10-01-preview/Microsoft.Migrate.json new file mode 100644 index 0000000000..69d60e191b --- /dev/null +++ b/schemas/2019-10-01-preview/Microsoft.Migrate.json @@ -0,0 +1,1054 @@ +{ + "id": "https://schema.management.azure.com/schemas/2019-10-01-preview/Microsoft.Migrate.json#", + "$schema": "http://json-schema.org/draft-04/schema#", + "title": "Microsoft.Migrate", + "description": "Microsoft Migrate Resource Types", + "resourceDefinitions": { + "moveCollections": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2019-10-01-preview" + ] + }, + "identity": { + "oneOf": [ + { + "$ref": "#/definitions/Identity" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Defines the MSI properties of the Move Collection." + }, + "location": { + "type": "string", + "description": "The geo-location where the resource lives." + }, + "name": { + "type": "string", + "description": "The Move Collection Name." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/MoveCollectionProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Defines the move collection properties." + }, + "resources": { + "type": "array", + "items": { + "oneOf": [ + { + "$ref": "#/definitions/moveCollections_moveResources_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.Migrate/moveCollections" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.Migrate/moveCollections" + }, + "moveCollections_moveResources": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2019-10-01-preview" + ] + }, + "name": { + "type": "string", + "description": "The Move Resource Name." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/MoveResourceProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Defines the move resource properties." + }, + "type": { + "type": "string", + "enum": [ + "Microsoft.Migrate/moveCollections/moveResources" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.Migrate/moveCollections/moveResources" + } + }, + "definitions": { + "AvailabilitySetResourceSettings": { + "type": "object", + "properties": { + "faultDomain": { + "oneOf": [ + { + "type": "integer", + "minimum": 1 + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Gets or sets the target fault domain." + }, + "resourceType": { + "type": "string", + "enum": [ + "Microsoft.Compute/availabilitySets" + ] + }, + "updateDomain": { + "oneOf": [ + { + "type": "integer", + "minimum": 1, + "maximum": 20 + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Gets or sets the target update domain." + } + }, + "required": [ + "resourceType" + ], + "description": "Gets or sets the availability set resource settings." + }, + "DiskEncryptionSetResourceSettings": { + "type": "object", + "properties": { + "resourceType": { + "type": "string", + "enum": [ + "Microsoft.Compute/diskEncryptionSets" + ] + } + }, + "required": [ + "resourceType" + ], + "description": "Defines the disk encryption set resource settings." + }, + "Identity": { + "type": "object", + "properties": { + "principalId": { + "type": "string", + "description": "Gets or sets the principal id." + }, + "tenantId": { + "type": "string", + "description": "Gets or sets the tenant id." + }, + "type": { + "oneOf": [ + { + "type": "string", + "enum": [ + "None", + "SystemAssigned", + "UserAssigned" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ] + } + }, + "description": "Defines the MSI properties of the Move Collection." + }, + "KeyVaultResourceSettings": { + "type": "object", + "properties": { + "resourceType": { + "type": "string", + "enum": [ + "Microsoft.KeyVault/vaults" + ] + } + }, + "required": [ + "resourceType" + ], + "description": "Defines the key vault resource settings." + }, + "LBBackendAddressPoolResourceSettings": { + "type": "object", + "properties": { + "name": { + "type": "string", + "description": "Gets or sets the backend address pool name." + } + }, + "description": "Defines load balancer backend address pool properties." + }, + "LBFrontendIPConfigurationResourceSettings": { + "type": "object", + "properties": { + "name": { + "type": "string", + "description": "Gets or sets the frontend IP configuration name." + }, + "privateIpAddress": { + "type": "string", + "description": "Gets or sets the IP address of the Load Balancer.This is only specified if a specific\r\nprivate IP address shall be allocated from the subnet specified in subnetRef." + }, + "privateIpAllocationMethod": { + "type": "string", + "description": "Gets or sets PrivateIP allocation method (Static/Dynamic)." + }, + "subnet": { + "oneOf": [ + { + "$ref": "#/definitions/SubnetReference" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Defines reference to subnet." + }, + "zones": { + "type": "string", + "description": "Gets or sets the csv list of zones." + } + }, + "description": "Defines load balancer frontend IP configuration properties." + }, + "LoadBalancerBackendAddressPoolReference": { + "type": "object", + "properties": { + "name": { + "type": "string", + "description": "Gets the name of the proxy resource on the target side." + }, + "sourceArmResourceId": { + "type": "string", + "description": "Gets the ARM resource ID of the tracked resource being referenced." + } + }, + "required": [ + "sourceArmResourceId" + ], + "description": "Defines reference to load balancer backend address pools." + }, + "LoadBalancerNatRuleReference": { + "type": "object", + "properties": { + "name": { + "type": "string", + "description": "Gets the name of the proxy resource on the target side." + }, + "sourceArmResourceId": { + "type": "string", + "description": "Gets the ARM resource ID of the tracked resource being referenced." + } + }, + "required": [ + "sourceArmResourceId" + ], + "description": "Defines reference to load balancer NAT rules." + }, + "LoadBalancerResourceSettings": { + "type": "object", + "properties": { + "backendAddressPools": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/LBBackendAddressPoolResourceSettings" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Gets or sets the backend address pools of the load balancer." + }, + "frontendIPConfigurations": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/LBFrontendIPConfigurationResourceSettings" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Gets or sets the frontend IP configurations of the load balancer." + }, + "resourceType": { + "type": "string", + "enum": [ + "Microsoft.Network/loadBalancers" + ] + }, + "sku": { + "type": "string", + "description": "Gets or sets load balancer sku (Basic/Standard)." + }, + "zones": { + "type": "string", + "description": "Gets or sets the csv list of zones common for all frontend IP configurations. Note this is given\r\n precedence only if frontend IP configurations settings are not present." + } + }, + "required": [ + "resourceType" + ], + "description": "Defines the load balancer resource settings." + }, + "MoveCollectionProperties": { + "type": "object", + "properties": { + "provisioningState": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Succeeded", + "Updating", + "Creating", + "Failed" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ] + }, + "sourceRegion": { + "type": "string", + "description": "Gets or sets the source region." + }, + "targetRegion": { + "type": "string", + "description": "Gets or sets the target region." + } + }, + "required": [ + "sourceRegion", + "targetRegion" + ], + "description": "Defines the move collection properties." + }, + "moveCollections_moveResources_childResource": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2019-10-01-preview" + ] + }, + "name": { + "type": "string", + "description": "The Move Resource Name." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/MoveResourceProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Defines the move resource properties." + }, + "type": { + "type": "string", + "enum": [ + "moveResources" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.Migrate/moveCollections/moveResources" + }, + "MoveResourceDependencyOverride": { + "type": "object", + "properties": { + "id": { + "type": "string", + "description": "Gets or sets the ARM ID of the dependent resource." + }, + "targetId": { + "type": "string", + "description": "Gets or sets the resource ARM id of either the MoveResource or the resource ARM ID of\r\nthe dependent resource." + } + }, + "description": "Defines the dependency override of the move resource." + }, + "MoveResourceProperties": { + "type": "object", + "properties": { + "dependsOnOverrides": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/MoveResourceDependencyOverride" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Gets or sets the move resource dependencies overrides." + }, + "existingTargetId": { + "type": "string", + "description": "Gets or sets the existing target ARM Id of the resource." + }, + "provisioningState": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Succeeded", + "Updating", + "Creating", + "Failed" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ] + }, + "resourceSettings": { + "oneOf": [ + { + "$ref": "#/definitions/ResourceSettings" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Gets or sets the resource settings." + }, + "sourceId": { + "type": "string", + "description": "Gets or sets the Source ARM Id of the resource." + } + }, + "required": [ + "sourceId" + ], + "description": "Defines the move resource properties." + }, + "NetworkInterfaceResourceSettings": { + "type": "object", + "properties": { + "enableAcceleratedNetworking": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Gets or sets a value indicating whether accelerated networking is enabled." + }, + "ipConfigurations": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/NicIpConfigurationResourceSettings" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Gets or sets the IP configurations of the NIC." + }, + "resourceType": { + "type": "string", + "enum": [ + "Microsoft.Network/networkInterfaces" + ] + } + }, + "required": [ + "resourceType" + ], + "description": "Defines the network interface resource settings." + }, + "NetworkSecurityGroupResourceSettings": { + "type": "object", + "properties": { + "resourceType": { + "type": "string", + "enum": [ + "Microsoft.Network/networkSecurityGroups" + ] + }, + "securityRules": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/NsgSecurityRule" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Gets or sets Security rules of network security group." + } + }, + "required": [ + "resourceType" + ], + "description": "Defines the NSG resource settings." + }, + "NicIpConfigurationResourceSettings": { + "type": "object", + "properties": { + "loadBalancerBackendAddressPools": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/LoadBalancerBackendAddressPoolReference" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Gets or sets the references of the load balancer backend address pools." + }, + "loadBalancerNatRules": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/LoadBalancerNatRuleReference" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Gets or sets the references of the load balancer NAT rules." + }, + "name": { + "type": "string", + "description": "Gets or sets the IP configuration name." + }, + "primary": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Gets or sets a value indicating whether this IP configuration is the primary." + }, + "privateIpAddress": { + "type": "string", + "description": "Gets or sets the private IP address of the network interface IP Configuration." + }, + "privateIpAllocationMethod": { + "type": "string", + "description": "Gets or sets the private IP address allocation method." + }, + "publicIp": { + "oneOf": [ + { + "$ref": "#/definitions/PublicIpReference" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Defines reference to a public IP." + }, + "subnet": { + "oneOf": [ + { + "$ref": "#/definitions/SubnetReference" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Defines reference to subnet." + } + }, + "description": "Defines NIC IP configuration properties." + }, + "NsgReference": { + "type": "object", + "properties": { + "sourceArmResourceId": { + "type": "string", + "description": "Gets the ARM resource ID of the tracked resource being referenced." + } + }, + "required": [ + "sourceArmResourceId" + ], + "description": "Defines reference to NSG." + }, + "NsgSecurityRule": { + "type": "object", + "properties": { + "access": { + "type": "string", + "description": "Gets or sets whether network traffic is allowed or denied.\r\nPossible values are “Allow” and “Deny”." + }, + "description": { + "type": "string", + "description": "Gets or sets a description for this rule. Restricted to 140 chars." + }, + "destinationAddressPrefix": { + "type": "string", + "description": "Gets or sets destination address prefix. CIDR or source IP range.\r\n A “*” can also be used to match all source IPs. Default tags such\r\nas ‘VirtualNetwork’, ‘AzureLoadBalancer’ and ‘Internet’ can also be used." + }, + "destinationPortRange": { + "type": "string", + "description": "Gets or sets Destination Port or Range. Integer or range between\r\n0 and 65535. A “*” can also be used to match all ports." + }, + "direction": { + "type": "string", + "description": "Gets or sets the direction of the rule.InBound or Outbound. The\r\ndirection specifies if rule will be evaluated on incoming or outgoing traffic." + }, + "name": { + "type": "string", + "description": "Gets or sets the Security rule name." + }, + "priority": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Gets or sets the priority of the rule. The value can be between\r\n100 and 4096. The priority number must be unique for each rule in the collection.\r\nThe lower the priority number, the higher the priority of the rule." + }, + "protocol": { + "type": "string", + "description": "Gets or sets Network protocol this rule applies to. Can be Tcp, Udp or All(*)." + }, + "sourceAddressPrefix": { + "type": "string", + "description": "Gets or sets source address prefix. CIDR or source IP range. A\r\n“*” can also be used to match all source IPs. Default tags such as ‘VirtualNetwork’,\r\n‘AzureLoadBalancer’ and ‘Internet’ can also be used. If this is an ingress\r\nrule, specifies where network traffic originates from." + }, + "sourcePortRange": { + "type": "string", + "description": "Gets or sets Source Port or Range. Integer or range between 0 and\r\n65535. A “*” can also be used to match all ports." + } + }, + "description": "Security Rule data model for Network Security Groups." + }, + "PublicIPAddressResourceSettings": { + "type": "object", + "properties": { + "domainNameLabel": { + "type": "string", + "description": "Gets or sets the domain name label." + }, + "fqdn": { + "type": "string", + "description": "Gets or sets the fully qualified domain name." + }, + "publicIpAllocationMethod": { + "type": "string", + "description": "Gets or sets public IP allocation method." + }, + "resourceType": { + "type": "string", + "enum": [ + "Microsoft.Network/publicIPAddresses" + ] + }, + "sku": { + "type": "string", + "description": "Gets or sets public IP sku." + }, + "zones": { + "type": "string", + "description": "Gets or sets public IP zones." + } + }, + "required": [ + "resourceType" + ], + "description": "Defines the public IP address resource settings." + }, + "PublicIpReference": { + "type": "object", + "properties": { + "sourceArmResourceId": { + "type": "string", + "description": "Gets the ARM resource ID of the tracked resource being referenced." + } + }, + "required": [ + "sourceArmResourceId" + ], + "description": "Defines reference to a public IP." + }, + "ResourceGroupResourceSettings": { + "type": "object", + "properties": { + "resourceType": { + "type": "string", + "enum": [ + "resourceGroups" + ] + } + }, + "required": [ + "resourceType" + ], + "description": "Defines the resource group resource settings." + }, + "ResourceSettings": { + "type": "object", + "oneOf": [ + { + "$ref": "#/definitions/VirtualMachineResourceSettings" + }, + { + "$ref": "#/definitions/AvailabilitySetResourceSettings" + }, + { + "$ref": "#/definitions/VirtualNetworkResourceSettings" + }, + { + "$ref": "#/definitions/NetworkInterfaceResourceSettings" + }, + { + "$ref": "#/definitions/NetworkSecurityGroupResourceSettings" + }, + { + "$ref": "#/definitions/LoadBalancerResourceSettings" + }, + { + "$ref": "#/definitions/SqlServerResourceSettings" + }, + { + "$ref": "#/definitions/SqlElasticPoolResourceSettings" + }, + { + "$ref": "#/definitions/SqlDatabaseResourceSettings" + }, + { + "$ref": "#/definitions/ResourceGroupResourceSettings" + }, + { + "$ref": "#/definitions/PublicIPAddressResourceSettings" + }, + { + "$ref": "#/definitions/KeyVaultResourceSettings" + }, + { + "$ref": "#/definitions/DiskEncryptionSetResourceSettings" + } + ], + "properties": { + "targetResourceName": { + "type": "string", + "description": "Gets or sets the target Resource name." + } + }, + "required": [ + "targetResourceName" + ], + "description": "Gets or sets the resource settings." + }, + "SqlDatabaseResourceSettings": { + "type": "object", + "properties": { + "resourceType": { + "type": "string", + "enum": [ + "Microsoft.Sql/servers/databases" + ] + }, + "zoneRedundant": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Enable", + "Disable" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ] + } + }, + "required": [ + "resourceType" + ], + "description": "Defines the Sql Database resource settings." + }, + "SqlElasticPoolResourceSettings": { + "type": "object", + "properties": { + "resourceType": { + "type": "string", + "enum": [ + "Microsoft.Sql/servers/elasticPools" + ] + }, + "zoneRedundant": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Enable", + "Disable" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ] + } + }, + "required": [ + "resourceType" + ], + "description": "Defines the Sql ElasticPool resource settings." + }, + "SqlServerResourceSettings": { + "type": "object", + "properties": { + "resourceType": { + "type": "string", + "enum": [ + "Microsoft.Sql/servers" + ] + } + }, + "required": [ + "resourceType" + ], + "description": "Defines the SQL Server resource settings." + }, + "SubnetReference": { + "type": "object", + "properties": { + "name": { + "type": "string", + "description": "Gets the name of the proxy resource on the target side." + }, + "sourceArmResourceId": { + "type": "string", + "description": "Gets the ARM resource ID of the tracked resource being referenced." + } + }, + "required": [ + "sourceArmResourceId" + ], + "description": "Defines reference to subnet." + }, + "SubnetResourceSettings": { + "type": "object", + "properties": { + "addressPrefix": { + "type": "string", + "description": "Gets or sets address prefix for the subnet." + }, + "name": { + "type": "string", + "description": "Gets or sets the Subnet name." + }, + "networkSecurityGroup": { + "oneOf": [ + { + "$ref": "#/definitions/NsgReference" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Defines reference to NSG." + } + }, + "description": "Defines the virtual network subnets resource settings." + }, + "VirtualMachineResourceSettings": { + "type": "object", + "properties": { + "resourceType": { + "type": "string", + "enum": [ + "Microsoft.Compute/virtualMachines" + ] + }, + "targetAvailabilitySetId": { + "type": "string", + "description": "Gets or sets the target availability set id for virtual machines not in an availability set at source." + }, + "targetAvailabilityZone": { + "oneOf": [ + { + "type": "string", + "enum": [ + "1", + "2", + "3", + "NA" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Gets or sets the target availability zone." + }, + "targetVmSize": { + "type": "string", + "description": "Gets or sets the target virtual machine size." + } + }, + "required": [ + "resourceType" + ], + "description": "Gets or sets the virtual machine resource settings." + }, + "VirtualNetworkResourceSettings": { + "type": "object", + "properties": { + "addressSpace": { + "oneOf": [ + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Gets or sets the address prefixes for the virtual network." + }, + "dnsServers": { + "oneOf": [ + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Gets or sets DHCPOptions that contains an array of DNS servers available to VMs\r\ndeployed in the virtual network." + }, + "enableDdosProtection": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Gets or sets a value indicating whether gets or sets whether the\r\nDDOS protection should be switched on." + }, + "resourceType": { + "type": "string", + "enum": [ + "Microsoft.Network/virtualNetworks" + ] + }, + "subnets": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/SubnetResourceSettings" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Gets or sets List of subnets in a VirtualNetwork." + } + }, + "required": [ + "resourceType" + ], + "description": "Defines the virtual network resource settings." + } + } +} \ No newline at end of file diff --git a/schemas/2020-12-01/Microsoft.Synapse.json b/schemas/2020-12-01/Microsoft.Synapse.json index 970e365f3a..2a47fd77ea 100644 --- a/schemas/2020-12-01/Microsoft.Synapse.json +++ b/schemas/2020-12-01/Microsoft.Synapse.json @@ -2831,10 +2831,6 @@ "type": "string", "description": "The name of the subnet this integration runtime will join." }, - "subnetId": { - "type": "string", - "description": "The ID of subnet, to which this Azure-SSIS integration runtime will be joined." - }, "vNetId": { "type": "string", "description": "The ID of the VNet that this integration runtime will join." diff --git a/schemas/2021-01-01/Microsoft.Migrate.json b/schemas/2021-01-01/Microsoft.Migrate.json new file mode 100644 index 0000000000..0e45499ee6 --- /dev/null +++ b/schemas/2021-01-01/Microsoft.Migrate.json @@ -0,0 +1,1054 @@ +{ + "id": "https://schema.management.azure.com/schemas/2021-01-01/Microsoft.Migrate.json#", + "$schema": "http://json-schema.org/draft-04/schema#", + "title": "Microsoft.Migrate", + "description": "Microsoft Migrate Resource Types", + "resourceDefinitions": { + "moveCollections": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-01-01" + ] + }, + "identity": { + "oneOf": [ + { + "$ref": "#/definitions/Identity" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Defines the MSI properties of the Move Collection." + }, + "location": { + "type": "string", + "description": "The geo-location where the resource lives." + }, + "name": { + "type": "string", + "description": "The Move Collection Name." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/MoveCollectionProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Defines the move collection properties." + }, + "resources": { + "type": "array", + "items": { + "oneOf": [ + { + "$ref": "#/definitions/moveCollections_moveResources_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.Migrate/moveCollections" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.Migrate/moveCollections" + }, + "moveCollections_moveResources": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-01-01" + ] + }, + "name": { + "type": "string", + "description": "The Move Resource Name." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/MoveResourceProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Defines the move resource properties." + }, + "type": { + "type": "string", + "enum": [ + "Microsoft.Migrate/moveCollections/moveResources" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.Migrate/moveCollections/moveResources" + } + }, + "definitions": { + "AvailabilitySetResourceSettings": { + "type": "object", + "properties": { + "faultDomain": { + "oneOf": [ + { + "type": "integer", + "minimum": 1 + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Gets or sets the target fault domain." + }, + "resourceType": { + "type": "string", + "enum": [ + "Microsoft.Compute/availabilitySets" + ] + }, + "updateDomain": { + "oneOf": [ + { + "type": "integer", + "minimum": 1, + "maximum": 20 + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Gets or sets the target update domain." + } + }, + "required": [ + "resourceType" + ], + "description": "Gets or sets the availability set resource settings." + }, + "DiskEncryptionSetResourceSettings": { + "type": "object", + "properties": { + "resourceType": { + "type": "string", + "enum": [ + "Microsoft.Compute/diskEncryptionSets" + ] + } + }, + "required": [ + "resourceType" + ], + "description": "Defines the disk encryption set resource settings." + }, + "Identity": { + "type": "object", + "properties": { + "principalId": { + "type": "string", + "description": "Gets or sets the principal id." + }, + "tenantId": { + "type": "string", + "description": "Gets or sets the tenant id." + }, + "type": { + "oneOf": [ + { + "type": "string", + "enum": [ + "None", + "SystemAssigned", + "UserAssigned" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ] + } + }, + "description": "Defines the MSI properties of the Move Collection." + }, + "KeyVaultResourceSettings": { + "type": "object", + "properties": { + "resourceType": { + "type": "string", + "enum": [ + "Microsoft.KeyVault/vaults" + ] + } + }, + "required": [ + "resourceType" + ], + "description": "Defines the key vault resource settings." + }, + "LBBackendAddressPoolResourceSettings": { + "type": "object", + "properties": { + "name": { + "type": "string", + "description": "Gets or sets the backend address pool name." + } + }, + "description": "Defines load balancer backend address pool properties." + }, + "LBFrontendIPConfigurationResourceSettings": { + "type": "object", + "properties": { + "name": { + "type": "string", + "description": "Gets or sets the frontend IP configuration name." + }, + "privateIpAddress": { + "type": "string", + "description": "Gets or sets the IP address of the Load Balancer.This is only specified if a specific\r\nprivate IP address shall be allocated from the subnet specified in subnetRef." + }, + "privateIpAllocationMethod": { + "type": "string", + "description": "Gets or sets PrivateIP allocation method (Static/Dynamic)." + }, + "subnet": { + "oneOf": [ + { + "$ref": "#/definitions/SubnetReference" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Defines reference to subnet." + }, + "zones": { + "type": "string", + "description": "Gets or sets the csv list of zones." + } + }, + "description": "Defines load balancer frontend IP configuration properties." + }, + "LoadBalancerBackendAddressPoolReference": { + "type": "object", + "properties": { + "name": { + "type": "string", + "description": "Gets the name of the proxy resource on the target side." + }, + "sourceArmResourceId": { + "type": "string", + "description": "Gets the ARM resource ID of the tracked resource being referenced." + } + }, + "required": [ + "sourceArmResourceId" + ], + "description": "Defines reference to load balancer backend address pools." + }, + "LoadBalancerNatRuleReference": { + "type": "object", + "properties": { + "name": { + "type": "string", + "description": "Gets the name of the proxy resource on the target side." + }, + "sourceArmResourceId": { + "type": "string", + "description": "Gets the ARM resource ID of the tracked resource being referenced." + } + }, + "required": [ + "sourceArmResourceId" + ], + "description": "Defines reference to load balancer NAT rules." + }, + "LoadBalancerResourceSettings": { + "type": "object", + "properties": { + "backendAddressPools": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/LBBackendAddressPoolResourceSettings" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Gets or sets the backend address pools of the load balancer." + }, + "frontendIPConfigurations": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/LBFrontendIPConfigurationResourceSettings" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Gets or sets the frontend IP configurations of the load balancer." + }, + "resourceType": { + "type": "string", + "enum": [ + "Microsoft.Network/loadBalancers" + ] + }, + "sku": { + "type": "string", + "description": "Gets or sets load balancer sku (Basic/Standard)." + }, + "zones": { + "type": "string", + "description": "Gets or sets the csv list of zones common for all frontend IP configurations. Note this is given\r\n precedence only if frontend IP configurations settings are not present." + } + }, + "required": [ + "resourceType" + ], + "description": "Defines the load balancer resource settings." + }, + "MoveCollectionProperties": { + "type": "object", + "properties": { + "provisioningState": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Succeeded", + "Updating", + "Creating", + "Failed" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ] + }, + "sourceRegion": { + "type": "string", + "description": "Gets or sets the source region." + }, + "targetRegion": { + "type": "string", + "description": "Gets or sets the target region." + } + }, + "required": [ + "sourceRegion", + "targetRegion" + ], + "description": "Defines the move collection properties." + }, + "moveCollections_moveResources_childResource": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-01-01" + ] + }, + "name": { + "type": "string", + "description": "The Move Resource Name." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/MoveResourceProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Defines the move resource properties." + }, + "type": { + "type": "string", + "enum": [ + "moveResources" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.Migrate/moveCollections/moveResources" + }, + "MoveResourceDependencyOverride": { + "type": "object", + "properties": { + "id": { + "type": "string", + "description": "Gets or sets the ARM ID of the dependent resource." + }, + "targetId": { + "type": "string", + "description": "Gets or sets the resource ARM id of either the MoveResource or the resource ARM ID of\r\nthe dependent resource." + } + }, + "description": "Defines the dependency override of the move resource." + }, + "MoveResourceProperties": { + "type": "object", + "properties": { + "dependsOnOverrides": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/MoveResourceDependencyOverride" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Gets or sets the move resource dependencies overrides." + }, + "existingTargetId": { + "type": "string", + "description": "Gets or sets the existing target ARM Id of the resource." + }, + "provisioningState": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Succeeded", + "Updating", + "Creating", + "Failed" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ] + }, + "resourceSettings": { + "oneOf": [ + { + "$ref": "#/definitions/ResourceSettings" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Gets or sets the resource settings." + }, + "sourceId": { + "type": "string", + "description": "Gets or sets the Source ARM Id of the resource." + } + }, + "required": [ + "sourceId" + ], + "description": "Defines the move resource properties." + }, + "NetworkInterfaceResourceSettings": { + "type": "object", + "properties": { + "enableAcceleratedNetworking": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Gets or sets a value indicating whether accelerated networking is enabled." + }, + "ipConfigurations": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/NicIpConfigurationResourceSettings" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Gets or sets the IP configurations of the NIC." + }, + "resourceType": { + "type": "string", + "enum": [ + "Microsoft.Network/networkInterfaces" + ] + } + }, + "required": [ + "resourceType" + ], + "description": "Defines the network interface resource settings." + }, + "NetworkSecurityGroupResourceSettings": { + "type": "object", + "properties": { + "resourceType": { + "type": "string", + "enum": [ + "Microsoft.Network/networkSecurityGroups" + ] + }, + "securityRules": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/NsgSecurityRule" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Gets or sets Security rules of network security group." + } + }, + "required": [ + "resourceType" + ], + "description": "Defines the NSG resource settings." + }, + "NicIpConfigurationResourceSettings": { + "type": "object", + "properties": { + "loadBalancerBackendAddressPools": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/LoadBalancerBackendAddressPoolReference" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Gets or sets the references of the load balancer backend address pools." + }, + "loadBalancerNatRules": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/LoadBalancerNatRuleReference" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Gets or sets the references of the load balancer NAT rules." + }, + "name": { + "type": "string", + "description": "Gets or sets the IP configuration name." + }, + "primary": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Gets or sets a value indicating whether this IP configuration is the primary." + }, + "privateIpAddress": { + "type": "string", + "description": "Gets or sets the private IP address of the network interface IP Configuration." + }, + "privateIpAllocationMethod": { + "type": "string", + "description": "Gets or sets the private IP address allocation method." + }, + "publicIp": { + "oneOf": [ + { + "$ref": "#/definitions/PublicIpReference" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Defines reference to a public IP." + }, + "subnet": { + "oneOf": [ + { + "$ref": "#/definitions/SubnetReference" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Defines reference to subnet." + } + }, + "description": "Defines NIC IP configuration properties." + }, + "NsgReference": { + "type": "object", + "properties": { + "sourceArmResourceId": { + "type": "string", + "description": "Gets the ARM resource ID of the tracked resource being referenced." + } + }, + "required": [ + "sourceArmResourceId" + ], + "description": "Defines reference to NSG." + }, + "NsgSecurityRule": { + "type": "object", + "properties": { + "access": { + "type": "string", + "description": "Gets or sets whether network traffic is allowed or denied.\r\nPossible values are “Allow” and “Deny”." + }, + "description": { + "type": "string", + "description": "Gets or sets a description for this rule. Restricted to 140 chars." + }, + "destinationAddressPrefix": { + "type": "string", + "description": "Gets or sets destination address prefix. CIDR or source IP range.\r\n A “*” can also be used to match all source IPs. Default tags such\r\nas ‘VirtualNetwork’, ‘AzureLoadBalancer’ and ‘Internet’ can also be used." + }, + "destinationPortRange": { + "type": "string", + "description": "Gets or sets Destination Port or Range. Integer or range between\r\n0 and 65535. A “*” can also be used to match all ports." + }, + "direction": { + "type": "string", + "description": "Gets or sets the direction of the rule.InBound or Outbound. The\r\ndirection specifies if rule will be evaluated on incoming or outgoing traffic." + }, + "name": { + "type": "string", + "description": "Gets or sets the Security rule name." + }, + "priority": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Gets or sets the priority of the rule. The value can be between\r\n100 and 4096. The priority number must be unique for each rule in the collection.\r\nThe lower the priority number, the higher the priority of the rule." + }, + "protocol": { + "type": "string", + "description": "Gets or sets Network protocol this rule applies to. Can be Tcp, Udp or All(*)." + }, + "sourceAddressPrefix": { + "type": "string", + "description": "Gets or sets source address prefix. CIDR or source IP range. A\r\n“*” can also be used to match all source IPs. Default tags such as ‘VirtualNetwork’,\r\n‘AzureLoadBalancer’ and ‘Internet’ can also be used. If this is an ingress\r\nrule, specifies where network traffic originates from." + }, + "sourcePortRange": { + "type": "string", + "description": "Gets or sets Source Port or Range. Integer or range between 0 and\r\n65535. A “*” can also be used to match all ports." + } + }, + "description": "Security Rule data model for Network Security Groups." + }, + "PublicIPAddressResourceSettings": { + "type": "object", + "properties": { + "domainNameLabel": { + "type": "string", + "description": "Gets or sets the domain name label." + }, + "fqdn": { + "type": "string", + "description": "Gets or sets the fully qualified domain name." + }, + "publicIpAllocationMethod": { + "type": "string", + "description": "Gets or sets public IP allocation method." + }, + "resourceType": { + "type": "string", + "enum": [ + "Microsoft.Network/publicIPAddresses" + ] + }, + "sku": { + "type": "string", + "description": "Gets or sets public IP sku." + }, + "zones": { + "type": "string", + "description": "Gets or sets public IP zones." + } + }, + "required": [ + "resourceType" + ], + "description": "Defines the public IP address resource settings." + }, + "PublicIpReference": { + "type": "object", + "properties": { + "sourceArmResourceId": { + "type": "string", + "description": "Gets the ARM resource ID of the tracked resource being referenced." + } + }, + "required": [ + "sourceArmResourceId" + ], + "description": "Defines reference to a public IP." + }, + "ResourceGroupResourceSettings": { + "type": "object", + "properties": { + "resourceType": { + "type": "string", + "enum": [ + "resourceGroups" + ] + } + }, + "required": [ + "resourceType" + ], + "description": "Defines the resource group resource settings." + }, + "ResourceSettings": { + "type": "object", + "oneOf": [ + { + "$ref": "#/definitions/VirtualMachineResourceSettings" + }, + { + "$ref": "#/definitions/AvailabilitySetResourceSettings" + }, + { + "$ref": "#/definitions/VirtualNetworkResourceSettings" + }, + { + "$ref": "#/definitions/NetworkInterfaceResourceSettings" + }, + { + "$ref": "#/definitions/NetworkSecurityGroupResourceSettings" + }, + { + "$ref": "#/definitions/LoadBalancerResourceSettings" + }, + { + "$ref": "#/definitions/SqlServerResourceSettings" + }, + { + "$ref": "#/definitions/SqlElasticPoolResourceSettings" + }, + { + "$ref": "#/definitions/SqlDatabaseResourceSettings" + }, + { + "$ref": "#/definitions/ResourceGroupResourceSettings" + }, + { + "$ref": "#/definitions/PublicIPAddressResourceSettings" + }, + { + "$ref": "#/definitions/KeyVaultResourceSettings" + }, + { + "$ref": "#/definitions/DiskEncryptionSetResourceSettings" + } + ], + "properties": { + "targetResourceName": { + "type": "string", + "description": "Gets or sets the target Resource name." + } + }, + "required": [ + "targetResourceName" + ], + "description": "Gets or sets the resource settings." + }, + "SqlDatabaseResourceSettings": { + "type": "object", + "properties": { + "resourceType": { + "type": "string", + "enum": [ + "Microsoft.Sql/servers/databases" + ] + }, + "zoneRedundant": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Enable", + "Disable" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ] + } + }, + "required": [ + "resourceType" + ], + "description": "Defines the Sql Database resource settings." + }, + "SqlElasticPoolResourceSettings": { + "type": "object", + "properties": { + "resourceType": { + "type": "string", + "enum": [ + "Microsoft.Sql/servers/elasticPools" + ] + }, + "zoneRedundant": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Enable", + "Disable" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ] + } + }, + "required": [ + "resourceType" + ], + "description": "Defines the Sql ElasticPool resource settings." + }, + "SqlServerResourceSettings": { + "type": "object", + "properties": { + "resourceType": { + "type": "string", + "enum": [ + "Microsoft.Sql/servers" + ] + } + }, + "required": [ + "resourceType" + ], + "description": "Defines the SQL Server resource settings." + }, + "SubnetReference": { + "type": "object", + "properties": { + "name": { + "type": "string", + "description": "Gets the name of the proxy resource on the target side." + }, + "sourceArmResourceId": { + "type": "string", + "description": "Gets the ARM resource ID of the tracked resource being referenced." + } + }, + "required": [ + "sourceArmResourceId" + ], + "description": "Defines reference to subnet." + }, + "SubnetResourceSettings": { + "type": "object", + "properties": { + "addressPrefix": { + "type": "string", + "description": "Gets or sets address prefix for the subnet." + }, + "name": { + "type": "string", + "description": "Gets or sets the Subnet name." + }, + "networkSecurityGroup": { + "oneOf": [ + { + "$ref": "#/definitions/NsgReference" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Defines reference to NSG." + } + }, + "description": "Defines the virtual network subnets resource settings." + }, + "VirtualMachineResourceSettings": { + "type": "object", + "properties": { + "resourceType": { + "type": "string", + "enum": [ + "Microsoft.Compute/virtualMachines" + ] + }, + "targetAvailabilitySetId": { + "type": "string", + "description": "Gets or sets the target availability set id for virtual machines not in an availability set at source." + }, + "targetAvailabilityZone": { + "oneOf": [ + { + "type": "string", + "enum": [ + "1", + "2", + "3", + "NA" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Gets or sets the target availability zone." + }, + "targetVmSize": { + "type": "string", + "description": "Gets or sets the target virtual machine size." + } + }, + "required": [ + "resourceType" + ], + "description": "Gets or sets the virtual machine resource settings." + }, + "VirtualNetworkResourceSettings": { + "type": "object", + "properties": { + "addressSpace": { + "oneOf": [ + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Gets or sets the address prefixes for the virtual network." + }, + "dnsServers": { + "oneOf": [ + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Gets or sets DHCPOptions that contains an array of DNS servers available to VMs\r\ndeployed in the virtual network." + }, + "enableDdosProtection": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Gets or sets a value indicating whether gets or sets whether the\r\nDDOS protection should be switched on." + }, + "resourceType": { + "type": "string", + "enum": [ + "Microsoft.Network/virtualNetworks" + ] + }, + "subnets": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/SubnetResourceSettings" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Gets or sets List of subnets in a VirtualNetwork." + } + }, + "required": [ + "resourceType" + ], + "description": "Defines the virtual network resource settings." + } + } +} \ No newline at end of file diff --git a/schemas/2021-03-01/Microsoft.Synapse.json b/schemas/2021-03-01/Microsoft.Synapse.json index 68f6035581..a12193bce7 100644 --- a/schemas/2021-03-01/Microsoft.Synapse.json +++ b/schemas/2021-03-01/Microsoft.Synapse.json @@ -2831,10 +2831,6 @@ "type": "string", "description": "The name of the subnet this integration runtime will join." }, - "subnetId": { - "type": "string", - "description": "The ID of subnet, to which this Azure-SSIS integration runtime will be joined." - }, "vNetId": { "type": "string", "description": "The ID of the VNet that this integration runtime will join." diff --git a/schemas/2021-05-01/Microsoft.Synapse.json b/schemas/2021-05-01/Microsoft.Synapse.json index 9a106dd96a..db2c522864 100644 --- a/schemas/2021-05-01/Microsoft.Synapse.json +++ b/schemas/2021-05-01/Microsoft.Synapse.json @@ -2852,10 +2852,6 @@ "type": "string", "description": "The name of the subnet this integration runtime will join." }, - "subnetId": { - "type": "string", - "description": "The ID of subnet, to which this Azure-SSIS integration runtime will be joined." - }, "vNetId": { "type": "string", "description": "The ID of the VNet that this integration runtime will join." diff --git a/schemas/2021-07-01-preview/Microsoft.Authorization.Authz.json b/schemas/2021-07-01-preview/Microsoft.Authorization.Authz.json new file mode 100644 index 0000000000..49fd107f91 --- /dev/null +++ b/schemas/2021-07-01-preview/Microsoft.Authorization.Authz.json @@ -0,0 +1,665 @@ +{ + "id": "https://schema.management.azure.com/schemas/2021-07-01-preview/Microsoft.Authorization.Authz.json#", + "$schema": "http://json-schema.org/draft-04/schema#", + "title": "Microsoft.Authorization", + "description": "Microsoft Authorization Resource Types", + "resourceDefinitions": {}, + "subscription_resourceDefinitions": { + "accessReviewScheduleDefinitions": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-07-01-preview" + ] + }, + "backupReviewers": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/AccessReviewReviewer" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "This is the collection of backup reviewers." + }, + "descriptionForAdmins": { + "type": "string", + "description": "The description provided by the access review creator and visible to admins." + }, + "descriptionForReviewers": { + "type": "string", + "description": "The description provided by the access review creator to be shown to reviewers." + }, + "displayName": { + "type": "string", + "description": "The display name for the schedule definition." + }, + "instances": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/AccessReviewInstance" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "This is the collection of instances returned when one does an expand on it." + }, + "name": { + "type": "string", + "description": "The id of the access review schedule definition." + }, + "resources": { + "type": "array", + "items": { + "oneOf": [ + { + "$ref": "#/definitions/accessReviewScheduleDefinitions_instances_childResource" + } + ] + } + }, + "reviewers": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/AccessReviewReviewer" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "This is the collection of reviewers." + }, + "settings": { + "oneOf": [ + { + "$ref": "#/definitions/AccessReviewScheduleSettings" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Settings of an Access Review." + }, + "type": { + "type": "string", + "enum": [ + "Microsoft.Authorization/accessReviewScheduleDefinitions" + ] + } + }, + "required": [ + "apiVersion", + "name", + "type" + ], + "description": "Microsoft.Authorization/accessReviewScheduleDefinitions" + }, + "accessReviewScheduleDefinitions_instances": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-07-01-preview" + ] + }, + "backupReviewers": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/AccessReviewReviewer" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "This is the collection of backup reviewers." + }, + "endDateTime": { + "type": "string", + "description": "The DateTime when the review instance is scheduled to end." + }, + "name": { + "type": "string", + "description": "The id of the access review instance." + }, + "reviewers": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/AccessReviewReviewer" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "This is the collection of reviewers." + }, + "startDateTime": { + "type": "string", + "description": "The DateTime when the review instance is scheduled to be start." + }, + "type": { + "type": "string", + "enum": [ + "Microsoft.Authorization/accessReviewScheduleDefinitions/instances" + ] + } + }, + "required": [ + "apiVersion", + "name", + "type" + ], + "description": "Microsoft.Authorization/accessReviewScheduleDefinitions/instances" + }, + "accessReviewScheduleSettings": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-07-01-preview" + ] + }, + "autoApplyDecisionsEnabled": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Flag to indicate whether auto-apply capability, to automatically change the target object access resource, is enabled. If not enabled, a user must, after the review completes, apply the access review." + }, + "defaultDecision": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Approve", + "Deny", + "Recommendation" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "This specifies the behavior for the autoReview feature when an access review completes." + }, + "defaultDecisionEnabled": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Flag to indicate whether reviewers are required to provide a justification when reviewing access." + }, + "instanceDurationInDays": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The duration in days for an instance." + }, + "justificationRequiredOnApproval": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Flag to indicate whether the reviewer is required to pass justification when recording a decision." + }, + "mailNotificationsEnabled": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Flag to indicate whether sending mails to reviewers and the review creator is enabled." + }, + "name": { + "type": "string", + "enum": [ + "default" + ] + }, + "recommendationLookBackDuration": { + "type": "string", + "description": "Recommendations for access reviews are calculated by looking back at 30 days of data(w.r.t the start date of the review) by default. However, in some scenarios, customers want to change how far back to look at and want to configure 60 days, 90 days, etc. instead. This setting allows customers to configure this duration. The value should be in ISO 8601 format (http://en.wikipedia.org/wiki/ISO_8601#Durations).This code can be used to convert TimeSpan to a valid interval string: XmlConvert.ToString(new TimeSpan(hours, minutes, seconds))" + }, + "recommendationsEnabled": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Flag to indicate whether showing recommendations to reviewers is enabled." + }, + "recurrence": { + "oneOf": [ + { + "$ref": "#/definitions/AccessReviewRecurrenceSettings" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Recurrence Settings of an Access Review Schedule Definition." + }, + "reminderNotificationsEnabled": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Flag to indicate whether sending reminder emails to reviewers are enabled." + }, + "type": { + "type": "string", + "enum": [ + "Microsoft.Authorization/accessReviewScheduleSettings" + ] + } + }, + "required": [ + "apiVersion", + "name", + "type" + ], + "description": "Microsoft.Authorization/accessReviewScheduleSettings" + } + }, + "definitions": { + "AccessReviewInstance": { + "type": "object", + "properties": { + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/AccessReviewInstanceProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Access Review Instance properties." + } + }, + "description": "Access Review Instance." + }, + "AccessReviewInstanceProperties": { + "type": "object", + "properties": { + "backupReviewers": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/AccessReviewReviewer" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "This is the collection of backup reviewers." + }, + "endDateTime": { + "type": "string", + "format": "date-time", + "description": "The DateTime when the review instance is scheduled to end." + }, + "reviewers": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/AccessReviewReviewer" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "This is the collection of reviewers." + }, + "startDateTime": { + "type": "string", + "format": "date-time", + "description": "The DateTime when the review instance is scheduled to be start." + } + }, + "description": "Access Review Instance properties." + }, + "AccessReviewRecurrencePattern": { + "type": "object", + "properties": { + "interval": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The interval for recurrence. For a quarterly review, the interval is 3 for type : absoluteMonthly." + }, + "type": { + "oneOf": [ + { + "type": "string", + "enum": [ + "weekly", + "absoluteMonthly" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The recurrence type : weekly, monthly, etc." + } + }, + "description": "Recurrence Pattern of an Access Review Schedule Definition." + }, + "AccessReviewRecurrenceRange": { + "type": "object", + "properties": { + "endDate": { + "type": "string", + "format": "date-time", + "description": "The DateTime when the review is scheduled to end. Required if type is endDate" + }, + "numberOfOccurrences": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The number of times to repeat the access review. Required and must be positive if type is numbered." + }, + "startDate": { + "type": "string", + "format": "date-time", + "description": "The DateTime when the review is scheduled to be start. This could be a date in the future. Required on create." + }, + "type": { + "oneOf": [ + { + "type": "string", + "enum": [ + "endDate", + "noEnd", + "numbered" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The recurrence range type. The possible values are: endDate, noEnd, numbered." + } + }, + "description": "Recurrence Range of an Access Review Schedule Definition." + }, + "AccessReviewRecurrenceSettings": { + "type": "object", + "properties": { + "pattern": { + "oneOf": [ + { + "$ref": "#/definitions/AccessReviewRecurrencePattern" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Recurrence Pattern of an Access Review Schedule Definition." + }, + "range": { + "oneOf": [ + { + "$ref": "#/definitions/AccessReviewRecurrenceRange" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Recurrence Range of an Access Review Schedule Definition." + } + }, + "description": "Recurrence Settings of an Access Review Schedule Definition." + }, + "AccessReviewReviewer": { + "type": "object", + "properties": { + "principalId": { + "type": "string", + "description": "The id of the reviewer(user/servicePrincipal)" + } + }, + "description": "Descriptor for what needs to be reviewed" + }, + "accessReviewScheduleDefinitions_instances_childResource": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-07-01-preview" + ] + }, + "backupReviewers": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/AccessReviewReviewer" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "This is the collection of backup reviewers." + }, + "endDateTime": { + "type": "string", + "description": "The DateTime when the review instance is scheduled to end." + }, + "name": { + "type": "string", + "description": "The id of the access review instance." + }, + "reviewers": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/AccessReviewReviewer" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "This is the collection of reviewers." + }, + "startDateTime": { + "type": "string", + "description": "The DateTime when the review instance is scheduled to be start." + }, + "type": { + "type": "string", + "enum": [ + "instances" + ] + } + }, + "required": [ + "apiVersion", + "name", + "type" + ], + "description": "Microsoft.Authorization/accessReviewScheduleDefinitions/instances" + }, + "AccessReviewScheduleSettings": { + "type": "object", + "properties": { + "autoApplyDecisionsEnabled": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Flag to indicate whether auto-apply capability, to automatically change the target object access resource, is enabled. If not enabled, a user must, after the review completes, apply the access review." + }, + "defaultDecision": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Approve", + "Deny", + "Recommendation" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "This specifies the behavior for the autoReview feature when an access review completes." + }, + "defaultDecisionEnabled": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Flag to indicate whether reviewers are required to provide a justification when reviewing access." + }, + "instanceDurationInDays": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The duration in days for an instance." + }, + "justificationRequiredOnApproval": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Flag to indicate whether the reviewer is required to pass justification when recording a decision." + }, + "mailNotificationsEnabled": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Flag to indicate whether sending mails to reviewers and the review creator is enabled." + }, + "recommendationLookBackDuration": { + "type": "string", + "format": "duration", + "description": "Recommendations for access reviews are calculated by looking back at 30 days of data(w.r.t the start date of the review) by default. However, in some scenarios, customers want to change how far back to look at and want to configure 60 days, 90 days, etc. instead. This setting allows customers to configure this duration. The value should be in ISO 8601 format (http://en.wikipedia.org/wiki/ISO_8601#Durations).This code can be used to convert TimeSpan to a valid interval string: XmlConvert.ToString(new TimeSpan(hours, minutes, seconds))" + }, + "recommendationsEnabled": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Flag to indicate whether showing recommendations to reviewers is enabled." + }, + "recurrence": { + "oneOf": [ + { + "$ref": "#/definitions/AccessReviewRecurrenceSettings" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Recurrence Settings of an Access Review Schedule Definition." + }, + "reminderNotificationsEnabled": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Flag to indicate whether sending reminder emails to reviewers are enabled." + } + }, + "description": "Settings of an Access Review." + } + } +} \ No newline at end of file diff --git a/schemas/common/autogeneratedResources.json b/schemas/common/autogeneratedResources.json index 243d7c6793..32f6c79e5d 100644 --- a/schemas/common/autogeneratedResources.json +++ b/schemas/common/autogeneratedResources.json @@ -6895,6 +6895,12 @@ { "$ref": "https://schema.management.azure.com/schemas/2018-02-02/Microsoft.Migrate.json#/resourceDefinitions/projects_groups_assessments" }, + { + "$ref": "https://schema.management.azure.com/schemas/2018-09-01-preview/Microsoft.Migrate.json#/resourceDefinitions/migrateProjects" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2018-09-01-preview/Microsoft.Migrate.json#/resourceDefinitions/migrateProjects_solutions" + }, { "$ref": "https://schema.management.azure.com/schemas/2019-10-01/Microsoft.Migrate.json#/resourceDefinitions/assessmentProjects" }, @@ -6919,6 +6925,18 @@ { "$ref": "https://schema.management.azure.com/schemas/2019-10-01/Microsoft.Migrate.json#/resourceDefinitions/assessmentProjects_vmwarecollectors" }, + { + "$ref": "https://schema.management.azure.com/schemas/2019-10-01-preview/Microsoft.Migrate.json#/resourceDefinitions/moveCollections" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2019-10-01-preview/Microsoft.Migrate.json#/resourceDefinitions/moveCollections_moveResources" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2021-01-01/Microsoft.Migrate.json#/resourceDefinitions/moveCollections" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2021-01-01/Microsoft.Migrate.json#/resourceDefinitions/moveCollections_moveResources" + }, { "$ref": "https://schema.management.azure.com/schemas/2019-02-28-preview/Microsoft.MixedReality.json#/resourceDefinitions/spatialAnchorsAccounts" }, From d20b36fdb2b51376c8e5f46f60cedaf01c1ef786 Mon Sep 17 00:00:00 2001 From: Autogenerator Pipeline Date: Fri, 30 Jul 2021 13:20:19 +0000 Subject: [PATCH 16/64] Autogenerate schemas --- .../Microsoft.KeyVault.json | 2084 +++++++++++++++++ schemas/common/autogeneratedResources.json | 21 + 2 files changed, 2105 insertions(+) create mode 100644 schemas/2021-06-01-preview/Microsoft.KeyVault.json diff --git a/schemas/2021-06-01-preview/Microsoft.KeyVault.json b/schemas/2021-06-01-preview/Microsoft.KeyVault.json new file mode 100644 index 0000000000..7dc0b6bd4e --- /dev/null +++ b/schemas/2021-06-01-preview/Microsoft.KeyVault.json @@ -0,0 +1,2084 @@ +{ + "id": "https://schema.management.azure.com/schemas/2021-06-01-preview/Microsoft.KeyVault.json#", + "$schema": "http://json-schema.org/draft-04/schema#", + "title": "Microsoft.KeyVault", + "description": "Microsoft KeyVault Resource Types", + "resourceDefinitions": { + "managedHSMs": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-06-01-preview" + ] + }, + "location": { + "type": "string", + "description": "The supported Azure location where the managed HSM Pool should be created." + }, + "name": { + "type": "string", + "description": "Name of the managed HSM Pool" + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/ManagedHsmProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Properties of the managed HSM Pool" + }, + "resources": { + "type": "array", + "items": { + "oneOf": [ + { + "$ref": "#/definitions/managedHSMs_privateEndpointConnections_childResource" + } + ] + } + }, + "sku": { + "oneOf": [ + { + "$ref": "#/definitions/ManagedHsmSku" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "SKU details" + }, + "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 key vault 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.KeyVault/managedHSMs" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.KeyVault/managedHSMs" + }, + "managedHSMs_privateEndpointConnections": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-06-01-preview" + ] + }, + "etag": { + "type": "string", + "description": "Modified whenever there is a change in the state of private endpoint connection." + }, + "location": { + "type": "string", + "description": "The supported Azure location where the managed HSM Pool should be created." + }, + "name": { + "type": "string", + "description": "Name of the private endpoint connection associated with the managed hsm pool." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/MHSMPrivateEndpointConnectionProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Properties of the private endpoint connection resource." + }, + "sku": { + "oneOf": [ + { + "$ref": "#/definitions/ManagedHsmSku" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "SKU details" + }, + "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 key vault 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.KeyVault/managedHSMs/privateEndpointConnections" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.KeyVault/managedHSMs/privateEndpointConnections" + }, + "vaults": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-06-01-preview" + ] + }, + "location": { + "type": "string", + "description": "The supported Azure location where the key vault should be created." + }, + "name": { + "oneOf": [ + { + "type": "string", + "pattern": "^[a-zA-Z0-9-]{3,24}$" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Name of the vault" + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/VaultProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Properties of the vault" + }, + "resources": { + "type": "array", + "items": { + "oneOf": [ + { + "$ref": "#/definitions/vaults_keys_childResource" + }, + { + "$ref": "#/definitions/vaults_accessPolicies_childResource" + }, + { + "$ref": "#/definitions/vaults_privateEndpointConnections_childResource" + }, + { + "$ref": "#/definitions/vaults_secrets_childResource" + } + ] + } + }, + "tags": { + "oneOf": [ + { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "properties": {} + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The tags that will be assigned to the key vault." + }, + "type": { + "type": "string", + "enum": [ + "Microsoft.KeyVault/vaults" + ] + } + }, + "required": [ + "apiVersion", + "location", + "name", + "properties", + "type" + ], + "description": "Microsoft.KeyVault/vaults" + }, + "vaults_accessPolicies": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-06-01-preview" + ] + }, + "name": { + "oneOf": [ + { + "type": "string", + "enum": [ + "add", + "replace", + "remove" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Name of the operation." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/VaultAccessPolicyProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Properties of the vault access policy" + }, + "type": { + "type": "string", + "enum": [ + "Microsoft.KeyVault/vaults/accessPolicies" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.KeyVault/vaults/accessPolicies" + }, + "vaults_keys": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-06-01-preview" + ] + }, + "name": { + "oneOf": [ + { + "type": "string", + "pattern": "^[a-zA-Z0-9-]{1,127}$" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The name of the key to be created." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/KeyProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The properties of the key." + }, + "tags": { + "oneOf": [ + { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "properties": {} + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The tags that will be assigned to the key." + }, + "type": { + "type": "string", + "enum": [ + "Microsoft.KeyVault/vaults/keys" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.KeyVault/vaults/keys" + }, + "vaults_privateEndpointConnections": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-06-01-preview" + ] + }, + "etag": { + "type": "string", + "description": "Modified whenever there is a change in the state of private endpoint connection." + }, + "name": { + "type": "string", + "description": "Name of the private endpoint connection associated with the key vault." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/PrivateEndpointConnectionProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Properties of the private endpoint connection resource." + }, + "type": { + "type": "string", + "enum": [ + "Microsoft.KeyVault/vaults/privateEndpointConnections" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.KeyVault/vaults/privateEndpointConnections" + }, + "vaults_secrets": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-06-01-preview" + ] + }, + "name": { + "oneOf": [ + { + "type": "string", + "pattern": "^[a-zA-Z0-9-]{1,127}$" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Name of the secret" + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/SecretProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Properties of the secret" + }, + "tags": { + "oneOf": [ + { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "properties": {} + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The tags that will be assigned to the secret. " + }, + "type": { + "type": "string", + "enum": [ + "Microsoft.KeyVault/vaults/secrets" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.KeyVault/vaults/secrets" + } + }, + "definitions": { + "AccessPolicyEntry": { + "type": "object", + "properties": { + "applicationId": { + "oneOf": [ + { + "type": "string", + "pattern": "^[0-9a-fA-F]{8}(-[0-9a-fA-F]{4}){3}-[0-9a-fA-F]{12}$" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": " Application ID of the client making request on behalf of a principal" + }, + "objectId": { + "type": "string", + "description": "The object ID of a user, service principal or security group in the Azure Active Directory tenant for the vault. The object ID must be unique for the list of access policies." + }, + "permissions": { + "oneOf": [ + { + "$ref": "#/definitions/Permissions" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Permissions the identity has for keys, secrets, certificates and storage." + }, + "tenantId": { + "oneOf": [ + { + "type": "string", + "pattern": "^[0-9a-fA-F]{8}(-[0-9a-fA-F]{4}){3}-[0-9a-fA-F]{12}$" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The Azure Active Directory tenant ID that should be used for authenticating requests to the key vault." + } + }, + "required": [ + "objectId", + "permissions", + "tenantId" + ], + "description": "An identity that have access to the key vault. All identities in the array must use the same tenant ID as the key vault's tenant ID." + }, + "Action": { + "type": "object", + "properties": { + "type": { + "oneOf": [ + { + "type": "string", + "enum": [ + "rotate", + "notify" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The type of action." + } + } + }, + "IPRule": { + "type": "object", + "properties": { + "value": { + "type": "string", + "description": "An IPv4 address range in CIDR notation, such as '124.56.78.91' (simple IP address) or '124.56.78.0/24' (all addresses that start with 124.56.78)." + } + }, + "required": [ + "value" + ], + "description": "A rule governing the accessibility of a vault from a specific ip address or ip range." + }, + "KeyAttributes": { + "type": "object", + "properties": { + "enabled": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Determines whether or not the object is enabled." + }, + "exp": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Expiry date in seconds since 1970-01-01T00:00:00Z." + }, + "nbf": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Not before date in seconds since 1970-01-01T00:00:00Z." + } + }, + "description": "The object attributes managed by the Azure Key Vault service." + }, + "KeyProperties": { + "type": "object", + "properties": { + "attributes": { + "oneOf": [ + { + "$ref": "#/definitions/KeyAttributes" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The object attributes managed by the Azure Key Vault service." + }, + "curveName": { + "oneOf": [ + { + "type": "string", + "enum": [ + "P-256", + "P-384", + "P-521", + "P-256K" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The elliptic curve name. For valid values, see JsonWebKeyCurveName." + }, + "keyOps": { + "oneOf": [ + { + "type": "array", + "items": { + "type": "string", + "enum": [ + "encrypt", + "decrypt", + "sign", + "verify", + "wrapKey", + "unwrapKey", + "import" + ] + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ] + }, + "keySize": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The key size in bits. For example: 2048, 3072, or 4096 for RSA." + }, + "kty": { + "oneOf": [ + { + "type": "string", + "enum": [ + "EC", + "EC-HSM", + "RSA", + "RSA-HSM" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The type of the key. For valid values, see JsonWebKeyType." + }, + "rotationPolicy": { + "oneOf": [ + { + "$ref": "#/definitions/RotationPolicy" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ] + } + }, + "description": "The properties of the key." + }, + "KeyRotationPolicyAttributes": { + "type": "object", + "properties": { + "expiryTime": { + "type": "string", + "description": "The expiration time for the new key version. It should be in ISO8601 format. Eg: 'P90D', 'P1Y'." + } + } + }, + "LifetimeAction": { + "type": "object", + "properties": { + "action": { + "oneOf": [ + { + "$ref": "#/definitions/Action" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ] + }, + "trigger": { + "oneOf": [ + { + "$ref": "#/definitions/Trigger" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ] + } + } + }, + "ManagedHsmProperties": { + "type": "object", + "properties": { + "createMode": { + "oneOf": [ + { + "type": "string", + "enum": [ + "recover", + "default" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The create mode to indicate whether the resource is being created or is being recovered from a deleted resource." + }, + "enablePurgeProtection": { + "oneOf": [ + { + "type": "boolean", + "default": true + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Property specifying whether protection against purge is enabled for this managed HSM pool. Setting this property to true activates protection against purge for this managed HSM pool and its content - only the Managed HSM service may initiate a hard, irrecoverable deletion. The setting is effective only if soft delete is also enabled. Enabling this functionality is irreversible." + }, + "enableSoftDelete": { + "oneOf": [ + { + "type": "boolean", + "default": true + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Property to specify whether the 'soft delete' functionality is enabled for this managed HSM pool. If it's not set to any value(true or false) when creating new managed HSM pool, it will be set to true by default. Once set to true, it cannot be reverted to false." + }, + "initialAdminObjectIds": { + "oneOf": [ + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Array of initial administrators object ids for this managed hsm pool." + }, + "networkAcls": { + "oneOf": [ + { + "$ref": "#/definitions/MHSMNetworkRuleSet" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "A set of rules governing the network accessibility of a managed hsm pool." + }, + "publicNetworkAccess": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Enabled", + "Disabled" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Control permission for data plane traffic coming from public networks while private endpoint is enabled." + }, + "softDeleteRetentionInDays": { + "oneOf": [ + { + "type": "integer", + "default": "90" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "softDelete data retention days. It accepts >=7 and <=90." + }, + "tenantId": { + "oneOf": [ + { + "type": "string", + "pattern": "^[0-9a-fA-F]{8}(-[0-9a-fA-F]{4}){3}-[0-9a-fA-F]{12}$" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The Azure Active Directory tenant ID that should be used for authenticating requests to the managed HSM pool." + } + }, + "description": "Properties of the managed HSM Pool" + }, + "ManagedHsmSku": { + "type": "object", + "properties": { + "family": { + "oneOf": [ + { + "type": "string", + "enum": [ + "B" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "SKU Family of the managed HSM Pool" + }, + "name": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Standard_B1", + "Custom_B32" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "SKU of the managed HSM Pool." + } + }, + "required": [ + "family", + "name" + ], + "description": "SKU details" + }, + "managedHSMs_privateEndpointConnections_childResource": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-06-01-preview" + ] + }, + "etag": { + "type": "string", + "description": "Modified whenever there is a change in the state of private endpoint connection." + }, + "location": { + "type": "string", + "description": "The supported Azure location where the managed HSM Pool should be created." + }, + "name": { + "type": "string", + "description": "Name of the private endpoint connection associated with the managed hsm pool." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/MHSMPrivateEndpointConnectionProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Properties of the private endpoint connection resource." + }, + "sku": { + "oneOf": [ + { + "$ref": "#/definitions/ManagedHsmSku" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "SKU details" + }, + "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 key vault 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": [ + "privateEndpointConnections" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.KeyVault/managedHSMs/privateEndpointConnections" + }, + "MHSMIPRule": { + "type": "object", + "properties": { + "value": { + "type": "string", + "description": "An IPv4 address range in CIDR notation, such as '124.56.78.91' (simple IP address) or '124.56.78.0/24' (all addresses that start with 124.56.78)." + } + }, + "required": [ + "value" + ], + "description": "A rule governing the accessibility of a managed hsm pool from a specific ip address or ip range." + }, + "MHSMNetworkRuleSet": { + "type": "object", + "properties": { + "bypass": { + "oneOf": [ + { + "type": "string", + "enum": [ + "AzureServices", + "None" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Tells what traffic can bypass network rules. This can be 'AzureServices' or 'None'. If not specified the default is 'AzureServices'." + }, + "defaultAction": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Allow", + "Deny" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The default action when no rule from ipRules and from virtualNetworkRules match. This is only used after the bypass property has been evaluated." + }, + "ipRules": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/MHSMIPRule" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The list of IP address rules." + }, + "virtualNetworkRules": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/MHSMVirtualNetworkRule" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The list of virtual network rules." + } + }, + "description": "A set of rules governing the network accessibility of a managed hsm pool." + }, + "MHSMPrivateEndpoint": { + "type": "object", + "properties": {}, + "description": "Private endpoint object properties." + }, + "MHSMPrivateEndpointConnectionProperties": { + "type": "object", + "properties": { + "privateEndpoint": { + "oneOf": [ + { + "$ref": "#/definitions/MHSMPrivateEndpoint" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Private endpoint object properties." + }, + "privateLinkServiceConnectionState": { + "oneOf": [ + { + "$ref": "#/definitions/MHSMPrivateLinkServiceConnectionState" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "An object that represents the approval state of the private link connection." + }, + "provisioningState": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Succeeded", + "Creating", + "Updating", + "Deleting", + "Failed", + "Disconnected" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Provisioning state of the private endpoint connection." + } + }, + "description": "Properties of the private endpoint connection resource." + }, + "MHSMPrivateLinkServiceConnectionState": { + "type": "object", + "properties": { + "actionsRequired": { + "oneOf": [ + { + "type": "string", + "enum": [ + "None" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "A message indicating if changes on the service provider require any updates on the consumer." + }, + "description": { + "type": "string", + "description": "The reason for approval or rejection." + }, + "status": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Pending", + "Approved", + "Rejected", + "Disconnected" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Indicates whether the connection has been approved, rejected or removed by the key vault owner." + } + }, + "description": "An object that represents the approval state of the private link connection." + }, + "MHSMVirtualNetworkRule": { + "type": "object", + "properties": { + "id": { + "type": "string", + "description": "Full resource id of a vnet subnet, such as '/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/test-vnet/subnets/subnet1'." + } + }, + "required": [ + "id" + ], + "description": "A rule governing the accessibility of a managed hsm pool from a specific virtual network." + }, + "NetworkRuleSet": { + "type": "object", + "properties": { + "bypass": { + "oneOf": [ + { + "type": "string", + "enum": [ + "AzureServices", + "None" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Tells what traffic can bypass network rules. This can be 'AzureServices' or 'None'. If not specified the default is 'AzureServices'." + }, + "defaultAction": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Allow", + "Deny" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The default action when no rule from ipRules and from virtualNetworkRules match. This is only used after the bypass property has been evaluated." + }, + "ipRules": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/IPRule" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The list of IP address rules." + }, + "virtualNetworkRules": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/VirtualNetworkRule" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The list of virtual network rules." + } + }, + "description": "A set of rules governing the network accessibility of a vault." + }, + "Permissions": { + "type": "object", + "properties": { + "certificates": { + "oneOf": [ + { + "type": "array", + "items": { + "type": "string", + "enum": [ + "all", + "get", + "list", + "delete", + "create", + "import", + "update", + "managecontacts", + "getissuers", + "listissuers", + "setissuers", + "deleteissuers", + "manageissuers", + "recover", + "purge", + "backup", + "restore" + ] + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Permissions to certificates" + }, + "keys": { + "oneOf": [ + { + "type": "array", + "items": { + "type": "string", + "enum": [ + "all", + "encrypt", + "decrypt", + "wrapKey", + "unwrapKey", + "sign", + "verify", + "get", + "list", + "create", + "update", + "import", + "delete", + "backup", + "restore", + "recover", + "purge", + "release" + ] + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Permissions to keys" + }, + "secrets": { + "oneOf": [ + { + "type": "array", + "items": { + "type": "string", + "enum": [ + "all", + "get", + "list", + "set", + "delete", + "backup", + "restore", + "recover", + "purge" + ] + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Permissions to secrets" + }, + "storage": { + "oneOf": [ + { + "type": "array", + "items": { + "type": "string", + "enum": [ + "all", + "get", + "list", + "delete", + "set", + "update", + "regeneratekey", + "recover", + "purge", + "backup", + "restore", + "setsas", + "listsas", + "getsas", + "deletesas" + ] + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Permissions to storage accounts" + } + }, + "description": "Permissions the identity has for keys, secrets, certificates and storage." + }, + "PrivateEndpoint": { + "type": "object", + "properties": {}, + "description": "Private endpoint object properties." + }, + "PrivateEndpointConnectionProperties": { + "type": "object", + "properties": { + "privateEndpoint": { + "oneOf": [ + { + "$ref": "#/definitions/PrivateEndpoint" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Private endpoint object properties." + }, + "privateLinkServiceConnectionState": { + "oneOf": [ + { + "$ref": "#/definitions/PrivateLinkServiceConnectionState" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "An object that represents the approval state of the private link connection." + }, + "provisioningState": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Succeeded", + "Creating", + "Updating", + "Deleting", + "Failed", + "Disconnected" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Provisioning state of the private endpoint connection." + } + }, + "description": "Properties of the private endpoint connection resource." + }, + "PrivateLinkServiceConnectionState": { + "type": "object", + "properties": { + "actionsRequired": { + "oneOf": [ + { + "type": "string", + "enum": [ + "None" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "A message indicating if changes on the service provider require any updates on the consumer." + }, + "description": { + "type": "string", + "description": "The reason for approval or rejection." + }, + "status": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Pending", + "Approved", + "Rejected", + "Disconnected" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Indicates whether the connection has been approved, rejected or removed by the key vault owner." + } + }, + "description": "An object that represents the approval state of the private link connection." + }, + "RotationPolicy": { + "type": "object", + "properties": { + "attributes": { + "oneOf": [ + { + "$ref": "#/definitions/KeyRotationPolicyAttributes" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ] + }, + "lifetimeActions": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/LifetimeAction" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The lifetimeActions for key rotation action." + } + } + }, + "SecretAttributes": { + "type": "object", + "properties": { + "enabled": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Determines whether the object is enabled." + }, + "exp": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Expiry date in seconds since 1970-01-01T00:00:00Z." + }, + "nbf": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Not before date in seconds since 1970-01-01T00:00:00Z." + } + }, + "description": "The secret management attributes." + }, + "SecretProperties": { + "type": "object", + "properties": { + "attributes": { + "oneOf": [ + { + "$ref": "#/definitions/SecretAttributes" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The secret management attributes." + }, + "contentType": { + "type": "string", + "description": "The content type of the secret." + }, + "value": { + "type": "string", + "description": "The value of the secret. NOTE: 'value' will never be returned from the service, as APIs using this model are is intended for internal use in ARM deployments. Users should use the data-plane REST service for interaction with vault secrets." + } + }, + "description": "Properties of the secret" + }, + "Sku": { + "type": "object", + "properties": { + "family": { + "oneOf": [ + { + "type": "string", + "enum": [ + "A" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "SKU family name" + }, + "name": { + "oneOf": [ + { + "type": "string", + "enum": [ + "standard", + "premium" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "SKU name to specify whether the key vault is a standard vault or a premium vault." + } + }, + "required": [ + "family", + "name" + ], + "description": "SKU details" + }, + "SystemData": { + "type": "object", + "properties": { + "createdAt": { + "type": "string", + "format": "date-time", + "description": "The timestamp of the key vault resource creation (UTC)." + }, + "createdBy": { + "type": "string", + "description": "The identity that created the key vault 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 key vault resource." + }, + "lastModifiedAt": { + "type": "string", + "format": "date-time", + "description": "The timestamp of the key vault resource last modification (UTC)." + }, + "lastModifiedBy": { + "type": "string", + "description": "The identity that last modified the key vault 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 key vault resource." + } + }, + "description": "Metadata pertaining to creation and last modification of the key vault resource." + }, + "Trigger": { + "type": "object", + "properties": { + "timeAfterCreate": { + "type": "string", + "description": "The time duration after key creation to rotate the key. It should be in ISO8601 format. Eg: 'P90D', 'P1Y'." + }, + "timeBeforeExpiry": { + "type": "string", + "description": "The time duration before key expiring to rotate the key. It should be in ISO8601 format. Eg: 'P90D', 'P1Y'." + } + } + }, + "VaultAccessPolicyProperties": { + "type": "object", + "properties": { + "accessPolicies": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/AccessPolicyEntry" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "An array of 0 to 16 identities that have access to the key vault. All identities in the array must use the same tenant ID as the key vault's tenant ID." + } + }, + "required": [ + "accessPolicies" + ], + "description": "Properties of the vault access policy" + }, + "VaultProperties": { + "type": "object", + "properties": { + "accessPolicies": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/AccessPolicyEntry" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "An array of 0 to 1024 identities that have access to the key vault. All identities in the array must use the same tenant ID as the key vault's tenant ID. When `createMode` is set to `recover`, access policies are not required. Otherwise, access policies are required." + }, + "createMode": { + "oneOf": [ + { + "type": "string", + "enum": [ + "recover", + "default" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The vault's create mode to indicate whether the vault need to be recovered or not." + }, + "enabledForDeployment": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Property to specify whether Azure Virtual Machines are permitted to retrieve certificates stored as secrets from the key vault." + }, + "enabledForDiskEncryption": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Property to specify whether Azure Disk Encryption is permitted to retrieve secrets from the vault and unwrap keys." + }, + "enabledForTemplateDeployment": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Property to specify whether Azure Resource Manager is permitted to retrieve secrets from the key vault." + }, + "enablePurgeProtection": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Property specifying whether protection against purge is enabled for this vault. Setting this property to true activates protection against purge for this vault and its content - only the Key Vault service may initiate a hard, irrecoverable deletion. The setting is effective only if soft delete is also enabled. Enabling this functionality is irreversible - that is, the property does not accept false as its value." + }, + "enableRbacAuthorization": { + "oneOf": [ + { + "type": "boolean", + "default": false + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Property that controls how data actions are authorized. When true, the key vault will use Role Based Access Control (RBAC) for authorization of data actions, and the access policies specified in vault properties will be ignored (warning: this is a preview feature). When false, the key vault will use the access policies specified in vault properties, and any policy stored on Azure Resource Manager will be ignored. If null or not specified, the vault is created with the default value of false. Note that management actions are always authorized with RBAC." + }, + "enableSoftDelete": { + "oneOf": [ + { + "type": "boolean", + "default": true + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Property to specify whether the 'soft delete' functionality is enabled for this key vault. If it's not set to any value(true or false) when creating new key vault, it will be set to true by default. Once set to true, it cannot be reverted to false." + }, + "networkAcls": { + "oneOf": [ + { + "$ref": "#/definitions/NetworkRuleSet" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "A set of rules governing the network accessibility of a vault." + }, + "provisioningState": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Succeeded", + "RegisteringDns" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Provisioning state of the vault." + }, + "publicNetworkAccess": { + "type": "string", + "default": "enabled", + "description": "Property to specify whether the vault will accept traffic from public internet. If set to 'disabled' all traffic except private endpoint traffic and that that originates from trusted services will be blocked. This will override the set firewall rules, meaning that even if the firewall rules are present we will not honor the rules." + }, + "sku": { + "oneOf": [ + { + "$ref": "#/definitions/Sku" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "SKU details" + }, + "softDeleteRetentionInDays": { + "oneOf": [ + { + "type": "integer", + "default": "90" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "softDelete data retention days. It accepts >=7 and <=90." + }, + "tenantId": { + "oneOf": [ + { + "type": "string", + "pattern": "^[0-9a-fA-F]{8}(-[0-9a-fA-F]{4}){3}-[0-9a-fA-F]{12}$" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The Azure Active Directory tenant ID that should be used for authenticating requests to the key vault." + }, + "vaultUri": { + "type": "string", + "description": "The URI of the vault for performing operations on keys and secrets." + } + }, + "required": [ + "sku", + "tenantId" + ], + "description": "Properties of the vault" + }, + "vaults_accessPolicies_childResource": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-06-01-preview" + ] + }, + "name": { + "oneOf": [ + { + "type": "string", + "enum": [ + "add", + "replace", + "remove" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Name of the operation." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/VaultAccessPolicyProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Properties of the vault access policy" + }, + "type": { + "type": "string", + "enum": [ + "accessPolicies" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.KeyVault/vaults/accessPolicies" + }, + "vaults_keys_childResource": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-06-01-preview" + ] + }, + "name": { + "oneOf": [ + { + "type": "string", + "pattern": "^[a-zA-Z0-9-]{1,127}$" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The name of the key to be created." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/KeyProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The properties of the key." + }, + "tags": { + "oneOf": [ + { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "properties": {} + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The tags that will be assigned to the key." + }, + "type": { + "type": "string", + "enum": [ + "keys" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.KeyVault/vaults/keys" + }, + "vaults_privateEndpointConnections_childResource": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-06-01-preview" + ] + }, + "etag": { + "type": "string", + "description": "Modified whenever there is a change in the state of private endpoint connection." + }, + "name": { + "type": "string", + "description": "Name of the private endpoint connection associated with the key vault." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/PrivateEndpointConnectionProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Properties of the private endpoint connection resource." + }, + "type": { + "type": "string", + "enum": [ + "privateEndpointConnections" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.KeyVault/vaults/privateEndpointConnections" + }, + "vaults_secrets_childResource": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-06-01-preview" + ] + }, + "name": { + "oneOf": [ + { + "type": "string", + "pattern": "^[a-zA-Z0-9-]{1,127}$" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Name of the secret" + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/SecretProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Properties of the secret" + }, + "tags": { + "oneOf": [ + { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "properties": {} + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The tags that will be assigned to the secret. " + }, + "type": { + "type": "string", + "enum": [ + "secrets" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.KeyVault/vaults/secrets" + }, + "VirtualNetworkRule": { + "type": "object", + "properties": { + "id": { + "type": "string", + "description": "Full resource id of a vnet subnet, such as '/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/test-vnet/subnets/subnet1'." + }, + "ignoreMissingVnetServiceEndpoint": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Property to specify whether NRP will ignore the check if parent subnet has serviceEndpoints configured." + } + }, + "required": [ + "id" + ], + "description": "A rule governing the accessibility of a vault from a specific virtual network." + } + } +} \ No newline at end of file diff --git a/schemas/common/autogeneratedResources.json b/schemas/common/autogeneratedResources.json index 32f6c79e5d..ee3a94f0f9 100644 --- a/schemas/common/autogeneratedResources.json +++ b/schemas/common/autogeneratedResources.json @@ -6532,6 +6532,27 @@ { "$ref": "https://schema.management.azure.com/schemas/2021-04-01-preview/Microsoft.KeyVault.json#/resourceDefinitions/vaults_secrets" }, + { + "$ref": "https://schema.management.azure.com/schemas/2021-06-01-preview/Microsoft.KeyVault.json#/resourceDefinitions/managedHSMs" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2021-06-01-preview/Microsoft.KeyVault.json#/resourceDefinitions/managedHSMs_privateEndpointConnections" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2021-06-01-preview/Microsoft.KeyVault.json#/resourceDefinitions/vaults" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2021-06-01-preview/Microsoft.KeyVault.json#/resourceDefinitions/vaults_accessPolicies" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2021-06-01-preview/Microsoft.KeyVault.json#/resourceDefinitions/vaults_keys" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2021-06-01-preview/Microsoft.KeyVault.json#/resourceDefinitions/vaults_privateEndpointConnections" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2021-06-01-preview/Microsoft.KeyVault.json#/resourceDefinitions/vaults_secrets" + }, { "$ref": "https://schema.management.azure.com/schemas/2020-01-01-preview/Microsoft.Kubernetes.json#/resourceDefinitions/connectedClusters" }, From 576f704a9e6ed248d3842b542e6b87a1f7aa932b Mon Sep 17 00:00:00 2001 From: Autogenerator Pipeline Date: Sat, 31 Jul 2021 08:41:47 +0000 Subject: [PATCH 17/64] Autogenerate schemas --- schemas/2016-11-01/Microsoft.DataLakeAnalytics.json | 1 + schemas/2018-06-01/Microsoft.DataFactory.json | 4 ++++ 2 files changed, 5 insertions(+) diff --git a/schemas/2016-11-01/Microsoft.DataLakeAnalytics.json b/schemas/2016-11-01/Microsoft.DataLakeAnalytics.json index bd357cdd73..2b8e0c0aeb 100644 --- a/schemas/2016-11-01/Microsoft.DataLakeAnalytics.json +++ b/schemas/2016-11-01/Microsoft.DataLakeAnalytics.json @@ -438,6 +438,7 @@ }, "suffix": { "type": "string", + "default": "azuredatalakestore.net", "description": "The optional suffix for the storage account." } }, diff --git a/schemas/2018-06-01/Microsoft.DataFactory.json b/schemas/2018-06-01/Microsoft.DataFactory.json index f7b6f85483..b14831dd79 100644 --- a/schemas/2018-06-01/Microsoft.DataFactory.json +++ b/schemas/2018-06-01/Microsoft.DataFactory.json @@ -16480,6 +16480,10 @@ "type": "string", "description": "The name of the subnet this integration runtime will join." }, + "subnetId": { + "type": "string", + "description": "The ID of subnet, to which this Azure-SSIS integration runtime will be joined." + }, "vNetId": { "type": "string", "description": "The ID of the VNet that this integration runtime will join." From d78cacad0ff9052c76d7697d453c70b607684090 Mon Sep 17 00:00:00 2001 From: Autogenerator Pipeline Date: Sat, 31 Jul 2021 09:20:51 +0000 Subject: [PATCH 18/64] Autogenerate schemas --- .../2018-09-01-preview/Microsoft.Migrate.json | 517 -------- .../2019-10-01-preview/Microsoft.Migrate.json | 1054 ----------------- schemas/2021-01-01/Microsoft.Migrate.json | 1054 ----------------- schemas/common/autogeneratedResources.json | 18 - 4 files changed, 2643 deletions(-) delete mode 100644 schemas/2018-09-01-preview/Microsoft.Migrate.json delete mode 100644 schemas/2019-10-01-preview/Microsoft.Migrate.json delete mode 100644 schemas/2021-01-01/Microsoft.Migrate.json diff --git a/schemas/2018-09-01-preview/Microsoft.Migrate.json b/schemas/2018-09-01-preview/Microsoft.Migrate.json deleted file mode 100644 index 074e3e9b7c..0000000000 --- a/schemas/2018-09-01-preview/Microsoft.Migrate.json +++ /dev/null @@ -1,517 +0,0 @@ -{ - "id": "https://schema.management.azure.com/schemas/2018-09-01-preview/Microsoft.Migrate.json#", - "$schema": "http://json-schema.org/draft-04/schema#", - "title": "Microsoft.Migrate", - "description": "Microsoft Migrate Resource Types", - "resourceDefinitions": { - "migrateProjects": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2018-09-01-preview" - ] - }, - "eTag": { - "type": "string", - "description": "Gets or sets the eTag for concurrency control." - }, - "location": { - "type": "string", - "description": "Gets or sets the Azure location in which migrate project is created." - }, - "name": { - "type": "string", - "description": "Name of the Azure Migrate project." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/MigrateProjectProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Class for migrate project properties." - }, - "resources": { - "type": "array", - "items": { - "oneOf": [ - { - "$ref": "#/definitions/migrateProjects_solutions_childResource" - } - ] - } - }, - "tags": { - "oneOf": [ - { - "$ref": "#/definitions/MigrateProjectTags" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Gets or sets the tags." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.Migrate/migrateProjects" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.Migrate/migrateProjects" - }, - "migrateProjects_solutions": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2018-09-01-preview" - ] - }, - "etag": { - "type": "string", - "description": "Gets or sets the ETAG for optimistic concurrency control." - }, - "name": { - "type": "string", - "description": "Unique name of a migration solution within a migrate project." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/SolutionProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Class for solution properties." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.Migrate/migrateProjects/solutions" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.Migrate/migrateProjects/solutions" - } - }, - "definitions": { - "DatabasesSolutionSummary": { - "type": "object", - "properties": { - "databaseInstancesAssessedCount": { - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Gets or sets the count of database instances assessed." - }, - "databasesAssessedCount": { - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Gets or sets the count of databases assessed." - }, - "instanceType": { - "type": "string", - "enum": [ - "Databases" - ] - }, - "migrationReadyCount": { - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Gets or sets the count of databases ready for migration." - } - }, - "required": [ - "instanceType" - ], - "description": "Class representing the databases solution summary." - }, - "MigrateProjectProperties": { - "type": "object", - "properties": { - "provisioningState": { - "oneOf": [ - { - "type": "string", - "enum": [ - "Accepted", - "Creating", - "Deleting", - "Failed", - "Moving", - "Succeeded" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Provisioning state of the migrate project." - }, - "registeredTools": { - "oneOf": [ - { - "type": "array", - "items": { - "type": "string", - "enum": [ - "ServerDiscovery", - "ServerAssessment", - "ServerMigration", - "Cloudamize", - "Turbonomic", - "Zerto", - "CorentTech", - "ServerAssessmentV1", - "ServerMigration_Replication", - "Carbonite", - "DataMigrationAssistant", - "DatabaseMigrationService" - ] - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Gets or sets the list of tools registered with the migrate project." - } - }, - "description": "Class for migrate project properties." - }, - "migrateProjects_solutions_childResource": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2018-09-01-preview" - ] - }, - "etag": { - "type": "string", - "description": "Gets or sets the ETAG for optimistic concurrency control." - }, - "name": { - "type": "string", - "description": "Unique name of a migration solution within a migrate project." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/SolutionProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Class for solution properties." - }, - "type": { - "type": "string", - "enum": [ - "solutions" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.Migrate/migrateProjects/solutions" - }, - "MigrateProjectTags": { - "type": "object", - "properties": { - "additionalProperties": { - "type": "string" - } - }, - "description": "Gets or sets the tags." - }, - "ServersSolutionSummary": { - "type": "object", - "properties": { - "assessedCount": { - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Gets or sets the count of servers assessed." - }, - "discoveredCount": { - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Gets or sets the count of servers discovered." - }, - "instanceType": { - "type": "string", - "enum": [ - "Servers" - ] - }, - "migratedCount": { - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Gets or sets the count of servers migrated." - }, - "replicatingCount": { - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Gets or sets the count of servers being replicated." - }, - "testMigratedCount": { - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Gets or sets the count of servers test migrated." - } - }, - "required": [ - "instanceType" - ], - "description": "Class representing the servers solution summary." - }, - "SolutionDetails": { - "type": "object", - "properties": { - "assessmentCount": { - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Gets or sets the count of assessments reported by the solution." - }, - "extendedDetails": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Gets or sets the extended details reported by the solution." - }, - "groupCount": { - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Gets or sets the count of groups reported by the solution." - } - }, - "description": "Class representing the details of the solution." - }, - "SolutionProperties": { - "type": "object", - "properties": { - "cleanupState": { - "oneOf": [ - { - "type": "string", - "enum": [ - "None", - "Started", - "InProgress", - "Completed", - "Failed" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Gets or sets the cleanup state of the solution." - }, - "details": { - "oneOf": [ - { - "$ref": "#/definitions/SolutionDetails" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Class representing the details of the solution." - }, - "goal": { - "oneOf": [ - { - "type": "string", - "enum": [ - "Servers", - "Databases" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Gets or sets the goal of the solution." - }, - "purpose": { - "oneOf": [ - { - "type": "string", - "enum": [ - "Discovery", - "Assessment", - "Migration" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Gets or sets the purpose of the solution." - }, - "status": { - "oneOf": [ - { - "type": "string", - "enum": [ - "Inactive", - "Active" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Gets or sets the current status of the solution." - }, - "summary": { - "oneOf": [ - { - "$ref": "#/definitions/SolutionSummary" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The solution summary class." - }, - "tool": { - "oneOf": [ - { - "type": "string", - "enum": [ - "ServerDiscovery", - "ServerAssessment", - "ServerMigration", - "Cloudamize", - "Turbonomic", - "Zerto", - "CorentTech", - "ServerAssessmentV1", - "ServerMigration_Replication", - "Carbonite", - "DataMigrationAssistant", - "DatabaseMigrationService" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Gets or sets the tool being used in the solution." - } - }, - "description": "Class for solution properties." - }, - "SolutionSummary": { - "type": "object", - "oneOf": [ - { - "$ref": "#/definitions/ServersSolutionSummary" - }, - { - "$ref": "#/definitions/DatabasesSolutionSummary" - } - ], - "properties": {}, - "description": "The solution summary class." - } - } -} \ No newline at end of file diff --git a/schemas/2019-10-01-preview/Microsoft.Migrate.json b/schemas/2019-10-01-preview/Microsoft.Migrate.json deleted file mode 100644 index 69d60e191b..0000000000 --- a/schemas/2019-10-01-preview/Microsoft.Migrate.json +++ /dev/null @@ -1,1054 +0,0 @@ -{ - "id": "https://schema.management.azure.com/schemas/2019-10-01-preview/Microsoft.Migrate.json#", - "$schema": "http://json-schema.org/draft-04/schema#", - "title": "Microsoft.Migrate", - "description": "Microsoft Migrate Resource Types", - "resourceDefinitions": { - "moveCollections": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2019-10-01-preview" - ] - }, - "identity": { - "oneOf": [ - { - "$ref": "#/definitions/Identity" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Defines the MSI properties of the Move Collection." - }, - "location": { - "type": "string", - "description": "The geo-location where the resource lives." - }, - "name": { - "type": "string", - "description": "The Move Collection Name." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/MoveCollectionProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Defines the move collection properties." - }, - "resources": { - "type": "array", - "items": { - "oneOf": [ - { - "$ref": "#/definitions/moveCollections_moveResources_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.Migrate/moveCollections" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.Migrate/moveCollections" - }, - "moveCollections_moveResources": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2019-10-01-preview" - ] - }, - "name": { - "type": "string", - "description": "The Move Resource Name." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/MoveResourceProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Defines the move resource properties." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.Migrate/moveCollections/moveResources" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.Migrate/moveCollections/moveResources" - } - }, - "definitions": { - "AvailabilitySetResourceSettings": { - "type": "object", - "properties": { - "faultDomain": { - "oneOf": [ - { - "type": "integer", - "minimum": 1 - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Gets or sets the target fault domain." - }, - "resourceType": { - "type": "string", - "enum": [ - "Microsoft.Compute/availabilitySets" - ] - }, - "updateDomain": { - "oneOf": [ - { - "type": "integer", - "minimum": 1, - "maximum": 20 - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Gets or sets the target update domain." - } - }, - "required": [ - "resourceType" - ], - "description": "Gets or sets the availability set resource settings." - }, - "DiskEncryptionSetResourceSettings": { - "type": "object", - "properties": { - "resourceType": { - "type": "string", - "enum": [ - "Microsoft.Compute/diskEncryptionSets" - ] - } - }, - "required": [ - "resourceType" - ], - "description": "Defines the disk encryption set resource settings." - }, - "Identity": { - "type": "object", - "properties": { - "principalId": { - "type": "string", - "description": "Gets or sets the principal id." - }, - "tenantId": { - "type": "string", - "description": "Gets or sets the tenant id." - }, - "type": { - "oneOf": [ - { - "type": "string", - "enum": [ - "None", - "SystemAssigned", - "UserAssigned" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - } - }, - "description": "Defines the MSI properties of the Move Collection." - }, - "KeyVaultResourceSettings": { - "type": "object", - "properties": { - "resourceType": { - "type": "string", - "enum": [ - "Microsoft.KeyVault/vaults" - ] - } - }, - "required": [ - "resourceType" - ], - "description": "Defines the key vault resource settings." - }, - "LBBackendAddressPoolResourceSettings": { - "type": "object", - "properties": { - "name": { - "type": "string", - "description": "Gets or sets the backend address pool name." - } - }, - "description": "Defines load balancer backend address pool properties." - }, - "LBFrontendIPConfigurationResourceSettings": { - "type": "object", - "properties": { - "name": { - "type": "string", - "description": "Gets or sets the frontend IP configuration name." - }, - "privateIpAddress": { - "type": "string", - "description": "Gets or sets the IP address of the Load Balancer.This is only specified if a specific\r\nprivate IP address shall be allocated from the subnet specified in subnetRef." - }, - "privateIpAllocationMethod": { - "type": "string", - "description": "Gets or sets PrivateIP allocation method (Static/Dynamic)." - }, - "subnet": { - "oneOf": [ - { - "$ref": "#/definitions/SubnetReference" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Defines reference to subnet." - }, - "zones": { - "type": "string", - "description": "Gets or sets the csv list of zones." - } - }, - "description": "Defines load balancer frontend IP configuration properties." - }, - "LoadBalancerBackendAddressPoolReference": { - "type": "object", - "properties": { - "name": { - "type": "string", - "description": "Gets the name of the proxy resource on the target side." - }, - "sourceArmResourceId": { - "type": "string", - "description": "Gets the ARM resource ID of the tracked resource being referenced." - } - }, - "required": [ - "sourceArmResourceId" - ], - "description": "Defines reference to load balancer backend address pools." - }, - "LoadBalancerNatRuleReference": { - "type": "object", - "properties": { - "name": { - "type": "string", - "description": "Gets the name of the proxy resource on the target side." - }, - "sourceArmResourceId": { - "type": "string", - "description": "Gets the ARM resource ID of the tracked resource being referenced." - } - }, - "required": [ - "sourceArmResourceId" - ], - "description": "Defines reference to load balancer NAT rules." - }, - "LoadBalancerResourceSettings": { - "type": "object", - "properties": { - "backendAddressPools": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/definitions/LBBackendAddressPoolResourceSettings" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Gets or sets the backend address pools of the load balancer." - }, - "frontendIPConfigurations": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/definitions/LBFrontendIPConfigurationResourceSettings" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Gets or sets the frontend IP configurations of the load balancer." - }, - "resourceType": { - "type": "string", - "enum": [ - "Microsoft.Network/loadBalancers" - ] - }, - "sku": { - "type": "string", - "description": "Gets or sets load balancer sku (Basic/Standard)." - }, - "zones": { - "type": "string", - "description": "Gets or sets the csv list of zones common for all frontend IP configurations. Note this is given\r\n precedence only if frontend IP configurations settings are not present." - } - }, - "required": [ - "resourceType" - ], - "description": "Defines the load balancer resource settings." - }, - "MoveCollectionProperties": { - "type": "object", - "properties": { - "provisioningState": { - "oneOf": [ - { - "type": "string", - "enum": [ - "Succeeded", - "Updating", - "Creating", - "Failed" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "sourceRegion": { - "type": "string", - "description": "Gets or sets the source region." - }, - "targetRegion": { - "type": "string", - "description": "Gets or sets the target region." - } - }, - "required": [ - "sourceRegion", - "targetRegion" - ], - "description": "Defines the move collection properties." - }, - "moveCollections_moveResources_childResource": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2019-10-01-preview" - ] - }, - "name": { - "type": "string", - "description": "The Move Resource Name." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/MoveResourceProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Defines the move resource properties." - }, - "type": { - "type": "string", - "enum": [ - "moveResources" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.Migrate/moveCollections/moveResources" - }, - "MoveResourceDependencyOverride": { - "type": "object", - "properties": { - "id": { - "type": "string", - "description": "Gets or sets the ARM ID of the dependent resource." - }, - "targetId": { - "type": "string", - "description": "Gets or sets the resource ARM id of either the MoveResource or the resource ARM ID of\r\nthe dependent resource." - } - }, - "description": "Defines the dependency override of the move resource." - }, - "MoveResourceProperties": { - "type": "object", - "properties": { - "dependsOnOverrides": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/definitions/MoveResourceDependencyOverride" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Gets or sets the move resource dependencies overrides." - }, - "existingTargetId": { - "type": "string", - "description": "Gets or sets the existing target ARM Id of the resource." - }, - "provisioningState": { - "oneOf": [ - { - "type": "string", - "enum": [ - "Succeeded", - "Updating", - "Creating", - "Failed" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "resourceSettings": { - "oneOf": [ - { - "$ref": "#/definitions/ResourceSettings" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Gets or sets the resource settings." - }, - "sourceId": { - "type": "string", - "description": "Gets or sets the Source ARM Id of the resource." - } - }, - "required": [ - "sourceId" - ], - "description": "Defines the move resource properties." - }, - "NetworkInterfaceResourceSettings": { - "type": "object", - "properties": { - "enableAcceleratedNetworking": { - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Gets or sets a value indicating whether accelerated networking is enabled." - }, - "ipConfigurations": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/definitions/NicIpConfigurationResourceSettings" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Gets or sets the IP configurations of the NIC." - }, - "resourceType": { - "type": "string", - "enum": [ - "Microsoft.Network/networkInterfaces" - ] - } - }, - "required": [ - "resourceType" - ], - "description": "Defines the network interface resource settings." - }, - "NetworkSecurityGroupResourceSettings": { - "type": "object", - "properties": { - "resourceType": { - "type": "string", - "enum": [ - "Microsoft.Network/networkSecurityGroups" - ] - }, - "securityRules": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/definitions/NsgSecurityRule" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Gets or sets Security rules of network security group." - } - }, - "required": [ - "resourceType" - ], - "description": "Defines the NSG resource settings." - }, - "NicIpConfigurationResourceSettings": { - "type": "object", - "properties": { - "loadBalancerBackendAddressPools": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/definitions/LoadBalancerBackendAddressPoolReference" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Gets or sets the references of the load balancer backend address pools." - }, - "loadBalancerNatRules": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/definitions/LoadBalancerNatRuleReference" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Gets or sets the references of the load balancer NAT rules." - }, - "name": { - "type": "string", - "description": "Gets or sets the IP configuration name." - }, - "primary": { - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Gets or sets a value indicating whether this IP configuration is the primary." - }, - "privateIpAddress": { - "type": "string", - "description": "Gets or sets the private IP address of the network interface IP Configuration." - }, - "privateIpAllocationMethod": { - "type": "string", - "description": "Gets or sets the private IP address allocation method." - }, - "publicIp": { - "oneOf": [ - { - "$ref": "#/definitions/PublicIpReference" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Defines reference to a public IP." - }, - "subnet": { - "oneOf": [ - { - "$ref": "#/definitions/SubnetReference" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Defines reference to subnet." - } - }, - "description": "Defines NIC IP configuration properties." - }, - "NsgReference": { - "type": "object", - "properties": { - "sourceArmResourceId": { - "type": "string", - "description": "Gets the ARM resource ID of the tracked resource being referenced." - } - }, - "required": [ - "sourceArmResourceId" - ], - "description": "Defines reference to NSG." - }, - "NsgSecurityRule": { - "type": "object", - "properties": { - "access": { - "type": "string", - "description": "Gets or sets whether network traffic is allowed or denied.\r\nPossible values are “Allow” and “Deny”." - }, - "description": { - "type": "string", - "description": "Gets or sets a description for this rule. Restricted to 140 chars." - }, - "destinationAddressPrefix": { - "type": "string", - "description": "Gets or sets destination address prefix. CIDR or source IP range.\r\n A “*” can also be used to match all source IPs. Default tags such\r\nas ‘VirtualNetwork’, ‘AzureLoadBalancer’ and ‘Internet’ can also be used." - }, - "destinationPortRange": { - "type": "string", - "description": "Gets or sets Destination Port or Range. Integer or range between\r\n0 and 65535. A “*” can also be used to match all ports." - }, - "direction": { - "type": "string", - "description": "Gets or sets the direction of the rule.InBound or Outbound. The\r\ndirection specifies if rule will be evaluated on incoming or outgoing traffic." - }, - "name": { - "type": "string", - "description": "Gets or sets the Security rule name." - }, - "priority": { - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Gets or sets the priority of the rule. The value can be between\r\n100 and 4096. The priority number must be unique for each rule in the collection.\r\nThe lower the priority number, the higher the priority of the rule." - }, - "protocol": { - "type": "string", - "description": "Gets or sets Network protocol this rule applies to. Can be Tcp, Udp or All(*)." - }, - "sourceAddressPrefix": { - "type": "string", - "description": "Gets or sets source address prefix. CIDR or source IP range. A\r\n“*” can also be used to match all source IPs. Default tags such as ‘VirtualNetwork’,\r\n‘AzureLoadBalancer’ and ‘Internet’ can also be used. If this is an ingress\r\nrule, specifies where network traffic originates from." - }, - "sourcePortRange": { - "type": "string", - "description": "Gets or sets Source Port or Range. Integer or range between 0 and\r\n65535. A “*” can also be used to match all ports." - } - }, - "description": "Security Rule data model for Network Security Groups." - }, - "PublicIPAddressResourceSettings": { - "type": "object", - "properties": { - "domainNameLabel": { - "type": "string", - "description": "Gets or sets the domain name label." - }, - "fqdn": { - "type": "string", - "description": "Gets or sets the fully qualified domain name." - }, - "publicIpAllocationMethod": { - "type": "string", - "description": "Gets or sets public IP allocation method." - }, - "resourceType": { - "type": "string", - "enum": [ - "Microsoft.Network/publicIPAddresses" - ] - }, - "sku": { - "type": "string", - "description": "Gets or sets public IP sku." - }, - "zones": { - "type": "string", - "description": "Gets or sets public IP zones." - } - }, - "required": [ - "resourceType" - ], - "description": "Defines the public IP address resource settings." - }, - "PublicIpReference": { - "type": "object", - "properties": { - "sourceArmResourceId": { - "type": "string", - "description": "Gets the ARM resource ID of the tracked resource being referenced." - } - }, - "required": [ - "sourceArmResourceId" - ], - "description": "Defines reference to a public IP." - }, - "ResourceGroupResourceSettings": { - "type": "object", - "properties": { - "resourceType": { - "type": "string", - "enum": [ - "resourceGroups" - ] - } - }, - "required": [ - "resourceType" - ], - "description": "Defines the resource group resource settings." - }, - "ResourceSettings": { - "type": "object", - "oneOf": [ - { - "$ref": "#/definitions/VirtualMachineResourceSettings" - }, - { - "$ref": "#/definitions/AvailabilitySetResourceSettings" - }, - { - "$ref": "#/definitions/VirtualNetworkResourceSettings" - }, - { - "$ref": "#/definitions/NetworkInterfaceResourceSettings" - }, - { - "$ref": "#/definitions/NetworkSecurityGroupResourceSettings" - }, - { - "$ref": "#/definitions/LoadBalancerResourceSettings" - }, - { - "$ref": "#/definitions/SqlServerResourceSettings" - }, - { - "$ref": "#/definitions/SqlElasticPoolResourceSettings" - }, - { - "$ref": "#/definitions/SqlDatabaseResourceSettings" - }, - { - "$ref": "#/definitions/ResourceGroupResourceSettings" - }, - { - "$ref": "#/definitions/PublicIPAddressResourceSettings" - }, - { - "$ref": "#/definitions/KeyVaultResourceSettings" - }, - { - "$ref": "#/definitions/DiskEncryptionSetResourceSettings" - } - ], - "properties": { - "targetResourceName": { - "type": "string", - "description": "Gets or sets the target Resource name." - } - }, - "required": [ - "targetResourceName" - ], - "description": "Gets or sets the resource settings." - }, - "SqlDatabaseResourceSettings": { - "type": "object", - "properties": { - "resourceType": { - "type": "string", - "enum": [ - "Microsoft.Sql/servers/databases" - ] - }, - "zoneRedundant": { - "oneOf": [ - { - "type": "string", - "enum": [ - "Enable", - "Disable" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - } - }, - "required": [ - "resourceType" - ], - "description": "Defines the Sql Database resource settings." - }, - "SqlElasticPoolResourceSettings": { - "type": "object", - "properties": { - "resourceType": { - "type": "string", - "enum": [ - "Microsoft.Sql/servers/elasticPools" - ] - }, - "zoneRedundant": { - "oneOf": [ - { - "type": "string", - "enum": [ - "Enable", - "Disable" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - } - }, - "required": [ - "resourceType" - ], - "description": "Defines the Sql ElasticPool resource settings." - }, - "SqlServerResourceSettings": { - "type": "object", - "properties": { - "resourceType": { - "type": "string", - "enum": [ - "Microsoft.Sql/servers" - ] - } - }, - "required": [ - "resourceType" - ], - "description": "Defines the SQL Server resource settings." - }, - "SubnetReference": { - "type": "object", - "properties": { - "name": { - "type": "string", - "description": "Gets the name of the proxy resource on the target side." - }, - "sourceArmResourceId": { - "type": "string", - "description": "Gets the ARM resource ID of the tracked resource being referenced." - } - }, - "required": [ - "sourceArmResourceId" - ], - "description": "Defines reference to subnet." - }, - "SubnetResourceSettings": { - "type": "object", - "properties": { - "addressPrefix": { - "type": "string", - "description": "Gets or sets address prefix for the subnet." - }, - "name": { - "type": "string", - "description": "Gets or sets the Subnet name." - }, - "networkSecurityGroup": { - "oneOf": [ - { - "$ref": "#/definitions/NsgReference" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Defines reference to NSG." - } - }, - "description": "Defines the virtual network subnets resource settings." - }, - "VirtualMachineResourceSettings": { - "type": "object", - "properties": { - "resourceType": { - "type": "string", - "enum": [ - "Microsoft.Compute/virtualMachines" - ] - }, - "targetAvailabilitySetId": { - "type": "string", - "description": "Gets or sets the target availability set id for virtual machines not in an availability set at source." - }, - "targetAvailabilityZone": { - "oneOf": [ - { - "type": "string", - "enum": [ - "1", - "2", - "3", - "NA" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Gets or sets the target availability zone." - }, - "targetVmSize": { - "type": "string", - "description": "Gets or sets the target virtual machine size." - } - }, - "required": [ - "resourceType" - ], - "description": "Gets or sets the virtual machine resource settings." - }, - "VirtualNetworkResourceSettings": { - "type": "object", - "properties": { - "addressSpace": { - "oneOf": [ - { - "type": "array", - "items": { - "type": "string" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Gets or sets the address prefixes for the virtual network." - }, - "dnsServers": { - "oneOf": [ - { - "type": "array", - "items": { - "type": "string" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Gets or sets DHCPOptions that contains an array of DNS servers available to VMs\r\ndeployed in the virtual network." - }, - "enableDdosProtection": { - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Gets or sets a value indicating whether gets or sets whether the\r\nDDOS protection should be switched on." - }, - "resourceType": { - "type": "string", - "enum": [ - "Microsoft.Network/virtualNetworks" - ] - }, - "subnets": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/definitions/SubnetResourceSettings" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Gets or sets List of subnets in a VirtualNetwork." - } - }, - "required": [ - "resourceType" - ], - "description": "Defines the virtual network resource settings." - } - } -} \ No newline at end of file diff --git a/schemas/2021-01-01/Microsoft.Migrate.json b/schemas/2021-01-01/Microsoft.Migrate.json deleted file mode 100644 index 0e45499ee6..0000000000 --- a/schemas/2021-01-01/Microsoft.Migrate.json +++ /dev/null @@ -1,1054 +0,0 @@ -{ - "id": "https://schema.management.azure.com/schemas/2021-01-01/Microsoft.Migrate.json#", - "$schema": "http://json-schema.org/draft-04/schema#", - "title": "Microsoft.Migrate", - "description": "Microsoft Migrate Resource Types", - "resourceDefinitions": { - "moveCollections": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2021-01-01" - ] - }, - "identity": { - "oneOf": [ - { - "$ref": "#/definitions/Identity" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Defines the MSI properties of the Move Collection." - }, - "location": { - "type": "string", - "description": "The geo-location where the resource lives." - }, - "name": { - "type": "string", - "description": "The Move Collection Name." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/MoveCollectionProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Defines the move collection properties." - }, - "resources": { - "type": "array", - "items": { - "oneOf": [ - { - "$ref": "#/definitions/moveCollections_moveResources_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.Migrate/moveCollections" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.Migrate/moveCollections" - }, - "moveCollections_moveResources": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2021-01-01" - ] - }, - "name": { - "type": "string", - "description": "The Move Resource Name." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/MoveResourceProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Defines the move resource properties." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.Migrate/moveCollections/moveResources" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.Migrate/moveCollections/moveResources" - } - }, - "definitions": { - "AvailabilitySetResourceSettings": { - "type": "object", - "properties": { - "faultDomain": { - "oneOf": [ - { - "type": "integer", - "minimum": 1 - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Gets or sets the target fault domain." - }, - "resourceType": { - "type": "string", - "enum": [ - "Microsoft.Compute/availabilitySets" - ] - }, - "updateDomain": { - "oneOf": [ - { - "type": "integer", - "minimum": 1, - "maximum": 20 - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Gets or sets the target update domain." - } - }, - "required": [ - "resourceType" - ], - "description": "Gets or sets the availability set resource settings." - }, - "DiskEncryptionSetResourceSettings": { - "type": "object", - "properties": { - "resourceType": { - "type": "string", - "enum": [ - "Microsoft.Compute/diskEncryptionSets" - ] - } - }, - "required": [ - "resourceType" - ], - "description": "Defines the disk encryption set resource settings." - }, - "Identity": { - "type": "object", - "properties": { - "principalId": { - "type": "string", - "description": "Gets or sets the principal id." - }, - "tenantId": { - "type": "string", - "description": "Gets or sets the tenant id." - }, - "type": { - "oneOf": [ - { - "type": "string", - "enum": [ - "None", - "SystemAssigned", - "UserAssigned" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - } - }, - "description": "Defines the MSI properties of the Move Collection." - }, - "KeyVaultResourceSettings": { - "type": "object", - "properties": { - "resourceType": { - "type": "string", - "enum": [ - "Microsoft.KeyVault/vaults" - ] - } - }, - "required": [ - "resourceType" - ], - "description": "Defines the key vault resource settings." - }, - "LBBackendAddressPoolResourceSettings": { - "type": "object", - "properties": { - "name": { - "type": "string", - "description": "Gets or sets the backend address pool name." - } - }, - "description": "Defines load balancer backend address pool properties." - }, - "LBFrontendIPConfigurationResourceSettings": { - "type": "object", - "properties": { - "name": { - "type": "string", - "description": "Gets or sets the frontend IP configuration name." - }, - "privateIpAddress": { - "type": "string", - "description": "Gets or sets the IP address of the Load Balancer.This is only specified if a specific\r\nprivate IP address shall be allocated from the subnet specified in subnetRef." - }, - "privateIpAllocationMethod": { - "type": "string", - "description": "Gets or sets PrivateIP allocation method (Static/Dynamic)." - }, - "subnet": { - "oneOf": [ - { - "$ref": "#/definitions/SubnetReference" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Defines reference to subnet." - }, - "zones": { - "type": "string", - "description": "Gets or sets the csv list of zones." - } - }, - "description": "Defines load balancer frontend IP configuration properties." - }, - "LoadBalancerBackendAddressPoolReference": { - "type": "object", - "properties": { - "name": { - "type": "string", - "description": "Gets the name of the proxy resource on the target side." - }, - "sourceArmResourceId": { - "type": "string", - "description": "Gets the ARM resource ID of the tracked resource being referenced." - } - }, - "required": [ - "sourceArmResourceId" - ], - "description": "Defines reference to load balancer backend address pools." - }, - "LoadBalancerNatRuleReference": { - "type": "object", - "properties": { - "name": { - "type": "string", - "description": "Gets the name of the proxy resource on the target side." - }, - "sourceArmResourceId": { - "type": "string", - "description": "Gets the ARM resource ID of the tracked resource being referenced." - } - }, - "required": [ - "sourceArmResourceId" - ], - "description": "Defines reference to load balancer NAT rules." - }, - "LoadBalancerResourceSettings": { - "type": "object", - "properties": { - "backendAddressPools": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/definitions/LBBackendAddressPoolResourceSettings" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Gets or sets the backend address pools of the load balancer." - }, - "frontendIPConfigurations": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/definitions/LBFrontendIPConfigurationResourceSettings" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Gets or sets the frontend IP configurations of the load balancer." - }, - "resourceType": { - "type": "string", - "enum": [ - "Microsoft.Network/loadBalancers" - ] - }, - "sku": { - "type": "string", - "description": "Gets or sets load balancer sku (Basic/Standard)." - }, - "zones": { - "type": "string", - "description": "Gets or sets the csv list of zones common for all frontend IP configurations. Note this is given\r\n precedence only if frontend IP configurations settings are not present." - } - }, - "required": [ - "resourceType" - ], - "description": "Defines the load balancer resource settings." - }, - "MoveCollectionProperties": { - "type": "object", - "properties": { - "provisioningState": { - "oneOf": [ - { - "type": "string", - "enum": [ - "Succeeded", - "Updating", - "Creating", - "Failed" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "sourceRegion": { - "type": "string", - "description": "Gets or sets the source region." - }, - "targetRegion": { - "type": "string", - "description": "Gets or sets the target region." - } - }, - "required": [ - "sourceRegion", - "targetRegion" - ], - "description": "Defines the move collection properties." - }, - "moveCollections_moveResources_childResource": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2021-01-01" - ] - }, - "name": { - "type": "string", - "description": "The Move Resource Name." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/MoveResourceProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Defines the move resource properties." - }, - "type": { - "type": "string", - "enum": [ - "moveResources" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.Migrate/moveCollections/moveResources" - }, - "MoveResourceDependencyOverride": { - "type": "object", - "properties": { - "id": { - "type": "string", - "description": "Gets or sets the ARM ID of the dependent resource." - }, - "targetId": { - "type": "string", - "description": "Gets or sets the resource ARM id of either the MoveResource or the resource ARM ID of\r\nthe dependent resource." - } - }, - "description": "Defines the dependency override of the move resource." - }, - "MoveResourceProperties": { - "type": "object", - "properties": { - "dependsOnOverrides": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/definitions/MoveResourceDependencyOverride" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Gets or sets the move resource dependencies overrides." - }, - "existingTargetId": { - "type": "string", - "description": "Gets or sets the existing target ARM Id of the resource." - }, - "provisioningState": { - "oneOf": [ - { - "type": "string", - "enum": [ - "Succeeded", - "Updating", - "Creating", - "Failed" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "resourceSettings": { - "oneOf": [ - { - "$ref": "#/definitions/ResourceSettings" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Gets or sets the resource settings." - }, - "sourceId": { - "type": "string", - "description": "Gets or sets the Source ARM Id of the resource." - } - }, - "required": [ - "sourceId" - ], - "description": "Defines the move resource properties." - }, - "NetworkInterfaceResourceSettings": { - "type": "object", - "properties": { - "enableAcceleratedNetworking": { - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Gets or sets a value indicating whether accelerated networking is enabled." - }, - "ipConfigurations": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/definitions/NicIpConfigurationResourceSettings" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Gets or sets the IP configurations of the NIC." - }, - "resourceType": { - "type": "string", - "enum": [ - "Microsoft.Network/networkInterfaces" - ] - } - }, - "required": [ - "resourceType" - ], - "description": "Defines the network interface resource settings." - }, - "NetworkSecurityGroupResourceSettings": { - "type": "object", - "properties": { - "resourceType": { - "type": "string", - "enum": [ - "Microsoft.Network/networkSecurityGroups" - ] - }, - "securityRules": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/definitions/NsgSecurityRule" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Gets or sets Security rules of network security group." - } - }, - "required": [ - "resourceType" - ], - "description": "Defines the NSG resource settings." - }, - "NicIpConfigurationResourceSettings": { - "type": "object", - "properties": { - "loadBalancerBackendAddressPools": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/definitions/LoadBalancerBackendAddressPoolReference" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Gets or sets the references of the load balancer backend address pools." - }, - "loadBalancerNatRules": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/definitions/LoadBalancerNatRuleReference" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Gets or sets the references of the load balancer NAT rules." - }, - "name": { - "type": "string", - "description": "Gets or sets the IP configuration name." - }, - "primary": { - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Gets or sets a value indicating whether this IP configuration is the primary." - }, - "privateIpAddress": { - "type": "string", - "description": "Gets or sets the private IP address of the network interface IP Configuration." - }, - "privateIpAllocationMethod": { - "type": "string", - "description": "Gets or sets the private IP address allocation method." - }, - "publicIp": { - "oneOf": [ - { - "$ref": "#/definitions/PublicIpReference" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Defines reference to a public IP." - }, - "subnet": { - "oneOf": [ - { - "$ref": "#/definitions/SubnetReference" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Defines reference to subnet." - } - }, - "description": "Defines NIC IP configuration properties." - }, - "NsgReference": { - "type": "object", - "properties": { - "sourceArmResourceId": { - "type": "string", - "description": "Gets the ARM resource ID of the tracked resource being referenced." - } - }, - "required": [ - "sourceArmResourceId" - ], - "description": "Defines reference to NSG." - }, - "NsgSecurityRule": { - "type": "object", - "properties": { - "access": { - "type": "string", - "description": "Gets or sets whether network traffic is allowed or denied.\r\nPossible values are “Allow” and “Deny”." - }, - "description": { - "type": "string", - "description": "Gets or sets a description for this rule. Restricted to 140 chars." - }, - "destinationAddressPrefix": { - "type": "string", - "description": "Gets or sets destination address prefix. CIDR or source IP range.\r\n A “*” can also be used to match all source IPs. Default tags such\r\nas ‘VirtualNetwork’, ‘AzureLoadBalancer’ and ‘Internet’ can also be used." - }, - "destinationPortRange": { - "type": "string", - "description": "Gets or sets Destination Port or Range. Integer or range between\r\n0 and 65535. A “*” can also be used to match all ports." - }, - "direction": { - "type": "string", - "description": "Gets or sets the direction of the rule.InBound or Outbound. The\r\ndirection specifies if rule will be evaluated on incoming or outgoing traffic." - }, - "name": { - "type": "string", - "description": "Gets or sets the Security rule name." - }, - "priority": { - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Gets or sets the priority of the rule. The value can be between\r\n100 and 4096. The priority number must be unique for each rule in the collection.\r\nThe lower the priority number, the higher the priority of the rule." - }, - "protocol": { - "type": "string", - "description": "Gets or sets Network protocol this rule applies to. Can be Tcp, Udp or All(*)." - }, - "sourceAddressPrefix": { - "type": "string", - "description": "Gets or sets source address prefix. CIDR or source IP range. A\r\n“*” can also be used to match all source IPs. Default tags such as ‘VirtualNetwork’,\r\n‘AzureLoadBalancer’ and ‘Internet’ can also be used. If this is an ingress\r\nrule, specifies where network traffic originates from." - }, - "sourcePortRange": { - "type": "string", - "description": "Gets or sets Source Port or Range. Integer or range between 0 and\r\n65535. A “*” can also be used to match all ports." - } - }, - "description": "Security Rule data model for Network Security Groups." - }, - "PublicIPAddressResourceSettings": { - "type": "object", - "properties": { - "domainNameLabel": { - "type": "string", - "description": "Gets or sets the domain name label." - }, - "fqdn": { - "type": "string", - "description": "Gets or sets the fully qualified domain name." - }, - "publicIpAllocationMethod": { - "type": "string", - "description": "Gets or sets public IP allocation method." - }, - "resourceType": { - "type": "string", - "enum": [ - "Microsoft.Network/publicIPAddresses" - ] - }, - "sku": { - "type": "string", - "description": "Gets or sets public IP sku." - }, - "zones": { - "type": "string", - "description": "Gets or sets public IP zones." - } - }, - "required": [ - "resourceType" - ], - "description": "Defines the public IP address resource settings." - }, - "PublicIpReference": { - "type": "object", - "properties": { - "sourceArmResourceId": { - "type": "string", - "description": "Gets the ARM resource ID of the tracked resource being referenced." - } - }, - "required": [ - "sourceArmResourceId" - ], - "description": "Defines reference to a public IP." - }, - "ResourceGroupResourceSettings": { - "type": "object", - "properties": { - "resourceType": { - "type": "string", - "enum": [ - "resourceGroups" - ] - } - }, - "required": [ - "resourceType" - ], - "description": "Defines the resource group resource settings." - }, - "ResourceSettings": { - "type": "object", - "oneOf": [ - { - "$ref": "#/definitions/VirtualMachineResourceSettings" - }, - { - "$ref": "#/definitions/AvailabilitySetResourceSettings" - }, - { - "$ref": "#/definitions/VirtualNetworkResourceSettings" - }, - { - "$ref": "#/definitions/NetworkInterfaceResourceSettings" - }, - { - "$ref": "#/definitions/NetworkSecurityGroupResourceSettings" - }, - { - "$ref": "#/definitions/LoadBalancerResourceSettings" - }, - { - "$ref": "#/definitions/SqlServerResourceSettings" - }, - { - "$ref": "#/definitions/SqlElasticPoolResourceSettings" - }, - { - "$ref": "#/definitions/SqlDatabaseResourceSettings" - }, - { - "$ref": "#/definitions/ResourceGroupResourceSettings" - }, - { - "$ref": "#/definitions/PublicIPAddressResourceSettings" - }, - { - "$ref": "#/definitions/KeyVaultResourceSettings" - }, - { - "$ref": "#/definitions/DiskEncryptionSetResourceSettings" - } - ], - "properties": { - "targetResourceName": { - "type": "string", - "description": "Gets or sets the target Resource name." - } - }, - "required": [ - "targetResourceName" - ], - "description": "Gets or sets the resource settings." - }, - "SqlDatabaseResourceSettings": { - "type": "object", - "properties": { - "resourceType": { - "type": "string", - "enum": [ - "Microsoft.Sql/servers/databases" - ] - }, - "zoneRedundant": { - "oneOf": [ - { - "type": "string", - "enum": [ - "Enable", - "Disable" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - } - }, - "required": [ - "resourceType" - ], - "description": "Defines the Sql Database resource settings." - }, - "SqlElasticPoolResourceSettings": { - "type": "object", - "properties": { - "resourceType": { - "type": "string", - "enum": [ - "Microsoft.Sql/servers/elasticPools" - ] - }, - "zoneRedundant": { - "oneOf": [ - { - "type": "string", - "enum": [ - "Enable", - "Disable" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - } - }, - "required": [ - "resourceType" - ], - "description": "Defines the Sql ElasticPool resource settings." - }, - "SqlServerResourceSettings": { - "type": "object", - "properties": { - "resourceType": { - "type": "string", - "enum": [ - "Microsoft.Sql/servers" - ] - } - }, - "required": [ - "resourceType" - ], - "description": "Defines the SQL Server resource settings." - }, - "SubnetReference": { - "type": "object", - "properties": { - "name": { - "type": "string", - "description": "Gets the name of the proxy resource on the target side." - }, - "sourceArmResourceId": { - "type": "string", - "description": "Gets the ARM resource ID of the tracked resource being referenced." - } - }, - "required": [ - "sourceArmResourceId" - ], - "description": "Defines reference to subnet." - }, - "SubnetResourceSettings": { - "type": "object", - "properties": { - "addressPrefix": { - "type": "string", - "description": "Gets or sets address prefix for the subnet." - }, - "name": { - "type": "string", - "description": "Gets or sets the Subnet name." - }, - "networkSecurityGroup": { - "oneOf": [ - { - "$ref": "#/definitions/NsgReference" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Defines reference to NSG." - } - }, - "description": "Defines the virtual network subnets resource settings." - }, - "VirtualMachineResourceSettings": { - "type": "object", - "properties": { - "resourceType": { - "type": "string", - "enum": [ - "Microsoft.Compute/virtualMachines" - ] - }, - "targetAvailabilitySetId": { - "type": "string", - "description": "Gets or sets the target availability set id for virtual machines not in an availability set at source." - }, - "targetAvailabilityZone": { - "oneOf": [ - { - "type": "string", - "enum": [ - "1", - "2", - "3", - "NA" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Gets or sets the target availability zone." - }, - "targetVmSize": { - "type": "string", - "description": "Gets or sets the target virtual machine size." - } - }, - "required": [ - "resourceType" - ], - "description": "Gets or sets the virtual machine resource settings." - }, - "VirtualNetworkResourceSettings": { - "type": "object", - "properties": { - "addressSpace": { - "oneOf": [ - { - "type": "array", - "items": { - "type": "string" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Gets or sets the address prefixes for the virtual network." - }, - "dnsServers": { - "oneOf": [ - { - "type": "array", - "items": { - "type": "string" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Gets or sets DHCPOptions that contains an array of DNS servers available to VMs\r\ndeployed in the virtual network." - }, - "enableDdosProtection": { - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Gets or sets a value indicating whether gets or sets whether the\r\nDDOS protection should be switched on." - }, - "resourceType": { - "type": "string", - "enum": [ - "Microsoft.Network/virtualNetworks" - ] - }, - "subnets": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/definitions/SubnetResourceSettings" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Gets or sets List of subnets in a VirtualNetwork." - } - }, - "required": [ - "resourceType" - ], - "description": "Defines the virtual network resource settings." - } - } -} \ No newline at end of file diff --git a/schemas/common/autogeneratedResources.json b/schemas/common/autogeneratedResources.json index ee3a94f0f9..7e1a5288e1 100644 --- a/schemas/common/autogeneratedResources.json +++ b/schemas/common/autogeneratedResources.json @@ -6916,12 +6916,6 @@ { "$ref": "https://schema.management.azure.com/schemas/2018-02-02/Microsoft.Migrate.json#/resourceDefinitions/projects_groups_assessments" }, - { - "$ref": "https://schema.management.azure.com/schemas/2018-09-01-preview/Microsoft.Migrate.json#/resourceDefinitions/migrateProjects" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2018-09-01-preview/Microsoft.Migrate.json#/resourceDefinitions/migrateProjects_solutions" - }, { "$ref": "https://schema.management.azure.com/schemas/2019-10-01/Microsoft.Migrate.json#/resourceDefinitions/assessmentProjects" }, @@ -6946,18 +6940,6 @@ { "$ref": "https://schema.management.azure.com/schemas/2019-10-01/Microsoft.Migrate.json#/resourceDefinitions/assessmentProjects_vmwarecollectors" }, - { - "$ref": "https://schema.management.azure.com/schemas/2019-10-01-preview/Microsoft.Migrate.json#/resourceDefinitions/moveCollections" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2019-10-01-preview/Microsoft.Migrate.json#/resourceDefinitions/moveCollections_moveResources" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2021-01-01/Microsoft.Migrate.json#/resourceDefinitions/moveCollections" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2021-01-01/Microsoft.Migrate.json#/resourceDefinitions/moveCollections_moveResources" - }, { "$ref": "https://schema.management.azure.com/schemas/2019-02-28-preview/Microsoft.MixedReality.json#/resourceDefinitions/spatialAnchorsAccounts" }, From 88dc4a9e30742106e963f052b4b4500a0e0d3d03 Mon Sep 17 00:00:00 2001 From: Autogenerator Pipeline Date: Sat, 31 Jul 2021 10:37:25 +0000 Subject: [PATCH 19/64] Autogenerate schemas --- .../subscriptionDeploymentTemplate.json | 3 + .../2018-09-01-preview/Microsoft.Migrate.json | 517 ++++++++ .../2019-10-01-preview/Microsoft.Migrate.json | 1054 +++++++++++++++++ schemas/2020-12-01/Microsoft.Synapse.json | 4 + schemas/2021-01-01/Microsoft.Migrate.json | 1054 +++++++++++++++++ schemas/2021-03-01/Microsoft.Synapse.json | 4 + schemas/2021-05-01/Microsoft.Synapse.json | 4 + schemas/2021-07-01/Microsoft.Security.json | 151 +++ schemas/common/autogeneratedResources.json | 18 + 9 files changed, 2809 insertions(+) create mode 100644 schemas/2018-09-01-preview/Microsoft.Migrate.json create mode 100644 schemas/2019-10-01-preview/Microsoft.Migrate.json create mode 100644 schemas/2021-01-01/Microsoft.Migrate.json create mode 100644 schemas/2021-07-01/Microsoft.Security.json diff --git a/schemas/2018-05-01/subscriptionDeploymentTemplate.json b/schemas/2018-05-01/subscriptionDeploymentTemplate.json index e9e3454299..642ffe8a1f 100644 --- a/schemas/2018-05-01/subscriptionDeploymentTemplate.json +++ b/schemas/2018-05-01/subscriptionDeploymentTemplate.json @@ -1058,6 +1058,9 @@ { "$ref": "https://schema.management.azure.com/schemas/2021-06-01/Microsoft.Security.json#/unknown_resourceDefinitions/assessments" }, + { + "$ref": "https://schema.management.azure.com/schemas/2021-07-01/Microsoft.Security.json#/subscription_resourceDefinitions/settings" + }, { "$ref": "https://schema.management.azure.com/schemas/2019-05-01-preview/Microsoft.Support.json#/subscription_resourceDefinitions/supportTickets" }, diff --git a/schemas/2018-09-01-preview/Microsoft.Migrate.json b/schemas/2018-09-01-preview/Microsoft.Migrate.json new file mode 100644 index 0000000000..074e3e9b7c --- /dev/null +++ b/schemas/2018-09-01-preview/Microsoft.Migrate.json @@ -0,0 +1,517 @@ +{ + "id": "https://schema.management.azure.com/schemas/2018-09-01-preview/Microsoft.Migrate.json#", + "$schema": "http://json-schema.org/draft-04/schema#", + "title": "Microsoft.Migrate", + "description": "Microsoft Migrate Resource Types", + "resourceDefinitions": { + "migrateProjects": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2018-09-01-preview" + ] + }, + "eTag": { + "type": "string", + "description": "Gets or sets the eTag for concurrency control." + }, + "location": { + "type": "string", + "description": "Gets or sets the Azure location in which migrate project is created." + }, + "name": { + "type": "string", + "description": "Name of the Azure Migrate project." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/MigrateProjectProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Class for migrate project properties." + }, + "resources": { + "type": "array", + "items": { + "oneOf": [ + { + "$ref": "#/definitions/migrateProjects_solutions_childResource" + } + ] + } + }, + "tags": { + "oneOf": [ + { + "$ref": "#/definitions/MigrateProjectTags" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Gets or sets the tags." + }, + "type": { + "type": "string", + "enum": [ + "Microsoft.Migrate/migrateProjects" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.Migrate/migrateProjects" + }, + "migrateProjects_solutions": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2018-09-01-preview" + ] + }, + "etag": { + "type": "string", + "description": "Gets or sets the ETAG for optimistic concurrency control." + }, + "name": { + "type": "string", + "description": "Unique name of a migration solution within a migrate project." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/SolutionProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Class for solution properties." + }, + "type": { + "type": "string", + "enum": [ + "Microsoft.Migrate/migrateProjects/solutions" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.Migrate/migrateProjects/solutions" + } + }, + "definitions": { + "DatabasesSolutionSummary": { + "type": "object", + "properties": { + "databaseInstancesAssessedCount": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Gets or sets the count of database instances assessed." + }, + "databasesAssessedCount": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Gets or sets the count of databases assessed." + }, + "instanceType": { + "type": "string", + "enum": [ + "Databases" + ] + }, + "migrationReadyCount": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Gets or sets the count of databases ready for migration." + } + }, + "required": [ + "instanceType" + ], + "description": "Class representing the databases solution summary." + }, + "MigrateProjectProperties": { + "type": "object", + "properties": { + "provisioningState": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Accepted", + "Creating", + "Deleting", + "Failed", + "Moving", + "Succeeded" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Provisioning state of the migrate project." + }, + "registeredTools": { + "oneOf": [ + { + "type": "array", + "items": { + "type": "string", + "enum": [ + "ServerDiscovery", + "ServerAssessment", + "ServerMigration", + "Cloudamize", + "Turbonomic", + "Zerto", + "CorentTech", + "ServerAssessmentV1", + "ServerMigration_Replication", + "Carbonite", + "DataMigrationAssistant", + "DatabaseMigrationService" + ] + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Gets or sets the list of tools registered with the migrate project." + } + }, + "description": "Class for migrate project properties." + }, + "migrateProjects_solutions_childResource": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2018-09-01-preview" + ] + }, + "etag": { + "type": "string", + "description": "Gets or sets the ETAG for optimistic concurrency control." + }, + "name": { + "type": "string", + "description": "Unique name of a migration solution within a migrate project." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/SolutionProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Class for solution properties." + }, + "type": { + "type": "string", + "enum": [ + "solutions" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.Migrate/migrateProjects/solutions" + }, + "MigrateProjectTags": { + "type": "object", + "properties": { + "additionalProperties": { + "type": "string" + } + }, + "description": "Gets or sets the tags." + }, + "ServersSolutionSummary": { + "type": "object", + "properties": { + "assessedCount": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Gets or sets the count of servers assessed." + }, + "discoveredCount": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Gets or sets the count of servers discovered." + }, + "instanceType": { + "type": "string", + "enum": [ + "Servers" + ] + }, + "migratedCount": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Gets or sets the count of servers migrated." + }, + "replicatingCount": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Gets or sets the count of servers being replicated." + }, + "testMigratedCount": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Gets or sets the count of servers test migrated." + } + }, + "required": [ + "instanceType" + ], + "description": "Class representing the servers solution summary." + }, + "SolutionDetails": { + "type": "object", + "properties": { + "assessmentCount": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Gets or sets the count of assessments reported by the solution." + }, + "extendedDetails": { + "oneOf": [ + { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "properties": {} + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Gets or sets the extended details reported by the solution." + }, + "groupCount": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Gets or sets the count of groups reported by the solution." + } + }, + "description": "Class representing the details of the solution." + }, + "SolutionProperties": { + "type": "object", + "properties": { + "cleanupState": { + "oneOf": [ + { + "type": "string", + "enum": [ + "None", + "Started", + "InProgress", + "Completed", + "Failed" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Gets or sets the cleanup state of the solution." + }, + "details": { + "oneOf": [ + { + "$ref": "#/definitions/SolutionDetails" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Class representing the details of the solution." + }, + "goal": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Servers", + "Databases" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Gets or sets the goal of the solution." + }, + "purpose": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Discovery", + "Assessment", + "Migration" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Gets or sets the purpose of the solution." + }, + "status": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Inactive", + "Active" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Gets or sets the current status of the solution." + }, + "summary": { + "oneOf": [ + { + "$ref": "#/definitions/SolutionSummary" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The solution summary class." + }, + "tool": { + "oneOf": [ + { + "type": "string", + "enum": [ + "ServerDiscovery", + "ServerAssessment", + "ServerMigration", + "Cloudamize", + "Turbonomic", + "Zerto", + "CorentTech", + "ServerAssessmentV1", + "ServerMigration_Replication", + "Carbonite", + "DataMigrationAssistant", + "DatabaseMigrationService" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Gets or sets the tool being used in the solution." + } + }, + "description": "Class for solution properties." + }, + "SolutionSummary": { + "type": "object", + "oneOf": [ + { + "$ref": "#/definitions/ServersSolutionSummary" + }, + { + "$ref": "#/definitions/DatabasesSolutionSummary" + } + ], + "properties": {}, + "description": "The solution summary class." + } + } +} \ No newline at end of file diff --git a/schemas/2019-10-01-preview/Microsoft.Migrate.json b/schemas/2019-10-01-preview/Microsoft.Migrate.json new file mode 100644 index 0000000000..69d60e191b --- /dev/null +++ b/schemas/2019-10-01-preview/Microsoft.Migrate.json @@ -0,0 +1,1054 @@ +{ + "id": "https://schema.management.azure.com/schemas/2019-10-01-preview/Microsoft.Migrate.json#", + "$schema": "http://json-schema.org/draft-04/schema#", + "title": "Microsoft.Migrate", + "description": "Microsoft Migrate Resource Types", + "resourceDefinitions": { + "moveCollections": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2019-10-01-preview" + ] + }, + "identity": { + "oneOf": [ + { + "$ref": "#/definitions/Identity" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Defines the MSI properties of the Move Collection." + }, + "location": { + "type": "string", + "description": "The geo-location where the resource lives." + }, + "name": { + "type": "string", + "description": "The Move Collection Name." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/MoveCollectionProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Defines the move collection properties." + }, + "resources": { + "type": "array", + "items": { + "oneOf": [ + { + "$ref": "#/definitions/moveCollections_moveResources_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.Migrate/moveCollections" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.Migrate/moveCollections" + }, + "moveCollections_moveResources": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2019-10-01-preview" + ] + }, + "name": { + "type": "string", + "description": "The Move Resource Name." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/MoveResourceProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Defines the move resource properties." + }, + "type": { + "type": "string", + "enum": [ + "Microsoft.Migrate/moveCollections/moveResources" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.Migrate/moveCollections/moveResources" + } + }, + "definitions": { + "AvailabilitySetResourceSettings": { + "type": "object", + "properties": { + "faultDomain": { + "oneOf": [ + { + "type": "integer", + "minimum": 1 + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Gets or sets the target fault domain." + }, + "resourceType": { + "type": "string", + "enum": [ + "Microsoft.Compute/availabilitySets" + ] + }, + "updateDomain": { + "oneOf": [ + { + "type": "integer", + "minimum": 1, + "maximum": 20 + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Gets or sets the target update domain." + } + }, + "required": [ + "resourceType" + ], + "description": "Gets or sets the availability set resource settings." + }, + "DiskEncryptionSetResourceSettings": { + "type": "object", + "properties": { + "resourceType": { + "type": "string", + "enum": [ + "Microsoft.Compute/diskEncryptionSets" + ] + } + }, + "required": [ + "resourceType" + ], + "description": "Defines the disk encryption set resource settings." + }, + "Identity": { + "type": "object", + "properties": { + "principalId": { + "type": "string", + "description": "Gets or sets the principal id." + }, + "tenantId": { + "type": "string", + "description": "Gets or sets the tenant id." + }, + "type": { + "oneOf": [ + { + "type": "string", + "enum": [ + "None", + "SystemAssigned", + "UserAssigned" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ] + } + }, + "description": "Defines the MSI properties of the Move Collection." + }, + "KeyVaultResourceSettings": { + "type": "object", + "properties": { + "resourceType": { + "type": "string", + "enum": [ + "Microsoft.KeyVault/vaults" + ] + } + }, + "required": [ + "resourceType" + ], + "description": "Defines the key vault resource settings." + }, + "LBBackendAddressPoolResourceSettings": { + "type": "object", + "properties": { + "name": { + "type": "string", + "description": "Gets or sets the backend address pool name." + } + }, + "description": "Defines load balancer backend address pool properties." + }, + "LBFrontendIPConfigurationResourceSettings": { + "type": "object", + "properties": { + "name": { + "type": "string", + "description": "Gets or sets the frontend IP configuration name." + }, + "privateIpAddress": { + "type": "string", + "description": "Gets or sets the IP address of the Load Balancer.This is only specified if a specific\r\nprivate IP address shall be allocated from the subnet specified in subnetRef." + }, + "privateIpAllocationMethod": { + "type": "string", + "description": "Gets or sets PrivateIP allocation method (Static/Dynamic)." + }, + "subnet": { + "oneOf": [ + { + "$ref": "#/definitions/SubnetReference" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Defines reference to subnet." + }, + "zones": { + "type": "string", + "description": "Gets or sets the csv list of zones." + } + }, + "description": "Defines load balancer frontend IP configuration properties." + }, + "LoadBalancerBackendAddressPoolReference": { + "type": "object", + "properties": { + "name": { + "type": "string", + "description": "Gets the name of the proxy resource on the target side." + }, + "sourceArmResourceId": { + "type": "string", + "description": "Gets the ARM resource ID of the tracked resource being referenced." + } + }, + "required": [ + "sourceArmResourceId" + ], + "description": "Defines reference to load balancer backend address pools." + }, + "LoadBalancerNatRuleReference": { + "type": "object", + "properties": { + "name": { + "type": "string", + "description": "Gets the name of the proxy resource on the target side." + }, + "sourceArmResourceId": { + "type": "string", + "description": "Gets the ARM resource ID of the tracked resource being referenced." + } + }, + "required": [ + "sourceArmResourceId" + ], + "description": "Defines reference to load balancer NAT rules." + }, + "LoadBalancerResourceSettings": { + "type": "object", + "properties": { + "backendAddressPools": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/LBBackendAddressPoolResourceSettings" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Gets or sets the backend address pools of the load balancer." + }, + "frontendIPConfigurations": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/LBFrontendIPConfigurationResourceSettings" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Gets or sets the frontend IP configurations of the load balancer." + }, + "resourceType": { + "type": "string", + "enum": [ + "Microsoft.Network/loadBalancers" + ] + }, + "sku": { + "type": "string", + "description": "Gets or sets load balancer sku (Basic/Standard)." + }, + "zones": { + "type": "string", + "description": "Gets or sets the csv list of zones common for all frontend IP configurations. Note this is given\r\n precedence only if frontend IP configurations settings are not present." + } + }, + "required": [ + "resourceType" + ], + "description": "Defines the load balancer resource settings." + }, + "MoveCollectionProperties": { + "type": "object", + "properties": { + "provisioningState": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Succeeded", + "Updating", + "Creating", + "Failed" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ] + }, + "sourceRegion": { + "type": "string", + "description": "Gets or sets the source region." + }, + "targetRegion": { + "type": "string", + "description": "Gets or sets the target region." + } + }, + "required": [ + "sourceRegion", + "targetRegion" + ], + "description": "Defines the move collection properties." + }, + "moveCollections_moveResources_childResource": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2019-10-01-preview" + ] + }, + "name": { + "type": "string", + "description": "The Move Resource Name." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/MoveResourceProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Defines the move resource properties." + }, + "type": { + "type": "string", + "enum": [ + "moveResources" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.Migrate/moveCollections/moveResources" + }, + "MoveResourceDependencyOverride": { + "type": "object", + "properties": { + "id": { + "type": "string", + "description": "Gets or sets the ARM ID of the dependent resource." + }, + "targetId": { + "type": "string", + "description": "Gets or sets the resource ARM id of either the MoveResource or the resource ARM ID of\r\nthe dependent resource." + } + }, + "description": "Defines the dependency override of the move resource." + }, + "MoveResourceProperties": { + "type": "object", + "properties": { + "dependsOnOverrides": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/MoveResourceDependencyOverride" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Gets or sets the move resource dependencies overrides." + }, + "existingTargetId": { + "type": "string", + "description": "Gets or sets the existing target ARM Id of the resource." + }, + "provisioningState": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Succeeded", + "Updating", + "Creating", + "Failed" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ] + }, + "resourceSettings": { + "oneOf": [ + { + "$ref": "#/definitions/ResourceSettings" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Gets or sets the resource settings." + }, + "sourceId": { + "type": "string", + "description": "Gets or sets the Source ARM Id of the resource." + } + }, + "required": [ + "sourceId" + ], + "description": "Defines the move resource properties." + }, + "NetworkInterfaceResourceSettings": { + "type": "object", + "properties": { + "enableAcceleratedNetworking": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Gets or sets a value indicating whether accelerated networking is enabled." + }, + "ipConfigurations": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/NicIpConfigurationResourceSettings" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Gets or sets the IP configurations of the NIC." + }, + "resourceType": { + "type": "string", + "enum": [ + "Microsoft.Network/networkInterfaces" + ] + } + }, + "required": [ + "resourceType" + ], + "description": "Defines the network interface resource settings." + }, + "NetworkSecurityGroupResourceSettings": { + "type": "object", + "properties": { + "resourceType": { + "type": "string", + "enum": [ + "Microsoft.Network/networkSecurityGroups" + ] + }, + "securityRules": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/NsgSecurityRule" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Gets or sets Security rules of network security group." + } + }, + "required": [ + "resourceType" + ], + "description": "Defines the NSG resource settings." + }, + "NicIpConfigurationResourceSettings": { + "type": "object", + "properties": { + "loadBalancerBackendAddressPools": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/LoadBalancerBackendAddressPoolReference" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Gets or sets the references of the load balancer backend address pools." + }, + "loadBalancerNatRules": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/LoadBalancerNatRuleReference" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Gets or sets the references of the load balancer NAT rules." + }, + "name": { + "type": "string", + "description": "Gets or sets the IP configuration name." + }, + "primary": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Gets or sets a value indicating whether this IP configuration is the primary." + }, + "privateIpAddress": { + "type": "string", + "description": "Gets or sets the private IP address of the network interface IP Configuration." + }, + "privateIpAllocationMethod": { + "type": "string", + "description": "Gets or sets the private IP address allocation method." + }, + "publicIp": { + "oneOf": [ + { + "$ref": "#/definitions/PublicIpReference" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Defines reference to a public IP." + }, + "subnet": { + "oneOf": [ + { + "$ref": "#/definitions/SubnetReference" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Defines reference to subnet." + } + }, + "description": "Defines NIC IP configuration properties." + }, + "NsgReference": { + "type": "object", + "properties": { + "sourceArmResourceId": { + "type": "string", + "description": "Gets the ARM resource ID of the tracked resource being referenced." + } + }, + "required": [ + "sourceArmResourceId" + ], + "description": "Defines reference to NSG." + }, + "NsgSecurityRule": { + "type": "object", + "properties": { + "access": { + "type": "string", + "description": "Gets or sets whether network traffic is allowed or denied.\r\nPossible values are “Allow” and “Deny”." + }, + "description": { + "type": "string", + "description": "Gets or sets a description for this rule. Restricted to 140 chars." + }, + "destinationAddressPrefix": { + "type": "string", + "description": "Gets or sets destination address prefix. CIDR or source IP range.\r\n A “*” can also be used to match all source IPs. Default tags such\r\nas ‘VirtualNetwork’, ‘AzureLoadBalancer’ and ‘Internet’ can also be used." + }, + "destinationPortRange": { + "type": "string", + "description": "Gets or sets Destination Port or Range. Integer or range between\r\n0 and 65535. A “*” can also be used to match all ports." + }, + "direction": { + "type": "string", + "description": "Gets or sets the direction of the rule.InBound or Outbound. The\r\ndirection specifies if rule will be evaluated on incoming or outgoing traffic." + }, + "name": { + "type": "string", + "description": "Gets or sets the Security rule name." + }, + "priority": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Gets or sets the priority of the rule. The value can be between\r\n100 and 4096. The priority number must be unique for each rule in the collection.\r\nThe lower the priority number, the higher the priority of the rule." + }, + "protocol": { + "type": "string", + "description": "Gets or sets Network protocol this rule applies to. Can be Tcp, Udp or All(*)." + }, + "sourceAddressPrefix": { + "type": "string", + "description": "Gets or sets source address prefix. CIDR or source IP range. A\r\n“*” can also be used to match all source IPs. Default tags such as ‘VirtualNetwork’,\r\n‘AzureLoadBalancer’ and ‘Internet’ can also be used. If this is an ingress\r\nrule, specifies where network traffic originates from." + }, + "sourcePortRange": { + "type": "string", + "description": "Gets or sets Source Port or Range. Integer or range between 0 and\r\n65535. A “*” can also be used to match all ports." + } + }, + "description": "Security Rule data model for Network Security Groups." + }, + "PublicIPAddressResourceSettings": { + "type": "object", + "properties": { + "domainNameLabel": { + "type": "string", + "description": "Gets or sets the domain name label." + }, + "fqdn": { + "type": "string", + "description": "Gets or sets the fully qualified domain name." + }, + "publicIpAllocationMethod": { + "type": "string", + "description": "Gets or sets public IP allocation method." + }, + "resourceType": { + "type": "string", + "enum": [ + "Microsoft.Network/publicIPAddresses" + ] + }, + "sku": { + "type": "string", + "description": "Gets or sets public IP sku." + }, + "zones": { + "type": "string", + "description": "Gets or sets public IP zones." + } + }, + "required": [ + "resourceType" + ], + "description": "Defines the public IP address resource settings." + }, + "PublicIpReference": { + "type": "object", + "properties": { + "sourceArmResourceId": { + "type": "string", + "description": "Gets the ARM resource ID of the tracked resource being referenced." + } + }, + "required": [ + "sourceArmResourceId" + ], + "description": "Defines reference to a public IP." + }, + "ResourceGroupResourceSettings": { + "type": "object", + "properties": { + "resourceType": { + "type": "string", + "enum": [ + "resourceGroups" + ] + } + }, + "required": [ + "resourceType" + ], + "description": "Defines the resource group resource settings." + }, + "ResourceSettings": { + "type": "object", + "oneOf": [ + { + "$ref": "#/definitions/VirtualMachineResourceSettings" + }, + { + "$ref": "#/definitions/AvailabilitySetResourceSettings" + }, + { + "$ref": "#/definitions/VirtualNetworkResourceSettings" + }, + { + "$ref": "#/definitions/NetworkInterfaceResourceSettings" + }, + { + "$ref": "#/definitions/NetworkSecurityGroupResourceSettings" + }, + { + "$ref": "#/definitions/LoadBalancerResourceSettings" + }, + { + "$ref": "#/definitions/SqlServerResourceSettings" + }, + { + "$ref": "#/definitions/SqlElasticPoolResourceSettings" + }, + { + "$ref": "#/definitions/SqlDatabaseResourceSettings" + }, + { + "$ref": "#/definitions/ResourceGroupResourceSettings" + }, + { + "$ref": "#/definitions/PublicIPAddressResourceSettings" + }, + { + "$ref": "#/definitions/KeyVaultResourceSettings" + }, + { + "$ref": "#/definitions/DiskEncryptionSetResourceSettings" + } + ], + "properties": { + "targetResourceName": { + "type": "string", + "description": "Gets or sets the target Resource name." + } + }, + "required": [ + "targetResourceName" + ], + "description": "Gets or sets the resource settings." + }, + "SqlDatabaseResourceSettings": { + "type": "object", + "properties": { + "resourceType": { + "type": "string", + "enum": [ + "Microsoft.Sql/servers/databases" + ] + }, + "zoneRedundant": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Enable", + "Disable" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ] + } + }, + "required": [ + "resourceType" + ], + "description": "Defines the Sql Database resource settings." + }, + "SqlElasticPoolResourceSettings": { + "type": "object", + "properties": { + "resourceType": { + "type": "string", + "enum": [ + "Microsoft.Sql/servers/elasticPools" + ] + }, + "zoneRedundant": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Enable", + "Disable" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ] + } + }, + "required": [ + "resourceType" + ], + "description": "Defines the Sql ElasticPool resource settings." + }, + "SqlServerResourceSettings": { + "type": "object", + "properties": { + "resourceType": { + "type": "string", + "enum": [ + "Microsoft.Sql/servers" + ] + } + }, + "required": [ + "resourceType" + ], + "description": "Defines the SQL Server resource settings." + }, + "SubnetReference": { + "type": "object", + "properties": { + "name": { + "type": "string", + "description": "Gets the name of the proxy resource on the target side." + }, + "sourceArmResourceId": { + "type": "string", + "description": "Gets the ARM resource ID of the tracked resource being referenced." + } + }, + "required": [ + "sourceArmResourceId" + ], + "description": "Defines reference to subnet." + }, + "SubnetResourceSettings": { + "type": "object", + "properties": { + "addressPrefix": { + "type": "string", + "description": "Gets or sets address prefix for the subnet." + }, + "name": { + "type": "string", + "description": "Gets or sets the Subnet name." + }, + "networkSecurityGroup": { + "oneOf": [ + { + "$ref": "#/definitions/NsgReference" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Defines reference to NSG." + } + }, + "description": "Defines the virtual network subnets resource settings." + }, + "VirtualMachineResourceSettings": { + "type": "object", + "properties": { + "resourceType": { + "type": "string", + "enum": [ + "Microsoft.Compute/virtualMachines" + ] + }, + "targetAvailabilitySetId": { + "type": "string", + "description": "Gets or sets the target availability set id for virtual machines not in an availability set at source." + }, + "targetAvailabilityZone": { + "oneOf": [ + { + "type": "string", + "enum": [ + "1", + "2", + "3", + "NA" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Gets or sets the target availability zone." + }, + "targetVmSize": { + "type": "string", + "description": "Gets or sets the target virtual machine size." + } + }, + "required": [ + "resourceType" + ], + "description": "Gets or sets the virtual machine resource settings." + }, + "VirtualNetworkResourceSettings": { + "type": "object", + "properties": { + "addressSpace": { + "oneOf": [ + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Gets or sets the address prefixes for the virtual network." + }, + "dnsServers": { + "oneOf": [ + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Gets or sets DHCPOptions that contains an array of DNS servers available to VMs\r\ndeployed in the virtual network." + }, + "enableDdosProtection": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Gets or sets a value indicating whether gets or sets whether the\r\nDDOS protection should be switched on." + }, + "resourceType": { + "type": "string", + "enum": [ + "Microsoft.Network/virtualNetworks" + ] + }, + "subnets": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/SubnetResourceSettings" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Gets or sets List of subnets in a VirtualNetwork." + } + }, + "required": [ + "resourceType" + ], + "description": "Defines the virtual network resource settings." + } + } +} \ No newline at end of file diff --git a/schemas/2020-12-01/Microsoft.Synapse.json b/schemas/2020-12-01/Microsoft.Synapse.json index 2a47fd77ea..970e365f3a 100644 --- a/schemas/2020-12-01/Microsoft.Synapse.json +++ b/schemas/2020-12-01/Microsoft.Synapse.json @@ -2831,6 +2831,10 @@ "type": "string", "description": "The name of the subnet this integration runtime will join." }, + "subnetId": { + "type": "string", + "description": "The ID of subnet, to which this Azure-SSIS integration runtime will be joined." + }, "vNetId": { "type": "string", "description": "The ID of the VNet that this integration runtime will join." diff --git a/schemas/2021-01-01/Microsoft.Migrate.json b/schemas/2021-01-01/Microsoft.Migrate.json new file mode 100644 index 0000000000..0e45499ee6 --- /dev/null +++ b/schemas/2021-01-01/Microsoft.Migrate.json @@ -0,0 +1,1054 @@ +{ + "id": "https://schema.management.azure.com/schemas/2021-01-01/Microsoft.Migrate.json#", + "$schema": "http://json-schema.org/draft-04/schema#", + "title": "Microsoft.Migrate", + "description": "Microsoft Migrate Resource Types", + "resourceDefinitions": { + "moveCollections": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-01-01" + ] + }, + "identity": { + "oneOf": [ + { + "$ref": "#/definitions/Identity" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Defines the MSI properties of the Move Collection." + }, + "location": { + "type": "string", + "description": "The geo-location where the resource lives." + }, + "name": { + "type": "string", + "description": "The Move Collection Name." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/MoveCollectionProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Defines the move collection properties." + }, + "resources": { + "type": "array", + "items": { + "oneOf": [ + { + "$ref": "#/definitions/moveCollections_moveResources_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.Migrate/moveCollections" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.Migrate/moveCollections" + }, + "moveCollections_moveResources": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-01-01" + ] + }, + "name": { + "type": "string", + "description": "The Move Resource Name." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/MoveResourceProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Defines the move resource properties." + }, + "type": { + "type": "string", + "enum": [ + "Microsoft.Migrate/moveCollections/moveResources" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.Migrate/moveCollections/moveResources" + } + }, + "definitions": { + "AvailabilitySetResourceSettings": { + "type": "object", + "properties": { + "faultDomain": { + "oneOf": [ + { + "type": "integer", + "minimum": 1 + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Gets or sets the target fault domain." + }, + "resourceType": { + "type": "string", + "enum": [ + "Microsoft.Compute/availabilitySets" + ] + }, + "updateDomain": { + "oneOf": [ + { + "type": "integer", + "minimum": 1, + "maximum": 20 + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Gets or sets the target update domain." + } + }, + "required": [ + "resourceType" + ], + "description": "Gets or sets the availability set resource settings." + }, + "DiskEncryptionSetResourceSettings": { + "type": "object", + "properties": { + "resourceType": { + "type": "string", + "enum": [ + "Microsoft.Compute/diskEncryptionSets" + ] + } + }, + "required": [ + "resourceType" + ], + "description": "Defines the disk encryption set resource settings." + }, + "Identity": { + "type": "object", + "properties": { + "principalId": { + "type": "string", + "description": "Gets or sets the principal id." + }, + "tenantId": { + "type": "string", + "description": "Gets or sets the tenant id." + }, + "type": { + "oneOf": [ + { + "type": "string", + "enum": [ + "None", + "SystemAssigned", + "UserAssigned" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ] + } + }, + "description": "Defines the MSI properties of the Move Collection." + }, + "KeyVaultResourceSettings": { + "type": "object", + "properties": { + "resourceType": { + "type": "string", + "enum": [ + "Microsoft.KeyVault/vaults" + ] + } + }, + "required": [ + "resourceType" + ], + "description": "Defines the key vault resource settings." + }, + "LBBackendAddressPoolResourceSettings": { + "type": "object", + "properties": { + "name": { + "type": "string", + "description": "Gets or sets the backend address pool name." + } + }, + "description": "Defines load balancer backend address pool properties." + }, + "LBFrontendIPConfigurationResourceSettings": { + "type": "object", + "properties": { + "name": { + "type": "string", + "description": "Gets or sets the frontend IP configuration name." + }, + "privateIpAddress": { + "type": "string", + "description": "Gets or sets the IP address of the Load Balancer.This is only specified if a specific\r\nprivate IP address shall be allocated from the subnet specified in subnetRef." + }, + "privateIpAllocationMethod": { + "type": "string", + "description": "Gets or sets PrivateIP allocation method (Static/Dynamic)." + }, + "subnet": { + "oneOf": [ + { + "$ref": "#/definitions/SubnetReference" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Defines reference to subnet." + }, + "zones": { + "type": "string", + "description": "Gets or sets the csv list of zones." + } + }, + "description": "Defines load balancer frontend IP configuration properties." + }, + "LoadBalancerBackendAddressPoolReference": { + "type": "object", + "properties": { + "name": { + "type": "string", + "description": "Gets the name of the proxy resource on the target side." + }, + "sourceArmResourceId": { + "type": "string", + "description": "Gets the ARM resource ID of the tracked resource being referenced." + } + }, + "required": [ + "sourceArmResourceId" + ], + "description": "Defines reference to load balancer backend address pools." + }, + "LoadBalancerNatRuleReference": { + "type": "object", + "properties": { + "name": { + "type": "string", + "description": "Gets the name of the proxy resource on the target side." + }, + "sourceArmResourceId": { + "type": "string", + "description": "Gets the ARM resource ID of the tracked resource being referenced." + } + }, + "required": [ + "sourceArmResourceId" + ], + "description": "Defines reference to load balancer NAT rules." + }, + "LoadBalancerResourceSettings": { + "type": "object", + "properties": { + "backendAddressPools": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/LBBackendAddressPoolResourceSettings" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Gets or sets the backend address pools of the load balancer." + }, + "frontendIPConfigurations": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/LBFrontendIPConfigurationResourceSettings" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Gets or sets the frontend IP configurations of the load balancer." + }, + "resourceType": { + "type": "string", + "enum": [ + "Microsoft.Network/loadBalancers" + ] + }, + "sku": { + "type": "string", + "description": "Gets or sets load balancer sku (Basic/Standard)." + }, + "zones": { + "type": "string", + "description": "Gets or sets the csv list of zones common for all frontend IP configurations. Note this is given\r\n precedence only if frontend IP configurations settings are not present." + } + }, + "required": [ + "resourceType" + ], + "description": "Defines the load balancer resource settings." + }, + "MoveCollectionProperties": { + "type": "object", + "properties": { + "provisioningState": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Succeeded", + "Updating", + "Creating", + "Failed" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ] + }, + "sourceRegion": { + "type": "string", + "description": "Gets or sets the source region." + }, + "targetRegion": { + "type": "string", + "description": "Gets or sets the target region." + } + }, + "required": [ + "sourceRegion", + "targetRegion" + ], + "description": "Defines the move collection properties." + }, + "moveCollections_moveResources_childResource": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-01-01" + ] + }, + "name": { + "type": "string", + "description": "The Move Resource Name." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/MoveResourceProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Defines the move resource properties." + }, + "type": { + "type": "string", + "enum": [ + "moveResources" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.Migrate/moveCollections/moveResources" + }, + "MoveResourceDependencyOverride": { + "type": "object", + "properties": { + "id": { + "type": "string", + "description": "Gets or sets the ARM ID of the dependent resource." + }, + "targetId": { + "type": "string", + "description": "Gets or sets the resource ARM id of either the MoveResource or the resource ARM ID of\r\nthe dependent resource." + } + }, + "description": "Defines the dependency override of the move resource." + }, + "MoveResourceProperties": { + "type": "object", + "properties": { + "dependsOnOverrides": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/MoveResourceDependencyOverride" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Gets or sets the move resource dependencies overrides." + }, + "existingTargetId": { + "type": "string", + "description": "Gets or sets the existing target ARM Id of the resource." + }, + "provisioningState": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Succeeded", + "Updating", + "Creating", + "Failed" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ] + }, + "resourceSettings": { + "oneOf": [ + { + "$ref": "#/definitions/ResourceSettings" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Gets or sets the resource settings." + }, + "sourceId": { + "type": "string", + "description": "Gets or sets the Source ARM Id of the resource." + } + }, + "required": [ + "sourceId" + ], + "description": "Defines the move resource properties." + }, + "NetworkInterfaceResourceSettings": { + "type": "object", + "properties": { + "enableAcceleratedNetworking": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Gets or sets a value indicating whether accelerated networking is enabled." + }, + "ipConfigurations": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/NicIpConfigurationResourceSettings" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Gets or sets the IP configurations of the NIC." + }, + "resourceType": { + "type": "string", + "enum": [ + "Microsoft.Network/networkInterfaces" + ] + } + }, + "required": [ + "resourceType" + ], + "description": "Defines the network interface resource settings." + }, + "NetworkSecurityGroupResourceSettings": { + "type": "object", + "properties": { + "resourceType": { + "type": "string", + "enum": [ + "Microsoft.Network/networkSecurityGroups" + ] + }, + "securityRules": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/NsgSecurityRule" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Gets or sets Security rules of network security group." + } + }, + "required": [ + "resourceType" + ], + "description": "Defines the NSG resource settings." + }, + "NicIpConfigurationResourceSettings": { + "type": "object", + "properties": { + "loadBalancerBackendAddressPools": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/LoadBalancerBackendAddressPoolReference" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Gets or sets the references of the load balancer backend address pools." + }, + "loadBalancerNatRules": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/LoadBalancerNatRuleReference" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Gets or sets the references of the load balancer NAT rules." + }, + "name": { + "type": "string", + "description": "Gets or sets the IP configuration name." + }, + "primary": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Gets or sets a value indicating whether this IP configuration is the primary." + }, + "privateIpAddress": { + "type": "string", + "description": "Gets or sets the private IP address of the network interface IP Configuration." + }, + "privateIpAllocationMethod": { + "type": "string", + "description": "Gets or sets the private IP address allocation method." + }, + "publicIp": { + "oneOf": [ + { + "$ref": "#/definitions/PublicIpReference" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Defines reference to a public IP." + }, + "subnet": { + "oneOf": [ + { + "$ref": "#/definitions/SubnetReference" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Defines reference to subnet." + } + }, + "description": "Defines NIC IP configuration properties." + }, + "NsgReference": { + "type": "object", + "properties": { + "sourceArmResourceId": { + "type": "string", + "description": "Gets the ARM resource ID of the tracked resource being referenced." + } + }, + "required": [ + "sourceArmResourceId" + ], + "description": "Defines reference to NSG." + }, + "NsgSecurityRule": { + "type": "object", + "properties": { + "access": { + "type": "string", + "description": "Gets or sets whether network traffic is allowed or denied.\r\nPossible values are “Allow” and “Deny”." + }, + "description": { + "type": "string", + "description": "Gets or sets a description for this rule. Restricted to 140 chars." + }, + "destinationAddressPrefix": { + "type": "string", + "description": "Gets or sets destination address prefix. CIDR or source IP range.\r\n A “*” can also be used to match all source IPs. Default tags such\r\nas ‘VirtualNetwork’, ‘AzureLoadBalancer’ and ‘Internet’ can also be used." + }, + "destinationPortRange": { + "type": "string", + "description": "Gets or sets Destination Port or Range. Integer or range between\r\n0 and 65535. A “*” can also be used to match all ports." + }, + "direction": { + "type": "string", + "description": "Gets or sets the direction of the rule.InBound or Outbound. The\r\ndirection specifies if rule will be evaluated on incoming or outgoing traffic." + }, + "name": { + "type": "string", + "description": "Gets or sets the Security rule name." + }, + "priority": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Gets or sets the priority of the rule. The value can be between\r\n100 and 4096. The priority number must be unique for each rule in the collection.\r\nThe lower the priority number, the higher the priority of the rule." + }, + "protocol": { + "type": "string", + "description": "Gets or sets Network protocol this rule applies to. Can be Tcp, Udp or All(*)." + }, + "sourceAddressPrefix": { + "type": "string", + "description": "Gets or sets source address prefix. CIDR or source IP range. A\r\n“*” can also be used to match all source IPs. Default tags such as ‘VirtualNetwork’,\r\n‘AzureLoadBalancer’ and ‘Internet’ can also be used. If this is an ingress\r\nrule, specifies where network traffic originates from." + }, + "sourcePortRange": { + "type": "string", + "description": "Gets or sets Source Port or Range. Integer or range between 0 and\r\n65535. A “*” can also be used to match all ports." + } + }, + "description": "Security Rule data model for Network Security Groups." + }, + "PublicIPAddressResourceSettings": { + "type": "object", + "properties": { + "domainNameLabel": { + "type": "string", + "description": "Gets or sets the domain name label." + }, + "fqdn": { + "type": "string", + "description": "Gets or sets the fully qualified domain name." + }, + "publicIpAllocationMethod": { + "type": "string", + "description": "Gets or sets public IP allocation method." + }, + "resourceType": { + "type": "string", + "enum": [ + "Microsoft.Network/publicIPAddresses" + ] + }, + "sku": { + "type": "string", + "description": "Gets or sets public IP sku." + }, + "zones": { + "type": "string", + "description": "Gets or sets public IP zones." + } + }, + "required": [ + "resourceType" + ], + "description": "Defines the public IP address resource settings." + }, + "PublicIpReference": { + "type": "object", + "properties": { + "sourceArmResourceId": { + "type": "string", + "description": "Gets the ARM resource ID of the tracked resource being referenced." + } + }, + "required": [ + "sourceArmResourceId" + ], + "description": "Defines reference to a public IP." + }, + "ResourceGroupResourceSettings": { + "type": "object", + "properties": { + "resourceType": { + "type": "string", + "enum": [ + "resourceGroups" + ] + } + }, + "required": [ + "resourceType" + ], + "description": "Defines the resource group resource settings." + }, + "ResourceSettings": { + "type": "object", + "oneOf": [ + { + "$ref": "#/definitions/VirtualMachineResourceSettings" + }, + { + "$ref": "#/definitions/AvailabilitySetResourceSettings" + }, + { + "$ref": "#/definitions/VirtualNetworkResourceSettings" + }, + { + "$ref": "#/definitions/NetworkInterfaceResourceSettings" + }, + { + "$ref": "#/definitions/NetworkSecurityGroupResourceSettings" + }, + { + "$ref": "#/definitions/LoadBalancerResourceSettings" + }, + { + "$ref": "#/definitions/SqlServerResourceSettings" + }, + { + "$ref": "#/definitions/SqlElasticPoolResourceSettings" + }, + { + "$ref": "#/definitions/SqlDatabaseResourceSettings" + }, + { + "$ref": "#/definitions/ResourceGroupResourceSettings" + }, + { + "$ref": "#/definitions/PublicIPAddressResourceSettings" + }, + { + "$ref": "#/definitions/KeyVaultResourceSettings" + }, + { + "$ref": "#/definitions/DiskEncryptionSetResourceSettings" + } + ], + "properties": { + "targetResourceName": { + "type": "string", + "description": "Gets or sets the target Resource name." + } + }, + "required": [ + "targetResourceName" + ], + "description": "Gets or sets the resource settings." + }, + "SqlDatabaseResourceSettings": { + "type": "object", + "properties": { + "resourceType": { + "type": "string", + "enum": [ + "Microsoft.Sql/servers/databases" + ] + }, + "zoneRedundant": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Enable", + "Disable" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ] + } + }, + "required": [ + "resourceType" + ], + "description": "Defines the Sql Database resource settings." + }, + "SqlElasticPoolResourceSettings": { + "type": "object", + "properties": { + "resourceType": { + "type": "string", + "enum": [ + "Microsoft.Sql/servers/elasticPools" + ] + }, + "zoneRedundant": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Enable", + "Disable" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ] + } + }, + "required": [ + "resourceType" + ], + "description": "Defines the Sql ElasticPool resource settings." + }, + "SqlServerResourceSettings": { + "type": "object", + "properties": { + "resourceType": { + "type": "string", + "enum": [ + "Microsoft.Sql/servers" + ] + } + }, + "required": [ + "resourceType" + ], + "description": "Defines the SQL Server resource settings." + }, + "SubnetReference": { + "type": "object", + "properties": { + "name": { + "type": "string", + "description": "Gets the name of the proxy resource on the target side." + }, + "sourceArmResourceId": { + "type": "string", + "description": "Gets the ARM resource ID of the tracked resource being referenced." + } + }, + "required": [ + "sourceArmResourceId" + ], + "description": "Defines reference to subnet." + }, + "SubnetResourceSettings": { + "type": "object", + "properties": { + "addressPrefix": { + "type": "string", + "description": "Gets or sets address prefix for the subnet." + }, + "name": { + "type": "string", + "description": "Gets or sets the Subnet name." + }, + "networkSecurityGroup": { + "oneOf": [ + { + "$ref": "#/definitions/NsgReference" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Defines reference to NSG." + } + }, + "description": "Defines the virtual network subnets resource settings." + }, + "VirtualMachineResourceSettings": { + "type": "object", + "properties": { + "resourceType": { + "type": "string", + "enum": [ + "Microsoft.Compute/virtualMachines" + ] + }, + "targetAvailabilitySetId": { + "type": "string", + "description": "Gets or sets the target availability set id for virtual machines not in an availability set at source." + }, + "targetAvailabilityZone": { + "oneOf": [ + { + "type": "string", + "enum": [ + "1", + "2", + "3", + "NA" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Gets or sets the target availability zone." + }, + "targetVmSize": { + "type": "string", + "description": "Gets or sets the target virtual machine size." + } + }, + "required": [ + "resourceType" + ], + "description": "Gets or sets the virtual machine resource settings." + }, + "VirtualNetworkResourceSettings": { + "type": "object", + "properties": { + "addressSpace": { + "oneOf": [ + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Gets or sets the address prefixes for the virtual network." + }, + "dnsServers": { + "oneOf": [ + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Gets or sets DHCPOptions that contains an array of DNS servers available to VMs\r\ndeployed in the virtual network." + }, + "enableDdosProtection": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Gets or sets a value indicating whether gets or sets whether the\r\nDDOS protection should be switched on." + }, + "resourceType": { + "type": "string", + "enum": [ + "Microsoft.Network/virtualNetworks" + ] + }, + "subnets": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/SubnetResourceSettings" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Gets or sets List of subnets in a VirtualNetwork." + } + }, + "required": [ + "resourceType" + ], + "description": "Defines the virtual network resource settings." + } + } +} \ No newline at end of file diff --git a/schemas/2021-03-01/Microsoft.Synapse.json b/schemas/2021-03-01/Microsoft.Synapse.json index a12193bce7..68f6035581 100644 --- a/schemas/2021-03-01/Microsoft.Synapse.json +++ b/schemas/2021-03-01/Microsoft.Synapse.json @@ -2831,6 +2831,10 @@ "type": "string", "description": "The name of the subnet this integration runtime will join." }, + "subnetId": { + "type": "string", + "description": "The ID of subnet, to which this Azure-SSIS integration runtime will be joined." + }, "vNetId": { "type": "string", "description": "The ID of the VNet that this integration runtime will join." diff --git a/schemas/2021-05-01/Microsoft.Synapse.json b/schemas/2021-05-01/Microsoft.Synapse.json index db2c522864..9a106dd96a 100644 --- a/schemas/2021-05-01/Microsoft.Synapse.json +++ b/schemas/2021-05-01/Microsoft.Synapse.json @@ -2852,6 +2852,10 @@ "type": "string", "description": "The name of the subnet this integration runtime will join." }, + "subnetId": { + "type": "string", + "description": "The ID of subnet, to which this Azure-SSIS integration runtime will be joined." + }, "vNetId": { "type": "string", "description": "The ID of the VNet that this integration runtime will join." diff --git a/schemas/2021-07-01/Microsoft.Security.json b/schemas/2021-07-01/Microsoft.Security.json new file mode 100644 index 0000000000..8c5cade66a --- /dev/null +++ b/schemas/2021-07-01/Microsoft.Security.json @@ -0,0 +1,151 @@ +{ + "id": "https://schema.management.azure.com/schemas/2021-07-01/Microsoft.Security.json#", + "$schema": "http://json-schema.org/draft-04/schema#", + "title": "Microsoft.Security", + "description": "Microsoft Security Resource Types", + "resourceDefinitions": {}, + "subscription_resourceDefinitions": { + "settings": { + "type": "object", + "oneOf": [ + { + "$ref": "#/definitions/DataExportSettings" + }, + { + "$ref": "#/definitions/AlertSyncSettings" + } + ], + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-07-01" + ] + }, + "name": { + "oneOf": [ + { + "type": "string", + "enum": [ + "MCAS", + "WDATP", + "WDATP_EXCLUDE_LINUX_PUBLIC_PREVIEW", + "Sentinel" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The name of the setting." + }, + "type": { + "type": "string", + "enum": [ + "Microsoft.Security/settings" + ] + } + }, + "required": [ + "apiVersion", + "name", + "type" + ], + "description": "Microsoft.Security/settings" + } + }, + "definitions": { + "AlertSyncSettingProperties": { + "type": "object", + "properties": { + "enabled": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Is the alert sync setting enabled" + } + }, + "required": [ + "enabled" + ], + "description": "The alert sync setting properties" + }, + "AlertSyncSettings": { + "type": "object", + "properties": { + "kind": { + "type": "string", + "enum": [ + "AlertSyncSettings" + ] + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/AlertSyncSettingProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The alert sync setting properties" + } + }, + "required": [ + "kind" + ], + "description": "Represents an alert sync setting" + }, + "DataExportSettingProperties": { + "type": "object", + "properties": { + "enabled": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Is the data export setting enabled" + } + }, + "required": [ + "enabled" + ], + "description": "The data export setting properties" + }, + "DataExportSettings": { + "type": "object", + "properties": { + "kind": { + "type": "string", + "enum": [ + "DataExportSettings" + ] + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/DataExportSettingProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The data export setting properties" + } + }, + "required": [ + "kind" + ], + "description": "Represents a data export setting" + } + } +} \ No newline at end of file diff --git a/schemas/common/autogeneratedResources.json b/schemas/common/autogeneratedResources.json index 7e1a5288e1..ee3a94f0f9 100644 --- a/schemas/common/autogeneratedResources.json +++ b/schemas/common/autogeneratedResources.json @@ -6916,6 +6916,12 @@ { "$ref": "https://schema.management.azure.com/schemas/2018-02-02/Microsoft.Migrate.json#/resourceDefinitions/projects_groups_assessments" }, + { + "$ref": "https://schema.management.azure.com/schemas/2018-09-01-preview/Microsoft.Migrate.json#/resourceDefinitions/migrateProjects" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2018-09-01-preview/Microsoft.Migrate.json#/resourceDefinitions/migrateProjects_solutions" + }, { "$ref": "https://schema.management.azure.com/schemas/2019-10-01/Microsoft.Migrate.json#/resourceDefinitions/assessmentProjects" }, @@ -6940,6 +6946,18 @@ { "$ref": "https://schema.management.azure.com/schemas/2019-10-01/Microsoft.Migrate.json#/resourceDefinitions/assessmentProjects_vmwarecollectors" }, + { + "$ref": "https://schema.management.azure.com/schemas/2019-10-01-preview/Microsoft.Migrate.json#/resourceDefinitions/moveCollections" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2019-10-01-preview/Microsoft.Migrate.json#/resourceDefinitions/moveCollections_moveResources" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2021-01-01/Microsoft.Migrate.json#/resourceDefinitions/moveCollections" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2021-01-01/Microsoft.Migrate.json#/resourceDefinitions/moveCollections_moveResources" + }, { "$ref": "https://schema.management.azure.com/schemas/2019-02-28-preview/Microsoft.MixedReality.json#/resourceDefinitions/spatialAnchorsAccounts" }, From c84ec7c4b8db817f1e2c97207fe5b9c67f28bfa5 Mon Sep 17 00:00:00 2001 From: Autogenerator Pipeline Date: Sun, 1 Aug 2021 09:17:49 +0000 Subject: [PATCH 20/64] Autogenerate schemas --- .../2018-09-01-preview/Microsoft.Migrate.json | 517 -------- .../2019-10-01-preview/Microsoft.Migrate.json | 1054 ----------------- schemas/2021-01-01/Microsoft.Migrate.json | 1054 ----------------- schemas/common/autogeneratedResources.json | 18 - 4 files changed, 2643 deletions(-) delete mode 100644 schemas/2018-09-01-preview/Microsoft.Migrate.json delete mode 100644 schemas/2019-10-01-preview/Microsoft.Migrate.json delete mode 100644 schemas/2021-01-01/Microsoft.Migrate.json diff --git a/schemas/2018-09-01-preview/Microsoft.Migrate.json b/schemas/2018-09-01-preview/Microsoft.Migrate.json deleted file mode 100644 index 074e3e9b7c..0000000000 --- a/schemas/2018-09-01-preview/Microsoft.Migrate.json +++ /dev/null @@ -1,517 +0,0 @@ -{ - "id": "https://schema.management.azure.com/schemas/2018-09-01-preview/Microsoft.Migrate.json#", - "$schema": "http://json-schema.org/draft-04/schema#", - "title": "Microsoft.Migrate", - "description": "Microsoft Migrate Resource Types", - "resourceDefinitions": { - "migrateProjects": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2018-09-01-preview" - ] - }, - "eTag": { - "type": "string", - "description": "Gets or sets the eTag for concurrency control." - }, - "location": { - "type": "string", - "description": "Gets or sets the Azure location in which migrate project is created." - }, - "name": { - "type": "string", - "description": "Name of the Azure Migrate project." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/MigrateProjectProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Class for migrate project properties." - }, - "resources": { - "type": "array", - "items": { - "oneOf": [ - { - "$ref": "#/definitions/migrateProjects_solutions_childResource" - } - ] - } - }, - "tags": { - "oneOf": [ - { - "$ref": "#/definitions/MigrateProjectTags" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Gets or sets the tags." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.Migrate/migrateProjects" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.Migrate/migrateProjects" - }, - "migrateProjects_solutions": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2018-09-01-preview" - ] - }, - "etag": { - "type": "string", - "description": "Gets or sets the ETAG for optimistic concurrency control." - }, - "name": { - "type": "string", - "description": "Unique name of a migration solution within a migrate project." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/SolutionProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Class for solution properties." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.Migrate/migrateProjects/solutions" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.Migrate/migrateProjects/solutions" - } - }, - "definitions": { - "DatabasesSolutionSummary": { - "type": "object", - "properties": { - "databaseInstancesAssessedCount": { - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Gets or sets the count of database instances assessed." - }, - "databasesAssessedCount": { - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Gets or sets the count of databases assessed." - }, - "instanceType": { - "type": "string", - "enum": [ - "Databases" - ] - }, - "migrationReadyCount": { - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Gets or sets the count of databases ready for migration." - } - }, - "required": [ - "instanceType" - ], - "description": "Class representing the databases solution summary." - }, - "MigrateProjectProperties": { - "type": "object", - "properties": { - "provisioningState": { - "oneOf": [ - { - "type": "string", - "enum": [ - "Accepted", - "Creating", - "Deleting", - "Failed", - "Moving", - "Succeeded" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Provisioning state of the migrate project." - }, - "registeredTools": { - "oneOf": [ - { - "type": "array", - "items": { - "type": "string", - "enum": [ - "ServerDiscovery", - "ServerAssessment", - "ServerMigration", - "Cloudamize", - "Turbonomic", - "Zerto", - "CorentTech", - "ServerAssessmentV1", - "ServerMigration_Replication", - "Carbonite", - "DataMigrationAssistant", - "DatabaseMigrationService" - ] - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Gets or sets the list of tools registered with the migrate project." - } - }, - "description": "Class for migrate project properties." - }, - "migrateProjects_solutions_childResource": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2018-09-01-preview" - ] - }, - "etag": { - "type": "string", - "description": "Gets or sets the ETAG for optimistic concurrency control." - }, - "name": { - "type": "string", - "description": "Unique name of a migration solution within a migrate project." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/SolutionProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Class for solution properties." - }, - "type": { - "type": "string", - "enum": [ - "solutions" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.Migrate/migrateProjects/solutions" - }, - "MigrateProjectTags": { - "type": "object", - "properties": { - "additionalProperties": { - "type": "string" - } - }, - "description": "Gets or sets the tags." - }, - "ServersSolutionSummary": { - "type": "object", - "properties": { - "assessedCount": { - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Gets or sets the count of servers assessed." - }, - "discoveredCount": { - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Gets or sets the count of servers discovered." - }, - "instanceType": { - "type": "string", - "enum": [ - "Servers" - ] - }, - "migratedCount": { - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Gets or sets the count of servers migrated." - }, - "replicatingCount": { - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Gets or sets the count of servers being replicated." - }, - "testMigratedCount": { - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Gets or sets the count of servers test migrated." - } - }, - "required": [ - "instanceType" - ], - "description": "Class representing the servers solution summary." - }, - "SolutionDetails": { - "type": "object", - "properties": { - "assessmentCount": { - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Gets or sets the count of assessments reported by the solution." - }, - "extendedDetails": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Gets or sets the extended details reported by the solution." - }, - "groupCount": { - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Gets or sets the count of groups reported by the solution." - } - }, - "description": "Class representing the details of the solution." - }, - "SolutionProperties": { - "type": "object", - "properties": { - "cleanupState": { - "oneOf": [ - { - "type": "string", - "enum": [ - "None", - "Started", - "InProgress", - "Completed", - "Failed" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Gets or sets the cleanup state of the solution." - }, - "details": { - "oneOf": [ - { - "$ref": "#/definitions/SolutionDetails" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Class representing the details of the solution." - }, - "goal": { - "oneOf": [ - { - "type": "string", - "enum": [ - "Servers", - "Databases" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Gets or sets the goal of the solution." - }, - "purpose": { - "oneOf": [ - { - "type": "string", - "enum": [ - "Discovery", - "Assessment", - "Migration" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Gets or sets the purpose of the solution." - }, - "status": { - "oneOf": [ - { - "type": "string", - "enum": [ - "Inactive", - "Active" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Gets or sets the current status of the solution." - }, - "summary": { - "oneOf": [ - { - "$ref": "#/definitions/SolutionSummary" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The solution summary class." - }, - "tool": { - "oneOf": [ - { - "type": "string", - "enum": [ - "ServerDiscovery", - "ServerAssessment", - "ServerMigration", - "Cloudamize", - "Turbonomic", - "Zerto", - "CorentTech", - "ServerAssessmentV1", - "ServerMigration_Replication", - "Carbonite", - "DataMigrationAssistant", - "DatabaseMigrationService" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Gets or sets the tool being used in the solution." - } - }, - "description": "Class for solution properties." - }, - "SolutionSummary": { - "type": "object", - "oneOf": [ - { - "$ref": "#/definitions/ServersSolutionSummary" - }, - { - "$ref": "#/definitions/DatabasesSolutionSummary" - } - ], - "properties": {}, - "description": "The solution summary class." - } - } -} \ No newline at end of file diff --git a/schemas/2019-10-01-preview/Microsoft.Migrate.json b/schemas/2019-10-01-preview/Microsoft.Migrate.json deleted file mode 100644 index 69d60e191b..0000000000 --- a/schemas/2019-10-01-preview/Microsoft.Migrate.json +++ /dev/null @@ -1,1054 +0,0 @@ -{ - "id": "https://schema.management.azure.com/schemas/2019-10-01-preview/Microsoft.Migrate.json#", - "$schema": "http://json-schema.org/draft-04/schema#", - "title": "Microsoft.Migrate", - "description": "Microsoft Migrate Resource Types", - "resourceDefinitions": { - "moveCollections": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2019-10-01-preview" - ] - }, - "identity": { - "oneOf": [ - { - "$ref": "#/definitions/Identity" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Defines the MSI properties of the Move Collection." - }, - "location": { - "type": "string", - "description": "The geo-location where the resource lives." - }, - "name": { - "type": "string", - "description": "The Move Collection Name." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/MoveCollectionProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Defines the move collection properties." - }, - "resources": { - "type": "array", - "items": { - "oneOf": [ - { - "$ref": "#/definitions/moveCollections_moveResources_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.Migrate/moveCollections" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.Migrate/moveCollections" - }, - "moveCollections_moveResources": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2019-10-01-preview" - ] - }, - "name": { - "type": "string", - "description": "The Move Resource Name." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/MoveResourceProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Defines the move resource properties." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.Migrate/moveCollections/moveResources" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.Migrate/moveCollections/moveResources" - } - }, - "definitions": { - "AvailabilitySetResourceSettings": { - "type": "object", - "properties": { - "faultDomain": { - "oneOf": [ - { - "type": "integer", - "minimum": 1 - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Gets or sets the target fault domain." - }, - "resourceType": { - "type": "string", - "enum": [ - "Microsoft.Compute/availabilitySets" - ] - }, - "updateDomain": { - "oneOf": [ - { - "type": "integer", - "minimum": 1, - "maximum": 20 - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Gets or sets the target update domain." - } - }, - "required": [ - "resourceType" - ], - "description": "Gets or sets the availability set resource settings." - }, - "DiskEncryptionSetResourceSettings": { - "type": "object", - "properties": { - "resourceType": { - "type": "string", - "enum": [ - "Microsoft.Compute/diskEncryptionSets" - ] - } - }, - "required": [ - "resourceType" - ], - "description": "Defines the disk encryption set resource settings." - }, - "Identity": { - "type": "object", - "properties": { - "principalId": { - "type": "string", - "description": "Gets or sets the principal id." - }, - "tenantId": { - "type": "string", - "description": "Gets or sets the tenant id." - }, - "type": { - "oneOf": [ - { - "type": "string", - "enum": [ - "None", - "SystemAssigned", - "UserAssigned" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - } - }, - "description": "Defines the MSI properties of the Move Collection." - }, - "KeyVaultResourceSettings": { - "type": "object", - "properties": { - "resourceType": { - "type": "string", - "enum": [ - "Microsoft.KeyVault/vaults" - ] - } - }, - "required": [ - "resourceType" - ], - "description": "Defines the key vault resource settings." - }, - "LBBackendAddressPoolResourceSettings": { - "type": "object", - "properties": { - "name": { - "type": "string", - "description": "Gets or sets the backend address pool name." - } - }, - "description": "Defines load balancer backend address pool properties." - }, - "LBFrontendIPConfigurationResourceSettings": { - "type": "object", - "properties": { - "name": { - "type": "string", - "description": "Gets or sets the frontend IP configuration name." - }, - "privateIpAddress": { - "type": "string", - "description": "Gets or sets the IP address of the Load Balancer.This is only specified if a specific\r\nprivate IP address shall be allocated from the subnet specified in subnetRef." - }, - "privateIpAllocationMethod": { - "type": "string", - "description": "Gets or sets PrivateIP allocation method (Static/Dynamic)." - }, - "subnet": { - "oneOf": [ - { - "$ref": "#/definitions/SubnetReference" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Defines reference to subnet." - }, - "zones": { - "type": "string", - "description": "Gets or sets the csv list of zones." - } - }, - "description": "Defines load balancer frontend IP configuration properties." - }, - "LoadBalancerBackendAddressPoolReference": { - "type": "object", - "properties": { - "name": { - "type": "string", - "description": "Gets the name of the proxy resource on the target side." - }, - "sourceArmResourceId": { - "type": "string", - "description": "Gets the ARM resource ID of the tracked resource being referenced." - } - }, - "required": [ - "sourceArmResourceId" - ], - "description": "Defines reference to load balancer backend address pools." - }, - "LoadBalancerNatRuleReference": { - "type": "object", - "properties": { - "name": { - "type": "string", - "description": "Gets the name of the proxy resource on the target side." - }, - "sourceArmResourceId": { - "type": "string", - "description": "Gets the ARM resource ID of the tracked resource being referenced." - } - }, - "required": [ - "sourceArmResourceId" - ], - "description": "Defines reference to load balancer NAT rules." - }, - "LoadBalancerResourceSettings": { - "type": "object", - "properties": { - "backendAddressPools": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/definitions/LBBackendAddressPoolResourceSettings" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Gets or sets the backend address pools of the load balancer." - }, - "frontendIPConfigurations": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/definitions/LBFrontendIPConfigurationResourceSettings" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Gets or sets the frontend IP configurations of the load balancer." - }, - "resourceType": { - "type": "string", - "enum": [ - "Microsoft.Network/loadBalancers" - ] - }, - "sku": { - "type": "string", - "description": "Gets or sets load balancer sku (Basic/Standard)." - }, - "zones": { - "type": "string", - "description": "Gets or sets the csv list of zones common for all frontend IP configurations. Note this is given\r\n precedence only if frontend IP configurations settings are not present." - } - }, - "required": [ - "resourceType" - ], - "description": "Defines the load balancer resource settings." - }, - "MoveCollectionProperties": { - "type": "object", - "properties": { - "provisioningState": { - "oneOf": [ - { - "type": "string", - "enum": [ - "Succeeded", - "Updating", - "Creating", - "Failed" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "sourceRegion": { - "type": "string", - "description": "Gets or sets the source region." - }, - "targetRegion": { - "type": "string", - "description": "Gets or sets the target region." - } - }, - "required": [ - "sourceRegion", - "targetRegion" - ], - "description": "Defines the move collection properties." - }, - "moveCollections_moveResources_childResource": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2019-10-01-preview" - ] - }, - "name": { - "type": "string", - "description": "The Move Resource Name." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/MoveResourceProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Defines the move resource properties." - }, - "type": { - "type": "string", - "enum": [ - "moveResources" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.Migrate/moveCollections/moveResources" - }, - "MoveResourceDependencyOverride": { - "type": "object", - "properties": { - "id": { - "type": "string", - "description": "Gets or sets the ARM ID of the dependent resource." - }, - "targetId": { - "type": "string", - "description": "Gets or sets the resource ARM id of either the MoveResource or the resource ARM ID of\r\nthe dependent resource." - } - }, - "description": "Defines the dependency override of the move resource." - }, - "MoveResourceProperties": { - "type": "object", - "properties": { - "dependsOnOverrides": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/definitions/MoveResourceDependencyOverride" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Gets or sets the move resource dependencies overrides." - }, - "existingTargetId": { - "type": "string", - "description": "Gets or sets the existing target ARM Id of the resource." - }, - "provisioningState": { - "oneOf": [ - { - "type": "string", - "enum": [ - "Succeeded", - "Updating", - "Creating", - "Failed" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "resourceSettings": { - "oneOf": [ - { - "$ref": "#/definitions/ResourceSettings" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Gets or sets the resource settings." - }, - "sourceId": { - "type": "string", - "description": "Gets or sets the Source ARM Id of the resource." - } - }, - "required": [ - "sourceId" - ], - "description": "Defines the move resource properties." - }, - "NetworkInterfaceResourceSettings": { - "type": "object", - "properties": { - "enableAcceleratedNetworking": { - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Gets or sets a value indicating whether accelerated networking is enabled." - }, - "ipConfigurations": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/definitions/NicIpConfigurationResourceSettings" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Gets or sets the IP configurations of the NIC." - }, - "resourceType": { - "type": "string", - "enum": [ - "Microsoft.Network/networkInterfaces" - ] - } - }, - "required": [ - "resourceType" - ], - "description": "Defines the network interface resource settings." - }, - "NetworkSecurityGroupResourceSettings": { - "type": "object", - "properties": { - "resourceType": { - "type": "string", - "enum": [ - "Microsoft.Network/networkSecurityGroups" - ] - }, - "securityRules": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/definitions/NsgSecurityRule" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Gets or sets Security rules of network security group." - } - }, - "required": [ - "resourceType" - ], - "description": "Defines the NSG resource settings." - }, - "NicIpConfigurationResourceSettings": { - "type": "object", - "properties": { - "loadBalancerBackendAddressPools": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/definitions/LoadBalancerBackendAddressPoolReference" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Gets or sets the references of the load balancer backend address pools." - }, - "loadBalancerNatRules": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/definitions/LoadBalancerNatRuleReference" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Gets or sets the references of the load balancer NAT rules." - }, - "name": { - "type": "string", - "description": "Gets or sets the IP configuration name." - }, - "primary": { - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Gets or sets a value indicating whether this IP configuration is the primary." - }, - "privateIpAddress": { - "type": "string", - "description": "Gets or sets the private IP address of the network interface IP Configuration." - }, - "privateIpAllocationMethod": { - "type": "string", - "description": "Gets or sets the private IP address allocation method." - }, - "publicIp": { - "oneOf": [ - { - "$ref": "#/definitions/PublicIpReference" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Defines reference to a public IP." - }, - "subnet": { - "oneOf": [ - { - "$ref": "#/definitions/SubnetReference" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Defines reference to subnet." - } - }, - "description": "Defines NIC IP configuration properties." - }, - "NsgReference": { - "type": "object", - "properties": { - "sourceArmResourceId": { - "type": "string", - "description": "Gets the ARM resource ID of the tracked resource being referenced." - } - }, - "required": [ - "sourceArmResourceId" - ], - "description": "Defines reference to NSG." - }, - "NsgSecurityRule": { - "type": "object", - "properties": { - "access": { - "type": "string", - "description": "Gets or sets whether network traffic is allowed or denied.\r\nPossible values are “Allow” and “Deny”." - }, - "description": { - "type": "string", - "description": "Gets or sets a description for this rule. Restricted to 140 chars." - }, - "destinationAddressPrefix": { - "type": "string", - "description": "Gets or sets destination address prefix. CIDR or source IP range.\r\n A “*” can also be used to match all source IPs. Default tags such\r\nas ‘VirtualNetwork’, ‘AzureLoadBalancer’ and ‘Internet’ can also be used." - }, - "destinationPortRange": { - "type": "string", - "description": "Gets or sets Destination Port or Range. Integer or range between\r\n0 and 65535. A “*” can also be used to match all ports." - }, - "direction": { - "type": "string", - "description": "Gets or sets the direction of the rule.InBound or Outbound. The\r\ndirection specifies if rule will be evaluated on incoming or outgoing traffic." - }, - "name": { - "type": "string", - "description": "Gets or sets the Security rule name." - }, - "priority": { - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Gets or sets the priority of the rule. The value can be between\r\n100 and 4096. The priority number must be unique for each rule in the collection.\r\nThe lower the priority number, the higher the priority of the rule." - }, - "protocol": { - "type": "string", - "description": "Gets or sets Network protocol this rule applies to. Can be Tcp, Udp or All(*)." - }, - "sourceAddressPrefix": { - "type": "string", - "description": "Gets or sets source address prefix. CIDR or source IP range. A\r\n“*” can also be used to match all source IPs. Default tags such as ‘VirtualNetwork’,\r\n‘AzureLoadBalancer’ and ‘Internet’ can also be used. If this is an ingress\r\nrule, specifies where network traffic originates from." - }, - "sourcePortRange": { - "type": "string", - "description": "Gets or sets Source Port or Range. Integer or range between 0 and\r\n65535. A “*” can also be used to match all ports." - } - }, - "description": "Security Rule data model for Network Security Groups." - }, - "PublicIPAddressResourceSettings": { - "type": "object", - "properties": { - "domainNameLabel": { - "type": "string", - "description": "Gets or sets the domain name label." - }, - "fqdn": { - "type": "string", - "description": "Gets or sets the fully qualified domain name." - }, - "publicIpAllocationMethod": { - "type": "string", - "description": "Gets or sets public IP allocation method." - }, - "resourceType": { - "type": "string", - "enum": [ - "Microsoft.Network/publicIPAddresses" - ] - }, - "sku": { - "type": "string", - "description": "Gets or sets public IP sku." - }, - "zones": { - "type": "string", - "description": "Gets or sets public IP zones." - } - }, - "required": [ - "resourceType" - ], - "description": "Defines the public IP address resource settings." - }, - "PublicIpReference": { - "type": "object", - "properties": { - "sourceArmResourceId": { - "type": "string", - "description": "Gets the ARM resource ID of the tracked resource being referenced." - } - }, - "required": [ - "sourceArmResourceId" - ], - "description": "Defines reference to a public IP." - }, - "ResourceGroupResourceSettings": { - "type": "object", - "properties": { - "resourceType": { - "type": "string", - "enum": [ - "resourceGroups" - ] - } - }, - "required": [ - "resourceType" - ], - "description": "Defines the resource group resource settings." - }, - "ResourceSettings": { - "type": "object", - "oneOf": [ - { - "$ref": "#/definitions/VirtualMachineResourceSettings" - }, - { - "$ref": "#/definitions/AvailabilitySetResourceSettings" - }, - { - "$ref": "#/definitions/VirtualNetworkResourceSettings" - }, - { - "$ref": "#/definitions/NetworkInterfaceResourceSettings" - }, - { - "$ref": "#/definitions/NetworkSecurityGroupResourceSettings" - }, - { - "$ref": "#/definitions/LoadBalancerResourceSettings" - }, - { - "$ref": "#/definitions/SqlServerResourceSettings" - }, - { - "$ref": "#/definitions/SqlElasticPoolResourceSettings" - }, - { - "$ref": "#/definitions/SqlDatabaseResourceSettings" - }, - { - "$ref": "#/definitions/ResourceGroupResourceSettings" - }, - { - "$ref": "#/definitions/PublicIPAddressResourceSettings" - }, - { - "$ref": "#/definitions/KeyVaultResourceSettings" - }, - { - "$ref": "#/definitions/DiskEncryptionSetResourceSettings" - } - ], - "properties": { - "targetResourceName": { - "type": "string", - "description": "Gets or sets the target Resource name." - } - }, - "required": [ - "targetResourceName" - ], - "description": "Gets or sets the resource settings." - }, - "SqlDatabaseResourceSettings": { - "type": "object", - "properties": { - "resourceType": { - "type": "string", - "enum": [ - "Microsoft.Sql/servers/databases" - ] - }, - "zoneRedundant": { - "oneOf": [ - { - "type": "string", - "enum": [ - "Enable", - "Disable" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - } - }, - "required": [ - "resourceType" - ], - "description": "Defines the Sql Database resource settings." - }, - "SqlElasticPoolResourceSettings": { - "type": "object", - "properties": { - "resourceType": { - "type": "string", - "enum": [ - "Microsoft.Sql/servers/elasticPools" - ] - }, - "zoneRedundant": { - "oneOf": [ - { - "type": "string", - "enum": [ - "Enable", - "Disable" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - } - }, - "required": [ - "resourceType" - ], - "description": "Defines the Sql ElasticPool resource settings." - }, - "SqlServerResourceSettings": { - "type": "object", - "properties": { - "resourceType": { - "type": "string", - "enum": [ - "Microsoft.Sql/servers" - ] - } - }, - "required": [ - "resourceType" - ], - "description": "Defines the SQL Server resource settings." - }, - "SubnetReference": { - "type": "object", - "properties": { - "name": { - "type": "string", - "description": "Gets the name of the proxy resource on the target side." - }, - "sourceArmResourceId": { - "type": "string", - "description": "Gets the ARM resource ID of the tracked resource being referenced." - } - }, - "required": [ - "sourceArmResourceId" - ], - "description": "Defines reference to subnet." - }, - "SubnetResourceSettings": { - "type": "object", - "properties": { - "addressPrefix": { - "type": "string", - "description": "Gets or sets address prefix for the subnet." - }, - "name": { - "type": "string", - "description": "Gets or sets the Subnet name." - }, - "networkSecurityGroup": { - "oneOf": [ - { - "$ref": "#/definitions/NsgReference" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Defines reference to NSG." - } - }, - "description": "Defines the virtual network subnets resource settings." - }, - "VirtualMachineResourceSettings": { - "type": "object", - "properties": { - "resourceType": { - "type": "string", - "enum": [ - "Microsoft.Compute/virtualMachines" - ] - }, - "targetAvailabilitySetId": { - "type": "string", - "description": "Gets or sets the target availability set id for virtual machines not in an availability set at source." - }, - "targetAvailabilityZone": { - "oneOf": [ - { - "type": "string", - "enum": [ - "1", - "2", - "3", - "NA" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Gets or sets the target availability zone." - }, - "targetVmSize": { - "type": "string", - "description": "Gets or sets the target virtual machine size." - } - }, - "required": [ - "resourceType" - ], - "description": "Gets or sets the virtual machine resource settings." - }, - "VirtualNetworkResourceSettings": { - "type": "object", - "properties": { - "addressSpace": { - "oneOf": [ - { - "type": "array", - "items": { - "type": "string" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Gets or sets the address prefixes for the virtual network." - }, - "dnsServers": { - "oneOf": [ - { - "type": "array", - "items": { - "type": "string" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Gets or sets DHCPOptions that contains an array of DNS servers available to VMs\r\ndeployed in the virtual network." - }, - "enableDdosProtection": { - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Gets or sets a value indicating whether gets or sets whether the\r\nDDOS protection should be switched on." - }, - "resourceType": { - "type": "string", - "enum": [ - "Microsoft.Network/virtualNetworks" - ] - }, - "subnets": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/definitions/SubnetResourceSettings" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Gets or sets List of subnets in a VirtualNetwork." - } - }, - "required": [ - "resourceType" - ], - "description": "Defines the virtual network resource settings." - } - } -} \ No newline at end of file diff --git a/schemas/2021-01-01/Microsoft.Migrate.json b/schemas/2021-01-01/Microsoft.Migrate.json deleted file mode 100644 index 0e45499ee6..0000000000 --- a/schemas/2021-01-01/Microsoft.Migrate.json +++ /dev/null @@ -1,1054 +0,0 @@ -{ - "id": "https://schema.management.azure.com/schemas/2021-01-01/Microsoft.Migrate.json#", - "$schema": "http://json-schema.org/draft-04/schema#", - "title": "Microsoft.Migrate", - "description": "Microsoft Migrate Resource Types", - "resourceDefinitions": { - "moveCollections": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2021-01-01" - ] - }, - "identity": { - "oneOf": [ - { - "$ref": "#/definitions/Identity" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Defines the MSI properties of the Move Collection." - }, - "location": { - "type": "string", - "description": "The geo-location where the resource lives." - }, - "name": { - "type": "string", - "description": "The Move Collection Name." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/MoveCollectionProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Defines the move collection properties." - }, - "resources": { - "type": "array", - "items": { - "oneOf": [ - { - "$ref": "#/definitions/moveCollections_moveResources_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.Migrate/moveCollections" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.Migrate/moveCollections" - }, - "moveCollections_moveResources": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2021-01-01" - ] - }, - "name": { - "type": "string", - "description": "The Move Resource Name." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/MoveResourceProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Defines the move resource properties." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.Migrate/moveCollections/moveResources" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.Migrate/moveCollections/moveResources" - } - }, - "definitions": { - "AvailabilitySetResourceSettings": { - "type": "object", - "properties": { - "faultDomain": { - "oneOf": [ - { - "type": "integer", - "minimum": 1 - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Gets or sets the target fault domain." - }, - "resourceType": { - "type": "string", - "enum": [ - "Microsoft.Compute/availabilitySets" - ] - }, - "updateDomain": { - "oneOf": [ - { - "type": "integer", - "minimum": 1, - "maximum": 20 - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Gets or sets the target update domain." - } - }, - "required": [ - "resourceType" - ], - "description": "Gets or sets the availability set resource settings." - }, - "DiskEncryptionSetResourceSettings": { - "type": "object", - "properties": { - "resourceType": { - "type": "string", - "enum": [ - "Microsoft.Compute/diskEncryptionSets" - ] - } - }, - "required": [ - "resourceType" - ], - "description": "Defines the disk encryption set resource settings." - }, - "Identity": { - "type": "object", - "properties": { - "principalId": { - "type": "string", - "description": "Gets or sets the principal id." - }, - "tenantId": { - "type": "string", - "description": "Gets or sets the tenant id." - }, - "type": { - "oneOf": [ - { - "type": "string", - "enum": [ - "None", - "SystemAssigned", - "UserAssigned" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - } - }, - "description": "Defines the MSI properties of the Move Collection." - }, - "KeyVaultResourceSettings": { - "type": "object", - "properties": { - "resourceType": { - "type": "string", - "enum": [ - "Microsoft.KeyVault/vaults" - ] - } - }, - "required": [ - "resourceType" - ], - "description": "Defines the key vault resource settings." - }, - "LBBackendAddressPoolResourceSettings": { - "type": "object", - "properties": { - "name": { - "type": "string", - "description": "Gets or sets the backend address pool name." - } - }, - "description": "Defines load balancer backend address pool properties." - }, - "LBFrontendIPConfigurationResourceSettings": { - "type": "object", - "properties": { - "name": { - "type": "string", - "description": "Gets or sets the frontend IP configuration name." - }, - "privateIpAddress": { - "type": "string", - "description": "Gets or sets the IP address of the Load Balancer.This is only specified if a specific\r\nprivate IP address shall be allocated from the subnet specified in subnetRef." - }, - "privateIpAllocationMethod": { - "type": "string", - "description": "Gets or sets PrivateIP allocation method (Static/Dynamic)." - }, - "subnet": { - "oneOf": [ - { - "$ref": "#/definitions/SubnetReference" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Defines reference to subnet." - }, - "zones": { - "type": "string", - "description": "Gets or sets the csv list of zones." - } - }, - "description": "Defines load balancer frontend IP configuration properties." - }, - "LoadBalancerBackendAddressPoolReference": { - "type": "object", - "properties": { - "name": { - "type": "string", - "description": "Gets the name of the proxy resource on the target side." - }, - "sourceArmResourceId": { - "type": "string", - "description": "Gets the ARM resource ID of the tracked resource being referenced." - } - }, - "required": [ - "sourceArmResourceId" - ], - "description": "Defines reference to load balancer backend address pools." - }, - "LoadBalancerNatRuleReference": { - "type": "object", - "properties": { - "name": { - "type": "string", - "description": "Gets the name of the proxy resource on the target side." - }, - "sourceArmResourceId": { - "type": "string", - "description": "Gets the ARM resource ID of the tracked resource being referenced." - } - }, - "required": [ - "sourceArmResourceId" - ], - "description": "Defines reference to load balancer NAT rules." - }, - "LoadBalancerResourceSettings": { - "type": "object", - "properties": { - "backendAddressPools": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/definitions/LBBackendAddressPoolResourceSettings" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Gets or sets the backend address pools of the load balancer." - }, - "frontendIPConfigurations": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/definitions/LBFrontendIPConfigurationResourceSettings" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Gets or sets the frontend IP configurations of the load balancer." - }, - "resourceType": { - "type": "string", - "enum": [ - "Microsoft.Network/loadBalancers" - ] - }, - "sku": { - "type": "string", - "description": "Gets or sets load balancer sku (Basic/Standard)." - }, - "zones": { - "type": "string", - "description": "Gets or sets the csv list of zones common for all frontend IP configurations. Note this is given\r\n precedence only if frontend IP configurations settings are not present." - } - }, - "required": [ - "resourceType" - ], - "description": "Defines the load balancer resource settings." - }, - "MoveCollectionProperties": { - "type": "object", - "properties": { - "provisioningState": { - "oneOf": [ - { - "type": "string", - "enum": [ - "Succeeded", - "Updating", - "Creating", - "Failed" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "sourceRegion": { - "type": "string", - "description": "Gets or sets the source region." - }, - "targetRegion": { - "type": "string", - "description": "Gets or sets the target region." - } - }, - "required": [ - "sourceRegion", - "targetRegion" - ], - "description": "Defines the move collection properties." - }, - "moveCollections_moveResources_childResource": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2021-01-01" - ] - }, - "name": { - "type": "string", - "description": "The Move Resource Name." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/MoveResourceProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Defines the move resource properties." - }, - "type": { - "type": "string", - "enum": [ - "moveResources" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.Migrate/moveCollections/moveResources" - }, - "MoveResourceDependencyOverride": { - "type": "object", - "properties": { - "id": { - "type": "string", - "description": "Gets or sets the ARM ID of the dependent resource." - }, - "targetId": { - "type": "string", - "description": "Gets or sets the resource ARM id of either the MoveResource or the resource ARM ID of\r\nthe dependent resource." - } - }, - "description": "Defines the dependency override of the move resource." - }, - "MoveResourceProperties": { - "type": "object", - "properties": { - "dependsOnOverrides": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/definitions/MoveResourceDependencyOverride" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Gets or sets the move resource dependencies overrides." - }, - "existingTargetId": { - "type": "string", - "description": "Gets or sets the existing target ARM Id of the resource." - }, - "provisioningState": { - "oneOf": [ - { - "type": "string", - "enum": [ - "Succeeded", - "Updating", - "Creating", - "Failed" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "resourceSettings": { - "oneOf": [ - { - "$ref": "#/definitions/ResourceSettings" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Gets or sets the resource settings." - }, - "sourceId": { - "type": "string", - "description": "Gets or sets the Source ARM Id of the resource." - } - }, - "required": [ - "sourceId" - ], - "description": "Defines the move resource properties." - }, - "NetworkInterfaceResourceSettings": { - "type": "object", - "properties": { - "enableAcceleratedNetworking": { - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Gets or sets a value indicating whether accelerated networking is enabled." - }, - "ipConfigurations": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/definitions/NicIpConfigurationResourceSettings" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Gets or sets the IP configurations of the NIC." - }, - "resourceType": { - "type": "string", - "enum": [ - "Microsoft.Network/networkInterfaces" - ] - } - }, - "required": [ - "resourceType" - ], - "description": "Defines the network interface resource settings." - }, - "NetworkSecurityGroupResourceSettings": { - "type": "object", - "properties": { - "resourceType": { - "type": "string", - "enum": [ - "Microsoft.Network/networkSecurityGroups" - ] - }, - "securityRules": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/definitions/NsgSecurityRule" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Gets or sets Security rules of network security group." - } - }, - "required": [ - "resourceType" - ], - "description": "Defines the NSG resource settings." - }, - "NicIpConfigurationResourceSettings": { - "type": "object", - "properties": { - "loadBalancerBackendAddressPools": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/definitions/LoadBalancerBackendAddressPoolReference" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Gets or sets the references of the load balancer backend address pools." - }, - "loadBalancerNatRules": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/definitions/LoadBalancerNatRuleReference" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Gets or sets the references of the load balancer NAT rules." - }, - "name": { - "type": "string", - "description": "Gets or sets the IP configuration name." - }, - "primary": { - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Gets or sets a value indicating whether this IP configuration is the primary." - }, - "privateIpAddress": { - "type": "string", - "description": "Gets or sets the private IP address of the network interface IP Configuration." - }, - "privateIpAllocationMethod": { - "type": "string", - "description": "Gets or sets the private IP address allocation method." - }, - "publicIp": { - "oneOf": [ - { - "$ref": "#/definitions/PublicIpReference" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Defines reference to a public IP." - }, - "subnet": { - "oneOf": [ - { - "$ref": "#/definitions/SubnetReference" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Defines reference to subnet." - } - }, - "description": "Defines NIC IP configuration properties." - }, - "NsgReference": { - "type": "object", - "properties": { - "sourceArmResourceId": { - "type": "string", - "description": "Gets the ARM resource ID of the tracked resource being referenced." - } - }, - "required": [ - "sourceArmResourceId" - ], - "description": "Defines reference to NSG." - }, - "NsgSecurityRule": { - "type": "object", - "properties": { - "access": { - "type": "string", - "description": "Gets or sets whether network traffic is allowed or denied.\r\nPossible values are “Allow” and “Deny”." - }, - "description": { - "type": "string", - "description": "Gets or sets a description for this rule. Restricted to 140 chars." - }, - "destinationAddressPrefix": { - "type": "string", - "description": "Gets or sets destination address prefix. CIDR or source IP range.\r\n A “*” can also be used to match all source IPs. Default tags such\r\nas ‘VirtualNetwork’, ‘AzureLoadBalancer’ and ‘Internet’ can also be used." - }, - "destinationPortRange": { - "type": "string", - "description": "Gets or sets Destination Port or Range. Integer or range between\r\n0 and 65535. A “*” can also be used to match all ports." - }, - "direction": { - "type": "string", - "description": "Gets or sets the direction of the rule.InBound or Outbound. The\r\ndirection specifies if rule will be evaluated on incoming or outgoing traffic." - }, - "name": { - "type": "string", - "description": "Gets or sets the Security rule name." - }, - "priority": { - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Gets or sets the priority of the rule. The value can be between\r\n100 and 4096. The priority number must be unique for each rule in the collection.\r\nThe lower the priority number, the higher the priority of the rule." - }, - "protocol": { - "type": "string", - "description": "Gets or sets Network protocol this rule applies to. Can be Tcp, Udp or All(*)." - }, - "sourceAddressPrefix": { - "type": "string", - "description": "Gets or sets source address prefix. CIDR or source IP range. A\r\n“*” can also be used to match all source IPs. Default tags such as ‘VirtualNetwork’,\r\n‘AzureLoadBalancer’ and ‘Internet’ can also be used. If this is an ingress\r\nrule, specifies where network traffic originates from." - }, - "sourcePortRange": { - "type": "string", - "description": "Gets or sets Source Port or Range. Integer or range between 0 and\r\n65535. A “*” can also be used to match all ports." - } - }, - "description": "Security Rule data model for Network Security Groups." - }, - "PublicIPAddressResourceSettings": { - "type": "object", - "properties": { - "domainNameLabel": { - "type": "string", - "description": "Gets or sets the domain name label." - }, - "fqdn": { - "type": "string", - "description": "Gets or sets the fully qualified domain name." - }, - "publicIpAllocationMethod": { - "type": "string", - "description": "Gets or sets public IP allocation method." - }, - "resourceType": { - "type": "string", - "enum": [ - "Microsoft.Network/publicIPAddresses" - ] - }, - "sku": { - "type": "string", - "description": "Gets or sets public IP sku." - }, - "zones": { - "type": "string", - "description": "Gets or sets public IP zones." - } - }, - "required": [ - "resourceType" - ], - "description": "Defines the public IP address resource settings." - }, - "PublicIpReference": { - "type": "object", - "properties": { - "sourceArmResourceId": { - "type": "string", - "description": "Gets the ARM resource ID of the tracked resource being referenced." - } - }, - "required": [ - "sourceArmResourceId" - ], - "description": "Defines reference to a public IP." - }, - "ResourceGroupResourceSettings": { - "type": "object", - "properties": { - "resourceType": { - "type": "string", - "enum": [ - "resourceGroups" - ] - } - }, - "required": [ - "resourceType" - ], - "description": "Defines the resource group resource settings." - }, - "ResourceSettings": { - "type": "object", - "oneOf": [ - { - "$ref": "#/definitions/VirtualMachineResourceSettings" - }, - { - "$ref": "#/definitions/AvailabilitySetResourceSettings" - }, - { - "$ref": "#/definitions/VirtualNetworkResourceSettings" - }, - { - "$ref": "#/definitions/NetworkInterfaceResourceSettings" - }, - { - "$ref": "#/definitions/NetworkSecurityGroupResourceSettings" - }, - { - "$ref": "#/definitions/LoadBalancerResourceSettings" - }, - { - "$ref": "#/definitions/SqlServerResourceSettings" - }, - { - "$ref": "#/definitions/SqlElasticPoolResourceSettings" - }, - { - "$ref": "#/definitions/SqlDatabaseResourceSettings" - }, - { - "$ref": "#/definitions/ResourceGroupResourceSettings" - }, - { - "$ref": "#/definitions/PublicIPAddressResourceSettings" - }, - { - "$ref": "#/definitions/KeyVaultResourceSettings" - }, - { - "$ref": "#/definitions/DiskEncryptionSetResourceSettings" - } - ], - "properties": { - "targetResourceName": { - "type": "string", - "description": "Gets or sets the target Resource name." - } - }, - "required": [ - "targetResourceName" - ], - "description": "Gets or sets the resource settings." - }, - "SqlDatabaseResourceSettings": { - "type": "object", - "properties": { - "resourceType": { - "type": "string", - "enum": [ - "Microsoft.Sql/servers/databases" - ] - }, - "zoneRedundant": { - "oneOf": [ - { - "type": "string", - "enum": [ - "Enable", - "Disable" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - } - }, - "required": [ - "resourceType" - ], - "description": "Defines the Sql Database resource settings." - }, - "SqlElasticPoolResourceSettings": { - "type": "object", - "properties": { - "resourceType": { - "type": "string", - "enum": [ - "Microsoft.Sql/servers/elasticPools" - ] - }, - "zoneRedundant": { - "oneOf": [ - { - "type": "string", - "enum": [ - "Enable", - "Disable" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - } - }, - "required": [ - "resourceType" - ], - "description": "Defines the Sql ElasticPool resource settings." - }, - "SqlServerResourceSettings": { - "type": "object", - "properties": { - "resourceType": { - "type": "string", - "enum": [ - "Microsoft.Sql/servers" - ] - } - }, - "required": [ - "resourceType" - ], - "description": "Defines the SQL Server resource settings." - }, - "SubnetReference": { - "type": "object", - "properties": { - "name": { - "type": "string", - "description": "Gets the name of the proxy resource on the target side." - }, - "sourceArmResourceId": { - "type": "string", - "description": "Gets the ARM resource ID of the tracked resource being referenced." - } - }, - "required": [ - "sourceArmResourceId" - ], - "description": "Defines reference to subnet." - }, - "SubnetResourceSettings": { - "type": "object", - "properties": { - "addressPrefix": { - "type": "string", - "description": "Gets or sets address prefix for the subnet." - }, - "name": { - "type": "string", - "description": "Gets or sets the Subnet name." - }, - "networkSecurityGroup": { - "oneOf": [ - { - "$ref": "#/definitions/NsgReference" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Defines reference to NSG." - } - }, - "description": "Defines the virtual network subnets resource settings." - }, - "VirtualMachineResourceSettings": { - "type": "object", - "properties": { - "resourceType": { - "type": "string", - "enum": [ - "Microsoft.Compute/virtualMachines" - ] - }, - "targetAvailabilitySetId": { - "type": "string", - "description": "Gets or sets the target availability set id for virtual machines not in an availability set at source." - }, - "targetAvailabilityZone": { - "oneOf": [ - { - "type": "string", - "enum": [ - "1", - "2", - "3", - "NA" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Gets or sets the target availability zone." - }, - "targetVmSize": { - "type": "string", - "description": "Gets or sets the target virtual machine size." - } - }, - "required": [ - "resourceType" - ], - "description": "Gets or sets the virtual machine resource settings." - }, - "VirtualNetworkResourceSettings": { - "type": "object", - "properties": { - "addressSpace": { - "oneOf": [ - { - "type": "array", - "items": { - "type": "string" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Gets or sets the address prefixes for the virtual network." - }, - "dnsServers": { - "oneOf": [ - { - "type": "array", - "items": { - "type": "string" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Gets or sets DHCPOptions that contains an array of DNS servers available to VMs\r\ndeployed in the virtual network." - }, - "enableDdosProtection": { - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Gets or sets a value indicating whether gets or sets whether the\r\nDDOS protection should be switched on." - }, - "resourceType": { - "type": "string", - "enum": [ - "Microsoft.Network/virtualNetworks" - ] - }, - "subnets": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/definitions/SubnetResourceSettings" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Gets or sets List of subnets in a VirtualNetwork." - } - }, - "required": [ - "resourceType" - ], - "description": "Defines the virtual network resource settings." - } - } -} \ No newline at end of file diff --git a/schemas/common/autogeneratedResources.json b/schemas/common/autogeneratedResources.json index ee3a94f0f9..7e1a5288e1 100644 --- a/schemas/common/autogeneratedResources.json +++ b/schemas/common/autogeneratedResources.json @@ -6916,12 +6916,6 @@ { "$ref": "https://schema.management.azure.com/schemas/2018-02-02/Microsoft.Migrate.json#/resourceDefinitions/projects_groups_assessments" }, - { - "$ref": "https://schema.management.azure.com/schemas/2018-09-01-preview/Microsoft.Migrate.json#/resourceDefinitions/migrateProjects" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2018-09-01-preview/Microsoft.Migrate.json#/resourceDefinitions/migrateProjects_solutions" - }, { "$ref": "https://schema.management.azure.com/schemas/2019-10-01/Microsoft.Migrate.json#/resourceDefinitions/assessmentProjects" }, @@ -6946,18 +6940,6 @@ { "$ref": "https://schema.management.azure.com/schemas/2019-10-01/Microsoft.Migrate.json#/resourceDefinitions/assessmentProjects_vmwarecollectors" }, - { - "$ref": "https://schema.management.azure.com/schemas/2019-10-01-preview/Microsoft.Migrate.json#/resourceDefinitions/moveCollections" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2019-10-01-preview/Microsoft.Migrate.json#/resourceDefinitions/moveCollections_moveResources" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2021-01-01/Microsoft.Migrate.json#/resourceDefinitions/moveCollections" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2021-01-01/Microsoft.Migrate.json#/resourceDefinitions/moveCollections_moveResources" - }, { "$ref": "https://schema.management.azure.com/schemas/2019-02-28-preview/Microsoft.MixedReality.json#/resourceDefinitions/spatialAnchorsAccounts" }, From 8649ea2d69c4ccb7e22f8cd2099d3eea094f2d26 Mon Sep 17 00:00:00 2001 From: Autogenerator Pipeline Date: Sun, 1 Aug 2021 10:37:37 +0000 Subject: [PATCH 21/64] Autogenerate schemas --- .../subscriptionDeploymentTemplate.json | 6 - .../2018-09-01-preview/Microsoft.Migrate.json | 517 ++++++++ .../2019-10-01-preview/Microsoft.Migrate.json | 1054 +++++++++++++++++ schemas/2021-01-01/Microsoft.Migrate.json | 1054 +++++++++++++++++ schemas/common/autogeneratedResources.json | 18 + 5 files changed, 2643 insertions(+), 6 deletions(-) create mode 100644 schemas/2018-09-01-preview/Microsoft.Migrate.json create mode 100644 schemas/2019-10-01-preview/Microsoft.Migrate.json create mode 100644 schemas/2021-01-01/Microsoft.Migrate.json diff --git a/schemas/2018-05-01/subscriptionDeploymentTemplate.json b/schemas/2018-05-01/subscriptionDeploymentTemplate.json index 642ffe8a1f..b1aed722b5 100644 --- a/schemas/2018-05-01/subscriptionDeploymentTemplate.json +++ b/schemas/2018-05-01/subscriptionDeploymentTemplate.json @@ -1049,15 +1049,9 @@ { "$ref": "https://schema.management.azure.com/schemas/2021-01-15-preview/Microsoft.Security.json#/subscription_resourceDefinitions/ingestionSettings" }, - { - "$ref": "https://schema.management.azure.com/schemas/2021-06-01/Microsoft.Security.json#/subscription_resourceDefinitions/assessmentMetadata" - }, { "$ref": "https://schema.management.azure.com/schemas/2021-06-01/Microsoft.Security.json#/subscription_resourceDefinitions/settings" }, - { - "$ref": "https://schema.management.azure.com/schemas/2021-06-01/Microsoft.Security.json#/unknown_resourceDefinitions/assessments" - }, { "$ref": "https://schema.management.azure.com/schemas/2021-07-01/Microsoft.Security.json#/subscription_resourceDefinitions/settings" }, diff --git a/schemas/2018-09-01-preview/Microsoft.Migrate.json b/schemas/2018-09-01-preview/Microsoft.Migrate.json new file mode 100644 index 0000000000..074e3e9b7c --- /dev/null +++ b/schemas/2018-09-01-preview/Microsoft.Migrate.json @@ -0,0 +1,517 @@ +{ + "id": "https://schema.management.azure.com/schemas/2018-09-01-preview/Microsoft.Migrate.json#", + "$schema": "http://json-schema.org/draft-04/schema#", + "title": "Microsoft.Migrate", + "description": "Microsoft Migrate Resource Types", + "resourceDefinitions": { + "migrateProjects": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2018-09-01-preview" + ] + }, + "eTag": { + "type": "string", + "description": "Gets or sets the eTag for concurrency control." + }, + "location": { + "type": "string", + "description": "Gets or sets the Azure location in which migrate project is created." + }, + "name": { + "type": "string", + "description": "Name of the Azure Migrate project." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/MigrateProjectProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Class for migrate project properties." + }, + "resources": { + "type": "array", + "items": { + "oneOf": [ + { + "$ref": "#/definitions/migrateProjects_solutions_childResource" + } + ] + } + }, + "tags": { + "oneOf": [ + { + "$ref": "#/definitions/MigrateProjectTags" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Gets or sets the tags." + }, + "type": { + "type": "string", + "enum": [ + "Microsoft.Migrate/migrateProjects" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.Migrate/migrateProjects" + }, + "migrateProjects_solutions": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2018-09-01-preview" + ] + }, + "etag": { + "type": "string", + "description": "Gets or sets the ETAG for optimistic concurrency control." + }, + "name": { + "type": "string", + "description": "Unique name of a migration solution within a migrate project." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/SolutionProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Class for solution properties." + }, + "type": { + "type": "string", + "enum": [ + "Microsoft.Migrate/migrateProjects/solutions" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.Migrate/migrateProjects/solutions" + } + }, + "definitions": { + "DatabasesSolutionSummary": { + "type": "object", + "properties": { + "databaseInstancesAssessedCount": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Gets or sets the count of database instances assessed." + }, + "databasesAssessedCount": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Gets or sets the count of databases assessed." + }, + "instanceType": { + "type": "string", + "enum": [ + "Databases" + ] + }, + "migrationReadyCount": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Gets or sets the count of databases ready for migration." + } + }, + "required": [ + "instanceType" + ], + "description": "Class representing the databases solution summary." + }, + "MigrateProjectProperties": { + "type": "object", + "properties": { + "provisioningState": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Accepted", + "Creating", + "Deleting", + "Failed", + "Moving", + "Succeeded" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Provisioning state of the migrate project." + }, + "registeredTools": { + "oneOf": [ + { + "type": "array", + "items": { + "type": "string", + "enum": [ + "ServerDiscovery", + "ServerAssessment", + "ServerMigration", + "Cloudamize", + "Turbonomic", + "Zerto", + "CorentTech", + "ServerAssessmentV1", + "ServerMigration_Replication", + "Carbonite", + "DataMigrationAssistant", + "DatabaseMigrationService" + ] + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Gets or sets the list of tools registered with the migrate project." + } + }, + "description": "Class for migrate project properties." + }, + "migrateProjects_solutions_childResource": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2018-09-01-preview" + ] + }, + "etag": { + "type": "string", + "description": "Gets or sets the ETAG for optimistic concurrency control." + }, + "name": { + "type": "string", + "description": "Unique name of a migration solution within a migrate project." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/SolutionProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Class for solution properties." + }, + "type": { + "type": "string", + "enum": [ + "solutions" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.Migrate/migrateProjects/solutions" + }, + "MigrateProjectTags": { + "type": "object", + "properties": { + "additionalProperties": { + "type": "string" + } + }, + "description": "Gets or sets the tags." + }, + "ServersSolutionSummary": { + "type": "object", + "properties": { + "assessedCount": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Gets or sets the count of servers assessed." + }, + "discoveredCount": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Gets or sets the count of servers discovered." + }, + "instanceType": { + "type": "string", + "enum": [ + "Servers" + ] + }, + "migratedCount": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Gets or sets the count of servers migrated." + }, + "replicatingCount": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Gets or sets the count of servers being replicated." + }, + "testMigratedCount": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Gets or sets the count of servers test migrated." + } + }, + "required": [ + "instanceType" + ], + "description": "Class representing the servers solution summary." + }, + "SolutionDetails": { + "type": "object", + "properties": { + "assessmentCount": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Gets or sets the count of assessments reported by the solution." + }, + "extendedDetails": { + "oneOf": [ + { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "properties": {} + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Gets or sets the extended details reported by the solution." + }, + "groupCount": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Gets or sets the count of groups reported by the solution." + } + }, + "description": "Class representing the details of the solution." + }, + "SolutionProperties": { + "type": "object", + "properties": { + "cleanupState": { + "oneOf": [ + { + "type": "string", + "enum": [ + "None", + "Started", + "InProgress", + "Completed", + "Failed" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Gets or sets the cleanup state of the solution." + }, + "details": { + "oneOf": [ + { + "$ref": "#/definitions/SolutionDetails" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Class representing the details of the solution." + }, + "goal": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Servers", + "Databases" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Gets or sets the goal of the solution." + }, + "purpose": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Discovery", + "Assessment", + "Migration" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Gets or sets the purpose of the solution." + }, + "status": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Inactive", + "Active" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Gets or sets the current status of the solution." + }, + "summary": { + "oneOf": [ + { + "$ref": "#/definitions/SolutionSummary" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The solution summary class." + }, + "tool": { + "oneOf": [ + { + "type": "string", + "enum": [ + "ServerDiscovery", + "ServerAssessment", + "ServerMigration", + "Cloudamize", + "Turbonomic", + "Zerto", + "CorentTech", + "ServerAssessmentV1", + "ServerMigration_Replication", + "Carbonite", + "DataMigrationAssistant", + "DatabaseMigrationService" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Gets or sets the tool being used in the solution." + } + }, + "description": "Class for solution properties." + }, + "SolutionSummary": { + "type": "object", + "oneOf": [ + { + "$ref": "#/definitions/ServersSolutionSummary" + }, + { + "$ref": "#/definitions/DatabasesSolutionSummary" + } + ], + "properties": {}, + "description": "The solution summary class." + } + } +} \ No newline at end of file diff --git a/schemas/2019-10-01-preview/Microsoft.Migrate.json b/schemas/2019-10-01-preview/Microsoft.Migrate.json new file mode 100644 index 0000000000..69d60e191b --- /dev/null +++ b/schemas/2019-10-01-preview/Microsoft.Migrate.json @@ -0,0 +1,1054 @@ +{ + "id": "https://schema.management.azure.com/schemas/2019-10-01-preview/Microsoft.Migrate.json#", + "$schema": "http://json-schema.org/draft-04/schema#", + "title": "Microsoft.Migrate", + "description": "Microsoft Migrate Resource Types", + "resourceDefinitions": { + "moveCollections": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2019-10-01-preview" + ] + }, + "identity": { + "oneOf": [ + { + "$ref": "#/definitions/Identity" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Defines the MSI properties of the Move Collection." + }, + "location": { + "type": "string", + "description": "The geo-location where the resource lives." + }, + "name": { + "type": "string", + "description": "The Move Collection Name." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/MoveCollectionProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Defines the move collection properties." + }, + "resources": { + "type": "array", + "items": { + "oneOf": [ + { + "$ref": "#/definitions/moveCollections_moveResources_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.Migrate/moveCollections" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.Migrate/moveCollections" + }, + "moveCollections_moveResources": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2019-10-01-preview" + ] + }, + "name": { + "type": "string", + "description": "The Move Resource Name." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/MoveResourceProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Defines the move resource properties." + }, + "type": { + "type": "string", + "enum": [ + "Microsoft.Migrate/moveCollections/moveResources" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.Migrate/moveCollections/moveResources" + } + }, + "definitions": { + "AvailabilitySetResourceSettings": { + "type": "object", + "properties": { + "faultDomain": { + "oneOf": [ + { + "type": "integer", + "minimum": 1 + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Gets or sets the target fault domain." + }, + "resourceType": { + "type": "string", + "enum": [ + "Microsoft.Compute/availabilitySets" + ] + }, + "updateDomain": { + "oneOf": [ + { + "type": "integer", + "minimum": 1, + "maximum": 20 + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Gets or sets the target update domain." + } + }, + "required": [ + "resourceType" + ], + "description": "Gets or sets the availability set resource settings." + }, + "DiskEncryptionSetResourceSettings": { + "type": "object", + "properties": { + "resourceType": { + "type": "string", + "enum": [ + "Microsoft.Compute/diskEncryptionSets" + ] + } + }, + "required": [ + "resourceType" + ], + "description": "Defines the disk encryption set resource settings." + }, + "Identity": { + "type": "object", + "properties": { + "principalId": { + "type": "string", + "description": "Gets or sets the principal id." + }, + "tenantId": { + "type": "string", + "description": "Gets or sets the tenant id." + }, + "type": { + "oneOf": [ + { + "type": "string", + "enum": [ + "None", + "SystemAssigned", + "UserAssigned" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ] + } + }, + "description": "Defines the MSI properties of the Move Collection." + }, + "KeyVaultResourceSettings": { + "type": "object", + "properties": { + "resourceType": { + "type": "string", + "enum": [ + "Microsoft.KeyVault/vaults" + ] + } + }, + "required": [ + "resourceType" + ], + "description": "Defines the key vault resource settings." + }, + "LBBackendAddressPoolResourceSettings": { + "type": "object", + "properties": { + "name": { + "type": "string", + "description": "Gets or sets the backend address pool name." + } + }, + "description": "Defines load balancer backend address pool properties." + }, + "LBFrontendIPConfigurationResourceSettings": { + "type": "object", + "properties": { + "name": { + "type": "string", + "description": "Gets or sets the frontend IP configuration name." + }, + "privateIpAddress": { + "type": "string", + "description": "Gets or sets the IP address of the Load Balancer.This is only specified if a specific\r\nprivate IP address shall be allocated from the subnet specified in subnetRef." + }, + "privateIpAllocationMethod": { + "type": "string", + "description": "Gets or sets PrivateIP allocation method (Static/Dynamic)." + }, + "subnet": { + "oneOf": [ + { + "$ref": "#/definitions/SubnetReference" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Defines reference to subnet." + }, + "zones": { + "type": "string", + "description": "Gets or sets the csv list of zones." + } + }, + "description": "Defines load balancer frontend IP configuration properties." + }, + "LoadBalancerBackendAddressPoolReference": { + "type": "object", + "properties": { + "name": { + "type": "string", + "description": "Gets the name of the proxy resource on the target side." + }, + "sourceArmResourceId": { + "type": "string", + "description": "Gets the ARM resource ID of the tracked resource being referenced." + } + }, + "required": [ + "sourceArmResourceId" + ], + "description": "Defines reference to load balancer backend address pools." + }, + "LoadBalancerNatRuleReference": { + "type": "object", + "properties": { + "name": { + "type": "string", + "description": "Gets the name of the proxy resource on the target side." + }, + "sourceArmResourceId": { + "type": "string", + "description": "Gets the ARM resource ID of the tracked resource being referenced." + } + }, + "required": [ + "sourceArmResourceId" + ], + "description": "Defines reference to load balancer NAT rules." + }, + "LoadBalancerResourceSettings": { + "type": "object", + "properties": { + "backendAddressPools": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/LBBackendAddressPoolResourceSettings" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Gets or sets the backend address pools of the load balancer." + }, + "frontendIPConfigurations": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/LBFrontendIPConfigurationResourceSettings" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Gets or sets the frontend IP configurations of the load balancer." + }, + "resourceType": { + "type": "string", + "enum": [ + "Microsoft.Network/loadBalancers" + ] + }, + "sku": { + "type": "string", + "description": "Gets or sets load balancer sku (Basic/Standard)." + }, + "zones": { + "type": "string", + "description": "Gets or sets the csv list of zones common for all frontend IP configurations. Note this is given\r\n precedence only if frontend IP configurations settings are not present." + } + }, + "required": [ + "resourceType" + ], + "description": "Defines the load balancer resource settings." + }, + "MoveCollectionProperties": { + "type": "object", + "properties": { + "provisioningState": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Succeeded", + "Updating", + "Creating", + "Failed" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ] + }, + "sourceRegion": { + "type": "string", + "description": "Gets or sets the source region." + }, + "targetRegion": { + "type": "string", + "description": "Gets or sets the target region." + } + }, + "required": [ + "sourceRegion", + "targetRegion" + ], + "description": "Defines the move collection properties." + }, + "moveCollections_moveResources_childResource": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2019-10-01-preview" + ] + }, + "name": { + "type": "string", + "description": "The Move Resource Name." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/MoveResourceProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Defines the move resource properties." + }, + "type": { + "type": "string", + "enum": [ + "moveResources" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.Migrate/moveCollections/moveResources" + }, + "MoveResourceDependencyOverride": { + "type": "object", + "properties": { + "id": { + "type": "string", + "description": "Gets or sets the ARM ID of the dependent resource." + }, + "targetId": { + "type": "string", + "description": "Gets or sets the resource ARM id of either the MoveResource or the resource ARM ID of\r\nthe dependent resource." + } + }, + "description": "Defines the dependency override of the move resource." + }, + "MoveResourceProperties": { + "type": "object", + "properties": { + "dependsOnOverrides": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/MoveResourceDependencyOverride" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Gets or sets the move resource dependencies overrides." + }, + "existingTargetId": { + "type": "string", + "description": "Gets or sets the existing target ARM Id of the resource." + }, + "provisioningState": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Succeeded", + "Updating", + "Creating", + "Failed" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ] + }, + "resourceSettings": { + "oneOf": [ + { + "$ref": "#/definitions/ResourceSettings" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Gets or sets the resource settings." + }, + "sourceId": { + "type": "string", + "description": "Gets or sets the Source ARM Id of the resource." + } + }, + "required": [ + "sourceId" + ], + "description": "Defines the move resource properties." + }, + "NetworkInterfaceResourceSettings": { + "type": "object", + "properties": { + "enableAcceleratedNetworking": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Gets or sets a value indicating whether accelerated networking is enabled." + }, + "ipConfigurations": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/NicIpConfigurationResourceSettings" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Gets or sets the IP configurations of the NIC." + }, + "resourceType": { + "type": "string", + "enum": [ + "Microsoft.Network/networkInterfaces" + ] + } + }, + "required": [ + "resourceType" + ], + "description": "Defines the network interface resource settings." + }, + "NetworkSecurityGroupResourceSettings": { + "type": "object", + "properties": { + "resourceType": { + "type": "string", + "enum": [ + "Microsoft.Network/networkSecurityGroups" + ] + }, + "securityRules": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/NsgSecurityRule" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Gets or sets Security rules of network security group." + } + }, + "required": [ + "resourceType" + ], + "description": "Defines the NSG resource settings." + }, + "NicIpConfigurationResourceSettings": { + "type": "object", + "properties": { + "loadBalancerBackendAddressPools": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/LoadBalancerBackendAddressPoolReference" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Gets or sets the references of the load balancer backend address pools." + }, + "loadBalancerNatRules": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/LoadBalancerNatRuleReference" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Gets or sets the references of the load balancer NAT rules." + }, + "name": { + "type": "string", + "description": "Gets or sets the IP configuration name." + }, + "primary": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Gets or sets a value indicating whether this IP configuration is the primary." + }, + "privateIpAddress": { + "type": "string", + "description": "Gets or sets the private IP address of the network interface IP Configuration." + }, + "privateIpAllocationMethod": { + "type": "string", + "description": "Gets or sets the private IP address allocation method." + }, + "publicIp": { + "oneOf": [ + { + "$ref": "#/definitions/PublicIpReference" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Defines reference to a public IP." + }, + "subnet": { + "oneOf": [ + { + "$ref": "#/definitions/SubnetReference" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Defines reference to subnet." + } + }, + "description": "Defines NIC IP configuration properties." + }, + "NsgReference": { + "type": "object", + "properties": { + "sourceArmResourceId": { + "type": "string", + "description": "Gets the ARM resource ID of the tracked resource being referenced." + } + }, + "required": [ + "sourceArmResourceId" + ], + "description": "Defines reference to NSG." + }, + "NsgSecurityRule": { + "type": "object", + "properties": { + "access": { + "type": "string", + "description": "Gets or sets whether network traffic is allowed or denied.\r\nPossible values are “Allow” and “Deny”." + }, + "description": { + "type": "string", + "description": "Gets or sets a description for this rule. Restricted to 140 chars." + }, + "destinationAddressPrefix": { + "type": "string", + "description": "Gets or sets destination address prefix. CIDR or source IP range.\r\n A “*” can also be used to match all source IPs. Default tags such\r\nas ‘VirtualNetwork’, ‘AzureLoadBalancer’ and ‘Internet’ can also be used." + }, + "destinationPortRange": { + "type": "string", + "description": "Gets or sets Destination Port or Range. Integer or range between\r\n0 and 65535. A “*” can also be used to match all ports." + }, + "direction": { + "type": "string", + "description": "Gets or sets the direction of the rule.InBound or Outbound. The\r\ndirection specifies if rule will be evaluated on incoming or outgoing traffic." + }, + "name": { + "type": "string", + "description": "Gets or sets the Security rule name." + }, + "priority": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Gets or sets the priority of the rule. The value can be between\r\n100 and 4096. The priority number must be unique for each rule in the collection.\r\nThe lower the priority number, the higher the priority of the rule." + }, + "protocol": { + "type": "string", + "description": "Gets or sets Network protocol this rule applies to. Can be Tcp, Udp or All(*)." + }, + "sourceAddressPrefix": { + "type": "string", + "description": "Gets or sets source address prefix. CIDR or source IP range. A\r\n“*” can also be used to match all source IPs. Default tags such as ‘VirtualNetwork’,\r\n‘AzureLoadBalancer’ and ‘Internet’ can also be used. If this is an ingress\r\nrule, specifies where network traffic originates from." + }, + "sourcePortRange": { + "type": "string", + "description": "Gets or sets Source Port or Range. Integer or range between 0 and\r\n65535. A “*” can also be used to match all ports." + } + }, + "description": "Security Rule data model for Network Security Groups." + }, + "PublicIPAddressResourceSettings": { + "type": "object", + "properties": { + "domainNameLabel": { + "type": "string", + "description": "Gets or sets the domain name label." + }, + "fqdn": { + "type": "string", + "description": "Gets or sets the fully qualified domain name." + }, + "publicIpAllocationMethod": { + "type": "string", + "description": "Gets or sets public IP allocation method." + }, + "resourceType": { + "type": "string", + "enum": [ + "Microsoft.Network/publicIPAddresses" + ] + }, + "sku": { + "type": "string", + "description": "Gets or sets public IP sku." + }, + "zones": { + "type": "string", + "description": "Gets or sets public IP zones." + } + }, + "required": [ + "resourceType" + ], + "description": "Defines the public IP address resource settings." + }, + "PublicIpReference": { + "type": "object", + "properties": { + "sourceArmResourceId": { + "type": "string", + "description": "Gets the ARM resource ID of the tracked resource being referenced." + } + }, + "required": [ + "sourceArmResourceId" + ], + "description": "Defines reference to a public IP." + }, + "ResourceGroupResourceSettings": { + "type": "object", + "properties": { + "resourceType": { + "type": "string", + "enum": [ + "resourceGroups" + ] + } + }, + "required": [ + "resourceType" + ], + "description": "Defines the resource group resource settings." + }, + "ResourceSettings": { + "type": "object", + "oneOf": [ + { + "$ref": "#/definitions/VirtualMachineResourceSettings" + }, + { + "$ref": "#/definitions/AvailabilitySetResourceSettings" + }, + { + "$ref": "#/definitions/VirtualNetworkResourceSettings" + }, + { + "$ref": "#/definitions/NetworkInterfaceResourceSettings" + }, + { + "$ref": "#/definitions/NetworkSecurityGroupResourceSettings" + }, + { + "$ref": "#/definitions/LoadBalancerResourceSettings" + }, + { + "$ref": "#/definitions/SqlServerResourceSettings" + }, + { + "$ref": "#/definitions/SqlElasticPoolResourceSettings" + }, + { + "$ref": "#/definitions/SqlDatabaseResourceSettings" + }, + { + "$ref": "#/definitions/ResourceGroupResourceSettings" + }, + { + "$ref": "#/definitions/PublicIPAddressResourceSettings" + }, + { + "$ref": "#/definitions/KeyVaultResourceSettings" + }, + { + "$ref": "#/definitions/DiskEncryptionSetResourceSettings" + } + ], + "properties": { + "targetResourceName": { + "type": "string", + "description": "Gets or sets the target Resource name." + } + }, + "required": [ + "targetResourceName" + ], + "description": "Gets or sets the resource settings." + }, + "SqlDatabaseResourceSettings": { + "type": "object", + "properties": { + "resourceType": { + "type": "string", + "enum": [ + "Microsoft.Sql/servers/databases" + ] + }, + "zoneRedundant": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Enable", + "Disable" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ] + } + }, + "required": [ + "resourceType" + ], + "description": "Defines the Sql Database resource settings." + }, + "SqlElasticPoolResourceSettings": { + "type": "object", + "properties": { + "resourceType": { + "type": "string", + "enum": [ + "Microsoft.Sql/servers/elasticPools" + ] + }, + "zoneRedundant": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Enable", + "Disable" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ] + } + }, + "required": [ + "resourceType" + ], + "description": "Defines the Sql ElasticPool resource settings." + }, + "SqlServerResourceSettings": { + "type": "object", + "properties": { + "resourceType": { + "type": "string", + "enum": [ + "Microsoft.Sql/servers" + ] + } + }, + "required": [ + "resourceType" + ], + "description": "Defines the SQL Server resource settings." + }, + "SubnetReference": { + "type": "object", + "properties": { + "name": { + "type": "string", + "description": "Gets the name of the proxy resource on the target side." + }, + "sourceArmResourceId": { + "type": "string", + "description": "Gets the ARM resource ID of the tracked resource being referenced." + } + }, + "required": [ + "sourceArmResourceId" + ], + "description": "Defines reference to subnet." + }, + "SubnetResourceSettings": { + "type": "object", + "properties": { + "addressPrefix": { + "type": "string", + "description": "Gets or sets address prefix for the subnet." + }, + "name": { + "type": "string", + "description": "Gets or sets the Subnet name." + }, + "networkSecurityGroup": { + "oneOf": [ + { + "$ref": "#/definitions/NsgReference" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Defines reference to NSG." + } + }, + "description": "Defines the virtual network subnets resource settings." + }, + "VirtualMachineResourceSettings": { + "type": "object", + "properties": { + "resourceType": { + "type": "string", + "enum": [ + "Microsoft.Compute/virtualMachines" + ] + }, + "targetAvailabilitySetId": { + "type": "string", + "description": "Gets or sets the target availability set id for virtual machines not in an availability set at source." + }, + "targetAvailabilityZone": { + "oneOf": [ + { + "type": "string", + "enum": [ + "1", + "2", + "3", + "NA" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Gets or sets the target availability zone." + }, + "targetVmSize": { + "type": "string", + "description": "Gets or sets the target virtual machine size." + } + }, + "required": [ + "resourceType" + ], + "description": "Gets or sets the virtual machine resource settings." + }, + "VirtualNetworkResourceSettings": { + "type": "object", + "properties": { + "addressSpace": { + "oneOf": [ + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Gets or sets the address prefixes for the virtual network." + }, + "dnsServers": { + "oneOf": [ + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Gets or sets DHCPOptions that contains an array of DNS servers available to VMs\r\ndeployed in the virtual network." + }, + "enableDdosProtection": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Gets or sets a value indicating whether gets or sets whether the\r\nDDOS protection should be switched on." + }, + "resourceType": { + "type": "string", + "enum": [ + "Microsoft.Network/virtualNetworks" + ] + }, + "subnets": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/SubnetResourceSettings" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Gets or sets List of subnets in a VirtualNetwork." + } + }, + "required": [ + "resourceType" + ], + "description": "Defines the virtual network resource settings." + } + } +} \ No newline at end of file diff --git a/schemas/2021-01-01/Microsoft.Migrate.json b/schemas/2021-01-01/Microsoft.Migrate.json new file mode 100644 index 0000000000..0e45499ee6 --- /dev/null +++ b/schemas/2021-01-01/Microsoft.Migrate.json @@ -0,0 +1,1054 @@ +{ + "id": "https://schema.management.azure.com/schemas/2021-01-01/Microsoft.Migrate.json#", + "$schema": "http://json-schema.org/draft-04/schema#", + "title": "Microsoft.Migrate", + "description": "Microsoft Migrate Resource Types", + "resourceDefinitions": { + "moveCollections": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-01-01" + ] + }, + "identity": { + "oneOf": [ + { + "$ref": "#/definitions/Identity" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Defines the MSI properties of the Move Collection." + }, + "location": { + "type": "string", + "description": "The geo-location where the resource lives." + }, + "name": { + "type": "string", + "description": "The Move Collection Name." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/MoveCollectionProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Defines the move collection properties." + }, + "resources": { + "type": "array", + "items": { + "oneOf": [ + { + "$ref": "#/definitions/moveCollections_moveResources_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.Migrate/moveCollections" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.Migrate/moveCollections" + }, + "moveCollections_moveResources": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-01-01" + ] + }, + "name": { + "type": "string", + "description": "The Move Resource Name." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/MoveResourceProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Defines the move resource properties." + }, + "type": { + "type": "string", + "enum": [ + "Microsoft.Migrate/moveCollections/moveResources" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.Migrate/moveCollections/moveResources" + } + }, + "definitions": { + "AvailabilitySetResourceSettings": { + "type": "object", + "properties": { + "faultDomain": { + "oneOf": [ + { + "type": "integer", + "minimum": 1 + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Gets or sets the target fault domain." + }, + "resourceType": { + "type": "string", + "enum": [ + "Microsoft.Compute/availabilitySets" + ] + }, + "updateDomain": { + "oneOf": [ + { + "type": "integer", + "minimum": 1, + "maximum": 20 + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Gets or sets the target update domain." + } + }, + "required": [ + "resourceType" + ], + "description": "Gets or sets the availability set resource settings." + }, + "DiskEncryptionSetResourceSettings": { + "type": "object", + "properties": { + "resourceType": { + "type": "string", + "enum": [ + "Microsoft.Compute/diskEncryptionSets" + ] + } + }, + "required": [ + "resourceType" + ], + "description": "Defines the disk encryption set resource settings." + }, + "Identity": { + "type": "object", + "properties": { + "principalId": { + "type": "string", + "description": "Gets or sets the principal id." + }, + "tenantId": { + "type": "string", + "description": "Gets or sets the tenant id." + }, + "type": { + "oneOf": [ + { + "type": "string", + "enum": [ + "None", + "SystemAssigned", + "UserAssigned" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ] + } + }, + "description": "Defines the MSI properties of the Move Collection." + }, + "KeyVaultResourceSettings": { + "type": "object", + "properties": { + "resourceType": { + "type": "string", + "enum": [ + "Microsoft.KeyVault/vaults" + ] + } + }, + "required": [ + "resourceType" + ], + "description": "Defines the key vault resource settings." + }, + "LBBackendAddressPoolResourceSettings": { + "type": "object", + "properties": { + "name": { + "type": "string", + "description": "Gets or sets the backend address pool name." + } + }, + "description": "Defines load balancer backend address pool properties." + }, + "LBFrontendIPConfigurationResourceSettings": { + "type": "object", + "properties": { + "name": { + "type": "string", + "description": "Gets or sets the frontend IP configuration name." + }, + "privateIpAddress": { + "type": "string", + "description": "Gets or sets the IP address of the Load Balancer.This is only specified if a specific\r\nprivate IP address shall be allocated from the subnet specified in subnetRef." + }, + "privateIpAllocationMethod": { + "type": "string", + "description": "Gets or sets PrivateIP allocation method (Static/Dynamic)." + }, + "subnet": { + "oneOf": [ + { + "$ref": "#/definitions/SubnetReference" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Defines reference to subnet." + }, + "zones": { + "type": "string", + "description": "Gets or sets the csv list of zones." + } + }, + "description": "Defines load balancer frontend IP configuration properties." + }, + "LoadBalancerBackendAddressPoolReference": { + "type": "object", + "properties": { + "name": { + "type": "string", + "description": "Gets the name of the proxy resource on the target side." + }, + "sourceArmResourceId": { + "type": "string", + "description": "Gets the ARM resource ID of the tracked resource being referenced." + } + }, + "required": [ + "sourceArmResourceId" + ], + "description": "Defines reference to load balancer backend address pools." + }, + "LoadBalancerNatRuleReference": { + "type": "object", + "properties": { + "name": { + "type": "string", + "description": "Gets the name of the proxy resource on the target side." + }, + "sourceArmResourceId": { + "type": "string", + "description": "Gets the ARM resource ID of the tracked resource being referenced." + } + }, + "required": [ + "sourceArmResourceId" + ], + "description": "Defines reference to load balancer NAT rules." + }, + "LoadBalancerResourceSettings": { + "type": "object", + "properties": { + "backendAddressPools": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/LBBackendAddressPoolResourceSettings" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Gets or sets the backend address pools of the load balancer." + }, + "frontendIPConfigurations": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/LBFrontendIPConfigurationResourceSettings" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Gets or sets the frontend IP configurations of the load balancer." + }, + "resourceType": { + "type": "string", + "enum": [ + "Microsoft.Network/loadBalancers" + ] + }, + "sku": { + "type": "string", + "description": "Gets or sets load balancer sku (Basic/Standard)." + }, + "zones": { + "type": "string", + "description": "Gets or sets the csv list of zones common for all frontend IP configurations. Note this is given\r\n precedence only if frontend IP configurations settings are not present." + } + }, + "required": [ + "resourceType" + ], + "description": "Defines the load balancer resource settings." + }, + "MoveCollectionProperties": { + "type": "object", + "properties": { + "provisioningState": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Succeeded", + "Updating", + "Creating", + "Failed" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ] + }, + "sourceRegion": { + "type": "string", + "description": "Gets or sets the source region." + }, + "targetRegion": { + "type": "string", + "description": "Gets or sets the target region." + } + }, + "required": [ + "sourceRegion", + "targetRegion" + ], + "description": "Defines the move collection properties." + }, + "moveCollections_moveResources_childResource": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-01-01" + ] + }, + "name": { + "type": "string", + "description": "The Move Resource Name." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/MoveResourceProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Defines the move resource properties." + }, + "type": { + "type": "string", + "enum": [ + "moveResources" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.Migrate/moveCollections/moveResources" + }, + "MoveResourceDependencyOverride": { + "type": "object", + "properties": { + "id": { + "type": "string", + "description": "Gets or sets the ARM ID of the dependent resource." + }, + "targetId": { + "type": "string", + "description": "Gets or sets the resource ARM id of either the MoveResource or the resource ARM ID of\r\nthe dependent resource." + } + }, + "description": "Defines the dependency override of the move resource." + }, + "MoveResourceProperties": { + "type": "object", + "properties": { + "dependsOnOverrides": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/MoveResourceDependencyOverride" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Gets or sets the move resource dependencies overrides." + }, + "existingTargetId": { + "type": "string", + "description": "Gets or sets the existing target ARM Id of the resource." + }, + "provisioningState": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Succeeded", + "Updating", + "Creating", + "Failed" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ] + }, + "resourceSettings": { + "oneOf": [ + { + "$ref": "#/definitions/ResourceSettings" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Gets or sets the resource settings." + }, + "sourceId": { + "type": "string", + "description": "Gets or sets the Source ARM Id of the resource." + } + }, + "required": [ + "sourceId" + ], + "description": "Defines the move resource properties." + }, + "NetworkInterfaceResourceSettings": { + "type": "object", + "properties": { + "enableAcceleratedNetworking": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Gets or sets a value indicating whether accelerated networking is enabled." + }, + "ipConfigurations": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/NicIpConfigurationResourceSettings" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Gets or sets the IP configurations of the NIC." + }, + "resourceType": { + "type": "string", + "enum": [ + "Microsoft.Network/networkInterfaces" + ] + } + }, + "required": [ + "resourceType" + ], + "description": "Defines the network interface resource settings." + }, + "NetworkSecurityGroupResourceSettings": { + "type": "object", + "properties": { + "resourceType": { + "type": "string", + "enum": [ + "Microsoft.Network/networkSecurityGroups" + ] + }, + "securityRules": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/NsgSecurityRule" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Gets or sets Security rules of network security group." + } + }, + "required": [ + "resourceType" + ], + "description": "Defines the NSG resource settings." + }, + "NicIpConfigurationResourceSettings": { + "type": "object", + "properties": { + "loadBalancerBackendAddressPools": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/LoadBalancerBackendAddressPoolReference" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Gets or sets the references of the load balancer backend address pools." + }, + "loadBalancerNatRules": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/LoadBalancerNatRuleReference" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Gets or sets the references of the load balancer NAT rules." + }, + "name": { + "type": "string", + "description": "Gets or sets the IP configuration name." + }, + "primary": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Gets or sets a value indicating whether this IP configuration is the primary." + }, + "privateIpAddress": { + "type": "string", + "description": "Gets or sets the private IP address of the network interface IP Configuration." + }, + "privateIpAllocationMethod": { + "type": "string", + "description": "Gets or sets the private IP address allocation method." + }, + "publicIp": { + "oneOf": [ + { + "$ref": "#/definitions/PublicIpReference" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Defines reference to a public IP." + }, + "subnet": { + "oneOf": [ + { + "$ref": "#/definitions/SubnetReference" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Defines reference to subnet." + } + }, + "description": "Defines NIC IP configuration properties." + }, + "NsgReference": { + "type": "object", + "properties": { + "sourceArmResourceId": { + "type": "string", + "description": "Gets the ARM resource ID of the tracked resource being referenced." + } + }, + "required": [ + "sourceArmResourceId" + ], + "description": "Defines reference to NSG." + }, + "NsgSecurityRule": { + "type": "object", + "properties": { + "access": { + "type": "string", + "description": "Gets or sets whether network traffic is allowed or denied.\r\nPossible values are “Allow” and “Deny”." + }, + "description": { + "type": "string", + "description": "Gets or sets a description for this rule. Restricted to 140 chars." + }, + "destinationAddressPrefix": { + "type": "string", + "description": "Gets or sets destination address prefix. CIDR or source IP range.\r\n A “*” can also be used to match all source IPs. Default tags such\r\nas ‘VirtualNetwork’, ‘AzureLoadBalancer’ and ‘Internet’ can also be used." + }, + "destinationPortRange": { + "type": "string", + "description": "Gets or sets Destination Port or Range. Integer or range between\r\n0 and 65535. A “*” can also be used to match all ports." + }, + "direction": { + "type": "string", + "description": "Gets or sets the direction of the rule.InBound or Outbound. The\r\ndirection specifies if rule will be evaluated on incoming or outgoing traffic." + }, + "name": { + "type": "string", + "description": "Gets or sets the Security rule name." + }, + "priority": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Gets or sets the priority of the rule. The value can be between\r\n100 and 4096. The priority number must be unique for each rule in the collection.\r\nThe lower the priority number, the higher the priority of the rule." + }, + "protocol": { + "type": "string", + "description": "Gets or sets Network protocol this rule applies to. Can be Tcp, Udp or All(*)." + }, + "sourceAddressPrefix": { + "type": "string", + "description": "Gets or sets source address prefix. CIDR or source IP range. A\r\n“*” can also be used to match all source IPs. Default tags such as ‘VirtualNetwork’,\r\n‘AzureLoadBalancer’ and ‘Internet’ can also be used. If this is an ingress\r\nrule, specifies where network traffic originates from." + }, + "sourcePortRange": { + "type": "string", + "description": "Gets or sets Source Port or Range. Integer or range between 0 and\r\n65535. A “*” can also be used to match all ports." + } + }, + "description": "Security Rule data model for Network Security Groups." + }, + "PublicIPAddressResourceSettings": { + "type": "object", + "properties": { + "domainNameLabel": { + "type": "string", + "description": "Gets or sets the domain name label." + }, + "fqdn": { + "type": "string", + "description": "Gets or sets the fully qualified domain name." + }, + "publicIpAllocationMethod": { + "type": "string", + "description": "Gets or sets public IP allocation method." + }, + "resourceType": { + "type": "string", + "enum": [ + "Microsoft.Network/publicIPAddresses" + ] + }, + "sku": { + "type": "string", + "description": "Gets or sets public IP sku." + }, + "zones": { + "type": "string", + "description": "Gets or sets public IP zones." + } + }, + "required": [ + "resourceType" + ], + "description": "Defines the public IP address resource settings." + }, + "PublicIpReference": { + "type": "object", + "properties": { + "sourceArmResourceId": { + "type": "string", + "description": "Gets the ARM resource ID of the tracked resource being referenced." + } + }, + "required": [ + "sourceArmResourceId" + ], + "description": "Defines reference to a public IP." + }, + "ResourceGroupResourceSettings": { + "type": "object", + "properties": { + "resourceType": { + "type": "string", + "enum": [ + "resourceGroups" + ] + } + }, + "required": [ + "resourceType" + ], + "description": "Defines the resource group resource settings." + }, + "ResourceSettings": { + "type": "object", + "oneOf": [ + { + "$ref": "#/definitions/VirtualMachineResourceSettings" + }, + { + "$ref": "#/definitions/AvailabilitySetResourceSettings" + }, + { + "$ref": "#/definitions/VirtualNetworkResourceSettings" + }, + { + "$ref": "#/definitions/NetworkInterfaceResourceSettings" + }, + { + "$ref": "#/definitions/NetworkSecurityGroupResourceSettings" + }, + { + "$ref": "#/definitions/LoadBalancerResourceSettings" + }, + { + "$ref": "#/definitions/SqlServerResourceSettings" + }, + { + "$ref": "#/definitions/SqlElasticPoolResourceSettings" + }, + { + "$ref": "#/definitions/SqlDatabaseResourceSettings" + }, + { + "$ref": "#/definitions/ResourceGroupResourceSettings" + }, + { + "$ref": "#/definitions/PublicIPAddressResourceSettings" + }, + { + "$ref": "#/definitions/KeyVaultResourceSettings" + }, + { + "$ref": "#/definitions/DiskEncryptionSetResourceSettings" + } + ], + "properties": { + "targetResourceName": { + "type": "string", + "description": "Gets or sets the target Resource name." + } + }, + "required": [ + "targetResourceName" + ], + "description": "Gets or sets the resource settings." + }, + "SqlDatabaseResourceSettings": { + "type": "object", + "properties": { + "resourceType": { + "type": "string", + "enum": [ + "Microsoft.Sql/servers/databases" + ] + }, + "zoneRedundant": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Enable", + "Disable" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ] + } + }, + "required": [ + "resourceType" + ], + "description": "Defines the Sql Database resource settings." + }, + "SqlElasticPoolResourceSettings": { + "type": "object", + "properties": { + "resourceType": { + "type": "string", + "enum": [ + "Microsoft.Sql/servers/elasticPools" + ] + }, + "zoneRedundant": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Enable", + "Disable" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ] + } + }, + "required": [ + "resourceType" + ], + "description": "Defines the Sql ElasticPool resource settings." + }, + "SqlServerResourceSettings": { + "type": "object", + "properties": { + "resourceType": { + "type": "string", + "enum": [ + "Microsoft.Sql/servers" + ] + } + }, + "required": [ + "resourceType" + ], + "description": "Defines the SQL Server resource settings." + }, + "SubnetReference": { + "type": "object", + "properties": { + "name": { + "type": "string", + "description": "Gets the name of the proxy resource on the target side." + }, + "sourceArmResourceId": { + "type": "string", + "description": "Gets the ARM resource ID of the tracked resource being referenced." + } + }, + "required": [ + "sourceArmResourceId" + ], + "description": "Defines reference to subnet." + }, + "SubnetResourceSettings": { + "type": "object", + "properties": { + "addressPrefix": { + "type": "string", + "description": "Gets or sets address prefix for the subnet." + }, + "name": { + "type": "string", + "description": "Gets or sets the Subnet name." + }, + "networkSecurityGroup": { + "oneOf": [ + { + "$ref": "#/definitions/NsgReference" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Defines reference to NSG." + } + }, + "description": "Defines the virtual network subnets resource settings." + }, + "VirtualMachineResourceSettings": { + "type": "object", + "properties": { + "resourceType": { + "type": "string", + "enum": [ + "Microsoft.Compute/virtualMachines" + ] + }, + "targetAvailabilitySetId": { + "type": "string", + "description": "Gets or sets the target availability set id for virtual machines not in an availability set at source." + }, + "targetAvailabilityZone": { + "oneOf": [ + { + "type": "string", + "enum": [ + "1", + "2", + "3", + "NA" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Gets or sets the target availability zone." + }, + "targetVmSize": { + "type": "string", + "description": "Gets or sets the target virtual machine size." + } + }, + "required": [ + "resourceType" + ], + "description": "Gets or sets the virtual machine resource settings." + }, + "VirtualNetworkResourceSettings": { + "type": "object", + "properties": { + "addressSpace": { + "oneOf": [ + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Gets or sets the address prefixes for the virtual network." + }, + "dnsServers": { + "oneOf": [ + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Gets or sets DHCPOptions that contains an array of DNS servers available to VMs\r\ndeployed in the virtual network." + }, + "enableDdosProtection": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Gets or sets a value indicating whether gets or sets whether the\r\nDDOS protection should be switched on." + }, + "resourceType": { + "type": "string", + "enum": [ + "Microsoft.Network/virtualNetworks" + ] + }, + "subnets": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/SubnetResourceSettings" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Gets or sets List of subnets in a VirtualNetwork." + } + }, + "required": [ + "resourceType" + ], + "description": "Defines the virtual network resource settings." + } + } +} \ No newline at end of file diff --git a/schemas/common/autogeneratedResources.json b/schemas/common/autogeneratedResources.json index 7e1a5288e1..ee3a94f0f9 100644 --- a/schemas/common/autogeneratedResources.json +++ b/schemas/common/autogeneratedResources.json @@ -6916,6 +6916,12 @@ { "$ref": "https://schema.management.azure.com/schemas/2018-02-02/Microsoft.Migrate.json#/resourceDefinitions/projects_groups_assessments" }, + { + "$ref": "https://schema.management.azure.com/schemas/2018-09-01-preview/Microsoft.Migrate.json#/resourceDefinitions/migrateProjects" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2018-09-01-preview/Microsoft.Migrate.json#/resourceDefinitions/migrateProjects_solutions" + }, { "$ref": "https://schema.management.azure.com/schemas/2019-10-01/Microsoft.Migrate.json#/resourceDefinitions/assessmentProjects" }, @@ -6940,6 +6946,18 @@ { "$ref": "https://schema.management.azure.com/schemas/2019-10-01/Microsoft.Migrate.json#/resourceDefinitions/assessmentProjects_vmwarecollectors" }, + { + "$ref": "https://schema.management.azure.com/schemas/2019-10-01-preview/Microsoft.Migrate.json#/resourceDefinitions/moveCollections" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2019-10-01-preview/Microsoft.Migrate.json#/resourceDefinitions/moveCollections_moveResources" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2021-01-01/Microsoft.Migrate.json#/resourceDefinitions/moveCollections" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2021-01-01/Microsoft.Migrate.json#/resourceDefinitions/moveCollections_moveResources" + }, { "$ref": "https://schema.management.azure.com/schemas/2019-02-28-preview/Microsoft.MixedReality.json#/resourceDefinitions/spatialAnchorsAccounts" }, From 3d86d6e56f175837459838064372eda5fef2016c Mon Sep 17 00:00:00 2001 From: Autogenerator Pipeline Date: Mon, 2 Aug 2021 09:21:03 +0000 Subject: [PATCH 22/64] Autogenerate schemas --- .../2018-09-01-preview/Microsoft.Migrate.json | 517 -------- .../2019-10-01-preview/Microsoft.Migrate.json | 1054 ----------------- schemas/2021-01-01/Microsoft.Migrate.json | 1054 ----------------- .../Microsoft.Cache.Enterprise.json | 578 +++++++++ schemas/common/autogeneratedResources.json | 27 +- 5 files changed, 587 insertions(+), 2643 deletions(-) delete mode 100644 schemas/2018-09-01-preview/Microsoft.Migrate.json delete mode 100644 schemas/2019-10-01-preview/Microsoft.Migrate.json delete mode 100644 schemas/2021-01-01/Microsoft.Migrate.json create mode 100644 schemas/2021-08-01/Microsoft.Cache.Enterprise.json diff --git a/schemas/2018-09-01-preview/Microsoft.Migrate.json b/schemas/2018-09-01-preview/Microsoft.Migrate.json deleted file mode 100644 index 074e3e9b7c..0000000000 --- a/schemas/2018-09-01-preview/Microsoft.Migrate.json +++ /dev/null @@ -1,517 +0,0 @@ -{ - "id": "https://schema.management.azure.com/schemas/2018-09-01-preview/Microsoft.Migrate.json#", - "$schema": "http://json-schema.org/draft-04/schema#", - "title": "Microsoft.Migrate", - "description": "Microsoft Migrate Resource Types", - "resourceDefinitions": { - "migrateProjects": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2018-09-01-preview" - ] - }, - "eTag": { - "type": "string", - "description": "Gets or sets the eTag for concurrency control." - }, - "location": { - "type": "string", - "description": "Gets or sets the Azure location in which migrate project is created." - }, - "name": { - "type": "string", - "description": "Name of the Azure Migrate project." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/MigrateProjectProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Class for migrate project properties." - }, - "resources": { - "type": "array", - "items": { - "oneOf": [ - { - "$ref": "#/definitions/migrateProjects_solutions_childResource" - } - ] - } - }, - "tags": { - "oneOf": [ - { - "$ref": "#/definitions/MigrateProjectTags" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Gets or sets the tags." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.Migrate/migrateProjects" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.Migrate/migrateProjects" - }, - "migrateProjects_solutions": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2018-09-01-preview" - ] - }, - "etag": { - "type": "string", - "description": "Gets or sets the ETAG for optimistic concurrency control." - }, - "name": { - "type": "string", - "description": "Unique name of a migration solution within a migrate project." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/SolutionProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Class for solution properties." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.Migrate/migrateProjects/solutions" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.Migrate/migrateProjects/solutions" - } - }, - "definitions": { - "DatabasesSolutionSummary": { - "type": "object", - "properties": { - "databaseInstancesAssessedCount": { - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Gets or sets the count of database instances assessed." - }, - "databasesAssessedCount": { - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Gets or sets the count of databases assessed." - }, - "instanceType": { - "type": "string", - "enum": [ - "Databases" - ] - }, - "migrationReadyCount": { - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Gets or sets the count of databases ready for migration." - } - }, - "required": [ - "instanceType" - ], - "description": "Class representing the databases solution summary." - }, - "MigrateProjectProperties": { - "type": "object", - "properties": { - "provisioningState": { - "oneOf": [ - { - "type": "string", - "enum": [ - "Accepted", - "Creating", - "Deleting", - "Failed", - "Moving", - "Succeeded" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Provisioning state of the migrate project." - }, - "registeredTools": { - "oneOf": [ - { - "type": "array", - "items": { - "type": "string", - "enum": [ - "ServerDiscovery", - "ServerAssessment", - "ServerMigration", - "Cloudamize", - "Turbonomic", - "Zerto", - "CorentTech", - "ServerAssessmentV1", - "ServerMigration_Replication", - "Carbonite", - "DataMigrationAssistant", - "DatabaseMigrationService" - ] - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Gets or sets the list of tools registered with the migrate project." - } - }, - "description": "Class for migrate project properties." - }, - "migrateProjects_solutions_childResource": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2018-09-01-preview" - ] - }, - "etag": { - "type": "string", - "description": "Gets or sets the ETAG for optimistic concurrency control." - }, - "name": { - "type": "string", - "description": "Unique name of a migration solution within a migrate project." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/SolutionProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Class for solution properties." - }, - "type": { - "type": "string", - "enum": [ - "solutions" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.Migrate/migrateProjects/solutions" - }, - "MigrateProjectTags": { - "type": "object", - "properties": { - "additionalProperties": { - "type": "string" - } - }, - "description": "Gets or sets the tags." - }, - "ServersSolutionSummary": { - "type": "object", - "properties": { - "assessedCount": { - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Gets or sets the count of servers assessed." - }, - "discoveredCount": { - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Gets or sets the count of servers discovered." - }, - "instanceType": { - "type": "string", - "enum": [ - "Servers" - ] - }, - "migratedCount": { - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Gets or sets the count of servers migrated." - }, - "replicatingCount": { - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Gets or sets the count of servers being replicated." - }, - "testMigratedCount": { - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Gets or sets the count of servers test migrated." - } - }, - "required": [ - "instanceType" - ], - "description": "Class representing the servers solution summary." - }, - "SolutionDetails": { - "type": "object", - "properties": { - "assessmentCount": { - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Gets or sets the count of assessments reported by the solution." - }, - "extendedDetails": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Gets or sets the extended details reported by the solution." - }, - "groupCount": { - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Gets or sets the count of groups reported by the solution." - } - }, - "description": "Class representing the details of the solution." - }, - "SolutionProperties": { - "type": "object", - "properties": { - "cleanupState": { - "oneOf": [ - { - "type": "string", - "enum": [ - "None", - "Started", - "InProgress", - "Completed", - "Failed" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Gets or sets the cleanup state of the solution." - }, - "details": { - "oneOf": [ - { - "$ref": "#/definitions/SolutionDetails" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Class representing the details of the solution." - }, - "goal": { - "oneOf": [ - { - "type": "string", - "enum": [ - "Servers", - "Databases" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Gets or sets the goal of the solution." - }, - "purpose": { - "oneOf": [ - { - "type": "string", - "enum": [ - "Discovery", - "Assessment", - "Migration" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Gets or sets the purpose of the solution." - }, - "status": { - "oneOf": [ - { - "type": "string", - "enum": [ - "Inactive", - "Active" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Gets or sets the current status of the solution." - }, - "summary": { - "oneOf": [ - { - "$ref": "#/definitions/SolutionSummary" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The solution summary class." - }, - "tool": { - "oneOf": [ - { - "type": "string", - "enum": [ - "ServerDiscovery", - "ServerAssessment", - "ServerMigration", - "Cloudamize", - "Turbonomic", - "Zerto", - "CorentTech", - "ServerAssessmentV1", - "ServerMigration_Replication", - "Carbonite", - "DataMigrationAssistant", - "DatabaseMigrationService" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Gets or sets the tool being used in the solution." - } - }, - "description": "Class for solution properties." - }, - "SolutionSummary": { - "type": "object", - "oneOf": [ - { - "$ref": "#/definitions/ServersSolutionSummary" - }, - { - "$ref": "#/definitions/DatabasesSolutionSummary" - } - ], - "properties": {}, - "description": "The solution summary class." - } - } -} \ No newline at end of file diff --git a/schemas/2019-10-01-preview/Microsoft.Migrate.json b/schemas/2019-10-01-preview/Microsoft.Migrate.json deleted file mode 100644 index 69d60e191b..0000000000 --- a/schemas/2019-10-01-preview/Microsoft.Migrate.json +++ /dev/null @@ -1,1054 +0,0 @@ -{ - "id": "https://schema.management.azure.com/schemas/2019-10-01-preview/Microsoft.Migrate.json#", - "$schema": "http://json-schema.org/draft-04/schema#", - "title": "Microsoft.Migrate", - "description": "Microsoft Migrate Resource Types", - "resourceDefinitions": { - "moveCollections": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2019-10-01-preview" - ] - }, - "identity": { - "oneOf": [ - { - "$ref": "#/definitions/Identity" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Defines the MSI properties of the Move Collection." - }, - "location": { - "type": "string", - "description": "The geo-location where the resource lives." - }, - "name": { - "type": "string", - "description": "The Move Collection Name." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/MoveCollectionProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Defines the move collection properties." - }, - "resources": { - "type": "array", - "items": { - "oneOf": [ - { - "$ref": "#/definitions/moveCollections_moveResources_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.Migrate/moveCollections" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.Migrate/moveCollections" - }, - "moveCollections_moveResources": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2019-10-01-preview" - ] - }, - "name": { - "type": "string", - "description": "The Move Resource Name." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/MoveResourceProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Defines the move resource properties." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.Migrate/moveCollections/moveResources" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.Migrate/moveCollections/moveResources" - } - }, - "definitions": { - "AvailabilitySetResourceSettings": { - "type": "object", - "properties": { - "faultDomain": { - "oneOf": [ - { - "type": "integer", - "minimum": 1 - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Gets or sets the target fault domain." - }, - "resourceType": { - "type": "string", - "enum": [ - "Microsoft.Compute/availabilitySets" - ] - }, - "updateDomain": { - "oneOf": [ - { - "type": "integer", - "minimum": 1, - "maximum": 20 - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Gets or sets the target update domain." - } - }, - "required": [ - "resourceType" - ], - "description": "Gets or sets the availability set resource settings." - }, - "DiskEncryptionSetResourceSettings": { - "type": "object", - "properties": { - "resourceType": { - "type": "string", - "enum": [ - "Microsoft.Compute/diskEncryptionSets" - ] - } - }, - "required": [ - "resourceType" - ], - "description": "Defines the disk encryption set resource settings." - }, - "Identity": { - "type": "object", - "properties": { - "principalId": { - "type": "string", - "description": "Gets or sets the principal id." - }, - "tenantId": { - "type": "string", - "description": "Gets or sets the tenant id." - }, - "type": { - "oneOf": [ - { - "type": "string", - "enum": [ - "None", - "SystemAssigned", - "UserAssigned" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - } - }, - "description": "Defines the MSI properties of the Move Collection." - }, - "KeyVaultResourceSettings": { - "type": "object", - "properties": { - "resourceType": { - "type": "string", - "enum": [ - "Microsoft.KeyVault/vaults" - ] - } - }, - "required": [ - "resourceType" - ], - "description": "Defines the key vault resource settings." - }, - "LBBackendAddressPoolResourceSettings": { - "type": "object", - "properties": { - "name": { - "type": "string", - "description": "Gets or sets the backend address pool name." - } - }, - "description": "Defines load balancer backend address pool properties." - }, - "LBFrontendIPConfigurationResourceSettings": { - "type": "object", - "properties": { - "name": { - "type": "string", - "description": "Gets or sets the frontend IP configuration name." - }, - "privateIpAddress": { - "type": "string", - "description": "Gets or sets the IP address of the Load Balancer.This is only specified if a specific\r\nprivate IP address shall be allocated from the subnet specified in subnetRef." - }, - "privateIpAllocationMethod": { - "type": "string", - "description": "Gets or sets PrivateIP allocation method (Static/Dynamic)." - }, - "subnet": { - "oneOf": [ - { - "$ref": "#/definitions/SubnetReference" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Defines reference to subnet." - }, - "zones": { - "type": "string", - "description": "Gets or sets the csv list of zones." - } - }, - "description": "Defines load balancer frontend IP configuration properties." - }, - "LoadBalancerBackendAddressPoolReference": { - "type": "object", - "properties": { - "name": { - "type": "string", - "description": "Gets the name of the proxy resource on the target side." - }, - "sourceArmResourceId": { - "type": "string", - "description": "Gets the ARM resource ID of the tracked resource being referenced." - } - }, - "required": [ - "sourceArmResourceId" - ], - "description": "Defines reference to load balancer backend address pools." - }, - "LoadBalancerNatRuleReference": { - "type": "object", - "properties": { - "name": { - "type": "string", - "description": "Gets the name of the proxy resource on the target side." - }, - "sourceArmResourceId": { - "type": "string", - "description": "Gets the ARM resource ID of the tracked resource being referenced." - } - }, - "required": [ - "sourceArmResourceId" - ], - "description": "Defines reference to load balancer NAT rules." - }, - "LoadBalancerResourceSettings": { - "type": "object", - "properties": { - "backendAddressPools": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/definitions/LBBackendAddressPoolResourceSettings" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Gets or sets the backend address pools of the load balancer." - }, - "frontendIPConfigurations": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/definitions/LBFrontendIPConfigurationResourceSettings" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Gets or sets the frontend IP configurations of the load balancer." - }, - "resourceType": { - "type": "string", - "enum": [ - "Microsoft.Network/loadBalancers" - ] - }, - "sku": { - "type": "string", - "description": "Gets or sets load balancer sku (Basic/Standard)." - }, - "zones": { - "type": "string", - "description": "Gets or sets the csv list of zones common for all frontend IP configurations. Note this is given\r\n precedence only if frontend IP configurations settings are not present." - } - }, - "required": [ - "resourceType" - ], - "description": "Defines the load balancer resource settings." - }, - "MoveCollectionProperties": { - "type": "object", - "properties": { - "provisioningState": { - "oneOf": [ - { - "type": "string", - "enum": [ - "Succeeded", - "Updating", - "Creating", - "Failed" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "sourceRegion": { - "type": "string", - "description": "Gets or sets the source region." - }, - "targetRegion": { - "type": "string", - "description": "Gets or sets the target region." - } - }, - "required": [ - "sourceRegion", - "targetRegion" - ], - "description": "Defines the move collection properties." - }, - "moveCollections_moveResources_childResource": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2019-10-01-preview" - ] - }, - "name": { - "type": "string", - "description": "The Move Resource Name." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/MoveResourceProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Defines the move resource properties." - }, - "type": { - "type": "string", - "enum": [ - "moveResources" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.Migrate/moveCollections/moveResources" - }, - "MoveResourceDependencyOverride": { - "type": "object", - "properties": { - "id": { - "type": "string", - "description": "Gets or sets the ARM ID of the dependent resource." - }, - "targetId": { - "type": "string", - "description": "Gets or sets the resource ARM id of either the MoveResource or the resource ARM ID of\r\nthe dependent resource." - } - }, - "description": "Defines the dependency override of the move resource." - }, - "MoveResourceProperties": { - "type": "object", - "properties": { - "dependsOnOverrides": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/definitions/MoveResourceDependencyOverride" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Gets or sets the move resource dependencies overrides." - }, - "existingTargetId": { - "type": "string", - "description": "Gets or sets the existing target ARM Id of the resource." - }, - "provisioningState": { - "oneOf": [ - { - "type": "string", - "enum": [ - "Succeeded", - "Updating", - "Creating", - "Failed" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "resourceSettings": { - "oneOf": [ - { - "$ref": "#/definitions/ResourceSettings" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Gets or sets the resource settings." - }, - "sourceId": { - "type": "string", - "description": "Gets or sets the Source ARM Id of the resource." - } - }, - "required": [ - "sourceId" - ], - "description": "Defines the move resource properties." - }, - "NetworkInterfaceResourceSettings": { - "type": "object", - "properties": { - "enableAcceleratedNetworking": { - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Gets or sets a value indicating whether accelerated networking is enabled." - }, - "ipConfigurations": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/definitions/NicIpConfigurationResourceSettings" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Gets or sets the IP configurations of the NIC." - }, - "resourceType": { - "type": "string", - "enum": [ - "Microsoft.Network/networkInterfaces" - ] - } - }, - "required": [ - "resourceType" - ], - "description": "Defines the network interface resource settings." - }, - "NetworkSecurityGroupResourceSettings": { - "type": "object", - "properties": { - "resourceType": { - "type": "string", - "enum": [ - "Microsoft.Network/networkSecurityGroups" - ] - }, - "securityRules": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/definitions/NsgSecurityRule" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Gets or sets Security rules of network security group." - } - }, - "required": [ - "resourceType" - ], - "description": "Defines the NSG resource settings." - }, - "NicIpConfigurationResourceSettings": { - "type": "object", - "properties": { - "loadBalancerBackendAddressPools": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/definitions/LoadBalancerBackendAddressPoolReference" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Gets or sets the references of the load balancer backend address pools." - }, - "loadBalancerNatRules": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/definitions/LoadBalancerNatRuleReference" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Gets or sets the references of the load balancer NAT rules." - }, - "name": { - "type": "string", - "description": "Gets or sets the IP configuration name." - }, - "primary": { - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Gets or sets a value indicating whether this IP configuration is the primary." - }, - "privateIpAddress": { - "type": "string", - "description": "Gets or sets the private IP address of the network interface IP Configuration." - }, - "privateIpAllocationMethod": { - "type": "string", - "description": "Gets or sets the private IP address allocation method." - }, - "publicIp": { - "oneOf": [ - { - "$ref": "#/definitions/PublicIpReference" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Defines reference to a public IP." - }, - "subnet": { - "oneOf": [ - { - "$ref": "#/definitions/SubnetReference" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Defines reference to subnet." - } - }, - "description": "Defines NIC IP configuration properties." - }, - "NsgReference": { - "type": "object", - "properties": { - "sourceArmResourceId": { - "type": "string", - "description": "Gets the ARM resource ID of the tracked resource being referenced." - } - }, - "required": [ - "sourceArmResourceId" - ], - "description": "Defines reference to NSG." - }, - "NsgSecurityRule": { - "type": "object", - "properties": { - "access": { - "type": "string", - "description": "Gets or sets whether network traffic is allowed or denied.\r\nPossible values are “Allow” and “Deny”." - }, - "description": { - "type": "string", - "description": "Gets or sets a description for this rule. Restricted to 140 chars." - }, - "destinationAddressPrefix": { - "type": "string", - "description": "Gets or sets destination address prefix. CIDR or source IP range.\r\n A “*” can also be used to match all source IPs. Default tags such\r\nas ‘VirtualNetwork’, ‘AzureLoadBalancer’ and ‘Internet’ can also be used." - }, - "destinationPortRange": { - "type": "string", - "description": "Gets or sets Destination Port or Range. Integer or range between\r\n0 and 65535. A “*” can also be used to match all ports." - }, - "direction": { - "type": "string", - "description": "Gets or sets the direction of the rule.InBound or Outbound. The\r\ndirection specifies if rule will be evaluated on incoming or outgoing traffic." - }, - "name": { - "type": "string", - "description": "Gets or sets the Security rule name." - }, - "priority": { - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Gets or sets the priority of the rule. The value can be between\r\n100 and 4096. The priority number must be unique for each rule in the collection.\r\nThe lower the priority number, the higher the priority of the rule." - }, - "protocol": { - "type": "string", - "description": "Gets or sets Network protocol this rule applies to. Can be Tcp, Udp or All(*)." - }, - "sourceAddressPrefix": { - "type": "string", - "description": "Gets or sets source address prefix. CIDR or source IP range. A\r\n“*” can also be used to match all source IPs. Default tags such as ‘VirtualNetwork’,\r\n‘AzureLoadBalancer’ and ‘Internet’ can also be used. If this is an ingress\r\nrule, specifies where network traffic originates from." - }, - "sourcePortRange": { - "type": "string", - "description": "Gets or sets Source Port or Range. Integer or range between 0 and\r\n65535. A “*” can also be used to match all ports." - } - }, - "description": "Security Rule data model for Network Security Groups." - }, - "PublicIPAddressResourceSettings": { - "type": "object", - "properties": { - "domainNameLabel": { - "type": "string", - "description": "Gets or sets the domain name label." - }, - "fqdn": { - "type": "string", - "description": "Gets or sets the fully qualified domain name." - }, - "publicIpAllocationMethod": { - "type": "string", - "description": "Gets or sets public IP allocation method." - }, - "resourceType": { - "type": "string", - "enum": [ - "Microsoft.Network/publicIPAddresses" - ] - }, - "sku": { - "type": "string", - "description": "Gets or sets public IP sku." - }, - "zones": { - "type": "string", - "description": "Gets or sets public IP zones." - } - }, - "required": [ - "resourceType" - ], - "description": "Defines the public IP address resource settings." - }, - "PublicIpReference": { - "type": "object", - "properties": { - "sourceArmResourceId": { - "type": "string", - "description": "Gets the ARM resource ID of the tracked resource being referenced." - } - }, - "required": [ - "sourceArmResourceId" - ], - "description": "Defines reference to a public IP." - }, - "ResourceGroupResourceSettings": { - "type": "object", - "properties": { - "resourceType": { - "type": "string", - "enum": [ - "resourceGroups" - ] - } - }, - "required": [ - "resourceType" - ], - "description": "Defines the resource group resource settings." - }, - "ResourceSettings": { - "type": "object", - "oneOf": [ - { - "$ref": "#/definitions/VirtualMachineResourceSettings" - }, - { - "$ref": "#/definitions/AvailabilitySetResourceSettings" - }, - { - "$ref": "#/definitions/VirtualNetworkResourceSettings" - }, - { - "$ref": "#/definitions/NetworkInterfaceResourceSettings" - }, - { - "$ref": "#/definitions/NetworkSecurityGroupResourceSettings" - }, - { - "$ref": "#/definitions/LoadBalancerResourceSettings" - }, - { - "$ref": "#/definitions/SqlServerResourceSettings" - }, - { - "$ref": "#/definitions/SqlElasticPoolResourceSettings" - }, - { - "$ref": "#/definitions/SqlDatabaseResourceSettings" - }, - { - "$ref": "#/definitions/ResourceGroupResourceSettings" - }, - { - "$ref": "#/definitions/PublicIPAddressResourceSettings" - }, - { - "$ref": "#/definitions/KeyVaultResourceSettings" - }, - { - "$ref": "#/definitions/DiskEncryptionSetResourceSettings" - } - ], - "properties": { - "targetResourceName": { - "type": "string", - "description": "Gets or sets the target Resource name." - } - }, - "required": [ - "targetResourceName" - ], - "description": "Gets or sets the resource settings." - }, - "SqlDatabaseResourceSettings": { - "type": "object", - "properties": { - "resourceType": { - "type": "string", - "enum": [ - "Microsoft.Sql/servers/databases" - ] - }, - "zoneRedundant": { - "oneOf": [ - { - "type": "string", - "enum": [ - "Enable", - "Disable" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - } - }, - "required": [ - "resourceType" - ], - "description": "Defines the Sql Database resource settings." - }, - "SqlElasticPoolResourceSettings": { - "type": "object", - "properties": { - "resourceType": { - "type": "string", - "enum": [ - "Microsoft.Sql/servers/elasticPools" - ] - }, - "zoneRedundant": { - "oneOf": [ - { - "type": "string", - "enum": [ - "Enable", - "Disable" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - } - }, - "required": [ - "resourceType" - ], - "description": "Defines the Sql ElasticPool resource settings." - }, - "SqlServerResourceSettings": { - "type": "object", - "properties": { - "resourceType": { - "type": "string", - "enum": [ - "Microsoft.Sql/servers" - ] - } - }, - "required": [ - "resourceType" - ], - "description": "Defines the SQL Server resource settings." - }, - "SubnetReference": { - "type": "object", - "properties": { - "name": { - "type": "string", - "description": "Gets the name of the proxy resource on the target side." - }, - "sourceArmResourceId": { - "type": "string", - "description": "Gets the ARM resource ID of the tracked resource being referenced." - } - }, - "required": [ - "sourceArmResourceId" - ], - "description": "Defines reference to subnet." - }, - "SubnetResourceSettings": { - "type": "object", - "properties": { - "addressPrefix": { - "type": "string", - "description": "Gets or sets address prefix for the subnet." - }, - "name": { - "type": "string", - "description": "Gets or sets the Subnet name." - }, - "networkSecurityGroup": { - "oneOf": [ - { - "$ref": "#/definitions/NsgReference" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Defines reference to NSG." - } - }, - "description": "Defines the virtual network subnets resource settings." - }, - "VirtualMachineResourceSettings": { - "type": "object", - "properties": { - "resourceType": { - "type": "string", - "enum": [ - "Microsoft.Compute/virtualMachines" - ] - }, - "targetAvailabilitySetId": { - "type": "string", - "description": "Gets or sets the target availability set id for virtual machines not in an availability set at source." - }, - "targetAvailabilityZone": { - "oneOf": [ - { - "type": "string", - "enum": [ - "1", - "2", - "3", - "NA" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Gets or sets the target availability zone." - }, - "targetVmSize": { - "type": "string", - "description": "Gets or sets the target virtual machine size." - } - }, - "required": [ - "resourceType" - ], - "description": "Gets or sets the virtual machine resource settings." - }, - "VirtualNetworkResourceSettings": { - "type": "object", - "properties": { - "addressSpace": { - "oneOf": [ - { - "type": "array", - "items": { - "type": "string" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Gets or sets the address prefixes for the virtual network." - }, - "dnsServers": { - "oneOf": [ - { - "type": "array", - "items": { - "type": "string" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Gets or sets DHCPOptions that contains an array of DNS servers available to VMs\r\ndeployed in the virtual network." - }, - "enableDdosProtection": { - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Gets or sets a value indicating whether gets or sets whether the\r\nDDOS protection should be switched on." - }, - "resourceType": { - "type": "string", - "enum": [ - "Microsoft.Network/virtualNetworks" - ] - }, - "subnets": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/definitions/SubnetResourceSettings" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Gets or sets List of subnets in a VirtualNetwork." - } - }, - "required": [ - "resourceType" - ], - "description": "Defines the virtual network resource settings." - } - } -} \ No newline at end of file diff --git a/schemas/2021-01-01/Microsoft.Migrate.json b/schemas/2021-01-01/Microsoft.Migrate.json deleted file mode 100644 index 0e45499ee6..0000000000 --- a/schemas/2021-01-01/Microsoft.Migrate.json +++ /dev/null @@ -1,1054 +0,0 @@ -{ - "id": "https://schema.management.azure.com/schemas/2021-01-01/Microsoft.Migrate.json#", - "$schema": "http://json-schema.org/draft-04/schema#", - "title": "Microsoft.Migrate", - "description": "Microsoft Migrate Resource Types", - "resourceDefinitions": { - "moveCollections": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2021-01-01" - ] - }, - "identity": { - "oneOf": [ - { - "$ref": "#/definitions/Identity" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Defines the MSI properties of the Move Collection." - }, - "location": { - "type": "string", - "description": "The geo-location where the resource lives." - }, - "name": { - "type": "string", - "description": "The Move Collection Name." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/MoveCollectionProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Defines the move collection properties." - }, - "resources": { - "type": "array", - "items": { - "oneOf": [ - { - "$ref": "#/definitions/moveCollections_moveResources_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.Migrate/moveCollections" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.Migrate/moveCollections" - }, - "moveCollections_moveResources": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2021-01-01" - ] - }, - "name": { - "type": "string", - "description": "The Move Resource Name." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/MoveResourceProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Defines the move resource properties." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.Migrate/moveCollections/moveResources" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.Migrate/moveCollections/moveResources" - } - }, - "definitions": { - "AvailabilitySetResourceSettings": { - "type": "object", - "properties": { - "faultDomain": { - "oneOf": [ - { - "type": "integer", - "minimum": 1 - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Gets or sets the target fault domain." - }, - "resourceType": { - "type": "string", - "enum": [ - "Microsoft.Compute/availabilitySets" - ] - }, - "updateDomain": { - "oneOf": [ - { - "type": "integer", - "minimum": 1, - "maximum": 20 - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Gets or sets the target update domain." - } - }, - "required": [ - "resourceType" - ], - "description": "Gets or sets the availability set resource settings." - }, - "DiskEncryptionSetResourceSettings": { - "type": "object", - "properties": { - "resourceType": { - "type": "string", - "enum": [ - "Microsoft.Compute/diskEncryptionSets" - ] - } - }, - "required": [ - "resourceType" - ], - "description": "Defines the disk encryption set resource settings." - }, - "Identity": { - "type": "object", - "properties": { - "principalId": { - "type": "string", - "description": "Gets or sets the principal id." - }, - "tenantId": { - "type": "string", - "description": "Gets or sets the tenant id." - }, - "type": { - "oneOf": [ - { - "type": "string", - "enum": [ - "None", - "SystemAssigned", - "UserAssigned" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - } - }, - "description": "Defines the MSI properties of the Move Collection." - }, - "KeyVaultResourceSettings": { - "type": "object", - "properties": { - "resourceType": { - "type": "string", - "enum": [ - "Microsoft.KeyVault/vaults" - ] - } - }, - "required": [ - "resourceType" - ], - "description": "Defines the key vault resource settings." - }, - "LBBackendAddressPoolResourceSettings": { - "type": "object", - "properties": { - "name": { - "type": "string", - "description": "Gets or sets the backend address pool name." - } - }, - "description": "Defines load balancer backend address pool properties." - }, - "LBFrontendIPConfigurationResourceSettings": { - "type": "object", - "properties": { - "name": { - "type": "string", - "description": "Gets or sets the frontend IP configuration name." - }, - "privateIpAddress": { - "type": "string", - "description": "Gets or sets the IP address of the Load Balancer.This is only specified if a specific\r\nprivate IP address shall be allocated from the subnet specified in subnetRef." - }, - "privateIpAllocationMethod": { - "type": "string", - "description": "Gets or sets PrivateIP allocation method (Static/Dynamic)." - }, - "subnet": { - "oneOf": [ - { - "$ref": "#/definitions/SubnetReference" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Defines reference to subnet." - }, - "zones": { - "type": "string", - "description": "Gets or sets the csv list of zones." - } - }, - "description": "Defines load balancer frontend IP configuration properties." - }, - "LoadBalancerBackendAddressPoolReference": { - "type": "object", - "properties": { - "name": { - "type": "string", - "description": "Gets the name of the proxy resource on the target side." - }, - "sourceArmResourceId": { - "type": "string", - "description": "Gets the ARM resource ID of the tracked resource being referenced." - } - }, - "required": [ - "sourceArmResourceId" - ], - "description": "Defines reference to load balancer backend address pools." - }, - "LoadBalancerNatRuleReference": { - "type": "object", - "properties": { - "name": { - "type": "string", - "description": "Gets the name of the proxy resource on the target side." - }, - "sourceArmResourceId": { - "type": "string", - "description": "Gets the ARM resource ID of the tracked resource being referenced." - } - }, - "required": [ - "sourceArmResourceId" - ], - "description": "Defines reference to load balancer NAT rules." - }, - "LoadBalancerResourceSettings": { - "type": "object", - "properties": { - "backendAddressPools": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/definitions/LBBackendAddressPoolResourceSettings" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Gets or sets the backend address pools of the load balancer." - }, - "frontendIPConfigurations": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/definitions/LBFrontendIPConfigurationResourceSettings" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Gets or sets the frontend IP configurations of the load balancer." - }, - "resourceType": { - "type": "string", - "enum": [ - "Microsoft.Network/loadBalancers" - ] - }, - "sku": { - "type": "string", - "description": "Gets or sets load balancer sku (Basic/Standard)." - }, - "zones": { - "type": "string", - "description": "Gets or sets the csv list of zones common for all frontend IP configurations. Note this is given\r\n precedence only if frontend IP configurations settings are not present." - } - }, - "required": [ - "resourceType" - ], - "description": "Defines the load balancer resource settings." - }, - "MoveCollectionProperties": { - "type": "object", - "properties": { - "provisioningState": { - "oneOf": [ - { - "type": "string", - "enum": [ - "Succeeded", - "Updating", - "Creating", - "Failed" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "sourceRegion": { - "type": "string", - "description": "Gets or sets the source region." - }, - "targetRegion": { - "type": "string", - "description": "Gets or sets the target region." - } - }, - "required": [ - "sourceRegion", - "targetRegion" - ], - "description": "Defines the move collection properties." - }, - "moveCollections_moveResources_childResource": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2021-01-01" - ] - }, - "name": { - "type": "string", - "description": "The Move Resource Name." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/MoveResourceProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Defines the move resource properties." - }, - "type": { - "type": "string", - "enum": [ - "moveResources" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.Migrate/moveCollections/moveResources" - }, - "MoveResourceDependencyOverride": { - "type": "object", - "properties": { - "id": { - "type": "string", - "description": "Gets or sets the ARM ID of the dependent resource." - }, - "targetId": { - "type": "string", - "description": "Gets or sets the resource ARM id of either the MoveResource or the resource ARM ID of\r\nthe dependent resource." - } - }, - "description": "Defines the dependency override of the move resource." - }, - "MoveResourceProperties": { - "type": "object", - "properties": { - "dependsOnOverrides": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/definitions/MoveResourceDependencyOverride" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Gets or sets the move resource dependencies overrides." - }, - "existingTargetId": { - "type": "string", - "description": "Gets or sets the existing target ARM Id of the resource." - }, - "provisioningState": { - "oneOf": [ - { - "type": "string", - "enum": [ - "Succeeded", - "Updating", - "Creating", - "Failed" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "resourceSettings": { - "oneOf": [ - { - "$ref": "#/definitions/ResourceSettings" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Gets or sets the resource settings." - }, - "sourceId": { - "type": "string", - "description": "Gets or sets the Source ARM Id of the resource." - } - }, - "required": [ - "sourceId" - ], - "description": "Defines the move resource properties." - }, - "NetworkInterfaceResourceSettings": { - "type": "object", - "properties": { - "enableAcceleratedNetworking": { - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Gets or sets a value indicating whether accelerated networking is enabled." - }, - "ipConfigurations": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/definitions/NicIpConfigurationResourceSettings" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Gets or sets the IP configurations of the NIC." - }, - "resourceType": { - "type": "string", - "enum": [ - "Microsoft.Network/networkInterfaces" - ] - } - }, - "required": [ - "resourceType" - ], - "description": "Defines the network interface resource settings." - }, - "NetworkSecurityGroupResourceSettings": { - "type": "object", - "properties": { - "resourceType": { - "type": "string", - "enum": [ - "Microsoft.Network/networkSecurityGroups" - ] - }, - "securityRules": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/definitions/NsgSecurityRule" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Gets or sets Security rules of network security group." - } - }, - "required": [ - "resourceType" - ], - "description": "Defines the NSG resource settings." - }, - "NicIpConfigurationResourceSettings": { - "type": "object", - "properties": { - "loadBalancerBackendAddressPools": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/definitions/LoadBalancerBackendAddressPoolReference" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Gets or sets the references of the load balancer backend address pools." - }, - "loadBalancerNatRules": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/definitions/LoadBalancerNatRuleReference" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Gets or sets the references of the load balancer NAT rules." - }, - "name": { - "type": "string", - "description": "Gets or sets the IP configuration name." - }, - "primary": { - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Gets or sets a value indicating whether this IP configuration is the primary." - }, - "privateIpAddress": { - "type": "string", - "description": "Gets or sets the private IP address of the network interface IP Configuration." - }, - "privateIpAllocationMethod": { - "type": "string", - "description": "Gets or sets the private IP address allocation method." - }, - "publicIp": { - "oneOf": [ - { - "$ref": "#/definitions/PublicIpReference" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Defines reference to a public IP." - }, - "subnet": { - "oneOf": [ - { - "$ref": "#/definitions/SubnetReference" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Defines reference to subnet." - } - }, - "description": "Defines NIC IP configuration properties." - }, - "NsgReference": { - "type": "object", - "properties": { - "sourceArmResourceId": { - "type": "string", - "description": "Gets the ARM resource ID of the tracked resource being referenced." - } - }, - "required": [ - "sourceArmResourceId" - ], - "description": "Defines reference to NSG." - }, - "NsgSecurityRule": { - "type": "object", - "properties": { - "access": { - "type": "string", - "description": "Gets or sets whether network traffic is allowed or denied.\r\nPossible values are “Allow” and “Deny”." - }, - "description": { - "type": "string", - "description": "Gets or sets a description for this rule. Restricted to 140 chars." - }, - "destinationAddressPrefix": { - "type": "string", - "description": "Gets or sets destination address prefix. CIDR or source IP range.\r\n A “*” can also be used to match all source IPs. Default tags such\r\nas ‘VirtualNetwork’, ‘AzureLoadBalancer’ and ‘Internet’ can also be used." - }, - "destinationPortRange": { - "type": "string", - "description": "Gets or sets Destination Port or Range. Integer or range between\r\n0 and 65535. A “*” can also be used to match all ports." - }, - "direction": { - "type": "string", - "description": "Gets or sets the direction of the rule.InBound or Outbound. The\r\ndirection specifies if rule will be evaluated on incoming or outgoing traffic." - }, - "name": { - "type": "string", - "description": "Gets or sets the Security rule name." - }, - "priority": { - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Gets or sets the priority of the rule. The value can be between\r\n100 and 4096. The priority number must be unique for each rule in the collection.\r\nThe lower the priority number, the higher the priority of the rule." - }, - "protocol": { - "type": "string", - "description": "Gets or sets Network protocol this rule applies to. Can be Tcp, Udp or All(*)." - }, - "sourceAddressPrefix": { - "type": "string", - "description": "Gets or sets source address prefix. CIDR or source IP range. A\r\n“*” can also be used to match all source IPs. Default tags such as ‘VirtualNetwork’,\r\n‘AzureLoadBalancer’ and ‘Internet’ can also be used. If this is an ingress\r\nrule, specifies where network traffic originates from." - }, - "sourcePortRange": { - "type": "string", - "description": "Gets or sets Source Port or Range. Integer or range between 0 and\r\n65535. A “*” can also be used to match all ports." - } - }, - "description": "Security Rule data model for Network Security Groups." - }, - "PublicIPAddressResourceSettings": { - "type": "object", - "properties": { - "domainNameLabel": { - "type": "string", - "description": "Gets or sets the domain name label." - }, - "fqdn": { - "type": "string", - "description": "Gets or sets the fully qualified domain name." - }, - "publicIpAllocationMethod": { - "type": "string", - "description": "Gets or sets public IP allocation method." - }, - "resourceType": { - "type": "string", - "enum": [ - "Microsoft.Network/publicIPAddresses" - ] - }, - "sku": { - "type": "string", - "description": "Gets or sets public IP sku." - }, - "zones": { - "type": "string", - "description": "Gets or sets public IP zones." - } - }, - "required": [ - "resourceType" - ], - "description": "Defines the public IP address resource settings." - }, - "PublicIpReference": { - "type": "object", - "properties": { - "sourceArmResourceId": { - "type": "string", - "description": "Gets the ARM resource ID of the tracked resource being referenced." - } - }, - "required": [ - "sourceArmResourceId" - ], - "description": "Defines reference to a public IP." - }, - "ResourceGroupResourceSettings": { - "type": "object", - "properties": { - "resourceType": { - "type": "string", - "enum": [ - "resourceGroups" - ] - } - }, - "required": [ - "resourceType" - ], - "description": "Defines the resource group resource settings." - }, - "ResourceSettings": { - "type": "object", - "oneOf": [ - { - "$ref": "#/definitions/VirtualMachineResourceSettings" - }, - { - "$ref": "#/definitions/AvailabilitySetResourceSettings" - }, - { - "$ref": "#/definitions/VirtualNetworkResourceSettings" - }, - { - "$ref": "#/definitions/NetworkInterfaceResourceSettings" - }, - { - "$ref": "#/definitions/NetworkSecurityGroupResourceSettings" - }, - { - "$ref": "#/definitions/LoadBalancerResourceSettings" - }, - { - "$ref": "#/definitions/SqlServerResourceSettings" - }, - { - "$ref": "#/definitions/SqlElasticPoolResourceSettings" - }, - { - "$ref": "#/definitions/SqlDatabaseResourceSettings" - }, - { - "$ref": "#/definitions/ResourceGroupResourceSettings" - }, - { - "$ref": "#/definitions/PublicIPAddressResourceSettings" - }, - { - "$ref": "#/definitions/KeyVaultResourceSettings" - }, - { - "$ref": "#/definitions/DiskEncryptionSetResourceSettings" - } - ], - "properties": { - "targetResourceName": { - "type": "string", - "description": "Gets or sets the target Resource name." - } - }, - "required": [ - "targetResourceName" - ], - "description": "Gets or sets the resource settings." - }, - "SqlDatabaseResourceSettings": { - "type": "object", - "properties": { - "resourceType": { - "type": "string", - "enum": [ - "Microsoft.Sql/servers/databases" - ] - }, - "zoneRedundant": { - "oneOf": [ - { - "type": "string", - "enum": [ - "Enable", - "Disable" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - } - }, - "required": [ - "resourceType" - ], - "description": "Defines the Sql Database resource settings." - }, - "SqlElasticPoolResourceSettings": { - "type": "object", - "properties": { - "resourceType": { - "type": "string", - "enum": [ - "Microsoft.Sql/servers/elasticPools" - ] - }, - "zoneRedundant": { - "oneOf": [ - { - "type": "string", - "enum": [ - "Enable", - "Disable" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - } - }, - "required": [ - "resourceType" - ], - "description": "Defines the Sql ElasticPool resource settings." - }, - "SqlServerResourceSettings": { - "type": "object", - "properties": { - "resourceType": { - "type": "string", - "enum": [ - "Microsoft.Sql/servers" - ] - } - }, - "required": [ - "resourceType" - ], - "description": "Defines the SQL Server resource settings." - }, - "SubnetReference": { - "type": "object", - "properties": { - "name": { - "type": "string", - "description": "Gets the name of the proxy resource on the target side." - }, - "sourceArmResourceId": { - "type": "string", - "description": "Gets the ARM resource ID of the tracked resource being referenced." - } - }, - "required": [ - "sourceArmResourceId" - ], - "description": "Defines reference to subnet." - }, - "SubnetResourceSettings": { - "type": "object", - "properties": { - "addressPrefix": { - "type": "string", - "description": "Gets or sets address prefix for the subnet." - }, - "name": { - "type": "string", - "description": "Gets or sets the Subnet name." - }, - "networkSecurityGroup": { - "oneOf": [ - { - "$ref": "#/definitions/NsgReference" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Defines reference to NSG." - } - }, - "description": "Defines the virtual network subnets resource settings." - }, - "VirtualMachineResourceSettings": { - "type": "object", - "properties": { - "resourceType": { - "type": "string", - "enum": [ - "Microsoft.Compute/virtualMachines" - ] - }, - "targetAvailabilitySetId": { - "type": "string", - "description": "Gets or sets the target availability set id for virtual machines not in an availability set at source." - }, - "targetAvailabilityZone": { - "oneOf": [ - { - "type": "string", - "enum": [ - "1", - "2", - "3", - "NA" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Gets or sets the target availability zone." - }, - "targetVmSize": { - "type": "string", - "description": "Gets or sets the target virtual machine size." - } - }, - "required": [ - "resourceType" - ], - "description": "Gets or sets the virtual machine resource settings." - }, - "VirtualNetworkResourceSettings": { - "type": "object", - "properties": { - "addressSpace": { - "oneOf": [ - { - "type": "array", - "items": { - "type": "string" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Gets or sets the address prefixes for the virtual network." - }, - "dnsServers": { - "oneOf": [ - { - "type": "array", - "items": { - "type": "string" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Gets or sets DHCPOptions that contains an array of DNS servers available to VMs\r\ndeployed in the virtual network." - }, - "enableDdosProtection": { - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Gets or sets a value indicating whether gets or sets whether the\r\nDDOS protection should be switched on." - }, - "resourceType": { - "type": "string", - "enum": [ - "Microsoft.Network/virtualNetworks" - ] - }, - "subnets": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/definitions/SubnetResourceSettings" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Gets or sets List of subnets in a VirtualNetwork." - } - }, - "required": [ - "resourceType" - ], - "description": "Defines the virtual network resource settings." - } - } -} \ No newline at end of file diff --git a/schemas/2021-08-01/Microsoft.Cache.Enterprise.json b/schemas/2021-08-01/Microsoft.Cache.Enterprise.json new file mode 100644 index 0000000000..5bb0c691d6 --- /dev/null +++ b/schemas/2021-08-01/Microsoft.Cache.Enterprise.json @@ -0,0 +1,578 @@ +{ + "id": "https://schema.management.azure.com/schemas/2021-08-01/Microsoft.Cache.Enterprise.json#", + "$schema": "http://json-schema.org/draft-04/schema#", + "title": "Microsoft.Cache", + "description": "Microsoft Cache Resource Types", + "resourceDefinitions": { + "redisEnterprise": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-08-01" + ] + }, + "location": { + "type": "string", + "description": "The geo-location where the resource lives" + }, + "name": { + "type": "string", + "description": "The name of the RedisEnterprise cluster." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/ClusterProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Properties of RedisEnterprise clusters, as opposed to general resource properties like location, tags" + }, + "resources": { + "type": "array", + "items": { + "oneOf": [ + { + "$ref": "#/definitions/redisEnterprise_databases_childResource" + }, + { + "$ref": "#/definitions/redisEnterprise_privateEndpointConnections_childResource" + } + ] + } + }, + "sku": { + "oneOf": [ + { + "$ref": "#/definitions/Sku" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "SKU parameters supplied to the create RedisEnterprise operation." + }, + "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.Cache/redisEnterprise" + ] + }, + "zones": { + "oneOf": [ + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The Availability Zones where this cluster will be deployed." + } + }, + "required": [ + "apiVersion", + "location", + "name", + "properties", + "sku", + "type" + ], + "description": "Microsoft.Cache/redisEnterprise" + }, + "redisEnterprise_databases": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-08-01" + ] + }, + "name": { + "type": "string", + "description": "The name of the database." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/DatabaseProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Properties of RedisEnterprise databases, as opposed to general resource properties like location, tags" + }, + "type": { + "type": "string", + "enum": [ + "Microsoft.Cache/redisEnterprise/databases" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.Cache/redisEnterprise/databases" + }, + "redisEnterprise_privateEndpointConnections": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-08-01" + ] + }, + "name": { + "type": "string", + "description": "The name of the private endpoint connection associated with the Azure resource" + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/PrivateEndpointConnectionProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Properties of the PrivateEndpointConnectProperties." + }, + "type": { + "type": "string", + "enum": [ + "Microsoft.Cache/redisEnterprise/privateEndpointConnections" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.Cache/redisEnterprise/privateEndpointConnections" + } + }, + "definitions": { + "ClusterProperties": { + "type": "object", + "properties": { + "minimumTlsVersion": { + "oneOf": [ + { + "type": "string", + "enum": [ + "1.0", + "1.1", + "1.2" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The minimum TLS version for the cluster to support, e.g. '1.2'." + } + }, + "description": "Properties of RedisEnterprise clusters, as opposed to general resource properties like location, tags" + }, + "DatabaseProperties": { + "type": "object", + "properties": { + "clientProtocol": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Encrypted", + "Plaintext" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Specifies whether redis clients can connect using TLS-encrypted or plaintext redis protocols. Default is TLS-encrypted." + }, + "clusteringPolicy": { + "oneOf": [ + { + "type": "string", + "enum": [ + "EnterpriseCluster", + "OSSCluster" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Clustering policy - default is OSSCluster. Specified at create time." + }, + "evictionPolicy": { + "oneOf": [ + { + "type": "string", + "enum": [ + "AllKeysLFU", + "AllKeysLRU", + "AllKeysRandom", + "VolatileLRU", + "VolatileLFU", + "VolatileTTL", + "VolatileRandom", + "NoEviction" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Redis eviction policy - default is VolatileLRU." + }, + "modules": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/Module" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Optional set of redis modules to enable in this database - modules can only be added at creation time." + }, + "persistence": { + "oneOf": [ + { + "$ref": "#/definitions/Persistence" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Persistence-related configuration for the RedisEnterprise database" + }, + "port": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "TCP port of the database endpoint. Specified at create time. Defaults to an available port." + } + }, + "description": "Properties of RedisEnterprise databases, as opposed to general resource properties like location, tags" + }, + "Module": { + "type": "object", + "properties": { + "args": { + "type": "string", + "description": "Configuration options for the module, e.g. 'ERROR_RATE 0.00 INITIAL_SIZE 400'." + }, + "name": { + "type": "string", + "description": "The name of the module, e.g. 'RedisBloom', 'RediSearch', 'RedisTimeSeries'" + } + }, + "required": [ + "name" + ], + "description": "Specifies configuration of a redis module" + }, + "Persistence": { + "type": "object", + "properties": { + "aofEnabled": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Sets whether AOF is enabled." + }, + "aofFrequency": { + "oneOf": [ + { + "type": "string", + "enum": [ + "1s", + "always" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Sets the frequency at which data is written to disk." + }, + "rdbEnabled": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Sets whether RDB is enabled." + }, + "rdbFrequency": { + "oneOf": [ + { + "type": "string", + "enum": [ + "1h", + "6h", + "12h" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Sets the frequency at which a snapshot of the database is created." + } + }, + "description": "Persistence-related configuration for the RedisEnterprise database" + }, + "PrivateEndpoint": { + "type": "object", + "properties": {}, + "description": "The Private Endpoint resource." + }, + "PrivateEndpointConnectionProperties": { + "type": "object", + "properties": { + "privateEndpoint": { + "oneOf": [ + { + "$ref": "#/definitions/PrivateEndpoint" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The Private Endpoint resource." + }, + "privateLinkServiceConnectionState": { + "oneOf": [ + { + "$ref": "#/definitions/PrivateLinkServiceConnectionState" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "A collection of information about the state of the connection between service consumer and provider." + }, + "provisioningState": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Succeeded", + "Creating", + "Deleting", + "Failed" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The provisioning state of the private endpoint connection resource." + } + }, + "required": [ + "privateLinkServiceConnectionState" + ], + "description": "Properties of the PrivateEndpointConnectProperties." + }, + "PrivateLinkServiceConnectionState": { + "type": "object", + "properties": { + "actionsRequired": { + "type": "string", + "description": "A message indicating if changes on the service provider require any updates on the consumer." + }, + "description": { + "type": "string", + "description": "The reason for approval/rejection of the connection." + }, + "status": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Pending", + "Approved", + "Rejected" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Indicates whether the connection has been Approved/Rejected/Removed by the owner of the service." + } + }, + "description": "A collection of information about the state of the connection between service consumer and provider." + }, + "redisEnterprise_databases_childResource": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-08-01" + ] + }, + "name": { + "type": "string", + "description": "The name of the database." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/DatabaseProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Properties of RedisEnterprise databases, as opposed to general resource properties like location, tags" + }, + "type": { + "type": "string", + "enum": [ + "databases" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.Cache/redisEnterprise/databases" + }, + "redisEnterprise_privateEndpointConnections_childResource": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-08-01" + ] + }, + "name": { + "type": "string", + "description": "The name of the private endpoint connection associated with the Azure resource" + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/PrivateEndpointConnectionProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Properties of the PrivateEndpointConnectProperties." + }, + "type": { + "type": "string", + "enum": [ + "privateEndpointConnections" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.Cache/redisEnterprise/privateEndpointConnections" + }, + "Sku": { + "type": "object", + "properties": { + "capacity": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The size of the RedisEnterprise cluster. Defaults to 2 or 3 depending on SKU. Valid values are (2, 4, 6, ...) for Enterprise SKUs and (3, 9, 15, ...) for Flash SKUs." + }, + "name": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Enterprise_E10", + "Enterprise_E20", + "Enterprise_E50", + "Enterprise_E100", + "EnterpriseFlash_F300", + "EnterpriseFlash_F700", + "EnterpriseFlash_F1500" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The type of RedisEnterprise cluster to deploy. Possible values: (Enterprise_E10, EnterpriseFlash_F300 etc.)." + } + }, + "required": [ + "name" + ], + "description": "SKU parameters supplied to the create RedisEnterprise operation." + } + } +} \ No newline at end of file diff --git a/schemas/common/autogeneratedResources.json b/schemas/common/autogeneratedResources.json index 7661b4ec8f..754a7f42b6 100644 --- a/schemas/common/autogeneratedResources.json +++ b/schemas/common/autogeneratedResources.json @@ -2251,6 +2251,15 @@ { "$ref": "https://schema.management.azure.com/schemas/2021-03-01/Microsoft.Cache.Enterprise.json#/resourceDefinitions/redisEnterprise_privateEndpointConnections" }, + { + "$ref": "https://schema.management.azure.com/schemas/2021-08-01/Microsoft.Cache.Enterprise.json#/resourceDefinitions/redisEnterprise" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2021-08-01/Microsoft.Cache.Enterprise.json#/resourceDefinitions/redisEnterprise_databases" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2021-08-01/Microsoft.Cache.Enterprise.json#/resourceDefinitions/redisEnterprise_privateEndpointConnections" + }, { "$ref": "https://schema.management.azure.com/schemas/2015-08-01/Microsoft.Cache.json#/resourceDefinitions/Redis" }, @@ -6916,12 +6925,6 @@ { "$ref": "https://schema.management.azure.com/schemas/2018-02-02/Microsoft.Migrate.json#/resourceDefinitions/projects_groups_assessments" }, - { - "$ref": "https://schema.management.azure.com/schemas/2018-09-01-preview/Microsoft.Migrate.json#/resourceDefinitions/migrateProjects" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2018-09-01-preview/Microsoft.Migrate.json#/resourceDefinitions/migrateProjects_solutions" - }, { "$ref": "https://schema.management.azure.com/schemas/2019-10-01/Microsoft.Migrate.json#/resourceDefinitions/assessmentProjects" }, @@ -6946,18 +6949,6 @@ { "$ref": "https://schema.management.azure.com/schemas/2019-10-01/Microsoft.Migrate.json#/resourceDefinitions/assessmentProjects_vmwarecollectors" }, - { - "$ref": "https://schema.management.azure.com/schemas/2019-10-01-preview/Microsoft.Migrate.json#/resourceDefinitions/moveCollections" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2019-10-01-preview/Microsoft.Migrate.json#/resourceDefinitions/moveCollections_moveResources" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2021-01-01/Microsoft.Migrate.json#/resourceDefinitions/moveCollections" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2021-01-01/Microsoft.Migrate.json#/resourceDefinitions/moveCollections_moveResources" - }, { "$ref": "https://schema.management.azure.com/schemas/2019-02-28-preview/Microsoft.MixedReality.json#/resourceDefinitions/spatialAnchorsAccounts" }, From 68a3c9ea4195a42057fd665d8354a6e383b78531 Mon Sep 17 00:00:00 2001 From: Autogenerator Pipeline Date: Mon, 2 Aug 2021 10:33:25 +0000 Subject: [PATCH 23/64] Autogenerate schemas --- .../2018-09-01-preview/Microsoft.Migrate.json | 517 ++++ .../2019-10-01-preview/Microsoft.Migrate.json | 1054 +++++++ .../Microsoft.ServiceFabric.json | 11 + .../2020-03-01/Microsoft.ServiceFabric.json | 11 + .../2020-05-01/Microsoft.SignalRService.json | 12 +- .../Microsoft.ServiceFabric.json | 11 + schemas/2021-01-01/Microsoft.Migrate.json | 1054 +++++++ .../2021-06-01/Microsoft.ServiceFabric.json | 2671 +++++++++++++++++ schemas/common/autogeneratedResources.json | 33 + 9 files changed, 5370 insertions(+), 4 deletions(-) create mode 100644 schemas/2018-09-01-preview/Microsoft.Migrate.json create mode 100644 schemas/2019-10-01-preview/Microsoft.Migrate.json create mode 100644 schemas/2021-01-01/Microsoft.Migrate.json create mode 100644 schemas/2021-06-01/Microsoft.ServiceFabric.json diff --git a/schemas/2018-09-01-preview/Microsoft.Migrate.json b/schemas/2018-09-01-preview/Microsoft.Migrate.json new file mode 100644 index 0000000000..074e3e9b7c --- /dev/null +++ b/schemas/2018-09-01-preview/Microsoft.Migrate.json @@ -0,0 +1,517 @@ +{ + "id": "https://schema.management.azure.com/schemas/2018-09-01-preview/Microsoft.Migrate.json#", + "$schema": "http://json-schema.org/draft-04/schema#", + "title": "Microsoft.Migrate", + "description": "Microsoft Migrate Resource Types", + "resourceDefinitions": { + "migrateProjects": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2018-09-01-preview" + ] + }, + "eTag": { + "type": "string", + "description": "Gets or sets the eTag for concurrency control." + }, + "location": { + "type": "string", + "description": "Gets or sets the Azure location in which migrate project is created." + }, + "name": { + "type": "string", + "description": "Name of the Azure Migrate project." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/MigrateProjectProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Class for migrate project properties." + }, + "resources": { + "type": "array", + "items": { + "oneOf": [ + { + "$ref": "#/definitions/migrateProjects_solutions_childResource" + } + ] + } + }, + "tags": { + "oneOf": [ + { + "$ref": "#/definitions/MigrateProjectTags" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Gets or sets the tags." + }, + "type": { + "type": "string", + "enum": [ + "Microsoft.Migrate/migrateProjects" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.Migrate/migrateProjects" + }, + "migrateProjects_solutions": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2018-09-01-preview" + ] + }, + "etag": { + "type": "string", + "description": "Gets or sets the ETAG for optimistic concurrency control." + }, + "name": { + "type": "string", + "description": "Unique name of a migration solution within a migrate project." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/SolutionProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Class for solution properties." + }, + "type": { + "type": "string", + "enum": [ + "Microsoft.Migrate/migrateProjects/solutions" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.Migrate/migrateProjects/solutions" + } + }, + "definitions": { + "DatabasesSolutionSummary": { + "type": "object", + "properties": { + "databaseInstancesAssessedCount": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Gets or sets the count of database instances assessed." + }, + "databasesAssessedCount": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Gets or sets the count of databases assessed." + }, + "instanceType": { + "type": "string", + "enum": [ + "Databases" + ] + }, + "migrationReadyCount": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Gets or sets the count of databases ready for migration." + } + }, + "required": [ + "instanceType" + ], + "description": "Class representing the databases solution summary." + }, + "MigrateProjectProperties": { + "type": "object", + "properties": { + "provisioningState": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Accepted", + "Creating", + "Deleting", + "Failed", + "Moving", + "Succeeded" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Provisioning state of the migrate project." + }, + "registeredTools": { + "oneOf": [ + { + "type": "array", + "items": { + "type": "string", + "enum": [ + "ServerDiscovery", + "ServerAssessment", + "ServerMigration", + "Cloudamize", + "Turbonomic", + "Zerto", + "CorentTech", + "ServerAssessmentV1", + "ServerMigration_Replication", + "Carbonite", + "DataMigrationAssistant", + "DatabaseMigrationService" + ] + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Gets or sets the list of tools registered with the migrate project." + } + }, + "description": "Class for migrate project properties." + }, + "migrateProjects_solutions_childResource": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2018-09-01-preview" + ] + }, + "etag": { + "type": "string", + "description": "Gets or sets the ETAG for optimistic concurrency control." + }, + "name": { + "type": "string", + "description": "Unique name of a migration solution within a migrate project." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/SolutionProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Class for solution properties." + }, + "type": { + "type": "string", + "enum": [ + "solutions" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.Migrate/migrateProjects/solutions" + }, + "MigrateProjectTags": { + "type": "object", + "properties": { + "additionalProperties": { + "type": "string" + } + }, + "description": "Gets or sets the tags." + }, + "ServersSolutionSummary": { + "type": "object", + "properties": { + "assessedCount": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Gets or sets the count of servers assessed." + }, + "discoveredCount": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Gets or sets the count of servers discovered." + }, + "instanceType": { + "type": "string", + "enum": [ + "Servers" + ] + }, + "migratedCount": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Gets or sets the count of servers migrated." + }, + "replicatingCount": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Gets or sets the count of servers being replicated." + }, + "testMigratedCount": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Gets or sets the count of servers test migrated." + } + }, + "required": [ + "instanceType" + ], + "description": "Class representing the servers solution summary." + }, + "SolutionDetails": { + "type": "object", + "properties": { + "assessmentCount": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Gets or sets the count of assessments reported by the solution." + }, + "extendedDetails": { + "oneOf": [ + { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "properties": {} + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Gets or sets the extended details reported by the solution." + }, + "groupCount": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Gets or sets the count of groups reported by the solution." + } + }, + "description": "Class representing the details of the solution." + }, + "SolutionProperties": { + "type": "object", + "properties": { + "cleanupState": { + "oneOf": [ + { + "type": "string", + "enum": [ + "None", + "Started", + "InProgress", + "Completed", + "Failed" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Gets or sets the cleanup state of the solution." + }, + "details": { + "oneOf": [ + { + "$ref": "#/definitions/SolutionDetails" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Class representing the details of the solution." + }, + "goal": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Servers", + "Databases" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Gets or sets the goal of the solution." + }, + "purpose": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Discovery", + "Assessment", + "Migration" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Gets or sets the purpose of the solution." + }, + "status": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Inactive", + "Active" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Gets or sets the current status of the solution." + }, + "summary": { + "oneOf": [ + { + "$ref": "#/definitions/SolutionSummary" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The solution summary class." + }, + "tool": { + "oneOf": [ + { + "type": "string", + "enum": [ + "ServerDiscovery", + "ServerAssessment", + "ServerMigration", + "Cloudamize", + "Turbonomic", + "Zerto", + "CorentTech", + "ServerAssessmentV1", + "ServerMigration_Replication", + "Carbonite", + "DataMigrationAssistant", + "DatabaseMigrationService" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Gets or sets the tool being used in the solution." + } + }, + "description": "Class for solution properties." + }, + "SolutionSummary": { + "type": "object", + "oneOf": [ + { + "$ref": "#/definitions/ServersSolutionSummary" + }, + { + "$ref": "#/definitions/DatabasesSolutionSummary" + } + ], + "properties": {}, + "description": "The solution summary class." + } + } +} \ No newline at end of file diff --git a/schemas/2019-10-01-preview/Microsoft.Migrate.json b/schemas/2019-10-01-preview/Microsoft.Migrate.json new file mode 100644 index 0000000000..69d60e191b --- /dev/null +++ b/schemas/2019-10-01-preview/Microsoft.Migrate.json @@ -0,0 +1,1054 @@ +{ + "id": "https://schema.management.azure.com/schemas/2019-10-01-preview/Microsoft.Migrate.json#", + "$schema": "http://json-schema.org/draft-04/schema#", + "title": "Microsoft.Migrate", + "description": "Microsoft Migrate Resource Types", + "resourceDefinitions": { + "moveCollections": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2019-10-01-preview" + ] + }, + "identity": { + "oneOf": [ + { + "$ref": "#/definitions/Identity" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Defines the MSI properties of the Move Collection." + }, + "location": { + "type": "string", + "description": "The geo-location where the resource lives." + }, + "name": { + "type": "string", + "description": "The Move Collection Name." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/MoveCollectionProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Defines the move collection properties." + }, + "resources": { + "type": "array", + "items": { + "oneOf": [ + { + "$ref": "#/definitions/moveCollections_moveResources_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.Migrate/moveCollections" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.Migrate/moveCollections" + }, + "moveCollections_moveResources": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2019-10-01-preview" + ] + }, + "name": { + "type": "string", + "description": "The Move Resource Name." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/MoveResourceProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Defines the move resource properties." + }, + "type": { + "type": "string", + "enum": [ + "Microsoft.Migrate/moveCollections/moveResources" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.Migrate/moveCollections/moveResources" + } + }, + "definitions": { + "AvailabilitySetResourceSettings": { + "type": "object", + "properties": { + "faultDomain": { + "oneOf": [ + { + "type": "integer", + "minimum": 1 + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Gets or sets the target fault domain." + }, + "resourceType": { + "type": "string", + "enum": [ + "Microsoft.Compute/availabilitySets" + ] + }, + "updateDomain": { + "oneOf": [ + { + "type": "integer", + "minimum": 1, + "maximum": 20 + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Gets or sets the target update domain." + } + }, + "required": [ + "resourceType" + ], + "description": "Gets or sets the availability set resource settings." + }, + "DiskEncryptionSetResourceSettings": { + "type": "object", + "properties": { + "resourceType": { + "type": "string", + "enum": [ + "Microsoft.Compute/diskEncryptionSets" + ] + } + }, + "required": [ + "resourceType" + ], + "description": "Defines the disk encryption set resource settings." + }, + "Identity": { + "type": "object", + "properties": { + "principalId": { + "type": "string", + "description": "Gets or sets the principal id." + }, + "tenantId": { + "type": "string", + "description": "Gets or sets the tenant id." + }, + "type": { + "oneOf": [ + { + "type": "string", + "enum": [ + "None", + "SystemAssigned", + "UserAssigned" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ] + } + }, + "description": "Defines the MSI properties of the Move Collection." + }, + "KeyVaultResourceSettings": { + "type": "object", + "properties": { + "resourceType": { + "type": "string", + "enum": [ + "Microsoft.KeyVault/vaults" + ] + } + }, + "required": [ + "resourceType" + ], + "description": "Defines the key vault resource settings." + }, + "LBBackendAddressPoolResourceSettings": { + "type": "object", + "properties": { + "name": { + "type": "string", + "description": "Gets or sets the backend address pool name." + } + }, + "description": "Defines load balancer backend address pool properties." + }, + "LBFrontendIPConfigurationResourceSettings": { + "type": "object", + "properties": { + "name": { + "type": "string", + "description": "Gets or sets the frontend IP configuration name." + }, + "privateIpAddress": { + "type": "string", + "description": "Gets or sets the IP address of the Load Balancer.This is only specified if a specific\r\nprivate IP address shall be allocated from the subnet specified in subnetRef." + }, + "privateIpAllocationMethod": { + "type": "string", + "description": "Gets or sets PrivateIP allocation method (Static/Dynamic)." + }, + "subnet": { + "oneOf": [ + { + "$ref": "#/definitions/SubnetReference" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Defines reference to subnet." + }, + "zones": { + "type": "string", + "description": "Gets or sets the csv list of zones." + } + }, + "description": "Defines load balancer frontend IP configuration properties." + }, + "LoadBalancerBackendAddressPoolReference": { + "type": "object", + "properties": { + "name": { + "type": "string", + "description": "Gets the name of the proxy resource on the target side." + }, + "sourceArmResourceId": { + "type": "string", + "description": "Gets the ARM resource ID of the tracked resource being referenced." + } + }, + "required": [ + "sourceArmResourceId" + ], + "description": "Defines reference to load balancer backend address pools." + }, + "LoadBalancerNatRuleReference": { + "type": "object", + "properties": { + "name": { + "type": "string", + "description": "Gets the name of the proxy resource on the target side." + }, + "sourceArmResourceId": { + "type": "string", + "description": "Gets the ARM resource ID of the tracked resource being referenced." + } + }, + "required": [ + "sourceArmResourceId" + ], + "description": "Defines reference to load balancer NAT rules." + }, + "LoadBalancerResourceSettings": { + "type": "object", + "properties": { + "backendAddressPools": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/LBBackendAddressPoolResourceSettings" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Gets or sets the backend address pools of the load balancer." + }, + "frontendIPConfigurations": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/LBFrontendIPConfigurationResourceSettings" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Gets or sets the frontend IP configurations of the load balancer." + }, + "resourceType": { + "type": "string", + "enum": [ + "Microsoft.Network/loadBalancers" + ] + }, + "sku": { + "type": "string", + "description": "Gets or sets load balancer sku (Basic/Standard)." + }, + "zones": { + "type": "string", + "description": "Gets or sets the csv list of zones common for all frontend IP configurations. Note this is given\r\n precedence only if frontend IP configurations settings are not present." + } + }, + "required": [ + "resourceType" + ], + "description": "Defines the load balancer resource settings." + }, + "MoveCollectionProperties": { + "type": "object", + "properties": { + "provisioningState": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Succeeded", + "Updating", + "Creating", + "Failed" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ] + }, + "sourceRegion": { + "type": "string", + "description": "Gets or sets the source region." + }, + "targetRegion": { + "type": "string", + "description": "Gets or sets the target region." + } + }, + "required": [ + "sourceRegion", + "targetRegion" + ], + "description": "Defines the move collection properties." + }, + "moveCollections_moveResources_childResource": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2019-10-01-preview" + ] + }, + "name": { + "type": "string", + "description": "The Move Resource Name." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/MoveResourceProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Defines the move resource properties." + }, + "type": { + "type": "string", + "enum": [ + "moveResources" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.Migrate/moveCollections/moveResources" + }, + "MoveResourceDependencyOverride": { + "type": "object", + "properties": { + "id": { + "type": "string", + "description": "Gets or sets the ARM ID of the dependent resource." + }, + "targetId": { + "type": "string", + "description": "Gets or sets the resource ARM id of either the MoveResource or the resource ARM ID of\r\nthe dependent resource." + } + }, + "description": "Defines the dependency override of the move resource." + }, + "MoveResourceProperties": { + "type": "object", + "properties": { + "dependsOnOverrides": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/MoveResourceDependencyOverride" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Gets or sets the move resource dependencies overrides." + }, + "existingTargetId": { + "type": "string", + "description": "Gets or sets the existing target ARM Id of the resource." + }, + "provisioningState": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Succeeded", + "Updating", + "Creating", + "Failed" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ] + }, + "resourceSettings": { + "oneOf": [ + { + "$ref": "#/definitions/ResourceSettings" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Gets or sets the resource settings." + }, + "sourceId": { + "type": "string", + "description": "Gets or sets the Source ARM Id of the resource." + } + }, + "required": [ + "sourceId" + ], + "description": "Defines the move resource properties." + }, + "NetworkInterfaceResourceSettings": { + "type": "object", + "properties": { + "enableAcceleratedNetworking": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Gets or sets a value indicating whether accelerated networking is enabled." + }, + "ipConfigurations": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/NicIpConfigurationResourceSettings" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Gets or sets the IP configurations of the NIC." + }, + "resourceType": { + "type": "string", + "enum": [ + "Microsoft.Network/networkInterfaces" + ] + } + }, + "required": [ + "resourceType" + ], + "description": "Defines the network interface resource settings." + }, + "NetworkSecurityGroupResourceSettings": { + "type": "object", + "properties": { + "resourceType": { + "type": "string", + "enum": [ + "Microsoft.Network/networkSecurityGroups" + ] + }, + "securityRules": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/NsgSecurityRule" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Gets or sets Security rules of network security group." + } + }, + "required": [ + "resourceType" + ], + "description": "Defines the NSG resource settings." + }, + "NicIpConfigurationResourceSettings": { + "type": "object", + "properties": { + "loadBalancerBackendAddressPools": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/LoadBalancerBackendAddressPoolReference" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Gets or sets the references of the load balancer backend address pools." + }, + "loadBalancerNatRules": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/LoadBalancerNatRuleReference" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Gets or sets the references of the load balancer NAT rules." + }, + "name": { + "type": "string", + "description": "Gets or sets the IP configuration name." + }, + "primary": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Gets or sets a value indicating whether this IP configuration is the primary." + }, + "privateIpAddress": { + "type": "string", + "description": "Gets or sets the private IP address of the network interface IP Configuration." + }, + "privateIpAllocationMethod": { + "type": "string", + "description": "Gets or sets the private IP address allocation method." + }, + "publicIp": { + "oneOf": [ + { + "$ref": "#/definitions/PublicIpReference" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Defines reference to a public IP." + }, + "subnet": { + "oneOf": [ + { + "$ref": "#/definitions/SubnetReference" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Defines reference to subnet." + } + }, + "description": "Defines NIC IP configuration properties." + }, + "NsgReference": { + "type": "object", + "properties": { + "sourceArmResourceId": { + "type": "string", + "description": "Gets the ARM resource ID of the tracked resource being referenced." + } + }, + "required": [ + "sourceArmResourceId" + ], + "description": "Defines reference to NSG." + }, + "NsgSecurityRule": { + "type": "object", + "properties": { + "access": { + "type": "string", + "description": "Gets or sets whether network traffic is allowed or denied.\r\nPossible values are “Allow” and “Deny”." + }, + "description": { + "type": "string", + "description": "Gets or sets a description for this rule. Restricted to 140 chars." + }, + "destinationAddressPrefix": { + "type": "string", + "description": "Gets or sets destination address prefix. CIDR or source IP range.\r\n A “*” can also be used to match all source IPs. Default tags such\r\nas ‘VirtualNetwork’, ‘AzureLoadBalancer’ and ‘Internet’ can also be used." + }, + "destinationPortRange": { + "type": "string", + "description": "Gets or sets Destination Port or Range. Integer or range between\r\n0 and 65535. A “*” can also be used to match all ports." + }, + "direction": { + "type": "string", + "description": "Gets or sets the direction of the rule.InBound or Outbound. The\r\ndirection specifies if rule will be evaluated on incoming or outgoing traffic." + }, + "name": { + "type": "string", + "description": "Gets or sets the Security rule name." + }, + "priority": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Gets or sets the priority of the rule. The value can be between\r\n100 and 4096. The priority number must be unique for each rule in the collection.\r\nThe lower the priority number, the higher the priority of the rule." + }, + "protocol": { + "type": "string", + "description": "Gets or sets Network protocol this rule applies to. Can be Tcp, Udp or All(*)." + }, + "sourceAddressPrefix": { + "type": "string", + "description": "Gets or sets source address prefix. CIDR or source IP range. A\r\n“*” can also be used to match all source IPs. Default tags such as ‘VirtualNetwork’,\r\n‘AzureLoadBalancer’ and ‘Internet’ can also be used. If this is an ingress\r\nrule, specifies where network traffic originates from." + }, + "sourcePortRange": { + "type": "string", + "description": "Gets or sets Source Port or Range. Integer or range between 0 and\r\n65535. A “*” can also be used to match all ports." + } + }, + "description": "Security Rule data model for Network Security Groups." + }, + "PublicIPAddressResourceSettings": { + "type": "object", + "properties": { + "domainNameLabel": { + "type": "string", + "description": "Gets or sets the domain name label." + }, + "fqdn": { + "type": "string", + "description": "Gets or sets the fully qualified domain name." + }, + "publicIpAllocationMethod": { + "type": "string", + "description": "Gets or sets public IP allocation method." + }, + "resourceType": { + "type": "string", + "enum": [ + "Microsoft.Network/publicIPAddresses" + ] + }, + "sku": { + "type": "string", + "description": "Gets or sets public IP sku." + }, + "zones": { + "type": "string", + "description": "Gets or sets public IP zones." + } + }, + "required": [ + "resourceType" + ], + "description": "Defines the public IP address resource settings." + }, + "PublicIpReference": { + "type": "object", + "properties": { + "sourceArmResourceId": { + "type": "string", + "description": "Gets the ARM resource ID of the tracked resource being referenced." + } + }, + "required": [ + "sourceArmResourceId" + ], + "description": "Defines reference to a public IP." + }, + "ResourceGroupResourceSettings": { + "type": "object", + "properties": { + "resourceType": { + "type": "string", + "enum": [ + "resourceGroups" + ] + } + }, + "required": [ + "resourceType" + ], + "description": "Defines the resource group resource settings." + }, + "ResourceSettings": { + "type": "object", + "oneOf": [ + { + "$ref": "#/definitions/VirtualMachineResourceSettings" + }, + { + "$ref": "#/definitions/AvailabilitySetResourceSettings" + }, + { + "$ref": "#/definitions/VirtualNetworkResourceSettings" + }, + { + "$ref": "#/definitions/NetworkInterfaceResourceSettings" + }, + { + "$ref": "#/definitions/NetworkSecurityGroupResourceSettings" + }, + { + "$ref": "#/definitions/LoadBalancerResourceSettings" + }, + { + "$ref": "#/definitions/SqlServerResourceSettings" + }, + { + "$ref": "#/definitions/SqlElasticPoolResourceSettings" + }, + { + "$ref": "#/definitions/SqlDatabaseResourceSettings" + }, + { + "$ref": "#/definitions/ResourceGroupResourceSettings" + }, + { + "$ref": "#/definitions/PublicIPAddressResourceSettings" + }, + { + "$ref": "#/definitions/KeyVaultResourceSettings" + }, + { + "$ref": "#/definitions/DiskEncryptionSetResourceSettings" + } + ], + "properties": { + "targetResourceName": { + "type": "string", + "description": "Gets or sets the target Resource name." + } + }, + "required": [ + "targetResourceName" + ], + "description": "Gets or sets the resource settings." + }, + "SqlDatabaseResourceSettings": { + "type": "object", + "properties": { + "resourceType": { + "type": "string", + "enum": [ + "Microsoft.Sql/servers/databases" + ] + }, + "zoneRedundant": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Enable", + "Disable" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ] + } + }, + "required": [ + "resourceType" + ], + "description": "Defines the Sql Database resource settings." + }, + "SqlElasticPoolResourceSettings": { + "type": "object", + "properties": { + "resourceType": { + "type": "string", + "enum": [ + "Microsoft.Sql/servers/elasticPools" + ] + }, + "zoneRedundant": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Enable", + "Disable" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ] + } + }, + "required": [ + "resourceType" + ], + "description": "Defines the Sql ElasticPool resource settings." + }, + "SqlServerResourceSettings": { + "type": "object", + "properties": { + "resourceType": { + "type": "string", + "enum": [ + "Microsoft.Sql/servers" + ] + } + }, + "required": [ + "resourceType" + ], + "description": "Defines the SQL Server resource settings." + }, + "SubnetReference": { + "type": "object", + "properties": { + "name": { + "type": "string", + "description": "Gets the name of the proxy resource on the target side." + }, + "sourceArmResourceId": { + "type": "string", + "description": "Gets the ARM resource ID of the tracked resource being referenced." + } + }, + "required": [ + "sourceArmResourceId" + ], + "description": "Defines reference to subnet." + }, + "SubnetResourceSettings": { + "type": "object", + "properties": { + "addressPrefix": { + "type": "string", + "description": "Gets or sets address prefix for the subnet." + }, + "name": { + "type": "string", + "description": "Gets or sets the Subnet name." + }, + "networkSecurityGroup": { + "oneOf": [ + { + "$ref": "#/definitions/NsgReference" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Defines reference to NSG." + } + }, + "description": "Defines the virtual network subnets resource settings." + }, + "VirtualMachineResourceSettings": { + "type": "object", + "properties": { + "resourceType": { + "type": "string", + "enum": [ + "Microsoft.Compute/virtualMachines" + ] + }, + "targetAvailabilitySetId": { + "type": "string", + "description": "Gets or sets the target availability set id for virtual machines not in an availability set at source." + }, + "targetAvailabilityZone": { + "oneOf": [ + { + "type": "string", + "enum": [ + "1", + "2", + "3", + "NA" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Gets or sets the target availability zone." + }, + "targetVmSize": { + "type": "string", + "description": "Gets or sets the target virtual machine size." + } + }, + "required": [ + "resourceType" + ], + "description": "Gets or sets the virtual machine resource settings." + }, + "VirtualNetworkResourceSettings": { + "type": "object", + "properties": { + "addressSpace": { + "oneOf": [ + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Gets or sets the address prefixes for the virtual network." + }, + "dnsServers": { + "oneOf": [ + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Gets or sets DHCPOptions that contains an array of DNS servers available to VMs\r\ndeployed in the virtual network." + }, + "enableDdosProtection": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Gets or sets a value indicating whether gets or sets whether the\r\nDDOS protection should be switched on." + }, + "resourceType": { + "type": "string", + "enum": [ + "Microsoft.Network/virtualNetworks" + ] + }, + "subnets": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/SubnetResourceSettings" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Gets or sets List of subnets in a VirtualNetwork." + } + }, + "required": [ + "resourceType" + ], + "description": "Defines the virtual network resource settings." + } + } +} \ No newline at end of file diff --git a/schemas/2019-11-01-preview/Microsoft.ServiceFabric.json b/schemas/2019-11-01-preview/Microsoft.ServiceFabric.json index fc24e95f96..589858c9fe 100644 --- a/schemas/2019-11-01-preview/Microsoft.ServiceFabric.json +++ b/schemas/2019-11-01-preview/Microsoft.ServiceFabric.json @@ -616,6 +616,17 @@ ], "description": "If true, then processes are forcefully restarted during upgrade even when the code version has not changed (the upgrade only changes configuration or data)." }, + "recreateApplication": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Determines whether the application should be recreated on update. If value=true, the rest of the upgrade policy parameters are not allowed and it will result in availability loss." + }, "rollingUpgradeMonitoringPolicy": { "oneOf": [ { diff --git a/schemas/2020-03-01/Microsoft.ServiceFabric.json b/schemas/2020-03-01/Microsoft.ServiceFabric.json index c7aa92c77f..b5daf8c6f5 100644 --- a/schemas/2020-03-01/Microsoft.ServiceFabric.json +++ b/schemas/2020-03-01/Microsoft.ServiceFabric.json @@ -616,6 +616,17 @@ ], "description": "If true, then processes are forcefully restarted during upgrade even when the code version has not changed (the upgrade only changes configuration or data)." }, + "recreateApplication": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Determines whether the application should be recreated on update. If value=true, the rest of the upgrade policy parameters are not allowed and it will result in availability loss." + }, "rollingUpgradeMonitoringPolicy": { "oneOf": [ { diff --git a/schemas/2020-05-01/Microsoft.SignalRService.json b/schemas/2020-05-01/Microsoft.SignalRService.json index 4c72996cd2..74492649c3 100644 --- a/schemas/2020-05-01/Microsoft.SignalRService.json +++ b/schemas/2020-05-01/Microsoft.SignalRService.json @@ -151,7 +151,8 @@ "enum": [ "ClientConnection", "ServerConnection", - "RESTAPI" + "RESTAPI", + "Trace" ] } }, @@ -170,7 +171,8 @@ "enum": [ "ClientConnection", "ServerConnection", - "RESTAPI" + "RESTAPI", + "Trace" ] } }, @@ -205,7 +207,8 @@ "enum": [ "ClientConnection", "ServerConnection", - "RESTAPI" + "RESTAPI", + "Trace" ] } }, @@ -224,7 +227,8 @@ "enum": [ "ClientConnection", "ServerConnection", - "RESTAPI" + "RESTAPI", + "Trace" ] } }, diff --git a/schemas/2020-12-01-preview/Microsoft.ServiceFabric.json b/schemas/2020-12-01-preview/Microsoft.ServiceFabric.json index 6f919b23bd..84e775784d 100644 --- a/schemas/2020-12-01-preview/Microsoft.ServiceFabric.json +++ b/schemas/2020-12-01-preview/Microsoft.ServiceFabric.json @@ -671,6 +671,17 @@ ], "description": "If true, then processes are forcefully restarted during upgrade even when the code version has not changed (the upgrade only changes configuration or data)." }, + "recreateApplication": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Determines whether the application should be recreated on update. If value=true, the rest of the upgrade policy parameters are not allowed and it will result in availability loss." + }, "rollingUpgradeMonitoringPolicy": { "oneOf": [ { diff --git a/schemas/2021-01-01/Microsoft.Migrate.json b/schemas/2021-01-01/Microsoft.Migrate.json new file mode 100644 index 0000000000..0e45499ee6 --- /dev/null +++ b/schemas/2021-01-01/Microsoft.Migrate.json @@ -0,0 +1,1054 @@ +{ + "id": "https://schema.management.azure.com/schemas/2021-01-01/Microsoft.Migrate.json#", + "$schema": "http://json-schema.org/draft-04/schema#", + "title": "Microsoft.Migrate", + "description": "Microsoft Migrate Resource Types", + "resourceDefinitions": { + "moveCollections": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-01-01" + ] + }, + "identity": { + "oneOf": [ + { + "$ref": "#/definitions/Identity" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Defines the MSI properties of the Move Collection." + }, + "location": { + "type": "string", + "description": "The geo-location where the resource lives." + }, + "name": { + "type": "string", + "description": "The Move Collection Name." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/MoveCollectionProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Defines the move collection properties." + }, + "resources": { + "type": "array", + "items": { + "oneOf": [ + { + "$ref": "#/definitions/moveCollections_moveResources_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.Migrate/moveCollections" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.Migrate/moveCollections" + }, + "moveCollections_moveResources": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-01-01" + ] + }, + "name": { + "type": "string", + "description": "The Move Resource Name." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/MoveResourceProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Defines the move resource properties." + }, + "type": { + "type": "string", + "enum": [ + "Microsoft.Migrate/moveCollections/moveResources" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.Migrate/moveCollections/moveResources" + } + }, + "definitions": { + "AvailabilitySetResourceSettings": { + "type": "object", + "properties": { + "faultDomain": { + "oneOf": [ + { + "type": "integer", + "minimum": 1 + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Gets or sets the target fault domain." + }, + "resourceType": { + "type": "string", + "enum": [ + "Microsoft.Compute/availabilitySets" + ] + }, + "updateDomain": { + "oneOf": [ + { + "type": "integer", + "minimum": 1, + "maximum": 20 + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Gets or sets the target update domain." + } + }, + "required": [ + "resourceType" + ], + "description": "Gets or sets the availability set resource settings." + }, + "DiskEncryptionSetResourceSettings": { + "type": "object", + "properties": { + "resourceType": { + "type": "string", + "enum": [ + "Microsoft.Compute/diskEncryptionSets" + ] + } + }, + "required": [ + "resourceType" + ], + "description": "Defines the disk encryption set resource settings." + }, + "Identity": { + "type": "object", + "properties": { + "principalId": { + "type": "string", + "description": "Gets or sets the principal id." + }, + "tenantId": { + "type": "string", + "description": "Gets or sets the tenant id." + }, + "type": { + "oneOf": [ + { + "type": "string", + "enum": [ + "None", + "SystemAssigned", + "UserAssigned" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ] + } + }, + "description": "Defines the MSI properties of the Move Collection." + }, + "KeyVaultResourceSettings": { + "type": "object", + "properties": { + "resourceType": { + "type": "string", + "enum": [ + "Microsoft.KeyVault/vaults" + ] + } + }, + "required": [ + "resourceType" + ], + "description": "Defines the key vault resource settings." + }, + "LBBackendAddressPoolResourceSettings": { + "type": "object", + "properties": { + "name": { + "type": "string", + "description": "Gets or sets the backend address pool name." + } + }, + "description": "Defines load balancer backend address pool properties." + }, + "LBFrontendIPConfigurationResourceSettings": { + "type": "object", + "properties": { + "name": { + "type": "string", + "description": "Gets or sets the frontend IP configuration name." + }, + "privateIpAddress": { + "type": "string", + "description": "Gets or sets the IP address of the Load Balancer.This is only specified if a specific\r\nprivate IP address shall be allocated from the subnet specified in subnetRef." + }, + "privateIpAllocationMethod": { + "type": "string", + "description": "Gets or sets PrivateIP allocation method (Static/Dynamic)." + }, + "subnet": { + "oneOf": [ + { + "$ref": "#/definitions/SubnetReference" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Defines reference to subnet." + }, + "zones": { + "type": "string", + "description": "Gets or sets the csv list of zones." + } + }, + "description": "Defines load balancer frontend IP configuration properties." + }, + "LoadBalancerBackendAddressPoolReference": { + "type": "object", + "properties": { + "name": { + "type": "string", + "description": "Gets the name of the proxy resource on the target side." + }, + "sourceArmResourceId": { + "type": "string", + "description": "Gets the ARM resource ID of the tracked resource being referenced." + } + }, + "required": [ + "sourceArmResourceId" + ], + "description": "Defines reference to load balancer backend address pools." + }, + "LoadBalancerNatRuleReference": { + "type": "object", + "properties": { + "name": { + "type": "string", + "description": "Gets the name of the proxy resource on the target side." + }, + "sourceArmResourceId": { + "type": "string", + "description": "Gets the ARM resource ID of the tracked resource being referenced." + } + }, + "required": [ + "sourceArmResourceId" + ], + "description": "Defines reference to load balancer NAT rules." + }, + "LoadBalancerResourceSettings": { + "type": "object", + "properties": { + "backendAddressPools": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/LBBackendAddressPoolResourceSettings" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Gets or sets the backend address pools of the load balancer." + }, + "frontendIPConfigurations": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/LBFrontendIPConfigurationResourceSettings" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Gets or sets the frontend IP configurations of the load balancer." + }, + "resourceType": { + "type": "string", + "enum": [ + "Microsoft.Network/loadBalancers" + ] + }, + "sku": { + "type": "string", + "description": "Gets or sets load balancer sku (Basic/Standard)." + }, + "zones": { + "type": "string", + "description": "Gets or sets the csv list of zones common for all frontend IP configurations. Note this is given\r\n precedence only if frontend IP configurations settings are not present." + } + }, + "required": [ + "resourceType" + ], + "description": "Defines the load balancer resource settings." + }, + "MoveCollectionProperties": { + "type": "object", + "properties": { + "provisioningState": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Succeeded", + "Updating", + "Creating", + "Failed" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ] + }, + "sourceRegion": { + "type": "string", + "description": "Gets or sets the source region." + }, + "targetRegion": { + "type": "string", + "description": "Gets or sets the target region." + } + }, + "required": [ + "sourceRegion", + "targetRegion" + ], + "description": "Defines the move collection properties." + }, + "moveCollections_moveResources_childResource": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-01-01" + ] + }, + "name": { + "type": "string", + "description": "The Move Resource Name." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/MoveResourceProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Defines the move resource properties." + }, + "type": { + "type": "string", + "enum": [ + "moveResources" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.Migrate/moveCollections/moveResources" + }, + "MoveResourceDependencyOverride": { + "type": "object", + "properties": { + "id": { + "type": "string", + "description": "Gets or sets the ARM ID of the dependent resource." + }, + "targetId": { + "type": "string", + "description": "Gets or sets the resource ARM id of either the MoveResource or the resource ARM ID of\r\nthe dependent resource." + } + }, + "description": "Defines the dependency override of the move resource." + }, + "MoveResourceProperties": { + "type": "object", + "properties": { + "dependsOnOverrides": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/MoveResourceDependencyOverride" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Gets or sets the move resource dependencies overrides." + }, + "existingTargetId": { + "type": "string", + "description": "Gets or sets the existing target ARM Id of the resource." + }, + "provisioningState": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Succeeded", + "Updating", + "Creating", + "Failed" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ] + }, + "resourceSettings": { + "oneOf": [ + { + "$ref": "#/definitions/ResourceSettings" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Gets or sets the resource settings." + }, + "sourceId": { + "type": "string", + "description": "Gets or sets the Source ARM Id of the resource." + } + }, + "required": [ + "sourceId" + ], + "description": "Defines the move resource properties." + }, + "NetworkInterfaceResourceSettings": { + "type": "object", + "properties": { + "enableAcceleratedNetworking": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Gets or sets a value indicating whether accelerated networking is enabled." + }, + "ipConfigurations": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/NicIpConfigurationResourceSettings" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Gets or sets the IP configurations of the NIC." + }, + "resourceType": { + "type": "string", + "enum": [ + "Microsoft.Network/networkInterfaces" + ] + } + }, + "required": [ + "resourceType" + ], + "description": "Defines the network interface resource settings." + }, + "NetworkSecurityGroupResourceSettings": { + "type": "object", + "properties": { + "resourceType": { + "type": "string", + "enum": [ + "Microsoft.Network/networkSecurityGroups" + ] + }, + "securityRules": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/NsgSecurityRule" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Gets or sets Security rules of network security group." + } + }, + "required": [ + "resourceType" + ], + "description": "Defines the NSG resource settings." + }, + "NicIpConfigurationResourceSettings": { + "type": "object", + "properties": { + "loadBalancerBackendAddressPools": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/LoadBalancerBackendAddressPoolReference" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Gets or sets the references of the load balancer backend address pools." + }, + "loadBalancerNatRules": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/LoadBalancerNatRuleReference" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Gets or sets the references of the load balancer NAT rules." + }, + "name": { + "type": "string", + "description": "Gets or sets the IP configuration name." + }, + "primary": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Gets or sets a value indicating whether this IP configuration is the primary." + }, + "privateIpAddress": { + "type": "string", + "description": "Gets or sets the private IP address of the network interface IP Configuration." + }, + "privateIpAllocationMethod": { + "type": "string", + "description": "Gets or sets the private IP address allocation method." + }, + "publicIp": { + "oneOf": [ + { + "$ref": "#/definitions/PublicIpReference" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Defines reference to a public IP." + }, + "subnet": { + "oneOf": [ + { + "$ref": "#/definitions/SubnetReference" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Defines reference to subnet." + } + }, + "description": "Defines NIC IP configuration properties." + }, + "NsgReference": { + "type": "object", + "properties": { + "sourceArmResourceId": { + "type": "string", + "description": "Gets the ARM resource ID of the tracked resource being referenced." + } + }, + "required": [ + "sourceArmResourceId" + ], + "description": "Defines reference to NSG." + }, + "NsgSecurityRule": { + "type": "object", + "properties": { + "access": { + "type": "string", + "description": "Gets or sets whether network traffic is allowed or denied.\r\nPossible values are “Allow” and “Deny”." + }, + "description": { + "type": "string", + "description": "Gets or sets a description for this rule. Restricted to 140 chars." + }, + "destinationAddressPrefix": { + "type": "string", + "description": "Gets or sets destination address prefix. CIDR or source IP range.\r\n A “*” can also be used to match all source IPs. Default tags such\r\nas ‘VirtualNetwork’, ‘AzureLoadBalancer’ and ‘Internet’ can also be used." + }, + "destinationPortRange": { + "type": "string", + "description": "Gets or sets Destination Port or Range. Integer or range between\r\n0 and 65535. A “*” can also be used to match all ports." + }, + "direction": { + "type": "string", + "description": "Gets or sets the direction of the rule.InBound or Outbound. The\r\ndirection specifies if rule will be evaluated on incoming or outgoing traffic." + }, + "name": { + "type": "string", + "description": "Gets or sets the Security rule name." + }, + "priority": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Gets or sets the priority of the rule. The value can be between\r\n100 and 4096. The priority number must be unique for each rule in the collection.\r\nThe lower the priority number, the higher the priority of the rule." + }, + "protocol": { + "type": "string", + "description": "Gets or sets Network protocol this rule applies to. Can be Tcp, Udp or All(*)." + }, + "sourceAddressPrefix": { + "type": "string", + "description": "Gets or sets source address prefix. CIDR or source IP range. A\r\n“*” can also be used to match all source IPs. Default tags such as ‘VirtualNetwork’,\r\n‘AzureLoadBalancer’ and ‘Internet’ can also be used. If this is an ingress\r\nrule, specifies where network traffic originates from." + }, + "sourcePortRange": { + "type": "string", + "description": "Gets or sets Source Port or Range. Integer or range between 0 and\r\n65535. A “*” can also be used to match all ports." + } + }, + "description": "Security Rule data model for Network Security Groups." + }, + "PublicIPAddressResourceSettings": { + "type": "object", + "properties": { + "domainNameLabel": { + "type": "string", + "description": "Gets or sets the domain name label." + }, + "fqdn": { + "type": "string", + "description": "Gets or sets the fully qualified domain name." + }, + "publicIpAllocationMethod": { + "type": "string", + "description": "Gets or sets public IP allocation method." + }, + "resourceType": { + "type": "string", + "enum": [ + "Microsoft.Network/publicIPAddresses" + ] + }, + "sku": { + "type": "string", + "description": "Gets or sets public IP sku." + }, + "zones": { + "type": "string", + "description": "Gets or sets public IP zones." + } + }, + "required": [ + "resourceType" + ], + "description": "Defines the public IP address resource settings." + }, + "PublicIpReference": { + "type": "object", + "properties": { + "sourceArmResourceId": { + "type": "string", + "description": "Gets the ARM resource ID of the tracked resource being referenced." + } + }, + "required": [ + "sourceArmResourceId" + ], + "description": "Defines reference to a public IP." + }, + "ResourceGroupResourceSettings": { + "type": "object", + "properties": { + "resourceType": { + "type": "string", + "enum": [ + "resourceGroups" + ] + } + }, + "required": [ + "resourceType" + ], + "description": "Defines the resource group resource settings." + }, + "ResourceSettings": { + "type": "object", + "oneOf": [ + { + "$ref": "#/definitions/VirtualMachineResourceSettings" + }, + { + "$ref": "#/definitions/AvailabilitySetResourceSettings" + }, + { + "$ref": "#/definitions/VirtualNetworkResourceSettings" + }, + { + "$ref": "#/definitions/NetworkInterfaceResourceSettings" + }, + { + "$ref": "#/definitions/NetworkSecurityGroupResourceSettings" + }, + { + "$ref": "#/definitions/LoadBalancerResourceSettings" + }, + { + "$ref": "#/definitions/SqlServerResourceSettings" + }, + { + "$ref": "#/definitions/SqlElasticPoolResourceSettings" + }, + { + "$ref": "#/definitions/SqlDatabaseResourceSettings" + }, + { + "$ref": "#/definitions/ResourceGroupResourceSettings" + }, + { + "$ref": "#/definitions/PublicIPAddressResourceSettings" + }, + { + "$ref": "#/definitions/KeyVaultResourceSettings" + }, + { + "$ref": "#/definitions/DiskEncryptionSetResourceSettings" + } + ], + "properties": { + "targetResourceName": { + "type": "string", + "description": "Gets or sets the target Resource name." + } + }, + "required": [ + "targetResourceName" + ], + "description": "Gets or sets the resource settings." + }, + "SqlDatabaseResourceSettings": { + "type": "object", + "properties": { + "resourceType": { + "type": "string", + "enum": [ + "Microsoft.Sql/servers/databases" + ] + }, + "zoneRedundant": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Enable", + "Disable" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ] + } + }, + "required": [ + "resourceType" + ], + "description": "Defines the Sql Database resource settings." + }, + "SqlElasticPoolResourceSettings": { + "type": "object", + "properties": { + "resourceType": { + "type": "string", + "enum": [ + "Microsoft.Sql/servers/elasticPools" + ] + }, + "zoneRedundant": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Enable", + "Disable" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ] + } + }, + "required": [ + "resourceType" + ], + "description": "Defines the Sql ElasticPool resource settings." + }, + "SqlServerResourceSettings": { + "type": "object", + "properties": { + "resourceType": { + "type": "string", + "enum": [ + "Microsoft.Sql/servers" + ] + } + }, + "required": [ + "resourceType" + ], + "description": "Defines the SQL Server resource settings." + }, + "SubnetReference": { + "type": "object", + "properties": { + "name": { + "type": "string", + "description": "Gets the name of the proxy resource on the target side." + }, + "sourceArmResourceId": { + "type": "string", + "description": "Gets the ARM resource ID of the tracked resource being referenced." + } + }, + "required": [ + "sourceArmResourceId" + ], + "description": "Defines reference to subnet." + }, + "SubnetResourceSettings": { + "type": "object", + "properties": { + "addressPrefix": { + "type": "string", + "description": "Gets or sets address prefix for the subnet." + }, + "name": { + "type": "string", + "description": "Gets or sets the Subnet name." + }, + "networkSecurityGroup": { + "oneOf": [ + { + "$ref": "#/definitions/NsgReference" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Defines reference to NSG." + } + }, + "description": "Defines the virtual network subnets resource settings." + }, + "VirtualMachineResourceSettings": { + "type": "object", + "properties": { + "resourceType": { + "type": "string", + "enum": [ + "Microsoft.Compute/virtualMachines" + ] + }, + "targetAvailabilitySetId": { + "type": "string", + "description": "Gets or sets the target availability set id for virtual machines not in an availability set at source." + }, + "targetAvailabilityZone": { + "oneOf": [ + { + "type": "string", + "enum": [ + "1", + "2", + "3", + "NA" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Gets or sets the target availability zone." + }, + "targetVmSize": { + "type": "string", + "description": "Gets or sets the target virtual machine size." + } + }, + "required": [ + "resourceType" + ], + "description": "Gets or sets the virtual machine resource settings." + }, + "VirtualNetworkResourceSettings": { + "type": "object", + "properties": { + "addressSpace": { + "oneOf": [ + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Gets or sets the address prefixes for the virtual network." + }, + "dnsServers": { + "oneOf": [ + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Gets or sets DHCPOptions that contains an array of DNS servers available to VMs\r\ndeployed in the virtual network." + }, + "enableDdosProtection": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Gets or sets a value indicating whether gets or sets whether the\r\nDDOS protection should be switched on." + }, + "resourceType": { + "type": "string", + "enum": [ + "Microsoft.Network/virtualNetworks" + ] + }, + "subnets": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/SubnetResourceSettings" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Gets or sets List of subnets in a VirtualNetwork." + } + }, + "required": [ + "resourceType" + ], + "description": "Defines the virtual network resource settings." + } + } +} \ No newline at end of file diff --git a/schemas/2021-06-01/Microsoft.ServiceFabric.json b/schemas/2021-06-01/Microsoft.ServiceFabric.json new file mode 100644 index 0000000000..d7f892d16a --- /dev/null +++ b/schemas/2021-06-01/Microsoft.ServiceFabric.json @@ -0,0 +1,2671 @@ +{ + "id": "https://schema.management.azure.com/schemas/2021-06-01/Microsoft.ServiceFabric.json#", + "$schema": "http://json-schema.org/draft-04/schema#", + "title": "Microsoft.ServiceFabric", + "description": "Microsoft ServiceFabric Resource Types", + "resourceDefinitions": { + "clusters": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-06-01" + ] + }, + "location": { + "type": "string", + "description": "Azure resource location." + }, + "name": { + "type": "string", + "description": "The name of the cluster resource." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/ClusterProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Describes the cluster resource properties." + }, + "resources": { + "type": "array", + "items": { + "oneOf": [ + { + "$ref": "#/definitions/clusters_applicationTypes_childResource" + }, + { + "$ref": "#/definitions/clusters_applications_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": "Azure resource tags." + }, + "type": { + "type": "string", + "enum": [ + "Microsoft.ServiceFabric/clusters" + ] + } + }, + "required": [ + "apiVersion", + "location", + "name", + "properties", + "type" + ], + "description": "Microsoft.ServiceFabric/clusters" + }, + "clusters_applications": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-06-01" + ] + }, + "identity": { + "oneOf": [ + { + "$ref": "#/definitions/ManagedIdentity" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Describes the managed identities for an Azure resource." + }, + "location": { + "type": "string", + "description": "It will be deprecated in New API, resource location depends on the parent resource." + }, + "name": { + "type": "string", + "description": "The name of the application resource." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/ApplicationResourceProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The application resource properties." + }, + "resources": { + "type": "array", + "items": { + "oneOf": [ + { + "$ref": "#/definitions/clusters_applications_services_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": "Azure resource tags." + }, + "type": { + "type": "string", + "enum": [ + "Microsoft.ServiceFabric/clusters/applications" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.ServiceFabric/clusters/applications" + }, + "clusters_applications_services": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-06-01" + ] + }, + "location": { + "type": "string", + "description": "It will be deprecated in New API, resource location depends on the parent resource." + }, + "name": { + "type": "string", + "description": "The name of the service resource in the format of {applicationName}~{serviceName}." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/ServiceResourceProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The service 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." + }, + "tags": { + "oneOf": [ + { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "properties": {} + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Azure resource tags." + }, + "type": { + "type": "string", + "enum": [ + "Microsoft.ServiceFabric/clusters/applications/services" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.ServiceFabric/clusters/applications/services" + }, + "clusters_applicationTypes": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-06-01" + ] + }, + "location": { + "type": "string", + "description": "It will be deprecated in New API, resource location depends on the parent resource." + }, + "name": { + "type": "string", + "description": "The name of the application type name resource." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/ApplicationTypeResourceProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The application type name properties" + }, + "resources": { + "type": "array", + "items": { + "oneOf": [ + { + "$ref": "#/definitions/clusters_applicationTypes_versions_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": "Azure resource tags." + }, + "type": { + "type": "string", + "enum": [ + "Microsoft.ServiceFabric/clusters/applicationTypes" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.ServiceFabric/clusters/applicationTypes" + }, + "clusters_applicationTypes_versions": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-06-01" + ] + }, + "location": { + "type": "string", + "description": "It will be deprecated in New API, resource location depends on the parent resource." + }, + "name": { + "type": "string", + "description": "The application type version." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/ApplicationTypeVersionResourceProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The properties of the application type version 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": "Azure resource tags." + }, + "type": { + "type": "string", + "enum": [ + "Microsoft.ServiceFabric/clusters/applicationTypes/versions" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.ServiceFabric/clusters/applicationTypes/versions" + } + }, + "definitions": { + "ApplicationDeltaHealthPolicy": { + "type": "object", + "properties": { + "defaultServiceTypeDeltaHealthPolicy": { + "oneOf": [ + { + "$ref": "#/definitions/ServiceTypeDeltaHealthPolicy" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Represents the delta health policy used to evaluate the health of services belonging to a service type when upgrading the cluster.\n" + }, + "serviceTypeDeltaHealthPolicies": { + "oneOf": [ + { + "type": "object", + "additionalProperties": { + "$ref": "#/definitions/ServiceTypeDeltaHealthPolicy" + }, + "properties": {} + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Defines a map that contains specific delta health policies for different service types.\nEach entry specifies as key the service type name and as value a ServiceTypeDeltaHealthPolicy used to evaluate the service health when upgrading the cluster.\nThe map is empty by default.\n" + } + }, + "description": "Defines a delta health policy used to evaluate the health of an application or one of its child entities when upgrading the cluster.\n" + }, + "ApplicationHealthPolicy": { + "type": "object", + "properties": { + "defaultServiceTypeHealthPolicy": { + "oneOf": [ + { + "$ref": "#/definitions/ServiceTypeHealthPolicy" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Represents the health policy used to evaluate the health of services belonging to a service type.\n" + }, + "serviceTypeHealthPolicies": { + "oneOf": [ + { + "type": "object", + "additionalProperties": { + "$ref": "#/definitions/ServiceTypeHealthPolicy" + }, + "properties": {} + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Defines a ServiceTypeHealthPolicy per service type name.\n\nThe entries in the map replace the default service type health policy for each specified service type.\nFor example, in an application that contains both a stateless gateway service type and a stateful engine service type, the health policies for the stateless and stateful services can be configured differently.\nWith policy per service type, there's more granular control of the health of the service.\n\nIf no policy is specified for a service type name, the DefaultServiceTypeHealthPolicy is used for evaluation.\n" + } + }, + "description": "Defines a health policy used to evaluate the health of an application or one of its children entities.\n" + }, + "ApplicationMetricDescription": { + "type": "object", + "properties": { + "maximumCapacity": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The maximum node capacity for Service Fabric application.\nThis is the maximum Load for an instance of this application on a single node. Even if the capacity of node is greater than this value, Service Fabric will limit the total load of services within the application on each node to this value.\nIf set to zero, capacity for this metric is unlimited on each node.\nWhen creating a new application with application capacity defined, the product of MaximumNodes and this value must always be smaller than or equal to TotalApplicationCapacity.\nWhen updating existing application with application capacity, the product of MaximumNodes and this value must always be smaller than or equal to TotalApplicationCapacity.\n" + }, + "name": { + "type": "string", + "description": "The name of the metric." + }, + "reservationCapacity": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The node reservation capacity for Service Fabric application.\nThis is the amount of load which is reserved on nodes which have instances of this application.\nIf MinimumNodes is specified, then the product of these values will be the capacity reserved in the cluster for the application.\nIf set to zero, no capacity is reserved for this metric.\nWhen setting application capacity or when updating application capacity; this value must be smaller than or equal to MaximumCapacity for each metric.\n" + }, + "totalApplicationCapacity": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The total metric capacity for Service Fabric application.\nThis is the total metric capacity for this application in the cluster. Service Fabric will try to limit the sum of loads of services within the application to this value.\nWhen creating a new application with application capacity defined, the product of MaximumNodes and MaximumCapacity must always be smaller than or equal to this value.\n" + } + }, + "description": "Describes capacity information for a custom resource balancing metric. This can be used to limit the total consumption of this metric by the services of this application.\n" + }, + "ApplicationResourceProperties": { + "type": "object", + "properties": { + "managedIdentities": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/ApplicationUserAssignedIdentity" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "List of user assigned identities for the application, each mapped to a friendly name." + }, + "maximumNodes": { + "oneOf": [ + { + "type": "integer", + "minimum": 0, + "default": "0" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The maximum number of nodes where Service Fabric will reserve capacity for this application. Note that this does not mean that the services of this application will be placed on all of those nodes. By default, the value of this property is zero and it means that the services can be placed on any node." + }, + "metrics": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/ApplicationMetricDescription" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "List of application capacity metric description." + }, + "minimumNodes": { + "oneOf": [ + { + "type": "integer", + "minimum": 0 + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The minimum number of nodes where Service Fabric will reserve capacity for this application. Note that this does not mean that the services of this application will be placed on all of those nodes. If this property is set to zero, no capacity will be reserved. The value of this property cannot be more than the value of the MaximumNodes property." + }, + "parameters": { + "oneOf": [ + { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "properties": {} + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "List of application parameters with overridden values from their default values specified in the application manifest." + }, + "removeApplicationCapacity": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Remove the current application capacity settings." + }, + "typeName": { + "type": "string", + "description": "The application type name as defined in the application manifest." + }, + "typeVersion": { + "type": "string", + "description": "The version of the application type as defined in the application manifest." + }, + "upgradePolicy": { + "oneOf": [ + { + "$ref": "#/definitions/ApplicationUpgradePolicy" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Describes the policy for a monitored application upgrade." + } + }, + "description": "The application resource properties." + }, + "ApplicationTypeResourceProperties": { + "type": "object", + "properties": {}, + "description": "The application type name properties" + }, + "ApplicationTypeVersionResourceProperties": { + "type": "object", + "properties": { + "appPackageUrl": { + "type": "string", + "description": "The URL to the application package" + } + }, + "required": [ + "appPackageUrl" + ], + "description": "The properties of the application type version resource." + }, + "ApplicationTypeVersionsCleanupPolicy": { + "type": "object", + "properties": { + "maxUnusedVersionsToKeep": { + "oneOf": [ + { + "type": "integer", + "minimum": 0 + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Number of unused versions per application type to keep." + } + }, + "required": [ + "maxUnusedVersionsToKeep" + ] + }, + "ApplicationUpgradePolicy": { + "type": "object", + "properties": { + "applicationHealthPolicy": { + "oneOf": [ + { + "$ref": "#/definitions/ArmApplicationHealthPolicy" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Defines a health policy used to evaluate the health of an application or one of its children entities.\n" + }, + "forceRestart": { + "oneOf": [ + { + "type": "boolean", + "default": false + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "If true, then processes are forcefully restarted during upgrade even when the code version has not changed (the upgrade only changes configuration or data)." + }, + "recreateApplication": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Determines whether the application should be recreated on update. If value=true, the rest of the upgrade policy parameters are not allowed and it will result in availability loss." + }, + "rollingUpgradeMonitoringPolicy": { + "oneOf": [ + { + "$ref": "#/definitions/ArmRollingUpgradeMonitoringPolicy" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The policy used for monitoring the application upgrade" + }, + "upgradeMode": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Invalid", + "UnmonitoredAuto", + "UnmonitoredManual", + "Monitored" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ] + }, + "upgradeReplicaSetCheckTimeout": { + "type": "string", + "description": "The maximum amount of time to block processing of an upgrade domain and prevent loss of availability when there are unexpected issues. When this timeout expires, processing of the upgrade domain will proceed regardless of availability loss issues. The timeout is reset at the start of each upgrade domain. Valid values are between 0 and 42949672925 inclusive. (unsigned 32-bit integer)." + } + }, + "description": "Describes the policy for a monitored application upgrade." + }, + "ApplicationUserAssignedIdentity": { + "type": "object", + "properties": { + "name": { + "type": "string", + "description": "The friendly name of user assigned identity." + }, + "principalId": { + "type": "string", + "description": "The principal id of user assigned identity." + } + }, + "required": [ + "name", + "principalId" + ] + }, + "ArmApplicationHealthPolicy": { + "type": "object", + "properties": { + "considerWarningAsError": { + "oneOf": [ + { + "type": "boolean", + "default": false + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Indicates whether warnings are treated with the same severity as errors." + }, + "defaultServiceTypeHealthPolicy": { + "oneOf": [ + { + "$ref": "#/definitions/ArmServiceTypeHealthPolicy" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Represents the health policy used to evaluate the health of services belonging to a service type.\n" + }, + "maxPercentUnhealthyDeployedApplications": { + "oneOf": [ + { + "type": "integer", + "default": "0" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The maximum allowed percentage of unhealthy deployed applications. Allowed values are Byte values from zero to 100.\nThe percentage represents the maximum tolerated percentage of deployed applications that can be unhealthy before the application is considered in error.\nThis is calculated by dividing the number of unhealthy deployed applications over the number of nodes where the application is currently deployed on in the cluster.\nThe computation rounds up to tolerate one failure on small numbers of nodes. Default percentage is zero.\n" + }, + "serviceTypeHealthPolicyMap": { + "oneOf": [ + { + "type": "object", + "additionalProperties": { + "$ref": "#/definitions/ArmServiceTypeHealthPolicy" + }, + "properties": {} + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Defines a ServiceTypeHealthPolicy per service type name.\n\nThe entries in the map replace the default service type health policy for each specified service type.\nFor example, in an application that contains both a stateless gateway service type and a stateful engine service type, the health policies for the stateless and stateful services can be configured differently.\nWith policy per service type, there's more granular control of the health of the service.\n\nIf no policy is specified for a service type name, the DefaultServiceTypeHealthPolicy is used for evaluation.\n" + } + }, + "description": "Defines a health policy used to evaluate the health of an application or one of its children entities.\n" + }, + "ArmRollingUpgradeMonitoringPolicy": { + "type": "object", + "properties": { + "failureAction": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Rollback", + "Manual" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The activation Mode of the service package." + }, + "healthCheckRetryTimeout": { + "type": "string", + "default": "PT0H10M0S", + "description": "The amount of time to retry health evaluation when the application or cluster is unhealthy before FailureAction is executed. It is first interpreted as a string representing an ISO 8601 duration. If that fails, then it is interpreted as a number representing the total number of milliseconds." + }, + "healthCheckStableDuration": { + "type": "string", + "default": "PT0H2M0S", + "description": "The amount of time that the application or cluster must remain healthy before the upgrade proceeds to the next upgrade domain. It is first interpreted as a string representing an ISO 8601 duration. If that fails, then it is interpreted as a number representing the total number of milliseconds." + }, + "healthCheckWaitDuration": { + "type": "string", + "default": "0", + "description": "The amount of time to wait after completing an upgrade domain before applying health policies. It is first interpreted as a string representing an ISO 8601 duration. If that fails, then it is interpreted as a number representing the total number of milliseconds." + }, + "upgradeDomainTimeout": { + "type": "string", + "default": "P10675199DT02H48M05.4775807S", + "description": "The amount of time each upgrade domain has to complete before FailureAction is executed. It is first interpreted as a string representing an ISO 8601 duration. If that fails, then it is interpreted as a number representing the total number of milliseconds." + }, + "upgradeTimeout": { + "type": "string", + "default": "P10675199DT02H48M05.4775807S", + "description": "The amount of time the overall upgrade has to complete before FailureAction is executed. It is first interpreted as a string representing an ISO 8601 duration. If that fails, then it is interpreted as a number representing the total number of milliseconds." + } + }, + "description": "The policy used for monitoring the application upgrade" + }, + "ArmServiceTypeHealthPolicy": { + "type": "object", + "properties": { + "maxPercentUnhealthyPartitionsPerService": { + "oneOf": [ + { + "type": "integer", + "minimum": 0, + "maximum": 100, + "default": "0" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The maximum percentage of partitions per service allowed to be unhealthy before your application is considered in error.\n" + }, + "maxPercentUnhealthyReplicasPerPartition": { + "oneOf": [ + { + "type": "integer", + "minimum": 0, + "maximum": 100, + "default": "0" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The maximum percentage of replicas per partition allowed to be unhealthy before your application is considered in error.\n" + }, + "maxPercentUnhealthyServices": { + "oneOf": [ + { + "type": "integer", + "minimum": 0, + "maximum": 100, + "default": "0" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The maximum percentage of services allowed to be unhealthy before your application is considered in error.\n" + } + }, + "description": "Represents the health policy used to evaluate the health of services belonging to a service type.\n" + }, + "AzureActiveDirectory": { + "type": "object", + "properties": { + "clientApplication": { + "type": "string", + "description": "Azure active directory client application id." + }, + "clusterApplication": { + "type": "string", + "description": "Azure active directory cluster application id." + }, + "tenantId": { + "type": "string", + "description": "Azure active directory tenant id." + } + }, + "description": "The settings to enable AAD authentication on the cluster." + }, + "CertificateDescription": { + "type": "object", + "properties": { + "thumbprint": { + "type": "string", + "description": "Thumbprint of the primary certificate." + }, + "thumbprintSecondary": { + "type": "string", + "description": "Thumbprint of the secondary certificate." + }, + "x509StoreName": { + "oneOf": [ + { + "type": "string", + "enum": [ + "AddressBook", + "AuthRoot", + "CertificateAuthority", + "Disallowed", + "My", + "Root", + "TrustedPeople", + "TrustedPublisher" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ] + } + }, + "required": [ + "thumbprint" + ], + "description": "Describes the certificate details." + }, + "ClientCertificateCommonName": { + "type": "object", + "properties": { + "certificateCommonName": { + "type": "string", + "description": "The common name of the client certificate." + }, + "certificateIssuerThumbprint": { + "type": "string", + "description": "The issuer thumbprint of the client certificate." + }, + "isAdmin": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Indicates if the client certificate has admin access to the cluster. Non admin clients can perform only read only operations on the cluster." + } + }, + "required": [ + "certificateCommonName", + "certificateIssuerThumbprint", + "isAdmin" + ], + "description": "Describes the client certificate details using common name." + }, + "ClientCertificateThumbprint": { + "type": "object", + "properties": { + "certificateThumbprint": { + "type": "string", + "description": "The thumbprint of the client certificate." + }, + "isAdmin": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Indicates if the client certificate has admin access to the cluster. Non admin clients can perform only read only operations on the cluster." + } + }, + "required": [ + "certificateThumbprint", + "isAdmin" + ], + "description": "Describes the client certificate details using thumbprint." + }, + "ClusterHealthPolicy": { + "type": "object", + "properties": { + "applicationHealthPolicies": { + "oneOf": [ + { + "type": "object", + "additionalProperties": { + "$ref": "#/definitions/ApplicationHealthPolicy" + }, + "properties": {} + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Defines a map that contains specific application health policies for different applications.\nEach entry specifies as key the application name and as value an ApplicationHealthPolicy used to evaluate the application health.\nThe application name should include the 'fabric:' URI scheme.\nThe map is empty by default.\n" + }, + "maxPercentUnhealthyApplications": { + "oneOf": [ + { + "type": "integer", + "minimum": 0, + "maximum": 100, + "default": "0" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The maximum allowed percentage of unhealthy applications before reporting an error. For example, to allow 10% of applications to be unhealthy, this value would be 10.\n\nThe percentage represents the maximum tolerated percentage of applications that can be unhealthy before the cluster is considered in error.\nIf the percentage is respected but there is at least one unhealthy application, the health is evaluated as Warning.\nThis is calculated by dividing the number of unhealthy applications over the total number of application instances in the cluster, excluding applications of application types that are included in the ApplicationTypeHealthPolicyMap.\nThe computation rounds up to tolerate one failure on small numbers of applications. Default percentage is zero.\n" + }, + "maxPercentUnhealthyNodes": { + "oneOf": [ + { + "type": "integer", + "minimum": 0, + "maximum": 100, + "default": "0" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The maximum allowed percentage of unhealthy nodes before reporting an error. For example, to allow 10% of nodes to be unhealthy, this value would be 10.\n\nThe percentage represents the maximum tolerated percentage of nodes that can be unhealthy before the cluster is considered in error.\nIf the percentage is respected but there is at least one unhealthy node, the health is evaluated as Warning.\nThe percentage is calculated by dividing the number of unhealthy nodes over the total number of nodes in the cluster.\nThe computation rounds up to tolerate one failure on small numbers of nodes. Default percentage is zero.\n\nIn large clusters, some nodes will always be down or out for repairs, so this percentage should be configured to tolerate that.\n" + } + }, + "description": "Defines a health policy used to evaluate the health of the cluster or of a cluster node.\n" + }, + "ClusterProperties": { + "type": "object", + "properties": { + "addOnFeatures": { + "oneOf": [ + { + "type": "array", + "items": { + "type": "string", + "enum": [ + "RepairManager", + "DnsService", + "BackupRestoreService", + "ResourceMonitorService" + ] + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The list of add-on features to enable in the cluster." + }, + "applicationTypeVersionsCleanupPolicy": { + "oneOf": [ + { + "$ref": "#/definitions/ApplicationTypeVersionsCleanupPolicy" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ] + }, + "azureActiveDirectory": { + "oneOf": [ + { + "$ref": "#/definitions/AzureActiveDirectory" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The settings to enable AAD authentication on the cluster." + }, + "certificate": { + "oneOf": [ + { + "$ref": "#/definitions/CertificateDescription" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Describes the certificate details." + }, + "certificateCommonNames": { + "oneOf": [ + { + "$ref": "#/definitions/ServerCertificateCommonNames" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Describes a list of server certificates referenced by common name that are used to secure the cluster." + }, + "clientCertificateCommonNames": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/ClientCertificateCommonName" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The list of client certificates referenced by common name that are allowed to manage the cluster." + }, + "clientCertificateThumbprints": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/ClientCertificateThumbprint" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The list of client certificates referenced by thumbprint that are allowed to manage the cluster." + }, + "clusterCodeVersion": { + "type": "string", + "description": "The Service Fabric runtime version of the cluster. This property can only by set the user when **upgradeMode** is set to 'Manual'. To get list of available Service Fabric versions for new clusters use [ClusterVersion API](./ClusterVersion.md). To get the list of available version for existing clusters use **availableClusterVersions**." + }, + "diagnosticsStorageAccountConfig": { + "oneOf": [ + { + "$ref": "#/definitions/DiagnosticsStorageAccountConfig" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The storage account information for storing Service Fabric diagnostic logs." + }, + "eventStoreServiceEnabled": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Indicates if the event store service is enabled." + }, + "fabricSettings": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/SettingsSectionDescription" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The list of custom fabric settings to configure the cluster." + }, + "infrastructureServiceManager": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Indicates if infrastructure service manager is enabled." + }, + "managementEndpoint": { + "type": "string", + "description": "The http management endpoint of the cluster." + }, + "nodeTypes": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/NodeTypeDescription" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The list of node types in the cluster." + }, + "notifications": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/Notification" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Indicates a list of notification channels for cluster events." + }, + "reliabilityLevel": { + "oneOf": [ + { + "type": "string", + "enum": [ + "None", + "Bronze", + "Silver", + "Gold", + "Platinum" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ] + }, + "reverseProxyCertificate": { + "oneOf": [ + { + "$ref": "#/definitions/CertificateDescription" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Describes the certificate details." + }, + "reverseProxyCertificateCommonNames": { + "oneOf": [ + { + "$ref": "#/definitions/ServerCertificateCommonNames" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Describes a list of server certificates referenced by common name that are used to secure the cluster." + }, + "sfZonalUpgradeMode": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Parallel", + "Hierarchical" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ] + }, + "upgradeDescription": { + "oneOf": [ + { + "$ref": "#/definitions/ClusterUpgradePolicy" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Describes the policy used when upgrading the cluster." + }, + "upgradeMode": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Automatic", + "Manual" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ] + }, + "upgradePauseEndTimestampUtc": { + "type": "string", + "format": "date-time", + "description": "Indicates the end date and time to pause automatic runtime version upgrades on the cluster for an specific period of time on the cluster (UTC)." + }, + "upgradePauseStartTimestampUtc": { + "type": "string", + "format": "date-time", + "description": "Indicates the start date and time to pause automatic runtime version upgrades on the cluster for an specific period of time on the cluster (UTC)." + }, + "upgradeWave": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Wave0", + "Wave1", + "Wave2" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Indicates when new cluster runtime version upgrades will be applied after they are released. By default is Wave0. Only applies when **upgradeMode** is set to 'Automatic'." + }, + "vmImage": { + "type": "string", + "description": "The VM image VMSS has been configured with. Generic names such as Windows or Linux can be used." + }, + "vmssZonalUpgradeMode": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Parallel", + "Hierarchical" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ] + }, + "waveUpgradePaused": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Boolean to pause automatic runtime version upgrades to the cluster." + } + }, + "required": [ + "managementEndpoint", + "nodeTypes" + ], + "description": "Describes the cluster resource properties." + }, + "clusters_applications_childResource": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-06-01" + ] + }, + "identity": { + "oneOf": [ + { + "$ref": "#/definitions/ManagedIdentity" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Describes the managed identities for an Azure resource." + }, + "location": { + "type": "string", + "description": "It will be deprecated in New API, resource location depends on the parent resource." + }, + "name": { + "type": "string", + "description": "The name of the application resource." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/ApplicationResourceProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The application 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." + }, + "tags": { + "oneOf": [ + { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "properties": {} + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Azure resource tags." + }, + "type": { + "type": "string", + "enum": [ + "applications" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.ServiceFabric/clusters/applications" + }, + "clusters_applications_services_childResource": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-06-01" + ] + }, + "location": { + "type": "string", + "description": "It will be deprecated in New API, resource location depends on the parent resource." + }, + "name": { + "type": "string", + "description": "The name of the service resource in the format of {applicationName}~{serviceName}." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/ServiceResourceProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The service 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." + }, + "tags": { + "oneOf": [ + { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "properties": {} + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Azure resource tags." + }, + "type": { + "type": "string", + "enum": [ + "services" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.ServiceFabric/clusters/applications/services" + }, + "clusters_applicationTypes_childResource": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-06-01" + ] + }, + "location": { + "type": "string", + "description": "It will be deprecated in New API, resource location depends on the parent resource." + }, + "name": { + "type": "string", + "description": "The name of the application type name resource." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/ApplicationTypeResourceProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The application type name 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." + }, + "tags": { + "oneOf": [ + { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "properties": {} + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Azure resource tags." + }, + "type": { + "type": "string", + "enum": [ + "applicationTypes" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.ServiceFabric/clusters/applicationTypes" + }, + "clusters_applicationTypes_versions_childResource": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-06-01" + ] + }, + "location": { + "type": "string", + "description": "It will be deprecated in New API, resource location depends on the parent resource." + }, + "name": { + "type": "string", + "description": "The application type version." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/ApplicationTypeVersionResourceProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The properties of the application type version 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": "Azure resource tags." + }, + "type": { + "type": "string", + "enum": [ + "versions" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.ServiceFabric/clusters/applicationTypes/versions" + }, + "ClusterUpgradeDeltaHealthPolicy": { + "type": "object", + "properties": { + "applicationDeltaHealthPolicies": { + "oneOf": [ + { + "type": "object", + "additionalProperties": { + "$ref": "#/definitions/ApplicationDeltaHealthPolicy" + }, + "properties": {} + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Defines a map that contains specific application delta health policies for different applications.\nEach entry specifies as key the application name and as value an ApplicationDeltaHealthPolicy used to evaluate the application health when upgrading the cluster.\nThe application name should include the 'fabric:' URI scheme.\nThe map is empty by default.\n" + }, + "maxPercentDeltaUnhealthyApplications": { + "oneOf": [ + { + "type": "integer", + "minimum": 0, + "maximum": 100 + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The maximum allowed percentage of applications health degradation allowed during cluster upgrades.\nThe delta is measured between the state of the applications at the beginning of upgrade and the state of the applications at the time of the health evaluation.\nThe check is performed after every upgrade domain upgrade completion to make sure the global state of the cluster is within tolerated limits. System services are not included in this.\n" + }, + "maxPercentDeltaUnhealthyNodes": { + "oneOf": [ + { + "type": "integer", + "minimum": 0, + "maximum": 100 + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The maximum allowed percentage of nodes health degradation allowed during cluster upgrades.\nThe delta is measured between the state of the nodes at the beginning of upgrade and the state of the nodes at the time of the health evaluation.\nThe check is performed after every upgrade domain upgrade completion to make sure the global state of the cluster is within tolerated limits.\n" + }, + "maxPercentUpgradeDomainDeltaUnhealthyNodes": { + "oneOf": [ + { + "type": "integer", + "minimum": 0, + "maximum": 100 + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The maximum allowed percentage of upgrade domain nodes health degradation allowed during cluster upgrades.\nThe delta is measured between the state of the upgrade domain nodes at the beginning of upgrade and the state of the upgrade domain nodes at the time of the health evaluation.\nThe check is performed after every upgrade domain upgrade completion for all completed upgrade domains to make sure the state of the upgrade domains is within tolerated limits.\n" + } + }, + "required": [ + "maxPercentDeltaUnhealthyApplications", + "maxPercentDeltaUnhealthyNodes", + "maxPercentUpgradeDomainDeltaUnhealthyNodes" + ], + "description": "Describes the delta health policies for the cluster upgrade." + }, + "ClusterUpgradePolicy": { + "type": "object", + "properties": { + "deltaHealthPolicy": { + "oneOf": [ + { + "$ref": "#/definitions/ClusterUpgradeDeltaHealthPolicy" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Describes the delta health policies for the cluster upgrade." + }, + "forceRestart": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "If true, then processes are forcefully restarted during upgrade even when the code version has not changed (the upgrade only changes configuration or data)." + }, + "healthCheckRetryTimeout": { + "type": "string", + "description": "The amount of time to retry health evaluation when the application or cluster is unhealthy before the upgrade rolls back. The timeout can be in either hh:mm:ss or in d.hh:mm:ss.ms format." + }, + "healthCheckStableDuration": { + "type": "string", + "description": "The amount of time that the application or cluster must remain healthy before the upgrade proceeds to the next upgrade domain. The duration can be in either hh:mm:ss or in d.hh:mm:ss.ms format." + }, + "healthCheckWaitDuration": { + "type": "string", + "description": "The length of time to wait after completing an upgrade domain before performing health checks. The duration can be in either hh:mm:ss or in d.hh:mm:ss.ms format." + }, + "healthPolicy": { + "oneOf": [ + { + "$ref": "#/definitions/ClusterHealthPolicy" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Defines a health policy used to evaluate the health of the cluster or of a cluster node.\n" + }, + "upgradeDomainTimeout": { + "type": "string", + "description": "The amount of time each upgrade domain has to complete before the upgrade rolls back. The timeout can be in either hh:mm:ss or in d.hh:mm:ss.ms format." + }, + "upgradeReplicaSetCheckTimeout": { + "type": "string", + "description": "The maximum amount of time to block processing of an upgrade domain and prevent loss of availability when there are unexpected issues. When this timeout expires, processing of the upgrade domain will proceed regardless of availability loss issues. The timeout is reset at the start of each upgrade domain. The timeout can be in either hh:mm:ss or in d.hh:mm:ss.ms format." + }, + "upgradeTimeout": { + "type": "string", + "description": "The amount of time the overall upgrade has to complete before the upgrade rolls back. The timeout can be in either hh:mm:ss or in d.hh:mm:ss.ms format." + } + }, + "required": [ + "healthCheckRetryTimeout", + "healthCheckStableDuration", + "healthCheckWaitDuration", + "healthPolicy", + "upgradeDomainTimeout", + "upgradeReplicaSetCheckTimeout", + "upgradeTimeout" + ], + "description": "Describes the policy used when upgrading the cluster." + }, + "DiagnosticsStorageAccountConfig": { + "type": "object", + "properties": { + "blobEndpoint": { + "type": "string", + "description": "The blob endpoint of the azure storage account." + }, + "protectedAccountKeyName": { + "type": "string", + "description": "The protected diagnostics storage key name." + }, + "protectedAccountKeyName2": { + "type": "string", + "description": "The protected diagnostics storage key name." + }, + "queueEndpoint": { + "type": "string", + "description": "The queue endpoint of the azure storage account." + }, + "storageAccountName": { + "type": "string", + "description": "The Azure storage account name." + }, + "tableEndpoint": { + "type": "string", + "description": "The table endpoint of the azure storage account." + } + }, + "required": [ + "blobEndpoint", + "protectedAccountKeyName", + "queueEndpoint", + "storageAccountName", + "tableEndpoint" + ], + "description": "The storage account information for storing Service Fabric diagnostic logs." + }, + "EndpointRangeDescription": { + "type": "object", + "properties": { + "endPort": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "End port of a range of ports" + }, + "startPort": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Starting port of a range of ports" + } + }, + "required": [ + "endPort", + "startPort" + ], + "description": "Port range details" + }, + "ManagedIdentity": { + "type": "object", + "properties": { + "type": { + "oneOf": [ + { + "type": "string", + "enum": [ + "SystemAssigned", + "UserAssigned", + "SystemAssigned, UserAssigned", + "None" + ] + }, + { + "$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 list of user identities associated with the resource. The user identity dictionary key references will be ARM resource ids in the form:\n'/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}'.\n" + } + }, + "description": "Describes the managed identities for an Azure resource." + }, + "NodeTypeDescription": { + "type": "object", + "properties": { + "applicationPorts": { + "oneOf": [ + { + "$ref": "#/definitions/EndpointRangeDescription" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Port range details" + }, + "capacities": { + "oneOf": [ + { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "properties": {} + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The capacity tags applied to the nodes in the node type, the cluster resource manager uses these tags to understand how much resource a node has." + }, + "clientConnectionEndpointPort": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The TCP cluster management endpoint port." + }, + "durabilityLevel": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Bronze", + "Silver", + "Gold" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ] + }, + "ephemeralPorts": { + "oneOf": [ + { + "$ref": "#/definitions/EndpointRangeDescription" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Port range details" + }, + "httpGatewayEndpointPort": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The HTTP cluster management endpoint port." + }, + "isPrimary": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The node type on which system services will run. Only one node type should be marked as primary. Primary node type cannot be deleted or changed for existing clusters." + }, + "isStateless": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Indicates if the node type can only host Stateless workloads." + }, + "multipleAvailabilityZones": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Indicates if the node type is enabled to support multiple zones." + }, + "name": { + "type": "string", + "description": "The name of the node type." + }, + "placementProperties": { + "oneOf": [ + { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "properties": {} + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The placement tags applied to nodes in the node type, which can be used to indicate where certain services (workload) should run." + }, + "reverseProxyEndpointPort": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The endpoint used by reverse proxy." + }, + "vmInstanceCount": { + "oneOf": [ + { + "type": "integer", + "minimum": 0, + "maximum": 2147483647 + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "VMInstanceCount should be 1 to n, where n indicates the number of VM instances corresponding to this nodeType. VMInstanceCount = 0 can be done only in these scenarios: NodeType is a secondary nodeType. Durability = Bronze or Durability >= Bronze and InfrastructureServiceManager = true. If VMInstanceCount = 0, implies the VMs for this nodeType will not be used for the initial cluster size computation." + } + }, + "required": [ + "clientConnectionEndpointPort", + "httpGatewayEndpointPort", + "isPrimary", + "name", + "vmInstanceCount" + ], + "description": "Describes a node type in the cluster, each node type represents sub set of nodes in the cluster." + }, + "Notification": { + "type": "object", + "properties": { + "isEnabled": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Indicates if the notification is enabled." + }, + "notificationCategory": { + "oneOf": [ + { + "type": "string", + "enum": [ + "WaveProgress" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The category of notification." + }, + "notificationLevel": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Critical", + "All" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The level of notification." + }, + "notificationTargets": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/NotificationTarget" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "List of targets that subscribe to the notification." + } + }, + "required": [ + "isEnabled", + "notificationCategory", + "notificationLevel", + "notificationTargets" + ], + "description": "Describes the notification channel for cluster events." + }, + "NotificationTarget": { + "type": "object", + "properties": { + "notificationChannel": { + "oneOf": [ + { + "type": "string", + "enum": [ + "EmailUser", + "EmailSubscription" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The notification channel indicates the type of receivers subscribed to the notification, either user or subscription." + }, + "receivers": { + "oneOf": [ + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "List of targets that subscribe to the notification." + } + }, + "required": [ + "notificationChannel", + "receivers" + ], + "description": "Describes the notification target properties." + }, + "PartitionSchemeDescription": { + "type": "object", + "oneOf": [ + { + "$ref": "#/definitions/SingletonPartitionSchemeDescription" + } + ], + "properties": {}, + "description": "Describes how the service is partitioned." + }, + "ServerCertificateCommonName": { + "type": "object", + "properties": { + "certificateCommonName": { + "type": "string", + "description": "The common name of the server certificate." + }, + "certificateIssuerThumbprint": { + "type": "string", + "description": "The issuer thumbprint of the server certificate." + } + }, + "required": [ + "certificateCommonName", + "certificateIssuerThumbprint" + ], + "description": "Describes the server certificate details using common name." + }, + "ServerCertificateCommonNames": { + "type": "object", + "properties": { + "commonNames": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/ServerCertificateCommonName" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The list of server certificates referenced by common name that are used to secure the cluster." + }, + "x509StoreName": { + "oneOf": [ + { + "type": "string", + "enum": [ + "AddressBook", + "AuthRoot", + "CertificateAuthority", + "Disallowed", + "My", + "Root", + "TrustedPeople", + "TrustedPublisher" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ] + } + }, + "description": "Describes a list of server certificates referenced by common name that are used to secure the cluster." + }, + "ServiceCorrelationDescription": { + "type": "object", + "properties": { + "scheme": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Invalid", + "Affinity", + "AlignedAffinity", + "NonAlignedAffinity" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The ServiceCorrelationScheme which describes the relationship between this service and the service specified via ServiceName." + }, + "serviceName": { + "type": "string", + "description": "The full name of the service with 'fabric:' URI scheme." + } + }, + "required": [ + "scheme", + "serviceName" + ], + "description": "Creates a particular correlation between services." + }, + "ServiceLoadMetricDescription": { + "type": "object", + "properties": { + "defaultLoad": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Used only for Stateless services. The default amount of load, as a number, that this service creates for this metric." + }, + "name": { + "type": "string", + "description": "The name of the metric. If the service chooses to report load during runtime, the load metric name should match the name that is specified in Name exactly. Note that metric names are case sensitive." + }, + "primaryDefaultLoad": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Used only for Stateful services. The default amount of load, as a number, that this service creates for this metric when it is a Primary replica." + }, + "secondaryDefaultLoad": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Used only for Stateful services. The default amount of load, as a number, that this service creates for this metric when it is a Secondary replica." + }, + "weight": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Zero", + "Low", + "Medium", + "High" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The service load metric relative weight, compared to other metrics configured for this service, as a number." + } + }, + "required": [ + "name" + ], + "description": "Specifies a metric to load balance a service during runtime." + }, + "ServicePlacementPolicyDescription": { + "type": "object", + "properties": {}, + "description": "Describes the policy to be used for placement of a Service Fabric service." + }, + "ServiceResourceProperties": { + "type": "object", + "oneOf": [ + { + "$ref": "#/definitions/StatefulServiceProperties" + }, + { + "$ref": "#/definitions/StatelessServiceProperties" + } + ], + "properties": { + "correlationScheme": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/ServiceCorrelationDescription" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "A list that describes the correlation of the service with other services." + }, + "defaultMoveCost": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Zero", + "Low", + "Medium", + "High" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ] + }, + "partitionDescription": { + "oneOf": [ + { + "$ref": "#/definitions/PartitionSchemeDescription" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Describes how the service is partitioned." + }, + "placementConstraints": { + "type": "string", + "description": "The placement constraints as a string. Placement constraints are boolean expressions on node properties and allow for restricting a service to particular nodes based on the service requirements. For example, to place a service on nodes where NodeType is blue specify the following: \"NodeColor == blue)\"." + }, + "serviceDnsName": { + "type": "string", + "description": "Dns name used for the service. If this is specified, then the service can be accessed via its DNS name instead of service name." + }, + "serviceLoadMetrics": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/ServiceLoadMetricDescription" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The service load metrics is given as an array of ServiceLoadMetricDescription objects." + }, + "servicePackageActivationMode": { + "oneOf": [ + { + "type": "string", + "enum": [ + "SharedProcess", + "ExclusiveProcess" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The activation Mode of the service package." + }, + "servicePlacementPolicies": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/ServicePlacementPolicyDescription" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "A list that describes the correlation of the service with other services." + }, + "serviceTypeName": { + "type": "string", + "description": "The name of the service type" + } + }, + "description": "The service resource properties." + }, + "ServiceTypeDeltaHealthPolicy": { + "type": "object", + "properties": { + "maxPercentDeltaUnhealthyServices": { + "oneOf": [ + { + "type": "integer", + "minimum": 0, + "maximum": 100, + "default": "0" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The maximum allowed percentage of services health degradation allowed during cluster upgrades.\nThe delta is measured between the state of the services at the beginning of upgrade and the state of the services at the time of the health evaluation.\nThe check is performed after every upgrade domain upgrade completion to make sure the global state of the cluster is within tolerated limits.\n" + } + }, + "description": "Represents the delta health policy used to evaluate the health of services belonging to a service type when upgrading the cluster.\n" + }, + "ServiceTypeHealthPolicy": { + "type": "object", + "properties": { + "maxPercentUnhealthyServices": { + "oneOf": [ + { + "type": "integer", + "minimum": 0, + "maximum": 100, + "default": "0" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The maximum percentage of services allowed to be unhealthy before your application is considered in error.\n" + } + }, + "description": "Represents the health policy used to evaluate the health of services belonging to a service type.\n" + }, + "SettingsParameterDescription": { + "type": "object", + "properties": { + "name": { + "type": "string", + "description": "The parameter name of fabric setting." + }, + "value": { + "type": "string", + "description": "The parameter value of fabric setting." + } + }, + "required": [ + "name", + "value" + ], + "description": "Describes a parameter in fabric settings of the cluster." + }, + "SettingsSectionDescription": { + "type": "object", + "properties": { + "name": { + "type": "string", + "description": "The section name of the fabric settings." + }, + "parameters": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/SettingsParameterDescription" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The collection of parameters in the section." + } + }, + "required": [ + "name", + "parameters" + ], + "description": "Describes a section in the fabric settings of the cluster." + }, + "SingletonPartitionSchemeDescription": { + "type": "object", + "properties": { + "partitionScheme": { + "type": "string", + "enum": [ + "Singleton" + ] + } + }, + "required": [ + "partitionScheme" + ], + "description": "SingletonPartitionSchemeDescription" + }, + "StatefulServiceProperties": { + "type": "object", + "properties": { + "hasPersistedState": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "A flag indicating whether this is a persistent service which stores states on the local disk. If it is then the value of this property is true, if not it is false." + }, + "minReplicaSetSize": { + "oneOf": [ + { + "type": "integer", + "minimum": 1 + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The minimum replica set size as a number." + }, + "quorumLossWaitDuration": { + "type": "string", + "format": "date-time", + "description": "The maximum duration for which a partition is allowed to be in a state of quorum loss, represented in ISO 8601 format (hh:mm:ss.s)." + }, + "replicaRestartWaitDuration": { + "type": "string", + "format": "date-time", + "description": "The duration between when a replica goes down and when a new replica is created, represented in ISO 8601 format (hh:mm:ss.s)." + }, + "serviceKind": { + "type": "string", + "enum": [ + "Stateful" + ] + }, + "standByReplicaKeepDuration": { + "type": "string", + "format": "date-time", + "description": "The definition on how long StandBy replicas should be maintained before being removed, represented in ISO 8601 format (hh:mm:ss.s)." + }, + "targetReplicaSetSize": { + "oneOf": [ + { + "type": "integer", + "minimum": 1 + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The target replica set size as a number." + } + }, + "required": [ + "serviceKind" + ], + "description": "The properties of a stateful service resource." + }, + "StatelessServiceProperties": { + "type": "object", + "properties": { + "instanceCloseDelayDuration": { + "type": "string", + "description": "Delay duration for RequestDrain feature to ensures that the endpoint advertised by the stateless instance is removed before the delay starts prior to closing the instance. This delay enables existing requests to drain gracefully before the instance actually goes down (https://docs.microsoft.com/en-us/azure/service-fabric/service-fabric-application-upgrade-advanced#avoid-connection-drops-during-stateless-service-planned-downtime-preview). It is first interpreted as a string representing an ISO 8601 duration. If that fails, then it is interpreted as a number representing the total number of milliseconds." + }, + "instanceCount": { + "oneOf": [ + { + "type": "integer", + "minimum": -1 + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The instance count." + }, + "serviceKind": { + "type": "string", + "enum": [ + "Stateless" + ] + } + }, + "required": [ + "serviceKind" + ], + "description": "The properties of a stateless service resource." + }, + "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": { + "type": "string", + "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": { + "type": "string", + "description": "The type of identity that last modified the resource." + } + }, + "description": "Metadata pertaining to creation and last modification of the resource." + }, + "UserAssignedIdentity": { + "type": "object", + "properties": {} + } + } +} \ No newline at end of file diff --git a/schemas/common/autogeneratedResources.json b/schemas/common/autogeneratedResources.json index 754a7f42b6..ee9f96166b 100644 --- a/schemas/common/autogeneratedResources.json +++ b/schemas/common/autogeneratedResources.json @@ -6925,6 +6925,12 @@ { "$ref": "https://schema.management.azure.com/schemas/2018-02-02/Microsoft.Migrate.json#/resourceDefinitions/projects_groups_assessments" }, + { + "$ref": "https://schema.management.azure.com/schemas/2018-09-01-preview/Microsoft.Migrate.json#/resourceDefinitions/migrateProjects" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2018-09-01-preview/Microsoft.Migrate.json#/resourceDefinitions/migrateProjects_solutions" + }, { "$ref": "https://schema.management.azure.com/schemas/2019-10-01/Microsoft.Migrate.json#/resourceDefinitions/assessmentProjects" }, @@ -6949,6 +6955,18 @@ { "$ref": "https://schema.management.azure.com/schemas/2019-10-01/Microsoft.Migrate.json#/resourceDefinitions/assessmentProjects_vmwarecollectors" }, + { + "$ref": "https://schema.management.azure.com/schemas/2019-10-01-preview/Microsoft.Migrate.json#/resourceDefinitions/moveCollections" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2019-10-01-preview/Microsoft.Migrate.json#/resourceDefinitions/moveCollections_moveResources" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2021-01-01/Microsoft.Migrate.json#/resourceDefinitions/moveCollections" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2021-01-01/Microsoft.Migrate.json#/resourceDefinitions/moveCollections_moveResources" + }, { "$ref": "https://schema.management.azure.com/schemas/2019-02-28-preview/Microsoft.MixedReality.json#/resourceDefinitions/spatialAnchorsAccounts" }, @@ -8761,6 +8779,21 @@ { "$ref": "https://schema.management.azure.com/schemas/2020-12-01-preview/Microsoft.ServiceFabric.json#/resourceDefinitions/clusters_applicationTypes_versions" }, + { + "$ref": "https://schema.management.azure.com/schemas/2021-06-01/Microsoft.ServiceFabric.json#/resourceDefinitions/clusters" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2021-06-01/Microsoft.ServiceFabric.json#/resourceDefinitions/clusters_applications" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2021-06-01/Microsoft.ServiceFabric.json#/resourceDefinitions/clusters_applications_services" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2021-06-01/Microsoft.ServiceFabric.json#/resourceDefinitions/clusters_applicationTypes" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2021-06-01/Microsoft.ServiceFabric.json#/resourceDefinitions/clusters_applicationTypes_versions" + }, { "$ref": "https://schema.management.azure.com/schemas/2018-07-01-preview/Microsoft.ServiceFabricMesh.json#/resourceDefinitions/applications" }, From 26822dd1b67b1dfaa47dee628d57756442185f8c Mon Sep 17 00:00:00 2001 From: Autogenerator Pipeline Date: Tue, 3 Aug 2021 08:44:32 +0000 Subject: [PATCH 24/64] Autogenerate schemas --- schemas/2018-06-01/Microsoft.DataFactory.json | 5 + .../Microsoft.ContainerService.json | 3120 +++++++++++++++++ schemas/common/autogeneratedResources.json | 12 + 3 files changed, 3137 insertions(+) create mode 100644 schemas/2021-07-01/Microsoft.ContainerService.json diff --git a/schemas/2018-06-01/Microsoft.DataFactory.json b/schemas/2018-06-01/Microsoft.DataFactory.json index b14831dd79..a3a52e8408 100644 --- a/schemas/2018-06-01/Microsoft.DataFactory.json +++ b/schemas/2018-06-01/Microsoft.DataFactory.json @@ -7504,6 +7504,11 @@ "type": "object", "properties": {}, "description": "The name of the CosmosDB (MongoDB API) database that you want to access. Type: string (or Expression with resultType string)." + }, + "isServerVersionAbove32": { + "type": "object", + "properties": {}, + "description": "Whether the CosmosDB (MongoDB API) server version is higher than 3.2. The default value is false. Type: boolean (or Expression with resultType boolean)." } }, "required": [ diff --git a/schemas/2021-07-01/Microsoft.ContainerService.json b/schemas/2021-07-01/Microsoft.ContainerService.json new file mode 100644 index 0000000000..2c76e269a9 --- /dev/null +++ b/schemas/2021-07-01/Microsoft.ContainerService.json @@ -0,0 +1,3120 @@ +{ + "id": "https://schema.management.azure.com/schemas/2021-07-01/Microsoft.ContainerService.json#", + "$schema": "http://json-schema.org/draft-04/schema#", + "title": "Microsoft.ContainerService", + "description": "Microsoft ContainerService Resource Types", + "resourceDefinitions": { + "managedClusters": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-07-01" + ] + }, + "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/ManagedClusterIdentity" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Identity for the managed cluster." + }, + "location": { + "type": "string", + "description": "Resource location" + }, + "name": { + "oneOf": [ + { + "type": "string", + "pattern": "^[a-zA-Z0-9]$|^[a-zA-Z0-9][-_a-zA-Z0-9]{0,61}[a-zA-Z0-9]$", + "minLength": 1, + "maxLength": 63 + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The name of the managed cluster resource." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/ManagedClusterProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Properties of the managed cluster." + }, + "resources": { + "type": "array", + "items": { + "oneOf": [ + { + "$ref": "#/definitions/managedClusters_maintenanceConfigurations_childResource" + }, + { + "$ref": "#/definitions/managedClusters_agentPools_childResource" + }, + { + "$ref": "#/definitions/managedClusters_privateEndpointConnections_childResource" + } + ] + } + }, + "sku": { + "oneOf": [ + { + "$ref": "#/definitions/ManagedClusterSKU" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The SKU of a Managed Cluster." + }, + "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.ContainerService/managedClusters" + ] + } + }, + "required": [ + "apiVersion", + "location", + "name", + "properties", + "type" + ], + "description": "Microsoft.ContainerService/managedClusters" + }, + "managedClusters_agentPools": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-07-01" + ] + }, + "name": { + "type": "string", + "description": "The name of the agent pool." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/ManagedClusterAgentPoolProfileProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Properties for the container service agent pool profile." + }, + "type": { + "type": "string", + "enum": [ + "Microsoft.ContainerService/managedClusters/agentPools" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.ContainerService/managedClusters/agentPools" + }, + "managedClusters_maintenanceConfigurations": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-07-01" + ] + }, + "name": { + "type": "string", + "description": "The name of the maintenance configuration." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/MaintenanceConfigurationProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Properties used to configure planned maintenance for a Managed Cluster." + }, + "type": { + "type": "string", + "enum": [ + "Microsoft.ContainerService/managedClusters/maintenanceConfigurations" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.ContainerService/managedClusters/maintenanceConfigurations" + }, + "managedClusters_privateEndpointConnections": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-07-01" + ] + }, + "name": { + "type": "string", + "description": "The name of the private endpoint connection." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/PrivateEndpointConnectionProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Properties of a private endpoint connection." + }, + "type": { + "type": "string", + "enum": [ + "Microsoft.ContainerService/managedClusters/privateEndpointConnections" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.ContainerService/managedClusters/privateEndpointConnections" + } + }, + "definitions": { + "AgentPoolUpgradeSettings": { + "type": "object", + "properties": { + "maxSurge": { + "type": "string", + "description": "This can either be set to an integer (e.g. '5') or a percentage (e.g. '50%'). If a percentage is specified, it is the percentage of the total agent pool size at the time of the upgrade. For percentages, fractional nodes are rounded up. If not specified, the default is 1. For more information, including best practices, see: https://docs.microsoft.com/azure/aks/upgrade-cluster#customize-node-surge-upgrade" + } + }, + "description": "Settings for upgrading an agentpool" + }, + "ContainerServiceLinuxProfile": { + "type": "object", + "properties": { + "adminUsername": { + "oneOf": [ + { + "type": "string", + "pattern": "^[A-Za-z][-A-Za-z0-9_]*$" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The administrator username to use for Linux VMs." + }, + "ssh": { + "oneOf": [ + { + "$ref": "#/definitions/ContainerServiceSshConfiguration" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "SSH configuration for Linux-based VMs running on Azure." + } + }, + "required": [ + "adminUsername", + "ssh" + ], + "description": "Profile for Linux VMs in the container service cluster." + }, + "ContainerServiceNetworkProfile": { + "type": "object", + "properties": { + "dnsServiceIP": { + "oneOf": [ + { + "type": "string", + "pattern": "^(?:(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\.){3}(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)$", + "default": "10.0.0.10" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "An IP address assigned to the Kubernetes DNS service. It must be within the Kubernetes service address range specified in serviceCidr." + }, + "dockerBridgeCidr": { + "oneOf": [ + { + "type": "string", + "pattern": "^([0-9]{1,3}\\.){3}[0-9]{1,3}(\\/([0-9]|[1-2][0-9]|3[0-2]))?$", + "default": "172.17.0.1/16" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "A CIDR notation IP range assigned to the Docker bridge network. It must not overlap with any Subnet IP ranges or the Kubernetes service address range." + }, + "loadBalancerProfile": { + "oneOf": [ + { + "$ref": "#/definitions/ManagedClusterLoadBalancerProfile" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Profile of the managed cluster load balancer." + }, + "loadBalancerSku": { + "oneOf": [ + { + "type": "string", + "enum": [ + "standard", + "basic" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The default is 'standard'. See [Azure Load Balancer SKUs](https://docs.microsoft.com/azure/load-balancer/skus) for more information about the differences between load balancer SKUs." + }, + "natGatewayProfile": { + "oneOf": [ + { + "$ref": "#/definitions/ManagedClusterNATGatewayProfile" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Profile of the managed cluster NAT gateway." + }, + "networkMode": { + "oneOf": [ + { + "type": "string", + "enum": [ + "transparent", + "bridge" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "This cannot be specified if networkPlugin is anything other than 'azure'." + }, + "networkPlugin": { + "oneOf": [ + { + "type": "string", + "enum": [ + "azure", + "kubenet" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Network plugin used for building the Kubernetes network." + }, + "networkPolicy": { + "oneOf": [ + { + "type": "string", + "enum": [ + "calico", + "azure" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Network policy used for building the Kubernetes network." + }, + "outboundType": { + "oneOf": [ + { + "type": "string", + "enum": [ + "loadBalancer", + "userDefinedRouting", + "managedNATGateway", + "userAssignedNATGateway" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "This can only be set at cluster creation time and cannot be changed later. For more information see [egress outbound type](https://docs.microsoft.com/azure/aks/egress-outboundtype)." + }, + "podCidr": { + "oneOf": [ + { + "type": "string", + "pattern": "^([0-9]{1,3}\\.){3}[0-9]{1,3}(\\/([0-9]|[1-2][0-9]|3[0-2]))?$", + "default": "10.244.0.0/16" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "A CIDR notation IP range from which to assign pod IPs when kubenet is used." + }, + "serviceCidr": { + "oneOf": [ + { + "type": "string", + "pattern": "^([0-9]{1,3}\\.){3}[0-9]{1,3}(\\/([0-9]|[1-2][0-9]|3[0-2]))?$", + "default": "10.0.0.0/16" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "A CIDR notation IP range from which to assign service cluster IPs. It must not overlap with any Subnet IP ranges." + } + }, + "description": "Profile of network configuration." + }, + "ContainerServiceSshConfiguration": { + "type": "object", + "properties": { + "publicKeys": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/ContainerServiceSshPublicKey" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The list of SSH public keys used to authenticate with Linux-based VMs. A maximum of 1 key may be specified." + } + }, + "required": [ + "publicKeys" + ], + "description": "SSH configuration for Linux-based VMs running on Azure." + }, + "ContainerServiceSshPublicKey": { + "type": "object", + "properties": { + "keyData": { + "type": "string", + "description": "Certificate public key used to authenticate with VMs through SSH. The certificate must be in PEM format with or without headers." + } + }, + "required": [ + "keyData" + ], + "description": "Contains information about SSH certificate public key data." + }, + "ExtendedLocation": { + "type": "object", + "properties": { + "name": { + "type": "string", + "description": "The name of the extended location." + }, + "type": { + "oneOf": [ + { + "type": "string", + "enum": [ + "EdgeZone" + ] + }, + { + "$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." + }, + "KubeletConfig": { + "type": "object", + "properties": { + "allowedUnsafeSysctls": { + "oneOf": [ + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Allowed list of unsafe sysctls or unsafe sysctl patterns (ending in `*`)." + }, + "containerLogMaxFiles": { + "oneOf": [ + { + "type": "integer", + "minimum": 2 + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The maximum number of container log files that can be present for a container. The number must be ≥ 2." + }, + "containerLogMaxSizeMB": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The maximum size (e.g. 10Mi) of container log file before it is rotated." + }, + "cpuCfsQuota": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The default is true." + }, + "cpuCfsQuotaPeriod": { + "type": "string", + "description": "The default is '100ms.' Valid values are a sequence of decimal numbers with an optional fraction and a unit suffix. For example: '300ms', '2h45m'. Supported units are 'ns', 'us', 'ms', 's', 'm', and 'h'." + }, + "cpuManagerPolicy": { + "type": "string", + "description": "The default is 'none'. See [Kubernetes CPU management policies](https://kubernetes.io/docs/tasks/administer-cluster/cpu-management-policies/#cpu-management-policies) for more information. Allowed values are 'none' and 'static'." + }, + "failSwapOn": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "If set to true it will make the Kubelet fail to start if swap is enabled on the node." + }, + "imageGcHighThreshold": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "To disable image garbage collection, set to 100. The default is 85%" + }, + "imageGcLowThreshold": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "This cannot be set higher than imageGcHighThreshold. The default is 80%" + }, + "podMaxPids": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The maximum number of processes per pod." + }, + "topologyManagerPolicy": { + "type": "string", + "description": "For more information see [Kubernetes Topology Manager](https://kubernetes.io/docs/tasks/administer-cluster/topology-manager). The default is 'none'. Allowed values are 'none', 'best-effort', 'restricted', and 'single-numa-node'." + } + }, + "description": "See [AKS custom node configuration](https://docs.microsoft.com/azure/aks/custom-node-configuration) for more details." + }, + "LinuxOSConfig": { + "type": "object", + "properties": { + "swapFileSizeMB": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The size in MB of a swap file that will be created on each node." + }, + "sysctls": { + "oneOf": [ + { + "$ref": "#/definitions/SysctlConfig" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Sysctl settings for Linux agent nodes." + }, + "transparentHugePageDefrag": { + "type": "string", + "description": "Valid values are 'always', 'defer', 'defer+madvise', 'madvise' and 'never'. The default is 'madvise'. For more information see [Transparent Hugepages](https://www.kernel.org/doc/html/latest/admin-guide/mm/transhuge.html#admin-guide-transhuge)." + }, + "transparentHugePageEnabled": { + "type": "string", + "description": "Valid values are 'always', 'madvise', and 'never'. The default is 'always'. For more information see [Transparent Hugepages](https://www.kernel.org/doc/html/latest/admin-guide/mm/transhuge.html#admin-guide-transhuge)." + } + }, + "description": "See [AKS custom node configuration](https://docs.microsoft.com/azure/aks/custom-node-configuration) for more details." + }, + "MaintenanceConfigurationProperties": { + "type": "object", + "properties": { + "notAllowedTime": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/TimeSpan" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Time slots on which upgrade is not allowed." + }, + "timeInWeek": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/TimeInWeek" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "If two array entries specify the same day of the week, the applied configuration is the union of times in both entries." + } + }, + "description": "Properties used to configure planned maintenance for a Managed Cluster." + }, + "ManagedClusterAADProfile": { + "type": "object", + "properties": { + "adminGroupObjectIDs": { + "oneOf": [ + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The list of AAD group object IDs that will have admin role of the cluster." + }, + "clientAppID": { + "type": "string", + "description": "The client AAD application ID." + }, + "enableAzureRBAC": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Whether to enable Azure RBAC for Kubernetes authorization." + }, + "managed": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Whether to enable managed AAD." + }, + "serverAppID": { + "type": "string", + "description": "The server AAD application ID." + }, + "serverAppSecret": { + "type": "string", + "description": "The server AAD application secret." + }, + "tenantID": { + "type": "string", + "description": "The AAD tenant ID to use for authentication. If not specified, will use the tenant of the deployment subscription." + } + }, + "description": "For more details see [managed AAD on AKS](https://docs.microsoft.com/azure/aks/managed-aad)." + }, + "ManagedClusterAddonProfile": { + "type": "object", + "properties": { + "config": { + "oneOf": [ + { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "properties": {} + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Key-value pairs for configuring an add-on." + }, + "enabled": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Whether the add-on is enabled or not." + } + }, + "required": [ + "enabled" + ], + "description": "A Kubernetes add-on profile for a managed cluster." + }, + "ManagedClusterAgentPoolProfile": { + "type": "object", + "properties": { + "availabilityZones": { + "oneOf": [ + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The list of Availability zones to use for nodes. This can only be specified if the AgentPoolType property is 'VirtualMachineScaleSets'." + }, + "count": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Number of agents (VMs) to host docker containers. Allowed values must be in the range of 0 to 1000 (inclusive) for user pools and in the range of 1 to 1000 (inclusive) for system pools. The default value is 1." + }, + "enableAutoScaling": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Whether to enable auto-scaler" + }, + "enableEncryptionAtHost": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "This is only supported on certain VM sizes and in certain Azure regions. For more information, see: https://docs.microsoft.com/azure/aks/enable-host-encryption" + }, + "enableFIPS": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "See [Add a FIPS-enabled node pool](https://docs.microsoft.com/azure/aks/use-multiple-node-pools#add-a-fips-enabled-node-pool-preview) for more details." + }, + "enableNodePublicIP": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Some scenarios may require nodes in a node pool to receive their own dedicated public IP addresses. A common scenario is for gaming workloads, where a console needs to make a direct connection to a cloud virtual machine to minimize hops. For more information see [assigning a public IP per node](https://docs.microsoft.com/azure/aks/use-multiple-node-pools#assign-a-public-ip-per-node-for-your-node-pools). The default is false." + }, + "enableUltraSSD": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Whether to enable UltraSSD" + }, + "gpuInstanceProfile": { + "oneOf": [ + { + "type": "string", + "enum": [ + "MIG1g", + "MIG2g", + "MIG3g", + "MIG4g", + "MIG7g" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "GPUInstanceProfile to be used to specify GPU MIG instance profile for supported GPU VM SKU." + }, + "kubeletConfig": { + "oneOf": [ + { + "$ref": "#/definitions/KubeletConfig" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "See [AKS custom node configuration](https://docs.microsoft.com/azure/aks/custom-node-configuration) for more details." + }, + "kubeletDiskType": { + "oneOf": [ + { + "type": "string", + "enum": [ + "OS", + "Temporary" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ] + }, + "linuxOSConfig": { + "oneOf": [ + { + "$ref": "#/definitions/LinuxOSConfig" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "See [AKS custom node configuration](https://docs.microsoft.com/azure/aks/custom-node-configuration) for more details." + }, + "maxCount": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The maximum number of nodes for auto-scaling" + }, + "maxPods": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The maximum number of pods that can run on a node." + }, + "minCount": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The minimum number of nodes for auto-scaling" + }, + "mode": { + "oneOf": [ + { + "type": "string", + "enum": [ + "System", + "User" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ] + }, + "name": { + "oneOf": [ + { + "type": "string", + "pattern": "^[a-z][a-z0-9]{0,11}$" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Windows agent pool names must be 6 characters or less." + }, + "nodeLabels": { + "oneOf": [ + { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "properties": {} + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The node labels to be persisted across all nodes in agent pool." + }, + "nodePublicIPPrefixID": { + "type": "string", + "description": "This is of the form: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/publicIPPrefixes/{publicIPPrefixName}" + }, + "nodeTaints": { + "oneOf": [ + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The taints added to new nodes during node pool create and scale. For example, key=value:NoSchedule." + }, + "orchestratorVersion": { + "type": "string", + "description": "As a best practice, you should upgrade all node pools in an AKS cluster to the same Kubernetes version. The node pool version must have the same major version as the control plane. The node pool minor version must be within two minor versions of the control plane version. The node pool version cannot be greater than the control plane version. For more information see [upgrading a node pool](https://docs.microsoft.com/azure/aks/use-multiple-node-pools#upgrade-a-node-pool)." + }, + "osDiskSizeGB": { + "oneOf": [ + { + "type": "integer", + "minimum": 0, + "maximum": 2048 + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "OS Disk Size in GB to be used to specify the disk size for every machine in the master/agent pool. If you specify 0, it will apply the default osDisk size according to the vmSize specified." + }, + "osDiskType": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Managed", + "Ephemeral" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ] + }, + "osSKU": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Ubuntu", + "CBLMariner" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ] + }, + "osType": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Linux", + "Windows" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ] + }, + "podSubnetID": { + "type": "string", + "description": "If omitted, pod IPs are statically assigned on the node subnet (see vnetSubnetID for more details). This is of the form: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworks/{virtualNetworkName}/subnets/{subnetName}" + }, + "proximityPlacementGroupID": { + "type": "string", + "description": "The ID for Proximity Placement Group." + }, + "scaleDownMode": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Delete", + "Deallocate" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "This also effects the cluster autoscaler behavior. If not specified, it defaults to Delete." + }, + "scaleSetEvictionPolicy": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Delete", + "Deallocate" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "This cannot be specified unless the scaleSetPriority is 'Spot'. If not specified, the default is 'Delete'." + }, + "scaleSetPriority": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Spot", + "Regular" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The Virtual Machine Scale Set priority. If not specified, the default is 'Regular'." + }, + "spotMaxPrice": { + "oneOf": [ + { + "type": "number", + "default": -1 + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Possible values are any decimal value greater than zero or -1 which indicates the willingness to pay any on-demand price. For more details on spot pricing, see [spot VMs pricing](https://docs.microsoft.com/azure/virtual-machines/spot-vms#pricing)" + }, + "tags": { + "oneOf": [ + { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "properties": {} + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The tags to be persisted on the agent pool virtual machine scale set." + }, + "type": { + "oneOf": [ + { + "type": "string", + "enum": [ + "VirtualMachineScaleSets", + "AvailabilitySet" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ] + }, + "upgradeSettings": { + "oneOf": [ + { + "$ref": "#/definitions/AgentPoolUpgradeSettings" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Settings for upgrading an agentpool" + }, + "vmSize": { + "type": "string", + "description": "VM size availability varies by region. If a node contains insufficient compute resources (memory, cpu, etc) pods might fail to run correctly. For more details on restricted VM sizes, see: https://docs.microsoft.com/azure/aks/quotas-skus-regions" + }, + "vnetSubnetID": { + "type": "string", + "description": "If this is not specified, a VNET and subnet will be generated and used. If no podSubnetID is specified, this applies to nodes and pods, otherwise it applies to just nodes. This is of the form: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworks/{virtualNetworkName}/subnets/{subnetName}" + } + }, + "required": [ + "name" + ], + "description": "Profile for the container service agent pool." + }, + "ManagedClusterAgentPoolProfileProperties": { + "type": "object", + "properties": { + "availabilityZones": { + "oneOf": [ + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The list of Availability zones to use for nodes. This can only be specified if the AgentPoolType property is 'VirtualMachineScaleSets'." + }, + "count": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Number of agents (VMs) to host docker containers. Allowed values must be in the range of 0 to 1000 (inclusive) for user pools and in the range of 1 to 1000 (inclusive) for system pools. The default value is 1." + }, + "enableAutoScaling": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Whether to enable auto-scaler" + }, + "enableEncryptionAtHost": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "This is only supported on certain VM sizes and in certain Azure regions. For more information, see: https://docs.microsoft.com/azure/aks/enable-host-encryption" + }, + "enableFIPS": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "See [Add a FIPS-enabled node pool](https://docs.microsoft.com/azure/aks/use-multiple-node-pools#add-a-fips-enabled-node-pool-preview) for more details." + }, + "enableNodePublicIP": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Some scenarios may require nodes in a node pool to receive their own dedicated public IP addresses. A common scenario is for gaming workloads, where a console needs to make a direct connection to a cloud virtual machine to minimize hops. For more information see [assigning a public IP per node](https://docs.microsoft.com/azure/aks/use-multiple-node-pools#assign-a-public-ip-per-node-for-your-node-pools). The default is false." + }, + "enableUltraSSD": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Whether to enable UltraSSD" + }, + "gpuInstanceProfile": { + "oneOf": [ + { + "type": "string", + "enum": [ + "MIG1g", + "MIG2g", + "MIG3g", + "MIG4g", + "MIG7g" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "GPUInstanceProfile to be used to specify GPU MIG instance profile for supported GPU VM SKU." + }, + "kubeletConfig": { + "oneOf": [ + { + "$ref": "#/definitions/KubeletConfig" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "See [AKS custom node configuration](https://docs.microsoft.com/azure/aks/custom-node-configuration) for more details." + }, + "kubeletDiskType": { + "oneOf": [ + { + "type": "string", + "enum": [ + "OS", + "Temporary" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ] + }, + "linuxOSConfig": { + "oneOf": [ + { + "$ref": "#/definitions/LinuxOSConfig" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "See [AKS custom node configuration](https://docs.microsoft.com/azure/aks/custom-node-configuration) for more details." + }, + "maxCount": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The maximum number of nodes for auto-scaling" + }, + "maxPods": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The maximum number of pods that can run on a node." + }, + "minCount": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The minimum number of nodes for auto-scaling" + }, + "mode": { + "oneOf": [ + { + "type": "string", + "enum": [ + "System", + "User" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ] + }, + "nodeLabels": { + "oneOf": [ + { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "properties": {} + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The node labels to be persisted across all nodes in agent pool." + }, + "nodePublicIPPrefixID": { + "type": "string", + "description": "This is of the form: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/publicIPPrefixes/{publicIPPrefixName}" + }, + "nodeTaints": { + "oneOf": [ + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The taints added to new nodes during node pool create and scale. For example, key=value:NoSchedule." + }, + "orchestratorVersion": { + "type": "string", + "description": "As a best practice, you should upgrade all node pools in an AKS cluster to the same Kubernetes version. The node pool version must have the same major version as the control plane. The node pool minor version must be within two minor versions of the control plane version. The node pool version cannot be greater than the control plane version. For more information see [upgrading a node pool](https://docs.microsoft.com/azure/aks/use-multiple-node-pools#upgrade-a-node-pool)." + }, + "osDiskSizeGB": { + "oneOf": [ + { + "type": "integer", + "minimum": 0, + "maximum": 2048 + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "OS Disk Size in GB to be used to specify the disk size for every machine in the master/agent pool. If you specify 0, it will apply the default osDisk size according to the vmSize specified." + }, + "osDiskType": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Managed", + "Ephemeral" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ] + }, + "osSKU": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Ubuntu", + "CBLMariner" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ] + }, + "osType": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Linux", + "Windows" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ] + }, + "podSubnetID": { + "type": "string", + "description": "If omitted, pod IPs are statically assigned on the node subnet (see vnetSubnetID for more details). This is of the form: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworks/{virtualNetworkName}/subnets/{subnetName}" + }, + "proximityPlacementGroupID": { + "type": "string", + "description": "The ID for Proximity Placement Group." + }, + "scaleDownMode": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Delete", + "Deallocate" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "This also effects the cluster autoscaler behavior. If not specified, it defaults to Delete." + }, + "scaleSetEvictionPolicy": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Delete", + "Deallocate" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "This cannot be specified unless the scaleSetPriority is 'Spot'. If not specified, the default is 'Delete'." + }, + "scaleSetPriority": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Spot", + "Regular" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The Virtual Machine Scale Set priority. If not specified, the default is 'Regular'." + }, + "spotMaxPrice": { + "oneOf": [ + { + "type": "number", + "default": -1 + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Possible values are any decimal value greater than zero or -1 which indicates the willingness to pay any on-demand price. For more details on spot pricing, see [spot VMs pricing](https://docs.microsoft.com/azure/virtual-machines/spot-vms#pricing)" + }, + "tags": { + "oneOf": [ + { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "properties": {} + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The tags to be persisted on the agent pool virtual machine scale set." + }, + "type": { + "oneOf": [ + { + "type": "string", + "enum": [ + "VirtualMachineScaleSets", + "AvailabilitySet" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ] + }, + "upgradeSettings": { + "oneOf": [ + { + "$ref": "#/definitions/AgentPoolUpgradeSettings" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Settings for upgrading an agentpool" + }, + "vmSize": { + "type": "string", + "description": "VM size availability varies by region. If a node contains insufficient compute resources (memory, cpu, etc) pods might fail to run correctly. For more details on restricted VM sizes, see: https://docs.microsoft.com/azure/aks/quotas-skus-regions" + }, + "vnetSubnetID": { + "type": "string", + "description": "If this is not specified, a VNET and subnet will be generated and used. If no podSubnetID is specified, this applies to nodes and pods, otherwise it applies to just nodes. This is of the form: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworks/{virtualNetworkName}/subnets/{subnetName}" + } + }, + "description": "Properties for the container service agent pool profile." + }, + "ManagedClusterAPIServerAccessProfile": { + "type": "object", + "properties": { + "authorizedIPRanges": { + "oneOf": [ + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "IP ranges are specified in CIDR format, e.g. 137.117.106.88/29. This feature is not compatible with clusters that use Public IP Per Node, or clusters that are using a Basic Load Balancer. For more information see [API server authorized IP ranges](https://docs.microsoft.com/azure/aks/api-server-authorized-ip-ranges)." + }, + "enablePrivateCluster": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "For more details, see [Creating a private AKS cluster](https://docs.microsoft.com/azure/aks/private-clusters)." + }, + "enablePrivateClusterPublicFQDN": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Whether to create additional public FQDN for private cluster or not." + }, + "privateDNSZone": { + "type": "string", + "description": "The default is System. For more details see [configure private DNS zone](https://docs.microsoft.com/azure/aks/private-clusters#configure-private-dns-zone). Allowed values are 'system' and 'none'." + } + }, + "description": "Access profile for managed cluster API server." + }, + "ManagedClusterAutoUpgradeProfile": { + "type": "object", + "properties": { + "upgradeChannel": { + "oneOf": [ + { + "type": "string", + "enum": [ + "rapid", + "stable", + "patch", + "node-image", + "none" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "For more information see [setting the AKS cluster auto-upgrade channel](https://docs.microsoft.com/azure/aks/upgrade-cluster#set-auto-upgrade-channel)." + } + }, + "description": "Auto upgrade profile for a managed cluster." + }, + "ManagedClusterHTTPProxyConfig": { + "type": "object", + "properties": { + "httpProxy": { + "type": "string", + "description": "The HTTP proxy server endpoint to use." + }, + "httpsProxy": { + "type": "string", + "description": "The HTTPS proxy server endpoint to use." + }, + "noProxy": { + "oneOf": [ + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The endpoints that should not go through proxy." + }, + "trustedCa": { + "type": "string", + "description": "Alternative CA cert to use for connecting to proxy servers." + } + }, + "description": "Cluster HTTP proxy configuration." + }, + "ManagedClusterIdentity": { + "type": "object", + "properties": { + "type": { + "oneOf": [ + { + "type": "string", + "enum": [ + "SystemAssigned", + "UserAssigned", + "None" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "For more information see [use managed identities in AKS](https://docs.microsoft.com/azure/aks/use-managed-identity)." + }, + "userAssignedIdentities": { + "oneOf": [ + { + "type": "object", + "additionalProperties": { + "$ref": "#/definitions/ManagedServiceIdentityUserAssignedIdentitiesValue" + }, + "properties": {} + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The keys must be ARM resource IDs in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}'." + } + }, + "description": "Identity for the managed cluster." + }, + "ManagedClusterLoadBalancerProfile": { + "type": "object", + "properties": { + "allocatedOutboundPorts": { + "oneOf": [ + { + "type": "integer", + "minimum": 0, + "maximum": 64000, + "default": "0" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The desired number of allocated SNAT ports per VM. Allowed values are in the range of 0 to 64000 (inclusive). The default value is 0 which results in Azure dynamically allocating ports." + }, + "effectiveOutboundIPs": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/ResourceReference" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The effective outbound IP resources of the cluster load balancer." + }, + "idleTimeoutInMinutes": { + "oneOf": [ + { + "type": "integer", + "minimum": 4, + "maximum": 120, + "default": "30" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Desired outbound flow idle timeout in minutes. Allowed values are in the range of 4 to 120 (inclusive). The default value is 30 minutes." + }, + "managedOutboundIPs": { + "oneOf": [ + { + "$ref": "#/definitions/ManagedClusterLoadBalancerProfileManagedOutboundIPs" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Desired managed outbound IPs for the cluster load balancer." + }, + "outboundIPPrefixes": { + "oneOf": [ + { + "$ref": "#/definitions/ManagedClusterLoadBalancerProfileOutboundIPPrefixes" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Desired outbound IP Prefix resources for the cluster load balancer." + }, + "outboundIPs": { + "oneOf": [ + { + "$ref": "#/definitions/ManagedClusterLoadBalancerProfileOutboundIPs" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Desired outbound IP resources for the cluster load balancer." + } + }, + "description": "Profile of the managed cluster load balancer." + }, + "ManagedClusterLoadBalancerProfileManagedOutboundIPs": { + "type": "object", + "properties": { + "count": { + "oneOf": [ + { + "type": "integer", + "minimum": 1, + "maximum": 100, + "default": "1" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The desired number of outbound IPs created/managed by Azure for the cluster load balancer. Allowed values must be in the range of 1 to 100 (inclusive). The default value is 1. " + } + }, + "description": "Desired managed outbound IPs for the cluster load balancer." + }, + "ManagedClusterLoadBalancerProfileOutboundIPPrefixes": { + "type": "object", + "properties": { + "publicIPPrefixes": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/ResourceReference" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "A list of public IP prefix resources." + } + }, + "description": "Desired outbound IP Prefix resources for the cluster load balancer." + }, + "ManagedClusterLoadBalancerProfileOutboundIPs": { + "type": "object", + "properties": { + "publicIPs": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/ResourceReference" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "A list of public IP resources." + } + }, + "description": "Desired outbound IP resources for the cluster load balancer." + }, + "ManagedClusterManagedOutboundIPProfile": { + "type": "object", + "properties": { + "count": { + "oneOf": [ + { + "type": "integer", + "minimum": 1, + "maximum": 16, + "default": "1" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The desired number of outbound IPs created/managed by Azure. Allowed values must be in the range of 1 to 16 (inclusive). The default value is 1. " + } + }, + "description": "Profile of the managed outbound IP resources of the managed cluster." + }, + "ManagedClusterNATGatewayProfile": { + "type": "object", + "properties": { + "effectiveOutboundIPs": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/ResourceReference" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The effective outbound IP resources of the cluster NAT gateway." + }, + "idleTimeoutInMinutes": { + "oneOf": [ + { + "type": "integer", + "minimum": 4, + "maximum": 120, + "default": "4" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Desired outbound flow idle timeout in minutes. Allowed values are in the range of 4 to 120 (inclusive). The default value is 4 minutes." + }, + "managedOutboundIPProfile": { + "oneOf": [ + { + "$ref": "#/definitions/ManagedClusterManagedOutboundIPProfile" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Profile of the managed outbound IP resources of the managed cluster." + } + }, + "description": "Profile of the managed cluster NAT gateway." + }, + "ManagedClusterPodIdentity": { + "type": "object", + "properties": { + "bindingSelector": { + "type": "string", + "description": "The binding selector to use for the AzureIdentityBinding resource." + }, + "identity": { + "oneOf": [ + { + "$ref": "#/definitions/UserAssignedIdentity" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Details about a user assigned identity." + }, + "name": { + "type": "string", + "description": "The name of the pod identity." + }, + "namespace": { + "type": "string", + "description": "The namespace of the pod identity." + } + }, + "required": [ + "identity", + "name", + "namespace" + ], + "description": "Details about the pod identity assigned to the Managed Cluster." + }, + "ManagedClusterPodIdentityException": { + "type": "object", + "properties": { + "name": { + "type": "string", + "description": "The name of the pod identity exception." + }, + "namespace": { + "type": "string", + "description": "The namespace of the pod identity exception." + }, + "podLabels": { + "oneOf": [ + { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "properties": {} + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The pod labels to match." + } + }, + "required": [ + "name", + "namespace", + "podLabels" + ], + "description": "See [disable AAD Pod Identity for a specific Pod/Application](https://azure.github.io/aad-pod-identity/docs/configure/application_exception/) for more details." + }, + "ManagedClusterPodIdentityProfile": { + "type": "object", + "properties": { + "allowNetworkPluginKubenet": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Running in Kubenet is disabled by default due to the security related nature of AAD Pod Identity and the risks of IP spoofing. See [using Kubenet network plugin with AAD Pod Identity](https://docs.microsoft.com/azure/aks/use-azure-ad-pod-identity#using-kubenet-network-plugin-with-azure-active-directory-pod-managed-identities) for more information." + }, + "enabled": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Whether the pod identity addon is enabled." + }, + "userAssignedIdentities": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/ManagedClusterPodIdentity" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The pod identities to use in the cluster." + }, + "userAssignedIdentityExceptions": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/ManagedClusterPodIdentityException" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The pod identity exceptions to allow." + } + }, + "description": "See [use AAD pod identity](https://docs.microsoft.com/azure/aks/use-azure-ad-pod-identity) for more details on pod identity integration." + }, + "ManagedClusterProperties": { + "type": "object", + "properties": { + "aadProfile": { + "oneOf": [ + { + "$ref": "#/definitions/ManagedClusterAADProfile" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "For more details see [managed AAD on AKS](https://docs.microsoft.com/azure/aks/managed-aad)." + }, + "addonProfiles": { + "oneOf": [ + { + "type": "object", + "additionalProperties": { + "$ref": "#/definitions/ManagedClusterAddonProfile" + }, + "properties": {} + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The profile of managed cluster add-on." + }, + "agentPoolProfiles": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/ManagedClusterAgentPoolProfile" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The agent pool properties." + }, + "apiServerAccessProfile": { + "oneOf": [ + { + "$ref": "#/definitions/ManagedClusterAPIServerAccessProfile" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Access profile for managed cluster API server." + }, + "autoScalerProfile": { + "oneOf": [ + { + "$ref": "#/definitions/ManagedClusterPropertiesAutoScalerProfile" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Parameters to be applied to the cluster-autoscaler when enabled" + }, + "autoUpgradeProfile": { + "oneOf": [ + { + "$ref": "#/definitions/ManagedClusterAutoUpgradeProfile" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Auto upgrade profile for a managed cluster." + }, + "disableLocalAccounts": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "If set to true, getting static credentials will be disabled for this cluster. This must only be used on Managed Clusters that are AAD enabled. For more details see [disable local accounts](https://docs.microsoft.com/azure/aks/managed-aad#disable-local-accounts-preview)." + }, + "diskEncryptionSetID": { + "type": "string", + "description": "This is of the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/diskEncryptionSets/{encryptionSetName}'" + }, + "dnsPrefix": { + "type": "string", + "description": "This cannot be updated once the Managed Cluster has been created." + }, + "enablePodSecurityPolicy": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "(DEPRECATING) Whether to enable Kubernetes pod security policy (preview). This feature is set for removal on October 15th, 2020. Learn more at aka.ms/aks/azpodpolicy." + }, + "enableRBAC": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Whether to enable Kubernetes Role-Based Access Control." + }, + "fqdnSubdomain": { + "type": "string", + "description": "This cannot be updated once the Managed Cluster has been created." + }, + "httpProxyConfig": { + "oneOf": [ + { + "$ref": "#/definitions/ManagedClusterHTTPProxyConfig" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Cluster HTTP proxy configuration." + }, + "identityProfile": { + "oneOf": [ + { + "type": "object", + "additionalProperties": { + "$ref": "#/definitions/UserAssignedIdentity" + }, + "properties": {} + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Identities associated with the cluster." + }, + "kubernetesVersion": { + "type": "string", + "description": "When you upgrade a supported AKS cluster, Kubernetes minor versions cannot be skipped. All upgrades must be performed sequentially by major version number. For example, upgrades between 1.14.x -> 1.15.x or 1.15.x -> 1.16.x are allowed, however 1.14.x -> 1.16.x is not allowed. See [upgrading an AKS cluster](https://docs.microsoft.com/azure/aks/upgrade-cluster) for more details." + }, + "linuxProfile": { + "oneOf": [ + { + "$ref": "#/definitions/ContainerServiceLinuxProfile" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Profile for Linux VMs in the container service cluster." + }, + "networkProfile": { + "oneOf": [ + { + "$ref": "#/definitions/ContainerServiceNetworkProfile" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Profile of network configuration." + }, + "nodeResourceGroup": { + "type": "string", + "description": "The name of the resource group containing agent pool nodes." + }, + "podIdentityProfile": { + "oneOf": [ + { + "$ref": "#/definitions/ManagedClusterPodIdentityProfile" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "See [use AAD pod identity](https://docs.microsoft.com/azure/aks/use-azure-ad-pod-identity) for more details on pod identity integration." + }, + "privateLinkResources": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/PrivateLinkResource" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Private link resources associated with the cluster." + }, + "securityProfile": { + "oneOf": [ + { + "$ref": "#/definitions/ManagedClusterSecurityProfile" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Security profile for the container service cluster." + }, + "servicePrincipalProfile": { + "oneOf": [ + { + "$ref": "#/definitions/ManagedClusterServicePrincipalProfile" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Information about a service principal identity for the cluster to use for manipulating Azure APIs." + }, + "windowsProfile": { + "oneOf": [ + { + "$ref": "#/definitions/ManagedClusterWindowsProfile" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Profile for Windows VMs in the managed cluster." + } + }, + "description": "Properties of the managed cluster." + }, + "ManagedClusterPropertiesAutoScalerProfile": { + "type": "object", + "properties": { + "balance-similar-node-groups": { + "type": "string", + "description": "Valid values are 'true' and 'false'" + }, + "expander": { + "oneOf": [ + { + "type": "string", + "enum": [ + "least-waste", + "most-pods", + "priority", + "random" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "If not specified, the default is 'random'. See [expanders](https://github.com/kubernetes/autoscaler/blob/master/cluster-autoscaler/FAQ.md#what-are-expanders) for more information." + }, + "max-empty-bulk-delete": { + "type": "string", + "description": "The default is 10." + }, + "max-graceful-termination-sec": { + "type": "string", + "description": "The default is 600." + }, + "max-node-provision-time": { + "type": "string", + "description": "The default is '15m'. Values must be an integer followed by an 'm'. No unit of time other than minutes (m) is supported." + }, + "max-total-unready-percentage": { + "type": "string", + "description": "The default is 45. The maximum is 100 and the minimum is 0." + }, + "new-pod-scale-up-delay": { + "type": "string", + "description": "For scenarios like burst/batch scale where you don't want CA to act before the kubernetes scheduler could schedule all the pods, you can tell CA to ignore unscheduled pods before they're a certain age. The default is '0s'. Values must be an integer followed by a unit ('s' for seconds, 'm' for minutes, 'h' for hours, etc)." + }, + "ok-total-unready-count": { + "type": "string", + "description": "This must be an integer. The default is 3." + }, + "scale-down-delay-after-add": { + "type": "string", + "description": "The default is '10m'. Values must be an integer followed by an 'm'. No unit of time other than minutes (m) is supported." + }, + "scale-down-delay-after-delete": { + "type": "string", + "description": "The default is the scan-interval. Values must be an integer followed by an 'm'. No unit of time other than minutes (m) is supported." + }, + "scale-down-delay-after-failure": { + "type": "string", + "description": "The default is '3m'. Values must be an integer followed by an 'm'. No unit of time other than minutes (m) is supported." + }, + "scale-down-unneeded-time": { + "type": "string", + "description": "The default is '10m'. Values must be an integer followed by an 'm'. No unit of time other than minutes (m) is supported." + }, + "scale-down-unready-time": { + "type": "string", + "description": "The default is '20m'. Values must be an integer followed by an 'm'. No unit of time other than minutes (m) is supported." + }, + "scale-down-utilization-threshold": { + "type": "string", + "description": "The default is '0.5'." + }, + "scan-interval": { + "type": "string", + "description": "The default is '10'. Values must be an integer number of seconds." + }, + "skip-nodes-with-local-storage": { + "type": "string", + "description": "The default is true." + }, + "skip-nodes-with-system-pods": { + "type": "string", + "description": "The default is true." + } + }, + "description": "Parameters to be applied to the cluster-autoscaler when enabled" + }, + "ManagedClusterSecurityProfile": { + "type": "object", + "properties": { + "azureDefender": { + "oneOf": [ + { + "$ref": "#/definitions/ManagedClusterSecurityProfileAzureDefender" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Azure Defender settings for the security profile." + } + }, + "description": "Security profile for the container service cluster." + }, + "ManagedClusterSecurityProfileAzureDefender": { + "type": "object", + "properties": { + "enabled": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Whether to enable Azure Defender" + }, + "logAnalyticsWorkspaceResourceId": { + "type": "string", + "description": "Resource ID of the Log Analytics workspace to be associated with Azure Defender. When Azure Defender is enabled, this field is required and must be a valid workspace resource ID. When Azure Defender is disabled, leave the field empty." + } + }, + "description": "Azure Defender settings for the security profile." + }, + "ManagedClusterServicePrincipalProfile": { + "type": "object", + "properties": { + "clientId": { + "type": "string", + "description": "The ID for the service principal." + }, + "secret": { + "type": "string", + "description": "The secret password associated with the service principal in plain text." + } + }, + "required": [ + "clientId" + ], + "description": "Information about a service principal identity for the cluster to use for manipulating Azure APIs." + }, + "ManagedClusterSKU": { + "type": "object", + "properties": { + "name": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Basic" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The name of a managed cluster SKU." + }, + "tier": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Paid", + "Free" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "If not specified, the default is 'Free'. See [uptime SLA](https://docs.microsoft.com/azure/aks/uptime-sla) for more details." + } + }, + "description": "The SKU of a Managed Cluster." + }, + "managedClusters_agentPools_childResource": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-07-01" + ] + }, + "name": { + "type": "string", + "description": "The name of the agent pool." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/ManagedClusterAgentPoolProfileProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Properties for the container service agent pool profile." + }, + "type": { + "type": "string", + "enum": [ + "agentPools" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.ContainerService/managedClusters/agentPools" + }, + "managedClusters_maintenanceConfigurations_childResource": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-07-01" + ] + }, + "name": { + "type": "string", + "description": "The name of the maintenance configuration." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/MaintenanceConfigurationProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Properties used to configure planned maintenance for a Managed Cluster." + }, + "type": { + "type": "string", + "enum": [ + "maintenanceConfigurations" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.ContainerService/managedClusters/maintenanceConfigurations" + }, + "managedClusters_privateEndpointConnections_childResource": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-07-01" + ] + }, + "name": { + "type": "string", + "description": "The name of the private endpoint connection." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/PrivateEndpointConnectionProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Properties of a private endpoint connection." + }, + "type": { + "type": "string", + "enum": [ + "privateEndpointConnections" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.ContainerService/managedClusters/privateEndpointConnections" + }, + "ManagedClusterWindowsProfile": { + "type": "object", + "properties": { + "adminPassword": { + "type": "string", + "description": "Specifies the password of the administrator account.

**Minimum-length:** 8 characters

**Max-length:** 123 characters

**Complexity requirements:** 3 out of 4 conditions below need to be fulfilled
Has lower characters
Has upper characters
Has a digit
Has a special character (Regex match [\\W_])

**Disallowed values:** \"abc@123\", \"P@$$w0rd\", \"P@ssw0rd\", \"P@ssword123\", \"Pa$$word\", \"pass@word1\", \"Password!\", \"Password1\", \"Password22\", \"iloveyou!\"" + }, + "adminUsername": { + "type": "string", + "description": "Specifies the name of the administrator account.

**Restriction:** Cannot end in \".\"

**Disallowed values:** \"administrator\", \"admin\", \"user\", \"user1\", \"test\", \"user2\", \"test1\", \"user3\", \"admin1\", \"1\", \"123\", \"a\", \"actuser\", \"adm\", \"admin2\", \"aspnet\", \"backup\", \"console\", \"david\", \"guest\", \"john\", \"owner\", \"root\", \"server\", \"sql\", \"support\", \"support_388945a0\", \"sys\", \"test2\", \"test3\", \"user4\", \"user5\".

**Minimum-length:** 1 character

**Max-length:** 20 characters" + }, + "enableCSIProxy": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "For more details on CSI proxy, see the [CSI proxy GitHub repo](https://github.com/kubernetes-csi/csi-proxy)." + }, + "licenseType": { + "oneOf": [ + { + "type": "string", + "enum": [ + "None", + "Windows_Server" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The license type to use for Windows VMs. See [Azure Hybrid User Benefits](https://azure.microsoft.com/pricing/hybrid-benefit/faq/) for more details." + } + }, + "required": [ + "adminUsername" + ], + "description": "Profile for Windows VMs in the managed cluster." + }, + "ManagedServiceIdentityUserAssignedIdentitiesValue": { + "type": "object", + "properties": {} + }, + "PrivateEndpoint": { + "type": "object", + "properties": { + "id": { + "type": "string", + "description": "The resource ID of the private endpoint" + } + }, + "description": "Private endpoint which a connection belongs to." + }, + "PrivateEndpointConnectionProperties": { + "type": "object", + "properties": { + "privateEndpoint": { + "oneOf": [ + { + "$ref": "#/definitions/PrivateEndpoint" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Private endpoint which a connection belongs to." + }, + "privateLinkServiceConnectionState": { + "oneOf": [ + { + "$ref": "#/definitions/PrivateLinkServiceConnectionState" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The state of a private link service connection." + } + }, + "required": [ + "privateLinkServiceConnectionState" + ], + "description": "Properties of a private endpoint connection." + }, + "PrivateLinkResource": { + "type": "object", + "properties": { + "groupId": { + "type": "string", + "description": "The group ID of the resource." + }, + "id": { + "type": "string", + "description": "The ID of the private link resource." + }, + "name": { + "type": "string", + "description": "The name of the private link resource." + }, + "requiredMembers": { + "oneOf": [ + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The RequiredMembers of the resource" + }, + "type": { + "type": "string", + "description": "The resource type." + } + }, + "description": "A private link resource" + }, + "PrivateLinkServiceConnectionState": { + "type": "object", + "properties": { + "description": { + "type": "string", + "description": "The private link service connection description." + }, + "status": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Pending", + "Approved", + "Rejected", + "Disconnected" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The private link service connection status." + } + }, + "description": "The state of a private link service connection." + }, + "ResourceReference": { + "type": "object", + "properties": { + "id": { + "type": "string", + "description": "The fully qualified Azure resource id." + } + }, + "description": "A reference to an Azure resource." + }, + "SysctlConfig": { + "type": "object", + "properties": { + "fsAioMaxNr": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Sysctl setting fs.aio-max-nr." + }, + "fsFileMax": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Sysctl setting fs.file-max." + }, + "fsInotifyMaxUserWatches": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Sysctl setting fs.inotify.max_user_watches." + }, + "fsNrOpen": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Sysctl setting fs.nr_open." + }, + "kernelThreadsMax": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Sysctl setting kernel.threads-max." + }, + "netCoreNetdevMaxBacklog": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Sysctl setting net.core.netdev_max_backlog." + }, + "netCoreOptmemMax": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Sysctl setting net.core.optmem_max." + }, + "netCoreRmemDefault": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Sysctl setting net.core.rmem_default." + }, + "netCoreRmemMax": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Sysctl setting net.core.rmem_max." + }, + "netCoreSomaxconn": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Sysctl setting net.core.somaxconn." + }, + "netCoreWmemDefault": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Sysctl setting net.core.wmem_default." + }, + "netCoreWmemMax": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Sysctl setting net.core.wmem_max." + }, + "netIpv4IpLocalPortRange": { + "type": "string", + "description": "Sysctl setting net.ipv4.ip_local_port_range." + }, + "netIpv4NeighDefaultGcThresh1": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Sysctl setting net.ipv4.neigh.default.gc_thresh1." + }, + "netIpv4NeighDefaultGcThresh2": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Sysctl setting net.ipv4.neigh.default.gc_thresh2." + }, + "netIpv4NeighDefaultGcThresh3": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Sysctl setting net.ipv4.neigh.default.gc_thresh3." + }, + "netIpv4TcpFinTimeout": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Sysctl setting net.ipv4.tcp_fin_timeout." + }, + "netIpv4TcpkeepaliveIntvl": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Sysctl setting net.ipv4.tcp_keepalive_intvl." + }, + "netIpv4TcpKeepaliveProbes": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Sysctl setting net.ipv4.tcp_keepalive_probes." + }, + "netIpv4TcpKeepaliveTime": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Sysctl setting net.ipv4.tcp_keepalive_time." + }, + "netIpv4TcpMaxSynBacklog": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Sysctl setting net.ipv4.tcp_max_syn_backlog." + }, + "netIpv4TcpMaxTwBuckets": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Sysctl setting net.ipv4.tcp_max_tw_buckets." + }, + "netIpv4TcpTwReuse": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Sysctl setting net.ipv4.tcp_tw_reuse." + }, + "netNetfilterNfConntrackBuckets": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Sysctl setting net.netfilter.nf_conntrack_buckets." + }, + "netNetfilterNfConntrackMax": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Sysctl setting net.netfilter.nf_conntrack_max." + }, + "vmMaxMapCount": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Sysctl setting vm.max_map_count." + }, + "vmSwappiness": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Sysctl setting vm.swappiness." + }, + "vmVfsCachePressure": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Sysctl setting vm.vfs_cache_pressure." + } + }, + "description": "Sysctl settings for Linux agent nodes." + }, + "TimeInWeek": { + "type": "object", + "properties": { + "day": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Sunday", + "Monday", + "Tuesday", + "Wednesday", + "Thursday", + "Friday", + "Saturday" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The day of the week." + }, + "hourSlots": { + "oneOf": [ + { + "type": "array", + "items": { + "type": "integer" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Each integer hour represents a time range beginning at 0m after the hour ending at the next hour (non-inclusive). 0 corresponds to 00:00 UTC, 23 corresponds to 23:00 UTC. Specifying [0, 1] means the 00:00 - 02:00 UTC time range." + } + }, + "description": "Time in a week." + }, + "TimeSpan": { + "type": "object", + "properties": { + "end": { + "type": "string", + "format": "date-time", + "description": "The end of a time span" + }, + "start": { + "type": "string", + "format": "date-time", + "description": "The start of a time span" + } + }, + "description": "For example, between 2021-05-25T13:00:00Z and 2021-05-25T14:00:00Z." + }, + "UserAssignedIdentity": { + "type": "object", + "properties": { + "clientId": { + "type": "string", + "description": "The client ID of the user assigned identity." + }, + "objectId": { + "type": "string", + "description": "The object ID of the user assigned identity." + }, + "resourceId": { + "type": "string", + "description": "The resource ID of the user assigned identity." + } + }, + "description": "Details about a user assigned identity." + } + } +} \ No newline at end of file diff --git a/schemas/common/autogeneratedResources.json b/schemas/common/autogeneratedResources.json index ee9f96166b..e65d201780 100644 --- a/schemas/common/autogeneratedResources.json +++ b/schemas/common/autogeneratedResources.json @@ -2986,6 +2986,18 @@ { "$ref": "https://schema.management.azure.com/schemas/2021-05-01/Microsoft.ContainerService.json#/resourceDefinitions/managedClusters_privateEndpointConnections" }, + { + "$ref": "https://schema.management.azure.com/schemas/2021-07-01/Microsoft.ContainerService.json#/resourceDefinitions/managedClusters" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2021-07-01/Microsoft.ContainerService.json#/resourceDefinitions/managedClusters_agentPools" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2021-07-01/Microsoft.ContainerService.json#/resourceDefinitions/managedClusters_maintenanceConfigurations" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2021-07-01/Microsoft.ContainerService.json#/resourceDefinitions/managedClusters_privateEndpointConnections" + }, { "$ref": "https://schema.management.azure.com/schemas/2018-09-01-preview/Microsoft.CustomProviders.json#/resourceDefinitions/resourceProviders" }, From 2794309ac3577427a11146b6174aad74f965c756 Mon Sep 17 00:00:00 2001 From: Autogenerator Pipeline Date: Tue, 3 Aug 2021 09:20:29 +0000 Subject: [PATCH 25/64] Autogenerate schemas --- .../2018-09-01-preview/Microsoft.Migrate.json | 517 -------- .../2019-10-01-preview/Microsoft.Migrate.json | 1054 ----------------- .../Microsoft.EventGrid.json | 3 +- schemas/2021-01-01/Microsoft.Migrate.json | 1054 ----------------- .../Microsoft.MachineLearningServices.json | 110 +- .../Microsoft.EventGrid.json | 3 +- schemas/common/autogeneratedResources.json | 18 - 7 files changed, 76 insertions(+), 2683 deletions(-) delete mode 100644 schemas/2018-09-01-preview/Microsoft.Migrate.json delete mode 100644 schemas/2019-10-01-preview/Microsoft.Migrate.json delete mode 100644 schemas/2021-01-01/Microsoft.Migrate.json diff --git a/schemas/2018-09-01-preview/Microsoft.Migrate.json b/schemas/2018-09-01-preview/Microsoft.Migrate.json deleted file mode 100644 index 074e3e9b7c..0000000000 --- a/schemas/2018-09-01-preview/Microsoft.Migrate.json +++ /dev/null @@ -1,517 +0,0 @@ -{ - "id": "https://schema.management.azure.com/schemas/2018-09-01-preview/Microsoft.Migrate.json#", - "$schema": "http://json-schema.org/draft-04/schema#", - "title": "Microsoft.Migrate", - "description": "Microsoft Migrate Resource Types", - "resourceDefinitions": { - "migrateProjects": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2018-09-01-preview" - ] - }, - "eTag": { - "type": "string", - "description": "Gets or sets the eTag for concurrency control." - }, - "location": { - "type": "string", - "description": "Gets or sets the Azure location in which migrate project is created." - }, - "name": { - "type": "string", - "description": "Name of the Azure Migrate project." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/MigrateProjectProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Class for migrate project properties." - }, - "resources": { - "type": "array", - "items": { - "oneOf": [ - { - "$ref": "#/definitions/migrateProjects_solutions_childResource" - } - ] - } - }, - "tags": { - "oneOf": [ - { - "$ref": "#/definitions/MigrateProjectTags" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Gets or sets the tags." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.Migrate/migrateProjects" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.Migrate/migrateProjects" - }, - "migrateProjects_solutions": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2018-09-01-preview" - ] - }, - "etag": { - "type": "string", - "description": "Gets or sets the ETAG for optimistic concurrency control." - }, - "name": { - "type": "string", - "description": "Unique name of a migration solution within a migrate project." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/SolutionProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Class for solution properties." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.Migrate/migrateProjects/solutions" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.Migrate/migrateProjects/solutions" - } - }, - "definitions": { - "DatabasesSolutionSummary": { - "type": "object", - "properties": { - "databaseInstancesAssessedCount": { - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Gets or sets the count of database instances assessed." - }, - "databasesAssessedCount": { - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Gets or sets the count of databases assessed." - }, - "instanceType": { - "type": "string", - "enum": [ - "Databases" - ] - }, - "migrationReadyCount": { - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Gets or sets the count of databases ready for migration." - } - }, - "required": [ - "instanceType" - ], - "description": "Class representing the databases solution summary." - }, - "MigrateProjectProperties": { - "type": "object", - "properties": { - "provisioningState": { - "oneOf": [ - { - "type": "string", - "enum": [ - "Accepted", - "Creating", - "Deleting", - "Failed", - "Moving", - "Succeeded" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Provisioning state of the migrate project." - }, - "registeredTools": { - "oneOf": [ - { - "type": "array", - "items": { - "type": "string", - "enum": [ - "ServerDiscovery", - "ServerAssessment", - "ServerMigration", - "Cloudamize", - "Turbonomic", - "Zerto", - "CorentTech", - "ServerAssessmentV1", - "ServerMigration_Replication", - "Carbonite", - "DataMigrationAssistant", - "DatabaseMigrationService" - ] - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Gets or sets the list of tools registered with the migrate project." - } - }, - "description": "Class for migrate project properties." - }, - "migrateProjects_solutions_childResource": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2018-09-01-preview" - ] - }, - "etag": { - "type": "string", - "description": "Gets or sets the ETAG for optimistic concurrency control." - }, - "name": { - "type": "string", - "description": "Unique name of a migration solution within a migrate project." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/SolutionProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Class for solution properties." - }, - "type": { - "type": "string", - "enum": [ - "solutions" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.Migrate/migrateProjects/solutions" - }, - "MigrateProjectTags": { - "type": "object", - "properties": { - "additionalProperties": { - "type": "string" - } - }, - "description": "Gets or sets the tags." - }, - "ServersSolutionSummary": { - "type": "object", - "properties": { - "assessedCount": { - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Gets or sets the count of servers assessed." - }, - "discoveredCount": { - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Gets or sets the count of servers discovered." - }, - "instanceType": { - "type": "string", - "enum": [ - "Servers" - ] - }, - "migratedCount": { - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Gets or sets the count of servers migrated." - }, - "replicatingCount": { - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Gets or sets the count of servers being replicated." - }, - "testMigratedCount": { - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Gets or sets the count of servers test migrated." - } - }, - "required": [ - "instanceType" - ], - "description": "Class representing the servers solution summary." - }, - "SolutionDetails": { - "type": "object", - "properties": { - "assessmentCount": { - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Gets or sets the count of assessments reported by the solution." - }, - "extendedDetails": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Gets or sets the extended details reported by the solution." - }, - "groupCount": { - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Gets or sets the count of groups reported by the solution." - } - }, - "description": "Class representing the details of the solution." - }, - "SolutionProperties": { - "type": "object", - "properties": { - "cleanupState": { - "oneOf": [ - { - "type": "string", - "enum": [ - "None", - "Started", - "InProgress", - "Completed", - "Failed" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Gets or sets the cleanup state of the solution." - }, - "details": { - "oneOf": [ - { - "$ref": "#/definitions/SolutionDetails" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Class representing the details of the solution." - }, - "goal": { - "oneOf": [ - { - "type": "string", - "enum": [ - "Servers", - "Databases" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Gets or sets the goal of the solution." - }, - "purpose": { - "oneOf": [ - { - "type": "string", - "enum": [ - "Discovery", - "Assessment", - "Migration" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Gets or sets the purpose of the solution." - }, - "status": { - "oneOf": [ - { - "type": "string", - "enum": [ - "Inactive", - "Active" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Gets or sets the current status of the solution." - }, - "summary": { - "oneOf": [ - { - "$ref": "#/definitions/SolutionSummary" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The solution summary class." - }, - "tool": { - "oneOf": [ - { - "type": "string", - "enum": [ - "ServerDiscovery", - "ServerAssessment", - "ServerMigration", - "Cloudamize", - "Turbonomic", - "Zerto", - "CorentTech", - "ServerAssessmentV1", - "ServerMigration_Replication", - "Carbonite", - "DataMigrationAssistant", - "DatabaseMigrationService" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Gets or sets the tool being used in the solution." - } - }, - "description": "Class for solution properties." - }, - "SolutionSummary": { - "type": "object", - "oneOf": [ - { - "$ref": "#/definitions/ServersSolutionSummary" - }, - { - "$ref": "#/definitions/DatabasesSolutionSummary" - } - ], - "properties": {}, - "description": "The solution summary class." - } - } -} \ No newline at end of file diff --git a/schemas/2019-10-01-preview/Microsoft.Migrate.json b/schemas/2019-10-01-preview/Microsoft.Migrate.json deleted file mode 100644 index 69d60e191b..0000000000 --- a/schemas/2019-10-01-preview/Microsoft.Migrate.json +++ /dev/null @@ -1,1054 +0,0 @@ -{ - "id": "https://schema.management.azure.com/schemas/2019-10-01-preview/Microsoft.Migrate.json#", - "$schema": "http://json-schema.org/draft-04/schema#", - "title": "Microsoft.Migrate", - "description": "Microsoft Migrate Resource Types", - "resourceDefinitions": { - "moveCollections": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2019-10-01-preview" - ] - }, - "identity": { - "oneOf": [ - { - "$ref": "#/definitions/Identity" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Defines the MSI properties of the Move Collection." - }, - "location": { - "type": "string", - "description": "The geo-location where the resource lives." - }, - "name": { - "type": "string", - "description": "The Move Collection Name." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/MoveCollectionProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Defines the move collection properties." - }, - "resources": { - "type": "array", - "items": { - "oneOf": [ - { - "$ref": "#/definitions/moveCollections_moveResources_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.Migrate/moveCollections" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.Migrate/moveCollections" - }, - "moveCollections_moveResources": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2019-10-01-preview" - ] - }, - "name": { - "type": "string", - "description": "The Move Resource Name." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/MoveResourceProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Defines the move resource properties." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.Migrate/moveCollections/moveResources" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.Migrate/moveCollections/moveResources" - } - }, - "definitions": { - "AvailabilitySetResourceSettings": { - "type": "object", - "properties": { - "faultDomain": { - "oneOf": [ - { - "type": "integer", - "minimum": 1 - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Gets or sets the target fault domain." - }, - "resourceType": { - "type": "string", - "enum": [ - "Microsoft.Compute/availabilitySets" - ] - }, - "updateDomain": { - "oneOf": [ - { - "type": "integer", - "minimum": 1, - "maximum": 20 - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Gets or sets the target update domain." - } - }, - "required": [ - "resourceType" - ], - "description": "Gets or sets the availability set resource settings." - }, - "DiskEncryptionSetResourceSettings": { - "type": "object", - "properties": { - "resourceType": { - "type": "string", - "enum": [ - "Microsoft.Compute/diskEncryptionSets" - ] - } - }, - "required": [ - "resourceType" - ], - "description": "Defines the disk encryption set resource settings." - }, - "Identity": { - "type": "object", - "properties": { - "principalId": { - "type": "string", - "description": "Gets or sets the principal id." - }, - "tenantId": { - "type": "string", - "description": "Gets or sets the tenant id." - }, - "type": { - "oneOf": [ - { - "type": "string", - "enum": [ - "None", - "SystemAssigned", - "UserAssigned" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - } - }, - "description": "Defines the MSI properties of the Move Collection." - }, - "KeyVaultResourceSettings": { - "type": "object", - "properties": { - "resourceType": { - "type": "string", - "enum": [ - "Microsoft.KeyVault/vaults" - ] - } - }, - "required": [ - "resourceType" - ], - "description": "Defines the key vault resource settings." - }, - "LBBackendAddressPoolResourceSettings": { - "type": "object", - "properties": { - "name": { - "type": "string", - "description": "Gets or sets the backend address pool name." - } - }, - "description": "Defines load balancer backend address pool properties." - }, - "LBFrontendIPConfigurationResourceSettings": { - "type": "object", - "properties": { - "name": { - "type": "string", - "description": "Gets or sets the frontend IP configuration name." - }, - "privateIpAddress": { - "type": "string", - "description": "Gets or sets the IP address of the Load Balancer.This is only specified if a specific\r\nprivate IP address shall be allocated from the subnet specified in subnetRef." - }, - "privateIpAllocationMethod": { - "type": "string", - "description": "Gets or sets PrivateIP allocation method (Static/Dynamic)." - }, - "subnet": { - "oneOf": [ - { - "$ref": "#/definitions/SubnetReference" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Defines reference to subnet." - }, - "zones": { - "type": "string", - "description": "Gets or sets the csv list of zones." - } - }, - "description": "Defines load balancer frontend IP configuration properties." - }, - "LoadBalancerBackendAddressPoolReference": { - "type": "object", - "properties": { - "name": { - "type": "string", - "description": "Gets the name of the proxy resource on the target side." - }, - "sourceArmResourceId": { - "type": "string", - "description": "Gets the ARM resource ID of the tracked resource being referenced." - } - }, - "required": [ - "sourceArmResourceId" - ], - "description": "Defines reference to load balancer backend address pools." - }, - "LoadBalancerNatRuleReference": { - "type": "object", - "properties": { - "name": { - "type": "string", - "description": "Gets the name of the proxy resource on the target side." - }, - "sourceArmResourceId": { - "type": "string", - "description": "Gets the ARM resource ID of the tracked resource being referenced." - } - }, - "required": [ - "sourceArmResourceId" - ], - "description": "Defines reference to load balancer NAT rules." - }, - "LoadBalancerResourceSettings": { - "type": "object", - "properties": { - "backendAddressPools": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/definitions/LBBackendAddressPoolResourceSettings" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Gets or sets the backend address pools of the load balancer." - }, - "frontendIPConfigurations": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/definitions/LBFrontendIPConfigurationResourceSettings" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Gets or sets the frontend IP configurations of the load balancer." - }, - "resourceType": { - "type": "string", - "enum": [ - "Microsoft.Network/loadBalancers" - ] - }, - "sku": { - "type": "string", - "description": "Gets or sets load balancer sku (Basic/Standard)." - }, - "zones": { - "type": "string", - "description": "Gets or sets the csv list of zones common for all frontend IP configurations. Note this is given\r\n precedence only if frontend IP configurations settings are not present." - } - }, - "required": [ - "resourceType" - ], - "description": "Defines the load balancer resource settings." - }, - "MoveCollectionProperties": { - "type": "object", - "properties": { - "provisioningState": { - "oneOf": [ - { - "type": "string", - "enum": [ - "Succeeded", - "Updating", - "Creating", - "Failed" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "sourceRegion": { - "type": "string", - "description": "Gets or sets the source region." - }, - "targetRegion": { - "type": "string", - "description": "Gets or sets the target region." - } - }, - "required": [ - "sourceRegion", - "targetRegion" - ], - "description": "Defines the move collection properties." - }, - "moveCollections_moveResources_childResource": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2019-10-01-preview" - ] - }, - "name": { - "type": "string", - "description": "The Move Resource Name." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/MoveResourceProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Defines the move resource properties." - }, - "type": { - "type": "string", - "enum": [ - "moveResources" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.Migrate/moveCollections/moveResources" - }, - "MoveResourceDependencyOverride": { - "type": "object", - "properties": { - "id": { - "type": "string", - "description": "Gets or sets the ARM ID of the dependent resource." - }, - "targetId": { - "type": "string", - "description": "Gets or sets the resource ARM id of either the MoveResource or the resource ARM ID of\r\nthe dependent resource." - } - }, - "description": "Defines the dependency override of the move resource." - }, - "MoveResourceProperties": { - "type": "object", - "properties": { - "dependsOnOverrides": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/definitions/MoveResourceDependencyOverride" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Gets or sets the move resource dependencies overrides." - }, - "existingTargetId": { - "type": "string", - "description": "Gets or sets the existing target ARM Id of the resource." - }, - "provisioningState": { - "oneOf": [ - { - "type": "string", - "enum": [ - "Succeeded", - "Updating", - "Creating", - "Failed" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "resourceSettings": { - "oneOf": [ - { - "$ref": "#/definitions/ResourceSettings" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Gets or sets the resource settings." - }, - "sourceId": { - "type": "string", - "description": "Gets or sets the Source ARM Id of the resource." - } - }, - "required": [ - "sourceId" - ], - "description": "Defines the move resource properties." - }, - "NetworkInterfaceResourceSettings": { - "type": "object", - "properties": { - "enableAcceleratedNetworking": { - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Gets or sets a value indicating whether accelerated networking is enabled." - }, - "ipConfigurations": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/definitions/NicIpConfigurationResourceSettings" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Gets or sets the IP configurations of the NIC." - }, - "resourceType": { - "type": "string", - "enum": [ - "Microsoft.Network/networkInterfaces" - ] - } - }, - "required": [ - "resourceType" - ], - "description": "Defines the network interface resource settings." - }, - "NetworkSecurityGroupResourceSettings": { - "type": "object", - "properties": { - "resourceType": { - "type": "string", - "enum": [ - "Microsoft.Network/networkSecurityGroups" - ] - }, - "securityRules": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/definitions/NsgSecurityRule" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Gets or sets Security rules of network security group." - } - }, - "required": [ - "resourceType" - ], - "description": "Defines the NSG resource settings." - }, - "NicIpConfigurationResourceSettings": { - "type": "object", - "properties": { - "loadBalancerBackendAddressPools": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/definitions/LoadBalancerBackendAddressPoolReference" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Gets or sets the references of the load balancer backend address pools." - }, - "loadBalancerNatRules": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/definitions/LoadBalancerNatRuleReference" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Gets or sets the references of the load balancer NAT rules." - }, - "name": { - "type": "string", - "description": "Gets or sets the IP configuration name." - }, - "primary": { - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Gets or sets a value indicating whether this IP configuration is the primary." - }, - "privateIpAddress": { - "type": "string", - "description": "Gets or sets the private IP address of the network interface IP Configuration." - }, - "privateIpAllocationMethod": { - "type": "string", - "description": "Gets or sets the private IP address allocation method." - }, - "publicIp": { - "oneOf": [ - { - "$ref": "#/definitions/PublicIpReference" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Defines reference to a public IP." - }, - "subnet": { - "oneOf": [ - { - "$ref": "#/definitions/SubnetReference" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Defines reference to subnet." - } - }, - "description": "Defines NIC IP configuration properties." - }, - "NsgReference": { - "type": "object", - "properties": { - "sourceArmResourceId": { - "type": "string", - "description": "Gets the ARM resource ID of the tracked resource being referenced." - } - }, - "required": [ - "sourceArmResourceId" - ], - "description": "Defines reference to NSG." - }, - "NsgSecurityRule": { - "type": "object", - "properties": { - "access": { - "type": "string", - "description": "Gets or sets whether network traffic is allowed or denied.\r\nPossible values are “Allow” and “Deny”." - }, - "description": { - "type": "string", - "description": "Gets or sets a description for this rule. Restricted to 140 chars." - }, - "destinationAddressPrefix": { - "type": "string", - "description": "Gets or sets destination address prefix. CIDR or source IP range.\r\n A “*” can also be used to match all source IPs. Default tags such\r\nas ‘VirtualNetwork’, ‘AzureLoadBalancer’ and ‘Internet’ can also be used." - }, - "destinationPortRange": { - "type": "string", - "description": "Gets or sets Destination Port or Range. Integer or range between\r\n0 and 65535. A “*” can also be used to match all ports." - }, - "direction": { - "type": "string", - "description": "Gets or sets the direction of the rule.InBound or Outbound. The\r\ndirection specifies if rule will be evaluated on incoming or outgoing traffic." - }, - "name": { - "type": "string", - "description": "Gets or sets the Security rule name." - }, - "priority": { - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Gets or sets the priority of the rule. The value can be between\r\n100 and 4096. The priority number must be unique for each rule in the collection.\r\nThe lower the priority number, the higher the priority of the rule." - }, - "protocol": { - "type": "string", - "description": "Gets or sets Network protocol this rule applies to. Can be Tcp, Udp or All(*)." - }, - "sourceAddressPrefix": { - "type": "string", - "description": "Gets or sets source address prefix. CIDR or source IP range. A\r\n“*” can also be used to match all source IPs. Default tags such as ‘VirtualNetwork’,\r\n‘AzureLoadBalancer’ and ‘Internet’ can also be used. If this is an ingress\r\nrule, specifies where network traffic originates from." - }, - "sourcePortRange": { - "type": "string", - "description": "Gets or sets Source Port or Range. Integer or range between 0 and\r\n65535. A “*” can also be used to match all ports." - } - }, - "description": "Security Rule data model for Network Security Groups." - }, - "PublicIPAddressResourceSettings": { - "type": "object", - "properties": { - "domainNameLabel": { - "type": "string", - "description": "Gets or sets the domain name label." - }, - "fqdn": { - "type": "string", - "description": "Gets or sets the fully qualified domain name." - }, - "publicIpAllocationMethod": { - "type": "string", - "description": "Gets or sets public IP allocation method." - }, - "resourceType": { - "type": "string", - "enum": [ - "Microsoft.Network/publicIPAddresses" - ] - }, - "sku": { - "type": "string", - "description": "Gets or sets public IP sku." - }, - "zones": { - "type": "string", - "description": "Gets or sets public IP zones." - } - }, - "required": [ - "resourceType" - ], - "description": "Defines the public IP address resource settings." - }, - "PublicIpReference": { - "type": "object", - "properties": { - "sourceArmResourceId": { - "type": "string", - "description": "Gets the ARM resource ID of the tracked resource being referenced." - } - }, - "required": [ - "sourceArmResourceId" - ], - "description": "Defines reference to a public IP." - }, - "ResourceGroupResourceSettings": { - "type": "object", - "properties": { - "resourceType": { - "type": "string", - "enum": [ - "resourceGroups" - ] - } - }, - "required": [ - "resourceType" - ], - "description": "Defines the resource group resource settings." - }, - "ResourceSettings": { - "type": "object", - "oneOf": [ - { - "$ref": "#/definitions/VirtualMachineResourceSettings" - }, - { - "$ref": "#/definitions/AvailabilitySetResourceSettings" - }, - { - "$ref": "#/definitions/VirtualNetworkResourceSettings" - }, - { - "$ref": "#/definitions/NetworkInterfaceResourceSettings" - }, - { - "$ref": "#/definitions/NetworkSecurityGroupResourceSettings" - }, - { - "$ref": "#/definitions/LoadBalancerResourceSettings" - }, - { - "$ref": "#/definitions/SqlServerResourceSettings" - }, - { - "$ref": "#/definitions/SqlElasticPoolResourceSettings" - }, - { - "$ref": "#/definitions/SqlDatabaseResourceSettings" - }, - { - "$ref": "#/definitions/ResourceGroupResourceSettings" - }, - { - "$ref": "#/definitions/PublicIPAddressResourceSettings" - }, - { - "$ref": "#/definitions/KeyVaultResourceSettings" - }, - { - "$ref": "#/definitions/DiskEncryptionSetResourceSettings" - } - ], - "properties": { - "targetResourceName": { - "type": "string", - "description": "Gets or sets the target Resource name." - } - }, - "required": [ - "targetResourceName" - ], - "description": "Gets or sets the resource settings." - }, - "SqlDatabaseResourceSettings": { - "type": "object", - "properties": { - "resourceType": { - "type": "string", - "enum": [ - "Microsoft.Sql/servers/databases" - ] - }, - "zoneRedundant": { - "oneOf": [ - { - "type": "string", - "enum": [ - "Enable", - "Disable" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - } - }, - "required": [ - "resourceType" - ], - "description": "Defines the Sql Database resource settings." - }, - "SqlElasticPoolResourceSettings": { - "type": "object", - "properties": { - "resourceType": { - "type": "string", - "enum": [ - "Microsoft.Sql/servers/elasticPools" - ] - }, - "zoneRedundant": { - "oneOf": [ - { - "type": "string", - "enum": [ - "Enable", - "Disable" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - } - }, - "required": [ - "resourceType" - ], - "description": "Defines the Sql ElasticPool resource settings." - }, - "SqlServerResourceSettings": { - "type": "object", - "properties": { - "resourceType": { - "type": "string", - "enum": [ - "Microsoft.Sql/servers" - ] - } - }, - "required": [ - "resourceType" - ], - "description": "Defines the SQL Server resource settings." - }, - "SubnetReference": { - "type": "object", - "properties": { - "name": { - "type": "string", - "description": "Gets the name of the proxy resource on the target side." - }, - "sourceArmResourceId": { - "type": "string", - "description": "Gets the ARM resource ID of the tracked resource being referenced." - } - }, - "required": [ - "sourceArmResourceId" - ], - "description": "Defines reference to subnet." - }, - "SubnetResourceSettings": { - "type": "object", - "properties": { - "addressPrefix": { - "type": "string", - "description": "Gets or sets address prefix for the subnet." - }, - "name": { - "type": "string", - "description": "Gets or sets the Subnet name." - }, - "networkSecurityGroup": { - "oneOf": [ - { - "$ref": "#/definitions/NsgReference" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Defines reference to NSG." - } - }, - "description": "Defines the virtual network subnets resource settings." - }, - "VirtualMachineResourceSettings": { - "type": "object", - "properties": { - "resourceType": { - "type": "string", - "enum": [ - "Microsoft.Compute/virtualMachines" - ] - }, - "targetAvailabilitySetId": { - "type": "string", - "description": "Gets or sets the target availability set id for virtual machines not in an availability set at source." - }, - "targetAvailabilityZone": { - "oneOf": [ - { - "type": "string", - "enum": [ - "1", - "2", - "3", - "NA" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Gets or sets the target availability zone." - }, - "targetVmSize": { - "type": "string", - "description": "Gets or sets the target virtual machine size." - } - }, - "required": [ - "resourceType" - ], - "description": "Gets or sets the virtual machine resource settings." - }, - "VirtualNetworkResourceSettings": { - "type": "object", - "properties": { - "addressSpace": { - "oneOf": [ - { - "type": "array", - "items": { - "type": "string" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Gets or sets the address prefixes for the virtual network." - }, - "dnsServers": { - "oneOf": [ - { - "type": "array", - "items": { - "type": "string" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Gets or sets DHCPOptions that contains an array of DNS servers available to VMs\r\ndeployed in the virtual network." - }, - "enableDdosProtection": { - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Gets or sets a value indicating whether gets or sets whether the\r\nDDOS protection should be switched on." - }, - "resourceType": { - "type": "string", - "enum": [ - "Microsoft.Network/virtualNetworks" - ] - }, - "subnets": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/definitions/SubnetResourceSettings" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Gets or sets List of subnets in a VirtualNetwork." - } - }, - "required": [ - "resourceType" - ], - "description": "Defines the virtual network resource settings." - } - } -} \ No newline at end of file diff --git a/schemas/2020-10-15-preview/Microsoft.EventGrid.json b/schemas/2020-10-15-preview/Microsoft.EventGrid.json index 768a4c9f25..2f07351a81 100644 --- a/schemas/2020-10-15-preview/Microsoft.EventGrid.json +++ b/schemas/2020-10-15-preview/Microsoft.EventGrid.json @@ -2418,7 +2418,8 @@ "isSecret": { "oneOf": [ { - "type": "boolean" + "type": "boolean", + "default": false }, { "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" diff --git a/schemas/2021-01-01/Microsoft.Migrate.json b/schemas/2021-01-01/Microsoft.Migrate.json deleted file mode 100644 index 0e45499ee6..0000000000 --- a/schemas/2021-01-01/Microsoft.Migrate.json +++ /dev/null @@ -1,1054 +0,0 @@ -{ - "id": "https://schema.management.azure.com/schemas/2021-01-01/Microsoft.Migrate.json#", - "$schema": "http://json-schema.org/draft-04/schema#", - "title": "Microsoft.Migrate", - "description": "Microsoft Migrate Resource Types", - "resourceDefinitions": { - "moveCollections": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2021-01-01" - ] - }, - "identity": { - "oneOf": [ - { - "$ref": "#/definitions/Identity" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Defines the MSI properties of the Move Collection." - }, - "location": { - "type": "string", - "description": "The geo-location where the resource lives." - }, - "name": { - "type": "string", - "description": "The Move Collection Name." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/MoveCollectionProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Defines the move collection properties." - }, - "resources": { - "type": "array", - "items": { - "oneOf": [ - { - "$ref": "#/definitions/moveCollections_moveResources_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.Migrate/moveCollections" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.Migrate/moveCollections" - }, - "moveCollections_moveResources": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2021-01-01" - ] - }, - "name": { - "type": "string", - "description": "The Move Resource Name." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/MoveResourceProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Defines the move resource properties." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.Migrate/moveCollections/moveResources" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.Migrate/moveCollections/moveResources" - } - }, - "definitions": { - "AvailabilitySetResourceSettings": { - "type": "object", - "properties": { - "faultDomain": { - "oneOf": [ - { - "type": "integer", - "minimum": 1 - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Gets or sets the target fault domain." - }, - "resourceType": { - "type": "string", - "enum": [ - "Microsoft.Compute/availabilitySets" - ] - }, - "updateDomain": { - "oneOf": [ - { - "type": "integer", - "minimum": 1, - "maximum": 20 - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Gets or sets the target update domain." - } - }, - "required": [ - "resourceType" - ], - "description": "Gets or sets the availability set resource settings." - }, - "DiskEncryptionSetResourceSettings": { - "type": "object", - "properties": { - "resourceType": { - "type": "string", - "enum": [ - "Microsoft.Compute/diskEncryptionSets" - ] - } - }, - "required": [ - "resourceType" - ], - "description": "Defines the disk encryption set resource settings." - }, - "Identity": { - "type": "object", - "properties": { - "principalId": { - "type": "string", - "description": "Gets or sets the principal id." - }, - "tenantId": { - "type": "string", - "description": "Gets or sets the tenant id." - }, - "type": { - "oneOf": [ - { - "type": "string", - "enum": [ - "None", - "SystemAssigned", - "UserAssigned" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - } - }, - "description": "Defines the MSI properties of the Move Collection." - }, - "KeyVaultResourceSettings": { - "type": "object", - "properties": { - "resourceType": { - "type": "string", - "enum": [ - "Microsoft.KeyVault/vaults" - ] - } - }, - "required": [ - "resourceType" - ], - "description": "Defines the key vault resource settings." - }, - "LBBackendAddressPoolResourceSettings": { - "type": "object", - "properties": { - "name": { - "type": "string", - "description": "Gets or sets the backend address pool name." - } - }, - "description": "Defines load balancer backend address pool properties." - }, - "LBFrontendIPConfigurationResourceSettings": { - "type": "object", - "properties": { - "name": { - "type": "string", - "description": "Gets or sets the frontend IP configuration name." - }, - "privateIpAddress": { - "type": "string", - "description": "Gets or sets the IP address of the Load Balancer.This is only specified if a specific\r\nprivate IP address shall be allocated from the subnet specified in subnetRef." - }, - "privateIpAllocationMethod": { - "type": "string", - "description": "Gets or sets PrivateIP allocation method (Static/Dynamic)." - }, - "subnet": { - "oneOf": [ - { - "$ref": "#/definitions/SubnetReference" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Defines reference to subnet." - }, - "zones": { - "type": "string", - "description": "Gets or sets the csv list of zones." - } - }, - "description": "Defines load balancer frontend IP configuration properties." - }, - "LoadBalancerBackendAddressPoolReference": { - "type": "object", - "properties": { - "name": { - "type": "string", - "description": "Gets the name of the proxy resource on the target side." - }, - "sourceArmResourceId": { - "type": "string", - "description": "Gets the ARM resource ID of the tracked resource being referenced." - } - }, - "required": [ - "sourceArmResourceId" - ], - "description": "Defines reference to load balancer backend address pools." - }, - "LoadBalancerNatRuleReference": { - "type": "object", - "properties": { - "name": { - "type": "string", - "description": "Gets the name of the proxy resource on the target side." - }, - "sourceArmResourceId": { - "type": "string", - "description": "Gets the ARM resource ID of the tracked resource being referenced." - } - }, - "required": [ - "sourceArmResourceId" - ], - "description": "Defines reference to load balancer NAT rules." - }, - "LoadBalancerResourceSettings": { - "type": "object", - "properties": { - "backendAddressPools": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/definitions/LBBackendAddressPoolResourceSettings" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Gets or sets the backend address pools of the load balancer." - }, - "frontendIPConfigurations": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/definitions/LBFrontendIPConfigurationResourceSettings" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Gets or sets the frontend IP configurations of the load balancer." - }, - "resourceType": { - "type": "string", - "enum": [ - "Microsoft.Network/loadBalancers" - ] - }, - "sku": { - "type": "string", - "description": "Gets or sets load balancer sku (Basic/Standard)." - }, - "zones": { - "type": "string", - "description": "Gets or sets the csv list of zones common for all frontend IP configurations. Note this is given\r\n precedence only if frontend IP configurations settings are not present." - } - }, - "required": [ - "resourceType" - ], - "description": "Defines the load balancer resource settings." - }, - "MoveCollectionProperties": { - "type": "object", - "properties": { - "provisioningState": { - "oneOf": [ - { - "type": "string", - "enum": [ - "Succeeded", - "Updating", - "Creating", - "Failed" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "sourceRegion": { - "type": "string", - "description": "Gets or sets the source region." - }, - "targetRegion": { - "type": "string", - "description": "Gets or sets the target region." - } - }, - "required": [ - "sourceRegion", - "targetRegion" - ], - "description": "Defines the move collection properties." - }, - "moveCollections_moveResources_childResource": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2021-01-01" - ] - }, - "name": { - "type": "string", - "description": "The Move Resource Name." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/MoveResourceProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Defines the move resource properties." - }, - "type": { - "type": "string", - "enum": [ - "moveResources" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.Migrate/moveCollections/moveResources" - }, - "MoveResourceDependencyOverride": { - "type": "object", - "properties": { - "id": { - "type": "string", - "description": "Gets or sets the ARM ID of the dependent resource." - }, - "targetId": { - "type": "string", - "description": "Gets or sets the resource ARM id of either the MoveResource or the resource ARM ID of\r\nthe dependent resource." - } - }, - "description": "Defines the dependency override of the move resource." - }, - "MoveResourceProperties": { - "type": "object", - "properties": { - "dependsOnOverrides": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/definitions/MoveResourceDependencyOverride" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Gets or sets the move resource dependencies overrides." - }, - "existingTargetId": { - "type": "string", - "description": "Gets or sets the existing target ARM Id of the resource." - }, - "provisioningState": { - "oneOf": [ - { - "type": "string", - "enum": [ - "Succeeded", - "Updating", - "Creating", - "Failed" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "resourceSettings": { - "oneOf": [ - { - "$ref": "#/definitions/ResourceSettings" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Gets or sets the resource settings." - }, - "sourceId": { - "type": "string", - "description": "Gets or sets the Source ARM Id of the resource." - } - }, - "required": [ - "sourceId" - ], - "description": "Defines the move resource properties." - }, - "NetworkInterfaceResourceSettings": { - "type": "object", - "properties": { - "enableAcceleratedNetworking": { - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Gets or sets a value indicating whether accelerated networking is enabled." - }, - "ipConfigurations": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/definitions/NicIpConfigurationResourceSettings" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Gets or sets the IP configurations of the NIC." - }, - "resourceType": { - "type": "string", - "enum": [ - "Microsoft.Network/networkInterfaces" - ] - } - }, - "required": [ - "resourceType" - ], - "description": "Defines the network interface resource settings." - }, - "NetworkSecurityGroupResourceSettings": { - "type": "object", - "properties": { - "resourceType": { - "type": "string", - "enum": [ - "Microsoft.Network/networkSecurityGroups" - ] - }, - "securityRules": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/definitions/NsgSecurityRule" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Gets or sets Security rules of network security group." - } - }, - "required": [ - "resourceType" - ], - "description": "Defines the NSG resource settings." - }, - "NicIpConfigurationResourceSettings": { - "type": "object", - "properties": { - "loadBalancerBackendAddressPools": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/definitions/LoadBalancerBackendAddressPoolReference" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Gets or sets the references of the load balancer backend address pools." - }, - "loadBalancerNatRules": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/definitions/LoadBalancerNatRuleReference" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Gets or sets the references of the load balancer NAT rules." - }, - "name": { - "type": "string", - "description": "Gets or sets the IP configuration name." - }, - "primary": { - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Gets or sets a value indicating whether this IP configuration is the primary." - }, - "privateIpAddress": { - "type": "string", - "description": "Gets or sets the private IP address of the network interface IP Configuration." - }, - "privateIpAllocationMethod": { - "type": "string", - "description": "Gets or sets the private IP address allocation method." - }, - "publicIp": { - "oneOf": [ - { - "$ref": "#/definitions/PublicIpReference" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Defines reference to a public IP." - }, - "subnet": { - "oneOf": [ - { - "$ref": "#/definitions/SubnetReference" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Defines reference to subnet." - } - }, - "description": "Defines NIC IP configuration properties." - }, - "NsgReference": { - "type": "object", - "properties": { - "sourceArmResourceId": { - "type": "string", - "description": "Gets the ARM resource ID of the tracked resource being referenced." - } - }, - "required": [ - "sourceArmResourceId" - ], - "description": "Defines reference to NSG." - }, - "NsgSecurityRule": { - "type": "object", - "properties": { - "access": { - "type": "string", - "description": "Gets or sets whether network traffic is allowed or denied.\r\nPossible values are “Allow” and “Deny”." - }, - "description": { - "type": "string", - "description": "Gets or sets a description for this rule. Restricted to 140 chars." - }, - "destinationAddressPrefix": { - "type": "string", - "description": "Gets or sets destination address prefix. CIDR or source IP range.\r\n A “*” can also be used to match all source IPs. Default tags such\r\nas ‘VirtualNetwork’, ‘AzureLoadBalancer’ and ‘Internet’ can also be used." - }, - "destinationPortRange": { - "type": "string", - "description": "Gets or sets Destination Port or Range. Integer or range between\r\n0 and 65535. A “*” can also be used to match all ports." - }, - "direction": { - "type": "string", - "description": "Gets or sets the direction of the rule.InBound or Outbound. The\r\ndirection specifies if rule will be evaluated on incoming or outgoing traffic." - }, - "name": { - "type": "string", - "description": "Gets or sets the Security rule name." - }, - "priority": { - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Gets or sets the priority of the rule. The value can be between\r\n100 and 4096. The priority number must be unique for each rule in the collection.\r\nThe lower the priority number, the higher the priority of the rule." - }, - "protocol": { - "type": "string", - "description": "Gets or sets Network protocol this rule applies to. Can be Tcp, Udp or All(*)." - }, - "sourceAddressPrefix": { - "type": "string", - "description": "Gets or sets source address prefix. CIDR or source IP range. A\r\n“*” can also be used to match all source IPs. Default tags such as ‘VirtualNetwork’,\r\n‘AzureLoadBalancer’ and ‘Internet’ can also be used. If this is an ingress\r\nrule, specifies where network traffic originates from." - }, - "sourcePortRange": { - "type": "string", - "description": "Gets or sets Source Port or Range. Integer or range between 0 and\r\n65535. A “*” can also be used to match all ports." - } - }, - "description": "Security Rule data model for Network Security Groups." - }, - "PublicIPAddressResourceSettings": { - "type": "object", - "properties": { - "domainNameLabel": { - "type": "string", - "description": "Gets or sets the domain name label." - }, - "fqdn": { - "type": "string", - "description": "Gets or sets the fully qualified domain name." - }, - "publicIpAllocationMethod": { - "type": "string", - "description": "Gets or sets public IP allocation method." - }, - "resourceType": { - "type": "string", - "enum": [ - "Microsoft.Network/publicIPAddresses" - ] - }, - "sku": { - "type": "string", - "description": "Gets or sets public IP sku." - }, - "zones": { - "type": "string", - "description": "Gets or sets public IP zones." - } - }, - "required": [ - "resourceType" - ], - "description": "Defines the public IP address resource settings." - }, - "PublicIpReference": { - "type": "object", - "properties": { - "sourceArmResourceId": { - "type": "string", - "description": "Gets the ARM resource ID of the tracked resource being referenced." - } - }, - "required": [ - "sourceArmResourceId" - ], - "description": "Defines reference to a public IP." - }, - "ResourceGroupResourceSettings": { - "type": "object", - "properties": { - "resourceType": { - "type": "string", - "enum": [ - "resourceGroups" - ] - } - }, - "required": [ - "resourceType" - ], - "description": "Defines the resource group resource settings." - }, - "ResourceSettings": { - "type": "object", - "oneOf": [ - { - "$ref": "#/definitions/VirtualMachineResourceSettings" - }, - { - "$ref": "#/definitions/AvailabilitySetResourceSettings" - }, - { - "$ref": "#/definitions/VirtualNetworkResourceSettings" - }, - { - "$ref": "#/definitions/NetworkInterfaceResourceSettings" - }, - { - "$ref": "#/definitions/NetworkSecurityGroupResourceSettings" - }, - { - "$ref": "#/definitions/LoadBalancerResourceSettings" - }, - { - "$ref": "#/definitions/SqlServerResourceSettings" - }, - { - "$ref": "#/definitions/SqlElasticPoolResourceSettings" - }, - { - "$ref": "#/definitions/SqlDatabaseResourceSettings" - }, - { - "$ref": "#/definitions/ResourceGroupResourceSettings" - }, - { - "$ref": "#/definitions/PublicIPAddressResourceSettings" - }, - { - "$ref": "#/definitions/KeyVaultResourceSettings" - }, - { - "$ref": "#/definitions/DiskEncryptionSetResourceSettings" - } - ], - "properties": { - "targetResourceName": { - "type": "string", - "description": "Gets or sets the target Resource name." - } - }, - "required": [ - "targetResourceName" - ], - "description": "Gets or sets the resource settings." - }, - "SqlDatabaseResourceSettings": { - "type": "object", - "properties": { - "resourceType": { - "type": "string", - "enum": [ - "Microsoft.Sql/servers/databases" - ] - }, - "zoneRedundant": { - "oneOf": [ - { - "type": "string", - "enum": [ - "Enable", - "Disable" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - } - }, - "required": [ - "resourceType" - ], - "description": "Defines the Sql Database resource settings." - }, - "SqlElasticPoolResourceSettings": { - "type": "object", - "properties": { - "resourceType": { - "type": "string", - "enum": [ - "Microsoft.Sql/servers/elasticPools" - ] - }, - "zoneRedundant": { - "oneOf": [ - { - "type": "string", - "enum": [ - "Enable", - "Disable" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - } - }, - "required": [ - "resourceType" - ], - "description": "Defines the Sql ElasticPool resource settings." - }, - "SqlServerResourceSettings": { - "type": "object", - "properties": { - "resourceType": { - "type": "string", - "enum": [ - "Microsoft.Sql/servers" - ] - } - }, - "required": [ - "resourceType" - ], - "description": "Defines the SQL Server resource settings." - }, - "SubnetReference": { - "type": "object", - "properties": { - "name": { - "type": "string", - "description": "Gets the name of the proxy resource on the target side." - }, - "sourceArmResourceId": { - "type": "string", - "description": "Gets the ARM resource ID of the tracked resource being referenced." - } - }, - "required": [ - "sourceArmResourceId" - ], - "description": "Defines reference to subnet." - }, - "SubnetResourceSettings": { - "type": "object", - "properties": { - "addressPrefix": { - "type": "string", - "description": "Gets or sets address prefix for the subnet." - }, - "name": { - "type": "string", - "description": "Gets or sets the Subnet name." - }, - "networkSecurityGroup": { - "oneOf": [ - { - "$ref": "#/definitions/NsgReference" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Defines reference to NSG." - } - }, - "description": "Defines the virtual network subnets resource settings." - }, - "VirtualMachineResourceSettings": { - "type": "object", - "properties": { - "resourceType": { - "type": "string", - "enum": [ - "Microsoft.Compute/virtualMachines" - ] - }, - "targetAvailabilitySetId": { - "type": "string", - "description": "Gets or sets the target availability set id for virtual machines not in an availability set at source." - }, - "targetAvailabilityZone": { - "oneOf": [ - { - "type": "string", - "enum": [ - "1", - "2", - "3", - "NA" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Gets or sets the target availability zone." - }, - "targetVmSize": { - "type": "string", - "description": "Gets or sets the target virtual machine size." - } - }, - "required": [ - "resourceType" - ], - "description": "Gets or sets the virtual machine resource settings." - }, - "VirtualNetworkResourceSettings": { - "type": "object", - "properties": { - "addressSpace": { - "oneOf": [ - { - "type": "array", - "items": { - "type": "string" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Gets or sets the address prefixes for the virtual network." - }, - "dnsServers": { - "oneOf": [ - { - "type": "array", - "items": { - "type": "string" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Gets or sets DHCPOptions that contains an array of DNS servers available to VMs\r\ndeployed in the virtual network." - }, - "enableDdosProtection": { - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Gets or sets a value indicating whether gets or sets whether the\r\nDDOS protection should be switched on." - }, - "resourceType": { - "type": "string", - "enum": [ - "Microsoft.Network/virtualNetworks" - ] - }, - "subnets": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/definitions/SubnetResourceSettings" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Gets or sets List of subnets in a VirtualNetwork." - } - }, - "required": [ - "resourceType" - ], - "description": "Defines the virtual network resource settings." - } - } -} \ No newline at end of file diff --git a/schemas/2021-03-01-preview/Microsoft.MachineLearningServices.json b/schemas/2021-03-01-preview/Microsoft.MachineLearningServices.json index 84e868319a..dd58eed844 100644 --- a/schemas/2021-03-01-preview/Microsoft.MachineLearningServices.json +++ b/schemas/2021-03-01-preview/Microsoft.MachineLearningServices.json @@ -159,7 +159,8 @@ "description": "Service identity associated with a resource." }, "kind": { - "type": "string" + "type": "string", + "description": "Metadata used by portal/tooling/etc to render different UX experiences for resources of the same type." }, "location": { "type": "string", @@ -242,7 +243,8 @@ "description": "Service identity associated with a resource." }, "kind": { - "type": "string" + "type": "string", + "description": "Metadata used by portal/tooling/etc to render different UX experiences for resources of the same type." }, "location": { "type": "string", @@ -913,7 +915,8 @@ "description": "Service identity associated with a resource." }, "kind": { - "type": "string" + "type": "string", + "description": "Metadata used by portal/tooling/etc to render different UX experiences for resources of the same type." }, "location": { "type": "string", @@ -996,7 +999,8 @@ "description": "Service identity associated with a resource." }, "kind": { - "type": "string" + "type": "string", + "description": "Metadata used by portal/tooling/etc to render different UX experiences for resources of the same type." }, "location": { "type": "string", @@ -1551,7 +1555,8 @@ { "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" } - ] + ], + "description": "Target CPU usage for the autoscaler." } }, "required": [ @@ -2019,7 +2024,8 @@ { "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" } - ] + ], + "description": "Absolute distance allowed from the best performing run." }, "slackFactor": { "oneOf": [ @@ -2029,13 +2035,14 @@ { "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" } - ] + ], + "description": "Ratio of the allowed distance from the best performing run." } }, "required": [ "policyType" ], - "description": "Defines an early termination policy based on slack criteria, and a frequency and delay interval for evaluation" + "description": "Defines an early termination policy based on slack criteria, and a frequency and delay interval for evaluation." }, "BatchDeployment": { "type": "object", @@ -3614,7 +3621,8 @@ { "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" } - ] + ], + "description": "Number of intervals by which to delay the first evaluation." }, "evaluationInterval": { "oneOf": [ @@ -3624,10 +3632,11 @@ { "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" } - ] + ], + "description": "Interval (number of runs) between policy evaluations." } }, - "description": "Early termination policies enable canceling poor-performing runs before they complete" + "description": "Early termination policies enable canceling poor-performing runs before they complete." }, "EncryptionProperty": { "type": "object", @@ -3819,7 +3828,8 @@ { "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" } - ] + ], + "description": "Model flavor-specific data." } } }, @@ -4535,7 +4545,8 @@ ] }, "instanceType": { - "type": "string" + "type": "string", + "description": "Compute instance type." }, "readinessProbe": { "oneOf": [ @@ -4545,7 +4556,8 @@ { "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" } - ] + ], + "description": "Deployment container liveness/readiness probe configuration." } }, "required": [ @@ -4563,7 +4575,8 @@ { "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" } - ] + ], + "description": "Fixed number of instances for this deployment." }, "scaleType": { "type": "string", @@ -4589,7 +4602,7 @@ "required": [ "policyType" ], - "description": "Defines an early termination policy based on running averages of the primary metric of all runs" + "description": "Defines an early termination policy based on running averages of the primary metric of all runs." }, "MLAssistConfiguration": { "type": "object", @@ -4771,7 +4784,8 @@ { "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" } - ] + ], + "description": "Number of processes per MPI node." } }, "required": [ @@ -4837,13 +4851,15 @@ { "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" } - ] + ], + "description": "Name of the metric to optimize." } }, "required": [ "goal", "primaryMetric" - ] + ], + "description": "Optimization objective." }, "OnlineDeployment": { "type": "object", @@ -4909,7 +4925,8 @@ { "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" } - ] + ], + "description": "Deployment container liveness/readiness probe configuration." }, "model": { "oneOf": [ @@ -4945,7 +4962,8 @@ { "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" } - ] + ], + "description": "Online deployment scoring requests configuration." }, "scaleSettings": { "oneOf": [ @@ -4955,7 +4973,8 @@ { "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" } - ] + ], + "description": "Online deployment scaling configuration." } } }, @@ -5044,7 +5063,8 @@ { "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" } - ] + ], + "description": "The number of requests allowed to queue at once for this deployment." }, "maxQueueWait": { "type": "string", @@ -5056,7 +5076,8 @@ "format": "duration", "description": "The request timeout in ISO 8601 format. Supports millisecond precision." } - } + }, + "description": "Online deployment scoring requests configuration." }, "OnlineScaleSettings": { "type": "object", @@ -5077,7 +5098,8 @@ { "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" } - ] + ], + "description": "Maximum number of instances for this deployment." }, "minInstances": { "oneOf": [ @@ -5087,9 +5109,11 @@ { "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" } - ] + ], + "description": "Minimum number of instances for this deployment." } - } + }, + "description": "Online deployment scaling configuration." }, "OutputDataBinding": { "type": "object", @@ -5289,7 +5313,8 @@ "format": "duration", "description": "The probe timeout in ISO 8601 format." } - } + }, + "description": "Deployment container liveness/readiness probe configuration." }, "PyTorch": { "type": "object", @@ -5945,7 +5970,7 @@ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" } ], - "description": "Early termination policies enable canceling poor-performing runs before they complete" + "description": "Early termination policies enable canceling poor-performing runs before they complete." }, "experimentName": { "type": "string", @@ -5976,7 +6001,8 @@ { "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" } - ] + ], + "description": "An upper bound on the number of trials performed in parallel." }, "maxTotalTrials": { "oneOf": [ @@ -5986,7 +6012,8 @@ { "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" } - ] + ], + "description": "An upper bound on the number of trials to perform." }, "objective": { "oneOf": [ @@ -5996,7 +6023,8 @@ { "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" } - ] + ], + "description": "Optimization objective." }, "priority": { "oneOf": [ @@ -6126,7 +6154,8 @@ { "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" } - ] + ], + "description": "Number of parameter server tasks." }, "workerCount": { "oneOf": [ @@ -6253,7 +6282,8 @@ { "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" } - ] + ], + "description": "The percentage of runs to cancel at each evaluation interval." } }, "required": [ @@ -6564,7 +6594,8 @@ "description": "Service identity associated with a resource." }, "kind": { - "type": "string" + "type": "string", + "description": "Metadata used by portal/tooling/etc to render different UX experiences for resources of the same type." }, "location": { "type": "string", @@ -6637,7 +6668,8 @@ "description": "Service identity associated with a resource." }, "kind": { - "type": "string" + "type": "string", + "description": "Metadata used by portal/tooling/etc to render different UX experiences for resources of the same type." }, "location": { "type": "string", @@ -7268,7 +7300,8 @@ "description": "Service identity associated with a resource." }, "kind": { - "type": "string" + "type": "string", + "description": "Metadata used by portal/tooling/etc to render different UX experiences for resources of the same type." }, "location": { "type": "string", @@ -7341,7 +7374,8 @@ "description": "Service identity associated with a resource." }, "kind": { - "type": "string" + "type": "string", + "description": "Metadata used by portal/tooling/etc to render different UX experiences for resources of the same type." }, "location": { "type": "string", diff --git a/schemas/2021-06-01-preview/Microsoft.EventGrid.json b/schemas/2021-06-01-preview/Microsoft.EventGrid.json index c0ac379f79..b51b3cc69c 100644 --- a/schemas/2021-06-01-preview/Microsoft.EventGrid.json +++ b/schemas/2021-06-01-preview/Microsoft.EventGrid.json @@ -2577,7 +2577,8 @@ "isSecret": { "oneOf": [ { - "type": "boolean" + "type": "boolean", + "default": false }, { "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" diff --git a/schemas/common/autogeneratedResources.json b/schemas/common/autogeneratedResources.json index e65d201780..b79cbefaf1 100644 --- a/schemas/common/autogeneratedResources.json +++ b/schemas/common/autogeneratedResources.json @@ -6937,12 +6937,6 @@ { "$ref": "https://schema.management.azure.com/schemas/2018-02-02/Microsoft.Migrate.json#/resourceDefinitions/projects_groups_assessments" }, - { - "$ref": "https://schema.management.azure.com/schemas/2018-09-01-preview/Microsoft.Migrate.json#/resourceDefinitions/migrateProjects" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2018-09-01-preview/Microsoft.Migrate.json#/resourceDefinitions/migrateProjects_solutions" - }, { "$ref": "https://schema.management.azure.com/schemas/2019-10-01/Microsoft.Migrate.json#/resourceDefinitions/assessmentProjects" }, @@ -6967,18 +6961,6 @@ { "$ref": "https://schema.management.azure.com/schemas/2019-10-01/Microsoft.Migrate.json#/resourceDefinitions/assessmentProjects_vmwarecollectors" }, - { - "$ref": "https://schema.management.azure.com/schemas/2019-10-01-preview/Microsoft.Migrate.json#/resourceDefinitions/moveCollections" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2019-10-01-preview/Microsoft.Migrate.json#/resourceDefinitions/moveCollections_moveResources" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2021-01-01/Microsoft.Migrate.json#/resourceDefinitions/moveCollections" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2021-01-01/Microsoft.Migrate.json#/resourceDefinitions/moveCollections_moveResources" - }, { "$ref": "https://schema.management.azure.com/schemas/2019-02-28-preview/Microsoft.MixedReality.json#/resourceDefinitions/spatialAnchorsAccounts" }, From 4fa739f3049faa6b15dca7f0f7e8e97cc683f349 Mon Sep 17 00:00:00 2001 From: Autogenerator Pipeline Date: Tue, 3 Aug 2021 10:38:37 +0000 Subject: [PATCH 26/64] Autogenerate schemas --- .../subscriptionDeploymentTemplate.json | 12 - .../2018-09-01-preview/Microsoft.Migrate.json | 517 ++++++++ .../2019-10-01-preview/Microsoft.Migrate.json | 1054 +++++++++++++++++ .../Microsoft.Security.json | 279 ----- schemas/2021-01-01/Microsoft.Migrate.json | 1054 +++++++++++++++++ schemas/common/autogeneratedResources.json | 18 + 6 files changed, 2643 insertions(+), 291 deletions(-) create mode 100644 schemas/2018-09-01-preview/Microsoft.Migrate.json create mode 100644 schemas/2019-10-01-preview/Microsoft.Migrate.json delete mode 100644 schemas/2020-08-06-preview/Microsoft.Security.json create mode 100644 schemas/2021-01-01/Microsoft.Migrate.json diff --git a/schemas/2018-05-01/subscriptionDeploymentTemplate.json b/schemas/2018-05-01/subscriptionDeploymentTemplate.json index b1aed722b5..4cb40f6622 100644 --- a/schemas/2018-05-01/subscriptionDeploymentTemplate.json +++ b/schemas/2018-05-01/subscriptionDeploymentTemplate.json @@ -1034,18 +1034,6 @@ { "$ref": "https://schema.management.azure.com/schemas/2020-01-01-preview/Microsoft.Security.json#/subscription_resourceDefinitions/connectors" }, - { - "$ref": "https://schema.management.azure.com/schemas/2020-08-06-preview/Microsoft.Security.json#/subscription_resourceDefinitions/iotDefenderSettings" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2020-08-06-preview/Microsoft.Security.json#/subscription_resourceDefinitions/onPremiseIotSensors" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2020-08-06-preview/Microsoft.Security.json#/unknown_resourceDefinitions/iotSensors" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2020-08-06-preview/Microsoft.Security.json#/unknown_resourceDefinitions/iotSites" - }, { "$ref": "https://schema.management.azure.com/schemas/2021-01-15-preview/Microsoft.Security.json#/subscription_resourceDefinitions/ingestionSettings" }, diff --git a/schemas/2018-09-01-preview/Microsoft.Migrate.json b/schemas/2018-09-01-preview/Microsoft.Migrate.json new file mode 100644 index 0000000000..074e3e9b7c --- /dev/null +++ b/schemas/2018-09-01-preview/Microsoft.Migrate.json @@ -0,0 +1,517 @@ +{ + "id": "https://schema.management.azure.com/schemas/2018-09-01-preview/Microsoft.Migrate.json#", + "$schema": "http://json-schema.org/draft-04/schema#", + "title": "Microsoft.Migrate", + "description": "Microsoft Migrate Resource Types", + "resourceDefinitions": { + "migrateProjects": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2018-09-01-preview" + ] + }, + "eTag": { + "type": "string", + "description": "Gets or sets the eTag for concurrency control." + }, + "location": { + "type": "string", + "description": "Gets or sets the Azure location in which migrate project is created." + }, + "name": { + "type": "string", + "description": "Name of the Azure Migrate project." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/MigrateProjectProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Class for migrate project properties." + }, + "resources": { + "type": "array", + "items": { + "oneOf": [ + { + "$ref": "#/definitions/migrateProjects_solutions_childResource" + } + ] + } + }, + "tags": { + "oneOf": [ + { + "$ref": "#/definitions/MigrateProjectTags" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Gets or sets the tags." + }, + "type": { + "type": "string", + "enum": [ + "Microsoft.Migrate/migrateProjects" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.Migrate/migrateProjects" + }, + "migrateProjects_solutions": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2018-09-01-preview" + ] + }, + "etag": { + "type": "string", + "description": "Gets or sets the ETAG for optimistic concurrency control." + }, + "name": { + "type": "string", + "description": "Unique name of a migration solution within a migrate project." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/SolutionProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Class for solution properties." + }, + "type": { + "type": "string", + "enum": [ + "Microsoft.Migrate/migrateProjects/solutions" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.Migrate/migrateProjects/solutions" + } + }, + "definitions": { + "DatabasesSolutionSummary": { + "type": "object", + "properties": { + "databaseInstancesAssessedCount": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Gets or sets the count of database instances assessed." + }, + "databasesAssessedCount": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Gets or sets the count of databases assessed." + }, + "instanceType": { + "type": "string", + "enum": [ + "Databases" + ] + }, + "migrationReadyCount": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Gets or sets the count of databases ready for migration." + } + }, + "required": [ + "instanceType" + ], + "description": "Class representing the databases solution summary." + }, + "MigrateProjectProperties": { + "type": "object", + "properties": { + "provisioningState": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Accepted", + "Creating", + "Deleting", + "Failed", + "Moving", + "Succeeded" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Provisioning state of the migrate project." + }, + "registeredTools": { + "oneOf": [ + { + "type": "array", + "items": { + "type": "string", + "enum": [ + "ServerDiscovery", + "ServerAssessment", + "ServerMigration", + "Cloudamize", + "Turbonomic", + "Zerto", + "CorentTech", + "ServerAssessmentV1", + "ServerMigration_Replication", + "Carbonite", + "DataMigrationAssistant", + "DatabaseMigrationService" + ] + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Gets or sets the list of tools registered with the migrate project." + } + }, + "description": "Class for migrate project properties." + }, + "migrateProjects_solutions_childResource": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2018-09-01-preview" + ] + }, + "etag": { + "type": "string", + "description": "Gets or sets the ETAG for optimistic concurrency control." + }, + "name": { + "type": "string", + "description": "Unique name of a migration solution within a migrate project." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/SolutionProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Class for solution properties." + }, + "type": { + "type": "string", + "enum": [ + "solutions" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.Migrate/migrateProjects/solutions" + }, + "MigrateProjectTags": { + "type": "object", + "properties": { + "additionalProperties": { + "type": "string" + } + }, + "description": "Gets or sets the tags." + }, + "ServersSolutionSummary": { + "type": "object", + "properties": { + "assessedCount": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Gets or sets the count of servers assessed." + }, + "discoveredCount": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Gets or sets the count of servers discovered." + }, + "instanceType": { + "type": "string", + "enum": [ + "Servers" + ] + }, + "migratedCount": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Gets or sets the count of servers migrated." + }, + "replicatingCount": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Gets or sets the count of servers being replicated." + }, + "testMigratedCount": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Gets or sets the count of servers test migrated." + } + }, + "required": [ + "instanceType" + ], + "description": "Class representing the servers solution summary." + }, + "SolutionDetails": { + "type": "object", + "properties": { + "assessmentCount": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Gets or sets the count of assessments reported by the solution." + }, + "extendedDetails": { + "oneOf": [ + { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "properties": {} + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Gets or sets the extended details reported by the solution." + }, + "groupCount": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Gets or sets the count of groups reported by the solution." + } + }, + "description": "Class representing the details of the solution." + }, + "SolutionProperties": { + "type": "object", + "properties": { + "cleanupState": { + "oneOf": [ + { + "type": "string", + "enum": [ + "None", + "Started", + "InProgress", + "Completed", + "Failed" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Gets or sets the cleanup state of the solution." + }, + "details": { + "oneOf": [ + { + "$ref": "#/definitions/SolutionDetails" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Class representing the details of the solution." + }, + "goal": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Servers", + "Databases" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Gets or sets the goal of the solution." + }, + "purpose": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Discovery", + "Assessment", + "Migration" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Gets or sets the purpose of the solution." + }, + "status": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Inactive", + "Active" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Gets or sets the current status of the solution." + }, + "summary": { + "oneOf": [ + { + "$ref": "#/definitions/SolutionSummary" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The solution summary class." + }, + "tool": { + "oneOf": [ + { + "type": "string", + "enum": [ + "ServerDiscovery", + "ServerAssessment", + "ServerMigration", + "Cloudamize", + "Turbonomic", + "Zerto", + "CorentTech", + "ServerAssessmentV1", + "ServerMigration_Replication", + "Carbonite", + "DataMigrationAssistant", + "DatabaseMigrationService" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Gets or sets the tool being used in the solution." + } + }, + "description": "Class for solution properties." + }, + "SolutionSummary": { + "type": "object", + "oneOf": [ + { + "$ref": "#/definitions/ServersSolutionSummary" + }, + { + "$ref": "#/definitions/DatabasesSolutionSummary" + } + ], + "properties": {}, + "description": "The solution summary class." + } + } +} \ No newline at end of file diff --git a/schemas/2019-10-01-preview/Microsoft.Migrate.json b/schemas/2019-10-01-preview/Microsoft.Migrate.json new file mode 100644 index 0000000000..69d60e191b --- /dev/null +++ b/schemas/2019-10-01-preview/Microsoft.Migrate.json @@ -0,0 +1,1054 @@ +{ + "id": "https://schema.management.azure.com/schemas/2019-10-01-preview/Microsoft.Migrate.json#", + "$schema": "http://json-schema.org/draft-04/schema#", + "title": "Microsoft.Migrate", + "description": "Microsoft Migrate Resource Types", + "resourceDefinitions": { + "moveCollections": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2019-10-01-preview" + ] + }, + "identity": { + "oneOf": [ + { + "$ref": "#/definitions/Identity" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Defines the MSI properties of the Move Collection." + }, + "location": { + "type": "string", + "description": "The geo-location where the resource lives." + }, + "name": { + "type": "string", + "description": "The Move Collection Name." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/MoveCollectionProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Defines the move collection properties." + }, + "resources": { + "type": "array", + "items": { + "oneOf": [ + { + "$ref": "#/definitions/moveCollections_moveResources_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.Migrate/moveCollections" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.Migrate/moveCollections" + }, + "moveCollections_moveResources": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2019-10-01-preview" + ] + }, + "name": { + "type": "string", + "description": "The Move Resource Name." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/MoveResourceProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Defines the move resource properties." + }, + "type": { + "type": "string", + "enum": [ + "Microsoft.Migrate/moveCollections/moveResources" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.Migrate/moveCollections/moveResources" + } + }, + "definitions": { + "AvailabilitySetResourceSettings": { + "type": "object", + "properties": { + "faultDomain": { + "oneOf": [ + { + "type": "integer", + "minimum": 1 + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Gets or sets the target fault domain." + }, + "resourceType": { + "type": "string", + "enum": [ + "Microsoft.Compute/availabilitySets" + ] + }, + "updateDomain": { + "oneOf": [ + { + "type": "integer", + "minimum": 1, + "maximum": 20 + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Gets or sets the target update domain." + } + }, + "required": [ + "resourceType" + ], + "description": "Gets or sets the availability set resource settings." + }, + "DiskEncryptionSetResourceSettings": { + "type": "object", + "properties": { + "resourceType": { + "type": "string", + "enum": [ + "Microsoft.Compute/diskEncryptionSets" + ] + } + }, + "required": [ + "resourceType" + ], + "description": "Defines the disk encryption set resource settings." + }, + "Identity": { + "type": "object", + "properties": { + "principalId": { + "type": "string", + "description": "Gets or sets the principal id." + }, + "tenantId": { + "type": "string", + "description": "Gets or sets the tenant id." + }, + "type": { + "oneOf": [ + { + "type": "string", + "enum": [ + "None", + "SystemAssigned", + "UserAssigned" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ] + } + }, + "description": "Defines the MSI properties of the Move Collection." + }, + "KeyVaultResourceSettings": { + "type": "object", + "properties": { + "resourceType": { + "type": "string", + "enum": [ + "Microsoft.KeyVault/vaults" + ] + } + }, + "required": [ + "resourceType" + ], + "description": "Defines the key vault resource settings." + }, + "LBBackendAddressPoolResourceSettings": { + "type": "object", + "properties": { + "name": { + "type": "string", + "description": "Gets or sets the backend address pool name." + } + }, + "description": "Defines load balancer backend address pool properties." + }, + "LBFrontendIPConfigurationResourceSettings": { + "type": "object", + "properties": { + "name": { + "type": "string", + "description": "Gets or sets the frontend IP configuration name." + }, + "privateIpAddress": { + "type": "string", + "description": "Gets or sets the IP address of the Load Balancer.This is only specified if a specific\r\nprivate IP address shall be allocated from the subnet specified in subnetRef." + }, + "privateIpAllocationMethod": { + "type": "string", + "description": "Gets or sets PrivateIP allocation method (Static/Dynamic)." + }, + "subnet": { + "oneOf": [ + { + "$ref": "#/definitions/SubnetReference" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Defines reference to subnet." + }, + "zones": { + "type": "string", + "description": "Gets or sets the csv list of zones." + } + }, + "description": "Defines load balancer frontend IP configuration properties." + }, + "LoadBalancerBackendAddressPoolReference": { + "type": "object", + "properties": { + "name": { + "type": "string", + "description": "Gets the name of the proxy resource on the target side." + }, + "sourceArmResourceId": { + "type": "string", + "description": "Gets the ARM resource ID of the tracked resource being referenced." + } + }, + "required": [ + "sourceArmResourceId" + ], + "description": "Defines reference to load balancer backend address pools." + }, + "LoadBalancerNatRuleReference": { + "type": "object", + "properties": { + "name": { + "type": "string", + "description": "Gets the name of the proxy resource on the target side." + }, + "sourceArmResourceId": { + "type": "string", + "description": "Gets the ARM resource ID of the tracked resource being referenced." + } + }, + "required": [ + "sourceArmResourceId" + ], + "description": "Defines reference to load balancer NAT rules." + }, + "LoadBalancerResourceSettings": { + "type": "object", + "properties": { + "backendAddressPools": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/LBBackendAddressPoolResourceSettings" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Gets or sets the backend address pools of the load balancer." + }, + "frontendIPConfigurations": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/LBFrontendIPConfigurationResourceSettings" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Gets or sets the frontend IP configurations of the load balancer." + }, + "resourceType": { + "type": "string", + "enum": [ + "Microsoft.Network/loadBalancers" + ] + }, + "sku": { + "type": "string", + "description": "Gets or sets load balancer sku (Basic/Standard)." + }, + "zones": { + "type": "string", + "description": "Gets or sets the csv list of zones common for all frontend IP configurations. Note this is given\r\n precedence only if frontend IP configurations settings are not present." + } + }, + "required": [ + "resourceType" + ], + "description": "Defines the load balancer resource settings." + }, + "MoveCollectionProperties": { + "type": "object", + "properties": { + "provisioningState": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Succeeded", + "Updating", + "Creating", + "Failed" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ] + }, + "sourceRegion": { + "type": "string", + "description": "Gets or sets the source region." + }, + "targetRegion": { + "type": "string", + "description": "Gets or sets the target region." + } + }, + "required": [ + "sourceRegion", + "targetRegion" + ], + "description": "Defines the move collection properties." + }, + "moveCollections_moveResources_childResource": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2019-10-01-preview" + ] + }, + "name": { + "type": "string", + "description": "The Move Resource Name." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/MoveResourceProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Defines the move resource properties." + }, + "type": { + "type": "string", + "enum": [ + "moveResources" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.Migrate/moveCollections/moveResources" + }, + "MoveResourceDependencyOverride": { + "type": "object", + "properties": { + "id": { + "type": "string", + "description": "Gets or sets the ARM ID of the dependent resource." + }, + "targetId": { + "type": "string", + "description": "Gets or sets the resource ARM id of either the MoveResource or the resource ARM ID of\r\nthe dependent resource." + } + }, + "description": "Defines the dependency override of the move resource." + }, + "MoveResourceProperties": { + "type": "object", + "properties": { + "dependsOnOverrides": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/MoveResourceDependencyOverride" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Gets or sets the move resource dependencies overrides." + }, + "existingTargetId": { + "type": "string", + "description": "Gets or sets the existing target ARM Id of the resource." + }, + "provisioningState": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Succeeded", + "Updating", + "Creating", + "Failed" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ] + }, + "resourceSettings": { + "oneOf": [ + { + "$ref": "#/definitions/ResourceSettings" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Gets or sets the resource settings." + }, + "sourceId": { + "type": "string", + "description": "Gets or sets the Source ARM Id of the resource." + } + }, + "required": [ + "sourceId" + ], + "description": "Defines the move resource properties." + }, + "NetworkInterfaceResourceSettings": { + "type": "object", + "properties": { + "enableAcceleratedNetworking": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Gets or sets a value indicating whether accelerated networking is enabled." + }, + "ipConfigurations": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/NicIpConfigurationResourceSettings" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Gets or sets the IP configurations of the NIC." + }, + "resourceType": { + "type": "string", + "enum": [ + "Microsoft.Network/networkInterfaces" + ] + } + }, + "required": [ + "resourceType" + ], + "description": "Defines the network interface resource settings." + }, + "NetworkSecurityGroupResourceSettings": { + "type": "object", + "properties": { + "resourceType": { + "type": "string", + "enum": [ + "Microsoft.Network/networkSecurityGroups" + ] + }, + "securityRules": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/NsgSecurityRule" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Gets or sets Security rules of network security group." + } + }, + "required": [ + "resourceType" + ], + "description": "Defines the NSG resource settings." + }, + "NicIpConfigurationResourceSettings": { + "type": "object", + "properties": { + "loadBalancerBackendAddressPools": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/LoadBalancerBackendAddressPoolReference" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Gets or sets the references of the load balancer backend address pools." + }, + "loadBalancerNatRules": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/LoadBalancerNatRuleReference" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Gets or sets the references of the load balancer NAT rules." + }, + "name": { + "type": "string", + "description": "Gets or sets the IP configuration name." + }, + "primary": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Gets or sets a value indicating whether this IP configuration is the primary." + }, + "privateIpAddress": { + "type": "string", + "description": "Gets or sets the private IP address of the network interface IP Configuration." + }, + "privateIpAllocationMethod": { + "type": "string", + "description": "Gets or sets the private IP address allocation method." + }, + "publicIp": { + "oneOf": [ + { + "$ref": "#/definitions/PublicIpReference" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Defines reference to a public IP." + }, + "subnet": { + "oneOf": [ + { + "$ref": "#/definitions/SubnetReference" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Defines reference to subnet." + } + }, + "description": "Defines NIC IP configuration properties." + }, + "NsgReference": { + "type": "object", + "properties": { + "sourceArmResourceId": { + "type": "string", + "description": "Gets the ARM resource ID of the tracked resource being referenced." + } + }, + "required": [ + "sourceArmResourceId" + ], + "description": "Defines reference to NSG." + }, + "NsgSecurityRule": { + "type": "object", + "properties": { + "access": { + "type": "string", + "description": "Gets or sets whether network traffic is allowed or denied.\r\nPossible values are “Allow” and “Deny”." + }, + "description": { + "type": "string", + "description": "Gets or sets a description for this rule. Restricted to 140 chars." + }, + "destinationAddressPrefix": { + "type": "string", + "description": "Gets or sets destination address prefix. CIDR or source IP range.\r\n A “*” can also be used to match all source IPs. Default tags such\r\nas ‘VirtualNetwork’, ‘AzureLoadBalancer’ and ‘Internet’ can also be used." + }, + "destinationPortRange": { + "type": "string", + "description": "Gets or sets Destination Port or Range. Integer or range between\r\n0 and 65535. A “*” can also be used to match all ports." + }, + "direction": { + "type": "string", + "description": "Gets or sets the direction of the rule.InBound or Outbound. The\r\ndirection specifies if rule will be evaluated on incoming or outgoing traffic." + }, + "name": { + "type": "string", + "description": "Gets or sets the Security rule name." + }, + "priority": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Gets or sets the priority of the rule. The value can be between\r\n100 and 4096. The priority number must be unique for each rule in the collection.\r\nThe lower the priority number, the higher the priority of the rule." + }, + "protocol": { + "type": "string", + "description": "Gets or sets Network protocol this rule applies to. Can be Tcp, Udp or All(*)." + }, + "sourceAddressPrefix": { + "type": "string", + "description": "Gets or sets source address prefix. CIDR or source IP range. A\r\n“*” can also be used to match all source IPs. Default tags such as ‘VirtualNetwork’,\r\n‘AzureLoadBalancer’ and ‘Internet’ can also be used. If this is an ingress\r\nrule, specifies where network traffic originates from." + }, + "sourcePortRange": { + "type": "string", + "description": "Gets or sets Source Port or Range. Integer or range between 0 and\r\n65535. A “*” can also be used to match all ports." + } + }, + "description": "Security Rule data model for Network Security Groups." + }, + "PublicIPAddressResourceSettings": { + "type": "object", + "properties": { + "domainNameLabel": { + "type": "string", + "description": "Gets or sets the domain name label." + }, + "fqdn": { + "type": "string", + "description": "Gets or sets the fully qualified domain name." + }, + "publicIpAllocationMethod": { + "type": "string", + "description": "Gets or sets public IP allocation method." + }, + "resourceType": { + "type": "string", + "enum": [ + "Microsoft.Network/publicIPAddresses" + ] + }, + "sku": { + "type": "string", + "description": "Gets or sets public IP sku." + }, + "zones": { + "type": "string", + "description": "Gets or sets public IP zones." + } + }, + "required": [ + "resourceType" + ], + "description": "Defines the public IP address resource settings." + }, + "PublicIpReference": { + "type": "object", + "properties": { + "sourceArmResourceId": { + "type": "string", + "description": "Gets the ARM resource ID of the tracked resource being referenced." + } + }, + "required": [ + "sourceArmResourceId" + ], + "description": "Defines reference to a public IP." + }, + "ResourceGroupResourceSettings": { + "type": "object", + "properties": { + "resourceType": { + "type": "string", + "enum": [ + "resourceGroups" + ] + } + }, + "required": [ + "resourceType" + ], + "description": "Defines the resource group resource settings." + }, + "ResourceSettings": { + "type": "object", + "oneOf": [ + { + "$ref": "#/definitions/VirtualMachineResourceSettings" + }, + { + "$ref": "#/definitions/AvailabilitySetResourceSettings" + }, + { + "$ref": "#/definitions/VirtualNetworkResourceSettings" + }, + { + "$ref": "#/definitions/NetworkInterfaceResourceSettings" + }, + { + "$ref": "#/definitions/NetworkSecurityGroupResourceSettings" + }, + { + "$ref": "#/definitions/LoadBalancerResourceSettings" + }, + { + "$ref": "#/definitions/SqlServerResourceSettings" + }, + { + "$ref": "#/definitions/SqlElasticPoolResourceSettings" + }, + { + "$ref": "#/definitions/SqlDatabaseResourceSettings" + }, + { + "$ref": "#/definitions/ResourceGroupResourceSettings" + }, + { + "$ref": "#/definitions/PublicIPAddressResourceSettings" + }, + { + "$ref": "#/definitions/KeyVaultResourceSettings" + }, + { + "$ref": "#/definitions/DiskEncryptionSetResourceSettings" + } + ], + "properties": { + "targetResourceName": { + "type": "string", + "description": "Gets or sets the target Resource name." + } + }, + "required": [ + "targetResourceName" + ], + "description": "Gets or sets the resource settings." + }, + "SqlDatabaseResourceSettings": { + "type": "object", + "properties": { + "resourceType": { + "type": "string", + "enum": [ + "Microsoft.Sql/servers/databases" + ] + }, + "zoneRedundant": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Enable", + "Disable" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ] + } + }, + "required": [ + "resourceType" + ], + "description": "Defines the Sql Database resource settings." + }, + "SqlElasticPoolResourceSettings": { + "type": "object", + "properties": { + "resourceType": { + "type": "string", + "enum": [ + "Microsoft.Sql/servers/elasticPools" + ] + }, + "zoneRedundant": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Enable", + "Disable" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ] + } + }, + "required": [ + "resourceType" + ], + "description": "Defines the Sql ElasticPool resource settings." + }, + "SqlServerResourceSettings": { + "type": "object", + "properties": { + "resourceType": { + "type": "string", + "enum": [ + "Microsoft.Sql/servers" + ] + } + }, + "required": [ + "resourceType" + ], + "description": "Defines the SQL Server resource settings." + }, + "SubnetReference": { + "type": "object", + "properties": { + "name": { + "type": "string", + "description": "Gets the name of the proxy resource on the target side." + }, + "sourceArmResourceId": { + "type": "string", + "description": "Gets the ARM resource ID of the tracked resource being referenced." + } + }, + "required": [ + "sourceArmResourceId" + ], + "description": "Defines reference to subnet." + }, + "SubnetResourceSettings": { + "type": "object", + "properties": { + "addressPrefix": { + "type": "string", + "description": "Gets or sets address prefix for the subnet." + }, + "name": { + "type": "string", + "description": "Gets or sets the Subnet name." + }, + "networkSecurityGroup": { + "oneOf": [ + { + "$ref": "#/definitions/NsgReference" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Defines reference to NSG." + } + }, + "description": "Defines the virtual network subnets resource settings." + }, + "VirtualMachineResourceSettings": { + "type": "object", + "properties": { + "resourceType": { + "type": "string", + "enum": [ + "Microsoft.Compute/virtualMachines" + ] + }, + "targetAvailabilitySetId": { + "type": "string", + "description": "Gets or sets the target availability set id for virtual machines not in an availability set at source." + }, + "targetAvailabilityZone": { + "oneOf": [ + { + "type": "string", + "enum": [ + "1", + "2", + "3", + "NA" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Gets or sets the target availability zone." + }, + "targetVmSize": { + "type": "string", + "description": "Gets or sets the target virtual machine size." + } + }, + "required": [ + "resourceType" + ], + "description": "Gets or sets the virtual machine resource settings." + }, + "VirtualNetworkResourceSettings": { + "type": "object", + "properties": { + "addressSpace": { + "oneOf": [ + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Gets or sets the address prefixes for the virtual network." + }, + "dnsServers": { + "oneOf": [ + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Gets or sets DHCPOptions that contains an array of DNS servers available to VMs\r\ndeployed in the virtual network." + }, + "enableDdosProtection": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Gets or sets a value indicating whether gets or sets whether the\r\nDDOS protection should be switched on." + }, + "resourceType": { + "type": "string", + "enum": [ + "Microsoft.Network/virtualNetworks" + ] + }, + "subnets": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/SubnetResourceSettings" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Gets or sets List of subnets in a VirtualNetwork." + } + }, + "required": [ + "resourceType" + ], + "description": "Defines the virtual network resource settings." + } + } +} \ No newline at end of file diff --git a/schemas/2020-08-06-preview/Microsoft.Security.json b/schemas/2020-08-06-preview/Microsoft.Security.json deleted file mode 100644 index 4d9806f8c5..0000000000 --- a/schemas/2020-08-06-preview/Microsoft.Security.json +++ /dev/null @@ -1,279 +0,0 @@ -{ - "id": "https://schema.management.azure.com/schemas/2020-08-06-preview/Microsoft.Security.json#", - "$schema": "http://json-schema.org/draft-04/schema#", - "title": "Microsoft.Security", - "description": "Microsoft Security Resource Types", - "resourceDefinitions": {}, - "subscription_resourceDefinitions": { - "iotDefenderSettings": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2020-08-06-preview" - ] - }, - "name": { - "type": "string", - "enum": [ - "default" - ] - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/IotDefenderSettingsProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "IoT Defender settings properties" - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.Security/iotDefenderSettings" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.Security/iotDefenderSettings" - }, - "onPremiseIotSensors": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2020-08-06-preview" - ] - }, - "name": { - "type": "string", - "description": "Name of the on-premise IoT sensor" - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.Security/onPremiseIotSensors" - ] - } - }, - "required": [ - "apiVersion", - "name", - "type" - ], - "description": "Microsoft.Security/onPremiseIotSensors" - } - }, - "unknown_resourceDefinitions": { - "iotSensors": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2020-08-06-preview" - ] - }, - "name": { - "type": "string", - "description": "Name of the IoT sensor" - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/IotSensorProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "IoT sensor properties" - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.Security/iotSensors" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.Security/iotSensors" - }, - "iotSites": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2020-08-06-preview" - ] - }, - "name": { - "type": "string", - "enum": [ - "default" - ] - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/IotSiteProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "IoT site properties" - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.Security/iotSites" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.Security/iotSites" - } - }, - "definitions": { - "IotDefenderSettingsProperties": { - "type": "object", - "properties": { - "deviceQuota": { - "oneOf": [ - { - "type": "integer", - "minimum": 1000 - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Size of the device quota (as a opposed to a Pay as You Go billing model). Value is required to be in multiples of 1000." - }, - "onboardingKind": { - "oneOf": [ - { - "type": "string", - "enum": [ - "Default", - "MigratedToAzure", - "Evaluation", - "Purchased" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The kind of onboarding for the subscription." - }, - "sentinelWorkspaceResourceIds": { - "oneOf": [ - { - "type": "array", - "items": { - "type": "string" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Sentinel Workspace Resource Ids" - } - }, - "required": [ - "deviceQuota", - "onboardingKind", - "sentinelWorkspaceResourceIds" - ], - "description": "IoT Defender settings properties" - }, - "IotSensorProperties": { - "type": "object", - "properties": { - "sensorType": { - "oneOf": [ - { - "type": "string", - "enum": [ - "Ot", - "Enterprise" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Type of sensor." - }, - "tiAutomaticUpdates": { - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "TI Automatic mode status of the IoT sensor" - }, - "zone": { - "type": "string", - "description": "Zone of the IoT sensor" - } - }, - "description": "IoT sensor properties" - }, - "IotSiteProperties": { - "type": "object", - "properties": { - "displayName": { - "type": "string", - "description": "Display name of the IoT site" - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Tags of the IoT site" - } - }, - "required": [ - "displayName" - ], - "description": "IoT site properties" - } - } -} \ No newline at end of file diff --git a/schemas/2021-01-01/Microsoft.Migrate.json b/schemas/2021-01-01/Microsoft.Migrate.json new file mode 100644 index 0000000000..0e45499ee6 --- /dev/null +++ b/schemas/2021-01-01/Microsoft.Migrate.json @@ -0,0 +1,1054 @@ +{ + "id": "https://schema.management.azure.com/schemas/2021-01-01/Microsoft.Migrate.json#", + "$schema": "http://json-schema.org/draft-04/schema#", + "title": "Microsoft.Migrate", + "description": "Microsoft Migrate Resource Types", + "resourceDefinitions": { + "moveCollections": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-01-01" + ] + }, + "identity": { + "oneOf": [ + { + "$ref": "#/definitions/Identity" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Defines the MSI properties of the Move Collection." + }, + "location": { + "type": "string", + "description": "The geo-location where the resource lives." + }, + "name": { + "type": "string", + "description": "The Move Collection Name." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/MoveCollectionProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Defines the move collection properties." + }, + "resources": { + "type": "array", + "items": { + "oneOf": [ + { + "$ref": "#/definitions/moveCollections_moveResources_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.Migrate/moveCollections" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.Migrate/moveCollections" + }, + "moveCollections_moveResources": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-01-01" + ] + }, + "name": { + "type": "string", + "description": "The Move Resource Name." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/MoveResourceProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Defines the move resource properties." + }, + "type": { + "type": "string", + "enum": [ + "Microsoft.Migrate/moveCollections/moveResources" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.Migrate/moveCollections/moveResources" + } + }, + "definitions": { + "AvailabilitySetResourceSettings": { + "type": "object", + "properties": { + "faultDomain": { + "oneOf": [ + { + "type": "integer", + "minimum": 1 + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Gets or sets the target fault domain." + }, + "resourceType": { + "type": "string", + "enum": [ + "Microsoft.Compute/availabilitySets" + ] + }, + "updateDomain": { + "oneOf": [ + { + "type": "integer", + "minimum": 1, + "maximum": 20 + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Gets or sets the target update domain." + } + }, + "required": [ + "resourceType" + ], + "description": "Gets or sets the availability set resource settings." + }, + "DiskEncryptionSetResourceSettings": { + "type": "object", + "properties": { + "resourceType": { + "type": "string", + "enum": [ + "Microsoft.Compute/diskEncryptionSets" + ] + } + }, + "required": [ + "resourceType" + ], + "description": "Defines the disk encryption set resource settings." + }, + "Identity": { + "type": "object", + "properties": { + "principalId": { + "type": "string", + "description": "Gets or sets the principal id." + }, + "tenantId": { + "type": "string", + "description": "Gets or sets the tenant id." + }, + "type": { + "oneOf": [ + { + "type": "string", + "enum": [ + "None", + "SystemAssigned", + "UserAssigned" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ] + } + }, + "description": "Defines the MSI properties of the Move Collection." + }, + "KeyVaultResourceSettings": { + "type": "object", + "properties": { + "resourceType": { + "type": "string", + "enum": [ + "Microsoft.KeyVault/vaults" + ] + } + }, + "required": [ + "resourceType" + ], + "description": "Defines the key vault resource settings." + }, + "LBBackendAddressPoolResourceSettings": { + "type": "object", + "properties": { + "name": { + "type": "string", + "description": "Gets or sets the backend address pool name." + } + }, + "description": "Defines load balancer backend address pool properties." + }, + "LBFrontendIPConfigurationResourceSettings": { + "type": "object", + "properties": { + "name": { + "type": "string", + "description": "Gets or sets the frontend IP configuration name." + }, + "privateIpAddress": { + "type": "string", + "description": "Gets or sets the IP address of the Load Balancer.This is only specified if a specific\r\nprivate IP address shall be allocated from the subnet specified in subnetRef." + }, + "privateIpAllocationMethod": { + "type": "string", + "description": "Gets or sets PrivateIP allocation method (Static/Dynamic)." + }, + "subnet": { + "oneOf": [ + { + "$ref": "#/definitions/SubnetReference" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Defines reference to subnet." + }, + "zones": { + "type": "string", + "description": "Gets or sets the csv list of zones." + } + }, + "description": "Defines load balancer frontend IP configuration properties." + }, + "LoadBalancerBackendAddressPoolReference": { + "type": "object", + "properties": { + "name": { + "type": "string", + "description": "Gets the name of the proxy resource on the target side." + }, + "sourceArmResourceId": { + "type": "string", + "description": "Gets the ARM resource ID of the tracked resource being referenced." + } + }, + "required": [ + "sourceArmResourceId" + ], + "description": "Defines reference to load balancer backend address pools." + }, + "LoadBalancerNatRuleReference": { + "type": "object", + "properties": { + "name": { + "type": "string", + "description": "Gets the name of the proxy resource on the target side." + }, + "sourceArmResourceId": { + "type": "string", + "description": "Gets the ARM resource ID of the tracked resource being referenced." + } + }, + "required": [ + "sourceArmResourceId" + ], + "description": "Defines reference to load balancer NAT rules." + }, + "LoadBalancerResourceSettings": { + "type": "object", + "properties": { + "backendAddressPools": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/LBBackendAddressPoolResourceSettings" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Gets or sets the backend address pools of the load balancer." + }, + "frontendIPConfigurations": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/LBFrontendIPConfigurationResourceSettings" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Gets or sets the frontend IP configurations of the load balancer." + }, + "resourceType": { + "type": "string", + "enum": [ + "Microsoft.Network/loadBalancers" + ] + }, + "sku": { + "type": "string", + "description": "Gets or sets load balancer sku (Basic/Standard)." + }, + "zones": { + "type": "string", + "description": "Gets or sets the csv list of zones common for all frontend IP configurations. Note this is given\r\n precedence only if frontend IP configurations settings are not present." + } + }, + "required": [ + "resourceType" + ], + "description": "Defines the load balancer resource settings." + }, + "MoveCollectionProperties": { + "type": "object", + "properties": { + "provisioningState": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Succeeded", + "Updating", + "Creating", + "Failed" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ] + }, + "sourceRegion": { + "type": "string", + "description": "Gets or sets the source region." + }, + "targetRegion": { + "type": "string", + "description": "Gets or sets the target region." + } + }, + "required": [ + "sourceRegion", + "targetRegion" + ], + "description": "Defines the move collection properties." + }, + "moveCollections_moveResources_childResource": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-01-01" + ] + }, + "name": { + "type": "string", + "description": "The Move Resource Name." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/MoveResourceProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Defines the move resource properties." + }, + "type": { + "type": "string", + "enum": [ + "moveResources" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.Migrate/moveCollections/moveResources" + }, + "MoveResourceDependencyOverride": { + "type": "object", + "properties": { + "id": { + "type": "string", + "description": "Gets or sets the ARM ID of the dependent resource." + }, + "targetId": { + "type": "string", + "description": "Gets or sets the resource ARM id of either the MoveResource or the resource ARM ID of\r\nthe dependent resource." + } + }, + "description": "Defines the dependency override of the move resource." + }, + "MoveResourceProperties": { + "type": "object", + "properties": { + "dependsOnOverrides": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/MoveResourceDependencyOverride" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Gets or sets the move resource dependencies overrides." + }, + "existingTargetId": { + "type": "string", + "description": "Gets or sets the existing target ARM Id of the resource." + }, + "provisioningState": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Succeeded", + "Updating", + "Creating", + "Failed" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ] + }, + "resourceSettings": { + "oneOf": [ + { + "$ref": "#/definitions/ResourceSettings" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Gets or sets the resource settings." + }, + "sourceId": { + "type": "string", + "description": "Gets or sets the Source ARM Id of the resource." + } + }, + "required": [ + "sourceId" + ], + "description": "Defines the move resource properties." + }, + "NetworkInterfaceResourceSettings": { + "type": "object", + "properties": { + "enableAcceleratedNetworking": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Gets or sets a value indicating whether accelerated networking is enabled." + }, + "ipConfigurations": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/NicIpConfigurationResourceSettings" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Gets or sets the IP configurations of the NIC." + }, + "resourceType": { + "type": "string", + "enum": [ + "Microsoft.Network/networkInterfaces" + ] + } + }, + "required": [ + "resourceType" + ], + "description": "Defines the network interface resource settings." + }, + "NetworkSecurityGroupResourceSettings": { + "type": "object", + "properties": { + "resourceType": { + "type": "string", + "enum": [ + "Microsoft.Network/networkSecurityGroups" + ] + }, + "securityRules": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/NsgSecurityRule" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Gets or sets Security rules of network security group." + } + }, + "required": [ + "resourceType" + ], + "description": "Defines the NSG resource settings." + }, + "NicIpConfigurationResourceSettings": { + "type": "object", + "properties": { + "loadBalancerBackendAddressPools": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/LoadBalancerBackendAddressPoolReference" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Gets or sets the references of the load balancer backend address pools." + }, + "loadBalancerNatRules": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/LoadBalancerNatRuleReference" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Gets or sets the references of the load balancer NAT rules." + }, + "name": { + "type": "string", + "description": "Gets or sets the IP configuration name." + }, + "primary": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Gets or sets a value indicating whether this IP configuration is the primary." + }, + "privateIpAddress": { + "type": "string", + "description": "Gets or sets the private IP address of the network interface IP Configuration." + }, + "privateIpAllocationMethod": { + "type": "string", + "description": "Gets or sets the private IP address allocation method." + }, + "publicIp": { + "oneOf": [ + { + "$ref": "#/definitions/PublicIpReference" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Defines reference to a public IP." + }, + "subnet": { + "oneOf": [ + { + "$ref": "#/definitions/SubnetReference" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Defines reference to subnet." + } + }, + "description": "Defines NIC IP configuration properties." + }, + "NsgReference": { + "type": "object", + "properties": { + "sourceArmResourceId": { + "type": "string", + "description": "Gets the ARM resource ID of the tracked resource being referenced." + } + }, + "required": [ + "sourceArmResourceId" + ], + "description": "Defines reference to NSG." + }, + "NsgSecurityRule": { + "type": "object", + "properties": { + "access": { + "type": "string", + "description": "Gets or sets whether network traffic is allowed or denied.\r\nPossible values are “Allow” and “Deny”." + }, + "description": { + "type": "string", + "description": "Gets or sets a description for this rule. Restricted to 140 chars." + }, + "destinationAddressPrefix": { + "type": "string", + "description": "Gets or sets destination address prefix. CIDR or source IP range.\r\n A “*” can also be used to match all source IPs. Default tags such\r\nas ‘VirtualNetwork’, ‘AzureLoadBalancer’ and ‘Internet’ can also be used." + }, + "destinationPortRange": { + "type": "string", + "description": "Gets or sets Destination Port or Range. Integer or range between\r\n0 and 65535. A “*” can also be used to match all ports." + }, + "direction": { + "type": "string", + "description": "Gets or sets the direction of the rule.InBound or Outbound. The\r\ndirection specifies if rule will be evaluated on incoming or outgoing traffic." + }, + "name": { + "type": "string", + "description": "Gets or sets the Security rule name." + }, + "priority": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Gets or sets the priority of the rule. The value can be between\r\n100 and 4096. The priority number must be unique for each rule in the collection.\r\nThe lower the priority number, the higher the priority of the rule." + }, + "protocol": { + "type": "string", + "description": "Gets or sets Network protocol this rule applies to. Can be Tcp, Udp or All(*)." + }, + "sourceAddressPrefix": { + "type": "string", + "description": "Gets or sets source address prefix. CIDR or source IP range. A\r\n“*” can also be used to match all source IPs. Default tags such as ‘VirtualNetwork’,\r\n‘AzureLoadBalancer’ and ‘Internet’ can also be used. If this is an ingress\r\nrule, specifies where network traffic originates from." + }, + "sourcePortRange": { + "type": "string", + "description": "Gets or sets Source Port or Range. Integer or range between 0 and\r\n65535. A “*” can also be used to match all ports." + } + }, + "description": "Security Rule data model for Network Security Groups." + }, + "PublicIPAddressResourceSettings": { + "type": "object", + "properties": { + "domainNameLabel": { + "type": "string", + "description": "Gets or sets the domain name label." + }, + "fqdn": { + "type": "string", + "description": "Gets or sets the fully qualified domain name." + }, + "publicIpAllocationMethod": { + "type": "string", + "description": "Gets or sets public IP allocation method." + }, + "resourceType": { + "type": "string", + "enum": [ + "Microsoft.Network/publicIPAddresses" + ] + }, + "sku": { + "type": "string", + "description": "Gets or sets public IP sku." + }, + "zones": { + "type": "string", + "description": "Gets or sets public IP zones." + } + }, + "required": [ + "resourceType" + ], + "description": "Defines the public IP address resource settings." + }, + "PublicIpReference": { + "type": "object", + "properties": { + "sourceArmResourceId": { + "type": "string", + "description": "Gets the ARM resource ID of the tracked resource being referenced." + } + }, + "required": [ + "sourceArmResourceId" + ], + "description": "Defines reference to a public IP." + }, + "ResourceGroupResourceSettings": { + "type": "object", + "properties": { + "resourceType": { + "type": "string", + "enum": [ + "resourceGroups" + ] + } + }, + "required": [ + "resourceType" + ], + "description": "Defines the resource group resource settings." + }, + "ResourceSettings": { + "type": "object", + "oneOf": [ + { + "$ref": "#/definitions/VirtualMachineResourceSettings" + }, + { + "$ref": "#/definitions/AvailabilitySetResourceSettings" + }, + { + "$ref": "#/definitions/VirtualNetworkResourceSettings" + }, + { + "$ref": "#/definitions/NetworkInterfaceResourceSettings" + }, + { + "$ref": "#/definitions/NetworkSecurityGroupResourceSettings" + }, + { + "$ref": "#/definitions/LoadBalancerResourceSettings" + }, + { + "$ref": "#/definitions/SqlServerResourceSettings" + }, + { + "$ref": "#/definitions/SqlElasticPoolResourceSettings" + }, + { + "$ref": "#/definitions/SqlDatabaseResourceSettings" + }, + { + "$ref": "#/definitions/ResourceGroupResourceSettings" + }, + { + "$ref": "#/definitions/PublicIPAddressResourceSettings" + }, + { + "$ref": "#/definitions/KeyVaultResourceSettings" + }, + { + "$ref": "#/definitions/DiskEncryptionSetResourceSettings" + } + ], + "properties": { + "targetResourceName": { + "type": "string", + "description": "Gets or sets the target Resource name." + } + }, + "required": [ + "targetResourceName" + ], + "description": "Gets or sets the resource settings." + }, + "SqlDatabaseResourceSettings": { + "type": "object", + "properties": { + "resourceType": { + "type": "string", + "enum": [ + "Microsoft.Sql/servers/databases" + ] + }, + "zoneRedundant": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Enable", + "Disable" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ] + } + }, + "required": [ + "resourceType" + ], + "description": "Defines the Sql Database resource settings." + }, + "SqlElasticPoolResourceSettings": { + "type": "object", + "properties": { + "resourceType": { + "type": "string", + "enum": [ + "Microsoft.Sql/servers/elasticPools" + ] + }, + "zoneRedundant": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Enable", + "Disable" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ] + } + }, + "required": [ + "resourceType" + ], + "description": "Defines the Sql ElasticPool resource settings." + }, + "SqlServerResourceSettings": { + "type": "object", + "properties": { + "resourceType": { + "type": "string", + "enum": [ + "Microsoft.Sql/servers" + ] + } + }, + "required": [ + "resourceType" + ], + "description": "Defines the SQL Server resource settings." + }, + "SubnetReference": { + "type": "object", + "properties": { + "name": { + "type": "string", + "description": "Gets the name of the proxy resource on the target side." + }, + "sourceArmResourceId": { + "type": "string", + "description": "Gets the ARM resource ID of the tracked resource being referenced." + } + }, + "required": [ + "sourceArmResourceId" + ], + "description": "Defines reference to subnet." + }, + "SubnetResourceSettings": { + "type": "object", + "properties": { + "addressPrefix": { + "type": "string", + "description": "Gets or sets address prefix for the subnet." + }, + "name": { + "type": "string", + "description": "Gets or sets the Subnet name." + }, + "networkSecurityGroup": { + "oneOf": [ + { + "$ref": "#/definitions/NsgReference" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Defines reference to NSG." + } + }, + "description": "Defines the virtual network subnets resource settings." + }, + "VirtualMachineResourceSettings": { + "type": "object", + "properties": { + "resourceType": { + "type": "string", + "enum": [ + "Microsoft.Compute/virtualMachines" + ] + }, + "targetAvailabilitySetId": { + "type": "string", + "description": "Gets or sets the target availability set id for virtual machines not in an availability set at source." + }, + "targetAvailabilityZone": { + "oneOf": [ + { + "type": "string", + "enum": [ + "1", + "2", + "3", + "NA" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Gets or sets the target availability zone." + }, + "targetVmSize": { + "type": "string", + "description": "Gets or sets the target virtual machine size." + } + }, + "required": [ + "resourceType" + ], + "description": "Gets or sets the virtual machine resource settings." + }, + "VirtualNetworkResourceSettings": { + "type": "object", + "properties": { + "addressSpace": { + "oneOf": [ + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Gets or sets the address prefixes for the virtual network." + }, + "dnsServers": { + "oneOf": [ + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Gets or sets DHCPOptions that contains an array of DNS servers available to VMs\r\ndeployed in the virtual network." + }, + "enableDdosProtection": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Gets or sets a value indicating whether gets or sets whether the\r\nDDOS protection should be switched on." + }, + "resourceType": { + "type": "string", + "enum": [ + "Microsoft.Network/virtualNetworks" + ] + }, + "subnets": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/SubnetResourceSettings" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Gets or sets List of subnets in a VirtualNetwork." + } + }, + "required": [ + "resourceType" + ], + "description": "Defines the virtual network resource settings." + } + } +} \ No newline at end of file diff --git a/schemas/common/autogeneratedResources.json b/schemas/common/autogeneratedResources.json index b79cbefaf1..e65d201780 100644 --- a/schemas/common/autogeneratedResources.json +++ b/schemas/common/autogeneratedResources.json @@ -6937,6 +6937,12 @@ { "$ref": "https://schema.management.azure.com/schemas/2018-02-02/Microsoft.Migrate.json#/resourceDefinitions/projects_groups_assessments" }, + { + "$ref": "https://schema.management.azure.com/schemas/2018-09-01-preview/Microsoft.Migrate.json#/resourceDefinitions/migrateProjects" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2018-09-01-preview/Microsoft.Migrate.json#/resourceDefinitions/migrateProjects_solutions" + }, { "$ref": "https://schema.management.azure.com/schemas/2019-10-01/Microsoft.Migrate.json#/resourceDefinitions/assessmentProjects" }, @@ -6961,6 +6967,18 @@ { "$ref": "https://schema.management.azure.com/schemas/2019-10-01/Microsoft.Migrate.json#/resourceDefinitions/assessmentProjects_vmwarecollectors" }, + { + "$ref": "https://schema.management.azure.com/schemas/2019-10-01-preview/Microsoft.Migrate.json#/resourceDefinitions/moveCollections" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2019-10-01-preview/Microsoft.Migrate.json#/resourceDefinitions/moveCollections_moveResources" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2021-01-01/Microsoft.Migrate.json#/resourceDefinitions/moveCollections" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2021-01-01/Microsoft.Migrate.json#/resourceDefinitions/moveCollections_moveResources" + }, { "$ref": "https://schema.management.azure.com/schemas/2019-02-28-preview/Microsoft.MixedReality.json#/resourceDefinitions/spatialAnchorsAccounts" }, From 9faa05f6442bd3c27f3314a2328622165deaa084 Mon Sep 17 00:00:00 2001 From: Autogenerator Pipeline Date: Tue, 3 Aug 2021 13:23:11 +0000 Subject: [PATCH 27/64] Autogenerate schemas --- schemas/2019-10-01-preview/Microsoft.Subscription.json | 2 +- schemas/2020-09-01/Microsoft.Subscription.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/schemas/2019-10-01-preview/Microsoft.Subscription.json b/schemas/2019-10-01-preview/Microsoft.Subscription.json index 2582f71fd3..6d1179cb5a 100644 --- a/schemas/2019-10-01-preview/Microsoft.Subscription.json +++ b/schemas/2019-10-01-preview/Microsoft.Subscription.json @@ -16,7 +16,7 @@ }, "name": { "type": "string", - "description": "Alias Name" + "description": "Name for this subscription creation request also known as alias. Note that this is not the same as subscription name and this doesn’t have any other lifecycle need beyond the request for subscription creation." }, "properties": { "oneOf": [ diff --git a/schemas/2020-09-01/Microsoft.Subscription.json b/schemas/2020-09-01/Microsoft.Subscription.json index 4cdc509957..15c4cbd510 100644 --- a/schemas/2020-09-01/Microsoft.Subscription.json +++ b/schemas/2020-09-01/Microsoft.Subscription.json @@ -16,7 +16,7 @@ }, "name": { "type": "string", - "description": "Alias Name" + "description": "Name for this subscription creation request also known as alias. Note that this is not the same as subscription name and this doesn’t have any other lifecycle need beyond the request for subscription creation." }, "properties": { "oneOf": [ From ebfca2da5917a0c0282ae031cfeabfb31f55350f Mon Sep 17 00:00:00 2001 From: Autogenerator Pipeline Date: Wed, 4 Aug 2021 09:19:06 +0000 Subject: [PATCH 28/64] Autogenerate schemas --- .../2018-09-01-preview/Microsoft.Migrate.json | 517 -------- .../2019-10-01-preview/Microsoft.Migrate.json | 1054 ----------------- schemas/2021-01-01/Microsoft.Migrate.json | 1054 ----------------- schemas/common/autogeneratedResources.json | 18 - 4 files changed, 2643 deletions(-) delete mode 100644 schemas/2018-09-01-preview/Microsoft.Migrate.json delete mode 100644 schemas/2019-10-01-preview/Microsoft.Migrate.json delete mode 100644 schemas/2021-01-01/Microsoft.Migrate.json diff --git a/schemas/2018-09-01-preview/Microsoft.Migrate.json b/schemas/2018-09-01-preview/Microsoft.Migrate.json deleted file mode 100644 index 074e3e9b7c..0000000000 --- a/schemas/2018-09-01-preview/Microsoft.Migrate.json +++ /dev/null @@ -1,517 +0,0 @@ -{ - "id": "https://schema.management.azure.com/schemas/2018-09-01-preview/Microsoft.Migrate.json#", - "$schema": "http://json-schema.org/draft-04/schema#", - "title": "Microsoft.Migrate", - "description": "Microsoft Migrate Resource Types", - "resourceDefinitions": { - "migrateProjects": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2018-09-01-preview" - ] - }, - "eTag": { - "type": "string", - "description": "Gets or sets the eTag for concurrency control." - }, - "location": { - "type": "string", - "description": "Gets or sets the Azure location in which migrate project is created." - }, - "name": { - "type": "string", - "description": "Name of the Azure Migrate project." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/MigrateProjectProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Class for migrate project properties." - }, - "resources": { - "type": "array", - "items": { - "oneOf": [ - { - "$ref": "#/definitions/migrateProjects_solutions_childResource" - } - ] - } - }, - "tags": { - "oneOf": [ - { - "$ref": "#/definitions/MigrateProjectTags" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Gets or sets the tags." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.Migrate/migrateProjects" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.Migrate/migrateProjects" - }, - "migrateProjects_solutions": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2018-09-01-preview" - ] - }, - "etag": { - "type": "string", - "description": "Gets or sets the ETAG for optimistic concurrency control." - }, - "name": { - "type": "string", - "description": "Unique name of a migration solution within a migrate project." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/SolutionProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Class for solution properties." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.Migrate/migrateProjects/solutions" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.Migrate/migrateProjects/solutions" - } - }, - "definitions": { - "DatabasesSolutionSummary": { - "type": "object", - "properties": { - "databaseInstancesAssessedCount": { - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Gets or sets the count of database instances assessed." - }, - "databasesAssessedCount": { - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Gets or sets the count of databases assessed." - }, - "instanceType": { - "type": "string", - "enum": [ - "Databases" - ] - }, - "migrationReadyCount": { - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Gets or sets the count of databases ready for migration." - } - }, - "required": [ - "instanceType" - ], - "description": "Class representing the databases solution summary." - }, - "MigrateProjectProperties": { - "type": "object", - "properties": { - "provisioningState": { - "oneOf": [ - { - "type": "string", - "enum": [ - "Accepted", - "Creating", - "Deleting", - "Failed", - "Moving", - "Succeeded" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Provisioning state of the migrate project." - }, - "registeredTools": { - "oneOf": [ - { - "type": "array", - "items": { - "type": "string", - "enum": [ - "ServerDiscovery", - "ServerAssessment", - "ServerMigration", - "Cloudamize", - "Turbonomic", - "Zerto", - "CorentTech", - "ServerAssessmentV1", - "ServerMigration_Replication", - "Carbonite", - "DataMigrationAssistant", - "DatabaseMigrationService" - ] - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Gets or sets the list of tools registered with the migrate project." - } - }, - "description": "Class for migrate project properties." - }, - "migrateProjects_solutions_childResource": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2018-09-01-preview" - ] - }, - "etag": { - "type": "string", - "description": "Gets or sets the ETAG for optimistic concurrency control." - }, - "name": { - "type": "string", - "description": "Unique name of a migration solution within a migrate project." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/SolutionProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Class for solution properties." - }, - "type": { - "type": "string", - "enum": [ - "solutions" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.Migrate/migrateProjects/solutions" - }, - "MigrateProjectTags": { - "type": "object", - "properties": { - "additionalProperties": { - "type": "string" - } - }, - "description": "Gets or sets the tags." - }, - "ServersSolutionSummary": { - "type": "object", - "properties": { - "assessedCount": { - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Gets or sets the count of servers assessed." - }, - "discoveredCount": { - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Gets or sets the count of servers discovered." - }, - "instanceType": { - "type": "string", - "enum": [ - "Servers" - ] - }, - "migratedCount": { - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Gets or sets the count of servers migrated." - }, - "replicatingCount": { - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Gets or sets the count of servers being replicated." - }, - "testMigratedCount": { - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Gets or sets the count of servers test migrated." - } - }, - "required": [ - "instanceType" - ], - "description": "Class representing the servers solution summary." - }, - "SolutionDetails": { - "type": "object", - "properties": { - "assessmentCount": { - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Gets or sets the count of assessments reported by the solution." - }, - "extendedDetails": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Gets or sets the extended details reported by the solution." - }, - "groupCount": { - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Gets or sets the count of groups reported by the solution." - } - }, - "description": "Class representing the details of the solution." - }, - "SolutionProperties": { - "type": "object", - "properties": { - "cleanupState": { - "oneOf": [ - { - "type": "string", - "enum": [ - "None", - "Started", - "InProgress", - "Completed", - "Failed" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Gets or sets the cleanup state of the solution." - }, - "details": { - "oneOf": [ - { - "$ref": "#/definitions/SolutionDetails" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Class representing the details of the solution." - }, - "goal": { - "oneOf": [ - { - "type": "string", - "enum": [ - "Servers", - "Databases" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Gets or sets the goal of the solution." - }, - "purpose": { - "oneOf": [ - { - "type": "string", - "enum": [ - "Discovery", - "Assessment", - "Migration" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Gets or sets the purpose of the solution." - }, - "status": { - "oneOf": [ - { - "type": "string", - "enum": [ - "Inactive", - "Active" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Gets or sets the current status of the solution." - }, - "summary": { - "oneOf": [ - { - "$ref": "#/definitions/SolutionSummary" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The solution summary class." - }, - "tool": { - "oneOf": [ - { - "type": "string", - "enum": [ - "ServerDiscovery", - "ServerAssessment", - "ServerMigration", - "Cloudamize", - "Turbonomic", - "Zerto", - "CorentTech", - "ServerAssessmentV1", - "ServerMigration_Replication", - "Carbonite", - "DataMigrationAssistant", - "DatabaseMigrationService" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Gets or sets the tool being used in the solution." - } - }, - "description": "Class for solution properties." - }, - "SolutionSummary": { - "type": "object", - "oneOf": [ - { - "$ref": "#/definitions/ServersSolutionSummary" - }, - { - "$ref": "#/definitions/DatabasesSolutionSummary" - } - ], - "properties": {}, - "description": "The solution summary class." - } - } -} \ No newline at end of file diff --git a/schemas/2019-10-01-preview/Microsoft.Migrate.json b/schemas/2019-10-01-preview/Microsoft.Migrate.json deleted file mode 100644 index 69d60e191b..0000000000 --- a/schemas/2019-10-01-preview/Microsoft.Migrate.json +++ /dev/null @@ -1,1054 +0,0 @@ -{ - "id": "https://schema.management.azure.com/schemas/2019-10-01-preview/Microsoft.Migrate.json#", - "$schema": "http://json-schema.org/draft-04/schema#", - "title": "Microsoft.Migrate", - "description": "Microsoft Migrate Resource Types", - "resourceDefinitions": { - "moveCollections": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2019-10-01-preview" - ] - }, - "identity": { - "oneOf": [ - { - "$ref": "#/definitions/Identity" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Defines the MSI properties of the Move Collection." - }, - "location": { - "type": "string", - "description": "The geo-location where the resource lives." - }, - "name": { - "type": "string", - "description": "The Move Collection Name." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/MoveCollectionProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Defines the move collection properties." - }, - "resources": { - "type": "array", - "items": { - "oneOf": [ - { - "$ref": "#/definitions/moveCollections_moveResources_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.Migrate/moveCollections" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.Migrate/moveCollections" - }, - "moveCollections_moveResources": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2019-10-01-preview" - ] - }, - "name": { - "type": "string", - "description": "The Move Resource Name." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/MoveResourceProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Defines the move resource properties." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.Migrate/moveCollections/moveResources" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.Migrate/moveCollections/moveResources" - } - }, - "definitions": { - "AvailabilitySetResourceSettings": { - "type": "object", - "properties": { - "faultDomain": { - "oneOf": [ - { - "type": "integer", - "minimum": 1 - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Gets or sets the target fault domain." - }, - "resourceType": { - "type": "string", - "enum": [ - "Microsoft.Compute/availabilitySets" - ] - }, - "updateDomain": { - "oneOf": [ - { - "type": "integer", - "minimum": 1, - "maximum": 20 - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Gets or sets the target update domain." - } - }, - "required": [ - "resourceType" - ], - "description": "Gets or sets the availability set resource settings." - }, - "DiskEncryptionSetResourceSettings": { - "type": "object", - "properties": { - "resourceType": { - "type": "string", - "enum": [ - "Microsoft.Compute/diskEncryptionSets" - ] - } - }, - "required": [ - "resourceType" - ], - "description": "Defines the disk encryption set resource settings." - }, - "Identity": { - "type": "object", - "properties": { - "principalId": { - "type": "string", - "description": "Gets or sets the principal id." - }, - "tenantId": { - "type": "string", - "description": "Gets or sets the tenant id." - }, - "type": { - "oneOf": [ - { - "type": "string", - "enum": [ - "None", - "SystemAssigned", - "UserAssigned" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - } - }, - "description": "Defines the MSI properties of the Move Collection." - }, - "KeyVaultResourceSettings": { - "type": "object", - "properties": { - "resourceType": { - "type": "string", - "enum": [ - "Microsoft.KeyVault/vaults" - ] - } - }, - "required": [ - "resourceType" - ], - "description": "Defines the key vault resource settings." - }, - "LBBackendAddressPoolResourceSettings": { - "type": "object", - "properties": { - "name": { - "type": "string", - "description": "Gets or sets the backend address pool name." - } - }, - "description": "Defines load balancer backend address pool properties." - }, - "LBFrontendIPConfigurationResourceSettings": { - "type": "object", - "properties": { - "name": { - "type": "string", - "description": "Gets or sets the frontend IP configuration name." - }, - "privateIpAddress": { - "type": "string", - "description": "Gets or sets the IP address of the Load Balancer.This is only specified if a specific\r\nprivate IP address shall be allocated from the subnet specified in subnetRef." - }, - "privateIpAllocationMethod": { - "type": "string", - "description": "Gets or sets PrivateIP allocation method (Static/Dynamic)." - }, - "subnet": { - "oneOf": [ - { - "$ref": "#/definitions/SubnetReference" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Defines reference to subnet." - }, - "zones": { - "type": "string", - "description": "Gets or sets the csv list of zones." - } - }, - "description": "Defines load balancer frontend IP configuration properties." - }, - "LoadBalancerBackendAddressPoolReference": { - "type": "object", - "properties": { - "name": { - "type": "string", - "description": "Gets the name of the proxy resource on the target side." - }, - "sourceArmResourceId": { - "type": "string", - "description": "Gets the ARM resource ID of the tracked resource being referenced." - } - }, - "required": [ - "sourceArmResourceId" - ], - "description": "Defines reference to load balancer backend address pools." - }, - "LoadBalancerNatRuleReference": { - "type": "object", - "properties": { - "name": { - "type": "string", - "description": "Gets the name of the proxy resource on the target side." - }, - "sourceArmResourceId": { - "type": "string", - "description": "Gets the ARM resource ID of the tracked resource being referenced." - } - }, - "required": [ - "sourceArmResourceId" - ], - "description": "Defines reference to load balancer NAT rules." - }, - "LoadBalancerResourceSettings": { - "type": "object", - "properties": { - "backendAddressPools": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/definitions/LBBackendAddressPoolResourceSettings" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Gets or sets the backend address pools of the load balancer." - }, - "frontendIPConfigurations": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/definitions/LBFrontendIPConfigurationResourceSettings" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Gets or sets the frontend IP configurations of the load balancer." - }, - "resourceType": { - "type": "string", - "enum": [ - "Microsoft.Network/loadBalancers" - ] - }, - "sku": { - "type": "string", - "description": "Gets or sets load balancer sku (Basic/Standard)." - }, - "zones": { - "type": "string", - "description": "Gets or sets the csv list of zones common for all frontend IP configurations. Note this is given\r\n precedence only if frontend IP configurations settings are not present." - } - }, - "required": [ - "resourceType" - ], - "description": "Defines the load balancer resource settings." - }, - "MoveCollectionProperties": { - "type": "object", - "properties": { - "provisioningState": { - "oneOf": [ - { - "type": "string", - "enum": [ - "Succeeded", - "Updating", - "Creating", - "Failed" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "sourceRegion": { - "type": "string", - "description": "Gets or sets the source region." - }, - "targetRegion": { - "type": "string", - "description": "Gets or sets the target region." - } - }, - "required": [ - "sourceRegion", - "targetRegion" - ], - "description": "Defines the move collection properties." - }, - "moveCollections_moveResources_childResource": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2019-10-01-preview" - ] - }, - "name": { - "type": "string", - "description": "The Move Resource Name." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/MoveResourceProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Defines the move resource properties." - }, - "type": { - "type": "string", - "enum": [ - "moveResources" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.Migrate/moveCollections/moveResources" - }, - "MoveResourceDependencyOverride": { - "type": "object", - "properties": { - "id": { - "type": "string", - "description": "Gets or sets the ARM ID of the dependent resource." - }, - "targetId": { - "type": "string", - "description": "Gets or sets the resource ARM id of either the MoveResource or the resource ARM ID of\r\nthe dependent resource." - } - }, - "description": "Defines the dependency override of the move resource." - }, - "MoveResourceProperties": { - "type": "object", - "properties": { - "dependsOnOverrides": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/definitions/MoveResourceDependencyOverride" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Gets or sets the move resource dependencies overrides." - }, - "existingTargetId": { - "type": "string", - "description": "Gets or sets the existing target ARM Id of the resource." - }, - "provisioningState": { - "oneOf": [ - { - "type": "string", - "enum": [ - "Succeeded", - "Updating", - "Creating", - "Failed" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "resourceSettings": { - "oneOf": [ - { - "$ref": "#/definitions/ResourceSettings" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Gets or sets the resource settings." - }, - "sourceId": { - "type": "string", - "description": "Gets or sets the Source ARM Id of the resource." - } - }, - "required": [ - "sourceId" - ], - "description": "Defines the move resource properties." - }, - "NetworkInterfaceResourceSettings": { - "type": "object", - "properties": { - "enableAcceleratedNetworking": { - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Gets or sets a value indicating whether accelerated networking is enabled." - }, - "ipConfigurations": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/definitions/NicIpConfigurationResourceSettings" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Gets or sets the IP configurations of the NIC." - }, - "resourceType": { - "type": "string", - "enum": [ - "Microsoft.Network/networkInterfaces" - ] - } - }, - "required": [ - "resourceType" - ], - "description": "Defines the network interface resource settings." - }, - "NetworkSecurityGroupResourceSettings": { - "type": "object", - "properties": { - "resourceType": { - "type": "string", - "enum": [ - "Microsoft.Network/networkSecurityGroups" - ] - }, - "securityRules": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/definitions/NsgSecurityRule" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Gets or sets Security rules of network security group." - } - }, - "required": [ - "resourceType" - ], - "description": "Defines the NSG resource settings." - }, - "NicIpConfigurationResourceSettings": { - "type": "object", - "properties": { - "loadBalancerBackendAddressPools": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/definitions/LoadBalancerBackendAddressPoolReference" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Gets or sets the references of the load balancer backend address pools." - }, - "loadBalancerNatRules": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/definitions/LoadBalancerNatRuleReference" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Gets or sets the references of the load balancer NAT rules." - }, - "name": { - "type": "string", - "description": "Gets or sets the IP configuration name." - }, - "primary": { - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Gets or sets a value indicating whether this IP configuration is the primary." - }, - "privateIpAddress": { - "type": "string", - "description": "Gets or sets the private IP address of the network interface IP Configuration." - }, - "privateIpAllocationMethod": { - "type": "string", - "description": "Gets or sets the private IP address allocation method." - }, - "publicIp": { - "oneOf": [ - { - "$ref": "#/definitions/PublicIpReference" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Defines reference to a public IP." - }, - "subnet": { - "oneOf": [ - { - "$ref": "#/definitions/SubnetReference" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Defines reference to subnet." - } - }, - "description": "Defines NIC IP configuration properties." - }, - "NsgReference": { - "type": "object", - "properties": { - "sourceArmResourceId": { - "type": "string", - "description": "Gets the ARM resource ID of the tracked resource being referenced." - } - }, - "required": [ - "sourceArmResourceId" - ], - "description": "Defines reference to NSG." - }, - "NsgSecurityRule": { - "type": "object", - "properties": { - "access": { - "type": "string", - "description": "Gets or sets whether network traffic is allowed or denied.\r\nPossible values are “Allow” and “Deny”." - }, - "description": { - "type": "string", - "description": "Gets or sets a description for this rule. Restricted to 140 chars." - }, - "destinationAddressPrefix": { - "type": "string", - "description": "Gets or sets destination address prefix. CIDR or source IP range.\r\n A “*” can also be used to match all source IPs. Default tags such\r\nas ‘VirtualNetwork’, ‘AzureLoadBalancer’ and ‘Internet’ can also be used." - }, - "destinationPortRange": { - "type": "string", - "description": "Gets or sets Destination Port or Range. Integer or range between\r\n0 and 65535. A “*” can also be used to match all ports." - }, - "direction": { - "type": "string", - "description": "Gets or sets the direction of the rule.InBound or Outbound. The\r\ndirection specifies if rule will be evaluated on incoming or outgoing traffic." - }, - "name": { - "type": "string", - "description": "Gets or sets the Security rule name." - }, - "priority": { - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Gets or sets the priority of the rule. The value can be between\r\n100 and 4096. The priority number must be unique for each rule in the collection.\r\nThe lower the priority number, the higher the priority of the rule." - }, - "protocol": { - "type": "string", - "description": "Gets or sets Network protocol this rule applies to. Can be Tcp, Udp or All(*)." - }, - "sourceAddressPrefix": { - "type": "string", - "description": "Gets or sets source address prefix. CIDR or source IP range. A\r\n“*” can also be used to match all source IPs. Default tags such as ‘VirtualNetwork’,\r\n‘AzureLoadBalancer’ and ‘Internet’ can also be used. If this is an ingress\r\nrule, specifies where network traffic originates from." - }, - "sourcePortRange": { - "type": "string", - "description": "Gets or sets Source Port or Range. Integer or range between 0 and\r\n65535. A “*” can also be used to match all ports." - } - }, - "description": "Security Rule data model for Network Security Groups." - }, - "PublicIPAddressResourceSettings": { - "type": "object", - "properties": { - "domainNameLabel": { - "type": "string", - "description": "Gets or sets the domain name label." - }, - "fqdn": { - "type": "string", - "description": "Gets or sets the fully qualified domain name." - }, - "publicIpAllocationMethod": { - "type": "string", - "description": "Gets or sets public IP allocation method." - }, - "resourceType": { - "type": "string", - "enum": [ - "Microsoft.Network/publicIPAddresses" - ] - }, - "sku": { - "type": "string", - "description": "Gets or sets public IP sku." - }, - "zones": { - "type": "string", - "description": "Gets or sets public IP zones." - } - }, - "required": [ - "resourceType" - ], - "description": "Defines the public IP address resource settings." - }, - "PublicIpReference": { - "type": "object", - "properties": { - "sourceArmResourceId": { - "type": "string", - "description": "Gets the ARM resource ID of the tracked resource being referenced." - } - }, - "required": [ - "sourceArmResourceId" - ], - "description": "Defines reference to a public IP." - }, - "ResourceGroupResourceSettings": { - "type": "object", - "properties": { - "resourceType": { - "type": "string", - "enum": [ - "resourceGroups" - ] - } - }, - "required": [ - "resourceType" - ], - "description": "Defines the resource group resource settings." - }, - "ResourceSettings": { - "type": "object", - "oneOf": [ - { - "$ref": "#/definitions/VirtualMachineResourceSettings" - }, - { - "$ref": "#/definitions/AvailabilitySetResourceSettings" - }, - { - "$ref": "#/definitions/VirtualNetworkResourceSettings" - }, - { - "$ref": "#/definitions/NetworkInterfaceResourceSettings" - }, - { - "$ref": "#/definitions/NetworkSecurityGroupResourceSettings" - }, - { - "$ref": "#/definitions/LoadBalancerResourceSettings" - }, - { - "$ref": "#/definitions/SqlServerResourceSettings" - }, - { - "$ref": "#/definitions/SqlElasticPoolResourceSettings" - }, - { - "$ref": "#/definitions/SqlDatabaseResourceSettings" - }, - { - "$ref": "#/definitions/ResourceGroupResourceSettings" - }, - { - "$ref": "#/definitions/PublicIPAddressResourceSettings" - }, - { - "$ref": "#/definitions/KeyVaultResourceSettings" - }, - { - "$ref": "#/definitions/DiskEncryptionSetResourceSettings" - } - ], - "properties": { - "targetResourceName": { - "type": "string", - "description": "Gets or sets the target Resource name." - } - }, - "required": [ - "targetResourceName" - ], - "description": "Gets or sets the resource settings." - }, - "SqlDatabaseResourceSettings": { - "type": "object", - "properties": { - "resourceType": { - "type": "string", - "enum": [ - "Microsoft.Sql/servers/databases" - ] - }, - "zoneRedundant": { - "oneOf": [ - { - "type": "string", - "enum": [ - "Enable", - "Disable" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - } - }, - "required": [ - "resourceType" - ], - "description": "Defines the Sql Database resource settings." - }, - "SqlElasticPoolResourceSettings": { - "type": "object", - "properties": { - "resourceType": { - "type": "string", - "enum": [ - "Microsoft.Sql/servers/elasticPools" - ] - }, - "zoneRedundant": { - "oneOf": [ - { - "type": "string", - "enum": [ - "Enable", - "Disable" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - } - }, - "required": [ - "resourceType" - ], - "description": "Defines the Sql ElasticPool resource settings." - }, - "SqlServerResourceSettings": { - "type": "object", - "properties": { - "resourceType": { - "type": "string", - "enum": [ - "Microsoft.Sql/servers" - ] - } - }, - "required": [ - "resourceType" - ], - "description": "Defines the SQL Server resource settings." - }, - "SubnetReference": { - "type": "object", - "properties": { - "name": { - "type": "string", - "description": "Gets the name of the proxy resource on the target side." - }, - "sourceArmResourceId": { - "type": "string", - "description": "Gets the ARM resource ID of the tracked resource being referenced." - } - }, - "required": [ - "sourceArmResourceId" - ], - "description": "Defines reference to subnet." - }, - "SubnetResourceSettings": { - "type": "object", - "properties": { - "addressPrefix": { - "type": "string", - "description": "Gets or sets address prefix for the subnet." - }, - "name": { - "type": "string", - "description": "Gets or sets the Subnet name." - }, - "networkSecurityGroup": { - "oneOf": [ - { - "$ref": "#/definitions/NsgReference" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Defines reference to NSG." - } - }, - "description": "Defines the virtual network subnets resource settings." - }, - "VirtualMachineResourceSettings": { - "type": "object", - "properties": { - "resourceType": { - "type": "string", - "enum": [ - "Microsoft.Compute/virtualMachines" - ] - }, - "targetAvailabilitySetId": { - "type": "string", - "description": "Gets or sets the target availability set id for virtual machines not in an availability set at source." - }, - "targetAvailabilityZone": { - "oneOf": [ - { - "type": "string", - "enum": [ - "1", - "2", - "3", - "NA" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Gets or sets the target availability zone." - }, - "targetVmSize": { - "type": "string", - "description": "Gets or sets the target virtual machine size." - } - }, - "required": [ - "resourceType" - ], - "description": "Gets or sets the virtual machine resource settings." - }, - "VirtualNetworkResourceSettings": { - "type": "object", - "properties": { - "addressSpace": { - "oneOf": [ - { - "type": "array", - "items": { - "type": "string" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Gets or sets the address prefixes for the virtual network." - }, - "dnsServers": { - "oneOf": [ - { - "type": "array", - "items": { - "type": "string" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Gets or sets DHCPOptions that contains an array of DNS servers available to VMs\r\ndeployed in the virtual network." - }, - "enableDdosProtection": { - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Gets or sets a value indicating whether gets or sets whether the\r\nDDOS protection should be switched on." - }, - "resourceType": { - "type": "string", - "enum": [ - "Microsoft.Network/virtualNetworks" - ] - }, - "subnets": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/definitions/SubnetResourceSettings" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Gets or sets List of subnets in a VirtualNetwork." - } - }, - "required": [ - "resourceType" - ], - "description": "Defines the virtual network resource settings." - } - } -} \ No newline at end of file diff --git a/schemas/2021-01-01/Microsoft.Migrate.json b/schemas/2021-01-01/Microsoft.Migrate.json deleted file mode 100644 index 0e45499ee6..0000000000 --- a/schemas/2021-01-01/Microsoft.Migrate.json +++ /dev/null @@ -1,1054 +0,0 @@ -{ - "id": "https://schema.management.azure.com/schemas/2021-01-01/Microsoft.Migrate.json#", - "$schema": "http://json-schema.org/draft-04/schema#", - "title": "Microsoft.Migrate", - "description": "Microsoft Migrate Resource Types", - "resourceDefinitions": { - "moveCollections": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2021-01-01" - ] - }, - "identity": { - "oneOf": [ - { - "$ref": "#/definitions/Identity" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Defines the MSI properties of the Move Collection." - }, - "location": { - "type": "string", - "description": "The geo-location where the resource lives." - }, - "name": { - "type": "string", - "description": "The Move Collection Name." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/MoveCollectionProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Defines the move collection properties." - }, - "resources": { - "type": "array", - "items": { - "oneOf": [ - { - "$ref": "#/definitions/moveCollections_moveResources_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.Migrate/moveCollections" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.Migrate/moveCollections" - }, - "moveCollections_moveResources": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2021-01-01" - ] - }, - "name": { - "type": "string", - "description": "The Move Resource Name." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/MoveResourceProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Defines the move resource properties." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.Migrate/moveCollections/moveResources" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.Migrate/moveCollections/moveResources" - } - }, - "definitions": { - "AvailabilitySetResourceSettings": { - "type": "object", - "properties": { - "faultDomain": { - "oneOf": [ - { - "type": "integer", - "minimum": 1 - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Gets or sets the target fault domain." - }, - "resourceType": { - "type": "string", - "enum": [ - "Microsoft.Compute/availabilitySets" - ] - }, - "updateDomain": { - "oneOf": [ - { - "type": "integer", - "minimum": 1, - "maximum": 20 - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Gets or sets the target update domain." - } - }, - "required": [ - "resourceType" - ], - "description": "Gets or sets the availability set resource settings." - }, - "DiskEncryptionSetResourceSettings": { - "type": "object", - "properties": { - "resourceType": { - "type": "string", - "enum": [ - "Microsoft.Compute/diskEncryptionSets" - ] - } - }, - "required": [ - "resourceType" - ], - "description": "Defines the disk encryption set resource settings." - }, - "Identity": { - "type": "object", - "properties": { - "principalId": { - "type": "string", - "description": "Gets or sets the principal id." - }, - "tenantId": { - "type": "string", - "description": "Gets or sets the tenant id." - }, - "type": { - "oneOf": [ - { - "type": "string", - "enum": [ - "None", - "SystemAssigned", - "UserAssigned" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - } - }, - "description": "Defines the MSI properties of the Move Collection." - }, - "KeyVaultResourceSettings": { - "type": "object", - "properties": { - "resourceType": { - "type": "string", - "enum": [ - "Microsoft.KeyVault/vaults" - ] - } - }, - "required": [ - "resourceType" - ], - "description": "Defines the key vault resource settings." - }, - "LBBackendAddressPoolResourceSettings": { - "type": "object", - "properties": { - "name": { - "type": "string", - "description": "Gets or sets the backend address pool name." - } - }, - "description": "Defines load balancer backend address pool properties." - }, - "LBFrontendIPConfigurationResourceSettings": { - "type": "object", - "properties": { - "name": { - "type": "string", - "description": "Gets or sets the frontend IP configuration name." - }, - "privateIpAddress": { - "type": "string", - "description": "Gets or sets the IP address of the Load Balancer.This is only specified if a specific\r\nprivate IP address shall be allocated from the subnet specified in subnetRef." - }, - "privateIpAllocationMethod": { - "type": "string", - "description": "Gets or sets PrivateIP allocation method (Static/Dynamic)." - }, - "subnet": { - "oneOf": [ - { - "$ref": "#/definitions/SubnetReference" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Defines reference to subnet." - }, - "zones": { - "type": "string", - "description": "Gets or sets the csv list of zones." - } - }, - "description": "Defines load balancer frontend IP configuration properties." - }, - "LoadBalancerBackendAddressPoolReference": { - "type": "object", - "properties": { - "name": { - "type": "string", - "description": "Gets the name of the proxy resource on the target side." - }, - "sourceArmResourceId": { - "type": "string", - "description": "Gets the ARM resource ID of the tracked resource being referenced." - } - }, - "required": [ - "sourceArmResourceId" - ], - "description": "Defines reference to load balancer backend address pools." - }, - "LoadBalancerNatRuleReference": { - "type": "object", - "properties": { - "name": { - "type": "string", - "description": "Gets the name of the proxy resource on the target side." - }, - "sourceArmResourceId": { - "type": "string", - "description": "Gets the ARM resource ID of the tracked resource being referenced." - } - }, - "required": [ - "sourceArmResourceId" - ], - "description": "Defines reference to load balancer NAT rules." - }, - "LoadBalancerResourceSettings": { - "type": "object", - "properties": { - "backendAddressPools": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/definitions/LBBackendAddressPoolResourceSettings" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Gets or sets the backend address pools of the load balancer." - }, - "frontendIPConfigurations": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/definitions/LBFrontendIPConfigurationResourceSettings" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Gets or sets the frontend IP configurations of the load balancer." - }, - "resourceType": { - "type": "string", - "enum": [ - "Microsoft.Network/loadBalancers" - ] - }, - "sku": { - "type": "string", - "description": "Gets or sets load balancer sku (Basic/Standard)." - }, - "zones": { - "type": "string", - "description": "Gets or sets the csv list of zones common for all frontend IP configurations. Note this is given\r\n precedence only if frontend IP configurations settings are not present." - } - }, - "required": [ - "resourceType" - ], - "description": "Defines the load balancer resource settings." - }, - "MoveCollectionProperties": { - "type": "object", - "properties": { - "provisioningState": { - "oneOf": [ - { - "type": "string", - "enum": [ - "Succeeded", - "Updating", - "Creating", - "Failed" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "sourceRegion": { - "type": "string", - "description": "Gets or sets the source region." - }, - "targetRegion": { - "type": "string", - "description": "Gets or sets the target region." - } - }, - "required": [ - "sourceRegion", - "targetRegion" - ], - "description": "Defines the move collection properties." - }, - "moveCollections_moveResources_childResource": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2021-01-01" - ] - }, - "name": { - "type": "string", - "description": "The Move Resource Name." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/MoveResourceProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Defines the move resource properties." - }, - "type": { - "type": "string", - "enum": [ - "moveResources" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.Migrate/moveCollections/moveResources" - }, - "MoveResourceDependencyOverride": { - "type": "object", - "properties": { - "id": { - "type": "string", - "description": "Gets or sets the ARM ID of the dependent resource." - }, - "targetId": { - "type": "string", - "description": "Gets or sets the resource ARM id of either the MoveResource or the resource ARM ID of\r\nthe dependent resource." - } - }, - "description": "Defines the dependency override of the move resource." - }, - "MoveResourceProperties": { - "type": "object", - "properties": { - "dependsOnOverrides": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/definitions/MoveResourceDependencyOverride" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Gets or sets the move resource dependencies overrides." - }, - "existingTargetId": { - "type": "string", - "description": "Gets or sets the existing target ARM Id of the resource." - }, - "provisioningState": { - "oneOf": [ - { - "type": "string", - "enum": [ - "Succeeded", - "Updating", - "Creating", - "Failed" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "resourceSettings": { - "oneOf": [ - { - "$ref": "#/definitions/ResourceSettings" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Gets or sets the resource settings." - }, - "sourceId": { - "type": "string", - "description": "Gets or sets the Source ARM Id of the resource." - } - }, - "required": [ - "sourceId" - ], - "description": "Defines the move resource properties." - }, - "NetworkInterfaceResourceSettings": { - "type": "object", - "properties": { - "enableAcceleratedNetworking": { - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Gets or sets a value indicating whether accelerated networking is enabled." - }, - "ipConfigurations": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/definitions/NicIpConfigurationResourceSettings" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Gets or sets the IP configurations of the NIC." - }, - "resourceType": { - "type": "string", - "enum": [ - "Microsoft.Network/networkInterfaces" - ] - } - }, - "required": [ - "resourceType" - ], - "description": "Defines the network interface resource settings." - }, - "NetworkSecurityGroupResourceSettings": { - "type": "object", - "properties": { - "resourceType": { - "type": "string", - "enum": [ - "Microsoft.Network/networkSecurityGroups" - ] - }, - "securityRules": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/definitions/NsgSecurityRule" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Gets or sets Security rules of network security group." - } - }, - "required": [ - "resourceType" - ], - "description": "Defines the NSG resource settings." - }, - "NicIpConfigurationResourceSettings": { - "type": "object", - "properties": { - "loadBalancerBackendAddressPools": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/definitions/LoadBalancerBackendAddressPoolReference" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Gets or sets the references of the load balancer backend address pools." - }, - "loadBalancerNatRules": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/definitions/LoadBalancerNatRuleReference" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Gets or sets the references of the load balancer NAT rules." - }, - "name": { - "type": "string", - "description": "Gets or sets the IP configuration name." - }, - "primary": { - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Gets or sets a value indicating whether this IP configuration is the primary." - }, - "privateIpAddress": { - "type": "string", - "description": "Gets or sets the private IP address of the network interface IP Configuration." - }, - "privateIpAllocationMethod": { - "type": "string", - "description": "Gets or sets the private IP address allocation method." - }, - "publicIp": { - "oneOf": [ - { - "$ref": "#/definitions/PublicIpReference" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Defines reference to a public IP." - }, - "subnet": { - "oneOf": [ - { - "$ref": "#/definitions/SubnetReference" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Defines reference to subnet." - } - }, - "description": "Defines NIC IP configuration properties." - }, - "NsgReference": { - "type": "object", - "properties": { - "sourceArmResourceId": { - "type": "string", - "description": "Gets the ARM resource ID of the tracked resource being referenced." - } - }, - "required": [ - "sourceArmResourceId" - ], - "description": "Defines reference to NSG." - }, - "NsgSecurityRule": { - "type": "object", - "properties": { - "access": { - "type": "string", - "description": "Gets or sets whether network traffic is allowed or denied.\r\nPossible values are “Allow” and “Deny”." - }, - "description": { - "type": "string", - "description": "Gets or sets a description for this rule. Restricted to 140 chars." - }, - "destinationAddressPrefix": { - "type": "string", - "description": "Gets or sets destination address prefix. CIDR or source IP range.\r\n A “*” can also be used to match all source IPs. Default tags such\r\nas ‘VirtualNetwork’, ‘AzureLoadBalancer’ and ‘Internet’ can also be used." - }, - "destinationPortRange": { - "type": "string", - "description": "Gets or sets Destination Port or Range. Integer or range between\r\n0 and 65535. A “*” can also be used to match all ports." - }, - "direction": { - "type": "string", - "description": "Gets or sets the direction of the rule.InBound or Outbound. The\r\ndirection specifies if rule will be evaluated on incoming or outgoing traffic." - }, - "name": { - "type": "string", - "description": "Gets or sets the Security rule name." - }, - "priority": { - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Gets or sets the priority of the rule. The value can be between\r\n100 and 4096. The priority number must be unique for each rule in the collection.\r\nThe lower the priority number, the higher the priority of the rule." - }, - "protocol": { - "type": "string", - "description": "Gets or sets Network protocol this rule applies to. Can be Tcp, Udp or All(*)." - }, - "sourceAddressPrefix": { - "type": "string", - "description": "Gets or sets source address prefix. CIDR or source IP range. A\r\n“*” can also be used to match all source IPs. Default tags such as ‘VirtualNetwork’,\r\n‘AzureLoadBalancer’ and ‘Internet’ can also be used. If this is an ingress\r\nrule, specifies where network traffic originates from." - }, - "sourcePortRange": { - "type": "string", - "description": "Gets or sets Source Port or Range. Integer or range between 0 and\r\n65535. A “*” can also be used to match all ports." - } - }, - "description": "Security Rule data model for Network Security Groups." - }, - "PublicIPAddressResourceSettings": { - "type": "object", - "properties": { - "domainNameLabel": { - "type": "string", - "description": "Gets or sets the domain name label." - }, - "fqdn": { - "type": "string", - "description": "Gets or sets the fully qualified domain name." - }, - "publicIpAllocationMethod": { - "type": "string", - "description": "Gets or sets public IP allocation method." - }, - "resourceType": { - "type": "string", - "enum": [ - "Microsoft.Network/publicIPAddresses" - ] - }, - "sku": { - "type": "string", - "description": "Gets or sets public IP sku." - }, - "zones": { - "type": "string", - "description": "Gets or sets public IP zones." - } - }, - "required": [ - "resourceType" - ], - "description": "Defines the public IP address resource settings." - }, - "PublicIpReference": { - "type": "object", - "properties": { - "sourceArmResourceId": { - "type": "string", - "description": "Gets the ARM resource ID of the tracked resource being referenced." - } - }, - "required": [ - "sourceArmResourceId" - ], - "description": "Defines reference to a public IP." - }, - "ResourceGroupResourceSettings": { - "type": "object", - "properties": { - "resourceType": { - "type": "string", - "enum": [ - "resourceGroups" - ] - } - }, - "required": [ - "resourceType" - ], - "description": "Defines the resource group resource settings." - }, - "ResourceSettings": { - "type": "object", - "oneOf": [ - { - "$ref": "#/definitions/VirtualMachineResourceSettings" - }, - { - "$ref": "#/definitions/AvailabilitySetResourceSettings" - }, - { - "$ref": "#/definitions/VirtualNetworkResourceSettings" - }, - { - "$ref": "#/definitions/NetworkInterfaceResourceSettings" - }, - { - "$ref": "#/definitions/NetworkSecurityGroupResourceSettings" - }, - { - "$ref": "#/definitions/LoadBalancerResourceSettings" - }, - { - "$ref": "#/definitions/SqlServerResourceSettings" - }, - { - "$ref": "#/definitions/SqlElasticPoolResourceSettings" - }, - { - "$ref": "#/definitions/SqlDatabaseResourceSettings" - }, - { - "$ref": "#/definitions/ResourceGroupResourceSettings" - }, - { - "$ref": "#/definitions/PublicIPAddressResourceSettings" - }, - { - "$ref": "#/definitions/KeyVaultResourceSettings" - }, - { - "$ref": "#/definitions/DiskEncryptionSetResourceSettings" - } - ], - "properties": { - "targetResourceName": { - "type": "string", - "description": "Gets or sets the target Resource name." - } - }, - "required": [ - "targetResourceName" - ], - "description": "Gets or sets the resource settings." - }, - "SqlDatabaseResourceSettings": { - "type": "object", - "properties": { - "resourceType": { - "type": "string", - "enum": [ - "Microsoft.Sql/servers/databases" - ] - }, - "zoneRedundant": { - "oneOf": [ - { - "type": "string", - "enum": [ - "Enable", - "Disable" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - } - }, - "required": [ - "resourceType" - ], - "description": "Defines the Sql Database resource settings." - }, - "SqlElasticPoolResourceSettings": { - "type": "object", - "properties": { - "resourceType": { - "type": "string", - "enum": [ - "Microsoft.Sql/servers/elasticPools" - ] - }, - "zoneRedundant": { - "oneOf": [ - { - "type": "string", - "enum": [ - "Enable", - "Disable" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - } - }, - "required": [ - "resourceType" - ], - "description": "Defines the Sql ElasticPool resource settings." - }, - "SqlServerResourceSettings": { - "type": "object", - "properties": { - "resourceType": { - "type": "string", - "enum": [ - "Microsoft.Sql/servers" - ] - } - }, - "required": [ - "resourceType" - ], - "description": "Defines the SQL Server resource settings." - }, - "SubnetReference": { - "type": "object", - "properties": { - "name": { - "type": "string", - "description": "Gets the name of the proxy resource on the target side." - }, - "sourceArmResourceId": { - "type": "string", - "description": "Gets the ARM resource ID of the tracked resource being referenced." - } - }, - "required": [ - "sourceArmResourceId" - ], - "description": "Defines reference to subnet." - }, - "SubnetResourceSettings": { - "type": "object", - "properties": { - "addressPrefix": { - "type": "string", - "description": "Gets or sets address prefix for the subnet." - }, - "name": { - "type": "string", - "description": "Gets or sets the Subnet name." - }, - "networkSecurityGroup": { - "oneOf": [ - { - "$ref": "#/definitions/NsgReference" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Defines reference to NSG." - } - }, - "description": "Defines the virtual network subnets resource settings." - }, - "VirtualMachineResourceSettings": { - "type": "object", - "properties": { - "resourceType": { - "type": "string", - "enum": [ - "Microsoft.Compute/virtualMachines" - ] - }, - "targetAvailabilitySetId": { - "type": "string", - "description": "Gets or sets the target availability set id for virtual machines not in an availability set at source." - }, - "targetAvailabilityZone": { - "oneOf": [ - { - "type": "string", - "enum": [ - "1", - "2", - "3", - "NA" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Gets or sets the target availability zone." - }, - "targetVmSize": { - "type": "string", - "description": "Gets or sets the target virtual machine size." - } - }, - "required": [ - "resourceType" - ], - "description": "Gets or sets the virtual machine resource settings." - }, - "VirtualNetworkResourceSettings": { - "type": "object", - "properties": { - "addressSpace": { - "oneOf": [ - { - "type": "array", - "items": { - "type": "string" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Gets or sets the address prefixes for the virtual network." - }, - "dnsServers": { - "oneOf": [ - { - "type": "array", - "items": { - "type": "string" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Gets or sets DHCPOptions that contains an array of DNS servers available to VMs\r\ndeployed in the virtual network." - }, - "enableDdosProtection": { - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Gets or sets a value indicating whether gets or sets whether the\r\nDDOS protection should be switched on." - }, - "resourceType": { - "type": "string", - "enum": [ - "Microsoft.Network/virtualNetworks" - ] - }, - "subnets": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/definitions/SubnetResourceSettings" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Gets or sets List of subnets in a VirtualNetwork." - } - }, - "required": [ - "resourceType" - ], - "description": "Defines the virtual network resource settings." - } - } -} \ No newline at end of file diff --git a/schemas/common/autogeneratedResources.json b/schemas/common/autogeneratedResources.json index 63882afdc0..7aa5eaaeff 100644 --- a/schemas/common/autogeneratedResources.json +++ b/schemas/common/autogeneratedResources.json @@ -6952,12 +6952,6 @@ { "$ref": "https://schema.management.azure.com/schemas/2018-02-02/Microsoft.Migrate.json#/resourceDefinitions/projects_groups_assessments" }, - { - "$ref": "https://schema.management.azure.com/schemas/2018-09-01-preview/Microsoft.Migrate.json#/resourceDefinitions/migrateProjects" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2018-09-01-preview/Microsoft.Migrate.json#/resourceDefinitions/migrateProjects_solutions" - }, { "$ref": "https://schema.management.azure.com/schemas/2019-10-01/Microsoft.Migrate.json#/resourceDefinitions/assessmentProjects" }, @@ -6982,18 +6976,6 @@ { "$ref": "https://schema.management.azure.com/schemas/2019-10-01/Microsoft.Migrate.json#/resourceDefinitions/assessmentProjects_vmwarecollectors" }, - { - "$ref": "https://schema.management.azure.com/schemas/2019-10-01-preview/Microsoft.Migrate.json#/resourceDefinitions/moveCollections" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2019-10-01-preview/Microsoft.Migrate.json#/resourceDefinitions/moveCollections_moveResources" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2021-01-01/Microsoft.Migrate.json#/resourceDefinitions/moveCollections" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2021-01-01/Microsoft.Migrate.json#/resourceDefinitions/moveCollections_moveResources" - }, { "$ref": "https://schema.management.azure.com/schemas/2019-02-28-preview/Microsoft.MixedReality.json#/resourceDefinitions/spatialAnchorsAccounts" }, From d1e86662eff3c11e0aab79dee8816d739d599be8 Mon Sep 17 00:00:00 2001 From: Autogenerator Pipeline Date: Wed, 4 Aug 2021 10:37:39 +0000 Subject: [PATCH 29/64] Autogenerate schemas --- schemas/2018-02-02/Microsoft.Migrate.json | 599 -------- .../2018-09-01-preview/Microsoft.Migrate.json | 517 +++++++ .../2019-10-01-preview/Microsoft.Migrate.json | 1054 ++++++++++++++ schemas/2019-10-01/Microsoft.Migrate.json | 1260 ----------------- .../Microsoft.DBforPostgreSQL.json | 30 + schemas/2021-01-01/Microsoft.Migrate.json | 1054 ++++++++++++++ .../Microsoft.Security.json | 162 --- schemas/common/autogeneratedResources.json | 39 +- 8 files changed, 2661 insertions(+), 2054 deletions(-) delete mode 100644 schemas/2018-02-02/Microsoft.Migrate.json create mode 100644 schemas/2018-09-01-preview/Microsoft.Migrate.json create mode 100644 schemas/2019-10-01-preview/Microsoft.Migrate.json delete mode 100644 schemas/2019-10-01/Microsoft.Migrate.json create mode 100644 schemas/2021-01-01/Microsoft.Migrate.json delete mode 100644 schemas/2021-07-01-preview/Microsoft.Security.json diff --git a/schemas/2018-02-02/Microsoft.Migrate.json b/schemas/2018-02-02/Microsoft.Migrate.json deleted file mode 100644 index 690ba2f959..0000000000 --- a/schemas/2018-02-02/Microsoft.Migrate.json +++ /dev/null @@ -1,599 +0,0 @@ -{ - "id": "https://schema.management.azure.com/schemas/2018-02-02/Microsoft.Migrate.json#", - "$schema": "http://json-schema.org/draft-04/schema#", - "title": "Microsoft.Migrate", - "description": "Microsoft Migrate Resource Types", - "resourceDefinitions": { - "projects": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2018-02-02" - ] - }, - "eTag": { - "type": "string", - "description": "For optimistic concurrency control." - }, - "location": { - "type": "string", - "description": "Azure location in which project is created." - }, - "name": { - "type": "string", - "description": "Name of the Azure Migrate 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_groups_childResource" - } - ] - } - }, - "tags": { - "type": "object", - "properties": {}, - "description": "Tags provided by Azure Tagging service." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.Migrate/projects" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.Migrate/projects" - }, - "projects_groups": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2018-02-02" - ] - }, - "eTag": { - "type": "string", - "description": "For optimistic concurrency control." - }, - "name": { - "type": "string", - "description": "Unique name of a group within a project." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/GroupProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties of group resource." - }, - "resources": { - "type": "array", - "items": { - "oneOf": [ - { - "$ref": "#/definitions/projects_groups_assessments_childResource" - } - ] - } - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.Migrate/projects/groups" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.Migrate/projects/groups" - }, - "projects_groups_assessments": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2018-02-02" - ] - }, - "eTag": { - "type": "string", - "description": "For optimistic concurrency control." - }, - "name": { - "type": "string", - "description": "Unique name of an assessment within a project." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/AssessmentProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties of an assessment." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.Migrate/projects/groups/assessments" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.Migrate/projects/groups/assessments" - } - }, - "definitions": { - "AssessmentProperties": { - "type": "object", - "properties": { - "azureHybridUseBenefit": { - "oneOf": [ - { - "type": "string", - "enum": [ - "Unknown", - "Yes", - "No" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "AHUB discount on windows virtual machines." - }, - "azureLocation": { - "oneOf": [ - { - "type": "string", - "enum": [ - "Unknown", - "EastAsia", - "SoutheastAsia", - "AustraliaEast", - "AustraliaSoutheast", - "BrazilSouth", - "CanadaCentral", - "CanadaEast", - "WestEurope", - "NorthEurope", - "CentralIndia", - "SouthIndia", - "WestIndia", - "JapanEast", - "JapanWest", - "KoreaCentral", - "KoreaSouth", - "UkWest", - "UkSouth", - "NorthCentralUs", - "EastUs", - "WestUs2", - "SouthCentralUs", - "CentralUs", - "EastUs2", - "WestUs", - "WestCentralUs", - "GermanyCentral", - "GermanyNortheast", - "ChinaNorth", - "ChinaEast" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Target Azure location for which the machines should be assessed. These enums are the same as used by Compute API." - }, - "azureOfferCode": { - "oneOf": [ - { - "type": "string", - "enum": [ - "Unknown", - "MSAZR0003P", - "MSAZR0044P", - "MSAZR0059P", - "MSAZR0060P", - "MSAZR0062P", - "MSAZR0063P", - "MSAZR0064P", - "MSAZR0029P", - "MSAZR0022P", - "MSAZR0023P", - "MSAZR0148P", - "MSAZR0025P", - "MSAZR0036P", - "MSAZR0120P", - "MSAZR0121P", - "MSAZR0122P", - "MSAZR0123P", - "MSAZR0124P", - "MSAZR0125P", - "MSAZR0126P", - "MSAZR0127P", - "MSAZR0128P", - "MSAZR0129P", - "MSAZR0130P", - "MSAZR0111P", - "MSAZR0144P", - "MSAZR0149P", - "MSMCAZR0044P", - "MSMCAZR0059P", - "MSMCAZR0060P", - "MSMCAZR0063P", - "MSMCAZR0120P", - "MSMCAZR0121P", - "MSMCAZR0125P", - "MSMCAZR0128P", - "MSAZRDE0003P", - "MSAZRDE0044P" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Offer code according to which cost estimation is done." - }, - "azurePricingTier": { - "oneOf": [ - { - "type": "string", - "enum": [ - "Standard", - "Basic" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Pricing tier for Size evaluation." - }, - "azureStorageRedundancy": { - "oneOf": [ - { - "type": "string", - "enum": [ - "Unknown", - "LocallyRedundant", - "ZoneRedundant", - "GeoRedundant", - "ReadAccessGeoRedundant" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Storage Redundancy type offered by Azure." - }, - "currency": { - "oneOf": [ - { - "type": "string", - "enum": [ - "Unknown", - "USD", - "DKK", - "CAD", - "IDR", - "JPY", - "KRW", - "NZD", - "NOK", - "RUB", - "SAR", - "ZAR", - "SEK", - "TRY", - "GBP", - "MXN", - "MYR", - "INR", - "HKD", - "BRL", - "TWD", - "EUR", - "CHF", - "ARS", - "AUD", - "CNY" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Currency to report prices in." - }, - "discountPercentage": { - "oneOf": [ - { - "type": "number" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Custom discount percentage to be applied on final costs. Can be in the range [0, 100]." - }, - "percentile": { - "oneOf": [ - { - "type": "string", - "enum": [ - "Percentile50", - "Percentile90", - "Percentile95", - "Percentile99" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Percentile of performance data used to recommend Azure size." - }, - "scalingFactor": { - "oneOf": [ - { - "type": "number" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Scaling factor used over utilization data to add a performance buffer for new machines to be created in Azure. Min Value = 1.0, Max value = 1.9, Default = 1.3." - }, - "sizingCriterion": { - "oneOf": [ - { - "type": "string", - "enum": [ - "PerformanceBased", - "AsOnPremises" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Assessment sizing criterion." - }, - "stage": { - "oneOf": [ - { - "type": "string", - "enum": [ - "InProgress", - "UnderReview", - "Approved" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "User configurable setting that describes the status of the assessment." - }, - "timeRange": { - "oneOf": [ - { - "type": "string", - "enum": [ - "Day", - "Week", - "Month" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Time range of performance data used to recommend a size." - } - }, - "required": [ - "azureHybridUseBenefit", - "azureLocation", - "azureOfferCode", - "azurePricingTier", - "azureStorageRedundancy", - "currency", - "discountPercentage", - "percentile", - "scalingFactor", - "sizingCriterion", - "stage", - "timeRange" - ], - "description": "Properties of an assessment." - }, - "GroupProperties": { - "type": "object", - "properties": { - "machines": { - "oneOf": [ - { - "type": "array", - "items": { - "type": "string" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "List of machine names that are part of this group." - } - }, - "required": [ - "machines" - ], - "description": "Properties of group resource." - }, - "ProjectProperties": { - "type": "object", - "properties": { - "customerWorkspaceId": { - "type": "string", - "description": "ARM ID of the Service Map workspace created by user." - }, - "customerWorkspaceLocation": { - "type": "string", - "description": "Location of the Service Map workspace created by user." - }, - "provisioningState": { - "oneOf": [ - { - "type": "string", - "enum": [ - "Accepted", - "Creating", - "Deleting", - "Failed", - "Moving", - "Succeeded" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Provisioning state of the project." - } - }, - "description": "Properties of a project." - }, - "projects_groups_assessments_childResource": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2018-02-02" - ] - }, - "eTag": { - "type": "string", - "description": "For optimistic concurrency control." - }, - "name": { - "type": "string", - "description": "Unique name of an assessment within a project." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/AssessmentProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties of an assessment." - }, - "type": { - "type": "string", - "enum": [ - "assessments" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.Migrate/projects/groups/assessments" - }, - "projects_groups_childResource": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2018-02-02" - ] - }, - "eTag": { - "type": "string", - "description": "For optimistic concurrency control." - }, - "name": { - "type": "string", - "description": "Unique name of a group within a project." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/GroupProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties of group resource." - }, - "type": { - "type": "string", - "enum": [ - "groups" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.Migrate/projects/groups" - } - } -} \ No newline at end of file diff --git a/schemas/2018-09-01-preview/Microsoft.Migrate.json b/schemas/2018-09-01-preview/Microsoft.Migrate.json new file mode 100644 index 0000000000..074e3e9b7c --- /dev/null +++ b/schemas/2018-09-01-preview/Microsoft.Migrate.json @@ -0,0 +1,517 @@ +{ + "id": "https://schema.management.azure.com/schemas/2018-09-01-preview/Microsoft.Migrate.json#", + "$schema": "http://json-schema.org/draft-04/schema#", + "title": "Microsoft.Migrate", + "description": "Microsoft Migrate Resource Types", + "resourceDefinitions": { + "migrateProjects": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2018-09-01-preview" + ] + }, + "eTag": { + "type": "string", + "description": "Gets or sets the eTag for concurrency control." + }, + "location": { + "type": "string", + "description": "Gets or sets the Azure location in which migrate project is created." + }, + "name": { + "type": "string", + "description": "Name of the Azure Migrate project." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/MigrateProjectProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Class for migrate project properties." + }, + "resources": { + "type": "array", + "items": { + "oneOf": [ + { + "$ref": "#/definitions/migrateProjects_solutions_childResource" + } + ] + } + }, + "tags": { + "oneOf": [ + { + "$ref": "#/definitions/MigrateProjectTags" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Gets or sets the tags." + }, + "type": { + "type": "string", + "enum": [ + "Microsoft.Migrate/migrateProjects" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.Migrate/migrateProjects" + }, + "migrateProjects_solutions": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2018-09-01-preview" + ] + }, + "etag": { + "type": "string", + "description": "Gets or sets the ETAG for optimistic concurrency control." + }, + "name": { + "type": "string", + "description": "Unique name of a migration solution within a migrate project." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/SolutionProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Class for solution properties." + }, + "type": { + "type": "string", + "enum": [ + "Microsoft.Migrate/migrateProjects/solutions" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.Migrate/migrateProjects/solutions" + } + }, + "definitions": { + "DatabasesSolutionSummary": { + "type": "object", + "properties": { + "databaseInstancesAssessedCount": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Gets or sets the count of database instances assessed." + }, + "databasesAssessedCount": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Gets or sets the count of databases assessed." + }, + "instanceType": { + "type": "string", + "enum": [ + "Databases" + ] + }, + "migrationReadyCount": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Gets or sets the count of databases ready for migration." + } + }, + "required": [ + "instanceType" + ], + "description": "Class representing the databases solution summary." + }, + "MigrateProjectProperties": { + "type": "object", + "properties": { + "provisioningState": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Accepted", + "Creating", + "Deleting", + "Failed", + "Moving", + "Succeeded" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Provisioning state of the migrate project." + }, + "registeredTools": { + "oneOf": [ + { + "type": "array", + "items": { + "type": "string", + "enum": [ + "ServerDiscovery", + "ServerAssessment", + "ServerMigration", + "Cloudamize", + "Turbonomic", + "Zerto", + "CorentTech", + "ServerAssessmentV1", + "ServerMigration_Replication", + "Carbonite", + "DataMigrationAssistant", + "DatabaseMigrationService" + ] + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Gets or sets the list of tools registered with the migrate project." + } + }, + "description": "Class for migrate project properties." + }, + "migrateProjects_solutions_childResource": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2018-09-01-preview" + ] + }, + "etag": { + "type": "string", + "description": "Gets or sets the ETAG for optimistic concurrency control." + }, + "name": { + "type": "string", + "description": "Unique name of a migration solution within a migrate project." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/SolutionProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Class for solution properties." + }, + "type": { + "type": "string", + "enum": [ + "solutions" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.Migrate/migrateProjects/solutions" + }, + "MigrateProjectTags": { + "type": "object", + "properties": { + "additionalProperties": { + "type": "string" + } + }, + "description": "Gets or sets the tags." + }, + "ServersSolutionSummary": { + "type": "object", + "properties": { + "assessedCount": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Gets or sets the count of servers assessed." + }, + "discoveredCount": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Gets or sets the count of servers discovered." + }, + "instanceType": { + "type": "string", + "enum": [ + "Servers" + ] + }, + "migratedCount": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Gets or sets the count of servers migrated." + }, + "replicatingCount": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Gets or sets the count of servers being replicated." + }, + "testMigratedCount": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Gets or sets the count of servers test migrated." + } + }, + "required": [ + "instanceType" + ], + "description": "Class representing the servers solution summary." + }, + "SolutionDetails": { + "type": "object", + "properties": { + "assessmentCount": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Gets or sets the count of assessments reported by the solution." + }, + "extendedDetails": { + "oneOf": [ + { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "properties": {} + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Gets or sets the extended details reported by the solution." + }, + "groupCount": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Gets or sets the count of groups reported by the solution." + } + }, + "description": "Class representing the details of the solution." + }, + "SolutionProperties": { + "type": "object", + "properties": { + "cleanupState": { + "oneOf": [ + { + "type": "string", + "enum": [ + "None", + "Started", + "InProgress", + "Completed", + "Failed" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Gets or sets the cleanup state of the solution." + }, + "details": { + "oneOf": [ + { + "$ref": "#/definitions/SolutionDetails" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Class representing the details of the solution." + }, + "goal": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Servers", + "Databases" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Gets or sets the goal of the solution." + }, + "purpose": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Discovery", + "Assessment", + "Migration" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Gets or sets the purpose of the solution." + }, + "status": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Inactive", + "Active" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Gets or sets the current status of the solution." + }, + "summary": { + "oneOf": [ + { + "$ref": "#/definitions/SolutionSummary" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The solution summary class." + }, + "tool": { + "oneOf": [ + { + "type": "string", + "enum": [ + "ServerDiscovery", + "ServerAssessment", + "ServerMigration", + "Cloudamize", + "Turbonomic", + "Zerto", + "CorentTech", + "ServerAssessmentV1", + "ServerMigration_Replication", + "Carbonite", + "DataMigrationAssistant", + "DatabaseMigrationService" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Gets or sets the tool being used in the solution." + } + }, + "description": "Class for solution properties." + }, + "SolutionSummary": { + "type": "object", + "oneOf": [ + { + "$ref": "#/definitions/ServersSolutionSummary" + }, + { + "$ref": "#/definitions/DatabasesSolutionSummary" + } + ], + "properties": {}, + "description": "The solution summary class." + } + } +} \ No newline at end of file diff --git a/schemas/2019-10-01-preview/Microsoft.Migrate.json b/schemas/2019-10-01-preview/Microsoft.Migrate.json new file mode 100644 index 0000000000..69d60e191b --- /dev/null +++ b/schemas/2019-10-01-preview/Microsoft.Migrate.json @@ -0,0 +1,1054 @@ +{ + "id": "https://schema.management.azure.com/schemas/2019-10-01-preview/Microsoft.Migrate.json#", + "$schema": "http://json-schema.org/draft-04/schema#", + "title": "Microsoft.Migrate", + "description": "Microsoft Migrate Resource Types", + "resourceDefinitions": { + "moveCollections": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2019-10-01-preview" + ] + }, + "identity": { + "oneOf": [ + { + "$ref": "#/definitions/Identity" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Defines the MSI properties of the Move Collection." + }, + "location": { + "type": "string", + "description": "The geo-location where the resource lives." + }, + "name": { + "type": "string", + "description": "The Move Collection Name." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/MoveCollectionProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Defines the move collection properties." + }, + "resources": { + "type": "array", + "items": { + "oneOf": [ + { + "$ref": "#/definitions/moveCollections_moveResources_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.Migrate/moveCollections" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.Migrate/moveCollections" + }, + "moveCollections_moveResources": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2019-10-01-preview" + ] + }, + "name": { + "type": "string", + "description": "The Move Resource Name." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/MoveResourceProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Defines the move resource properties." + }, + "type": { + "type": "string", + "enum": [ + "Microsoft.Migrate/moveCollections/moveResources" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.Migrate/moveCollections/moveResources" + } + }, + "definitions": { + "AvailabilitySetResourceSettings": { + "type": "object", + "properties": { + "faultDomain": { + "oneOf": [ + { + "type": "integer", + "minimum": 1 + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Gets or sets the target fault domain." + }, + "resourceType": { + "type": "string", + "enum": [ + "Microsoft.Compute/availabilitySets" + ] + }, + "updateDomain": { + "oneOf": [ + { + "type": "integer", + "minimum": 1, + "maximum": 20 + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Gets or sets the target update domain." + } + }, + "required": [ + "resourceType" + ], + "description": "Gets or sets the availability set resource settings." + }, + "DiskEncryptionSetResourceSettings": { + "type": "object", + "properties": { + "resourceType": { + "type": "string", + "enum": [ + "Microsoft.Compute/diskEncryptionSets" + ] + } + }, + "required": [ + "resourceType" + ], + "description": "Defines the disk encryption set resource settings." + }, + "Identity": { + "type": "object", + "properties": { + "principalId": { + "type": "string", + "description": "Gets or sets the principal id." + }, + "tenantId": { + "type": "string", + "description": "Gets or sets the tenant id." + }, + "type": { + "oneOf": [ + { + "type": "string", + "enum": [ + "None", + "SystemAssigned", + "UserAssigned" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ] + } + }, + "description": "Defines the MSI properties of the Move Collection." + }, + "KeyVaultResourceSettings": { + "type": "object", + "properties": { + "resourceType": { + "type": "string", + "enum": [ + "Microsoft.KeyVault/vaults" + ] + } + }, + "required": [ + "resourceType" + ], + "description": "Defines the key vault resource settings." + }, + "LBBackendAddressPoolResourceSettings": { + "type": "object", + "properties": { + "name": { + "type": "string", + "description": "Gets or sets the backend address pool name." + } + }, + "description": "Defines load balancer backend address pool properties." + }, + "LBFrontendIPConfigurationResourceSettings": { + "type": "object", + "properties": { + "name": { + "type": "string", + "description": "Gets or sets the frontend IP configuration name." + }, + "privateIpAddress": { + "type": "string", + "description": "Gets or sets the IP address of the Load Balancer.This is only specified if a specific\r\nprivate IP address shall be allocated from the subnet specified in subnetRef." + }, + "privateIpAllocationMethod": { + "type": "string", + "description": "Gets or sets PrivateIP allocation method (Static/Dynamic)." + }, + "subnet": { + "oneOf": [ + { + "$ref": "#/definitions/SubnetReference" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Defines reference to subnet." + }, + "zones": { + "type": "string", + "description": "Gets or sets the csv list of zones." + } + }, + "description": "Defines load balancer frontend IP configuration properties." + }, + "LoadBalancerBackendAddressPoolReference": { + "type": "object", + "properties": { + "name": { + "type": "string", + "description": "Gets the name of the proxy resource on the target side." + }, + "sourceArmResourceId": { + "type": "string", + "description": "Gets the ARM resource ID of the tracked resource being referenced." + } + }, + "required": [ + "sourceArmResourceId" + ], + "description": "Defines reference to load balancer backend address pools." + }, + "LoadBalancerNatRuleReference": { + "type": "object", + "properties": { + "name": { + "type": "string", + "description": "Gets the name of the proxy resource on the target side." + }, + "sourceArmResourceId": { + "type": "string", + "description": "Gets the ARM resource ID of the tracked resource being referenced." + } + }, + "required": [ + "sourceArmResourceId" + ], + "description": "Defines reference to load balancer NAT rules." + }, + "LoadBalancerResourceSettings": { + "type": "object", + "properties": { + "backendAddressPools": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/LBBackendAddressPoolResourceSettings" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Gets or sets the backend address pools of the load balancer." + }, + "frontendIPConfigurations": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/LBFrontendIPConfigurationResourceSettings" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Gets or sets the frontend IP configurations of the load balancer." + }, + "resourceType": { + "type": "string", + "enum": [ + "Microsoft.Network/loadBalancers" + ] + }, + "sku": { + "type": "string", + "description": "Gets or sets load balancer sku (Basic/Standard)." + }, + "zones": { + "type": "string", + "description": "Gets or sets the csv list of zones common for all frontend IP configurations. Note this is given\r\n precedence only if frontend IP configurations settings are not present." + } + }, + "required": [ + "resourceType" + ], + "description": "Defines the load balancer resource settings." + }, + "MoveCollectionProperties": { + "type": "object", + "properties": { + "provisioningState": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Succeeded", + "Updating", + "Creating", + "Failed" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ] + }, + "sourceRegion": { + "type": "string", + "description": "Gets or sets the source region." + }, + "targetRegion": { + "type": "string", + "description": "Gets or sets the target region." + } + }, + "required": [ + "sourceRegion", + "targetRegion" + ], + "description": "Defines the move collection properties." + }, + "moveCollections_moveResources_childResource": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2019-10-01-preview" + ] + }, + "name": { + "type": "string", + "description": "The Move Resource Name." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/MoveResourceProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Defines the move resource properties." + }, + "type": { + "type": "string", + "enum": [ + "moveResources" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.Migrate/moveCollections/moveResources" + }, + "MoveResourceDependencyOverride": { + "type": "object", + "properties": { + "id": { + "type": "string", + "description": "Gets or sets the ARM ID of the dependent resource." + }, + "targetId": { + "type": "string", + "description": "Gets or sets the resource ARM id of either the MoveResource or the resource ARM ID of\r\nthe dependent resource." + } + }, + "description": "Defines the dependency override of the move resource." + }, + "MoveResourceProperties": { + "type": "object", + "properties": { + "dependsOnOverrides": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/MoveResourceDependencyOverride" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Gets or sets the move resource dependencies overrides." + }, + "existingTargetId": { + "type": "string", + "description": "Gets or sets the existing target ARM Id of the resource." + }, + "provisioningState": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Succeeded", + "Updating", + "Creating", + "Failed" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ] + }, + "resourceSettings": { + "oneOf": [ + { + "$ref": "#/definitions/ResourceSettings" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Gets or sets the resource settings." + }, + "sourceId": { + "type": "string", + "description": "Gets or sets the Source ARM Id of the resource." + } + }, + "required": [ + "sourceId" + ], + "description": "Defines the move resource properties." + }, + "NetworkInterfaceResourceSettings": { + "type": "object", + "properties": { + "enableAcceleratedNetworking": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Gets or sets a value indicating whether accelerated networking is enabled." + }, + "ipConfigurations": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/NicIpConfigurationResourceSettings" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Gets or sets the IP configurations of the NIC." + }, + "resourceType": { + "type": "string", + "enum": [ + "Microsoft.Network/networkInterfaces" + ] + } + }, + "required": [ + "resourceType" + ], + "description": "Defines the network interface resource settings." + }, + "NetworkSecurityGroupResourceSettings": { + "type": "object", + "properties": { + "resourceType": { + "type": "string", + "enum": [ + "Microsoft.Network/networkSecurityGroups" + ] + }, + "securityRules": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/NsgSecurityRule" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Gets or sets Security rules of network security group." + } + }, + "required": [ + "resourceType" + ], + "description": "Defines the NSG resource settings." + }, + "NicIpConfigurationResourceSettings": { + "type": "object", + "properties": { + "loadBalancerBackendAddressPools": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/LoadBalancerBackendAddressPoolReference" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Gets or sets the references of the load balancer backend address pools." + }, + "loadBalancerNatRules": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/LoadBalancerNatRuleReference" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Gets or sets the references of the load balancer NAT rules." + }, + "name": { + "type": "string", + "description": "Gets or sets the IP configuration name." + }, + "primary": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Gets or sets a value indicating whether this IP configuration is the primary." + }, + "privateIpAddress": { + "type": "string", + "description": "Gets or sets the private IP address of the network interface IP Configuration." + }, + "privateIpAllocationMethod": { + "type": "string", + "description": "Gets or sets the private IP address allocation method." + }, + "publicIp": { + "oneOf": [ + { + "$ref": "#/definitions/PublicIpReference" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Defines reference to a public IP." + }, + "subnet": { + "oneOf": [ + { + "$ref": "#/definitions/SubnetReference" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Defines reference to subnet." + } + }, + "description": "Defines NIC IP configuration properties." + }, + "NsgReference": { + "type": "object", + "properties": { + "sourceArmResourceId": { + "type": "string", + "description": "Gets the ARM resource ID of the tracked resource being referenced." + } + }, + "required": [ + "sourceArmResourceId" + ], + "description": "Defines reference to NSG." + }, + "NsgSecurityRule": { + "type": "object", + "properties": { + "access": { + "type": "string", + "description": "Gets or sets whether network traffic is allowed or denied.\r\nPossible values are “Allow” and “Deny”." + }, + "description": { + "type": "string", + "description": "Gets or sets a description for this rule. Restricted to 140 chars." + }, + "destinationAddressPrefix": { + "type": "string", + "description": "Gets or sets destination address prefix. CIDR or source IP range.\r\n A “*” can also be used to match all source IPs. Default tags such\r\nas ‘VirtualNetwork’, ‘AzureLoadBalancer’ and ‘Internet’ can also be used." + }, + "destinationPortRange": { + "type": "string", + "description": "Gets or sets Destination Port or Range. Integer or range between\r\n0 and 65535. A “*” can also be used to match all ports." + }, + "direction": { + "type": "string", + "description": "Gets or sets the direction of the rule.InBound or Outbound. The\r\ndirection specifies if rule will be evaluated on incoming or outgoing traffic." + }, + "name": { + "type": "string", + "description": "Gets or sets the Security rule name." + }, + "priority": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Gets or sets the priority of the rule. The value can be between\r\n100 and 4096. The priority number must be unique for each rule in the collection.\r\nThe lower the priority number, the higher the priority of the rule." + }, + "protocol": { + "type": "string", + "description": "Gets or sets Network protocol this rule applies to. Can be Tcp, Udp or All(*)." + }, + "sourceAddressPrefix": { + "type": "string", + "description": "Gets or sets source address prefix. CIDR or source IP range. A\r\n“*” can also be used to match all source IPs. Default tags such as ‘VirtualNetwork’,\r\n‘AzureLoadBalancer’ and ‘Internet’ can also be used. If this is an ingress\r\nrule, specifies where network traffic originates from." + }, + "sourcePortRange": { + "type": "string", + "description": "Gets or sets Source Port or Range. Integer or range between 0 and\r\n65535. A “*” can also be used to match all ports." + } + }, + "description": "Security Rule data model for Network Security Groups." + }, + "PublicIPAddressResourceSettings": { + "type": "object", + "properties": { + "domainNameLabel": { + "type": "string", + "description": "Gets or sets the domain name label." + }, + "fqdn": { + "type": "string", + "description": "Gets or sets the fully qualified domain name." + }, + "publicIpAllocationMethod": { + "type": "string", + "description": "Gets or sets public IP allocation method." + }, + "resourceType": { + "type": "string", + "enum": [ + "Microsoft.Network/publicIPAddresses" + ] + }, + "sku": { + "type": "string", + "description": "Gets or sets public IP sku." + }, + "zones": { + "type": "string", + "description": "Gets or sets public IP zones." + } + }, + "required": [ + "resourceType" + ], + "description": "Defines the public IP address resource settings." + }, + "PublicIpReference": { + "type": "object", + "properties": { + "sourceArmResourceId": { + "type": "string", + "description": "Gets the ARM resource ID of the tracked resource being referenced." + } + }, + "required": [ + "sourceArmResourceId" + ], + "description": "Defines reference to a public IP." + }, + "ResourceGroupResourceSettings": { + "type": "object", + "properties": { + "resourceType": { + "type": "string", + "enum": [ + "resourceGroups" + ] + } + }, + "required": [ + "resourceType" + ], + "description": "Defines the resource group resource settings." + }, + "ResourceSettings": { + "type": "object", + "oneOf": [ + { + "$ref": "#/definitions/VirtualMachineResourceSettings" + }, + { + "$ref": "#/definitions/AvailabilitySetResourceSettings" + }, + { + "$ref": "#/definitions/VirtualNetworkResourceSettings" + }, + { + "$ref": "#/definitions/NetworkInterfaceResourceSettings" + }, + { + "$ref": "#/definitions/NetworkSecurityGroupResourceSettings" + }, + { + "$ref": "#/definitions/LoadBalancerResourceSettings" + }, + { + "$ref": "#/definitions/SqlServerResourceSettings" + }, + { + "$ref": "#/definitions/SqlElasticPoolResourceSettings" + }, + { + "$ref": "#/definitions/SqlDatabaseResourceSettings" + }, + { + "$ref": "#/definitions/ResourceGroupResourceSettings" + }, + { + "$ref": "#/definitions/PublicIPAddressResourceSettings" + }, + { + "$ref": "#/definitions/KeyVaultResourceSettings" + }, + { + "$ref": "#/definitions/DiskEncryptionSetResourceSettings" + } + ], + "properties": { + "targetResourceName": { + "type": "string", + "description": "Gets or sets the target Resource name." + } + }, + "required": [ + "targetResourceName" + ], + "description": "Gets or sets the resource settings." + }, + "SqlDatabaseResourceSettings": { + "type": "object", + "properties": { + "resourceType": { + "type": "string", + "enum": [ + "Microsoft.Sql/servers/databases" + ] + }, + "zoneRedundant": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Enable", + "Disable" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ] + } + }, + "required": [ + "resourceType" + ], + "description": "Defines the Sql Database resource settings." + }, + "SqlElasticPoolResourceSettings": { + "type": "object", + "properties": { + "resourceType": { + "type": "string", + "enum": [ + "Microsoft.Sql/servers/elasticPools" + ] + }, + "zoneRedundant": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Enable", + "Disable" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ] + } + }, + "required": [ + "resourceType" + ], + "description": "Defines the Sql ElasticPool resource settings." + }, + "SqlServerResourceSettings": { + "type": "object", + "properties": { + "resourceType": { + "type": "string", + "enum": [ + "Microsoft.Sql/servers" + ] + } + }, + "required": [ + "resourceType" + ], + "description": "Defines the SQL Server resource settings." + }, + "SubnetReference": { + "type": "object", + "properties": { + "name": { + "type": "string", + "description": "Gets the name of the proxy resource on the target side." + }, + "sourceArmResourceId": { + "type": "string", + "description": "Gets the ARM resource ID of the tracked resource being referenced." + } + }, + "required": [ + "sourceArmResourceId" + ], + "description": "Defines reference to subnet." + }, + "SubnetResourceSettings": { + "type": "object", + "properties": { + "addressPrefix": { + "type": "string", + "description": "Gets or sets address prefix for the subnet." + }, + "name": { + "type": "string", + "description": "Gets or sets the Subnet name." + }, + "networkSecurityGroup": { + "oneOf": [ + { + "$ref": "#/definitions/NsgReference" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Defines reference to NSG." + } + }, + "description": "Defines the virtual network subnets resource settings." + }, + "VirtualMachineResourceSettings": { + "type": "object", + "properties": { + "resourceType": { + "type": "string", + "enum": [ + "Microsoft.Compute/virtualMachines" + ] + }, + "targetAvailabilitySetId": { + "type": "string", + "description": "Gets or sets the target availability set id for virtual machines not in an availability set at source." + }, + "targetAvailabilityZone": { + "oneOf": [ + { + "type": "string", + "enum": [ + "1", + "2", + "3", + "NA" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Gets or sets the target availability zone." + }, + "targetVmSize": { + "type": "string", + "description": "Gets or sets the target virtual machine size." + } + }, + "required": [ + "resourceType" + ], + "description": "Gets or sets the virtual machine resource settings." + }, + "VirtualNetworkResourceSettings": { + "type": "object", + "properties": { + "addressSpace": { + "oneOf": [ + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Gets or sets the address prefixes for the virtual network." + }, + "dnsServers": { + "oneOf": [ + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Gets or sets DHCPOptions that contains an array of DNS servers available to VMs\r\ndeployed in the virtual network." + }, + "enableDdosProtection": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Gets or sets a value indicating whether gets or sets whether the\r\nDDOS protection should be switched on." + }, + "resourceType": { + "type": "string", + "enum": [ + "Microsoft.Network/virtualNetworks" + ] + }, + "subnets": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/SubnetResourceSettings" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Gets or sets List of subnets in a VirtualNetwork." + } + }, + "required": [ + "resourceType" + ], + "description": "Defines the virtual network resource settings." + } + } +} \ No newline at end of file diff --git a/schemas/2019-10-01/Microsoft.Migrate.json b/schemas/2019-10-01/Microsoft.Migrate.json deleted file mode 100644 index d86ce3a1c7..0000000000 --- a/schemas/2019-10-01/Microsoft.Migrate.json +++ /dev/null @@ -1,1260 +0,0 @@ -{ - "id": "https://schema.management.azure.com/schemas/2019-10-01/Microsoft.Migrate.json#", - "$schema": "http://json-schema.org/draft-04/schema#", - "title": "Microsoft.Migrate", - "description": "Microsoft Migrate Resource Types", - "resourceDefinitions": { - "assessmentProjects": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2019-10-01" - ] - }, - "eTag": { - "type": "string", - "description": "For optimistic concurrency control." - }, - "location": { - "type": "string", - "description": "Azure location in which project is created." - }, - "name": { - "type": "string", - "description": "Name of the Azure Migrate 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/assessmentProjects_groups_childResource" - }, - { - "$ref": "#/definitions/assessmentProjects_hypervcollectors_childResource" - }, - { - "$ref": "#/definitions/assessmentProjects_servercollectors_childResource" - }, - { - "$ref": "#/definitions/assessmentProjects_vmwarecollectors_childResource" - }, - { - "$ref": "#/definitions/assessmentProjects_importcollectors_childResource" - }, - { - "$ref": "#/definitions/assessmentprojects_privateEndpointConnections_childResource" - } - ] - } - }, - "tags": { - "type": "object", - "properties": {}, - "description": "Tags provided by Azure Tagging service." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.Migrate/assessmentProjects" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.Migrate/assessmentProjects" - }, - "assessmentProjects_groups": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2019-10-01" - ] - }, - "eTag": { - "type": "string", - "description": "For optimistic concurrency control." - }, - "name": { - "type": "string", - "description": "Unique name of a group within a project." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/GroupProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties of group resource." - }, - "resources": { - "type": "array", - "items": { - "oneOf": [ - { - "$ref": "#/definitions/assessmentProjects_groups_assessments_childResource" - } - ] - } - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.Migrate/assessmentProjects/groups" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.Migrate/assessmentProjects/groups" - }, - "assessmentProjects_groups_assessments": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2019-10-01" - ] - }, - "eTag": { - "type": "string", - "description": "For optimistic concurrency control." - }, - "name": { - "type": "string", - "description": "Unique name of an assessment within a project." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/AssessmentProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties of an assessment." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.Migrate/assessmentProjects/groups/assessments" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.Migrate/assessmentProjects/groups/assessments" - }, - "assessmentProjects_hypervcollectors": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2019-10-01" - ] - }, - "eTag": { - "type": "string" - }, - "name": { - "type": "string", - "description": "Unique name of a Hyper-V collector within a project." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/CollectorProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.Migrate/assessmentProjects/hypervcollectors" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.Migrate/assessmentProjects/hypervcollectors" - }, - "assessmentProjects_importcollectors": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2019-10-01" - ] - }, - "eTag": { - "type": "string" - }, - "name": { - "type": "string", - "description": "Unique name of a Import collector within a project." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/ImportCollectorProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.Migrate/assessmentProjects/importcollectors" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.Migrate/assessmentProjects/importcollectors" - }, - "assessmentprojects_privateEndpointConnections": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2019-10-01" - ] - }, - "eTag": { - "type": "string", - "description": "For optimistic concurrency control." - }, - "name": { - "type": "string", - "description": "Unique name of a private endpoint connection within a project." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/PrivateEndpointConnectionProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Private endpoint connection properties." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.Migrate/assessmentprojects/privateEndpointConnections" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.Migrate/assessmentprojects/privateEndpointConnections" - }, - "assessmentProjects_servercollectors": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2019-10-01" - ] - }, - "eTag": { - "type": "string" - }, - "name": { - "type": "string", - "description": "Unique name of a Server collector within a project." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/CollectorProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.Migrate/assessmentProjects/servercollectors" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.Migrate/assessmentProjects/servercollectors" - }, - "assessmentProjects_vmwarecollectors": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2019-10-01" - ] - }, - "eTag": { - "type": "string" - }, - "name": { - "type": "string", - "description": "Unique name of a VMware collector within a project." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/CollectorProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.Migrate/assessmentProjects/vmwarecollectors" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.Migrate/assessmentProjects/vmwarecollectors" - } - }, - "definitions": { - "assessmentProjects_groups_assessments_childResource": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2019-10-01" - ] - }, - "eTag": { - "type": "string", - "description": "For optimistic concurrency control." - }, - "name": { - "type": "string", - "description": "Unique name of an assessment within a project." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/AssessmentProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties of an assessment." - }, - "type": { - "type": "string", - "enum": [ - "assessments" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.Migrate/assessmentProjects/groups/assessments" - }, - "assessmentProjects_groups_childResource": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2019-10-01" - ] - }, - "eTag": { - "type": "string", - "description": "For optimistic concurrency control." - }, - "name": { - "type": "string", - "description": "Unique name of a group within a project." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/GroupProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties of group resource." - }, - "type": { - "type": "string", - "enum": [ - "groups" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.Migrate/assessmentProjects/groups" - }, - "assessmentProjects_hypervcollectors_childResource": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2019-10-01" - ] - }, - "eTag": { - "type": "string" - }, - "name": { - "type": "string", - "description": "Unique name of a Hyper-V collector within a project." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/CollectorProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "type": { - "type": "string", - "enum": [ - "hypervcollectors" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.Migrate/assessmentProjects/hypervcollectors" - }, - "assessmentProjects_importcollectors_childResource": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2019-10-01" - ] - }, - "eTag": { - "type": "string" - }, - "name": { - "type": "string", - "description": "Unique name of a Import collector within a project." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/ImportCollectorProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "type": { - "type": "string", - "enum": [ - "importcollectors" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.Migrate/assessmentProjects/importcollectors" - }, - "assessmentprojects_privateEndpointConnections_childResource": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2019-10-01" - ] - }, - "eTag": { - "type": "string", - "description": "For optimistic concurrency control." - }, - "name": { - "type": "string", - "description": "Unique name of a private endpoint connection within a project." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/PrivateEndpointConnectionProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Private endpoint connection properties." - }, - "type": { - "type": "string", - "enum": [ - "privateEndpointConnections" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.Migrate/assessmentprojects/privateEndpointConnections" - }, - "assessmentProjects_servercollectors_childResource": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2019-10-01" - ] - }, - "eTag": { - "type": "string" - }, - "name": { - "type": "string", - "description": "Unique name of a Server collector within a project." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/CollectorProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "type": { - "type": "string", - "enum": [ - "servercollectors" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.Migrate/assessmentProjects/servercollectors" - }, - "assessmentProjects_vmwarecollectors_childResource": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2019-10-01" - ] - }, - "eTag": { - "type": "string" - }, - "name": { - "type": "string", - "description": "Unique name of a VMware collector within a project." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/CollectorProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "type": { - "type": "string", - "enum": [ - "vmwarecollectors" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.Migrate/assessmentProjects/vmwarecollectors" - }, - "AssessmentProperties": { - "type": "object", - "properties": { - "azureDiskType": { - "oneOf": [ - { - "type": "string", - "enum": [ - "Unknown", - "Standard", - "Premium", - "StandardSSD", - "StandardOrPremium" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Storage type selected for this disk." - }, - "azureHybridUseBenefit": { - "oneOf": [ - { - "type": "string", - "enum": [ - "Unknown", - "Yes", - "No" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "AHUB discount on windows virtual machines." - }, - "azureLocation": { - "oneOf": [ - { - "type": "string", - "enum": [ - "Unknown", - "EastAsia", - "SoutheastAsia", - "AustraliaEast", - "AustraliaSoutheast", - "BrazilSouth", - "CanadaCentral", - "CanadaEast", - "WestEurope", - "NorthEurope", - "CentralIndia", - "SouthIndia", - "WestIndia", - "JapanEast", - "JapanWest", - "KoreaCentral", - "KoreaSouth", - "UkWest", - "UkSouth", - "NorthCentralUs", - "EastUs", - "WestUs2", - "SouthCentralUs", - "CentralUs", - "EastUs2", - "WestUs", - "WestCentralUs", - "GermanyCentral", - "GermanyNortheast", - "ChinaNorth", - "ChinaEast", - "USGovArizona", - "USGovTexas", - "USGovIowa", - "USGovVirginia", - "USDoDCentral", - "USDoDEast" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Target Azure location for which the machines should be assessed. These enums are the same as used by Compute API." - }, - "azureOfferCode": { - "oneOf": [ - { - "type": "string", - "enum": [ - "Unknown", - "MSAZR0003P", - "MSAZR0044P", - "MSAZR0059P", - "MSAZR0060P", - "MSAZR0062P", - "MSAZR0063P", - "MSAZR0064P", - "MSAZR0029P", - "MSAZR0022P", - "MSAZR0023P", - "MSAZR0148P", - "MSAZR0025P", - "MSAZR0036P", - "MSAZR0120P", - "MSAZR0121P", - "MSAZR0122P", - "MSAZR0123P", - "MSAZR0124P", - "MSAZR0125P", - "MSAZR0126P", - "MSAZR0127P", - "MSAZR0128P", - "MSAZR0129P", - "MSAZR0130P", - "MSAZR0111P", - "MSAZR0144P", - "MSAZR0149P", - "MSMCAZR0044P", - "MSMCAZR0059P", - "MSMCAZR0060P", - "MSMCAZR0063P", - "MSMCAZR0120P", - "MSMCAZR0121P", - "MSMCAZR0125P", - "MSMCAZR0128P", - "MSAZRDE0003P", - "MSAZRDE0044P", - "MSAZRUSGOV0003P", - "EA" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Offer code according to which cost estimation is done." - }, - "azurePricingTier": { - "oneOf": [ - { - "type": "string", - "enum": [ - "Standard", - "Basic" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Pricing tier for Size evaluation." - }, - "azureStorageRedundancy": { - "oneOf": [ - { - "type": "string", - "enum": [ - "Unknown", - "LocallyRedundant", - "ZoneRedundant", - "GeoRedundant", - "ReadAccessGeoRedundant" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Storage Redundancy type offered by Azure." - }, - "azureVmFamilies": { - "oneOf": [ - { - "type": "array", - "items": { - "type": "string", - "enum": [ - "Unknown", - "Basic_A0_A4", - "Standard_A0_A7", - "Standard_A8_A11", - "Av2_series", - "D_series", - "Dv2_series", - "DS_series", - "DSv2_series", - "F_series", - "Fs_series", - "G_series", - "GS_series", - "H_series", - "Ls_series", - "Dsv3_series", - "Dv3_series", - "Fsv2_series", - "Ev3_series", - "Esv3_series", - "M_series", - "DC_Series" - ] - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "List of azure VM families." - }, - "currency": { - "oneOf": [ - { - "type": "string", - "enum": [ - "Unknown", - "USD", - "DKK", - "CAD", - "IDR", - "JPY", - "KRW", - "NZD", - "NOK", - "RUB", - "SAR", - "ZAR", - "SEK", - "TRY", - "GBP", - "MXN", - "MYR", - "INR", - "HKD", - "BRL", - "TWD", - "EUR", - "CHF", - "ARS", - "AUD", - "CNY" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Currency to report prices in." - }, - "discountPercentage": { - "oneOf": [ - { - "type": "number" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Custom discount percentage to be applied on final costs. Can be in the range [0, 100]." - }, - "percentile": { - "oneOf": [ - { - "type": "string", - "enum": [ - "Percentile50", - "Percentile90", - "Percentile95", - "Percentile99" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Percentile of performance data used to recommend Azure size." - }, - "reservedInstance": { - "oneOf": [ - { - "type": "string", - "enum": [ - "None", - "RI1Year", - "RI3Year" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Azure reserved instance." - }, - "scalingFactor": { - "oneOf": [ - { - "type": "number" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Scaling factor used over utilization data to add a performance buffer for new machines to be created in Azure. Min Value = 1.0, Max value = 1.9, Default = 1.3." - }, - "sizingCriterion": { - "oneOf": [ - { - "type": "string", - "enum": [ - "PerformanceBased", - "AsOnPremises" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Assessment sizing criterion." - }, - "stage": { - "oneOf": [ - { - "type": "string", - "enum": [ - "InProgress", - "UnderReview", - "Approved" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "User configurable setting that describes the status of the assessment." - }, - "timeRange": { - "oneOf": [ - { - "type": "string", - "enum": [ - "Day", - "Week", - "Month", - "Custom" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Time range of performance data used to recommend a size." - }, - "vmUptime": { - "oneOf": [ - { - "$ref": "#/definitions/VmUptime" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - } - }, - "required": [ - "azureDiskType", - "azureHybridUseBenefit", - "azureLocation", - "azureOfferCode", - "azurePricingTier", - "azureStorageRedundancy", - "azureVmFamilies", - "currency", - "discountPercentage", - "percentile", - "reservedInstance", - "scalingFactor", - "sizingCriterion", - "stage", - "timeRange", - "vmUptime" - ], - "description": "Properties of an assessment." - }, - "CollectorAgentProperties": { - "type": "object", - "properties": { - "spnDetails": { - "oneOf": [ - { - "$ref": "#/definitions/CollectorBodyAgentSpnProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - } - } - }, - "CollectorBodyAgentSpnProperties": { - "type": "object", - "properties": { - "applicationId": { - "type": "string", - "description": "Application/client Id for the service principal with which the on-premise management/data plane components would communicate with our Azure services." - }, - "audience": { - "type": "string", - "description": "Intended audience for the service principal." - }, - "authority": { - "type": "string", - "description": "AAD Authority URL which was used to request the token for the service principal." - }, - "objectId": { - "type": "string", - "description": "Object Id of the service principal with which the on-premise management/data plane components would communicate with our Azure services." - }, - "tenantId": { - "type": "string", - "description": "Tenant Id for the service principal with which the on-premise management/data plane components would communicate with our Azure services." - } - } - }, - "CollectorProperties": { - "type": "object", - "properties": { - "agentProperties": { - "oneOf": [ - { - "$ref": "#/definitions/CollectorAgentProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "discoverySiteId": { - "type": "string", - "description": "The ARM id of the discovery service site." - } - } - }, - "GroupProperties": { - "type": "object", - "properties": { - "groupType": { - "type": "string", - "description": "The type of group." - } - }, - "description": "Properties of group resource." - }, - "ImportCollectorProperties": { - "type": "object", - "properties": { - "discoverySiteId": { - "type": "string" - } - } - }, - "PrivateEndpointConnectionProperties": { - "type": "object", - "properties": { - "privateLinkServiceConnectionState": { - "oneOf": [ - { - "$ref": "#/definitions/PrivateLinkServiceConnectionState" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "State of a private endpoint connection." - } - }, - "description": "Private endpoint connection properties." - }, - "PrivateLinkServiceConnectionState": { - "type": "object", - "properties": { - "actionsRequired": { - "type": "string", - "description": "Actions required on the private endpoint connection." - }, - "description": { - "type": "string", - "description": "Description of the private endpoint connection." - }, - "status": { - "oneOf": [ - { - "type": "string", - "enum": [ - "Approved", - "Pending", - "Rejected", - "Disconnected" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Connection status of the private endpoint connection." - } - }, - "description": "State of a private endpoint connection." - }, - "ProjectProperties": { - "type": "object", - "properties": { - "assessmentSolutionId": { - "type": "string", - "description": "Assessment solution ARM id tracked by Microsoft.Migrate/migrateProjects." - }, - "customerStorageAccountArmId": { - "type": "string", - "description": "The ARM id of the storage account used for interactions when public access is disabled." - }, - "customerWorkspaceId": { - "type": "string", - "description": "The ARM id of service map workspace created by customer." - }, - "customerWorkspaceLocation": { - "type": "string", - "description": "Location of service map workspace created by customer." - }, - "projectStatus": { - "oneOf": [ - { - "type": "string", - "enum": [ - "Active", - "Inactive" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Assessment project status." - }, - "publicNetworkAccess": { - "type": "string", - "description": "This value can be set to 'enabled' to avoid breaking changes on existing customer resources and templates. If set to 'disabled', traffic over public interface is not allowed, and private endpoint connections would be the exclusive access method." - } - }, - "description": "Properties of a project." - }, - "VmUptime": { - "type": "object", - "properties": { - "daysPerMonth": { - "oneOf": [ - { - "type": "number" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Number of days in a month for VM uptime." - }, - "hoursPerDay": { - "oneOf": [ - { - "type": "number" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Number of hours per day for VM uptime." - } - } - } - } -} \ No newline at end of file diff --git a/schemas/2020-02-14-preview/Microsoft.DBforPostgreSQL.json b/schemas/2020-02-14-preview/Microsoft.DBforPostgreSQL.json index 404bd91a13..1b1e8fc5a7 100644 --- a/schemas/2020-02-14-preview/Microsoft.DBforPostgreSQL.json +++ b/schemas/2020-02-14-preview/Microsoft.DBforPostgreSQL.json @@ -332,6 +332,10 @@ ], "description": "stand by count value can be either enabled or disabled." }, + "logBackupStorageSku": { + "type": "string", + "description": "The log backup storage sku of the server." + }, "maintenanceWindow": { "oneOf": [ { @@ -370,6 +374,17 @@ "type": "string", "description": "The subscription id of source serve PostgreSQL server name to restore from." }, + "standbyCount": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The number of standbys." + }, "storageProfile": { "oneOf": [ { @@ -476,6 +491,21 @@ ], "description": "Backup retention days for the server." }, + "geoRedundantBackup": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Enabled", + "Disabled" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "A value indicating whether Geo-Redundant backup is enabled on the server." + }, "storageMB": { "oneOf": [ { diff --git a/schemas/2021-01-01/Microsoft.Migrate.json b/schemas/2021-01-01/Microsoft.Migrate.json new file mode 100644 index 0000000000..0e45499ee6 --- /dev/null +++ b/schemas/2021-01-01/Microsoft.Migrate.json @@ -0,0 +1,1054 @@ +{ + "id": "https://schema.management.azure.com/schemas/2021-01-01/Microsoft.Migrate.json#", + "$schema": "http://json-schema.org/draft-04/schema#", + "title": "Microsoft.Migrate", + "description": "Microsoft Migrate Resource Types", + "resourceDefinitions": { + "moveCollections": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-01-01" + ] + }, + "identity": { + "oneOf": [ + { + "$ref": "#/definitions/Identity" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Defines the MSI properties of the Move Collection." + }, + "location": { + "type": "string", + "description": "The geo-location where the resource lives." + }, + "name": { + "type": "string", + "description": "The Move Collection Name." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/MoveCollectionProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Defines the move collection properties." + }, + "resources": { + "type": "array", + "items": { + "oneOf": [ + { + "$ref": "#/definitions/moveCollections_moveResources_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.Migrate/moveCollections" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.Migrate/moveCollections" + }, + "moveCollections_moveResources": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-01-01" + ] + }, + "name": { + "type": "string", + "description": "The Move Resource Name." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/MoveResourceProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Defines the move resource properties." + }, + "type": { + "type": "string", + "enum": [ + "Microsoft.Migrate/moveCollections/moveResources" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.Migrate/moveCollections/moveResources" + } + }, + "definitions": { + "AvailabilitySetResourceSettings": { + "type": "object", + "properties": { + "faultDomain": { + "oneOf": [ + { + "type": "integer", + "minimum": 1 + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Gets or sets the target fault domain." + }, + "resourceType": { + "type": "string", + "enum": [ + "Microsoft.Compute/availabilitySets" + ] + }, + "updateDomain": { + "oneOf": [ + { + "type": "integer", + "minimum": 1, + "maximum": 20 + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Gets or sets the target update domain." + } + }, + "required": [ + "resourceType" + ], + "description": "Gets or sets the availability set resource settings." + }, + "DiskEncryptionSetResourceSettings": { + "type": "object", + "properties": { + "resourceType": { + "type": "string", + "enum": [ + "Microsoft.Compute/diskEncryptionSets" + ] + } + }, + "required": [ + "resourceType" + ], + "description": "Defines the disk encryption set resource settings." + }, + "Identity": { + "type": "object", + "properties": { + "principalId": { + "type": "string", + "description": "Gets or sets the principal id." + }, + "tenantId": { + "type": "string", + "description": "Gets or sets the tenant id." + }, + "type": { + "oneOf": [ + { + "type": "string", + "enum": [ + "None", + "SystemAssigned", + "UserAssigned" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ] + } + }, + "description": "Defines the MSI properties of the Move Collection." + }, + "KeyVaultResourceSettings": { + "type": "object", + "properties": { + "resourceType": { + "type": "string", + "enum": [ + "Microsoft.KeyVault/vaults" + ] + } + }, + "required": [ + "resourceType" + ], + "description": "Defines the key vault resource settings." + }, + "LBBackendAddressPoolResourceSettings": { + "type": "object", + "properties": { + "name": { + "type": "string", + "description": "Gets or sets the backend address pool name." + } + }, + "description": "Defines load balancer backend address pool properties." + }, + "LBFrontendIPConfigurationResourceSettings": { + "type": "object", + "properties": { + "name": { + "type": "string", + "description": "Gets or sets the frontend IP configuration name." + }, + "privateIpAddress": { + "type": "string", + "description": "Gets or sets the IP address of the Load Balancer.This is only specified if a specific\r\nprivate IP address shall be allocated from the subnet specified in subnetRef." + }, + "privateIpAllocationMethod": { + "type": "string", + "description": "Gets or sets PrivateIP allocation method (Static/Dynamic)." + }, + "subnet": { + "oneOf": [ + { + "$ref": "#/definitions/SubnetReference" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Defines reference to subnet." + }, + "zones": { + "type": "string", + "description": "Gets or sets the csv list of zones." + } + }, + "description": "Defines load balancer frontend IP configuration properties." + }, + "LoadBalancerBackendAddressPoolReference": { + "type": "object", + "properties": { + "name": { + "type": "string", + "description": "Gets the name of the proxy resource on the target side." + }, + "sourceArmResourceId": { + "type": "string", + "description": "Gets the ARM resource ID of the tracked resource being referenced." + } + }, + "required": [ + "sourceArmResourceId" + ], + "description": "Defines reference to load balancer backend address pools." + }, + "LoadBalancerNatRuleReference": { + "type": "object", + "properties": { + "name": { + "type": "string", + "description": "Gets the name of the proxy resource on the target side." + }, + "sourceArmResourceId": { + "type": "string", + "description": "Gets the ARM resource ID of the tracked resource being referenced." + } + }, + "required": [ + "sourceArmResourceId" + ], + "description": "Defines reference to load balancer NAT rules." + }, + "LoadBalancerResourceSettings": { + "type": "object", + "properties": { + "backendAddressPools": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/LBBackendAddressPoolResourceSettings" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Gets or sets the backend address pools of the load balancer." + }, + "frontendIPConfigurations": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/LBFrontendIPConfigurationResourceSettings" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Gets or sets the frontend IP configurations of the load balancer." + }, + "resourceType": { + "type": "string", + "enum": [ + "Microsoft.Network/loadBalancers" + ] + }, + "sku": { + "type": "string", + "description": "Gets or sets load balancer sku (Basic/Standard)." + }, + "zones": { + "type": "string", + "description": "Gets or sets the csv list of zones common for all frontend IP configurations. Note this is given\r\n precedence only if frontend IP configurations settings are not present." + } + }, + "required": [ + "resourceType" + ], + "description": "Defines the load balancer resource settings." + }, + "MoveCollectionProperties": { + "type": "object", + "properties": { + "provisioningState": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Succeeded", + "Updating", + "Creating", + "Failed" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ] + }, + "sourceRegion": { + "type": "string", + "description": "Gets or sets the source region." + }, + "targetRegion": { + "type": "string", + "description": "Gets or sets the target region." + } + }, + "required": [ + "sourceRegion", + "targetRegion" + ], + "description": "Defines the move collection properties." + }, + "moveCollections_moveResources_childResource": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-01-01" + ] + }, + "name": { + "type": "string", + "description": "The Move Resource Name." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/MoveResourceProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Defines the move resource properties." + }, + "type": { + "type": "string", + "enum": [ + "moveResources" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.Migrate/moveCollections/moveResources" + }, + "MoveResourceDependencyOverride": { + "type": "object", + "properties": { + "id": { + "type": "string", + "description": "Gets or sets the ARM ID of the dependent resource." + }, + "targetId": { + "type": "string", + "description": "Gets or sets the resource ARM id of either the MoveResource or the resource ARM ID of\r\nthe dependent resource." + } + }, + "description": "Defines the dependency override of the move resource." + }, + "MoveResourceProperties": { + "type": "object", + "properties": { + "dependsOnOverrides": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/MoveResourceDependencyOverride" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Gets or sets the move resource dependencies overrides." + }, + "existingTargetId": { + "type": "string", + "description": "Gets or sets the existing target ARM Id of the resource." + }, + "provisioningState": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Succeeded", + "Updating", + "Creating", + "Failed" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ] + }, + "resourceSettings": { + "oneOf": [ + { + "$ref": "#/definitions/ResourceSettings" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Gets or sets the resource settings." + }, + "sourceId": { + "type": "string", + "description": "Gets or sets the Source ARM Id of the resource." + } + }, + "required": [ + "sourceId" + ], + "description": "Defines the move resource properties." + }, + "NetworkInterfaceResourceSettings": { + "type": "object", + "properties": { + "enableAcceleratedNetworking": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Gets or sets a value indicating whether accelerated networking is enabled." + }, + "ipConfigurations": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/NicIpConfigurationResourceSettings" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Gets or sets the IP configurations of the NIC." + }, + "resourceType": { + "type": "string", + "enum": [ + "Microsoft.Network/networkInterfaces" + ] + } + }, + "required": [ + "resourceType" + ], + "description": "Defines the network interface resource settings." + }, + "NetworkSecurityGroupResourceSettings": { + "type": "object", + "properties": { + "resourceType": { + "type": "string", + "enum": [ + "Microsoft.Network/networkSecurityGroups" + ] + }, + "securityRules": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/NsgSecurityRule" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Gets or sets Security rules of network security group." + } + }, + "required": [ + "resourceType" + ], + "description": "Defines the NSG resource settings." + }, + "NicIpConfigurationResourceSettings": { + "type": "object", + "properties": { + "loadBalancerBackendAddressPools": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/LoadBalancerBackendAddressPoolReference" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Gets or sets the references of the load balancer backend address pools." + }, + "loadBalancerNatRules": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/LoadBalancerNatRuleReference" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Gets or sets the references of the load balancer NAT rules." + }, + "name": { + "type": "string", + "description": "Gets or sets the IP configuration name." + }, + "primary": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Gets or sets a value indicating whether this IP configuration is the primary." + }, + "privateIpAddress": { + "type": "string", + "description": "Gets or sets the private IP address of the network interface IP Configuration." + }, + "privateIpAllocationMethod": { + "type": "string", + "description": "Gets or sets the private IP address allocation method." + }, + "publicIp": { + "oneOf": [ + { + "$ref": "#/definitions/PublicIpReference" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Defines reference to a public IP." + }, + "subnet": { + "oneOf": [ + { + "$ref": "#/definitions/SubnetReference" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Defines reference to subnet." + } + }, + "description": "Defines NIC IP configuration properties." + }, + "NsgReference": { + "type": "object", + "properties": { + "sourceArmResourceId": { + "type": "string", + "description": "Gets the ARM resource ID of the tracked resource being referenced." + } + }, + "required": [ + "sourceArmResourceId" + ], + "description": "Defines reference to NSG." + }, + "NsgSecurityRule": { + "type": "object", + "properties": { + "access": { + "type": "string", + "description": "Gets or sets whether network traffic is allowed or denied.\r\nPossible values are “Allow” and “Deny”." + }, + "description": { + "type": "string", + "description": "Gets or sets a description for this rule. Restricted to 140 chars." + }, + "destinationAddressPrefix": { + "type": "string", + "description": "Gets or sets destination address prefix. CIDR or source IP range.\r\n A “*” can also be used to match all source IPs. Default tags such\r\nas ‘VirtualNetwork’, ‘AzureLoadBalancer’ and ‘Internet’ can also be used." + }, + "destinationPortRange": { + "type": "string", + "description": "Gets or sets Destination Port or Range. Integer or range between\r\n0 and 65535. A “*” can also be used to match all ports." + }, + "direction": { + "type": "string", + "description": "Gets or sets the direction of the rule.InBound or Outbound. The\r\ndirection specifies if rule will be evaluated on incoming or outgoing traffic." + }, + "name": { + "type": "string", + "description": "Gets or sets the Security rule name." + }, + "priority": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Gets or sets the priority of the rule. The value can be between\r\n100 and 4096. The priority number must be unique for each rule in the collection.\r\nThe lower the priority number, the higher the priority of the rule." + }, + "protocol": { + "type": "string", + "description": "Gets or sets Network protocol this rule applies to. Can be Tcp, Udp or All(*)." + }, + "sourceAddressPrefix": { + "type": "string", + "description": "Gets or sets source address prefix. CIDR or source IP range. A\r\n“*” can also be used to match all source IPs. Default tags such as ‘VirtualNetwork’,\r\n‘AzureLoadBalancer’ and ‘Internet’ can also be used. If this is an ingress\r\nrule, specifies where network traffic originates from." + }, + "sourcePortRange": { + "type": "string", + "description": "Gets or sets Source Port or Range. Integer or range between 0 and\r\n65535. A “*” can also be used to match all ports." + } + }, + "description": "Security Rule data model for Network Security Groups." + }, + "PublicIPAddressResourceSettings": { + "type": "object", + "properties": { + "domainNameLabel": { + "type": "string", + "description": "Gets or sets the domain name label." + }, + "fqdn": { + "type": "string", + "description": "Gets or sets the fully qualified domain name." + }, + "publicIpAllocationMethod": { + "type": "string", + "description": "Gets or sets public IP allocation method." + }, + "resourceType": { + "type": "string", + "enum": [ + "Microsoft.Network/publicIPAddresses" + ] + }, + "sku": { + "type": "string", + "description": "Gets or sets public IP sku." + }, + "zones": { + "type": "string", + "description": "Gets or sets public IP zones." + } + }, + "required": [ + "resourceType" + ], + "description": "Defines the public IP address resource settings." + }, + "PublicIpReference": { + "type": "object", + "properties": { + "sourceArmResourceId": { + "type": "string", + "description": "Gets the ARM resource ID of the tracked resource being referenced." + } + }, + "required": [ + "sourceArmResourceId" + ], + "description": "Defines reference to a public IP." + }, + "ResourceGroupResourceSettings": { + "type": "object", + "properties": { + "resourceType": { + "type": "string", + "enum": [ + "resourceGroups" + ] + } + }, + "required": [ + "resourceType" + ], + "description": "Defines the resource group resource settings." + }, + "ResourceSettings": { + "type": "object", + "oneOf": [ + { + "$ref": "#/definitions/VirtualMachineResourceSettings" + }, + { + "$ref": "#/definitions/AvailabilitySetResourceSettings" + }, + { + "$ref": "#/definitions/VirtualNetworkResourceSettings" + }, + { + "$ref": "#/definitions/NetworkInterfaceResourceSettings" + }, + { + "$ref": "#/definitions/NetworkSecurityGroupResourceSettings" + }, + { + "$ref": "#/definitions/LoadBalancerResourceSettings" + }, + { + "$ref": "#/definitions/SqlServerResourceSettings" + }, + { + "$ref": "#/definitions/SqlElasticPoolResourceSettings" + }, + { + "$ref": "#/definitions/SqlDatabaseResourceSettings" + }, + { + "$ref": "#/definitions/ResourceGroupResourceSettings" + }, + { + "$ref": "#/definitions/PublicIPAddressResourceSettings" + }, + { + "$ref": "#/definitions/KeyVaultResourceSettings" + }, + { + "$ref": "#/definitions/DiskEncryptionSetResourceSettings" + } + ], + "properties": { + "targetResourceName": { + "type": "string", + "description": "Gets or sets the target Resource name." + } + }, + "required": [ + "targetResourceName" + ], + "description": "Gets or sets the resource settings." + }, + "SqlDatabaseResourceSettings": { + "type": "object", + "properties": { + "resourceType": { + "type": "string", + "enum": [ + "Microsoft.Sql/servers/databases" + ] + }, + "zoneRedundant": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Enable", + "Disable" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ] + } + }, + "required": [ + "resourceType" + ], + "description": "Defines the Sql Database resource settings." + }, + "SqlElasticPoolResourceSettings": { + "type": "object", + "properties": { + "resourceType": { + "type": "string", + "enum": [ + "Microsoft.Sql/servers/elasticPools" + ] + }, + "zoneRedundant": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Enable", + "Disable" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ] + } + }, + "required": [ + "resourceType" + ], + "description": "Defines the Sql ElasticPool resource settings." + }, + "SqlServerResourceSettings": { + "type": "object", + "properties": { + "resourceType": { + "type": "string", + "enum": [ + "Microsoft.Sql/servers" + ] + } + }, + "required": [ + "resourceType" + ], + "description": "Defines the SQL Server resource settings." + }, + "SubnetReference": { + "type": "object", + "properties": { + "name": { + "type": "string", + "description": "Gets the name of the proxy resource on the target side." + }, + "sourceArmResourceId": { + "type": "string", + "description": "Gets the ARM resource ID of the tracked resource being referenced." + } + }, + "required": [ + "sourceArmResourceId" + ], + "description": "Defines reference to subnet." + }, + "SubnetResourceSettings": { + "type": "object", + "properties": { + "addressPrefix": { + "type": "string", + "description": "Gets or sets address prefix for the subnet." + }, + "name": { + "type": "string", + "description": "Gets or sets the Subnet name." + }, + "networkSecurityGroup": { + "oneOf": [ + { + "$ref": "#/definitions/NsgReference" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Defines reference to NSG." + } + }, + "description": "Defines the virtual network subnets resource settings." + }, + "VirtualMachineResourceSettings": { + "type": "object", + "properties": { + "resourceType": { + "type": "string", + "enum": [ + "Microsoft.Compute/virtualMachines" + ] + }, + "targetAvailabilitySetId": { + "type": "string", + "description": "Gets or sets the target availability set id for virtual machines not in an availability set at source." + }, + "targetAvailabilityZone": { + "oneOf": [ + { + "type": "string", + "enum": [ + "1", + "2", + "3", + "NA" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Gets or sets the target availability zone." + }, + "targetVmSize": { + "type": "string", + "description": "Gets or sets the target virtual machine size." + } + }, + "required": [ + "resourceType" + ], + "description": "Gets or sets the virtual machine resource settings." + }, + "VirtualNetworkResourceSettings": { + "type": "object", + "properties": { + "addressSpace": { + "oneOf": [ + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Gets or sets the address prefixes for the virtual network." + }, + "dnsServers": { + "oneOf": [ + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Gets or sets DHCPOptions that contains an array of DNS servers available to VMs\r\ndeployed in the virtual network." + }, + "enableDdosProtection": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Gets or sets a value indicating whether gets or sets whether the\r\nDDOS protection should be switched on." + }, + "resourceType": { + "type": "string", + "enum": [ + "Microsoft.Network/virtualNetworks" + ] + }, + "subnets": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/SubnetResourceSettings" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Gets or sets List of subnets in a VirtualNetwork." + } + }, + "required": [ + "resourceType" + ], + "description": "Defines the virtual network resource settings." + } + } +} \ No newline at end of file diff --git a/schemas/2021-07-01-preview/Microsoft.Security.json b/schemas/2021-07-01-preview/Microsoft.Security.json deleted file mode 100644 index 3cc7e77e41..0000000000 --- a/schemas/2021-07-01-preview/Microsoft.Security.json +++ /dev/null @@ -1,162 +0,0 @@ -{ - "id": "https://schema.management.azure.com/schemas/2021-07-01-preview/Microsoft.Security.json#", - "$schema": "http://json-schema.org/draft-04/schema#", - "title": "Microsoft.Security", - "description": "Microsoft Security Resource Types", - "resourceDefinitions": { - "securityConnectors": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2021-07-01-preview" - ] - }, - "etag": { - "type": "string", - "description": "Entity tag is used for comparing two or more entities from the same requested resource." - }, - "kind": { - "type": "string", - "description": "Kind of the resource" - }, - "location": { - "type": "string", - "description": "Location where the resource is stored" - }, - "name": { - "type": "string", - "description": "The security connector name." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/SecurityConnectorProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "A set of properties that defines the security connector configuration." - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "A list of key value pairs that describe the resource." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.Security/securityConnectors" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.Security/securityConnectors" - } - }, - "definitions": { - "CSPMMonitorAWSOffering": { - "type": "object", - "properties": { - "nativeCloudConnection": { - "oneOf": [ - { - "$ref": "#/definitions/CSPMMonitorAWSOfferingNativeCloudConnection" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The native cloud connection configuration" - }, - "offeringType": { - "type": "string", - "enum": [ - "CSPMMonitorAWS" - ] - } - }, - "required": [ - "offeringType" - ], - "description": "The CSPM monitoring for AWS offering configurations" - }, - "CSPMMonitorAWSOfferingNativeCloudConnection": { - "type": "object", - "properties": { - "cloudRoleArn": { - "type": "string", - "description": "The cloud role ARN in AWS for this feature" - } - }, - "description": "The native cloud connection configuration" - }, - "MultiCloudOffering": { - "type": "object", - "oneOf": [ - { - "$ref": "#/definitions/CSPMMonitorAWSOffering" - } - ], - "properties": {}, - "description": "The security offering details" - }, - "SecurityConnectorProperties": { - "type": "object", - "properties": { - "hierarchyId": { - "type": "string", - "description": "The multi cloud resource identifier (account id in case of AWS connector)." - }, - "multiCloudName": { - "oneOf": [ - { - "type": "string", - "enum": [ - "Azure", - "AWS", - "GCP" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The multi cloud resource's cloud name." - }, - "offerings": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/definitions/MultiCloudOffering" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "A collection of offerings for the security connector." - } - }, - "description": "A set of properties that defines the security connector configuration." - } - } -} \ No newline at end of file diff --git a/schemas/common/autogeneratedResources.json b/schemas/common/autogeneratedResources.json index 7aa5eaaeff..44cad7f6b9 100644 --- a/schemas/common/autogeneratedResources.json +++ b/schemas/common/autogeneratedResources.json @@ -6944,37 +6944,22 @@ "$ref": "https://schema.management.azure.com/schemas/2021-07-01-preview/Microsoft.Maps.json#/resourceDefinitions/accounts_creators" }, { - "$ref": "https://schema.management.azure.com/schemas/2018-02-02/Microsoft.Migrate.json#/resourceDefinitions/projects" + "$ref": "https://schema.management.azure.com/schemas/2018-09-01-preview/Microsoft.Migrate.json#/resourceDefinitions/migrateProjects" }, { - "$ref": "https://schema.management.azure.com/schemas/2018-02-02/Microsoft.Migrate.json#/resourceDefinitions/projects_groups" + "$ref": "https://schema.management.azure.com/schemas/2018-09-01-preview/Microsoft.Migrate.json#/resourceDefinitions/migrateProjects_solutions" }, { - "$ref": "https://schema.management.azure.com/schemas/2018-02-02/Microsoft.Migrate.json#/resourceDefinitions/projects_groups_assessments" + "$ref": "https://schema.management.azure.com/schemas/2019-10-01-preview/Microsoft.Migrate.json#/resourceDefinitions/moveCollections" }, { - "$ref": "https://schema.management.azure.com/schemas/2019-10-01/Microsoft.Migrate.json#/resourceDefinitions/assessmentProjects" + "$ref": "https://schema.management.azure.com/schemas/2019-10-01-preview/Microsoft.Migrate.json#/resourceDefinitions/moveCollections_moveResources" }, { - "$ref": "https://schema.management.azure.com/schemas/2019-10-01/Microsoft.Migrate.json#/resourceDefinitions/assessmentProjects_groups" + "$ref": "https://schema.management.azure.com/schemas/2021-01-01/Microsoft.Migrate.json#/resourceDefinitions/moveCollections" }, { - "$ref": "https://schema.management.azure.com/schemas/2019-10-01/Microsoft.Migrate.json#/resourceDefinitions/assessmentProjects_groups_assessments" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2019-10-01/Microsoft.Migrate.json#/resourceDefinitions/assessmentProjects_hypervcollectors" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2019-10-01/Microsoft.Migrate.json#/resourceDefinitions/assessmentProjects_importcollectors" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2019-10-01/Microsoft.Migrate.json#/resourceDefinitions/assessmentprojects_privateEndpointConnections" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2019-10-01/Microsoft.Migrate.json#/resourceDefinitions/assessmentProjects_servercollectors" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2019-10-01/Microsoft.Migrate.json#/resourceDefinitions/assessmentProjects_vmwarecollectors" + "$ref": "https://schema.management.azure.com/schemas/2021-01-01/Microsoft.Migrate.json#/resourceDefinitions/moveCollections_moveResources" }, { "$ref": "https://schema.management.azure.com/schemas/2019-02-28-preview/Microsoft.MixedReality.json#/resourceDefinitions/spatialAnchorsAccounts" @@ -8491,18 +8476,6 @@ { "$ref": "https://schema.management.azure.com/schemas/2020-01-01/Microsoft.Security.json#/unknown_resourceDefinitions/assessments" }, - { - "$ref": "https://schema.management.azure.com/schemas/2020-08-06-preview/Microsoft.Security.json#/unknown_resourceDefinitions/iotSensors" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2020-08-06-preview/Microsoft.Security.json#/unknown_resourceDefinitions/iotSites" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2021-06-01/Microsoft.Security.json#/unknown_resourceDefinitions/assessments" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2021-07-01-preview/Microsoft.Security.json#/resourceDefinitions/securityConnectors" - }, { "$ref": "https://schema.management.azure.com/schemas/2015-08-01/Microsoft.ServiceBus.json#/resourceDefinitions/namespaces" }, From b649c6628e2d8c8c11c6cce1ed63d851e3e47cce Mon Sep 17 00:00:00 2001 From: Autogenerator Pipeline Date: Wed, 4 Aug 2021 10:37:53 +0000 Subject: [PATCH 30/64] Update resource list --- generator/resources.json | 147 ++++++++++++++++++++------------------- 1 file changed, 76 insertions(+), 71 deletions(-) diff --git a/generator/resources.json b/generator/resources.json index 2cf8c5254c..0dbe7379f2 100644 --- a/generator/resources.json +++ b/generator/resources.json @@ -731,11 +731,16 @@ ], "Microsoft.Authorization/accessReviewScheduleDefinitions": [ "2018-05-01-preview", - "2021-03-01-preview" + "2021-03-01-preview", + "2021-07-01-preview" + ], + "Microsoft.Authorization/accessReviewScheduleDefinitions/instances": [ + "2021-07-01-preview" ], "Microsoft.Authorization/accessReviewScheduleSettings": [ "2018-05-01-preview", - "2021-03-01-preview" + "2021-03-01-preview", + "2021-07-01-preview" ], "Microsoft.Authorization/locks": [ "2015-01-01", @@ -1211,17 +1216,20 @@ "Microsoft.Cache/redisEnterprise": [ "2020-10-01-preview", "2021-02-01-preview", - "2021-03-01" + "2021-03-01", + "2021-08-01" ], "Microsoft.Cache/redisEnterprise/databases": [ "2020-10-01-preview", "2021-02-01-preview", - "2021-03-01" + "2021-03-01", + "2021-08-01" ], "Microsoft.Cache/redisEnterprise/privateEndpointConnections": [ "2020-10-01-preview", "2021-02-01-preview", - "2021-03-01" + "2021-03-01", + "2021-08-01" ], "Microsoft.Capacity/autoQuotaIncrease": [ "2019-07-19-preview" @@ -1697,7 +1705,8 @@ "2020-12-01", "2021-02-01", "2021-03-01", - "2021-05-01" + "2021-05-01", + "2021-07-01" ], "Microsoft.ContainerService/managedClusters/agentPools": [ "2019-02-01", @@ -1717,13 +1726,15 @@ "2020-12-01", "2021-02-01", "2021-03-01", - "2021-05-01" + "2021-05-01", + "2021-07-01" ], "Microsoft.ContainerService/managedClusters/maintenanceConfigurations": [ "2020-12-01", "2021-02-01", "2021-03-01", - "2021-05-01" + "2021-05-01", + "2021-07-01" ], "Microsoft.ContainerService/managedClusters/privateEndpointConnections": [ "2020-06-01", @@ -1733,7 +1744,8 @@ "2020-12-01", "2021-02-01", "2021-03-01", - "2021-05-01" + "2021-05-01", + "2021-07-01" ], "Microsoft.ContainerService/openShiftManagedClusters": [ "2018-09-30-preview", @@ -3434,10 +3446,12 @@ ], "Microsoft.KeyVault/managedHSMs": [ "2020-04-01-preview", - "2021-04-01-preview" + "2021-04-01-preview", + "2021-06-01-preview" ], "Microsoft.KeyVault/managedHSMs/privateEndpointConnections": [ - "2021-04-01-preview" + "2021-04-01-preview", + "2021-06-01-preview" ], "Microsoft.KeyVault/vaults": [ "2015-06-01", @@ -3446,7 +3460,8 @@ "2018-02-14-preview", "2019-09-01", "2020-04-01-preview", - "2021-04-01-preview" + "2021-04-01-preview", + "2021-06-01-preview" ], "Microsoft.KeyVault/vaults/accessPolicies": [ "2016-10-01", @@ -3454,18 +3469,21 @@ "2018-02-14-preview", "2019-09-01", "2020-04-01-preview", - "2021-04-01-preview" + "2021-04-01-preview", + "2021-06-01-preview" ], "Microsoft.KeyVault/vaults/keys": [ "2019-09-01", "2020-04-01-preview", - "2021-04-01-preview" + "2021-04-01-preview", + "2021-06-01-preview" ], "Microsoft.KeyVault/vaults/privateEndpointConnections": [ "2018-02-14", "2019-09-01", "2020-04-01-preview", - "2021-04-01-preview" + "2021-04-01-preview", + "2021-06-01-preview" ], "Microsoft.KeyVault/vaults/secrets": [ "2016-10-01", @@ -3473,7 +3491,8 @@ "2018-02-14-preview", "2019-09-01", "2020-04-01-preview", - "2021-04-01-preview" + "2021-04-01-preview", + "2021-06-01-preview" ], "Microsoft.Kubernetes/connectedClusters": [ "2020-01-01-preview", @@ -3594,6 +3613,21 @@ "2016-10-01", "2017-07-01" ], + "Microsoft.Logz/monitors": [ + "2020-10-01-preview" + ], + "Microsoft.Logz/monitors/accounts": [ + "2020-10-01-preview" + ], + "Microsoft.Logz/monitors/accounts/tagRules": [ + "2020-10-01-preview" + ], + "Microsoft.Logz/monitors/singleSignOnConfigurations": [ + "2020-10-01-preview" + ], + "Microsoft.Logz/monitors/tagRules": [ + "2020-10-01-preview" + ], "Microsoft.MachineLearning/commitmentPlans": [ "2016-05-01-preview" ], @@ -3635,7 +3669,8 @@ "2020-09-01-preview", "2021-01-01", "2021-03-01-preview", - "2021-04-01" + "2021-04-01", + "2021-07-01" ], "Microsoft.MachineLearningServices/workspaces/batchEndpoints": [ "2021-03-01-preview" @@ -3666,7 +3701,8 @@ "2020-09-01-preview", "2021-01-01", "2021-03-01-preview", - "2021-04-01" + "2021-04-01", + "2021-07-01" ], "Microsoft.MachineLearningServices/workspaces/connections": [ "2020-06-01", @@ -3674,7 +3710,8 @@ "2020-09-01-preview", "2021-01-01", "2021-03-01-preview", - "2021-04-01" + "2021-04-01", + "2021-07-01" ], "Microsoft.MachineLearningServices/workspaces/data": [ "2021-03-01-preview" @@ -3733,7 +3770,8 @@ "2020-09-01-preview", "2021-01-01", "2021-03-01-preview", - "2021-04-01" + "2021-04-01", + "2021-07-01" ], "Microsoft.MachineLearningServices/workspaces/services": [ "2020-05-01-preview", @@ -3876,38 +3914,19 @@ "Microsoft.Media/mediaServices/transforms/jobs": [ "2018-07-01" ], - "Microsoft.Migrate/assessmentProjects": [ - "2019-10-01" - ], - "Microsoft.Migrate/assessmentProjects/groups": [ - "2019-10-01" - ], - "Microsoft.Migrate/assessmentProjects/groups/assessments": [ - "2019-10-01" - ], - "Microsoft.Migrate/assessmentProjects/hypervcollectors": [ - "2019-10-01" - ], - "Microsoft.Migrate/assessmentProjects/importcollectors": [ - "2019-10-01" - ], - "Microsoft.Migrate/assessmentProjects/servercollectors": [ - "2019-10-01" - ], - "Microsoft.Migrate/assessmentProjects/vmwarecollectors": [ - "2019-10-01" - ], - "Microsoft.Migrate/assessmentprojects/privateEndpointConnections": [ - "2019-10-01" + "Microsoft.Migrate/migrateProjects": [ + "2018-09-01-preview" ], - "Microsoft.Migrate/projects": [ - "2018-02-02" + "Microsoft.Migrate/migrateProjects/solutions": [ + "2018-09-01-preview" ], - "Microsoft.Migrate/projects/groups": [ - "2018-02-02" + "Microsoft.Migrate/moveCollections": [ + "2019-10-01-preview", + "2021-01-01" ], - "Microsoft.Migrate/projects/groups/assessments": [ - "2018-02-02" + "Microsoft.Migrate/moveCollections/moveResources": [ + "2019-10-01-preview", + "2021-01-01" ], "Microsoft.MixedReality/objectAnchorsAccounts": [ "2021-03-01-preview" @@ -6150,13 +6169,11 @@ ], "Microsoft.Security/assessmentMetadata": [ "2019-01-01-preview", - "2020-01-01", - "2021-06-01" + "2020-01-01" ], "Microsoft.Security/assessments": [ "2019-01-01-preview", - "2020-01-01", - "2021-06-01" + "2020-01-01" ], "Microsoft.Security/autoProvisioningSettings": [ "2017-08-01-preview" @@ -6177,19 +6194,10 @@ "Microsoft.Security/ingestionSettings": [ "2021-01-15-preview" ], - "Microsoft.Security/iotDefenderSettings": [ - "2020-08-06-preview" - ], "Microsoft.Security/iotSecuritySolutions": [ "2017-08-01-preview", "2019-08-01" ], - "Microsoft.Security/iotSensors": [ - "2020-08-06-preview" - ], - "Microsoft.Security/iotSites": [ - "2020-08-06-preview" - ], "Microsoft.Security/locations/applicationWhitelistings": [ "2015-06-01-preview", "2020-01-01" @@ -6198,24 +6206,19 @@ "2015-06-01-preview", "2020-01-01" ], - "Microsoft.Security/onPremiseIotSensors": [ - "2020-08-06-preview" - ], "Microsoft.Security/pricings": [ "2017-08-01-preview", "2017-08-01-preview", "2018-06-01" ], - "Microsoft.Security/securityConnectors": [ - "2021-07-01-preview" - ], "Microsoft.Security/securityContacts": [ "2017-08-01-preview" ], "Microsoft.Security/settings": [ "2017-08-01-preview", "2019-01-01", - "2021-06-01" + "2021-06-01", + "2021-07-01" ], "Microsoft.Security/workspaceSettings": [ "2017-08-01-preview" @@ -7084,14 +7087,16 @@ "2019-11-01", "2020-03-01", "2020-10-01", - "2021-03-01" + "2021-03-01", + "2021-05-01" ], "Microsoft.StorageCache/caches/storageTargets": [ "2019-08-01-preview", "2019-11-01", "2020-03-01", "2020-10-01", - "2021-03-01" + "2021-03-01", + "2021-05-01" ], "Microsoft.StoragePool/diskPools": [ "2020-03-15-preview", From 2d170630098062d0d0a305b04f74de338a02324f Mon Sep 17 00:00:00 2001 From: Autogenerator Pipeline Date: Wed, 4 Aug 2021 13:33:31 +0000 Subject: [PATCH 31/64] Autogenerate schemas --- .../Microsoft.SecurityInsights.json | 423 ++++++++++++++++++ 1 file changed, 423 insertions(+) diff --git a/schemas/2021-04-01/Microsoft.SecurityInsights.json b/schemas/2021-04-01/Microsoft.SecurityInsights.json index 203a32122f..5b5a37d471 100644 --- a/schemas/2021-04-01/Microsoft.SecurityInsights.json +++ b/schemas/2021-04-01/Microsoft.SecurityInsights.json @@ -147,6 +147,64 @@ ], "description": "Microsoft.SecurityInsights/incidents/relations" }, + "threatIntelligence_indicators": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-04-01" + ] + }, + "etag": { + "type": "string", + "description": "Etag of the azure resource" + }, + "kind": { + "oneOf": [ + { + "type": "string", + "enum": [ + "indicator" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The kind of the entity." + }, + "name": { + "type": "string", + "description": "Threat intelligence indicator name field." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/ThreatIntelligenceIndicatorProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Describes threat intelligence entity properties" + }, + "type": { + "type": "string", + "enum": [ + "Microsoft.SecurityInsights/threatIntelligence/indicators" + ] + } + }, + "required": [ + "apiVersion", + "kind", + "name", + "properties", + "type" + ], + "description": "Microsoft.SecurityInsights/threatIntelligence/indicators" + }, "watchlists": { "type": "object", "properties": { @@ -525,6 +583,371 @@ ], "description": "Relation property bag." }, + "ThreatIntelligenceExternalReference": { + "type": "object", + "properties": { + "description": { + "type": "string", + "description": "External reference description" + }, + "externalId": { + "type": "string", + "description": "External reference ID" + }, + "hashes": { + "oneOf": [ + { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "properties": {} + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "External reference hashes" + }, + "sourceName": { + "type": "string", + "description": "External reference source name" + }, + "url": { + "type": "string", + "description": "External reference URL" + } + }, + "description": "Describes external reference" + }, + "ThreatIntelligenceGranularMarkingModel": { + "type": "object", + "properties": { + "language": { + "type": "string", + "description": "Language granular marking model" + }, + "markingRef": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "marking reference granular marking model" + }, + "selectors": { + "oneOf": [ + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "granular marking model selectors" + } + }, + "description": "Describes threat granular marking model entity" + }, + "ThreatIntelligenceIndicatorProperties": { + "type": "object", + "properties": { + "confidence": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Confidence of threat intelligence entity" + }, + "created": { + "type": "string", + "description": "Created by" + }, + "createdByRef": { + "type": "string", + "description": "Created by reference of threat intelligence entity" + }, + "defanged": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Is threat intelligence entity defanged" + }, + "description": { + "type": "string", + "description": "Description of a threat intelligence entity" + }, + "displayName": { + "type": "string", + "description": "Display name of a threat intelligence entity" + }, + "extensions": { + "oneOf": [ + { + "type": "object", + "additionalProperties": { + "type": "object", + "properties": {} + }, + "properties": {} + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Extensions map" + }, + "externalId": { + "type": "string", + "description": "External ID of threat intelligence entity" + }, + "externalLastUpdatedTimeUtc": { + "type": "string", + "description": "External last updated time in UTC" + }, + "externalReferences": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/ThreatIntelligenceExternalReference" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "External References" + }, + "granularMarkings": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/ThreatIntelligenceGranularMarkingModel" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Granular Markings" + }, + "indicatorTypes": { + "oneOf": [ + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Indicator types of threat intelligence entities" + }, + "killChainPhases": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/ThreatIntelligenceKillChainPhase" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Kill chain phases" + }, + "labels": { + "oneOf": [ + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Labels of threat intelligence entity" + }, + "language": { + "type": "string", + "description": "Language of threat intelligence entity" + }, + "lastUpdatedTimeUtc": { + "type": "string", + "description": "Last updated time in UTC" + }, + "modified": { + "type": "string", + "description": "Modified by" + }, + "objectMarkingRefs": { + "oneOf": [ + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Threat intelligence entity object marking references" + }, + "parsedPattern": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/ThreatIntelligenceParsedPattern" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Parsed patterns" + }, + "pattern": { + "type": "string", + "description": "Pattern of a threat intelligence entity" + }, + "patternType": { + "type": "string", + "description": "Pattern type of a threat intelligence entity" + }, + "patternVersion": { + "type": "string", + "description": "Pattern version of a threat intelligence entity" + }, + "revoked": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Is threat intelligence entity revoked" + }, + "source": { + "type": "string", + "description": "Source of a threat intelligence entity" + }, + "threatIntelligenceTags": { + "oneOf": [ + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "List of tags" + }, + "threatTypes": { + "oneOf": [ + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Threat types" + }, + "validFrom": { + "type": "string", + "description": "Valid from" + }, + "validUntil": { + "type": "string", + "description": "Valid until" + } + }, + "description": "Describes threat intelligence entity properties" + }, + "ThreatIntelligenceKillChainPhase": { + "type": "object", + "properties": { + "killChainName": { + "type": "string", + "description": "Kill chainName name" + }, + "phaseName": { + "type": "string", + "description": "Phase name" + } + }, + "description": "Describes threat kill chain phase entity" + }, + "ThreatIntelligenceParsedPattern": { + "type": "object", + "properties": { + "patternTypeKey": { + "type": "string", + "description": "Pattern type key" + }, + "patternTypeValues": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/ThreatIntelligenceParsedPatternTypeValue" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Pattern type keys" + } + }, + "description": "Describes parsed pattern entity" + }, + "ThreatIntelligenceParsedPatternTypeValue": { + "type": "object", + "properties": { + "value": { + "type": "string", + "description": "Value of parsed pattern" + }, + "valueType": { + "type": "string", + "description": "Type of the value" + } + }, + "description": "Describes threat kill chain phase entity" + }, "UserInfo": { "type": "object", "properties": { From a5a4f7f0727fd360b9e0813973bda31bb9d9f435 Mon Sep 17 00:00:00 2001 From: Anthony Martin Date: Wed, 4 Aug 2021 09:29:54 -0400 Subject: [PATCH 32/64] Rename master -> main --- .github/workflows/autogenerateBatch0.yml | 4 ++-- .github/workflows/main.yml | 2 +- azure-pipelines-autogen.yml | 6 +++--- generator/README.md | 2 +- generator/package.json | 2 +- swagger_to_sdk_config.json | 2 +- 6 files changed, 9 insertions(+), 9 deletions(-) diff --git a/.github/workflows/autogenerateBatch0.yml b/.github/workflows/autogenerateBatch0.yml index 3e3352aa8d..675f755c87 100644 --- a/.github/workflows/autogenerateBatch0.yml +++ b/.github/workflows/autogenerateBatch0.yml @@ -27,9 +27,9 @@ jobs: run: | git checkout autogenerate git pull - git merge --no-commit --no-ff --strategy-option=theirs origin/master --allow-unrelated-histories + git merge --no-commit --no-ff --strategy-option=theirs origin/main --allow-unrelated-histories if ! git diff-index --quiet HEAD --; then - git commit -m "Merge remote-tracking branch 'origin/master' into autogenerate" + git commit -m "Merge remote-tracking branch 'origin/main' into autogenerate" git push origin autogenerate fi diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 39ee51dbf6..aef13b5dfe 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -2,7 +2,7 @@ name: CI on: pull_request: - branches: [ master ] + branches: [ main ] jobs: build: runs-on: ubuntu-latest diff --git a/azure-pipelines-autogen.yml b/azure-pipelines-autogen.yml index dfce2fb608..fbdd9c9f18 100644 --- a/azure-pipelines-autogen.yml +++ b/azure-pipelines-autogen.yml @@ -46,12 +46,12 @@ jobs: set -Eeuxo pipefail git checkout $(Build.SourceBranchName) git pull - git merge --no-commit --no-ff --strategy-option=theirs origin/master + git merge --no-commit --no-ff --strategy-option=theirs origin/main if ! git diff-index --quiet HEAD --; then - git commit -m "Merge remote-tracking branch 'origin/master' into $(Build.SourceBranchName)" + git commit -m "Merge remote-tracking branch 'origin/main' into $(Build.SourceBranchName)" git push origin $(Build.SourceBranchName) fi - displayName: Integrate master branch + displayName: Integrate main branch - script: | set -Eeuxo pipefail diff --git a/generator/README.md b/generator/README.md index fd6acf3248..134c7ea739 100644 --- a/generator/README.md +++ b/generator/README.md @@ -28,7 +28,7 @@ View the Pipeline Configuration [here](/azure-pipelines-autogen.yml). #### Merging Pipeline-generated schemas 1. Review the status badge on this page to ensure the latest run was successful. -2. Create a Pull Request from [`autogenerate`](https://github.com/Azure/azure-resource-manager-schemas/tree/autogenerate) to [`master`](https://github.com/Azure/azure-resource-manager-schemas/tree/master). +2. Create a Pull Request from [`autogenerate`](https://github.com/Azure/azure-resource-manager-schemas/tree/autogenerate) to [`main`](https://github.com/Azure/azure-resource-manager-schemas/tree/main). 3. If there are any modifications to [schemas/common/autogeneratedResources.json](/schemas/common/autogeneratedResources.json), push a commit to the autogenerate branch to make any corresponding changes to [schemas/2014-04-01-preview/deploymentTemplate.json](/schemas/2014-04-01-preview/deploymentTemplate.json) and [schemas/2015-01-01/deploymentTemplate.json](/schemas/2015-01-01/deploymentTemplate.json). #### Onboarding to the autogeneration pipeline diff --git a/generator/package.json b/generator/package.json index ca0e0fff01..bfac9790bd 100644 --- a/generator/package.json +++ b/generator/package.json @@ -1,5 +1,5 @@ { - "$schema": "https://raw.githubusercontent.com/Azure/azure-rest-api-specs/master/documentation/sdkautomation/SwaggerToSdkConfigSchema.json", + "$schema": "https://raw.githubusercontent.com/Azure/azure-rest-api-specs/main/documentation/sdkautomation/SwaggerToSdkConfigSchema.json", "name": "azure-schema-generator", "private": true, "version": "1.0.0", diff --git a/swagger_to_sdk_config.json b/swagger_to_sdk_config.json index 1d48906fd0..f1da772956 100644 --- a/swagger_to_sdk_config.json +++ b/swagger_to_sdk_config.json @@ -1,5 +1,5 @@ { - "$schema": "https://raw.githubusercontent.com/Azure/azure-rest-api-specs/master/documentation/sdkautomation/SwaggerToSdkConfigSchema.json", + "$schema": "https://raw.githubusercontent.com/Azure/azure-rest-api-specs/main/documentation/sdkautomation/SwaggerToSdkConfigSchema.json", "initOptions": { "initScript": { "path": ".sdkauto/initScript.sh" From ffca21158e5960b37608ef6cd80dcce0e553483c Mon Sep 17 00:00:00 2001 From: Anthony Martin Date: Wed, 4 Aug 2021 14:47:55 +0000 Subject: [PATCH 33/64] Onboard RPs for autogen by default --- generator/autogenlist.ts | 222 ++++++++++++++++++++++- generator/cmd/findbasepath.ts | 2 +- generator/cmd/generateall.ts | 112 +++++++----- generator/cmd/generateonboardedreport.ts | 4 +- generator/cmd/generatesingle.ts | 6 + generator/cmd/listbasepaths.ts | 10 +- generator/constants.ts | 1 + generator/models.ts | 1 + generator/specs.ts | 4 + 9 files changed, 308 insertions(+), 54 deletions(-) diff --git a/generator/autogenlist.ts b/generator/autogenlist.ts index 62088c6679..b07b1f9846 100644 --- a/generator/autogenlist.ts +++ b/generator/autogenlist.ts @@ -8,8 +8,224 @@ import { postProcessor as policyProcessor } from './processors/Microsoft.Authori import { postProcessor as securityInsightsPostProcessor } from './processors/Microsoft.SecurityInsights'; import { lowerCaseEquals } from './utils'; +// Going forwards, providers are onboarded by default. +// The providers listed here are the only ones **not** onboarded. +const disabledProviders: AutoGenConfig[] = [ + { + basePath: 'advisor/resource-manager', + namespace: 'Microsoft.Advisor', + disabledForAutogen: true, + }, + { + basePath: 'agrifood/resource-manager', + namespace: 'Microsoft.AgFoodPlatform', + disabledForAutogen: true, + }, + { + basePath: 'azure-kusto/resource-manager', + namespace: 'Microsoft.Kusto', + disabledForAutogen: true, + }, + { + basePath: 'azurestackhci/resource-manager', + namespace: 'Microsoft.AzureStackHCI', + disabledForAutogen: true, + }, + { + basePath: 'baremetalinfrastructure/resource-manager', + namespace: 'Microsoft.BareMetalInfrastructure', + disabledForAutogen: true, + }, + { + basePath: 'cloudshell/resource-manager', + namespace: 'Microsoft.Portal', + disabledForAutogen: true, + }, + { + basePath: 'compute/resource-manager', + namespace: 'Microsoft.Compute', + disabledForAutogen: true, + }, + { + basePath: 'compute/resource-manager', + namespace: 'Microsoft.ContainerService', + disabledForAutogen: true, + }, + { + basePath: 'confidentialledger/resource-manager', + namespace: 'Microsoft.ConfidentialLedger', + disabledForAutogen: true, + }, + { + basePath: 'cost-management/resource-manager', + namespace: 'Microsoft.CostManagement', + disabledForAutogen: true, + }, + { + basePath: 'cpim/resource-manager', + namespace: 'Microsoft.AzureActiveDirectory', + disabledForAutogen: true, + }, + { + basePath: 'dataprotection/resource-manager', + namespace: 'Microsoft.DataProtection', + disabledForAutogen: true, + }, + { + basePath: 'dfp/resource-manager', + namespace: 'Microsoft.Dynamics365Fraudprotection', + disabledForAutogen: true, + }, + { + basePath: 'dnc/resource-manager', + namespace: 'Microsoft.DelegatedNetwork', + disabledForAutogen: true, + }, + { + basePath: 'dns/resource-manager', + namespace: 'Microsoft.Network', + disabledForAutogen: true, + }, + { + basePath: 'edgeorder/resource-manager', + namespace: 'Microsoft.EdgeOrder', + disabledForAutogen: true, + }, + { + basePath: 'edgeorderpartner/resource-manager', + namespace: 'Microsoft.EdgeOrderPartner', + disabledForAutogen: true, + }, + { + basePath: 'extendedlocation/resource-manager', + namespace: 'Microsoft.ExtendedLocation', + disabledForAutogen: true, + }, + { + basePath: 'fluidrelay/resource-manager', + namespace: 'Microsoft.FluidRelay', + disabledForAutogen: true, + }, + { + basePath: 'iotsecurity/resource-manager', + namespace: 'Microsoft.IoTSecurity', + disabledForAutogen: true, + }, + { + basePath: 'logic/resource-manager', + namespace: 'Microsoft.Logic', + disabledForAutogen: true, + }, + { + basePath: 'm365securityandcompliance/resource-manager', + namespace: 'Microsoft.M365SecurityAndCompliance', + disabledForAutogen: true, + }, + { + basePath: 'managedservices/resource-manager', + namespace: 'Microsoft.ManagedServices', + disabledForAutogen: true, + }, + { + basePath: 'marketplacenotifications/resource-manager', + namespace: 'Microsoft.MarketplaceNotifications', + disabledForAutogen: true, + }, + { + basePath: 'marketplaceordering/resource-manager', + namespace: 'Microsoft.MarketplaceOrdering', + disabledForAutogen: true, + }, + { + basePath: 'mediaservices/resource-manager', + namespace: 'Microsoft.Media', + disabledForAutogen: true, + }, + { + basePath: 'msi/resource-manager', + namespace: 'Microsoft.ManagedIdentity', + disabledForAutogen: true, + }, + { + basePath: 'network/resource-manager', + namespace: 'Microsoft.Network', + disabledForAutogen: true, + }, + { + basePath: 'operationsmanagement/resource-manager', + namespace: 'Microsoft.OperationsManagement', + disabledForAutogen: true, + }, + { + basePath: 'privatedns/resource-manager', + namespace: 'Microsoft.Network', + disabledForAutogen: true, + }, + { + basePath: 'providerhub/resource-manager', + namespace: 'Microsoft.ProviderHub', + disabledForAutogen: true, + }, + { + basePath: 'purview/resource-manager', + namespace: 'Microsoft.Purview', + disabledForAutogen: true, + }, + { + basePath: 'quota/resource-manager', + namespace: 'Microsoft.Quota', + disabledForAutogen: true, + }, + { + basePath: 'resources/resource-manager', + namespace: 'Microsoft.Features', + disabledForAutogen: true, + }, + { + basePath: 'resources/resource-manager', + namespace: 'Microsoft.Solutions', + disabledForAutogen: true, + }, + { + basePath: 'securityandcompliance/resource-manager', + namespace: 'Microsoft.SecurityAndCompliance', + disabledForAutogen: true, + }, + { + basePath: 'service-map/resource-manager', + namespace: 'Microsoft.OperationalInsights', + disabledForAutogen: true, + }, + { + basePath: 'servicefabricmanagedclusters/resource-manager', + namespace: 'Microsoft.ServiceFabricManagedClusters', + disabledForAutogen: true, + }, + { + basePath: 'testbase/resource-manager', + namespace: 'Microsoft.TestBase', + disabledForAutogen: true, + }, + { + basePath: 'trafficmanager/resource-manager', + namespace: 'Microsoft.Network', + disabledForAutogen: true, + }, + { + basePath: 'videoanalyzer/resource-manager', + namespace: 'Microsoft.Media', + disabledForAutogen: true, + }, + { + basePath: 'webpubsub/resource-manager', + namespace: 'Microsoft.SignalRService', + disabledForAutogen: true, + }, +]; + // Run "npm run list-basepaths" to discover all the valid readme files to add to this list const autoGenList: AutoGenConfig[] = [ + ...disabledProviders, { basePath: 'addons/resource-manager', namespace: 'Microsoft.Addons', @@ -268,10 +484,10 @@ const autoGenList: AutoGenConfig[] = [ basePath: 'EnterpriseKnowledgeGraph/resource-manager', namespace: 'Microsoft.EnterpriseKnowledgeGraph', }, - /*{ NOTE(jcotillo): Temporally removing this RP - latest swagger contains an unsupported type by the schema generator tool + { basePath: 'domainservices/resource-manager', namespace: 'Microsoft.AAD', - },*/ + }, { basePath: 'eventhub/resource-manager', namespace: 'Microsoft.EventHub', @@ -827,7 +1043,7 @@ const autoGenList: AutoGenConfig[] = [ { basePath: 'deviceupdate/resource-manager', namespace: 'Microsoft.DeviceUpdate', - } + }, ]; export function getAutoGenList(): AutoGenConfig[] { diff --git a/generator/cmd/findbasepath.ts b/generator/cmd/findbasepath.ts index aa1f0081c5..b0a8ae3a4f 100644 --- a/generator/cmd/findbasepath.ts +++ b/generator/cmd/findbasepath.ts @@ -17,7 +17,7 @@ executeSynchronous(async () => { const autoGenEntries = findAutogenEntries(basePath); - if (autoGenEntries.length === 0) { + if (autoGenEntries[0]?.disabledForAutogen === true) { // not onboarded in autogeneration console.log("false"); return; diff --git a/generator/cmd/generateall.ts b/generator/cmd/generateall.ts index 3960606ec0..b2dc23470a 100644 --- a/generator/cmd/generateall.ts +++ b/generator/cmd/generateall.ts @@ -1,11 +1,11 @@ import * as constants from '../constants'; -import { cloneAndGenerateBasePaths, getPackageString, resolveAbsolutePath, validateAndReturnReadmePath } from '../specs'; -import { SchemaConfiguration, generateSchemas, clearAutoGeneratedSchemaRefs, saveAutoGeneratedSchemaRefs } from '../generate'; -import { getAutoGenList } from '../autogenlist'; +import { cloneAndGenerateBasePaths, generateBasePaths, getPackageString, resolveAbsolutePath, validateAndReturnReadmePath } from '../specs'; +import { SchemaConfiguration, generateSchemas, clearAutoGeneratedSchemaRefs, saveAutoGeneratedSchemaRefs, getApiVersionsByNamespace } from '../generate'; +import { findAutogenEntries } from '../autogenlist'; import chalk from 'chalk'; -import { flatten } from 'lodash'; -import { executeSynchronous, chunker, writeJsonFile } from '../utils'; -import { Package } from '../models'; +import { flatten, keys, partition } from 'lodash'; +import { executeSynchronous, chunker, writeJsonFile, lowerCaseEquals } from '../utils'; +import { AutoGenConfig, Package } from '../models'; interface GenerateAllParams { batchCount?: number, @@ -26,56 +26,82 @@ function parseParams(): GenerateAllParams { executeSynchronous(async () => { const params = parseParams(); - let filteredAutoGenList = getAutoGenList(); - if (params.batchCount !== undefined && params.batchIndex !== undefined) { - filteredAutoGenList = chunker(filteredAutoGenList, params.batchCount)[params.batchIndex]; - } - + let basePaths; let localPath = params.localPath; if (!localPath) { localPath = constants.specsRepoPath; - await cloneAndGenerateBasePaths(localPath, constants.specsRepoUri, constants.specsRepoCommitHash); + basePaths = await cloneAndGenerateBasePaths(localPath, constants.specsRepoUri, constants.specsRepoCommitHash); } else { localPath = await resolveAbsolutePath(localPath); + basePaths = await generateBasePaths(localPath); } - if (!!params.readmeFiles) { - filteredAutoGenList = filteredAutoGenList.filter(c => { - let r = params.readmeFiles?.find(f => f.startsWith('specification/' + c.basePath)); - if (!!r) { - c.readmeFile = r; - return true; - } - return false; - } - ); + if (params.batchCount !== undefined && params.batchIndex !== undefined) { + basePaths = chunker(basePaths, params.batchCount)[params.batchIndex]; } - await clearAutoGeneratedSchemaRefs(filteredAutoGenList); - const schemaConfigs: SchemaConfiguration[] = []; const errors = []; const packages: Package[] = []; - for (const autoGenConfig of filteredAutoGenList) { - let pkg = { - path: ['schemas'] - } as Package; - try { - const readme = await validateAndReturnReadmePath(localPath, autoGenConfig.readmeFile || autoGenConfig.basePath); - pkg.packageName = getPackageString(readme); - - const newConfigs = await generateSchemas(readme, autoGenConfig); - schemaConfigs.push(...newConfigs); - pkg.result = 'succeeded'; - } catch(error) { - pkg.packageName = autoGenConfig.basePath; - pkg.result = 'failed'; - console.log(chalk.red(`Caught exception processing autogenlist entry ${autoGenConfig.basePath}.`)); - console.log(chalk.red(error)); - - errors.push(error); + + for (const basePath of basePaths) { + const readme = await validateAndReturnReadmePath(constants.specsRepoPath, basePath); + const namespaces = keys(await getApiVersionsByNamespace(readme)); + const autogenlistEntries = findAutogenEntries(basePath); + + const [unautogened, autogened] = partition( + namespaces, + n => autogenlistEntries.filter(w => lowerCaseEquals(w.namespace, n))[0]?.disabledForAutogen === true); + + // Generate configuration for any RPs not explicitly declared in the autogen list + const generatedConfig = unautogened.map(namespace => ({ + basePath, + namespace, + } as AutoGenConfig)); + + let filteredAutoGenList = [ + ...autogenlistEntries, + ...generatedConfig, + ]; + + if (!!params.readmeFiles) { + filteredAutoGenList = filteredAutoGenList.filter(c => { + let r = params.readmeFiles?.find(f => f.startsWith('specification/' + c.basePath)); + if (!!r) { + c.readmeFile = r; + return true; + } + return false; + }); + } + + await clearAutoGeneratedSchemaRefs(filteredAutoGenList); + + for (const autoGenConfig of filteredAutoGenList) { + if (autoGenConfig.disabledForAutogen === true) { + continue; + } + + let pkg = { + path: ['schemas'] + } as Package; + try { + const readme = await validateAndReturnReadmePath(localPath, autoGenConfig.readmeFile || autoGenConfig.basePath); + pkg.packageName = getPackageString(readme); + + const newConfigs = await generateSchemas(readme, autoGenConfig); + schemaConfigs.push(...newConfigs); + pkg.result = 'succeeded'; + } catch(error) { + pkg.packageName = autoGenConfig.basePath; + pkg.result = 'failed'; + console.log(chalk.red(`Caught exception processing autogenlist entry ${autoGenConfig.basePath}.`)); + console.log(chalk.red(error)); + + errors.push(error); + } + packages.push(pkg); } - packages.push(pkg); } await saveAutoGeneratedSchemaRefs(flatten(schemaConfigs)); diff --git a/generator/cmd/generateonboardedreport.ts b/generator/cmd/generateonboardedreport.ts index e6e996f7f9..9735a03e16 100644 --- a/generator/cmd/generateonboardedreport.ts +++ b/generator/cmd/generateonboardedreport.ts @@ -17,9 +17,9 @@ executeSynchronous(async () => { const namespaces = keys(await getApiVersionsByNamespace(readme)); const autogenlistEntries = findAutogenEntries(basePath); - const [autogened, unautogened] = partition( + const [unautogened, autogened] = partition( namespaces, - n => autogenlistEntries.findIndex(w => lowerCaseEquals(w.namespace, n)) > -1); + n => autogenlistEntries.filter(w => lowerCaseEquals(w.namespace, n))[0]?.disabledForAutogen === true); if (unautogened.length > 0 && autogened.length > 0) { // For partial autogeneration only, add two items diff --git a/generator/cmd/generatesingle.ts b/generator/cmd/generatesingle.ts index 0872581b74..243c1d811b 100644 --- a/generator/cmd/generatesingle.ts +++ b/generator/cmd/generatesingle.ts @@ -31,6 +31,12 @@ executeSynchronous(async () => { schemaConfigs.push(...localSchemaConfigs); } else { for (const autoGenConfig of autoGenEntries) { + if (autoGenConfig.disabledForAutogen === true) { + console.log(`Path ${autoGenConfig.basePath} has been disabled for generation:`) + console.log(chalk.red(JSON.stringify(autoGenConfig, null, 2))); + continue; + } + console.log(`Using autogenlist config:`) console.log(chalk.green(JSON.stringify(autoGenConfig, null, 2))); diff --git a/generator/cmd/listbasepaths.ts b/generator/cmd/listbasepaths.ts index 06ae8ac749..6f249f3dc9 100644 --- a/generator/cmd/listbasepaths.ts +++ b/generator/cmd/listbasepaths.ts @@ -14,16 +14,16 @@ executeSynchronous(async () => { const namespaces = keys(await getApiVersionsByNamespace(readme)); const autogenlistEntries = findAutogenEntries(basePath); - const [autogened, unautogened] = partition( + const [unautogened, autogened] = partition( namespaces, - n => autogenlistEntries.findIndex(w => lowerCaseEquals(w.namespace, n)) > -1); + n => autogenlistEntries.filter(w => lowerCaseEquals(w.namespace, n))[0]?.disabledForAutogen === true); if (unautogened.length === 0) { - console.log(`Discovered '${chalk.green(basePath)}'. autogened for auto-generation: ${chalk.green('yes')}.`); + console.log(`Discovered '${chalk.green(basePath)}'. enabled for auto-generation: ${chalk.green('yes')}.`); } else if (autogened.length > 0) { - console.log(`Discovered '${chalk.green(basePath)}'. autogened for auto-generation: ${chalk.yellow('partial')}. Missing: ${unautogened.map(p => chalk.yellow(p)).join(', ')}.`); + console.log(`Discovered '${chalk.green(basePath)}'. enabled for auto-generation: ${chalk.yellow('partial')}. Missing: ${unautogened.map(p => chalk.yellow(p)).join(', ')}.`); } else { - console.log(`Discovered '${chalk.green(basePath)}'. autogened for auto-generation: ${chalk.red('no')}. Missing: ${unautogened.map(p => chalk.yellow(p)).join(', ')}.`); + console.log(`Discovered '${chalk.green(basePath)}'. enabled for auto-generation: ${chalk.red('no')}. Missing: ${unautogened.map(p => chalk.yellow(p)).join(', ')}.`); } } }); \ No newline at end of file diff --git a/generator/constants.ts b/generator/constants.ts index cd7d9feedf..5234e67a0d 100644 --- a/generator/constants.ts +++ b/generator/constants.ts @@ -41,6 +41,7 @@ export const blocklist = [ 'azsadmin/resource-manager/backup', 'azsadmin/resource-manager/commerce', 'azsadmin/resource-manager/compute', + 'azsadmin/resource-manager/containerregistry', 'azsadmin/resource-manager/deployment', 'azsadmin/resource-manager/fabric', 'azsadmin/resource-manager/gallery', diff --git a/generator/models.ts b/generator/models.ts index 880c410b26..0616196a5a 100644 --- a/generator/models.ts +++ b/generator/models.ts @@ -9,6 +9,7 @@ export enum ScopeType { } export interface AutoGenConfig { + disabledForAutogen?: true, basePath: string, namespace: string, readmeFile?: string, diff --git a/generator/specs.ts b/generator/specs.ts index 0a842c211f..6bd2ccbfa9 100644 --- a/generator/specs.ts +++ b/generator/specs.ts @@ -35,6 +35,10 @@ export async function validateAndReturnReadmePath(localPath: string, basePath: s export async function cloneAndGenerateBasePaths(localPath: string, remoteUri: string, commitHash: string) { await cloneGitRepo(localPath, remoteUri, commitHash); + return await generateBasePaths(localPath); +} + +export async function generateBasePaths(localPath: string) { const specsPath = path.join(localPath, 'specification'); const filePaths = await findRecursive(specsPath, filePath => { From 88d3c9f913209ec9863c4d2396176b2a087ef970 Mon Sep 17 00:00:00 2001 From: Anthony Martin Date: Wed, 4 Aug 2021 14:52:11 +0000 Subject: [PATCH 34/64] Bump dependencies --- generator/package-lock.json | 123 +++++++++++++++++++++++++----------- generator/package.json | 22 +++---- 2 files changed, 96 insertions(+), 49 deletions(-) diff --git a/generator/package-lock.json b/generator/package-lock.json index 1257ead1d4..866290a260 100644 --- a/generator/package-lock.json +++ b/generator/package-lock.json @@ -5,18 +5,18 @@ "requires": true, "dependencies": { "@autorest/azureresourceschema": { - "version": "3.0.98", - "resolved": "https://registry.npmjs.org/@autorest/azureresourceschema/-/azureresourceschema-3.0.98.tgz", - "integrity": "sha512-3RlRUiJ7b3h2I0n89JxaBgOCyaOyzNvRR/229aFcYolkuqSG447r1g4fFhJ8r7Ao692s5yNdg5CiggufjrELVg==", + "version": "3.0.103", + "resolved": "https://registry.npmjs.org/@autorest/azureresourceschema/-/azureresourceschema-3.0.103.tgz", + "integrity": "sha512-3WnJfuk3WxDjuJEcnrm+AkAGzRt88IAdEyGq3K4diAyrX3fAw5GVZwJ5iRjpRzRNAkV2I1UTce3CxDnYlIROTg==", "dev": true, "requires": { "dotnet-2.0.0": "^1.4.4" } }, "@autorest/core": { - "version": "3.2.4", - "resolved": "https://registry.npmjs.org/@autorest/core/-/core-3.2.4.tgz", - "integrity": "sha512-epE2iPKoXeT2BryMqeY7uXU4Y/FVLzppUxWlJZM1Q+2ixDb/HyU/6QFBQMPofVJJb1bJGFC/4uW0IFUlSuSt1g==", + "version": "3.5.1", + "resolved": "https://registry.npmjs.org/@autorest/core/-/core-3.5.1.tgz", + "integrity": "sha512-RhTe1Uvi5YMAXd16UWLBwNkt0vjjP8SBPzv5AVubh4Tnj7ijF8AzI8OI7McztcnKMn1JQQw+ArRhgkweJXLqKw==", "dev": true }, "@ts-common/commonmark-to-markdown": { @@ -37,10 +37,34 @@ "integrity": "sha512-pP7Ee7c54XiLyD2twIQtUGId4ln3w/HxBT207Aq+n4RMq7lGqHt97zKBYlsGawPTuF2z2ZoYiC9l1Wx2lMVpRA==", "dev": true }, + "@tsconfig/node10": { + "version": "1.0.8", + "resolved": "https://registry.npmjs.org/@tsconfig/node10/-/node10-1.0.8.tgz", + "integrity": "sha512-6XFfSQmMgq0CFLY1MslA/CPUfhIL919M1rMsa5lP2P097N2Wd1sSX0tx1u4olM16fLNhtHZpRhedZJphNJqmZg==", + "dev": true + }, + "@tsconfig/node12": { + "version": "1.0.9", + "resolved": "https://registry.npmjs.org/@tsconfig/node12/-/node12-1.0.9.tgz", + "integrity": "sha512-/yBMcem+fbvhSREH+s14YJi18sp7J9jpuhYByADT2rypfajMZZN4WQ6zBGgBKp53NKmqI36wFYDb3yaMPurITw==", + "dev": true + }, + "@tsconfig/node14": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/@tsconfig/node14/-/node14-1.0.1.tgz", + "integrity": "sha512-509r2+yARFfHHE7T6Puu2jjkoycftovhXRqW328PDXTVGKihlb1P8Z9mMZH04ebyajfRY7dedfGynlrFHJUQCg==", + "dev": true + }, + "@tsconfig/node16": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/@tsconfig/node16/-/node16-1.0.2.tgz", + "integrity": "sha512-eZxlbI8GZscaGS7kkc/trHTT5xgrjH3/1n2JDwusC9iahPKWMRvRjJSAN5mCXviuTGQ/lHnhvv8Q1YTpnfz9gA==", + "dev": true + }, "@types/async": { - "version": "3.2.6", - "resolved": "https://registry.npmjs.org/@types/async/-/async-3.2.6.tgz", - "integrity": "sha512-ZkrXnZLC1mc4b9QLKaSrsxV4oxTRs10OI2kgSApT8G0v1jrmqppSHUVQ15kLorzsFBTjvf7OKF4kAibuuNQ+xA==", + "version": "3.2.7", + "resolved": "https://registry.npmjs.org/@types/async/-/async-3.2.7.tgz", + "integrity": "sha512-a+MBBfOTs3ShFMlbH9qsRVFkjIUunEtxrBT0gxRx1cntjKRg2WApuGmNYzHkwKaIhMi3SMbKktaD/rLObQMwIw==", "dev": true }, "@types/commonmark": { @@ -50,21 +74,21 @@ "dev": true }, "@types/js-yaml": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/@types/js-yaml/-/js-yaml-4.0.0.tgz", - "integrity": "sha512-4vlpCM5KPCL5CfGmTbpjwVKbISRYhduEJvvUWsH5EB7QInhEj94XPZ3ts/9FPiLZFqYO0xoW4ZL8z2AabTGgJA==", + "version": "4.0.2", + "resolved": "https://registry.npmjs.org/@types/js-yaml/-/js-yaml-4.0.2.tgz", + "integrity": "sha512-KbeHS/Y4R+k+5sWXEYzAZKuB1yQlZtEghuhRxrVRLaqhtoG5+26JwQsa4HyS3AWX8v1Uwukma5HheduUDskasA==", "dev": true }, "@types/lodash": { - "version": "4.14.168", - "resolved": "https://registry.npmjs.org/@types/lodash/-/lodash-4.14.168.tgz", - "integrity": "sha512-oVfRvqHV/V6D1yifJbVRU3TMp8OT6o6BG+U9MkwuJ3U8/CsDHvalRpsxBqivn71ztOFZBTfJMvETbqHiaNSj7Q==", + "version": "4.14.172", + "resolved": "https://registry.npmjs.org/@types/lodash/-/lodash-4.14.172.tgz", + "integrity": "sha512-/BHF5HAx3em7/KkzVKm3LrsD6HZAXuXO1AJZQ3cRRBZj4oHZDviWPYu0aEplAqDFNHZPW6d3G7KN+ONcCCC7pw==", "dev": true }, "@types/node": { - "version": "14.14.37", - "resolved": "https://registry.npmjs.org/@types/node/-/node-14.14.37.tgz", - "integrity": "sha512-XYmBiy+ohOR4Lh5jE379fV2IU+6Jn4g5qASinhitfyO71b/sCo6MKsMLF5tc7Zf2CE8hViVQyYSobJNke8OvUw==", + "version": "16.4.11", + "resolved": "https://registry.npmjs.org/@types/node/-/node-16.4.11.tgz", + "integrity": "sha512-nWSFUbuNiPKJEe1IViuodSI+9cM+vpM8SWF/O6dJK7wmGRNq55U7XavJHrlRrPkSMuUZUFzg1xaZ1B+ZZCrRWw==", "dev": true }, "ansi-styles": { @@ -98,21 +122,21 @@ "dev": true }, "autorest": { - "version": "3.1.4", - "resolved": "https://registry.npmjs.org/autorest/-/autorest-3.1.4.tgz", - "integrity": "sha512-boUNGamevGtvb7JSnvumZn0omxcKagfIaxpHA8VylhwM4yQo37e+QGDty6Gw00D3WZnJLZsXEacfWsaqrayUVA==", + "version": "3.3.2", + "resolved": "https://registry.npmjs.org/autorest/-/autorest-3.3.2.tgz", + "integrity": "sha512-Tj2Jyz57tMt/KIJK3NaQI13hzUBXZ3N9OmkVZfLU2vrYh1SEaxvdWCLkwWt883E5YlzasRXdbSkrMz86lzHnPA==", "dev": true }, "buffer-from": { - "version": "1.1.1", - "resolved": "https://registry.npmjs.org/buffer-from/-/buffer-from-1.1.1.tgz", - "integrity": "sha512-MQcXEUbCKtEo7bhqEs6560Hyd4XaovZlO/k9V3hjVUF/zwW7KBVdSK4gIt/bzwS9MbR5qob+F5jusZsb0YQK2A==", + "version": "1.1.2", + "resolved": "https://registry.npmjs.org/buffer-from/-/buffer-from-1.1.2.tgz", + "integrity": "sha512-E+XQCRwSbaaiChtv6k6Dwgc+bx+Bs6vuKJHHl5kox/BaKbhiXzqQOwK4cO22yElGp2OCmjwVhT3HmxgyPGnJfQ==", "dev": true }, "chalk": { - "version": "4.1.0", - "resolved": "https://registry.npmjs.org/chalk/-/chalk-4.1.0.tgz", - "integrity": "sha512-qwx12AxXe2Q5xQ43Ac//I6v5aXTipYrSESdOgzrN+9XjgEpyjpKuvSGaN4qE93f7TQTlerQQ8S+EQ0EyDoVL1A==", + "version": "4.1.2", + "resolved": "https://registry.npmjs.org/chalk/-/chalk-4.1.2.tgz", + "integrity": "sha512-oKnbhFyRIXpUuez8iBMmyEa4nbj4IOQyuhc/wy9kY7/WVPcwIO9VA668Pu8RkO7+0G76SLROeyw9CpQ061i4mA==", "dev": true, "requires": { "ansi-styles": "^4.1.0", @@ -183,6 +207,18 @@ "dev": true, "requires": { "js-yaml": "^3.13.1" + }, + "dependencies": { + "js-yaml": { + "version": "3.14.1", + "resolved": "https://registry.npmjs.org/js-yaml/-/js-yaml-3.14.1.tgz", + "integrity": "sha512-okMH7OXXJ7YrN9Ok3/SXrnu4iX9yOk+25nqX4imS2npuvTYDmo/QEZoqwZkYaIDk3jVvBOTOIEgEhaLOynBS9g==", + "dev": true, + "requires": { + "argparse": "^1.0.7", + "esprima": "^4.0.0" + } + } } }, "has-flag": { @@ -192,13 +228,20 @@ "dev": true }, "js-yaml": { - "version": "3.14.1", - "resolved": "https://registry.npmjs.org/js-yaml/-/js-yaml-3.14.1.tgz", - "integrity": "sha512-okMH7OXXJ7YrN9Ok3/SXrnu4iX9yOk+25nqX4imS2npuvTYDmo/QEZoqwZkYaIDk3jVvBOTOIEgEhaLOynBS9g==", + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/js-yaml/-/js-yaml-4.1.0.tgz", + "integrity": "sha512-wpxZs9NoxZaJESJGIZTyDEaYpl0FKSA+FB9aJiyemKhMwkxQg63h4T1KJgUGHpTqPDNRcmmYLugrRjJlBtWvRA==", "dev": true, "requires": { - "argparse": "^1.0.7", - "esprima": "^4.0.0" + "argparse": "^2.0.1" + }, + "dependencies": { + "argparse": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/argparse/-/argparse-2.0.1.tgz", + "integrity": "sha512-8+9WqebbFzpX9OR+Wa6O29asIogeRMzcGtAINdpMHHyAg10f05aSFVBbcEqGf/PXw1EjAZ+q2/bEBg3DvurK3Q==", + "dev": true + } } }, "lodash": { @@ -263,11 +306,15 @@ } }, "ts-node": { - "version": "9.1.1", - "resolved": "https://registry.npmjs.org/ts-node/-/ts-node-9.1.1.tgz", - "integrity": "sha512-hPlt7ZACERQGf03M253ytLY3dHbGNGrAq9qIHWUY9XHYl1z7wYngSr3OQ5xmui8o2AaxsONxIzjafLUiWBo1Fg==", + "version": "10.1.0", + "resolved": "https://registry.npmjs.org/ts-node/-/ts-node-10.1.0.tgz", + "integrity": "sha512-6szn3+J9WyG2hE+5W8e0ruZrzyk1uFLYye6IGMBadnOzDh8aP7t8CbFpsfCiEx2+wMixAhjFt7lOZC4+l+WbEA==", "dev": true, "requires": { + "@tsconfig/node10": "^1.0.7", + "@tsconfig/node12": "^1.0.7", + "@tsconfig/node14": "^1.0.0", + "@tsconfig/node16": "^1.0.1", "arg": "^4.1.0", "create-require": "^1.1.0", "diff": "^4.0.1", @@ -277,9 +324,9 @@ } }, "typescript": { - "version": "4.2.3", - "resolved": "https://registry.npmjs.org/typescript/-/typescript-4.2.3.tgz", - "integrity": "sha512-qOcYwxaByStAWrBf4x0fibwZvMRG+r4cQoTjbPtUlrWjBHbmCAww1i448U0GJ+3cNNEtebDteo/cHOR3xJ4wEw==", + "version": "4.3.5", + "resolved": "https://registry.npmjs.org/typescript/-/typescript-4.3.5.tgz", + "integrity": "sha512-DqQgihaQ9cUrskJo9kIyW/+g0Vxsk8cDtZ52a3NGh0YNTfpUSArXSohyUGnvbPazEPLu398C0UxmKSOrPumUzA==", "dev": true }, "yn": { diff --git a/generator/package.json b/generator/package.json index bfac9790bd..8960039421 100644 --- a/generator/package.json +++ b/generator/package.json @@ -18,19 +18,19 @@ "start": "npm run clean && npm run generate-all" }, "devDependencies": { - "@autorest/azureresourceschema": "^3.0.98", - "@autorest/core": "^3.0.6374", + "@autorest/azureresourceschema": "^3.0.103", + "@autorest/core": "^3.5.1", "@ts-common/commonmark-to-markdown": "^2.0.0", - "@types/async": "^3.2.5", - "@types/js-yaml": "^4.0.0", - "@types/lodash": "^4.14.168", - "@types/node": "^14.14.25", + "@types/async": "^3.2.7", + "@types/js-yaml": "^4.0.2", + "@types/lodash": "^4.14.172", + "@types/node": "^16.4.11", "async": "^3.2.0", - "autorest": "^3.0.6339", - "chalk": "^4.0.0", - "js-yaml": "^3.14.1", + "autorest": "^3.3.2", + "chalk": "^4.1.2", + "js-yaml": "^4.1.0", "lodash": "^4.17.19", - "ts-node": "^9.1.1", - "typescript": "^4.1.5" + "ts-node": "^10.1.0", + "typescript": "^4.3.5" } } From bf7ba1e3a2f8b2deea578678acd21253441d2fdf Mon Sep 17 00:00:00 2001 From: Anthony Martin Date: Wed, 4 Aug 2021 14:53:34 +0000 Subject: [PATCH 35/64] Remove unused file --- .github/workflows/autogenerateBatch0.yml | 68 ------------------------ 1 file changed, 68 deletions(-) delete mode 100644 .github/workflows/autogenerateBatch0.yml diff --git a/.github/workflows/autogenerateBatch0.yml b/.github/workflows/autogenerateBatch0.yml deleted file mode 100644 index 675f755c87..0000000000 --- a/.github/workflows/autogenerateBatch0.yml +++ /dev/null @@ -1,68 +0,0 @@ -# This is a basic workflow to help you get started with Actions - -name: Autogenerate (Batch 0) - -on: - push: - branches: [ autogenerate ] - -# A workflow run is made up of one or more jobs that can run sequentially or in parallel -jobs: - # This workflow contains a single job called "build" - build: - # The type of runner that the job will run on - runs-on: ubuntu-latest - - # Steps represent a sequence of tasks that will be executed as part of the job - steps: - # Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it - - uses: actions/checkout@v2 - - - name: Configure Git - run: | - git config user.name "Autogenerator Pipeline" - git config user.email "azure-resource-manager-schemas@noreply.github.com" - - - name: Integrate main branch - run: | - git checkout autogenerate - git pull - git merge --no-commit --no-ff --strategy-option=theirs origin/main --allow-unrelated-histories - if ! git diff-index --quiet HEAD --; then - git commit -m "Merge remote-tracking branch 'origin/main' into autogenerate" - git push origin autogenerate - fi - - - name: Setup Node.js - uses: actions/setup-node@v2.1.2 - with: - node-version: 14.x - - - name: Install packages - run: npm install - working-directory: ./generator - - - name: Generate Schemas - run: | - npm run generate-all '{"batchCount": 4, "batchIndex": 0}' - working-directory: ./generator - - - name: Commit autogenerated schemas - run: | - git add --all schemas - if ! git diff-index --quiet HEAD --; then - git commit -m "Autogenerate schemas" - git push origin autogenerate - fi - - - name: List resources - run: | - npm run list-resources resources.json - - - name: Commit resource list - run: | - git add generator/resources.json - if ! git diff-index --quiet HEAD --; then - git commit -m "Update resource list" - git push origin autogenerate - fi From d1f8696736f3fa1c9a7ee9d63b42d3306a353a0d Mon Sep 17 00:00:00 2001 From: Anthony Martin Date: Wed, 4 Aug 2021 15:01:14 +0000 Subject: [PATCH 36/64] Update generator readme --- generator/README.md | 20 ++++++++++++-------- 1 file changed, 12 insertions(+), 8 deletions(-) diff --git a/generator/README.md b/generator/README.md index 134c7ea739..daeda63da0 100644 --- a/generator/README.md +++ b/generator/README.md @@ -32,11 +32,15 @@ View the Pipeline Configuration [here](/azure-pipelines-autogen.yml). 3. If there are any modifications to [schemas/common/autogeneratedResources.json](/schemas/common/autogeneratedResources.json), push a commit to the autogenerate branch to make any corresponding changes to [schemas/2014-04-01-preview/deploymentTemplate.json](/schemas/2014-04-01-preview/deploymentTemplate.json) and [schemas/2015-01-01/deploymentTemplate.json](/schemas/2015-01-01/deploymentTemplate.json). #### Onboarding to the autogeneration pipeline - -1. Follow the steps listed under [Getting Started](#getting-started). The following commands assume you are running in the `generator` directory. -3. Run `npm run list-basepaths` to discover the specs repo path containing the swagger definitions. -4. Run `npm run generate-single {basePath}` to generate schemas for them. Save the console output to file. -5. Manually remove any existing references to your provider namespace (if any) from [schemas/2019-04-01/deploymentTemplate.json](/schemas/2019-04-01/deploymentTemplate.json). -6. Add the {basePath} to the autogenlist array in [autogenlist.ts](./autogenlist.ts). -7. Commit all the changed files, and submit a PR to this repo with title "Onboarding {provider} for autogeneration". Include the full output saved in step 2 as a comment. -8. Ensure all CI tests pass, and ask the team to review the PR (including tool output) to ensure that all expected resources have been detected and generated as expected. +New resource providers are onboarded for autogeneration by default, so the only providers which have been opted out are listed in [autogenlist.ts](./autogenlist.ts) with `disabledForAutogen` set. + +If your team has been opted out, and you would like to opt in, please raise an issue in this repo, and we will assist. + +> The following steps are no longer necessary for onboarding, but listed here for reference: +> 1. Follow the steps listed under [Getting Started](#getting-started). The following commands assume you are running in the > `generator` directory. +> 3. Run `npm run list-basepaths` to discover the specs repo path containing the swagger definitions. +> 4. Run `npm run generate-single {basePath}` to generate schemas for them. Save the console output to file. +> 5. Manually remove any existing references to your provider namespace (if any) from [schemas/2019-04-01/deploymentTemplate.> json](/schemas/2019-04-01/deploymentTemplate.json). +> 6. Add the {basePath} to the autogenlist array in [autogenlist.ts](./autogenlist.ts). +> 7. Commit all the changed files, and submit a PR to this repo with title "Onboarding {provider} for autogeneration". Include > the full output saved in step 2 as a comment. +> 8. Ensure all CI tests pass, and ask the team to review the PR (including tool output) to ensure that all expected resources > have been detected and generated as expected. From adb409c87891e70cda456943074c0b67b201802f Mon Sep 17 00:00:00 2001 From: Autogenerator Pipeline Date: Fri, 6 Aug 2021 09:24:18 +0000 Subject: [PATCH 37/64] Autogenerate schemas --- schemas/2018-02-02/Microsoft.Migrate.json | 599 ++++++++ .../2018-09-01-preview/Microsoft.Migrate.json | 517 ------- .../2019-10-01-preview/Microsoft.Migrate.json | 1054 -------------- schemas/2019-10-01/Microsoft.Migrate.json | 1260 +++++++++++++++++ schemas/2021-01-01/Microsoft.Migrate.json | 1054 -------------- .../Microsoft.Maintenance.json | 6 +- schemas/common/autogeneratedResources.json | 27 +- 7 files changed, 1883 insertions(+), 2634 deletions(-) create mode 100644 schemas/2018-02-02/Microsoft.Migrate.json delete mode 100644 schemas/2018-09-01-preview/Microsoft.Migrate.json delete mode 100644 schemas/2019-10-01-preview/Microsoft.Migrate.json create mode 100644 schemas/2019-10-01/Microsoft.Migrate.json delete mode 100644 schemas/2021-01-01/Microsoft.Migrate.json diff --git a/schemas/2018-02-02/Microsoft.Migrate.json b/schemas/2018-02-02/Microsoft.Migrate.json new file mode 100644 index 0000000000..690ba2f959 --- /dev/null +++ b/schemas/2018-02-02/Microsoft.Migrate.json @@ -0,0 +1,599 @@ +{ + "id": "https://schema.management.azure.com/schemas/2018-02-02/Microsoft.Migrate.json#", + "$schema": "http://json-schema.org/draft-04/schema#", + "title": "Microsoft.Migrate", + "description": "Microsoft Migrate Resource Types", + "resourceDefinitions": { + "projects": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2018-02-02" + ] + }, + "eTag": { + "type": "string", + "description": "For optimistic concurrency control." + }, + "location": { + "type": "string", + "description": "Azure location in which project is created." + }, + "name": { + "type": "string", + "description": "Name of the Azure Migrate 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_groups_childResource" + } + ] + } + }, + "tags": { + "type": "object", + "properties": {}, + "description": "Tags provided by Azure Tagging service." + }, + "type": { + "type": "string", + "enum": [ + "Microsoft.Migrate/projects" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.Migrate/projects" + }, + "projects_groups": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2018-02-02" + ] + }, + "eTag": { + "type": "string", + "description": "For optimistic concurrency control." + }, + "name": { + "type": "string", + "description": "Unique name of a group within a project." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/GroupProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Properties of group resource." + }, + "resources": { + "type": "array", + "items": { + "oneOf": [ + { + "$ref": "#/definitions/projects_groups_assessments_childResource" + } + ] + } + }, + "type": { + "type": "string", + "enum": [ + "Microsoft.Migrate/projects/groups" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.Migrate/projects/groups" + }, + "projects_groups_assessments": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2018-02-02" + ] + }, + "eTag": { + "type": "string", + "description": "For optimistic concurrency control." + }, + "name": { + "type": "string", + "description": "Unique name of an assessment within a project." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/AssessmentProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Properties of an assessment." + }, + "type": { + "type": "string", + "enum": [ + "Microsoft.Migrate/projects/groups/assessments" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.Migrate/projects/groups/assessments" + } + }, + "definitions": { + "AssessmentProperties": { + "type": "object", + "properties": { + "azureHybridUseBenefit": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Unknown", + "Yes", + "No" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "AHUB discount on windows virtual machines." + }, + "azureLocation": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Unknown", + "EastAsia", + "SoutheastAsia", + "AustraliaEast", + "AustraliaSoutheast", + "BrazilSouth", + "CanadaCentral", + "CanadaEast", + "WestEurope", + "NorthEurope", + "CentralIndia", + "SouthIndia", + "WestIndia", + "JapanEast", + "JapanWest", + "KoreaCentral", + "KoreaSouth", + "UkWest", + "UkSouth", + "NorthCentralUs", + "EastUs", + "WestUs2", + "SouthCentralUs", + "CentralUs", + "EastUs2", + "WestUs", + "WestCentralUs", + "GermanyCentral", + "GermanyNortheast", + "ChinaNorth", + "ChinaEast" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Target Azure location for which the machines should be assessed. These enums are the same as used by Compute API." + }, + "azureOfferCode": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Unknown", + "MSAZR0003P", + "MSAZR0044P", + "MSAZR0059P", + "MSAZR0060P", + "MSAZR0062P", + "MSAZR0063P", + "MSAZR0064P", + "MSAZR0029P", + "MSAZR0022P", + "MSAZR0023P", + "MSAZR0148P", + "MSAZR0025P", + "MSAZR0036P", + "MSAZR0120P", + "MSAZR0121P", + "MSAZR0122P", + "MSAZR0123P", + "MSAZR0124P", + "MSAZR0125P", + "MSAZR0126P", + "MSAZR0127P", + "MSAZR0128P", + "MSAZR0129P", + "MSAZR0130P", + "MSAZR0111P", + "MSAZR0144P", + "MSAZR0149P", + "MSMCAZR0044P", + "MSMCAZR0059P", + "MSMCAZR0060P", + "MSMCAZR0063P", + "MSMCAZR0120P", + "MSMCAZR0121P", + "MSMCAZR0125P", + "MSMCAZR0128P", + "MSAZRDE0003P", + "MSAZRDE0044P" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Offer code according to which cost estimation is done." + }, + "azurePricingTier": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Standard", + "Basic" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Pricing tier for Size evaluation." + }, + "azureStorageRedundancy": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Unknown", + "LocallyRedundant", + "ZoneRedundant", + "GeoRedundant", + "ReadAccessGeoRedundant" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Storage Redundancy type offered by Azure." + }, + "currency": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Unknown", + "USD", + "DKK", + "CAD", + "IDR", + "JPY", + "KRW", + "NZD", + "NOK", + "RUB", + "SAR", + "ZAR", + "SEK", + "TRY", + "GBP", + "MXN", + "MYR", + "INR", + "HKD", + "BRL", + "TWD", + "EUR", + "CHF", + "ARS", + "AUD", + "CNY" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Currency to report prices in." + }, + "discountPercentage": { + "oneOf": [ + { + "type": "number" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Custom discount percentage to be applied on final costs. Can be in the range [0, 100]." + }, + "percentile": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Percentile50", + "Percentile90", + "Percentile95", + "Percentile99" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Percentile of performance data used to recommend Azure size." + }, + "scalingFactor": { + "oneOf": [ + { + "type": "number" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Scaling factor used over utilization data to add a performance buffer for new machines to be created in Azure. Min Value = 1.0, Max value = 1.9, Default = 1.3." + }, + "sizingCriterion": { + "oneOf": [ + { + "type": "string", + "enum": [ + "PerformanceBased", + "AsOnPremises" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Assessment sizing criterion." + }, + "stage": { + "oneOf": [ + { + "type": "string", + "enum": [ + "InProgress", + "UnderReview", + "Approved" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "User configurable setting that describes the status of the assessment." + }, + "timeRange": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Day", + "Week", + "Month" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Time range of performance data used to recommend a size." + } + }, + "required": [ + "azureHybridUseBenefit", + "azureLocation", + "azureOfferCode", + "azurePricingTier", + "azureStorageRedundancy", + "currency", + "discountPercentage", + "percentile", + "scalingFactor", + "sizingCriterion", + "stage", + "timeRange" + ], + "description": "Properties of an assessment." + }, + "GroupProperties": { + "type": "object", + "properties": { + "machines": { + "oneOf": [ + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "List of machine names that are part of this group." + } + }, + "required": [ + "machines" + ], + "description": "Properties of group resource." + }, + "ProjectProperties": { + "type": "object", + "properties": { + "customerWorkspaceId": { + "type": "string", + "description": "ARM ID of the Service Map workspace created by user." + }, + "customerWorkspaceLocation": { + "type": "string", + "description": "Location of the Service Map workspace created by user." + }, + "provisioningState": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Accepted", + "Creating", + "Deleting", + "Failed", + "Moving", + "Succeeded" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Provisioning state of the project." + } + }, + "description": "Properties of a project." + }, + "projects_groups_assessments_childResource": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2018-02-02" + ] + }, + "eTag": { + "type": "string", + "description": "For optimistic concurrency control." + }, + "name": { + "type": "string", + "description": "Unique name of an assessment within a project." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/AssessmentProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Properties of an assessment." + }, + "type": { + "type": "string", + "enum": [ + "assessments" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.Migrate/projects/groups/assessments" + }, + "projects_groups_childResource": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2018-02-02" + ] + }, + "eTag": { + "type": "string", + "description": "For optimistic concurrency control." + }, + "name": { + "type": "string", + "description": "Unique name of a group within a project." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/GroupProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Properties of group resource." + }, + "type": { + "type": "string", + "enum": [ + "groups" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.Migrate/projects/groups" + } + } +} \ No newline at end of file diff --git a/schemas/2018-09-01-preview/Microsoft.Migrate.json b/schemas/2018-09-01-preview/Microsoft.Migrate.json deleted file mode 100644 index 074e3e9b7c..0000000000 --- a/schemas/2018-09-01-preview/Microsoft.Migrate.json +++ /dev/null @@ -1,517 +0,0 @@ -{ - "id": "https://schema.management.azure.com/schemas/2018-09-01-preview/Microsoft.Migrate.json#", - "$schema": "http://json-schema.org/draft-04/schema#", - "title": "Microsoft.Migrate", - "description": "Microsoft Migrate Resource Types", - "resourceDefinitions": { - "migrateProjects": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2018-09-01-preview" - ] - }, - "eTag": { - "type": "string", - "description": "Gets or sets the eTag for concurrency control." - }, - "location": { - "type": "string", - "description": "Gets or sets the Azure location in which migrate project is created." - }, - "name": { - "type": "string", - "description": "Name of the Azure Migrate project." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/MigrateProjectProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Class for migrate project properties." - }, - "resources": { - "type": "array", - "items": { - "oneOf": [ - { - "$ref": "#/definitions/migrateProjects_solutions_childResource" - } - ] - } - }, - "tags": { - "oneOf": [ - { - "$ref": "#/definitions/MigrateProjectTags" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Gets or sets the tags." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.Migrate/migrateProjects" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.Migrate/migrateProjects" - }, - "migrateProjects_solutions": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2018-09-01-preview" - ] - }, - "etag": { - "type": "string", - "description": "Gets or sets the ETAG for optimistic concurrency control." - }, - "name": { - "type": "string", - "description": "Unique name of a migration solution within a migrate project." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/SolutionProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Class for solution properties." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.Migrate/migrateProjects/solutions" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.Migrate/migrateProjects/solutions" - } - }, - "definitions": { - "DatabasesSolutionSummary": { - "type": "object", - "properties": { - "databaseInstancesAssessedCount": { - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Gets or sets the count of database instances assessed." - }, - "databasesAssessedCount": { - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Gets or sets the count of databases assessed." - }, - "instanceType": { - "type": "string", - "enum": [ - "Databases" - ] - }, - "migrationReadyCount": { - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Gets or sets the count of databases ready for migration." - } - }, - "required": [ - "instanceType" - ], - "description": "Class representing the databases solution summary." - }, - "MigrateProjectProperties": { - "type": "object", - "properties": { - "provisioningState": { - "oneOf": [ - { - "type": "string", - "enum": [ - "Accepted", - "Creating", - "Deleting", - "Failed", - "Moving", - "Succeeded" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Provisioning state of the migrate project." - }, - "registeredTools": { - "oneOf": [ - { - "type": "array", - "items": { - "type": "string", - "enum": [ - "ServerDiscovery", - "ServerAssessment", - "ServerMigration", - "Cloudamize", - "Turbonomic", - "Zerto", - "CorentTech", - "ServerAssessmentV1", - "ServerMigration_Replication", - "Carbonite", - "DataMigrationAssistant", - "DatabaseMigrationService" - ] - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Gets or sets the list of tools registered with the migrate project." - } - }, - "description": "Class for migrate project properties." - }, - "migrateProjects_solutions_childResource": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2018-09-01-preview" - ] - }, - "etag": { - "type": "string", - "description": "Gets or sets the ETAG for optimistic concurrency control." - }, - "name": { - "type": "string", - "description": "Unique name of a migration solution within a migrate project." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/SolutionProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Class for solution properties." - }, - "type": { - "type": "string", - "enum": [ - "solutions" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.Migrate/migrateProjects/solutions" - }, - "MigrateProjectTags": { - "type": "object", - "properties": { - "additionalProperties": { - "type": "string" - } - }, - "description": "Gets or sets the tags." - }, - "ServersSolutionSummary": { - "type": "object", - "properties": { - "assessedCount": { - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Gets or sets the count of servers assessed." - }, - "discoveredCount": { - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Gets or sets the count of servers discovered." - }, - "instanceType": { - "type": "string", - "enum": [ - "Servers" - ] - }, - "migratedCount": { - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Gets or sets the count of servers migrated." - }, - "replicatingCount": { - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Gets or sets the count of servers being replicated." - }, - "testMigratedCount": { - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Gets or sets the count of servers test migrated." - } - }, - "required": [ - "instanceType" - ], - "description": "Class representing the servers solution summary." - }, - "SolutionDetails": { - "type": "object", - "properties": { - "assessmentCount": { - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Gets or sets the count of assessments reported by the solution." - }, - "extendedDetails": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Gets or sets the extended details reported by the solution." - }, - "groupCount": { - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Gets or sets the count of groups reported by the solution." - } - }, - "description": "Class representing the details of the solution." - }, - "SolutionProperties": { - "type": "object", - "properties": { - "cleanupState": { - "oneOf": [ - { - "type": "string", - "enum": [ - "None", - "Started", - "InProgress", - "Completed", - "Failed" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Gets or sets the cleanup state of the solution." - }, - "details": { - "oneOf": [ - { - "$ref": "#/definitions/SolutionDetails" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Class representing the details of the solution." - }, - "goal": { - "oneOf": [ - { - "type": "string", - "enum": [ - "Servers", - "Databases" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Gets or sets the goal of the solution." - }, - "purpose": { - "oneOf": [ - { - "type": "string", - "enum": [ - "Discovery", - "Assessment", - "Migration" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Gets or sets the purpose of the solution." - }, - "status": { - "oneOf": [ - { - "type": "string", - "enum": [ - "Inactive", - "Active" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Gets or sets the current status of the solution." - }, - "summary": { - "oneOf": [ - { - "$ref": "#/definitions/SolutionSummary" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The solution summary class." - }, - "tool": { - "oneOf": [ - { - "type": "string", - "enum": [ - "ServerDiscovery", - "ServerAssessment", - "ServerMigration", - "Cloudamize", - "Turbonomic", - "Zerto", - "CorentTech", - "ServerAssessmentV1", - "ServerMigration_Replication", - "Carbonite", - "DataMigrationAssistant", - "DatabaseMigrationService" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Gets or sets the tool being used in the solution." - } - }, - "description": "Class for solution properties." - }, - "SolutionSummary": { - "type": "object", - "oneOf": [ - { - "$ref": "#/definitions/ServersSolutionSummary" - }, - { - "$ref": "#/definitions/DatabasesSolutionSummary" - } - ], - "properties": {}, - "description": "The solution summary class." - } - } -} \ No newline at end of file diff --git a/schemas/2019-10-01-preview/Microsoft.Migrate.json b/schemas/2019-10-01-preview/Microsoft.Migrate.json deleted file mode 100644 index 69d60e191b..0000000000 --- a/schemas/2019-10-01-preview/Microsoft.Migrate.json +++ /dev/null @@ -1,1054 +0,0 @@ -{ - "id": "https://schema.management.azure.com/schemas/2019-10-01-preview/Microsoft.Migrate.json#", - "$schema": "http://json-schema.org/draft-04/schema#", - "title": "Microsoft.Migrate", - "description": "Microsoft Migrate Resource Types", - "resourceDefinitions": { - "moveCollections": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2019-10-01-preview" - ] - }, - "identity": { - "oneOf": [ - { - "$ref": "#/definitions/Identity" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Defines the MSI properties of the Move Collection." - }, - "location": { - "type": "string", - "description": "The geo-location where the resource lives." - }, - "name": { - "type": "string", - "description": "The Move Collection Name." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/MoveCollectionProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Defines the move collection properties." - }, - "resources": { - "type": "array", - "items": { - "oneOf": [ - { - "$ref": "#/definitions/moveCollections_moveResources_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.Migrate/moveCollections" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.Migrate/moveCollections" - }, - "moveCollections_moveResources": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2019-10-01-preview" - ] - }, - "name": { - "type": "string", - "description": "The Move Resource Name." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/MoveResourceProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Defines the move resource properties." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.Migrate/moveCollections/moveResources" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.Migrate/moveCollections/moveResources" - } - }, - "definitions": { - "AvailabilitySetResourceSettings": { - "type": "object", - "properties": { - "faultDomain": { - "oneOf": [ - { - "type": "integer", - "minimum": 1 - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Gets or sets the target fault domain." - }, - "resourceType": { - "type": "string", - "enum": [ - "Microsoft.Compute/availabilitySets" - ] - }, - "updateDomain": { - "oneOf": [ - { - "type": "integer", - "minimum": 1, - "maximum": 20 - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Gets or sets the target update domain." - } - }, - "required": [ - "resourceType" - ], - "description": "Gets or sets the availability set resource settings." - }, - "DiskEncryptionSetResourceSettings": { - "type": "object", - "properties": { - "resourceType": { - "type": "string", - "enum": [ - "Microsoft.Compute/diskEncryptionSets" - ] - } - }, - "required": [ - "resourceType" - ], - "description": "Defines the disk encryption set resource settings." - }, - "Identity": { - "type": "object", - "properties": { - "principalId": { - "type": "string", - "description": "Gets or sets the principal id." - }, - "tenantId": { - "type": "string", - "description": "Gets or sets the tenant id." - }, - "type": { - "oneOf": [ - { - "type": "string", - "enum": [ - "None", - "SystemAssigned", - "UserAssigned" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - } - }, - "description": "Defines the MSI properties of the Move Collection." - }, - "KeyVaultResourceSettings": { - "type": "object", - "properties": { - "resourceType": { - "type": "string", - "enum": [ - "Microsoft.KeyVault/vaults" - ] - } - }, - "required": [ - "resourceType" - ], - "description": "Defines the key vault resource settings." - }, - "LBBackendAddressPoolResourceSettings": { - "type": "object", - "properties": { - "name": { - "type": "string", - "description": "Gets or sets the backend address pool name." - } - }, - "description": "Defines load balancer backend address pool properties." - }, - "LBFrontendIPConfigurationResourceSettings": { - "type": "object", - "properties": { - "name": { - "type": "string", - "description": "Gets or sets the frontend IP configuration name." - }, - "privateIpAddress": { - "type": "string", - "description": "Gets or sets the IP address of the Load Balancer.This is only specified if a specific\r\nprivate IP address shall be allocated from the subnet specified in subnetRef." - }, - "privateIpAllocationMethod": { - "type": "string", - "description": "Gets or sets PrivateIP allocation method (Static/Dynamic)." - }, - "subnet": { - "oneOf": [ - { - "$ref": "#/definitions/SubnetReference" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Defines reference to subnet." - }, - "zones": { - "type": "string", - "description": "Gets or sets the csv list of zones." - } - }, - "description": "Defines load balancer frontend IP configuration properties." - }, - "LoadBalancerBackendAddressPoolReference": { - "type": "object", - "properties": { - "name": { - "type": "string", - "description": "Gets the name of the proxy resource on the target side." - }, - "sourceArmResourceId": { - "type": "string", - "description": "Gets the ARM resource ID of the tracked resource being referenced." - } - }, - "required": [ - "sourceArmResourceId" - ], - "description": "Defines reference to load balancer backend address pools." - }, - "LoadBalancerNatRuleReference": { - "type": "object", - "properties": { - "name": { - "type": "string", - "description": "Gets the name of the proxy resource on the target side." - }, - "sourceArmResourceId": { - "type": "string", - "description": "Gets the ARM resource ID of the tracked resource being referenced." - } - }, - "required": [ - "sourceArmResourceId" - ], - "description": "Defines reference to load balancer NAT rules." - }, - "LoadBalancerResourceSettings": { - "type": "object", - "properties": { - "backendAddressPools": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/definitions/LBBackendAddressPoolResourceSettings" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Gets or sets the backend address pools of the load balancer." - }, - "frontendIPConfigurations": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/definitions/LBFrontendIPConfigurationResourceSettings" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Gets or sets the frontend IP configurations of the load balancer." - }, - "resourceType": { - "type": "string", - "enum": [ - "Microsoft.Network/loadBalancers" - ] - }, - "sku": { - "type": "string", - "description": "Gets or sets load balancer sku (Basic/Standard)." - }, - "zones": { - "type": "string", - "description": "Gets or sets the csv list of zones common for all frontend IP configurations. Note this is given\r\n precedence only if frontend IP configurations settings are not present." - } - }, - "required": [ - "resourceType" - ], - "description": "Defines the load balancer resource settings." - }, - "MoveCollectionProperties": { - "type": "object", - "properties": { - "provisioningState": { - "oneOf": [ - { - "type": "string", - "enum": [ - "Succeeded", - "Updating", - "Creating", - "Failed" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "sourceRegion": { - "type": "string", - "description": "Gets or sets the source region." - }, - "targetRegion": { - "type": "string", - "description": "Gets or sets the target region." - } - }, - "required": [ - "sourceRegion", - "targetRegion" - ], - "description": "Defines the move collection properties." - }, - "moveCollections_moveResources_childResource": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2019-10-01-preview" - ] - }, - "name": { - "type": "string", - "description": "The Move Resource Name." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/MoveResourceProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Defines the move resource properties." - }, - "type": { - "type": "string", - "enum": [ - "moveResources" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.Migrate/moveCollections/moveResources" - }, - "MoveResourceDependencyOverride": { - "type": "object", - "properties": { - "id": { - "type": "string", - "description": "Gets or sets the ARM ID of the dependent resource." - }, - "targetId": { - "type": "string", - "description": "Gets or sets the resource ARM id of either the MoveResource or the resource ARM ID of\r\nthe dependent resource." - } - }, - "description": "Defines the dependency override of the move resource." - }, - "MoveResourceProperties": { - "type": "object", - "properties": { - "dependsOnOverrides": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/definitions/MoveResourceDependencyOverride" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Gets or sets the move resource dependencies overrides." - }, - "existingTargetId": { - "type": "string", - "description": "Gets or sets the existing target ARM Id of the resource." - }, - "provisioningState": { - "oneOf": [ - { - "type": "string", - "enum": [ - "Succeeded", - "Updating", - "Creating", - "Failed" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "resourceSettings": { - "oneOf": [ - { - "$ref": "#/definitions/ResourceSettings" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Gets or sets the resource settings." - }, - "sourceId": { - "type": "string", - "description": "Gets or sets the Source ARM Id of the resource." - } - }, - "required": [ - "sourceId" - ], - "description": "Defines the move resource properties." - }, - "NetworkInterfaceResourceSettings": { - "type": "object", - "properties": { - "enableAcceleratedNetworking": { - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Gets or sets a value indicating whether accelerated networking is enabled." - }, - "ipConfigurations": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/definitions/NicIpConfigurationResourceSettings" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Gets or sets the IP configurations of the NIC." - }, - "resourceType": { - "type": "string", - "enum": [ - "Microsoft.Network/networkInterfaces" - ] - } - }, - "required": [ - "resourceType" - ], - "description": "Defines the network interface resource settings." - }, - "NetworkSecurityGroupResourceSettings": { - "type": "object", - "properties": { - "resourceType": { - "type": "string", - "enum": [ - "Microsoft.Network/networkSecurityGroups" - ] - }, - "securityRules": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/definitions/NsgSecurityRule" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Gets or sets Security rules of network security group." - } - }, - "required": [ - "resourceType" - ], - "description": "Defines the NSG resource settings." - }, - "NicIpConfigurationResourceSettings": { - "type": "object", - "properties": { - "loadBalancerBackendAddressPools": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/definitions/LoadBalancerBackendAddressPoolReference" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Gets or sets the references of the load balancer backend address pools." - }, - "loadBalancerNatRules": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/definitions/LoadBalancerNatRuleReference" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Gets or sets the references of the load balancer NAT rules." - }, - "name": { - "type": "string", - "description": "Gets or sets the IP configuration name." - }, - "primary": { - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Gets or sets a value indicating whether this IP configuration is the primary." - }, - "privateIpAddress": { - "type": "string", - "description": "Gets or sets the private IP address of the network interface IP Configuration." - }, - "privateIpAllocationMethod": { - "type": "string", - "description": "Gets or sets the private IP address allocation method." - }, - "publicIp": { - "oneOf": [ - { - "$ref": "#/definitions/PublicIpReference" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Defines reference to a public IP." - }, - "subnet": { - "oneOf": [ - { - "$ref": "#/definitions/SubnetReference" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Defines reference to subnet." - } - }, - "description": "Defines NIC IP configuration properties." - }, - "NsgReference": { - "type": "object", - "properties": { - "sourceArmResourceId": { - "type": "string", - "description": "Gets the ARM resource ID of the tracked resource being referenced." - } - }, - "required": [ - "sourceArmResourceId" - ], - "description": "Defines reference to NSG." - }, - "NsgSecurityRule": { - "type": "object", - "properties": { - "access": { - "type": "string", - "description": "Gets or sets whether network traffic is allowed or denied.\r\nPossible values are “Allow” and “Deny”." - }, - "description": { - "type": "string", - "description": "Gets or sets a description for this rule. Restricted to 140 chars." - }, - "destinationAddressPrefix": { - "type": "string", - "description": "Gets or sets destination address prefix. CIDR or source IP range.\r\n A “*” can also be used to match all source IPs. Default tags such\r\nas ‘VirtualNetwork’, ‘AzureLoadBalancer’ and ‘Internet’ can also be used." - }, - "destinationPortRange": { - "type": "string", - "description": "Gets or sets Destination Port or Range. Integer or range between\r\n0 and 65535. A “*” can also be used to match all ports." - }, - "direction": { - "type": "string", - "description": "Gets or sets the direction of the rule.InBound or Outbound. The\r\ndirection specifies if rule will be evaluated on incoming or outgoing traffic." - }, - "name": { - "type": "string", - "description": "Gets or sets the Security rule name." - }, - "priority": { - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Gets or sets the priority of the rule. The value can be between\r\n100 and 4096. The priority number must be unique for each rule in the collection.\r\nThe lower the priority number, the higher the priority of the rule." - }, - "protocol": { - "type": "string", - "description": "Gets or sets Network protocol this rule applies to. Can be Tcp, Udp or All(*)." - }, - "sourceAddressPrefix": { - "type": "string", - "description": "Gets or sets source address prefix. CIDR or source IP range. A\r\n“*” can also be used to match all source IPs. Default tags such as ‘VirtualNetwork’,\r\n‘AzureLoadBalancer’ and ‘Internet’ can also be used. If this is an ingress\r\nrule, specifies where network traffic originates from." - }, - "sourcePortRange": { - "type": "string", - "description": "Gets or sets Source Port or Range. Integer or range between 0 and\r\n65535. A “*” can also be used to match all ports." - } - }, - "description": "Security Rule data model for Network Security Groups." - }, - "PublicIPAddressResourceSettings": { - "type": "object", - "properties": { - "domainNameLabel": { - "type": "string", - "description": "Gets or sets the domain name label." - }, - "fqdn": { - "type": "string", - "description": "Gets or sets the fully qualified domain name." - }, - "publicIpAllocationMethod": { - "type": "string", - "description": "Gets or sets public IP allocation method." - }, - "resourceType": { - "type": "string", - "enum": [ - "Microsoft.Network/publicIPAddresses" - ] - }, - "sku": { - "type": "string", - "description": "Gets or sets public IP sku." - }, - "zones": { - "type": "string", - "description": "Gets or sets public IP zones." - } - }, - "required": [ - "resourceType" - ], - "description": "Defines the public IP address resource settings." - }, - "PublicIpReference": { - "type": "object", - "properties": { - "sourceArmResourceId": { - "type": "string", - "description": "Gets the ARM resource ID of the tracked resource being referenced." - } - }, - "required": [ - "sourceArmResourceId" - ], - "description": "Defines reference to a public IP." - }, - "ResourceGroupResourceSettings": { - "type": "object", - "properties": { - "resourceType": { - "type": "string", - "enum": [ - "resourceGroups" - ] - } - }, - "required": [ - "resourceType" - ], - "description": "Defines the resource group resource settings." - }, - "ResourceSettings": { - "type": "object", - "oneOf": [ - { - "$ref": "#/definitions/VirtualMachineResourceSettings" - }, - { - "$ref": "#/definitions/AvailabilitySetResourceSettings" - }, - { - "$ref": "#/definitions/VirtualNetworkResourceSettings" - }, - { - "$ref": "#/definitions/NetworkInterfaceResourceSettings" - }, - { - "$ref": "#/definitions/NetworkSecurityGroupResourceSettings" - }, - { - "$ref": "#/definitions/LoadBalancerResourceSettings" - }, - { - "$ref": "#/definitions/SqlServerResourceSettings" - }, - { - "$ref": "#/definitions/SqlElasticPoolResourceSettings" - }, - { - "$ref": "#/definitions/SqlDatabaseResourceSettings" - }, - { - "$ref": "#/definitions/ResourceGroupResourceSettings" - }, - { - "$ref": "#/definitions/PublicIPAddressResourceSettings" - }, - { - "$ref": "#/definitions/KeyVaultResourceSettings" - }, - { - "$ref": "#/definitions/DiskEncryptionSetResourceSettings" - } - ], - "properties": { - "targetResourceName": { - "type": "string", - "description": "Gets or sets the target Resource name." - } - }, - "required": [ - "targetResourceName" - ], - "description": "Gets or sets the resource settings." - }, - "SqlDatabaseResourceSettings": { - "type": "object", - "properties": { - "resourceType": { - "type": "string", - "enum": [ - "Microsoft.Sql/servers/databases" - ] - }, - "zoneRedundant": { - "oneOf": [ - { - "type": "string", - "enum": [ - "Enable", - "Disable" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - } - }, - "required": [ - "resourceType" - ], - "description": "Defines the Sql Database resource settings." - }, - "SqlElasticPoolResourceSettings": { - "type": "object", - "properties": { - "resourceType": { - "type": "string", - "enum": [ - "Microsoft.Sql/servers/elasticPools" - ] - }, - "zoneRedundant": { - "oneOf": [ - { - "type": "string", - "enum": [ - "Enable", - "Disable" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - } - }, - "required": [ - "resourceType" - ], - "description": "Defines the Sql ElasticPool resource settings." - }, - "SqlServerResourceSettings": { - "type": "object", - "properties": { - "resourceType": { - "type": "string", - "enum": [ - "Microsoft.Sql/servers" - ] - } - }, - "required": [ - "resourceType" - ], - "description": "Defines the SQL Server resource settings." - }, - "SubnetReference": { - "type": "object", - "properties": { - "name": { - "type": "string", - "description": "Gets the name of the proxy resource on the target side." - }, - "sourceArmResourceId": { - "type": "string", - "description": "Gets the ARM resource ID of the tracked resource being referenced." - } - }, - "required": [ - "sourceArmResourceId" - ], - "description": "Defines reference to subnet." - }, - "SubnetResourceSettings": { - "type": "object", - "properties": { - "addressPrefix": { - "type": "string", - "description": "Gets or sets address prefix for the subnet." - }, - "name": { - "type": "string", - "description": "Gets or sets the Subnet name." - }, - "networkSecurityGroup": { - "oneOf": [ - { - "$ref": "#/definitions/NsgReference" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Defines reference to NSG." - } - }, - "description": "Defines the virtual network subnets resource settings." - }, - "VirtualMachineResourceSettings": { - "type": "object", - "properties": { - "resourceType": { - "type": "string", - "enum": [ - "Microsoft.Compute/virtualMachines" - ] - }, - "targetAvailabilitySetId": { - "type": "string", - "description": "Gets or sets the target availability set id for virtual machines not in an availability set at source." - }, - "targetAvailabilityZone": { - "oneOf": [ - { - "type": "string", - "enum": [ - "1", - "2", - "3", - "NA" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Gets or sets the target availability zone." - }, - "targetVmSize": { - "type": "string", - "description": "Gets or sets the target virtual machine size." - } - }, - "required": [ - "resourceType" - ], - "description": "Gets or sets the virtual machine resource settings." - }, - "VirtualNetworkResourceSettings": { - "type": "object", - "properties": { - "addressSpace": { - "oneOf": [ - { - "type": "array", - "items": { - "type": "string" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Gets or sets the address prefixes for the virtual network." - }, - "dnsServers": { - "oneOf": [ - { - "type": "array", - "items": { - "type": "string" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Gets or sets DHCPOptions that contains an array of DNS servers available to VMs\r\ndeployed in the virtual network." - }, - "enableDdosProtection": { - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Gets or sets a value indicating whether gets or sets whether the\r\nDDOS protection should be switched on." - }, - "resourceType": { - "type": "string", - "enum": [ - "Microsoft.Network/virtualNetworks" - ] - }, - "subnets": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/definitions/SubnetResourceSettings" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Gets or sets List of subnets in a VirtualNetwork." - } - }, - "required": [ - "resourceType" - ], - "description": "Defines the virtual network resource settings." - } - } -} \ No newline at end of file diff --git a/schemas/2019-10-01/Microsoft.Migrate.json b/schemas/2019-10-01/Microsoft.Migrate.json new file mode 100644 index 0000000000..d86ce3a1c7 --- /dev/null +++ b/schemas/2019-10-01/Microsoft.Migrate.json @@ -0,0 +1,1260 @@ +{ + "id": "https://schema.management.azure.com/schemas/2019-10-01/Microsoft.Migrate.json#", + "$schema": "http://json-schema.org/draft-04/schema#", + "title": "Microsoft.Migrate", + "description": "Microsoft Migrate Resource Types", + "resourceDefinitions": { + "assessmentProjects": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2019-10-01" + ] + }, + "eTag": { + "type": "string", + "description": "For optimistic concurrency control." + }, + "location": { + "type": "string", + "description": "Azure location in which project is created." + }, + "name": { + "type": "string", + "description": "Name of the Azure Migrate 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/assessmentProjects_groups_childResource" + }, + { + "$ref": "#/definitions/assessmentProjects_hypervcollectors_childResource" + }, + { + "$ref": "#/definitions/assessmentProjects_servercollectors_childResource" + }, + { + "$ref": "#/definitions/assessmentProjects_vmwarecollectors_childResource" + }, + { + "$ref": "#/definitions/assessmentProjects_importcollectors_childResource" + }, + { + "$ref": "#/definitions/assessmentprojects_privateEndpointConnections_childResource" + } + ] + } + }, + "tags": { + "type": "object", + "properties": {}, + "description": "Tags provided by Azure Tagging service." + }, + "type": { + "type": "string", + "enum": [ + "Microsoft.Migrate/assessmentProjects" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.Migrate/assessmentProjects" + }, + "assessmentProjects_groups": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2019-10-01" + ] + }, + "eTag": { + "type": "string", + "description": "For optimistic concurrency control." + }, + "name": { + "type": "string", + "description": "Unique name of a group within a project." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/GroupProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Properties of group resource." + }, + "resources": { + "type": "array", + "items": { + "oneOf": [ + { + "$ref": "#/definitions/assessmentProjects_groups_assessments_childResource" + } + ] + } + }, + "type": { + "type": "string", + "enum": [ + "Microsoft.Migrate/assessmentProjects/groups" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.Migrate/assessmentProjects/groups" + }, + "assessmentProjects_groups_assessments": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2019-10-01" + ] + }, + "eTag": { + "type": "string", + "description": "For optimistic concurrency control." + }, + "name": { + "type": "string", + "description": "Unique name of an assessment within a project." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/AssessmentProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Properties of an assessment." + }, + "type": { + "type": "string", + "enum": [ + "Microsoft.Migrate/assessmentProjects/groups/assessments" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.Migrate/assessmentProjects/groups/assessments" + }, + "assessmentProjects_hypervcollectors": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2019-10-01" + ] + }, + "eTag": { + "type": "string" + }, + "name": { + "type": "string", + "description": "Unique name of a Hyper-V collector within a project." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/CollectorProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ] + }, + "type": { + "type": "string", + "enum": [ + "Microsoft.Migrate/assessmentProjects/hypervcollectors" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.Migrate/assessmentProjects/hypervcollectors" + }, + "assessmentProjects_importcollectors": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2019-10-01" + ] + }, + "eTag": { + "type": "string" + }, + "name": { + "type": "string", + "description": "Unique name of a Import collector within a project." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/ImportCollectorProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ] + }, + "type": { + "type": "string", + "enum": [ + "Microsoft.Migrate/assessmentProjects/importcollectors" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.Migrate/assessmentProjects/importcollectors" + }, + "assessmentprojects_privateEndpointConnections": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2019-10-01" + ] + }, + "eTag": { + "type": "string", + "description": "For optimistic concurrency control." + }, + "name": { + "type": "string", + "description": "Unique name of a private endpoint connection within a project." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/PrivateEndpointConnectionProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Private endpoint connection properties." + }, + "type": { + "type": "string", + "enum": [ + "Microsoft.Migrate/assessmentprojects/privateEndpointConnections" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.Migrate/assessmentprojects/privateEndpointConnections" + }, + "assessmentProjects_servercollectors": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2019-10-01" + ] + }, + "eTag": { + "type": "string" + }, + "name": { + "type": "string", + "description": "Unique name of a Server collector within a project." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/CollectorProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ] + }, + "type": { + "type": "string", + "enum": [ + "Microsoft.Migrate/assessmentProjects/servercollectors" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.Migrate/assessmentProjects/servercollectors" + }, + "assessmentProjects_vmwarecollectors": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2019-10-01" + ] + }, + "eTag": { + "type": "string" + }, + "name": { + "type": "string", + "description": "Unique name of a VMware collector within a project." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/CollectorProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ] + }, + "type": { + "type": "string", + "enum": [ + "Microsoft.Migrate/assessmentProjects/vmwarecollectors" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.Migrate/assessmentProjects/vmwarecollectors" + } + }, + "definitions": { + "assessmentProjects_groups_assessments_childResource": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2019-10-01" + ] + }, + "eTag": { + "type": "string", + "description": "For optimistic concurrency control." + }, + "name": { + "type": "string", + "description": "Unique name of an assessment within a project." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/AssessmentProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Properties of an assessment." + }, + "type": { + "type": "string", + "enum": [ + "assessments" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.Migrate/assessmentProjects/groups/assessments" + }, + "assessmentProjects_groups_childResource": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2019-10-01" + ] + }, + "eTag": { + "type": "string", + "description": "For optimistic concurrency control." + }, + "name": { + "type": "string", + "description": "Unique name of a group within a project." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/GroupProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Properties of group resource." + }, + "type": { + "type": "string", + "enum": [ + "groups" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.Migrate/assessmentProjects/groups" + }, + "assessmentProjects_hypervcollectors_childResource": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2019-10-01" + ] + }, + "eTag": { + "type": "string" + }, + "name": { + "type": "string", + "description": "Unique name of a Hyper-V collector within a project." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/CollectorProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ] + }, + "type": { + "type": "string", + "enum": [ + "hypervcollectors" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.Migrate/assessmentProjects/hypervcollectors" + }, + "assessmentProjects_importcollectors_childResource": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2019-10-01" + ] + }, + "eTag": { + "type": "string" + }, + "name": { + "type": "string", + "description": "Unique name of a Import collector within a project." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/ImportCollectorProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ] + }, + "type": { + "type": "string", + "enum": [ + "importcollectors" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.Migrate/assessmentProjects/importcollectors" + }, + "assessmentprojects_privateEndpointConnections_childResource": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2019-10-01" + ] + }, + "eTag": { + "type": "string", + "description": "For optimistic concurrency control." + }, + "name": { + "type": "string", + "description": "Unique name of a private endpoint connection within a project." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/PrivateEndpointConnectionProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Private endpoint connection properties." + }, + "type": { + "type": "string", + "enum": [ + "privateEndpointConnections" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.Migrate/assessmentprojects/privateEndpointConnections" + }, + "assessmentProjects_servercollectors_childResource": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2019-10-01" + ] + }, + "eTag": { + "type": "string" + }, + "name": { + "type": "string", + "description": "Unique name of a Server collector within a project." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/CollectorProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ] + }, + "type": { + "type": "string", + "enum": [ + "servercollectors" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.Migrate/assessmentProjects/servercollectors" + }, + "assessmentProjects_vmwarecollectors_childResource": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2019-10-01" + ] + }, + "eTag": { + "type": "string" + }, + "name": { + "type": "string", + "description": "Unique name of a VMware collector within a project." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/CollectorProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ] + }, + "type": { + "type": "string", + "enum": [ + "vmwarecollectors" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.Migrate/assessmentProjects/vmwarecollectors" + }, + "AssessmentProperties": { + "type": "object", + "properties": { + "azureDiskType": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Unknown", + "Standard", + "Premium", + "StandardSSD", + "StandardOrPremium" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Storage type selected for this disk." + }, + "azureHybridUseBenefit": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Unknown", + "Yes", + "No" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "AHUB discount on windows virtual machines." + }, + "azureLocation": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Unknown", + "EastAsia", + "SoutheastAsia", + "AustraliaEast", + "AustraliaSoutheast", + "BrazilSouth", + "CanadaCentral", + "CanadaEast", + "WestEurope", + "NorthEurope", + "CentralIndia", + "SouthIndia", + "WestIndia", + "JapanEast", + "JapanWest", + "KoreaCentral", + "KoreaSouth", + "UkWest", + "UkSouth", + "NorthCentralUs", + "EastUs", + "WestUs2", + "SouthCentralUs", + "CentralUs", + "EastUs2", + "WestUs", + "WestCentralUs", + "GermanyCentral", + "GermanyNortheast", + "ChinaNorth", + "ChinaEast", + "USGovArizona", + "USGovTexas", + "USGovIowa", + "USGovVirginia", + "USDoDCentral", + "USDoDEast" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Target Azure location for which the machines should be assessed. These enums are the same as used by Compute API." + }, + "azureOfferCode": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Unknown", + "MSAZR0003P", + "MSAZR0044P", + "MSAZR0059P", + "MSAZR0060P", + "MSAZR0062P", + "MSAZR0063P", + "MSAZR0064P", + "MSAZR0029P", + "MSAZR0022P", + "MSAZR0023P", + "MSAZR0148P", + "MSAZR0025P", + "MSAZR0036P", + "MSAZR0120P", + "MSAZR0121P", + "MSAZR0122P", + "MSAZR0123P", + "MSAZR0124P", + "MSAZR0125P", + "MSAZR0126P", + "MSAZR0127P", + "MSAZR0128P", + "MSAZR0129P", + "MSAZR0130P", + "MSAZR0111P", + "MSAZR0144P", + "MSAZR0149P", + "MSMCAZR0044P", + "MSMCAZR0059P", + "MSMCAZR0060P", + "MSMCAZR0063P", + "MSMCAZR0120P", + "MSMCAZR0121P", + "MSMCAZR0125P", + "MSMCAZR0128P", + "MSAZRDE0003P", + "MSAZRDE0044P", + "MSAZRUSGOV0003P", + "EA" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Offer code according to which cost estimation is done." + }, + "azurePricingTier": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Standard", + "Basic" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Pricing tier for Size evaluation." + }, + "azureStorageRedundancy": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Unknown", + "LocallyRedundant", + "ZoneRedundant", + "GeoRedundant", + "ReadAccessGeoRedundant" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Storage Redundancy type offered by Azure." + }, + "azureVmFamilies": { + "oneOf": [ + { + "type": "array", + "items": { + "type": "string", + "enum": [ + "Unknown", + "Basic_A0_A4", + "Standard_A0_A7", + "Standard_A8_A11", + "Av2_series", + "D_series", + "Dv2_series", + "DS_series", + "DSv2_series", + "F_series", + "Fs_series", + "G_series", + "GS_series", + "H_series", + "Ls_series", + "Dsv3_series", + "Dv3_series", + "Fsv2_series", + "Ev3_series", + "Esv3_series", + "M_series", + "DC_Series" + ] + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "List of azure VM families." + }, + "currency": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Unknown", + "USD", + "DKK", + "CAD", + "IDR", + "JPY", + "KRW", + "NZD", + "NOK", + "RUB", + "SAR", + "ZAR", + "SEK", + "TRY", + "GBP", + "MXN", + "MYR", + "INR", + "HKD", + "BRL", + "TWD", + "EUR", + "CHF", + "ARS", + "AUD", + "CNY" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Currency to report prices in." + }, + "discountPercentage": { + "oneOf": [ + { + "type": "number" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Custom discount percentage to be applied on final costs. Can be in the range [0, 100]." + }, + "percentile": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Percentile50", + "Percentile90", + "Percentile95", + "Percentile99" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Percentile of performance data used to recommend Azure size." + }, + "reservedInstance": { + "oneOf": [ + { + "type": "string", + "enum": [ + "None", + "RI1Year", + "RI3Year" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Azure reserved instance." + }, + "scalingFactor": { + "oneOf": [ + { + "type": "number" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Scaling factor used over utilization data to add a performance buffer for new machines to be created in Azure. Min Value = 1.0, Max value = 1.9, Default = 1.3." + }, + "sizingCriterion": { + "oneOf": [ + { + "type": "string", + "enum": [ + "PerformanceBased", + "AsOnPremises" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Assessment sizing criterion." + }, + "stage": { + "oneOf": [ + { + "type": "string", + "enum": [ + "InProgress", + "UnderReview", + "Approved" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "User configurable setting that describes the status of the assessment." + }, + "timeRange": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Day", + "Week", + "Month", + "Custom" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Time range of performance data used to recommend a size." + }, + "vmUptime": { + "oneOf": [ + { + "$ref": "#/definitions/VmUptime" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ] + } + }, + "required": [ + "azureDiskType", + "azureHybridUseBenefit", + "azureLocation", + "azureOfferCode", + "azurePricingTier", + "azureStorageRedundancy", + "azureVmFamilies", + "currency", + "discountPercentage", + "percentile", + "reservedInstance", + "scalingFactor", + "sizingCriterion", + "stage", + "timeRange", + "vmUptime" + ], + "description": "Properties of an assessment." + }, + "CollectorAgentProperties": { + "type": "object", + "properties": { + "spnDetails": { + "oneOf": [ + { + "$ref": "#/definitions/CollectorBodyAgentSpnProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ] + } + } + }, + "CollectorBodyAgentSpnProperties": { + "type": "object", + "properties": { + "applicationId": { + "type": "string", + "description": "Application/client Id for the service principal with which the on-premise management/data plane components would communicate with our Azure services." + }, + "audience": { + "type": "string", + "description": "Intended audience for the service principal." + }, + "authority": { + "type": "string", + "description": "AAD Authority URL which was used to request the token for the service principal." + }, + "objectId": { + "type": "string", + "description": "Object Id of the service principal with which the on-premise management/data plane components would communicate with our Azure services." + }, + "tenantId": { + "type": "string", + "description": "Tenant Id for the service principal with which the on-premise management/data plane components would communicate with our Azure services." + } + } + }, + "CollectorProperties": { + "type": "object", + "properties": { + "agentProperties": { + "oneOf": [ + { + "$ref": "#/definitions/CollectorAgentProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ] + }, + "discoverySiteId": { + "type": "string", + "description": "The ARM id of the discovery service site." + } + } + }, + "GroupProperties": { + "type": "object", + "properties": { + "groupType": { + "type": "string", + "description": "The type of group." + } + }, + "description": "Properties of group resource." + }, + "ImportCollectorProperties": { + "type": "object", + "properties": { + "discoverySiteId": { + "type": "string" + } + } + }, + "PrivateEndpointConnectionProperties": { + "type": "object", + "properties": { + "privateLinkServiceConnectionState": { + "oneOf": [ + { + "$ref": "#/definitions/PrivateLinkServiceConnectionState" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "State of a private endpoint connection." + } + }, + "description": "Private endpoint connection properties." + }, + "PrivateLinkServiceConnectionState": { + "type": "object", + "properties": { + "actionsRequired": { + "type": "string", + "description": "Actions required on the private endpoint connection." + }, + "description": { + "type": "string", + "description": "Description of the private endpoint connection." + }, + "status": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Approved", + "Pending", + "Rejected", + "Disconnected" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Connection status of the private endpoint connection." + } + }, + "description": "State of a private endpoint connection." + }, + "ProjectProperties": { + "type": "object", + "properties": { + "assessmentSolutionId": { + "type": "string", + "description": "Assessment solution ARM id tracked by Microsoft.Migrate/migrateProjects." + }, + "customerStorageAccountArmId": { + "type": "string", + "description": "The ARM id of the storage account used for interactions when public access is disabled." + }, + "customerWorkspaceId": { + "type": "string", + "description": "The ARM id of service map workspace created by customer." + }, + "customerWorkspaceLocation": { + "type": "string", + "description": "Location of service map workspace created by customer." + }, + "projectStatus": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Active", + "Inactive" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Assessment project status." + }, + "publicNetworkAccess": { + "type": "string", + "description": "This value can be set to 'enabled' to avoid breaking changes on existing customer resources and templates. If set to 'disabled', traffic over public interface is not allowed, and private endpoint connections would be the exclusive access method." + } + }, + "description": "Properties of a project." + }, + "VmUptime": { + "type": "object", + "properties": { + "daysPerMonth": { + "oneOf": [ + { + "type": "number" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Number of days in a month for VM uptime." + }, + "hoursPerDay": { + "oneOf": [ + { + "type": "number" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Number of hours per day for VM uptime." + } + } + } + } +} \ No newline at end of file diff --git a/schemas/2021-01-01/Microsoft.Migrate.json b/schemas/2021-01-01/Microsoft.Migrate.json deleted file mode 100644 index 0e45499ee6..0000000000 --- a/schemas/2021-01-01/Microsoft.Migrate.json +++ /dev/null @@ -1,1054 +0,0 @@ -{ - "id": "https://schema.management.azure.com/schemas/2021-01-01/Microsoft.Migrate.json#", - "$schema": "http://json-schema.org/draft-04/schema#", - "title": "Microsoft.Migrate", - "description": "Microsoft Migrate Resource Types", - "resourceDefinitions": { - "moveCollections": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2021-01-01" - ] - }, - "identity": { - "oneOf": [ - { - "$ref": "#/definitions/Identity" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Defines the MSI properties of the Move Collection." - }, - "location": { - "type": "string", - "description": "The geo-location where the resource lives." - }, - "name": { - "type": "string", - "description": "The Move Collection Name." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/MoveCollectionProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Defines the move collection properties." - }, - "resources": { - "type": "array", - "items": { - "oneOf": [ - { - "$ref": "#/definitions/moveCollections_moveResources_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.Migrate/moveCollections" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.Migrate/moveCollections" - }, - "moveCollections_moveResources": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2021-01-01" - ] - }, - "name": { - "type": "string", - "description": "The Move Resource Name." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/MoveResourceProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Defines the move resource properties." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.Migrate/moveCollections/moveResources" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.Migrate/moveCollections/moveResources" - } - }, - "definitions": { - "AvailabilitySetResourceSettings": { - "type": "object", - "properties": { - "faultDomain": { - "oneOf": [ - { - "type": "integer", - "minimum": 1 - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Gets or sets the target fault domain." - }, - "resourceType": { - "type": "string", - "enum": [ - "Microsoft.Compute/availabilitySets" - ] - }, - "updateDomain": { - "oneOf": [ - { - "type": "integer", - "minimum": 1, - "maximum": 20 - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Gets or sets the target update domain." - } - }, - "required": [ - "resourceType" - ], - "description": "Gets or sets the availability set resource settings." - }, - "DiskEncryptionSetResourceSettings": { - "type": "object", - "properties": { - "resourceType": { - "type": "string", - "enum": [ - "Microsoft.Compute/diskEncryptionSets" - ] - } - }, - "required": [ - "resourceType" - ], - "description": "Defines the disk encryption set resource settings." - }, - "Identity": { - "type": "object", - "properties": { - "principalId": { - "type": "string", - "description": "Gets or sets the principal id." - }, - "tenantId": { - "type": "string", - "description": "Gets or sets the tenant id." - }, - "type": { - "oneOf": [ - { - "type": "string", - "enum": [ - "None", - "SystemAssigned", - "UserAssigned" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - } - }, - "description": "Defines the MSI properties of the Move Collection." - }, - "KeyVaultResourceSettings": { - "type": "object", - "properties": { - "resourceType": { - "type": "string", - "enum": [ - "Microsoft.KeyVault/vaults" - ] - } - }, - "required": [ - "resourceType" - ], - "description": "Defines the key vault resource settings." - }, - "LBBackendAddressPoolResourceSettings": { - "type": "object", - "properties": { - "name": { - "type": "string", - "description": "Gets or sets the backend address pool name." - } - }, - "description": "Defines load balancer backend address pool properties." - }, - "LBFrontendIPConfigurationResourceSettings": { - "type": "object", - "properties": { - "name": { - "type": "string", - "description": "Gets or sets the frontend IP configuration name." - }, - "privateIpAddress": { - "type": "string", - "description": "Gets or sets the IP address of the Load Balancer.This is only specified if a specific\r\nprivate IP address shall be allocated from the subnet specified in subnetRef." - }, - "privateIpAllocationMethod": { - "type": "string", - "description": "Gets or sets PrivateIP allocation method (Static/Dynamic)." - }, - "subnet": { - "oneOf": [ - { - "$ref": "#/definitions/SubnetReference" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Defines reference to subnet." - }, - "zones": { - "type": "string", - "description": "Gets or sets the csv list of zones." - } - }, - "description": "Defines load balancer frontend IP configuration properties." - }, - "LoadBalancerBackendAddressPoolReference": { - "type": "object", - "properties": { - "name": { - "type": "string", - "description": "Gets the name of the proxy resource on the target side." - }, - "sourceArmResourceId": { - "type": "string", - "description": "Gets the ARM resource ID of the tracked resource being referenced." - } - }, - "required": [ - "sourceArmResourceId" - ], - "description": "Defines reference to load balancer backend address pools." - }, - "LoadBalancerNatRuleReference": { - "type": "object", - "properties": { - "name": { - "type": "string", - "description": "Gets the name of the proxy resource on the target side." - }, - "sourceArmResourceId": { - "type": "string", - "description": "Gets the ARM resource ID of the tracked resource being referenced." - } - }, - "required": [ - "sourceArmResourceId" - ], - "description": "Defines reference to load balancer NAT rules." - }, - "LoadBalancerResourceSettings": { - "type": "object", - "properties": { - "backendAddressPools": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/definitions/LBBackendAddressPoolResourceSettings" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Gets or sets the backend address pools of the load balancer." - }, - "frontendIPConfigurations": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/definitions/LBFrontendIPConfigurationResourceSettings" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Gets or sets the frontend IP configurations of the load balancer." - }, - "resourceType": { - "type": "string", - "enum": [ - "Microsoft.Network/loadBalancers" - ] - }, - "sku": { - "type": "string", - "description": "Gets or sets load balancer sku (Basic/Standard)." - }, - "zones": { - "type": "string", - "description": "Gets or sets the csv list of zones common for all frontend IP configurations. Note this is given\r\n precedence only if frontend IP configurations settings are not present." - } - }, - "required": [ - "resourceType" - ], - "description": "Defines the load balancer resource settings." - }, - "MoveCollectionProperties": { - "type": "object", - "properties": { - "provisioningState": { - "oneOf": [ - { - "type": "string", - "enum": [ - "Succeeded", - "Updating", - "Creating", - "Failed" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "sourceRegion": { - "type": "string", - "description": "Gets or sets the source region." - }, - "targetRegion": { - "type": "string", - "description": "Gets or sets the target region." - } - }, - "required": [ - "sourceRegion", - "targetRegion" - ], - "description": "Defines the move collection properties." - }, - "moveCollections_moveResources_childResource": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2021-01-01" - ] - }, - "name": { - "type": "string", - "description": "The Move Resource Name." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/MoveResourceProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Defines the move resource properties." - }, - "type": { - "type": "string", - "enum": [ - "moveResources" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.Migrate/moveCollections/moveResources" - }, - "MoveResourceDependencyOverride": { - "type": "object", - "properties": { - "id": { - "type": "string", - "description": "Gets or sets the ARM ID of the dependent resource." - }, - "targetId": { - "type": "string", - "description": "Gets or sets the resource ARM id of either the MoveResource or the resource ARM ID of\r\nthe dependent resource." - } - }, - "description": "Defines the dependency override of the move resource." - }, - "MoveResourceProperties": { - "type": "object", - "properties": { - "dependsOnOverrides": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/definitions/MoveResourceDependencyOverride" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Gets or sets the move resource dependencies overrides." - }, - "existingTargetId": { - "type": "string", - "description": "Gets or sets the existing target ARM Id of the resource." - }, - "provisioningState": { - "oneOf": [ - { - "type": "string", - "enum": [ - "Succeeded", - "Updating", - "Creating", - "Failed" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "resourceSettings": { - "oneOf": [ - { - "$ref": "#/definitions/ResourceSettings" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Gets or sets the resource settings." - }, - "sourceId": { - "type": "string", - "description": "Gets or sets the Source ARM Id of the resource." - } - }, - "required": [ - "sourceId" - ], - "description": "Defines the move resource properties." - }, - "NetworkInterfaceResourceSettings": { - "type": "object", - "properties": { - "enableAcceleratedNetworking": { - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Gets or sets a value indicating whether accelerated networking is enabled." - }, - "ipConfigurations": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/definitions/NicIpConfigurationResourceSettings" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Gets or sets the IP configurations of the NIC." - }, - "resourceType": { - "type": "string", - "enum": [ - "Microsoft.Network/networkInterfaces" - ] - } - }, - "required": [ - "resourceType" - ], - "description": "Defines the network interface resource settings." - }, - "NetworkSecurityGroupResourceSettings": { - "type": "object", - "properties": { - "resourceType": { - "type": "string", - "enum": [ - "Microsoft.Network/networkSecurityGroups" - ] - }, - "securityRules": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/definitions/NsgSecurityRule" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Gets or sets Security rules of network security group." - } - }, - "required": [ - "resourceType" - ], - "description": "Defines the NSG resource settings." - }, - "NicIpConfigurationResourceSettings": { - "type": "object", - "properties": { - "loadBalancerBackendAddressPools": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/definitions/LoadBalancerBackendAddressPoolReference" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Gets or sets the references of the load balancer backend address pools." - }, - "loadBalancerNatRules": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/definitions/LoadBalancerNatRuleReference" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Gets or sets the references of the load balancer NAT rules." - }, - "name": { - "type": "string", - "description": "Gets or sets the IP configuration name." - }, - "primary": { - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Gets or sets a value indicating whether this IP configuration is the primary." - }, - "privateIpAddress": { - "type": "string", - "description": "Gets or sets the private IP address of the network interface IP Configuration." - }, - "privateIpAllocationMethod": { - "type": "string", - "description": "Gets or sets the private IP address allocation method." - }, - "publicIp": { - "oneOf": [ - { - "$ref": "#/definitions/PublicIpReference" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Defines reference to a public IP." - }, - "subnet": { - "oneOf": [ - { - "$ref": "#/definitions/SubnetReference" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Defines reference to subnet." - } - }, - "description": "Defines NIC IP configuration properties." - }, - "NsgReference": { - "type": "object", - "properties": { - "sourceArmResourceId": { - "type": "string", - "description": "Gets the ARM resource ID of the tracked resource being referenced." - } - }, - "required": [ - "sourceArmResourceId" - ], - "description": "Defines reference to NSG." - }, - "NsgSecurityRule": { - "type": "object", - "properties": { - "access": { - "type": "string", - "description": "Gets or sets whether network traffic is allowed or denied.\r\nPossible values are “Allow” and “Deny”." - }, - "description": { - "type": "string", - "description": "Gets or sets a description for this rule. Restricted to 140 chars." - }, - "destinationAddressPrefix": { - "type": "string", - "description": "Gets or sets destination address prefix. CIDR or source IP range.\r\n A “*” can also be used to match all source IPs. Default tags such\r\nas ‘VirtualNetwork’, ‘AzureLoadBalancer’ and ‘Internet’ can also be used." - }, - "destinationPortRange": { - "type": "string", - "description": "Gets or sets Destination Port or Range. Integer or range between\r\n0 and 65535. A “*” can also be used to match all ports." - }, - "direction": { - "type": "string", - "description": "Gets or sets the direction of the rule.InBound or Outbound. The\r\ndirection specifies if rule will be evaluated on incoming or outgoing traffic." - }, - "name": { - "type": "string", - "description": "Gets or sets the Security rule name." - }, - "priority": { - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Gets or sets the priority of the rule. The value can be between\r\n100 and 4096. The priority number must be unique for each rule in the collection.\r\nThe lower the priority number, the higher the priority of the rule." - }, - "protocol": { - "type": "string", - "description": "Gets or sets Network protocol this rule applies to. Can be Tcp, Udp or All(*)." - }, - "sourceAddressPrefix": { - "type": "string", - "description": "Gets or sets source address prefix. CIDR or source IP range. A\r\n“*” can also be used to match all source IPs. Default tags such as ‘VirtualNetwork’,\r\n‘AzureLoadBalancer’ and ‘Internet’ can also be used. If this is an ingress\r\nrule, specifies where network traffic originates from." - }, - "sourcePortRange": { - "type": "string", - "description": "Gets or sets Source Port or Range. Integer or range between 0 and\r\n65535. A “*” can also be used to match all ports." - } - }, - "description": "Security Rule data model for Network Security Groups." - }, - "PublicIPAddressResourceSettings": { - "type": "object", - "properties": { - "domainNameLabel": { - "type": "string", - "description": "Gets or sets the domain name label." - }, - "fqdn": { - "type": "string", - "description": "Gets or sets the fully qualified domain name." - }, - "publicIpAllocationMethod": { - "type": "string", - "description": "Gets or sets public IP allocation method." - }, - "resourceType": { - "type": "string", - "enum": [ - "Microsoft.Network/publicIPAddresses" - ] - }, - "sku": { - "type": "string", - "description": "Gets or sets public IP sku." - }, - "zones": { - "type": "string", - "description": "Gets or sets public IP zones." - } - }, - "required": [ - "resourceType" - ], - "description": "Defines the public IP address resource settings." - }, - "PublicIpReference": { - "type": "object", - "properties": { - "sourceArmResourceId": { - "type": "string", - "description": "Gets the ARM resource ID of the tracked resource being referenced." - } - }, - "required": [ - "sourceArmResourceId" - ], - "description": "Defines reference to a public IP." - }, - "ResourceGroupResourceSettings": { - "type": "object", - "properties": { - "resourceType": { - "type": "string", - "enum": [ - "resourceGroups" - ] - } - }, - "required": [ - "resourceType" - ], - "description": "Defines the resource group resource settings." - }, - "ResourceSettings": { - "type": "object", - "oneOf": [ - { - "$ref": "#/definitions/VirtualMachineResourceSettings" - }, - { - "$ref": "#/definitions/AvailabilitySetResourceSettings" - }, - { - "$ref": "#/definitions/VirtualNetworkResourceSettings" - }, - { - "$ref": "#/definitions/NetworkInterfaceResourceSettings" - }, - { - "$ref": "#/definitions/NetworkSecurityGroupResourceSettings" - }, - { - "$ref": "#/definitions/LoadBalancerResourceSettings" - }, - { - "$ref": "#/definitions/SqlServerResourceSettings" - }, - { - "$ref": "#/definitions/SqlElasticPoolResourceSettings" - }, - { - "$ref": "#/definitions/SqlDatabaseResourceSettings" - }, - { - "$ref": "#/definitions/ResourceGroupResourceSettings" - }, - { - "$ref": "#/definitions/PublicIPAddressResourceSettings" - }, - { - "$ref": "#/definitions/KeyVaultResourceSettings" - }, - { - "$ref": "#/definitions/DiskEncryptionSetResourceSettings" - } - ], - "properties": { - "targetResourceName": { - "type": "string", - "description": "Gets or sets the target Resource name." - } - }, - "required": [ - "targetResourceName" - ], - "description": "Gets or sets the resource settings." - }, - "SqlDatabaseResourceSettings": { - "type": "object", - "properties": { - "resourceType": { - "type": "string", - "enum": [ - "Microsoft.Sql/servers/databases" - ] - }, - "zoneRedundant": { - "oneOf": [ - { - "type": "string", - "enum": [ - "Enable", - "Disable" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - } - }, - "required": [ - "resourceType" - ], - "description": "Defines the Sql Database resource settings." - }, - "SqlElasticPoolResourceSettings": { - "type": "object", - "properties": { - "resourceType": { - "type": "string", - "enum": [ - "Microsoft.Sql/servers/elasticPools" - ] - }, - "zoneRedundant": { - "oneOf": [ - { - "type": "string", - "enum": [ - "Enable", - "Disable" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - } - }, - "required": [ - "resourceType" - ], - "description": "Defines the Sql ElasticPool resource settings." - }, - "SqlServerResourceSettings": { - "type": "object", - "properties": { - "resourceType": { - "type": "string", - "enum": [ - "Microsoft.Sql/servers" - ] - } - }, - "required": [ - "resourceType" - ], - "description": "Defines the SQL Server resource settings." - }, - "SubnetReference": { - "type": "object", - "properties": { - "name": { - "type": "string", - "description": "Gets the name of the proxy resource on the target side." - }, - "sourceArmResourceId": { - "type": "string", - "description": "Gets the ARM resource ID of the tracked resource being referenced." - } - }, - "required": [ - "sourceArmResourceId" - ], - "description": "Defines reference to subnet." - }, - "SubnetResourceSettings": { - "type": "object", - "properties": { - "addressPrefix": { - "type": "string", - "description": "Gets or sets address prefix for the subnet." - }, - "name": { - "type": "string", - "description": "Gets or sets the Subnet name." - }, - "networkSecurityGroup": { - "oneOf": [ - { - "$ref": "#/definitions/NsgReference" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Defines reference to NSG." - } - }, - "description": "Defines the virtual network subnets resource settings." - }, - "VirtualMachineResourceSettings": { - "type": "object", - "properties": { - "resourceType": { - "type": "string", - "enum": [ - "Microsoft.Compute/virtualMachines" - ] - }, - "targetAvailabilitySetId": { - "type": "string", - "description": "Gets or sets the target availability set id for virtual machines not in an availability set at source." - }, - "targetAvailabilityZone": { - "oneOf": [ - { - "type": "string", - "enum": [ - "1", - "2", - "3", - "NA" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Gets or sets the target availability zone." - }, - "targetVmSize": { - "type": "string", - "description": "Gets or sets the target virtual machine size." - } - }, - "required": [ - "resourceType" - ], - "description": "Gets or sets the virtual machine resource settings." - }, - "VirtualNetworkResourceSettings": { - "type": "object", - "properties": { - "addressSpace": { - "oneOf": [ - { - "type": "array", - "items": { - "type": "string" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Gets or sets the address prefixes for the virtual network." - }, - "dnsServers": { - "oneOf": [ - { - "type": "array", - "items": { - "type": "string" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Gets or sets DHCPOptions that contains an array of DNS servers available to VMs\r\ndeployed in the virtual network." - }, - "enableDdosProtection": { - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Gets or sets a value indicating whether gets or sets whether the\r\nDDOS protection should be switched on." - }, - "resourceType": { - "type": "string", - "enum": [ - "Microsoft.Network/virtualNetworks" - ] - }, - "subnets": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/definitions/SubnetResourceSettings" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Gets or sets List of subnets in a VirtualNetwork." - } - }, - "required": [ - "resourceType" - ], - "description": "Defines the virtual network resource settings." - } - } -} \ No newline at end of file diff --git a/schemas/2021-04-01-preview/Microsoft.Maintenance.json b/schemas/2021-04-01-preview/Microsoft.Maintenance.json index e16881b0b5..0c2867ddcc 100644 --- a/schemas/2021-04-01-preview/Microsoft.Maintenance.json +++ b/schemas/2021-04-01-preview/Microsoft.Maintenance.json @@ -19,7 +19,7 @@ }, "name": { "type": "string", - "description": "Resource Identifier" + "description": "Maintenance Configuration Name" }, "properties": { "oneOf": [ @@ -415,7 +415,7 @@ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" } ], - "description": "Gets or sets the visibility of the configuration." + "description": "Gets or sets the visibility of the configuration. The default value is 'Custom'." } }, "description": "Properties for maintenance configuration" @@ -433,7 +433,7 @@ }, "recurEvery": { "type": "string", - "description": "Rate at which a Maintenance window is expected to recur. The rate can be expressed as daily, weekly, or monthly schedules. Daily schedule are formatted as recurEvery: [Frequency as integer]['Day(s)']. If no frequency is provided, the default frequency is 1. Daily schedule examples are recurEvery: Day, recurEvery: 3Days. Weekly schedule are formatted as recurEvery: [Frequency as integer]['Week(s)'] [Optional comma separated list of weekdays Monday-Sunday]. Weekly schedule examples are recurEvery: 3Weeks, recurEvery: Week Saturday,Sunday. Monthly schedules are formatted as [Frequency as integer]['Month(s)'] [Comma separated list of month days] or [Frequency as integer]['Month(s)'] [Week of Month (First, Second, Third, Fourth, Last)] [Weekday Monday-Sunday]. Monthly schedule examples are recurEvery: Month, recurEvery: 2Months, recurEvery: Month day23,day24, recurEvery: Month Last Sunday, recurEvery: Month Fourth Monday." + "description": "Rate at which a Maintenance window is expected to recur. The rate can be expressed as daily, weekly, or monthly schedules. Daily schedule are formatted as recurEvery: [Frequency as integer]['Day(s)']. If no frequency is provided, the default frequency is 1. Daily schedule examples are recurEvery: Day, recurEvery: 3Days. Weekly schedule are formatted as recurEvery: [Frequency as integer]['Week(s)'] [Optional comma separated list of weekdays Monday-Sunday]. Weekly schedule examples are recurEvery: 3Weeks, recurEvery: Week Saturday,Sunday. Monthly schedules are formatted as [Frequency as integer]['Month(s)'] [Comma separated list of month days] or [Frequency as integer]['Month(s)'] [Week of Month (First, Second, Third, Fourth, Last)] [Weekday Monday-Sunday] [Optional Offset(No. of days)]. Offset value must be between -6 to 6 inclusive. Monthly schedule examples are recurEvery: Month, recurEvery: 2Months, recurEvery: Month day23,day24, recurEvery: Month Last Sunday, recurEvery: Month Fourth Monday, recurEvery: Month Last Sunday Offset-3, recurEvery: Month Third Sunday Offset6." }, "startDateTime": { "type": "string", diff --git a/schemas/common/autogeneratedResources.json b/schemas/common/autogeneratedResources.json index 44cad7f6b9..53a18a5076 100644 --- a/schemas/common/autogeneratedResources.json +++ b/schemas/common/autogeneratedResources.json @@ -6944,22 +6944,37 @@ "$ref": "https://schema.management.azure.com/schemas/2021-07-01-preview/Microsoft.Maps.json#/resourceDefinitions/accounts_creators" }, { - "$ref": "https://schema.management.azure.com/schemas/2018-09-01-preview/Microsoft.Migrate.json#/resourceDefinitions/migrateProjects" + "$ref": "https://schema.management.azure.com/schemas/2018-02-02/Microsoft.Migrate.json#/resourceDefinitions/projects" }, { - "$ref": "https://schema.management.azure.com/schemas/2018-09-01-preview/Microsoft.Migrate.json#/resourceDefinitions/migrateProjects_solutions" + "$ref": "https://schema.management.azure.com/schemas/2018-02-02/Microsoft.Migrate.json#/resourceDefinitions/projects_groups" }, { - "$ref": "https://schema.management.azure.com/schemas/2019-10-01-preview/Microsoft.Migrate.json#/resourceDefinitions/moveCollections" + "$ref": "https://schema.management.azure.com/schemas/2018-02-02/Microsoft.Migrate.json#/resourceDefinitions/projects_groups_assessments" }, { - "$ref": "https://schema.management.azure.com/schemas/2019-10-01-preview/Microsoft.Migrate.json#/resourceDefinitions/moveCollections_moveResources" + "$ref": "https://schema.management.azure.com/schemas/2019-10-01/Microsoft.Migrate.json#/resourceDefinitions/assessmentProjects" }, { - "$ref": "https://schema.management.azure.com/schemas/2021-01-01/Microsoft.Migrate.json#/resourceDefinitions/moveCollections" + "$ref": "https://schema.management.azure.com/schemas/2019-10-01/Microsoft.Migrate.json#/resourceDefinitions/assessmentProjects_groups" }, { - "$ref": "https://schema.management.azure.com/schemas/2021-01-01/Microsoft.Migrate.json#/resourceDefinitions/moveCollections_moveResources" + "$ref": "https://schema.management.azure.com/schemas/2019-10-01/Microsoft.Migrate.json#/resourceDefinitions/assessmentProjects_groups_assessments" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2019-10-01/Microsoft.Migrate.json#/resourceDefinitions/assessmentProjects_hypervcollectors" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2019-10-01/Microsoft.Migrate.json#/resourceDefinitions/assessmentProjects_importcollectors" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2019-10-01/Microsoft.Migrate.json#/resourceDefinitions/assessmentprojects_privateEndpointConnections" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2019-10-01/Microsoft.Migrate.json#/resourceDefinitions/assessmentProjects_servercollectors" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2019-10-01/Microsoft.Migrate.json#/resourceDefinitions/assessmentProjects_vmwarecollectors" }, { "$ref": "https://schema.management.azure.com/schemas/2019-02-28-preview/Microsoft.MixedReality.json#/resourceDefinitions/spatialAnchorsAccounts" From 04fecc6a3fa87ccd635326749ac64c03e13ef0a5 Mon Sep 17 00:00:00 2001 From: Autogenerator Pipeline Date: Fri, 6 Aug 2021 09:24:33 +0000 Subject: [PATCH 38/64] Update resource list --- generator/resources.json | 39 +++++++++++++++++++++++++++++---------- 1 file changed, 29 insertions(+), 10 deletions(-) diff --git a/generator/resources.json b/generator/resources.json index 0dbe7379f2..d64b656aaa 100644 --- a/generator/resources.json +++ b/generator/resources.json @@ -3914,19 +3914,38 @@ "Microsoft.Media/mediaServices/transforms/jobs": [ "2018-07-01" ], - "Microsoft.Migrate/migrateProjects": [ - "2018-09-01-preview" + "Microsoft.Migrate/assessmentProjects": [ + "2019-10-01" ], - "Microsoft.Migrate/migrateProjects/solutions": [ - "2018-09-01-preview" + "Microsoft.Migrate/assessmentProjects/groups": [ + "2019-10-01" ], - "Microsoft.Migrate/moveCollections": [ - "2019-10-01-preview", - "2021-01-01" + "Microsoft.Migrate/assessmentProjects/groups/assessments": [ + "2019-10-01" ], - "Microsoft.Migrate/moveCollections/moveResources": [ - "2019-10-01-preview", - "2021-01-01" + "Microsoft.Migrate/assessmentProjects/hypervcollectors": [ + "2019-10-01" + ], + "Microsoft.Migrate/assessmentProjects/importcollectors": [ + "2019-10-01" + ], + "Microsoft.Migrate/assessmentProjects/servercollectors": [ + "2019-10-01" + ], + "Microsoft.Migrate/assessmentProjects/vmwarecollectors": [ + "2019-10-01" + ], + "Microsoft.Migrate/assessmentprojects/privateEndpointConnections": [ + "2019-10-01" + ], + "Microsoft.Migrate/projects": [ + "2018-02-02" + ], + "Microsoft.Migrate/projects/groups": [ + "2018-02-02" + ], + "Microsoft.Migrate/projects/groups/assessments": [ + "2018-02-02" ], "Microsoft.MixedReality/objectAnchorsAccounts": [ "2021-03-01-preview" From c1760e74f137dd01bc7f3805ea157c44dd8bdce5 Mon Sep 17 00:00:00 2001 From: Sanchit Kumar Date: Fri, 6 Aug 2021 15:02:09 +0530 Subject: [PATCH 39/64] Remove cloudServices/updateDomains resource from ARM Schema --- schemas/2019-04-01/deploymentTemplate.json | 2 - .../2020-10-01-preview/Microsoft.Compute.json | 78 ------------------- schemas/2021-03-01/Microsoft.Compute.json | 78 ------------------- 3 files changed, 158 deletions(-) diff --git a/schemas/2019-04-01/deploymentTemplate.json b/schemas/2019-04-01/deploymentTemplate.json index ab04243e94..43dfea3a21 100644 --- a/schemas/2019-04-01/deploymentTemplate.json +++ b/schemas/2019-04-01/deploymentTemplate.json @@ -1977,7 +1977,6 @@ { "$ref": "https://schema.management.azure.com/schemas/2020-01-01/Microsoft.Advisor.json#/resourceDefinitions/recommendations_suppressions" }, { "$ref": "https://schema.management.azure.com/schemas/2020-01-01/Microsoft.Advisor.json#/resourceDefinitions/configurations" }, { "$ref": "https://schema.management.azure.com/schemas/2020-10-01-preview/Microsoft.Compute.json#/resourceDefinitions/cloudServices" }, - { "$ref": "https://schema.management.azure.com/schemas/2020-10-01-preview/Microsoft.Compute.json#/resourceDefinitions/cloudServices_updateDomains" }, { "$ref": "https://schema.management.azure.com/schemas/2014-04-01/Microsoft.Insights.ManuallyAuthored.json#/resourceDefinitions/components" }, { "$ref": "https://schema.management.azure.com/schemas/2014-04-01/Microsoft.Insights.ManuallyAuthored.json#/resourceDefinitions/webtests" }, { "$ref": "https://schema.management.azure.com/schemas/2014-04-01/Microsoft.Insights.ManuallyAuthored.json#/resourceDefinitions/autoscalesettings" }, @@ -2025,7 +2024,6 @@ { "$ref": "https://schema.management.azure.com/schemas/2020-12-01/Microsoft.Compute.json#/resourceDefinitions/virtualMachines_runCommands" }, { "$ref": "https://schema.management.azure.com/schemas/2021-03-01/Microsoft.Compute.json#/resourceDefinitions/availabilitySets" }, { "$ref": "https://schema.management.azure.com/schemas/2021-03-01/Microsoft.Compute.json#/resourceDefinitions/cloudServices" }, - { "$ref": "https://schema.management.azure.com/schemas/2021-03-01/Microsoft.Compute.json#/resourceDefinitions/cloudServices_updateDomains" }, { "$ref": "https://schema.management.azure.com/schemas/2021-03-01/Microsoft.Compute.json#/resourceDefinitions/hostGroups" }, { "$ref": "https://schema.management.azure.com/schemas/2021-03-01/Microsoft.Compute.json#/resourceDefinitions/hostGroups_hosts" }, { "$ref": "https://schema.management.azure.com/schemas/2021-03-01/Microsoft.Compute.json#/resourceDefinitions/images" }, diff --git a/schemas/2020-10-01-preview/Microsoft.Compute.json b/schemas/2020-10-01-preview/Microsoft.Compute.json index 2272e5c9c7..b9c0821fdb 100644 --- a/schemas/2020-10-01-preview/Microsoft.Compute.json +++ b/schemas/2020-10-01-preview/Microsoft.Compute.json @@ -32,16 +32,6 @@ ], "description": "Cloud service properties" }, - "resources": { - "type": "array", - "items": { - "oneOf": [ - { - "$ref": "#/definitions/cloudServices_updateDomains_childResource" - } - ] - } - }, "tags": { "oneOf": [ { @@ -72,40 +62,6 @@ "type" ], "description": "Microsoft.Compute/cloudServices" - }, - "cloudServices_updateDomains": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2020-10-01-preview" - ] - }, - "name": { - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Specifies an integer value that identifies the update domain. Update domains are identified with a zero-based index: the first update domain has an ID of 0, the second has an ID of 1, and so on." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.Compute/cloudServices/updateDomains" - ] - } - }, - "required": [ - "apiVersion", - "name", - "type" - ], - "description": "Microsoft.Compute/cloudServices/updateDomains" } }, "definitions": { @@ -398,40 +354,6 @@ }, "description": "Describes the cloud service role sku." }, - "cloudServices_updateDomains_childResource": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2020-10-01-preview" - ] - }, - "name": { - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Specifies an integer value that identifies the update domain. Update domains are identified with a zero-based index: the first update domain has an ID of 0, the second has an ID of 1, and so on." - }, - "type": { - "type": "string", - "enum": [ - "updateDomains" - ] - } - }, - "required": [ - "apiVersion", - "name", - "type" - ], - "description": "Microsoft.Compute/cloudServices/updateDomains" - }, "CloudServiceVaultAndSecretReference": { "type": "object", "properties": { diff --git a/schemas/2021-03-01/Microsoft.Compute.json b/schemas/2021-03-01/Microsoft.Compute.json index 4e36c18080..482971f0c2 100644 --- a/schemas/2021-03-01/Microsoft.Compute.json +++ b/schemas/2021-03-01/Microsoft.Compute.json @@ -102,16 +102,6 @@ ], "description": "Cloud service properties" }, - "resources": { - "type": "array", - "items": { - "oneOf": [ - { - "$ref": "#/definitions/cloudServices_updateDomains_childResource" - } - ] - } - }, "tags": { "oneOf": [ { @@ -143,40 +133,6 @@ ], "description": "Microsoft.Compute/cloudServices" }, - "cloudServices_updateDomains": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2021-03-01" - ] - }, - "name": { - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Specifies an integer value that identifies the update domain. Update domains are identified with a zero-based index: the first update domain has an ID of 0, the second has an ID of 1, and so on." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.Compute/cloudServices/updateDomains" - ] - } - }, - "required": [ - "apiVersion", - "name", - "type" - ], - "description": "Microsoft.Compute/cloudServices/updateDomains" - }, "hostGroups": { "type": "object", "properties": { @@ -1639,40 +1595,6 @@ }, "description": "Describes the cloud service role sku." }, - "cloudServices_updateDomains_childResource": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2021-03-01" - ] - }, - "name": { - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Specifies an integer value that identifies the update domain. Update domains are identified with a zero-based index: the first update domain has an ID of 0, the second has an ID of 1, and so on." - }, - "type": { - "type": "string", - "enum": [ - "updateDomains" - ] - } - }, - "required": [ - "apiVersion", - "name", - "type" - ], - "description": "Microsoft.Compute/cloudServices/updateDomains" - }, "CloudServiceVaultAndSecretReference": { "type": "object", "properties": { From d12aaec0d1f1ee71948634e60437b9f383ef85cf Mon Sep 17 00:00:00 2001 From: Autogenerator Pipeline Date: Fri, 6 Aug 2021 10:40:14 +0000 Subject: [PATCH 40/64] Autogenerate schemas --- .../2018-09-01-preview/Microsoft.Migrate.json | 517 ++++++++ .../2019-10-01-preview/Microsoft.Migrate.json | 1054 +++++++++++++++++ schemas/2021-01-01/Microsoft.Migrate.json | 1054 +++++++++++++++++ .../2021-06-01-preview/Microsoft.Synapse.json | 43 +- schemas/common/autogeneratedResources.json | 18 + 5 files changed, 2681 insertions(+), 5 deletions(-) create mode 100644 schemas/2018-09-01-preview/Microsoft.Migrate.json create mode 100644 schemas/2019-10-01-preview/Microsoft.Migrate.json create mode 100644 schemas/2021-01-01/Microsoft.Migrate.json diff --git a/schemas/2018-09-01-preview/Microsoft.Migrate.json b/schemas/2018-09-01-preview/Microsoft.Migrate.json new file mode 100644 index 0000000000..074e3e9b7c --- /dev/null +++ b/schemas/2018-09-01-preview/Microsoft.Migrate.json @@ -0,0 +1,517 @@ +{ + "id": "https://schema.management.azure.com/schemas/2018-09-01-preview/Microsoft.Migrate.json#", + "$schema": "http://json-schema.org/draft-04/schema#", + "title": "Microsoft.Migrate", + "description": "Microsoft Migrate Resource Types", + "resourceDefinitions": { + "migrateProjects": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2018-09-01-preview" + ] + }, + "eTag": { + "type": "string", + "description": "Gets or sets the eTag for concurrency control." + }, + "location": { + "type": "string", + "description": "Gets or sets the Azure location in which migrate project is created." + }, + "name": { + "type": "string", + "description": "Name of the Azure Migrate project." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/MigrateProjectProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Class for migrate project properties." + }, + "resources": { + "type": "array", + "items": { + "oneOf": [ + { + "$ref": "#/definitions/migrateProjects_solutions_childResource" + } + ] + } + }, + "tags": { + "oneOf": [ + { + "$ref": "#/definitions/MigrateProjectTags" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Gets or sets the tags." + }, + "type": { + "type": "string", + "enum": [ + "Microsoft.Migrate/migrateProjects" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.Migrate/migrateProjects" + }, + "migrateProjects_solutions": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2018-09-01-preview" + ] + }, + "etag": { + "type": "string", + "description": "Gets or sets the ETAG for optimistic concurrency control." + }, + "name": { + "type": "string", + "description": "Unique name of a migration solution within a migrate project." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/SolutionProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Class for solution properties." + }, + "type": { + "type": "string", + "enum": [ + "Microsoft.Migrate/migrateProjects/solutions" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.Migrate/migrateProjects/solutions" + } + }, + "definitions": { + "DatabasesSolutionSummary": { + "type": "object", + "properties": { + "databaseInstancesAssessedCount": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Gets or sets the count of database instances assessed." + }, + "databasesAssessedCount": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Gets or sets the count of databases assessed." + }, + "instanceType": { + "type": "string", + "enum": [ + "Databases" + ] + }, + "migrationReadyCount": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Gets or sets the count of databases ready for migration." + } + }, + "required": [ + "instanceType" + ], + "description": "Class representing the databases solution summary." + }, + "MigrateProjectProperties": { + "type": "object", + "properties": { + "provisioningState": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Accepted", + "Creating", + "Deleting", + "Failed", + "Moving", + "Succeeded" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Provisioning state of the migrate project." + }, + "registeredTools": { + "oneOf": [ + { + "type": "array", + "items": { + "type": "string", + "enum": [ + "ServerDiscovery", + "ServerAssessment", + "ServerMigration", + "Cloudamize", + "Turbonomic", + "Zerto", + "CorentTech", + "ServerAssessmentV1", + "ServerMigration_Replication", + "Carbonite", + "DataMigrationAssistant", + "DatabaseMigrationService" + ] + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Gets or sets the list of tools registered with the migrate project." + } + }, + "description": "Class for migrate project properties." + }, + "migrateProjects_solutions_childResource": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2018-09-01-preview" + ] + }, + "etag": { + "type": "string", + "description": "Gets or sets the ETAG for optimistic concurrency control." + }, + "name": { + "type": "string", + "description": "Unique name of a migration solution within a migrate project." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/SolutionProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Class for solution properties." + }, + "type": { + "type": "string", + "enum": [ + "solutions" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.Migrate/migrateProjects/solutions" + }, + "MigrateProjectTags": { + "type": "object", + "properties": { + "additionalProperties": { + "type": "string" + } + }, + "description": "Gets or sets the tags." + }, + "ServersSolutionSummary": { + "type": "object", + "properties": { + "assessedCount": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Gets or sets the count of servers assessed." + }, + "discoveredCount": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Gets or sets the count of servers discovered." + }, + "instanceType": { + "type": "string", + "enum": [ + "Servers" + ] + }, + "migratedCount": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Gets or sets the count of servers migrated." + }, + "replicatingCount": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Gets or sets the count of servers being replicated." + }, + "testMigratedCount": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Gets or sets the count of servers test migrated." + } + }, + "required": [ + "instanceType" + ], + "description": "Class representing the servers solution summary." + }, + "SolutionDetails": { + "type": "object", + "properties": { + "assessmentCount": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Gets or sets the count of assessments reported by the solution." + }, + "extendedDetails": { + "oneOf": [ + { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "properties": {} + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Gets or sets the extended details reported by the solution." + }, + "groupCount": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Gets or sets the count of groups reported by the solution." + } + }, + "description": "Class representing the details of the solution." + }, + "SolutionProperties": { + "type": "object", + "properties": { + "cleanupState": { + "oneOf": [ + { + "type": "string", + "enum": [ + "None", + "Started", + "InProgress", + "Completed", + "Failed" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Gets or sets the cleanup state of the solution." + }, + "details": { + "oneOf": [ + { + "$ref": "#/definitions/SolutionDetails" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Class representing the details of the solution." + }, + "goal": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Servers", + "Databases" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Gets or sets the goal of the solution." + }, + "purpose": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Discovery", + "Assessment", + "Migration" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Gets or sets the purpose of the solution." + }, + "status": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Inactive", + "Active" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Gets or sets the current status of the solution." + }, + "summary": { + "oneOf": [ + { + "$ref": "#/definitions/SolutionSummary" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The solution summary class." + }, + "tool": { + "oneOf": [ + { + "type": "string", + "enum": [ + "ServerDiscovery", + "ServerAssessment", + "ServerMigration", + "Cloudamize", + "Turbonomic", + "Zerto", + "CorentTech", + "ServerAssessmentV1", + "ServerMigration_Replication", + "Carbonite", + "DataMigrationAssistant", + "DatabaseMigrationService" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Gets or sets the tool being used in the solution." + } + }, + "description": "Class for solution properties." + }, + "SolutionSummary": { + "type": "object", + "oneOf": [ + { + "$ref": "#/definitions/ServersSolutionSummary" + }, + { + "$ref": "#/definitions/DatabasesSolutionSummary" + } + ], + "properties": {}, + "description": "The solution summary class." + } + } +} \ No newline at end of file diff --git a/schemas/2019-10-01-preview/Microsoft.Migrate.json b/schemas/2019-10-01-preview/Microsoft.Migrate.json new file mode 100644 index 0000000000..69d60e191b --- /dev/null +++ b/schemas/2019-10-01-preview/Microsoft.Migrate.json @@ -0,0 +1,1054 @@ +{ + "id": "https://schema.management.azure.com/schemas/2019-10-01-preview/Microsoft.Migrate.json#", + "$schema": "http://json-schema.org/draft-04/schema#", + "title": "Microsoft.Migrate", + "description": "Microsoft Migrate Resource Types", + "resourceDefinitions": { + "moveCollections": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2019-10-01-preview" + ] + }, + "identity": { + "oneOf": [ + { + "$ref": "#/definitions/Identity" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Defines the MSI properties of the Move Collection." + }, + "location": { + "type": "string", + "description": "The geo-location where the resource lives." + }, + "name": { + "type": "string", + "description": "The Move Collection Name." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/MoveCollectionProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Defines the move collection properties." + }, + "resources": { + "type": "array", + "items": { + "oneOf": [ + { + "$ref": "#/definitions/moveCollections_moveResources_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.Migrate/moveCollections" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.Migrate/moveCollections" + }, + "moveCollections_moveResources": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2019-10-01-preview" + ] + }, + "name": { + "type": "string", + "description": "The Move Resource Name." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/MoveResourceProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Defines the move resource properties." + }, + "type": { + "type": "string", + "enum": [ + "Microsoft.Migrate/moveCollections/moveResources" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.Migrate/moveCollections/moveResources" + } + }, + "definitions": { + "AvailabilitySetResourceSettings": { + "type": "object", + "properties": { + "faultDomain": { + "oneOf": [ + { + "type": "integer", + "minimum": 1 + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Gets or sets the target fault domain." + }, + "resourceType": { + "type": "string", + "enum": [ + "Microsoft.Compute/availabilitySets" + ] + }, + "updateDomain": { + "oneOf": [ + { + "type": "integer", + "minimum": 1, + "maximum": 20 + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Gets or sets the target update domain." + } + }, + "required": [ + "resourceType" + ], + "description": "Gets or sets the availability set resource settings." + }, + "DiskEncryptionSetResourceSettings": { + "type": "object", + "properties": { + "resourceType": { + "type": "string", + "enum": [ + "Microsoft.Compute/diskEncryptionSets" + ] + } + }, + "required": [ + "resourceType" + ], + "description": "Defines the disk encryption set resource settings." + }, + "Identity": { + "type": "object", + "properties": { + "principalId": { + "type": "string", + "description": "Gets or sets the principal id." + }, + "tenantId": { + "type": "string", + "description": "Gets or sets the tenant id." + }, + "type": { + "oneOf": [ + { + "type": "string", + "enum": [ + "None", + "SystemAssigned", + "UserAssigned" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ] + } + }, + "description": "Defines the MSI properties of the Move Collection." + }, + "KeyVaultResourceSettings": { + "type": "object", + "properties": { + "resourceType": { + "type": "string", + "enum": [ + "Microsoft.KeyVault/vaults" + ] + } + }, + "required": [ + "resourceType" + ], + "description": "Defines the key vault resource settings." + }, + "LBBackendAddressPoolResourceSettings": { + "type": "object", + "properties": { + "name": { + "type": "string", + "description": "Gets or sets the backend address pool name." + } + }, + "description": "Defines load balancer backend address pool properties." + }, + "LBFrontendIPConfigurationResourceSettings": { + "type": "object", + "properties": { + "name": { + "type": "string", + "description": "Gets or sets the frontend IP configuration name." + }, + "privateIpAddress": { + "type": "string", + "description": "Gets or sets the IP address of the Load Balancer.This is only specified if a specific\r\nprivate IP address shall be allocated from the subnet specified in subnetRef." + }, + "privateIpAllocationMethod": { + "type": "string", + "description": "Gets or sets PrivateIP allocation method (Static/Dynamic)." + }, + "subnet": { + "oneOf": [ + { + "$ref": "#/definitions/SubnetReference" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Defines reference to subnet." + }, + "zones": { + "type": "string", + "description": "Gets or sets the csv list of zones." + } + }, + "description": "Defines load balancer frontend IP configuration properties." + }, + "LoadBalancerBackendAddressPoolReference": { + "type": "object", + "properties": { + "name": { + "type": "string", + "description": "Gets the name of the proxy resource on the target side." + }, + "sourceArmResourceId": { + "type": "string", + "description": "Gets the ARM resource ID of the tracked resource being referenced." + } + }, + "required": [ + "sourceArmResourceId" + ], + "description": "Defines reference to load balancer backend address pools." + }, + "LoadBalancerNatRuleReference": { + "type": "object", + "properties": { + "name": { + "type": "string", + "description": "Gets the name of the proxy resource on the target side." + }, + "sourceArmResourceId": { + "type": "string", + "description": "Gets the ARM resource ID of the tracked resource being referenced." + } + }, + "required": [ + "sourceArmResourceId" + ], + "description": "Defines reference to load balancer NAT rules." + }, + "LoadBalancerResourceSettings": { + "type": "object", + "properties": { + "backendAddressPools": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/LBBackendAddressPoolResourceSettings" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Gets or sets the backend address pools of the load balancer." + }, + "frontendIPConfigurations": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/LBFrontendIPConfigurationResourceSettings" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Gets or sets the frontend IP configurations of the load balancer." + }, + "resourceType": { + "type": "string", + "enum": [ + "Microsoft.Network/loadBalancers" + ] + }, + "sku": { + "type": "string", + "description": "Gets or sets load balancer sku (Basic/Standard)." + }, + "zones": { + "type": "string", + "description": "Gets or sets the csv list of zones common for all frontend IP configurations. Note this is given\r\n precedence only if frontend IP configurations settings are not present." + } + }, + "required": [ + "resourceType" + ], + "description": "Defines the load balancer resource settings." + }, + "MoveCollectionProperties": { + "type": "object", + "properties": { + "provisioningState": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Succeeded", + "Updating", + "Creating", + "Failed" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ] + }, + "sourceRegion": { + "type": "string", + "description": "Gets or sets the source region." + }, + "targetRegion": { + "type": "string", + "description": "Gets or sets the target region." + } + }, + "required": [ + "sourceRegion", + "targetRegion" + ], + "description": "Defines the move collection properties." + }, + "moveCollections_moveResources_childResource": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2019-10-01-preview" + ] + }, + "name": { + "type": "string", + "description": "The Move Resource Name." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/MoveResourceProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Defines the move resource properties." + }, + "type": { + "type": "string", + "enum": [ + "moveResources" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.Migrate/moveCollections/moveResources" + }, + "MoveResourceDependencyOverride": { + "type": "object", + "properties": { + "id": { + "type": "string", + "description": "Gets or sets the ARM ID of the dependent resource." + }, + "targetId": { + "type": "string", + "description": "Gets or sets the resource ARM id of either the MoveResource or the resource ARM ID of\r\nthe dependent resource." + } + }, + "description": "Defines the dependency override of the move resource." + }, + "MoveResourceProperties": { + "type": "object", + "properties": { + "dependsOnOverrides": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/MoveResourceDependencyOverride" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Gets or sets the move resource dependencies overrides." + }, + "existingTargetId": { + "type": "string", + "description": "Gets or sets the existing target ARM Id of the resource." + }, + "provisioningState": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Succeeded", + "Updating", + "Creating", + "Failed" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ] + }, + "resourceSettings": { + "oneOf": [ + { + "$ref": "#/definitions/ResourceSettings" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Gets or sets the resource settings." + }, + "sourceId": { + "type": "string", + "description": "Gets or sets the Source ARM Id of the resource." + } + }, + "required": [ + "sourceId" + ], + "description": "Defines the move resource properties." + }, + "NetworkInterfaceResourceSettings": { + "type": "object", + "properties": { + "enableAcceleratedNetworking": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Gets or sets a value indicating whether accelerated networking is enabled." + }, + "ipConfigurations": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/NicIpConfigurationResourceSettings" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Gets or sets the IP configurations of the NIC." + }, + "resourceType": { + "type": "string", + "enum": [ + "Microsoft.Network/networkInterfaces" + ] + } + }, + "required": [ + "resourceType" + ], + "description": "Defines the network interface resource settings." + }, + "NetworkSecurityGroupResourceSettings": { + "type": "object", + "properties": { + "resourceType": { + "type": "string", + "enum": [ + "Microsoft.Network/networkSecurityGroups" + ] + }, + "securityRules": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/NsgSecurityRule" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Gets or sets Security rules of network security group." + } + }, + "required": [ + "resourceType" + ], + "description": "Defines the NSG resource settings." + }, + "NicIpConfigurationResourceSettings": { + "type": "object", + "properties": { + "loadBalancerBackendAddressPools": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/LoadBalancerBackendAddressPoolReference" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Gets or sets the references of the load balancer backend address pools." + }, + "loadBalancerNatRules": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/LoadBalancerNatRuleReference" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Gets or sets the references of the load balancer NAT rules." + }, + "name": { + "type": "string", + "description": "Gets or sets the IP configuration name." + }, + "primary": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Gets or sets a value indicating whether this IP configuration is the primary." + }, + "privateIpAddress": { + "type": "string", + "description": "Gets or sets the private IP address of the network interface IP Configuration." + }, + "privateIpAllocationMethod": { + "type": "string", + "description": "Gets or sets the private IP address allocation method." + }, + "publicIp": { + "oneOf": [ + { + "$ref": "#/definitions/PublicIpReference" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Defines reference to a public IP." + }, + "subnet": { + "oneOf": [ + { + "$ref": "#/definitions/SubnetReference" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Defines reference to subnet." + } + }, + "description": "Defines NIC IP configuration properties." + }, + "NsgReference": { + "type": "object", + "properties": { + "sourceArmResourceId": { + "type": "string", + "description": "Gets the ARM resource ID of the tracked resource being referenced." + } + }, + "required": [ + "sourceArmResourceId" + ], + "description": "Defines reference to NSG." + }, + "NsgSecurityRule": { + "type": "object", + "properties": { + "access": { + "type": "string", + "description": "Gets or sets whether network traffic is allowed or denied.\r\nPossible values are “Allow” and “Deny”." + }, + "description": { + "type": "string", + "description": "Gets or sets a description for this rule. Restricted to 140 chars." + }, + "destinationAddressPrefix": { + "type": "string", + "description": "Gets or sets destination address prefix. CIDR or source IP range.\r\n A “*” can also be used to match all source IPs. Default tags such\r\nas ‘VirtualNetwork’, ‘AzureLoadBalancer’ and ‘Internet’ can also be used." + }, + "destinationPortRange": { + "type": "string", + "description": "Gets or sets Destination Port or Range. Integer or range between\r\n0 and 65535. A “*” can also be used to match all ports." + }, + "direction": { + "type": "string", + "description": "Gets or sets the direction of the rule.InBound or Outbound. The\r\ndirection specifies if rule will be evaluated on incoming or outgoing traffic." + }, + "name": { + "type": "string", + "description": "Gets or sets the Security rule name." + }, + "priority": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Gets or sets the priority of the rule. The value can be between\r\n100 and 4096. The priority number must be unique for each rule in the collection.\r\nThe lower the priority number, the higher the priority of the rule." + }, + "protocol": { + "type": "string", + "description": "Gets or sets Network protocol this rule applies to. Can be Tcp, Udp or All(*)." + }, + "sourceAddressPrefix": { + "type": "string", + "description": "Gets or sets source address prefix. CIDR or source IP range. A\r\n“*” can also be used to match all source IPs. Default tags such as ‘VirtualNetwork’,\r\n‘AzureLoadBalancer’ and ‘Internet’ can also be used. If this is an ingress\r\nrule, specifies where network traffic originates from." + }, + "sourcePortRange": { + "type": "string", + "description": "Gets or sets Source Port or Range. Integer or range between 0 and\r\n65535. A “*” can also be used to match all ports." + } + }, + "description": "Security Rule data model for Network Security Groups." + }, + "PublicIPAddressResourceSettings": { + "type": "object", + "properties": { + "domainNameLabel": { + "type": "string", + "description": "Gets or sets the domain name label." + }, + "fqdn": { + "type": "string", + "description": "Gets or sets the fully qualified domain name." + }, + "publicIpAllocationMethod": { + "type": "string", + "description": "Gets or sets public IP allocation method." + }, + "resourceType": { + "type": "string", + "enum": [ + "Microsoft.Network/publicIPAddresses" + ] + }, + "sku": { + "type": "string", + "description": "Gets or sets public IP sku." + }, + "zones": { + "type": "string", + "description": "Gets or sets public IP zones." + } + }, + "required": [ + "resourceType" + ], + "description": "Defines the public IP address resource settings." + }, + "PublicIpReference": { + "type": "object", + "properties": { + "sourceArmResourceId": { + "type": "string", + "description": "Gets the ARM resource ID of the tracked resource being referenced." + } + }, + "required": [ + "sourceArmResourceId" + ], + "description": "Defines reference to a public IP." + }, + "ResourceGroupResourceSettings": { + "type": "object", + "properties": { + "resourceType": { + "type": "string", + "enum": [ + "resourceGroups" + ] + } + }, + "required": [ + "resourceType" + ], + "description": "Defines the resource group resource settings." + }, + "ResourceSettings": { + "type": "object", + "oneOf": [ + { + "$ref": "#/definitions/VirtualMachineResourceSettings" + }, + { + "$ref": "#/definitions/AvailabilitySetResourceSettings" + }, + { + "$ref": "#/definitions/VirtualNetworkResourceSettings" + }, + { + "$ref": "#/definitions/NetworkInterfaceResourceSettings" + }, + { + "$ref": "#/definitions/NetworkSecurityGroupResourceSettings" + }, + { + "$ref": "#/definitions/LoadBalancerResourceSettings" + }, + { + "$ref": "#/definitions/SqlServerResourceSettings" + }, + { + "$ref": "#/definitions/SqlElasticPoolResourceSettings" + }, + { + "$ref": "#/definitions/SqlDatabaseResourceSettings" + }, + { + "$ref": "#/definitions/ResourceGroupResourceSettings" + }, + { + "$ref": "#/definitions/PublicIPAddressResourceSettings" + }, + { + "$ref": "#/definitions/KeyVaultResourceSettings" + }, + { + "$ref": "#/definitions/DiskEncryptionSetResourceSettings" + } + ], + "properties": { + "targetResourceName": { + "type": "string", + "description": "Gets or sets the target Resource name." + } + }, + "required": [ + "targetResourceName" + ], + "description": "Gets or sets the resource settings." + }, + "SqlDatabaseResourceSettings": { + "type": "object", + "properties": { + "resourceType": { + "type": "string", + "enum": [ + "Microsoft.Sql/servers/databases" + ] + }, + "zoneRedundant": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Enable", + "Disable" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ] + } + }, + "required": [ + "resourceType" + ], + "description": "Defines the Sql Database resource settings." + }, + "SqlElasticPoolResourceSettings": { + "type": "object", + "properties": { + "resourceType": { + "type": "string", + "enum": [ + "Microsoft.Sql/servers/elasticPools" + ] + }, + "zoneRedundant": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Enable", + "Disable" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ] + } + }, + "required": [ + "resourceType" + ], + "description": "Defines the Sql ElasticPool resource settings." + }, + "SqlServerResourceSettings": { + "type": "object", + "properties": { + "resourceType": { + "type": "string", + "enum": [ + "Microsoft.Sql/servers" + ] + } + }, + "required": [ + "resourceType" + ], + "description": "Defines the SQL Server resource settings." + }, + "SubnetReference": { + "type": "object", + "properties": { + "name": { + "type": "string", + "description": "Gets the name of the proxy resource on the target side." + }, + "sourceArmResourceId": { + "type": "string", + "description": "Gets the ARM resource ID of the tracked resource being referenced." + } + }, + "required": [ + "sourceArmResourceId" + ], + "description": "Defines reference to subnet." + }, + "SubnetResourceSettings": { + "type": "object", + "properties": { + "addressPrefix": { + "type": "string", + "description": "Gets or sets address prefix for the subnet." + }, + "name": { + "type": "string", + "description": "Gets or sets the Subnet name." + }, + "networkSecurityGroup": { + "oneOf": [ + { + "$ref": "#/definitions/NsgReference" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Defines reference to NSG." + } + }, + "description": "Defines the virtual network subnets resource settings." + }, + "VirtualMachineResourceSettings": { + "type": "object", + "properties": { + "resourceType": { + "type": "string", + "enum": [ + "Microsoft.Compute/virtualMachines" + ] + }, + "targetAvailabilitySetId": { + "type": "string", + "description": "Gets or sets the target availability set id for virtual machines not in an availability set at source." + }, + "targetAvailabilityZone": { + "oneOf": [ + { + "type": "string", + "enum": [ + "1", + "2", + "3", + "NA" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Gets or sets the target availability zone." + }, + "targetVmSize": { + "type": "string", + "description": "Gets or sets the target virtual machine size." + } + }, + "required": [ + "resourceType" + ], + "description": "Gets or sets the virtual machine resource settings." + }, + "VirtualNetworkResourceSettings": { + "type": "object", + "properties": { + "addressSpace": { + "oneOf": [ + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Gets or sets the address prefixes for the virtual network." + }, + "dnsServers": { + "oneOf": [ + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Gets or sets DHCPOptions that contains an array of DNS servers available to VMs\r\ndeployed in the virtual network." + }, + "enableDdosProtection": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Gets or sets a value indicating whether gets or sets whether the\r\nDDOS protection should be switched on." + }, + "resourceType": { + "type": "string", + "enum": [ + "Microsoft.Network/virtualNetworks" + ] + }, + "subnets": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/SubnetResourceSettings" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Gets or sets List of subnets in a VirtualNetwork." + } + }, + "required": [ + "resourceType" + ], + "description": "Defines the virtual network resource settings." + } + } +} \ No newline at end of file diff --git a/schemas/2021-01-01/Microsoft.Migrate.json b/schemas/2021-01-01/Microsoft.Migrate.json new file mode 100644 index 0000000000..0e45499ee6 --- /dev/null +++ b/schemas/2021-01-01/Microsoft.Migrate.json @@ -0,0 +1,1054 @@ +{ + "id": "https://schema.management.azure.com/schemas/2021-01-01/Microsoft.Migrate.json#", + "$schema": "http://json-schema.org/draft-04/schema#", + "title": "Microsoft.Migrate", + "description": "Microsoft Migrate Resource Types", + "resourceDefinitions": { + "moveCollections": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-01-01" + ] + }, + "identity": { + "oneOf": [ + { + "$ref": "#/definitions/Identity" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Defines the MSI properties of the Move Collection." + }, + "location": { + "type": "string", + "description": "The geo-location where the resource lives." + }, + "name": { + "type": "string", + "description": "The Move Collection Name." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/MoveCollectionProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Defines the move collection properties." + }, + "resources": { + "type": "array", + "items": { + "oneOf": [ + { + "$ref": "#/definitions/moveCollections_moveResources_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.Migrate/moveCollections" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.Migrate/moveCollections" + }, + "moveCollections_moveResources": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-01-01" + ] + }, + "name": { + "type": "string", + "description": "The Move Resource Name." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/MoveResourceProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Defines the move resource properties." + }, + "type": { + "type": "string", + "enum": [ + "Microsoft.Migrate/moveCollections/moveResources" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.Migrate/moveCollections/moveResources" + } + }, + "definitions": { + "AvailabilitySetResourceSettings": { + "type": "object", + "properties": { + "faultDomain": { + "oneOf": [ + { + "type": "integer", + "minimum": 1 + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Gets or sets the target fault domain." + }, + "resourceType": { + "type": "string", + "enum": [ + "Microsoft.Compute/availabilitySets" + ] + }, + "updateDomain": { + "oneOf": [ + { + "type": "integer", + "minimum": 1, + "maximum": 20 + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Gets or sets the target update domain." + } + }, + "required": [ + "resourceType" + ], + "description": "Gets or sets the availability set resource settings." + }, + "DiskEncryptionSetResourceSettings": { + "type": "object", + "properties": { + "resourceType": { + "type": "string", + "enum": [ + "Microsoft.Compute/diskEncryptionSets" + ] + } + }, + "required": [ + "resourceType" + ], + "description": "Defines the disk encryption set resource settings." + }, + "Identity": { + "type": "object", + "properties": { + "principalId": { + "type": "string", + "description": "Gets or sets the principal id." + }, + "tenantId": { + "type": "string", + "description": "Gets or sets the tenant id." + }, + "type": { + "oneOf": [ + { + "type": "string", + "enum": [ + "None", + "SystemAssigned", + "UserAssigned" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ] + } + }, + "description": "Defines the MSI properties of the Move Collection." + }, + "KeyVaultResourceSettings": { + "type": "object", + "properties": { + "resourceType": { + "type": "string", + "enum": [ + "Microsoft.KeyVault/vaults" + ] + } + }, + "required": [ + "resourceType" + ], + "description": "Defines the key vault resource settings." + }, + "LBBackendAddressPoolResourceSettings": { + "type": "object", + "properties": { + "name": { + "type": "string", + "description": "Gets or sets the backend address pool name." + } + }, + "description": "Defines load balancer backend address pool properties." + }, + "LBFrontendIPConfigurationResourceSettings": { + "type": "object", + "properties": { + "name": { + "type": "string", + "description": "Gets or sets the frontend IP configuration name." + }, + "privateIpAddress": { + "type": "string", + "description": "Gets or sets the IP address of the Load Balancer.This is only specified if a specific\r\nprivate IP address shall be allocated from the subnet specified in subnetRef." + }, + "privateIpAllocationMethod": { + "type": "string", + "description": "Gets or sets PrivateIP allocation method (Static/Dynamic)." + }, + "subnet": { + "oneOf": [ + { + "$ref": "#/definitions/SubnetReference" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Defines reference to subnet." + }, + "zones": { + "type": "string", + "description": "Gets or sets the csv list of zones." + } + }, + "description": "Defines load balancer frontend IP configuration properties." + }, + "LoadBalancerBackendAddressPoolReference": { + "type": "object", + "properties": { + "name": { + "type": "string", + "description": "Gets the name of the proxy resource on the target side." + }, + "sourceArmResourceId": { + "type": "string", + "description": "Gets the ARM resource ID of the tracked resource being referenced." + } + }, + "required": [ + "sourceArmResourceId" + ], + "description": "Defines reference to load balancer backend address pools." + }, + "LoadBalancerNatRuleReference": { + "type": "object", + "properties": { + "name": { + "type": "string", + "description": "Gets the name of the proxy resource on the target side." + }, + "sourceArmResourceId": { + "type": "string", + "description": "Gets the ARM resource ID of the tracked resource being referenced." + } + }, + "required": [ + "sourceArmResourceId" + ], + "description": "Defines reference to load balancer NAT rules." + }, + "LoadBalancerResourceSettings": { + "type": "object", + "properties": { + "backendAddressPools": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/LBBackendAddressPoolResourceSettings" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Gets or sets the backend address pools of the load balancer." + }, + "frontendIPConfigurations": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/LBFrontendIPConfigurationResourceSettings" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Gets or sets the frontend IP configurations of the load balancer." + }, + "resourceType": { + "type": "string", + "enum": [ + "Microsoft.Network/loadBalancers" + ] + }, + "sku": { + "type": "string", + "description": "Gets or sets load balancer sku (Basic/Standard)." + }, + "zones": { + "type": "string", + "description": "Gets or sets the csv list of zones common for all frontend IP configurations. Note this is given\r\n precedence only if frontend IP configurations settings are not present." + } + }, + "required": [ + "resourceType" + ], + "description": "Defines the load balancer resource settings." + }, + "MoveCollectionProperties": { + "type": "object", + "properties": { + "provisioningState": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Succeeded", + "Updating", + "Creating", + "Failed" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ] + }, + "sourceRegion": { + "type": "string", + "description": "Gets or sets the source region." + }, + "targetRegion": { + "type": "string", + "description": "Gets or sets the target region." + } + }, + "required": [ + "sourceRegion", + "targetRegion" + ], + "description": "Defines the move collection properties." + }, + "moveCollections_moveResources_childResource": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-01-01" + ] + }, + "name": { + "type": "string", + "description": "The Move Resource Name." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/MoveResourceProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Defines the move resource properties." + }, + "type": { + "type": "string", + "enum": [ + "moveResources" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.Migrate/moveCollections/moveResources" + }, + "MoveResourceDependencyOverride": { + "type": "object", + "properties": { + "id": { + "type": "string", + "description": "Gets or sets the ARM ID of the dependent resource." + }, + "targetId": { + "type": "string", + "description": "Gets or sets the resource ARM id of either the MoveResource or the resource ARM ID of\r\nthe dependent resource." + } + }, + "description": "Defines the dependency override of the move resource." + }, + "MoveResourceProperties": { + "type": "object", + "properties": { + "dependsOnOverrides": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/MoveResourceDependencyOverride" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Gets or sets the move resource dependencies overrides." + }, + "existingTargetId": { + "type": "string", + "description": "Gets or sets the existing target ARM Id of the resource." + }, + "provisioningState": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Succeeded", + "Updating", + "Creating", + "Failed" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ] + }, + "resourceSettings": { + "oneOf": [ + { + "$ref": "#/definitions/ResourceSettings" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Gets or sets the resource settings." + }, + "sourceId": { + "type": "string", + "description": "Gets or sets the Source ARM Id of the resource." + } + }, + "required": [ + "sourceId" + ], + "description": "Defines the move resource properties." + }, + "NetworkInterfaceResourceSettings": { + "type": "object", + "properties": { + "enableAcceleratedNetworking": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Gets or sets a value indicating whether accelerated networking is enabled." + }, + "ipConfigurations": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/NicIpConfigurationResourceSettings" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Gets or sets the IP configurations of the NIC." + }, + "resourceType": { + "type": "string", + "enum": [ + "Microsoft.Network/networkInterfaces" + ] + } + }, + "required": [ + "resourceType" + ], + "description": "Defines the network interface resource settings." + }, + "NetworkSecurityGroupResourceSettings": { + "type": "object", + "properties": { + "resourceType": { + "type": "string", + "enum": [ + "Microsoft.Network/networkSecurityGroups" + ] + }, + "securityRules": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/NsgSecurityRule" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Gets or sets Security rules of network security group." + } + }, + "required": [ + "resourceType" + ], + "description": "Defines the NSG resource settings." + }, + "NicIpConfigurationResourceSettings": { + "type": "object", + "properties": { + "loadBalancerBackendAddressPools": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/LoadBalancerBackendAddressPoolReference" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Gets or sets the references of the load balancer backend address pools." + }, + "loadBalancerNatRules": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/LoadBalancerNatRuleReference" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Gets or sets the references of the load balancer NAT rules." + }, + "name": { + "type": "string", + "description": "Gets or sets the IP configuration name." + }, + "primary": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Gets or sets a value indicating whether this IP configuration is the primary." + }, + "privateIpAddress": { + "type": "string", + "description": "Gets or sets the private IP address of the network interface IP Configuration." + }, + "privateIpAllocationMethod": { + "type": "string", + "description": "Gets or sets the private IP address allocation method." + }, + "publicIp": { + "oneOf": [ + { + "$ref": "#/definitions/PublicIpReference" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Defines reference to a public IP." + }, + "subnet": { + "oneOf": [ + { + "$ref": "#/definitions/SubnetReference" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Defines reference to subnet." + } + }, + "description": "Defines NIC IP configuration properties." + }, + "NsgReference": { + "type": "object", + "properties": { + "sourceArmResourceId": { + "type": "string", + "description": "Gets the ARM resource ID of the tracked resource being referenced." + } + }, + "required": [ + "sourceArmResourceId" + ], + "description": "Defines reference to NSG." + }, + "NsgSecurityRule": { + "type": "object", + "properties": { + "access": { + "type": "string", + "description": "Gets or sets whether network traffic is allowed or denied.\r\nPossible values are “Allow” and “Deny”." + }, + "description": { + "type": "string", + "description": "Gets or sets a description for this rule. Restricted to 140 chars." + }, + "destinationAddressPrefix": { + "type": "string", + "description": "Gets or sets destination address prefix. CIDR or source IP range.\r\n A “*” can also be used to match all source IPs. Default tags such\r\nas ‘VirtualNetwork’, ‘AzureLoadBalancer’ and ‘Internet’ can also be used." + }, + "destinationPortRange": { + "type": "string", + "description": "Gets or sets Destination Port or Range. Integer or range between\r\n0 and 65535. A “*” can also be used to match all ports." + }, + "direction": { + "type": "string", + "description": "Gets or sets the direction of the rule.InBound or Outbound. The\r\ndirection specifies if rule will be evaluated on incoming or outgoing traffic." + }, + "name": { + "type": "string", + "description": "Gets or sets the Security rule name." + }, + "priority": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Gets or sets the priority of the rule. The value can be between\r\n100 and 4096. The priority number must be unique for each rule in the collection.\r\nThe lower the priority number, the higher the priority of the rule." + }, + "protocol": { + "type": "string", + "description": "Gets or sets Network protocol this rule applies to. Can be Tcp, Udp or All(*)." + }, + "sourceAddressPrefix": { + "type": "string", + "description": "Gets or sets source address prefix. CIDR or source IP range. A\r\n“*” can also be used to match all source IPs. Default tags such as ‘VirtualNetwork’,\r\n‘AzureLoadBalancer’ and ‘Internet’ can also be used. If this is an ingress\r\nrule, specifies where network traffic originates from." + }, + "sourcePortRange": { + "type": "string", + "description": "Gets or sets Source Port or Range. Integer or range between 0 and\r\n65535. A “*” can also be used to match all ports." + } + }, + "description": "Security Rule data model for Network Security Groups." + }, + "PublicIPAddressResourceSettings": { + "type": "object", + "properties": { + "domainNameLabel": { + "type": "string", + "description": "Gets or sets the domain name label." + }, + "fqdn": { + "type": "string", + "description": "Gets or sets the fully qualified domain name." + }, + "publicIpAllocationMethod": { + "type": "string", + "description": "Gets or sets public IP allocation method." + }, + "resourceType": { + "type": "string", + "enum": [ + "Microsoft.Network/publicIPAddresses" + ] + }, + "sku": { + "type": "string", + "description": "Gets or sets public IP sku." + }, + "zones": { + "type": "string", + "description": "Gets or sets public IP zones." + } + }, + "required": [ + "resourceType" + ], + "description": "Defines the public IP address resource settings." + }, + "PublicIpReference": { + "type": "object", + "properties": { + "sourceArmResourceId": { + "type": "string", + "description": "Gets the ARM resource ID of the tracked resource being referenced." + } + }, + "required": [ + "sourceArmResourceId" + ], + "description": "Defines reference to a public IP." + }, + "ResourceGroupResourceSettings": { + "type": "object", + "properties": { + "resourceType": { + "type": "string", + "enum": [ + "resourceGroups" + ] + } + }, + "required": [ + "resourceType" + ], + "description": "Defines the resource group resource settings." + }, + "ResourceSettings": { + "type": "object", + "oneOf": [ + { + "$ref": "#/definitions/VirtualMachineResourceSettings" + }, + { + "$ref": "#/definitions/AvailabilitySetResourceSettings" + }, + { + "$ref": "#/definitions/VirtualNetworkResourceSettings" + }, + { + "$ref": "#/definitions/NetworkInterfaceResourceSettings" + }, + { + "$ref": "#/definitions/NetworkSecurityGroupResourceSettings" + }, + { + "$ref": "#/definitions/LoadBalancerResourceSettings" + }, + { + "$ref": "#/definitions/SqlServerResourceSettings" + }, + { + "$ref": "#/definitions/SqlElasticPoolResourceSettings" + }, + { + "$ref": "#/definitions/SqlDatabaseResourceSettings" + }, + { + "$ref": "#/definitions/ResourceGroupResourceSettings" + }, + { + "$ref": "#/definitions/PublicIPAddressResourceSettings" + }, + { + "$ref": "#/definitions/KeyVaultResourceSettings" + }, + { + "$ref": "#/definitions/DiskEncryptionSetResourceSettings" + } + ], + "properties": { + "targetResourceName": { + "type": "string", + "description": "Gets or sets the target Resource name." + } + }, + "required": [ + "targetResourceName" + ], + "description": "Gets or sets the resource settings." + }, + "SqlDatabaseResourceSettings": { + "type": "object", + "properties": { + "resourceType": { + "type": "string", + "enum": [ + "Microsoft.Sql/servers/databases" + ] + }, + "zoneRedundant": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Enable", + "Disable" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ] + } + }, + "required": [ + "resourceType" + ], + "description": "Defines the Sql Database resource settings." + }, + "SqlElasticPoolResourceSettings": { + "type": "object", + "properties": { + "resourceType": { + "type": "string", + "enum": [ + "Microsoft.Sql/servers/elasticPools" + ] + }, + "zoneRedundant": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Enable", + "Disable" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ] + } + }, + "required": [ + "resourceType" + ], + "description": "Defines the Sql ElasticPool resource settings." + }, + "SqlServerResourceSettings": { + "type": "object", + "properties": { + "resourceType": { + "type": "string", + "enum": [ + "Microsoft.Sql/servers" + ] + } + }, + "required": [ + "resourceType" + ], + "description": "Defines the SQL Server resource settings." + }, + "SubnetReference": { + "type": "object", + "properties": { + "name": { + "type": "string", + "description": "Gets the name of the proxy resource on the target side." + }, + "sourceArmResourceId": { + "type": "string", + "description": "Gets the ARM resource ID of the tracked resource being referenced." + } + }, + "required": [ + "sourceArmResourceId" + ], + "description": "Defines reference to subnet." + }, + "SubnetResourceSettings": { + "type": "object", + "properties": { + "addressPrefix": { + "type": "string", + "description": "Gets or sets address prefix for the subnet." + }, + "name": { + "type": "string", + "description": "Gets or sets the Subnet name." + }, + "networkSecurityGroup": { + "oneOf": [ + { + "$ref": "#/definitions/NsgReference" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Defines reference to NSG." + } + }, + "description": "Defines the virtual network subnets resource settings." + }, + "VirtualMachineResourceSettings": { + "type": "object", + "properties": { + "resourceType": { + "type": "string", + "enum": [ + "Microsoft.Compute/virtualMachines" + ] + }, + "targetAvailabilitySetId": { + "type": "string", + "description": "Gets or sets the target availability set id for virtual machines not in an availability set at source." + }, + "targetAvailabilityZone": { + "oneOf": [ + { + "type": "string", + "enum": [ + "1", + "2", + "3", + "NA" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Gets or sets the target availability zone." + }, + "targetVmSize": { + "type": "string", + "description": "Gets or sets the target virtual machine size." + } + }, + "required": [ + "resourceType" + ], + "description": "Gets or sets the virtual machine resource settings." + }, + "VirtualNetworkResourceSettings": { + "type": "object", + "properties": { + "addressSpace": { + "oneOf": [ + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Gets or sets the address prefixes for the virtual network." + }, + "dnsServers": { + "oneOf": [ + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Gets or sets DHCPOptions that contains an array of DNS servers available to VMs\r\ndeployed in the virtual network." + }, + "enableDdosProtection": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Gets or sets a value indicating whether gets or sets whether the\r\nDDOS protection should be switched on." + }, + "resourceType": { + "type": "string", + "enum": [ + "Microsoft.Network/virtualNetworks" + ] + }, + "subnets": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/SubnetResourceSettings" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Gets or sets List of subnets in a VirtualNetwork." + } + }, + "required": [ + "resourceType" + ], + "description": "Defines the virtual network resource settings." + } + } +} \ No newline at end of file diff --git a/schemas/2021-06-01-preview/Microsoft.Synapse.json b/schemas/2021-06-01-preview/Microsoft.Synapse.json index 135fdd7930..e590d80a35 100644 --- a/schemas/2021-06-01-preview/Microsoft.Synapse.json +++ b/schemas/2021-06-01-preview/Microsoft.Synapse.json @@ -118,9 +118,6 @@ { "$ref": "#/definitions/workspaces_keys_childResource" }, - { - "$ref": "#/definitions/workspaces_kustoPools_childResource" - }, { "$ref": "#/definitions/workspaces_privateEndpointConnections_childResource" }, @@ -150,6 +147,9 @@ }, { "$ref": "#/definitions/workspaces_managedIdentitySqlControlSettings_childResource" + }, + { + "$ref": "#/definitions/workspaces_kustoPools_childResource" } ] } @@ -2202,13 +2202,13 @@ "sparkConfigProperties": { "oneOf": [ { - "$ref": "#/definitions/LibraryRequirements" + "$ref": "#/definitions/SparkConfigProperties" }, { "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" } ], - "description": "Library requirements for a Big Data pool powered by Apache Spark" + "description": "SparkConfig Properties for a Big Data pool powered by Apache Spark" }, "sparkEventsFolder": { "type": "string", @@ -3696,6 +3696,10 @@ "type": "string", "description": "The name of the subnet this integration runtime will join." }, + "subnetId": { + "type": "string", + "description": "The ID of subnet, to which this Azure-SSIS integration runtime will be joined." + }, "vNetId": { "type": "string", "description": "The ID of the VNet that this integration runtime will join." @@ -4961,6 +4965,35 @@ }, "description": "SQL pool SKU" }, + "SparkConfigProperties": { + "type": "object", + "properties": { + "configurationType": { + "oneOf": [ + { + "type": "string", + "enum": [ + "File", + "Artifact" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The type of the spark config properties file." + }, + "content": { + "type": "string", + "description": "The spark config properties." + }, + "filename": { + "type": "string", + "description": "The filename of the spark config properties file." + } + }, + "description": "SparkConfig Properties for a Big Data pool powered by Apache Spark" + }, "SqlPoolBlobAuditingPolicyProperties": { "type": "object", "properties": { diff --git a/schemas/common/autogeneratedResources.json b/schemas/common/autogeneratedResources.json index 53a18a5076..908be2673d 100644 --- a/schemas/common/autogeneratedResources.json +++ b/schemas/common/autogeneratedResources.json @@ -6952,6 +6952,12 @@ { "$ref": "https://schema.management.azure.com/schemas/2018-02-02/Microsoft.Migrate.json#/resourceDefinitions/projects_groups_assessments" }, + { + "$ref": "https://schema.management.azure.com/schemas/2018-09-01-preview/Microsoft.Migrate.json#/resourceDefinitions/migrateProjects" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2018-09-01-preview/Microsoft.Migrate.json#/resourceDefinitions/migrateProjects_solutions" + }, { "$ref": "https://schema.management.azure.com/schemas/2019-10-01/Microsoft.Migrate.json#/resourceDefinitions/assessmentProjects" }, @@ -6976,6 +6982,18 @@ { "$ref": "https://schema.management.azure.com/schemas/2019-10-01/Microsoft.Migrate.json#/resourceDefinitions/assessmentProjects_vmwarecollectors" }, + { + "$ref": "https://schema.management.azure.com/schemas/2019-10-01-preview/Microsoft.Migrate.json#/resourceDefinitions/moveCollections" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2019-10-01-preview/Microsoft.Migrate.json#/resourceDefinitions/moveCollections_moveResources" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2021-01-01/Microsoft.Migrate.json#/resourceDefinitions/moveCollections" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2021-01-01/Microsoft.Migrate.json#/resourceDefinitions/moveCollections_moveResources" + }, { "$ref": "https://schema.management.azure.com/schemas/2019-02-28-preview/Microsoft.MixedReality.json#/resourceDefinitions/spatialAnchorsAccounts" }, From 2b9b09fd30e5e101adeeda56caa65d5d1adb0b68 Mon Sep 17 00:00:00 2001 From: Autogenerator Pipeline Date: Fri, 6 Aug 2021 10:40:29 +0000 Subject: [PATCH 41/64] Update resource list --- generator/resources.json | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/generator/resources.json b/generator/resources.json index d64b656aaa..b62dd3c784 100644 --- a/generator/resources.json +++ b/generator/resources.json @@ -3938,6 +3938,20 @@ "Microsoft.Migrate/assessmentprojects/privateEndpointConnections": [ "2019-10-01" ], + "Microsoft.Migrate/migrateProjects": [ + "2018-09-01-preview" + ], + "Microsoft.Migrate/migrateProjects/solutions": [ + "2018-09-01-preview" + ], + "Microsoft.Migrate/moveCollections": [ + "2019-10-01-preview", + "2021-01-01" + ], + "Microsoft.Migrate/moveCollections/moveResources": [ + "2019-10-01-preview", + "2021-01-01" + ], "Microsoft.Migrate/projects": [ "2018-02-02" ], From 87fa4d8da7f9ae5fb291eb3a3fe1c4990a3e0710 Mon Sep 17 00:00:00 2001 From: Autogenerator Pipeline Date: Fri, 6 Aug 2021 14:01:46 +0000 Subject: [PATCH 42/64] Generated report --- onboarded-report/result.json | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/onboarded-report/result.json b/onboarded-report/result.json index f6e1608134..b683bf6ddd 100644 --- a/onboarded-report/result.json +++ b/onboarded-report/result.json @@ -640,10 +640,8 @@ }, { "basePath": "logz/resource-manager", - "onboardedToAutogen": "no", - "missing": [ - "Microsoft.Logz" - ], + "onboardedToAutogen": "yes", + "missing": [], "onboarded": [] }, { From 796286694b7446153c0e1e43c36fa792f435082b Mon Sep 17 00:00:00 2001 From: Jorge Cotillo Date: Fri, 6 Aug 2021 07:51:19 -0700 Subject: [PATCH 43/64] removed deprecated api-version --- schemas/2014-04-01-preview/deploymentTemplate.json | 3 --- schemas/2015-01-01/deploymentTemplate.json | 3 --- schemas/2019-03-01-hybrid/deploymentTemplate.json | 3 --- 3 files changed, 9 deletions(-) diff --git a/schemas/2014-04-01-preview/deploymentTemplate.json b/schemas/2014-04-01-preview/deploymentTemplate.json index a04817d78b..459e41bc72 100644 --- a/schemas/2014-04-01-preview/deploymentTemplate.json +++ b/schemas/2014-04-01-preview/deploymentTemplate.json @@ -5669,9 +5669,6 @@ { "$ref": "https://schema.management.azure.com/schemas/2020-01-01/Microsoft.Security.json#/unknown_resourceDefinitions/assessments" }, - { - "$ref": "https://schema.management.azure.com/schemas/2020-08-06-preview/Microsoft.Security.json#/unknown_resourceDefinitions/iotSensors" - }, { "$ref": "https://schema.management.azure.com/schemas/2019-10-01/Microsoft.Migrate.json#/resourceDefinitions/assessmentProjects" }, diff --git a/schemas/2015-01-01/deploymentTemplate.json b/schemas/2015-01-01/deploymentTemplate.json index b8b8be4525..b4b5b3c3bf 100644 --- a/schemas/2015-01-01/deploymentTemplate.json +++ b/schemas/2015-01-01/deploymentTemplate.json @@ -6162,9 +6162,6 @@ { "$ref": "https://schema.management.azure.com/schemas/2020-01-01/Microsoft.Security.json#/unknown_resourceDefinitions/assessments" }, - { - "$ref": "https://schema.management.azure.com/schemas/2020-08-06-preview/Microsoft.Security.json#/unknown_resourceDefinitions/iotSensors" - }, { "$ref": "https://schema.management.azure.com/schemas/2019-10-01/Microsoft.Migrate.json#/resourceDefinitions/assessmentProjects" }, diff --git a/schemas/2019-03-01-hybrid/deploymentTemplate.json b/schemas/2019-03-01-hybrid/deploymentTemplate.json index 075d36dd12..a67d97868a 100644 --- a/schemas/2019-03-01-hybrid/deploymentTemplate.json +++ b/schemas/2019-03-01-hybrid/deploymentTemplate.json @@ -2955,9 +2955,6 @@ { "$ref": "https://schema.management.azure.com/schemas/2020-01-01/Microsoft.Security.json#/unknown_resourceDefinitions/assessments" }, - { - "$ref": "https://schema.management.azure.com/schemas/2020-08-06-preview/Microsoft.Security.json#/unknown_resourceDefinitions/iotSensors" - }, { "$ref": "https://schema.management.azure.com/schemas/2018-06-01-preview/Microsoft.ManagedServices.json#/resourceDefinitions/registrationAssignments" }, From a360679e8b909ab60d6a1497e3a238b9a218bbb0 Mon Sep 17 00:00:00 2001 From: SDKAuto Date: Mon, 9 Aug 2021 02:32:25 +0000 Subject: [PATCH 44/64] CodeGen from PR 14589 in Azure/azure-rest-api-specs Support UAMI in ADF IR/LS/Activity (#14589) * Enable excel in public swagger * update * rollback dataflow change * Support UAMI in ADF IR/LS/Activity * update * update 0609 * update * update * solve spell issue * Update custom-words.txt Co-authored-by: zhanyu2014 Co-authored-by: Lei Ni <7233663+leni-msft@users.noreply.github.com> --- schemas/2018-06-01/Microsoft.DataFactory.json | 597 ++++++++++-------- 1 file changed, 328 insertions(+), 269 deletions(-) diff --git a/schemas/2018-06-01/Microsoft.DataFactory.json b/schemas/2018-06-01/Microsoft.DataFactory.json index a3a52e8408..f6e33d113f 100644 --- a/schemas/2018-06-01/Microsoft.DataFactory.json +++ b/schemas/2018-06-01/Microsoft.DataFactory.json @@ -743,6 +743,22 @@ }, "description": "Execution policy for an activity." }, + "AdditionalColumns": { + "type": "object", + "properties": { + "name": { + "type": "object", + "properties": {}, + "description": "Additional column name. Type: string (or Expression with resultType string)." + }, + "value": { + "type": "object", + "properties": {}, + "description": "Additional column value. Type: string (or Expression with resultType string)." + } + }, + "description": "Specify the column name and value of additional columns." + }, "AmazonMWSLinkedService": { "type": "object", "properties": { @@ -1621,9 +1637,18 @@ "type": "object", "properties": { "additionalColumns": { - "type": "object", - "properties": {}, - "description": "Specifies the additional columns to be added to source data. Type: array of objects(AdditionalColumns) (or Expression with resultType array of objects)." + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/AdditionalColumns" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Specifies the additional columns to be added to source data. Type: array of objects (or Expression with resultType array of objects)." }, "storeSettings": { "oneOf": [ @@ -3022,9 +3047,18 @@ "type": "object", "properties": { "additionalColumns": { - "type": "object", - "properties": {}, - "description": "Specifies the additional columns to be added to source data. Type: array of objects(AdditionalColumns) (or Expression with resultType array of objects)." + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/AdditionalColumns" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Specifies the additional columns to be added to source data. Type: array of objects (or Expression with resultType array of objects)." }, "noTruncation": { "type": "object", @@ -5269,11 +5303,6 @@ "properties": {}, "description": "SQL writer table type. Type: string (or Expression with resultType string)." }, - "sqlWriterUseTableLock": { - "type": "object", - "properties": {}, - "description": "Whether to use table lock during bulk copy. Type: boolean (or Expression with resultType boolean)." - }, "storedProcedureParameters": { "oneOf": [ { @@ -5304,22 +5333,6 @@ "enum": [ "AzureSqlSink" ] - }, - "upsertSettings": { - "oneOf": [ - { - "$ref": "#/definitions/SqlUpsertSettings" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Sql upsert option settings" - }, - "writeBehavior": { - "type": "object", - "properties": {}, - "description": "Write behavior when copying data into Azure SQL. Type: SqlWriteBehaviorEnum (or Expression with resultType SqlWriteBehaviorEnum)" } }, "required": [ @@ -6498,9 +6511,18 @@ "type": "object", "properties": { "additionalColumns": { - "type": "object", - "properties": {}, - "description": "Specifies the additional columns to be added to source data. Type: array of objects(AdditionalColumns) (or Expression with resultType array of objects)." + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/AdditionalColumns" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Specifies the additional columns to be added to source data. Type: array of objects (or Expression with resultType array of objects)." }, "query": { "type": "object", @@ -7504,11 +7526,6 @@ "type": "object", "properties": {}, "description": "The name of the CosmosDB (MongoDB API) database that you want to access. Type: string (or Expression with resultType string)." - }, - "isServerVersionAbove32": { - "type": "object", - "properties": {}, - "description": "Whether the CosmosDB (MongoDB API) server version is higher than 3.2. The default value is false. Type: boolean (or Expression with resultType boolean)." } }, "required": [ @@ -7541,9 +7558,18 @@ "type": "object", "properties": { "additionalColumns": { - "type": "object", - "properties": {}, - "description": "Specifies the additional columns to be added to source data. Type: array of objects(AdditionalColumns) (or Expression with resultType array of objects)." + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/AdditionalColumns" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Specifies the additional columns to be added to source data. Type: array of objects (or Expression with resultType array of objects)." }, "batchSize": { "type": "object", @@ -7648,9 +7674,18 @@ "type": "object", "properties": { "additionalColumns": { - "type": "object", - "properties": {}, - "description": "Specifies the additional columns to be added to source data. Type: array of objects(AdditionalColumns) (or Expression with resultType array of objects)." + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/AdditionalColumns" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Specifies the additional columns to be added to source data. Type: array of objects (or Expression with resultType array of objects)." }, "detectDatetime": { "type": "object", @@ -9747,9 +9782,18 @@ "type": "object", "properties": { "additionalColumns": { - "type": "object", - "properties": {}, - "description": "Specifies the additional columns to be added to source data. Type: array of objects(AdditionalColumns) (or Expression with resultType array of objects)." + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/AdditionalColumns" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Specifies the additional columns to be added to source data. Type: array of objects (or Expression with resultType array of objects)." }, "formatSettings": { "oneOf": [ @@ -9938,9 +9982,18 @@ "type": "object", "properties": { "additionalColumns": { - "type": "object", - "properties": {}, - "description": "Specifies the additional columns to be added to source data. Type: array of objects(AdditionalColumns) (or Expression with resultType array of objects)." + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/AdditionalColumns" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Specifies the additional columns to be added to source data. Type: array of objects (or Expression with resultType array of objects)." }, "nestingSeparator": { "type": "object", @@ -10473,9 +10526,18 @@ "type": "object", "properties": { "additionalColumns": { - "type": "object", - "properties": {}, - "description": "Specifies the additional columns to be added to source data. Type: array of objects(AdditionalColumns) (or Expression with resultType array of objects)." + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/AdditionalColumns" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Specifies the additional columns to be added to source data. Type: array of objects (or Expression with resultType array of objects)." }, "query": { "type": "object", @@ -10684,9 +10746,18 @@ "type": "object", "properties": { "additionalColumns": { - "type": "object", - "properties": {}, - "description": "Specifies the additional columns to be added to source data. Type: array of objects(AdditionalColumns) (or Expression with resultType array of objects)." + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/AdditionalColumns" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Specifies the additional columns to be added to source data. Type: array of objects (or Expression with resultType array of objects)." }, "query": { "type": "object", @@ -11018,9 +11089,18 @@ "type": "object", "properties": { "additionalColumns": { - "type": "object", - "properties": {}, - "description": "Specifies the additional columns to be added to source data. Type: array of objects(AdditionalColumns) (or Expression with resultType array of objects)." + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/AdditionalColumns" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Specifies the additional columns to be added to source data. Type: array of objects (or Expression with resultType array of objects)." }, "storeSettings": { "oneOf": [ @@ -11979,21 +12059,6 @@ "FactoryGitHubConfiguration": { "type": "object", "properties": { - "clientId": { - "type": "string", - "description": "GitHub bring your own app client id." - }, - "clientSecret": { - "oneOf": [ - { - "$ref": "#/definitions/GitHubClientSecret" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Client secret information for factory's bring your own app repository configuration." - }, "hostName": { "type": "string", "description": "GitHub Enterprise host name. For example: https://github.mydomain.com" @@ -12439,9 +12504,18 @@ "type": "object", "properties": { "additionalColumns": { - "type": "object", - "properties": {}, - "description": "Specifies the additional columns to be added to source data. Type: array of objects(AdditionalColumns) (or Expression with resultType array of objects)." + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/AdditionalColumns" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Specifies the additional columns to be added to source data. Type: array of objects (or Expression with resultType array of objects)." }, "recursive": { "type": "object", @@ -12909,20 +12983,6 @@ ], "description": "GetMetadata activity properties." }, - "GitHubClientSecret": { - "type": "object", - "properties": { - "byoaSecretAkvUrl": { - "type": "string", - "description": "Bring your own app client secret AKV URL." - }, - "byoaSecretName": { - "type": "string", - "description": "Bring your own app client secret name in AKV." - } - }, - "description": "Client secret information for factory's bring your own app repository configuration." - }, "GlobalParameterSpecification": { "type": "object", "properties": { @@ -16131,17 +16191,6 @@ ], "description": "Unmatched properties from the message are deserialized this collection" }, - "cleanup": { - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Cluster will not be recycled and it will be used in next data flow activity run until TTL (time to live) is reached if this is set as false. Default is true." - }, "computeType": { "oneOf": [ { @@ -16485,10 +16534,6 @@ "type": "string", "description": "The name of the subnet this integration runtime will join." }, - "subnetId": { - "type": "string", - "description": "The ID of subnet, to which this Azure-SSIS integration runtime will be joined." - }, "vNetId": { "type": "string", "description": "The ID of the VNet that this integration runtime will join." @@ -16810,9 +16855,18 @@ "type": "object", "properties": { "additionalColumns": { - "type": "object", - "properties": {}, - "description": "Specifies the additional columns to be added to source data. Type: array of objects(AdditionalColumns) (or Expression with resultType array of objects)." + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/AdditionalColumns" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Specifies the additional columns to be added to source data. Type: array of objects (or Expression with resultType array of objects)." }, "formatSettings": { "oneOf": [ @@ -18257,9 +18311,18 @@ "type": "object", "properties": { "additionalColumns": { - "type": "object", - "properties": {}, - "description": "Specifies the additional columns to be added to source data. Type: array of objects(AdditionalColumns) (or Expression with resultType array of objects)." + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/AdditionalColumns" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Specifies the additional columns to be added to source data. Type: array of objects (or Expression with resultType array of objects)." }, "query": { "type": "object", @@ -18427,9 +18490,18 @@ "type": "object", "properties": { "additionalColumns": { - "type": "object", - "properties": {}, - "description": "Specifies the additional columns to be added to source data. Type: array of objects(AdditionalColumns) (or Expression with resultType array of objects)." + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/AdditionalColumns" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Specifies the additional columns to be added to source data. Type: array of objects (or Expression with resultType array of objects)." }, "batchSize": { "type": "object", @@ -18659,9 +18731,18 @@ "type": "object", "properties": { "additionalColumns": { - "type": "object", - "properties": {}, - "description": "Specifies the additional columns to be added to source data. Type: array of objects(AdditionalColumns) (or Expression with resultType array of objects)." + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/AdditionalColumns" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Specifies the additional columns to be added to source data. Type: array of objects (or Expression with resultType array of objects)." }, "query": { "type": "object", @@ -18792,9 +18873,18 @@ "type": "object", "properties": { "additionalColumns": { - "type": "object", - "properties": {}, - "description": "Specifies the additional columns to be added to source data. Type: array of objects(AdditionalColumns) (or Expression with resultType array of objects)." + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/AdditionalColumns" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Specifies the additional columns to be added to source data. Type: array of objects (or Expression with resultType array of objects)." }, "batchSize": { "type": "object", @@ -19343,9 +19433,18 @@ "type": "object", "properties": { "additionalColumns": { - "type": "object", - "properties": {}, - "description": "Specifies the additional columns to be added to source data. Type: array of objects(AdditionalColumns) (or Expression with resultType array of objects)." + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/AdditionalColumns" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Specifies the additional columns to be added to source data. Type: array of objects (or Expression with resultType array of objects)." }, "httpRequestTimeout": { "type": "object", @@ -20072,9 +20171,18 @@ "type": "object", "properties": { "additionalColumns": { - "type": "object", - "properties": {}, - "description": "Specifies the additional columns to be added to source data. Type: array of objects(AdditionalColumns) (or Expression with resultType array of objects)." + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/AdditionalColumns" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Specifies the additional columns to be added to source data. Type: array of objects (or Expression with resultType array of objects)." }, "oracleReaderQuery": { "type": "object", @@ -20268,9 +20376,18 @@ "type": "object", "properties": { "additionalColumns": { - "type": "object", - "properties": {}, - "description": "Specifies the additional columns to be added to source data. Type: array of objects(AdditionalColumns) (or Expression with resultType array of objects)." + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/AdditionalColumns" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Specifies the additional columns to be added to source data. Type: array of objects (or Expression with resultType array of objects)." }, "storeSettings": { "oneOf": [ @@ -20493,9 +20610,18 @@ "type": "object", "properties": { "additionalColumns": { - "type": "object", - "properties": {}, - "description": "Specifies the additional columns to be added to source data. Type: array of objects(AdditionalColumns) (or Expression with resultType array of objects)." + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/AdditionalColumns" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Specifies the additional columns to be added to source data. Type: array of objects (or Expression with resultType array of objects)." }, "storeSettings": { "oneOf": [ @@ -21810,9 +21936,18 @@ "type": "object", "properties": { "additionalColumns": { - "type": "object", - "properties": {}, - "description": "Specifies the additional columns to be added to source data. Type: array of objects(AdditionalColumns) (or Expression with resultType array of objects)." + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/AdditionalColumns" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Specifies the additional columns to be added to source data. Type: array of objects (or Expression with resultType array of objects)." }, "query": { "type": "object", @@ -22292,9 +22427,18 @@ "type": "object", "properties": { "additionalColumns": { - "type": "object", - "properties": {}, - "description": "Specifies the additional columns to be added to source data. Type: array of objects(AdditionalColumns) (or Expression with resultType array of objects)." + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/AdditionalColumns" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Specifies the additional columns to be added to source data. Type: array of objects (or Expression with resultType array of objects)." }, "additionalHeaders": { "type": "object", @@ -22755,9 +22899,18 @@ "type": "object", "properties": { "additionalColumns": { - "type": "object", - "properties": {}, - "description": "Specifies the additional columns to be added to source data. Type: array of objects(AdditionalColumns) (or Expression with resultType array of objects)." + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/AdditionalColumns" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Specifies the additional columns to be added to source data. Type: array of objects (or Expression with resultType array of objects)." }, "query": { "type": "object", @@ -25395,11 +25548,6 @@ "properties": {}, "description": "SQL pre-copy script. Type: string (or Expression with resultType string)." }, - "sqlWriterUseTableLock": { - "type": "object", - "properties": {}, - "description": "Whether to use table lock during bulk copy. Type: boolean (or Expression with resultType boolean)." - }, "tableOption": { "type": "object", "properties": {}, @@ -25410,22 +25558,6 @@ "enum": [ "SqlDWSink" ] - }, - "upsertSettings": { - "oneOf": [ - { - "$ref": "#/definitions/SqlDWUpsertSettings" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Sql DW upsert option settings" - }, - "writeBehavior": { - "type": "object", - "properties": {}, - "description": "Write behavior when copying data into azure SQL DW. Type: SqlDWWriteBehaviorEnum (or Expression with resultType SqlDWWriteBehaviorEnum)" } }, "required": [ @@ -25479,22 +25611,6 @@ ], "description": "A copy activity SQL Data Warehouse source." }, - "SqlDWUpsertSettings": { - "type": "object", - "properties": { - "interimSchemaName": { - "type": "object", - "properties": {}, - "description": "Schema name for interim table. Type: string (or Expression with resultType string)." - }, - "keys": { - "type": "object", - "properties": {}, - "description": "Key column names for unique row identification. Type: array of strings (or Expression with resultType array of strings)." - } - }, - "description": "Sql DW upsert option settings" - }, "SqlMISink": { "type": "object", "properties": { @@ -25513,11 +25629,6 @@ "properties": {}, "description": "SQL writer table type. Type: string (or Expression with resultType string)." }, - "sqlWriterUseTableLock": { - "type": "object", - "properties": {}, - "description": "Whether to use table lock during bulk copy. Type: boolean (or Expression with resultType boolean)." - }, "storedProcedureParameters": { "oneOf": [ { @@ -25548,22 +25659,6 @@ "enum": [ "SqlMISink" ] - }, - "upsertSettings": { - "oneOf": [ - { - "$ref": "#/definitions/SqlUpsertSettings" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Sql upsert option settings" - }, - "writeBehavior": { - "type": "object", - "properties": {}, - "description": "White behavior when copying data into azure SQL MI. Type: SqlWriteBehaviorEnum (or Expression with resultType SqlWriteBehaviorEnum)" } }, "required": [ @@ -25744,11 +25839,6 @@ "properties": {}, "description": "SQL writer table type. Type: string (or Expression with resultType string)." }, - "sqlWriterUseTableLock": { - "type": "object", - "properties": {}, - "description": "Whether to use table lock during bulk copy. Type: boolean (or Expression with resultType boolean)." - }, "storedProcedureParameters": { "oneOf": [ { @@ -25779,22 +25869,6 @@ "enum": [ "SqlServerSink" ] - }, - "upsertSettings": { - "oneOf": [ - { - "$ref": "#/definitions/SqlUpsertSettings" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Sql upsert option settings" - }, - "writeBehavior": { - "type": "object", - "properties": {}, - "description": "Write behavior when copying data into sql server. Type: SqlWriteBehaviorEnum (or Expression with resultType SqlWriteBehaviorEnum)" } }, "required": [ @@ -25984,11 +26058,6 @@ "properties": {}, "description": "SQL writer table type. Type: string (or Expression with resultType string)." }, - "sqlWriterUseTableLock": { - "type": "object", - "properties": {}, - "description": "Whether to use table lock during bulk copy. Type: boolean (or Expression with resultType boolean)." - }, "storedProcedureParameters": { "oneOf": [ { @@ -26019,22 +26088,6 @@ "enum": [ "SqlSink" ] - }, - "upsertSettings": { - "oneOf": [ - { - "$ref": "#/definitions/SqlUpsertSettings" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Sql upsert option settings" - }, - "writeBehavior": { - "type": "object", - "properties": {}, - "description": "Write behavior when copying data into sql. Type: SqlWriteBehaviorEnum (or Expression with resultType SqlWriteBehaviorEnum)" } }, "required": [ @@ -26103,27 +26156,6 @@ ], "description": "A copy activity SQL source." }, - "SqlUpsertSettings": { - "type": "object", - "properties": { - "interimSchemaName": { - "type": "object", - "properties": {}, - "description": "Schema name for interim table. Type: string (or Expression with resultType string)." - }, - "keys": { - "type": "object", - "properties": {}, - "description": "Key column names for unique row identification. Type: array of strings (or Expression with resultType array of strings)." - }, - "useTempDB": { - "type": "object", - "properties": {}, - "description": "Specifies whether to use temp db for upsert interim table. Type: boolean (or Expression with resultType boolean)." - } - }, - "description": "Sql upsert option settings" - }, "SquareLinkedService": { "type": "object", "properties": { @@ -27186,9 +27218,18 @@ ], "properties": { "additionalColumns": { - "type": "object", - "properties": {}, - "description": "Specifies the additional columns to be added to source data. Type: array of objects(AdditionalColumns) (or Expression with resultType array of objects)." + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/AdditionalColumns" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Specifies the additional columns to be added to source data. Type: array of objects (or Expression with resultType array of objects)." }, "queryTimeout": { "type": "object", @@ -28575,9 +28616,18 @@ "type": "object", "properties": { "additionalColumns": { - "type": "object", - "properties": {}, - "description": "Specifies the additional columns to be added to source data. Type: array of objects(AdditionalColumns) (or Expression with resultType array of objects)." + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/AdditionalColumns" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Specifies the additional columns to be added to source data. Type: array of objects (or Expression with resultType array of objects)." }, "type": { "type": "string", @@ -28901,9 +28951,18 @@ "type": "object", "properties": { "additionalColumns": { - "type": "object", - "properties": {}, - "description": "Specifies the additional columns to be added to source data. Type: array of objects(AdditionalColumns) (or Expression with resultType array of objects)." + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/AdditionalColumns" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Specifies the additional columns to be added to source data. Type: array of objects (or Expression with resultType array of objects)." }, "formatSettings": { "oneOf": [ From b26e0a438777710b74516c1bf16fba662f1f9dc2 Mon Sep 17 00:00:00 2001 From: SDKAuto Date: Mon, 9 Aug 2021 05:44:43 +0000 Subject: [PATCH 45/64] CodeGen from PR 15499 in Azure/azure-rest-api-specs add_support_for_action_groups (#15499) Co-authored-by: Ilias Khan --- schemas/2017-03-01-preview/Microsoft.Sql.json | 8 ++++---- schemas/2020-02-02-preview/Microsoft.Sql.json | 8 ++++---- schemas/2020-08-01-preview/Microsoft.Sql.json | 8 ++++---- 3 files changed, 12 insertions(+), 12 deletions(-) diff --git a/schemas/2017-03-01-preview/Microsoft.Sql.json b/schemas/2017-03-01-preview/Microsoft.Sql.json index 4c10346eba..764f98692a 100644 --- a/schemas/2017-03-01-preview/Microsoft.Sql.json +++ b/schemas/2017-03-01-preview/Microsoft.Sql.json @@ -1160,7 +1160,7 @@ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" } ], - "description": "Specifies the Actions-Groups and Actions to audit.\r\n\r\nThe recommended set of action groups to use is the following combination - this will audit all the queries and stored procedures executed against the database, as well as successful and failed logins:\r\n\r\nBATCH_COMPLETED_GROUP,\r\nSUCCESSFUL_DATABASE_AUTHENTICATION_GROUP,\r\nFAILED_DATABASE_AUTHENTICATION_GROUP.\r\n\r\nThis above combination is also the set that is configured by default when enabling auditing from the Azure portal.\r\n\r\nThe supported action groups to audit are (note: choose only specific groups that cover your auditing needs. Using unnecessary groups could lead to very large quantities of audit records):\r\n\r\nAPPLICATION_ROLE_CHANGE_PASSWORD_GROUP\r\nBACKUP_RESTORE_GROUP\r\nDATABASE_LOGOUT_GROUP\r\nDATABASE_OBJECT_CHANGE_GROUP\r\nDATABASE_OBJECT_OWNERSHIP_CHANGE_GROUP\r\nDATABASE_OBJECT_PERMISSION_CHANGE_GROUP\r\nDATABASE_OPERATION_GROUP\r\nDATABASE_PERMISSION_CHANGE_GROUP\r\nDATABASE_PRINCIPAL_CHANGE_GROUP\r\nDATABASE_PRINCIPAL_IMPERSONATION_GROUP\r\nDATABASE_ROLE_MEMBER_CHANGE_GROUP\r\nFAILED_DATABASE_AUTHENTICATION_GROUP\r\nSCHEMA_OBJECT_ACCESS_GROUP\r\nSCHEMA_OBJECT_CHANGE_GROUP\r\nSCHEMA_OBJECT_OWNERSHIP_CHANGE_GROUP\r\nSCHEMA_OBJECT_PERMISSION_CHANGE_GROUP\r\nSUCCESSFUL_DATABASE_AUTHENTICATION_GROUP\r\nUSER_CHANGE_PASSWORD_GROUP\r\nBATCH_STARTED_GROUP\r\nBATCH_COMPLETED_GROUP\r\n\r\nThese are groups that cover all sql statements and stored procedures executed against the database, and should not be used in combination with other groups as this will result in duplicate audit logs.\r\n\r\nFor more information, see [Database-Level Audit Action Groups](https://docs.microsoft.com/en-us/sql/relational-databases/security/auditing/sql-server-audit-action-groups-and-actions#database-level-audit-action-groups).\r\n\r\nFor Database auditing policy, specific Actions can also be specified (note that Actions cannot be specified for Server auditing policy). The supported actions to audit are:\r\nSELECT\r\nUPDATE\r\nINSERT\r\nDELETE\r\nEXECUTE\r\nRECEIVE\r\nREFERENCES\r\n\r\nThe general form for defining an action to be audited is:\r\n{action} ON {object} BY {principal}\r\n\r\nNote that in the above format can refer to an object like a table, view, or stored procedure, or an entire database or schema. For the latter cases, the forms DATABASE::{db_name} and SCHEMA::{schema_name} are used, respectively.\r\n\r\nFor example:\r\nSELECT on dbo.myTable by public\r\nSELECT on DATABASE::myDatabase by public\r\nSELECT on SCHEMA::mySchema by public\r\n\r\nFor more information, see [Database-Level Audit Actions](https://docs.microsoft.com/en-us/sql/relational-databases/security/auditing/sql-server-audit-action-groups-and-actions#database-level-audit-actions)" + "description": "Specifies the Actions-Groups and Actions to audit.\r\n\r\nThe recommended set of action groups to use is the following combination - this will audit all the queries and stored procedures executed against the database, as well as successful and failed logins:\r\n\r\nBATCH_COMPLETED_GROUP,\r\nSUCCESSFUL_DATABASE_AUTHENTICATION_GROUP,\r\nFAILED_DATABASE_AUTHENTICATION_GROUP.\r\n\r\nThis above combination is also the set that is configured by default when enabling auditing from the Azure portal.\r\n\r\nThe supported action groups to audit are (note: choose only specific groups that cover your auditing needs. Using unnecessary groups could lead to very large quantities of audit records):\r\n\r\nAPPLICATION_ROLE_CHANGE_PASSWORD_GROUP\r\nBACKUP_RESTORE_GROUP\r\nDATABASE_LOGOUT_GROUP\r\nDATABASE_OBJECT_CHANGE_GROUP\r\nDATABASE_OBJECT_OWNERSHIP_CHANGE_GROUP\r\nDATABASE_OBJECT_PERMISSION_CHANGE_GROUP\r\nDATABASE_OPERATION_GROUP\r\nDATABASE_PERMISSION_CHANGE_GROUP\r\nDATABASE_PRINCIPAL_CHANGE_GROUP\r\nDATABASE_PRINCIPAL_IMPERSONATION_GROUP\r\nDATABASE_ROLE_MEMBER_CHANGE_GROUP\r\nFAILED_DATABASE_AUTHENTICATION_GROUP\r\nSCHEMA_OBJECT_ACCESS_GROUP\r\nSCHEMA_OBJECT_CHANGE_GROUP\r\nSCHEMA_OBJECT_OWNERSHIP_CHANGE_GROUP\r\nSCHEMA_OBJECT_PERMISSION_CHANGE_GROUP\r\nSUCCESSFUL_DATABASE_AUTHENTICATION_GROUP\r\nUSER_CHANGE_PASSWORD_GROUP\r\nBATCH_STARTED_GROUP\r\nBATCH_COMPLETED_GROUP\r\nDBCC_GROUP\r\nDATABASE_OWNERSHIP_CHANGE_GROUP\r\nDATABASE_CHANGE_GROUP\r\n\r\nThese are groups that cover all sql statements and stored procedures executed against the database, and should not be used in combination with other groups as this will result in duplicate audit logs.\r\n\r\nFor more information, see [Database-Level Audit Action Groups](https://docs.microsoft.com/en-us/sql/relational-databases/security/auditing/sql-server-audit-action-groups-and-actions#database-level-audit-action-groups).\r\n\r\nFor Database auditing policy, specific Actions can also be specified (note that Actions cannot be specified for Server auditing policy). The supported actions to audit are:\r\nSELECT\r\nUPDATE\r\nINSERT\r\nDELETE\r\nEXECUTE\r\nRECEIVE\r\nREFERENCES\r\n\r\nThe general form for defining an action to be audited is:\r\n{action} ON {object} BY {principal}\r\n\r\nNote that in the above format can refer to an object like a table, view, or stored procedure, or an entire database or schema. For the latter cases, the forms DATABASE::{db_name} and SCHEMA::{schema_name} are used, respectively.\r\n\r\nFor example:\r\nSELECT on dbo.myTable by public\r\nSELECT on DATABASE::myDatabase by public\r\nSELECT on SCHEMA::mySchema by public\r\n\r\nFor more information, see [Database-Level Audit Actions](https://docs.microsoft.com/en-us/sql/relational-databases/security/auditing/sql-server-audit-action-groups-and-actions#database-level-audit-actions)" }, "isAzureMonitorTargetEnabled": { "oneOf": [ @@ -1457,7 +1457,7 @@ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" } ], - "description": "Specifies the Actions-Groups and Actions to audit.\r\n\r\nThe recommended set of action groups to use is the following combination - this will audit all the queries and stored procedures executed against the database, as well as successful and failed logins:\r\n\r\nBATCH_COMPLETED_GROUP,\r\nSUCCESSFUL_DATABASE_AUTHENTICATION_GROUP,\r\nFAILED_DATABASE_AUTHENTICATION_GROUP.\r\n\r\nThis above combination is also the set that is configured by default when enabling auditing from the Azure portal.\r\n\r\nThe supported action groups to audit are (note: choose only specific groups that cover your auditing needs. Using unnecessary groups could lead to very large quantities of audit records):\r\n\r\nAPPLICATION_ROLE_CHANGE_PASSWORD_GROUP\r\nBACKUP_RESTORE_GROUP\r\nDATABASE_LOGOUT_GROUP\r\nDATABASE_OBJECT_CHANGE_GROUP\r\nDATABASE_OBJECT_OWNERSHIP_CHANGE_GROUP\r\nDATABASE_OBJECT_PERMISSION_CHANGE_GROUP\r\nDATABASE_OPERATION_GROUP\r\nDATABASE_PERMISSION_CHANGE_GROUP\r\nDATABASE_PRINCIPAL_CHANGE_GROUP\r\nDATABASE_PRINCIPAL_IMPERSONATION_GROUP\r\nDATABASE_ROLE_MEMBER_CHANGE_GROUP\r\nFAILED_DATABASE_AUTHENTICATION_GROUP\r\nSCHEMA_OBJECT_ACCESS_GROUP\r\nSCHEMA_OBJECT_CHANGE_GROUP\r\nSCHEMA_OBJECT_OWNERSHIP_CHANGE_GROUP\r\nSCHEMA_OBJECT_PERMISSION_CHANGE_GROUP\r\nSUCCESSFUL_DATABASE_AUTHENTICATION_GROUP\r\nUSER_CHANGE_PASSWORD_GROUP\r\nBATCH_STARTED_GROUP\r\nBATCH_COMPLETED_GROUP\r\n\r\nThese are groups that cover all sql statements and stored procedures executed against the database, and should not be used in combination with other groups as this will result in duplicate audit logs.\r\n\r\nFor more information, see [Database-Level Audit Action Groups](https://docs.microsoft.com/en-us/sql/relational-databases/security/auditing/sql-server-audit-action-groups-and-actions#database-level-audit-action-groups).\r\n\r\nFor Database auditing policy, specific Actions can also be specified (note that Actions cannot be specified for Server auditing policy). The supported actions to audit are:\r\nSELECT\r\nUPDATE\r\nINSERT\r\nDELETE\r\nEXECUTE\r\nRECEIVE\r\nREFERENCES\r\n\r\nThe general form for defining an action to be audited is:\r\n{action} ON {object} BY {principal}\r\n\r\nNote that in the above format can refer to an object like a table, view, or stored procedure, or an entire database or schema. For the latter cases, the forms DATABASE::{db_name} and SCHEMA::{schema_name} are used, respectively.\r\n\r\nFor example:\r\nSELECT on dbo.myTable by public\r\nSELECT on DATABASE::myDatabase by public\r\nSELECT on SCHEMA::mySchema by public\r\n\r\nFor more information, see [Database-Level Audit Actions](https://docs.microsoft.com/en-us/sql/relational-databases/security/auditing/sql-server-audit-action-groups-and-actions#database-level-audit-actions)" + "description": "Specifies the Actions-Groups and Actions to audit.\r\n\r\nThe recommended set of action groups to use is the following combination - this will audit all the queries and stored procedures executed against the database, as well as successful and failed logins:\r\n\r\nBATCH_COMPLETED_GROUP,\r\nSUCCESSFUL_DATABASE_AUTHENTICATION_GROUP,\r\nFAILED_DATABASE_AUTHENTICATION_GROUP.\r\n\r\nThis above combination is also the set that is configured by default when enabling auditing from the Azure portal.\r\n\r\nThe supported action groups to audit are (note: choose only specific groups that cover your auditing needs. Using unnecessary groups could lead to very large quantities of audit records):\r\n\r\nAPPLICATION_ROLE_CHANGE_PASSWORD_GROUP\r\nBACKUP_RESTORE_GROUP\r\nDATABASE_LOGOUT_GROUP\r\nDATABASE_OBJECT_CHANGE_GROUP\r\nDATABASE_OBJECT_OWNERSHIP_CHANGE_GROUP\r\nDATABASE_OBJECT_PERMISSION_CHANGE_GROUP\r\nDATABASE_OPERATION_GROUP\r\nDATABASE_PERMISSION_CHANGE_GROUP\r\nDATABASE_PRINCIPAL_CHANGE_GROUP\r\nDATABASE_PRINCIPAL_IMPERSONATION_GROUP\r\nDATABASE_ROLE_MEMBER_CHANGE_GROUP\r\nFAILED_DATABASE_AUTHENTICATION_GROUP\r\nSCHEMA_OBJECT_ACCESS_GROUP\r\nSCHEMA_OBJECT_CHANGE_GROUP\r\nSCHEMA_OBJECT_OWNERSHIP_CHANGE_GROUP\r\nSCHEMA_OBJECT_PERMISSION_CHANGE_GROUP\r\nSUCCESSFUL_DATABASE_AUTHENTICATION_GROUP\r\nUSER_CHANGE_PASSWORD_GROUP\r\nBATCH_STARTED_GROUP\r\nBATCH_COMPLETED_GROUP\r\nDBCC_GROUP\r\nDATABASE_OWNERSHIP_CHANGE_GROUP\r\nDATABASE_CHANGE_GROUP\r\n\r\nThese are groups that cover all sql statements and stored procedures executed against the database, and should not be used in combination with other groups as this will result in duplicate audit logs.\r\n\r\nFor more information, see [Database-Level Audit Action Groups](https://docs.microsoft.com/en-us/sql/relational-databases/security/auditing/sql-server-audit-action-groups-and-actions#database-level-audit-action-groups).\r\n\r\nFor Database auditing policy, specific Actions can also be specified (note that Actions cannot be specified for Server auditing policy). The supported actions to audit are:\r\nSELECT\r\nUPDATE\r\nINSERT\r\nDELETE\r\nEXECUTE\r\nRECEIVE\r\nREFERENCES\r\n\r\nThe general form for defining an action to be audited is:\r\n{action} ON {object} BY {principal}\r\n\r\nNote that in the above format can refer to an object like a table, view, or stored procedure, or an entire database or schema. For the latter cases, the forms DATABASE::{db_name} and SCHEMA::{schema_name} are used, respectively.\r\n\r\nFor example:\r\nSELECT on dbo.myTable by public\r\nSELECT on DATABASE::myDatabase by public\r\nSELECT on SCHEMA::mySchema by public\r\n\r\nFor more information, see [Database-Level Audit Actions](https://docs.microsoft.com/en-us/sql/relational-databases/security/auditing/sql-server-audit-action-groups-and-actions#database-level-audit-actions)" }, "isAzureMonitorTargetEnabled": { "oneOf": [ @@ -1563,7 +1563,7 @@ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" } ], - "description": "Specifies the Actions-Groups and Actions to audit.\r\n\r\nThe recommended set of action groups to use is the following combination - this will audit all the queries and stored procedures executed against the database, as well as successful and failed logins:\r\n\r\nBATCH_COMPLETED_GROUP,\r\nSUCCESSFUL_DATABASE_AUTHENTICATION_GROUP,\r\nFAILED_DATABASE_AUTHENTICATION_GROUP.\r\n\r\nThis above combination is also the set that is configured by default when enabling auditing from the Azure portal.\r\n\r\nThe supported action groups to audit are (note: choose only specific groups that cover your auditing needs. Using unnecessary groups could lead to very large quantities of audit records):\r\n\r\nAPPLICATION_ROLE_CHANGE_PASSWORD_GROUP\r\nBACKUP_RESTORE_GROUP\r\nDATABASE_LOGOUT_GROUP\r\nDATABASE_OBJECT_CHANGE_GROUP\r\nDATABASE_OBJECT_OWNERSHIP_CHANGE_GROUP\r\nDATABASE_OBJECT_PERMISSION_CHANGE_GROUP\r\nDATABASE_OPERATION_GROUP\r\nDATABASE_PERMISSION_CHANGE_GROUP\r\nDATABASE_PRINCIPAL_CHANGE_GROUP\r\nDATABASE_PRINCIPAL_IMPERSONATION_GROUP\r\nDATABASE_ROLE_MEMBER_CHANGE_GROUP\r\nFAILED_DATABASE_AUTHENTICATION_GROUP\r\nSCHEMA_OBJECT_ACCESS_GROUP\r\nSCHEMA_OBJECT_CHANGE_GROUP\r\nSCHEMA_OBJECT_OWNERSHIP_CHANGE_GROUP\r\nSCHEMA_OBJECT_PERMISSION_CHANGE_GROUP\r\nSUCCESSFUL_DATABASE_AUTHENTICATION_GROUP\r\nUSER_CHANGE_PASSWORD_GROUP\r\nBATCH_STARTED_GROUP\r\nBATCH_COMPLETED_GROUP\r\n\r\nThese are groups that cover all sql statements and stored procedures executed against the database, and should not be used in combination with other groups as this will result in duplicate audit logs.\r\n\r\nFor more information, see [Database-Level Audit Action Groups](https://docs.microsoft.com/en-us/sql/relational-databases/security/auditing/sql-server-audit-action-groups-and-actions#database-level-audit-action-groups).\r\n\r\nFor Database auditing policy, specific Actions can also be specified (note that Actions cannot be specified for Server auditing policy). The supported actions to audit are:\r\nSELECT\r\nUPDATE\r\nINSERT\r\nDELETE\r\nEXECUTE\r\nRECEIVE\r\nREFERENCES\r\n\r\nThe general form for defining an action to be audited is:\r\n{action} ON {object} BY {principal}\r\n\r\nNote that in the above format can refer to an object like a table, view, or stored procedure, or an entire database or schema. For the latter cases, the forms DATABASE::{db_name} and SCHEMA::{schema_name} are used, respectively.\r\n\r\nFor example:\r\nSELECT on dbo.myTable by public\r\nSELECT on DATABASE::myDatabase by public\r\nSELECT on SCHEMA::mySchema by public\r\n\r\nFor more information, see [Database-Level Audit Actions](https://docs.microsoft.com/en-us/sql/relational-databases/security/auditing/sql-server-audit-action-groups-and-actions#database-level-audit-actions)" + "description": "Specifies the Actions-Groups and Actions to audit.\r\n\r\nThe recommended set of action groups to use is the following combination - this will audit all the queries and stored procedures executed against the database, as well as successful and failed logins:\r\n\r\nBATCH_COMPLETED_GROUP,\r\nSUCCESSFUL_DATABASE_AUTHENTICATION_GROUP,\r\nFAILED_DATABASE_AUTHENTICATION_GROUP.\r\n\r\nThis above combination is also the set that is configured by default when enabling auditing from the Azure portal.\r\n\r\nThe supported action groups to audit are (note: choose only specific groups that cover your auditing needs. Using unnecessary groups could lead to very large quantities of audit records):\r\n\r\nAPPLICATION_ROLE_CHANGE_PASSWORD_GROUP\r\nBACKUP_RESTORE_GROUP\r\nDATABASE_LOGOUT_GROUP\r\nDATABASE_OBJECT_CHANGE_GROUP\r\nDATABASE_OBJECT_OWNERSHIP_CHANGE_GROUP\r\nDATABASE_OBJECT_PERMISSION_CHANGE_GROUP\r\nDATABASE_OPERATION_GROUP\r\nDATABASE_PERMISSION_CHANGE_GROUP\r\nDATABASE_PRINCIPAL_CHANGE_GROUP\r\nDATABASE_PRINCIPAL_IMPERSONATION_GROUP\r\nDATABASE_ROLE_MEMBER_CHANGE_GROUP\r\nFAILED_DATABASE_AUTHENTICATION_GROUP\r\nSCHEMA_OBJECT_ACCESS_GROUP\r\nSCHEMA_OBJECT_CHANGE_GROUP\r\nSCHEMA_OBJECT_OWNERSHIP_CHANGE_GROUP\r\nSCHEMA_OBJECT_PERMISSION_CHANGE_GROUP\r\nSUCCESSFUL_DATABASE_AUTHENTICATION_GROUP\r\nUSER_CHANGE_PASSWORD_GROUP\r\nBATCH_STARTED_GROUP\r\nBATCH_COMPLETED_GROUP\r\nDBCC_GROUP\r\nDATABASE_OWNERSHIP_CHANGE_GROUP\r\nDATABASE_CHANGE_GROUP\r\n\r\nThese are groups that cover all sql statements and stored procedures executed against the database, and should not be used in combination with other groups as this will result in duplicate audit logs.\r\n\r\nFor more information, see [Database-Level Audit Action Groups](https://docs.microsoft.com/en-us/sql/relational-databases/security/auditing/sql-server-audit-action-groups-and-actions#database-level-audit-action-groups).\r\n\r\nFor Database auditing policy, specific Actions can also be specified (note that Actions cannot be specified for Server auditing policy). The supported actions to audit are:\r\nSELECT\r\nUPDATE\r\nINSERT\r\nDELETE\r\nEXECUTE\r\nRECEIVE\r\nREFERENCES\r\n\r\nThe general form for defining an action to be audited is:\r\n{action} ON {object} BY {principal}\r\n\r\nNote that in the above format can refer to an object like a table, view, or stored procedure, or an entire database or schema. For the latter cases, the forms DATABASE::{db_name} and SCHEMA::{schema_name} are used, respectively.\r\n\r\nFor example:\r\nSELECT on dbo.myTable by public\r\nSELECT on DATABASE::myDatabase by public\r\nSELECT on SCHEMA::mySchema by public\r\n\r\nFor more information, see [Database-Level Audit Actions](https://docs.microsoft.com/en-us/sql/relational-databases/security/auditing/sql-server-audit-action-groups-and-actions#database-level-audit-actions)" }, "isAzureMonitorTargetEnabled": { "oneOf": [ @@ -2465,7 +2465,7 @@ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" } ], - "description": "Specifies the Actions-Groups and Actions to audit.\r\n\r\nThe recommended set of action groups to use is the following combination - this will audit all the queries and stored procedures executed against the database, as well as successful and failed logins:\r\n\r\nBATCH_COMPLETED_GROUP,\r\nSUCCESSFUL_DATABASE_AUTHENTICATION_GROUP,\r\nFAILED_DATABASE_AUTHENTICATION_GROUP.\r\n\r\nThis above combination is also the set that is configured by default when enabling auditing from the Azure portal.\r\n\r\nThe supported action groups to audit are (note: choose only specific groups that cover your auditing needs. Using unnecessary groups could lead to very large quantities of audit records):\r\n\r\nAPPLICATION_ROLE_CHANGE_PASSWORD_GROUP\r\nBACKUP_RESTORE_GROUP\r\nDATABASE_LOGOUT_GROUP\r\nDATABASE_OBJECT_CHANGE_GROUP\r\nDATABASE_OBJECT_OWNERSHIP_CHANGE_GROUP\r\nDATABASE_OBJECT_PERMISSION_CHANGE_GROUP\r\nDATABASE_OPERATION_GROUP\r\nDATABASE_PERMISSION_CHANGE_GROUP\r\nDATABASE_PRINCIPAL_CHANGE_GROUP\r\nDATABASE_PRINCIPAL_IMPERSONATION_GROUP\r\nDATABASE_ROLE_MEMBER_CHANGE_GROUP\r\nFAILED_DATABASE_AUTHENTICATION_GROUP\r\nSCHEMA_OBJECT_ACCESS_GROUP\r\nSCHEMA_OBJECT_CHANGE_GROUP\r\nSCHEMA_OBJECT_OWNERSHIP_CHANGE_GROUP\r\nSCHEMA_OBJECT_PERMISSION_CHANGE_GROUP\r\nSUCCESSFUL_DATABASE_AUTHENTICATION_GROUP\r\nUSER_CHANGE_PASSWORD_GROUP\r\nBATCH_STARTED_GROUP\r\nBATCH_COMPLETED_GROUP\r\n\r\nThese are groups that cover all sql statements and stored procedures executed against the database, and should not be used in combination with other groups as this will result in duplicate audit logs.\r\n\r\nFor more information, see [Database-Level Audit Action Groups](https://docs.microsoft.com/en-us/sql/relational-databases/security/auditing/sql-server-audit-action-groups-and-actions#database-level-audit-action-groups).\r\n\r\nFor Database auditing policy, specific Actions can also be specified (note that Actions cannot be specified for Server auditing policy). The supported actions to audit are:\r\nSELECT\r\nUPDATE\r\nINSERT\r\nDELETE\r\nEXECUTE\r\nRECEIVE\r\nREFERENCES\r\n\r\nThe general form for defining an action to be audited is:\r\n{action} ON {object} BY {principal}\r\n\r\nNote that in the above format can refer to an object like a table, view, or stored procedure, or an entire database or schema. For the latter cases, the forms DATABASE::{db_name} and SCHEMA::{schema_name} are used, respectively.\r\n\r\nFor example:\r\nSELECT on dbo.myTable by public\r\nSELECT on DATABASE::myDatabase by public\r\nSELECT on SCHEMA::mySchema by public\r\n\r\nFor more information, see [Database-Level Audit Actions](https://docs.microsoft.com/en-us/sql/relational-databases/security/auditing/sql-server-audit-action-groups-and-actions#database-level-audit-actions)" + "description": "Specifies the Actions-Groups and Actions to audit.\r\n\r\nThe recommended set of action groups to use is the following combination - this will audit all the queries and stored procedures executed against the database, as well as successful and failed logins:\r\n\r\nBATCH_COMPLETED_GROUP,\r\nSUCCESSFUL_DATABASE_AUTHENTICATION_GROUP,\r\nFAILED_DATABASE_AUTHENTICATION_GROUP.\r\n\r\nThis above combination is also the set that is configured by default when enabling auditing from the Azure portal.\r\n\r\nThe supported action groups to audit are (note: choose only specific groups that cover your auditing needs. Using unnecessary groups could lead to very large quantities of audit records):\r\n\r\nAPPLICATION_ROLE_CHANGE_PASSWORD_GROUP\r\nBACKUP_RESTORE_GROUP\r\nDATABASE_LOGOUT_GROUP\r\nDATABASE_OBJECT_CHANGE_GROUP\r\nDATABASE_OBJECT_OWNERSHIP_CHANGE_GROUP\r\nDATABASE_OBJECT_PERMISSION_CHANGE_GROUP\r\nDATABASE_OPERATION_GROUP\r\nDATABASE_PERMISSION_CHANGE_GROUP\r\nDATABASE_PRINCIPAL_CHANGE_GROUP\r\nDATABASE_PRINCIPAL_IMPERSONATION_GROUP\r\nDATABASE_ROLE_MEMBER_CHANGE_GROUP\r\nFAILED_DATABASE_AUTHENTICATION_GROUP\r\nSCHEMA_OBJECT_ACCESS_GROUP\r\nSCHEMA_OBJECT_CHANGE_GROUP\r\nSCHEMA_OBJECT_OWNERSHIP_CHANGE_GROUP\r\nSCHEMA_OBJECT_PERMISSION_CHANGE_GROUP\r\nSUCCESSFUL_DATABASE_AUTHENTICATION_GROUP\r\nUSER_CHANGE_PASSWORD_GROUP\r\nBATCH_STARTED_GROUP\r\nBATCH_COMPLETED_GROUP\r\nDBCC_GROUP\r\nDATABASE_OWNERSHIP_CHANGE_GROUP\r\nDATABASE_CHANGE_GROUP\r\n\r\nThese are groups that cover all sql statements and stored procedures executed against the database, and should not be used in combination with other groups as this will result in duplicate audit logs.\r\n\r\nFor more information, see [Database-Level Audit Action Groups](https://docs.microsoft.com/en-us/sql/relational-databases/security/auditing/sql-server-audit-action-groups-and-actions#database-level-audit-action-groups).\r\n\r\nFor Database auditing policy, specific Actions can also be specified (note that Actions cannot be specified for Server auditing policy). The supported actions to audit are:\r\nSELECT\r\nUPDATE\r\nINSERT\r\nDELETE\r\nEXECUTE\r\nRECEIVE\r\nREFERENCES\r\n\r\nThe general form for defining an action to be audited is:\r\n{action} ON {object} BY {principal}\r\n\r\nNote that in the above format can refer to an object like a table, view, or stored procedure, or an entire database or schema. For the latter cases, the forms DATABASE::{db_name} and SCHEMA::{schema_name} are used, respectively.\r\n\r\nFor example:\r\nSELECT on dbo.myTable by public\r\nSELECT on DATABASE::myDatabase by public\r\nSELECT on SCHEMA::mySchema by public\r\n\r\nFor more information, see [Database-Level Audit Actions](https://docs.microsoft.com/en-us/sql/relational-databases/security/auditing/sql-server-audit-action-groups-and-actions#database-level-audit-actions)" }, "isAzureMonitorTargetEnabled": { "oneOf": [ diff --git a/schemas/2020-02-02-preview/Microsoft.Sql.json b/schemas/2020-02-02-preview/Microsoft.Sql.json index 9651f94450..96f14b214a 100644 --- a/schemas/2020-02-02-preview/Microsoft.Sql.json +++ b/schemas/2020-02-02-preview/Microsoft.Sql.json @@ -3106,7 +3106,7 @@ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" } ], - "description": "Specifies the Actions-Groups and Actions to audit.\r\n\r\nThe recommended set of action groups to use is the following combination - this will audit all the queries and stored procedures executed against the database, as well as successful and failed logins:\r\n\r\nBATCH_COMPLETED_GROUP,\r\nSUCCESSFUL_DATABASE_AUTHENTICATION_GROUP,\r\nFAILED_DATABASE_AUTHENTICATION_GROUP.\r\n\r\nThis above combination is also the set that is configured by default when enabling auditing from the Azure portal.\r\n\r\nThe supported action groups to audit are (note: choose only specific groups that cover your auditing needs. Using unnecessary groups could lead to very large quantities of audit records):\r\n\r\nAPPLICATION_ROLE_CHANGE_PASSWORD_GROUP\r\nBACKUP_RESTORE_GROUP\r\nDATABASE_LOGOUT_GROUP\r\nDATABASE_OBJECT_CHANGE_GROUP\r\nDATABASE_OBJECT_OWNERSHIP_CHANGE_GROUP\r\nDATABASE_OBJECT_PERMISSION_CHANGE_GROUP\r\nDATABASE_OPERATION_GROUP\r\nDATABASE_PERMISSION_CHANGE_GROUP\r\nDATABASE_PRINCIPAL_CHANGE_GROUP\r\nDATABASE_PRINCIPAL_IMPERSONATION_GROUP\r\nDATABASE_ROLE_MEMBER_CHANGE_GROUP\r\nFAILED_DATABASE_AUTHENTICATION_GROUP\r\nSCHEMA_OBJECT_ACCESS_GROUP\r\nSCHEMA_OBJECT_CHANGE_GROUP\r\nSCHEMA_OBJECT_OWNERSHIP_CHANGE_GROUP\r\nSCHEMA_OBJECT_PERMISSION_CHANGE_GROUP\r\nSUCCESSFUL_DATABASE_AUTHENTICATION_GROUP\r\nUSER_CHANGE_PASSWORD_GROUP\r\nBATCH_STARTED_GROUP\r\nBATCH_COMPLETED_GROUP\r\n\r\nThese are groups that cover all sql statements and stored procedures executed against the database, and should not be used in combination with other groups as this will result in duplicate audit logs.\r\n\r\nFor more information, see [Database-Level Audit Action Groups](https://docs.microsoft.com/en-us/sql/relational-databases/security/auditing/sql-server-audit-action-groups-and-actions#database-level-audit-action-groups).\r\n\r\nFor Database auditing policy, specific Actions can also be specified (note that Actions cannot be specified for Server auditing policy). The supported actions to audit are:\r\nSELECT\r\nUPDATE\r\nINSERT\r\nDELETE\r\nEXECUTE\r\nRECEIVE\r\nREFERENCES\r\n\r\nThe general form for defining an action to be audited is:\r\n{action} ON {object} BY {principal}\r\n\r\nNote that in the above format can refer to an object like a table, view, or stored procedure, or an entire database or schema. For the latter cases, the forms DATABASE::{db_name} and SCHEMA::{schema_name} are used, respectively.\r\n\r\nFor example:\r\nSELECT on dbo.myTable by public\r\nSELECT on DATABASE::myDatabase by public\r\nSELECT on SCHEMA::mySchema by public\r\n\r\nFor more information, see [Database-Level Audit Actions](https://docs.microsoft.com/en-us/sql/relational-databases/security/auditing/sql-server-audit-action-groups-and-actions#database-level-audit-actions)" + "description": "Specifies the Actions-Groups and Actions to audit.\r\n\r\nThe recommended set of action groups to use is the following combination - this will audit all the queries and stored procedures executed against the database, as well as successful and failed logins:\r\n\r\nBATCH_COMPLETED_GROUP,\r\nSUCCESSFUL_DATABASE_AUTHENTICATION_GROUP,\r\nFAILED_DATABASE_AUTHENTICATION_GROUP.\r\n\r\nThis above combination is also the set that is configured by default when enabling auditing from the Azure portal.\r\n\r\nThe supported action groups to audit are (note: choose only specific groups that cover your auditing needs. Using unnecessary groups could lead to very large quantities of audit records):\r\n\r\nAPPLICATION_ROLE_CHANGE_PASSWORD_GROUP\r\nBACKUP_RESTORE_GROUP\r\nDATABASE_LOGOUT_GROUP\r\nDATABASE_OBJECT_CHANGE_GROUP\r\nDATABASE_OBJECT_OWNERSHIP_CHANGE_GROUP\r\nDATABASE_OBJECT_PERMISSION_CHANGE_GROUP\r\nDATABASE_OPERATION_GROUP\r\nDATABASE_PERMISSION_CHANGE_GROUP\r\nDATABASE_PRINCIPAL_CHANGE_GROUP\r\nDATABASE_PRINCIPAL_IMPERSONATION_GROUP\r\nDATABASE_ROLE_MEMBER_CHANGE_GROUP\r\nFAILED_DATABASE_AUTHENTICATION_GROUP\r\nSCHEMA_OBJECT_ACCESS_GROUP\r\nSCHEMA_OBJECT_CHANGE_GROUP\r\nSCHEMA_OBJECT_OWNERSHIP_CHANGE_GROUP\r\nSCHEMA_OBJECT_PERMISSION_CHANGE_GROUP\r\nSUCCESSFUL_DATABASE_AUTHENTICATION_GROUP\r\nUSER_CHANGE_PASSWORD_GROUP\r\nBATCH_STARTED_GROUP\r\nBATCH_COMPLETED_GROUP\r\nDBCC_GROUP\r\nDATABASE_OWNERSHIP_CHANGE_GROUP\r\nDATABASE_CHANGE_GROUP\r\n\r\nThese are groups that cover all sql statements and stored procedures executed against the database, and should not be used in combination with other groups as this will result in duplicate audit logs.\r\n\r\nFor more information, see [Database-Level Audit Action Groups](https://docs.microsoft.com/en-us/sql/relational-databases/security/auditing/sql-server-audit-action-groups-and-actions#database-level-audit-action-groups).\r\n\r\nFor Database auditing policy, specific Actions can also be specified (note that Actions cannot be specified for Server auditing policy). The supported actions to audit are:\r\nSELECT\r\nUPDATE\r\nINSERT\r\nDELETE\r\nEXECUTE\r\nRECEIVE\r\nREFERENCES\r\n\r\nThe general form for defining an action to be audited is:\r\n{action} ON {object} BY {principal}\r\n\r\nNote that in the above format can refer to an object like a table, view, or stored procedure, or an entire database or schema. For the latter cases, the forms DATABASE::{db_name} and SCHEMA::{schema_name} are used, respectively.\r\n\r\nFor example:\r\nSELECT on dbo.myTable by public\r\nSELECT on DATABASE::myDatabase by public\r\nSELECT on SCHEMA::mySchema by public\r\n\r\nFor more information, see [Database-Level Audit Actions](https://docs.microsoft.com/en-us/sql/relational-databases/security/auditing/sql-server-audit-action-groups-and-actions#database-level-audit-actions)" }, "isAzureMonitorTargetEnabled": { "oneOf": [ @@ -3592,7 +3592,7 @@ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" } ], - "description": "Specifies the Actions-Groups and Actions to audit.\r\n\r\nThe recommended set of action groups to use is the following combination - this will audit all the queries and stored procedures executed against the database, as well as successful and failed logins:\r\n\r\nBATCH_COMPLETED_GROUP,\r\nSUCCESSFUL_DATABASE_AUTHENTICATION_GROUP,\r\nFAILED_DATABASE_AUTHENTICATION_GROUP.\r\n\r\nThis above combination is also the set that is configured by default when enabling auditing from the Azure portal.\r\n\r\nThe supported action groups to audit are (note: choose only specific groups that cover your auditing needs. Using unnecessary groups could lead to very large quantities of audit records):\r\n\r\nAPPLICATION_ROLE_CHANGE_PASSWORD_GROUP\r\nBACKUP_RESTORE_GROUP\r\nDATABASE_LOGOUT_GROUP\r\nDATABASE_OBJECT_CHANGE_GROUP\r\nDATABASE_OBJECT_OWNERSHIP_CHANGE_GROUP\r\nDATABASE_OBJECT_PERMISSION_CHANGE_GROUP\r\nDATABASE_OPERATION_GROUP\r\nDATABASE_PERMISSION_CHANGE_GROUP\r\nDATABASE_PRINCIPAL_CHANGE_GROUP\r\nDATABASE_PRINCIPAL_IMPERSONATION_GROUP\r\nDATABASE_ROLE_MEMBER_CHANGE_GROUP\r\nFAILED_DATABASE_AUTHENTICATION_GROUP\r\nSCHEMA_OBJECT_ACCESS_GROUP\r\nSCHEMA_OBJECT_CHANGE_GROUP\r\nSCHEMA_OBJECT_OWNERSHIP_CHANGE_GROUP\r\nSCHEMA_OBJECT_PERMISSION_CHANGE_GROUP\r\nSUCCESSFUL_DATABASE_AUTHENTICATION_GROUP\r\nUSER_CHANGE_PASSWORD_GROUP\r\nBATCH_STARTED_GROUP\r\nBATCH_COMPLETED_GROUP\r\n\r\nThese are groups that cover all sql statements and stored procedures executed against the database, and should not be used in combination with other groups as this will result in duplicate audit logs.\r\n\r\nFor more information, see [Database-Level Audit Action Groups](https://docs.microsoft.com/en-us/sql/relational-databases/security/auditing/sql-server-audit-action-groups-and-actions#database-level-audit-action-groups).\r\n\r\nFor Database auditing policy, specific Actions can also be specified (note that Actions cannot be specified for Server auditing policy). The supported actions to audit are:\r\nSELECT\r\nUPDATE\r\nINSERT\r\nDELETE\r\nEXECUTE\r\nRECEIVE\r\nREFERENCES\r\n\r\nThe general form for defining an action to be audited is:\r\n{action} ON {object} BY {principal}\r\n\r\nNote that in the above format can refer to an object like a table, view, or stored procedure, or an entire database or schema. For the latter cases, the forms DATABASE::{db_name} and SCHEMA::{schema_name} are used, respectively.\r\n\r\nFor example:\r\nSELECT on dbo.myTable by public\r\nSELECT on DATABASE::myDatabase by public\r\nSELECT on SCHEMA::mySchema by public\r\n\r\nFor more information, see [Database-Level Audit Actions](https://docs.microsoft.com/en-us/sql/relational-databases/security/auditing/sql-server-audit-action-groups-and-actions#database-level-audit-actions)" + "description": "Specifies the Actions-Groups and Actions to audit.\r\n\r\nThe recommended set of action groups to use is the following combination - this will audit all the queries and stored procedures executed against the database, as well as successful and failed logins:\r\n\r\nBATCH_COMPLETED_GROUP,\r\nSUCCESSFUL_DATABASE_AUTHENTICATION_GROUP,\r\nFAILED_DATABASE_AUTHENTICATION_GROUP.\r\n\r\nThis above combination is also the set that is configured by default when enabling auditing from the Azure portal.\r\n\r\nThe supported action groups to audit are (note: choose only specific groups that cover your auditing needs. Using unnecessary groups could lead to very large quantities of audit records):\r\n\r\nAPPLICATION_ROLE_CHANGE_PASSWORD_GROUP\r\nBACKUP_RESTORE_GROUP\r\nDATABASE_LOGOUT_GROUP\r\nDATABASE_OBJECT_CHANGE_GROUP\r\nDATABASE_OBJECT_OWNERSHIP_CHANGE_GROUP\r\nDATABASE_OBJECT_PERMISSION_CHANGE_GROUP\r\nDATABASE_OPERATION_GROUP\r\nDATABASE_PERMISSION_CHANGE_GROUP\r\nDATABASE_PRINCIPAL_CHANGE_GROUP\r\nDATABASE_PRINCIPAL_IMPERSONATION_GROUP\r\nDATABASE_ROLE_MEMBER_CHANGE_GROUP\r\nFAILED_DATABASE_AUTHENTICATION_GROUP\r\nSCHEMA_OBJECT_ACCESS_GROUP\r\nSCHEMA_OBJECT_CHANGE_GROUP\r\nSCHEMA_OBJECT_OWNERSHIP_CHANGE_GROUP\r\nSCHEMA_OBJECT_PERMISSION_CHANGE_GROUP\r\nSUCCESSFUL_DATABASE_AUTHENTICATION_GROUP\r\nUSER_CHANGE_PASSWORD_GROUP\r\nBATCH_STARTED_GROUP\r\nBATCH_COMPLETED_GROUP\r\nDBCC_GROUP\r\nDATABASE_OWNERSHIP_CHANGE_GROUP\r\nDATABASE_CHANGE_GROUP\r\n\r\nThese are groups that cover all sql statements and stored procedures executed against the database, and should not be used in combination with other groups as this will result in duplicate audit logs.\r\n\r\nFor more information, see [Database-Level Audit Action Groups](https://docs.microsoft.com/en-us/sql/relational-databases/security/auditing/sql-server-audit-action-groups-and-actions#database-level-audit-action-groups).\r\n\r\nFor Database auditing policy, specific Actions can also be specified (note that Actions cannot be specified for Server auditing policy). The supported actions to audit are:\r\nSELECT\r\nUPDATE\r\nINSERT\r\nDELETE\r\nEXECUTE\r\nRECEIVE\r\nREFERENCES\r\n\r\nThe general form for defining an action to be audited is:\r\n{action} ON {object} BY {principal}\r\n\r\nNote that in the above format can refer to an object like a table, view, or stored procedure, or an entire database or schema. For the latter cases, the forms DATABASE::{db_name} and SCHEMA::{schema_name} are used, respectively.\r\n\r\nFor example:\r\nSELECT on dbo.myTable by public\r\nSELECT on DATABASE::myDatabase by public\r\nSELECT on SCHEMA::mySchema by public\r\n\r\nFor more information, see [Database-Level Audit Actions](https://docs.microsoft.com/en-us/sql/relational-databases/security/auditing/sql-server-audit-action-groups-and-actions#database-level-audit-actions)" }, "isAzureMonitorTargetEnabled": { "oneOf": [ @@ -3698,7 +3698,7 @@ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" } ], - "description": "Specifies the Actions-Groups and Actions to audit.\r\n\r\nThe recommended set of action groups to use is the following combination - this will audit all the queries and stored procedures executed against the database, as well as successful and failed logins:\r\n\r\nBATCH_COMPLETED_GROUP,\r\nSUCCESSFUL_DATABASE_AUTHENTICATION_GROUP,\r\nFAILED_DATABASE_AUTHENTICATION_GROUP.\r\n\r\nThis above combination is also the set that is configured by default when enabling auditing from the Azure portal.\r\n\r\nThe supported action groups to audit are (note: choose only specific groups that cover your auditing needs. Using unnecessary groups could lead to very large quantities of audit records):\r\n\r\nAPPLICATION_ROLE_CHANGE_PASSWORD_GROUP\r\nBACKUP_RESTORE_GROUP\r\nDATABASE_LOGOUT_GROUP\r\nDATABASE_OBJECT_CHANGE_GROUP\r\nDATABASE_OBJECT_OWNERSHIP_CHANGE_GROUP\r\nDATABASE_OBJECT_PERMISSION_CHANGE_GROUP\r\nDATABASE_OPERATION_GROUP\r\nDATABASE_PERMISSION_CHANGE_GROUP\r\nDATABASE_PRINCIPAL_CHANGE_GROUP\r\nDATABASE_PRINCIPAL_IMPERSONATION_GROUP\r\nDATABASE_ROLE_MEMBER_CHANGE_GROUP\r\nFAILED_DATABASE_AUTHENTICATION_GROUP\r\nSCHEMA_OBJECT_ACCESS_GROUP\r\nSCHEMA_OBJECT_CHANGE_GROUP\r\nSCHEMA_OBJECT_OWNERSHIP_CHANGE_GROUP\r\nSCHEMA_OBJECT_PERMISSION_CHANGE_GROUP\r\nSUCCESSFUL_DATABASE_AUTHENTICATION_GROUP\r\nUSER_CHANGE_PASSWORD_GROUP\r\nBATCH_STARTED_GROUP\r\nBATCH_COMPLETED_GROUP\r\n\r\nThese are groups that cover all sql statements and stored procedures executed against the database, and should not be used in combination with other groups as this will result in duplicate audit logs.\r\n\r\nFor more information, see [Database-Level Audit Action Groups](https://docs.microsoft.com/en-us/sql/relational-databases/security/auditing/sql-server-audit-action-groups-and-actions#database-level-audit-action-groups).\r\n\r\nFor Database auditing policy, specific Actions can also be specified (note that Actions cannot be specified for Server auditing policy). The supported actions to audit are:\r\nSELECT\r\nUPDATE\r\nINSERT\r\nDELETE\r\nEXECUTE\r\nRECEIVE\r\nREFERENCES\r\n\r\nThe general form for defining an action to be audited is:\r\n{action} ON {object} BY {principal}\r\n\r\nNote that in the above format can refer to an object like a table, view, or stored procedure, or an entire database or schema. For the latter cases, the forms DATABASE::{db_name} and SCHEMA::{schema_name} are used, respectively.\r\n\r\nFor example:\r\nSELECT on dbo.myTable by public\r\nSELECT on DATABASE::myDatabase by public\r\nSELECT on SCHEMA::mySchema by public\r\n\r\nFor more information, see [Database-Level Audit Actions](https://docs.microsoft.com/en-us/sql/relational-databases/security/auditing/sql-server-audit-action-groups-and-actions#database-level-audit-actions)" + "description": "Specifies the Actions-Groups and Actions to audit.\r\n\r\nThe recommended set of action groups to use is the following combination - this will audit all the queries and stored procedures executed against the database, as well as successful and failed logins:\r\n\r\nBATCH_COMPLETED_GROUP,\r\nSUCCESSFUL_DATABASE_AUTHENTICATION_GROUP,\r\nFAILED_DATABASE_AUTHENTICATION_GROUP.\r\n\r\nThis above combination is also the set that is configured by default when enabling auditing from the Azure portal.\r\n\r\nThe supported action groups to audit are (note: choose only specific groups that cover your auditing needs. Using unnecessary groups could lead to very large quantities of audit records):\r\n\r\nAPPLICATION_ROLE_CHANGE_PASSWORD_GROUP\r\nBACKUP_RESTORE_GROUP\r\nDATABASE_LOGOUT_GROUP\r\nDATABASE_OBJECT_CHANGE_GROUP\r\nDATABASE_OBJECT_OWNERSHIP_CHANGE_GROUP\r\nDATABASE_OBJECT_PERMISSION_CHANGE_GROUP\r\nDATABASE_OPERATION_GROUP\r\nDATABASE_PERMISSION_CHANGE_GROUP\r\nDATABASE_PRINCIPAL_CHANGE_GROUP\r\nDATABASE_PRINCIPAL_IMPERSONATION_GROUP\r\nDATABASE_ROLE_MEMBER_CHANGE_GROUP\r\nFAILED_DATABASE_AUTHENTICATION_GROUP\r\nSCHEMA_OBJECT_ACCESS_GROUP\r\nSCHEMA_OBJECT_CHANGE_GROUP\r\nSCHEMA_OBJECT_OWNERSHIP_CHANGE_GROUP\r\nSCHEMA_OBJECT_PERMISSION_CHANGE_GROUP\r\nSUCCESSFUL_DATABASE_AUTHENTICATION_GROUP\r\nUSER_CHANGE_PASSWORD_GROUP\r\nBATCH_STARTED_GROUP\r\nBATCH_COMPLETED_GROUP\r\nDBCC_GROUP\r\nDATABASE_OWNERSHIP_CHANGE_GROUP\r\nDATABASE_CHANGE_GROUP\r\n\r\nThese are groups that cover all sql statements and stored procedures executed against the database, and should not be used in combination with other groups as this will result in duplicate audit logs.\r\n\r\nFor more information, see [Database-Level Audit Action Groups](https://docs.microsoft.com/en-us/sql/relational-databases/security/auditing/sql-server-audit-action-groups-and-actions#database-level-audit-action-groups).\r\n\r\nFor Database auditing policy, specific Actions can also be specified (note that Actions cannot be specified for Server auditing policy). The supported actions to audit are:\r\nSELECT\r\nUPDATE\r\nINSERT\r\nDELETE\r\nEXECUTE\r\nRECEIVE\r\nREFERENCES\r\n\r\nThe general form for defining an action to be audited is:\r\n{action} ON {object} BY {principal}\r\n\r\nNote that in the above format can refer to an object like a table, view, or stored procedure, or an entire database or schema. For the latter cases, the forms DATABASE::{db_name} and SCHEMA::{schema_name} are used, respectively.\r\n\r\nFor example:\r\nSELECT on dbo.myTable by public\r\nSELECT on DATABASE::myDatabase by public\r\nSELECT on SCHEMA::mySchema by public\r\n\r\nFor more information, see [Database-Level Audit Actions](https://docs.microsoft.com/en-us/sql/relational-databases/security/auditing/sql-server-audit-action-groups-and-actions#database-level-audit-actions)" }, "isAzureMonitorTargetEnabled": { "oneOf": [ @@ -6006,7 +6006,7 @@ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" } ], - "description": "Specifies the Actions-Groups and Actions to audit.\r\n\r\nThe recommended set of action groups to use is the following combination - this will audit all the queries and stored procedures executed against the database, as well as successful and failed logins:\r\n\r\nBATCH_COMPLETED_GROUP,\r\nSUCCESSFUL_DATABASE_AUTHENTICATION_GROUP,\r\nFAILED_DATABASE_AUTHENTICATION_GROUP.\r\n\r\nThis above combination is also the set that is configured by default when enabling auditing from the Azure portal.\r\n\r\nThe supported action groups to audit are (note: choose only specific groups that cover your auditing needs. Using unnecessary groups could lead to very large quantities of audit records):\r\n\r\nAPPLICATION_ROLE_CHANGE_PASSWORD_GROUP\r\nBACKUP_RESTORE_GROUP\r\nDATABASE_LOGOUT_GROUP\r\nDATABASE_OBJECT_CHANGE_GROUP\r\nDATABASE_OBJECT_OWNERSHIP_CHANGE_GROUP\r\nDATABASE_OBJECT_PERMISSION_CHANGE_GROUP\r\nDATABASE_OPERATION_GROUP\r\nDATABASE_PERMISSION_CHANGE_GROUP\r\nDATABASE_PRINCIPAL_CHANGE_GROUP\r\nDATABASE_PRINCIPAL_IMPERSONATION_GROUP\r\nDATABASE_ROLE_MEMBER_CHANGE_GROUP\r\nFAILED_DATABASE_AUTHENTICATION_GROUP\r\nSCHEMA_OBJECT_ACCESS_GROUP\r\nSCHEMA_OBJECT_CHANGE_GROUP\r\nSCHEMA_OBJECT_OWNERSHIP_CHANGE_GROUP\r\nSCHEMA_OBJECT_PERMISSION_CHANGE_GROUP\r\nSUCCESSFUL_DATABASE_AUTHENTICATION_GROUP\r\nUSER_CHANGE_PASSWORD_GROUP\r\nBATCH_STARTED_GROUP\r\nBATCH_COMPLETED_GROUP\r\n\r\nThese are groups that cover all sql statements and stored procedures executed against the database, and should not be used in combination with other groups as this will result in duplicate audit logs.\r\n\r\nFor more information, see [Database-Level Audit Action Groups](https://docs.microsoft.com/en-us/sql/relational-databases/security/auditing/sql-server-audit-action-groups-and-actions#database-level-audit-action-groups).\r\n\r\nFor Database auditing policy, specific Actions can also be specified (note that Actions cannot be specified for Server auditing policy). The supported actions to audit are:\r\nSELECT\r\nUPDATE\r\nINSERT\r\nDELETE\r\nEXECUTE\r\nRECEIVE\r\nREFERENCES\r\n\r\nThe general form for defining an action to be audited is:\r\n{action} ON {object} BY {principal}\r\n\r\nNote that in the above format can refer to an object like a table, view, or stored procedure, or an entire database or schema. For the latter cases, the forms DATABASE::{db_name} and SCHEMA::{schema_name} are used, respectively.\r\n\r\nFor example:\r\nSELECT on dbo.myTable by public\r\nSELECT on DATABASE::myDatabase by public\r\nSELECT on SCHEMA::mySchema by public\r\n\r\nFor more information, see [Database-Level Audit Actions](https://docs.microsoft.com/en-us/sql/relational-databases/security/auditing/sql-server-audit-action-groups-and-actions#database-level-audit-actions)" + "description": "Specifies the Actions-Groups and Actions to audit.\r\n\r\nThe recommended set of action groups to use is the following combination - this will audit all the queries and stored procedures executed against the database, as well as successful and failed logins:\r\n\r\nBATCH_COMPLETED_GROUP,\r\nSUCCESSFUL_DATABASE_AUTHENTICATION_GROUP,\r\nFAILED_DATABASE_AUTHENTICATION_GROUP.\r\n\r\nThis above combination is also the set that is configured by default when enabling auditing from the Azure portal.\r\n\r\nThe supported action groups to audit are (note: choose only specific groups that cover your auditing needs. Using unnecessary groups could lead to very large quantities of audit records):\r\n\r\nAPPLICATION_ROLE_CHANGE_PASSWORD_GROUP\r\nBACKUP_RESTORE_GROUP\r\nDATABASE_LOGOUT_GROUP\r\nDATABASE_OBJECT_CHANGE_GROUP\r\nDATABASE_OBJECT_OWNERSHIP_CHANGE_GROUP\r\nDATABASE_OBJECT_PERMISSION_CHANGE_GROUP\r\nDATABASE_OPERATION_GROUP\r\nDATABASE_PERMISSION_CHANGE_GROUP\r\nDATABASE_PRINCIPAL_CHANGE_GROUP\r\nDATABASE_PRINCIPAL_IMPERSONATION_GROUP\r\nDATABASE_ROLE_MEMBER_CHANGE_GROUP\r\nFAILED_DATABASE_AUTHENTICATION_GROUP\r\nSCHEMA_OBJECT_ACCESS_GROUP\r\nSCHEMA_OBJECT_CHANGE_GROUP\r\nSCHEMA_OBJECT_OWNERSHIP_CHANGE_GROUP\r\nSCHEMA_OBJECT_PERMISSION_CHANGE_GROUP\r\nSUCCESSFUL_DATABASE_AUTHENTICATION_GROUP\r\nUSER_CHANGE_PASSWORD_GROUP\r\nBATCH_STARTED_GROUP\r\nBATCH_COMPLETED_GROUP\r\nDBCC_GROUP\r\nDATABASE_OWNERSHIP_CHANGE_GROUP\r\nDATABASE_CHANGE_GROUP\r\n\r\nThese are groups that cover all sql statements and stored procedures executed against the database, and should not be used in combination with other groups as this will result in duplicate audit logs.\r\n\r\nFor more information, see [Database-Level Audit Action Groups](https://docs.microsoft.com/en-us/sql/relational-databases/security/auditing/sql-server-audit-action-groups-and-actions#database-level-audit-action-groups).\r\n\r\nFor Database auditing policy, specific Actions can also be specified (note that Actions cannot be specified for Server auditing policy). The supported actions to audit are:\r\nSELECT\r\nUPDATE\r\nINSERT\r\nDELETE\r\nEXECUTE\r\nRECEIVE\r\nREFERENCES\r\n\r\nThe general form for defining an action to be audited is:\r\n{action} ON {object} BY {principal}\r\n\r\nNote that in the above format can refer to an object like a table, view, or stored procedure, or an entire database or schema. For the latter cases, the forms DATABASE::{db_name} and SCHEMA::{schema_name} are used, respectively.\r\n\r\nFor example:\r\nSELECT on dbo.myTable by public\r\nSELECT on DATABASE::myDatabase by public\r\nSELECT on SCHEMA::mySchema by public\r\n\r\nFor more information, see [Database-Level Audit Actions](https://docs.microsoft.com/en-us/sql/relational-databases/security/auditing/sql-server-audit-action-groups-and-actions#database-level-audit-actions)" }, "isAzureMonitorTargetEnabled": { "oneOf": [ diff --git a/schemas/2020-08-01-preview/Microsoft.Sql.json b/schemas/2020-08-01-preview/Microsoft.Sql.json index 7ce41dba94..a2e4752fa0 100644 --- a/schemas/2020-08-01-preview/Microsoft.Sql.json +++ b/schemas/2020-08-01-preview/Microsoft.Sql.json @@ -3147,7 +3147,7 @@ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" } ], - "description": "Specifies the Actions-Groups and Actions to audit.\r\n\r\nThe recommended set of action groups to use is the following combination - this will audit all the queries and stored procedures executed against the database, as well as successful and failed logins:\r\n\r\nBATCH_COMPLETED_GROUP,\r\nSUCCESSFUL_DATABASE_AUTHENTICATION_GROUP,\r\nFAILED_DATABASE_AUTHENTICATION_GROUP.\r\n\r\nThis above combination is also the set that is configured by default when enabling auditing from the Azure portal.\r\n\r\nThe supported action groups to audit are (note: choose only specific groups that cover your auditing needs. Using unnecessary groups could lead to very large quantities of audit records):\r\n\r\nAPPLICATION_ROLE_CHANGE_PASSWORD_GROUP\r\nBACKUP_RESTORE_GROUP\r\nDATABASE_LOGOUT_GROUP\r\nDATABASE_OBJECT_CHANGE_GROUP\r\nDATABASE_OBJECT_OWNERSHIP_CHANGE_GROUP\r\nDATABASE_OBJECT_PERMISSION_CHANGE_GROUP\r\nDATABASE_OPERATION_GROUP\r\nDATABASE_PERMISSION_CHANGE_GROUP\r\nDATABASE_PRINCIPAL_CHANGE_GROUP\r\nDATABASE_PRINCIPAL_IMPERSONATION_GROUP\r\nDATABASE_ROLE_MEMBER_CHANGE_GROUP\r\nFAILED_DATABASE_AUTHENTICATION_GROUP\r\nSCHEMA_OBJECT_ACCESS_GROUP\r\nSCHEMA_OBJECT_CHANGE_GROUP\r\nSCHEMA_OBJECT_OWNERSHIP_CHANGE_GROUP\r\nSCHEMA_OBJECT_PERMISSION_CHANGE_GROUP\r\nSUCCESSFUL_DATABASE_AUTHENTICATION_GROUP\r\nUSER_CHANGE_PASSWORD_GROUP\r\nBATCH_STARTED_GROUP\r\nBATCH_COMPLETED_GROUP\r\n\r\nThese are groups that cover all sql statements and stored procedures executed against the database, and should not be used in combination with other groups as this will result in duplicate audit logs.\r\n\r\nFor more information, see [Database-Level Audit Action Groups](https://docs.microsoft.com/en-us/sql/relational-databases/security/auditing/sql-server-audit-action-groups-and-actions#database-level-audit-action-groups).\r\n\r\nFor Database auditing policy, specific Actions can also be specified (note that Actions cannot be specified for Server auditing policy). The supported actions to audit are:\r\nSELECT\r\nUPDATE\r\nINSERT\r\nDELETE\r\nEXECUTE\r\nRECEIVE\r\nREFERENCES\r\n\r\nThe general form for defining an action to be audited is:\r\n{action} ON {object} BY {principal}\r\n\r\nNote that in the above format can refer to an object like a table, view, or stored procedure, or an entire database or schema. For the latter cases, the forms DATABASE::{db_name} and SCHEMA::{schema_name} are used, respectively.\r\n\r\nFor example:\r\nSELECT on dbo.myTable by public\r\nSELECT on DATABASE::myDatabase by public\r\nSELECT on SCHEMA::mySchema by public\r\n\r\nFor more information, see [Database-Level Audit Actions](https://docs.microsoft.com/en-us/sql/relational-databases/security/auditing/sql-server-audit-action-groups-and-actions#database-level-audit-actions)" + "description": "Specifies the Actions-Groups and Actions to audit.\r\n\r\nThe recommended set of action groups to use is the following combination - this will audit all the queries and stored procedures executed against the database, as well as successful and failed logins:\r\n\r\nBATCH_COMPLETED_GROUP,\r\nSUCCESSFUL_DATABASE_AUTHENTICATION_GROUP,\r\nFAILED_DATABASE_AUTHENTICATION_GROUP.\r\n\r\nThis above combination is also the set that is configured by default when enabling auditing from the Azure portal.\r\n\r\nThe supported action groups to audit are (note: choose only specific groups that cover your auditing needs. Using unnecessary groups could lead to very large quantities of audit records):\r\n\r\nAPPLICATION_ROLE_CHANGE_PASSWORD_GROUP\r\nBACKUP_RESTORE_GROUP\r\nDATABASE_LOGOUT_GROUP\r\nDATABASE_OBJECT_CHANGE_GROUP\r\nDATABASE_OBJECT_OWNERSHIP_CHANGE_GROUP\r\nDATABASE_OBJECT_PERMISSION_CHANGE_GROUP\r\nDATABASE_OPERATION_GROUP\r\nDATABASE_PERMISSION_CHANGE_GROUP\r\nDATABASE_PRINCIPAL_CHANGE_GROUP\r\nDATABASE_PRINCIPAL_IMPERSONATION_GROUP\r\nDATABASE_ROLE_MEMBER_CHANGE_GROUP\r\nFAILED_DATABASE_AUTHENTICATION_GROUP\r\nSCHEMA_OBJECT_ACCESS_GROUP\r\nSCHEMA_OBJECT_CHANGE_GROUP\r\nSCHEMA_OBJECT_OWNERSHIP_CHANGE_GROUP\r\nSCHEMA_OBJECT_PERMISSION_CHANGE_GROUP\r\nSUCCESSFUL_DATABASE_AUTHENTICATION_GROUP\r\nUSER_CHANGE_PASSWORD_GROUP\r\nBATCH_STARTED_GROUP\r\nBATCH_COMPLETED_GROUP\r\nDBCC_GROUP\r\nDATABASE_OWNERSHIP_CHANGE_GROUP\r\nDATABASE_CHANGE_GROUP\r\n\r\nThese are groups that cover all sql statements and stored procedures executed against the database, and should not be used in combination with other groups as this will result in duplicate audit logs.\r\n\r\nFor more information, see [Database-Level Audit Action Groups](https://docs.microsoft.com/en-us/sql/relational-databases/security/auditing/sql-server-audit-action-groups-and-actions#database-level-audit-action-groups).\r\n\r\nFor Database auditing policy, specific Actions can also be specified (note that Actions cannot be specified for Server auditing policy). The supported actions to audit are:\r\nSELECT\r\nUPDATE\r\nINSERT\r\nDELETE\r\nEXECUTE\r\nRECEIVE\r\nREFERENCES\r\n\r\nThe general form for defining an action to be audited is:\r\n{action} ON {object} BY {principal}\r\n\r\nNote that in the above format can refer to an object like a table, view, or stored procedure, or an entire database or schema. For the latter cases, the forms DATABASE::{db_name} and SCHEMA::{schema_name} are used, respectively.\r\n\r\nFor example:\r\nSELECT on dbo.myTable by public\r\nSELECT on DATABASE::myDatabase by public\r\nSELECT on SCHEMA::mySchema by public\r\n\r\nFor more information, see [Database-Level Audit Actions](https://docs.microsoft.com/en-us/sql/relational-databases/security/auditing/sql-server-audit-action-groups-and-actions#database-level-audit-actions)" }, "isAzureMonitorTargetEnabled": { "oneOf": [ @@ -3716,7 +3716,7 @@ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" } ], - "description": "Specifies the Actions-Groups and Actions to audit.\r\n\r\nThe recommended set of action groups to use is the following combination - this will audit all the queries and stored procedures executed against the database, as well as successful and failed logins:\r\n\r\nBATCH_COMPLETED_GROUP,\r\nSUCCESSFUL_DATABASE_AUTHENTICATION_GROUP,\r\nFAILED_DATABASE_AUTHENTICATION_GROUP.\r\n\r\nThis above combination is also the set that is configured by default when enabling auditing from the Azure portal.\r\n\r\nThe supported action groups to audit are (note: choose only specific groups that cover your auditing needs. Using unnecessary groups could lead to very large quantities of audit records):\r\n\r\nAPPLICATION_ROLE_CHANGE_PASSWORD_GROUP\r\nBACKUP_RESTORE_GROUP\r\nDATABASE_LOGOUT_GROUP\r\nDATABASE_OBJECT_CHANGE_GROUP\r\nDATABASE_OBJECT_OWNERSHIP_CHANGE_GROUP\r\nDATABASE_OBJECT_PERMISSION_CHANGE_GROUP\r\nDATABASE_OPERATION_GROUP\r\nDATABASE_PERMISSION_CHANGE_GROUP\r\nDATABASE_PRINCIPAL_CHANGE_GROUP\r\nDATABASE_PRINCIPAL_IMPERSONATION_GROUP\r\nDATABASE_ROLE_MEMBER_CHANGE_GROUP\r\nFAILED_DATABASE_AUTHENTICATION_GROUP\r\nSCHEMA_OBJECT_ACCESS_GROUP\r\nSCHEMA_OBJECT_CHANGE_GROUP\r\nSCHEMA_OBJECT_OWNERSHIP_CHANGE_GROUP\r\nSCHEMA_OBJECT_PERMISSION_CHANGE_GROUP\r\nSUCCESSFUL_DATABASE_AUTHENTICATION_GROUP\r\nUSER_CHANGE_PASSWORD_GROUP\r\nBATCH_STARTED_GROUP\r\nBATCH_COMPLETED_GROUP\r\n\r\nThese are groups that cover all sql statements and stored procedures executed against the database, and should not be used in combination with other groups as this will result in duplicate audit logs.\r\n\r\nFor more information, see [Database-Level Audit Action Groups](https://docs.microsoft.com/en-us/sql/relational-databases/security/auditing/sql-server-audit-action-groups-and-actions#database-level-audit-action-groups).\r\n\r\nFor Database auditing policy, specific Actions can also be specified (note that Actions cannot be specified for Server auditing policy). The supported actions to audit are:\r\nSELECT\r\nUPDATE\r\nINSERT\r\nDELETE\r\nEXECUTE\r\nRECEIVE\r\nREFERENCES\r\n\r\nThe general form for defining an action to be audited is:\r\n{action} ON {object} BY {principal}\r\n\r\nNote that in the above format can refer to an object like a table, view, or stored procedure, or an entire database or schema. For the latter cases, the forms DATABASE::{db_name} and SCHEMA::{schema_name} are used, respectively.\r\n\r\nFor example:\r\nSELECT on dbo.myTable by public\r\nSELECT on DATABASE::myDatabase by public\r\nSELECT on SCHEMA::mySchema by public\r\n\r\nFor more information, see [Database-Level Audit Actions](https://docs.microsoft.com/en-us/sql/relational-databases/security/auditing/sql-server-audit-action-groups-and-actions#database-level-audit-actions)" + "description": "Specifies the Actions-Groups and Actions to audit.\r\n\r\nThe recommended set of action groups to use is the following combination - this will audit all the queries and stored procedures executed against the database, as well as successful and failed logins:\r\n\r\nBATCH_COMPLETED_GROUP,\r\nSUCCESSFUL_DATABASE_AUTHENTICATION_GROUP,\r\nFAILED_DATABASE_AUTHENTICATION_GROUP.\r\n\r\nThis above combination is also the set that is configured by default when enabling auditing from the Azure portal.\r\n\r\nThe supported action groups to audit are (note: choose only specific groups that cover your auditing needs. Using unnecessary groups could lead to very large quantities of audit records):\r\n\r\nAPPLICATION_ROLE_CHANGE_PASSWORD_GROUP\r\nBACKUP_RESTORE_GROUP\r\nDATABASE_LOGOUT_GROUP\r\nDATABASE_OBJECT_CHANGE_GROUP\r\nDATABASE_OBJECT_OWNERSHIP_CHANGE_GROUP\r\nDATABASE_OBJECT_PERMISSION_CHANGE_GROUP\r\nDATABASE_OPERATION_GROUP\r\nDATABASE_PERMISSION_CHANGE_GROUP\r\nDATABASE_PRINCIPAL_CHANGE_GROUP\r\nDATABASE_PRINCIPAL_IMPERSONATION_GROUP\r\nDATABASE_ROLE_MEMBER_CHANGE_GROUP\r\nFAILED_DATABASE_AUTHENTICATION_GROUP\r\nSCHEMA_OBJECT_ACCESS_GROUP\r\nSCHEMA_OBJECT_CHANGE_GROUP\r\nSCHEMA_OBJECT_OWNERSHIP_CHANGE_GROUP\r\nSCHEMA_OBJECT_PERMISSION_CHANGE_GROUP\r\nSUCCESSFUL_DATABASE_AUTHENTICATION_GROUP\r\nUSER_CHANGE_PASSWORD_GROUP\r\nBATCH_STARTED_GROUP\r\nBATCH_COMPLETED_GROUP\r\nDBCC_GROUP\r\nDATABASE_OWNERSHIP_CHANGE_GROUP\r\nDATABASE_CHANGE_GROUP\r\n\r\nThese are groups that cover all sql statements and stored procedures executed against the database, and should not be used in combination with other groups as this will result in duplicate audit logs.\r\n\r\nFor more information, see [Database-Level Audit Action Groups](https://docs.microsoft.com/en-us/sql/relational-databases/security/auditing/sql-server-audit-action-groups-and-actions#database-level-audit-action-groups).\r\n\r\nFor Database auditing policy, specific Actions can also be specified (note that Actions cannot be specified for Server auditing policy). The supported actions to audit are:\r\nSELECT\r\nUPDATE\r\nINSERT\r\nDELETE\r\nEXECUTE\r\nRECEIVE\r\nREFERENCES\r\n\r\nThe general form for defining an action to be audited is:\r\n{action} ON {object} BY {principal}\r\n\r\nNote that in the above format can refer to an object like a table, view, or stored procedure, or an entire database or schema. For the latter cases, the forms DATABASE::{db_name} and SCHEMA::{schema_name} are used, respectively.\r\n\r\nFor example:\r\nSELECT on dbo.myTable by public\r\nSELECT on DATABASE::myDatabase by public\r\nSELECT on SCHEMA::mySchema by public\r\n\r\nFor more information, see [Database-Level Audit Actions](https://docs.microsoft.com/en-us/sql/relational-databases/security/auditing/sql-server-audit-action-groups-and-actions#database-level-audit-actions)" }, "isAzureMonitorTargetEnabled": { "oneOf": [ @@ -3822,7 +3822,7 @@ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" } ], - "description": "Specifies the Actions-Groups and Actions to audit.\r\n\r\nThe recommended set of action groups to use is the following combination - this will audit all the queries and stored procedures executed against the database, as well as successful and failed logins:\r\n\r\nBATCH_COMPLETED_GROUP,\r\nSUCCESSFUL_DATABASE_AUTHENTICATION_GROUP,\r\nFAILED_DATABASE_AUTHENTICATION_GROUP.\r\n\r\nThis above combination is also the set that is configured by default when enabling auditing from the Azure portal.\r\n\r\nThe supported action groups to audit are (note: choose only specific groups that cover your auditing needs. Using unnecessary groups could lead to very large quantities of audit records):\r\n\r\nAPPLICATION_ROLE_CHANGE_PASSWORD_GROUP\r\nBACKUP_RESTORE_GROUP\r\nDATABASE_LOGOUT_GROUP\r\nDATABASE_OBJECT_CHANGE_GROUP\r\nDATABASE_OBJECT_OWNERSHIP_CHANGE_GROUP\r\nDATABASE_OBJECT_PERMISSION_CHANGE_GROUP\r\nDATABASE_OPERATION_GROUP\r\nDATABASE_PERMISSION_CHANGE_GROUP\r\nDATABASE_PRINCIPAL_CHANGE_GROUP\r\nDATABASE_PRINCIPAL_IMPERSONATION_GROUP\r\nDATABASE_ROLE_MEMBER_CHANGE_GROUP\r\nFAILED_DATABASE_AUTHENTICATION_GROUP\r\nSCHEMA_OBJECT_ACCESS_GROUP\r\nSCHEMA_OBJECT_CHANGE_GROUP\r\nSCHEMA_OBJECT_OWNERSHIP_CHANGE_GROUP\r\nSCHEMA_OBJECT_PERMISSION_CHANGE_GROUP\r\nSUCCESSFUL_DATABASE_AUTHENTICATION_GROUP\r\nUSER_CHANGE_PASSWORD_GROUP\r\nBATCH_STARTED_GROUP\r\nBATCH_COMPLETED_GROUP\r\n\r\nThese are groups that cover all sql statements and stored procedures executed against the database, and should not be used in combination with other groups as this will result in duplicate audit logs.\r\n\r\nFor more information, see [Database-Level Audit Action Groups](https://docs.microsoft.com/en-us/sql/relational-databases/security/auditing/sql-server-audit-action-groups-and-actions#database-level-audit-action-groups).\r\n\r\nFor Database auditing policy, specific Actions can also be specified (note that Actions cannot be specified for Server auditing policy). The supported actions to audit are:\r\nSELECT\r\nUPDATE\r\nINSERT\r\nDELETE\r\nEXECUTE\r\nRECEIVE\r\nREFERENCES\r\n\r\nThe general form for defining an action to be audited is:\r\n{action} ON {object} BY {principal}\r\n\r\nNote that in the above format can refer to an object like a table, view, or stored procedure, or an entire database or schema. For the latter cases, the forms DATABASE::{db_name} and SCHEMA::{schema_name} are used, respectively.\r\n\r\nFor example:\r\nSELECT on dbo.myTable by public\r\nSELECT on DATABASE::myDatabase by public\r\nSELECT on SCHEMA::mySchema by public\r\n\r\nFor more information, see [Database-Level Audit Actions](https://docs.microsoft.com/en-us/sql/relational-databases/security/auditing/sql-server-audit-action-groups-and-actions#database-level-audit-actions)" + "description": "Specifies the Actions-Groups and Actions to audit.\r\n\r\nThe recommended set of action groups to use is the following combination - this will audit all the queries and stored procedures executed against the database, as well as successful and failed logins:\r\n\r\nBATCH_COMPLETED_GROUP,\r\nSUCCESSFUL_DATABASE_AUTHENTICATION_GROUP,\r\nFAILED_DATABASE_AUTHENTICATION_GROUP.\r\n\r\nThis above combination is also the set that is configured by default when enabling auditing from the Azure portal.\r\n\r\nThe supported action groups to audit are (note: choose only specific groups that cover your auditing needs. Using unnecessary groups could lead to very large quantities of audit records):\r\n\r\nAPPLICATION_ROLE_CHANGE_PASSWORD_GROUP\r\nBACKUP_RESTORE_GROUP\r\nDATABASE_LOGOUT_GROUP\r\nDATABASE_OBJECT_CHANGE_GROUP\r\nDATABASE_OBJECT_OWNERSHIP_CHANGE_GROUP\r\nDATABASE_OBJECT_PERMISSION_CHANGE_GROUP\r\nDATABASE_OPERATION_GROUP\r\nDATABASE_PERMISSION_CHANGE_GROUP\r\nDATABASE_PRINCIPAL_CHANGE_GROUP\r\nDATABASE_PRINCIPAL_IMPERSONATION_GROUP\r\nDATABASE_ROLE_MEMBER_CHANGE_GROUP\r\nFAILED_DATABASE_AUTHENTICATION_GROUP\r\nSCHEMA_OBJECT_ACCESS_GROUP\r\nSCHEMA_OBJECT_CHANGE_GROUP\r\nSCHEMA_OBJECT_OWNERSHIP_CHANGE_GROUP\r\nSCHEMA_OBJECT_PERMISSION_CHANGE_GROUP\r\nSUCCESSFUL_DATABASE_AUTHENTICATION_GROUP\r\nUSER_CHANGE_PASSWORD_GROUP\r\nBATCH_STARTED_GROUP\r\nBATCH_COMPLETED_GROUP\r\nDBCC_GROUP\r\nDATABASE_OWNERSHIP_CHANGE_GROUP\r\nDATABASE_CHANGE_GROUP\r\n\r\nThese are groups that cover all sql statements and stored procedures executed against the database, and should not be used in combination with other groups as this will result in duplicate audit logs.\r\n\r\nFor more information, see [Database-Level Audit Action Groups](https://docs.microsoft.com/en-us/sql/relational-databases/security/auditing/sql-server-audit-action-groups-and-actions#database-level-audit-action-groups).\r\n\r\nFor Database auditing policy, specific Actions can also be specified (note that Actions cannot be specified for Server auditing policy). The supported actions to audit are:\r\nSELECT\r\nUPDATE\r\nINSERT\r\nDELETE\r\nEXECUTE\r\nRECEIVE\r\nREFERENCES\r\n\r\nThe general form for defining an action to be audited is:\r\n{action} ON {object} BY {principal}\r\n\r\nNote that in the above format can refer to an object like a table, view, or stored procedure, or an entire database or schema. For the latter cases, the forms DATABASE::{db_name} and SCHEMA::{schema_name} are used, respectively.\r\n\r\nFor example:\r\nSELECT on dbo.myTable by public\r\nSELECT on DATABASE::myDatabase by public\r\nSELECT on SCHEMA::mySchema by public\r\n\r\nFor more information, see [Database-Level Audit Actions](https://docs.microsoft.com/en-us/sql/relational-databases/security/auditing/sql-server-audit-action-groups-and-actions#database-level-audit-actions)" }, "isAzureMonitorTargetEnabled": { "oneOf": [ @@ -6141,7 +6141,7 @@ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" } ], - "description": "Specifies the Actions-Groups and Actions to audit.\r\n\r\nThe recommended set of action groups to use is the following combination - this will audit all the queries and stored procedures executed against the database, as well as successful and failed logins:\r\n\r\nBATCH_COMPLETED_GROUP,\r\nSUCCESSFUL_DATABASE_AUTHENTICATION_GROUP,\r\nFAILED_DATABASE_AUTHENTICATION_GROUP.\r\n\r\nThis above combination is also the set that is configured by default when enabling auditing from the Azure portal.\r\n\r\nThe supported action groups to audit are (note: choose only specific groups that cover your auditing needs. Using unnecessary groups could lead to very large quantities of audit records):\r\n\r\nAPPLICATION_ROLE_CHANGE_PASSWORD_GROUP\r\nBACKUP_RESTORE_GROUP\r\nDATABASE_LOGOUT_GROUP\r\nDATABASE_OBJECT_CHANGE_GROUP\r\nDATABASE_OBJECT_OWNERSHIP_CHANGE_GROUP\r\nDATABASE_OBJECT_PERMISSION_CHANGE_GROUP\r\nDATABASE_OPERATION_GROUP\r\nDATABASE_PERMISSION_CHANGE_GROUP\r\nDATABASE_PRINCIPAL_CHANGE_GROUP\r\nDATABASE_PRINCIPAL_IMPERSONATION_GROUP\r\nDATABASE_ROLE_MEMBER_CHANGE_GROUP\r\nFAILED_DATABASE_AUTHENTICATION_GROUP\r\nSCHEMA_OBJECT_ACCESS_GROUP\r\nSCHEMA_OBJECT_CHANGE_GROUP\r\nSCHEMA_OBJECT_OWNERSHIP_CHANGE_GROUP\r\nSCHEMA_OBJECT_PERMISSION_CHANGE_GROUP\r\nSUCCESSFUL_DATABASE_AUTHENTICATION_GROUP\r\nUSER_CHANGE_PASSWORD_GROUP\r\nBATCH_STARTED_GROUP\r\nBATCH_COMPLETED_GROUP\r\n\r\nThese are groups that cover all sql statements and stored procedures executed against the database, and should not be used in combination with other groups as this will result in duplicate audit logs.\r\n\r\nFor more information, see [Database-Level Audit Action Groups](https://docs.microsoft.com/en-us/sql/relational-databases/security/auditing/sql-server-audit-action-groups-and-actions#database-level-audit-action-groups).\r\n\r\nFor Database auditing policy, specific Actions can also be specified (note that Actions cannot be specified for Server auditing policy). The supported actions to audit are:\r\nSELECT\r\nUPDATE\r\nINSERT\r\nDELETE\r\nEXECUTE\r\nRECEIVE\r\nREFERENCES\r\n\r\nThe general form for defining an action to be audited is:\r\n{action} ON {object} BY {principal}\r\n\r\nNote that in the above format can refer to an object like a table, view, or stored procedure, or an entire database or schema. For the latter cases, the forms DATABASE::{db_name} and SCHEMA::{schema_name} are used, respectively.\r\n\r\nFor example:\r\nSELECT on dbo.myTable by public\r\nSELECT on DATABASE::myDatabase by public\r\nSELECT on SCHEMA::mySchema by public\r\n\r\nFor more information, see [Database-Level Audit Actions](https://docs.microsoft.com/en-us/sql/relational-databases/security/auditing/sql-server-audit-action-groups-and-actions#database-level-audit-actions)" + "description": "Specifies the Actions-Groups and Actions to audit.\r\n\r\nThe recommended set of action groups to use is the following combination - this will audit all the queries and stored procedures executed against the database, as well as successful and failed logins:\r\n\r\nBATCH_COMPLETED_GROUP,\r\nSUCCESSFUL_DATABASE_AUTHENTICATION_GROUP,\r\nFAILED_DATABASE_AUTHENTICATION_GROUP.\r\n\r\nThis above combination is also the set that is configured by default when enabling auditing from the Azure portal.\r\n\r\nThe supported action groups to audit are (note: choose only specific groups that cover your auditing needs. Using unnecessary groups could lead to very large quantities of audit records):\r\n\r\nAPPLICATION_ROLE_CHANGE_PASSWORD_GROUP\r\nBACKUP_RESTORE_GROUP\r\nDATABASE_LOGOUT_GROUP\r\nDATABASE_OBJECT_CHANGE_GROUP\r\nDATABASE_OBJECT_OWNERSHIP_CHANGE_GROUP\r\nDATABASE_OBJECT_PERMISSION_CHANGE_GROUP\r\nDATABASE_OPERATION_GROUP\r\nDATABASE_PERMISSION_CHANGE_GROUP\r\nDATABASE_PRINCIPAL_CHANGE_GROUP\r\nDATABASE_PRINCIPAL_IMPERSONATION_GROUP\r\nDATABASE_ROLE_MEMBER_CHANGE_GROUP\r\nFAILED_DATABASE_AUTHENTICATION_GROUP\r\nSCHEMA_OBJECT_ACCESS_GROUP\r\nSCHEMA_OBJECT_CHANGE_GROUP\r\nSCHEMA_OBJECT_OWNERSHIP_CHANGE_GROUP\r\nSCHEMA_OBJECT_PERMISSION_CHANGE_GROUP\r\nSUCCESSFUL_DATABASE_AUTHENTICATION_GROUP\r\nUSER_CHANGE_PASSWORD_GROUP\r\nBATCH_STARTED_GROUP\r\nBATCH_COMPLETED_GROUP\r\nDBCC_GROUP\r\nDATABASE_OWNERSHIP_CHANGE_GROUP\r\nDATABASE_CHANGE_GROUP\r\n\r\nThese are groups that cover all sql statements and stored procedures executed against the database, and should not be used in combination with other groups as this will result in duplicate audit logs.\r\n\r\nFor more information, see [Database-Level Audit Action Groups](https://docs.microsoft.com/en-us/sql/relational-databases/security/auditing/sql-server-audit-action-groups-and-actions#database-level-audit-action-groups).\r\n\r\nFor Database auditing policy, specific Actions can also be specified (note that Actions cannot be specified for Server auditing policy). The supported actions to audit are:\r\nSELECT\r\nUPDATE\r\nINSERT\r\nDELETE\r\nEXECUTE\r\nRECEIVE\r\nREFERENCES\r\n\r\nThe general form for defining an action to be audited is:\r\n{action} ON {object} BY {principal}\r\n\r\nNote that in the above format can refer to an object like a table, view, or stored procedure, or an entire database or schema. For the latter cases, the forms DATABASE::{db_name} and SCHEMA::{schema_name} are used, respectively.\r\n\r\nFor example:\r\nSELECT on dbo.myTable by public\r\nSELECT on DATABASE::myDatabase by public\r\nSELECT on SCHEMA::mySchema by public\r\n\r\nFor more information, see [Database-Level Audit Actions](https://docs.microsoft.com/en-us/sql/relational-databases/security/auditing/sql-server-audit-action-groups-and-actions#database-level-audit-actions)" }, "isAzureMonitorTargetEnabled": { "oneOf": [ From f38e772e9defaabd1fc727d3e40f6a1bd2f85a65 Mon Sep 17 00:00:00 2001 From: Anthony Martin Date: Mon, 9 Aug 2021 15:32:05 +0000 Subject: [PATCH 46/64] Comments & rename to clarify blocklist behavior --- generator/autogenlist.ts | 13 +++++++------ generator/constants.ts | 24 ++++++------------------ generator/specs.ts | 8 +++++--- 3 files changed, 18 insertions(+), 27 deletions(-) diff --git a/generator/autogenlist.ts b/generator/autogenlist.ts index b07b1f9846..9a1d58815e 100644 --- a/generator/autogenlist.ts +++ b/generator/autogenlist.ts @@ -8,8 +8,7 @@ import { postProcessor as policyProcessor } from './processors/Microsoft.Authori import { postProcessor as securityInsightsPostProcessor } from './processors/Microsoft.SecurityInsights'; import { lowerCaseEquals } from './utils'; -// Going forwards, providers are onboarded by default. -// The providers listed here are the only ones **not** onboarded. +// New providers are onboarded by default. The providers listed here are the only ones **not** onboarded. const disabledProviders: AutoGenConfig[] = [ { basePath: 'advisor/resource-manager', @@ -71,6 +70,12 @@ const disabledProviders: AutoGenConfig[] = [ namespace: 'Microsoft.DataProtection', disabledForAutogen: true, }, + { + // Disabled as the swagger spec contains a type ("DateTimeRfc1123") which autorest is unable to parse: https://github.com/Azure/autorest.azureresourceschema/issues/71 + basePath: 'domainservices/resource-manager', + namespace: 'Microsoft.AAD', + disabledForAutogen: true, + }, { basePath: 'dfp/resource-manager', namespace: 'Microsoft.Dynamics365Fraudprotection', @@ -484,10 +489,6 @@ const autoGenList: AutoGenConfig[] = [ basePath: 'EnterpriseKnowledgeGraph/resource-manager', namespace: 'Microsoft.EnterpriseKnowledgeGraph', }, - { - basePath: 'domainservices/resource-manager', - namespace: 'Microsoft.AAD', - }, { basePath: 'eventhub/resource-manager', namespace: 'Microsoft.EventHub', diff --git a/generator/constants.ts b/generator/constants.ts index 5234e67a0d..5bc18cb8b8 100644 --- a/generator/constants.ts +++ b/generator/constants.ts @@ -34,24 +34,12 @@ export const generatedSchemasTemplatePath = path.join(__dirname, 'resources/auto export const autorestCoreVersion = '3.0.6374'; export const azureresourceschemaVersion = '3.0.92'; -// paths in this list won't even appear in list-basepaths -export const blocklist = [ +// paths in this list won't even appear in list-basepaths. +// This list should only contain spec paths that should DEFINITELY be excluded from generation. +// For now - that should just be Azure Stack providers, and deprecated providers. +export const excludedBasePathPrefixes = [ /* Azure Stack resource providers */ - 'azsadmin/resource-manager/azurebridge', - 'azsadmin/resource-manager/backup', - 'azsadmin/resource-manager/commerce', - 'azsadmin/resource-manager/compute', - 'azsadmin/resource-manager/containerregistry', - 'azsadmin/resource-manager/deployment', - 'azsadmin/resource-manager/fabric', - 'azsadmin/resource-manager/gallery', - 'azsadmin/resource-manager/infrastructureinsights', - 'azsadmin/resource-manager/keyvault', - 'azsadmin/resource-manager/network', - 'azsadmin/resource-manager/storage', - 'azsadmin/resource-manager/subscriptions', - 'azsadmin/resource-manager/update', - 'azsadmin/resource-manager/user-subscriptions', + 'azsadmin/', /* Microsoft.CustomerInsights is deprecated */ - 'customer-insights/resource-manager', + 'customer-insights/', ]; diff --git a/generator/specs.ts b/generator/specs.ts index 6bd2ccbfa9..213427a4d2 100644 --- a/generator/specs.ts +++ b/generator/specs.ts @@ -54,7 +54,7 @@ export async function generateBasePaths(localPath: string) { return filePaths .map(p => p.substring(0, p.lastIndexOf(path.sep))) .map(getBasePathString.bind(null, localPath)) - .filter(p => !isBlocklisted(p)); + .filter(p => !isExcludedBasePath(p)); } export function getBasePathString(localPath: string, basePath: string) { @@ -70,8 +70,10 @@ export function getPackageString(readme: string) { .find((_, index, obj) => index > 0 && obj[index - 1] === 'specification'); } -function isBlocklisted(basePath: string) { - return constants.blocklist.includes(basePath); +function isExcludedBasePath(basePath: string) { + return constants.excludedBasePathPrefixes + .map(prefix => prefix.toLowerCase()) + .some(prefix => basePath.toLowerCase().startsWith(prefix)); } export async function prepareReadme(readme: string, autoGenConfig?: AutoGenConfig) { From 893a1d066000964bb0b797f42e12d03f2737b019 Mon Sep 17 00:00:00 2001 From: Anthony Martin Date: Tue, 10 Aug 2021 23:39:31 -0400 Subject: [PATCH 47/64] Update generateall.ts --- generator/cmd/generateall.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/generator/cmd/generateall.ts b/generator/cmd/generateall.ts index b2dc23470a..b16c52ee2a 100644 --- a/generator/cmd/generateall.ts +++ b/generator/cmd/generateall.ts @@ -45,7 +45,7 @@ executeSynchronous(async () => { const packages: Package[] = []; for (const basePath of basePaths) { - const readme = await validateAndReturnReadmePath(constants.specsRepoPath, basePath); + const readme = await validateAndReturnReadmePath(localPath, basePath); const namespaces = keys(await getApiVersionsByNamespace(readme)); const autogenlistEntries = findAutogenEntries(basePath); @@ -115,4 +115,4 @@ executeSynchronous(async () => { } } -}); \ No newline at end of file +}); From 0143ae32c5a2f5d9381fabfde5a801b75be91df6 Mon Sep 17 00:00:00 2001 From: Anthony Martin Date: Wed, 11 Aug 2021 15:33:05 +0000 Subject: [PATCH 48/64] Fix generator pipeline --- generator/autogenlist.ts | 20 ++++++++--- generator/cmd/generateall.ts | 21 ++--------- generator/cmd/generateonboardedreport.ts | 14 ++++---- generator/cmd/generatesingle.ts | 35 +++++++++---------- generator/cmd/listbasepaths.ts | 12 +++---- .../Microsoft.Insights.Application.ts | 2 +- 6 files changed, 49 insertions(+), 55 deletions(-) diff --git a/generator/autogenlist.ts b/generator/autogenlist.ts index 9a1d58815e..2b1f7dd7bc 100644 --- a/generator/autogenlist.ts +++ b/generator/autogenlist.ts @@ -1047,10 +1047,22 @@ const autoGenList: AutoGenConfig[] = [ }, ]; -export function getAutoGenList(): AutoGenConfig[] { - return autoGenList; -} - export function findAutogenEntries(basePath: string): AutoGenConfig[] { return autoGenList.filter(w => lowerCaseEquals(w.basePath, basePath)); } + +export function findOrGenerateAutogenEntries(basePath: string, namespaces: string[]): AutoGenConfig[] { + const entries = findAutogenEntries(basePath).filter(e => namespaces.some(ns => lowerCaseEquals(e.namespace, ns))); + + for (const namespace of namespaces) { + if (!entries.some(e => lowerCaseEquals(e.namespace, namespace))) { + // Generate configuration for any RPs not explicitly declared in the autogen list + entries.push({ + basePath, + namespace, + }); + } + } + + return entries; +} \ No newline at end of file diff --git a/generator/cmd/generateall.ts b/generator/cmd/generateall.ts index b2dc23470a..7e199361f2 100644 --- a/generator/cmd/generateall.ts +++ b/generator/cmd/generateall.ts @@ -1,7 +1,7 @@ import * as constants from '../constants'; import { cloneAndGenerateBasePaths, generateBasePaths, getPackageString, resolveAbsolutePath, validateAndReturnReadmePath } from '../specs'; import { SchemaConfiguration, generateSchemas, clearAutoGeneratedSchemaRefs, saveAutoGeneratedSchemaRefs, getApiVersionsByNamespace } from '../generate'; -import { findAutogenEntries } from '../autogenlist'; +import { findOrGenerateAutogenEntries } from '../autogenlist'; import chalk from 'chalk'; import { flatten, keys, partition } from 'lodash'; import { executeSynchronous, chunker, writeJsonFile, lowerCaseEquals } from '../utils'; @@ -47,22 +47,7 @@ executeSynchronous(async () => { for (const basePath of basePaths) { const readme = await validateAndReturnReadmePath(constants.specsRepoPath, basePath); const namespaces = keys(await getApiVersionsByNamespace(readme)); - const autogenlistEntries = findAutogenEntries(basePath); - - const [unautogened, autogened] = partition( - namespaces, - n => autogenlistEntries.filter(w => lowerCaseEquals(w.namespace, n))[0]?.disabledForAutogen === true); - - // Generate configuration for any RPs not explicitly declared in the autogen list - const generatedConfig = unautogened.map(namespace => ({ - basePath, - namespace, - } as AutoGenConfig)); - - let filteredAutoGenList = [ - ...autogenlistEntries, - ...generatedConfig, - ]; + let filteredAutoGenList = findOrGenerateAutogenEntries(basePath, namespaces); if (!!params.readmeFiles) { filteredAutoGenList = filteredAutoGenList.filter(c => { @@ -81,7 +66,7 @@ executeSynchronous(async () => { if (autoGenConfig.disabledForAutogen === true) { continue; } - + let pkg = { path: ['schemas'] } as Package; diff --git a/generator/cmd/generateonboardedreport.ts b/generator/cmd/generateonboardedreport.ts index 9735a03e16..f5b99ae948 100644 --- a/generator/cmd/generateonboardedreport.ts +++ b/generator/cmd/generateonboardedreport.ts @@ -1,7 +1,7 @@ import * as constants from '../constants'; import { cloneAndGenerateBasePaths, validateAndReturnReadmePath } from '../specs'; import chalk from 'chalk'; -import { findAutogenEntries } from '../autogenlist'; +import { findOrGenerateAutogenEntries } from '../autogenlist'; import { executeSynchronous, lowerCaseEquals, writeJsonFile, safeMkdir } from '../utils'; import { getApiVersionsByNamespace } from '../generate'; import { keys, partition } from 'lodash'; @@ -15,11 +15,11 @@ executeSynchronous(async () => { for (const basePath of basePaths) { const readme = await validateAndReturnReadmePath(constants.specsRepoPath, basePath); const namespaces = keys(await getApiVersionsByNamespace(readme)); - const autogenlistEntries = findAutogenEntries(basePath); + const autogenlistEntries = findOrGenerateAutogenEntries(basePath, namespaces); const [unautogened, autogened] = partition( - namespaces, - n => autogenlistEntries.filter(w => lowerCaseEquals(w.namespace, n))[0]?.disabledForAutogen === true); + autogenlistEntries, + e => e.disabledForAutogen === true); if (unautogened.length > 0 && autogened.length > 0) { // For partial autogeneration only, add two items @@ -28,7 +28,7 @@ executeSynchronous(async () => { allBasePaths.push({ 'basePath': basePath, 'onboardedToAutogen': 'no', - 'missing': unautogened, + 'missing': unautogened.map(x => x.namespace), 'onboarded': [] }); @@ -36,7 +36,7 @@ executeSynchronous(async () => { 'basePath': basePath, 'onboardedToAutogen': 'yes', 'missing': [], - 'onboarded': autogened + 'onboarded': autogened.map(x => x.namespace) }); } else { @@ -44,7 +44,7 @@ executeSynchronous(async () => { allBasePaths.push({ 'basePath': basePath, 'onboardedToAutogen': unautogened.length === 0 ? 'yes' : 'no', - 'missing': unautogened, + 'missing': unautogened.map(x => x.namespace), 'onboarded': [] }); } diff --git a/generator/cmd/generatesingle.ts b/generator/cmd/generatesingle.ts index 243c1d811b..6e63604dc7 100644 --- a/generator/cmd/generatesingle.ts +++ b/generator/cmd/generatesingle.ts @@ -1,9 +1,10 @@ import * as constants from '../constants'; -import { cloneAndGenerateBasePaths, resolveAbsolutePath, validateAndReturnReadmePath, getPackageString } from '../specs'; -import { generateSchemas, saveAutoGeneratedSchemaRefs } from '../generate'; +import { cloneAndGenerateBasePaths, resolveAbsolutePath, validateAndReturnReadmePath } from '../specs'; +import { generateSchemas, saveAutoGeneratedSchemaRefs, getApiVersionsByNamespace } from '../generate'; import process from 'process'; -import { findAutogenEntries } from '../autogenlist'; +import { findOrGenerateAutogenEntries } from '../autogenlist'; import chalk from 'chalk'; +import { keys } from 'lodash'; import { executeSynchronous } from '../utils'; executeSynchronous(async () => { @@ -24,25 +25,21 @@ executeSynchronous(async () => { } const schemaConfigs = []; - const autoGenEntries = findAutogenEntries(basePath); + const namespaces = keys(await getApiVersionsByNamespace(readme)); + const autoGenEntries = findOrGenerateAutogenEntries(basePath, namespaces); - if (autoGenEntries.length === 0) { - const localSchemaConfigs = await generateSchemas(readme); - schemaConfigs.push(...localSchemaConfigs); - } else { - for (const autoGenConfig of autoGenEntries) { - if (autoGenConfig.disabledForAutogen === true) { - console.log(`Path ${autoGenConfig.basePath} has been disabled for generation:`) - console.log(chalk.red(JSON.stringify(autoGenConfig, null, 2))); - continue; - } + for (const autoGenConfig of autoGenEntries) { + if (autoGenConfig.disabledForAutogen === true) { + console.log(`Path ${autoGenConfig.basePath} has been disabled for generation:`) + console.log(chalk.red(JSON.stringify(autoGenConfig, null, 2))); + continue; + } - console.log(`Using autogenlist config:`) - console.log(chalk.green(JSON.stringify(autoGenConfig, null, 2))); + console.log(`Using autogenlist config:`) + console.log(chalk.green(JSON.stringify(autoGenConfig, null, 2))); - const localSchemaConfigs = await generateSchemas(readme, autoGenConfig); - schemaConfigs.push(...localSchemaConfigs); - } + const localSchemaConfigs = await generateSchemas(readme, autoGenConfig); + schemaConfigs.push(...localSchemaConfigs); } await saveAutoGeneratedSchemaRefs(schemaConfigs); diff --git a/generator/cmd/listbasepaths.ts b/generator/cmd/listbasepaths.ts index 6f249f3dc9..18e5e93a4e 100644 --- a/generator/cmd/listbasepaths.ts +++ b/generator/cmd/listbasepaths.ts @@ -1,7 +1,7 @@ import * as constants from '../constants'; import { cloneAndGenerateBasePaths, validateAndReturnReadmePath } from '../specs'; import chalk from 'chalk'; -import { findAutogenEntries } from '../autogenlist'; +import { findOrGenerateAutogenEntries } from '../autogenlist'; import { executeSynchronous, lowerCaseEquals } from '../utils'; import { getApiVersionsByNamespace } from '../generate'; import { keys, partition } from 'lodash'; @@ -12,18 +12,18 @@ executeSynchronous(async () => { for (const basePath of basePaths) { const readme = await validateAndReturnReadmePath(constants.specsRepoPath, basePath); const namespaces = keys(await getApiVersionsByNamespace(readme)); - const autogenlistEntries = findAutogenEntries(basePath); + const autogenlistEntries = findOrGenerateAutogenEntries(basePath, namespaces); const [unautogened, autogened] = partition( - namespaces, - n => autogenlistEntries.filter(w => lowerCaseEquals(w.namespace, n))[0]?.disabledForAutogen === true); + autogenlistEntries, + e => e.disabledForAutogen === true); if (unautogened.length === 0) { console.log(`Discovered '${chalk.green(basePath)}'. enabled for auto-generation: ${chalk.green('yes')}.`); } else if (autogened.length > 0) { - console.log(`Discovered '${chalk.green(basePath)}'. enabled for auto-generation: ${chalk.yellow('partial')}. Missing: ${unautogened.map(p => chalk.yellow(p)).join(', ')}.`); + console.log(`Discovered '${chalk.green(basePath)}'. enabled for auto-generation: ${chalk.yellow('partial')}. Missing: ${unautogened.map(p => chalk.yellow(p.namespace)).join(', ')}.`); } else { - console.log(`Discovered '${chalk.green(basePath)}'. enabled for auto-generation: ${chalk.red('no')}. Missing: ${unautogened.map(p => chalk.yellow(p)).join(', ')}.`); + console.log(`Discovered '${chalk.green(basePath)}'. enabled for auto-generation: ${chalk.red('no')}. Missing: ${unautogened.map(p => chalk.yellow(p.namespace)).join(', ')}.`); } } }); \ No newline at end of file diff --git a/generator/processors/Microsoft.Insights.Application.ts b/generator/processors/Microsoft.Insights.Application.ts index e9111d5a0e..8bd94a65c4 100644 --- a/generator/processors/Microsoft.Insights.Application.ts +++ b/generator/processors/Microsoft.Insights.Application.ts @@ -3,7 +3,7 @@ import { SchemaPostProcessor } from '../models'; export const postProcessor: SchemaPostProcessor = (namespace: string, apiVersion: string, schema: any) => { // this shouldn't be a resource definition, and it causes Export failures as it contains duplicate properties "Type" and "type" const resources = Object.values(schema.resourceDefinitions || {}); - console.log(resources); + for (const resource of resources) { if (resource?.properties['Type'] && resource?.properties['type']) { delete resource.properties['Type']; From 2fb872b2185234c55b4b8b0bcab9f2bbb1fe9de3 Mon Sep 17 00:00:00 2001 From: SDKAuto Date: Thu, 12 Aug 2021 01:33:59 +0000 Subject: [PATCH 49/64] CodeGen from PR 15421 in Azure/azure-rest-api-specs Fixing s360 swagger correctness (#15421) * fixing issues with swagger correctness. * adding example changes * updated description and max item count for labels and tags. * adding validation rules for tags. * fixing spell check. --- schemas/2020-05-01/Microsoft.Billing.json | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/schemas/2020-05-01/Microsoft.Billing.json b/schemas/2020-05-01/Microsoft.Billing.json index 4daa2c1943..d72980e824 100644 --- a/schemas/2020-05-01/Microsoft.Billing.json +++ b/schemas/2020-05-01/Microsoft.Billing.json @@ -599,6 +599,21 @@ } ], "description": "Dictionary of metadata associated with the invoice section." + }, + "tags": { + "oneOf": [ + { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "properties": {} + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Dictionary of metadata associated with the invoice section. Maximum key/value length supported of 256 characters. Keys/value should not empty value nor null. Keys can not contain < > % & \\ ? /" } }, "description": "The properties of an invoice section." From 2b0dff8edbe59d667ef4fbb2b105c9b044762c93 Mon Sep 17 00:00:00 2001 From: SDKAuto Date: Thu, 12 Aug 2021 04:33:29 +0000 Subject: [PATCH 50/64] CodeGen from PR 15598 in Azure/azure-rest-api-specs moving logz to stable (#15598) * creating directory structure for stable version * version update chnages * reolving avacado error Co-authored-by: Gaurav Bang --- schemas/2020-10-01/Microsoft.Logz.json | 915 +++++++++++++++++++++ schemas/common/autogeneratedResources.json | 15 + 2 files changed, 930 insertions(+) create mode 100644 schemas/2020-10-01/Microsoft.Logz.json diff --git a/schemas/2020-10-01/Microsoft.Logz.json b/schemas/2020-10-01/Microsoft.Logz.json new file mode 100644 index 0000000000..f21c89a6ba --- /dev/null +++ b/schemas/2020-10-01/Microsoft.Logz.json @@ -0,0 +1,915 @@ +{ + "id": "https://schema.management.azure.com/schemas/2020-10-01/Microsoft.Logz.json#", + "$schema": "http://json-schema.org/draft-04/schema#", + "title": "Microsoft.Logz", + "description": "Microsoft Logz Resource Types", + "resourceDefinitions": { + "monitors": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2020-10-01" + ] + }, + "identity": { + "oneOf": [ + { + "$ref": "#/definitions/IdentityProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ] + }, + "location": { + "type": "string" + }, + "name": { + "type": "string", + "description": "Monitor resource name" + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/MonitorProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Properties specific to the monitor resource." + }, + "resources": { + "type": "array", + "items": { + "oneOf": [ + { + "$ref": "#/definitions/monitors_tagRules_childResource" + }, + { + "$ref": "#/definitions/monitors_singleSignOnConfigurations_childResource" + }, + { + "$ref": "#/definitions/monitors_accounts_childResource" + } + ] + } + }, + "tags": { + "oneOf": [ + { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "properties": {} + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ] + }, + "type": { + "type": "string", + "enum": [ + "Microsoft.Logz/monitors" + ] + } + }, + "required": [ + "apiVersion", + "location", + "name", + "properties", + "type" + ], + "description": "Microsoft.Logz/monitors" + }, + "monitors_accounts": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2020-10-01" + ] + }, + "identity": { + "oneOf": [ + { + "$ref": "#/definitions/IdentityProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ] + }, + "location": { + "type": "string" + }, + "name": { + "type": "string", + "description": "Sub Account resource name" + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/MonitorProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Properties specific to the monitor resource." + }, + "resources": { + "type": "array", + "items": { + "oneOf": [ + { + "$ref": "#/definitions/monitors_accounts_tagRules_childResource" + } + ] + } + }, + "tags": { + "oneOf": [ + { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "properties": {} + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ] + }, + "type": { + "type": "string", + "enum": [ + "Microsoft.Logz/monitors/accounts" + ] + } + }, + "required": [ + "apiVersion", + "location", + "name", + "properties", + "type" + ], + "description": "Microsoft.Logz/monitors/accounts" + }, + "monitors_accounts_tagRules": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2020-10-01" + ] + }, + "name": { + "type": "string" + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/MonitoringTagRulesProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Definition of the properties for a TagRules resource." + }, + "type": { + "type": "string", + "enum": [ + "Microsoft.Logz/monitors/accounts/tagRules" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.Logz/monitors/accounts/tagRules" + }, + "monitors_singleSignOnConfigurations": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2020-10-01" + ] + }, + "name": { + "type": "string" + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/LogzSingleSignOnProperties" + }, + { + "$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." + }, + "type": { + "type": "string", + "enum": [ + "Microsoft.Logz/monitors/singleSignOnConfigurations" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.Logz/monitors/singleSignOnConfigurations" + }, + "monitors_tagRules": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2020-10-01" + ] + }, + "name": { + "type": "string" + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/MonitoringTagRulesProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Definition of the properties for a TagRules resource." + }, + "type": { + "type": "string", + "enum": [ + "Microsoft.Logz/monitors/tagRules" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.Logz/monitors/tagRules" + } + }, + "definitions": { + "FilteringTag": { + "type": "object", + "properties": { + "action": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Include", + "Exclude" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ] + }, + "name": { + "type": "string", + "description": "The name (also known as the key) of the tag." + }, + "value": { + "type": "string", + "description": "The value of the tag." + } + }, + "description": "The definition of a filtering tag. Filtering tags are used for capturing resources and include/exclude them from being monitored." + }, + "IdentityProperties": { + "type": "object", + "properties": { + "type": { + "oneOf": [ + { + "type": "string", + "enum": [ + "SystemAssigned", + "UserAssigned" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ] + } + } + }, + "LogRules": { + "type": "object", + "properties": { + "filteringTags": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/FilteringTag" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "List of filtering tags to be used for capturing logs. This only takes effect if SendActivityLogs flag is enabled. If empty, all resources will be captured. If only Exclude action is specified, the rules will apply to the list of all available resources. If Include actions are specified, the rules will only include resources with the associated tags." + }, + "sendAadLogs": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Flag specifying if AAD logs should be sent for the Monitor resource." + }, + "sendActivityLogs": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Flag specifying if activity logs from Azure resources should be sent for the Monitor resource." + }, + "sendSubscriptionLogs": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Flag specifying if subscription logs should be sent for the Monitor resource." + } + }, + "description": "Set of rules for sending logs for the Monitor resource." + }, + "LogzOrganizationProperties": { + "type": "object", + "properties": { + "companyName": { + "type": "string", + "description": "Name of the Logz organization." + }, + "enterpriseAppId": { + "type": "string", + "description": "The Id of the Enterprise App used for Single sign on." + }, + "singleSignOnUrl": { + "type": "string", + "description": "The login URL specific to this Logz Organization." + } + } + }, + "LogzSingleSignOnProperties": { + "type": "object", + "properties": { + "enterpriseAppId": { + "type": "string", + "description": "The Id of the Enterprise App used for Single sign-on." + }, + "provisioningState": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Accepted", + "Creating", + "Updating", + "Deleting", + "Succeeded", + "Failed", + "Canceled", + "Deleted", + "NotSpecified" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ] + }, + "singleSignOnState": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Initial", + "Enable", + "Disable", + "Existing" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ] + }, + "singleSignOnUrl": { + "type": "string", + "description": "The login URL specific to this Logz Organization." + } + } + }, + "MonitoringTagRulesProperties": { + "type": "object", + "properties": { + "logRules": { + "oneOf": [ + { + "$ref": "#/definitions/LogRules" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Set of rules for sending logs for the Monitor resource." + }, + "provisioningState": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Accepted", + "Creating", + "Updating", + "Deleting", + "Succeeded", + "Failed", + "Canceled", + "Deleted", + "NotSpecified" + ] + }, + { + "$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." + } + }, + "description": "Definition of the properties for a TagRules resource." + }, + "MonitorProperties": { + "type": "object", + "properties": { + "liftrResourceCategory": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Unknown", + "MonitorLogs" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ] + }, + "logzOrganizationProperties": { + "oneOf": [ + { + "$ref": "#/definitions/LogzOrganizationProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ] + }, + "marketplaceSubscriptionStatus": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Active", + "Suspended" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ] + }, + "monitoringStatus": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Enabled", + "Disabled" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ] + }, + "planData": { + "oneOf": [ + { + "$ref": "#/definitions/PlanData" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ] + }, + "provisioningState": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Accepted", + "Creating", + "Updating", + "Deleting", + "Succeeded", + "Failed", + "Canceled", + "Deleted", + "NotSpecified" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ] + }, + "userInfo": { + "oneOf": [ + { + "$ref": "#/definitions/UserInfo" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ] + } + }, + "description": "Properties specific to the monitor resource." + }, + "monitors_accounts_childResource": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2020-10-01" + ] + }, + "identity": { + "oneOf": [ + { + "$ref": "#/definitions/IdentityProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ] + }, + "location": { + "type": "string" + }, + "name": { + "type": "string", + "description": "Sub Account resource name" + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/MonitorProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Properties specific to the monitor resource." + }, + "tags": { + "oneOf": [ + { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "properties": {} + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ] + }, + "type": { + "type": "string", + "enum": [ + "accounts" + ] + } + }, + "required": [ + "apiVersion", + "location", + "name", + "properties", + "type" + ], + "description": "Microsoft.Logz/monitors/accounts" + }, + "monitors_accounts_tagRules_childResource": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2020-10-01" + ] + }, + "name": { + "type": "string" + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/MonitoringTagRulesProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Definition of the properties for a TagRules resource." + }, + "type": { + "type": "string", + "enum": [ + "tagRules" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.Logz/monitors/accounts/tagRules" + }, + "monitors_singleSignOnConfigurations_childResource": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2020-10-01" + ] + }, + "name": { + "type": "string" + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/LogzSingleSignOnProperties" + }, + { + "$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." + }, + "type": { + "type": "string", + "enum": [ + "singleSignOnConfigurations" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.Logz/monitors/singleSignOnConfigurations" + }, + "monitors_tagRules_childResource": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2020-10-01" + ] + }, + "name": { + "type": "string" + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/MonitoringTagRulesProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Definition of the properties for a TagRules resource." + }, + "type": { + "type": "string", + "enum": [ + "tagRules" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.Logz/monitors/tagRules" + }, + "PlanData": { + "type": "object", + "properties": { + "billingCycle": { + "type": "string", + "maxLength": 50, + "description": "different billing cycles like MONTHLY/WEEKLY. this could be enum" + }, + "effectiveDate": { + "type": "string", + "format": "date-time", + "description": "date when plan was applied" + }, + "planDetails": { + "type": "string", + "maxLength": 50, + "description": "plan id as published by Logz" + }, + "usageType": { + "type": "string", + "maxLength": 50, + "description": "different usage type like PAYG/COMMITTED. this could be enum" + } + } + }, + "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." + }, + "UserInfo": { + "type": "object", + "properties": { + "emailAddress": { + "oneOf": [ + { + "type": "string", + "pattern": "^[A-Za-z0-9._%+-]+@(?:[A-Za-z0-9-]+\\.)+[A-Za-z]{2,}$" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Email of the user used by Logz for contacting them if needed" + }, + "firstName": { + "type": "string", + "maxLength": 50, + "description": "First Name of the user" + }, + "lastName": { + "type": "string", + "maxLength": 50, + "description": "Last Name of the user" + }, + "phoneNumber": { + "type": "string", + "maxLength": 40, + "description": "Phone number of the user used by Logz for contacting them if needed" + } + } + } + } +} \ No newline at end of file diff --git a/schemas/common/autogeneratedResources.json b/schemas/common/autogeneratedResources.json index 908be2673d..e03c1f8b6a 100644 --- a/schemas/common/autogeneratedResources.json +++ b/schemas/common/autogeneratedResources.json @@ -6601,6 +6601,21 @@ { "$ref": "https://schema.management.azure.com/schemas/2018-10-15/Microsoft.LabServices.json#/resourceDefinitions/labaccounts_labs_users" }, + { + "$ref": "https://schema.management.azure.com/schemas/2020-10-01/Microsoft.Logz.json#/resourceDefinitions/monitors" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2020-10-01/Microsoft.Logz.json#/resourceDefinitions/monitors_accounts" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2020-10-01/Microsoft.Logz.json#/resourceDefinitions/monitors_accounts_tagRules" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2020-10-01/Microsoft.Logz.json#/resourceDefinitions/monitors_singleSignOnConfigurations" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2020-10-01/Microsoft.Logz.json#/resourceDefinitions/monitors_tagRules" + }, { "$ref": "https://schema.management.azure.com/schemas/2020-10-01-preview/Microsoft.Logz.json#/resourceDefinitions/monitors" }, From 1cc4ace0fdcd8127b1afdd2e68b1ec2b25cd3d13 Mon Sep 17 00:00:00 2001 From: SDKAuto Date: Thu, 12 Aug 2021 06:18:15 +0000 Subject: [PATCH 51/64] CodeGen from PR 15628 in Azure/azure-rest-api-specs track1 add batch tag (#15628) --- .../2019-08-01/tenantDeploymentTemplate.json | 6 + .../Microsoft.CertificateRegistration.json | 306 + .../Microsoft.DomainRegistration.json | 428 + schemas/2021-02-01/Microsoft.Web.json | 13131 ++++++++++++++++ schemas/common/autogeneratedResources.json | 192 + 5 files changed, 14063 insertions(+) create mode 100644 schemas/2021-02-01/Microsoft.CertificateRegistration.json create mode 100644 schemas/2021-02-01/Microsoft.DomainRegistration.json create mode 100644 schemas/2021-02-01/Microsoft.Web.json diff --git a/schemas/2019-08-01/tenantDeploymentTemplate.json b/schemas/2019-08-01/tenantDeploymentTemplate.json index b7936c20e3..e7f1051bc5 100644 --- a/schemas/2019-08-01/tenantDeploymentTemplate.json +++ b/schemas/2019-08-01/tenantDeploymentTemplate.json @@ -819,6 +819,12 @@ }, { "$ref": "https://schema.management.azure.com/schemas/2021-01-15/Microsoft.Web.json#/tenant_resourceDefinitions/sourcecontrols" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2021-02-01/Microsoft.Web.json#/tenant_resourceDefinitions/publishingUsers" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2021-02-01/Microsoft.Web.json#/tenant_resourceDefinitions/sourcecontrols" } ] } diff --git a/schemas/2021-02-01/Microsoft.CertificateRegistration.json b/schemas/2021-02-01/Microsoft.CertificateRegistration.json new file mode 100644 index 0000000000..94a1f97af2 --- /dev/null +++ b/schemas/2021-02-01/Microsoft.CertificateRegistration.json @@ -0,0 +1,306 @@ +{ + "id": "https://schema.management.azure.com/schemas/2021-02-01/Microsoft.CertificateRegistration.json#", + "$schema": "http://json-schema.org/draft-04/schema#", + "title": "Microsoft.CertificateRegistration", + "description": "Microsoft CertificateRegistration Resource Types", + "resourceDefinitions": { + "certificateOrders": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-02-01" + ] + }, + "kind": { + "type": "string", + "description": "Kind of resource." + }, + "location": { + "type": "string", + "description": "Resource Location." + }, + "name": { + "type": "string", + "description": "Name of the certificate order." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/AppServiceCertificateOrderProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "AppServiceCertificateOrder resource specific properties" + }, + "resources": { + "type": "array", + "items": { + "oneOf": [ + { + "$ref": "#/definitions/certificateOrders_certificates_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.CertificateRegistration/certificateOrders" + ] + } + }, + "required": [ + "apiVersion", + "location", + "name", + "properties", + "type" + ], + "description": "Microsoft.CertificateRegistration/certificateOrders" + }, + "certificateOrders_certificates": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-02-01" + ] + }, + "kind": { + "type": "string", + "description": "Kind of resource." + }, + "location": { + "type": "string", + "description": "Resource Location." + }, + "name": { + "type": "string", + "description": "Name of the certificate." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/AppServiceCertificate" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Key Vault container for a certificate that is purchased through Azure." + }, + "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.CertificateRegistration/certificateOrders/certificates" + ] + } + }, + "required": [ + "apiVersion", + "location", + "name", + "properties", + "type" + ], + "description": "Microsoft.CertificateRegistration/certificateOrders/certificates" + } + }, + "definitions": { + "AppServiceCertificate": { + "type": "object", + "properties": { + "keyVaultId": { + "type": "string", + "description": "Key Vault resource Id." + }, + "keyVaultSecretName": { + "type": "string", + "description": "Key Vault secret name." + } + }, + "description": "Key Vault container for a certificate that is purchased through Azure." + }, + "AppServiceCertificateOrderProperties": { + "type": "object", + "properties": { + "autoRenew": { + "oneOf": [ + { + "type": "boolean", + "default": true + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "true if the certificate should be automatically renewed when it expires; otherwise, false." + }, + "certificates": { + "oneOf": [ + { + "type": "object", + "additionalProperties": { + "$ref": "#/definitions/AppServiceCertificate" + }, + "properties": {} + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "State of the Key Vault secret." + }, + "csr": { + "type": "string", + "description": "Last CSR that was created for this order." + }, + "distinguishedName": { + "type": "string", + "description": "Certificate distinguished name." + }, + "keySize": { + "oneOf": [ + { + "type": "integer", + "default": "2048" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Certificate key size." + }, + "productType": { + "oneOf": [ + { + "type": "string", + "enum": [ + "StandardDomainValidatedSsl", + "StandardDomainValidatedWildCardSsl" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Certificate product type." + }, + "validityInYears": { + "oneOf": [ + { + "type": "integer", + "default": "1" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Duration in years (must be 1)." + } + }, + "required": [ + "productType" + ], + "description": "AppServiceCertificateOrder resource specific properties" + }, + "certificateOrders_certificates_childResource": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-02-01" + ] + }, + "kind": { + "type": "string", + "description": "Kind of resource." + }, + "location": { + "type": "string", + "description": "Resource Location." + }, + "name": { + "type": "string", + "description": "Name of the certificate." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/AppServiceCertificate" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Key Vault container for a certificate that is purchased through Azure." + }, + "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": [ + "certificates" + ] + } + }, + "required": [ + "apiVersion", + "location", + "name", + "properties", + "type" + ], + "description": "Microsoft.CertificateRegistration/certificateOrders/certificates" + } + } +} \ No newline at end of file diff --git a/schemas/2021-02-01/Microsoft.DomainRegistration.json b/schemas/2021-02-01/Microsoft.DomainRegistration.json new file mode 100644 index 0000000000..7d4fe3dffc --- /dev/null +++ b/schemas/2021-02-01/Microsoft.DomainRegistration.json @@ -0,0 +1,428 @@ +{ + "id": "https://schema.management.azure.com/schemas/2021-02-01/Microsoft.DomainRegistration.json#", + "$schema": "http://json-schema.org/draft-04/schema#", + "title": "Microsoft.DomainRegistration", + "description": "Microsoft DomainRegistration Resource Types", + "resourceDefinitions": { + "domains": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-02-01" + ] + }, + "kind": { + "type": "string", + "description": "Kind of resource." + }, + "location": { + "type": "string", + "description": "Resource Location." + }, + "name": { + "type": "string", + "description": "Name of the domain." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/DomainProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Domain resource specific properties" + }, + "resources": { + "type": "array", + "items": { + "oneOf": [ + { + "$ref": "#/definitions/domains_domainOwnershipIdentifiers_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.DomainRegistration/domains" + ] + } + }, + "required": [ + "apiVersion", + "location", + "name", + "properties", + "type" + ], + "description": "Microsoft.DomainRegistration/domains" + }, + "domains_domainOwnershipIdentifiers": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-02-01" + ] + }, + "kind": { + "type": "string", + "description": "Kind of resource." + }, + "name": { + "type": "string", + "description": "Name of identifier." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/DomainOwnershipIdentifierProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "DomainOwnershipIdentifier resource specific properties" + }, + "type": { + "type": "string", + "enum": [ + "Microsoft.DomainRegistration/domains/domainOwnershipIdentifiers" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.DomainRegistration/domains/domainOwnershipIdentifiers" + } + }, + "definitions": { + "Address": { + "type": "object", + "properties": { + "address1": { + "type": "string", + "description": "First line of an Address." + }, + "address2": { + "type": "string", + "description": "First line of an Address." + }, + "city": { + "type": "string", + "description": "The city for the address." + }, + "country": { + "type": "string", + "description": "The country for the address." + }, + "postalCode": { + "type": "string", + "description": "The postal code for the address." + }, + "state": { + "type": "string", + "description": "The state or province for the address." + } + }, + "required": [ + "address1", + "city", + "country", + "postalCode", + "state" + ], + "description": "Address information for domain registration." + }, + "Contact": { + "type": "object", + "properties": { + "addressMailing": { + "oneOf": [ + { + "$ref": "#/definitions/Address" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Address information for domain registration." + }, + "email": { + "type": "string", + "description": "Email address." + }, + "fax": { + "type": "string", + "description": "Fax number." + }, + "jobTitle": { + "type": "string", + "description": "Job title." + }, + "nameFirst": { + "type": "string", + "description": "First name." + }, + "nameLast": { + "type": "string", + "description": "Last name." + }, + "nameMiddle": { + "type": "string", + "description": "Middle name." + }, + "organization": { + "type": "string", + "description": "Organization contact belongs to." + }, + "phone": { + "type": "string", + "description": "Phone number." + } + }, + "required": [ + "email", + "nameFirst", + "nameLast", + "phone" + ], + "description": "Contact information for domain registration. If 'Domain Privacy' option is not selected then the contact information is made publicly available through the Whois \ndirectories as per ICANN requirements." + }, + "DomainOwnershipIdentifierProperties": { + "type": "object", + "properties": { + "ownershipId": { + "type": "string", + "description": "Ownership Id." + } + }, + "description": "DomainOwnershipIdentifier resource specific properties" + }, + "DomainProperties": { + "type": "object", + "properties": { + "authCode": { + "type": "string" + }, + "autoRenew": { + "oneOf": [ + { + "type": "boolean", + "default": true + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "true if the domain should be automatically renewed; otherwise, false." + }, + "consent": { + "oneOf": [ + { + "$ref": "#/definitions/DomainPurchaseConsent" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Domain purchase consent object, representing acceptance of applicable legal agreements." + }, + "contactAdmin": { + "oneOf": [ + { + "$ref": "#/definitions/Contact" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Contact information for domain registration. If 'Domain Privacy' option is not selected then the contact information is made publicly available through the Whois \ndirectories as per ICANN requirements." + }, + "contactBilling": { + "oneOf": [ + { + "$ref": "#/definitions/Contact" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Contact information for domain registration. If 'Domain Privacy' option is not selected then the contact information is made publicly available through the Whois \ndirectories as per ICANN requirements." + }, + "contactRegistrant": { + "oneOf": [ + { + "$ref": "#/definitions/Contact" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Contact information for domain registration. If 'Domain Privacy' option is not selected then the contact information is made publicly available through the Whois \ndirectories as per ICANN requirements." + }, + "contactTech": { + "oneOf": [ + { + "$ref": "#/definitions/Contact" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Contact information for domain registration. If 'Domain Privacy' option is not selected then the contact information is made publicly available through the Whois \ndirectories as per ICANN requirements." + }, + "dnsType": { + "oneOf": [ + { + "type": "string", + "enum": [ + "AzureDns", + "DefaultDomainRegistrarDns" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Current DNS type." + }, + "dnsZoneId": { + "type": "string", + "description": "Azure DNS Zone to use" + }, + "privacy": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "true if domain privacy is enabled for this domain; otherwise, false." + }, + "targetDnsType": { + "oneOf": [ + { + "type": "string", + "enum": [ + "AzureDns", + "DefaultDomainRegistrarDns" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Target DNS type (would be used for migration)." + } + }, + "required": [ + "consent", + "contactAdmin", + "contactBilling", + "contactRegistrant", + "contactTech" + ], + "description": "Domain resource specific properties" + }, + "DomainPurchaseConsent": { + "type": "object", + "properties": { + "agreedAt": { + "type": "string", + "format": "date-time", + "description": "Timestamp when the agreements were accepted." + }, + "agreedBy": { + "type": "string", + "description": "Client IP address." + }, + "agreementKeys": { + "oneOf": [ + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "List of applicable legal agreement keys. This list can be retrieved using ListLegalAgreements API under TopLevelDomain resource." + } + }, + "description": "Domain purchase consent object, representing acceptance of applicable legal agreements." + }, + "domains_domainOwnershipIdentifiers_childResource": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-02-01" + ] + }, + "kind": { + "type": "string", + "description": "Kind of resource." + }, + "name": { + "type": "string", + "description": "Name of identifier." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/DomainOwnershipIdentifierProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "DomainOwnershipIdentifier resource specific properties" + }, + "type": { + "type": "string", + "enum": [ + "domainOwnershipIdentifiers" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.DomainRegistration/domains/domainOwnershipIdentifiers" + } + } +} \ No newline at end of file diff --git a/schemas/2021-02-01/Microsoft.Web.json b/schemas/2021-02-01/Microsoft.Web.json new file mode 100644 index 0000000000..f4b3883830 --- /dev/null +++ b/schemas/2021-02-01/Microsoft.Web.json @@ -0,0 +1,13131 @@ +{ + "id": "https://schema.management.azure.com/schemas/2021-02-01/Microsoft.Web.json#", + "$schema": "http://json-schema.org/draft-04/schema#", + "title": "Microsoft.Web", + "description": "Microsoft Web Resource Types", + "resourceDefinitions": { + "certificates": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-02-01" + ] + }, + "kind": { + "type": "string", + "description": "Kind of resource." + }, + "location": { + "type": "string", + "description": "Resource Location." + }, + "name": { + "type": "string", + "description": "Name of the certificate." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/CertificateProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Certificate resource specific 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.Web/certificates" + ] + } + }, + "required": [ + "apiVersion", + "location", + "name", + "properties", + "type" + ], + "description": "Microsoft.Web/certificates" + }, + "hostingEnvironments": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-02-01" + ] + }, + "kind": { + "type": "string", + "description": "Kind of resource." + }, + "location": { + "type": "string", + "description": "Resource Location." + }, + "name": { + "type": "string", + "description": "Name of the App Service Environment." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/AppServiceEnvironment" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Description of an App Service Environment." + }, + "resources": { + "type": "array", + "items": { + "oneOf": [ + { + "$ref": "#/definitions/hostingEnvironments_configurations_childResource" + }, + { + "$ref": "#/definitions/hostingEnvironments_multiRolePools_childResource" + }, + { + "$ref": "#/definitions/hostingEnvironments_privateEndpointConnections_childResource" + }, + { + "$ref": "#/definitions/hostingEnvironments_workerPools_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.Web/hostingEnvironments" + ] + } + }, + "required": [ + "apiVersion", + "location", + "name", + "properties", + "type" + ], + "description": "Microsoft.Web/hostingEnvironments" + }, + "hostingEnvironments_configurations": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-02-01" + ] + }, + "kind": { + "type": "string", + "description": "Kind of resource." + }, + "name": { + "oneOf": [ + { + "type": "string", + "pattern": "^.*/networking$" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ] + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/AseV3NetworkingConfigurationProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "AseV3NetworkingConfiguration resource specific properties" + }, + "type": { + "type": "string", + "enum": [ + "Microsoft.Web/hostingEnvironments/configurations" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.Web/hostingEnvironments/configurations" + }, + "hostingEnvironments_multiRolePools": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-02-01" + ] + }, + "kind": { + "type": "string", + "description": "Kind of resource." + }, + "name": { + "oneOf": [ + { + "type": "string", + "pattern": "^.*/default$" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ] + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/WorkerPool" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Worker pool of an App Service Environment." + }, + "sku": { + "oneOf": [ + { + "$ref": "#/definitions/SkuDescription" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Description of a SKU for a scalable resource." + }, + "type": { + "type": "string", + "enum": [ + "Microsoft.Web/hostingEnvironments/multiRolePools" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.Web/hostingEnvironments/multiRolePools" + }, + "hostingEnvironments_privateEndpointConnections": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-02-01" + ] + }, + "kind": { + "type": "string", + "description": "Kind of resource." + }, + "name": { + "type": "string", + "description": "Name of the private endpoint connection." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/PrivateLinkConnectionApprovalRequest" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "A request to approve or reject a private endpoint connection" + }, + "type": { + "type": "string", + "enum": [ + "Microsoft.Web/hostingEnvironments/privateEndpointConnections" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.Web/hostingEnvironments/privateEndpointConnections" + }, + "hostingEnvironments_workerPools": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-02-01" + ] + }, + "kind": { + "type": "string", + "description": "Kind of resource." + }, + "name": { + "type": "string", + "description": "Name of the worker pool." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/WorkerPool" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Worker pool of an App Service Environment." + }, + "sku": { + "oneOf": [ + { + "$ref": "#/definitions/SkuDescription" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Description of a SKU for a scalable resource." + }, + "type": { + "type": "string", + "enum": [ + "Microsoft.Web/hostingEnvironments/workerPools" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.Web/hostingEnvironments/workerPools" + }, + "kubeEnvironments": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-02-01" + ] + }, + "extendedLocation": { + "oneOf": [ + { + "$ref": "#/definitions/ExtendedLocation" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Extended Location." + }, + "kind": { + "type": "string", + "description": "Kind of resource." + }, + "location": { + "type": "string", + "description": "Resource Location." + }, + "name": { + "type": "string", + "description": "Name of the Kubernetes Environment." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/KubeEnvironmentProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "KubeEnvironment resource specific 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.Web/kubeEnvironments" + ] + } + }, + "required": [ + "apiVersion", + "location", + "name", + "properties", + "type" + ], + "description": "Microsoft.Web/kubeEnvironments" + }, + "serverfarms": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-02-01" + ] + }, + "extendedLocation": { + "oneOf": [ + { + "$ref": "#/definitions/ExtendedLocation" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Extended Location." + }, + "kind": { + "type": "string", + "description": "Kind of resource." + }, + "location": { + "type": "string", + "description": "Resource Location." + }, + "name": { + "type": "string", + "description": "Name of the App Service plan." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/AppServicePlanProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "AppServicePlan resource specific properties" + }, + "sku": { + "oneOf": [ + { + "$ref": "#/definitions/SkuDescription" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Description of a SKU for a scalable 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.Web/serverfarms" + ] + } + }, + "required": [ + "apiVersion", + "location", + "name", + "properties", + "type" + ], + "description": "Microsoft.Web/serverfarms" + }, + "serverfarms_virtualNetworkConnections_gateways": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-02-01" + ] + }, + "kind": { + "type": "string", + "description": "Kind of resource." + }, + "name": { + "type": "string", + "description": "Name of the gateway. Only the 'primary' gateway is supported." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/VnetGatewayProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "VnetGateway resource specific properties" + }, + "type": { + "type": "string", + "enum": [ + "Microsoft.Web/serverfarms/virtualNetworkConnections/gateways" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.Web/serverfarms/virtualNetworkConnections/gateways" + }, + "serverfarms_virtualNetworkConnections_routes": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-02-01" + ] + }, + "kind": { + "type": "string", + "description": "Kind of resource." + }, + "name": { + "type": "string", + "description": "Name of the Virtual Network route." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/VnetRouteProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "VnetRoute resource specific properties" + }, + "type": { + "type": "string", + "enum": [ + "Microsoft.Web/serverfarms/virtualNetworkConnections/routes" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.Web/serverfarms/virtualNetworkConnections/routes" + }, + "sites": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-02-01" + ] + }, + "extendedLocation": { + "oneOf": [ + { + "$ref": "#/definitions/ExtendedLocation" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Extended Location." + }, + "identity": { + "oneOf": [ + { + "$ref": "#/definitions/ManagedServiceIdentity" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Managed service identity." + }, + "kind": { + "type": "string", + "description": "Kind of resource." + }, + "location": { + "type": "string", + "description": "Resource Location." + }, + "name": { + "type": "string", + "description": "Unique name of the app to create or update. To create or update a deployment slot, use the {slot} parameter." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/SiteProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Site resource specific properties" + }, + "resources": { + "type": "array", + "items": { + "oneOf": [ + { + "$ref": "#/definitions/sites_basicPublishingCredentialsPolicies_childResource" + }, + { + "$ref": "#/definitions/sites_config_childResource" + }, + { + "$ref": "#/definitions/sites_deployments_childResource" + }, + { + "$ref": "#/definitions/sites_domainOwnershipIdentifiers_childResource" + }, + { + "$ref": "#/definitions/sites_extensions_childResource" + }, + { + "$ref": "#/definitions/sites_functions_childResource" + }, + { + "$ref": "#/definitions/sites_hostNameBindings_childResource" + }, + { + "$ref": "#/definitions/sites_hybridconnection_childResource" + }, + { + "$ref": "#/definitions/sites_migrate_childResource" + }, + { + "$ref": "#/definitions/sites_networkConfig_childResource" + }, + { + "$ref": "#/definitions/sites_premieraddons_childResource" + }, + { + "$ref": "#/definitions/sites_privateAccess_childResource" + }, + { + "$ref": "#/definitions/sites_privateEndpointConnections_childResource" + }, + { + "$ref": "#/definitions/sites_publicCertificates_childResource" + }, + { + "$ref": "#/definitions/sites_siteextensions_childResource" + }, + { + "$ref": "#/definitions/sites_slots_childResource" + }, + { + "$ref": "#/definitions/sites_sourcecontrols_childResource" + }, + { + "$ref": "#/definitions/sites_virtualNetworkConnections_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.Web/sites" + ] + } + }, + "required": [ + "apiVersion", + "location", + "name", + "properties", + "type" + ], + "description": "Microsoft.Web/sites" + }, + "sites_basicPublishingCredentialsPolicies": { + "type": "object", + "oneOf": [ + { + "type": "object", + "properties": { + "kind": { + "type": "string", + "description": "Kind of resource." + }, + "name": { + "oneOf": [ + { + "type": "string", + "pattern": "^.*/ftp$" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ] + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/CsmPublishingCredentialsPoliciesEntityProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "CsmPublishingCredentialsPoliciesEntity resource specific properties" + } + }, + "required": [ + "name", + "properties" + ], + "description": "Microsoft.Web/sites/basicPublishingCredentialsPolicies" + }, + { + "type": "object", + "properties": { + "kind": { + "type": "string", + "description": "Kind of resource." + }, + "name": { + "oneOf": [ + { + "type": "string", + "pattern": "^.*/scm$" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ] + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/CsmPublishingCredentialsPoliciesEntityProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "CsmPublishingCredentialsPoliciesEntity resource specific properties" + } + }, + "required": [ + "name", + "properties" + ], + "description": "Microsoft.Web/sites/basicPublishingCredentialsPolicies" + } + ], + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-02-01" + ] + }, + "type": { + "type": "string", + "enum": [ + "Microsoft.Web/sites/basicPublishingCredentialsPolicies" + ] + } + }, + "required": [ + "apiVersion", + "type" + ], + "description": "Microsoft.Web/sites/basicPublishingCredentialsPolicies" + }, + "sites_config": { + "type": "object", + "oneOf": [ + { + "type": "object", + "properties": { + "kind": { + "type": "string", + "description": "Kind of resource." + }, + "name": { + "oneOf": [ + { + "type": "string", + "pattern": "^.*/appsettings$" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ] + }, + "properties": { + "oneOf": [ + { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "properties": {} + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Settings." + } + }, + "required": [ + "name", + "properties" + ], + "description": "Microsoft.Web/sites/config" + }, + { + "type": "object", + "properties": { + "kind": { + "type": "string", + "description": "Kind of resource." + }, + "name": { + "oneOf": [ + { + "type": "string", + "pattern": "^.*/authsettings$" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ] + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/SiteAuthSettingsProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "SiteAuthSettings resource specific properties" + } + }, + "required": [ + "name", + "properties" + ], + "description": "Microsoft.Web/sites/config" + }, + { + "type": "object", + "properties": { + "kind": { + "type": "string", + "description": "Kind of resource." + }, + "name": { + "oneOf": [ + { + "type": "string", + "pattern": "^.*/authsettingsV2$" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ] + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/SiteAuthSettingsV2Properties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "SiteAuthSettingsV2 resource specific properties" + } + }, + "required": [ + "name", + "properties" + ], + "description": "Microsoft.Web/sites/config" + }, + { + "type": "object", + "properties": { + "kind": { + "type": "string", + "description": "Kind of resource." + }, + "name": { + "oneOf": [ + { + "type": "string", + "pattern": "^.*/azurestorageaccounts$" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ] + }, + "properties": { + "oneOf": [ + { + "type": "object", + "additionalProperties": { + "$ref": "#/definitions/AzureStorageInfoValue" + }, + "properties": {} + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Azure storage accounts." + } + }, + "required": [ + "name", + "properties" + ], + "description": "Microsoft.Web/sites/config" + }, + { + "type": "object", + "properties": { + "kind": { + "type": "string", + "description": "Kind of resource." + }, + "name": { + "oneOf": [ + { + "type": "string", + "pattern": "^.*/backup$" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ] + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/BackupRequestProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "BackupRequest resource specific properties" + } + }, + "required": [ + "name", + "properties" + ], + "description": "Microsoft.Web/sites/config" + }, + { + "type": "object", + "properties": { + "kind": { + "type": "string", + "description": "Kind of resource." + }, + "name": { + "oneOf": [ + { + "type": "string", + "pattern": "^.*/connectionstrings$" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ] + }, + "properties": { + "oneOf": [ + { + "type": "object", + "additionalProperties": { + "$ref": "#/definitions/ConnStringValueTypePair" + }, + "properties": {} + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Connection strings." + } + }, + "required": [ + "name", + "properties" + ], + "description": "Microsoft.Web/sites/config" + }, + { + "type": "object", + "properties": { + "kind": { + "type": "string", + "description": "Kind of resource." + }, + "name": { + "oneOf": [ + { + "type": "string", + "pattern": "^.*/logs$" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ] + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/SiteLogsConfigProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "SiteLogsConfig resource specific properties" + } + }, + "required": [ + "name", + "properties" + ], + "description": "Microsoft.Web/sites/config" + }, + { + "type": "object", + "properties": { + "kind": { + "type": "string", + "description": "Kind of resource." + }, + "name": { + "oneOf": [ + { + "type": "string", + "pattern": "^.*/metadata$" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ] + }, + "properties": { + "oneOf": [ + { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "properties": {} + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Settings." + } + }, + "required": [ + "name", + "properties" + ], + "description": "Microsoft.Web/sites/config" + }, + { + "type": "object", + "properties": { + "kind": { + "type": "string", + "description": "Kind of resource." + }, + "name": { + "oneOf": [ + { + "type": "string", + "pattern": "^.*/pushsettings$" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ] + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/PushSettingsProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "PushSettings resource specific properties" + } + }, + "required": [ + "name", + "properties" + ], + "description": "Microsoft.Web/sites/config" + }, + { + "type": "object", + "properties": { + "kind": { + "type": "string", + "description": "Kind of resource." + }, + "name": { + "oneOf": [ + { + "type": "string", + "pattern": "^.*/slotConfigNames$" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ] + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/SlotConfigNames" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Names for connection strings, application settings, and external Azure storage account configuration\nidentifiers to be marked as sticky to the deployment slot and not moved during a swap operation.\nThis is valid for all deployment slots in an app." + } + }, + "required": [ + "name", + "properties" + ], + "description": "Microsoft.Web/sites/config" + }, + { + "type": "object", + "properties": { + "kind": { + "type": "string", + "description": "Kind of resource." + }, + "name": { + "oneOf": [ + { + "type": "string", + "pattern": "^.*/web$" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ] + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/SiteConfig" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Configuration of an App Service app." + } + }, + "required": [ + "name", + "properties" + ], + "description": "Microsoft.Web/sites/config" + } + ], + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-02-01" + ] + }, + "type": { + "type": "string", + "enum": [ + "Microsoft.Web/sites/config" + ] + } + }, + "required": [ + "apiVersion", + "type" + ], + "description": "Microsoft.Web/sites/config" + }, + "sites_deployments": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-02-01" + ] + }, + "kind": { + "type": "string", + "description": "Kind of resource." + }, + "name": { + "type": "string", + "description": "ID of an existing deployment." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/DeploymentProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Deployment resource specific properties" + }, + "type": { + "type": "string", + "enum": [ + "Microsoft.Web/sites/deployments" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.Web/sites/deployments" + }, + "sites_domainOwnershipIdentifiers": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-02-01" + ] + }, + "kind": { + "type": "string", + "description": "Kind of resource." + }, + "name": { + "type": "string", + "description": "Name of domain ownership identifier." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/IdentifierProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Identifier resource specific properties" + }, + "type": { + "type": "string", + "enum": [ + "Microsoft.Web/sites/domainOwnershipIdentifiers" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.Web/sites/domainOwnershipIdentifiers" + }, + "sites_extensions": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-02-01" + ] + }, + "kind": { + "type": "string", + "description": "Kind of resource." + }, + "name": { + "oneOf": [ + { + "type": "string", + "pattern": "^.*/MSDeploy$" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ] + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/MSDeployCore" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "MSDeploy ARM PUT core information" + }, + "type": { + "type": "string", + "enum": [ + "Microsoft.Web/sites/extensions" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.Web/sites/extensions" + }, + "sites_functions": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-02-01" + ] + }, + "kind": { + "type": "string", + "description": "Kind of resource." + }, + "name": { + "type": "string", + "description": "Function name." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/FunctionEnvelopeProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "FunctionEnvelope resource specific properties" + }, + "resources": { + "type": "array", + "items": { + "oneOf": [ + { + "$ref": "#/definitions/sites_functions_keys_childResource" + } + ] + } + }, + "type": { + "type": "string", + "enum": [ + "Microsoft.Web/sites/functions" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.Web/sites/functions" + }, + "sites_functions_keys": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-02-01" + ] + }, + "name": { + "type": "string", + "description": "The name of the key." + }, + "type": { + "type": "string", + "enum": [ + "Microsoft.Web/sites/functions/keys" + ] + }, + "value": { + "type": "string", + "description": "Key value" + } + }, + "required": [ + "apiVersion", + "name", + "type" + ], + "description": "Microsoft.Web/sites/functions/keys" + }, + "sites_hostNameBindings": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-02-01" + ] + }, + "kind": { + "type": "string", + "description": "Kind of resource." + }, + "name": { + "type": "string", + "description": "Hostname in the hostname binding." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/HostNameBindingProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "HostNameBinding resource specific properties" + }, + "type": { + "type": "string", + "enum": [ + "Microsoft.Web/sites/hostNameBindings" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.Web/sites/hostNameBindings" + }, + "sites_hybridconnection": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-02-01" + ] + }, + "kind": { + "type": "string", + "description": "Kind of resource." + }, + "name": { + "type": "string", + "description": "Name of the hybrid connection configuration." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/RelayServiceConnectionEntityProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "RelayServiceConnectionEntity resource specific properties" + }, + "type": { + "type": "string", + "enum": [ + "Microsoft.Web/sites/hybridconnection" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.Web/sites/hybridconnection" + }, + "sites_hybridConnectionNamespaces_relays": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-02-01" + ] + }, + "kind": { + "type": "string", + "description": "Kind of resource." + }, + "name": { + "type": "string", + "description": "The relay name for this hybrid connection." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/HybridConnectionProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "HybridConnection resource specific properties" + }, + "type": { + "type": "string", + "enum": [ + "Microsoft.Web/sites/hybridConnectionNamespaces/relays" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.Web/sites/hybridConnectionNamespaces/relays" + }, + "sites_instances_extensions": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-02-01" + ] + }, + "kind": { + "type": "string", + "description": "Kind of resource." + }, + "name": { + "oneOf": [ + { + "type": "string", + "pattern": "^.*/MSDeploy$" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ] + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/MSDeployCore" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "MSDeploy ARM PUT core information" + }, + "type": { + "type": "string", + "enum": [ + "Microsoft.Web/sites/instances/extensions" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.Web/sites/instances/extensions" + }, + "sites_migrate": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-02-01" + ] + }, + "kind": { + "type": "string", + "description": "Kind of resource." + }, + "name": { + "oneOf": [ + { + "type": "string", + "pattern": "^.*/migrate$" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ] + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/StorageMigrationOptionsProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "StorageMigrationOptions resource specific properties" + }, + "type": { + "type": "string", + "enum": [ + "Microsoft.Web/sites/migrate" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.Web/sites/migrate" + }, + "sites_networkConfig": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-02-01" + ] + }, + "kind": { + "type": "string", + "description": "Kind of resource." + }, + "name": { + "oneOf": [ + { + "type": "string", + "pattern": "^.*/virtualNetwork$" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ] + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/SwiftVirtualNetworkProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "SwiftVirtualNetwork resource specific properties" + }, + "type": { + "type": "string", + "enum": [ + "Microsoft.Web/sites/networkConfig" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.Web/sites/networkConfig" + }, + "sites_premieraddons": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-02-01" + ] + }, + "kind": { + "type": "string", + "description": "Kind of resource." + }, + "location": { + "type": "string", + "description": "Resource Location." + }, + "name": { + "type": "string", + "description": "Add-on name." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/PremierAddOnProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "PremierAddOn resource specific 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.Web/sites/premieraddons" + ] + } + }, + "required": [ + "apiVersion", + "location", + "name", + "properties", + "type" + ], + "description": "Microsoft.Web/sites/premieraddons" + }, + "sites_privateAccess": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-02-01" + ] + }, + "kind": { + "type": "string", + "description": "Kind of resource." + }, + "name": { + "oneOf": [ + { + "type": "string", + "pattern": "^.*/virtualNetworks$" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ] + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/PrivateAccessProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "PrivateAccess resource specific properties" + }, + "type": { + "type": "string", + "enum": [ + "Microsoft.Web/sites/privateAccess" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.Web/sites/privateAccess" + }, + "sites_privateEndpointConnections": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-02-01" + ] + }, + "kind": { + "type": "string", + "description": "Kind of resource." + }, + "name": { + "type": "string", + "description": "Name of the private endpoint connection." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/PrivateLinkConnectionApprovalRequest" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "A request to approve or reject a private endpoint connection" + }, + "type": { + "type": "string", + "enum": [ + "Microsoft.Web/sites/privateEndpointConnections" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.Web/sites/privateEndpointConnections" + }, + "sites_publicCertificates": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-02-01" + ] + }, + "kind": { + "type": "string", + "description": "Kind of resource." + }, + "name": { + "type": "string", + "description": "Public certificate name." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/PublicCertificateProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "PublicCertificate resource specific properties" + }, + "type": { + "type": "string", + "enum": [ + "Microsoft.Web/sites/publicCertificates" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.Web/sites/publicCertificates" + }, + "sites_siteextensions": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-02-01" + ] + }, + "name": { + "type": "string", + "description": "Site extension name." + }, + "type": { + "type": "string", + "enum": [ + "Microsoft.Web/sites/siteextensions" + ] + } + }, + "required": [ + "apiVersion", + "name", + "type" + ], + "description": "Microsoft.Web/sites/siteextensions" + }, + "sites_slots": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-02-01" + ] + }, + "extendedLocation": { + "oneOf": [ + { + "$ref": "#/definitions/ExtendedLocation" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Extended Location." + }, + "identity": { + "oneOf": [ + { + "$ref": "#/definitions/ManagedServiceIdentity" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Managed service identity." + }, + "kind": { + "type": "string", + "description": "Kind of resource." + }, + "location": { + "type": "string", + "description": "Resource Location." + }, + "name": { + "type": "string", + "description": "Name of the deployment slot to create or update. By default, this API attempts to create or modify the production slot." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/SiteProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Site resource specific properties" + }, + "resources": { + "type": "array", + "items": { + "oneOf": [ + { + "$ref": "#/definitions/sites_slots_basicPublishingCredentialsPolicies_childResource" + }, + { + "$ref": "#/definitions/sites_slots_config_childResource" + }, + { + "$ref": "#/definitions/sites_slots_deployments_childResource" + }, + { + "$ref": "#/definitions/sites_slots_domainOwnershipIdentifiers_childResource" + }, + { + "$ref": "#/definitions/sites_slots_extensions_childResource" + }, + { + "$ref": "#/definitions/sites_slots_functions_childResource" + }, + { + "$ref": "#/definitions/sites_slots_hostNameBindings_childResource" + }, + { + "$ref": "#/definitions/sites_slots_hybridconnection_childResource" + }, + { + "$ref": "#/definitions/sites_slots_networkConfig_childResource" + }, + { + "$ref": "#/definitions/sites_slots_premieraddons_childResource" + }, + { + "$ref": "#/definitions/sites_slots_privateAccess_childResource" + }, + { + "$ref": "#/definitions/sites_slots_privateEndpointConnections_childResource" + }, + { + "$ref": "#/definitions/sites_slots_publicCertificates_childResource" + }, + { + "$ref": "#/definitions/sites_slots_siteextensions_childResource" + }, + { + "$ref": "#/definitions/sites_slots_sourcecontrols_childResource" + }, + { + "$ref": "#/definitions/sites_slots_virtualNetworkConnections_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.Web/sites/slots" + ] + } + }, + "required": [ + "apiVersion", + "location", + "name", + "properties", + "type" + ], + "description": "Microsoft.Web/sites/slots" + }, + "sites_slots_basicPublishingCredentialsPolicies": { + "type": "object", + "oneOf": [ + { + "type": "object", + "properties": { + "kind": { + "type": "string", + "description": "Kind of resource." + }, + "name": { + "oneOf": [ + { + "type": "string", + "pattern": "^.*/ftp$" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ] + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/CsmPublishingCredentialsPoliciesEntityProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "CsmPublishingCredentialsPoliciesEntity resource specific properties" + } + }, + "required": [ + "name", + "properties" + ], + "description": "Microsoft.Web/sites/slots/basicPublishingCredentialsPolicies" + }, + { + "type": "object", + "properties": { + "kind": { + "type": "string", + "description": "Kind of resource." + }, + "name": { + "oneOf": [ + { + "type": "string", + "pattern": "^.*/scm$" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ] + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/CsmPublishingCredentialsPoliciesEntityProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "CsmPublishingCredentialsPoliciesEntity resource specific properties" + } + }, + "required": [ + "name", + "properties" + ], + "description": "Microsoft.Web/sites/slots/basicPublishingCredentialsPolicies" + } + ], + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-02-01" + ] + }, + "type": { + "type": "string", + "enum": [ + "Microsoft.Web/sites/slots/basicPublishingCredentialsPolicies" + ] + } + }, + "required": [ + "apiVersion", + "type" + ], + "description": "Microsoft.Web/sites/slots/basicPublishingCredentialsPolicies" + }, + "sites_slots_config": { + "type": "object", + "oneOf": [ + { + "type": "object", + "properties": { + "kind": { + "type": "string", + "description": "Kind of resource." + }, + "name": { + "oneOf": [ + { + "type": "string", + "pattern": "^.*/appsettings$" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ] + }, + "properties": { + "oneOf": [ + { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "properties": {} + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Settings." + } + }, + "required": [ + "name", + "properties" + ], + "description": "Microsoft.Web/sites/slots/config" + }, + { + "type": "object", + "properties": { + "kind": { + "type": "string", + "description": "Kind of resource." + }, + "name": { + "oneOf": [ + { + "type": "string", + "pattern": "^.*/authsettings$" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ] + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/SiteAuthSettingsProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "SiteAuthSettings resource specific properties" + } + }, + "required": [ + "name", + "properties" + ], + "description": "Microsoft.Web/sites/slots/config" + }, + { + "type": "object", + "properties": { + "kind": { + "type": "string", + "description": "Kind of resource." + }, + "name": { + "oneOf": [ + { + "type": "string", + "pattern": "^.*/authsettingsV2$" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ] + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/SiteAuthSettingsV2Properties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "SiteAuthSettingsV2 resource specific properties" + } + }, + "required": [ + "name", + "properties" + ], + "description": "Microsoft.Web/sites/slots/config" + }, + { + "type": "object", + "properties": { + "kind": { + "type": "string", + "description": "Kind of resource." + }, + "name": { + "oneOf": [ + { + "type": "string", + "pattern": "^.*/azurestorageaccounts$" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ] + }, + "properties": { + "oneOf": [ + { + "type": "object", + "additionalProperties": { + "$ref": "#/definitions/AzureStorageInfoValue" + }, + "properties": {} + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Azure storage accounts." + } + }, + "required": [ + "name", + "properties" + ], + "description": "Microsoft.Web/sites/slots/config" + }, + { + "type": "object", + "properties": { + "kind": { + "type": "string", + "description": "Kind of resource." + }, + "name": { + "oneOf": [ + { + "type": "string", + "pattern": "^.*/backup$" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ] + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/BackupRequestProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "BackupRequest resource specific properties" + } + }, + "required": [ + "name", + "properties" + ], + "description": "Microsoft.Web/sites/slots/config" + }, + { + "type": "object", + "properties": { + "kind": { + "type": "string", + "description": "Kind of resource." + }, + "name": { + "oneOf": [ + { + "type": "string", + "pattern": "^.*/connectionstrings$" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ] + }, + "properties": { + "oneOf": [ + { + "type": "object", + "additionalProperties": { + "$ref": "#/definitions/ConnStringValueTypePair" + }, + "properties": {} + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Connection strings." + } + }, + "required": [ + "name", + "properties" + ], + "description": "Microsoft.Web/sites/slots/config" + }, + { + "type": "object", + "properties": { + "kind": { + "type": "string", + "description": "Kind of resource." + }, + "name": { + "oneOf": [ + { + "type": "string", + "pattern": "^.*/logs$" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ] + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/SiteLogsConfigProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "SiteLogsConfig resource specific properties" + } + }, + "required": [ + "name", + "properties" + ], + "description": "Microsoft.Web/sites/slots/config" + }, + { + "type": "object", + "properties": { + "kind": { + "type": "string", + "description": "Kind of resource." + }, + "name": { + "oneOf": [ + { + "type": "string", + "pattern": "^.*/metadata$" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ] + }, + "properties": { + "oneOf": [ + { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "properties": {} + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Settings." + } + }, + "required": [ + "name", + "properties" + ], + "description": "Microsoft.Web/sites/slots/config" + }, + { + "type": "object", + "properties": { + "kind": { + "type": "string", + "description": "Kind of resource." + }, + "name": { + "oneOf": [ + { + "type": "string", + "pattern": "^.*/pushsettings$" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ] + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/PushSettingsProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "PushSettings resource specific properties" + } + }, + "required": [ + "name", + "properties" + ], + "description": "Microsoft.Web/sites/slots/config" + }, + { + "type": "object", + "properties": { + "kind": { + "type": "string", + "description": "Kind of resource." + }, + "name": { + "oneOf": [ + { + "type": "string", + "pattern": "^.*/web$" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ] + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/SiteConfig" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Configuration of an App Service app." + } + }, + "required": [ + "name", + "properties" + ], + "description": "Microsoft.Web/sites/slots/config" + } + ], + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-02-01" + ] + }, + "type": { + "type": "string", + "enum": [ + "Microsoft.Web/sites/slots/config" + ] + } + }, + "required": [ + "apiVersion", + "type" + ], + "description": "Microsoft.Web/sites/slots/config" + }, + "sites_slots_deployments": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-02-01" + ] + }, + "kind": { + "type": "string", + "description": "Kind of resource." + }, + "name": { + "type": "string", + "description": "ID of an existing deployment." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/DeploymentProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Deployment resource specific properties" + }, + "type": { + "type": "string", + "enum": [ + "Microsoft.Web/sites/slots/deployments" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.Web/sites/slots/deployments" + }, + "sites_slots_domainOwnershipIdentifiers": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-02-01" + ] + }, + "kind": { + "type": "string", + "description": "Kind of resource." + }, + "name": { + "type": "string", + "description": "Name of domain ownership identifier." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/IdentifierProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Identifier resource specific properties" + }, + "type": { + "type": "string", + "enum": [ + "Microsoft.Web/sites/slots/domainOwnershipIdentifiers" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.Web/sites/slots/domainOwnershipIdentifiers" + }, + "sites_slots_extensions": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-02-01" + ] + }, + "kind": { + "type": "string", + "description": "Kind of resource." + }, + "name": { + "oneOf": [ + { + "type": "string", + "pattern": "^.*/MSDeploy$" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ] + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/MSDeployCore" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "MSDeploy ARM PUT core information" + }, + "type": { + "type": "string", + "enum": [ + "Microsoft.Web/sites/slots/extensions" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.Web/sites/slots/extensions" + }, + "sites_slots_functions": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-02-01" + ] + }, + "kind": { + "type": "string", + "description": "Kind of resource." + }, + "name": { + "type": "string", + "description": "Function name." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/FunctionEnvelopeProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "FunctionEnvelope resource specific properties" + }, + "resources": { + "type": "array", + "items": { + "oneOf": [ + { + "$ref": "#/definitions/sites_slots_functions_keys_childResource" + } + ] + } + }, + "type": { + "type": "string", + "enum": [ + "Microsoft.Web/sites/slots/functions" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.Web/sites/slots/functions" + }, + "sites_slots_functions_keys": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-02-01" + ] + }, + "name": { + "type": "string", + "description": "The name of the key." + }, + "type": { + "type": "string", + "enum": [ + "Microsoft.Web/sites/slots/functions/keys" + ] + }, + "value": { + "type": "string", + "description": "Key value" + } + }, + "required": [ + "apiVersion", + "name", + "type" + ], + "description": "Microsoft.Web/sites/slots/functions/keys" + }, + "sites_slots_hostNameBindings": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-02-01" + ] + }, + "kind": { + "type": "string", + "description": "Kind of resource." + }, + "name": { + "type": "string", + "description": "Hostname in the hostname binding." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/HostNameBindingProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "HostNameBinding resource specific properties" + }, + "type": { + "type": "string", + "enum": [ + "Microsoft.Web/sites/slots/hostNameBindings" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.Web/sites/slots/hostNameBindings" + }, + "sites_slots_hybridconnection": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-02-01" + ] + }, + "kind": { + "type": "string", + "description": "Kind of resource." + }, + "name": { + "type": "string", + "description": "Name of the hybrid connection configuration." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/RelayServiceConnectionEntityProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "RelayServiceConnectionEntity resource specific properties" + }, + "type": { + "type": "string", + "enum": [ + "Microsoft.Web/sites/slots/hybridconnection" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.Web/sites/slots/hybridconnection" + }, + "sites_slots_hybridConnectionNamespaces_relays": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-02-01" + ] + }, + "kind": { + "type": "string", + "description": "Kind of resource." + }, + "name": { + "type": "string", + "description": "The relay name for this hybrid connection." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/HybridConnectionProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "HybridConnection resource specific properties" + }, + "type": { + "type": "string", + "enum": [ + "Microsoft.Web/sites/slots/hybridConnectionNamespaces/relays" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.Web/sites/slots/hybridConnectionNamespaces/relays" + }, + "sites_slots_instances_extensions": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-02-01" + ] + }, + "kind": { + "type": "string", + "description": "Kind of resource." + }, + "name": { + "oneOf": [ + { + "type": "string", + "pattern": "^.*/MSDeploy$" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ] + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/MSDeployCore" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "MSDeploy ARM PUT core information" + }, + "type": { + "type": "string", + "enum": [ + "Microsoft.Web/sites/slots/instances/extensions" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.Web/sites/slots/instances/extensions" + }, + "sites_slots_networkConfig": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-02-01" + ] + }, + "kind": { + "type": "string", + "description": "Kind of resource." + }, + "name": { + "oneOf": [ + { + "type": "string", + "pattern": "^.*/virtualNetwork$" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ] + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/SwiftVirtualNetworkProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "SwiftVirtualNetwork resource specific properties" + }, + "type": { + "type": "string", + "enum": [ + "Microsoft.Web/sites/slots/networkConfig" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.Web/sites/slots/networkConfig" + }, + "sites_slots_premieraddons": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-02-01" + ] + }, + "kind": { + "type": "string", + "description": "Kind of resource." + }, + "location": { + "type": "string", + "description": "Resource Location." + }, + "name": { + "type": "string", + "description": "Add-on name." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/PremierAddOnProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "PremierAddOn resource specific 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.Web/sites/slots/premieraddons" + ] + } + }, + "required": [ + "apiVersion", + "location", + "name", + "properties", + "type" + ], + "description": "Microsoft.Web/sites/slots/premieraddons" + }, + "sites_slots_privateAccess": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-02-01" + ] + }, + "kind": { + "type": "string", + "description": "Kind of resource." + }, + "name": { + "oneOf": [ + { + "type": "string", + "pattern": "^.*/virtualNetworks$" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ] + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/PrivateAccessProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "PrivateAccess resource specific properties" + }, + "type": { + "type": "string", + "enum": [ + "Microsoft.Web/sites/slots/privateAccess" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.Web/sites/slots/privateAccess" + }, + "sites_slots_privateEndpointConnections": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-02-01" + ] + }, + "kind": { + "type": "string", + "description": "Kind of resource." + }, + "name": { + "type": "string", + "description": "Name of the private endpoint connection." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/PrivateLinkConnectionApprovalRequest" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "A request to approve or reject a private endpoint connection" + }, + "type": { + "type": "string", + "enum": [ + "Microsoft.Web/sites/slots/privateEndpointConnections" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.Web/sites/slots/privateEndpointConnections" + }, + "sites_slots_publicCertificates": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-02-01" + ] + }, + "kind": { + "type": "string", + "description": "Kind of resource." + }, + "name": { + "type": "string", + "description": "Public certificate name." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/PublicCertificateProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "PublicCertificate resource specific properties" + }, + "type": { + "type": "string", + "enum": [ + "Microsoft.Web/sites/slots/publicCertificates" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.Web/sites/slots/publicCertificates" + }, + "sites_slots_siteextensions": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-02-01" + ] + }, + "name": { + "type": "string", + "description": "Site extension name." + }, + "type": { + "type": "string", + "enum": [ + "Microsoft.Web/sites/slots/siteextensions" + ] + } + }, + "required": [ + "apiVersion", + "name", + "type" + ], + "description": "Microsoft.Web/sites/slots/siteextensions" + }, + "sites_slots_sourcecontrols": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-02-01" + ] + }, + "kind": { + "type": "string", + "description": "Kind of resource." + }, + "name": { + "oneOf": [ + { + "type": "string", + "pattern": "^.*/web$" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ] + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/SiteSourceControlProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "SiteSourceControl resource specific properties" + }, + "type": { + "type": "string", + "enum": [ + "Microsoft.Web/sites/slots/sourcecontrols" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.Web/sites/slots/sourcecontrols" + }, + "sites_slots_virtualNetworkConnections": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-02-01" + ] + }, + "kind": { + "type": "string", + "description": "Kind of resource." + }, + "name": { + "type": "string", + "description": "Name of an existing Virtual Network." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/VnetInfo" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Virtual Network information contract." + }, + "resources": { + "type": "array", + "items": { + "oneOf": [ + { + "$ref": "#/definitions/sites_slots_virtualNetworkConnections_gateways_childResource" + } + ] + } + }, + "type": { + "type": "string", + "enum": [ + "Microsoft.Web/sites/slots/virtualNetworkConnections" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.Web/sites/slots/virtualNetworkConnections" + }, + "sites_slots_virtualNetworkConnections_gateways": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-02-01" + ] + }, + "kind": { + "type": "string", + "description": "Kind of resource." + }, + "name": { + "type": "string", + "description": "Name of the gateway. Currently, the only supported string is \"primary\"." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/VnetGatewayProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "VnetGateway resource specific properties" + }, + "type": { + "type": "string", + "enum": [ + "Microsoft.Web/sites/slots/virtualNetworkConnections/gateways" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.Web/sites/slots/virtualNetworkConnections/gateways" + }, + "sites_sourcecontrols": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-02-01" + ] + }, + "kind": { + "type": "string", + "description": "Kind of resource." + }, + "name": { + "oneOf": [ + { + "type": "string", + "pattern": "^.*/web$" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ] + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/SiteSourceControlProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "SiteSourceControl resource specific properties" + }, + "type": { + "type": "string", + "enum": [ + "Microsoft.Web/sites/sourcecontrols" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.Web/sites/sourcecontrols" + }, + "sites_virtualNetworkConnections": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-02-01" + ] + }, + "kind": { + "type": "string", + "description": "Kind of resource." + }, + "name": { + "type": "string", + "description": "Name of an existing Virtual Network." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/VnetInfo" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Virtual Network information contract." + }, + "resources": { + "type": "array", + "items": { + "oneOf": [ + { + "$ref": "#/definitions/sites_virtualNetworkConnections_gateways_childResource" + } + ] + } + }, + "type": { + "type": "string", + "enum": [ + "Microsoft.Web/sites/virtualNetworkConnections" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.Web/sites/virtualNetworkConnections" + }, + "sites_virtualNetworkConnections_gateways": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-02-01" + ] + }, + "kind": { + "type": "string", + "description": "Kind of resource." + }, + "name": { + "type": "string", + "description": "Name of the gateway. Currently, the only supported string is \"primary\"." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/VnetGatewayProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "VnetGateway resource specific properties" + }, + "type": { + "type": "string", + "enum": [ + "Microsoft.Web/sites/virtualNetworkConnections/gateways" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.Web/sites/virtualNetworkConnections/gateways" + }, + "staticSites": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-02-01" + ] + }, + "identity": { + "oneOf": [ + { + "$ref": "#/definitions/ManagedServiceIdentity" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Managed service identity." + }, + "kind": { + "type": "string", + "description": "Kind of resource." + }, + "location": { + "type": "string", + "description": "Resource Location." + }, + "name": { + "type": "string", + "description": "Name of the static site to create or update." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/StaticSite" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "A static site." + }, + "resources": { + "type": "array", + "items": { + "oneOf": [ + { + "$ref": "#/definitions/staticSites_config_childResource" + }, + { + "$ref": "#/definitions/staticSites_customDomains_childResource" + }, + { + "$ref": "#/definitions/staticSites_privateEndpointConnections_childResource" + }, + { + "$ref": "#/definitions/staticSites_userProvidedFunctionApps_childResource" + } + ] + } + }, + "sku": { + "oneOf": [ + { + "$ref": "#/definitions/SkuDescription" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Description of a SKU for a scalable 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.Web/staticSites" + ] + } + }, + "required": [ + "apiVersion", + "location", + "name", + "properties", + "type" + ], + "description": "Microsoft.Web/staticSites" + }, + "staticSites_builds_config": { + "type": "object", + "oneOf": [ + { + "type": "object", + "properties": { + "kind": { + "type": "string", + "description": "Kind of resource." + }, + "name": { + "oneOf": [ + { + "type": "string", + "pattern": "^.*/appsettings$" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ] + }, + "properties": { + "oneOf": [ + { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "properties": {} + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Settings." + } + }, + "required": [ + "name", + "properties" + ], + "description": "Microsoft.Web/staticSites/builds/config" + }, + { + "type": "object", + "properties": { + "kind": { + "type": "string", + "description": "Kind of resource." + }, + "name": { + "oneOf": [ + { + "type": "string", + "pattern": "^.*/functionappsettings$" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ] + }, + "properties": { + "oneOf": [ + { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "properties": {} + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Settings." + } + }, + "required": [ + "name", + "properties" + ], + "description": "Microsoft.Web/staticSites/builds/config" + } + ], + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-02-01" + ] + }, + "type": { + "type": "string", + "enum": [ + "Microsoft.Web/staticSites/builds/config" + ] + } + }, + "required": [ + "apiVersion", + "type" + ], + "description": "Microsoft.Web/staticSites/builds/config" + }, + "staticSites_builds_userProvidedFunctionApps": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-02-01" + ] + }, + "kind": { + "type": "string", + "description": "Kind of resource." + }, + "name": { + "type": "string", + "description": "Name of the function app to register with the static site build." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/StaticSiteUserProvidedFunctionAppARMResourceProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "StaticSiteUserProvidedFunctionAppARMResource resource specific properties" + }, + "type": { + "type": "string", + "enum": [ + "Microsoft.Web/staticSites/builds/userProvidedFunctionApps" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.Web/staticSites/builds/userProvidedFunctionApps" + }, + "staticSites_config": { + "type": "object", + "oneOf": [ + { + "type": "object", + "properties": { + "kind": { + "type": "string", + "description": "Kind of resource." + }, + "name": { + "oneOf": [ + { + "type": "string", + "pattern": "^.*/appsettings$" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ] + }, + "properties": { + "oneOf": [ + { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "properties": {} + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Settings." + } + }, + "required": [ + "name", + "properties" + ], + "description": "Microsoft.Web/staticSites/config" + }, + { + "type": "object", + "properties": { + "kind": { + "type": "string", + "description": "Kind of resource." + }, + "name": { + "oneOf": [ + { + "type": "string", + "pattern": "^.*/functionappsettings$" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ] + }, + "properties": { + "oneOf": [ + { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "properties": {} + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Settings." + } + }, + "required": [ + "name", + "properties" + ], + "description": "Microsoft.Web/staticSites/config" + } + ], + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-02-01" + ] + }, + "type": { + "type": "string", + "enum": [ + "Microsoft.Web/staticSites/config" + ] + } + }, + "required": [ + "apiVersion", + "type" + ], + "description": "Microsoft.Web/staticSites/config" + }, + "staticSites_customDomains": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-02-01" + ] + }, + "kind": { + "type": "string", + "description": "Kind of resource." + }, + "name": { + "type": "string", + "description": "The custom domain to create." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/StaticSiteCustomDomainRequestPropertiesARMResourceProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "StaticSiteCustomDomainRequestPropertiesARMResource resource specific properties" + }, + "type": { + "type": "string", + "enum": [ + "Microsoft.Web/staticSites/customDomains" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.Web/staticSites/customDomains" + }, + "staticSites_privateEndpointConnections": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-02-01" + ] + }, + "kind": { + "type": "string", + "description": "Kind of resource." + }, + "name": { + "type": "string", + "description": "Name of the private endpoint connection." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/PrivateLinkConnectionApprovalRequest" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "A request to approve or reject a private endpoint connection" + }, + "type": { + "type": "string", + "enum": [ + "Microsoft.Web/staticSites/privateEndpointConnections" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.Web/staticSites/privateEndpointConnections" + }, + "staticSites_userProvidedFunctionApps": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-02-01" + ] + }, + "kind": { + "type": "string", + "description": "Kind of resource." + }, + "name": { + "type": "string", + "description": "Name of the function app to register with the static site." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/StaticSiteUserProvidedFunctionAppARMResourceProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "StaticSiteUserProvidedFunctionAppARMResource resource specific properties" + }, + "type": { + "type": "string", + "enum": [ + "Microsoft.Web/staticSites/userProvidedFunctionApps" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.Web/staticSites/userProvidedFunctionApps" + } + }, + "tenant_resourceDefinitions": { + "publishingUsers": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-02-01" + ] + }, + "kind": { + "type": "string", + "description": "Kind of resource." + }, + "name": { + "type": "string", + "enum": [ + "web" + ] + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/UserProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "User resource specific properties" + }, + "type": { + "type": "string", + "enum": [ + "Microsoft.Web/publishingUsers" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.Web/publishingUsers" + }, + "sourcecontrols": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-02-01" + ] + }, + "kind": { + "type": "string", + "description": "Kind of resource." + }, + "name": { + "type": "string", + "description": "Type of source control" + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/SourceControlProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "SourceControl resource specific properties" + }, + "type": { + "type": "string", + "enum": [ + "Microsoft.Web/sourcecontrols" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.Web/sourcecontrols" + } + }, + "definitions": { + "AllowedAudiencesValidation": { + "type": "object", + "properties": { + "allowedAudiences": { + "oneOf": [ + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The configuration settings of the allowed list of audiences from which to validate the JWT token." + } + }, + "description": "The configuration settings of the Allowed Audiences validation flow." + }, + "AllowedPrincipals": { + "type": "object", + "properties": { + "kind": { + "type": "string", + "description": "Kind of resource." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/AllowedPrincipalsProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "AllowedPrincipals resource specific properties" + } + }, + "description": "The configuration settings of the Azure Active Directory allowed principals." + }, + "AllowedPrincipalsProperties": { + "type": "object", + "properties": { + "groups": { + "oneOf": [ + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The list of the allowed groups." + }, + "identities": { + "oneOf": [ + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The list of the allowed identities." + } + }, + "description": "AllowedPrincipals resource specific properties" + }, + "ApiDefinitionInfo": { + "type": "object", + "properties": { + "url": { + "type": "string", + "description": "The URL of the API definition." + } + }, + "description": "Information about the formal API definition for the app." + }, + "ApiManagementConfig": { + "type": "object", + "properties": { + "id": { + "type": "string", + "description": "APIM-Api Identifier." + } + }, + "description": "Azure API management (APIM) configuration linked to the app." + }, + "Apple": { + "type": "object", + "properties": { + "kind": { + "type": "string", + "description": "Kind of resource." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/AppleProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Apple resource specific properties" + } + }, + "description": "The configuration settings of the Apple provider." + }, + "AppleProperties": { + "type": "object", + "properties": { + "enabled": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "false if the Apple provider should not be enabled despite the set registration; otherwise, true." + }, + "login": { + "oneOf": [ + { + "$ref": "#/definitions/LoginScopes" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The configuration settings of the login flow, including the scopes that should be requested." + }, + "registration": { + "oneOf": [ + { + "$ref": "#/definitions/AppleRegistration" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The configuration settings of the registration for the Apple provider" + } + }, + "description": "Apple resource specific properties" + }, + "AppleRegistration": { + "type": "object", + "properties": { + "clientId": { + "type": "string", + "description": "The Client ID of the app used for login." + }, + "clientSecretSettingName": { + "type": "string", + "description": "The app setting name that contains the client secret." + } + }, + "description": "The configuration settings of the registration for the Apple provider" + }, + "ApplicationLogsConfig": { + "type": "object", + "properties": { + "azureBlobStorage": { + "oneOf": [ + { + "$ref": "#/definitions/AzureBlobStorageApplicationLogsConfig" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Application logs azure blob storage configuration." + }, + "azureTableStorage": { + "oneOf": [ + { + "$ref": "#/definitions/AzureTableStorageApplicationLogsConfig" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Application logs to Azure table storage configuration." + }, + "fileSystem": { + "oneOf": [ + { + "$ref": "#/definitions/FileSystemApplicationLogsConfig" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Application logs to file system configuration." + } + }, + "description": "Application logs configuration." + }, + "AppLogsConfiguration": { + "type": "object", + "properties": { + "destination": { + "type": "string" + }, + "logAnalyticsConfiguration": { + "oneOf": [ + { + "$ref": "#/definitions/LogAnalyticsConfiguration" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ] + } + } + }, + "AppRegistration": { + "type": "object", + "properties": { + "kind": { + "type": "string", + "description": "Kind of resource." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/AppRegistrationProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "AppRegistration resource specific properties" + } + }, + "description": "The configuration settings of the app registration for providers that have app ids and app secrets" + }, + "AppRegistrationProperties": { + "type": "object", + "properties": { + "appId": { + "type": "string", + "description": "The App ID of the app used for login." + }, + "appSecretSettingName": { + "type": "string", + "description": "The app setting name that contains the app secret." + } + }, + "description": "AppRegistration resource specific properties" + }, + "AppServiceEnvironment": { + "type": "object", + "properties": { + "clusterSettings": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/NameValuePair" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Custom settings for changing the behavior of the App Service Environment." + }, + "dedicatedHostCount": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Dedicated Host Count" + }, + "dnsSuffix": { + "type": "string", + "description": "DNS suffix of the App Service Environment." + }, + "frontEndScaleFactor": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Scale factor for front-ends." + }, + "internalLoadBalancingMode": { + "oneOf": [ + { + "type": "string", + "enum": [ + "None", + "Web", + "Publishing", + "Web, Publishing" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Specifies which endpoints to serve internally in the Virtual Network for the App Service Environment." + }, + "ipsslAddressCount": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Number of IP SSL addresses reserved for the App Service Environment." + }, + "multiSize": { + "type": "string", + "description": "Front-end VM size, e.g. \"Medium\", \"Large\"." + }, + "userWhitelistedIpRanges": { + "oneOf": [ + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "User added ip ranges to whitelist on ASE db" + }, + "virtualNetwork": { + "oneOf": [ + { + "$ref": "#/definitions/VirtualNetworkProfile" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Specification for using a Virtual Network." + }, + "zoneRedundant": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Whether or not this App Service Environment is zone-redundant." + } + }, + "required": [ + "virtualNetwork" + ], + "description": "Description of an App Service Environment." + }, + "AppServicePlanProperties": { + "type": "object", + "properties": { + "elasticScaleEnabled": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "ServerFarm supports ElasticScale. Apps in this plan will scale as if the ServerFarm was ElasticPremium sku" + }, + "freeOfferExpirationTime": { + "type": "string", + "format": "date-time", + "description": "The time when the server farm free offer expires." + }, + "hostingEnvironmentProfile": { + "oneOf": [ + { + "$ref": "#/definitions/HostingEnvironmentProfile" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Specification for an App Service Environment to use for this resource." + }, + "hyperV": { + "oneOf": [ + { + "type": "boolean", + "default": false + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "If Hyper-V container app service plan true, false otherwise." + }, + "isSpot": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "If true, this App Service Plan owns spot instances." + }, + "isXenon": { + "oneOf": [ + { + "type": "boolean", + "default": false + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Obsolete: If Hyper-V container app service plan true, false otherwise." + }, + "kubeEnvironmentProfile": { + "oneOf": [ + { + "$ref": "#/definitions/KubeEnvironmentProfile" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Specification for a Kubernetes Environment to use for this resource." + }, + "maximumElasticWorkerCount": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Maximum number of total workers allowed for this ElasticScaleEnabled App Service Plan" + }, + "perSiteScaling": { + "oneOf": [ + { + "type": "boolean", + "default": false + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "If true, apps assigned to this App Service plan can be scaled independently.\nIf false, apps assigned to this App Service plan will scale to all instances of the plan." + }, + "reserved": { + "oneOf": [ + { + "type": "boolean", + "default": false + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "If Linux app service plan true, false otherwise." + }, + "spotExpirationTime": { + "type": "string", + "format": "date-time", + "description": "The time when the server farm expires. Valid only if it is a spot server farm." + }, + "targetWorkerCount": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Scaling worker count." + }, + "targetWorkerSizeId": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Scaling worker size ID." + }, + "workerTierName": { + "type": "string", + "description": "Target worker tier assigned to the App Service plan." + }, + "zoneRedundant": { + "oneOf": [ + { + "type": "boolean", + "default": false + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "If true, this App Service Plan will perform availability zone balancing.\nIf false, this App Service Plan will not perform availability zone balancing." + } + }, + "description": "AppServicePlan resource specific properties" + }, + "ArcConfiguration": { + "type": "object", + "properties": { + "artifactsStorageType": { + "oneOf": [ + { + "type": "string", + "enum": [ + "LocalNode", + "NetworkFileSystem" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ] + }, + "artifactStorageAccessMode": { + "type": "string" + }, + "artifactStorageClassName": { + "type": "string" + }, + "artifactStorageMountPath": { + "type": "string" + }, + "artifactStorageNodeName": { + "type": "string" + }, + "frontEndServiceConfiguration": { + "oneOf": [ + { + "$ref": "#/definitions/FrontEndConfiguration" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ] + }, + "kubeConfig": { + "type": "string" + } + } + }, + "AseV3NetworkingConfigurationProperties": { + "type": "object", + "properties": { + "allowNewPrivateEndpointConnections": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Property to enable and disable new private endpoint connection creation on ASE" + } + }, + "description": "AseV3NetworkingConfiguration resource specific properties" + }, + "AuthPlatform": { + "type": "object", + "properties": { + "configFilePath": { + "type": "string", + "description": "The path of the config file containing auth settings if they come from a file.\nIf the path is relative, base will the site's root directory." + }, + "enabled": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "true if the Authentication / Authorization feature is enabled for the current app; otherwise, false." + }, + "runtimeVersion": { + "type": "string", + "description": "The RuntimeVersion of the Authentication / Authorization feature in use for the current app.\nThe setting in this value can control the behavior of certain features in the Authentication / Authorization module." + } + }, + "description": "The configuration settings of the platform of App Service Authentication/Authorization." + }, + "AutoHealActions": { + "type": "object", + "properties": { + "actionType": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Recycle", + "LogEvent", + "CustomAction" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Predefined action to be taken." + }, + "customAction": { + "oneOf": [ + { + "$ref": "#/definitions/AutoHealCustomAction" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Custom action to be executed\nwhen an auto heal rule is triggered." + }, + "minProcessExecutionTime": { + "type": "string", + "description": "Minimum time the process must execute\nbefore taking the action" + } + }, + "description": "Actions which to take by the auto-heal module when a rule is triggered." + }, + "AutoHealCustomAction": { + "type": "object", + "properties": { + "exe": { + "type": "string", + "description": "Executable to be run." + }, + "parameters": { + "type": "string", + "description": "Parameters for the executable." + } + }, + "description": "Custom action to be executed\nwhen an auto heal rule is triggered." + }, + "AutoHealRules": { + "type": "object", + "properties": { + "actions": { + "oneOf": [ + { + "$ref": "#/definitions/AutoHealActions" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Actions which to take by the auto-heal module when a rule is triggered." + }, + "triggers": { + "oneOf": [ + { + "$ref": "#/definitions/AutoHealTriggers" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Triggers for auto-heal." + } + }, + "description": "Rules that can be defined for auto-heal." + }, + "AutoHealTriggers": { + "type": "object", + "properties": { + "privateBytesInKB": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "A rule based on private bytes." + }, + "requests": { + "oneOf": [ + { + "$ref": "#/definitions/RequestsBasedTrigger" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Trigger based on total requests." + }, + "slowRequests": { + "oneOf": [ + { + "$ref": "#/definitions/SlowRequestsBasedTrigger" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Trigger based on request execution time." + }, + "slowRequestsWithPath": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/SlowRequestsBasedTrigger" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "A rule based on multiple Slow Requests Rule with path" + }, + "statusCodes": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/StatusCodesBasedTrigger" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "A rule based on status codes." + }, + "statusCodesRange": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/StatusCodesRangeBasedTrigger" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "A rule based on status codes ranges." + } + }, + "description": "Triggers for auto-heal." + }, + "AzureActiveDirectory": { + "type": "object", + "properties": { + "enabled": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "false if the Azure Active Directory provider should not be enabled despite the set registration; otherwise, true." + }, + "isAutoProvisioned": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Gets a value indicating whether the Azure AD configuration was auto-provisioned using 1st party tooling.\nThis is an internal flag primarily intended to support the Azure Management Portal. Users should not\nread or write to this property." + }, + "login": { + "oneOf": [ + { + "$ref": "#/definitions/AzureActiveDirectoryLogin" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The configuration settings of the Azure Active Directory login flow." + }, + "registration": { + "oneOf": [ + { + "$ref": "#/definitions/AzureActiveDirectoryRegistration" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The configuration settings of the Azure Active Directory app registration." + }, + "validation": { + "oneOf": [ + { + "$ref": "#/definitions/AzureActiveDirectoryValidation" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The configuration settings of the Azure Active Directory token validation flow." + } + }, + "description": "The configuration settings of the Azure Active directory provider." + }, + "AzureActiveDirectoryLogin": { + "type": "object", + "properties": { + "kind": { + "type": "string", + "description": "Kind of resource." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/AzureActiveDirectoryLoginProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "AzureActiveDirectoryLogin resource specific properties" + } + }, + "description": "The configuration settings of the Azure Active Directory login flow." + }, + "AzureActiveDirectoryLoginProperties": { + "type": "object", + "properties": { + "disableWWWAuthenticate": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "true if the www-authenticate provider should be omitted from the request; otherwise, false." + }, + "loginParameters": { + "oneOf": [ + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Login parameters to send to the OpenID Connect authorization endpoint when\na user logs in. Each parameter must be in the form \"key=value\"." + } + }, + "description": "AzureActiveDirectoryLogin resource specific properties" + }, + "AzureActiveDirectoryRegistration": { + "type": "object", + "properties": { + "kind": { + "type": "string", + "description": "Kind of resource." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/AzureActiveDirectoryRegistrationProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "AzureActiveDirectoryRegistration resource specific properties" + } + }, + "description": "The configuration settings of the Azure Active Directory app registration." + }, + "AzureActiveDirectoryRegistrationProperties": { + "type": "object", + "properties": { + "clientId": { + "type": "string", + "description": "The Client ID of this relying party application, known as the client_id.\nThis setting is required for enabling OpenID Connection authentication with Azure Active Directory or \nother 3rd party OpenID Connect providers.\nMore information on OpenID Connect: http://openid.net/specs/openid-connect-core-1_0.html" + }, + "clientSecretCertificateIssuer": { + "type": "string", + "description": "An alternative to the client secret thumbprint, that is the issuer of a certificate used for signing purposes. This property acts as\na replacement for the Client Secret Certificate Thumbprint. It is also optional." + }, + "clientSecretCertificateSubjectAlternativeName": { + "type": "string", + "description": "An alternative to the client secret thumbprint, that is the subject alternative name of a certificate used for signing purposes. This property acts as\na replacement for the Client Secret Certificate Thumbprint. It is also optional." + }, + "clientSecretCertificateThumbprint": { + "type": "string", + "description": "An alternative to the client secret, that is the thumbprint of a certificate used for signing purposes. This property acts as\na replacement for the Client Secret. It is also optional." + }, + "clientSecretSettingName": { + "type": "string", + "description": "The app setting name that contains the client secret of the relying party application." + }, + "openIdIssuer": { + "type": "string", + "description": "The OpenID Connect Issuer URI that represents the entity which issues access tokens for this application.\nWhen using Azure Active Directory, this value is the URI of the directory tenant, e.g. https://login.microsoftonline.com/v2.0/{tenant-guid}/.\nThis URI is a case-sensitive identifier for the token issuer.\nMore information on OpenID Connect Discovery: http://openid.net/specs/openid-connect-discovery-1_0.html" + } + }, + "description": "AzureActiveDirectoryRegistration resource specific properties" + }, + "AzureActiveDirectoryValidation": { + "type": "object", + "properties": { + "kind": { + "type": "string", + "description": "Kind of resource." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/AzureActiveDirectoryValidationProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "AzureActiveDirectoryValidation resource specific properties" + } + }, + "description": "The configuration settings of the Azure Active Directory token validation flow." + }, + "AzureActiveDirectoryValidationProperties": { + "type": "object", + "properties": { + "allowedAudiences": { + "oneOf": [ + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The list of audiences that can make successful authentication/authorization requests." + }, + "defaultAuthorizationPolicy": { + "oneOf": [ + { + "$ref": "#/definitions/DefaultAuthorizationPolicy" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The configuration settings of the Azure Active Directory default authorization policy." + }, + "jwtClaimChecks": { + "oneOf": [ + { + "$ref": "#/definitions/JwtClaimChecks" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The configuration settings of the checks that should be made while validating the JWT Claims." + } + }, + "description": "AzureActiveDirectoryValidation resource specific properties" + }, + "AzureBlobStorageApplicationLogsConfig": { + "type": "object", + "properties": { + "level": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Off", + "Verbose", + "Information", + "Warning", + "Error" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Log level." + }, + "retentionInDays": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Retention in days.\nRemove blobs older than X days.\n0 or lower means no retention." + }, + "sasUrl": { + "type": "string", + "description": "SAS url to a azure blob container with read/write/list/delete permissions." + } + }, + "description": "Application logs azure blob storage configuration." + }, + "AzureBlobStorageHttpLogsConfig": { + "type": "object", + "properties": { + "enabled": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "True if configuration is enabled, false if it is disabled and null if configuration is not set." + }, + "retentionInDays": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Retention in days.\nRemove blobs older than X days.\n0 or lower means no retention." + }, + "sasUrl": { + "type": "string", + "description": "SAS url to a azure blob container with read/write/list/delete permissions." + } + }, + "description": "Http logs to azure blob storage configuration." + }, + "AzureStaticWebApps": { + "type": "object", + "properties": { + "kind": { + "type": "string", + "description": "Kind of resource." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/AzureStaticWebAppsProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "AzureStaticWebApps resource specific properties" + } + }, + "description": "The configuration settings of the Azure Static Web Apps provider." + }, + "AzureStaticWebAppsProperties": { + "type": "object", + "properties": { + "enabled": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "false if the Azure Static Web Apps provider should not be enabled despite the set registration; otherwise, true." + }, + "registration": { + "oneOf": [ + { + "$ref": "#/definitions/AzureStaticWebAppsRegistration" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The configuration settings of the registration for the Azure Static Web Apps provider" + } + }, + "description": "AzureStaticWebApps resource specific properties" + }, + "AzureStaticWebAppsRegistration": { + "type": "object", + "properties": { + "clientId": { + "type": "string", + "description": "The Client ID of the app used for login." + } + }, + "description": "The configuration settings of the registration for the Azure Static Web Apps provider" + }, + "AzureStorageInfoValue": { + "type": "object", + "properties": { + "accessKey": { + "type": "string", + "description": "Access key for the storage account." + }, + "accountName": { + "type": "string", + "description": "Name of the storage account." + }, + "mountPath": { + "type": "string", + "description": "Path to mount the storage within the site's runtime environment." + }, + "shareName": { + "type": "string", + "description": "Name of the file share (container name, for Blob storage)." + }, + "type": { + "oneOf": [ + { + "type": "string", + "enum": [ + "AzureFiles", + "AzureBlob" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Type of storage." + } + }, + "description": "Azure Files or Blob Storage access information value for dictionary storage." + }, + "AzureTableStorageApplicationLogsConfig": { + "type": "object", + "properties": { + "level": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Off", + "Verbose", + "Information", + "Warning", + "Error" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Log level." + }, + "sasUrl": { + "type": "string", + "description": "SAS URL to an Azure table with add/query/delete permissions." + } + }, + "required": [ + "sasUrl" + ], + "description": "Application logs to Azure table storage configuration." + }, + "BackupRequestProperties": { + "type": "object", + "properties": { + "backupName": { + "type": "string", + "description": "Name of the backup." + }, + "backupSchedule": { + "oneOf": [ + { + "$ref": "#/definitions/BackupSchedule" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Description of a backup schedule. Describes how often should be the backup performed and what should be the retention policy." + }, + "databases": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/DatabaseBackupSetting" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Databases included in the backup." + }, + "enabled": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "True if the backup schedule is enabled (must be included in that case), false if the backup schedule should be disabled." + }, + "storageAccountUrl": { + "type": "string", + "description": "SAS URL to the container." + } + }, + "required": [ + "storageAccountUrl" + ], + "description": "BackupRequest resource specific properties" + }, + "BackupSchedule": { + "type": "object", + "properties": { + "frequencyInterval": { + "oneOf": [ + { + "type": "integer", + "default": "7" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "How often the backup should be executed (e.g. for weekly backup, this should be set to 7 and FrequencyUnit should be set to Day)" + }, + "frequencyUnit": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Day", + "Hour" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The unit of time for how often the backup should be executed (e.g. for weekly backup, this should be set to Day and FrequencyInterval should be set to 7)." + }, + "keepAtLeastOneBackup": { + "oneOf": [ + { + "type": "boolean", + "default": true + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "True if the retention policy should always keep at least one backup in the storage account, regardless how old it is; false otherwise." + }, + "retentionPeriodInDays": { + "oneOf": [ + { + "type": "integer", + "default": "30" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "After how many days backups should be deleted." + }, + "startTime": { + "type": "string", + "format": "date-time", + "description": "When the schedule should start working." + } + }, + "required": [ + "frequencyInterval", + "frequencyUnit", + "keepAtLeastOneBackup", + "retentionPeriodInDays" + ], + "description": "Description of a backup schedule. Describes how often should be the backup performed and what should be the retention policy." + }, + "BlobStorageTokenStore": { + "type": "object", + "properties": { + "kind": { + "type": "string", + "description": "Kind of resource." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/BlobStorageTokenStoreProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "BlobStorageTokenStore resource specific properties" + } + }, + "description": "The configuration settings of the storage of the tokens if blob storage is used." + }, + "BlobStorageTokenStoreProperties": { + "type": "object", + "properties": { + "sasUrlSettingName": { + "type": "string", + "description": "The name of the app setting containing the SAS URL of the blob storage containing the tokens." + } + }, + "description": "BlobStorageTokenStore resource specific properties" + }, + "Capability": { + "type": "object", + "properties": { + "name": { + "type": "string", + "description": "Name of the SKU capability." + }, + "reason": { + "type": "string", + "description": "Reason of the SKU capability." + }, + "value": { + "type": "string", + "description": "Value of the SKU capability." + } + }, + "description": "Describes the capabilities/features allowed for a specific SKU." + }, + "CertificateProperties": { + "type": "object", + "properties": { + "canonicalName": { + "type": "string", + "description": "CNAME of the certificate to be issued via free certificate" + }, + "domainValidationMethod": { + "type": "string", + "description": "Method of domain validation for free cert" + }, + "hostNames": { + "oneOf": [ + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Host names the certificate applies to." + }, + "keyVaultId": { + "type": "string", + "description": "Key Vault Csm resource Id." + }, + "keyVaultSecretName": { + "type": "string", + "description": "Key Vault secret name." + }, + "password": { + "type": "string", + "description": "Certificate password." + }, + "pfxBlob": { + "oneOf": [ + { + "type": "string", + "pattern": "^(?:[A-Za-z0-9+\\/]{4})*(?:[A-Za-z0-9+\\/]{2}==|[A-Za-z0-9+\\/]{3}=)?$" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Pfx blob." + }, + "serverFarmId": { + "type": "string", + "description": "Resource ID of the associated App Service plan, formatted as: \"/subscriptions/{subscriptionID}/resourceGroups/{groupName}/providers/Microsoft.Web/serverfarms/{appServicePlanName}\"." + } + }, + "description": "Certificate resource specific properties" + }, + "ClientRegistration": { + "type": "object", + "properties": { + "clientId": { + "type": "string", + "description": "The Client ID of the app used for login." + }, + "clientSecretSettingName": { + "type": "string", + "description": "The app setting name that contains the client secret." + } + }, + "description": "The configuration settings of the app registration for providers that have client ids and client secrets" + }, + "CloningInfo": { + "type": "object", + "properties": { + "appSettingsOverrides": { + "oneOf": [ + { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "properties": {} + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Application setting overrides for cloned app. If specified, these settings override the settings cloned \nfrom source app. Otherwise, application settings from source app are retained." + }, + "cloneCustomHostNames": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "true to clone custom hostnames from source app; otherwise, false." + }, + "cloneSourceControl": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "true to clone source control from source app; otherwise, false." + }, + "configureLoadBalancing": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "true to configure load balancing for source and destination app." + }, + "correlationId": { + "oneOf": [ + { + "type": "string", + "pattern": "^[0-9a-fA-F]{8}(-[0-9a-fA-F]{4}){3}-[0-9a-fA-F]{12}$" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Correlation ID of cloning operation. This ID ties multiple cloning operations\ntogether to use the same snapshot." + }, + "hostingEnvironment": { + "type": "string", + "description": "App Service Environment." + }, + "overwrite": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "true to overwrite destination app; otherwise, false." + }, + "sourceWebAppId": { + "type": "string", + "description": "ARM resource ID of the source app. App resource ID is of the form \n/subscriptions/{subId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{siteName} for production slots and \n/subscriptions/{subId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{siteName}/slots/{slotName} for other slots." + }, + "sourceWebAppLocation": { + "type": "string", + "description": "Location of source app ex: West US or North Europe" + }, + "trafficManagerProfileId": { + "type": "string", + "description": "ARM resource ID of the Traffic Manager profile to use, if it exists. Traffic Manager resource ID is of the form \n/subscriptions/{subId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/trafficManagerProfiles/{profileName}." + }, + "trafficManagerProfileName": { + "type": "string", + "description": "Name of Traffic Manager profile to create. This is only needed if Traffic Manager profile does not already exist." + } + }, + "required": [ + "sourceWebAppId" + ], + "description": "Information needed for cloning operation." + }, + "ConnStringInfo": { + "type": "object", + "properties": { + "connectionString": { + "type": "string", + "description": "Connection string value." + }, + "name": { + "type": "string", + "description": "Name of connection string." + }, + "type": { + "oneOf": [ + { + "type": "string", + "enum": [ + "MySql", + "SQLServer", + "SQLAzure", + "Custom", + "NotificationHub", + "ServiceBus", + "EventHub", + "ApiHub", + "DocDb", + "RedisCache", + "PostgreSQL" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Type of database." + } + }, + "description": "Database connection string information." + }, + "ConnStringValueTypePair": { + "type": "object", + "properties": { + "type": { + "oneOf": [ + { + "type": "string", + "enum": [ + "MySql", + "SQLServer", + "SQLAzure", + "Custom", + "NotificationHub", + "ServiceBus", + "EventHub", + "ApiHub", + "DocDb", + "RedisCache", + "PostgreSQL" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Type of database." + }, + "value": { + "type": "string", + "description": "Value of pair." + } + }, + "required": [ + "type", + "value" + ], + "description": "Database connection string value to type pair." + }, + "CookieExpiration": { + "type": "object", + "properties": { + "convention": { + "oneOf": [ + { + "type": "string", + "enum": [ + "FixedTime", + "IdentityProviderDerived" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The convention used when determining the session cookie's expiration." + }, + "timeToExpiration": { + "type": "string", + "description": "The time after the request is made when the session cookie should expire." + } + }, + "description": "The configuration settings of the session cookie's expiration." + }, + "CorsSettings": { + "type": "object", + "properties": { + "allowedOrigins": { + "oneOf": [ + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Gets or sets the list of origins that should be allowed to make cross-origin\ncalls (for example: http://example.com:12345). Use \"*\" to allow all." + }, + "supportCredentials": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Gets or sets whether CORS requests with credentials are allowed. See \nhttps://developer.mozilla.org/en-US/docs/Web/HTTP/CORS#Requests_with_credentials\nfor more details." + } + }, + "description": "Cross-Origin Resource Sharing (CORS) settings for the app." + }, + "CsmPublishingCredentialsPoliciesEntityProperties": { + "type": "object", + "properties": { + "allow": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "true to allow access to a publishing method; otherwise, false." + } + }, + "required": [ + "allow" + ], + "description": "CsmPublishingCredentialsPoliciesEntity resource specific properties" + }, + "CustomOpenIdConnectProvider": { + "type": "object", + "properties": { + "kind": { + "type": "string", + "description": "Kind of resource." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/CustomOpenIdConnectProviderProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "CustomOpenIdConnectProvider resource specific properties" + } + }, + "description": "The configuration settings of the custom Open ID Connect provider." + }, + "CustomOpenIdConnectProviderProperties": { + "type": "object", + "properties": { + "enabled": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "false if the custom Open ID provider provider should not be enabled; otherwise, true." + }, + "login": { + "oneOf": [ + { + "$ref": "#/definitions/OpenIdConnectLogin" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The configuration settings of the login flow of the custom Open ID Connect provider." + }, + "registration": { + "oneOf": [ + { + "$ref": "#/definitions/OpenIdConnectRegistration" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The configuration settings of the app registration for the custom Open ID Connect provider." + } + }, + "description": "CustomOpenIdConnectProvider resource specific properties" + }, + "DatabaseBackupSetting": { + "type": "object", + "properties": { + "connectionString": { + "type": "string", + "description": "Contains a connection string to a database which is being backed up or restored. If the restore should happen to a new database, the database name inside is the new one." + }, + "connectionStringName": { + "type": "string", + "description": "Contains a connection string name that is linked to the SiteConfig.ConnectionStrings.\nThis is used during restore with overwrite connection strings options." + }, + "databaseType": { + "oneOf": [ + { + "type": "string", + "enum": [ + "SqlAzure", + "MySql", + "LocalMySql", + "PostgreSql" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Database type (e.g. SqlAzure / MySql)." + }, + "name": { + "type": "string" + } + }, + "required": [ + "databaseType" + ], + "description": "Database backup settings." + }, + "DefaultAuthorizationPolicy": { + "type": "object", + "properties": { + "allowedApplications": { + "oneOf": [ + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The configuration settings of the Azure Active Directory allowed applications." + }, + "allowedPrincipals": { + "oneOf": [ + { + "$ref": "#/definitions/AllowedPrincipals" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The configuration settings of the Azure Active Directory allowed principals." + } + }, + "description": "The configuration settings of the Azure Active Directory default authorization policy." + }, + "DeploymentProperties": { + "type": "object", + "properties": { + "active": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "True if deployment is currently active, false if completed and null if not started." + }, + "author": { + "type": "string", + "description": "Who authored the deployment." + }, + "author_email": { + "type": "string", + "description": "Author email." + }, + "deployer": { + "type": "string", + "description": "Who performed the deployment." + }, + "details": { + "type": "string", + "description": "Details on deployment." + }, + "end_time": { + "type": "string", + "format": "date-time", + "description": "End time." + }, + "message": { + "type": "string", + "description": "Details about deployment status." + }, + "start_time": { + "type": "string", + "format": "date-time", + "description": "Start time." + }, + "status": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Deployment status." + } + }, + "description": "Deployment resource specific properties" + }, + "EnabledConfig": { + "type": "object", + "properties": { + "enabled": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "True if configuration is enabled, false if it is disabled and null if configuration is not set." + } + }, + "description": "Enabled configuration." + }, + "Experiments": { + "type": "object", + "properties": { + "rampUpRules": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/RampUpRule" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "List of ramp-up rules." + } + }, + "description": "Routing rules in production experiments." + }, + "ExtendedLocation": { + "type": "object", + "properties": { + "name": { + "type": "string", + "description": "Name of extended location." + } + }, + "description": "Extended Location." + }, + "Facebook": { + "type": "object", + "properties": { + "enabled": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "false if the Facebook provider should not be enabled despite the set registration; otherwise, true." + }, + "graphApiVersion": { + "type": "string", + "description": "The version of the Facebook api to be used while logging in." + }, + "login": { + "oneOf": [ + { + "$ref": "#/definitions/LoginScopes" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The configuration settings of the login flow, including the scopes that should be requested." + }, + "registration": { + "oneOf": [ + { + "$ref": "#/definitions/AppRegistration" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The configuration settings of the app registration for providers that have app ids and app secrets" + } + }, + "description": "The configuration settings of the Facebook provider." + }, + "FileSystemApplicationLogsConfig": { + "type": "object", + "properties": { + "level": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Off", + "Verbose", + "Information", + "Warning", + "Error" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Log level." + } + }, + "description": "Application logs to file system configuration." + }, + "FileSystemHttpLogsConfig": { + "type": "object", + "properties": { + "enabled": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "True if configuration is enabled, false if it is disabled and null if configuration is not set." + }, + "retentionInDays": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Retention in days.\nRemove files older than X days.\n0 or lower means no retention." + }, + "retentionInMb": { + "oneOf": [ + { + "type": "integer", + "minimum": 25, + "maximum": 100 + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Maximum size in megabytes that http log files can use.\nWhen reached old log files will be removed to make space for new ones.\nValue can range between 25 and 100." + } + }, + "description": "Http logs to file system configuration." + }, + "FileSystemTokenStore": { + "type": "object", + "properties": { + "directory": { + "type": "string", + "description": "The directory in which the tokens will be stored." + } + }, + "description": "The configuration settings of the storage of the tokens if a file system is used." + }, + "ForwardProxy": { + "type": "object", + "properties": { + "convention": { + "oneOf": [ + { + "type": "string", + "enum": [ + "NoProxy", + "Standard", + "Custom" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The convention used to determine the url of the request made." + }, + "customHostHeaderName": { + "type": "string", + "description": "The name of the header containing the host of the request." + }, + "customProtoHeaderName": { + "type": "string", + "description": "The name of the header containing the scheme of the request." + } + }, + "description": "The configuration settings of a forward proxy used to make the requests." + }, + "FrontEndConfiguration": { + "type": "object", + "properties": { + "kind": { + "oneOf": [ + { + "type": "string", + "enum": [ + "NodePort", + "LoadBalancer" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ] + } + } + }, + "FunctionEnvelopeProperties": { + "type": "object", + "properties": { + "config": { + "type": "object", + "properties": {}, + "description": "Config information." + }, + "config_href": { + "type": "string", + "description": "Config URI." + }, + "files": { + "oneOf": [ + { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "properties": {} + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "File list." + }, + "function_app_id": { + "type": "string", + "description": "Function App ID." + }, + "href": { + "type": "string", + "description": "Function URI." + }, + "invoke_url_template": { + "type": "string", + "description": "The invocation URL" + }, + "isDisabled": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Gets or sets a value indicating whether the function is disabled" + }, + "language": { + "type": "string", + "description": "The function language" + }, + "script_href": { + "type": "string", + "description": "Script URI." + }, + "script_root_path_href": { + "type": "string", + "description": "Script root path URI." + }, + "secrets_file_href": { + "type": "string", + "description": "Secrets file URI." + }, + "test_data": { + "type": "string", + "description": "Test data used when testing via the Azure Portal." + }, + "test_data_href": { + "type": "string", + "description": "Test data URI." + } + }, + "description": "FunctionEnvelope resource specific properties" + }, + "GitHub": { + "type": "object", + "properties": { + "kind": { + "type": "string", + "description": "Kind of resource." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/GitHubProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "GitHub resource specific properties" + } + }, + "description": "The configuration settings of the GitHub provider." + }, + "GitHubActionCodeConfiguration": { + "type": "object", + "properties": { + "runtimeStack": { + "type": "string", + "description": "Runtime stack is used to determine the workflow file content for code base apps." + }, + "runtimeVersion": { + "type": "string", + "description": "Runtime version is used to determine what build version to set in the workflow file." + } + }, + "description": "The GitHub action code configuration." + }, + "GitHubActionConfiguration": { + "type": "object", + "properties": { + "codeConfiguration": { + "oneOf": [ + { + "$ref": "#/definitions/GitHubActionCodeConfiguration" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The GitHub action code configuration." + }, + "containerConfiguration": { + "oneOf": [ + { + "$ref": "#/definitions/GitHubActionContainerConfiguration" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The GitHub action container configuration." + }, + "generateWorkflowFile": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Workflow option to determine whether the workflow file should be generated and written to the repository." + }, + "isLinux": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "This will help determine the workflow configuration to select." + } + }, + "description": "The GitHub action configuration." + }, + "GitHubActionContainerConfiguration": { + "type": "object", + "properties": { + "imageName": { + "type": "string", + "description": "The image name for the build." + }, + "password": { + "type": "string", + "description": "The password used to upload the image to the container registry." + }, + "serverUrl": { + "type": "string", + "description": "The server URL for the container registry where the build will be hosted." + }, + "username": { + "type": "string", + "description": "The username used to upload the image to the container registry." + } + }, + "description": "The GitHub action container configuration." + }, + "GitHubProperties": { + "type": "object", + "properties": { + "enabled": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "false if the GitHub provider should not be enabled despite the set registration; otherwise, true." + }, + "login": { + "oneOf": [ + { + "$ref": "#/definitions/LoginScopes" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The configuration settings of the login flow, including the scopes that should be requested." + }, + "registration": { + "oneOf": [ + { + "$ref": "#/definitions/ClientRegistration" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The configuration settings of the app registration for providers that have client ids and client secrets" + } + }, + "description": "GitHub resource specific properties" + }, + "GlobalValidation": { + "type": "object", + "properties": { + "excludedPaths": { + "oneOf": [ + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The paths for which unauthenticated flow would not be redirected to the login page." + }, + "redirectToProvider": { + "type": "string", + "description": "The default authentication provider to use when multiple providers are configured.\nThis setting is only needed if multiple providers are configured and the unauthenticated client\naction is set to \"RedirectToLoginPage\"." + }, + "requireAuthentication": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "true if the authentication flow is required any request is made; otherwise, false." + }, + "unauthenticatedClientAction": { + "oneOf": [ + { + "type": "string", + "enum": [ + "RedirectToLoginPage", + "AllowAnonymous", + "Return401", + "Return403" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The action to take when an unauthenticated client attempts to access the app." + } + }, + "description": "The configuration settings that determines the validation flow of users using App Service Authentication/Authorization." + }, + "Google": { + "type": "object", + "properties": { + "kind": { + "type": "string", + "description": "Kind of resource." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/GoogleProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Google resource specific properties" + } + }, + "description": "The configuration settings of the Google provider." + }, + "GoogleProperties": { + "type": "object", + "properties": { + "enabled": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "false if the Google provider should not be enabled despite the set registration; otherwise, true." + }, + "login": { + "oneOf": [ + { + "$ref": "#/definitions/LoginScopes" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The configuration settings of the login flow, including the scopes that should be requested." + }, + "registration": { + "oneOf": [ + { + "$ref": "#/definitions/ClientRegistration" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The configuration settings of the app registration for providers that have client ids and client secrets" + }, + "validation": { + "oneOf": [ + { + "$ref": "#/definitions/AllowedAudiencesValidation" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The configuration settings of the Allowed Audiences validation flow." + } + }, + "description": "Google resource specific properties" + }, + "HandlerMapping": { + "type": "object", + "properties": { + "arguments": { + "type": "string", + "description": "Command-line arguments to be passed to the script processor." + }, + "extension": { + "type": "string", + "description": "Requests with this extension will be handled using the specified FastCGI application." + }, + "scriptProcessor": { + "type": "string", + "description": "The absolute path to the FastCGI application." + } + }, + "description": "The IIS handler mappings used to define which handler processes HTTP requests with certain extension. \nFor example, it is used to configure php-cgi.exe process to handle all HTTP requests with *.php extension." + }, + "HostingEnvironmentProfile": { + "type": "object", + "properties": { + "id": { + "type": "string", + "description": "Resource ID of the App Service Environment." + } + }, + "description": "Specification for an App Service Environment to use for this resource." + }, + "hostingEnvironments_configurations_childResource": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-02-01" + ] + }, + "kind": { + "type": "string", + "description": "Kind of resource." + }, + "name": { + "type": "string", + "enum": [ + "networking" + ] + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/AseV3NetworkingConfigurationProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "AseV3NetworkingConfiguration resource specific properties" + }, + "type": { + "type": "string", + "enum": [ + "configurations" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.Web/hostingEnvironments/configurations" + }, + "hostingEnvironments_multiRolePools_childResource": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-02-01" + ] + }, + "kind": { + "type": "string", + "description": "Kind of resource." + }, + "name": { + "type": "string", + "enum": [ + "default" + ] + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/WorkerPool" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Worker pool of an App Service Environment." + }, + "sku": { + "oneOf": [ + { + "$ref": "#/definitions/SkuDescription" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Description of a SKU for a scalable resource." + }, + "type": { + "type": "string", + "enum": [ + "multiRolePools" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.Web/hostingEnvironments/multiRolePools" + }, + "hostingEnvironments_privateEndpointConnections_childResource": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-02-01" + ] + }, + "kind": { + "type": "string", + "description": "Kind of resource." + }, + "name": { + "type": "string", + "description": "Name of the private endpoint connection." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/PrivateLinkConnectionApprovalRequest" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "A request to approve or reject a private endpoint connection" + }, + "type": { + "type": "string", + "enum": [ + "privateEndpointConnections" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.Web/hostingEnvironments/privateEndpointConnections" + }, + "hostingEnvironments_workerPools_childResource": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-02-01" + ] + }, + "kind": { + "type": "string", + "description": "Kind of resource." + }, + "name": { + "type": "string", + "description": "Name of the worker pool." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/WorkerPool" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Worker pool of an App Service Environment." + }, + "sku": { + "oneOf": [ + { + "$ref": "#/definitions/SkuDescription" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Description of a SKU for a scalable resource." + }, + "type": { + "type": "string", + "enum": [ + "workerPools" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.Web/hostingEnvironments/workerPools" + }, + "HostNameBindingProperties": { + "type": "object", + "properties": { + "azureResourceName": { + "type": "string", + "description": "Azure resource name." + }, + "azureResourceType": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Website", + "TrafficManager" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Azure resource type." + }, + "customHostNameDnsRecordType": { + "oneOf": [ + { + "type": "string", + "enum": [ + "CName", + "A" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Custom DNS record type." + }, + "domainId": { + "type": "string", + "description": "Fully qualified ARM domain resource URI." + }, + "hostNameType": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Verified", + "Managed" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Hostname type." + }, + "siteName": { + "type": "string", + "description": "App Service app name." + }, + "sslState": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Disabled", + "SniEnabled", + "IpBasedEnabled" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "SSL type." + }, + "thumbprint": { + "type": "string", + "description": "SSL certificate thumbprint" + } + }, + "description": "HostNameBinding resource specific properties" + }, + "HostNameSslState": { + "type": "object", + "properties": { + "hostType": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Standard", + "Repository" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Indicates whether the hostname is a standard or repository hostname." + }, + "name": { + "type": "string", + "description": "Hostname." + }, + "sslState": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Disabled", + "SniEnabled", + "IpBasedEnabled" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "SSL type." + }, + "thumbprint": { + "type": "string", + "description": "SSL certificate thumbprint." + }, + "toUpdate": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Set to true to update existing hostname." + }, + "virtualIP": { + "type": "string", + "description": "Virtual IP address assigned to the hostname if IP based SSL is enabled." + } + }, + "description": "SSL-enabled hostname." + }, + "HttpLogsConfig": { + "type": "object", + "properties": { + "azureBlobStorage": { + "oneOf": [ + { + "$ref": "#/definitions/AzureBlobStorageHttpLogsConfig" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Http logs to azure blob storage configuration." + }, + "fileSystem": { + "oneOf": [ + { + "$ref": "#/definitions/FileSystemHttpLogsConfig" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Http logs to file system configuration." + } + }, + "description": "Http logs configuration." + }, + "HttpSettings": { + "type": "object", + "properties": { + "forwardProxy": { + "oneOf": [ + { + "$ref": "#/definitions/ForwardProxy" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The configuration settings of a forward proxy used to make the requests." + }, + "requireHttps": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "false if the authentication/authorization responses not having the HTTPS scheme are permissible; otherwise, true." + }, + "routes": { + "oneOf": [ + { + "$ref": "#/definitions/HttpSettingsRoutes" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The configuration settings of the paths HTTP requests." + } + }, + "description": "The configuration settings of the HTTP requests for authentication and authorization requests made against App Service Authentication/Authorization." + }, + "HttpSettingsRoutes": { + "type": "object", + "properties": { + "apiPrefix": { + "type": "string", + "description": "The prefix that should precede all the authentication/authorization paths." + } + }, + "description": "The configuration settings of the paths HTTP requests." + }, + "HybridConnectionProperties": { + "type": "object", + "properties": { + "hostname": { + "type": "string", + "description": "The hostname of the endpoint." + }, + "port": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The port of the endpoint." + }, + "relayArmUri": { + "type": "string", + "description": "The ARM URI to the Service Bus relay." + }, + "relayName": { + "type": "string", + "description": "The name of the Service Bus relay." + }, + "sendKeyName": { + "type": "string", + "description": "The name of the Service Bus key which has Send permissions. This is used to authenticate to Service Bus." + }, + "sendKeyValue": { + "type": "string", + "description": "The value of the Service Bus key. This is used to authenticate to Service Bus. In ARM this key will not be returned\nnormally, use the POST /listKeys API instead." + }, + "serviceBusNamespace": { + "type": "string", + "description": "The name of the Service Bus namespace." + }, + "serviceBusSuffix": { + "type": "string", + "description": "The suffix for the service bus endpoint. By default this is .servicebus.windows.net" + } + }, + "description": "HybridConnection resource specific properties" + }, + "IdentifierProperties": { + "type": "object", + "properties": { + "id": { + "type": "string", + "description": "String representation of the identity." + } + }, + "description": "Identifier resource specific properties" + }, + "IdentityProviders": { + "type": "object", + "properties": { + "apple": { + "oneOf": [ + { + "$ref": "#/definitions/Apple" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The configuration settings of the Apple provider." + }, + "azureActiveDirectory": { + "oneOf": [ + { + "$ref": "#/definitions/AzureActiveDirectory" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The configuration settings of the Azure Active directory provider." + }, + "azureStaticWebApps": { + "oneOf": [ + { + "$ref": "#/definitions/AzureStaticWebApps" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The configuration settings of the Azure Static Web Apps provider." + }, + "customOpenIdConnectProviders": { + "oneOf": [ + { + "type": "object", + "additionalProperties": { + "$ref": "#/definitions/CustomOpenIdConnectProvider" + }, + "properties": {} + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The map of the name of the alias of each custom Open ID Connect provider to the\nconfiguration settings of the custom Open ID Connect provider." + }, + "facebook": { + "oneOf": [ + { + "$ref": "#/definitions/Facebook" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The configuration settings of the Facebook provider." + }, + "gitHub": { + "oneOf": [ + { + "$ref": "#/definitions/GitHub" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The configuration settings of the GitHub provider." + }, + "google": { + "oneOf": [ + { + "$ref": "#/definitions/Google" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The configuration settings of the Google provider." + }, + "legacyMicrosoftAccount": { + "oneOf": [ + { + "$ref": "#/definitions/LegacyMicrosoftAccount" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The configuration settings of the legacy Microsoft Account provider." + }, + "twitter": { + "oneOf": [ + { + "$ref": "#/definitions/Twitter" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The configuration settings of the Twitter provider." + } + }, + "description": "The configuration settings of each of the identity providers used to configure App Service Authentication/Authorization." + }, + "IpSecurityRestriction": { + "type": "object", + "properties": { + "action": { + "type": "string", + "description": "Allow or Deny access for this IP range." + }, + "description": { + "type": "string", + "description": "IP restriction rule description." + }, + "headers": { + "oneOf": [ + { + "type": "object", + "additionalProperties": { + "type": "array", + "items": { + "type": "string" + } + }, + "properties": {} + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "IP restriction rule headers.\nX-Forwarded-Host (https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/X-Forwarded-Host#Examples). \nThe matching logic is ..\n- If the property is null or empty (default), all hosts(or lack of) are allowed.\n- A value is compared using ordinal-ignore-case (excluding port number).\n- Subdomain wildcards are permitted but don't match the root domain. For example, *.contoso.com matches the subdomain foo.contoso.com\n but not the root domain contoso.com or multi-level foo.bar.contoso.com\n- Unicode host names are allowed but are converted to Punycode for matching.\n\nX-Forwarded-For (https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/X-Forwarded-For#Examples).\nThe matching logic is ..\n- If the property is null or empty (default), any forwarded-for chains (or lack of) are allowed.\n- If any address (excluding port number) in the chain (comma separated) matches the CIDR defined by the property.\n\nX-Azure-FDID and X-FD-HealthProbe.\nThe matching logic is exact match." + }, + "ipAddress": { + "type": "string", + "description": "IP address the security restriction is valid for.\nIt can be in form of pure ipv4 address (required SubnetMask property) or\nCIDR notation such as ipv4/mask (leading bit match). For CIDR,\nSubnetMask property must not be specified." + }, + "name": { + "type": "string", + "description": "IP restriction rule name." + }, + "priority": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Priority of IP restriction rule." + }, + "subnetMask": { + "type": "string", + "description": "Subnet mask for the range of IP addresses the restriction is valid for." + }, + "subnetTrafficTag": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "(internal) Subnet traffic tag" + }, + "tag": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Default", + "XffProxy", + "ServiceTag" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Defines what this IP filter will be used for. This is to support IP filtering on proxies." + }, + "vnetSubnetResourceId": { + "type": "string", + "description": "Virtual network resource id" + }, + "vnetTrafficTag": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "(internal) Vnet traffic tag" + } + }, + "description": "IP security restriction on an app." + }, + "JwtClaimChecks": { + "type": "object", + "properties": { + "allowedClientApplications": { + "oneOf": [ + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The list of the allowed client applications." + }, + "allowedGroups": { + "oneOf": [ + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The list of the allowed groups." + } + }, + "description": "The configuration settings of the checks that should be made while validating the JWT Claims." + }, + "KubeEnvironmentProfile": { + "type": "object", + "properties": { + "id": { + "type": "string", + "description": "Resource ID of the Kubernetes Environment." + } + }, + "description": "Specification for a Kubernetes Environment to use for this resource." + }, + "KubeEnvironmentProperties": { + "type": "object", + "properties": { + "aksResourceID": { + "type": "string" + }, + "appLogsConfiguration": { + "oneOf": [ + { + "$ref": "#/definitions/AppLogsConfiguration" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ] + }, + "arcConfiguration": { + "oneOf": [ + { + "$ref": "#/definitions/ArcConfiguration" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ] + }, + "internalLoadBalancerEnabled": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Only visible within Vnet/Subnet" + }, + "staticIp": { + "type": "string", + "description": "Static IP of the KubeEnvironment" + } + }, + "description": "KubeEnvironment resource specific properties" + }, + "LegacyMicrosoftAccount": { + "type": "object", + "properties": { + "kind": { + "type": "string", + "description": "Kind of resource." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/LegacyMicrosoftAccountProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "LegacyMicrosoftAccount resource specific properties" + } + }, + "description": "The configuration settings of the legacy Microsoft Account provider." + }, + "LegacyMicrosoftAccountProperties": { + "type": "object", + "properties": { + "enabled": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "false if the legacy Microsoft Account provider should not be enabled despite the set registration; otherwise, true." + }, + "login": { + "oneOf": [ + { + "$ref": "#/definitions/LoginScopes" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The configuration settings of the login flow, including the scopes that should be requested." + }, + "registration": { + "oneOf": [ + { + "$ref": "#/definitions/ClientRegistration" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The configuration settings of the app registration for providers that have client ids and client secrets" + }, + "validation": { + "oneOf": [ + { + "$ref": "#/definitions/AllowedAudiencesValidation" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The configuration settings of the Allowed Audiences validation flow." + } + }, + "description": "LegacyMicrosoftAccount resource specific properties" + }, + "LogAnalyticsConfiguration": { + "type": "object", + "properties": { + "customerId": { + "type": "string" + }, + "sharedKey": { + "type": "string" + } + } + }, + "Login": { + "type": "object", + "properties": { + "allowedExternalRedirectUrls": { + "oneOf": [ + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "External URLs that can be redirected to as part of logging in or logging out of the app. Note that the query string part of the URL is ignored.\nThis is an advanced setting typically only needed by Windows Store application backends.\nNote that URLs within the current domain are always implicitly allowed." + }, + "cookieExpiration": { + "oneOf": [ + { + "$ref": "#/definitions/CookieExpiration" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The configuration settings of the session cookie's expiration." + }, + "nonce": { + "oneOf": [ + { + "$ref": "#/definitions/Nonce" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The configuration settings of the nonce used in the login flow." + }, + "preserveUrlFragmentsForLogins": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "true if the fragments from the request are preserved after the login request is made; otherwise, false." + }, + "routes": { + "oneOf": [ + { + "$ref": "#/definitions/LoginRoutes" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The routes that specify the endpoints used for login and logout requests." + }, + "tokenStore": { + "oneOf": [ + { + "$ref": "#/definitions/TokenStore" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The configuration settings of the token store." + } + }, + "description": "The configuration settings of the login flow of users using App Service Authentication/Authorization." + }, + "LoginRoutes": { + "type": "object", + "properties": { + "logoutEndpoint": { + "type": "string", + "description": "The endpoint at which a logout request should be made." + } + }, + "description": "The routes that specify the endpoints used for login and logout requests." + }, + "LoginScopes": { + "type": "object", + "properties": { + "scopes": { + "oneOf": [ + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "A list of the scopes that should be requested while authenticating." + } + }, + "description": "The configuration settings of the login flow, including the scopes that should be requested." + }, + "ManagedServiceIdentity": { + "type": "object", + "properties": { + "type": { + "oneOf": [ + { + "type": "string", + "enum": [ + "SystemAssigned", + "UserAssigned", + "SystemAssigned, UserAssigned", + "None" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Type of managed service identity." + }, + "userAssignedIdentities": { + "oneOf": [ + { + "type": "object", + "additionalProperties": { + "$ref": "#/definitions/UserAssignedIdentity" + }, + "properties": {} + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The list of user assigned identities associated with the resource. The user identity dictionary key references will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}" + } + }, + "description": "Managed service identity." + }, + "MSDeployCore": { + "type": "object", + "properties": { + "appOffline": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Sets the AppOffline rule while the MSDeploy operation executes.\nSetting is false by default." + }, + "connectionString": { + "type": "string", + "description": "SQL Connection String" + }, + "dbType": { + "type": "string", + "description": "Database Type" + }, + "packageUri": { + "type": "string", + "description": "Package URI" + }, + "setParameters": { + "oneOf": [ + { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "properties": {} + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "MSDeploy Parameters. Must not be set if SetParametersXmlFileUri is used." + }, + "setParametersXmlFileUri": { + "type": "string", + "description": "URI of MSDeploy Parameters file. Must not be set if SetParameters is used." + }, + "skipAppData": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Controls whether the MSDeploy operation skips the App_Data directory.\nIf set to true, the existing App_Data directory on the destination\nwill not be deleted, and any App_Data directory in the source will be ignored.\nSetting is false by default." + } + }, + "description": "MSDeploy ARM PUT core information" + }, + "NameValuePair": { + "type": "object", + "properties": { + "name": { + "type": "string", + "description": "Pair name." + }, + "value": { + "type": "string", + "description": "Pair value." + } + }, + "description": "Name value pair." + }, + "Nonce": { + "type": "object", + "properties": { + "nonceExpirationInterval": { + "type": "string", + "description": "The time after the request is made when the nonce should expire." + }, + "validateNonce": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "false if the nonce should not be validated while completing the login flow; otherwise, true." + } + }, + "description": "The configuration settings of the nonce used in the login flow." + }, + "OpenIdConnectClientCredential": { + "type": "object", + "properties": { + "clientSecretSettingName": { + "type": "string", + "description": "The app setting that contains the client secret for the custom Open ID Connect provider." + }, + "method": { + "oneOf": [ + { + "type": "string", + "enum": [ + "ClientSecretPost" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The method that should be used to authenticate the user." + } + }, + "description": "The authentication client credentials of the custom Open ID Connect provider." + }, + "OpenIdConnectConfig": { + "type": "object", + "properties": { + "authorizationEndpoint": { + "type": "string", + "description": "The endpoint to be used to make an authorization request." + }, + "certificationUri": { + "type": "string", + "description": "The endpoint that provides the keys necessary to validate the token." + }, + "issuer": { + "type": "string", + "description": "The endpoint that issues the token." + }, + "tokenEndpoint": { + "type": "string", + "description": "The endpoint to be used to request a token." + }, + "wellKnownOpenIdConfiguration": { + "type": "string", + "description": "The endpoint that contains all the configuration endpoints for the provider." + } + }, + "description": "The configuration settings of the endpoints used for the custom Open ID Connect provider." + }, + "OpenIdConnectLogin": { + "type": "object", + "properties": { + "nameClaimType": { + "type": "string", + "description": "The name of the claim that contains the users name." + }, + "scopes": { + "oneOf": [ + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "A list of the scopes that should be requested while authenticating." + } + }, + "description": "The configuration settings of the login flow of the custom Open ID Connect provider." + }, + "OpenIdConnectRegistration": { + "type": "object", + "properties": { + "clientCredential": { + "oneOf": [ + { + "$ref": "#/definitions/OpenIdConnectClientCredential" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The authentication client credentials of the custom Open ID Connect provider." + }, + "clientId": { + "type": "string", + "description": "The client id of the custom Open ID Connect provider." + }, + "openIdConnectConfiguration": { + "oneOf": [ + { + "$ref": "#/definitions/OpenIdConnectConfig" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The configuration settings of the endpoints used for the custom Open ID Connect provider." + } + }, + "description": "The configuration settings of the app registration for the custom Open ID Connect provider." + }, + "PremierAddOnProperties": { + "type": "object", + "properties": { + "marketplaceOffer": { + "type": "string", + "description": "Premier add on Marketplace offer." + }, + "marketplacePublisher": { + "type": "string", + "description": "Premier add on Marketplace publisher." + }, + "product": { + "type": "string", + "description": "Premier add on Product." + }, + "sku": { + "type": "string", + "description": "Premier add on SKU." + }, + "vendor": { + "type": "string", + "description": "Premier add on Vendor." + } + }, + "description": "PremierAddOn resource specific properties" + }, + "PrivateAccessProperties": { + "type": "object", + "properties": { + "enabled": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Whether private access is enabled or not." + }, + "virtualNetworks": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/PrivateAccessVirtualNetwork" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The Virtual Networks (and subnets) allowed to access the site privately." + } + }, + "description": "PrivateAccess resource specific properties" + }, + "PrivateAccessSubnet": { + "type": "object", + "properties": { + "key": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The key (ID) of the subnet." + }, + "name": { + "type": "string", + "description": "The name of the subnet." + } + }, + "description": "Description of a Virtual Network subnet that is useable for private site access." + }, + "PrivateAccessVirtualNetwork": { + "type": "object", + "properties": { + "key": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The key (ID) of the Virtual Network." + }, + "name": { + "type": "string", + "description": "The name of the Virtual Network." + }, + "resourceId": { + "type": "string", + "description": "The ARM uri of the Virtual Network" + }, + "subnets": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/PrivateAccessSubnet" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "A List of subnets that access is allowed to on this Virtual Network. An empty array (but not null) is interpreted to mean that all subnets are allowed within this Virtual Network." + } + }, + "description": "Description of a Virtual Network that is useable for private site access." + }, + "PrivateLinkConnectionApprovalRequest": { + "type": "object", + "properties": { + "privateLinkServiceConnectionState": { + "oneOf": [ + { + "$ref": "#/definitions/PrivateLinkConnectionState" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The state of a private link connection" + } + }, + "description": "A request to approve or reject a private endpoint connection" + }, + "PrivateLinkConnectionState": { + "type": "object", + "properties": { + "actionsRequired": { + "type": "string", + "description": "ActionsRequired for a private link connection" + }, + "description": { + "type": "string", + "description": "Description of a private link connection" + }, + "status": { + "type": "string", + "description": "Status of a private link connection" + } + }, + "description": "The state of a private link connection" + }, + "PublicCertificateProperties": { + "type": "object", + "properties": { + "blob": { + "oneOf": [ + { + "type": "string", + "pattern": "^(?:[A-Za-z0-9+\\/]{4})*(?:[A-Za-z0-9+\\/]{2}==|[A-Za-z0-9+\\/]{3}=)?$" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Public Certificate byte array" + }, + "publicCertificateLocation": { + "oneOf": [ + { + "type": "string", + "enum": [ + "CurrentUserMy", + "LocalMachineMy", + "Unknown" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Public Certificate Location." + } + }, + "description": "PublicCertificate resource specific properties" + }, + "PushSettings": { + "type": "object", + "properties": { + "kind": { + "type": "string", + "description": "Kind of resource." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/PushSettingsProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "PushSettings resource specific properties" + } + }, + "description": "Push settings for the App." + }, + "PushSettingsProperties": { + "type": "object", + "properties": { + "dynamicTagsJson": { + "type": "string", + "description": "Gets or sets a JSON string containing a list of dynamic tags that will be evaluated from user claims in the push registration endpoint." + }, + "isPushEnabled": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Gets or sets a flag indicating whether the Push endpoint is enabled." + }, + "tagsRequiringAuth": { + "type": "string", + "description": "Gets or sets a JSON string containing a list of tags that require user authentication to be used in the push registration endpoint.\nTags can consist of alphanumeric characters and the following:\n'_', '@', '#', '.', ':', '-'. \nValidation should be performed at the PushRequestHandler." + }, + "tagWhitelistJson": { + "type": "string", + "description": "Gets or sets a JSON string containing a list of tags that are whitelisted for use by the push registration endpoint." + } + }, + "required": [ + "isPushEnabled" + ], + "description": "PushSettings resource specific properties" + }, + "RampUpRule": { + "type": "object", + "properties": { + "actionHostName": { + "type": "string", + "description": "Hostname of a slot to which the traffic will be redirected if decided to. E.g. myapp-stage.azurewebsites.net." + }, + "changeDecisionCallbackUrl": { + "type": "string", + "description": "Custom decision algorithm can be provided in TiPCallback site extension which URL can be specified. See TiPCallback site extension for the scaffold and contracts.\nhttps://www.siteextensions.net/packages/TiPCallback/" + }, + "changeIntervalInMinutes": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Specifies interval in minutes to reevaluate ReroutePercentage." + }, + "changeStep": { + "oneOf": [ + { + "type": "number" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "In auto ramp up scenario this is the step to add/remove from ReroutePercentage until it reaches \\nMinReroutePercentage or \nMaxReroutePercentage. Site metrics are checked every N minutes specified in ChangeIntervalInMinutes.\\nCustom decision algorithm \ncan be provided in TiPCallback site extension which URL can be specified in ChangeDecisionCallbackUrl." + }, + "maxReroutePercentage": { + "oneOf": [ + { + "type": "number" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Specifies upper boundary below which ReroutePercentage will stay." + }, + "minReroutePercentage": { + "oneOf": [ + { + "type": "number" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Specifies lower boundary above which ReroutePercentage will stay." + }, + "name": { + "type": "string", + "description": "Name of the routing rule. The recommended name would be to point to the slot which will receive the traffic in the experiment." + }, + "reroutePercentage": { + "oneOf": [ + { + "type": "number" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Percentage of the traffic which will be redirected to ActionHostName." + } + }, + "description": "Routing rules for ramp up testing. This rule allows to redirect static traffic % to a slot or to gradually change routing % based on performance." + }, + "RelayServiceConnectionEntityProperties": { + "type": "object", + "properties": { + "biztalkUri": { + "type": "string" + }, + "entityConnectionString": { + "type": "string" + }, + "entityName": { + "type": "string" + }, + "hostname": { + "type": "string" + }, + "port": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ] + }, + "resourceConnectionString": { + "type": "string" + }, + "resourceType": { + "type": "string" + } + }, + "description": "RelayServiceConnectionEntity resource specific properties" + }, + "RequestsBasedTrigger": { + "type": "object", + "properties": { + "count": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Request Count." + }, + "timeInterval": { + "type": "string", + "description": "Time interval." + } + }, + "description": "Trigger based on total requests." + }, + "SiteAuthSettingsProperties": { + "type": "object", + "properties": { + "aadClaimsAuthorization": { + "type": "string", + "description": "Gets a JSON string containing the Azure AD Acl settings." + }, + "additionalLoginParams": { + "oneOf": [ + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Login parameters to send to the OpenID Connect authorization endpoint when\na user logs in. Each parameter must be in the form \"key=value\"." + }, + "allowedAudiences": { + "oneOf": [ + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Allowed audience values to consider when validating JWTs issued by \nAzure Active Directory. Note that the ClientID value is always considered an\nallowed audience, regardless of this setting." + }, + "allowedExternalRedirectUrls": { + "oneOf": [ + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "External URLs that can be redirected to as part of logging in or logging out of the app. Note that the query string part of the URL is ignored.\nThis is an advanced setting typically only needed by Windows Store application backends.\nNote that URLs within the current domain are always implicitly allowed." + }, + "authFilePath": { + "type": "string", + "description": "The path of the config file containing auth settings.\nIf the path is relative, base will the site's root directory." + }, + "clientId": { + "type": "string", + "description": "The Client ID of this relying party application, known as the client_id.\nThis setting is required for enabling OpenID Connection authentication with Azure Active Directory or \nother 3rd party OpenID Connect providers.\nMore information on OpenID Connect: http://openid.net/specs/openid-connect-core-1_0.html" + }, + "clientSecret": { + "type": "string", + "description": "The Client Secret of this relying party application (in Azure Active Directory, this is also referred to as the Key).\nThis setting is optional. If no client secret is configured, the OpenID Connect implicit auth flow is used to authenticate end users.\nOtherwise, the OpenID Connect Authorization Code Flow is used to authenticate end users.\nMore information on OpenID Connect: http://openid.net/specs/openid-connect-core-1_0.html" + }, + "clientSecretCertificateThumbprint": { + "type": "string", + "description": "An alternative to the client secret, that is the thumbprint of a certificate used for signing purposes. This property acts as\na replacement for the Client Secret. It is also optional." + }, + "clientSecretSettingName": { + "type": "string", + "description": "The app setting name that contains the client secret of the relying party application." + }, + "configVersion": { + "type": "string", + "description": "The ConfigVersion of the Authentication / Authorization feature in use for the current app.\nThe setting in this value can control the behavior of the control plane for Authentication / Authorization." + }, + "defaultProvider": { + "oneOf": [ + { + "type": "string", + "enum": [ + "AzureActiveDirectory", + "Facebook", + "Google", + "MicrosoftAccount", + "Twitter", + "Github" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The default authentication provider to use when multiple providers are configured.\nThis setting is only needed if multiple providers are configured and the unauthenticated client\naction is set to \"RedirectToLoginPage\"." + }, + "enabled": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "true if the Authentication / Authorization feature is enabled for the current app; otherwise, false." + }, + "facebookAppId": { + "type": "string", + "description": "The App ID of the Facebook app used for login.\nThis setting is required for enabling Facebook Login.\nFacebook Login documentation: https://developers.facebook.com/docs/facebook-login" + }, + "facebookAppSecret": { + "type": "string", + "description": "The App Secret of the Facebook app used for Facebook Login.\nThis setting is required for enabling Facebook Login.\nFacebook Login documentation: https://developers.facebook.com/docs/facebook-login" + }, + "facebookAppSecretSettingName": { + "type": "string", + "description": "The app setting name that contains the app secret used for Facebook Login." + }, + "facebookOAuthScopes": { + "oneOf": [ + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The OAuth 2.0 scopes that will be requested as part of Facebook Login authentication.\nThis setting is optional.\nFacebook Login documentation: https://developers.facebook.com/docs/facebook-login" + }, + "gitHubClientId": { + "type": "string", + "description": "The Client Id of the GitHub app used for login.\nThis setting is required for enabling Github login" + }, + "gitHubClientSecret": { + "type": "string", + "description": "The Client Secret of the GitHub app used for Github Login.\nThis setting is required for enabling Github login." + }, + "gitHubClientSecretSettingName": { + "type": "string", + "description": "The app setting name that contains the client secret of the Github\napp used for GitHub Login." + }, + "gitHubOAuthScopes": { + "oneOf": [ + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The OAuth 2.0 scopes that will be requested as part of GitHub Login authentication.\nThis setting is optional" + }, + "googleClientId": { + "type": "string", + "description": "The OpenID Connect Client ID for the Google web application.\nThis setting is required for enabling Google Sign-In.\nGoogle Sign-In documentation: https://developers.google.com/identity/sign-in/web/" + }, + "googleClientSecret": { + "type": "string", + "description": "The client secret associated with the Google web application.\nThis setting is required for enabling Google Sign-In.\nGoogle Sign-In documentation: https://developers.google.com/identity/sign-in/web/" + }, + "googleClientSecretSettingName": { + "type": "string", + "description": "The app setting name that contains the client secret associated with \nthe Google web application." + }, + "googleOAuthScopes": { + "oneOf": [ + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The OAuth 2.0 scopes that will be requested as part of Google Sign-In authentication.\nThis setting is optional. If not specified, \"openid\", \"profile\", and \"email\" are used as default scopes.\nGoogle Sign-In documentation: https://developers.google.com/identity/sign-in/web/" + }, + "isAuthFromFile": { + "type": "string", + "description": "\"true\" if the auth config settings should be read from a file,\n\"false\" otherwise" + }, + "issuer": { + "type": "string", + "description": "The OpenID Connect Issuer URI that represents the entity which issues access tokens for this application.\nWhen using Azure Active Directory, this value is the URI of the directory tenant, e.g. https://sts.windows.net/{tenant-guid}/.\nThis URI is a case-sensitive identifier for the token issuer.\nMore information on OpenID Connect Discovery: http://openid.net/specs/openid-connect-discovery-1_0.html" + }, + "microsoftAccountClientId": { + "type": "string", + "description": "The OAuth 2.0 client ID that was created for the app used for authentication.\nThis setting is required for enabling Microsoft Account authentication.\nMicrosoft Account OAuth documentation: https://dev.onedrive.com/auth/msa_oauth.htm" + }, + "microsoftAccountClientSecret": { + "type": "string", + "description": "The OAuth 2.0 client secret that was created for the app used for authentication.\nThis setting is required for enabling Microsoft Account authentication.\nMicrosoft Account OAuth documentation: https://dev.onedrive.com/auth/msa_oauth.htm" + }, + "microsoftAccountClientSecretSettingName": { + "type": "string", + "description": "The app setting name containing the OAuth 2.0 client secret that was created for the\napp used for authentication." + }, + "microsoftAccountOAuthScopes": { + "oneOf": [ + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The OAuth 2.0 scopes that will be requested as part of Microsoft Account authentication.\nThis setting is optional. If not specified, \"wl.basic\" is used as the default scope.\nMicrosoft Account Scopes and permissions documentation: https://msdn.microsoft.com/en-us/library/dn631845.aspx" + }, + "runtimeVersion": { + "type": "string", + "description": "The RuntimeVersion of the Authentication / Authorization feature in use for the current app.\nThe setting in this value can control the behavior of certain features in the Authentication / Authorization module." + }, + "tokenRefreshExtensionHours": { + "oneOf": [ + { + "type": "number" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The number of hours after session token expiration that a session token can be used to\ncall the token refresh API. The default is 72 hours." + }, + "tokenStoreEnabled": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "true to durably store platform-specific security tokens that are obtained during login flows; otherwise, false.\n The default is false." + }, + "twitterConsumerKey": { + "type": "string", + "description": "The OAuth 1.0a consumer key of the Twitter application used for sign-in.\nThis setting is required for enabling Twitter Sign-In.\nTwitter Sign-In documentation: https://dev.twitter.com/web/sign-in" + }, + "twitterConsumerSecret": { + "type": "string", + "description": "The OAuth 1.0a consumer secret of the Twitter application used for sign-in.\nThis setting is required for enabling Twitter Sign-In.\nTwitter Sign-In documentation: https://dev.twitter.com/web/sign-in" + }, + "twitterConsumerSecretSettingName": { + "type": "string", + "description": "The app setting name that contains the OAuth 1.0a consumer secret of the Twitter\napplication used for sign-in." + }, + "unauthenticatedClientAction": { + "oneOf": [ + { + "type": "string", + "enum": [ + "RedirectToLoginPage", + "AllowAnonymous" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The action to take when an unauthenticated client attempts to access the app." + }, + "validateIssuer": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Gets a value indicating whether the issuer should be a valid HTTPS url and be validated as such." + } + }, + "description": "SiteAuthSettings resource specific properties" + }, + "SiteAuthSettingsV2Properties": { + "type": "object", + "properties": { + "globalValidation": { + "oneOf": [ + { + "$ref": "#/definitions/GlobalValidation" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The configuration settings that determines the validation flow of users using App Service Authentication/Authorization." + }, + "httpSettings": { + "oneOf": [ + { + "$ref": "#/definitions/HttpSettings" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The configuration settings of the HTTP requests for authentication and authorization requests made against App Service Authentication/Authorization." + }, + "identityProviders": { + "oneOf": [ + { + "$ref": "#/definitions/IdentityProviders" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The configuration settings of each of the identity providers used to configure App Service Authentication/Authorization." + }, + "login": { + "oneOf": [ + { + "$ref": "#/definitions/Login" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The configuration settings of the login flow of users using App Service Authentication/Authorization." + }, + "platform": { + "oneOf": [ + { + "$ref": "#/definitions/AuthPlatform" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The configuration settings of the platform of App Service Authentication/Authorization." + } + }, + "description": "SiteAuthSettingsV2 resource specific properties" + }, + "SiteConfig": { + "type": "object", + "properties": { + "acrUseManagedIdentityCreds": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Flag to use Managed Identity Creds for ACR pull" + }, + "acrUserManagedIdentityID": { + "type": "string", + "description": "If using user managed identity, the user managed identity ClientId" + }, + "alwaysOn": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "true if Always On is enabled; otherwise, false." + }, + "apiDefinition": { + "oneOf": [ + { + "$ref": "#/definitions/ApiDefinitionInfo" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Information about the formal API definition for the app." + }, + "apiManagementConfig": { + "oneOf": [ + { + "$ref": "#/definitions/ApiManagementConfig" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Azure API management (APIM) configuration linked to the app." + }, + "appCommandLine": { + "type": "string", + "description": "App command line to launch." + }, + "appSettings": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/NameValuePair" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Application settings." + }, + "autoHealEnabled": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "true if Auto Heal is enabled; otherwise, false." + }, + "autoHealRules": { + "oneOf": [ + { + "$ref": "#/definitions/AutoHealRules" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Rules that can be defined for auto-heal." + }, + "autoSwapSlotName": { + "type": "string", + "description": "Auto-swap slot name." + }, + "azureStorageAccounts": { + "oneOf": [ + { + "type": "object", + "additionalProperties": { + "$ref": "#/definitions/AzureStorageInfoValue" + }, + "properties": {} + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "List of Azure Storage Accounts." + }, + "connectionStrings": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/ConnStringInfo" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Connection strings." + }, + "cors": { + "oneOf": [ + { + "$ref": "#/definitions/CorsSettings" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Cross-Origin Resource Sharing (CORS) settings for the app." + }, + "defaultDocuments": { + "oneOf": [ + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Default documents." + }, + "detailedErrorLoggingEnabled": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "true if detailed error logging is enabled; otherwise, false." + }, + "documentRoot": { + "type": "string", + "description": "Document root." + }, + "experiments": { + "oneOf": [ + { + "$ref": "#/definitions/Experiments" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Routing rules in production experiments." + }, + "ftpsState": { + "oneOf": [ + { + "type": "string", + "enum": [ + "AllAllowed", + "FtpsOnly", + "Disabled" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "State of FTP / FTPS service." + }, + "functionAppScaleLimit": { + "oneOf": [ + { + "type": "integer", + "minimum": 0 + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Maximum number of workers that a site can scale out to.\nThis setting only applies to the Consumption and Elastic Premium Plans" + }, + "functionsRuntimeScaleMonitoringEnabled": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Gets or sets a value indicating whether functions runtime scale monitoring is enabled. When enabled,\nthe ScaleController will not monitor event sources directly, but will instead call to the\nruntime to get scale status." + }, + "handlerMappings": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/HandlerMapping" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Handler mappings." + }, + "healthCheckPath": { + "type": "string", + "description": "Health check path" + }, + "http20Enabled": { + "oneOf": [ + { + "type": "boolean", + "default": true + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Http20Enabled: configures a web site to allow clients to connect over http2.0" + }, + "httpLoggingEnabled": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "true if HTTP logging is enabled; otherwise, false." + }, + "ipSecurityRestrictions": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/IpSecurityRestriction" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "IP security restrictions for main." + }, + "javaContainer": { + "type": "string", + "description": "Java container." + }, + "javaContainerVersion": { + "type": "string", + "description": "Java container version." + }, + "javaVersion": { + "type": "string", + "description": "Java version." + }, + "keyVaultReferenceIdentity": { + "type": "string", + "description": "Identity to use for Key Vault Reference authentication." + }, + "limits": { + "oneOf": [ + { + "$ref": "#/definitions/SiteLimits" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Metric limits set on an app." + }, + "linuxFxVersion": { + "type": "string", + "description": "Linux App Framework and version" + }, + "loadBalancing": { + "oneOf": [ + { + "type": "string", + "enum": [ + "WeightedRoundRobin", + "LeastRequests", + "LeastResponseTime", + "WeightedTotalTraffic", + "RequestHash", + "PerSiteRoundRobin" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Site load balancing." + }, + "localMySqlEnabled": { + "oneOf": [ + { + "type": "boolean", + "default": false + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "true to enable local MySQL; otherwise, false." + }, + "logsDirectorySizeLimit": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "HTTP logs directory size limit." + }, + "managedPipelineMode": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Integrated", + "Classic" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Managed pipeline mode." + }, + "managedServiceIdentityId": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Managed Service Identity Id" + }, + "minimumElasticInstanceCount": { + "oneOf": [ + { + "type": "integer", + "minimum": 0, + "maximum": 20 + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Number of minimum instance count for a site\nThis setting only applies to the Elastic Plans" + }, + "minTlsVersion": { + "oneOf": [ + { + "type": "string", + "enum": [ + "1.0", + "1.1", + "1.2" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "MinTlsVersion: configures the minimum version of TLS required for SSL requests." + }, + "netFrameworkVersion": { + "type": "string", + "default": "v4.6", + "description": ".NET Framework version." + }, + "nodeVersion": { + "type": "string", + "description": "Version of Node.js." + }, + "numberOfWorkers": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Number of workers." + }, + "phpVersion": { + "type": "string", + "description": "Version of PHP." + }, + "powerShellVersion": { + "type": "string", + "description": "Version of PowerShell." + }, + "preWarmedInstanceCount": { + "oneOf": [ + { + "type": "integer", + "minimum": 0, + "maximum": 10 + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Number of preWarmed instances.\nThis setting only applies to the Consumption and Elastic Plans" + }, + "publicNetworkAccess": { + "type": "string", + "description": "Property to allow or block all public traffic." + }, + "publishingUsername": { + "type": "string", + "description": "Publishing user name." + }, + "push": { + "oneOf": [ + { + "$ref": "#/definitions/PushSettings" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Push settings for the App." + }, + "pythonVersion": { + "type": "string", + "description": "Version of Python." + }, + "remoteDebuggingEnabled": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "true if remote debugging is enabled; otherwise, false." + }, + "remoteDebuggingVersion": { + "type": "string", + "description": "Remote debugging version." + }, + "requestTracingEnabled": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "true if request tracing is enabled; otherwise, false." + }, + "requestTracingExpirationTime": { + "type": "string", + "format": "date-time", + "description": "Request tracing expiration time." + }, + "scmIpSecurityRestrictions": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/IpSecurityRestriction" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "IP security restrictions for scm." + }, + "scmIpSecurityRestrictionsUseMain": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "IP security restrictions for scm to use main." + }, + "scmMinTlsVersion": { + "oneOf": [ + { + "type": "string", + "enum": [ + "1.0", + "1.1", + "1.2" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "ScmMinTlsVersion: configures the minimum version of TLS required for SSL requests for SCM site." + }, + "scmType": { + "oneOf": [ + { + "type": "string", + "enum": [ + "None", + "Dropbox", + "Tfs", + "LocalGit", + "GitHub", + "CodePlexGit", + "CodePlexHg", + "BitbucketGit", + "BitbucketHg", + "ExternalGit", + "ExternalHg", + "OneDrive", + "VSO", + "VSTSRM" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "SCM type." + }, + "tracingOptions": { + "type": "string", + "description": "Tracing options." + }, + "use32BitWorkerProcess": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "true to use 32-bit worker process; otherwise, false." + }, + "virtualApplications": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/VirtualApplication" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Virtual applications." + }, + "vnetName": { + "type": "string", + "description": "Virtual Network name." + }, + "vnetPrivatePortsCount": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The number of private ports assigned to this app. These will be assigned dynamically on runtime." + }, + "vnetRouteAllEnabled": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Virtual Network Route All enabled. This causes all outbound traffic to have Virtual Network Security Groups and User Defined Routes applied." + }, + "websiteTimeZone": { + "type": "string", + "description": "Sets the time zone a site uses for generating timestamps. Compatible with Linux and Windows App Service. Setting the WEBSITE_TIME_ZONE app setting takes precedence over this config. For Linux, expects tz database values https://www.iana.org/time-zones (for a quick reference see https://en.wikipedia.org/wiki/List_of_tz_database_time_zones). For Windows, expects one of the time zones listed under HKEY_LOCAL_MACHINE\\SOFTWARE\\Microsoft\\Windows NT\\CurrentVersion\\Time Zones" + }, + "webSocketsEnabled": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "true if WebSocket is enabled; otherwise, false." + }, + "windowsFxVersion": { + "type": "string", + "description": "Xenon App Framework and version" + }, + "xManagedServiceIdentityId": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Explicit Managed Service Identity Id" + } + }, + "description": "Configuration of an App Service app." + }, + "SiteLimits": { + "type": "object", + "properties": { + "maxDiskSizeInMb": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Maximum allowed disk size usage in MB." + }, + "maxMemoryInMb": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Maximum allowed memory usage in MB." + }, + "maxPercentageCpu": { + "oneOf": [ + { + "type": "number" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Maximum allowed CPU usage percentage." + } + }, + "description": "Metric limits set on an app." + }, + "SiteLogsConfigProperties": { + "type": "object", + "properties": { + "applicationLogs": { + "oneOf": [ + { + "$ref": "#/definitions/ApplicationLogsConfig" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Application logs configuration." + }, + "detailedErrorMessages": { + "oneOf": [ + { + "$ref": "#/definitions/EnabledConfig" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Enabled configuration." + }, + "failedRequestsTracing": { + "oneOf": [ + { + "$ref": "#/definitions/EnabledConfig" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Enabled configuration." + }, + "httpLogs": { + "oneOf": [ + { + "$ref": "#/definitions/HttpLogsConfig" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Http logs configuration." + } + }, + "description": "SiteLogsConfig resource specific properties" + }, + "SiteProperties": { + "type": "object", + "properties": { + "clientAffinityEnabled": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "true to enable client affinity; false to stop sending session affinity cookies, which route client requests in the same session to the same instance. Default is true." + }, + "clientCertEnabled": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "true to enable client certificate authentication (TLS mutual authentication); otherwise, false. Default is false." + }, + "clientCertExclusionPaths": { + "type": "string", + "description": "client certificate authentication comma-separated exclusion paths" + }, + "clientCertMode": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Required", + "Optional", + "OptionalInteractiveUser" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "This composes with ClientCertEnabled setting.\n- ClientCertEnabled: false means ClientCert is ignored.\n- ClientCertEnabled: true and ClientCertMode: Required means ClientCert is required.\n- ClientCertEnabled: true and ClientCertMode: Optional means ClientCert is optional or accepted." + }, + "cloningInfo": { + "oneOf": [ + { + "$ref": "#/definitions/CloningInfo" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Information needed for cloning operation." + }, + "containerSize": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Size of the function container." + }, + "customDomainVerificationId": { + "type": "string", + "description": "Unique identifier that verifies the custom domains assigned to the app. Customer will add this id to a txt record for verification." + }, + "dailyMemoryTimeQuota": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Maximum allowed daily memory-time quota (applicable on dynamic apps only)." + }, + "enabled": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "true if the app is enabled; otherwise, false. Setting this value to false disables the app (takes the app offline)." + }, + "hostingEnvironmentProfile": { + "oneOf": [ + { + "$ref": "#/definitions/HostingEnvironmentProfile" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Specification for an App Service Environment to use for this resource." + }, + "hostNamesDisabled": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "true to disable the public hostnames of the app; otherwise, false.\n If true, the app is only accessible via API management process." + }, + "hostNameSslStates": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/HostNameSslState" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Hostname SSL states are used to manage the SSL bindings for app's hostnames." + }, + "httpsOnly": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "HttpsOnly: configures a web site to accept only https requests. Issues redirect for\nhttp requests" + }, + "hyperV": { + "oneOf": [ + { + "type": "boolean", + "default": false + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Hyper-V sandbox." + }, + "isXenon": { + "oneOf": [ + { + "type": "boolean", + "default": false + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Obsolete: Hyper-V sandbox." + }, + "keyVaultReferenceIdentity": { + "type": "string", + "description": "Identity to use for Key Vault Reference authentication." + }, + "redundancyMode": { + "oneOf": [ + { + "type": "string", + "enum": [ + "None", + "Manual", + "Failover", + "ActiveActive", + "GeoRedundant" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Site redundancy mode." + }, + "reserved": { + "oneOf": [ + { + "type": "boolean", + "default": false + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "true if reserved; otherwise, false." + }, + "scmSiteAlsoStopped": { + "oneOf": [ + { + "type": "boolean", + "default": false + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "true to stop SCM (KUDU) site when the app is stopped; otherwise, false. The default is false." + }, + "serverFarmId": { + "type": "string", + "description": "Resource ID of the associated App Service plan, formatted as: \"/subscriptions/{subscriptionID}/resourceGroups/{groupName}/providers/Microsoft.Web/serverfarms/{appServicePlanName}\"." + }, + "siteConfig": { + "oneOf": [ + { + "$ref": "#/definitions/SiteConfig" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Configuration of an App Service app." + }, + "storageAccountRequired": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Checks if Customer provided storage account is required" + }, + "virtualNetworkSubnetId": { + "type": "string", + "description": "Azure Resource Manager ID of the Virtual network and subnet to be joined by Regional VNET Integration.\nThis must be of the form /subscriptions/{subscriptionName}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworks/{vnetName}/subnets/{subnetName}" + } + }, + "description": "Site resource specific properties" + }, + "SiteSourceControlProperties": { + "type": "object", + "properties": { + "branch": { + "type": "string", + "description": "Name of branch to use for deployment." + }, + "deploymentRollbackEnabled": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "true to enable deployment rollback; otherwise, false." + }, + "gitHubActionConfiguration": { + "oneOf": [ + { + "$ref": "#/definitions/GitHubActionConfiguration" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The GitHub action configuration." + }, + "isGitHubAction": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "true if this is deployed via GitHub action." + }, + "isManualIntegration": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "true to limit to manual integration; false to enable continuous integration (which configures webhooks into online repos like GitHub)." + }, + "isMercurial": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "true for a Mercurial repository; false for a Git repository." + }, + "repoUrl": { + "type": "string", + "description": "Repository or source control URL." + } + }, + "description": "SiteSourceControl resource specific properties" + }, + "sites_basicPublishingCredentialsPolicies_childResource": { + "type": "object", + "oneOf": [ + { + "type": "object", + "properties": { + "kind": { + "type": "string", + "description": "Kind of resource." + }, + "name": { + "type": "string", + "enum": [ + "ftp" + ] + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/CsmPublishingCredentialsPoliciesEntityProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "CsmPublishingCredentialsPoliciesEntity resource specific properties" + } + }, + "required": [ + "name", + "properties" + ], + "description": "Microsoft.Web/sites/basicPublishingCredentialsPolicies" + }, + { + "type": "object", + "properties": { + "kind": { + "type": "string", + "description": "Kind of resource." + }, + "name": { + "type": "string", + "enum": [ + "scm" + ] + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/CsmPublishingCredentialsPoliciesEntityProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "CsmPublishingCredentialsPoliciesEntity resource specific properties" + } + }, + "required": [ + "name", + "properties" + ], + "description": "Microsoft.Web/sites/basicPublishingCredentialsPolicies" + } + ], + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-02-01" + ] + }, + "type": { + "type": "string", + "enum": [ + "basicPublishingCredentialsPolicies" + ] + } + }, + "required": [ + "apiVersion", + "type" + ], + "description": "Microsoft.Web/sites/basicPublishingCredentialsPolicies" + }, + "sites_config_childResource": { + "type": "object", + "oneOf": [ + { + "type": "object", + "properties": { + "kind": { + "type": "string", + "description": "Kind of resource." + }, + "name": { + "type": "string", + "enum": [ + "appsettings" + ] + }, + "properties": { + "oneOf": [ + { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "properties": {} + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Settings." + } + }, + "required": [ + "name", + "properties" + ], + "description": "Microsoft.Web/sites/config" + }, + { + "type": "object", + "properties": { + "kind": { + "type": "string", + "description": "Kind of resource." + }, + "name": { + "type": "string", + "enum": [ + "authsettings" + ] + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/SiteAuthSettingsProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "SiteAuthSettings resource specific properties" + } + }, + "required": [ + "name", + "properties" + ], + "description": "Microsoft.Web/sites/config" + }, + { + "type": "object", + "properties": { + "kind": { + "type": "string", + "description": "Kind of resource." + }, + "name": { + "type": "string", + "enum": [ + "authsettingsV2" + ] + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/SiteAuthSettingsV2Properties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "SiteAuthSettingsV2 resource specific properties" + } + }, + "required": [ + "name", + "properties" + ], + "description": "Microsoft.Web/sites/config" + }, + { + "type": "object", + "properties": { + "kind": { + "type": "string", + "description": "Kind of resource." + }, + "name": { + "type": "string", + "enum": [ + "azurestorageaccounts" + ] + }, + "properties": { + "oneOf": [ + { + "type": "object", + "additionalProperties": { + "$ref": "#/definitions/AzureStorageInfoValue" + }, + "properties": {} + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Azure storage accounts." + } + }, + "required": [ + "name", + "properties" + ], + "description": "Microsoft.Web/sites/config" + }, + { + "type": "object", + "properties": { + "kind": { + "type": "string", + "description": "Kind of resource." + }, + "name": { + "type": "string", + "enum": [ + "backup" + ] + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/BackupRequestProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "BackupRequest resource specific properties" + } + }, + "required": [ + "name", + "properties" + ], + "description": "Microsoft.Web/sites/config" + }, + { + "type": "object", + "properties": { + "kind": { + "type": "string", + "description": "Kind of resource." + }, + "name": { + "type": "string", + "enum": [ + "connectionstrings" + ] + }, + "properties": { + "oneOf": [ + { + "type": "object", + "additionalProperties": { + "$ref": "#/definitions/ConnStringValueTypePair" + }, + "properties": {} + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Connection strings." + } + }, + "required": [ + "name", + "properties" + ], + "description": "Microsoft.Web/sites/config" + }, + { + "type": "object", + "properties": { + "kind": { + "type": "string", + "description": "Kind of resource." + }, + "name": { + "type": "string", + "enum": [ + "logs" + ] + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/SiteLogsConfigProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "SiteLogsConfig resource specific properties" + } + }, + "required": [ + "name", + "properties" + ], + "description": "Microsoft.Web/sites/config" + }, + { + "type": "object", + "properties": { + "kind": { + "type": "string", + "description": "Kind of resource." + }, + "name": { + "type": "string", + "enum": [ + "metadata" + ] + }, + "properties": { + "oneOf": [ + { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "properties": {} + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Settings." + } + }, + "required": [ + "name", + "properties" + ], + "description": "Microsoft.Web/sites/config" + }, + { + "type": "object", + "properties": { + "kind": { + "type": "string", + "description": "Kind of resource." + }, + "name": { + "type": "string", + "enum": [ + "pushsettings" + ] + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/PushSettingsProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "PushSettings resource specific properties" + } + }, + "required": [ + "name", + "properties" + ], + "description": "Microsoft.Web/sites/config" + }, + { + "type": "object", + "properties": { + "kind": { + "type": "string", + "description": "Kind of resource." + }, + "name": { + "type": "string", + "enum": [ + "slotConfigNames" + ] + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/SlotConfigNames" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Names for connection strings, application settings, and external Azure storage account configuration\nidentifiers to be marked as sticky to the deployment slot and not moved during a swap operation.\nThis is valid for all deployment slots in an app." + } + }, + "required": [ + "name", + "properties" + ], + "description": "Microsoft.Web/sites/config" + }, + { + "type": "object", + "properties": { + "kind": { + "type": "string", + "description": "Kind of resource." + }, + "name": { + "type": "string", + "enum": [ + "web" + ] + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/SiteConfig" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Configuration of an App Service app." + } + }, + "required": [ + "name", + "properties" + ], + "description": "Microsoft.Web/sites/config" + } + ], + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-02-01" + ] + }, + "type": { + "type": "string", + "enum": [ + "config" + ] + } + }, + "required": [ + "apiVersion", + "type" + ], + "description": "Microsoft.Web/sites/config" + }, + "sites_deployments_childResource": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-02-01" + ] + }, + "kind": { + "type": "string", + "description": "Kind of resource." + }, + "name": { + "type": "string", + "description": "ID of an existing deployment." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/DeploymentProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Deployment resource specific properties" + }, + "type": { + "type": "string", + "enum": [ + "deployments" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.Web/sites/deployments" + }, + "sites_domainOwnershipIdentifiers_childResource": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-02-01" + ] + }, + "kind": { + "type": "string", + "description": "Kind of resource." + }, + "name": { + "type": "string", + "description": "Name of domain ownership identifier." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/IdentifierProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Identifier resource specific properties" + }, + "type": { + "type": "string", + "enum": [ + "domainOwnershipIdentifiers" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.Web/sites/domainOwnershipIdentifiers" + }, + "sites_extensions_childResource": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-02-01" + ] + }, + "kind": { + "type": "string", + "description": "Kind of resource." + }, + "name": { + "type": "string", + "enum": [ + "MSDeploy" + ] + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/MSDeployCore" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "MSDeploy ARM PUT core information" + }, + "type": { + "type": "string", + "enum": [ + "extensions" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.Web/sites/extensions" + }, + "sites_functions_childResource": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-02-01" + ] + }, + "kind": { + "type": "string", + "description": "Kind of resource." + }, + "name": { + "type": "string", + "description": "Function name." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/FunctionEnvelopeProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "FunctionEnvelope resource specific properties" + }, + "type": { + "type": "string", + "enum": [ + "functions" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.Web/sites/functions" + }, + "sites_functions_keys_childResource": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-02-01" + ] + }, + "name": { + "type": "string", + "description": "The name of the key." + }, + "type": { + "type": "string", + "enum": [ + "keys" + ] + }, + "value": { + "type": "string", + "description": "Key value" + } + }, + "required": [ + "apiVersion", + "name", + "type" + ], + "description": "Microsoft.Web/sites/functions/keys" + }, + "sites_hostNameBindings_childResource": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-02-01" + ] + }, + "kind": { + "type": "string", + "description": "Kind of resource." + }, + "name": { + "type": "string", + "description": "Hostname in the hostname binding." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/HostNameBindingProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "HostNameBinding resource specific properties" + }, + "type": { + "type": "string", + "enum": [ + "hostNameBindings" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.Web/sites/hostNameBindings" + }, + "sites_hybridconnection_childResource": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-02-01" + ] + }, + "kind": { + "type": "string", + "description": "Kind of resource." + }, + "name": { + "type": "string", + "description": "Name of the hybrid connection configuration." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/RelayServiceConnectionEntityProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "RelayServiceConnectionEntity resource specific properties" + }, + "type": { + "type": "string", + "enum": [ + "hybridconnection" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.Web/sites/hybridconnection" + }, + "sites_migrate_childResource": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-02-01" + ] + }, + "kind": { + "type": "string", + "description": "Kind of resource." + }, + "name": { + "type": "string", + "enum": [ + "migrate" + ] + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/StorageMigrationOptionsProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "StorageMigrationOptions resource specific properties" + }, + "type": { + "type": "string", + "enum": [ + "migrate" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.Web/sites/migrate" + }, + "sites_networkConfig_childResource": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-02-01" + ] + }, + "kind": { + "type": "string", + "description": "Kind of resource." + }, + "name": { + "type": "string", + "enum": [ + "virtualNetwork" + ] + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/SwiftVirtualNetworkProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "SwiftVirtualNetwork resource specific properties" + }, + "type": { + "type": "string", + "enum": [ + "networkConfig" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.Web/sites/networkConfig" + }, + "sites_premieraddons_childResource": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-02-01" + ] + }, + "kind": { + "type": "string", + "description": "Kind of resource." + }, + "location": { + "type": "string", + "description": "Resource Location." + }, + "name": { + "type": "string", + "description": "Add-on name." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/PremierAddOnProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "PremierAddOn resource specific 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": [ + "premieraddons" + ] + } + }, + "required": [ + "apiVersion", + "location", + "name", + "properties", + "type" + ], + "description": "Microsoft.Web/sites/premieraddons" + }, + "sites_privateAccess_childResource": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-02-01" + ] + }, + "kind": { + "type": "string", + "description": "Kind of resource." + }, + "name": { + "type": "string", + "enum": [ + "virtualNetworks" + ] + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/PrivateAccessProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "PrivateAccess resource specific properties" + }, + "type": { + "type": "string", + "enum": [ + "privateAccess" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.Web/sites/privateAccess" + }, + "sites_privateEndpointConnections_childResource": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-02-01" + ] + }, + "kind": { + "type": "string", + "description": "Kind of resource." + }, + "name": { + "type": "string", + "description": "Name of the private endpoint connection." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/PrivateLinkConnectionApprovalRequest" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "A request to approve or reject a private endpoint connection" + }, + "type": { + "type": "string", + "enum": [ + "privateEndpointConnections" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.Web/sites/privateEndpointConnections" + }, + "sites_publicCertificates_childResource": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-02-01" + ] + }, + "kind": { + "type": "string", + "description": "Kind of resource." + }, + "name": { + "type": "string", + "description": "Public certificate name." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/PublicCertificateProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "PublicCertificate resource specific properties" + }, + "type": { + "type": "string", + "enum": [ + "publicCertificates" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.Web/sites/publicCertificates" + }, + "sites_siteextensions_childResource": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-02-01" + ] + }, + "name": { + "type": "string", + "description": "Site extension name." + }, + "type": { + "type": "string", + "enum": [ + "siteextensions" + ] + } + }, + "required": [ + "apiVersion", + "name", + "type" + ], + "description": "Microsoft.Web/sites/siteextensions" + }, + "sites_slots_basicPublishingCredentialsPolicies_childResource": { + "type": "object", + "oneOf": [ + { + "type": "object", + "properties": { + "kind": { + "type": "string", + "description": "Kind of resource." + }, + "name": { + "type": "string", + "enum": [ + "ftp" + ] + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/CsmPublishingCredentialsPoliciesEntityProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "CsmPublishingCredentialsPoliciesEntity resource specific properties" + } + }, + "required": [ + "name", + "properties" + ], + "description": "Microsoft.Web/sites/slots/basicPublishingCredentialsPolicies" + }, + { + "type": "object", + "properties": { + "kind": { + "type": "string", + "description": "Kind of resource." + }, + "name": { + "type": "string", + "enum": [ + "scm" + ] + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/CsmPublishingCredentialsPoliciesEntityProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "CsmPublishingCredentialsPoliciesEntity resource specific properties" + } + }, + "required": [ + "name", + "properties" + ], + "description": "Microsoft.Web/sites/slots/basicPublishingCredentialsPolicies" + } + ], + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-02-01" + ] + }, + "type": { + "type": "string", + "enum": [ + "basicPublishingCredentialsPolicies" + ] + } + }, + "required": [ + "apiVersion", + "type" + ], + "description": "Microsoft.Web/sites/slots/basicPublishingCredentialsPolicies" + }, + "sites_slots_childResource": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-02-01" + ] + }, + "extendedLocation": { + "oneOf": [ + { + "$ref": "#/definitions/ExtendedLocation" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Extended Location." + }, + "identity": { + "oneOf": [ + { + "$ref": "#/definitions/ManagedServiceIdentity" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Managed service identity." + }, + "kind": { + "type": "string", + "description": "Kind of resource." + }, + "location": { + "type": "string", + "description": "Resource Location." + }, + "name": { + "type": "string", + "description": "Name of the deployment slot to create or update. By default, this API attempts to create or modify the production slot." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/SiteProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Site resource specific 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": [ + "slots" + ] + } + }, + "required": [ + "apiVersion", + "location", + "name", + "properties", + "type" + ], + "description": "Microsoft.Web/sites/slots" + }, + "sites_slots_config_childResource": { + "type": "object", + "oneOf": [ + { + "type": "object", + "properties": { + "kind": { + "type": "string", + "description": "Kind of resource." + }, + "name": { + "type": "string", + "enum": [ + "appsettings" + ] + }, + "properties": { + "oneOf": [ + { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "properties": {} + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Settings." + } + }, + "required": [ + "name", + "properties" + ], + "description": "Microsoft.Web/sites/slots/config" + }, + { + "type": "object", + "properties": { + "kind": { + "type": "string", + "description": "Kind of resource." + }, + "name": { + "type": "string", + "enum": [ + "authsettings" + ] + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/SiteAuthSettingsProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "SiteAuthSettings resource specific properties" + } + }, + "required": [ + "name", + "properties" + ], + "description": "Microsoft.Web/sites/slots/config" + }, + { + "type": "object", + "properties": { + "kind": { + "type": "string", + "description": "Kind of resource." + }, + "name": { + "type": "string", + "enum": [ + "authsettingsV2" + ] + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/SiteAuthSettingsV2Properties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "SiteAuthSettingsV2 resource specific properties" + } + }, + "required": [ + "name", + "properties" + ], + "description": "Microsoft.Web/sites/slots/config" + }, + { + "type": "object", + "properties": { + "kind": { + "type": "string", + "description": "Kind of resource." + }, + "name": { + "type": "string", + "enum": [ + "azurestorageaccounts" + ] + }, + "properties": { + "oneOf": [ + { + "type": "object", + "additionalProperties": { + "$ref": "#/definitions/AzureStorageInfoValue" + }, + "properties": {} + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Azure storage accounts." + } + }, + "required": [ + "name", + "properties" + ], + "description": "Microsoft.Web/sites/slots/config" + }, + { + "type": "object", + "properties": { + "kind": { + "type": "string", + "description": "Kind of resource." + }, + "name": { + "type": "string", + "enum": [ + "backup" + ] + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/BackupRequestProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "BackupRequest resource specific properties" + } + }, + "required": [ + "name", + "properties" + ], + "description": "Microsoft.Web/sites/slots/config" + }, + { + "type": "object", + "properties": { + "kind": { + "type": "string", + "description": "Kind of resource." + }, + "name": { + "type": "string", + "enum": [ + "connectionstrings" + ] + }, + "properties": { + "oneOf": [ + { + "type": "object", + "additionalProperties": { + "$ref": "#/definitions/ConnStringValueTypePair" + }, + "properties": {} + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Connection strings." + } + }, + "required": [ + "name", + "properties" + ], + "description": "Microsoft.Web/sites/slots/config" + }, + { + "type": "object", + "properties": { + "kind": { + "type": "string", + "description": "Kind of resource." + }, + "name": { + "type": "string", + "enum": [ + "logs" + ] + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/SiteLogsConfigProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "SiteLogsConfig resource specific properties" + } + }, + "required": [ + "name", + "properties" + ], + "description": "Microsoft.Web/sites/slots/config" + }, + { + "type": "object", + "properties": { + "kind": { + "type": "string", + "description": "Kind of resource." + }, + "name": { + "type": "string", + "enum": [ + "metadata" + ] + }, + "properties": { + "oneOf": [ + { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "properties": {} + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Settings." + } + }, + "required": [ + "name", + "properties" + ], + "description": "Microsoft.Web/sites/slots/config" + }, + { + "type": "object", + "properties": { + "kind": { + "type": "string", + "description": "Kind of resource." + }, + "name": { + "type": "string", + "enum": [ + "pushsettings" + ] + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/PushSettingsProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "PushSettings resource specific properties" + } + }, + "required": [ + "name", + "properties" + ], + "description": "Microsoft.Web/sites/slots/config" + }, + { + "type": "object", + "properties": { + "kind": { + "type": "string", + "description": "Kind of resource." + }, + "name": { + "type": "string", + "enum": [ + "web" + ] + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/SiteConfig" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Configuration of an App Service app." + } + }, + "required": [ + "name", + "properties" + ], + "description": "Microsoft.Web/sites/slots/config" + } + ], + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-02-01" + ] + }, + "type": { + "type": "string", + "enum": [ + "config" + ] + } + }, + "required": [ + "apiVersion", + "type" + ], + "description": "Microsoft.Web/sites/slots/config" + }, + "sites_slots_deployments_childResource": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-02-01" + ] + }, + "kind": { + "type": "string", + "description": "Kind of resource." + }, + "name": { + "type": "string", + "description": "ID of an existing deployment." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/DeploymentProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Deployment resource specific properties" + }, + "type": { + "type": "string", + "enum": [ + "deployments" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.Web/sites/slots/deployments" + }, + "sites_slots_domainOwnershipIdentifiers_childResource": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-02-01" + ] + }, + "kind": { + "type": "string", + "description": "Kind of resource." + }, + "name": { + "type": "string", + "description": "Name of domain ownership identifier." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/IdentifierProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Identifier resource specific properties" + }, + "type": { + "type": "string", + "enum": [ + "domainOwnershipIdentifiers" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.Web/sites/slots/domainOwnershipIdentifiers" + }, + "sites_slots_extensions_childResource": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-02-01" + ] + }, + "kind": { + "type": "string", + "description": "Kind of resource." + }, + "name": { + "type": "string", + "enum": [ + "MSDeploy" + ] + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/MSDeployCore" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "MSDeploy ARM PUT core information" + }, + "type": { + "type": "string", + "enum": [ + "extensions" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.Web/sites/slots/extensions" + }, + "sites_slots_functions_childResource": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-02-01" + ] + }, + "kind": { + "type": "string", + "description": "Kind of resource." + }, + "name": { + "type": "string", + "description": "Function name." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/FunctionEnvelopeProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "FunctionEnvelope resource specific properties" + }, + "type": { + "type": "string", + "enum": [ + "functions" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.Web/sites/slots/functions" + }, + "sites_slots_functions_keys_childResource": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-02-01" + ] + }, + "name": { + "type": "string", + "description": "The name of the key." + }, + "type": { + "type": "string", + "enum": [ + "keys" + ] + }, + "value": { + "type": "string", + "description": "Key value" + } + }, + "required": [ + "apiVersion", + "name", + "type" + ], + "description": "Microsoft.Web/sites/slots/functions/keys" + }, + "sites_slots_hostNameBindings_childResource": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-02-01" + ] + }, + "kind": { + "type": "string", + "description": "Kind of resource." + }, + "name": { + "type": "string", + "description": "Hostname in the hostname binding." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/HostNameBindingProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "HostNameBinding resource specific properties" + }, + "type": { + "type": "string", + "enum": [ + "hostNameBindings" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.Web/sites/slots/hostNameBindings" + }, + "sites_slots_hybridconnection_childResource": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-02-01" + ] + }, + "kind": { + "type": "string", + "description": "Kind of resource." + }, + "name": { + "type": "string", + "description": "Name of the hybrid connection configuration." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/RelayServiceConnectionEntityProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "RelayServiceConnectionEntity resource specific properties" + }, + "type": { + "type": "string", + "enum": [ + "hybridconnection" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.Web/sites/slots/hybridconnection" + }, + "sites_slots_networkConfig_childResource": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-02-01" + ] + }, + "kind": { + "type": "string", + "description": "Kind of resource." + }, + "name": { + "type": "string", + "enum": [ + "virtualNetwork" + ] + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/SwiftVirtualNetworkProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "SwiftVirtualNetwork resource specific properties" + }, + "type": { + "type": "string", + "enum": [ + "networkConfig" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.Web/sites/slots/networkConfig" + }, + "sites_slots_premieraddons_childResource": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-02-01" + ] + }, + "kind": { + "type": "string", + "description": "Kind of resource." + }, + "location": { + "type": "string", + "description": "Resource Location." + }, + "name": { + "type": "string", + "description": "Add-on name." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/PremierAddOnProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "PremierAddOn resource specific 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": [ + "premieraddons" + ] + } + }, + "required": [ + "apiVersion", + "location", + "name", + "properties", + "type" + ], + "description": "Microsoft.Web/sites/slots/premieraddons" + }, + "sites_slots_privateAccess_childResource": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-02-01" + ] + }, + "kind": { + "type": "string", + "description": "Kind of resource." + }, + "name": { + "type": "string", + "enum": [ + "virtualNetworks" + ] + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/PrivateAccessProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "PrivateAccess resource specific properties" + }, + "type": { + "type": "string", + "enum": [ + "privateAccess" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.Web/sites/slots/privateAccess" + }, + "sites_slots_privateEndpointConnections_childResource": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-02-01" + ] + }, + "kind": { + "type": "string", + "description": "Kind of resource." + }, + "name": { + "type": "string", + "description": "Name of the private endpoint connection." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/PrivateLinkConnectionApprovalRequest" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "A request to approve or reject a private endpoint connection" + }, + "type": { + "type": "string", + "enum": [ + "privateEndpointConnections" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.Web/sites/slots/privateEndpointConnections" + }, + "sites_slots_publicCertificates_childResource": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-02-01" + ] + }, + "kind": { + "type": "string", + "description": "Kind of resource." + }, + "name": { + "type": "string", + "description": "Public certificate name." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/PublicCertificateProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "PublicCertificate resource specific properties" + }, + "type": { + "type": "string", + "enum": [ + "publicCertificates" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.Web/sites/slots/publicCertificates" + }, + "sites_slots_siteextensions_childResource": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-02-01" + ] + }, + "name": { + "type": "string", + "description": "Site extension name." + }, + "type": { + "type": "string", + "enum": [ + "siteextensions" + ] + } + }, + "required": [ + "apiVersion", + "name", + "type" + ], + "description": "Microsoft.Web/sites/slots/siteextensions" + }, + "sites_slots_sourcecontrols_childResource": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-02-01" + ] + }, + "kind": { + "type": "string", + "description": "Kind of resource." + }, + "name": { + "type": "string", + "enum": [ + "web" + ] + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/SiteSourceControlProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "SiteSourceControl resource specific properties" + }, + "type": { + "type": "string", + "enum": [ + "sourcecontrols" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.Web/sites/slots/sourcecontrols" + }, + "sites_slots_virtualNetworkConnections_childResource": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-02-01" + ] + }, + "kind": { + "type": "string", + "description": "Kind of resource." + }, + "name": { + "type": "string", + "description": "Name of an existing Virtual Network." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/VnetInfo" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Virtual Network information contract." + }, + "type": { + "type": "string", + "enum": [ + "virtualNetworkConnections" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.Web/sites/slots/virtualNetworkConnections" + }, + "sites_slots_virtualNetworkConnections_gateways_childResource": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-02-01" + ] + }, + "kind": { + "type": "string", + "description": "Kind of resource." + }, + "name": { + "type": "string", + "description": "Name of the gateway. Currently, the only supported string is \"primary\"." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/VnetGatewayProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "VnetGateway resource specific properties" + }, + "type": { + "type": "string", + "enum": [ + "gateways" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.Web/sites/slots/virtualNetworkConnections/gateways" + }, + "sites_sourcecontrols_childResource": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-02-01" + ] + }, + "kind": { + "type": "string", + "description": "Kind of resource." + }, + "name": { + "type": "string", + "enum": [ + "web" + ] + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/SiteSourceControlProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "SiteSourceControl resource specific properties" + }, + "type": { + "type": "string", + "enum": [ + "sourcecontrols" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.Web/sites/sourcecontrols" + }, + "sites_virtualNetworkConnections_childResource": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-02-01" + ] + }, + "kind": { + "type": "string", + "description": "Kind of resource." + }, + "name": { + "type": "string", + "description": "Name of an existing Virtual Network." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/VnetInfo" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Virtual Network information contract." + }, + "type": { + "type": "string", + "enum": [ + "virtualNetworkConnections" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.Web/sites/virtualNetworkConnections" + }, + "sites_virtualNetworkConnections_gateways_childResource": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-02-01" + ] + }, + "kind": { + "type": "string", + "description": "Kind of resource." + }, + "name": { + "type": "string", + "description": "Name of the gateway. Currently, the only supported string is \"primary\"." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/VnetGatewayProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "VnetGateway resource specific properties" + }, + "type": { + "type": "string", + "enum": [ + "gateways" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.Web/sites/virtualNetworkConnections/gateways" + }, + "SkuCapacity": { + "type": "object", + "properties": { + "default": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Default number of workers for this App Service plan SKU." + }, + "elasticMaximum": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Maximum number of Elastic workers for this App Service plan SKU." + }, + "maximum": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Maximum number of workers for this App Service plan SKU." + }, + "minimum": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Minimum number of workers for this App Service plan SKU." + }, + "scaleType": { + "type": "string", + "description": "Available scale configurations for an App Service plan." + } + }, + "description": "Description of the App Service plan scale options." + }, + "SkuDescription": { + "type": "object", + "properties": { + "capabilities": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/Capability" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Capabilities of the SKU, e.g., is traffic manager enabled?" + }, + "capacity": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Current number of instances assigned to the resource." + }, + "family": { + "type": "string", + "description": "Family code of the resource SKU." + }, + "locations": { + "oneOf": [ + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Locations of the SKU." + }, + "name": { + "type": "string", + "description": "Name of the resource SKU." + }, + "size": { + "type": "string", + "description": "Size specifier of the resource SKU." + }, + "skuCapacity": { + "oneOf": [ + { + "$ref": "#/definitions/SkuCapacity" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Description of the App Service plan scale options." + }, + "tier": { + "type": "string", + "description": "Service tier of the resource SKU." + } + }, + "description": "Description of a SKU for a scalable resource." + }, + "SlotConfigNames": { + "type": "object", + "properties": { + "appSettingNames": { + "oneOf": [ + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "List of application settings names." + }, + "azureStorageConfigNames": { + "oneOf": [ + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "List of external Azure storage account identifiers." + }, + "connectionStringNames": { + "oneOf": [ + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "List of connection string names." + } + }, + "description": "Names for connection strings, application settings, and external Azure storage account configuration\nidentifiers to be marked as sticky to the deployment slot and not moved during a swap operation.\nThis is valid for all deployment slots in an app." + }, + "SlowRequestsBasedTrigger": { + "type": "object", + "properties": { + "count": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Request Count." + }, + "path": { + "type": "string", + "description": "Request Path." + }, + "timeInterval": { + "type": "string", + "description": "Time interval." + }, + "timeTaken": { + "type": "string", + "description": "Time taken." + } + }, + "description": "Trigger based on request execution time." + }, + "SourceControlProperties": { + "type": "object", + "properties": { + "expirationTime": { + "type": "string", + "format": "date-time", + "description": "OAuth token expiration." + }, + "refreshToken": { + "type": "string", + "description": "OAuth refresh token." + }, + "token": { + "type": "string", + "description": "OAuth access token." + }, + "tokenSecret": { + "type": "string", + "description": "OAuth access token secret." + } + }, + "description": "SourceControl resource specific properties" + }, + "StaticSite": { + "type": "object", + "properties": { + "allowConfigFileUpdates": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "false if config file is locked for this static web app; otherwise, true." + }, + "branch": { + "type": "string", + "description": "The target branch in the repository." + }, + "buildProperties": { + "oneOf": [ + { + "$ref": "#/definitions/StaticSiteBuildProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Build properties for the static site." + }, + "repositoryToken": { + "type": "string", + "description": "A user's github repository token. This is used to setup the Github Actions workflow file and API secrets." + }, + "repositoryUrl": { + "type": "string", + "description": "URL for the repository of the static site." + }, + "stagingEnvironmentPolicy": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Enabled", + "Disabled" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "State indicating whether staging environments are allowed or not allowed for a static web app." + }, + "templateProperties": { + "oneOf": [ + { + "$ref": "#/definitions/StaticSiteTemplateOptions" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Template Options for the static site." + } + }, + "description": "A static site." + }, + "StaticSiteBuildProperties": { + "type": "object", + "properties": { + "apiBuildCommand": { + "type": "string", + "description": "A custom command to run during deployment of the Azure Functions API application." + }, + "apiLocation": { + "type": "string", + "description": "The path to the api code within the repository." + }, + "appArtifactLocation": { + "type": "string", + "description": "Deprecated: The path of the app artifacts after building (deprecated in favor of OutputLocation)" + }, + "appBuildCommand": { + "type": "string", + "description": "A custom command to run during deployment of the static content application." + }, + "appLocation": { + "type": "string", + "description": "The path to the app code within the repository." + }, + "githubActionSecretNameOverride": { + "type": "string", + "description": "Github Action secret name override." + }, + "outputLocation": { + "type": "string", + "description": "The output path of the app after building." + }, + "skipGithubActionWorkflowGeneration": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Skip Github Action workflow generation." + } + }, + "description": "Build properties for the static site." + }, + "StaticSiteCustomDomainRequestPropertiesARMResourceProperties": { + "type": "object", + "properties": { + "validationMethod": { + "type": "string", + "default": "cname-delegation", + "description": "Validation method for adding a custom domain" + } + }, + "description": "StaticSiteCustomDomainRequestPropertiesARMResource resource specific properties" + }, + "staticSites_config_childResource": { + "type": "object", + "oneOf": [ + { + "type": "object", + "properties": { + "kind": { + "type": "string", + "description": "Kind of resource." + }, + "name": { + "type": "string", + "enum": [ + "appsettings" + ] + }, + "properties": { + "oneOf": [ + { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "properties": {} + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Settings." + } + }, + "required": [ + "name", + "properties" + ], + "description": "Microsoft.Web/staticSites/config" + }, + { + "type": "object", + "properties": { + "kind": { + "type": "string", + "description": "Kind of resource." + }, + "name": { + "type": "string", + "enum": [ + "functionappsettings" + ] + }, + "properties": { + "oneOf": [ + { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "properties": {} + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Settings." + } + }, + "required": [ + "name", + "properties" + ], + "description": "Microsoft.Web/staticSites/config" + } + ], + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-02-01" + ] + }, + "type": { + "type": "string", + "enum": [ + "config" + ] + } + }, + "required": [ + "apiVersion", + "type" + ], + "description": "Microsoft.Web/staticSites/config" + }, + "staticSites_customDomains_childResource": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-02-01" + ] + }, + "kind": { + "type": "string", + "description": "Kind of resource." + }, + "name": { + "type": "string", + "description": "The custom domain to create." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/StaticSiteCustomDomainRequestPropertiesARMResourceProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "StaticSiteCustomDomainRequestPropertiesARMResource resource specific properties" + }, + "type": { + "type": "string", + "enum": [ + "customDomains" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.Web/staticSites/customDomains" + }, + "staticSites_privateEndpointConnections_childResource": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-02-01" + ] + }, + "kind": { + "type": "string", + "description": "Kind of resource." + }, + "name": { + "type": "string", + "description": "Name of the private endpoint connection." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/PrivateLinkConnectionApprovalRequest" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "A request to approve or reject a private endpoint connection" + }, + "type": { + "type": "string", + "enum": [ + "privateEndpointConnections" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.Web/staticSites/privateEndpointConnections" + }, + "staticSites_userProvidedFunctionApps_childResource": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-02-01" + ] + }, + "kind": { + "type": "string", + "description": "Kind of resource." + }, + "name": { + "type": "string", + "description": "Name of the function app to register with the static site." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/StaticSiteUserProvidedFunctionAppARMResourceProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "StaticSiteUserProvidedFunctionAppARMResource resource specific properties" + }, + "type": { + "type": "string", + "enum": [ + "userProvidedFunctionApps" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.Web/staticSites/userProvidedFunctionApps" + }, + "StaticSiteTemplateOptions": { + "type": "object", + "properties": { + "description": { + "type": "string", + "description": "Description of the newly generated repository." + }, + "isPrivate": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Whether or not the newly generated repository is a private repository. Defaults to false (i.e. public)." + }, + "owner": { + "type": "string", + "description": "Owner of the newly generated repository." + }, + "repositoryName": { + "type": "string", + "description": "Name of the newly generated repository." + }, + "templateRepositoryUrl": { + "type": "string", + "description": "URL of the template repository. The newly generated repository will be based on this one." + } + }, + "description": "Template Options for the static site." + }, + "StaticSiteUserProvidedFunctionAppARMResourceProperties": { + "type": "object", + "properties": { + "functionAppRegion": { + "type": "string", + "description": "The region of the function app registered with the static site" + }, + "functionAppResourceId": { + "type": "string", + "description": "The resource id of the function app registered with the static site" + } + }, + "description": "StaticSiteUserProvidedFunctionAppARMResource resource specific properties" + }, + "StatusCodesBasedTrigger": { + "type": "object", + "properties": { + "count": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Request Count." + }, + "path": { + "type": "string", + "description": "Request Path" + }, + "status": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "HTTP status code." + }, + "subStatus": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Request Sub Status." + }, + "timeInterval": { + "type": "string", + "description": "Time interval." + }, + "win32Status": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Win32 error code." + } + }, + "description": "Trigger based on status code." + }, + "StatusCodesRangeBasedTrigger": { + "type": "object", + "properties": { + "count": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Request Count." + }, + "path": { + "type": "string" + }, + "statusCodes": { + "type": "string", + "description": "HTTP status code." + }, + "timeInterval": { + "type": "string", + "description": "Time interval." + } + }, + "description": "Trigger based on range of status codes." + }, + "StorageMigrationOptionsProperties": { + "type": "object", + "properties": { + "azurefilesConnectionString": { + "type": "string", + "description": "AzureFiles connection string." + }, + "azurefilesShare": { + "type": "string", + "description": "AzureFiles share." + }, + "blockWriteAccessToSite": { + "oneOf": [ + { + "type": "boolean", + "default": false + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "true if the app should be read only during copy operation; otherwise, false." + }, + "switchSiteAfterMigration": { + "oneOf": [ + { + "type": "boolean", + "default": false + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "trueif the app should be switched over; otherwise, false." + } + }, + "required": [ + "azurefilesConnectionString", + "azurefilesShare" + ], + "description": "StorageMigrationOptions resource specific properties" + }, + "SwiftVirtualNetworkProperties": { + "type": "object", + "properties": { + "subnetResourceId": { + "type": "string", + "description": "The Virtual Network subnet's resource ID. This is the subnet that this Web App will join. This subnet must have a delegation to Microsoft.Web/serverFarms defined first." + }, + "swiftSupported": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "A flag that specifies if the scale unit this Web App is on supports Swift integration." + } + }, + "description": "SwiftVirtualNetwork resource specific properties" + }, + "TokenStore": { + "type": "object", + "properties": { + "azureBlobStorage": { + "oneOf": [ + { + "$ref": "#/definitions/BlobStorageTokenStore" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The configuration settings of the storage of the tokens if blob storage is used." + }, + "enabled": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "true to durably store platform-specific security tokens that are obtained during login flows; otherwise, false.\n The default is false." + }, + "fileSystem": { + "oneOf": [ + { + "$ref": "#/definitions/FileSystemTokenStore" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The configuration settings of the storage of the tokens if a file system is used." + }, + "tokenRefreshExtensionHours": { + "oneOf": [ + { + "type": "number" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The number of hours after session token expiration that a session token can be used to\ncall the token refresh API. The default is 72 hours." + } + }, + "description": "The configuration settings of the token store." + }, + "Twitter": { + "type": "object", + "properties": { + "kind": { + "type": "string", + "description": "Kind of resource." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/TwitterProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Twitter resource specific properties" + } + }, + "description": "The configuration settings of the Twitter provider." + }, + "TwitterProperties": { + "type": "object", + "properties": { + "enabled": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "false if the Twitter provider should not be enabled despite the set registration; otherwise, true." + }, + "registration": { + "oneOf": [ + { + "$ref": "#/definitions/TwitterRegistration" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The configuration settings of the app registration for the Twitter provider." + } + }, + "description": "Twitter resource specific properties" + }, + "TwitterRegistration": { + "type": "object", + "properties": { + "consumerKey": { + "type": "string", + "description": "The OAuth 1.0a consumer key of the Twitter application used for sign-in.\nThis setting is required for enabling Twitter Sign-In.\nTwitter Sign-In documentation: https://dev.twitter.com/web/sign-in" + }, + "consumerSecretSettingName": { + "type": "string", + "description": "The app setting name that contains the OAuth 1.0a consumer secret of the Twitter\napplication used for sign-in." + } + }, + "description": "The configuration settings of the app registration for the Twitter provider." + }, + "UserAssignedIdentity": { + "type": "object", + "properties": {}, + "description": "User Assigned identity." + }, + "UserProperties": { + "type": "object", + "properties": { + "publishingPassword": { + "type": "string", + "format": "password", + "description": "Password used for publishing." + }, + "publishingPasswordHash": { + "type": "string", + "format": "password", + "description": "Password hash used for publishing." + }, + "publishingPasswordHashSalt": { + "type": "string", + "format": "password", + "description": "Password hash salt used for publishing." + }, + "publishingUserName": { + "type": "string", + "description": "Username used for publishing." + }, + "scmUri": { + "type": "string", + "description": "Url of SCM site." + } + }, + "required": [ + "publishingUserName" + ], + "description": "User resource specific properties" + }, + "VirtualApplication": { + "type": "object", + "properties": { + "physicalPath": { + "type": "string", + "description": "Physical path." + }, + "preloadEnabled": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "true if preloading is enabled; otherwise, false." + }, + "virtualDirectories": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/VirtualDirectory" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Virtual directories for virtual application." + }, + "virtualPath": { + "type": "string", + "description": "Virtual path." + } + }, + "description": "Virtual application in an app." + }, + "VirtualDirectory": { + "type": "object", + "properties": { + "physicalPath": { + "type": "string", + "description": "Physical path." + }, + "virtualPath": { + "type": "string", + "description": "Path to virtual application." + } + }, + "description": "Directory for virtual application." + }, + "VirtualNetworkProfile": { + "type": "object", + "properties": { + "id": { + "type": "string", + "description": "Resource id of the Virtual Network." + }, + "subnet": { + "type": "string", + "description": "Subnet within the Virtual Network." + } + }, + "required": [ + "id" + ], + "description": "Specification for using a Virtual Network." + }, + "VnetGatewayProperties": { + "type": "object", + "properties": { + "vnetName": { + "type": "string", + "description": "The Virtual Network name." + }, + "vpnPackageUri": { + "type": "string", + "description": "The URI where the VPN package can be downloaded." + } + }, + "required": [ + "vpnPackageUri" + ], + "description": "VnetGateway resource specific properties" + }, + "VnetInfo": { + "type": "object", + "properties": { + "certBlob": { + "type": "string", + "description": "A certificate file (.cer) blob containing the public key of the private key used to authenticate a \nPoint-To-Site VPN connection." + }, + "dnsServers": { + "type": "string", + "description": "DNS servers to be used by this Virtual Network. This should be a comma-separated list of IP addresses." + }, + "isSwift": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Flag that is used to denote if this is VNET injection" + }, + "vnetResourceId": { + "type": "string", + "description": "The Virtual Network's resource ID." + } + }, + "description": "Virtual Network information contract." + }, + "VnetRouteProperties": { + "type": "object", + "properties": { + "endAddress": { + "type": "string", + "description": "The ending address for this route. If the start address is specified in CIDR notation, this must be omitted." + }, + "routeType": { + "oneOf": [ + { + "type": "string", + "enum": [ + "DEFAULT", + "INHERITED", + "STATIC" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The type of route this is:\nDEFAULT - By default, every app has routes to the local address ranges specified by RFC1918\nINHERITED - Routes inherited from the real Virtual Network routes\nSTATIC - Static route set on the app only\n\nThese values will be used for syncing an app's routes with those from a Virtual Network." + }, + "startAddress": { + "type": "string", + "description": "The starting address for this route. This may also include a CIDR notation, in which case the end address must not be specified." + } + }, + "description": "VnetRoute resource specific properties" + }, + "WorkerPool": { + "type": "object", + "properties": { + "computeMode": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Shared", + "Dedicated", + "Dynamic" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Shared or dedicated app hosting." + }, + "workerCount": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Number of instances in the worker pool." + }, + "workerSize": { + "type": "string", + "description": "VM size of the worker pool instances." + }, + "workerSizeId": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Worker size ID for referencing this worker pool." + } + }, + "description": "Worker pool of an App Service Environment." + } + } +} \ No newline at end of file diff --git a/schemas/common/autogeneratedResources.json b/schemas/common/autogeneratedResources.json index 908be2673d..a84206d6a2 100644 --- a/schemas/common/autogeneratedResources.json +++ b/schemas/common/autogeneratedResources.json @@ -2566,6 +2566,12 @@ { "$ref": "https://schema.management.azure.com/schemas/2021-01-15/Microsoft.CertificateRegistration.json#/resourceDefinitions/certificateOrders_certificates" }, + { + "$ref": "https://schema.management.azure.com/schemas/2021-02-01/Microsoft.CertificateRegistration.json#/resourceDefinitions/certificateOrders" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2021-02-01/Microsoft.CertificateRegistration.json#/resourceDefinitions/certificateOrders_certificates" + }, { "$ref": "https://schema.management.azure.com/schemas/2016-02-01-preview/Microsoft.CognitiveServices.json#/resourceDefinitions/accounts" }, @@ -5722,6 +5728,12 @@ { "$ref": "https://schema.management.azure.com/schemas/2021-01-15/Microsoft.DomainRegistration.json#/resourceDefinitions/domains_domainOwnershipIdentifiers" }, + { + "$ref": "https://schema.management.azure.com/schemas/2021-02-01/Microsoft.DomainRegistration.json#/resourceDefinitions/domains" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2021-02-01/Microsoft.DomainRegistration.json#/resourceDefinitions/domains_domainOwnershipIdentifiers" + }, { "$ref": "https://schema.management.azure.com/schemas/2020-07-01/Microsoft.Elastic.json#/resourceDefinitions/monitors" }, @@ -12799,6 +12811,186 @@ { "$ref": "https://schema.management.azure.com/schemas/2021-01-15/Microsoft.Web.json#/resourceDefinitions/staticSites_userProvidedFunctionApps" }, + { + "$ref": "https://schema.management.azure.com/schemas/2021-02-01/Microsoft.Web.json#/resourceDefinitions/certificates" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2021-02-01/Microsoft.Web.json#/resourceDefinitions/hostingEnvironments" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2021-02-01/Microsoft.Web.json#/resourceDefinitions/hostingEnvironments_configurations" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2021-02-01/Microsoft.Web.json#/resourceDefinitions/hostingEnvironments_multiRolePools" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2021-02-01/Microsoft.Web.json#/resourceDefinitions/hostingEnvironments_privateEndpointConnections" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2021-02-01/Microsoft.Web.json#/resourceDefinitions/hostingEnvironments_workerPools" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2021-02-01/Microsoft.Web.json#/resourceDefinitions/kubeEnvironments" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2021-02-01/Microsoft.Web.json#/resourceDefinitions/serverfarms" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2021-02-01/Microsoft.Web.json#/resourceDefinitions/serverfarms_virtualNetworkConnections_gateways" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2021-02-01/Microsoft.Web.json#/resourceDefinitions/serverfarms_virtualNetworkConnections_routes" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2021-02-01/Microsoft.Web.json#/resourceDefinitions/sites" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2021-02-01/Microsoft.Web.json#/resourceDefinitions/sites_basicPublishingCredentialsPolicies" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2021-02-01/Microsoft.Web.json#/resourceDefinitions/sites_config" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2021-02-01/Microsoft.Web.json#/resourceDefinitions/sites_deployments" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2021-02-01/Microsoft.Web.json#/resourceDefinitions/sites_domainOwnershipIdentifiers" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2021-02-01/Microsoft.Web.json#/resourceDefinitions/sites_extensions" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2021-02-01/Microsoft.Web.json#/resourceDefinitions/sites_functions" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2021-02-01/Microsoft.Web.json#/resourceDefinitions/sites_functions_keys" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2021-02-01/Microsoft.Web.json#/resourceDefinitions/sites_hostNameBindings" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2021-02-01/Microsoft.Web.json#/resourceDefinitions/sites_hybridconnection" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2021-02-01/Microsoft.Web.json#/resourceDefinitions/sites_hybridConnectionNamespaces_relays" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2021-02-01/Microsoft.Web.json#/resourceDefinitions/sites_instances_extensions" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2021-02-01/Microsoft.Web.json#/resourceDefinitions/sites_migrate" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2021-02-01/Microsoft.Web.json#/resourceDefinitions/sites_networkConfig" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2021-02-01/Microsoft.Web.json#/resourceDefinitions/sites_premieraddons" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2021-02-01/Microsoft.Web.json#/resourceDefinitions/sites_privateAccess" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2021-02-01/Microsoft.Web.json#/resourceDefinitions/sites_privateEndpointConnections" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2021-02-01/Microsoft.Web.json#/resourceDefinitions/sites_publicCertificates" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2021-02-01/Microsoft.Web.json#/resourceDefinitions/sites_siteextensions" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2021-02-01/Microsoft.Web.json#/resourceDefinitions/sites_slots" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2021-02-01/Microsoft.Web.json#/resourceDefinitions/sites_slots_basicPublishingCredentialsPolicies" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2021-02-01/Microsoft.Web.json#/resourceDefinitions/sites_slots_config" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2021-02-01/Microsoft.Web.json#/resourceDefinitions/sites_slots_deployments" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2021-02-01/Microsoft.Web.json#/resourceDefinitions/sites_slots_domainOwnershipIdentifiers" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2021-02-01/Microsoft.Web.json#/resourceDefinitions/sites_slots_extensions" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2021-02-01/Microsoft.Web.json#/resourceDefinitions/sites_slots_functions" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2021-02-01/Microsoft.Web.json#/resourceDefinitions/sites_slots_functions_keys" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2021-02-01/Microsoft.Web.json#/resourceDefinitions/sites_slots_hostNameBindings" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2021-02-01/Microsoft.Web.json#/resourceDefinitions/sites_slots_hybridconnection" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2021-02-01/Microsoft.Web.json#/resourceDefinitions/sites_slots_hybridConnectionNamespaces_relays" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2021-02-01/Microsoft.Web.json#/resourceDefinitions/sites_slots_instances_extensions" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2021-02-01/Microsoft.Web.json#/resourceDefinitions/sites_slots_networkConfig" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2021-02-01/Microsoft.Web.json#/resourceDefinitions/sites_slots_premieraddons" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2021-02-01/Microsoft.Web.json#/resourceDefinitions/sites_slots_privateAccess" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2021-02-01/Microsoft.Web.json#/resourceDefinitions/sites_slots_privateEndpointConnections" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2021-02-01/Microsoft.Web.json#/resourceDefinitions/sites_slots_publicCertificates" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2021-02-01/Microsoft.Web.json#/resourceDefinitions/sites_slots_siteextensions" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2021-02-01/Microsoft.Web.json#/resourceDefinitions/sites_slots_sourcecontrols" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2021-02-01/Microsoft.Web.json#/resourceDefinitions/sites_slots_virtualNetworkConnections" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2021-02-01/Microsoft.Web.json#/resourceDefinitions/sites_slots_virtualNetworkConnections_gateways" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2021-02-01/Microsoft.Web.json#/resourceDefinitions/sites_sourcecontrols" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2021-02-01/Microsoft.Web.json#/resourceDefinitions/sites_virtualNetworkConnections" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2021-02-01/Microsoft.Web.json#/resourceDefinitions/sites_virtualNetworkConnections_gateways" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2021-02-01/Microsoft.Web.json#/resourceDefinitions/staticSites" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2021-02-01/Microsoft.Web.json#/resourceDefinitions/staticSites_builds_config" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2021-02-01/Microsoft.Web.json#/resourceDefinitions/staticSites_builds_userProvidedFunctionApps" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2021-02-01/Microsoft.Web.json#/resourceDefinitions/staticSites_config" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2021-02-01/Microsoft.Web.json#/resourceDefinitions/staticSites_customDomains" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2021-02-01/Microsoft.Web.json#/resourceDefinitions/staticSites_privateEndpointConnections" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2021-02-01/Microsoft.Web.json#/resourceDefinitions/staticSites_userProvidedFunctionApps" + }, { "$ref": "https://schema.management.azure.com/schemas/2019-09-16-preview/Microsoft.WindowsESU.json#/resourceDefinitions/multipleActivationKeys" }, From 47a1f3238f0c4d51cf9c29818cb67488778855bd Mon Sep 17 00:00:00 2001 From: SDKAuto Date: Thu, 12 Aug 2021 20:15:03 +0000 Subject: [PATCH 52/64] CodeGen from PR 15520 in Azure/azure-rest-api-specs Swagger correctness fixes (#15520) * Adding 2020-09-Preview same as 11-preview * fixing lint issue * fixing model * fixing model * fixing model * pretify fix * fixing linting * more linting fix * fixing swagger correctness * swagger correctness fixes * fixing errors --- schemas/2019-04-01/Microsoft.Capacity.json | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/schemas/2019-04-01/Microsoft.Capacity.json b/schemas/2019-04-01/Microsoft.Capacity.json index ebc7524c10..98afea5506 100644 --- a/schemas/2019-04-01/Microsoft.Capacity.json +++ b/schemas/2019-04-01/Microsoft.Capacity.json @@ -112,6 +112,20 @@ "type": "string", "description": "Friendly name of the Reservation" }, + "instanceFlexibility": { + "oneOf": [ + { + "type": "string", + "enum": [ + "On", + "Off" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ] + }, "quantity": { "oneOf": [ { From a46818f0eeb819c6e7d5682b55a1350e71a55cc5 Mon Sep 17 00:00:00 2001 From: SDKAuto Date: Thu, 12 Aug 2021 20:29:26 +0000 Subject: [PATCH 53/64] CodeGen from PR 15526 in Azure/azure-rest-api-specs Updated description for K8 and CloudEdgeManagementRole (#15526) Co-authored-by: Arzoo Jain --- schemas/2021-02-01/Microsoft.DataBoxEdge.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/schemas/2021-02-01/Microsoft.DataBoxEdge.json b/schemas/2021-02-01/Microsoft.DataBoxEdge.json index c5ab6a4836..e73e9e7277 100644 --- a/schemas/2021-02-01/Microsoft.DataBoxEdge.json +++ b/schemas/2021-02-01/Microsoft.DataBoxEdge.json @@ -1137,7 +1137,7 @@ "required": [ "kind" ], - "description": "CloudEdgeManagementRole role, Currently It's in Private Preview" + "description": "The preview of Virtual Machine Cloud Management from the Azure supports deploying and managing VMs on your Azure Stack Edge device from Azure Portal. \r\nFor more information, refer to: https://docs.microsoft.com/en-us/azure/databox-online/azure-stack-edge-gpu-virtual-machine-overview\r\nBy using this feature, you agree to the preview legal terms. See the https://azure.microsoft.com/en-us/support/legal/preview-supplemental-terms/ for additional details." }, "CloudEdgeManagementRoleProperties": { "type": "object", @@ -2389,7 +2389,7 @@ "required": [ "kind" ], - "description": "Kubernetes role, Currently it's in Private Preview" + "description": "The limited preview of Kubernetes Cluster Management from the Azure supports:\r\n1. Using a simple turn-key option in Azure Portal, deploy a Kubernetes cluster on your Azure Stack Edge device. \r\n2. Configure Kubernetes cluster running on your device with Arc enabled Kubernetes with a click of a button in the Azure Portal. \r\n Azure Arc enables organizations to view, manage, and govern their on-premises Kubernetes clusters using the Azure Portal, command line tools, and APIs.\r\n3. Easily configure Persistent Volumes using SMB and NFS shares for storing container data. \r\n For more information, refer to the document here: https://databoxupdatepackages.blob.core.windows.net/documentation/Microsoft-Azure-Stack-Edge-K8-Cloud-Management-20210323.pdf \r\n Or Demo: https://databoxupdatepackages.blob.core.windows.net/documentation/Microsoft-Azure-Stack-Edge-K8S-Cloud-Management-20210323.mp4\r\n By using this feature, you agree to the preview legal terms. See the https://azure.microsoft.com/en-us/support/legal/preview-supplemental-terms/" }, "KubernetesRoleCompute": { "type": "object", From 37ca360292b8e95711e6bf09f4b29698a61078ab Mon Sep 17 00:00:00 2001 From: SDKAuto Date: Fri, 13 Aug 2021 01:32:18 +0000 Subject: [PATCH 54/64] CodeGen from PR 15259 in Azure/azure-rest-api-specs Dev datamigration microsoft.data migration 2021 06 30 (#15259) * Created new api version and refactoring changes (such as fixing new build restrictions) * Adding breaking changes * Adding location to the services update example * Adding location for projects update and refactoring the task command * Resolving tasks command ModelValidation test failure * Resolving issue based on zhenglaizhang's recommendation * Adding comma to resolve issue Co-authored-by: Artem Pavlichenko --- .../2021-06-30/Microsoft.DataMigration.json | 4584 +++++++++++++++++ schemas/common/autogeneratedResources.json | 15 + 2 files changed, 4599 insertions(+) create mode 100644 schemas/2021-06-30/Microsoft.DataMigration.json diff --git a/schemas/2021-06-30/Microsoft.DataMigration.json b/schemas/2021-06-30/Microsoft.DataMigration.json new file mode 100644 index 0000000000..39c81f886c --- /dev/null +++ b/schemas/2021-06-30/Microsoft.DataMigration.json @@ -0,0 +1,4584 @@ +{ + "id": "https://schema.management.azure.com/schemas/2021-06-30/Microsoft.DataMigration.json#", + "$schema": "http://json-schema.org/draft-04/schema#", + "title": "Microsoft.DataMigration", + "description": "Microsoft DataMigration Resource Types", + "resourceDefinitions": { + "services": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-06-30" + ] + }, + "etag": { + "type": "string", + "description": "HTTP strong entity tag value. Ignored if submitted" + }, + "kind": { + "type": "string", + "description": "The resource kind. Only 'vm' (the default) is supported." + }, + "location": { + "type": "string", + "description": "Resource location." + }, + "name": { + "type": "string", + "description": "Name of the service" + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/DataMigrationServiceProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Properties of the Database Migration Service instance" + }, + "resources": { + "type": "array", + "items": { + "oneOf": [ + { + "$ref": "#/definitions/services_serviceTasks_childResource" + }, + { + "$ref": "#/definitions/services_projects_childResource" + } + ] + } + }, + "sku": { + "oneOf": [ + { + "$ref": "#/definitions/ServiceSku" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "An Azure SKU instance" + }, + "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.DataMigration/services" + ] + } + }, + "required": [ + "apiVersion", + "location", + "name", + "properties", + "type" + ], + "description": "Microsoft.DataMigration/services" + }, + "services_projects": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-06-30" + ] + }, + "location": { + "type": "string", + "description": "Resource location." + }, + "name": { + "type": "string", + "description": "Name of the project" + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/ProjectProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Project-specific properties" + }, + "resources": { + "type": "array", + "items": { + "oneOf": [ + { + "$ref": "#/definitions/services_projects_tasks_childResource" + }, + { + "$ref": "#/definitions/services_projects_files_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.DataMigration/services/projects" + ] + } + }, + "required": [ + "apiVersion", + "location", + "name", + "properties", + "type" + ], + "description": "Microsoft.DataMigration/services/projects" + }, + "services_projects_files": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-06-30" + ] + }, + "etag": { + "type": "string", + "description": "HTTP strong entity tag value. This is ignored if submitted." + }, + "name": { + "type": "string", + "description": "Name of the File" + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/ProjectFileProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Base class for file properties." + }, + "type": { + "type": "string", + "enum": [ + "Microsoft.DataMigration/services/projects/files" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.DataMigration/services/projects/files" + }, + "services_projects_tasks": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-06-30" + ] + }, + "etag": { + "type": "string", + "description": "HTTP strong entity tag value. This is ignored if submitted." + }, + "name": { + "type": "string", + "description": "Name of the Task" + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/ProjectTaskProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Base class for all types of DMS task properties. If task is not supported by current client, this object is returned." + }, + "type": { + "type": "string", + "enum": [ + "Microsoft.DataMigration/services/projects/tasks" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.DataMigration/services/projects/tasks" + }, + "services_serviceTasks": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-06-30" + ] + }, + "etag": { + "type": "string", + "description": "HTTP strong entity tag value. This is ignored if submitted." + }, + "name": { + "type": "string", + "description": "Name of the Task" + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/ProjectTaskProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Base class for all types of DMS task properties. If task is not supported by current client, this object is returned." + }, + "type": { + "type": "string", + "enum": [ + "Microsoft.DataMigration/services/serviceTasks" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.DataMigration/services/serviceTasks" + } + }, + "definitions": { + "AzureActiveDirectoryApp": { + "type": "object", + "properties": { + "appKey": { + "type": "string", + "description": "Key used to authenticate to the Azure Active Directory Application" + }, + "applicationId": { + "type": "string", + "description": "Application ID of the Azure Active Directory Application" + }, + "tenantId": { + "type": "string", + "description": "Tenant id of the customer" + } + }, + "required": [ + "appKey", + "applicationId", + "tenantId" + ], + "description": "Azure Active Directory Application" + }, + "BlobShare": { + "type": "object", + "properties": { + "sasUri": { + "type": "string", + "description": "SAS URI of Azure Storage Account Container." + } + }, + "required": [ + "sasUri" + ], + "description": "Blob container storage information." + }, + "CheckOCIDriverTaskInput": { + "type": "object", + "properties": { + "serverVersion": { + "type": "string", + "description": "Version of the source server to check against. Optional." + } + }, + "description": "Input for the service task to check for OCI drivers." + }, + "CheckOCIDriverTaskProperties": { + "type": "object", + "properties": { + "input": { + "oneOf": [ + { + "$ref": "#/definitions/CheckOCIDriverTaskInput" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Input for the service task to check for OCI drivers." + }, + "taskType": { + "type": "string", + "enum": [ + "Service.Check.OCI" + ] + } + }, + "required": [ + "taskType" + ], + "description": "Properties for the task that checks for OCI drivers." + }, + "ConnectionInfo": { + "type": "object", + "oneOf": [ + { + "$ref": "#/definitions/MongoDbConnectionInfo" + }, + { + "$ref": "#/definitions/SqlConnectionInfo" + }, + { + "$ref": "#/definitions/MySqlConnectionInfo" + }, + { + "$ref": "#/definitions/OracleConnectionInfo" + }, + { + "$ref": "#/definitions/PostgreSqlConnectionInfo" + }, + { + "$ref": "#/definitions/MiSqlConnectionInfo" + } + ], + "properties": { + "password": { + "type": "string", + "description": "Password credential." + }, + "userName": { + "type": "string", + "description": "User name" + } + }, + "description": "Defines the connection properties of a server" + }, + "ConnectToMongoDbTaskProperties": { + "type": "object", + "properties": { + "input": { + "oneOf": [ + { + "$ref": "#/definitions/MongoDbConnectionInfo" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Describes a connection to a MongoDB data source" + }, + "taskType": { + "type": "string", + "enum": [ + "Connect.MongoDb" + ] + } + }, + "required": [ + "taskType" + ], + "description": "Properties for the task that validates the connection to and provides information about a MongoDB server" + }, + "ConnectToSourceMySqlTaskInput": { + "type": "object", + "properties": { + "checkPermissionsGroup": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Default", + "MigrationFromSqlServerToAzureDB", + "MigrationFromSqlServerToAzureMI", + "MigrationFromMySQLToAzureDBForMySQL" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Permission group for validations." + }, + "isOfflineMigration": { + "oneOf": [ + { + "type": "boolean", + "default": false + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Flag for whether or not the migration is offline" + }, + "sourceConnectionInfo": { + "oneOf": [ + { + "$ref": "#/definitions/MySqlConnectionInfo" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Information for connecting to MySQL server" + }, + "targetPlatform": { + "oneOf": [ + { + "type": "string", + "enum": [ + "SqlServer", + "AzureDbForMySQL" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Target Platform for the migration." + } + }, + "required": [ + "sourceConnectionInfo" + ], + "description": "Input for the task that validates MySQL database connection" + }, + "ConnectToSourceMySqlTaskProperties": { + "type": "object", + "properties": { + "input": { + "oneOf": [ + { + "$ref": "#/definitions/ConnectToSourceMySqlTaskInput" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Input for the task that validates MySQL database connection" + }, + "taskType": { + "type": "string", + "enum": [ + "ConnectToSource.MySql" + ] + } + }, + "required": [ + "taskType" + ], + "description": "Properties for the task that validates MySQL database connection" + }, + "ConnectToSourceOracleSyncTaskInput": { + "type": "object", + "properties": { + "sourceConnectionInfo": { + "oneOf": [ + { + "$ref": "#/definitions/OracleConnectionInfo" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Information for connecting to Oracle server" + } + }, + "required": [ + "sourceConnectionInfo" + ], + "description": "Input for the task that validates Oracle database connection" + }, + "ConnectToSourceOracleSyncTaskProperties": { + "type": "object", + "properties": { + "input": { + "oneOf": [ + { + "$ref": "#/definitions/ConnectToSourceOracleSyncTaskInput" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Input for the task that validates Oracle database connection" + }, + "taskType": { + "type": "string", + "enum": [ + "ConnectToSource.Oracle.Sync" + ] + } + }, + "required": [ + "taskType" + ], + "description": "Properties for the task that validates Oracle database connection" + }, + "ConnectToSourcePostgreSqlSyncTaskInput": { + "type": "object", + "properties": { + "sourceConnectionInfo": { + "oneOf": [ + { + "$ref": "#/definitions/PostgreSqlConnectionInfo" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Information for connecting to PostgreSQL server" + } + }, + "required": [ + "sourceConnectionInfo" + ], + "description": "Input for the task that validates connection to PostgreSQL and source server requirements" + }, + "ConnectToSourcePostgreSqlSyncTaskProperties": { + "type": "object", + "properties": { + "input": { + "oneOf": [ + { + "$ref": "#/definitions/ConnectToSourcePostgreSqlSyncTaskInput" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Input for the task that validates connection to PostgreSQL and source server requirements" + }, + "taskType": { + "type": "string", + "enum": [ + "ConnectToSource.PostgreSql.Sync" + ] + } + }, + "required": [ + "taskType" + ], + "description": "Properties for the task that validates connection to PostgreSQL server and source server requirements for online migration" + }, + "ConnectToSourceSqlServerSyncTaskProperties": { + "type": "object", + "properties": { + "input": { + "oneOf": [ + { + "$ref": "#/definitions/ConnectToSourceSqlServerTaskInput" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Input for the task that validates connection to SQL Server and also validates source server requirements" + }, + "taskType": { + "type": "string", + "enum": [ + "ConnectToSource.SqlServer.Sync" + ] + } + }, + "required": [ + "taskType" + ], + "description": "Properties for the task that validates connection to SQL Server and source server requirements for online migration" + }, + "ConnectToSourceSqlServerTaskInput": { + "type": "object", + "properties": { + "checkPermissionsGroup": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Default", + "MigrationFromSqlServerToAzureDB", + "MigrationFromSqlServerToAzureMI", + "MigrationFromMySQLToAzureDBForMySQL" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Permission group for validations." + }, + "collectAgentJobs": { + "oneOf": [ + { + "type": "boolean", + "default": false + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Flag for whether to collect agent jobs from source server." + }, + "collectDatabases": { + "oneOf": [ + { + "type": "boolean", + "default": true + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Flag for whether to collect databases from source server." + }, + "collectLogins": { + "oneOf": [ + { + "type": "boolean", + "default": false + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Flag for whether to collect logins from source server." + }, + "collectTdeCertificateInfo": { + "oneOf": [ + { + "type": "boolean", + "default": false + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Flag for whether to collect TDE Certificate names from source server." + }, + "sourceConnectionInfo": { + "oneOf": [ + { + "$ref": "#/definitions/SqlConnectionInfo" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Information for connecting to SQL database server" + }, + "validateSsisCatalogOnly": { + "oneOf": [ + { + "type": "boolean", + "default": false + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Flag for whether to validate SSIS catalog is reachable on the source server." + } + }, + "required": [ + "sourceConnectionInfo" + ], + "description": "Input for the task that validates connection to SQL Server and also validates source server requirements" + }, + "ConnectToSourceSqlServerTaskProperties": { + "type": "object", + "properties": { + "input": { + "oneOf": [ + { + "$ref": "#/definitions/ConnectToSourceSqlServerTaskInput" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Input for the task that validates connection to SQL Server and also validates source server requirements" + }, + "taskType": { + "type": "string", + "enum": [ + "ConnectToSource.SqlServer" + ] + } + }, + "required": [ + "taskType" + ], + "description": "Properties for the task that validates connection to SQL Server and also validates source server requirements" + }, + "ConnectToTargetAzureDbForMySqlTaskInput": { + "type": "object", + "properties": { + "isOfflineMigration": { + "oneOf": [ + { + "type": "boolean", + "default": false + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Flag for whether or not the migration is offline" + }, + "sourceConnectionInfo": { + "oneOf": [ + { + "$ref": "#/definitions/MySqlConnectionInfo" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Information for connecting to MySQL server" + }, + "targetConnectionInfo": { + "oneOf": [ + { + "$ref": "#/definitions/MySqlConnectionInfo" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Information for connecting to MySQL server" + } + }, + "required": [ + "sourceConnectionInfo", + "targetConnectionInfo" + ], + "description": "Input for the task that validates connection to Azure Database for MySQL and target server requirements" + }, + "ConnectToTargetAzureDbForMySqlTaskProperties": { + "type": "object", + "properties": { + "input": { + "oneOf": [ + { + "$ref": "#/definitions/ConnectToTargetAzureDbForMySqlTaskInput" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Input for the task that validates connection to Azure Database for MySQL and target server requirements" + }, + "taskType": { + "type": "string", + "enum": [ + "ConnectToTarget.AzureDbForMySql" + ] + } + }, + "required": [ + "taskType" + ], + "description": "Properties for the task that validates connection to Azure Database for MySQL and target server requirements" + }, + "ConnectToTargetAzureDbForPostgreSqlSyncTaskInput": { + "type": "object", + "properties": { + "sourceConnectionInfo": { + "oneOf": [ + { + "$ref": "#/definitions/PostgreSqlConnectionInfo" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Information for connecting to PostgreSQL server" + }, + "targetConnectionInfo": { + "oneOf": [ + { + "$ref": "#/definitions/PostgreSqlConnectionInfo" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Information for connecting to PostgreSQL server" + } + }, + "required": [ + "sourceConnectionInfo", + "targetConnectionInfo" + ], + "description": "Input for the task that validates connection to Azure Database for PostgreSQL and target server requirements" + }, + "ConnectToTargetAzureDbForPostgreSqlSyncTaskProperties": { + "type": "object", + "properties": { + "input": { + "oneOf": [ + { + "$ref": "#/definitions/ConnectToTargetAzureDbForPostgreSqlSyncTaskInput" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Input for the task that validates connection to Azure Database for PostgreSQL and target server requirements" + }, + "taskType": { + "type": "string", + "enum": [ + "ConnectToTarget.AzureDbForPostgreSql.Sync" + ] + } + }, + "required": [ + "taskType" + ], + "description": "Properties for the task that validates connection to Azure Database For PostgreSQL server and target server requirements for online migration" + }, + "ConnectToTargetOracleAzureDbForPostgreSqlSyncTaskInput": { + "type": "object", + "properties": { + "targetConnectionInfo": { + "oneOf": [ + { + "$ref": "#/definitions/PostgreSqlConnectionInfo" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Information for connecting to PostgreSQL server" + } + }, + "required": [ + "targetConnectionInfo" + ], + "description": "Input for the task that validates connection to Azure Database for PostgreSQL and target server requirements for Oracle source." + }, + "ConnectToTargetOracleAzureDbForPostgreSqlSyncTaskProperties": { + "type": "object", + "properties": { + "input": { + "oneOf": [ + { + "$ref": "#/definitions/ConnectToTargetOracleAzureDbForPostgreSqlSyncTaskInput" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Input for the task that validates connection to Azure Database for PostgreSQL and target server requirements for Oracle source." + }, + "taskType": { + "type": "string", + "enum": [ + "ConnectToTarget.Oracle.AzureDbForPostgreSql.Sync" + ] + } + }, + "required": [ + "taskType" + ], + "description": "Properties for the task that validates connection to Azure Database For PostgreSQL server and target server requirements for online migration for Oracle source." + }, + "ConnectToTargetSqlDbTaskInput": { + "type": "object", + "properties": { + "targetConnectionInfo": { + "oneOf": [ + { + "$ref": "#/definitions/SqlConnectionInfo" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Information for connecting to SQL database server" + } + }, + "required": [ + "targetConnectionInfo" + ], + "description": "Input for the task that validates connection to SQL DB and target server requirements" + }, + "ConnectToTargetSqlDbTaskProperties": { + "type": "object", + "properties": { + "input": { + "oneOf": [ + { + "$ref": "#/definitions/ConnectToTargetSqlDbTaskInput" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Input for the task that validates connection to SQL DB and target server requirements" + }, + "taskType": { + "type": "string", + "enum": [ + "ConnectToTarget.SqlDb" + ] + } + }, + "required": [ + "taskType" + ], + "description": "Properties for the task that validates connection to SQL DB and target server requirements" + }, + "ConnectToTargetSqlMISyncTaskInput": { + "type": "object", + "properties": { + "azureApp": { + "oneOf": [ + { + "$ref": "#/definitions/AzureActiveDirectoryApp" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Azure Active Directory Application" + }, + "targetConnectionInfo": { + "oneOf": [ + { + "$ref": "#/definitions/MiSqlConnectionInfo" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Properties required to create a connection to Azure SQL database Managed instance" + } + }, + "required": [ + "azureApp", + "targetConnectionInfo" + ], + "description": "Input for the task that validates connection to Azure SQL Database Managed Instance online scenario." + }, + "ConnectToTargetSqlMISyncTaskProperties": { + "type": "object", + "properties": { + "input": { + "oneOf": [ + { + "$ref": "#/definitions/ConnectToTargetSqlMISyncTaskInput" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Input for the task that validates connection to Azure SQL Database Managed Instance online scenario." + }, + "taskType": { + "type": "string", + "enum": [ + "ConnectToTarget.AzureSqlDbMI.Sync.LRS" + ] + } + }, + "required": [ + "taskType" + ], + "description": "Properties for the task that validates connection to Azure SQL Database Managed Instance" + }, + "ConnectToTargetSqlMITaskInput": { + "type": "object", + "properties": { + "collectAgentJobs": { + "oneOf": [ + { + "type": "boolean", + "default": true + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Flag for whether to collect agent jobs from target SQL MI server." + }, + "collectLogins": { + "oneOf": [ + { + "type": "boolean", + "default": true + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Flag for whether to collect logins from target SQL MI server." + }, + "targetConnectionInfo": { + "oneOf": [ + { + "$ref": "#/definitions/SqlConnectionInfo" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Information for connecting to SQL database server" + }, + "validateSsisCatalogOnly": { + "oneOf": [ + { + "type": "boolean", + "default": false + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Flag for whether to validate SSIS catalog is reachable on the target SQL MI server." + } + }, + "required": [ + "targetConnectionInfo" + ], + "description": "Input for the task that validates connection to Azure SQL Database Managed Instance." + }, + "ConnectToTargetSqlMITaskProperties": { + "type": "object", + "properties": { + "input": { + "oneOf": [ + { + "$ref": "#/definitions/ConnectToTargetSqlMITaskInput" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Input for the task that validates connection to Azure SQL Database Managed Instance." + }, + "taskType": { + "type": "string", + "enum": [ + "ConnectToTarget.AzureSqlDbMI" + ] + } + }, + "required": [ + "taskType" + ], + "description": "Properties for the task that validates connection to Azure SQL Database Managed Instance" + }, + "ConnectToTargetSqlSqlDbSyncTaskInput": { + "type": "object", + "properties": { + "sourceConnectionInfo": { + "oneOf": [ + { + "$ref": "#/definitions/SqlConnectionInfo" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Information for connecting to SQL database server" + }, + "targetConnectionInfo": { + "oneOf": [ + { + "$ref": "#/definitions/SqlConnectionInfo" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Information for connecting to SQL database server" + } + }, + "required": [ + "sourceConnectionInfo", + "targetConnectionInfo" + ], + "description": "Input for the task that validates connection to Azure SQL DB and target server requirements" + }, + "ConnectToTargetSqlSqlDbSyncTaskProperties": { + "type": "object", + "properties": { + "input": { + "oneOf": [ + { + "$ref": "#/definitions/ConnectToTargetSqlSqlDbSyncTaskInput" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Input for the task that validates connection to Azure SQL DB and target server requirements" + }, + "taskType": { + "type": "string", + "enum": [ + "ConnectToTarget.SqlDb.Sync" + ] + } + }, + "required": [ + "taskType" + ], + "description": "Properties for the task that validates connection to SQL DB and target server requirements for online migration" + }, + "DatabaseInfo": { + "type": "object", + "properties": { + "sourceDatabaseName": { + "type": "string", + "description": "Name of the database" + } + }, + "required": [ + "sourceDatabaseName" + ], + "description": "Project Database Details" + }, + "DataMigrationServiceProperties": { + "type": "object", + "properties": { + "publicKey": { + "type": "string", + "description": "The public key of the service, used to encrypt secrets sent to the service" + }, + "virtualNicId": { + "type": "string", + "description": "The ID of the Microsoft.Network/networkInterfaces resource which the service have" + }, + "virtualSubnetId": { + "type": "string", + "description": "The ID of the Microsoft.Network/virtualNetworks/subnets resource to which the service should be joined" + } + }, + "required": [ + "virtualSubnetId" + ], + "description": "Properties of the Database Migration Service instance" + }, + "FileShare": { + "type": "object", + "properties": { + "password": { + "type": "string", + "description": "Password credential used to connect to the share location." + }, + "path": { + "type": "string", + "description": "The folder path for this share." + }, + "userName": { + "type": "string", + "description": "User name credential to connect to the share location" + } + }, + "required": [ + "path" + ], + "description": "File share information with Path, Username, and Password." + }, + "GetTdeCertificatesSqlTaskInput": { + "type": "object", + "properties": { + "backupFileShare": { + "oneOf": [ + { + "$ref": "#/definitions/FileShare" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "File share information with Path, Username, and Password." + }, + "connectionInfo": { + "oneOf": [ + { + "$ref": "#/definitions/SqlConnectionInfo" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Information for connecting to SQL database server" + }, + "selectedCertificates": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/SelectedCertificateInput" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "List containing certificate names and corresponding password to use for encrypting the exported certificate." + } + }, + "required": [ + "backupFileShare", + "connectionInfo", + "selectedCertificates" + ], + "description": "Input for the task that gets TDE certificates in Base64 encoded format." + }, + "GetTdeCertificatesSqlTaskProperties": { + "type": "object", + "properties": { + "input": { + "oneOf": [ + { + "$ref": "#/definitions/GetTdeCertificatesSqlTaskInput" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Input for the task that gets TDE certificates in Base64 encoded format." + }, + "taskType": { + "type": "string", + "enum": [ + "GetTDECertificates.Sql" + ] + } + }, + "required": [ + "taskType" + ], + "description": "Properties for the task that gets TDE certificates in Base64 encoded format." + }, + "GetUserTablesMySqlTaskInput": { + "type": "object", + "properties": { + "connectionInfo": { + "oneOf": [ + { + "$ref": "#/definitions/MySqlConnectionInfo" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Information for connecting to MySQL server" + }, + "selectedDatabases": { + "oneOf": [ + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "List of database names to collect tables for" + } + }, + "required": [ + "connectionInfo", + "selectedDatabases" + ], + "description": "Input for the task that collects user tables for the given list of databases" + }, + "GetUserTablesMySqlTaskProperties": { + "type": "object", + "properties": { + "input": { + "oneOf": [ + { + "$ref": "#/definitions/GetUserTablesMySqlTaskInput" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Input for the task that collects user tables for the given list of databases" + }, + "taskType": { + "type": "string", + "enum": [ + "GetUserTablesMySql" + ] + } + }, + "required": [ + "taskType" + ], + "description": "Properties for the task that collects user tables for the given list of databases" + }, + "GetUserTablesOracleTaskInput": { + "type": "object", + "properties": { + "connectionInfo": { + "oneOf": [ + { + "$ref": "#/definitions/OracleConnectionInfo" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Information for connecting to Oracle server" + }, + "selectedSchemas": { + "oneOf": [ + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "List of Oracle schemas for which to collect tables" + } + }, + "required": [ + "connectionInfo", + "selectedSchemas" + ], + "description": "Input for the task that gets the list of tables contained within a provided list of Oracle schemas." + }, + "GetUserTablesOracleTaskProperties": { + "type": "object", + "properties": { + "input": { + "oneOf": [ + { + "$ref": "#/definitions/GetUserTablesOracleTaskInput" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Input for the task that gets the list of tables contained within a provided list of Oracle schemas." + }, + "taskType": { + "type": "string", + "enum": [ + "GetUserTablesOracle" + ] + } + }, + "required": [ + "taskType" + ], + "description": "Properties for the task that collects user tables for the given list of Oracle schemas" + }, + "GetUserTablesPostgreSqlTaskInput": { + "type": "object", + "properties": { + "connectionInfo": { + "oneOf": [ + { + "$ref": "#/definitions/PostgreSqlConnectionInfo" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Information for connecting to PostgreSQL server" + }, + "selectedDatabases": { + "oneOf": [ + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "List of PostgreSQL databases for which to collect tables" + } + }, + "required": [ + "connectionInfo", + "selectedDatabases" + ], + "description": "Input for the task that gets the list of tables for a provided list of PostgreSQL databases." + }, + "GetUserTablesPostgreSqlTaskProperties": { + "type": "object", + "properties": { + "input": { + "oneOf": [ + { + "$ref": "#/definitions/GetUserTablesPostgreSqlTaskInput" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Input for the task that gets the list of tables for a provided list of PostgreSQL databases." + }, + "taskType": { + "type": "string", + "enum": [ + "GetUserTablesPostgreSql" + ] + } + }, + "required": [ + "taskType" + ], + "description": "Properties for the task that collects user tables for the given list of databases" + }, + "GetUserTablesSqlSyncTaskInput": { + "type": "object", + "properties": { + "selectedSourceDatabases": { + "oneOf": [ + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "List of source database names to collect tables for" + }, + "selectedTargetDatabases": { + "oneOf": [ + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "List of target database names to collect tables for" + }, + "sourceConnectionInfo": { + "oneOf": [ + { + "$ref": "#/definitions/SqlConnectionInfo" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Information for connecting to SQL database server" + }, + "targetConnectionInfo": { + "oneOf": [ + { + "$ref": "#/definitions/SqlConnectionInfo" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Information for connecting to SQL database server" + } + }, + "required": [ + "selectedSourceDatabases", + "selectedTargetDatabases", + "sourceConnectionInfo", + "targetConnectionInfo" + ], + "description": "Input for the task that collects user tables for the given list of databases" + }, + "GetUserTablesSqlSyncTaskProperties": { + "type": "object", + "properties": { + "input": { + "oneOf": [ + { + "$ref": "#/definitions/GetUserTablesSqlSyncTaskInput" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Input for the task that collects user tables for the given list of databases" + }, + "taskType": { + "type": "string", + "enum": [ + "GetUserTables.AzureSqlDb.Sync" + ] + } + }, + "required": [ + "taskType" + ], + "description": "Properties for the task that collects user tables for the given list of databases" + }, + "GetUserTablesSqlTaskInput": { + "type": "object", + "properties": { + "connectionInfo": { + "oneOf": [ + { + "$ref": "#/definitions/SqlConnectionInfo" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Information for connecting to SQL database server" + }, + "selectedDatabases": { + "oneOf": [ + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "List of database names to collect tables for" + } + }, + "required": [ + "connectionInfo", + "selectedDatabases" + ], + "description": "Input for the task that collects user tables for the given list of databases" + }, + "GetUserTablesSqlTaskProperties": { + "type": "object", + "properties": { + "input": { + "oneOf": [ + { + "$ref": "#/definitions/GetUserTablesSqlTaskInput" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Input for the task that collects user tables for the given list of databases" + }, + "taskType": { + "type": "string", + "enum": [ + "GetUserTables.Sql" + ] + } + }, + "required": [ + "taskType" + ], + "description": "Properties for the task that collects user tables for the given list of databases" + }, + "InstallOCIDriverTaskInput": { + "type": "object", + "properties": { + "driverPackageName": { + "type": "string", + "description": "Name of the uploaded driver package to install." + } + }, + "description": "Input for the service task to install an OCI driver." + }, + "InstallOCIDriverTaskProperties": { + "type": "object", + "properties": { + "input": { + "oneOf": [ + { + "$ref": "#/definitions/InstallOCIDriverTaskInput" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Input for the service task to install an OCI driver." + }, + "taskType": { + "type": "string", + "enum": [ + "Service.Install.OCI" + ] + } + }, + "required": [ + "taskType" + ], + "description": "Properties for the task that installs an OCI driver." + }, + "MigrateMongoDbTaskProperties": { + "type": "object", + "properties": { + "input": { + "oneOf": [ + { + "$ref": "#/definitions/MongoDbMigrationSettings" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Describes how a MongoDB data migration should be performed" + }, + "taskType": { + "type": "string", + "enum": [ + "Migrate.MongoDb" + ] + } + }, + "required": [ + "taskType" + ], + "description": "Properties for the task that migrates data between MongoDB data sources" + }, + "MigrateMySqlAzureDbForMySqlOfflineDatabaseInput": { + "type": "object", + "properties": { + "name": { + "type": "string", + "description": "Name of the database" + }, + "tableMap": { + "oneOf": [ + { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "properties": {} + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Mapping of source to target tables" + }, + "targetDatabaseName": { + "type": "string", + "description": "Name of target database. Note: Target database will be truncated before starting migration." + } + }, + "description": "Database specific information for offline MySQL to Azure Database for MySQL migration task inputs" + }, + "MigrateMySqlAzureDbForMySqlOfflineTaskInput": { + "type": "object", + "properties": { + "makeSourceServerReadOnly": { + "oneOf": [ + { + "type": "boolean", + "default": false + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Setting to set the source server read only" + }, + "optionalAgentSettings": { + "oneOf": [ + { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "properties": {} + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Optional parameters for fine tuning the data transfer rate during migration" + }, + "selectedDatabases": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/MigrateMySqlAzureDbForMySqlOfflineDatabaseInput" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Databases to migrate" + }, + "sourceConnectionInfo": { + "oneOf": [ + { + "$ref": "#/definitions/MySqlConnectionInfo" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Information for connecting to MySQL server" + }, + "startedOn": { + "type": "string", + "format": "date-time", + "description": "Parameter to specify when the migration started" + }, + "targetConnectionInfo": { + "oneOf": [ + { + "$ref": "#/definitions/MySqlConnectionInfo" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Information for connecting to MySQL server" + } + }, + "required": [ + "selectedDatabases", + "sourceConnectionInfo", + "targetConnectionInfo" + ], + "description": "Input for the task that migrates MySQL databases to Azure Database for MySQL for offline migrations" + }, + "MigrateMySqlAzureDbForMySqlOfflineTaskProperties": { + "type": "object", + "properties": { + "input": { + "oneOf": [ + { + "$ref": "#/definitions/MigrateMySqlAzureDbForMySqlOfflineTaskInput" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Input for the task that migrates MySQL databases to Azure Database for MySQL for offline migrations" + }, + "taskType": { + "type": "string", + "enum": [ + "Migrate.MySql.AzureDbForMySql" + ] + } + }, + "required": [ + "taskType" + ], + "description": "Properties for the task that migrates MySQL databases to Azure Database for MySQL for offline migrations" + }, + "MigrateMySqlAzureDbForMySqlSyncDatabaseInput": { + "type": "object", + "properties": { + "migrationSetting": { + "oneOf": [ + { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "properties": {} + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Migration settings which tune the migration behavior" + }, + "name": { + "type": "string", + "description": "Name of the database" + }, + "sourceSetting": { + "oneOf": [ + { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "properties": {} + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Source settings to tune source endpoint migration behavior" + }, + "tableMap": { + "oneOf": [ + { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "properties": {} + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Mapping of source to target tables" + }, + "targetDatabaseName": { + "type": "string", + "description": "Name of target database. Note: Target database will be truncated before starting migration." + }, + "targetSetting": { + "oneOf": [ + { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "properties": {} + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Target settings to tune target endpoint migration behavior" + } + }, + "description": "Database specific information for MySQL to Azure Database for MySQL migration task inputs" + }, + "MigrateMySqlAzureDbForMySqlSyncTaskInput": { + "type": "object", + "properties": { + "selectedDatabases": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/MigrateMySqlAzureDbForMySqlSyncDatabaseInput" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Databases to migrate" + }, + "sourceConnectionInfo": { + "oneOf": [ + { + "$ref": "#/definitions/MySqlConnectionInfo" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Information for connecting to MySQL server" + }, + "targetConnectionInfo": { + "oneOf": [ + { + "$ref": "#/definitions/MySqlConnectionInfo" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Information for connecting to MySQL server" + } + }, + "required": [ + "selectedDatabases", + "sourceConnectionInfo", + "targetConnectionInfo" + ], + "description": "Input for the task that migrates MySQL databases to Azure Database for MySQL for online migrations" + }, + "MigrateMySqlAzureDbForMySqlSyncTaskProperties": { + "type": "object", + "properties": { + "input": { + "oneOf": [ + { + "$ref": "#/definitions/MigrateMySqlAzureDbForMySqlSyncTaskInput" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Input for the task that migrates MySQL databases to Azure Database for MySQL for online migrations" + }, + "taskType": { + "type": "string", + "enum": [ + "Migrate.MySql.AzureDbForMySql.Sync" + ] + } + }, + "required": [ + "taskType" + ], + "description": "Properties for the task that migrates MySQL databases to Azure Database for MySQL for online migrations" + }, + "MigrateOracleAzureDbForPostgreSqlSyncTaskProperties": { + "type": "object", + "properties": { + "input": { + "oneOf": [ + { + "$ref": "#/definitions/MigrateOracleAzureDbPostgreSqlSyncTaskInput" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Input for the task that migrates Oracle databases to Azure Database for PostgreSQL for online migrations" + }, + "taskType": { + "type": "string", + "enum": [ + "Migrate.Oracle.AzureDbForPostgreSql.Sync" + ] + } + }, + "required": [ + "taskType" + ], + "description": "Properties for the task that migrates Oracle to Azure Database for PostgreSQL for online migrations" + }, + "MigrateOracleAzureDbPostgreSqlSyncDatabaseInput": { + "type": "object", + "properties": { + "caseManipulation": { + "type": "string", + "description": "How to handle object name casing: either Preserve or ToLower" + }, + "migrationSetting": { + "oneOf": [ + { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "properties": {} + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Migration settings which tune the migration behavior" + }, + "name": { + "type": "string", + "description": "Name of the migration pipeline" + }, + "schemaName": { + "type": "string", + "description": "Name of the source schema" + }, + "sourceSetting": { + "oneOf": [ + { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "properties": {} + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Source settings to tune source endpoint migration behavior" + }, + "tableMap": { + "oneOf": [ + { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "properties": {} + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Mapping of source to target tables" + }, + "targetDatabaseName": { + "type": "string", + "description": "Name of target database. Note: Target database will be truncated before starting migration." + }, + "targetSetting": { + "oneOf": [ + { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "properties": {} + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Target settings to tune target endpoint migration behavior" + } + }, + "description": "Database specific information for Oracle to Azure Database for PostgreSQL migration task inputs" + }, + "MigrateOracleAzureDbPostgreSqlSyncTaskInput": { + "type": "object", + "properties": { + "selectedDatabases": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/MigrateOracleAzureDbPostgreSqlSyncDatabaseInput" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Databases to migrate" + }, + "sourceConnectionInfo": { + "oneOf": [ + { + "$ref": "#/definitions/OracleConnectionInfo" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Information for connecting to Oracle server" + }, + "targetConnectionInfo": { + "oneOf": [ + { + "$ref": "#/definitions/PostgreSqlConnectionInfo" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Information for connecting to PostgreSQL server" + } + }, + "required": [ + "selectedDatabases", + "sourceConnectionInfo", + "targetConnectionInfo" + ], + "description": "Input for the task that migrates Oracle databases to Azure Database for PostgreSQL for online migrations" + }, + "MigratePostgreSqlAzureDbForPostgreSqlSyncDatabaseInput": { + "type": "object", + "properties": { + "migrationSetting": { + "oneOf": [ + { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "properties": {} + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Migration settings which tune the migration behavior" + }, + "name": { + "type": "string", + "description": "Name of the database" + }, + "selectedTables": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/MigratePostgreSqlAzureDbForPostgreSqlSyncDatabaseTableInput" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Tables selected for migration" + }, + "sourceSetting": { + "oneOf": [ + { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "properties": {} + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Source settings to tune source endpoint migration behavior" + }, + "targetDatabaseName": { + "type": "string", + "description": "Name of target database. Note: Target database will be truncated before starting migration." + }, + "targetSetting": { + "oneOf": [ + { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "properties": {} + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Target settings to tune target endpoint migration behavior" + } + }, + "description": "Database specific information for PostgreSQL to Azure Database for PostgreSQL migration task inputs" + }, + "MigratePostgreSqlAzureDbForPostgreSqlSyncDatabaseTableInput": { + "type": "object", + "properties": { + "name": { + "type": "string", + "description": "Name of the table to migrate" + } + }, + "description": "Selected tables for the migration" + }, + "MigratePostgreSqlAzureDbForPostgreSqlSyncTaskInput": { + "type": "object", + "properties": { + "selectedDatabases": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/MigratePostgreSqlAzureDbForPostgreSqlSyncDatabaseInput" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Databases to migrate" + }, + "sourceConnectionInfo": { + "oneOf": [ + { + "$ref": "#/definitions/PostgreSqlConnectionInfo" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Information for connecting to PostgreSQL server" + }, + "targetConnectionInfo": { + "oneOf": [ + { + "$ref": "#/definitions/PostgreSqlConnectionInfo" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Information for connecting to PostgreSQL server" + } + }, + "required": [ + "selectedDatabases", + "sourceConnectionInfo", + "targetConnectionInfo" + ], + "description": "Input for the task that migrates PostgreSQL databases to Azure Database for PostgreSQL for online migrations" + }, + "MigratePostgreSqlAzureDbForPostgreSqlSyncTaskProperties": { + "type": "object", + "properties": { + "input": { + "oneOf": [ + { + "$ref": "#/definitions/MigratePostgreSqlAzureDbForPostgreSqlSyncTaskInput" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Input for the task that migrates PostgreSQL databases to Azure Database for PostgreSQL for online migrations" + }, + "taskType": { + "type": "string", + "enum": [ + "Migrate.PostgreSql.AzureDbForPostgreSql.SyncV2" + ] + } + }, + "required": [ + "taskType" + ], + "description": "Properties for the task that migrates PostgreSQL databases to Azure Database for PostgreSQL for online migrations" + }, + "MigrateSchemaSqlServerSqlDbDatabaseInput": { + "type": "object", + "properties": { + "name": { + "type": "string", + "description": "Name of source database" + }, + "schemaSetting": { + "oneOf": [ + { + "$ref": "#/definitions/SchemaMigrationSetting" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Settings for migrating schema from source to target" + }, + "targetDatabaseName": { + "type": "string", + "description": "Name of target database" + } + }, + "description": "Database input for migrate schema Sql Server to Azure SQL Server scenario" + }, + "MigrateSchemaSqlServerSqlDbTaskInput": { + "type": "object", + "properties": { + "selectedDatabases": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/MigrateSchemaSqlServerSqlDbDatabaseInput" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Databases to migrate" + }, + "sourceConnectionInfo": { + "oneOf": [ + { + "$ref": "#/definitions/SqlConnectionInfo" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Information for connecting to SQL database server" + }, + "targetConnectionInfo": { + "oneOf": [ + { + "$ref": "#/definitions/SqlConnectionInfo" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Information for connecting to SQL database server" + } + }, + "required": [ + "selectedDatabases", + "sourceConnectionInfo", + "targetConnectionInfo" + ], + "description": "Input for task that migrates Schema for SQL Server databases to Azure SQL databases" + }, + "MigrateSchemaSqlServerSqlDbTaskProperties": { + "type": "object", + "properties": { + "input": { + "oneOf": [ + { + "$ref": "#/definitions/MigrateSchemaSqlServerSqlDbTaskInput" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Input for task that migrates Schema for SQL Server databases to Azure SQL databases" + }, + "taskType": { + "type": "string", + "enum": [ + "MigrateSchemaSqlServerSqlDb" + ] + } + }, + "required": [ + "taskType" + ], + "description": "Properties for task that migrates Schema for SQL Server databases to Azure SQL databases" + }, + "MigrateSqlServerSqlDbDatabaseInput": { + "type": "object", + "properties": { + "makeSourceDbReadOnly": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Whether to set database read only before migration" + }, + "name": { + "type": "string", + "description": "Name of the database" + }, + "tableMap": { + "oneOf": [ + { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "properties": {} + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Mapping of source to target tables" + }, + "targetDatabaseName": { + "type": "string", + "description": "Name of target database. Note: Target database will be truncated before starting migration." + } + }, + "description": "Database specific information for SQL to Azure SQL DB migration task inputs" + }, + "MigrateSqlServerSqlDbSyncDatabaseInput": { + "type": "object", + "properties": { + "id": { + "type": "string", + "description": "Unique identifier for database" + }, + "migrationSetting": { + "oneOf": [ + { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "properties": {} + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Migration settings which tune the migration behavior" + }, + "name": { + "type": "string", + "description": "Name of database" + }, + "schemaName": { + "type": "string", + "description": "Schema name to be migrated" + }, + "sourceSetting": { + "oneOf": [ + { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "properties": {} + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Source settings to tune source endpoint migration behavior" + }, + "tableMap": { + "oneOf": [ + { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "properties": {} + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Mapping of source to target tables" + }, + "targetDatabaseName": { + "type": "string", + "description": "Target database name" + }, + "targetSetting": { + "oneOf": [ + { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "properties": {} + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Target settings to tune target endpoint migration behavior" + } + }, + "description": "Database specific information for SQL to Azure SQL DB sync migration task inputs" + }, + "MigrateSqlServerSqlDbSyncTaskInput": { + "type": "object", + "properties": { + "selectedDatabases": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/MigrateSqlServerSqlDbSyncDatabaseInput" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Databases to migrate" + }, + "sourceConnectionInfo": { + "oneOf": [ + { + "$ref": "#/definitions/SqlConnectionInfo" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Information for connecting to SQL database server" + }, + "targetConnectionInfo": { + "oneOf": [ + { + "$ref": "#/definitions/SqlConnectionInfo" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Information for connecting to SQL database server" + }, + "validationOptions": { + "oneOf": [ + { + "$ref": "#/definitions/MigrationValidationOptions" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Types of validations to run after the migration" + } + }, + "required": [ + "selectedDatabases", + "sourceConnectionInfo", + "targetConnectionInfo" + ], + "description": "Input for the task that migrates on-prem SQL Server databases to Azure SQL Database for online migrations" + }, + "MigrateSqlServerSqlDbSyncTaskProperties": { + "type": "object", + "properties": { + "input": { + "oneOf": [ + { + "$ref": "#/definitions/MigrateSqlServerSqlDbSyncTaskInput" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Input for the task that migrates on-prem SQL Server databases to Azure SQL Database for online migrations" + }, + "taskType": { + "type": "string", + "enum": [ + "Migrate.SqlServer.AzureSqlDb.Sync" + ] + } + }, + "required": [ + "taskType" + ], + "description": "Properties for the task that migrates on-prem SQL Server databases to Azure SQL Database for online migrations" + }, + "MigrateSqlServerSqlDbTaskInput": { + "type": "object", + "properties": { + "selectedDatabases": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/MigrateSqlServerSqlDbDatabaseInput" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Databases to migrate" + }, + "sourceConnectionInfo": { + "oneOf": [ + { + "$ref": "#/definitions/SqlConnectionInfo" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Information for connecting to SQL database server" + }, + "targetConnectionInfo": { + "oneOf": [ + { + "$ref": "#/definitions/SqlConnectionInfo" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Information for connecting to SQL database server" + }, + "validationOptions": { + "oneOf": [ + { + "$ref": "#/definitions/MigrationValidationOptions" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Types of validations to run after the migration" + } + }, + "required": [ + "selectedDatabases", + "sourceConnectionInfo", + "targetConnectionInfo" + ], + "description": "Input for the task that migrates on-prem SQL Server databases to Azure SQL Database" + }, + "MigrateSqlServerSqlDbTaskProperties": { + "type": "object", + "properties": { + "input": { + "oneOf": [ + { + "$ref": "#/definitions/MigrateSqlServerSqlDbTaskInput" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Input for the task that migrates on-prem SQL Server databases to Azure SQL Database" + }, + "taskType": { + "type": "string", + "enum": [ + "Migrate.SqlServer.SqlDb" + ] + } + }, + "required": [ + "taskType" + ], + "description": "Properties for the task that migrates on-prem SQL Server databases to Azure SQL Database" + }, + "MigrateSqlServerSqlMIDatabaseInput": { + "type": "object", + "properties": { + "backupFilePaths": { + "oneOf": [ + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The list of backup files to be used in case of existing backups." + }, + "backupFileShare": { + "oneOf": [ + { + "$ref": "#/definitions/FileShare" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "File share information with Path, Username, and Password." + }, + "name": { + "type": "string", + "description": "Name of the database" + }, + "restoreDatabaseName": { + "type": "string", + "description": "Name of the database at destination" + } + }, + "required": [ + "name", + "restoreDatabaseName" + ], + "description": "Database specific information for SQL to Azure SQL DB Managed Instance migration task inputs" + }, + "MigrateSqlServerSqlMISyncTaskInput": { + "type": "object", + "properties": { + "azureApp": { + "oneOf": [ + { + "$ref": "#/definitions/AzureActiveDirectoryApp" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Azure Active Directory Application" + }, + "backupFileShare": { + "oneOf": [ + { + "$ref": "#/definitions/FileShare" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "File share information with Path, Username, and Password." + }, + "selectedDatabases": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/MigrateSqlServerSqlMIDatabaseInput" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Databases to migrate" + }, + "sourceConnectionInfo": { + "oneOf": [ + { + "$ref": "#/definitions/SqlConnectionInfo" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Information for connecting to SQL database server" + }, + "storageResourceId": { + "type": "string", + "description": "Fully qualified resourceId of storage" + }, + "targetConnectionInfo": { + "oneOf": [ + { + "$ref": "#/definitions/MiSqlConnectionInfo" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Properties required to create a connection to Azure SQL database Managed instance" + } + }, + "required": [ + "azureApp", + "selectedDatabases", + "sourceConnectionInfo", + "storageResourceId", + "targetConnectionInfo" + ], + "description": "Input for task that migrates SQL Server databases to Azure SQL Database Managed Instance online scenario." + }, + "MigrateSqlServerSqlMISyncTaskProperties": { + "type": "object", + "properties": { + "input": { + "oneOf": [ + { + "$ref": "#/definitions/MigrateSqlServerSqlMISyncTaskInput" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Input for task that migrates SQL Server databases to Azure SQL Database Managed Instance online scenario." + }, + "taskType": { + "type": "string", + "enum": [ + "Migrate.SqlServer.AzureSqlDbMI.Sync.LRS" + ] + } + }, + "required": [ + "taskType" + ], + "description": "Properties for task that migrates SQL Server databases to Azure SQL Database Managed Instance sync scenario" + }, + "MigrateSqlServerSqlMITaskInput": { + "type": "object", + "properties": { + "aadDomainName": { + "type": "string", + "description": "Azure Active Directory domain name in the format of 'contoso.com' for federated Azure AD or 'contoso.onmicrosoft.com' for managed domain, required if and only if Windows logins are selected" + }, + "backupBlobShare": { + "oneOf": [ + { + "$ref": "#/definitions/BlobShare" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Blob container storage information." + }, + "backupFileShare": { + "oneOf": [ + { + "$ref": "#/definitions/FileShare" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "File share information with Path, Username, and Password." + }, + "backupMode": { + "oneOf": [ + { + "type": "string", + "enum": [ + "CreateBackup", + "ExistingBackup" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Backup Mode to specify whether to use existing backup or create new backup. If using existing backups, backup file paths are required to be provided in selectedDatabases." + }, + "selectedAgentJobs": { + "oneOf": [ + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Agent Jobs to migrate." + }, + "selectedDatabases": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/MigrateSqlServerSqlMIDatabaseInput" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Databases to migrate" + }, + "selectedLogins": { + "oneOf": [ + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Logins to migrate." + }, + "sourceConnectionInfo": { + "oneOf": [ + { + "$ref": "#/definitions/SqlConnectionInfo" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Information for connecting to SQL database server" + }, + "targetConnectionInfo": { + "oneOf": [ + { + "$ref": "#/definitions/SqlConnectionInfo" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Information for connecting to SQL database server" + } + }, + "required": [ + "backupBlobShare", + "selectedDatabases", + "sourceConnectionInfo", + "targetConnectionInfo" + ], + "description": "Input for task that migrates SQL Server databases to Azure SQL Database Managed Instance." + }, + "MigrateSqlServerSqlMITaskProperties": { + "type": "object", + "properties": { + "input": { + "oneOf": [ + { + "$ref": "#/definitions/MigrateSqlServerSqlMITaskInput" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Input for task that migrates SQL Server databases to Azure SQL Database Managed Instance." + }, + "taskType": { + "type": "string", + "enum": [ + "Migrate.SqlServer.AzureSqlDbMI" + ] + } + }, + "required": [ + "taskType" + ], + "description": "Properties for task that migrates SQL Server databases to Azure SQL Database Managed Instance" + }, + "MigrateSsisTaskInput": { + "type": "object", + "properties": { + "sourceConnectionInfo": { + "oneOf": [ + { + "$ref": "#/definitions/SqlConnectionInfo" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Information for connecting to SQL database server" + }, + "ssisMigrationInfo": { + "oneOf": [ + { + "$ref": "#/definitions/SsisMigrationInfo" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "SSIS migration info with SSIS store type, overwrite policy." + }, + "targetConnectionInfo": { + "oneOf": [ + { + "$ref": "#/definitions/SqlConnectionInfo" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Information for connecting to SQL database server" + } + }, + "required": [ + "sourceConnectionInfo", + "ssisMigrationInfo", + "targetConnectionInfo" + ], + "description": "Input for task that migrates SSIS packages from SQL Server to Azure SQL Database Managed Instance." + }, + "MigrateSsisTaskProperties": { + "type": "object", + "properties": { + "input": { + "oneOf": [ + { + "$ref": "#/definitions/MigrateSsisTaskInput" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Input for task that migrates SSIS packages from SQL Server to Azure SQL Database Managed Instance." + }, + "taskType": { + "type": "string", + "enum": [ + "Migrate.Ssis" + ] + } + }, + "required": [ + "taskType" + ], + "description": "Properties for task that migrates SSIS packages from SQL Server databases to Azure SQL Database Managed Instance." + }, + "MigrationValidationOptions": { + "type": "object", + "properties": { + "enableDataIntegrityValidation": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Allows to perform a checksum based data integrity validation between source and target for the selected database / tables ." + }, + "enableQueryAnalysisValidation": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Allows to perform a quick and intelligent query analysis by retrieving queries from the source database and executes them in the target. The result will have execution statistics for executions in source and target databases for the extracted queries." + }, + "enableSchemaValidation": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Allows to compare the schema information between source and target." + } + }, + "description": "Types of validations to run after the migration" + }, + "MiSqlConnectionInfo": { + "type": "object", + "properties": { + "managedInstanceResourceId": { + "type": "string", + "description": "Resource id for Azure SQL database Managed instance" + }, + "password": { + "type": "string", + "description": "Password credential." + }, + "type": { + "type": "string", + "enum": [ + "MiSqlConnectionInfo" + ] + }, + "userName": { + "type": "string", + "description": "User name" + } + }, + "required": [ + "managedInstanceResourceId", + "type" + ], + "description": "Properties required to create a connection to Azure SQL database Managed instance" + }, + "MongoDbCollectionSettings": { + "type": "object", + "properties": { + "canDelete": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Whether the migrator is allowed to drop the target collection in the course of performing a migration. The default is true." + }, + "shardKey": { + "oneOf": [ + { + "$ref": "#/definitions/MongoDbShardKeySetting" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Describes a MongoDB shard key" + }, + "targetRUs": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The RUs that should be configured on a CosmosDB target, or null to use the default. This has no effect on non-CosmosDB targets." + } + }, + "description": "Describes how an individual MongoDB collection should be migrated" + }, + "MongoDbConnectionInfo": { + "type": "object", + "properties": { + "connectionString": { + "type": "string", + "description": "A MongoDB connection string or blob container URL. The user name and password can be specified here or in the userName and password properties" + }, + "password": { + "type": "string", + "description": "Password credential." + }, + "type": { + "type": "string", + "enum": [ + "MongoDbConnectionInfo" + ] + }, + "userName": { + "type": "string", + "description": "User name" + } + }, + "required": [ + "connectionString", + "type" + ], + "description": "Describes a connection to a MongoDB data source" + }, + "MongoDbDatabaseSettings": { + "type": "object", + "properties": { + "collections": { + "oneOf": [ + { + "type": "object", + "additionalProperties": { + "$ref": "#/definitions/MongoDbCollectionSettings" + }, + "properties": {} + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The collections on the source database to migrate to the target. The keys are the unqualified names of the collections." + }, + "targetRUs": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The RUs that should be configured on a CosmosDB target, or null to use the default, or 0 if throughput should not be provisioned for the database. This has no effect on non-CosmosDB targets." + } + }, + "required": [ + "collections" + ], + "description": "Describes how an individual MongoDB database should be migrated" + }, + "MongoDbMigrationSettings": { + "type": "object", + "properties": { + "boostRUs": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The RU limit on a CosmosDB target that collections will be temporarily increased to (if lower) during the initial copy of a migration, from 10,000 to 1,000,000, or 0 to use the default boost (which is generally the maximum), or null to not boost the RUs. This setting has no effect on non-CosmosDB targets." + }, + "databases": { + "oneOf": [ + { + "type": "object", + "additionalProperties": { + "$ref": "#/definitions/MongoDbDatabaseSettings" + }, + "properties": {} + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The databases on the source cluster to migrate to the target. The keys are the names of the databases." + }, + "replication": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Disabled", + "OneTime", + "Continuous" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Describes how changes will be replicated from the source to the target. The default is OneTime." + }, + "source": { + "oneOf": [ + { + "$ref": "#/definitions/MongoDbConnectionInfo" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Describes a connection to a MongoDB data source" + }, + "target": { + "oneOf": [ + { + "$ref": "#/definitions/MongoDbConnectionInfo" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Describes a connection to a MongoDB data source" + }, + "throttling": { + "oneOf": [ + { + "$ref": "#/definitions/MongoDbThrottlingSettings" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Specifies resource limits for the migration" + } + }, + "required": [ + "databases", + "source", + "target" + ], + "description": "Describes how a MongoDB data migration should be performed" + }, + "MongoDbShardKeyField": { + "type": "object", + "properties": { + "name": { + "type": "string", + "description": "The name of the field" + }, + "order": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Forward", + "Reverse", + "Hashed" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The field ordering." + } + }, + "required": [ + "name", + "order" + ], + "description": "Describes a field reference within a MongoDB shard key" + }, + "MongoDbShardKeySetting": { + "type": "object", + "properties": { + "fields": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/MongoDbShardKeyField" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The fields within the shard key" + }, + "isUnique": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Whether the shard key is unique" + } + }, + "required": [ + "fields", + "isUnique" + ], + "description": "Describes a MongoDB shard key" + }, + "MongoDbThrottlingSettings": { + "type": "object", + "properties": { + "maxParallelism": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The maximum number of work items (e.g. collection copies) that will be processed in parallel" + }, + "minFreeCpu": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The percentage of CPU time that the migrator will try to avoid using, from 0 to 100" + }, + "minFreeMemoryMb": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The number of megabytes of RAM that the migrator will try to avoid using" + } + }, + "description": "Specifies resource limits for the migration" + }, + "MySqlConnectionInfo": { + "type": "object", + "properties": { + "encryptConnection": { + "oneOf": [ + { + "type": "boolean", + "default": true + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Whether to encrypt the connection" + }, + "password": { + "type": "string", + "description": "Password credential." + }, + "port": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Port for Server" + }, + "serverName": { + "type": "string", + "description": "Name of the server" + }, + "type": { + "type": "string", + "enum": [ + "MySqlConnectionInfo" + ] + }, + "userName": { + "type": "string", + "description": "User name" + } + }, + "required": [ + "port", + "serverName", + "type" + ], + "description": "Information for connecting to MySQL server" + }, + "OracleConnectionInfo": { + "type": "object", + "properties": { + "dataSource": { + "type": "string", + "description": "EZConnect or TNSName connection string." + }, + "password": { + "type": "string", + "description": "Password credential." + }, + "type": { + "type": "string", + "enum": [ + "OracleConnectionInfo" + ] + }, + "userName": { + "type": "string", + "description": "User name" + } + }, + "required": [ + "dataSource", + "type" + ], + "description": "Information for connecting to Oracle server" + }, + "PostgreSqlConnectionInfo": { + "type": "object", + "properties": { + "databaseName": { + "type": "string", + "description": "Name of the database" + }, + "encryptConnection": { + "oneOf": [ + { + "type": "boolean", + "default": true + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Whether to encrypt the connection" + }, + "password": { + "type": "string", + "description": "Password credential." + }, + "port": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Port for Server" + }, + "serverName": { + "type": "string", + "description": "Name of the server" + }, + "trustServerCertificate": { + "oneOf": [ + { + "type": "boolean", + "default": false + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Whether to trust the server certificate" + }, + "type": { + "type": "string", + "enum": [ + "PostgreSqlConnectionInfo" + ] + }, + "userName": { + "type": "string", + "description": "User name" + } + }, + "required": [ + "port", + "serverName", + "type" + ], + "description": "Information for connecting to PostgreSQL server" + }, + "ProjectFileProperties": { + "type": "object", + "properties": { + "extension": { + "type": "string", + "description": "Optional File extension. If submitted it should not have a leading period and must match the extension from filePath." + }, + "filePath": { + "type": "string", + "description": "Relative path of this file resource. This property can be set when creating or updating the file resource." + }, + "mediaType": { + "type": "string", + "description": "File content type. This property can be modified to reflect the file content type." + } + }, + "description": "Base class for file properties." + }, + "ProjectProperties": { + "type": "object", + "properties": { + "databasesInfo": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/DatabaseInfo" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "List of DatabaseInfo" + }, + "sourceConnectionInfo": { + "oneOf": [ + { + "$ref": "#/definitions/ConnectionInfo" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Defines the connection properties of a server" + }, + "sourcePlatform": { + "oneOf": [ + { + "type": "string", + "enum": [ + "SQL", + "MySQL", + "PostgreSql", + "MongoDb", + "Unknown" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Source platform for the project." + }, + "targetConnectionInfo": { + "oneOf": [ + { + "$ref": "#/definitions/ConnectionInfo" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Defines the connection properties of a server" + }, + "targetPlatform": { + "oneOf": [ + { + "type": "string", + "enum": [ + "SQLDB", + "SQLMI", + "AzureDbForMySql", + "AzureDbForPostgreSql", + "MongoDb", + "Unknown" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Target platform for the project." + } + }, + "required": [ + "sourcePlatform", + "targetPlatform" + ], + "description": "Project-specific properties" + }, + "ProjectTaskProperties": { + "type": "object", + "oneOf": [ + { + "$ref": "#/definitions/MigrateSchemaSqlServerSqlDbTaskProperties" + }, + { + "$ref": "#/definitions/CheckOCIDriverTaskProperties" + }, + { + "$ref": "#/definitions/UploadOCIDriverTaskProperties" + }, + { + "$ref": "#/definitions/InstallOCIDriverTaskProperties" + }, + { + "$ref": "#/definitions/ConnectToMongoDbTaskProperties" + }, + { + "$ref": "#/definitions/ConnectToSourceSqlServerTaskProperties" + }, + { + "$ref": "#/definitions/ConnectToSourceSqlServerSyncTaskProperties" + }, + { + "$ref": "#/definitions/ConnectToSourcePostgreSqlSyncTaskProperties" + }, + { + "$ref": "#/definitions/ConnectToSourceMySqlTaskProperties" + }, + { + "$ref": "#/definitions/ConnectToSourceOracleSyncTaskProperties" + }, + { + "$ref": "#/definitions/ConnectToTargetSqlDbTaskProperties" + }, + { + "$ref": "#/definitions/ConnectToTargetSqlSqlDbSyncTaskProperties" + }, + { + "$ref": "#/definitions/ConnectToTargetAzureDbForPostgreSqlSyncTaskProperties" + }, + { + "$ref": "#/definitions/ConnectToTargetOracleAzureDbForPostgreSqlSyncTaskProperties" + }, + { + "$ref": "#/definitions/GetUserTablesSqlTaskProperties" + }, + { + "$ref": "#/definitions/GetUserTablesSqlSyncTaskProperties" + }, + { + "$ref": "#/definitions/GetUserTablesOracleTaskProperties" + }, + { + "$ref": "#/definitions/GetUserTablesPostgreSqlTaskProperties" + }, + { + "$ref": "#/definitions/GetUserTablesMySqlTaskProperties" + }, + { + "$ref": "#/definitions/ConnectToTargetSqlMITaskProperties" + }, + { + "$ref": "#/definitions/ConnectToTargetSqlMISyncTaskProperties" + }, + { + "$ref": "#/definitions/ConnectToTargetAzureDbForMySqlTaskProperties" + }, + { + "$ref": "#/definitions/MigrateMongoDbTaskProperties" + }, + { + "$ref": "#/definitions/MigrateSqlServerSqlMITaskProperties" + }, + { + "$ref": "#/definitions/MigrateSqlServerSqlMISyncTaskProperties" + }, + { + "$ref": "#/definitions/MigrateSqlServerSqlDbTaskProperties" + }, + { + "$ref": "#/definitions/MigrateSqlServerSqlDbSyncTaskProperties" + }, + { + "$ref": "#/definitions/MigrateMySqlAzureDbForMySqlSyncTaskProperties" + }, + { + "$ref": "#/definitions/MigrateMySqlAzureDbForMySqlOfflineTaskProperties" + }, + { + "$ref": "#/definitions/MigratePostgreSqlAzureDbForPostgreSqlSyncTaskProperties" + }, + { + "$ref": "#/definitions/MigrateOracleAzureDbForPostgreSqlSyncTaskProperties" + }, + { + "$ref": "#/definitions/ValidateMigrationInputSqlServerSqlDbSyncTaskProperties" + }, + { + "$ref": "#/definitions/ValidateMigrationInputSqlServerSqlMITaskProperties" + }, + { + "$ref": "#/definitions/ValidateMigrationInputSqlServerSqlMISyncTaskProperties" + }, + { + "$ref": "#/definitions/ValidateMongoDbTaskProperties" + }, + { + "$ref": "#/definitions/ValidateOracleAzureDbForPostgreSqlSyncTaskProperties" + }, + { + "$ref": "#/definitions/GetTdeCertificatesSqlTaskProperties" + }, + { + "$ref": "#/definitions/MigrateSsisTaskProperties" + } + ], + "properties": { + "clientData": { + "oneOf": [ + { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "properties": {} + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Key value pairs of client data to attach meta data information to task" + } + }, + "description": "Base class for all types of DMS task properties. If task is not supported by current client, this object is returned." + }, + "SchemaMigrationSetting": { + "type": "object", + "properties": { + "fileId": { + "type": "string", + "description": "Resource Identifier of a file resource containing the uploaded schema file" + }, + "schemaOption": { + "oneOf": [ + { + "type": "string", + "enum": [ + "None", + "ExtractFromSource", + "UseStorageFile" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Option on how to migrate the schema." + } + }, + "description": "Settings for migrating schema from source to target" + }, + "SelectedCertificateInput": { + "type": "object", + "properties": { + "certificateName": { + "type": "string", + "description": "Name of certificate to be exported." + }, + "password": { + "type": "string", + "description": "Password to use for encrypting the exported certificate." + } + }, + "required": [ + "certificateName", + "password" + ], + "description": "Info for certificate to be exported for TDE enabled databases." + }, + "ServiceSku": { + "type": "object", + "properties": { + "capacity": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The capacity of the SKU, if it supports scaling" + }, + "family": { + "type": "string", + "description": "The SKU family, used when the service has multiple performance classes within a tier, such as 'A', 'D', etc. for virtual machines" + }, + "name": { + "type": "string", + "description": "The unique name of the SKU, such as 'P3'" + }, + "size": { + "type": "string", + "description": "The size of the SKU, used when the name alone does not denote a service size or when a SKU has multiple performance classes within a family, e.g. 'A1' for virtual machines" + }, + "tier": { + "type": "string", + "description": "The tier of the SKU, such as 'Basic', 'General Purpose', or 'Business Critical'" + } + }, + "description": "An Azure SKU instance" + }, + "services_projects_childResource": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-06-30" + ] + }, + "location": { + "type": "string", + "description": "Resource location." + }, + "name": { + "type": "string", + "description": "Name of the project" + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/ProjectProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Project-specific 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": [ + "projects" + ] + } + }, + "required": [ + "apiVersion", + "location", + "name", + "properties", + "type" + ], + "description": "Microsoft.DataMigration/services/projects" + }, + "services_projects_files_childResource": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-06-30" + ] + }, + "etag": { + "type": "string", + "description": "HTTP strong entity tag value. This is ignored if submitted." + }, + "name": { + "type": "string", + "description": "Name of the File" + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/ProjectFileProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Base class for file properties." + }, + "type": { + "type": "string", + "enum": [ + "files" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.DataMigration/services/projects/files" + }, + "services_projects_tasks_childResource": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-06-30" + ] + }, + "etag": { + "type": "string", + "description": "HTTP strong entity tag value. This is ignored if submitted." + }, + "name": { + "type": "string", + "description": "Name of the Task" + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/ProjectTaskProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Base class for all types of DMS task properties. If task is not supported by current client, this object is returned." + }, + "type": { + "type": "string", + "enum": [ + "tasks" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.DataMigration/services/projects/tasks" + }, + "services_serviceTasks_childResource": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-06-30" + ] + }, + "etag": { + "type": "string", + "description": "HTTP strong entity tag value. This is ignored if submitted." + }, + "name": { + "type": "string", + "description": "Name of the Task" + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/ProjectTaskProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Base class for all types of DMS task properties. If task is not supported by current client, this object is returned." + }, + "type": { + "type": "string", + "enum": [ + "serviceTasks" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.DataMigration/services/serviceTasks" + }, + "SqlConnectionInfo": { + "type": "object", + "properties": { + "additionalSettings": { + "type": "string", + "description": "Additional connection settings" + }, + "authentication": { + "oneOf": [ + { + "type": "string", + "enum": [ + "None", + "WindowsAuthentication", + "SqlAuthentication", + "ActiveDirectoryIntegrated", + "ActiveDirectoryPassword" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Authentication type to use for connection." + }, + "dataSource": { + "type": "string", + "description": "Data source in the format Protocol:MachineName\\SQLServerInstanceName,PortNumber" + }, + "encryptConnection": { + "oneOf": [ + { + "type": "boolean", + "default": true + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Whether to encrypt the connection" + }, + "password": { + "type": "string", + "description": "Password credential." + }, + "platform": { + "oneOf": [ + { + "type": "string", + "enum": [ + "SqlOnPrem" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Server platform type for connection." + }, + "trustServerCertificate": { + "oneOf": [ + { + "type": "boolean", + "default": false + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Whether to trust the server certificate" + }, + "type": { + "type": "string", + "enum": [ + "SqlConnectionInfo" + ] + }, + "userName": { + "type": "string", + "description": "User name" + } + }, + "required": [ + "dataSource", + "type" + ], + "description": "Information for connecting to SQL database server" + }, + "SsisMigrationInfo": { + "type": "object", + "properties": { + "environmentOverwriteOption": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Ignore", + "Overwrite" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The overwrite option for the SSIS environment migration." + }, + "projectOverwriteOption": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Ignore", + "Overwrite" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The overwrite option for the SSIS project migration." + }, + "ssisStoreType": { + "oneOf": [ + { + "type": "string", + "enum": [ + "SsisCatalog" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The SSIS store type of source, only SSIS catalog is supported now in DMS." + } + }, + "description": "SSIS migration info with SSIS store type, overwrite policy." + }, + "UploadOCIDriverTaskInput": { + "type": "object", + "properties": { + "driverShare": { + "oneOf": [ + { + "$ref": "#/definitions/FileShare" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "File share information with Path, Username, and Password." + } + }, + "description": "Input for the service task to upload an OCI driver." + }, + "UploadOCIDriverTaskProperties": { + "type": "object", + "properties": { + "input": { + "oneOf": [ + { + "$ref": "#/definitions/UploadOCIDriverTaskInput" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Input for the service task to upload an OCI driver." + }, + "taskType": { + "type": "string", + "enum": [ + "Service.Upload.OCI" + ] + } + }, + "required": [ + "taskType" + ], + "description": "Properties for the task that uploads an OCI driver." + }, + "ValidateMigrationInputSqlServerSqlDbSyncTaskProperties": { + "type": "object", + "properties": { + "input": { + "oneOf": [ + { + "$ref": "#/definitions/ValidateSyncMigrationInputSqlServerTaskInput" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Input for task that validates migration input for SQL sync migrations" + }, + "taskType": { + "type": "string", + "enum": [ + "ValidateMigrationInput.SqlServer.SqlDb.Sync" + ] + } + }, + "required": [ + "taskType" + ], + "description": "Properties for task that validates migration input for SQL to Azure SQL DB sync migrations" + }, + "ValidateMigrationInputSqlServerSqlMISyncTaskInput": { + "type": "object", + "properties": { + "azureApp": { + "oneOf": [ + { + "$ref": "#/definitions/AzureActiveDirectoryApp" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Azure Active Directory Application" + }, + "backupFileShare": { + "oneOf": [ + { + "$ref": "#/definitions/FileShare" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "File share information with Path, Username, and Password." + }, + "selectedDatabases": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/MigrateSqlServerSqlMIDatabaseInput" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Databases to migrate" + }, + "sourceConnectionInfo": { + "oneOf": [ + { + "$ref": "#/definitions/SqlConnectionInfo" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Information for connecting to SQL database server" + }, + "storageResourceId": { + "type": "string", + "description": "Fully qualified resourceId of storage" + }, + "targetConnectionInfo": { + "oneOf": [ + { + "$ref": "#/definitions/MiSqlConnectionInfo" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Properties required to create a connection to Azure SQL database Managed instance" + } + }, + "required": [ + "azureApp", + "selectedDatabases", + "sourceConnectionInfo", + "storageResourceId", + "targetConnectionInfo" + ], + "description": "Input for task that migrates SQL Server databases to Azure SQL Database Managed Instance online scenario." + }, + "ValidateMigrationInputSqlServerSqlMISyncTaskProperties": { + "type": "object", + "properties": { + "input": { + "oneOf": [ + { + "$ref": "#/definitions/ValidateMigrationInputSqlServerSqlMISyncTaskInput" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Input for task that migrates SQL Server databases to Azure SQL Database Managed Instance online scenario." + }, + "taskType": { + "type": "string", + "enum": [ + "ValidateMigrationInput.SqlServer.AzureSqlDbMI.Sync.LRS" + ] + } + }, + "required": [ + "taskType" + ], + "description": "Properties for task that validates migration input for SQL to Azure SQL Database Managed Instance sync scenario" + }, + "ValidateMigrationInputSqlServerSqlMITaskInput": { + "type": "object", + "properties": { + "backupBlobShare": { + "oneOf": [ + { + "$ref": "#/definitions/BlobShare" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Blob container storage information." + }, + "backupFileShare": { + "oneOf": [ + { + "$ref": "#/definitions/FileShare" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "File share information with Path, Username, and Password." + }, + "backupMode": { + "oneOf": [ + { + "type": "string", + "enum": [ + "CreateBackup", + "ExistingBackup" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Backup Mode to specify whether to use existing backup or create new backup." + }, + "selectedDatabases": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/MigrateSqlServerSqlMIDatabaseInput" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Databases to migrate" + }, + "selectedLogins": { + "oneOf": [ + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Logins to migrate" + }, + "sourceConnectionInfo": { + "oneOf": [ + { + "$ref": "#/definitions/SqlConnectionInfo" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Information for connecting to SQL database server" + }, + "targetConnectionInfo": { + "oneOf": [ + { + "$ref": "#/definitions/SqlConnectionInfo" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Information for connecting to SQL database server" + } + }, + "required": [ + "backupBlobShare", + "selectedDatabases", + "sourceConnectionInfo", + "targetConnectionInfo" + ], + "description": "Input for task that validates migration input for SQL to Azure SQL Managed Instance" + }, + "ValidateMigrationInputSqlServerSqlMITaskProperties": { + "type": "object", + "properties": { + "input": { + "oneOf": [ + { + "$ref": "#/definitions/ValidateMigrationInputSqlServerSqlMITaskInput" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Input for task that validates migration input for SQL to Azure SQL Managed Instance" + }, + "taskType": { + "type": "string", + "enum": [ + "ValidateMigrationInput.SqlServer.AzureSqlDbMI" + ] + } + }, + "required": [ + "taskType" + ], + "description": "Properties for task that validates migration input for SQL to Azure SQL Database Managed Instance" + }, + "ValidateMongoDbTaskProperties": { + "type": "object", + "properties": { + "input": { + "oneOf": [ + { + "$ref": "#/definitions/MongoDbMigrationSettings" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Describes how a MongoDB data migration should be performed" + }, + "taskType": { + "type": "string", + "enum": [ + "Validate.MongoDb" + ] + } + }, + "required": [ + "taskType" + ], + "description": "Properties for the task that validates a migration between MongoDB data sources" + }, + "ValidateOracleAzureDbForPostgreSqlSyncTaskProperties": { + "type": "object", + "properties": { + "input": { + "oneOf": [ + { + "$ref": "#/definitions/MigrateOracleAzureDbPostgreSqlSyncTaskInput" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Input for the task that migrates Oracle databases to Azure Database for PostgreSQL for online migrations" + }, + "taskType": { + "type": "string", + "enum": [ + "Validate.Oracle.AzureDbPostgreSql.Sync" + ] + } + }, + "required": [ + "taskType" + ], + "description": "Properties for the task that validates a migration for Oracle to Azure Database for PostgreSQL for online migrations" + }, + "ValidateSyncMigrationInputSqlServerTaskInput": { + "type": "object", + "properties": { + "selectedDatabases": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/MigrateSqlServerSqlDbSyncDatabaseInput" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Databases to migrate" + }, + "sourceConnectionInfo": { + "oneOf": [ + { + "$ref": "#/definitions/SqlConnectionInfo" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Information for connecting to SQL database server" + }, + "targetConnectionInfo": { + "oneOf": [ + { + "$ref": "#/definitions/SqlConnectionInfo" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Information for connecting to SQL database server" + } + }, + "required": [ + "selectedDatabases", + "sourceConnectionInfo", + "targetConnectionInfo" + ], + "description": "Input for task that validates migration input for SQL sync migrations" + } + } +} \ No newline at end of file diff --git a/schemas/common/autogeneratedResources.json b/schemas/common/autogeneratedResources.json index 255b4702c0..1f7a893eb5 100644 --- a/schemas/common/autogeneratedResources.json +++ b/schemas/common/autogeneratedResources.json @@ -3499,6 +3499,21 @@ { "$ref": "https://schema.management.azure.com/schemas/2018-07-15-preview/Microsoft.DataMigration.json#/resourceDefinitions/services_serviceTasks" }, + { + "$ref": "https://schema.management.azure.com/schemas/2021-06-30/Microsoft.DataMigration.json#/resourceDefinitions/services" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2021-06-30/Microsoft.DataMigration.json#/resourceDefinitions/services_projects" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2021-06-30/Microsoft.DataMigration.json#/resourceDefinitions/services_projects_files" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2021-06-30/Microsoft.DataMigration.json#/resourceDefinitions/services_projects_tasks" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2021-06-30/Microsoft.DataMigration.json#/resourceDefinitions/services_serviceTasks" + }, { "$ref": "https://schema.management.azure.com/schemas/2018-11-01-preview/Microsoft.DataShare.json#/resourceDefinitions/accounts" }, From debd04d730887d0ee73751a03a603f68f51c552b Mon Sep 17 00:00:00 2001 From: SDKAuto Date: Fri, 13 Aug 2021 05:54:11 +0000 Subject: [PATCH 55/64] CodeGen from PR 15584 in Azure/azure-rest-api-specs [Datafactory] Swagger change for Power Query (WranglingDataFlow) work (#15584) * [Datafactory] Add Wrangling dataflow models for Power Query * Fix spell check issue * Fix Lint errors --- .../Microsoft.DataFactory.json | 89 +- schemas/2018-06-01/Microsoft.DataFactory.json | 898 +++++++++++------- 2 files changed, 639 insertions(+), 348 deletions(-) diff --git a/schemas/2017-09-01-preview/Microsoft.DataFactory.json b/schemas/2017-09-01-preview/Microsoft.DataFactory.json index bdfc2aa0e4..8d359f69ee 100644 --- a/schemas/2017-09-01-preview/Microsoft.DataFactory.json +++ b/schemas/2017-09-01-preview/Microsoft.DataFactory.json @@ -3318,8 +3318,18 @@ "type": "object", "properties": { "level": { - "type": "object", - "properties": {}, + "oneOf": [ + { + "type": "string", + "enum": [ + "Optimal", + "Fastest" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], "description": "The Deflate compression level." }, "type": { @@ -3338,8 +3348,18 @@ "type": "object", "properties": { "level": { - "type": "object", - "properties": {}, + "oneOf": [ + { + "type": "string", + "enum": [ + "Optimal", + "Fastest" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], "description": "The GZip compression level." }, "type": { @@ -3434,8 +3454,18 @@ "type": "object", "properties": { "level": { - "type": "object", - "properties": {}, + "oneOf": [ + { + "type": "string", + "enum": [ + "Optimal", + "Fastest" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], "description": "The ZipDeflate compression level." }, "type": { @@ -3700,13 +3730,33 @@ "type": "object", "properties": { "authenticationType": { - "type": "object", - "properties": {}, + "oneOf": [ + { + "type": "string", + "enum": [ + "Office365", + "Ifd" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], "description": "The authentication type to connect to Dynamics server. 'Office365' for online scenario, 'Ifd' for on-premises with Ifd scenario. Type: string (or Expression with resultType string)." }, "deploymentType": { - "type": "object", - "properties": {}, + "oneOf": [ + { + "type": "string", + "enum": [ + "Online", + "OnPremisesWithIfd" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], "description": "The deployment type of the Dynamics instance. 'Online' for Dynamics Online and 'OnPremisesWithIfd' for Dynamics on-premises with Ifd. Type: string (or Expression with resultType string)." }, "encryptedCredential": { @@ -11237,8 +11287,23 @@ "type": "object", "properties": { "type": { - "type": "object", - "properties": {}, + "oneOf": [ + { + "type": "string", + "enum": [ + "String", + "Int", + "Int64", + "Decimal", + "Guid", + "Boolean", + "Date" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], "description": "Stored procedure parameter type." }, "value": { diff --git a/schemas/2018-06-01/Microsoft.DataFactory.json b/schemas/2018-06-01/Microsoft.DataFactory.json index f6e33d113f..a28367cb20 100644 --- a/schemas/2018-06-01/Microsoft.DataFactory.json +++ b/schemas/2018-06-01/Microsoft.DataFactory.json @@ -565,6 +565,9 @@ }, { "$ref": "#/definitions/ExecutionActivity" + }, + { + "$ref": "#/definitions/ExecuteWranglingDataflowActivity" } ], "properties": { @@ -743,22 +746,6 @@ }, "description": "Execution policy for an activity." }, - "AdditionalColumns": { - "type": "object", - "properties": { - "name": { - "type": "object", - "properties": {}, - "description": "Additional column name. Type: string (or Expression with resultType string)." - }, - "value": { - "type": "object", - "properties": {}, - "description": "Additional column value. Type: string (or Expression with resultType string)." - } - }, - "description": "Specify the column name and value of additional columns." - }, "AmazonMWSLinkedService": { "type": "object", "properties": { @@ -1637,18 +1624,9 @@ "type": "object", "properties": { "additionalColumns": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/definitions/AdditionalColumns" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Specifies the additional columns to be added to source data. Type: array of objects (or Expression with resultType array of objects)." + "type": "object", + "properties": {}, + "description": "Specifies the additional columns to be added to source data. Type: array of objects(AdditionalColumns) (or Expression with resultType array of objects)." }, "storeSettings": { "oneOf": [ @@ -3047,18 +3025,9 @@ "type": "object", "properties": { "additionalColumns": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/definitions/AdditionalColumns" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Specifies the additional columns to be added to source data. Type: array of objects (or Expression with resultType array of objects)." + "type": "object", + "properties": {}, + "description": "Specifies the additional columns to be added to source data. Type: array of objects(AdditionalColumns) (or Expression with resultType array of objects)." }, "noTruncation": { "type": "object", @@ -5303,6 +5272,11 @@ "properties": {}, "description": "SQL writer table type. Type: string (or Expression with resultType string)." }, + "sqlWriterUseTableLock": { + "type": "object", + "properties": {}, + "description": "Whether to use table lock during bulk copy. Type: boolean (or Expression with resultType boolean)." + }, "storedProcedureParameters": { "oneOf": [ { @@ -5333,6 +5307,22 @@ "enum": [ "AzureSqlSink" ] + }, + "upsertSettings": { + "oneOf": [ + { + "$ref": "#/definitions/SqlUpsertSettings" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Sql upsert option settings" + }, + "writeBehavior": { + "type": "object", + "properties": {}, + "description": "Write behavior when copying data into Azure SQL. Type: SqlWriteBehaviorEnum (or Expression with resultType SqlWriteBehaviorEnum)" } }, "required": [ @@ -6511,18 +6501,9 @@ "type": "object", "properties": { "additionalColumns": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/definitions/AdditionalColumns" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Specifies the additional columns to be added to source data. Type: array of objects (or Expression with resultType array of objects)." + "type": "object", + "properties": {}, + "description": "Specifies the additional columns to be added to source data. Type: array of objects(AdditionalColumns) (or Expression with resultType array of objects)." }, "query": { "type": "object", @@ -7526,6 +7507,11 @@ "type": "object", "properties": {}, "description": "The name of the CosmosDB (MongoDB API) database that you want to access. Type: string (or Expression with resultType string)." + }, + "isServerVersionAbove32": { + "type": "object", + "properties": {}, + "description": "Whether the CosmosDB (MongoDB API) server version is higher than 3.2. The default value is false. Type: boolean (or Expression with resultType boolean)." } }, "required": [ @@ -7558,18 +7544,9 @@ "type": "object", "properties": { "additionalColumns": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/definitions/AdditionalColumns" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Specifies the additional columns to be added to source data. Type: array of objects (or Expression with resultType array of objects)." + "type": "object", + "properties": {}, + "description": "Specifies the additional columns to be added to source data. Type: array of objects(AdditionalColumns) (or Expression with resultType array of objects)." }, "batchSize": { "type": "object", @@ -7674,18 +7651,9 @@ "type": "object", "properties": { "additionalColumns": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/definitions/AdditionalColumns" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Specifies the additional columns to be added to source data. Type: array of objects (or Expression with resultType array of objects)." + "type": "object", + "properties": {}, + "description": "Specifies the additional columns to be added to source data. Type: array of objects(AdditionalColumns) (or Expression with resultType array of objects)." }, "detectDatetime": { "type": "object", @@ -8346,6 +8314,9 @@ "oneOf": [ { "$ref": "#/definitions/MappingDataFlow" + }, + { + "$ref": "#/definitions/WranglingDataFlow" } ], "properties": { @@ -9782,18 +9753,9 @@ "type": "object", "properties": { "additionalColumns": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/definitions/AdditionalColumns" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Specifies the additional columns to be added to source data. Type: array of objects (or Expression with resultType array of objects)." + "type": "object", + "properties": {}, + "description": "Specifies the additional columns to be added to source data. Type: array of objects(AdditionalColumns) (or Expression with resultType array of objects)." }, "formatSettings": { "oneOf": [ @@ -9982,18 +9944,9 @@ "type": "object", "properties": { "additionalColumns": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/definitions/AdditionalColumns" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Specifies the additional columns to be added to source data. Type: array of objects (or Expression with resultType array of objects)." + "type": "object", + "properties": {}, + "description": "Specifies the additional columns to be added to source data. Type: array of objects(AdditionalColumns) (or Expression with resultType array of objects)." }, "nestingSeparator": { "type": "object", @@ -10526,18 +10479,9 @@ "type": "object", "properties": { "additionalColumns": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/definitions/AdditionalColumns" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Specifies the additional columns to be added to source data. Type: array of objects (or Expression with resultType array of objects)." + "type": "object", + "properties": {}, + "description": "Specifies the additional columns to be added to source data. Type: array of objects(AdditionalColumns) (or Expression with resultType array of objects)." }, "query": { "type": "object", @@ -10746,18 +10690,9 @@ "type": "object", "properties": { "additionalColumns": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/definitions/AdditionalColumns" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Specifies the additional columns to be added to source data. Type: array of objects (or Expression with resultType array of objects)." + "type": "object", + "properties": {}, + "description": "Specifies the additional columns to be added to source data. Type: array of objects(AdditionalColumns) (or Expression with resultType array of objects)." }, "query": { "type": "object", @@ -11089,18 +11024,9 @@ "type": "object", "properties": { "additionalColumns": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/definitions/AdditionalColumns" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Specifies the additional columns to be added to source data. Type: array of objects (or Expression with resultType array of objects)." + "type": "object", + "properties": {}, + "description": "Specifies the additional columns to be added to source data. Type: array of objects(AdditionalColumns) (or Expression with resultType array of objects)." }, "storeSettings": { "oneOf": [ @@ -11310,6 +11236,89 @@ ], "description": "Execute pipeline activity properties." }, + "ExecutePowerQueryActivityTypeProperties": { + "type": "object", + "properties": { + "compute": { + "oneOf": [ + { + "$ref": "#/definitions/ExecuteDataFlowActivityTypePropertiesCompute" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Compute properties for data flow activity." + }, + "continueOnError": { + "type": "object", + "properties": {}, + "description": "Continue on error setting used for data flow execution. Enables processing to continue if a sink fails. Type: boolean (or Expression with resultType boolean)" + }, + "dataFlow": { + "oneOf": [ + { + "$ref": "#/definitions/DataFlowReference" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Data flow reference type." + }, + "integrationRuntime": { + "oneOf": [ + { + "$ref": "#/definitions/IntegrationRuntimeReference" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Integration runtime reference type." + }, + "runConcurrently": { + "type": "object", + "properties": {}, + "description": "Concurrent run setting used for data flow execution. Allows sinks with the same save order to be processed concurrently. Type: boolean (or Expression with resultType boolean)" + }, + "sinks": { + "oneOf": [ + { + "type": "object", + "additionalProperties": { + "$ref": "#/definitions/PowerQuerySink" + }, + "properties": {} + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "List of Power Query activity sinks mapped to a queryName." + }, + "staging": { + "oneOf": [ + { + "$ref": "#/definitions/DataFlowStagingInfo" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Staging info for execute data flow activity." + }, + "traceLevel": { + "type": "object", + "properties": {}, + "description": "Trace level setting used for data flow monitoring output. Supported values are: 'coarse', 'fine', and 'none'. Type: string (or Expression with resultType string)" + } + }, + "required": [ + "dataFlow" + ], + "description": "Execute power query data flow activity properties." + }, "ExecuteSSISPackageActivity": { "type": "object", "properties": { @@ -11489,17 +11498,55 @@ ], "description": "Execute SSIS package activity properties." }, - "ExecutionActivity": { + "ExecuteWranglingDataflowActivity": { "type": "object", - "oneOf": [ - { - "$ref": "#/definitions/CopyActivity" + "properties": { + "policy": { + "oneOf": [ + { + "$ref": "#/definitions/ActivityPolicy" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Execution policy for an activity." }, - { - "$ref": "#/definitions/HDInsightHiveActivity" + "type": { + "type": "string", + "enum": [ + "ExecuteWranglingDataflow" + ] }, - { - "$ref": "#/definitions/HDInsightPigActivity" + "typeProperties": { + "oneOf": [ + { + "$ref": "#/definitions/ExecutePowerQueryActivityTypeProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Execute power query data flow activity properties." + } + }, + "required": [ + "type", + "typeProperties" + ], + "description": "Execute power query activity." + }, + "ExecutionActivity": { + "type": "object", + "oneOf": [ + { + "$ref": "#/definitions/CopyActivity" + }, + { + "$ref": "#/definitions/HDInsightHiveActivity" + }, + { + "$ref": "#/definitions/HDInsightPigActivity" }, { "$ref": "#/definitions/HDInsightMapReduceActivity" @@ -12059,6 +12106,21 @@ "FactoryGitHubConfiguration": { "type": "object", "properties": { + "clientId": { + "type": "string", + "description": "GitHub bring your own app client id." + }, + "clientSecret": { + "oneOf": [ + { + "$ref": "#/definitions/GitHubClientSecret" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Client secret information for factory's bring your own app repository configuration." + }, "hostName": { "type": "string", "description": "GitHub Enterprise host name. For example: https://github.mydomain.com" @@ -12504,18 +12566,9 @@ "type": "object", "properties": { "additionalColumns": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/definitions/AdditionalColumns" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Specifies the additional columns to be added to source data. Type: array of objects (or Expression with resultType array of objects)." + "type": "object", + "properties": {}, + "description": "Specifies the additional columns to be added to source data. Type: array of objects(AdditionalColumns) (or Expression with resultType array of objects)." }, "recursive": { "type": "object", @@ -12983,6 +13036,20 @@ ], "description": "GetMetadata activity properties." }, + "GitHubClientSecret": { + "type": "object", + "properties": { + "byoaSecretAkvUrl": { + "type": "string", + "description": "Bring your own app client secret AKV URL." + }, + "byoaSecretName": { + "type": "string", + "description": "Bring your own app client secret name in AKV." + } + }, + "description": "Client secret information for factory's bring your own app repository configuration." + }, "GlobalParameterSpecification": { "type": "object", "properties": { @@ -16191,6 +16258,17 @@ ], "description": "Unmatched properties from the message are deserialized this collection" }, + "cleanup": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Cluster will not be recycled and it will be used in next data flow activity run until TTL (time to live) is reached if this is set as false. Default is true." + }, "computeType": { "oneOf": [ { @@ -16534,6 +16612,10 @@ "type": "string", "description": "The name of the subnet this integration runtime will join." }, + "subnetId": { + "type": "string", + "description": "The ID of subnet, to which this Azure-SSIS integration runtime will be joined." + }, "vNetId": { "type": "string", "description": "The ID of the VNet that this integration runtime will join." @@ -16855,18 +16937,9 @@ "type": "object", "properties": { "additionalColumns": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/definitions/AdditionalColumns" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Specifies the additional columns to be added to source data. Type: array of objects (or Expression with resultType array of objects)." + "type": "object", + "properties": {}, + "description": "Specifies the additional columns to be added to source data. Type: array of objects(AdditionalColumns) (or Expression with resultType array of objects)." }, "formatSettings": { "oneOf": [ @@ -18311,18 +18384,9 @@ "type": "object", "properties": { "additionalColumns": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/definitions/AdditionalColumns" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Specifies the additional columns to be added to source data. Type: array of objects (or Expression with resultType array of objects)." + "type": "object", + "properties": {}, + "description": "Specifies the additional columns to be added to source data. Type: array of objects(AdditionalColumns) (or Expression with resultType array of objects)." }, "query": { "type": "object", @@ -18490,18 +18554,9 @@ "type": "object", "properties": { "additionalColumns": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/definitions/AdditionalColumns" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Specifies the additional columns to be added to source data. Type: array of objects (or Expression with resultType array of objects)." + "type": "object", + "properties": {}, + "description": "Specifies the additional columns to be added to source data. Type: array of objects(AdditionalColumns) (or Expression with resultType array of objects)." }, "batchSize": { "type": "object", @@ -18731,18 +18786,9 @@ "type": "object", "properties": { "additionalColumns": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/definitions/AdditionalColumns" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Specifies the additional columns to be added to source data. Type: array of objects (or Expression with resultType array of objects)." + "type": "object", + "properties": {}, + "description": "Specifies the additional columns to be added to source data. Type: array of objects(AdditionalColumns) (or Expression with resultType array of objects)." }, "query": { "type": "object", @@ -18873,18 +18919,9 @@ "type": "object", "properties": { "additionalColumns": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/definitions/AdditionalColumns" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Specifies the additional columns to be added to source data. Type: array of objects (or Expression with resultType array of objects)." + "type": "object", + "properties": {}, + "description": "Specifies the additional columns to be added to source data. Type: array of objects(AdditionalColumns) (or Expression with resultType array of objects)." }, "batchSize": { "type": "object", @@ -19433,18 +19470,9 @@ "type": "object", "properties": { "additionalColumns": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/definitions/AdditionalColumns" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Specifies the additional columns to be added to source data. Type: array of objects (or Expression with resultType array of objects)." + "type": "object", + "properties": {}, + "description": "Specifies the additional columns to be added to source data. Type: array of objects(AdditionalColumns) (or Expression with resultType array of objects)." }, "httpRequestTimeout": { "type": "object", @@ -20171,18 +20199,9 @@ "type": "object", "properties": { "additionalColumns": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/definitions/AdditionalColumns" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Specifies the additional columns to be added to source data. Type: array of objects (or Expression with resultType array of objects)." + "type": "object", + "properties": {}, + "description": "Specifies the additional columns to be added to source data. Type: array of objects(AdditionalColumns) (or Expression with resultType array of objects)." }, "oracleReaderQuery": { "type": "object", @@ -20376,18 +20395,9 @@ "type": "object", "properties": { "additionalColumns": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/definitions/AdditionalColumns" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Specifies the additional columns to be added to source data. Type: array of objects (or Expression with resultType array of objects)." + "type": "object", + "properties": {}, + "description": "Specifies the additional columns to be added to source data. Type: array of objects(AdditionalColumns) (or Expression with resultType array of objects)." }, "storeSettings": { "oneOf": [ @@ -20610,18 +20620,9 @@ "type": "object", "properties": { "additionalColumns": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/definitions/AdditionalColumns" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Specifies the additional columns to be added to source data. Type: array of objects (or Expression with resultType array of objects)." + "type": "object", + "properties": {}, + "description": "Specifies the additional columns to be added to source data. Type: array of objects(AdditionalColumns) (or Expression with resultType array of objects)." }, "storeSettings": { "oneOf": [ @@ -21348,6 +21349,138 @@ }, "description": "PostgreSQL table dataset properties." }, + "PowerQuerySink": { + "type": "object", + "properties": { + "dataset": { + "oneOf": [ + { + "$ref": "#/definitions/DatasetReference" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Dataset reference type." + }, + "description": { + "type": "string", + "description": "Transformation description." + }, + "linkedService": { + "oneOf": [ + { + "$ref": "#/definitions/LinkedServiceReference" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Linked service reference type." + }, + "name": { + "type": "string", + "description": "Transformation name." + }, + "schemaLinkedService": { + "oneOf": [ + { + "$ref": "#/definitions/LinkedServiceReference" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Linked service reference type." + }, + "script": { + "type": "string", + "description": "sink script." + } + }, + "required": [ + "name" + ], + "description": "Power query sink." + }, + "PowerQuerySource": { + "type": "object", + "properties": { + "dataset": { + "oneOf": [ + { + "$ref": "#/definitions/DatasetReference" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Dataset reference type." + }, + "description": { + "type": "string", + "description": "Transformation description." + }, + "linkedService": { + "oneOf": [ + { + "$ref": "#/definitions/LinkedServiceReference" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Linked service reference type." + }, + "name": { + "type": "string", + "description": "Transformation name." + }, + "schemaLinkedService": { + "oneOf": [ + { + "$ref": "#/definitions/LinkedServiceReference" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Linked service reference type." + }, + "script": { + "type": "string", + "description": "source script." + } + }, + "required": [ + "name" + ], + "description": "Power query source." + }, + "PowerQueryTypeProperties": { + "type": "object", + "properties": { + "script": { + "type": "string", + "description": "Power query mashup script." + }, + "sources": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/PowerQuerySource" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "List of sources in Power Query." + } + }, + "description": "Power Query data flow type properties." + }, "PrestoDatasetTypeProperties": { "type": "object", "properties": { @@ -21936,18 +22069,9 @@ "type": "object", "properties": { "additionalColumns": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/definitions/AdditionalColumns" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Specifies the additional columns to be added to source data. Type: array of objects (or Expression with resultType array of objects)." + "type": "object", + "properties": {}, + "description": "Specifies the additional columns to be added to source data. Type: array of objects(AdditionalColumns) (or Expression with resultType array of objects)." }, "query": { "type": "object", @@ -22427,18 +22551,9 @@ "type": "object", "properties": { "additionalColumns": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/definitions/AdditionalColumns" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Specifies the additional columns to be added to source data. Type: array of objects (or Expression with resultType array of objects)." + "type": "object", + "properties": {}, + "description": "Specifies the additional columns to be added to source data. Type: array of objects(AdditionalColumns) (or Expression with resultType array of objects)." }, "additionalHeaders": { "type": "object", @@ -22899,18 +23014,9 @@ "type": "object", "properties": { "additionalColumns": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/definitions/AdditionalColumns" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Specifies the additional columns to be added to source data. Type: array of objects (or Expression with resultType array of objects)." + "type": "object", + "properties": {}, + "description": "Specifies the additional columns to be added to source data. Type: array of objects(AdditionalColumns) (or Expression with resultType array of objects)." }, "query": { "type": "object", @@ -25548,6 +25654,11 @@ "properties": {}, "description": "SQL pre-copy script. Type: string (or Expression with resultType string)." }, + "sqlWriterUseTableLock": { + "type": "object", + "properties": {}, + "description": "Whether to use table lock during bulk copy. Type: boolean (or Expression with resultType boolean)." + }, "tableOption": { "type": "object", "properties": {}, @@ -25558,6 +25669,22 @@ "enum": [ "SqlDWSink" ] + }, + "upsertSettings": { + "oneOf": [ + { + "$ref": "#/definitions/SqlDWUpsertSettings" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Sql DW upsert option settings" + }, + "writeBehavior": { + "type": "object", + "properties": {}, + "description": "Write behavior when copying data into azure SQL DW. Type: SqlDWWriteBehaviorEnum (or Expression with resultType SqlDWWriteBehaviorEnum)" } }, "required": [ @@ -25611,6 +25738,22 @@ ], "description": "A copy activity SQL Data Warehouse source." }, + "SqlDWUpsertSettings": { + "type": "object", + "properties": { + "interimSchemaName": { + "type": "object", + "properties": {}, + "description": "Schema name for interim table. Type: string (or Expression with resultType string)." + }, + "keys": { + "type": "object", + "properties": {}, + "description": "Key column names for unique row identification. Type: array of strings (or Expression with resultType array of strings)." + } + }, + "description": "Sql DW upsert option settings" + }, "SqlMISink": { "type": "object", "properties": { @@ -25629,6 +25772,11 @@ "properties": {}, "description": "SQL writer table type. Type: string (or Expression with resultType string)." }, + "sqlWriterUseTableLock": { + "type": "object", + "properties": {}, + "description": "Whether to use table lock during bulk copy. Type: boolean (or Expression with resultType boolean)." + }, "storedProcedureParameters": { "oneOf": [ { @@ -25659,6 +25807,22 @@ "enum": [ "SqlMISink" ] + }, + "upsertSettings": { + "oneOf": [ + { + "$ref": "#/definitions/SqlUpsertSettings" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Sql upsert option settings" + }, + "writeBehavior": { + "type": "object", + "properties": {}, + "description": "White behavior when copying data into azure SQL MI. Type: SqlWriteBehaviorEnum (or Expression with resultType SqlWriteBehaviorEnum)" } }, "required": [ @@ -25839,6 +26003,11 @@ "properties": {}, "description": "SQL writer table type. Type: string (or Expression with resultType string)." }, + "sqlWriterUseTableLock": { + "type": "object", + "properties": {}, + "description": "Whether to use table lock during bulk copy. Type: boolean (or Expression with resultType boolean)." + }, "storedProcedureParameters": { "oneOf": [ { @@ -25869,6 +26038,22 @@ "enum": [ "SqlServerSink" ] + }, + "upsertSettings": { + "oneOf": [ + { + "$ref": "#/definitions/SqlUpsertSettings" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Sql upsert option settings" + }, + "writeBehavior": { + "type": "object", + "properties": {}, + "description": "Write behavior when copying data into sql server. Type: SqlWriteBehaviorEnum (or Expression with resultType SqlWriteBehaviorEnum)" } }, "required": [ @@ -26058,6 +26243,11 @@ "properties": {}, "description": "SQL writer table type. Type: string (or Expression with resultType string)." }, + "sqlWriterUseTableLock": { + "type": "object", + "properties": {}, + "description": "Whether to use table lock during bulk copy. Type: boolean (or Expression with resultType boolean)." + }, "storedProcedureParameters": { "oneOf": [ { @@ -26088,6 +26278,22 @@ "enum": [ "SqlSink" ] + }, + "upsertSettings": { + "oneOf": [ + { + "$ref": "#/definitions/SqlUpsertSettings" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Sql upsert option settings" + }, + "writeBehavior": { + "type": "object", + "properties": {}, + "description": "Write behavior when copying data into sql. Type: SqlWriteBehaviorEnum (or Expression with resultType SqlWriteBehaviorEnum)" } }, "required": [ @@ -26156,6 +26362,27 @@ ], "description": "A copy activity SQL source." }, + "SqlUpsertSettings": { + "type": "object", + "properties": { + "interimSchemaName": { + "type": "object", + "properties": {}, + "description": "Schema name for interim table. Type: string (or Expression with resultType string)." + }, + "keys": { + "type": "object", + "properties": {}, + "description": "Key column names for unique row identification. Type: array of strings (or Expression with resultType array of strings)." + }, + "useTempDB": { + "type": "object", + "properties": {}, + "description": "Specifies whether to use temp db for upsert interim table. Type: boolean (or Expression with resultType boolean)." + } + }, + "description": "Sql upsert option settings" + }, "SquareLinkedService": { "type": "object", "properties": { @@ -27218,18 +27445,9 @@ ], "properties": { "additionalColumns": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/definitions/AdditionalColumns" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Specifies the additional columns to be added to source data. Type: array of objects (or Expression with resultType array of objects)." + "type": "object", + "properties": {}, + "description": "Specifies the additional columns to be added to source data. Type: array of objects(AdditionalColumns) (or Expression with resultType array of objects)." }, "queryTimeout": { "type": "object", @@ -28616,18 +28834,9 @@ "type": "object", "properties": { "additionalColumns": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/definitions/AdditionalColumns" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Specifies the additional columns to be added to source data. Type: array of objects (or Expression with resultType array of objects)." + "type": "object", + "properties": {}, + "description": "Specifies the additional columns to be added to source data. Type: array of objects(AdditionalColumns) (or Expression with resultType array of objects)." }, "type": { "type": "string", @@ -28687,6 +28896,32 @@ ], "description": "Web table dataset properties." }, + "WranglingDataFlow": { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "WranglingDataFlow" + ] + }, + "typeProperties": { + "oneOf": [ + { + "$ref": "#/definitions/PowerQueryTypeProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Power Query data flow type properties." + } + }, + "required": [ + "type" + ], + "description": "Power Query data flow." + }, "XeroLinkedService": { "type": "object", "properties": { @@ -28951,18 +29186,9 @@ "type": "object", "properties": { "additionalColumns": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/definitions/AdditionalColumns" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Specifies the additional columns to be added to source data. Type: array of objects (or Expression with resultType array of objects)." + "type": "object", + "properties": {}, + "description": "Specifies the additional columns to be added to source data. Type: array of objects(AdditionalColumns) (or Expression with resultType array of objects)." }, "formatSettings": { "oneOf": [ From a47087ca0180cfc6adea95f22252d6a934cc0f91 Mon Sep 17 00:00:00 2001 From: SDKAuto Date: Wed, 18 Aug 2021 06:01:32 +0000 Subject: [PATCH 56/64] CodeGen from PR 15498 in Azure/azure-rest-api-specs Added OutboundNetworkDependenciesEndpoints API (#15498) * Adds VNet peering to 2021-04-01-preview api-version. * Added OutboundNetworkDependencies. * Fixed Prettier issue * Fixed lint error * Edited sample output * Added reference to preview/vnetpeering.json in readme file * Edited description for outbound network dependency endpoints. * Corrected return type for outbound network dependency endpoints. * Corrected return type for outbound network dependency endpoints. * Correcting schema * Correcting schema Co-authored-by: nipuneth Co-authored-by: Sharanjeet Kaur --- .../Microsoft.Databricks.json | 218 ++++++++++++++++++ schemas/common/autogeneratedResources.json | 3 + 2 files changed, 221 insertions(+) diff --git a/schemas/2021-04-01-preview/Microsoft.Databricks.json b/schemas/2021-04-01-preview/Microsoft.Databricks.json index 51e03bfd23..351a435ebc 100644 --- a/schemas/2021-04-01-preview/Microsoft.Databricks.json +++ b/schemas/2021-04-01-preview/Microsoft.Databricks.json @@ -40,6 +40,9 @@ "oneOf": [ { "$ref": "#/definitions/workspaces_privateEndpointConnections_childResource" + }, + { + "$ref": "#/definitions/workspaces_virtualNetworkPeerings_childResource" } ] } @@ -124,9 +127,68 @@ "type" ], "description": "Microsoft.Databricks/workspaces/privateEndpointConnections" + }, + "workspaces_virtualNetworkPeerings": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-04-01-preview" + ] + }, + "name": { + "type": "string", + "description": "The name of the workspace vNet peering." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/VirtualNetworkPeeringPropertiesFormat" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Properties of the virtual network peering." + }, + "type": { + "type": "string", + "enum": [ + "Microsoft.Databricks/workspaces/virtualNetworkPeerings" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.Databricks/workspaces/virtualNetworkPeerings" } }, "definitions": { + "AddressSpace": { + "type": "object", + "properties": { + "addressPrefixes": { + "oneOf": [ + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "A list of address blocks reserved for this virtual network in CIDR notation." + } + }, + "description": "AddressSpace contains an array of IP address ranges that can be used by subnets of the virtual network." + }, "CreatedBy": { "type": "object", "properties": {}, @@ -349,6 +411,123 @@ ], "description": "SKU for the resource." }, + "VirtualNetworkPeeringPropertiesFormat": { + "type": "object", + "properties": { + "allowForwardedTraffic": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Whether the forwarded traffic from the VMs in the local virtual network will be allowed/disallowed in remote virtual network." + }, + "allowGatewayTransit": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "If gateway links can be used in remote virtual networking to link to this virtual network." + }, + "allowVirtualNetworkAccess": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Whether the VMs in the local virtual network space would be able to access the VMs in remote virtual network space." + }, + "databricksAddressSpace": { + "oneOf": [ + { + "$ref": "#/definitions/AddressSpace" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "AddressSpace contains an array of IP address ranges that can be used by subnets of the virtual network." + }, + "databricksVirtualNetwork": { + "oneOf": [ + { + "$ref": "#/definitions/VirtualNetworkPeeringPropertiesFormatDatabricksVirtualNetwork" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": " The remote virtual network should be in the same region. See here to learn more (https://docs.microsoft.com/en-us/azure/databricks/administration-guide/cloud-configurations/azure/vnet-peering)." + }, + "remoteAddressSpace": { + "oneOf": [ + { + "$ref": "#/definitions/AddressSpace" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "AddressSpace contains an array of IP address ranges that can be used by subnets of the virtual network." + }, + "remoteVirtualNetwork": { + "oneOf": [ + { + "$ref": "#/definitions/VirtualNetworkPeeringPropertiesFormatRemoteVirtualNetwork" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": " The remote virtual network should be in the same region. See here to learn more (https://docs.microsoft.com/en-us/azure/databricks/administration-guide/cloud-configurations/azure/vnet-peering)." + }, + "useRemoteGateways": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "If remote gateways can be used on this virtual network. If the flag is set to true, and allowGatewayTransit on remote peering is also true, virtual network will use gateways of remote virtual network for transit. Only one peering can have this flag set to true. This flag cannot be set if virtual network already has a gateway." + } + }, + "required": [ + "remoteVirtualNetwork" + ], + "description": "Properties of the virtual network peering." + }, + "VirtualNetworkPeeringPropertiesFormatDatabricksVirtualNetwork": { + "type": "object", + "properties": { + "id": { + "type": "string", + "description": "The Id of the databricks virtual network." + } + }, + "description": " The remote virtual network should be in the same region. See here to learn more (https://docs.microsoft.com/en-us/azure/databricks/administration-guide/cloud-configurations/azure/vnet-peering)." + }, + "VirtualNetworkPeeringPropertiesFormatRemoteVirtualNetwork": { + "type": "object", + "properties": { + "id": { + "type": "string", + "description": "The Id of the remote virtual network." + } + }, + "description": " The remote virtual network should be in the same region. See here to learn more (https://docs.microsoft.com/en-us/azure/databricks/administration-guide/cloud-configurations/azure/vnet-peering)." + }, "WorkspaceCustomBooleanParameter": { "type": "object", "properties": { @@ -832,6 +1011,45 @@ "type" ], "description": "Microsoft.Databricks/workspaces/privateEndpointConnections" + }, + "workspaces_virtualNetworkPeerings_childResource": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-04-01-preview" + ] + }, + "name": { + "type": "string", + "description": "The name of the workspace vNet peering." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/VirtualNetworkPeeringPropertiesFormat" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Properties of the virtual network peering." + }, + "type": { + "type": "string", + "enum": [ + "virtualNetworkPeerings" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.Databricks/workspaces/virtualNetworkPeerings" } } } \ No newline at end of file diff --git a/schemas/common/autogeneratedResources.json b/schemas/common/autogeneratedResources.json index 1f7a893eb5..88b28de463 100644 --- a/schemas/common/autogeneratedResources.json +++ b/schemas/common/autogeneratedResources.json @@ -3331,6 +3331,9 @@ { "$ref": "https://schema.management.azure.com/schemas/2021-04-01-preview/Microsoft.Databricks.json#/resourceDefinitions/workspaces_privateEndpointConnections" }, + { + "$ref": "https://schema.management.azure.com/schemas/2021-04-01-preview/Microsoft.Databricks.json#/resourceDefinitions/workspaces_virtualNetworkPeerings" + }, { "$ref": "https://schema.management.azure.com/schemas/2016-03-30/Microsoft.DataCatalog.json#/resourceDefinitions/catalogs" }, From 3ac7617856acf5abd6c63eb34cb27bdcafb8a0ff Mon Sep 17 00:00:00 2001 From: SDKAuto Date: Wed, 18 Aug 2021 06:19:32 +0000 Subject: [PATCH 57/64] CodeGen from PR 15377 in Azure/azure-rest-api-specs Spec fixed to reflect new examples property (#15377) * Spec fixed to reflect new examples property * Prettier * suppressing incorrect warning --- .../Microsoft.ApiManagement.json | 42 +++++++++++++++++-- 1 file changed, 38 insertions(+), 4 deletions(-) diff --git a/schemas/2021-01-01-preview/Microsoft.ApiManagement.json b/schemas/2021-01-01-preview/Microsoft.ApiManagement.json index 4952b7be88..64e774d631 100644 --- a/schemas/2021-01-01-preview/Microsoft.ApiManagement.json +++ b/schemas/2021-01-01-preview/Microsoft.ApiManagement.json @@ -4865,6 +4865,21 @@ "type": "string", "description": "Parameter description." }, + "examples": { + "oneOf": [ + { + "type": "object", + "additionalProperties": { + "$ref": "#/definitions/ParameterExampleContract" + }, + "properties": {} + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Parameter examples." + }, "name": { "type": "string", "description": "Parameter name." @@ -4913,6 +4928,29 @@ ], "description": "Operation parameters details." }, + "ParameterExampleContract": { + "type": "object", + "properties": { + "description": { + "type": "string", + "description": "Long description for the example" + }, + "externalValue": { + "type": "string", + "description": "A URL that points to the literal example" + }, + "summary": { + "type": "string", + "description": "Short description for the example" + }, + "value": { + "type": "object", + "properties": {}, + "description": "Example value. May be a primitive value, or an object." + } + }, + "description": "Parameter example." + }, "PipelineDiagnosticSettings": { "type": "object", "properties": { @@ -5184,10 +5222,6 @@ ], "description": "Collection of form parameters. Required if 'contentType' value is either 'application/x-www-form-urlencoded' or 'multipart/form-data'.." }, - "sample": { - "type": "string", - "description": "An example of the representation." - }, "schemaId": { "type": "string", "description": "Schema identifier. Applicable only if 'contentType' value is neither 'application/x-www-form-urlencoded' nor 'multipart/form-data'." From c9ad020332ddffdd4de135aadbfaec19ce10c5e6 Mon Sep 17 00:00:00 2001 From: SDKAuto Date: Wed, 18 Aug 2021 10:01:47 +0000 Subject: [PATCH 58/64] CodeGen from PR 15011 in Azure/azure-rest-api-specs [NetAppFiles] Anf 13322 net app files api version 2021 06 01 (#15011) * Api version bump * Apply 2021-06-01 changes * Update readme * Change default on enum * Add s360 fixes * Add missing systemdata * Change defaultUserQuotaInKiBs default to 0 Co-authored-by: Audunn Baldvinsson --- schemas/2021-06-01/Microsoft.NetApp.json | 2056 ++++++++++++++++++++ schemas/common/autogeneratedResources.json | 21 + 2 files changed, 2077 insertions(+) create mode 100644 schemas/2021-06-01/Microsoft.NetApp.json diff --git a/schemas/2021-06-01/Microsoft.NetApp.json b/schemas/2021-06-01/Microsoft.NetApp.json new file mode 100644 index 0000000000..90b3af8db1 --- /dev/null +++ b/schemas/2021-06-01/Microsoft.NetApp.json @@ -0,0 +1,2056 @@ +{ + "id": "https://schema.management.azure.com/schemas/2021-06-01/Microsoft.NetApp.json#", + "$schema": "http://json-schema.org/draft-04/schema#", + "title": "Microsoft.NetApp", + "description": "Microsoft NetApp Resource Types", + "resourceDefinitions": { + "netAppAccounts": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-06-01" + ] + }, + "location": { + "type": "string", + "description": "Resource location" + }, + "name": { + "type": "string", + "description": "The name of the NetApp account" + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/AccountProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "NetApp account properties" + }, + "resources": { + "type": "array", + "items": { + "oneOf": [ + { + "$ref": "#/definitions/netAppAccounts_capacityPools_childResource" + }, + { + "$ref": "#/definitions/netAppAccounts_snapshotPolicies_childResource" + }, + { + "$ref": "#/definitions/netAppAccounts_backupPolicies_childResource" + } + ] + } + }, + "tags": { + "oneOf": [ + { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "properties": {} + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Tags are a list of key-value pairs that describe the resource" + }, + "type": { + "type": "string", + "enum": [ + "Microsoft.NetApp/netAppAccounts" + ] + } + }, + "required": [ + "apiVersion", + "location", + "name", + "properties", + "type" + ], + "description": "Microsoft.NetApp/netAppAccounts" + }, + "netAppAccounts_backupPolicies": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-06-01" + ] + }, + "location": { + "type": "string", + "description": "Resource location" + }, + "name": { + "type": "string", + "description": "Backup policy Name which uniquely identify backup policy." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/BackupPolicyProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Backup policy properties" + }, + "tags": { + "oneOf": [ + { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "properties": {} + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Tags are a list of key-value pairs that describe the resource" + }, + "type": { + "type": "string", + "enum": [ + "Microsoft.NetApp/netAppAccounts/backupPolicies" + ] + } + }, + "required": [ + "apiVersion", + "location", + "name", + "properties", + "type" + ], + "description": "Microsoft.NetApp/netAppAccounts/backupPolicies" + }, + "netAppAccounts_capacityPools": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-06-01" + ] + }, + "location": { + "type": "string", + "description": "Resource location" + }, + "name": { + "oneOf": [ + { + "type": "string", + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9\\-_]{0,63}$", + "minLength": 1, + "maxLength": 64 + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The name of the capacity pool" + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/PoolProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Pool properties" + }, + "resources": { + "type": "array", + "items": { + "oneOf": [ + { + "$ref": "#/definitions/netAppAccounts_capacityPools_volumes_childResource" + } + ] + } + }, + "tags": { + "oneOf": [ + { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "properties": {} + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Tags are a list of key-value pairs that describe the resource" + }, + "type": { + "type": "string", + "enum": [ + "Microsoft.NetApp/netAppAccounts/capacityPools" + ] + } + }, + "required": [ + "apiVersion", + "location", + "name", + "properties", + "type" + ], + "description": "Microsoft.NetApp/netAppAccounts/capacityPools" + }, + "netAppAccounts_capacityPools_volumes": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-06-01" + ] + }, + "location": { + "type": "string", + "description": "Resource location" + }, + "name": { + "oneOf": [ + { + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9\\-_]{0,63}$", + "minLength": 1, + "maxLength": 64 + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The name of the volume" + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/VolumeProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Volume properties" + }, + "resources": { + "type": "array", + "items": { + "oneOf": [ + { + "$ref": "#/definitions/netAppAccounts_capacityPools_volumes_snapshots_childResource" + }, + { + "$ref": "#/definitions/netAppAccounts_capacityPools_volumes_backups_childResource" + } + ] + } + }, + "tags": { + "oneOf": [ + { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "properties": {} + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Tags are a list of key-value pairs that describe the resource" + }, + "type": { + "type": "string", + "enum": [ + "Microsoft.NetApp/netAppAccounts/capacityPools/volumes" + ] + } + }, + "required": [ + "apiVersion", + "location", + "name", + "properties", + "type" + ], + "description": "Microsoft.NetApp/netAppAccounts/capacityPools/volumes" + }, + "netAppAccounts_capacityPools_volumes_backups": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-06-01" + ] + }, + "location": { + "type": "string", + "description": "Resource location" + }, + "name": { + "type": "string", + "description": "The name of the backup" + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/BackupProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Backup properties" + }, + "type": { + "type": "string", + "enum": [ + "Microsoft.NetApp/netAppAccounts/capacityPools/volumes/backups" + ] + } + }, + "required": [ + "apiVersion", + "location", + "name", + "properties", + "type" + ], + "description": "Microsoft.NetApp/netAppAccounts/capacityPools/volumes/backups" + }, + "netAppAccounts_capacityPools_volumes_snapshots": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-06-01" + ] + }, + "location": { + "type": "string", + "description": "Resource location" + }, + "name": { + "type": "string", + "description": "The name of the snapshot" + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/SnapshotProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Snapshot properties" + }, + "type": { + "type": "string", + "enum": [ + "Microsoft.NetApp/netAppAccounts/capacityPools/volumes/snapshots" + ] + } + }, + "required": [ + "apiVersion", + "location", + "name", + "properties", + "type" + ], + "description": "Microsoft.NetApp/netAppAccounts/capacityPools/volumes/snapshots" + }, + "netAppAccounts_snapshotPolicies": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-06-01" + ] + }, + "location": { + "type": "string", + "description": "Resource location" + }, + "name": { + "type": "string", + "description": "The name of the snapshot policy" + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/SnapshotPolicyProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Snapshot policy properties" + }, + "tags": { + "oneOf": [ + { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "properties": {} + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Tags are a list of key-value pairs that describe the resource" + }, + "type": { + "type": "string", + "enum": [ + "Microsoft.NetApp/netAppAccounts/snapshotPolicies" + ] + } + }, + "required": [ + "apiVersion", + "location", + "name", + "properties", + "type" + ], + "description": "Microsoft.NetApp/netAppAccounts/snapshotPolicies" + } + }, + "definitions": { + "AccountEncryption": { + "type": "object", + "properties": { + "keySource": { + "type": "string", + "description": "Encryption Key Source. Possible values are: 'Microsoft.NetApp'." + } + }, + "description": "Encryption settings" + }, + "AccountProperties": { + "type": "object", + "properties": { + "activeDirectories": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/ActiveDirectory" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Active Directories" + }, + "encryption": { + "oneOf": [ + { + "$ref": "#/definitions/AccountEncryption" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Encryption settings" + } + }, + "description": "NetApp account properties" + }, + "ActiveDirectory": { + "type": "object", + "properties": { + "activeDirectoryId": { + "type": "string", + "description": "Id of the Active Directory" + }, + "administrators": { + "oneOf": [ + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Users to be added to the Built-in Administrators active directory group. A list of unique usernames without domain specifier" + }, + "adName": { + "type": "string", + "minLength": 1, + "maxLength": 64, + "description": "Name of the active directory machine. This optional parameter is used only while creating kerberos volume" + }, + "aesEncryption": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "If enabled, AES encryption will be enabled for SMB communication." + }, + "allowLocalNfsUsersWithLdap": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": " If enabled, NFS client local users can also (in addition to LDAP users) access the NFS volumes." + }, + "backupOperators": { + "oneOf": [ + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Users to be added to the Built-in Backup Operator active directory group. A list of unique usernames without domain specifier" + }, + "dns": { + "oneOf": [ + { + "type": "string", + "pattern": "^(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\.(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\.(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\.(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)((, ?)(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\.(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\.(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\.(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?))*$" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Comma separated list of DNS server IP addresses (IPv4 only) for the Active Directory domain" + }, + "domain": { + "type": "string", + "description": "Name of the Active Directory domain" + }, + "kdcIP": { + "oneOf": [ + { + "type": "string", + "pattern": "^(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\.(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\.(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\.(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)((, ?)(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\.(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\.(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\.(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?))*$" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "kdc server IP addresses for the active directory machine. This optional parameter is used only while creating kerberos volume." + }, + "ldapOverTLS": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Specifies whether or not the LDAP traffic needs to be secured via TLS." + }, + "ldapSigning": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Specifies whether or not the LDAP traffic needs to be signed." + }, + "organizationalUnit": { + "type": "string", + "default": "CN=Computers", + "description": "The Organizational Unit (OU) within the Windows Active Directory" + }, + "password": { + "type": "string", + "description": "Plain text password of Active Directory domain administrator, value is masked in the response" + }, + "securityOperators": { + "oneOf": [ + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Domain Users in the Active directory to be given SeSecurityPrivilege privilege (Needed for SMB Continuously available shares for SQL). A list of unique usernames without domain specifier" + }, + "serverRootCACertificate": { + "type": "string", + "minLength": 1, + "maxLength": 10240, + "description": "When LDAP over SSL/TLS is enabled, the LDAP client is required to have base64 encoded Active Directory Certificate Service's self-signed root CA certificate, this optional parameter is used only for dual protocol with LDAP user-mapping volumes." + }, + "site": { + "type": "string", + "description": "The Active Directory site the service will limit Domain Controller discovery to" + }, + "smbServerName": { + "type": "string", + "description": "NetBIOS name of the SMB server. This name will be registered as a computer account in the AD and used to mount volumes" + }, + "username": { + "type": "string", + "description": "Username of Active Directory domain administrator" + } + }, + "description": "Active Directory" + }, + "BackupPolicyProperties": { + "type": "object", + "properties": { + "dailyBackupsToKeep": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Daily backups count to keep" + }, + "enabled": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The property to decide policy is enabled or not" + }, + "monthlyBackupsToKeep": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Monthly backups count to keep" + }, + "weeklyBackupsToKeep": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Weekly backups count to keep" + } + }, + "description": "Backup policy properties" + }, + "BackupProperties": { + "type": "object", + "properties": { + "label": { + "type": "string", + "description": "Label for backup" + }, + "useExistingSnapshot": { + "oneOf": [ + { + "type": "boolean", + "default": false + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Manual backup an already existing snapshot. This will always be false for scheduled backups and true/false for manual backups" + } + }, + "description": "Backup properties" + }, + "DailySchedule": { + "type": "object", + "properties": { + "hour": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Indicates which hour in UTC timezone a snapshot should be taken" + }, + "minute": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Indicates which minute snapshot should be taken" + }, + "snapshotsToKeep": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Daily snapshot count to keep" + }, + "usedBytes": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Resource size in bytes, current storage usage for the volume in bytes" + } + }, + "description": "Daily Schedule properties" + }, + "ExportPolicyRule": { + "type": "object", + "properties": { + "allowedClients": { + "type": "string", + "description": "Client ingress specification as comma separated string with IPv4 CIDRs, IPv4 host addresses and host names" + }, + "chownMode": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Restricted", + "Unrestricted" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "This parameter specifies who is authorized to change the ownership of a file. restricted - Only root user can change the ownership of the file. unrestricted - Non-root users can change ownership of files that they own." + }, + "cifs": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Allows CIFS protocol" + }, + "hasRootAccess": { + "oneOf": [ + { + "type": "boolean", + "default": true + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Has root access to volume" + }, + "kerberos5iReadOnly": { + "oneOf": [ + { + "type": "boolean", + "default": false + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Kerberos5i Read only access. To be use with swagger version 2020-05-01 or later" + }, + "kerberos5iReadWrite": { + "oneOf": [ + { + "type": "boolean", + "default": false + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Kerberos5i Read and write access. To be use with swagger version 2020-05-01 or later" + }, + "kerberos5pReadOnly": { + "oneOf": [ + { + "type": "boolean", + "default": false + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Kerberos5p Read only access. To be use with swagger version 2020-05-01 or later" + }, + "kerberos5pReadWrite": { + "oneOf": [ + { + "type": "boolean", + "default": false + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Kerberos5p Read and write access. To be use with swagger version 2020-05-01 or later" + }, + "kerberos5ReadOnly": { + "oneOf": [ + { + "type": "boolean", + "default": false + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Kerberos5 Read only access. To be use with swagger version 2020-05-01 or later" + }, + "kerberos5ReadWrite": { + "oneOf": [ + { + "type": "boolean", + "default": false + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Kerberos5 Read and write access. To be use with swagger version 2020-05-01 or later" + }, + "nfsv3": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Allows NFSv3 protocol. Enable only for NFSv3 type volumes" + }, + "nfsv41": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Allows NFSv4.1 protocol. Enable only for NFSv4.1 type volumes" + }, + "ruleIndex": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Order index" + }, + "unixReadOnly": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Read only access" + }, + "unixReadWrite": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Read and write access" + } + }, + "description": "Volume Export Policy Rule" + }, + "HourlySchedule": { + "type": "object", + "properties": { + "minute": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Indicates which minute snapshot should be taken" + }, + "snapshotsToKeep": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Hourly snapshot count to keep" + }, + "usedBytes": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Resource size in bytes, current storage usage for the volume in bytes" + } + }, + "description": "Hourly Schedule properties" + }, + "MonthlySchedule": { + "type": "object", + "properties": { + "daysOfMonth": { + "type": "string", + "description": "Indicates which days of the month snapshot should be taken. A comma delimited string." + }, + "hour": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Indicates which hour in UTC timezone a snapshot should be taken" + }, + "minute": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Indicates which minute snapshot should be taken" + }, + "snapshotsToKeep": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Monthly snapshot count to keep" + }, + "usedBytes": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Resource size in bytes, current storage usage for the volume in bytes" + } + }, + "description": "Monthly Schedule properties" + }, + "netAppAccounts_backupPolicies_childResource": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-06-01" + ] + }, + "location": { + "type": "string", + "description": "Resource location" + }, + "name": { + "type": "string", + "description": "Backup policy Name which uniquely identify backup policy." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/BackupPolicyProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Backup policy properties" + }, + "tags": { + "oneOf": [ + { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "properties": {} + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Tags are a list of key-value pairs that describe the resource" + }, + "type": { + "type": "string", + "enum": [ + "backupPolicies" + ] + } + }, + "required": [ + "apiVersion", + "location", + "name", + "properties", + "type" + ], + "description": "Microsoft.NetApp/netAppAccounts/backupPolicies" + }, + "netAppAccounts_capacityPools_childResource": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-06-01" + ] + }, + "location": { + "type": "string", + "description": "Resource location" + }, + "name": { + "oneOf": [ + { + "type": "string", + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9\\-_]{0,63}$", + "minLength": 1, + "maxLength": 64 + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The name of the capacity pool" + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/PoolProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Pool properties" + }, + "tags": { + "oneOf": [ + { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "properties": {} + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Tags are a list of key-value pairs that describe the resource" + }, + "type": { + "type": "string", + "enum": [ + "capacityPools" + ] + } + }, + "required": [ + "apiVersion", + "location", + "name", + "properties", + "type" + ], + "description": "Microsoft.NetApp/netAppAccounts/capacityPools" + }, + "netAppAccounts_capacityPools_volumes_backups_childResource": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-06-01" + ] + }, + "location": { + "type": "string", + "description": "Resource location" + }, + "name": { + "type": "string", + "description": "The name of the backup" + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/BackupProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Backup properties" + }, + "type": { + "type": "string", + "enum": [ + "backups" + ] + } + }, + "required": [ + "apiVersion", + "location", + "name", + "properties", + "type" + ], + "description": "Microsoft.NetApp/netAppAccounts/capacityPools/volumes/backups" + }, + "netAppAccounts_capacityPools_volumes_childResource": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-06-01" + ] + }, + "location": { + "type": "string", + "description": "Resource location" + }, + "name": { + "oneOf": [ + { + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9\\-_]{0,63}$", + "minLength": 1, + "maxLength": 64 + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The name of the volume" + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/VolumeProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Volume properties" + }, + "tags": { + "oneOf": [ + { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "properties": {} + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Tags are a list of key-value pairs that describe the resource" + }, + "type": { + "type": "string", + "enum": [ + "volumes" + ] + } + }, + "required": [ + "apiVersion", + "location", + "name", + "properties", + "type" + ], + "description": "Microsoft.NetApp/netAppAccounts/capacityPools/volumes" + }, + "netAppAccounts_capacityPools_volumes_snapshots_childResource": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-06-01" + ] + }, + "location": { + "type": "string", + "description": "Resource location" + }, + "name": { + "type": "string", + "description": "The name of the snapshot" + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/SnapshotProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Snapshot properties" + }, + "type": { + "type": "string", + "enum": [ + "snapshots" + ] + } + }, + "required": [ + "apiVersion", + "location", + "name", + "properties", + "type" + ], + "description": "Microsoft.NetApp/netAppAccounts/capacityPools/volumes/snapshots" + }, + "netAppAccounts_snapshotPolicies_childResource": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-06-01" + ] + }, + "location": { + "type": "string", + "description": "Resource location" + }, + "name": { + "type": "string", + "description": "The name of the snapshot policy" + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/SnapshotPolicyProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Snapshot policy properties" + }, + "tags": { + "oneOf": [ + { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "properties": {} + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Tags are a list of key-value pairs that describe the resource" + }, + "type": { + "type": "string", + "enum": [ + "snapshotPolicies" + ] + } + }, + "required": [ + "apiVersion", + "location", + "name", + "properties", + "type" + ], + "description": "Microsoft.NetApp/netAppAccounts/snapshotPolicies" + }, + "PoolProperties": { + "type": "object", + "properties": { + "coolAccess": { + "oneOf": [ + { + "type": "boolean", + "default": false + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "If enabled (true) the pool can contain cool Access enabled volumes." + }, + "encryptionType": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Single", + "Double" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Encryption type of the capacity pool, set encryption type for data at rest for this pool and all volumes in it. This value can only be set when creating new pool." + }, + "qosType": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Auto", + "Manual" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The qos type of the pool." + }, + "serviceLevel": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Standard", + "Premium", + "Ultra", + "StandardZRS" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ] + }, + "size": { + "oneOf": [ + { + "type": "integer", + "minimum": 4398046511104, + "maximum": 549755813888000 + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Provisioned size of the pool (in bytes). Allowed values are in 4TiB chunks (value must be multiply of 4398046511104)." + } + }, + "required": [ + "serviceLevel", + "size" + ], + "description": "Pool properties" + }, + "ReplicationObject": { + "type": "object", + "properties": { + "endpointType": { + "oneOf": [ + { + "type": "string", + "enum": [ + "src", + "dst" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Indicates whether the local volume is the source or destination for the Volume Replication." + }, + "remoteVolumeRegion": { + "type": "string", + "description": "The remote region for the other end of the Volume Replication." + }, + "remoteVolumeResourceId": { + "type": "string", + "description": "The resource ID of the remote volume." + }, + "replicationId": { + "type": "string", + "description": "Id" + }, + "replicationSchedule": { + "oneOf": [ + { + "type": "string", + "enum": [ + "_10minutely", + "hourly", + "daily" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Schedule." + } + }, + "required": [ + "remoteVolumeResourceId", + "replicationSchedule" + ], + "description": "Replication properties" + }, + "SnapshotPolicyProperties": { + "type": "object", + "properties": { + "dailySchedule": { + "oneOf": [ + { + "$ref": "#/definitions/DailySchedule" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Daily Schedule properties" + }, + "enabled": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The property to decide policy is enabled or not" + }, + "hourlySchedule": { + "oneOf": [ + { + "$ref": "#/definitions/HourlySchedule" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Hourly Schedule properties" + }, + "monthlySchedule": { + "oneOf": [ + { + "$ref": "#/definitions/MonthlySchedule" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Monthly Schedule properties" + }, + "weeklySchedule": { + "oneOf": [ + { + "$ref": "#/definitions/WeeklySchedule" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Weekly Schedule properties, make a snapshot every week at a specific day or days" + } + }, + "description": "Snapshot policy properties" + }, + "SnapshotProperties": { + "type": "object", + "properties": {}, + "description": "Snapshot properties" + }, + "VolumeBackupProperties": { + "type": "object", + "properties": { + "backupEnabled": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Backup Enabled" + }, + "backupPolicyId": { + "type": "string", + "description": "Backup Policy Resource ID" + }, + "policyEnforced": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Policy Enforced" + }, + "vaultId": { + "type": "string", + "description": "Vault Resource ID" + } + }, + "description": "Volume Backup Properties" + }, + "VolumeProperties": { + "type": "object", + "properties": { + "avsDataStore": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Enabled", + "Disabled" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Specifies whether the volume is enabled for Azure VMware Solution (AVS) datastore purpose." + }, + "backupId": { + "oneOf": [ + { + "type": "string", + "pattern": "^[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}|(\\\\?([^\\/]*[\\/])*)([^\\/]+)$", + "minLength": 36, + "maxLength": 36 + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "UUID v4 or resource identifier used to identify the Backup." + }, + "coolAccess": { + "oneOf": [ + { + "type": "boolean", + "default": false + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Specifies whether Cool Access(tiering) is enabled for the volume." + }, + "coolnessPeriod": { + "oneOf": [ + { + "type": "integer", + "minimum": 7, + "maximum": 63 + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Specifies the number of days after which data that is not accessed by clients will be tiered." + }, + "creationToken": { + "oneOf": [ + { + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9\\-]{0,79}$", + "minLength": 1, + "maxLength": 80 + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "A unique file path for the volume. Used when creating mount targets" + }, + "dataProtection": { + "oneOf": [ + { + "$ref": "#/definitions/VolumePropertiesDataProtection" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "DataProtection type volumes include an object containing details of the replication" + }, + "defaultGroupQuotaInKiBs": { + "oneOf": [ + { + "type": "integer", + "default": "4" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Default group quota for volume in KiBs. Minimum 4 KiBs." + }, + "defaultUserQuotaInKiBs": { + "oneOf": [ + { + "type": "integer", + "default": "4" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Default user quota for volume in KiBs. Minimum 4 KiBs." + }, + "encryptionKeySource": { + "type": "string", + "description": "Encryption Key Source. Possible values are: 'Microsoft.NetApp'" + }, + "exportPolicy": { + "oneOf": [ + { + "$ref": "#/definitions/VolumePropertiesExportPolicy" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Set of export policy rules" + }, + "isDefaultQuotaEnabled": { + "oneOf": [ + { + "type": "boolean", + "default": false + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Specifies if default quota is enabled for the volume." + }, + "isRestoring": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Restoring" + }, + "kerberosEnabled": { + "oneOf": [ + { + "type": "boolean", + "default": false + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Describe if a volume is KerberosEnabled. To be use with swagger version 2020-05-01 or later" + }, + "ldapEnabled": { + "oneOf": [ + { + "type": "boolean", + "default": false + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Specifies whether LDAP is enabled or not for a given NFS volume." + }, + "protocolTypes": { + "oneOf": [ + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Set of protocol types, default NFSv3, CIFS for SMB protocol" + }, + "securityStyle": { + "oneOf": [ + { + "type": "string", + "enum": [ + "ntfs", + "unix" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The security style of volume, default unix, defaults to ntfs for dual protocol or CIFS protocol." + }, + "serviceLevel": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Standard", + "Premium", + "Ultra", + "StandardZRS" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ] + }, + "smbContinuouslyAvailable": { + "oneOf": [ + { + "type": "boolean", + "default": false + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Enables continuously available share property for smb volume. Only applicable for SMB volume" + }, + "smbEncryption": { + "oneOf": [ + { + "type": "boolean", + "default": false + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Enables encryption for in-flight smb3 data. Only applicable for SMB/DualProtocol volume. To be used with swagger version 2020-08-01 or later" + }, + "snapshotDirectoryVisible": { + "oneOf": [ + { + "type": "boolean", + "default": true + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "If enabled (true) the volume will contain a read-only snapshot directory which provides access to each of the volume's snapshots (default to true)." + }, + "snapshotId": { + "oneOf": [ + { + "type": "string", + "pattern": "^[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}|(\\\\?([^\\/]*[\\/])*)([^\\/]+)$", + "minLength": 36, + "maxLength": 36 + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "UUID v4 or resource identifier used to identify the Snapshot." + }, + "subnetId": { + "type": "string", + "description": "The Azure Resource URI for a delegated subnet. Must have the delegation Microsoft.NetApp/volumes" + }, + "throughputMibps": { + "oneOf": [ + { + "type": "number", + "minimum": 0, + "maximum": 4500, + "default": 0 + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ] + }, + "unixPermissions": { + "type": "string", + "minLength": 4, + "maxLength": 4, + "default": "0770", + "description": "UNIX permissions for NFS volume accepted in octal 4 digit format. First digit selects the set user ID(4), set group ID (2) and sticky (1) attributes. Second digit selects permission for the owner of the file: read (4), write (2) and execute (1). Third selects permissions for other users in the same group. the fourth for other users not in the group. 0755 - gives read/write/execute permissions to owner and read/execute to group and other users." + }, + "usageThreshold": { + "oneOf": [ + { + "type": "integer", + "minimum": 107374182400, + "maximum": 109951162777600, + "default": "107374182400" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Maximum storage quota allowed for a file system in bytes. This is a soft quota used for alerting only. Minimum size is 100 GiB. Upper limit is 100TiB. Specified in bytes." + }, + "volumeType": { + "type": "string", + "description": "What type of volume is this" + } + }, + "required": [ + "creationToken", + "subnetId", + "usageThreshold" + ], + "description": "Volume properties" + }, + "VolumePropertiesDataProtection": { + "type": "object", + "properties": { + "backup": { + "oneOf": [ + { + "$ref": "#/definitions/VolumeBackupProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Volume Backup Properties" + }, + "replication": { + "oneOf": [ + { + "$ref": "#/definitions/ReplicationObject" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Replication properties" + }, + "snapshot": { + "oneOf": [ + { + "$ref": "#/definitions/VolumeSnapshotProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Volume Snapshot Properties" + } + }, + "description": "DataProtection type volumes include an object containing details of the replication" + }, + "VolumePropertiesExportPolicy": { + "type": "object", + "properties": { + "rules": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/ExportPolicyRule" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Export policy rule" + } + }, + "description": "Set of export policy rules" + }, + "VolumeSnapshotProperties": { + "type": "object", + "properties": { + "snapshotPolicyId": { + "type": "string", + "description": "Snapshot Policy ResourceId" + } + }, + "description": "Volume Snapshot Properties" + }, + "WeeklySchedule": { + "type": "object", + "properties": { + "day": { + "type": "string", + "description": "Indicates which weekdays snapshot should be taken, accepts a comma separated list of week day names in english" + }, + "hour": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Indicates which hour in UTC timezone a snapshot should be taken" + }, + "minute": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Indicates which minute snapshot should be taken" + }, + "snapshotsToKeep": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Weekly snapshot count to keep" + }, + "usedBytes": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Resource size in bytes, current storage usage for the volume in bytes" + } + }, + "description": "Weekly Schedule properties, make a snapshot every week at a specific day or days" + } + } +} \ No newline at end of file diff --git a/schemas/common/autogeneratedResources.json b/schemas/common/autogeneratedResources.json index 88b28de463..4181978737 100644 --- a/schemas/common/autogeneratedResources.json +++ b/schemas/common/autogeneratedResources.json @@ -7387,6 +7387,27 @@ { "$ref": "https://schema.management.azure.com/schemas/2021-04-01-preview/Microsoft.NetApp.json#/resourceDefinitions/netAppAccounts_snapshotPolicies" }, + { + "$ref": "https://schema.management.azure.com/schemas/2021-06-01/Microsoft.NetApp.json#/resourceDefinitions/netAppAccounts" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2021-06-01/Microsoft.NetApp.json#/resourceDefinitions/netAppAccounts_backupPolicies" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2021-06-01/Microsoft.NetApp.json#/resourceDefinitions/netAppAccounts_capacityPools" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2021-06-01/Microsoft.NetApp.json#/resourceDefinitions/netAppAccounts_capacityPools_volumes" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2021-06-01/Microsoft.NetApp.json#/resourceDefinitions/netAppAccounts_capacityPools_volumes_backups" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2021-06-01/Microsoft.NetApp.json#/resourceDefinitions/netAppAccounts_capacityPools_volumes_snapshots" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2021-06-01/Microsoft.NetApp.json#/resourceDefinitions/netAppAccounts_snapshotPolicies" + }, { "$ref": "https://schema.management.azure.com/schemas/2018-08-01/Microsoft.Network.FrontDoor.json#/resourceDefinitions/frontDoors" }, From c94098cb908fb9b7eaf281c23fc90819105fbbd0 Mon Sep 17 00:00:00 2001 From: Anthony Martin Date: Wed, 18 Aug 2021 16:34:59 -0400 Subject: [PATCH 59/64] Onboard Microsoft.Purview for auto generation --- generator/autogenlist.ts | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/generator/autogenlist.ts b/generator/autogenlist.ts index 2b1f7dd7bc..6553661d28 100644 --- a/generator/autogenlist.ts +++ b/generator/autogenlist.ts @@ -171,11 +171,6 @@ const disabledProviders: AutoGenConfig[] = [ namespace: 'Microsoft.ProviderHub', disabledForAutogen: true, }, - { - basePath: 'purview/resource-manager', - namespace: 'Microsoft.Purview', - disabledForAutogen: true, - }, { basePath: 'quota/resource-manager', namespace: 'Microsoft.Quota', @@ -1065,4 +1060,4 @@ export function findOrGenerateAutogenEntries(basePath: string, namespaces: strin } return entries; -} \ No newline at end of file +} From 1ba45511edc495caa05fbd5db18ee2bd1c57e0e2 Mon Sep 17 00:00:00 2001 From: SDKAuto Date: Thu, 19 Aug 2021 05:18:44 +0000 Subject: [PATCH 60/64] CodeGen from PR 15577 in Azure/azure-rest-api-specs Swagger changes for MFA work (#15577) * Baseline changes for API version 2021-07-01 * Made the new changes related to API version 2021-07-01 * Fixing Lintdiff failure * resolved PR comments * Fixing validation failures * Fix the validation failures * Made lintdiff failures * Resolved PR comments * Fixing validation failures * Resolved PR comments Co-authored-by: Madhumanti Dey --- .../Microsoft.RecoveryServices.Backup.json | 4196 +++++++++++++++++ schemas/common/autogeneratedResources.json | 27 + 2 files changed, 4223 insertions(+) create mode 100644 schemas/2021-07-01/Microsoft.RecoveryServices.Backup.json diff --git a/schemas/2021-07-01/Microsoft.RecoveryServices.Backup.json b/schemas/2021-07-01/Microsoft.RecoveryServices.Backup.json new file mode 100644 index 0000000000..e9c7ff9c17 --- /dev/null +++ b/schemas/2021-07-01/Microsoft.RecoveryServices.Backup.json @@ -0,0 +1,4196 @@ +{ + "id": "https://schema.management.azure.com/schemas/2021-07-01/Microsoft.RecoveryServices.Backup.json#", + "$schema": "http://json-schema.org/draft-04/schema#", + "title": "Microsoft.RecoveryServices", + "description": "Microsoft RecoveryServices Resource Types", + "resourceDefinitions": { + "vaults_backupconfig": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-07-01" + ] + }, + "eTag": { + "type": "string", + "description": "Optional ETag." + }, + "location": { + "type": "string", + "description": "Resource location." + }, + "name": { + "oneOf": [ + { + "type": "string", + "pattern": "^.*/vaultconfig$" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ] + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/BackupResourceVaultConfig" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Backup resource vault config details." + }, + "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.RecoveryServices/vaults/backupconfig" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.RecoveryServices/vaults/backupconfig" + }, + "vaults_backupEncryptionConfigs": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-07-01" + ] + }, + "eTag": { + "type": "string", + "description": "Optional ETag." + }, + "location": { + "type": "string", + "description": "Resource location." + }, + "name": { + "oneOf": [ + { + "type": "string", + "pattern": "^.*/backupResourceEncryptionConfig$" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ] + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/BackupResourceEncryptionConfig" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ] + }, + "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.RecoveryServices/vaults/backupEncryptionConfigs" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.RecoveryServices/vaults/backupEncryptionConfigs" + }, + "vaults_backupFabrics_backupProtectionIntent": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-07-01" + ] + }, + "eTag": { + "type": "string", + "description": "Optional ETag." + }, + "location": { + "type": "string", + "description": "Resource location." + }, + "name": { + "type": "string", + "description": "Intent object name." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/ProtectionIntent" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Base class for backup ProtectionIntent." + }, + "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.RecoveryServices/vaults/backupFabrics/backupProtectionIntent" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.RecoveryServices/vaults/backupFabrics/backupProtectionIntent" + }, + "vaults_backupFabrics_protectionContainers": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-07-01" + ] + }, + "eTag": { + "type": "string", + "description": "Optional ETag." + }, + "location": { + "type": "string", + "description": "Resource location." + }, + "name": { + "type": "string", + "description": "Name of the container to be registered." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/ProtectionContainer" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Base class for container with backup items. Containers with specific workloads are derived from this class." + }, + "resources": { + "type": "array", + "items": { + "oneOf": [ + { + "$ref": "#/definitions/vaults_backupFabrics_protectionContainers_protectedItems_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.RecoveryServices/vaults/backupFabrics/protectionContainers" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.RecoveryServices/vaults/backupFabrics/protectionContainers" + }, + "vaults_backupFabrics_protectionContainers_protectedItems": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-07-01" + ] + }, + "eTag": { + "type": "string", + "description": "Optional ETag." + }, + "location": { + "type": "string", + "description": "Resource location." + }, + "name": { + "type": "string", + "description": "Item name to be backed up." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/ProtectedItem" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Base class for backup items." + }, + "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.RecoveryServices/vaults/backupFabrics/protectionContainers/protectedItems" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.RecoveryServices/vaults/backupFabrics/protectionContainers/protectedItems" + }, + "vaults_backupPolicies": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-07-01" + ] + }, + "eTag": { + "type": "string", + "description": "Optional ETag." + }, + "location": { + "type": "string", + "description": "Resource location." + }, + "name": { + "type": "string", + "description": "Backup policy to be created." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/ProtectionPolicy" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Base class for backup policy. Workload-specific backup policies are derived from this class." + }, + "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.RecoveryServices/vaults/backupPolicies" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.RecoveryServices/vaults/backupPolicies" + }, + "vaults_backupResourceGuardProxies": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-07-01" + ] + }, + "name": { + "type": "string" + }, + "type": { + "type": "string", + "enum": [ + "Microsoft.RecoveryServices/vaults/backupResourceGuardProxies" + ] + } + }, + "required": [ + "apiVersion", + "name", + "type" + ], + "description": "Microsoft.RecoveryServices/vaults/backupResourceGuardProxies" + }, + "vaults_backupstorageconfig": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-07-01" + ] + }, + "eTag": { + "type": "string", + "description": "Optional ETag." + }, + "location": { + "type": "string", + "description": "Resource location." + }, + "name": { + "oneOf": [ + { + "type": "string", + "pattern": "^.*/vaultstorageconfig$" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ] + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/BackupResourceConfig" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The resource storage details." + }, + "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.RecoveryServices/vaults/backupstorageconfig" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.RecoveryServices/vaults/backupstorageconfig" + }, + "vaults_privateEndpointConnections": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-07-01" + ] + }, + "eTag": { + "type": "string", + "description": "Optional ETag." + }, + "location": { + "type": "string", + "description": "Resource location." + }, + "name": { + "type": "string", + "description": "The name of the private endpoint connection." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/PrivateEndpointConnection" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Private Endpoint Connection Response 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.RecoveryServices/vaults/privateEndpointConnections" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.RecoveryServices/vaults/privateEndpointConnections" + } + }, + "definitions": { + "AzureBackupServerContainer": { + "type": "object", + "properties": { + "containerType": { + "type": "string", + "enum": [ + "AzureBackupServerContainer" + ] + } + }, + "required": [ + "containerType" + ], + "description": "AzureBackupServer (DPMVenus) workload-specific protection container." + }, + "AzureFileshareProtectedItem": { + "type": "object", + "properties": { + "extendedInfo": { + "oneOf": [ + { + "$ref": "#/definitions/AzureFileshareProtectedItemExtendedInfo" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Additional information about Azure File Share backup item." + }, + "friendlyName": { + "type": "string", + "description": "Friendly name of the fileshare represented by this backup item." + }, + "kpisHealths": { + "oneOf": [ + { + "type": "object", + "additionalProperties": { + "$ref": "#/definitions/KPIResourceHealthDetails" + }, + "properties": {} + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Health details of different KPIs" + }, + "lastBackupStatus": { + "type": "string", + "description": "Last backup operation status. Possible values: Healthy, Unhealthy." + }, + "lastBackupTime": { + "type": "string", + "format": "date-time", + "description": "Timestamp of the last backup operation on this backup item." + }, + "protectedItemType": { + "type": "string", + "enum": [ + "AzureFileShareProtectedItem" + ] + }, + "protectionState": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Invalid", + "IRPending", + "Protected", + "ProtectionError", + "ProtectionStopped", + "ProtectionPaused" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Backup state of this backup item." + }, + "protectionStatus": { + "type": "string", + "description": "Backup status of this backup item." + } + }, + "required": [ + "protectedItemType" + ], + "description": "Azure File Share workload-specific backup item." + }, + "AzureFileshareProtectedItemExtendedInfo": { + "type": "object", + "properties": { + "oldestRecoveryPoint": { + "type": "string", + "format": "date-time", + "description": "The oldest backup copy available for this item in the service." + }, + "policyState": { + "type": "string", + "description": "Indicates consistency of policy object and policy applied to this backup item." + }, + "recoveryPointCount": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Number of available backup copies associated with this backup item." + } + }, + "description": "Additional information about Azure File Share backup item." + }, + "AzureFileShareProtectionPolicy": { + "type": "object", + "properties": { + "backupManagementType": { + "type": "string", + "enum": [ + "AzureStorage" + ] + }, + "retentionPolicy": { + "oneOf": [ + { + "$ref": "#/definitions/RetentionPolicy" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Base class for retention policy." + }, + "schedulePolicy": { + "oneOf": [ + { + "$ref": "#/definitions/SchedulePolicy" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Base class for backup schedule." + }, + "timeZone": { + "type": "string", + "description": "TimeZone optional input as string. For example: TimeZone = \"Pacific Standard Time\"." + }, + "workLoadType": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Invalid", + "VM", + "FileFolder", + "AzureSqlDb", + "SQLDB", + "Exchange", + "Sharepoint", + "VMwareVM", + "SystemState", + "Client", + "GenericDataSource", + "SQLDataBase", + "AzureFileShare", + "SAPHanaDatabase", + "SAPAseDatabase" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Type of workload for the backup management." + } + }, + "required": [ + "backupManagementType" + ], + "description": "AzureStorage backup policy." + }, + "AzureIaaSClassicComputeVMContainer": { + "type": "object", + "properties": { + "containerType": { + "type": "string", + "enum": [ + "Microsoft.ClassicCompute/virtualMachines" + ] + } + }, + "required": [ + "containerType" + ], + "description": "IaaS VM workload-specific backup item representing a classic virtual machine." + }, + "AzureIaaSClassicComputeVMProtectedItem": { + "type": "object", + "properties": { + "protectedItemType": { + "type": "string", + "enum": [ + "Microsoft.ClassicCompute/virtualMachines" + ] + } + }, + "required": [ + "protectedItemType" + ], + "description": "IaaS VM workload-specific backup item representing the Classic Compute VM." + }, + "AzureIaaSComputeVMContainer": { + "type": "object", + "properties": { + "containerType": { + "type": "string", + "enum": [ + "Microsoft.Compute/virtualMachines" + ] + } + }, + "required": [ + "containerType" + ], + "description": "IaaS VM workload-specific backup item representing an Azure Resource Manager virtual machine." + }, + "AzureIaaSComputeVMProtectedItem": { + "type": "object", + "properties": { + "protectedItemType": { + "type": "string", + "enum": [ + "Microsoft.Compute/virtualMachines" + ] + } + }, + "required": [ + "protectedItemType" + ], + "description": "IaaS VM workload-specific backup item representing the Azure Resource Manager VM." + }, + "AzureIaaSVMHealthDetails": { + "type": "object", + "properties": {}, + "description": "Azure IaaS VM workload-specific Health Details." + }, + "AzureIaaSVMProtectedItem": { + "type": "object", + "oneOf": [ + { + "$ref": "#/definitions/AzureIaaSClassicComputeVMProtectedItem" + }, + { + "$ref": "#/definitions/AzureIaaSComputeVMProtectedItem" + } + ], + "properties": { + "extendedInfo": { + "oneOf": [ + { + "$ref": "#/definitions/AzureIaaSVMProtectedItemExtendedInfo" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Additional information on Azure IaaS VM specific backup item." + }, + "extendedProperties": { + "oneOf": [ + { + "$ref": "#/definitions/ExtendedProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Extended Properties for Azure IaasVM Backup." + }, + "friendlyName": { + "type": "string", + "description": "Friendly name of the VM represented by this backup item." + }, + "healthDetails": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/AzureIaaSVMHealthDetails" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Health details on this backup item." + }, + "healthStatus": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Passed", + "ActionRequired", + "ActionSuggested", + "Invalid" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Health status of protected item." + }, + "kpisHealths": { + "oneOf": [ + { + "type": "object", + "additionalProperties": { + "$ref": "#/definitions/KPIResourceHealthDetails" + }, + "properties": {} + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Health details of different KPIs" + }, + "lastBackupStatus": { + "type": "string", + "description": "Last backup operation status." + }, + "lastBackupTime": { + "type": "string", + "format": "date-time", + "description": "Timestamp of the last backup operation on this backup item." + }, + "protectedItemDataId": { + "type": "string", + "description": "Data ID of the protected item." + }, + "protectedItemType": { + "type": "string", + "enum": [ + "AzureIaaSVMProtectedItem" + ] + }, + "protectionState": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Invalid", + "IRPending", + "Protected", + "ProtectionError", + "ProtectionStopped", + "ProtectionPaused" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Backup state of this backup item." + }, + "protectionStatus": { + "type": "string", + "description": "Backup status of this backup item." + }, + "virtualMachineId": { + "type": "string", + "description": "Fully qualified ARM ID of the virtual machine represented by this item." + } + }, + "required": [ + "protectedItemType" + ], + "description": "IaaS VM workload-specific backup item." + }, + "AzureIaaSVMProtectedItemExtendedInfo": { + "type": "object", + "properties": { + "oldestRecoveryPoint": { + "type": "string", + "format": "date-time", + "description": "The oldest backup copy available for this backup item." + }, + "policyInconsistent": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Specifies if backup policy associated with the backup item is inconsistent." + }, + "recoveryPointCount": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Number of backup copies available for this backup item." + } + }, + "description": "Additional information on Azure IaaS VM specific backup item." + }, + "AzureIaaSVMProtectionPolicy": { + "type": "object", + "properties": { + "backupManagementType": { + "type": "string", + "enum": [ + "AzureIaasVM" + ] + }, + "instantRPDetails": { + "oneOf": [ + { + "$ref": "#/definitions/InstantRPAdditionalDetails" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ] + }, + "instantRpRetentionRangeInDays": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Instant RP retention policy range in days" + }, + "retentionPolicy": { + "oneOf": [ + { + "$ref": "#/definitions/RetentionPolicy" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Base class for retention policy." + }, + "schedulePolicy": { + "oneOf": [ + { + "$ref": "#/definitions/SchedulePolicy" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Base class for backup schedule." + }, + "timeZone": { + "type": "string", + "description": "TimeZone optional input as string. For example: TimeZone = \"Pacific Standard Time\"." + } + }, + "required": [ + "backupManagementType" + ], + "description": "IaaS VM workload-specific backup policy." + }, + "AzureRecoveryServiceVaultProtectionIntent": { + "type": "object", + "oneOf": [ + { + "$ref": "#/definitions/AzureWorkloadAutoProtectionIntent" + } + ], + "properties": { + "protectionIntentItemType": { + "type": "string", + "enum": [ + "RecoveryServiceVaultItem" + ] + } + }, + "required": [ + "protectionIntentItemType" + ], + "description": "Azure Recovery Services Vault specific protection intent item." + }, + "AzureResourceProtectionIntent": { + "type": "object", + "properties": { + "friendlyName": { + "type": "string", + "description": "Friendly name of the VM represented by this backup item." + }, + "protectionIntentItemType": { + "type": "string", + "enum": [ + "AzureResourceItem" + ] + } + }, + "required": [ + "protectionIntentItemType" + ], + "description": "IaaS VM specific backup protection intent item." + }, + "AzureSQLAGWorkloadContainerProtectionContainer": { + "type": "object", + "properties": { + "containerType": { + "type": "string", + "enum": [ + "SQLAGWorkLoadContainer" + ] + } + }, + "required": [ + "containerType" + ], + "description": "Container for SQL workloads under SQL Availability Group." + }, + "AzureSqlContainer": { + "type": "object", + "properties": { + "containerType": { + "type": "string", + "enum": [ + "AzureSqlContainer" + ] + } + }, + "required": [ + "containerType" + ], + "description": "Azure Sql workload-specific container." + }, + "AzureSqlProtectedItem": { + "type": "object", + "properties": { + "extendedInfo": { + "oneOf": [ + { + "$ref": "#/definitions/AzureSqlProtectedItemExtendedInfo" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Additional information on Azure Sql specific protected item." + }, + "protectedItemDataId": { + "type": "string", + "description": "Internal ID of a backup item. Used by Azure SQL Backup engine to contact Recovery Services." + }, + "protectedItemType": { + "type": "string", + "enum": [ + "Microsoft.Sql/servers/databases" + ] + }, + "protectionState": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Invalid", + "IRPending", + "Protected", + "ProtectionError", + "ProtectionStopped", + "ProtectionPaused" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Backup state of the backed up item." + } + }, + "required": [ + "protectedItemType" + ], + "description": "Azure SQL workload-specific backup item." + }, + "AzureSqlProtectedItemExtendedInfo": { + "type": "object", + "properties": { + "oldestRecoveryPoint": { + "type": "string", + "format": "date-time", + "description": "The oldest backup copy available for this item in the service." + }, + "policyState": { + "type": "string", + "description": "State of the backup policy associated with this backup item." + }, + "recoveryPointCount": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Number of available backup copies associated with this backup item." + } + }, + "description": "Additional information on Azure Sql specific protected item." + }, + "AzureSqlProtectionPolicy": { + "type": "object", + "properties": { + "backupManagementType": { + "type": "string", + "enum": [ + "AzureSql" + ] + }, + "retentionPolicy": { + "oneOf": [ + { + "$ref": "#/definitions/RetentionPolicy" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Base class for retention policy." + } + }, + "required": [ + "backupManagementType" + ], + "description": "Azure SQL workload-specific backup policy." + }, + "AzureStorageContainer": { + "type": "object", + "properties": { + "containerType": { + "type": "string", + "enum": [ + "StorageContainer" + ] + }, + "protectedItemCount": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Number of items backed up in this container." + }, + "resourceGroup": { + "type": "string", + "description": "Resource group name of Recovery Services Vault." + }, + "sourceResourceId": { + "type": "string", + "description": "Fully qualified ARM url." + }, + "storageAccountVersion": { + "type": "string", + "description": "Storage account version." + } + }, + "required": [ + "containerType" + ], + "description": "Azure Storage Account workload-specific container." + }, + "AzureVMAppContainerProtectionContainer": { + "type": "object", + "properties": { + "containerType": { + "type": "string", + "enum": [ + "VMAppContainer" + ] + } + }, + "required": [ + "containerType" + ], + "description": "Container for SQL workloads under Azure Virtual Machines." + }, + "AzureVmWorkloadProtectedItem": { + "type": "object", + "oneOf": [ + { + "$ref": "#/definitions/AzureVmWorkloadSAPAseDatabaseProtectedItem" + }, + { + "$ref": "#/definitions/AzureVmWorkloadSAPHanaDatabaseProtectedItem" + }, + { + "$ref": "#/definitions/AzureVmWorkloadSQLDatabaseProtectedItem" + } + ], + "properties": { + "extendedInfo": { + "oneOf": [ + { + "$ref": "#/definitions/AzureVmWorkloadProtectedItemExtendedInfo" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Additional information on Azure Workload for SQL specific backup item." + }, + "friendlyName": { + "type": "string", + "description": "Friendly name of the DB represented by this backup item." + }, + "kpisHealths": { + "oneOf": [ + { + "type": "object", + "additionalProperties": { + "$ref": "#/definitions/KPIResourceHealthDetails" + }, + "properties": {} + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Health details of different KPIs" + }, + "lastBackupErrorDetail": { + "oneOf": [ + { + "$ref": "#/definitions/ErrorDetail" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Error Detail class which encapsulates Code, Message and Recommendations." + }, + "lastBackupStatus": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Invalid", + "Healthy", + "Unhealthy", + "IRPending" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Last backup operation status. Possible values: Healthy, Unhealthy." + }, + "lastBackupTime": { + "type": "string", + "format": "date-time", + "description": "Timestamp of the last backup operation on this backup item." + }, + "parentName": { + "type": "string", + "description": "Parent name of the DB such as Instance or Availability Group." + }, + "parentType": { + "type": "string", + "description": "Parent type of protected item, example: for a DB, standalone server or distributed" + }, + "protectedItemDataSourceId": { + "type": "string", + "description": "Data ID of the protected item." + }, + "protectedItemHealthStatus": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Invalid", + "Healthy", + "Unhealthy", + "NotReachable", + "IRPending" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Health status of the backup item, evaluated based on last heartbeat received." + }, + "protectedItemType": { + "type": "string", + "enum": [ + "AzureVmWorkloadProtectedItem" + ] + }, + "protectionState": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Invalid", + "IRPending", + "Protected", + "ProtectionError", + "ProtectionStopped", + "ProtectionPaused" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Backup state of this backup item." + }, + "protectionStatus": { + "type": "string", + "description": "Backup status of this backup item." + }, + "serverName": { + "type": "string", + "description": "Host/Cluster Name for instance or AG" + } + }, + "required": [ + "protectedItemType" + ], + "description": "Azure VM workload-specific protected item." + }, + "AzureVmWorkloadProtectedItemExtendedInfo": { + "type": "object", + "properties": { + "oldestRecoveryPoint": { + "type": "string", + "format": "date-time", + "description": "The oldest backup copy available for this backup item." + }, + "policyState": { + "type": "string", + "description": "Indicates consistency of policy object and policy applied to this backup item." + }, + "recoveryPointCount": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Number of backup copies available for this backup item." + } + }, + "description": "Additional information on Azure Workload for SQL specific backup item." + }, + "AzureVmWorkloadProtectionPolicy": { + "type": "object", + "properties": { + "backupManagementType": { + "type": "string", + "enum": [ + "AzureWorkload" + ] + }, + "makePolicyConsistent": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Fix the policy inconsistency" + }, + "settings": { + "oneOf": [ + { + "$ref": "#/definitions/Settings" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Common settings field for backup management" + }, + "subProtectionPolicy": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/SubProtectionPolicy" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "List of sub-protection policies which includes schedule and retention" + }, + "workLoadType": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Invalid", + "VM", + "FileFolder", + "AzureSqlDb", + "SQLDB", + "Exchange", + "Sharepoint", + "VMwareVM", + "SystemState", + "Client", + "GenericDataSource", + "SQLDataBase", + "AzureFileShare", + "SAPHanaDatabase", + "SAPAseDatabase" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Type of workload for the backup management." + } + }, + "required": [ + "backupManagementType" + ], + "description": "Azure VM (Mercury) workload-specific backup policy." + }, + "AzureVmWorkloadSAPAseDatabaseProtectedItem": { + "type": "object", + "properties": { + "protectedItemType": { + "type": "string", + "enum": [ + "AzureVmWorkloadSAPAseDatabase" + ] + } + }, + "required": [ + "protectedItemType" + ], + "description": "Azure VM workload-specific protected item representing SAP ASE Database." + }, + "AzureVmWorkloadSAPHanaDatabaseProtectedItem": { + "type": "object", + "properties": { + "protectedItemType": { + "type": "string", + "enum": [ + "AzureVmWorkloadSAPHanaDatabase" + ] + } + }, + "required": [ + "protectedItemType" + ], + "description": "Azure VM workload-specific protected item representing SAP HANA Database." + }, + "AzureVmWorkloadSQLDatabaseProtectedItem": { + "type": "object", + "properties": { + "protectedItemType": { + "type": "string", + "enum": [ + "AzureVmWorkloadSQLDatabase" + ] + } + }, + "required": [ + "protectedItemType" + ], + "description": "Azure VM workload-specific protected item representing SQL Database." + }, + "AzureWorkloadAutoProtectionIntent": { + "type": "object", + "oneOf": [ + { + "$ref": "#/definitions/AzureWorkloadSQLAutoProtectionIntent" + } + ], + "properties": { + "protectionIntentItemType": { + "type": "string", + "enum": [ + "AzureWorkloadAutoProtectionIntent" + ] + } + }, + "required": [ + "protectionIntentItemType" + ], + "description": "Azure Recovery Services Vault specific protection intent item." + }, + "AzureWorkloadContainer": { + "type": "object", + "oneOf": [ + { + "$ref": "#/definitions/AzureSQLAGWorkloadContainerProtectionContainer" + }, + { + "$ref": "#/definitions/AzureVMAppContainerProtectionContainer" + } + ], + "properties": { + "containerType": { + "type": "string", + "enum": [ + "AzureWorkloadContainer" + ] + }, + "extendedInfo": { + "oneOf": [ + { + "$ref": "#/definitions/AzureWorkloadContainerExtendedInfo" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Extended information of the container." + }, + "lastUpdatedTime": { + "type": "string", + "format": "date-time", + "description": "Time stamp when this container was updated." + }, + "operationType": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Invalid", + "Register", + "Reregister" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Re-Do Operation." + }, + "sourceResourceId": { + "type": "string", + "description": "ARM ID of the virtual machine represented by this Azure Workload Container" + }, + "workloadType": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Invalid", + "VM", + "FileFolder", + "AzureSqlDb", + "SQLDB", + "Exchange", + "Sharepoint", + "VMwareVM", + "SystemState", + "Client", + "GenericDataSource", + "SQLDataBase", + "AzureFileShare", + "SAPHanaDatabase", + "SAPAseDatabase" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Workload type for which registration was sent." + } + }, + "required": [ + "containerType" + ], + "description": "Container for the workloads running inside Azure Compute or Classic Compute." + }, + "AzureWorkloadContainerExtendedInfo": { + "type": "object", + "properties": { + "hostServerName": { + "type": "string", + "description": "Host Os Name in case of Stand Alone and Cluster Name in case of distributed container." + }, + "inquiryInfo": { + "oneOf": [ + { + "$ref": "#/definitions/InquiryInfo" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Details about inquired protectable items under a given container." + }, + "nodesList": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/DistributedNodesInfo" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "List of the nodes in case of distributed container." + } + }, + "description": "Extended information of the container." + }, + "AzureWorkloadSQLAutoProtectionIntent": { + "type": "object", + "properties": { + "protectionIntentItemType": { + "type": "string", + "enum": [ + "AzureWorkloadSQLAutoProtectionIntent" + ] + }, + "workloadItemType": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Invalid", + "SQLInstance", + "SQLDataBase", + "SAPHanaSystem", + "SAPHanaDatabase", + "SAPAseSystem", + "SAPAseDatabase" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Workload item type of the item for which intent is to be set." + } + }, + "required": [ + "protectionIntentItemType" + ], + "description": "Azure Workload SQL Auto Protection intent item." + }, + "BackupResourceConfig": { + "type": "object", + "properties": { + "crossRegionRestoreFlag": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Opt in details of Cross Region Restore feature." + }, + "storageModelType": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Invalid", + "GeoRedundant", + "LocallyRedundant", + "ZoneRedundant", + "ReadAccessGeoZoneRedundant" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Storage type." + }, + "storageType": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Invalid", + "GeoRedundant", + "LocallyRedundant", + "ZoneRedundant", + "ReadAccessGeoZoneRedundant" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Storage type." + }, + "storageTypeState": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Invalid", + "Locked", + "Unlocked" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Locked or Unlocked. Once a machine is registered against a resource, the storageTypeState is always Locked." + } + }, + "description": "The resource storage details." + }, + "BackupResourceEncryptionConfig": { + "type": "object", + "properties": { + "encryptionAtRestType": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Invalid", + "MicrosoftManaged", + "CustomerManaged" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Encryption At Rest Type." + }, + "infrastructureEncryptionState": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Invalid", + "Disabled", + "Enabled" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ] + }, + "keyUri": { + "type": "string", + "description": "Key Vault Key URI" + }, + "lastUpdateStatus": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Invalid", + "NotEnabled", + "PartiallySucceeded", + "PartiallyFailed", + "Failed", + "Succeeded", + "Initialized", + "FirstInitialization" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ] + }, + "subscriptionId": { + "type": "string", + "description": "Key Vault Subscription Id" + } + } + }, + "BackupResourceVaultConfig": { + "type": "object", + "properties": { + "enhancedSecurityState": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Invalid", + "Enabled", + "Disabled" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Enabled or Disabled." + }, + "resourceGuardOperationRequests": { + "oneOf": [ + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "ResourceGuard Operation Requests" + }, + "softDeleteFeatureState": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Invalid", + "Enabled", + "Disabled" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Soft Delete feature state." + }, + "storageModelType": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Invalid", + "GeoRedundant", + "LocallyRedundant", + "ZoneRedundant", + "ReadAccessGeoZoneRedundant" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Storage type." + }, + "storageType": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Invalid", + "GeoRedundant", + "LocallyRedundant", + "ZoneRedundant", + "ReadAccessGeoZoneRedundant" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Storage type." + }, + "storageTypeState": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Invalid", + "Locked", + "Unlocked" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Locked or Unlocked. Once a machine is registered against a resource, the storageTypeState is always Locked." + } + }, + "description": "Backup resource vault config details." + }, + "ContainerIdentityInfo": { + "type": "object", + "properties": { + "aadTenantId": { + "type": "string", + "description": "Protection container identity - AAD Tenant" + }, + "audience": { + "type": "string", + "description": "Protection container identity - Audience" + }, + "servicePrincipalClientId": { + "type": "string", + "description": "Protection container identity - AAD Service Principal" + }, + "uniqueName": { + "type": "string", + "description": "Unique name of the container" + } + }, + "description": "Container identity information" + }, + "DailyRetentionFormat": { + "type": "object", + "properties": { + "daysOfTheMonth": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/Day" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "List of days of the month." + } + }, + "description": "Daily retention format." + }, + "DailyRetentionSchedule": { + "type": "object", + "properties": { + "retentionDuration": { + "oneOf": [ + { + "$ref": "#/definitions/RetentionDuration" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Retention duration." + }, + "retentionTimes": { + "oneOf": [ + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Retention times of retention policy." + } + }, + "description": "Daily retention schedule." + }, + "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." + }, + "DiskExclusionProperties": { + "type": "object", + "properties": { + "diskLunList": { + "oneOf": [ + { + "type": "array", + "items": { + "type": "integer" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "List of Disks' Logical Unit Numbers (LUN) to be used for VM Protection." + }, + "isInclusionList": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Flag to indicate whether DiskLunList is to be included/ excluded from backup." + } + } + }, + "DistributedNodesInfo": { + "type": "object", + "properties": { + "errorDetail": { + "oneOf": [ + { + "$ref": "#/definitions/ErrorDetail" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Error Detail class which encapsulates Code, Message and Recommendations." + }, + "nodeName": { + "type": "string", + "description": "Name of the node under a distributed container." + }, + "status": { + "type": "string", + "description": "Status of this Node.\r\nFailed | Succeeded" + } + }, + "description": "This is used to represent the various nodes of the distributed container." + }, + "DpmContainer": { + "type": "object", + "oneOf": [ + { + "$ref": "#/definitions/AzureBackupServerContainer" + } + ], + "properties": { + "canReRegister": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Specifies whether the container is re-registrable." + }, + "containerId": { + "type": "string", + "description": "ID of container." + }, + "containerType": { + "type": "string", + "enum": [ + "DPMContainer" + ] + }, + "dpmAgentVersion": { + "type": "string", + "description": "Backup engine Agent version" + }, + "dpmServers": { + "oneOf": [ + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "List of BackupEngines protecting the container" + }, + "extendedInfo": { + "oneOf": [ + { + "$ref": "#/definitions/DPMContainerExtendedInfo" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Additional information of the DPMContainer." + }, + "protectedItemCount": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Number of protected items in the BackupEngine" + }, + "protectionStatus": { + "type": "string", + "description": "Protection status of the container." + }, + "upgradeAvailable": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "To check if upgrade available" + } + }, + "required": [ + "containerType" + ], + "description": "DPM workload-specific protection container." + }, + "DPMContainerExtendedInfo": { + "type": "object", + "properties": { + "lastRefreshedAt": { + "type": "string", + "format": "date-time", + "description": "Last refresh time of the DPMContainer." + } + }, + "description": "Additional information of the DPMContainer." + }, + "DPMProtectedItem": { + "type": "object", + "properties": { + "backupEngineName": { + "type": "string", + "description": "Backup Management server protecting this backup item" + }, + "extendedInfo": { + "oneOf": [ + { + "$ref": "#/definitions/DPMProtectedItemExtendedInfo" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Additional information of DPM Protected item." + }, + "friendlyName": { + "type": "string", + "description": "Friendly name of the managed item" + }, + "protectedItemType": { + "type": "string", + "enum": [ + "DPMProtectedItem" + ] + }, + "protectionState": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Invalid", + "IRPending", + "Protected", + "ProtectionError", + "ProtectionStopped", + "ProtectionPaused" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Protection state of the backup engine." + } + }, + "required": [ + "protectedItemType" + ], + "description": "Additional information on Backup engine specific backup item." + }, + "DPMProtectedItemExtendedInfo": { + "type": "object", + "properties": { + "diskStorageUsedInBytes": { + "type": "string", + "description": "Used Disk storage in bytes." + }, + "isCollocated": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "To check if backup item is collocated." + }, + "isPresentOnCloud": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "To check if backup item is cloud protected." + }, + "lastBackupStatus": { + "type": "string", + "description": "Last backup status information on backup item." + }, + "lastRefreshedAt": { + "type": "string", + "format": "date-time", + "description": "Last refresh time on backup item." + }, + "oldestRecoveryPoint": { + "type": "string", + "format": "date-time", + "description": "Oldest cloud recovery point time." + }, + "onPremiseLatestRecoveryPoint": { + "type": "string", + "format": "date-time", + "description": "latest disk recovery point time." + }, + "onPremiseOldestRecoveryPoint": { + "type": "string", + "format": "date-time", + "description": "Oldest disk recovery point time." + }, + "onPremiseRecoveryPointCount": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "disk recovery point count." + }, + "protectableObjectLoadPath": { + "oneOf": [ + { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "properties": {} + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Attribute to provide information on various DBs." + }, + "protected": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "To check if backup item is disk protected." + }, + "protectionGroupName": { + "type": "string", + "description": "Protection group name of the backup item." + }, + "recoveryPointCount": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "cloud recovery point count." + }, + "totalDiskStorageSizeInBytes": { + "type": "string", + "description": "total Disk storage in bytes." + } + }, + "description": "Additional information of DPM Protected item." + }, + "ErrorDetail": { + "type": "object", + "properties": {}, + "description": "Error Detail class which encapsulates Code, Message and Recommendations." + }, + "ExtendedProperties": { + "type": "object", + "properties": { + "diskExclusionProperties": { + "oneOf": [ + { + "$ref": "#/definitions/DiskExclusionProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ] + } + }, + "description": "Extended Properties for Azure IaasVM Backup." + }, + "GenericContainer": { + "type": "object", + "properties": { + "containerType": { + "type": "string", + "enum": [ + "GenericContainer" + ] + }, + "extendedInformation": { + "oneOf": [ + { + "$ref": "#/definitions/GenericContainerExtendedInfo" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Container extended information" + }, + "fabricName": { + "type": "string", + "description": "Name of the container's fabric" + } + }, + "required": [ + "containerType" + ], + "description": "Base class for generic container of backup items" + }, + "GenericContainerExtendedInfo": { + "type": "object", + "properties": { + "containerIdentityInfo": { + "oneOf": [ + { + "$ref": "#/definitions/ContainerIdentityInfo" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Container identity information" + }, + "rawCertData": { + "type": "string", + "description": "Public key of container cert" + }, + "serviceEndpoints": { + "oneOf": [ + { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "properties": {} + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Azure Backup Service Endpoints for the container" + } + }, + "description": "Container extended information" + }, + "GenericProtectedItem": { + "type": "object", + "properties": { + "fabricName": { + "type": "string", + "description": "Name of this backup item's fabric." + }, + "friendlyName": { + "type": "string", + "description": "Friendly name of the container." + }, + "policyState": { + "type": "string", + "description": "Indicates consistency of policy object and policy applied to this backup item." + }, + "protectedItemId": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Data Plane Service ID of the protected item." + }, + "protectedItemType": { + "type": "string", + "enum": [ + "GenericProtectedItem" + ] + }, + "protectionState": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Invalid", + "IRPending", + "Protected", + "ProtectionError", + "ProtectionStopped", + "ProtectionPaused" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Backup state of this backup item." + }, + "sourceAssociations": { + "oneOf": [ + { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "properties": {} + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Loosely coupled (type, value) associations (example - parent of a protected item)" + } + }, + "required": [ + "protectedItemType" + ], + "description": "Base class for backup items." + }, + "GenericProtectionPolicy": { + "type": "object", + "properties": { + "backupManagementType": { + "type": "string", + "enum": [ + "GenericProtectionPolicy" + ] + }, + "fabricName": { + "type": "string", + "description": "Name of this policy's fabric." + }, + "subProtectionPolicy": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/SubProtectionPolicy" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "List of sub-protection policies which includes schedule and retention" + }, + "timeZone": { + "type": "string", + "description": "TimeZone optional input as string. For example: TimeZone = \"Pacific Standard Time\"." + } + }, + "required": [ + "backupManagementType" + ], + "description": "Azure VM (Mercury) workload-specific backup policy." + }, + "IaaSVMContainer": { + "type": "object", + "oneOf": [ + { + "$ref": "#/definitions/AzureIaaSClassicComputeVMContainer" + }, + { + "$ref": "#/definitions/AzureIaaSComputeVMContainer" + } + ], + "properties": { + "containerType": { + "type": "string", + "enum": [ + "IaaSVMContainer" + ] + }, + "resourceGroup": { + "type": "string", + "description": "Resource group name of Recovery Services Vault." + }, + "virtualMachineId": { + "type": "string", + "description": "Fully qualified ARM url of the virtual machine represented by this Azure IaaS VM container." + }, + "virtualMachineVersion": { + "type": "string", + "description": "Specifies whether the container represents a Classic or an Azure Resource Manager VM." + } + }, + "required": [ + "containerType" + ], + "description": "IaaS VM workload-specific container." + }, + "InquiryInfo": { + "type": "object", + "properties": { + "errorDetail": { + "oneOf": [ + { + "$ref": "#/definitions/ErrorDetail" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Error Detail class which encapsulates Code, Message and Recommendations." + }, + "inquiryDetails": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/WorkloadInquiryDetails" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Inquiry Details which will have workload specific details.\r\nFor e.g. - For SQL and oracle this will contain different details." + }, + "status": { + "type": "string", + "description": "Inquiry Status for this container such as\r\nInProgress | Failed | Succeeded" + } + }, + "description": "Details about inquired protectable items under a given container." + }, + "InquiryValidation": { + "type": "object", + "properties": { + "errorDetail": { + "oneOf": [ + { + "$ref": "#/definitions/ErrorDetail" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Error Detail class which encapsulates Code, Message and Recommendations." + }, + "status": { + "type": "string", + "description": "Status for the Inquiry Validation." + } + }, + "description": "Validation for inquired protectable items under a given container." + }, + "InstantRPAdditionalDetails": { + "type": "object", + "properties": { + "azureBackupRGNamePrefix": { + "type": "string" + }, + "azureBackupRGNameSuffix": { + "type": "string" + } + } + }, + "KPIResourceHealthDetails": { + "type": "object", + "properties": { + "resourceHealthDetails": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/ResourceHealthDetails" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Resource Health Status" + }, + "resourceHealthStatus": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Healthy", + "TransientDegraded", + "PersistentDegraded", + "TransientUnhealthy", + "PersistentUnhealthy", + "Invalid" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Resource Health Status." + } + }, + "description": "KPI Resource Health Details" + }, + "LogSchedulePolicy": { + "type": "object", + "properties": { + "scheduleFrequencyInMins": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Frequency of the log schedule operation of this policy in minutes." + }, + "schedulePolicyType": { + "type": "string", + "enum": [ + "LogSchedulePolicy" + ] + } + }, + "required": [ + "schedulePolicyType" + ], + "description": "Log policy schedule." + }, + "LongTermRetentionPolicy": { + "type": "object", + "properties": { + "dailySchedule": { + "oneOf": [ + { + "$ref": "#/definitions/DailyRetentionSchedule" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Daily retention schedule." + }, + "monthlySchedule": { + "oneOf": [ + { + "$ref": "#/definitions/MonthlyRetentionSchedule" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Monthly retention schedule." + }, + "retentionPolicyType": { + "type": "string", + "enum": [ + "LongTermRetentionPolicy" + ] + }, + "weeklySchedule": { + "oneOf": [ + { + "$ref": "#/definitions/WeeklyRetentionSchedule" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Weekly retention schedule." + }, + "yearlySchedule": { + "oneOf": [ + { + "$ref": "#/definitions/YearlyRetentionSchedule" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Yearly retention schedule." + } + }, + "required": [ + "retentionPolicyType" + ], + "description": "Long term retention policy." + }, + "LongTermSchedulePolicy": { + "type": "object", + "properties": { + "schedulePolicyType": { + "type": "string", + "enum": [ + "LongTermSchedulePolicy" + ] + } + }, + "required": [ + "schedulePolicyType" + ], + "description": "Long term policy schedule." + }, + "MabContainer": { + "type": "object", + "properties": { + "agentVersion": { + "type": "string", + "description": "Agent version of this container." + }, + "canReRegister": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Can the container be registered one more time." + }, + "containerHealthState": { + "type": "string", + "description": "Health state of mab container." + }, + "containerId": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "ContainerID represents the container." + }, + "containerType": { + "type": "string", + "enum": [ + "Windows" + ] + }, + "extendedInfo": { + "oneOf": [ + { + "$ref": "#/definitions/MabContainerExtendedInfo" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Additional information of the container." + }, + "mabContainerHealthDetails": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/MABContainerHealthDetails" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Health details on this mab container." + }, + "protectedItemCount": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Number of items backed up in this container." + } + }, + "required": [ + "containerType" + ], + "description": "Container with items backed up using MAB backup engine." + }, + "MabContainerExtendedInfo": { + "type": "object", + "properties": { + "backupItems": { + "oneOf": [ + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "List of backup items associated with this container." + }, + "backupItemType": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Invalid", + "VM", + "FileFolder", + "AzureSqlDb", + "SQLDB", + "Exchange", + "Sharepoint", + "VMwareVM", + "SystemState", + "Client", + "GenericDataSource", + "SQLDataBase", + "AzureFileShare", + "SAPHanaDatabase", + "SAPAseDatabase" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Type of backup items associated with this container." + }, + "lastBackupStatus": { + "type": "string", + "description": "Latest backup status of this container." + }, + "lastRefreshedAt": { + "type": "string", + "format": "date-time", + "description": "Time stamp when this container was refreshed." + }, + "policyName": { + "type": "string", + "description": "Backup policy associated with this container." + } + }, + "description": "Additional information of the container." + }, + "MABContainerHealthDetails": { + "type": "object", + "properties": { + "code": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Health Code" + }, + "message": { + "type": "string", + "description": "Health Message" + }, + "recommendations": { + "oneOf": [ + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Health Recommended Actions" + }, + "title": { + "type": "string", + "description": "Health Title" + } + }, + "description": "MAB workload-specific Health Details." + }, + "MabFileFolderProtectedItem": { + "type": "object", + "properties": { + "computerName": { + "type": "string", + "description": "Name of the computer associated with this backup item." + }, + "deferredDeleteSyncTimeInUTC": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Sync time for deferred deletion in UTC" + }, + "extendedInfo": { + "oneOf": [ + { + "$ref": "#/definitions/MabFileFolderProtectedItemExtendedInfo" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Additional information on the backed up item." + }, + "friendlyName": { + "type": "string", + "description": "Friendly name of this backup item." + }, + "lastBackupStatus": { + "type": "string", + "description": "Status of last backup operation." + }, + "lastBackupTime": { + "type": "string", + "format": "date-time", + "description": "Timestamp of the last backup operation on this backup item." + }, + "protectedItemType": { + "type": "string", + "enum": [ + "MabFileFolderProtectedItem" + ] + }, + "protectionState": { + "type": "string", + "description": "Protected, ProtectionStopped, IRPending or ProtectionError" + } + }, + "required": [ + "protectedItemType" + ], + "description": "MAB workload-specific backup item." + }, + "MabFileFolderProtectedItemExtendedInfo": { + "type": "object", + "properties": { + "lastRefreshedAt": { + "type": "string", + "format": "date-time", + "description": "Last time when the agent data synced to service." + }, + "oldestRecoveryPoint": { + "type": "string", + "format": "date-time", + "description": "The oldest backup copy available." + }, + "recoveryPointCount": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Number of backup copies associated with the backup item." + } + }, + "description": "Additional information on the backed up item." + }, + "MabProtectionPolicy": { + "type": "object", + "properties": { + "backupManagementType": { + "type": "string", + "enum": [ + "MAB" + ] + }, + "retentionPolicy": { + "oneOf": [ + { + "$ref": "#/definitions/RetentionPolicy" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Base class for retention policy." + }, + "schedulePolicy": { + "oneOf": [ + { + "$ref": "#/definitions/SchedulePolicy" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Base class for backup schedule." + } + }, + "required": [ + "backupManagementType" + ], + "description": "Mab container-specific backup policy." + }, + "MonthlyRetentionSchedule": { + "type": "object", + "properties": { + "retentionDuration": { + "oneOf": [ + { + "$ref": "#/definitions/RetentionDuration" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Retention duration." + }, + "retentionScheduleDaily": { + "oneOf": [ + { + "$ref": "#/definitions/DailyRetentionFormat" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Daily retention format." + }, + "retentionScheduleFormatType": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Invalid", + "Daily", + "Weekly" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Retention schedule format type for monthly retention policy." + }, + "retentionScheduleWeekly": { + "oneOf": [ + { + "$ref": "#/definitions/WeeklyRetentionFormat" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Weekly retention format." + }, + "retentionTimes": { + "oneOf": [ + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Retention times of retention policy." + } + }, + "description": "Monthly retention schedule." + }, + "PrivateEndpoint": { + "type": "object", + "properties": { + "id": { + "type": "string", + "description": "Gets or sets id" + } + }, + "description": "The Private Endpoint network resource that is linked to the Private Endpoint connection" + }, + "PrivateEndpointConnection": { + "type": "object", + "properties": { + "privateEndpoint": { + "oneOf": [ + { + "$ref": "#/definitions/PrivateEndpoint" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The Private Endpoint network resource that is linked to the Private Endpoint connection" + }, + "privateLinkServiceConnectionState": { + "oneOf": [ + { + "$ref": "#/definitions/PrivateLinkServiceConnectionState" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Private Link Service Connection State" + }, + "provisioningState": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Succeeded", + "Deleting", + "Failed", + "Pending" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Gets or sets provisioning state of the private endpoint connection." + } + }, + "description": "Private Endpoint Connection Response Properties" + }, + "PrivateLinkServiceConnectionState": { + "type": "object", + "properties": { + "actionRequired": { + "type": "string", + "description": "Gets or sets actions required" + }, + "description": { + "type": "string", + "description": "Gets or sets description" + }, + "status": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Pending", + "Approved", + "Rejected", + "Disconnected" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Gets or sets the status." + } + }, + "description": "Private Link Service Connection State" + }, + "ProtectedItem": { + "type": "object", + "oneOf": [ + { + "$ref": "#/definitions/AzureFileshareProtectedItem" + }, + { + "$ref": "#/definitions/AzureIaaSVMProtectedItem" + }, + { + "$ref": "#/definitions/AzureSqlProtectedItem" + }, + { + "$ref": "#/definitions/AzureVmWorkloadProtectedItem" + }, + { + "$ref": "#/definitions/DPMProtectedItem" + }, + { + "$ref": "#/definitions/GenericProtectedItem" + }, + { + "$ref": "#/definitions/MabFileFolderProtectedItem" + } + ], + "properties": { + "backupManagementType": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Invalid", + "AzureIaasVM", + "MAB", + "DPM", + "AzureBackupServer", + "AzureSql", + "AzureStorage", + "AzureWorkload", + "DefaultBackup" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Type of backup management for the backed up item." + }, + "backupSetName": { + "type": "string", + "description": "Name of the backup set the backup item belongs to" + }, + "containerName": { + "type": "string", + "description": "Unique name of container" + }, + "createMode": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Invalid", + "Default", + "Recover" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Create mode to indicate recovery of existing soft deleted data source or creation of new data source." + }, + "deferredDeleteTimeInUTC": { + "type": "string", + "format": "date-time", + "description": "Time for deferred deletion in UTC" + }, + "deferredDeleteTimeRemaining": { + "type": "string", + "description": "Time remaining before the DS marked for deferred delete is permanently deleted" + }, + "isDeferredDeleteScheduleUpcoming": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Flag to identify whether the deferred deleted DS is to be purged soon" + }, + "isRehydrate": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Flag to identify that deferred deleted DS is to be moved into Pause state" + }, + "isScheduledForDeferredDelete": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Flag to identify whether the DS is scheduled for deferred delete" + }, + "lastRecoveryPoint": { + "type": "string", + "format": "date-time", + "description": "Timestamp when the last (latest) backup copy was created for this backup item." + }, + "policyId": { + "type": "string", + "description": "ID of the backup policy with which this item is backed up." + }, + "resourceGuardOperationRequests": { + "oneOf": [ + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "ResourceGuardOperationRequests on which LAC check will be performed" + }, + "sourceResourceId": { + "type": "string", + "description": "ARM ID of the resource to be backed up." + }, + "workloadType": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Invalid", + "VM", + "FileFolder", + "AzureSqlDb", + "SQLDB", + "Exchange", + "Sharepoint", + "VMwareVM", + "SystemState", + "Client", + "GenericDataSource", + "SQLDataBase", + "AzureFileShare", + "SAPHanaDatabase", + "SAPAseDatabase" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Type of workload this item represents." + } + }, + "description": "Base class for backup items." + }, + "ProtectionContainer": { + "type": "object", + "oneOf": [ + { + "$ref": "#/definitions/AzureSqlContainer" + }, + { + "$ref": "#/definitions/AzureStorageContainer" + }, + { + "$ref": "#/definitions/AzureWorkloadContainer" + }, + { + "$ref": "#/definitions/DpmContainer" + }, + { + "$ref": "#/definitions/GenericContainer" + }, + { + "$ref": "#/definitions/IaaSVMContainer" + }, + { + "$ref": "#/definitions/MabContainer" + } + ], + "properties": { + "backupManagementType": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Invalid", + "AzureIaasVM", + "MAB", + "DPM", + "AzureBackupServer", + "AzureSql", + "AzureStorage", + "AzureWorkload", + "DefaultBackup" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Type of backup management for the container." + }, + "friendlyName": { + "type": "string", + "description": "Friendly name of the container." + }, + "healthStatus": { + "type": "string", + "description": "Status of health of the container." + }, + "registrationStatus": { + "type": "string", + "description": "Status of registration of the container with the Recovery Services Vault." + } + }, + "description": "Base class for container with backup items. Containers with specific workloads are derived from this class." + }, + "ProtectionIntent": { + "type": "object", + "oneOf": [ + { + "$ref": "#/definitions/AzureRecoveryServiceVaultProtectionIntent" + }, + { + "$ref": "#/definitions/AzureResourceProtectionIntent" + } + ], + "properties": { + "backupManagementType": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Invalid", + "AzureIaasVM", + "MAB", + "DPM", + "AzureBackupServer", + "AzureSql", + "AzureStorage", + "AzureWorkload", + "DefaultBackup" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Type of backup management for the backed up item." + }, + "itemId": { + "type": "string", + "description": "ID of the item which is getting protected, In case of Azure Vm , it is ProtectedItemId" + }, + "policyId": { + "type": "string", + "description": "ID of the backup policy with which this item is backed up." + }, + "protectionState": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Invalid", + "NotProtected", + "Protecting", + "Protected", + "ProtectionFailed" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Backup state of this backup item." + }, + "sourceResourceId": { + "type": "string", + "description": "ARM ID of the resource to be backed up." + } + }, + "description": "Base class for backup ProtectionIntent." + }, + "ProtectionPolicy": { + "type": "object", + "oneOf": [ + { + "$ref": "#/definitions/AzureVmWorkloadProtectionPolicy" + }, + { + "$ref": "#/definitions/AzureFileShareProtectionPolicy" + }, + { + "$ref": "#/definitions/AzureIaaSVMProtectionPolicy" + }, + { + "$ref": "#/definitions/AzureSqlProtectionPolicy" + }, + { + "$ref": "#/definitions/GenericProtectionPolicy" + }, + { + "$ref": "#/definitions/MabProtectionPolicy" + } + ], + "properties": { + "protectedItemsCount": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Number of items associated with this policy." + }, + "resourceGuardOperationRequests": { + "oneOf": [ + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "ResourceGuard Operation Requests" + } + }, + "description": "Base class for backup policy. Workload-specific backup policies are derived from this class." + }, + "ResourceHealthDetails": { + "type": "object", + "properties": {}, + "description": "Health Details for backup items." + }, + "RetentionDuration": { + "type": "object", + "properties": { + "count": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Count of duration types. Retention duration is obtained by the counting the duration type Count times.\r\nFor example, when Count = 3 and DurationType = Weeks, retention duration will be three weeks." + }, + "durationType": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Invalid", + "Days", + "Weeks", + "Months", + "Years" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Retention duration type of retention policy." + } + }, + "description": "Retention duration." + }, + "RetentionPolicy": { + "type": "object", + "oneOf": [ + { + "$ref": "#/definitions/LongTermRetentionPolicy" + }, + { + "$ref": "#/definitions/SimpleRetentionPolicy" + } + ], + "properties": {}, + "description": "Base class for retention policy." + }, + "SchedulePolicy": { + "type": "object", + "oneOf": [ + { + "$ref": "#/definitions/LogSchedulePolicy" + }, + { + "$ref": "#/definitions/LongTermSchedulePolicy" + }, + { + "$ref": "#/definitions/SimpleSchedulePolicy" + } + ], + "properties": {}, + "description": "Base class for backup schedule." + }, + "Settings": { + "type": "object", + "properties": { + "isCompression": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Workload compression flag. This has been added so that 'isSqlCompression'\r\nwill be deprecated once clients upgrade to consider this flag." + }, + "issqlcompression": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "SQL compression flag" + }, + "timeZone": { + "type": "string", + "description": "TimeZone optional input as string. For example: TimeZone = \"Pacific Standard Time\"." + } + }, + "description": "Common settings field for backup management" + }, + "SimpleRetentionPolicy": { + "type": "object", + "properties": { + "retentionDuration": { + "oneOf": [ + { + "$ref": "#/definitions/RetentionDuration" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Retention duration." + }, + "retentionPolicyType": { + "type": "string", + "enum": [ + "SimpleRetentionPolicy" + ] + } + }, + "required": [ + "retentionPolicyType" + ], + "description": "Simple policy retention." + }, + "SimpleSchedulePolicy": { + "type": "object", + "properties": { + "schedulePolicyType": { + "type": "string", + "enum": [ + "SimpleSchedulePolicy" + ] + }, + "scheduleRunDays": { + "oneOf": [ + { + "type": "array", + "items": { + "type": "string", + "enum": [ + "Sunday", + "Monday", + "Tuesday", + "Wednesday", + "Thursday", + "Friday", + "Saturday" + ] + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "List of days of week this schedule has to be run." + }, + "scheduleRunFrequency": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Invalid", + "Daily", + "Weekly" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Frequency of the schedule operation of this policy." + }, + "scheduleRunTimes": { + "oneOf": [ + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "List of times of day this schedule has to be run." + }, + "scheduleWeeklyFrequency": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "At every number weeks this schedule has to be run." + } + }, + "required": [ + "schedulePolicyType" + ], + "description": "Simple policy schedule." + }, + "SubProtectionPolicy": { + "type": "object", + "properties": { + "policyType": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Invalid", + "Full", + "Differential", + "Log", + "CopyOnlyFull", + "Incremental" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Type of backup policy type." + }, + "retentionPolicy": { + "oneOf": [ + { + "$ref": "#/definitions/RetentionPolicy" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Base class for retention policy." + }, + "schedulePolicy": { + "oneOf": [ + { + "$ref": "#/definitions/SchedulePolicy" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Base class for backup schedule." + } + }, + "description": "Sub-protection policy which includes schedule and retention" + }, + "vaults_backupFabrics_protectionContainers_protectedItems_childResource": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-07-01" + ] + }, + "eTag": { + "type": "string", + "description": "Optional ETag." + }, + "location": { + "type": "string", + "description": "Resource location." + }, + "name": { + "type": "string", + "description": "Item name to be backed up." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/ProtectedItem" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Base class for backup items." + }, + "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": [ + "protectedItems" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.RecoveryServices/vaults/backupFabrics/protectionContainers/protectedItems" + }, + "WeeklyRetentionFormat": { + "type": "object", + "properties": { + "daysOfTheWeek": { + "oneOf": [ + { + "type": "array", + "items": { + "type": "string", + "enum": [ + "Sunday", + "Monday", + "Tuesday", + "Wednesday", + "Thursday", + "Friday", + "Saturday" + ] + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "List of days of the week." + }, + "weeksOfTheMonth": { + "oneOf": [ + { + "type": "array", + "items": { + "type": "string", + "enum": [ + "First", + "Second", + "Third", + "Fourth", + "Last", + "Invalid" + ] + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "List of weeks of month." + } + }, + "description": "Weekly retention format." + }, + "WeeklyRetentionSchedule": { + "type": "object", + "properties": { + "daysOfTheWeek": { + "oneOf": [ + { + "type": "array", + "items": { + "type": "string", + "enum": [ + "Sunday", + "Monday", + "Tuesday", + "Wednesday", + "Thursday", + "Friday", + "Saturday" + ] + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "List of days of week for weekly retention policy." + }, + "retentionDuration": { + "oneOf": [ + { + "$ref": "#/definitions/RetentionDuration" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Retention duration." + }, + "retentionTimes": { + "oneOf": [ + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Retention times of retention policy." + } + }, + "description": "Weekly retention schedule." + }, + "WorkloadInquiryDetails": { + "type": "object", + "properties": { + "inquiryValidation": { + "oneOf": [ + { + "$ref": "#/definitions/InquiryValidation" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Validation for inquired protectable items under a given container." + }, + "itemCount": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Contains the protectable item Count inside this Container." + }, + "type": { + "type": "string", + "description": "Type of the Workload such as SQL, Oracle etc." + } + }, + "description": "Details of an inquired protectable item." + }, + "YearlyRetentionSchedule": { + "type": "object", + "properties": { + "monthsOfYear": { + "oneOf": [ + { + "type": "array", + "items": { + "type": "string", + "enum": [ + "Invalid", + "January", + "February", + "March", + "April", + "May", + "June", + "July", + "August", + "September", + "October", + "November", + "December" + ] + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "List of months of year of yearly retention policy." + }, + "retentionDuration": { + "oneOf": [ + { + "$ref": "#/definitions/RetentionDuration" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Retention duration." + }, + "retentionScheduleDaily": { + "oneOf": [ + { + "$ref": "#/definitions/DailyRetentionFormat" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Daily retention format." + }, + "retentionScheduleFormatType": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Invalid", + "Daily", + "Weekly" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Retention schedule format for yearly retention policy." + }, + "retentionScheduleWeekly": { + "oneOf": [ + { + "$ref": "#/definitions/WeeklyRetentionFormat" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Weekly retention format." + }, + "retentionTimes": { + "oneOf": [ + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Retention times of retention policy." + } + }, + "description": "Yearly retention schedule." + } + } +} \ No newline at end of file diff --git a/schemas/common/autogeneratedResources.json b/schemas/common/autogeneratedResources.json index 4181978737..a4405f6679 100644 --- a/schemas/common/autogeneratedResources.json +++ b/schemas/common/autogeneratedResources.json @@ -7981,6 +7981,33 @@ { "$ref": "https://schema.management.azure.com/schemas/2021-06-01/Microsoft.RecoveryServices.Backup.json#/resourceDefinitions/vaults_privateEndpointConnections" }, + { + "$ref": "https://schema.management.azure.com/schemas/2021-07-01/Microsoft.RecoveryServices.Backup.json#/resourceDefinitions/vaults_backupconfig" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2021-07-01/Microsoft.RecoveryServices.Backup.json#/resourceDefinitions/vaults_backupEncryptionConfigs" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2021-07-01/Microsoft.RecoveryServices.Backup.json#/resourceDefinitions/vaults_backupFabrics_backupProtectionIntent" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2021-07-01/Microsoft.RecoveryServices.Backup.json#/resourceDefinitions/vaults_backupFabrics_protectionContainers" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2021-07-01/Microsoft.RecoveryServices.Backup.json#/resourceDefinitions/vaults_backupFabrics_protectionContainers_protectedItems" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2021-07-01/Microsoft.RecoveryServices.Backup.json#/resourceDefinitions/vaults_backupPolicies" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2021-07-01/Microsoft.RecoveryServices.Backup.json#/resourceDefinitions/vaults_backupResourceGuardProxies" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2021-07-01/Microsoft.RecoveryServices.Backup.json#/resourceDefinitions/vaults_backupstorageconfig" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2021-07-01/Microsoft.RecoveryServices.Backup.json#/resourceDefinitions/vaults_privateEndpointConnections" + }, { "$ref": "https://schema.management.azure.com/schemas/2016-06-01/Microsoft.RecoveryServices.json#/resourceDefinitions/vaults" }, From d95c0f733e645b160189947fa9b539b2ea71e18e Mon Sep 17 00:00:00 2001 From: SDKAuto Date: Thu, 19 Aug 2021 09:33:02 +0000 Subject: [PATCH 61/64] CodeGen from PR 15691 in Azure/azure-rest-api-specs [NetAppFiles] fix default in volumeproperties (#15691) * fix default in volumeproperties * Update description * Update description Co-authored-by: Audunn Baldvinsson --- schemas/2021-06-01/Microsoft.NetApp.json | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/schemas/2021-06-01/Microsoft.NetApp.json b/schemas/2021-06-01/Microsoft.NetApp.json index 90b3af8db1..c50c991b92 100644 --- a/schemas/2021-06-01/Microsoft.NetApp.json +++ b/schemas/2021-06-01/Microsoft.NetApp.json @@ -1702,25 +1702,25 @@ "oneOf": [ { "type": "integer", - "default": "4" + "default": "0" }, { "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" } ], - "description": "Default group quota for volume in KiBs. Minimum 4 KiBs." + "description": "Default group quota for volume in KiBs. If isDefaultQuotaEnabled is set, the minimum value of 4 KiBs applies." }, "defaultUserQuotaInKiBs": { "oneOf": [ { "type": "integer", - "default": "4" + "default": "0" }, { "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" } ], - "description": "Default user quota for volume in KiBs. Minimum 4 KiBs." + "description": "Default user quota for volume in KiBs. If isDefaultQuotaEnabled is set, the minimum value of 4 KiBs applies ." }, "encryptionKeySource": { "type": "string", From 0bbabf700a19e38c2b53493ec02d92c10f955946 Mon Sep 17 00:00:00 2001 From: SDKAuto Date: Thu, 19 Aug 2021 12:14:35 +0000 Subject: [PATCH 62/64] CodeGen from PR 15390 in Azure/azure-rest-api-specs Add2021-06-01AsessmentsAPIVersion (#15390) * Add2021-06-01AsessmentsAPIVersion * Add2021-06-01AsessmentsAPIVersion * Add2021-06-01AsessmentsAPIVersion * Add2021-06-01AsessmentsAPIVersion * Add2021-06-01AsessmentsAPIVersion * Add2021-06-01AsessmentsAPIVersion * Add2021-06-01AsessmentsAPIVersion * Add2021-06-01AsessmentsAPIVersion * Add2021-06-01AsessmentsAPIVersion * Add2021-06-01AsessmentsAPIVersion * Update custom-words.txt Co-authored-by: MIDDLEEAST\morbrisker --- .../subscriptionDeploymentTemplate.json | 6 + schemas/2021-06-01/Microsoft.Security.json | 837 ++++++++++++++++++ schemas/common/autogeneratedResources.json | 3 + 3 files changed, 846 insertions(+) diff --git a/schemas/2018-05-01/subscriptionDeploymentTemplate.json b/schemas/2018-05-01/subscriptionDeploymentTemplate.json index 4cb40f6622..6fd36801e3 100644 --- a/schemas/2018-05-01/subscriptionDeploymentTemplate.json +++ b/schemas/2018-05-01/subscriptionDeploymentTemplate.json @@ -1037,9 +1037,15 @@ { "$ref": "https://schema.management.azure.com/schemas/2021-01-15-preview/Microsoft.Security.json#/subscription_resourceDefinitions/ingestionSettings" }, + { + "$ref": "https://schema.management.azure.com/schemas/2021-06-01/Microsoft.Security.json#/subscription_resourceDefinitions/assessmentMetadata" + }, { "$ref": "https://schema.management.azure.com/schemas/2021-06-01/Microsoft.Security.json#/subscription_resourceDefinitions/settings" }, + { + "$ref": "https://schema.management.azure.com/schemas/2021-06-01/Microsoft.Security.json#/unknown_resourceDefinitions/assessments" + }, { "$ref": "https://schema.management.azure.com/schemas/2021-07-01/Microsoft.Security.json#/subscription_resourceDefinitions/settings" }, diff --git a/schemas/2021-06-01/Microsoft.Security.json b/schemas/2021-06-01/Microsoft.Security.json index 8324cd740c..239bb0ed90 100644 --- a/schemas/2021-06-01/Microsoft.Security.json +++ b/schemas/2021-06-01/Microsoft.Security.json @@ -5,6 +5,45 @@ "description": "Microsoft Security Resource Types", "resourceDefinitions": {}, "subscription_resourceDefinitions": { + "assessmentMetadata": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-06-01" + ] + }, + "name": { + "type": "string", + "description": "The Assessment Key - Unique key for the assessment type" + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/SecurityAssessmentMetadataPropertiesResponse" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Describes properties of an assessment metadata response." + }, + "type": { + "type": "string", + "enum": [ + "Microsoft.Security/assessmentMetadata" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.Security/assessmentMetadata" + }, "settings": { "type": "object", "oneOf": [ @@ -53,6 +92,47 @@ "description": "Microsoft.Security/settings" } }, + "unknown_resourceDefinitions": { + "assessments": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-06-01" + ] + }, + "name": { + "type": "string", + "description": "The Assessment Key - Unique key for the assessment type" + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/SecurityAssessmentProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Describes properties of an assessment." + }, + "type": { + "type": "string", + "enum": [ + "Microsoft.Security/assessments" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.Security/assessments" + } + }, "definitions": { "AlertSyncSettingProperties": { "type": "object", @@ -100,6 +180,59 @@ ], "description": "Represents an alert sync setting" }, + "AssessmentLinks": { + "type": "object", + "properties": {}, + "description": "Links relevant to the assessment" + }, + "AssessmentStatus": { + "type": "object", + "properties": { + "cause": { + "type": "string", + "description": "Programmatic code for the cause of the assessment status" + }, + "code": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Healthy", + "Unhealthy", + "NotApplicable" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Programmatic code for the status of the assessment." + }, + "description": { + "type": "string", + "description": "Human readable description of the assessment status" + } + }, + "required": [ + "code" + ], + "description": "The result of the assessment" + }, + "AzureResourceDetails": { + "type": "object", + "properties": { + "source": { + "type": "string", + "enum": [ + "Azure" + ] + } + }, + "required": [ + "source" + ], + "description": "Details of the Azure resource that was assessed" + }, "DataExportSettingProperties": { "type": "object", "properties": { @@ -145,6 +278,710 @@ "kind" ], "description": "Represents a data export setting" + }, + "OnPremiseResourceDetails": { + "type": "object", + "oneOf": [ + { + "$ref": "#/definitions/OnPremiseSqlResourceDetails" + } + ], + "properties": { + "machineName": { + "type": "string", + "description": "The name of the machine" + }, + "source": { + "type": "string", + "enum": [ + "OnPremise" + ] + }, + "sourceComputerId": { + "type": "string", + "description": "The oms agent Id installed on the machine" + }, + "vmuuid": { + "type": "string", + "description": "The unique Id of the machine" + }, + "workspaceId": { + "type": "string", + "description": "Azure resource Id of the workspace the machine is attached to" + } + }, + "required": [ + "machineName", + "source", + "sourceComputerId", + "vmuuid", + "workspaceId" + ], + "description": "Details of the On Premise resource that was assessed" + }, + "OnPremiseSqlResourceDetails": { + "type": "object", + "properties": { + "databaseName": { + "type": "string", + "description": "The Sql database name installed on the machine" + }, + "serverName": { + "type": "string", + "description": "The Sql server name installed on the machine" + }, + "source": { + "type": "string", + "enum": [ + "OnPremiseSql" + ] + } + }, + "required": [ + "databaseName", + "serverName", + "source" + ], + "description": "Details of the On Premise Sql resource that was assessed" + }, + "ResourceDetails": { + "type": "object", + "oneOf": [ + { + "$ref": "#/definitions/AzureResourceDetails" + }, + { + "$ref": "#/definitions/OnPremiseResourceDetails" + } + ], + "properties": {}, + "description": "Details of the resource that was assessed" + }, + "SecurityAssessmentMetadataPartnerData": { + "type": "object", + "properties": { + "partnerName": { + "type": "string", + "description": "Name of the company of the partner" + }, + "productName": { + "type": "string", + "description": "Name of the product of the partner that created the assessment" + }, + "secret": { + "type": "string", + "description": "Secret to authenticate the partner and verify it created the assessment - write only" + } + }, + "required": [ + "partnerName", + "secret" + ], + "description": "Describes the partner that created the assessment" + }, + "SecurityAssessmentMetadataProperties": { + "type": "object", + "properties": { + "assessmentType": { + "oneOf": [ + { + "type": "string", + "enum": [ + "BuiltIn", + "CustomPolicy", + "CustomerManaged", + "VerifiedPartner" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "BuiltIn if the assessment based on built-in Azure Policy definition, Custom if the assessment based on custom Azure Policy definition." + }, + "categories": { + "oneOf": [ + { + "type": "array", + "items": { + "type": "string", + "enum": [ + "Compute", + "Networking", + "Data", + "IdentityAndAccess", + "IoT" + ] + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ] + }, + "description": { + "type": "string", + "description": "Human readable description of the assessment" + }, + "displayName": { + "type": "string", + "description": "User friendly display name of the assessment" + }, + "implementationEffort": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Low", + "Moderate", + "High" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The implementation effort required to remediate this assessment." + }, + "partnerData": { + "oneOf": [ + { + "$ref": "#/definitions/SecurityAssessmentMetadataPartnerData" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Describes the partner that created the assessment" + }, + "preview": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "True if this assessment is in preview release status" + }, + "remediationDescription": { + "type": "string", + "description": "Human readable description of what you should do to mitigate this security issue" + }, + "severity": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Low", + "Medium", + "High" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The severity level of the assessment." + }, + "threats": { + "oneOf": [ + { + "type": "array", + "items": { + "type": "string", + "enum": [ + "accountBreach", + "dataExfiltration", + "dataSpillage", + "maliciousInsider", + "elevationOfPrivilege", + "threatResistance", + "missingCoverage", + "denialOfService" + ] + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ] + }, + "userImpact": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Low", + "Moderate", + "High" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The user impact of the assessment." + } + }, + "required": [ + "assessmentType", + "displayName", + "severity" + ], + "description": "Describes properties of an assessment metadata." + }, + "SecurityAssessmentMetadataPropertiesResponse": { + "type": "object", + "properties": { + "assessmentType": { + "oneOf": [ + { + "type": "string", + "enum": [ + "BuiltIn", + "CustomPolicy", + "CustomerManaged", + "VerifiedPartner" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "BuiltIn if the assessment based on built-in Azure Policy definition, Custom if the assessment based on custom Azure Policy definition." + }, + "categories": { + "oneOf": [ + { + "type": "array", + "items": { + "type": "string", + "enum": [ + "Compute", + "Networking", + "Data", + "IdentityAndAccess", + "IoT" + ] + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ] + }, + "description": { + "type": "string", + "description": "Human readable description of the assessment" + }, + "displayName": { + "type": "string", + "description": "User friendly display name of the assessment" + }, + "implementationEffort": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Low", + "Moderate", + "High" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The implementation effort required to remediate this assessment." + }, + "partnerData": { + "oneOf": [ + { + "$ref": "#/definitions/SecurityAssessmentMetadataPartnerData" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Describes the partner that created the assessment" + }, + "plannedDeprecationDate": { + "oneOf": [ + { + "type": "string", + "pattern": "^[0-9]{2}/[0-9]{4}$" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ] + }, + "preview": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "True if this assessment is in preview release status" + }, + "publishDates": { + "oneOf": [ + { + "$ref": "#/definitions/SecurityAssessmentMetadataPropertiesResponsePublishDates" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ] + }, + "remediationDescription": { + "type": "string", + "description": "Human readable description of what you should do to mitigate this security issue" + }, + "severity": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Low", + "Medium", + "High" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The severity level of the assessment." + }, + "tactics": { + "oneOf": [ + { + "type": "array", + "items": { + "type": "string", + "enum": [ + "Reconnaissance", + "Resource Development", + "Initial Access", + "Execution", + "Persistence", + "Privilege Escalation", + "Defense Evasion", + "Credential Access", + "Discovery", + "Lateral Movement", + "Collection", + "Command and Control", + "Exfiltration", + "Impact" + ] + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ] + }, + "techniques": { + "oneOf": [ + { + "type": "array", + "items": { + "type": "string", + "enum": [ + "Abuse Elevation Control Mechanism", + "Access Token Manipulation", + "Account Discovery", + "Account Manipulation", + "Active Scanning", + "Application Layer Protocol", + "Audio Capture", + "Boot or Logon Autostart Execution", + "Boot or Logon Initialization Scripts", + "Brute Force", + "Cloud Infrastructure Discovery", + "Cloud Service Dashboard", + "Cloud Service Discovery", + "Command and Scripting Interpreter", + "Compromise Client Software Binary", + "Compromise Infrastructure", + "Container and Resource Discovery", + "Create Account", + "Create or Modify System Process", + "Credentials from Password Stores", + "Data Destruction", + "Data Encrypted for Impact", + "Data from Cloud Storage Object", + "Data from Configuration Repository", + "Data from Information Repositories", + "Data from Local System", + "Data Manipulation", + "Data Staged", + "Defacement", + "Deobfuscate/Decode Files or Information", + "Disk Wipe", + "Domain Trust Discovery", + "Drive-by Compromise", + "Dynamic Resolution", + "Endpoint Denial of Service", + "Event Triggered Execution", + "Exfiltration Over Alternative Protocol", + "Exploit Public-Facing Application", + "Exploitation for Client Execution", + "Exploitation for Credential Access", + "Exploitation for Defense Evasion", + "Exploitation for Privilege Escalation", + "Exploitation of Remote Services", + "External Remote Services", + "Fallback Channels", + "File and Directory Discovery", + "Gather Victim Network Information", + "Hide Artifacts", + "Hijack Execution Flow", + "Impair Defenses", + "Implant Container Image", + "Indicator Removal on Host", + "Indirect Command Execution", + "Ingress Tool Transfer", + "Input Capture", + "Inter-Process Communication", + "Lateral Tool Transfer", + "Man-in-the-Middle", + "Masquerading", + "Modify Authentication Process", + "Modify Registry", + "Network Denial of Service", + "Network Service Scanning", + "Network Sniffing", + "Non-Application Layer Protocol", + "Non-Standard Port", + "Obfuscated Files or Information", + "Obtain Capabilities", + "Obuscated Files or Information", + "Office Application Startup", + "OS Credential Dumping", + "Permission Groups Discovery", + "Phishing", + "Pre-OS Boot", + "Process Discovery", + "Process Injection", + "Protocol Tunneling", + "Proxy", + "Query Registry", + "Remote Access Software", + "Remote Service Session Hijacking", + "Remote Services", + "Remote System Discovery", + "Resource Hijacking", + "Scheduled Task/Job", + "Screen Capture", + "Search Victim-Owned Websites", + "Server Software Component", + "Service Stop", + "Signed Binary Proxy Execution", + "Software Deployment Tools", + "SQL Stored Procedures", + "Steal or Forge Kerberos Tickets", + "Subvert Trust Controls", + "Supply Chain Compromise", + "System Information Discovery", + "Taint Shared Content", + "Traffic Signaling", + "Transfer Data to Cloud Account", + "Trusted Relationship", + "Unsecured Credentials", + "User Execution", + "Valid Accounts", + "Windows Management Instrumentation", + "File and Directory Permissions Modification" + ] + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ] + }, + "threats": { + "oneOf": [ + { + "type": "array", + "items": { + "type": "string", + "enum": [ + "accountBreach", + "dataExfiltration", + "dataSpillage", + "maliciousInsider", + "elevationOfPrivilege", + "threatResistance", + "missingCoverage", + "denialOfService" + ] + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ] + }, + "userImpact": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Low", + "Moderate", + "High" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The user impact of the assessment." + } + }, + "required": [ + "assessmentType", + "displayName", + "severity" + ], + "description": "Describes properties of an assessment metadata response." + }, + "SecurityAssessmentMetadataPropertiesResponsePublishDates": { + "type": "object", + "properties": { + "GA": { + "oneOf": [ + { + "type": "string", + "pattern": "^([0-9]{2}/){2}[0-9]{4}$" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ] + }, + "public": { + "oneOf": [ + { + "type": "string", + "pattern": "^([0-9]{2}/){2}[0-9]{4}$" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ] + } + }, + "required": [ + "public" + ] + }, + "SecurityAssessmentPartnerData": { + "type": "object", + "properties": { + "partnerName": { + "type": "string", + "description": "Name of the company of the partner" + }, + "secret": { + "type": "string", + "description": "secret to authenticate the partner - write only" + } + }, + "required": [ + "partnerName", + "secret" + ], + "description": "Data regarding 3rd party partner integration" + }, + "SecurityAssessmentProperties": { + "type": "object", + "properties": { + "additionalData": { + "oneOf": [ + { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "properties": {} + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Additional data regarding the assessment" + }, + "links": { + "oneOf": [ + { + "$ref": "#/definitions/AssessmentLinks" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Links relevant to the assessment" + }, + "metadata": { + "oneOf": [ + { + "$ref": "#/definitions/SecurityAssessmentMetadataProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Describes properties of an assessment metadata." + }, + "partnersData": { + "oneOf": [ + { + "$ref": "#/definitions/SecurityAssessmentPartnerData" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Data regarding 3rd party partner integration" + }, + "resourceDetails": { + "oneOf": [ + { + "$ref": "#/definitions/ResourceDetails" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Details of the resource that was assessed" + }, + "status": { + "oneOf": [ + { + "$ref": "#/definitions/AssessmentStatus" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The result of the assessment" + } + }, + "required": [ + "resourceDetails", + "status" + ], + "description": "Describes properties of an assessment." } } } \ No newline at end of file diff --git a/schemas/common/autogeneratedResources.json b/schemas/common/autogeneratedResources.json index a4405f6679..726996f12e 100644 --- a/schemas/common/autogeneratedResources.json +++ b/schemas/common/autogeneratedResources.json @@ -8602,6 +8602,9 @@ { "$ref": "https://schema.management.azure.com/schemas/2020-01-01/Microsoft.Security.json#/unknown_resourceDefinitions/assessments" }, + { + "$ref": "https://schema.management.azure.com/schemas/2021-06-01/Microsoft.Security.json#/unknown_resourceDefinitions/assessments" + }, { "$ref": "https://schema.management.azure.com/schemas/2015-08-01/Microsoft.ServiceBus.json#/resourceDefinitions/namespaces" }, From 911092fd32747665cd380f45603b802df3b8facc Mon Sep 17 00:00:00 2001 From: SDKAuto Date: Fri, 20 Aug 2021 03:12:56 +0000 Subject: [PATCH 63/64] CodeGen from PR 15700 in Azure/azure-rest-api-specs Purview add "x-ms-secret" attribute to ListKeys response (#15700) * Purview add "x-ms-secret" attribute to ListKeys response Purview add "x-ms-secret" attribute to ListKeys response * move supressions to top level readme * Add suppressions to top level readme.md Add suppressions to top level readme.md for easier discovery * fix indentation of readme.md --- .../2020-12-01-preview/Microsoft.Purview.json | 339 ++++++++++++++++++ schemas/2021-07-01/Microsoft.Purview.json | 339 ++++++++++++++++++ schemas/common/autogeneratedResources.json | 12 + 3 files changed, 690 insertions(+) create mode 100644 schemas/2020-12-01-preview/Microsoft.Purview.json create mode 100644 schemas/2021-07-01/Microsoft.Purview.json diff --git a/schemas/2020-12-01-preview/Microsoft.Purview.json b/schemas/2020-12-01-preview/Microsoft.Purview.json new file mode 100644 index 0000000000..2903cb449c --- /dev/null +++ b/schemas/2020-12-01-preview/Microsoft.Purview.json @@ -0,0 +1,339 @@ +{ + "id": "https://schema.management.azure.com/schemas/2020-12-01-preview/Microsoft.Purview.json#", + "$schema": "http://json-schema.org/draft-04/schema#", + "title": "Microsoft.Purview", + "description": "Microsoft Purview Resource Types", + "resourceDefinitions": { + "accounts": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2020-12-01-preview" + ] + }, + "identity": { + "oneOf": [ + { + "$ref": "#/definitions/Identity" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The Managed Identity of the resource" + }, + "location": { + "type": "string", + "description": "Gets or sets the location." + }, + "name": { + "type": "string", + "description": "The name of the account." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/AccountProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The account properties" + }, + "resources": { + "type": "array", + "items": { + "oneOf": [ + { + "$ref": "#/definitions/accounts_privateEndpointConnections_childResource" + } + ] + } + }, + "sku": { + "oneOf": [ + { + "$ref": "#/definitions/AccountSku" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The Sku" + }, + "tags": { + "oneOf": [ + { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "properties": {} + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Tags on the azure resource." + }, + "type": { + "type": "string", + "enum": [ + "Microsoft.Purview/accounts" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.Purview/accounts" + }, + "accounts_privateEndpointConnections": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2020-12-01-preview" + ] + }, + "name": { + "type": "string", + "description": "Name of the private endpoint connection." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/PrivateEndpointConnectionProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "A private endpoint connection properties class." + }, + "type": { + "type": "string", + "enum": [ + "Microsoft.Purview/accounts/privateEndpointConnections" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.Purview/accounts/privateEndpointConnections" + } + }, + "definitions": { + "AccountProperties": { + "type": "object", + "properties": { + "cloudConnectors": { + "oneOf": [ + { + "$ref": "#/definitions/CloudConnectors" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ] + }, + "managedResourceGroupName": { + "type": "string", + "description": "Gets or sets the managed resource group name" + }, + "publicNetworkAccess": { + "oneOf": [ + { + "type": "string", + "enum": [ + "NotSpecified", + "Enabled", + "Disabled" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Gets or sets the public network access." + } + }, + "description": "The account properties" + }, + "AccountSku": { + "type": "object", + "properties": { + "capacity": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Gets or sets the sku capacity. Possible values include: 4, 16" + }, + "name": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Standard" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Gets or sets the sku name." + } + }, + "description": "The Sku" + }, + "accounts_privateEndpointConnections_childResource": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2020-12-01-preview" + ] + }, + "name": { + "type": "string", + "description": "Name of the private endpoint connection." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/PrivateEndpointConnectionProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "A private endpoint connection properties class." + }, + "type": { + "type": "string", + "enum": [ + "privateEndpointConnections" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.Purview/accounts/privateEndpointConnections" + }, + "CloudConnectors": { + "type": "object", + "properties": {} + }, + "Identity": { + "type": "object", + "properties": { + "type": { + "oneOf": [ + { + "type": "string", + "enum": [ + "SystemAssigned" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Identity Type." + } + }, + "description": "The Managed Identity of the resource" + }, + "PrivateEndpoint": { + "type": "object", + "properties": { + "id": { + "type": "string", + "description": "The private endpoint identifier." + } + }, + "description": "A private endpoint class." + }, + "PrivateEndpointConnectionProperties": { + "type": "object", + "properties": { + "privateEndpoint": { + "oneOf": [ + { + "$ref": "#/definitions/PrivateEndpoint" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "A private endpoint class." + }, + "privateLinkServiceConnectionState": { + "oneOf": [ + { + "$ref": "#/definitions/PrivateLinkServiceConnectionState" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The private link service connection state." + } + }, + "description": "A private endpoint connection properties class." + }, + "PrivateLinkServiceConnectionState": { + "type": "object", + "properties": { + "actionsRequired": { + "type": "string", + "description": "The required actions." + }, + "description": { + "type": "string", + "description": "The description." + }, + "status": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Unknown", + "Pending", + "Approved", + "Rejected", + "Disconnected" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The status." + } + }, + "description": "The private link service connection state." + } + } +} \ No newline at end of file diff --git a/schemas/2021-07-01/Microsoft.Purview.json b/schemas/2021-07-01/Microsoft.Purview.json new file mode 100644 index 0000000000..839bed245b --- /dev/null +++ b/schemas/2021-07-01/Microsoft.Purview.json @@ -0,0 +1,339 @@ +{ + "id": "https://schema.management.azure.com/schemas/2021-07-01/Microsoft.Purview.json#", + "$schema": "http://json-schema.org/draft-04/schema#", + "title": "Microsoft.Purview", + "description": "Microsoft Purview Resource Types", + "resourceDefinitions": { + "accounts": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-07-01" + ] + }, + "identity": { + "oneOf": [ + { + "$ref": "#/definitions/Identity" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The Managed Identity of the resource" + }, + "location": { + "type": "string", + "description": "Gets or sets the location." + }, + "name": { + "type": "string", + "description": "The name of the account." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/AccountProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The account properties" + }, + "resources": { + "type": "array", + "items": { + "oneOf": [ + { + "$ref": "#/definitions/accounts_privateEndpointConnections_childResource" + } + ] + } + }, + "sku": { + "oneOf": [ + { + "$ref": "#/definitions/AccountSku" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The Sku" + }, + "tags": { + "oneOf": [ + { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "properties": {} + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Tags on the azure resource." + }, + "type": { + "type": "string", + "enum": [ + "Microsoft.Purview/accounts" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.Purview/accounts" + }, + "accounts_privateEndpointConnections": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-07-01" + ] + }, + "name": { + "type": "string", + "description": "Name of the private endpoint connection." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/PrivateEndpointConnectionProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "A private endpoint connection properties class." + }, + "type": { + "type": "string", + "enum": [ + "Microsoft.Purview/accounts/privateEndpointConnections" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.Purview/accounts/privateEndpointConnections" + } + }, + "definitions": { + "AccountProperties": { + "type": "object", + "properties": { + "cloudConnectors": { + "oneOf": [ + { + "$ref": "#/definitions/CloudConnectors" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ] + }, + "managedResourceGroupName": { + "type": "string", + "description": "Gets or sets the managed resource group name" + }, + "publicNetworkAccess": { + "oneOf": [ + { + "type": "string", + "enum": [ + "NotSpecified", + "Enabled", + "Disabled" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Gets or sets the public network access." + } + }, + "description": "The account properties" + }, + "AccountSku": { + "type": "object", + "properties": { + "capacity": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Gets or sets the sku capacity. Possible values include: 4, 16" + }, + "name": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Standard" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Gets or sets the sku name." + } + }, + "description": "The Sku" + }, + "accounts_privateEndpointConnections_childResource": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-07-01" + ] + }, + "name": { + "type": "string", + "description": "Name of the private endpoint connection." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/PrivateEndpointConnectionProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "A private endpoint connection properties class." + }, + "type": { + "type": "string", + "enum": [ + "privateEndpointConnections" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.Purview/accounts/privateEndpointConnections" + }, + "CloudConnectors": { + "type": "object", + "properties": {} + }, + "Identity": { + "type": "object", + "properties": { + "type": { + "oneOf": [ + { + "type": "string", + "enum": [ + "SystemAssigned" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Identity Type." + } + }, + "description": "The Managed Identity of the resource" + }, + "PrivateEndpoint": { + "type": "object", + "properties": { + "id": { + "type": "string", + "description": "The private endpoint identifier." + } + }, + "description": "A private endpoint class." + }, + "PrivateEndpointConnectionProperties": { + "type": "object", + "properties": { + "privateEndpoint": { + "oneOf": [ + { + "$ref": "#/definitions/PrivateEndpoint" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "A private endpoint class." + }, + "privateLinkServiceConnectionState": { + "oneOf": [ + { + "$ref": "#/definitions/PrivateLinkServiceConnectionState" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The private link service connection state." + } + }, + "description": "A private endpoint connection properties class." + }, + "PrivateLinkServiceConnectionState": { + "type": "object", + "properties": { + "actionsRequired": { + "type": "string", + "description": "The required actions." + }, + "description": { + "type": "string", + "description": "The description." + }, + "status": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Unknown", + "Pending", + "Approved", + "Rejected", + "Disconnected" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The status." + } + }, + "description": "The private link service connection state." + } + } +} \ No newline at end of file diff --git a/schemas/common/autogeneratedResources.json b/schemas/common/autogeneratedResources.json index 726996f12e..944f93f28d 100644 --- a/schemas/common/autogeneratedResources.json +++ b/schemas/common/autogeneratedResources.json @@ -7756,6 +7756,18 @@ { "$ref": "https://schema.management.azure.com/schemas/2020-10-30-preview/Microsoft.PowerPlatform.json#/resourceDefinitions/enterprisePolicies_privateEndpointConnections" }, + { + "$ref": "https://schema.management.azure.com/schemas/2020-12-01-preview/Microsoft.Purview.json#/resourceDefinitions/accounts" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2020-12-01-preview/Microsoft.Purview.json#/resourceDefinitions/accounts_privateEndpointConnections" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2021-07-01/Microsoft.Purview.json#/resourceDefinitions/accounts" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2021-07-01/Microsoft.Purview.json#/resourceDefinitions/accounts_privateEndpointConnections" + }, { "$ref": "https://schema.management.azure.com/schemas/2019-11-04-preview/Microsoft.Quantum.json#/resourceDefinitions/workspaces" }, From ae83d615eab296c531135d01db07b9f8afeba0be Mon Sep 17 00:00:00 2001 From: SDKAuto Date: Mon, 23 Aug 2021 22:52:36 +0000 Subject: [PATCH 64/64] CodeGen from PR 14780 in Azure/azure-rest-api-specs Merge 610d8ec271917a68f63527b86342a9cecfad86b3 into 6de27dc43268e23cbb322bdf18016c8b944f8926 --- .../2021-06-01-preview/Microsoft.Synapse.json | 11 + schemas/2021-06-01/Microsoft.Synapse.json | 5687 +++++++++++++++++ schemas/common/autogeneratedResources.json | 93 + 3 files changed, 5791 insertions(+) create mode 100644 schemas/2021-06-01/Microsoft.Synapse.json diff --git a/schemas/2021-06-01-preview/Microsoft.Synapse.json b/schemas/2021-06-01-preview/Microsoft.Synapse.json index e590d80a35..a237c4572d 100644 --- a/schemas/2021-06-01-preview/Microsoft.Synapse.json +++ b/schemas/2021-06-01-preview/Microsoft.Synapse.json @@ -5516,6 +5516,17 @@ "WorkspaceProperties": { "type": "object", "properties": { + "azureADOnlyAuthentication": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Enable or Disable AzureADOnlyAuthentication on All Workspace subresource" + }, "connectivityEndpoints": { "oneOf": [ { diff --git a/schemas/2021-06-01/Microsoft.Synapse.json b/schemas/2021-06-01/Microsoft.Synapse.json new file mode 100644 index 0000000000..42b1928233 --- /dev/null +++ b/schemas/2021-06-01/Microsoft.Synapse.json @@ -0,0 +1,5687 @@ +{ + "id": "https://schema.management.azure.com/schemas/2021-06-01/Microsoft.Synapse.json#", + "$schema": "http://json-schema.org/draft-04/schema#", + "title": "Microsoft.Synapse", + "description": "Microsoft Synapse Resource Types", + "resourceDefinitions": { + "privateLinkHubs": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-06-01" + ] + }, + "location": { + "type": "string", + "description": "The geo-location where the resource lives" + }, + "name": { + "type": "string", + "description": "Name of the privateLinkHub" + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/PrivateLinkHubProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "PrivateLinkHub 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.Synapse/privateLinkHubs" + ] + } + }, + "required": [ + "apiVersion", + "location", + "name", + "properties", + "type" + ], + "description": "Microsoft.Synapse/privateLinkHubs" + }, + "workspaces": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-06-01" + ] + }, + "identity": { + "oneOf": [ + { + "$ref": "#/definitions/ManagedIdentity" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The workspace managed identity" + }, + "location": { + "type": "string", + "description": "The geo-location where the resource lives" + }, + "name": { + "type": "string", + "description": "The name of the workspace" + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/WorkspaceProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Workspace properties" + }, + "resources": { + "type": "array", + "items": { + "oneOf": [ + { + "$ref": "#/definitions/workspaces_bigDataPools_childResource" + }, + { + "$ref": "#/definitions/workspaces_firewallRules_childResource" + }, + { + "$ref": "#/definitions/workspaces_integrationRuntimes_childResource" + }, + { + "$ref": "#/definitions/workspaces_keys_childResource" + }, + { + "$ref": "#/definitions/workspaces_privateEndpointConnections_childResource" + }, + { + "$ref": "#/definitions/workspaces_sqlPools_childResource" + }, + { + "$ref": "#/definitions/workspaces_auditingSettings_childResource" + }, + { + "$ref": "#/definitions/workspaces_extendedAuditingSettings_childResource" + }, + { + "$ref": "#/definitions/workspaces_securityAlertPolicies_childResource" + }, + { + "$ref": "#/definitions/workspaces_vulnerabilityAssessments_childResource" + }, + { + "$ref": "#/definitions/workspaces_encryptionProtector_childResource" + }, + { + "$ref": "#/definitions/workspaces_administrators_childResource" + }, + { + "$ref": "#/definitions/workspaces_sqlAdministrators_childResource" + }, + { + "$ref": "#/definitions/workspaces_managedIdentitySqlControlSettings_childResource" + }, + { + "$ref": "#/definitions/workspaces_azureADOnlyAuthentications_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.Synapse/workspaces" + ] + } + }, + "required": [ + "apiVersion", + "location", + "name", + "properties", + "type" + ], + "description": "Microsoft.Synapse/workspaces" + }, + "workspaces_administrators": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-06-01" + ] + }, + "name": { + "oneOf": [ + { + "type": "string", + "pattern": "^.*/activeDirectory$" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ] + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/AadAdminProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Workspace active directory administrator properties" + }, + "type": { + "type": "string", + "enum": [ + "Microsoft.Synapse/workspaces/administrators" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.Synapse/workspaces/administrators" + }, + "workspaces_auditingSettings": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-06-01" + ] + }, + "name": { + "oneOf": [ + { + "type": "string", + "pattern": "^.*/default$" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The name of the blob auditing policy." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/ServerBlobAuditingPolicyProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Properties of a server blob auditing policy." + }, + "type": { + "type": "string", + "enum": [ + "Microsoft.Synapse/workspaces/auditingSettings" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.Synapse/workspaces/auditingSettings" + }, + "workspaces_azureADOnlyAuthentications": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-06-01" + ] + }, + "name": { + "oneOf": [ + { + "type": "string", + "pattern": "^.*/default$" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "name of the property" + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/AzureADOnlyAuthenticationProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Properties of a active directory only authentication." + }, + "type": { + "type": "string", + "enum": [ + "Microsoft.Synapse/workspaces/azureADOnlyAuthentications" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.Synapse/workspaces/azureADOnlyAuthentications" + }, + "workspaces_bigDataPools": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-06-01" + ] + }, + "location": { + "type": "string", + "description": "The geo-location where the resource lives" + }, + "name": { + "type": "string", + "description": "Big Data pool name" + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/BigDataPoolResourceProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Properties of a Big Data pool powered by Apache Spark" + }, + "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.Synapse/workspaces/bigDataPools" + ] + } + }, + "required": [ + "apiVersion", + "location", + "name", + "properties", + "type" + ], + "description": "Microsoft.Synapse/workspaces/bigDataPools" + }, + "workspaces_encryptionProtector": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-06-01" + ] + }, + "name": { + "oneOf": [ + { + "type": "string", + "pattern": "^.*/current$" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The name of the encryption protector." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/EncryptionProtectorProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Properties for an encryption protector execution." + }, + "type": { + "type": "string", + "enum": [ + "Microsoft.Synapse/workspaces/encryptionProtector" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.Synapse/workspaces/encryptionProtector" + }, + "workspaces_extendedAuditingSettings": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-06-01" + ] + }, + "name": { + "oneOf": [ + { + "type": "string", + "pattern": "^.*/default$" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The name of the blob auditing policy." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/ExtendedServerBlobAuditingPolicyProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Properties of an extended server blob auditing policy." + }, + "type": { + "type": "string", + "enum": [ + "Microsoft.Synapse/workspaces/extendedAuditingSettings" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.Synapse/workspaces/extendedAuditingSettings" + }, + "workspaces_firewallRules": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-06-01" + ] + }, + "name": { + "type": "string", + "description": "The IP firewall rule name" + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/IpFirewallRuleProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "IP firewall rule properties" + }, + "type": { + "type": "string", + "enum": [ + "Microsoft.Synapse/workspaces/firewallRules" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.Synapse/workspaces/firewallRules" + }, + "workspaces_integrationRuntimes": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-06-01" + ] + }, + "name": { + "type": "string", + "description": "Integration runtime name" + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/IntegrationRuntime" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Azure Synapse nested object which serves as a compute resource for activities." + }, + "type": { + "type": "string", + "enum": [ + "Microsoft.Synapse/workspaces/integrationRuntimes" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.Synapse/workspaces/integrationRuntimes" + }, + "workspaces_keys": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-06-01" + ] + }, + "name": { + "type": "string", + "description": "The name of the workspace key" + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/KeyProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Key properties" + }, + "type": { + "type": "string", + "enum": [ + "Microsoft.Synapse/workspaces/keys" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.Synapse/workspaces/keys" + }, + "workspaces_managedIdentitySqlControlSettings": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-06-01" + ] + }, + "name": { + "oneOf": [ + { + "type": "string", + "pattern": "^.*/default$" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ] + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/ManagedIdentitySqlControlSettingsModelProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Sql Control Settings for workspace managed identity" + }, + "type": { + "type": "string", + "enum": [ + "Microsoft.Synapse/workspaces/managedIdentitySqlControlSettings" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.Synapse/workspaces/managedIdentitySqlControlSettings" + }, + "workspaces_privateEndpointConnections": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-06-01" + ] + }, + "name": { + "type": "string", + "description": "The name of the private endpoint connection." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/PrivateEndpointConnectionProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Properties of a private endpoint connection." + }, + "type": { + "type": "string", + "enum": [ + "Microsoft.Synapse/workspaces/privateEndpointConnections" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.Synapse/workspaces/privateEndpointConnections" + }, + "workspaces_securityAlertPolicies": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-06-01" + ] + }, + "name": { + "oneOf": [ + { + "type": "string", + "pattern": "^.*/default$" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The name of the security alert policy." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/ServerSecurityAlertPolicyProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Properties of a security alert policy." + }, + "type": { + "type": "string", + "enum": [ + "Microsoft.Synapse/workspaces/securityAlertPolicies" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.Synapse/workspaces/securityAlertPolicies" + }, + "workspaces_sqlAdministrators": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-06-01" + ] + }, + "name": { + "oneOf": [ + { + "type": "string", + "pattern": "^.*/activeDirectory$" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ] + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/AadAdminProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Workspace active directory administrator properties" + }, + "type": { + "type": "string", + "enum": [ + "Microsoft.Synapse/workspaces/sqlAdministrators" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.Synapse/workspaces/sqlAdministrators" + }, + "workspaces_sqlPools": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-06-01" + ] + }, + "location": { + "type": "string", + "description": "The geo-location where the resource lives" + }, + "name": { + "type": "string", + "description": "SQL pool name" + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/SqlPoolResourceProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Properties of a SQL Analytics pool" + }, + "resources": { + "type": "array", + "items": { + "oneOf": [ + { + "$ref": "#/definitions/workspaces_sqlPools_metadataSync_childResource" + }, + { + "$ref": "#/definitions/workspaces_sqlPools_geoBackupPolicies_childResource" + }, + { + "$ref": "#/definitions/workspaces_sqlPools_maintenancewindows_childResource" + }, + { + "$ref": "#/definitions/workspaces_sqlPools_transparentDataEncryption_childResource" + }, + { + "$ref": "#/definitions/workspaces_sqlPools_auditingSettings_childResource" + }, + { + "$ref": "#/definitions/workspaces_sqlPools_vulnerabilityAssessments_childResource" + }, + { + "$ref": "#/definitions/workspaces_sqlPools_securityAlertPolicies_childResource" + }, + { + "$ref": "#/definitions/workspaces_sqlPools_extendedAuditingSettings_childResource" + }, + { + "$ref": "#/definitions/workspaces_sqlPools_dataMaskingPolicies_childResource" + }, + { + "$ref": "#/definitions/workspaces_sqlPools_workloadGroups_childResource" + } + ] + } + }, + "sku": { + "oneOf": [ + { + "$ref": "#/definitions/Sku" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "SQL pool SKU" + }, + "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.Synapse/workspaces/sqlPools" + ] + } + }, + "required": [ + "apiVersion", + "location", + "name", + "properties", + "type" + ], + "description": "Microsoft.Synapse/workspaces/sqlPools" + }, + "workspaces_sqlPools_auditingSettings": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-06-01" + ] + }, + "name": { + "oneOf": [ + { + "type": "string", + "pattern": "^.*/default$" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The name of the blob auditing policy." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/SqlPoolBlobAuditingPolicyProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Properties of a Sql pool blob auditing policy." + }, + "type": { + "type": "string", + "enum": [ + "Microsoft.Synapse/workspaces/sqlPools/auditingSettings" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.Synapse/workspaces/sqlPools/auditingSettings" + }, + "workspaces_sqlPools_dataMaskingPolicies": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-06-01" + ] + }, + "name": { + "oneOf": [ + { + "type": "string", + "pattern": "^.*/Default$" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The name of the data masking policy for which the masking rule applies." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/DataMaskingPolicyProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The properties of a database data masking policy." + }, + "resources": { + "type": "array", + "items": { + "oneOf": [ + { + "$ref": "#/definitions/workspaces_sqlPools_dataMaskingPolicies_rules_childResource" + } + ] + } + }, + "type": { + "type": "string", + "enum": [ + "Microsoft.Synapse/workspaces/sqlPools/dataMaskingPolicies" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.Synapse/workspaces/sqlPools/dataMaskingPolicies" + }, + "workspaces_sqlPools_dataMaskingPolicies_rules": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-06-01" + ] + }, + "name": { + "type": "string", + "description": "The name of the data masking rule." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/DataMaskingRuleProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The properties of a Sql pool data masking rule." + }, + "type": { + "type": "string", + "enum": [ + "Microsoft.Synapse/workspaces/sqlPools/dataMaskingPolicies/rules" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.Synapse/workspaces/sqlPools/dataMaskingPolicies/rules" + }, + "workspaces_sqlPools_extendedAuditingSettings": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-06-01" + ] + }, + "name": { + "oneOf": [ + { + "type": "string", + "pattern": "^.*/default$" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The name of the blob auditing policy." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/ExtendedSqlPoolBlobAuditingPolicyProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Properties of an extended Sql pool blob auditing policy." + }, + "type": { + "type": "string", + "enum": [ + "Microsoft.Synapse/workspaces/sqlPools/extendedAuditingSettings" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.Synapse/workspaces/sqlPools/extendedAuditingSettings" + }, + "workspaces_sqlPools_geoBackupPolicies": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-06-01" + ] + }, + "name": { + "oneOf": [ + { + "type": "string", + "pattern": "^.*/Default$" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The name of the geo backup policy." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/GeoBackupPolicyProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The properties of the geo backup policy." + }, + "type": { + "type": "string", + "enum": [ + "Microsoft.Synapse/workspaces/sqlPools/geoBackupPolicies" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.Synapse/workspaces/sqlPools/geoBackupPolicies" + }, + "workspaces_sqlPools_maintenancewindows": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-06-01" + ] + }, + "name": { + "oneOf": [ + { + "type": "string", + "pattern": "^.*/current$" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ] + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/MaintenanceWindowsProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Maintenance windows resource properties." + }, + "type": { + "type": "string", + "enum": [ + "Microsoft.Synapse/workspaces/sqlPools/maintenancewindows" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.Synapse/workspaces/sqlPools/maintenancewindows" + }, + "workspaces_sqlPools_metadataSync": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-06-01" + ] + }, + "name": { + "oneOf": [ + { + "type": "string", + "pattern": "^.*/config$" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ] + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/MetadataSyncConfigProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Metadata Sync Config properties" + }, + "type": { + "type": "string", + "enum": [ + "Microsoft.Synapse/workspaces/sqlPools/metadataSync" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.Synapse/workspaces/sqlPools/metadataSync" + }, + "workspaces_sqlPools_schemas_tables_columns_sensitivityLabels": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-06-01" + ] + }, + "name": { + "oneOf": [ + { + "type": "string", + "pattern": "^.*/current$" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The source of the sensitivity label." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/SensitivityLabelProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Properties of a sensitivity label." + }, + "type": { + "type": "string", + "enum": [ + "Microsoft.Synapse/workspaces/sqlPools/schemas/tables/columns/sensitivityLabels" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.Synapse/workspaces/sqlPools/schemas/tables/columns/sensitivityLabels" + }, + "workspaces_sqlPools_securityAlertPolicies": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-06-01" + ] + }, + "name": { + "oneOf": [ + { + "type": "string", + "pattern": "^.*/default$" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The name of the security alert policy." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/SecurityAlertPolicyProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Properties of a security alert policy." + }, + "type": { + "type": "string", + "enum": [ + "Microsoft.Synapse/workspaces/sqlPools/securityAlertPolicies" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.Synapse/workspaces/sqlPools/securityAlertPolicies" + }, + "workspaces_sqlPools_transparentDataEncryption": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-06-01" + ] + }, + "name": { + "oneOf": [ + { + "type": "string", + "pattern": "^.*/current$" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The name of the transparent data encryption configuration." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/TransparentDataEncryptionProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Represents the properties of a database transparent data encryption." + }, + "type": { + "type": "string", + "enum": [ + "Microsoft.Synapse/workspaces/sqlPools/transparentDataEncryption" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.Synapse/workspaces/sqlPools/transparentDataEncryption" + }, + "workspaces_sqlPools_vulnerabilityAssessments": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-06-01" + ] + }, + "name": { + "oneOf": [ + { + "type": "string", + "pattern": "^.*/default$" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The name of the vulnerability assessment." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/SqlPoolVulnerabilityAssessmentProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Properties of a Sql pool Vulnerability Assessment." + }, + "type": { + "type": "string", + "enum": [ + "Microsoft.Synapse/workspaces/sqlPools/vulnerabilityAssessments" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.Synapse/workspaces/sqlPools/vulnerabilityAssessments" + }, + "workspaces_sqlPools_vulnerabilityAssessments_rules_baselines": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-06-01" + ] + }, + "name": { + "oneOf": [ + { + "type": "string", + "enum": [ + "master", + "default" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The name of the vulnerability assessment rule baseline (default implies a baseline on a Sql pool level rule and master for workspace level rule)." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/SqlPoolVulnerabilityAssessmentRuleBaselineProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Properties of a Sql pool vulnerability assessment rule baseline." + }, + "type": { + "type": "string", + "enum": [ + "Microsoft.Synapse/workspaces/sqlPools/vulnerabilityAssessments/rules/baselines" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.Synapse/workspaces/sqlPools/vulnerabilityAssessments/rules/baselines" + }, + "workspaces_sqlPools_workloadGroups": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-06-01" + ] + }, + "name": { + "type": "string", + "description": "The name of the workload group." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/WorkloadGroupProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Workload group definition. For more information look at sys.workload_management_workload_groups (DMV)." + }, + "resources": { + "type": "array", + "items": { + "oneOf": [ + { + "$ref": "#/definitions/workspaces_sqlPools_workloadGroups_workloadClassifiers_childResource" + } + ] + } + }, + "type": { + "type": "string", + "enum": [ + "Microsoft.Synapse/workspaces/sqlPools/workloadGroups" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.Synapse/workspaces/sqlPools/workloadGroups" + }, + "workspaces_sqlPools_workloadGroups_workloadClassifiers": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-06-01" + ] + }, + "name": { + "type": "string", + "description": "The name of the workload classifier." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/WorkloadClassifierProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Workload classifier definition. For more information look at sys.workload_management_workload_classifiers (DMV)." + }, + "type": { + "type": "string", + "enum": [ + "Microsoft.Synapse/workspaces/sqlPools/workloadGroups/workloadClassifiers" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.Synapse/workspaces/sqlPools/workloadGroups/workloadClassifiers" + }, + "workspaces_vulnerabilityAssessments": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-06-01" + ] + }, + "name": { + "oneOf": [ + { + "type": "string", + "pattern": "^.*/default$" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The name of the vulnerability assessment." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/ServerVulnerabilityAssessmentProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Properties of a server Vulnerability Assessment." + }, + "type": { + "type": "string", + "enum": [ + "Microsoft.Synapse/workspaces/vulnerabilityAssessments" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.Synapse/workspaces/vulnerabilityAssessments" + } + }, + "definitions": { + "AadAdminProperties": { + "type": "object", + "properties": { + "administratorType": { + "type": "string", + "description": "Workspace active directory administrator type" + }, + "login": { + "type": "string", + "description": "Login of the workspace active directory administrator" + }, + "sid": { + "type": "string", + "description": "Object ID of the workspace active directory administrator" + }, + "tenantId": { + "type": "string", + "description": "Tenant ID of the workspace active directory administrator" + } + }, + "description": "Workspace active directory administrator properties" + }, + "AutoPauseProperties": { + "type": "object", + "properties": { + "delayInMinutes": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Number of minutes of idle time before the Big Data pool is automatically paused." + }, + "enabled": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Whether auto-pausing is enabled for the Big Data pool." + } + }, + "description": "Auto-pausing properties of a Big Data pool powered by Apache Spark" + }, + "AutoScaleProperties": { + "type": "object", + "properties": { + "enabled": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Whether automatic scaling is enabled for the Big Data pool." + }, + "maxNodeCount": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The maximum number of nodes the Big Data pool can support." + }, + "minNodeCount": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The minimum number of nodes the Big Data pool can support." + } + }, + "description": "Auto-scaling properties of a Big Data pool powered by Apache Spark" + }, + "AzureADOnlyAuthenticationProperties": { + "type": "object", + "properties": { + "azureADOnlyAuthentication": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Azure Active Directory only Authentication enabled." + } + }, + "required": [ + "azureADOnlyAuthentication" + ], + "description": "Properties of a active directory only authentication." + }, + "BigDataPoolResourceProperties": { + "type": "object", + "properties": { + "autoPause": { + "oneOf": [ + { + "$ref": "#/definitions/AutoPauseProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Auto-pausing properties of a Big Data pool powered by Apache Spark" + }, + "autoScale": { + "oneOf": [ + { + "$ref": "#/definitions/AutoScaleProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Auto-scaling properties of a Big Data pool powered by Apache Spark" + }, + "cacheSize": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The cache size" + }, + "creationDate": { + "type": "string", + "format": "date-time", + "description": "The time when the Big Data pool was created." + }, + "customLibraries": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/LibraryInfo" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "List of custom libraries/packages associated with the spark pool." + }, + "defaultSparkLogFolder": { + "type": "string", + "description": "The default folder where Spark logs will be written." + }, + "dynamicExecutorAllocation": { + "oneOf": [ + { + "$ref": "#/definitions/DynamicExecutorAllocation" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Dynamic Executor Allocation Properties" + }, + "isComputeIsolationEnabled": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Whether compute isolation is required or not." + }, + "libraryRequirements": { + "oneOf": [ + { + "$ref": "#/definitions/LibraryRequirements" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Library requirements for a Big Data pool powered by Apache Spark" + }, + "nodeCount": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The number of nodes in the Big Data pool." + }, + "nodeSize": { + "oneOf": [ + { + "type": "string", + "enum": [ + "None", + "Small", + "Medium", + "Large", + "XLarge", + "XXLarge", + "XXXLarge" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The level of compute power that each node in the Big Data pool has." + }, + "nodeSizeFamily": { + "oneOf": [ + { + "type": "string", + "enum": [ + "None", + "MemoryOptimized", + "HardwareAcceleratedFPGA", + "HardwareAcceleratedGPU" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The kind of nodes that the Big Data pool provides." + }, + "provisioningState": { + "type": "string", + "description": "The state of the Big Data pool." + }, + "sessionLevelPackagesEnabled": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Whether session level packages enabled." + }, + "sparkConfigProperties": { + "oneOf": [ + { + "$ref": "#/definitions/LibraryRequirements" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Library requirements for a Big Data pool powered by Apache Spark" + }, + "sparkEventsFolder": { + "type": "string", + "description": "The Spark events folder" + }, + "sparkVersion": { + "type": "string", + "description": "The Apache Spark version." + } + }, + "description": "Properties of a Big Data pool powered by Apache Spark" + }, + "CmdkeySetup": { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "CmdkeySetup" + ] + }, + "typeProperties": { + "oneOf": [ + { + "$ref": "#/definitions/CmdkeySetupTypeProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Cmdkey command custom setup type properties." + } + }, + "required": [ + "type", + "typeProperties" + ], + "description": "The custom setup of running cmdkey commands." + }, + "CmdkeySetupTypeProperties": { + "type": "object", + "properties": { + "password": { + "oneOf": [ + { + "$ref": "#/definitions/SecretBase" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The base definition of a secret type." + }, + "targetName": { + "type": "object", + "properties": {}, + "description": "The server name of data source access." + }, + "userName": { + "type": "object", + "properties": {}, + "description": "The user name of data source access." + } + }, + "required": [ + "password", + "targetName", + "userName" + ], + "description": "Cmdkey command custom setup type properties." + }, + "ComponentSetup": { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "ComponentSetup" + ] + }, + "typeProperties": { + "oneOf": [ + { + "$ref": "#/definitions/LicensedComponentSetupTypeProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Installation of licensed component setup type properties." + } + }, + "required": [ + "type", + "typeProperties" + ], + "description": "The custom setup of installing 3rd party components." + }, + "CspWorkspaceAdminProperties": { + "type": "object", + "properties": { + "initialWorkspaceAdminObjectId": { + "type": "string", + "description": "AAD object ID of initial workspace admin" + } + }, + "description": "Initial workspace AAD admin properties for a CSP subscription" + }, + "CustomerManagedKeyDetails": { + "type": "object", + "properties": { + "kekIdentity": { + "oneOf": [ + { + "$ref": "#/definitions/KekIdentityProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Key encryption key properties" + }, + "key": { + "oneOf": [ + { + "$ref": "#/definitions/WorkspaceKeyDetails" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Details of the customer managed key associated with the workspace" + } + }, + "description": "Details of the customer managed key associated with the workspace" + }, + "CustomSetupBase": { + "type": "object", + "oneOf": [ + { + "$ref": "#/definitions/CmdkeySetup" + }, + { + "$ref": "#/definitions/EnvironmentVariableSetup" + }, + { + "$ref": "#/definitions/ComponentSetup" + } + ], + "properties": {}, + "description": "The base definition of the custom setup." + }, + "DataLakeStorageAccountDetails": { + "type": "object", + "properties": { + "accountUrl": { + "type": "string", + "description": "Account URL" + }, + "createManagedPrivateEndpoint": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Create managed private endpoint to this storage account or not" + }, + "filesystem": { + "type": "string", + "description": "Filesystem name" + }, + "resourceId": { + "type": "string", + "description": "ARM resource Id of this storage account" + } + }, + "description": "Details of the data lake storage account associated with the workspace" + }, + "DataMaskingPolicyProperties": { + "type": "object", + "properties": { + "dataMaskingState": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Disabled", + "Enabled" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The state of the data masking policy." + }, + "exemptPrincipals": { + "type": "string", + "description": "The list of the exempt principals. Specifies the semicolon-separated list of database users for which the data masking policy does not apply. The specified users receive data results without masking for all of the database queries." + } + }, + "required": [ + "dataMaskingState" + ], + "description": "The properties of a database data masking policy." + }, + "DataMaskingRuleProperties": { + "type": "object", + "properties": { + "aliasName": { + "type": "string", + "description": "The alias name. This is a legacy parameter and is no longer used." + }, + "columnName": { + "type": "string", + "description": "The column name on which the data masking rule is applied." + }, + "maskingFunction": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Default", + "CCN", + "Email", + "Number", + "SSN", + "Text" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The masking function that is used for the data masking rule." + }, + "numberFrom": { + "type": "string", + "description": "The numberFrom property of the masking rule. Required if maskingFunction is set to Number, otherwise this parameter will be ignored." + }, + "numberTo": { + "type": "string", + "description": "The numberTo property of the data masking rule. Required if maskingFunction is set to Number, otherwise this parameter will be ignored." + }, + "prefixSize": { + "type": "string", + "description": "If maskingFunction is set to Text, the number of characters to show unmasked in the beginning of the string. Otherwise, this parameter will be ignored." + }, + "replacementString": { + "type": "string", + "description": "If maskingFunction is set to Text, the character to use for masking the unexposed part of the string. Otherwise, this parameter will be ignored." + }, + "ruleState": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Disabled", + "Enabled" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The rule state. Used to delete a rule. To delete an existing rule, specify the schemaName, tableName, columnName, maskingFunction, and specify ruleState as disabled. However, if the rule doesn't already exist, the rule will be created with ruleState set to enabled, regardless of the provided value of ruleState." + }, + "schemaName": { + "type": "string", + "description": "The schema name on which the data masking rule is applied." + }, + "suffixSize": { + "type": "string", + "description": "If maskingFunction is set to Text, the number of characters to show unmasked at the end of the string. Otherwise, this parameter will be ignored." + }, + "tableName": { + "type": "string", + "description": "The table name on which the data masking rule is applied." + } + }, + "required": [ + "columnName", + "maskingFunction", + "schemaName", + "tableName" + ], + "description": "The properties of a Sql pool data masking rule." + }, + "DynamicExecutorAllocation": { + "type": "object", + "properties": { + "enabled": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Indicates whether Dynamic Executor Allocation is enabled or not." + } + }, + "description": "Dynamic Executor Allocation Properties" + }, + "EncryptionDetails": { + "type": "object", + "properties": { + "cmk": { + "oneOf": [ + { + "$ref": "#/definitions/CustomerManagedKeyDetails" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Details of the customer managed key associated with the workspace" + } + }, + "description": "Details of the encryption associated with the workspace" + }, + "EncryptionProtectorProperties": { + "type": "object", + "properties": { + "serverKeyName": { + "type": "string", + "description": "The name of the server key." + }, + "serverKeyType": { + "oneOf": [ + { + "type": "string", + "enum": [ + "ServiceManaged", + "AzureKeyVault" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The encryption protector type like 'ServiceManaged', 'AzureKeyVault'." + } + }, + "required": [ + "serverKeyType" + ], + "description": "Properties for an encryption protector execution." + }, + "EntityReference": { + "type": "object", + "properties": { + "referenceName": { + "type": "string", + "description": "The name of this referenced entity." + }, + "type": { + "oneOf": [ + { + "type": "string", + "enum": [ + "IntegrationRuntimeReference", + "LinkedServiceReference" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The type of this referenced entity." + } + }, + "description": "The entity reference." + }, + "EnvironmentVariableSetup": { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "EnvironmentVariableSetup" + ] + }, + "typeProperties": { + "oneOf": [ + { + "$ref": "#/definitions/EnvironmentVariableSetupTypeProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Environment variable custom setup type properties." + } + }, + "required": [ + "type", + "typeProperties" + ], + "description": "The custom setup of setting environment variable." + }, + "EnvironmentVariableSetupTypeProperties": { + "type": "object", + "properties": { + "variableName": { + "type": "string", + "description": "The name of the environment variable." + }, + "variableValue": { + "type": "string", + "description": "The value of the environment variable." + } + }, + "required": [ + "variableName", + "variableValue" + ], + "description": "Environment variable custom setup type properties." + }, + "ExtendedServerBlobAuditingPolicyProperties": { + "type": "object", + "properties": { + "auditActionsAndGroups": { + "oneOf": [ + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Specifies the Actions-Groups and Actions to audit.\r\n\r\nThe recommended set of action groups to use is the following combination - this will audit all the queries and stored procedures executed against the database, as well as successful and failed logins:\r\n\r\nBATCH_COMPLETED_GROUP,\r\nSUCCESSFUL_DATABASE_AUTHENTICATION_GROUP,\r\nFAILED_DATABASE_AUTHENTICATION_GROUP.\r\n\r\nThis above combination is also the set that is configured by default when enabling auditing from the Azure portal.\r\n\r\nThe supported action groups to audit are (note: choose only specific groups that cover your auditing needs. Using unnecessary groups could lead to very large quantities of audit records):\r\n\r\nAPPLICATION_ROLE_CHANGE_PASSWORD_GROUP\r\nBACKUP_RESTORE_GROUP\r\nDATABASE_LOGOUT_GROUP\r\nDATABASE_OBJECT_CHANGE_GROUP\r\nDATABASE_OBJECT_OWNERSHIP_CHANGE_GROUP\r\nDATABASE_OBJECT_PERMISSION_CHANGE_GROUP\r\nDATABASE_OPERATION_GROUP\r\nDATABASE_PERMISSION_CHANGE_GROUP\r\nDATABASE_PRINCIPAL_CHANGE_GROUP\r\nDATABASE_PRINCIPAL_IMPERSONATION_GROUP\r\nDATABASE_ROLE_MEMBER_CHANGE_GROUP\r\nFAILED_DATABASE_AUTHENTICATION_GROUP\r\nSCHEMA_OBJECT_ACCESS_GROUP\r\nSCHEMA_OBJECT_CHANGE_GROUP\r\nSCHEMA_OBJECT_OWNERSHIP_CHANGE_GROUP\r\nSCHEMA_OBJECT_PERMISSION_CHANGE_GROUP\r\nSUCCESSFUL_DATABASE_AUTHENTICATION_GROUP\r\nUSER_CHANGE_PASSWORD_GROUP\r\nBATCH_STARTED_GROUP\r\nBATCH_COMPLETED_GROUP\r\n\r\nThese are groups that cover all sql statements and stored procedures executed against the database, and should not be used in combination with other groups as this will result in duplicate audit logs.\r\n\r\nFor more information, see [Database-Level Audit Action Groups](https://docs.microsoft.com/en-us/sql/relational-databases/security/auditing/sql-server-audit-action-groups-and-actions#database-level-audit-action-groups).\r\n\r\nFor Database auditing policy, specific Actions can also be specified (note that Actions cannot be specified for Server auditing policy). The supported actions to audit are:\r\nSELECT\r\nUPDATE\r\nINSERT\r\nDELETE\r\nEXECUTE\r\nRECEIVE\r\nREFERENCES\r\n\r\nThe general form for defining an action to be audited is:\r\n{action} ON {object} BY {principal}\r\n\r\nNote that in the above format can refer to an object like a table, view, or stored procedure, or an entire database or schema. For the latter cases, the forms DATABASE::{db_name} and SCHEMA::{schema_name} are used, respectively.\r\n\r\nFor example:\r\nSELECT on dbo.myTable by public\r\nSELECT on DATABASE::myDatabase by public\r\nSELECT on SCHEMA::mySchema by public\r\n\r\nFor more information, see [Database-Level Audit Actions](https://docs.microsoft.com/en-us/sql/relational-databases/security/auditing/sql-server-audit-action-groups-and-actions#database-level-audit-actions)" + }, + "isAzureMonitorTargetEnabled": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Specifies whether audit events are sent to Azure Monitor. \r\nIn order to send the events to Azure Monitor, specify 'state' as 'Enabled' and 'isAzureMonitorTargetEnabled' as true.\r\n\r\nWhen using REST API to configure auditing, Diagnostic Settings with 'SQLSecurityAuditEvents' diagnostic logs category on the database should be also created.\r\nNote that for server level audit you should use the 'master' database as {databaseName}.\r\n\r\nDiagnostic Settings URI format:\r\nPUT https://management.azure.com/subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.Sql/servers/{serverName}/databases/{databaseName}/providers/microsoft.insights/diagnosticSettings/{settingsName}?api-version=2017-05-01-preview\r\n\r\nFor more information, see [Diagnostic Settings REST API](https://go.microsoft.com/fwlink/?linkid=2033207)\r\nor [Diagnostic Settings PowerShell](https://go.microsoft.com/fwlink/?linkid=2033043)\r\n" + }, + "isStorageSecondaryKeyInUse": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Specifies whether storageAccountAccessKey value is the storage's secondary key." + }, + "predicateExpression": { + "type": "string", + "description": "Specifies condition of where clause when creating an audit." + }, + "queueDelayMs": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Specifies the amount of time in milliseconds that can elapse before audit actions are forced to be processed.\r\nThe default minimum value is 1000 (1 second). The maximum is 2,147,483,647." + }, + "retentionDays": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Specifies the number of days to keep in the audit logs in the storage account." + }, + "state": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Enabled", + "Disabled" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Specifies the state of the policy. If state is Enabled, storageEndpoint or isAzureMonitorTargetEnabled are required." + }, + "storageAccountAccessKey": { + "type": "string", + "description": "Specifies the identifier key of the auditing storage account. \r\nIf state is Enabled and storageEndpoint is specified, not specifying the storageAccountAccessKey will use SQL server system-assigned managed identity to access the storage.\r\nPrerequisites for using managed identity authentication:\r\n1. Assign SQL Server a system-assigned managed identity in Azure Active Directory (AAD).\r\n2. Grant SQL Server identity access to the storage account by adding 'Storage Blob Data Contributor' RBAC role to the server identity.\r\nFor more information, see [Auditing to storage using Managed Identity authentication](https://go.microsoft.com/fwlink/?linkid=2114355)" + }, + "storageAccountSubscriptionId": { + "oneOf": [ + { + "type": "string", + "pattern": "^[0-9a-fA-F]{8}(-[0-9a-fA-F]{4}){3}-[0-9a-fA-F]{12}$" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Specifies the blob storage subscription Id." + }, + "storageEndpoint": { + "type": "string", + "description": "Specifies the blob storage endpoint (e.g. https://MyAccount.blob.core.windows.net). If state is Enabled, storageEndpoint or isAzureMonitorTargetEnabled is required." + } + }, + "required": [ + "state" + ], + "description": "Properties of an extended server blob auditing policy." + }, + "ExtendedSqlPoolBlobAuditingPolicyProperties": { + "type": "object", + "properties": { + "auditActionsAndGroups": { + "oneOf": [ + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Specifies the Actions-Groups and Actions to audit.\r\n\r\nThe recommended set of action groups to use is the following combination - this will audit all the queries and stored procedures executed against the database, as well as successful and failed logins:\r\n\r\nBATCH_COMPLETED_GROUP,\r\nSUCCESSFUL_DATABASE_AUTHENTICATION_GROUP,\r\nFAILED_DATABASE_AUTHENTICATION_GROUP.\r\n\r\nThis above combination is also the set that is configured by default when enabling auditing from the Azure portal.\r\n\r\nThe supported action groups to audit are (note: choose only specific groups that cover your auditing needs. Using unnecessary groups could lead to very large quantities of audit records):\r\n\r\nAPPLICATION_ROLE_CHANGE_PASSWORD_GROUP\r\nBACKUP_RESTORE_GROUP\r\nDATABASE_LOGOUT_GROUP\r\nDATABASE_OBJECT_CHANGE_GROUP\r\nDATABASE_OBJECT_OWNERSHIP_CHANGE_GROUP\r\nDATABASE_OBJECT_PERMISSION_CHANGE_GROUP\r\nDATABASE_OPERATION_GROUP\r\nDATABASE_PERMISSION_CHANGE_GROUP\r\nDATABASE_PRINCIPAL_CHANGE_GROUP\r\nDATABASE_PRINCIPAL_IMPERSONATION_GROUP\r\nDATABASE_ROLE_MEMBER_CHANGE_GROUP\r\nFAILED_DATABASE_AUTHENTICATION_GROUP\r\nSCHEMA_OBJECT_ACCESS_GROUP\r\nSCHEMA_OBJECT_CHANGE_GROUP\r\nSCHEMA_OBJECT_OWNERSHIP_CHANGE_GROUP\r\nSCHEMA_OBJECT_PERMISSION_CHANGE_GROUP\r\nSUCCESSFUL_DATABASE_AUTHENTICATION_GROUP\r\nUSER_CHANGE_PASSWORD_GROUP\r\nBATCH_STARTED_GROUP\r\nBATCH_COMPLETED_GROUP\r\n\r\nThese are groups that cover all sql statements and stored procedures executed against the database, and should not be used in combination with other groups as this will result in duplicate audit logs.\r\n\r\nFor more information, see [Database-Level Audit Action Groups](https://docs.microsoft.com/en-us/sql/relational-databases/security/auditing/sql-server-audit-action-groups-and-actions#database-level-audit-action-groups).\r\n\r\nFor Database auditing policy, specific Actions can also be specified (note that Actions cannot be specified for Server auditing policy). The supported actions to audit are:\r\nSELECT\r\nUPDATE\r\nINSERT\r\nDELETE\r\nEXECUTE\r\nRECEIVE\r\nREFERENCES\r\n\r\nThe general form for defining an action to be audited is:\r\n{action} ON {object} BY {principal}\r\n\r\nNote that in the above format can refer to an object like a table, view, or stored procedure, or an entire database or schema. For the latter cases, the forms DATABASE::{db_name} and SCHEMA::{schema_name} are used, respectively.\r\n\r\nFor example:\r\nSELECT on dbo.myTable by public\r\nSELECT on DATABASE::myDatabase by public\r\nSELECT on SCHEMA::mySchema by public\r\n\r\nFor more information, see [Database-Level Audit Actions](https://docs.microsoft.com/en-us/sql/relational-databases/security/auditing/sql-server-audit-action-groups-and-actions#database-level-audit-actions)" + }, + "isAzureMonitorTargetEnabled": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Specifies whether audit events are sent to Azure Monitor. \r\nIn order to send the events to Azure Monitor, specify 'state' as 'Enabled' and 'isAzureMonitorTargetEnabled' as true.\r\n\r\nWhen using REST API to configure auditing, Diagnostic Settings with 'SQLSecurityAuditEvents' diagnostic logs category on the database should be also created.\r\nNote that for server level audit you should use the 'master' database as {databaseName}.\r\n\r\nDiagnostic Settings URI format:\r\nPUT https://management.azure.com/subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.Sql/servers/{serverName}/databases/{databaseName}/providers/microsoft.insights/diagnosticSettings/{settingsName}?api-version=2017-05-01-preview\r\n\r\nFor more information, see [Diagnostic Settings REST API](https://go.microsoft.com/fwlink/?linkid=2033207)\r\nor [Diagnostic Settings PowerShell](https://go.microsoft.com/fwlink/?linkid=2033043)\r\n" + }, + "isStorageSecondaryKeyInUse": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Specifies whether storageAccountAccessKey value is the storage's secondary key." + }, + "predicateExpression": { + "type": "string", + "description": "Specifies condition of where clause when creating an audit." + }, + "queueDelayMs": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Specifies the amount of time in milliseconds that can elapse before audit actions are forced to be processed.\r\nThe default minimum value is 1000 (1 second). The maximum is 2,147,483,647." + }, + "retentionDays": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Specifies the number of days to keep in the audit logs in the storage account." + }, + "state": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Enabled", + "Disabled" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Specifies the state of the policy. If state is Enabled, storageEndpoint or isAzureMonitorTargetEnabled are required." + }, + "storageAccountAccessKey": { + "type": "string", + "description": "Specifies the identifier key of the auditing storage account. \r\nIf state is Enabled and storageEndpoint is specified, not specifying the storageAccountAccessKey will use SQL server system-assigned managed identity to access the storage.\r\nPrerequisites for using managed identity authentication:\r\n1. Assign SQL Server a system-assigned managed identity in Azure Active Directory (AAD).\r\n2. Grant SQL Server identity access to the storage account by adding 'Storage Blob Data Contributor' RBAC role to the server identity.\r\nFor more information, see [Auditing to storage using Managed Identity authentication](https://go.microsoft.com/fwlink/?linkid=2114355)" + }, + "storageAccountSubscriptionId": { + "oneOf": [ + { + "type": "string", + "pattern": "^[0-9a-fA-F]{8}(-[0-9a-fA-F]{4}){3}-[0-9a-fA-F]{12}$" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Specifies the blob storage subscription Id." + }, + "storageEndpoint": { + "type": "string", + "description": "Specifies the blob storage endpoint (e.g. https://MyAccount.blob.core.windows.net). If state is Enabled, storageEndpoint or isAzureMonitorTargetEnabled is required." + } + }, + "required": [ + "state" + ], + "description": "Properties of an extended Sql pool blob auditing policy." + }, + "GeoBackupPolicyProperties": { + "type": "object", + "properties": { + "state": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Disabled", + "Enabled" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The state of the geo backup policy." + } + }, + "required": [ + "state" + ], + "description": "The properties of the geo backup policy." + }, + "IntegrationRuntime": { + "type": "object", + "oneOf": [ + { + "$ref": "#/definitions/ManagedIntegrationRuntime" + }, + { + "$ref": "#/definitions/SelfHostedIntegrationRuntime" + } + ], + "properties": { + "additionalProperties": { + "oneOf": [ + { + "type": "object", + "additionalProperties": { + "type": "object", + "properties": {} + }, + "properties": {} + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Unmatched properties from the message are deserialized this collection" + }, + "description": { + "type": "string", + "description": "Integration runtime description." + } + }, + "description": "Azure Synapse nested object which serves as a compute resource for activities." + }, + "IntegrationRuntimeComputeProperties": { + "type": "object", + "properties": { + "additionalProperties": { + "oneOf": [ + { + "type": "object", + "additionalProperties": { + "type": "object", + "properties": {} + }, + "properties": {} + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Unmatched properties from the message are deserialized this collection" + }, + "dataFlowProperties": { + "oneOf": [ + { + "$ref": "#/definitions/IntegrationRuntimeDataFlowProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Data flow properties for managed integration runtime." + }, + "location": { + "type": "string", + "description": "The location for managed integration runtime. The supported regions could be found on https://docs.microsoft.com/en-us/azure/data-factory/data-factory-data-movement-activities" + }, + "maxParallelExecutionsPerNode": { + "oneOf": [ + { + "type": "integer", + "minimum": 1 + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Maximum parallel executions count per node for managed integration runtime." + }, + "nodeSize": { + "type": "string", + "description": "The node size requirement to managed integration runtime." + }, + "numberOfNodes": { + "oneOf": [ + { + "type": "integer", + "minimum": 1 + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The required number of nodes for managed integration runtime." + }, + "vNetProperties": { + "oneOf": [ + { + "$ref": "#/definitions/IntegrationRuntimeVNetProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "VNet properties for managed integration runtime." + } + }, + "description": "The compute resource properties for managed integration runtime." + }, + "IntegrationRuntimeCustomSetupScriptProperties": { + "type": "object", + "properties": { + "blobContainerUri": { + "type": "string", + "description": "The URI of the Azure blob container that contains the custom setup script." + }, + "sasToken": { + "oneOf": [ + { + "$ref": "#/definitions/SecureString" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Azure Synapse secure string definition. The string value will be masked with asterisks '*' during Get or List API calls." + } + }, + "description": "Custom setup script properties for a managed dedicated integration runtime." + }, + "IntegrationRuntimeDataFlowProperties": { + "type": "object", + "properties": { + "additionalProperties": { + "oneOf": [ + { + "type": "object", + "additionalProperties": { + "type": "object", + "properties": {} + }, + "properties": {} + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Unmatched properties from the message are deserialized this collection" + }, + "computeType": { + "oneOf": [ + { + "type": "string", + "enum": [ + "General", + "MemoryOptimized", + "ComputeOptimized" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Compute type of the cluster which will execute data flow job." + }, + "coreCount": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Core count of the cluster which will execute data flow job. Supported values are: 8, 16, 32, 48, 80, 144 and 272." + }, + "timeToLive": { + "oneOf": [ + { + "type": "integer", + "minimum": 0 + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Time to live (in minutes) setting of the cluster which will execute data flow job." + } + }, + "description": "Data flow properties for managed integration runtime." + }, + "IntegrationRuntimeDataProxyProperties": { + "type": "object", + "properties": { + "connectVia": { + "oneOf": [ + { + "$ref": "#/definitions/EntityReference" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The entity reference." + }, + "path": { + "type": "string", + "description": "The path to contain the staged data in the Blob storage." + }, + "stagingLinkedService": { + "oneOf": [ + { + "$ref": "#/definitions/EntityReference" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The entity reference." + } + }, + "description": "Data proxy properties for a managed dedicated integration runtime." + }, + "IntegrationRuntimeSsisCatalogInfo": { + "type": "object", + "properties": { + "additionalProperties": { + "oneOf": [ + { + "type": "object", + "additionalProperties": { + "type": "object", + "properties": {} + }, + "properties": {} + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Unmatched properties from the message are deserialized this collection" + }, + "catalogAdminPassword": { + "oneOf": [ + { + "$ref": "#/definitions/SecureString" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Azure Synapse secure string definition. The string value will be masked with asterisks '*' during Get or List API calls." + }, + "catalogAdminUserName": { + "type": "string", + "minLength": 1, + "maxLength": 128, + "description": "The administrator user name of catalog database." + }, + "catalogPricingTier": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Basic", + "Standard", + "Premium", + "PremiumRS" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The pricing tier for the catalog database. The valid values could be found in https://azure.microsoft.com/en-us/pricing/details/sql-database/." + }, + "catalogServerEndpoint": { + "type": "string", + "description": "The catalog database server URL." + } + }, + "description": "Catalog information for managed dedicated integration runtime." + }, + "IntegrationRuntimeSsisProperties": { + "type": "object", + "properties": { + "additionalProperties": { + "oneOf": [ + { + "type": "object", + "additionalProperties": { + "type": "object", + "properties": {} + }, + "properties": {} + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Unmatched properties from the message are deserialized this collection" + }, + "catalogInfo": { + "oneOf": [ + { + "$ref": "#/definitions/IntegrationRuntimeSsisCatalogInfo" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Catalog information for managed dedicated integration runtime." + }, + "customSetupScriptProperties": { + "oneOf": [ + { + "$ref": "#/definitions/IntegrationRuntimeCustomSetupScriptProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Custom setup script properties for a managed dedicated integration runtime." + }, + "dataProxyProperties": { + "oneOf": [ + { + "$ref": "#/definitions/IntegrationRuntimeDataProxyProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Data proxy properties for a managed dedicated integration runtime." + }, + "edition": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Standard", + "Enterprise" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The edition for the SSIS Integration Runtime." + }, + "expressCustomSetupProperties": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/CustomSetupBase" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Custom setup without script properties for a SSIS integration runtime." + }, + "licenseType": { + "oneOf": [ + { + "type": "string", + "enum": [ + "BasePrice", + "LicenseIncluded" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "License type for bringing your own license scenario." + } + }, + "description": "SSIS properties for managed integration runtime." + }, + "IntegrationRuntimeVNetProperties": { + "type": "object", + "properties": { + "additionalProperties": { + "oneOf": [ + { + "type": "object", + "additionalProperties": { + "type": "object", + "properties": {} + }, + "properties": {} + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Unmatched properties from the message are deserialized this collection" + }, + "publicIPs": { + "oneOf": [ + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Resource IDs of the public IP addresses that this integration runtime will use." + }, + "subnet": { + "type": "string", + "description": "The name of the subnet this integration runtime will join." + }, + "subnetId": { + "type": "string", + "description": "The ID of subnet, to which this Azure-SSIS integration runtime will be joined." + }, + "vNetId": { + "type": "string", + "description": "The ID of the VNet that this integration runtime will join." + } + }, + "description": "VNet properties for managed integration runtime." + }, + "IpFirewallRuleProperties": { + "type": "object", + "properties": { + "endIpAddress": { + "type": "string", + "description": "The end IP address of the firewall rule. Must be IPv4 format. Must be greater than or equal to startIpAddress" + }, + "startIpAddress": { + "type": "string", + "description": "The start IP address of the firewall rule. Must be IPv4 format" + } + }, + "description": "IP firewall rule properties" + }, + "KekIdentityProperties": { + "type": "object", + "properties": { + "userAssignedIdentity": { + "type": "string", + "description": "User assigned identity resource Id" + }, + "useSystemAssignedIdentity": { + "type": "object", + "properties": {}, + "description": "Boolean specifying whether to use system assigned identity or not" + } + }, + "description": "Key encryption key properties" + }, + "KeyProperties": { + "type": "object", + "properties": { + "isActiveCMK": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Used to activate the workspace after a customer managed key is provided." + }, + "keyVaultUrl": { + "type": "string", + "description": "The Key Vault Url of the workspace key." + } + }, + "description": "Key properties" + }, + "LibraryInfo": { + "type": "object", + "properties": { + "containerName": { + "type": "string", + "description": "Storage blob container name." + }, + "name": { + "type": "string", + "description": "Name of the library." + }, + "path": { + "type": "string", + "description": "Storage blob path of library." + }, + "type": { + "type": "string", + "description": "Type of the library." + } + }, + "description": "Library/package information of a Big Data pool powered by Apache Spark" + }, + "LibraryRequirements": { + "type": "object", + "properties": { + "content": { + "type": "string", + "description": "The library requirements." + }, + "filename": { + "type": "string", + "description": "The filename of the library requirements file." + } + }, + "description": "Library requirements for a Big Data pool powered by Apache Spark" + }, + "LicensedComponentSetupTypeProperties": { + "type": "object", + "properties": { + "componentName": { + "type": "string", + "description": "The name of the 3rd party component." + }, + "licenseKey": { + "oneOf": [ + { + "$ref": "#/definitions/SecretBase" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The base definition of a secret type." + } + }, + "required": [ + "componentName" + ], + "description": "Installation of licensed component setup type properties." + }, + "LinkedIntegrationRuntimeKeyAuthorization": { + "type": "object", + "properties": { + "authorizationType": { + "type": "string", + "enum": [ + "Key" + ] + }, + "key": { + "oneOf": [ + { + "$ref": "#/definitions/SecureString" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Azure Synapse secure string definition. The string value will be masked with asterisks '*' during Get or List API calls." + } + }, + "required": [ + "authorizationType", + "key" + ], + "description": "The key authorization type integration runtime." + }, + "LinkedIntegrationRuntimeRbacAuthorization": { + "type": "object", + "properties": { + "authorizationType": { + "type": "string", + "enum": [ + "RBAC" + ] + }, + "resourceId": { + "type": "string", + "description": "The resource identifier of the integration runtime to be shared." + } + }, + "required": [ + "authorizationType", + "resourceId" + ], + "description": "The role based access control (RBAC) authorization type integration runtime." + }, + "LinkedIntegrationRuntimeType": { + "type": "object", + "oneOf": [ + { + "$ref": "#/definitions/LinkedIntegrationRuntimeKeyAuthorization" + }, + { + "$ref": "#/definitions/LinkedIntegrationRuntimeRbacAuthorization" + } + ], + "properties": {}, + "description": "The base definition of a linked integration runtime." + }, + "MaintenanceWindowsProperties": { + "type": "object", + "properties": { + "timeRanges": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/MaintenanceWindowTimeRange" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ] + } + }, + "description": "Maintenance windows resource properties." + }, + "MaintenanceWindowTimeRange": { + "type": "object", + "properties": { + "dayOfWeek": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Sunday", + "Monday", + "Tuesday", + "Wednesday", + "Thursday", + "Friday", + "Saturday" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Day of maintenance window." + }, + "duration": { + "type": "string", + "description": "Duration of maintenance window in minutes." + }, + "startTime": { + "type": "string", + "description": "Start time minutes offset from 12am." + } + }, + "description": "Maintenance window time range." + }, + "ManagedIdentity": { + "type": "object", + "properties": { + "type": { + "oneOf": [ + { + "type": "string", + "enum": [ + "None", + "SystemAssigned", + "SystemAssigned,UserAssigned" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The type of managed identity for the workspace." + }, + "userAssignedIdentities": { + "oneOf": [ + { + "type": "object", + "additionalProperties": { + "$ref": "#/definitions/UserAssignedManagedIdentity" + }, + "properties": {} + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The User Assigned Managed Identities." + } + }, + "description": "The workspace managed identity" + }, + "ManagedIdentitySqlControlSettingsModelProperties": { + "type": "object", + "properties": { + "grantSqlControlToManagedIdentity": { + "oneOf": [ + { + "$ref": "#/definitions/ManagedIdentitySqlControlSettingsModelPropertiesGrantSqlControlToManagedIdentity" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Grant sql control to managed identity" + } + }, + "description": "Sql Control Settings for workspace managed identity" + }, + "ManagedIdentitySqlControlSettingsModelPropertiesGrantSqlControlToManagedIdentity": { + "type": "object", + "properties": { + "desiredState": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Enabled", + "Disabled" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Desired state." + } + }, + "description": "Grant sql control to managed identity" + }, + "ManagedIntegrationRuntime": { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "Managed" + ] + }, + "typeProperties": { + "oneOf": [ + { + "$ref": "#/definitions/ManagedIntegrationRuntimeTypeProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Managed integration runtime type properties." + } + }, + "required": [ + "type", + "typeProperties" + ], + "description": "Managed integration runtime, including managed elastic and managed dedicated integration runtimes." + }, + "ManagedIntegrationRuntimeTypeProperties": { + "type": "object", + "properties": { + "computeProperties": { + "oneOf": [ + { + "$ref": "#/definitions/IntegrationRuntimeComputeProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The compute resource properties for managed integration runtime." + }, + "ssisProperties": { + "oneOf": [ + { + "$ref": "#/definitions/IntegrationRuntimeSsisProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "SSIS properties for managed integration runtime." + } + }, + "description": "Managed integration runtime type properties." + }, + "ManagedVirtualNetworkSettings": { + "type": "object", + "properties": { + "allowedAadTenantIdsForLinking": { + "oneOf": [ + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Allowed Aad Tenant Ids For Linking" + }, + "linkedAccessCheckOnTargetResource": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Linked Access Check On Target Resource" + }, + "preventDataExfiltration": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Prevent Data Exfiltration" + } + }, + "description": "Managed Virtual Network Settings" + }, + "MetadataSyncConfigProperties": { + "type": "object", + "properties": { + "enabled": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Indicates whether the metadata sync is enabled or disabled" + }, + "syncIntervalInMinutes": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The Sync Interval in minutes." + } + }, + "description": "Metadata Sync Config properties" + }, + "PrivateEndpoint": { + "type": "object", + "properties": {}, + "description": "Private endpoint details" + }, + "PrivateEndpointConnection": { + "type": "object", + "properties": { + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/PrivateEndpointConnectionProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Properties of a private endpoint connection." + } + }, + "description": "A private endpoint connection" + }, + "PrivateEndpointConnectionProperties": { + "type": "object", + "properties": { + "privateEndpoint": { + "oneOf": [ + { + "$ref": "#/definitions/PrivateEndpoint" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Private endpoint details" + }, + "privateLinkServiceConnectionState": { + "oneOf": [ + { + "$ref": "#/definitions/PrivateLinkServiceConnectionState" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Connection state details of the private endpoint" + } + }, + "description": "Properties of a private endpoint connection." + }, + "PrivateLinkHubProperties": { + "type": "object", + "properties": { + "provisioningState": { + "type": "string", + "description": "PrivateLinkHub provisioning state" + } + }, + "description": "PrivateLinkHub properties" + }, + "PrivateLinkServiceConnectionState": { + "type": "object", + "properties": { + "description": { + "type": "string", + "description": "The private link service connection description." + }, + "status": { + "type": "string", + "description": "The private link service connection status." + } + }, + "description": "Connection state details of the private endpoint" + }, + "PurviewConfiguration": { + "type": "object", + "properties": { + "purviewResourceId": { + "type": "string", + "description": "Purview Resource ID" + } + }, + "description": "Purview Configuration" + }, + "SecretBase": { + "type": "object", + "oneOf": [ + { + "$ref": "#/definitions/SecureString" + } + ], + "properties": {}, + "description": "The base definition of a secret type." + }, + "SecureString": { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "SecureString" + ] + }, + "value": { + "type": "string", + "description": "Value of secure string." + } + }, + "required": [ + "type", + "value" + ], + "description": "Azure Synapse secure string definition. The string value will be masked with asterisks '*' during Get or List API calls." + }, + "SecurityAlertPolicyProperties": { + "type": "object", + "properties": { + "disabledAlerts": { + "oneOf": [ + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Specifies an array of alerts that are disabled. Allowed values are: Sql_Injection, Sql_Injection_Vulnerability, Access_Anomaly, Data_Exfiltration, Unsafe_Action" + }, + "emailAccountAdmins": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Specifies that the alert is sent to the account administrators." + }, + "emailAddresses": { + "oneOf": [ + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Specifies an array of e-mail addresses to which the alert is sent." + }, + "retentionDays": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Specifies the number of days to keep in the Threat Detection audit logs." + }, + "state": { + "oneOf": [ + { + "type": "string", + "enum": [ + "New", + "Enabled", + "Disabled" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Specifies the state of the policy, whether it is enabled or disabled or a policy has not been applied yet on the specific Sql pool." + }, + "storageAccountAccessKey": { + "type": "string", + "description": "Specifies the identifier key of the Threat Detection audit storage account." + }, + "storageEndpoint": { + "type": "string", + "description": "Specifies the blob storage endpoint (e.g. https://MyAccount.blob.core.windows.net). This blob storage will hold all Threat Detection audit logs." + } + }, + "required": [ + "state" + ], + "description": "Properties of a security alert policy." + }, + "SelfHostedIntegrationRuntime": { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "SelfHosted" + ] + }, + "typeProperties": { + "oneOf": [ + { + "$ref": "#/definitions/SelfHostedIntegrationRuntimeTypeProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The self-hosted integration runtime properties." + } + }, + "required": [ + "type" + ], + "description": "Self-hosted integration runtime." + }, + "SelfHostedIntegrationRuntimeTypeProperties": { + "type": "object", + "properties": { + "linkedInfo": { + "oneOf": [ + { + "$ref": "#/definitions/LinkedIntegrationRuntimeType" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The base definition of a linked integration runtime." + } + }, + "description": "The self-hosted integration runtime properties." + }, + "SensitivityLabelProperties": { + "type": "object", + "properties": { + "informationType": { + "type": "string", + "description": "The information type." + }, + "informationTypeId": { + "type": "string", + "description": "The information type ID." + }, + "labelId": { + "type": "string", + "description": "The label ID." + }, + "labelName": { + "type": "string", + "description": "The label name." + }, + "rank": { + "oneOf": [ + { + "type": "string", + "enum": [ + "None", + "Low", + "Medium", + "High", + "Critical" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ] + } + }, + "description": "Properties of a sensitivity label." + }, + "ServerBlobAuditingPolicyProperties": { + "type": "object", + "properties": { + "auditActionsAndGroups": { + "oneOf": [ + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Specifies the Actions-Groups and Actions to audit.\r\n\r\nThe recommended set of action groups to use is the following combination - this will audit all the queries and stored procedures executed against the database, as well as successful and failed logins:\r\n\r\nBATCH_COMPLETED_GROUP,\r\nSUCCESSFUL_DATABASE_AUTHENTICATION_GROUP,\r\nFAILED_DATABASE_AUTHENTICATION_GROUP.\r\n\r\nThis above combination is also the set that is configured by default when enabling auditing from the Azure portal.\r\n\r\nThe supported action groups to audit are (note: choose only specific groups that cover your auditing needs. Using unnecessary groups could lead to very large quantities of audit records):\r\n\r\nAPPLICATION_ROLE_CHANGE_PASSWORD_GROUP\r\nBACKUP_RESTORE_GROUP\r\nDATABASE_LOGOUT_GROUP\r\nDATABASE_OBJECT_CHANGE_GROUP\r\nDATABASE_OBJECT_OWNERSHIP_CHANGE_GROUP\r\nDATABASE_OBJECT_PERMISSION_CHANGE_GROUP\r\nDATABASE_OPERATION_GROUP\r\nDATABASE_PERMISSION_CHANGE_GROUP\r\nDATABASE_PRINCIPAL_CHANGE_GROUP\r\nDATABASE_PRINCIPAL_IMPERSONATION_GROUP\r\nDATABASE_ROLE_MEMBER_CHANGE_GROUP\r\nFAILED_DATABASE_AUTHENTICATION_GROUP\r\nSCHEMA_OBJECT_ACCESS_GROUP\r\nSCHEMA_OBJECT_CHANGE_GROUP\r\nSCHEMA_OBJECT_OWNERSHIP_CHANGE_GROUP\r\nSCHEMA_OBJECT_PERMISSION_CHANGE_GROUP\r\nSUCCESSFUL_DATABASE_AUTHENTICATION_GROUP\r\nUSER_CHANGE_PASSWORD_GROUP\r\nBATCH_STARTED_GROUP\r\nBATCH_COMPLETED_GROUP\r\n\r\nThese are groups that cover all sql statements and stored procedures executed against the database, and should not be used in combination with other groups as this will result in duplicate audit logs.\r\n\r\nFor more information, see [Database-Level Audit Action Groups](https://docs.microsoft.com/en-us/sql/relational-databases/security/auditing/sql-server-audit-action-groups-and-actions#database-level-audit-action-groups).\r\n\r\nFor Database auditing policy, specific Actions can also be specified (note that Actions cannot be specified for Server auditing policy). The supported actions to audit are:\r\nSELECT\r\nUPDATE\r\nINSERT\r\nDELETE\r\nEXECUTE\r\nRECEIVE\r\nREFERENCES\r\n\r\nThe general form for defining an action to be audited is:\r\n{action} ON {object} BY {principal}\r\n\r\nNote that in the above format can refer to an object like a table, view, or stored procedure, or an entire database or schema. For the latter cases, the forms DATABASE::{db_name} and SCHEMA::{schema_name} are used, respectively.\r\n\r\nFor example:\r\nSELECT on dbo.myTable by public\r\nSELECT on DATABASE::myDatabase by public\r\nSELECT on SCHEMA::mySchema by public\r\n\r\nFor more information, see [Database-Level Audit Actions](https://docs.microsoft.com/en-us/sql/relational-databases/security/auditing/sql-server-audit-action-groups-and-actions#database-level-audit-actions)" + }, + "isAzureMonitorTargetEnabled": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Specifies whether audit events are sent to Azure Monitor. \r\nIn order to send the events to Azure Monitor, specify 'state' as 'Enabled' and 'isAzureMonitorTargetEnabled' as true.\r\n\r\nWhen using REST API to configure auditing, Diagnostic Settings with 'SQLSecurityAuditEvents' diagnostic logs category on the database should be also created.\r\nNote that for server level audit you should use the 'master' database as {databaseName}.\r\n\r\nDiagnostic Settings URI format:\r\nPUT https://management.azure.com/subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.Sql/servers/{serverName}/databases/{databaseName}/providers/microsoft.insights/diagnosticSettings/{settingsName}?api-version=2017-05-01-preview\r\n\r\nFor more information, see [Diagnostic Settings REST API](https://go.microsoft.com/fwlink/?linkid=2033207)\r\nor [Diagnostic Settings PowerShell](https://go.microsoft.com/fwlink/?linkid=2033043)\r\n" + }, + "isStorageSecondaryKeyInUse": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Specifies whether storageAccountAccessKey value is the storage's secondary key." + }, + "queueDelayMs": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Specifies the amount of time in milliseconds that can elapse before audit actions are forced to be processed.\r\nThe default minimum value is 1000 (1 second). The maximum is 2,147,483,647." + }, + "retentionDays": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Specifies the number of days to keep in the audit logs in the storage account." + }, + "state": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Enabled", + "Disabled" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Specifies the state of the policy. If state is Enabled, storageEndpoint or isAzureMonitorTargetEnabled are required." + }, + "storageAccountAccessKey": { + "type": "string", + "description": "Specifies the identifier key of the auditing storage account. \r\nIf state is Enabled and storageEndpoint is specified, not specifying the storageAccountAccessKey will use SQL server system-assigned managed identity to access the storage.\r\nPrerequisites for using managed identity authentication:\r\n1. Assign SQL Server a system-assigned managed identity in Azure Active Directory (AAD).\r\n2. Grant SQL Server identity access to the storage account by adding 'Storage Blob Data Contributor' RBAC role to the server identity.\r\nFor more information, see [Auditing to storage using Managed Identity authentication](https://go.microsoft.com/fwlink/?linkid=2114355)" + }, + "storageAccountSubscriptionId": { + "oneOf": [ + { + "type": "string", + "pattern": "^[0-9a-fA-F]{8}(-[0-9a-fA-F]{4}){3}-[0-9a-fA-F]{12}$" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Specifies the blob storage subscription Id." + }, + "storageEndpoint": { + "type": "string", + "description": "Specifies the blob storage endpoint (e.g. https://MyAccount.blob.core.windows.net). If state is Enabled, storageEndpoint or isAzureMonitorTargetEnabled is required." + } + }, + "required": [ + "state" + ], + "description": "Properties of a server blob auditing policy." + }, + "ServerSecurityAlertPolicyProperties": { + "type": "object", + "properties": { + "disabledAlerts": { + "oneOf": [ + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Specifies an array of alerts that are disabled. Allowed values are: Sql_Injection, Sql_Injection_Vulnerability, Access_Anomaly, Data_Exfiltration, Unsafe_Action" + }, + "emailAccountAdmins": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Specifies that the alert is sent to the account administrators." + }, + "emailAddresses": { + "oneOf": [ + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Specifies an array of e-mail addresses to which the alert is sent." + }, + "retentionDays": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Specifies the number of days to keep in the Threat Detection audit logs." + }, + "state": { + "oneOf": [ + { + "type": "string", + "enum": [ + "New", + "Enabled", + "Disabled" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Specifies the state of the policy, whether it is enabled or disabled or a policy has not been applied yet on the specific server." + }, + "storageAccountAccessKey": { + "type": "string", + "description": "Specifies the identifier key of the Threat Detection audit storage account." + }, + "storageEndpoint": { + "type": "string", + "description": "Specifies the blob storage endpoint (e.g. https://MyAccount.blob.core.windows.net). This blob storage will hold all Threat Detection audit logs." + } + }, + "required": [ + "state" + ], + "description": "Properties of a security alert policy." + }, + "ServerVulnerabilityAssessmentProperties": { + "type": "object", + "properties": { + "recurringScans": { + "oneOf": [ + { + "$ref": "#/definitions/VulnerabilityAssessmentRecurringScansProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Properties of a Vulnerability Assessment recurring scans." + }, + "storageAccountAccessKey": { + "type": "string", + "description": "Specifies the identifier key of the storage account for vulnerability assessment scan results. If 'StorageContainerSasKey' isn't specified, storageAccountAccessKey is required." + }, + "storageContainerPath": { + "type": "string", + "description": "A blob storage container path to hold the scan results (e.g. https://myStorage.blob.core.windows.net/VaScans/)." + }, + "storageContainerSasKey": { + "type": "string", + "description": "A shared access signature (SAS Key) that has read and write access to the blob container specified in 'storageContainerPath' parameter. If 'storageAccountAccessKey' isn't specified, StorageContainerSasKey is required." + } + }, + "required": [ + "storageContainerPath" + ], + "description": "Properties of a server Vulnerability Assessment." + }, + "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." + }, + "name": { + "type": "string", + "description": "The SKU name" + }, + "tier": { + "type": "string", + "description": "The service tier" + } + }, + "description": "SQL pool SKU" + }, + "SqlPoolBlobAuditingPolicyProperties": { + "type": "object", + "properties": { + "auditActionsAndGroups": { + "oneOf": [ + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Specifies the Actions-Groups and Actions to audit.\r\n\r\nThe recommended set of action groups to use is the following combination - this will audit all the queries and stored procedures executed against the database, as well as successful and failed logins:\r\n\r\nBATCH_COMPLETED_GROUP,\r\nSUCCESSFUL_DATABASE_AUTHENTICATION_GROUP,\r\nFAILED_DATABASE_AUTHENTICATION_GROUP.\r\n\r\nThis above combination is also the set that is configured by default when enabling auditing from the Azure portal.\r\n\r\nThe supported action groups to audit are (note: choose only specific groups that cover your auditing needs. Using unnecessary groups could lead to very large quantities of audit records):\r\n\r\nAPPLICATION_ROLE_CHANGE_PASSWORD_GROUP\r\nBACKUP_RESTORE_GROUP\r\nDATABASE_LOGOUT_GROUP\r\nDATABASE_OBJECT_CHANGE_GROUP\r\nDATABASE_OBJECT_OWNERSHIP_CHANGE_GROUP\r\nDATABASE_OBJECT_PERMISSION_CHANGE_GROUP\r\nDATABASE_OPERATION_GROUP\r\nDATABASE_PERMISSION_CHANGE_GROUP\r\nDATABASE_PRINCIPAL_CHANGE_GROUP\r\nDATABASE_PRINCIPAL_IMPERSONATION_GROUP\r\nDATABASE_ROLE_MEMBER_CHANGE_GROUP\r\nFAILED_DATABASE_AUTHENTICATION_GROUP\r\nSCHEMA_OBJECT_ACCESS_GROUP\r\nSCHEMA_OBJECT_CHANGE_GROUP\r\nSCHEMA_OBJECT_OWNERSHIP_CHANGE_GROUP\r\nSCHEMA_OBJECT_PERMISSION_CHANGE_GROUP\r\nSUCCESSFUL_DATABASE_AUTHENTICATION_GROUP\r\nUSER_CHANGE_PASSWORD_GROUP\r\nBATCH_STARTED_GROUP\r\nBATCH_COMPLETED_GROUP\r\n\r\nThese are groups that cover all sql statements and stored procedures executed against the database, and should not be used in combination with other groups as this will result in duplicate audit logs.\r\n\r\nFor more information, see [Database-Level Audit Action Groups](https://docs.microsoft.com/en-us/sql/relational-databases/security/auditing/sql-server-audit-action-groups-and-actions#database-level-audit-action-groups).\r\n\r\nFor Database auditing policy, specific Actions can also be specified (note that Actions cannot be specified for Server auditing policy). The supported actions to audit are:\r\nSELECT\r\nUPDATE\r\nINSERT\r\nDELETE\r\nEXECUTE\r\nRECEIVE\r\nREFERENCES\r\n\r\nThe general form for defining an action to be audited is:\r\n{action} ON {object} BY {principal}\r\n\r\nNote that in the above format can refer to an object like a table, view, or stored procedure, or an entire database or schema. For the latter cases, the forms DATABASE::{db_name} and SCHEMA::{schema_name} are used, respectively.\r\n\r\nFor example:\r\nSELECT on dbo.myTable by public\r\nSELECT on DATABASE::myDatabase by public\r\nSELECT on SCHEMA::mySchema by public\r\n\r\nFor more information, see [Database-Level Audit Actions](https://docs.microsoft.com/en-us/sql/relational-databases/security/auditing/sql-server-audit-action-groups-and-actions#database-level-audit-actions)" + }, + "isAzureMonitorTargetEnabled": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Specifies whether audit events are sent to Azure Monitor. \r\nIn order to send the events to Azure Monitor, specify 'state' as 'Enabled' and 'isAzureMonitorTargetEnabled' as true.\r\n\r\nWhen using REST API to configure auditing, Diagnostic Settings with 'SQLSecurityAuditEvents' diagnostic logs category on the database should be also created.\r\nNote that for server level audit you should use the 'master' database as {databaseName}.\r\n\r\nDiagnostic Settings URI format:\r\nPUT https://management.azure.com/subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.Sql/servers/{serverName}/databases/{databaseName}/providers/microsoft.insights/diagnosticSettings/{settingsName}?api-version=2017-05-01-preview\r\n\r\nFor more information, see [Diagnostic Settings REST API](https://go.microsoft.com/fwlink/?linkid=2033207)\r\nor [Diagnostic Settings PowerShell](https://go.microsoft.com/fwlink/?linkid=2033043)\r\n" + }, + "isStorageSecondaryKeyInUse": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Specifies whether storageAccountAccessKey value is the storage's secondary key." + }, + "retentionDays": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Specifies the number of days to keep in the audit logs in the storage account." + }, + "state": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Enabled", + "Disabled" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Specifies the state of the policy. If state is Enabled, storageEndpoint or isAzureMonitorTargetEnabled are required." + }, + "storageAccountAccessKey": { + "type": "string", + "description": "Specifies the identifier key of the auditing storage account. If state is Enabled and storageEndpoint is specified, storageAccountAccessKey is required." + }, + "storageAccountSubscriptionId": { + "oneOf": [ + { + "type": "string", + "pattern": "^[0-9a-fA-F]{8}(-[0-9a-fA-F]{4}){3}-[0-9a-fA-F]{12}$" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Specifies the blob storage subscription Id." + }, + "storageEndpoint": { + "type": "string", + "description": "Specifies the blob storage endpoint (e.g. https://MyAccount.blob.core.windows.net). If state is Enabled, storageEndpoint is required." + } + }, + "required": [ + "state" + ], + "description": "Properties of a Sql pool blob auditing policy." + }, + "SqlPoolResourceProperties": { + "type": "object", + "properties": { + "collation": { + "type": "string", + "description": "Collation mode" + }, + "createMode": { + "type": "string", + "description": "What is this?" + }, + "creationDate": { + "type": "string", + "format": "date-time", + "description": "Date the SQL pool was created" + }, + "maxSizeBytes": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Maximum size in bytes" + }, + "provisioningState": { + "type": "string", + "description": "Resource state" + }, + "recoverableDatabaseId": { + "type": "string", + "description": "Backup database to restore from" + }, + "restorePointInTime": { + "type": "string", + "format": "date-time", + "description": "Snapshot time to restore" + }, + "sourceDatabaseDeletionDate": { + "type": "string", + "format": "date-time", + "description": "Specifies the time that the sql pool was deleted" + }, + "sourceDatabaseId": { + "type": "string", + "description": "Source database to create from" + }, + "status": { + "type": "string", + "description": "Resource status" + }, + "storageAccountType": { + "oneOf": [ + { + "type": "string", + "enum": [ + "GRS", + "LRS", + "ZRS" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The storage account type used to store backups for this sql pool." + } + }, + "description": "Properties of a SQL Analytics pool" + }, + "SqlPoolVulnerabilityAssessmentProperties": { + "type": "object", + "properties": { + "recurringScans": { + "oneOf": [ + { + "$ref": "#/definitions/VulnerabilityAssessmentRecurringScansProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Properties of a Vulnerability Assessment recurring scans." + }, + "storageAccountAccessKey": { + "type": "string", + "description": "Specifies the identifier key of the storage account for vulnerability assessment scan results. If 'StorageContainerSasKey' isn't specified, storageAccountAccessKey is required." + }, + "storageContainerPath": { + "type": "string", + "description": "A blob storage container path to hold the scan results (e.g. https://myStorage.blob.core.windows.net/VaScans/). It is required if server level vulnerability assessment policy doesn't set" + }, + "storageContainerSasKey": { + "type": "string", + "description": "A shared access signature (SAS Key) that has write access to the blob container specified in 'storageContainerPath' parameter. If 'storageAccountAccessKey' isn't specified, StorageContainerSasKey is required." + } + }, + "description": "Properties of a Sql pool Vulnerability Assessment." + }, + "SqlPoolVulnerabilityAssessmentRuleBaselineItem": { + "type": "object", + "properties": { + "result": { + "oneOf": [ + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The rule baseline result" + } + }, + "required": [ + "result" + ], + "description": "Properties for an Sql pool vulnerability assessment rule baseline's result." + }, + "SqlPoolVulnerabilityAssessmentRuleBaselineProperties": { + "type": "object", + "properties": { + "baselineResults": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/SqlPoolVulnerabilityAssessmentRuleBaselineItem" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The rule baseline result" + } + }, + "required": [ + "baselineResults" + ], + "description": "Properties of a Sql pool vulnerability assessment rule baseline." + }, + "TransparentDataEncryptionProperties": { + "type": "object", + "properties": { + "status": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Enabled", + "Disabled" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The status of the database transparent data encryption." + } + }, + "description": "Represents the properties of a database transparent data encryption." + }, + "UserAssignedManagedIdentity": { + "type": "object", + "properties": {}, + "description": "User Assigned Managed Identity" + }, + "VirtualNetworkProfile": { + "type": "object", + "properties": { + "computeSubnetId": { + "type": "string", + "description": "Subnet ID used for computes in workspace" + } + }, + "description": "Virtual Network Profile" + }, + "VulnerabilityAssessmentRecurringScansProperties": { + "type": "object", + "properties": { + "emails": { + "oneOf": [ + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Specifies an array of e-mail addresses to which the scan notification is sent." + }, + "emailSubscriptionAdmins": { + "oneOf": [ + { + "type": "boolean", + "default": true + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Specifies that the schedule scan notification will be is sent to the subscription administrators." + }, + "isEnabled": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Recurring scans state." + } + }, + "description": "Properties of a Vulnerability Assessment recurring scans." + }, + "WorkloadClassifierProperties": { + "type": "object", + "properties": { + "context": { + "type": "string", + "description": "The workload classifier context." + }, + "endTime": { + "type": "string", + "description": "The workload classifier end time for classification." + }, + "importance": { + "type": "string", + "description": "The workload classifier importance." + }, + "label": { + "type": "string", + "description": "The workload classifier label." + }, + "memberName": { + "type": "string", + "description": "The workload classifier member name." + }, + "startTime": { + "type": "string", + "description": "The workload classifier start time for classification." + } + }, + "required": [ + "memberName" + ], + "description": "Workload classifier definition. For more information look at sys.workload_management_workload_classifiers (DMV)." + }, + "WorkloadGroupProperties": { + "type": "object", + "properties": { + "importance": { + "type": "string", + "description": "The workload group importance level." + }, + "maxResourcePercent": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The workload group cap percentage resource." + }, + "maxResourcePercentPerRequest": { + "oneOf": [ + { + "type": "number" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The workload group request maximum grant percentage." + }, + "minResourcePercent": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The workload group minimum percentage resource." + }, + "minResourcePercentPerRequest": { + "oneOf": [ + { + "type": "number" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The workload group request minimum grant percentage." + }, + "queryExecutionTimeout": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The workload group query execution timeout." + } + }, + "required": [ + "maxResourcePercent", + "minResourcePercent", + "minResourcePercentPerRequest" + ], + "description": "Workload group definition. For more information look at sys.workload_management_workload_groups (DMV)." + }, + "WorkspaceKeyDetails": { + "type": "object", + "properties": { + "keyVaultUrl": { + "type": "string", + "description": "Workspace Key sub-resource key vault url" + }, + "name": { + "type": "string", + "description": "Workspace Key sub-resource name" + } + }, + "description": "Details of the customer managed key associated with the workspace" + }, + "WorkspaceProperties": { + "type": "object", + "properties": { + "azureADOnlyAuthentication": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Enable or Disable AzureADOnlyAuthentication on All Workspace subresource" + }, + "connectivityEndpoints": { + "oneOf": [ + { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "properties": {} + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Connectivity endpoints" + }, + "cspWorkspaceAdminProperties": { + "oneOf": [ + { + "$ref": "#/definitions/CspWorkspaceAdminProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Initial workspace AAD admin properties for a CSP subscription" + }, + "defaultDataLakeStorage": { + "oneOf": [ + { + "$ref": "#/definitions/DataLakeStorageAccountDetails" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Details of the data lake storage account associated with the workspace" + }, + "encryption": { + "oneOf": [ + { + "$ref": "#/definitions/EncryptionDetails" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Details of the encryption associated with the workspace" + }, + "managedResourceGroupName": { + "type": "string", + "description": "Workspace managed resource group. The resource group name uniquely identifies the resource group within the user subscriptionId. The resource group name must be no longer than 90 characters long, and must be alphanumeric characters (Char.IsLetterOrDigit()) and '-', '_', '(', ')' and'.'. Note that the name cannot end with '.'" + }, + "managedVirtualNetwork": { + "type": "string", + "description": "Setting this to 'default' will ensure that all compute for this workspace is in a virtual network managed on behalf of the user." + }, + "managedVirtualNetworkSettings": { + "oneOf": [ + { + "$ref": "#/definitions/ManagedVirtualNetworkSettings" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Managed Virtual Network Settings" + }, + "privateEndpointConnections": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/PrivateEndpointConnection" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Private endpoint connections to the workspace" + }, + "publicNetworkAccess": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Enabled", + "Disabled" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Enable or Disable public network access to workspace." + }, + "purviewConfiguration": { + "oneOf": [ + { + "$ref": "#/definitions/PurviewConfiguration" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Purview Configuration" + }, + "sqlAdministratorLogin": { + "type": "string", + "description": "Login for workspace SQL active directory administrator" + }, + "sqlAdministratorLoginPassword": { + "type": "string", + "description": "SQL administrator login password" + }, + "virtualNetworkProfile": { + "oneOf": [ + { + "$ref": "#/definitions/VirtualNetworkProfile" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Virtual Network Profile" + }, + "workspaceRepositoryConfiguration": { + "oneOf": [ + { + "$ref": "#/definitions/WorkspaceRepositoryConfiguration" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Git integration settings" + } + }, + "description": "Workspace properties" + }, + "WorkspaceRepositoryConfiguration": { + "type": "object", + "properties": { + "accountName": { + "type": "string", + "description": "Account name" + }, + "collaborationBranch": { + "type": "string", + "description": "Collaboration branch" + }, + "hostName": { + "type": "string", + "description": "GitHub Enterprise host name. For example: https://github.mydomain.com" + }, + "lastCommitId": { + "type": "string", + "description": "The last commit ID" + }, + "projectName": { + "type": "string", + "description": "VSTS project name" + }, + "repositoryName": { + "type": "string", + "description": "Repository name" + }, + "rootFolder": { + "type": "string", + "description": "Root folder to use in the repository" + }, + "tenantId": { + "oneOf": [ + { + "type": "string", + "pattern": "^[0-9a-fA-F]{8}(-[0-9a-fA-F]{4}){3}-[0-9a-fA-F]{12}$" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The VSTS tenant ID" + }, + "type": { + "type": "string", + "description": "Type of workspace repositoryID configuration. Example WorkspaceVSTSConfiguration, WorkspaceGitHubConfiguration" + } + }, + "description": "Git integration settings" + }, + "workspaces_administrators_childResource": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-06-01" + ] + }, + "name": { + "type": "string", + "enum": [ + "activeDirectory" + ] + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/AadAdminProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Workspace active directory administrator properties" + }, + "type": { + "type": "string", + "enum": [ + "administrators" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.Synapse/workspaces/administrators" + }, + "workspaces_auditingSettings_childResource": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-06-01" + ] + }, + "name": { + "type": "string", + "enum": [ + "default" + ], + "description": "The name of the blob auditing policy." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/ServerBlobAuditingPolicyProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Properties of a server blob auditing policy." + }, + "type": { + "type": "string", + "enum": [ + "auditingSettings" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.Synapse/workspaces/auditingSettings" + }, + "workspaces_azureADOnlyAuthentications_childResource": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-06-01" + ] + }, + "name": { + "type": "string", + "enum": [ + "default" + ], + "description": "name of the property" + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/AzureADOnlyAuthenticationProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Properties of a active directory only authentication." + }, + "type": { + "type": "string", + "enum": [ + "azureADOnlyAuthentications" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.Synapse/workspaces/azureADOnlyAuthentications" + }, + "workspaces_bigDataPools_childResource": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-06-01" + ] + }, + "location": { + "type": "string", + "description": "The geo-location where the resource lives" + }, + "name": { + "type": "string", + "description": "Big Data pool name" + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/BigDataPoolResourceProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Properties of a Big Data pool powered by Apache Spark" + }, + "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": [ + "bigDataPools" + ] + } + }, + "required": [ + "apiVersion", + "location", + "name", + "properties", + "type" + ], + "description": "Microsoft.Synapse/workspaces/bigDataPools" + }, + "workspaces_encryptionProtector_childResource": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-06-01" + ] + }, + "name": { + "type": "string", + "enum": [ + "current" + ], + "description": "The name of the encryption protector." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/EncryptionProtectorProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Properties for an encryption protector execution." + }, + "type": { + "type": "string", + "enum": [ + "encryptionProtector" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.Synapse/workspaces/encryptionProtector" + }, + "workspaces_extendedAuditingSettings_childResource": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-06-01" + ] + }, + "name": { + "type": "string", + "enum": [ + "default" + ], + "description": "The name of the blob auditing policy." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/ExtendedServerBlobAuditingPolicyProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Properties of an extended server blob auditing policy." + }, + "type": { + "type": "string", + "enum": [ + "extendedAuditingSettings" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.Synapse/workspaces/extendedAuditingSettings" + }, + "workspaces_firewallRules_childResource": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-06-01" + ] + }, + "name": { + "type": "string", + "description": "The IP firewall rule name" + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/IpFirewallRuleProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "IP firewall rule properties" + }, + "type": { + "type": "string", + "enum": [ + "firewallRules" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.Synapse/workspaces/firewallRules" + }, + "workspaces_integrationRuntimes_childResource": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-06-01" + ] + }, + "name": { + "type": "string", + "description": "Integration runtime name" + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/IntegrationRuntime" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Azure Synapse nested object which serves as a compute resource for activities." + }, + "type": { + "type": "string", + "enum": [ + "integrationRuntimes" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.Synapse/workspaces/integrationRuntimes" + }, + "workspaces_keys_childResource": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-06-01" + ] + }, + "name": { + "type": "string", + "description": "The name of the workspace key" + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/KeyProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Key properties" + }, + "type": { + "type": "string", + "enum": [ + "keys" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.Synapse/workspaces/keys" + }, + "workspaces_managedIdentitySqlControlSettings_childResource": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-06-01" + ] + }, + "name": { + "type": "string", + "enum": [ + "default" + ] + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/ManagedIdentitySqlControlSettingsModelProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Sql Control Settings for workspace managed identity" + }, + "type": { + "type": "string", + "enum": [ + "managedIdentitySqlControlSettings" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.Synapse/workspaces/managedIdentitySqlControlSettings" + }, + "workspaces_privateEndpointConnections_childResource": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-06-01" + ] + }, + "name": { + "type": "string", + "description": "The name of the private endpoint connection." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/PrivateEndpointConnectionProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Properties of a private endpoint connection." + }, + "type": { + "type": "string", + "enum": [ + "privateEndpointConnections" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.Synapse/workspaces/privateEndpointConnections" + }, + "workspaces_securityAlertPolicies_childResource": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-06-01" + ] + }, + "name": { + "type": "string", + "enum": [ + "default" + ], + "description": "The name of the security alert policy." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/ServerSecurityAlertPolicyProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Properties of a security alert policy." + }, + "type": { + "type": "string", + "enum": [ + "securityAlertPolicies" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.Synapse/workspaces/securityAlertPolicies" + }, + "workspaces_sqlAdministrators_childResource": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-06-01" + ] + }, + "name": { + "type": "string", + "enum": [ + "activeDirectory" + ] + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/AadAdminProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Workspace active directory administrator properties" + }, + "type": { + "type": "string", + "enum": [ + "sqlAdministrators" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.Synapse/workspaces/sqlAdministrators" + }, + "workspaces_sqlPools_auditingSettings_childResource": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-06-01" + ] + }, + "name": { + "type": "string", + "enum": [ + "default" + ], + "description": "The name of the blob auditing policy." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/SqlPoolBlobAuditingPolicyProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Properties of a Sql pool blob auditing policy." + }, + "type": { + "type": "string", + "enum": [ + "auditingSettings" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.Synapse/workspaces/sqlPools/auditingSettings" + }, + "workspaces_sqlPools_childResource": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-06-01" + ] + }, + "location": { + "type": "string", + "description": "The geo-location where the resource lives" + }, + "name": { + "type": "string", + "description": "SQL pool name" + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/SqlPoolResourceProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Properties of a SQL Analytics pool" + }, + "sku": { + "oneOf": [ + { + "$ref": "#/definitions/Sku" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "SQL pool SKU" + }, + "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": [ + "sqlPools" + ] + } + }, + "required": [ + "apiVersion", + "location", + "name", + "properties", + "type" + ], + "description": "Microsoft.Synapse/workspaces/sqlPools" + }, + "workspaces_sqlPools_dataMaskingPolicies_childResource": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-06-01" + ] + }, + "name": { + "type": "string", + "enum": [ + "Default" + ], + "description": "The name of the data masking policy for which the masking rule applies." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/DataMaskingPolicyProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The properties of a database data masking policy." + }, + "type": { + "type": "string", + "enum": [ + "dataMaskingPolicies" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.Synapse/workspaces/sqlPools/dataMaskingPolicies" + }, + "workspaces_sqlPools_dataMaskingPolicies_rules_childResource": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-06-01" + ] + }, + "name": { + "type": "string", + "description": "The name of the data masking rule." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/DataMaskingRuleProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The properties of a Sql pool data masking rule." + }, + "type": { + "type": "string", + "enum": [ + "rules" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.Synapse/workspaces/sqlPools/dataMaskingPolicies/rules" + }, + "workspaces_sqlPools_extendedAuditingSettings_childResource": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-06-01" + ] + }, + "name": { + "type": "string", + "enum": [ + "default" + ], + "description": "The name of the blob auditing policy." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/ExtendedSqlPoolBlobAuditingPolicyProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Properties of an extended Sql pool blob auditing policy." + }, + "type": { + "type": "string", + "enum": [ + "extendedAuditingSettings" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.Synapse/workspaces/sqlPools/extendedAuditingSettings" + }, + "workspaces_sqlPools_geoBackupPolicies_childResource": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-06-01" + ] + }, + "name": { + "type": "string", + "enum": [ + "Default" + ], + "description": "The name of the geo backup policy." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/GeoBackupPolicyProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The properties of the geo backup policy." + }, + "type": { + "type": "string", + "enum": [ + "geoBackupPolicies" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.Synapse/workspaces/sqlPools/geoBackupPolicies" + }, + "workspaces_sqlPools_maintenancewindows_childResource": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-06-01" + ] + }, + "name": { + "type": "string", + "enum": [ + "current" + ] + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/MaintenanceWindowsProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Maintenance windows resource properties." + }, + "type": { + "type": "string", + "enum": [ + "maintenancewindows" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.Synapse/workspaces/sqlPools/maintenancewindows" + }, + "workspaces_sqlPools_metadataSync_childResource": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-06-01" + ] + }, + "name": { + "type": "string", + "enum": [ + "config" + ] + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/MetadataSyncConfigProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Metadata Sync Config properties" + }, + "type": { + "type": "string", + "enum": [ + "metadataSync" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.Synapse/workspaces/sqlPools/metadataSync" + }, + "workspaces_sqlPools_securityAlertPolicies_childResource": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-06-01" + ] + }, + "name": { + "type": "string", + "enum": [ + "default" + ], + "description": "The name of the security alert policy." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/SecurityAlertPolicyProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Properties of a security alert policy." + }, + "type": { + "type": "string", + "enum": [ + "securityAlertPolicies" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.Synapse/workspaces/sqlPools/securityAlertPolicies" + }, + "workspaces_sqlPools_transparentDataEncryption_childResource": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-06-01" + ] + }, + "name": { + "type": "string", + "enum": [ + "current" + ], + "description": "The name of the transparent data encryption configuration." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/TransparentDataEncryptionProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Represents the properties of a database transparent data encryption." + }, + "type": { + "type": "string", + "enum": [ + "transparentDataEncryption" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.Synapse/workspaces/sqlPools/transparentDataEncryption" + }, + "workspaces_sqlPools_vulnerabilityAssessments_childResource": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-06-01" + ] + }, + "name": { + "type": "string", + "enum": [ + "default" + ], + "description": "The name of the vulnerability assessment." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/SqlPoolVulnerabilityAssessmentProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Properties of a Sql pool Vulnerability Assessment." + }, + "type": { + "type": "string", + "enum": [ + "vulnerabilityAssessments" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.Synapse/workspaces/sqlPools/vulnerabilityAssessments" + }, + "workspaces_sqlPools_workloadGroups_childResource": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-06-01" + ] + }, + "name": { + "type": "string", + "description": "The name of the workload group." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/WorkloadGroupProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Workload group definition. For more information look at sys.workload_management_workload_groups (DMV)." + }, + "type": { + "type": "string", + "enum": [ + "workloadGroups" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.Synapse/workspaces/sqlPools/workloadGroups" + }, + "workspaces_sqlPools_workloadGroups_workloadClassifiers_childResource": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-06-01" + ] + }, + "name": { + "type": "string", + "description": "The name of the workload classifier." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/WorkloadClassifierProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Workload classifier definition. For more information look at sys.workload_management_workload_classifiers (DMV)." + }, + "type": { + "type": "string", + "enum": [ + "workloadClassifiers" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.Synapse/workspaces/sqlPools/workloadGroups/workloadClassifiers" + }, + "workspaces_vulnerabilityAssessments_childResource": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-06-01" + ] + }, + "name": { + "type": "string", + "enum": [ + "default" + ], + "description": "The name of the vulnerability assessment." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/ServerVulnerabilityAssessmentProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Properties of a server Vulnerability Assessment." + }, + "type": { + "type": "string", + "enum": [ + "vulnerabilityAssessments" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.Synapse/workspaces/vulnerabilityAssessments" + } + } +} \ No newline at end of file diff --git a/schemas/common/autogeneratedResources.json b/schemas/common/autogeneratedResources.json index 944f93f28d..c1d18a57af 100644 --- a/schemas/common/autogeneratedResources.json +++ b/schemas/common/autogeneratedResources.json @@ -11059,6 +11059,99 @@ { "$ref": "https://schema.management.azure.com/schemas/2021-05-01/Microsoft.Synapse.json#/resourceDefinitions/workspaces_vulnerabilityAssessments" }, + { + "$ref": "https://schema.management.azure.com/schemas/2021-06-01/Microsoft.Synapse.json#/resourceDefinitions/privateLinkHubs" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2021-06-01/Microsoft.Synapse.json#/resourceDefinitions/workspaces" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2021-06-01/Microsoft.Synapse.json#/resourceDefinitions/workspaces_administrators" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2021-06-01/Microsoft.Synapse.json#/resourceDefinitions/workspaces_auditingSettings" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2021-06-01/Microsoft.Synapse.json#/resourceDefinitions/workspaces_azureADOnlyAuthentications" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2021-06-01/Microsoft.Synapse.json#/resourceDefinitions/workspaces_bigDataPools" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2021-06-01/Microsoft.Synapse.json#/resourceDefinitions/workspaces_encryptionProtector" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2021-06-01/Microsoft.Synapse.json#/resourceDefinitions/workspaces_extendedAuditingSettings" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2021-06-01/Microsoft.Synapse.json#/resourceDefinitions/workspaces_firewallRules" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2021-06-01/Microsoft.Synapse.json#/resourceDefinitions/workspaces_integrationRuntimes" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2021-06-01/Microsoft.Synapse.json#/resourceDefinitions/workspaces_keys" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2021-06-01/Microsoft.Synapse.json#/resourceDefinitions/workspaces_managedIdentitySqlControlSettings" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2021-06-01/Microsoft.Synapse.json#/resourceDefinitions/workspaces_privateEndpointConnections" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2021-06-01/Microsoft.Synapse.json#/resourceDefinitions/workspaces_securityAlertPolicies" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2021-06-01/Microsoft.Synapse.json#/resourceDefinitions/workspaces_sqlAdministrators" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2021-06-01/Microsoft.Synapse.json#/resourceDefinitions/workspaces_sqlPools" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2021-06-01/Microsoft.Synapse.json#/resourceDefinitions/workspaces_sqlPools_auditingSettings" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2021-06-01/Microsoft.Synapse.json#/resourceDefinitions/workspaces_sqlPools_dataMaskingPolicies" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2021-06-01/Microsoft.Synapse.json#/resourceDefinitions/workspaces_sqlPools_dataMaskingPolicies_rules" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2021-06-01/Microsoft.Synapse.json#/resourceDefinitions/workspaces_sqlPools_extendedAuditingSettings" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2021-06-01/Microsoft.Synapse.json#/resourceDefinitions/workspaces_sqlPools_geoBackupPolicies" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2021-06-01/Microsoft.Synapse.json#/resourceDefinitions/workspaces_sqlPools_maintenancewindows" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2021-06-01/Microsoft.Synapse.json#/resourceDefinitions/workspaces_sqlPools_metadataSync" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2021-06-01/Microsoft.Synapse.json#/resourceDefinitions/workspaces_sqlPools_schemas_tables_columns_sensitivityLabels" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2021-06-01/Microsoft.Synapse.json#/resourceDefinitions/workspaces_sqlPools_securityAlertPolicies" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2021-06-01/Microsoft.Synapse.json#/resourceDefinitions/workspaces_sqlPools_transparentDataEncryption" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2021-06-01/Microsoft.Synapse.json#/resourceDefinitions/workspaces_sqlPools_vulnerabilityAssessments" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2021-06-01/Microsoft.Synapse.json#/resourceDefinitions/workspaces_sqlPools_vulnerabilityAssessments_rules_baselines" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2021-06-01/Microsoft.Synapse.json#/resourceDefinitions/workspaces_sqlPools_workloadGroups" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2021-06-01/Microsoft.Synapse.json#/resourceDefinitions/workspaces_sqlPools_workloadGroups_workloadClassifiers" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2021-06-01/Microsoft.Synapse.json#/resourceDefinitions/workspaces_vulnerabilityAssessments" + }, { "$ref": "https://schema.management.azure.com/schemas/2021-06-01-preview/Microsoft.Synapse.json#/resourceDefinitions/privateLinkHubs" },